Merge pull request #1748 from dolanmiu/feat/clean-up
Move SpaceType to shared
This commit is contained in:
@ -18,4 +18,3 @@ export * from "./track-revision";
|
||||
export * from "./shared";
|
||||
export * from "./border";
|
||||
export * from "./vertical-align";
|
||||
export * from "./space-type";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { SpaceType } from "@file/shared";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { TextAttributes } from "../run/text-attributes";
|
||||
|
@ -3,6 +3,7 @@ import { SinonStub, stub } from "sinon";
|
||||
|
||||
import * as convenienceFunctions from "@util/convenience-functions";
|
||||
|
||||
import { HorizontalPositionAlign, VerticalPositionAlign } from "@file/shared";
|
||||
import { Formatter } from "@export/formatter";
|
||||
import { BorderStyle } from "@file/border";
|
||||
import { EMPTY_OBJECT } from "@file/xml-components";
|
||||
@ -10,7 +11,6 @@ import { EMPTY_OBJECT } from "@file/xml-components";
|
||||
import { IViewWrapper } from "../document-wrapper";
|
||||
import { File } from "../file";
|
||||
import { ShadingType } from "../shading";
|
||||
import { HorizontalPositionAlign, VerticalPositionAlign } from "../shared";
|
||||
import { AlignmentType, HeadingLevel, LeaderType, PageBreak, TabStopPosition, TabStopType } from "./formatting";
|
||||
import { FrameAnchorType } from "./frame";
|
||||
import { Bookmark, ExternalHyperlink } from "./links";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { SpaceType } from "@file/shared";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { TextAttributes } from "./text-attributes";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { SpaceType } from "@file/shared";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { TextAttributes } from "../text-attributes";
|
||||
|
@ -1,5 +1,5 @@
|
||||
// http://officeopenxml.com/WPfieldInstructions.php
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { SpaceType } from "@file/shared";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { TextAttributes } from "./text-attributes";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { SpaceType } from "@file/shared";
|
||||
import { XmlAttributeComponent } from "@file/xml-components";
|
||||
|
||||
export class TextAttributes extends XmlAttributeComponent<{ readonly space: SpaceType }> {
|
||||
|
@ -1,2 +1,3 @@
|
||||
export * from "./alignment";
|
||||
export * from "./number-format";
|
||||
export * from "./space-type";
|
||||
|
@ -1,6 +1,6 @@
|
||||
// http://officeopenxml.com/WPfieldInstructions.php
|
||||
import { TextAttributes } from "@file/paragraph/run/text-attributes";
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { SpaceType } from "@file/shared";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { ITableOfContentsOptions } from "./table-of-contents-properties";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { TextAttributes } from "@file/paragraph/run/text-attributes";
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { SpaceType } from "@file/shared";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class DeletedPage extends XmlComponent {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { TextAttributes } from "@file/paragraph/run/text-attributes";
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { SpaceType } from "@file/shared";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class DeletedText extends XmlComponent {
|
||||
|
@ -16,7 +16,8 @@
|
||||
"paths": {
|
||||
"@util/*": ["./util/*"],
|
||||
"@export/*": ["./export/*"],
|
||||
"@file/*": ["./file/*"]
|
||||
"@file/*": ["./file/*"],
|
||||
"@shared": ["./shared/index.ts"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
|
Reference in New Issue
Block a user