Improve import alias
@file/ and @export/ instead of file/ and export/ etc
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { XmlAttributeComponent, XmlComponent } from "file/xml-components";
|
||||
import { XmlAttributeComponent, XmlComponent } from "@file/xml-components";
|
||||
|
||||
class AliasAttributes extends XmlAttributeComponent<{ readonly alias: string }> {
|
||||
protected readonly xmlKeys = { alias: "w:val" };
|
||||
|
@ -1,7 +1,7 @@
|
||||
// http://officeopenxml.com/WPfieldInstructions.php
|
||||
import { TextAttributes } from "file/paragraph/run/text-attributes";
|
||||
import { SpaceType } from "file/space-type";
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { TextAttributes } from "@file/paragraph/run/text-attributes";
|
||||
import { SpaceType } from "@file/space-type";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { ITableOfContentsOptions } from "./table-of-contents-properties";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
export class StructuredDocumentTagContent extends XmlComponent {
|
||||
constructor() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-w_sdtPr-1.html
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
import { Alias } from "./alias";
|
||||
|
||||
export class StructuredDocumentTagProperties extends XmlComponent {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { expect } from "chai";
|
||||
|
||||
import { Formatter } from "export/formatter";
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { TableOfContents } from "./table-of-contents";
|
||||
import { StyleLevel } from "./table-of-contents-properties";
|
||||
|
@ -1,9 +1,9 @@
|
||||
// http://officeopenxml.com/WPtableOfContents.php
|
||||
// http://www.datypic.com/sc/ooxml/e-w_sdt-1.html
|
||||
import { Paragraph } from "file/paragraph";
|
||||
import { Run } from "file/paragraph/run";
|
||||
import { Begin, End, Separate } from "file/paragraph/run/field";
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { Paragraph } from "@file/paragraph";
|
||||
import { Run } from "@file/paragraph/run";
|
||||
import { Begin, End, Separate } from "@file/paragraph/run/field";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
import { FieldInstruction } from "./field-instruction";
|
||||
import { StructuredDocumentTagContent } from "./sdt-content";
|
||||
import { StructuredDocumentTagProperties } from "./sdt-properties";
|
||||
|
Reference in New Issue
Block a user