Improve import alias
@file/ and @export/ instead of file/ and export/ etc
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { expect } from "chai";
|
||||
|
||||
import { Formatter } from "export/formatter";
|
||||
import { EMPTY_OBJECT } from "file/xml-components";
|
||||
import { Formatter } from "@export/formatter";
|
||||
import { EMPTY_OBJECT } from "@file/xml-components";
|
||||
|
||||
import { AlignmentType, EmphasisMarkType, TabStopPosition } from "../paragraph";
|
||||
import { UnderlineType } from "../paragraph/run/underline";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { decimalNumber } from "file/values";
|
||||
import { XmlAttributeComponent, XmlComponent } from "file/xml-components";
|
||||
import { XmlAttributeComponent, XmlComponent } from "@file/xml-components";
|
||||
import { decimalNumber } from "@util/values";
|
||||
|
||||
import { ILevelsOptions, Level } from "./level";
|
||||
import { MultiLevelType } from "./multi-level-type";
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { expect } from "chai";
|
||||
|
||||
import { Formatter } from "export/formatter";
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { ConcreteNumbering } from "./num";
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
// http://officeopenxml.com/WPnumbering-numFmt.php
|
||||
import { decimalNumber } from "file/values";
|
||||
import { Attributes, NumberValueElement, XmlAttributeComponent, XmlComponent } from "file/xml-components";
|
||||
import { Attributes, NumberValueElement, XmlAttributeComponent, XmlComponent } from "@file/xml-components";
|
||||
import { decimalNumber } from "@util/values";
|
||||
|
||||
import { AlignmentType } from "../paragraph/formatting";
|
||||
import { ILevelParagraphStylePropertiesOptions, ParagraphProperties } from "../paragraph/properties";
|
||||
import { IRunStylePropertiesOptions, RunProperties } from "../paragraph/run/properties";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Attributes, XmlComponent } from "file/xml-components";
|
||||
import { Attributes, XmlComponent } from "@file/xml-components";
|
||||
|
||||
// <xsd:complexType name="CT_AbstractNum">
|
||||
// ...
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { decimalNumber } from "file/values";
|
||||
import { Attributes, XmlAttributeComponent, XmlComponent } from "file/xml-components";
|
||||
import { Attributes, XmlAttributeComponent, XmlComponent } from "@file/xml-components";
|
||||
import { decimalNumber } from "@util/values";
|
||||
|
||||
class AbstractNumId extends XmlComponent {
|
||||
constructor(value: number) {
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { expect } from "chai";
|
||||
import { SinonStub, stub } from "sinon";
|
||||
|
||||
import * as convenienceFunctions from "convenience-functions";
|
||||
import { Formatter } from "export/formatter";
|
||||
import { Formatter } from "@export/formatter";
|
||||
import * as convenienceFunctions from "@util/convenience-functions";
|
||||
|
||||
import { Numbering } from "./numbering";
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
// http://officeopenxml.com/WPnumbering.php
|
||||
// https://stackoverflow.com/questions/58622437/purpose-of-abstractnum-and-numberinginstance
|
||||
import { convertInchesToTwip, uniqueNumericId } from "convenience-functions";
|
||||
import { AlignmentType } from "file/paragraph";
|
||||
import { IContext, IXmlableObject, XmlComponent } from "file/xml-components";
|
||||
import { AlignmentType } from "@file/paragraph";
|
||||
import { IContext, IXmlableObject, XmlComponent } from "@file/xml-components";
|
||||
import { convertInchesToTwip, uniqueNumericId } from "@util/convenience-functions";
|
||||
|
||||
import { DocumentAttributes } from "../document/document-attributes";
|
||||
import { AbstractNumbering } from "./abstract-numbering";
|
||||
|
Reference in New Issue
Block a user