@office-open/docx 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/dist/{index.d.ts → index.d.mts} +2 -1
- package/dist/index.d.mts.map +1 -0
- package/dist/{index.js → index.mjs} +576 -607
- package/dist/index.mjs.map +1 -0
- package/package.json +7 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- /package/dist/{chunk-DJOrGtkp.js → chunk-090QGkrx.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as __toCommonJS, n as __exportAll, r as __reExport, t as __esmMin } from "./chunk-
|
|
1
|
+
import { i as __toCommonJS, n as __exportAll, r as __reExport, t as __esmMin } from "./chunk-090QGkrx.mjs";
|
|
2
2
|
import { AppProperties, BaseXmlComponent, BuilderElement, BuilderElement as BuilderElement$1, DOCX_NS, EMPTY_OBJECT, EmptyElement, Formatter, Formatter as Formatter$1, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, NextAttributeComponent, OoxmlMimeType, RawPassthrough, Relationships, TargetModeType, XmlAttributeComponent, XmlAttributeComponent as XmlAttributeComponent$1, XmlComponent, ZIP_STORED_LEVEL, addSmartArtRelationships, appendContentType, appendRelationship, attrObj, chartAttr, convertEmuToPixels, convertInchesToTwip, convertMillimetersToTwip, convertPixelsToEmu, convertToXmlComponent, createDefault, createOverride, createPacker, createReplacer, createTraverser, getNextRelationshipIndex, getReferencedMedia, hasPlaceholders, hashedId, hpsMeasureObj, hpsMeasureObj as hpsMeasureObj$1, numberValObj, numberValObj as numberValObj$1, onOffObj, onOffObj as onOffObj$1, parseArchive, parseCorePropsElement, replaceChartPlaceholders, replaceImagePlaceholders, replaceSmartArtPlaceholders, strFromU8, stringContainerObj, stringEnumValObj, stringEnumValObj as stringEnumValObj$1, stringValObj, stringValObj as stringValObj$1, toJson, uniqueId, uniqueNumericIdCreator, uniqueNumericIdCreator as uniqueNumericIdCreator$1, uniqueUuid, unzipSync, wrapEl, xsdVerticalMergeRev, zipAndConvert } from "@office-open/core";
|
|
3
3
|
import { attr, attrBool, attrNum, children, colorAttr, findChild, findDeep, js2xml, textOf, xml, xml2js } from "@office-open/xml";
|
|
4
4
|
import { toUint8Array } from "undio";
|
|
@@ -8,7 +8,7 @@ import { COLOR_CATEGORIES, DEFAULT_DRAWING_XML, LAYOUT_CATEGORIES, STYLE_CATEGOR
|
|
|
8
8
|
export * from "@office-open/core/values";
|
|
9
9
|
export * from "@office-open/core/smartart";
|
|
10
10
|
//#region src/file/xml-components/base.ts
|
|
11
|
-
var init_base = __esmMin(() => {});
|
|
11
|
+
var init_base = __esmMin((() => {}));
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/file/xml-components/attributes.ts
|
|
14
14
|
/**
|
|
@@ -20,7 +20,7 @@ var init_base = __esmMin(() => {});
|
|
|
20
20
|
* @module
|
|
21
21
|
*/
|
|
22
22
|
var Attributes;
|
|
23
|
-
var init_attributes = __esmMin(() => {
|
|
23
|
+
var init_attributes = __esmMin((() => {
|
|
24
24
|
Attributes = class extends XmlAttributeComponent$1 {
|
|
25
25
|
xmlKeys = {
|
|
26
26
|
bottom: "w:bottom",
|
|
@@ -48,7 +48,7 @@ var init_attributes = __esmMin(() => {
|
|
|
48
48
|
w: "w:w"
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
});
|
|
51
|
+
}));
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region src/file/xml-components/simple-elements.ts
|
|
54
54
|
/**
|
|
@@ -57,7 +57,7 @@ var init_attributes = __esmMin(() => {
|
|
|
57
57
|
* @module
|
|
58
58
|
*/
|
|
59
59
|
var createStringElement;
|
|
60
|
-
var init_simple_elements = __esmMin(() => {
|
|
60
|
+
var init_simple_elements = __esmMin((() => {
|
|
61
61
|
createStringElement = (name, value) => new BuilderElement$1({
|
|
62
62
|
attributes: { value: {
|
|
63
63
|
key: "w:val",
|
|
@@ -65,18 +65,18 @@ var init_simple_elements = __esmMin(() => {
|
|
|
65
65
|
} },
|
|
66
66
|
name
|
|
67
67
|
});
|
|
68
|
-
});
|
|
68
|
+
}));
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region src/file/xml-components/index.ts
|
|
71
|
-
var init_xml_components = __esmMin(() => {
|
|
71
|
+
var init_xml_components = __esmMin((() => {
|
|
72
72
|
init_base();
|
|
73
73
|
init_attributes();
|
|
74
74
|
init_simple_elements();
|
|
75
|
-
});
|
|
75
|
+
}));
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/file/paragraph/formatting/alignment.ts
|
|
78
78
|
var AlignmentType, createAlignment;
|
|
79
|
-
var init_alignment$1 = __esmMin(() => {
|
|
79
|
+
var init_alignment$1 = __esmMin((() => {
|
|
80
80
|
init_xml_components();
|
|
81
81
|
AlignmentType = {
|
|
82
82
|
/** Align Start */
|
|
@@ -113,17 +113,17 @@ var init_alignment$1 = __esmMin(() => {
|
|
|
113
113
|
} },
|
|
114
114
|
name: "w:jc"
|
|
115
115
|
});
|
|
116
|
-
});
|
|
116
|
+
}));
|
|
117
117
|
//#endregion
|
|
118
118
|
//#region src/util/values.ts
|
|
119
119
|
var values_exports = /* @__PURE__ */ __exportAll({});
|
|
120
120
|
import * as import__office_open_core_values from "@office-open/core/values";
|
|
121
121
|
__reExport(values_exports, import__office_open_core_values);
|
|
122
|
-
var init_values = __esmMin(() => {});
|
|
122
|
+
var init_values = __esmMin((() => {}));
|
|
123
123
|
//#endregion
|
|
124
124
|
//#region src/file/border/border.ts
|
|
125
125
|
var buildBorderObj, createBorderElement, BorderStyle;
|
|
126
|
-
var init_border$2 = __esmMin(() => {
|
|
126
|
+
var init_border$2 = __esmMin((() => {
|
|
127
127
|
init_xml_components();
|
|
128
128
|
init_values();
|
|
129
129
|
buildBorderObj = (elementName, { color, size, space, style, themeColor, themeTint, themeShade, shadow, frame }) => {
|
|
@@ -236,12 +236,12 @@ var init_border$2 = __esmMin(() => {
|
|
|
236
236
|
/** A wavy line */
|
|
237
237
|
WAVE: "wave"
|
|
238
238
|
};
|
|
239
|
-
});
|
|
239
|
+
}));
|
|
240
240
|
//#endregion
|
|
241
241
|
//#region src/file/border/index.ts
|
|
242
|
-
var init_border$1 = __esmMin(() => {
|
|
242
|
+
var init_border$1 = __esmMin((() => {
|
|
243
243
|
init_border$2();
|
|
244
|
-
});
|
|
244
|
+
}));
|
|
245
245
|
//#endregion
|
|
246
246
|
//#region src/file/paragraph/formatting/border.ts
|
|
247
247
|
/**
|
|
@@ -268,7 +268,7 @@ function buildThematicBreakObj() {
|
|
|
268
268
|
})] };
|
|
269
269
|
}
|
|
270
270
|
var Border, ThematicBreak;
|
|
271
|
-
var init_border = __esmMin(() => {
|
|
271
|
+
var init_border = __esmMin((() => {
|
|
272
272
|
init_border$1();
|
|
273
273
|
init_xml_components();
|
|
274
274
|
Border = class extends IgnoreIfEmptyXmlComponent {
|
|
@@ -293,11 +293,11 @@ var init_border = __esmMin(() => {
|
|
|
293
293
|
this.root.push(bottom);
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
|
-
});
|
|
296
|
+
}));
|
|
297
297
|
//#endregion
|
|
298
298
|
//#region src/file/paragraph/formatting/cnf-style.ts
|
|
299
299
|
var createCnfStyle, buildCnfStyleObj;
|
|
300
|
-
var init_cnf_style = __esmMin(() => {
|
|
300
|
+
var init_cnf_style = __esmMin((() => {
|
|
301
301
|
init_xml_components();
|
|
302
302
|
createCnfStyle = (options) => {
|
|
303
303
|
const attributes = {};
|
|
@@ -368,11 +368,11 @@ var init_cnf_style = __esmMin(() => {
|
|
|
368
368
|
"w:lastRowFirstColumn": options.lastRowFirstColumn !== void 0 ? options.lastRowFirstColumn ? "1" : "0" : void 0,
|
|
369
369
|
"w:lastRowLastColumn": options.lastRowLastColumn !== void 0 ? options.lastRowLastColumn ? "1" : "0" : void 0
|
|
370
370
|
});
|
|
371
|
-
});
|
|
371
|
+
}));
|
|
372
372
|
//#endregion
|
|
373
373
|
//#region src/file/paragraph/formatting/indent.ts
|
|
374
374
|
var createIndent, buildIndentObj;
|
|
375
|
-
var init_indent = __esmMin(() => {
|
|
375
|
+
var init_indent = __esmMin((() => {
|
|
376
376
|
init_xml_components();
|
|
377
377
|
init_values();
|
|
378
378
|
createIndent = ({ start, startChars, end, endChars, left, leftChars, right, rightChars, hanging, hangingChars, firstLine, firstLineChars }) => new BuilderElement({
|
|
@@ -442,11 +442,11 @@ var init_indent = __esmMin(() => {
|
|
|
442
442
|
"w:firstLine": firstLine !== void 0 ? (0, values_exports.twipsMeasureValue)(firstLine) : void 0,
|
|
443
443
|
"w:firstLineChars": firstLineChars !== void 0 ? (0, values_exports.decimalNumber)(firstLineChars) : void 0
|
|
444
444
|
});
|
|
445
|
-
});
|
|
445
|
+
}));
|
|
446
446
|
//#endregion
|
|
447
447
|
//#region src/file/paragraph/run/break.ts
|
|
448
448
|
var createBreak;
|
|
449
|
-
var init_break$1 = __esmMin(() => {
|
|
449
|
+
var init_break$1 = __esmMin((() => {
|
|
450
450
|
init_xml_components();
|
|
451
451
|
createBreak = (options) => new BuilderElement({
|
|
452
452
|
name: "w:br",
|
|
@@ -455,11 +455,11 @@ var init_break$1 = __esmMin(() => {
|
|
|
455
455
|
value: options.clear
|
|
456
456
|
}] : void 0
|
|
457
457
|
});
|
|
458
|
-
});
|
|
458
|
+
}));
|
|
459
459
|
//#endregion
|
|
460
460
|
//#region src/file/paragraph/run/form-field.ts
|
|
461
461
|
var FormFieldTextType, createFormFieldText, createCheckBox, createDropDownList, createTextInput, createFormFieldData;
|
|
462
|
-
var init_form_field = __esmMin(() => {
|
|
462
|
+
var init_form_field = __esmMin((() => {
|
|
463
463
|
init_xml_components();
|
|
464
464
|
FormFieldTextType = {
|
|
465
465
|
/** Regular text input */
|
|
@@ -617,11 +617,11 @@ var init_form_field = __esmMin(() => {
|
|
|
617
617
|
name: "w:ffData"
|
|
618
618
|
});
|
|
619
619
|
};
|
|
620
|
-
});
|
|
620
|
+
}));
|
|
621
621
|
//#endregion
|
|
622
622
|
//#region src/file/paragraph/run/field.ts
|
|
623
623
|
var FieldCharacterType, createFieldChar, createBegin, createSeparate, createEnd;
|
|
624
|
-
var init_field = __esmMin(() => {
|
|
624
|
+
var init_field = __esmMin((() => {
|
|
625
625
|
init_xml_components();
|
|
626
626
|
init_form_field();
|
|
627
627
|
FieldCharacterType = {
|
|
@@ -650,7 +650,7 @@ var init_field = __esmMin(() => {
|
|
|
650
650
|
createBegin = (dirty, formField) => createFieldChar(FieldCharacterType.BEGIN, dirty, formField ? createFormFieldData(formField) : void 0);
|
|
651
651
|
createSeparate = (dirty) => createFieldChar(FieldCharacterType.SEPARATE, dirty);
|
|
652
652
|
createEnd = (dirty) => createFieldChar(FieldCharacterType.END, dirty);
|
|
653
|
-
});
|
|
653
|
+
}));
|
|
654
654
|
//#endregion
|
|
655
655
|
//#region src/file/paragraph/run/page-number.ts
|
|
656
656
|
/**
|
|
@@ -662,17 +662,17 @@ function buildInstrText(instruction) {
|
|
|
662
662
|
return { "w:instrText": [INSTR_TEXT_ATTRS, instruction] };
|
|
663
663
|
}
|
|
664
664
|
var INSTR_TEXT_ATTRS, buildPage, buildNumberOfPages, buildNumberOfPagesSection, buildCurrentSection;
|
|
665
|
-
var init_page_number = __esmMin(() => {
|
|
665
|
+
var init_page_number = __esmMin((() => {
|
|
666
666
|
INSTR_TEXT_ATTRS = { _attr: { "xml:space": "preserve" } };
|
|
667
667
|
buildPage = () => buildInstrText("PAGE");
|
|
668
668
|
buildNumberOfPages = () => buildInstrText("NUMPAGES");
|
|
669
669
|
buildNumberOfPagesSection = () => buildInstrText("SECTIONPAGES");
|
|
670
670
|
buildCurrentSection = () => buildInstrText("SECTION");
|
|
671
|
-
});
|
|
671
|
+
}));
|
|
672
672
|
//#endregion
|
|
673
673
|
//#region src/file/shading/shading.ts
|
|
674
674
|
var createShading, buildShadingObj, ShadingType;
|
|
675
|
-
var init_shading$1 = __esmMin(() => {
|
|
675
|
+
var init_shading$1 = __esmMin((() => {
|
|
676
676
|
init_xml_components();
|
|
677
677
|
init_values();
|
|
678
678
|
createShading = ({ fill, color, type, themeColor, themeTint, themeShade, themeFill, themeFillTint, themeFillShade }) => new BuilderElement({
|
|
@@ -767,16 +767,16 @@ var init_shading$1 = __esmMin(() => {
|
|
|
767
767
|
THIN_VERTICAL_STRIPE: "thinVertStripe",
|
|
768
768
|
VERTICAL_STRIPE: "vertStripe"
|
|
769
769
|
};
|
|
770
|
-
});
|
|
770
|
+
}));
|
|
771
771
|
//#endregion
|
|
772
772
|
//#region src/file/shading/index.ts
|
|
773
|
-
var init_shading = __esmMin(() => {
|
|
773
|
+
var init_shading = __esmMin((() => {
|
|
774
774
|
init_shading$1();
|
|
775
|
-
});
|
|
775
|
+
}));
|
|
776
776
|
//#endregion
|
|
777
777
|
//#region src/file/track-revision/track-revision-components/deletion-track-change.ts
|
|
778
778
|
var DeletionTrackChange;
|
|
779
|
-
var init_deletion_track_change = __esmMin(() => {
|
|
779
|
+
var init_deletion_track_change = __esmMin((() => {
|
|
780
780
|
init_xml_components();
|
|
781
781
|
DeletionTrackChange = class extends XmlComponent {
|
|
782
782
|
constructor(options) {
|
|
@@ -788,11 +788,11 @@ var init_deletion_track_change = __esmMin(() => {
|
|
|
788
788
|
} });
|
|
789
789
|
}
|
|
790
790
|
};
|
|
791
|
-
});
|
|
791
|
+
}));
|
|
792
792
|
//#endregion
|
|
793
793
|
//#region src/file/track-revision/track-revision-components/insertion-track-change.ts
|
|
794
794
|
var InsertionTrackChange;
|
|
795
|
-
var init_insertion_track_change = __esmMin(() => {
|
|
795
|
+
var init_insertion_track_change = __esmMin((() => {
|
|
796
796
|
init_xml_components();
|
|
797
797
|
InsertionTrackChange = class extends XmlComponent {
|
|
798
798
|
constructor(options) {
|
|
@@ -804,11 +804,11 @@ var init_insertion_track_change = __esmMin(() => {
|
|
|
804
804
|
} });
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
|
-
});
|
|
807
|
+
}));
|
|
808
808
|
//#endregion
|
|
809
809
|
//#region src/file/paragraph/run/east-asian-layout.ts
|
|
810
810
|
var buildEastAsianLayoutObj;
|
|
811
|
-
var init_east_asian_layout = __esmMin(() => {
|
|
811
|
+
var init_east_asian_layout = __esmMin((() => {
|
|
812
812
|
init_xml_components();
|
|
813
813
|
init_values();
|
|
814
814
|
buildEastAsianLayoutObj = ({ id, combine, combineBrackets, vert, vertCompress }) => attrObj("w:eastAsianLayout", {
|
|
@@ -818,11 +818,11 @@ var init_east_asian_layout = __esmMin(() => {
|
|
|
818
818
|
"w:vert": vert,
|
|
819
819
|
"w:vertCompress": vertCompress
|
|
820
820
|
});
|
|
821
|
-
});
|
|
821
|
+
}));
|
|
822
822
|
//#endregion
|
|
823
823
|
//#region src/file/paragraph/run/emphasis-mark.ts
|
|
824
824
|
var EmphasisMarkType, createEmphasisMark, createDotEmphasisMark, buildEmphasisMarkObj;
|
|
825
|
-
var init_emphasis_mark = __esmMin(() => {
|
|
825
|
+
var init_emphasis_mark = __esmMin((() => {
|
|
826
826
|
init_xml_components();
|
|
827
827
|
EmphasisMarkType = {
|
|
828
828
|
/** No emphasis mark */
|
|
@@ -845,11 +845,11 @@ var init_emphasis_mark = __esmMin(() => {
|
|
|
845
845
|
});
|
|
846
846
|
createDotEmphasisMark = () => createEmphasisMark(EmphasisMarkType.DOT);
|
|
847
847
|
buildEmphasisMarkObj = (emphasisMarkType = EmphasisMarkType.DOT) => attrObj("w:em", { "w:val": emphasisMarkType });
|
|
848
|
-
});
|
|
848
|
+
}));
|
|
849
849
|
//#endregion
|
|
850
850
|
//#region src/file/paragraph/run/formatting.ts
|
|
851
851
|
var buildCharacterSpacingObj, buildColorObj, buildHighlightObj, buildHighlightComplexScriptObj;
|
|
852
|
-
var init_formatting$1 = __esmMin(() => {
|
|
852
|
+
var init_formatting$1 = __esmMin((() => {
|
|
853
853
|
init_xml_components();
|
|
854
854
|
init_values();
|
|
855
855
|
buildCharacterSpacingObj = (value) => attrObj("w:spacing", { "w:val": (0, values_exports.signedTwipsMeasureValue)(value) });
|
|
@@ -865,22 +865,22 @@ var init_formatting$1 = __esmMin(() => {
|
|
|
865
865
|
};
|
|
866
866
|
buildHighlightObj = (color) => attrObj("w:highlight", { "w:val": color });
|
|
867
867
|
buildHighlightComplexScriptObj = (color) => attrObj("w:highlightCs", { "w:val": color });
|
|
868
|
-
});
|
|
868
|
+
}));
|
|
869
869
|
//#endregion
|
|
870
870
|
//#region src/file/paragraph/run/language.ts
|
|
871
871
|
var buildLanguageObj;
|
|
872
|
-
var init_language = __esmMin(() => {
|
|
872
|
+
var init_language = __esmMin((() => {
|
|
873
873
|
init_xml_components();
|
|
874
874
|
buildLanguageObj = (options) => attrObj("w:lang", {
|
|
875
875
|
"w:bidi": options.bidirectional,
|
|
876
876
|
"w:eastAsia": options.eastAsia,
|
|
877
877
|
"w:val": options.value
|
|
878
878
|
});
|
|
879
|
-
});
|
|
879
|
+
}));
|
|
880
880
|
//#endregion
|
|
881
881
|
//#region src/file/paragraph/run/run-fonts.ts
|
|
882
882
|
var createRunFonts, buildRunFontsObj;
|
|
883
|
-
var init_run_fonts = __esmMin(() => {
|
|
883
|
+
var init_run_fonts = __esmMin((() => {
|
|
884
884
|
init_xml_components();
|
|
885
885
|
createRunFonts = (nameOrAttrs, hint) => {
|
|
886
886
|
if (typeof nameOrAttrs === "string") {
|
|
@@ -978,11 +978,11 @@ var init_run_fonts = __esmMin(() => {
|
|
|
978
978
|
"w:hint": attrs.hint
|
|
979
979
|
});
|
|
980
980
|
};
|
|
981
|
-
});
|
|
981
|
+
}));
|
|
982
982
|
//#endregion
|
|
983
983
|
//#region src/file/paragraph/run/underline.ts
|
|
984
984
|
var UnderlineType, createUnderline, buildUnderlineObj;
|
|
985
|
-
var init_underline = __esmMin(() => {
|
|
985
|
+
var init_underline = __esmMin((() => {
|
|
986
986
|
init_xml_components();
|
|
987
987
|
init_values();
|
|
988
988
|
UnderlineType = {
|
|
@@ -1055,7 +1055,7 @@ var init_underline = __esmMin(() => {
|
|
|
1055
1055
|
"w:themeTint": themeTint === void 0 ? void 0 : (0, values_exports.uCharHexNumber)(themeTint),
|
|
1056
1056
|
"w:val": underlineType
|
|
1057
1057
|
});
|
|
1058
|
-
});
|
|
1058
|
+
}));
|
|
1059
1059
|
//#endregion
|
|
1060
1060
|
//#region src/file/paragraph/run/properties.ts
|
|
1061
1061
|
/**
|
|
@@ -1126,7 +1126,7 @@ function buildRunProperties(options) {
|
|
|
1126
1126
|
return children.length > 0 ? { "w:rPr": children } : void 0;
|
|
1127
1127
|
}
|
|
1128
1128
|
var TextEffect, HighlightColor, RunProperties, ParagraphRunProperties, RunPropertiesChange;
|
|
1129
|
-
var init_properties$1 = __esmMin(() => {
|
|
1129
|
+
var init_properties$1 = __esmMin((() => {
|
|
1130
1130
|
init_border$1();
|
|
1131
1131
|
init_shading();
|
|
1132
1132
|
init_deletion_track_change();
|
|
@@ -1222,11 +1222,11 @@ var init_properties$1 = __esmMin(() => {
|
|
|
1222
1222
|
this.addChildElement(new RunProperties(options));
|
|
1223
1223
|
}
|
|
1224
1224
|
};
|
|
1225
|
-
});
|
|
1225
|
+
}));
|
|
1226
1226
|
//#endregion
|
|
1227
1227
|
//#region src/file/shared/alignment.ts
|
|
1228
1228
|
var HorizontalPositionAlign, VerticalPositionAlign;
|
|
1229
|
-
var init_alignment = __esmMin(() => {
|
|
1229
|
+
var init_alignment = __esmMin((() => {
|
|
1230
1230
|
HorizontalPositionAlign = {
|
|
1231
1231
|
/** Center horizontally */
|
|
1232
1232
|
CENTER: "center",
|
|
@@ -1251,11 +1251,11 @@ var init_alignment = __esmMin(() => {
|
|
|
1251
1251
|
/** Align to top */
|
|
1252
1252
|
TOP: "top"
|
|
1253
1253
|
};
|
|
1254
|
-
});
|
|
1254
|
+
}));
|
|
1255
1255
|
//#endregion
|
|
1256
1256
|
//#region src/file/shared/number-format.ts
|
|
1257
1257
|
var NumberFormat;
|
|
1258
|
-
var init_number_format = __esmMin(() => {
|
|
1258
|
+
var init_number_format = __esmMin((() => {
|
|
1259
1259
|
NumberFormat = {
|
|
1260
1260
|
AIUEO: "aiueo",
|
|
1261
1261
|
AIUEO_FULL_WIDTH: "aiueoFullWidth",
|
|
@@ -1320,23 +1320,23 @@ var init_number_format = __esmMin(() => {
|
|
|
1320
1320
|
UPPER_ROMAN: "upperRoman",
|
|
1321
1321
|
VIETNAMESE_COUNTING: "vietnameseCounting"
|
|
1322
1322
|
};
|
|
1323
|
-
});
|
|
1323
|
+
}));
|
|
1324
1324
|
//#endregion
|
|
1325
1325
|
//#region src/file/shared/space-type.ts
|
|
1326
1326
|
var SpaceType;
|
|
1327
|
-
var init_space_type = __esmMin(() => {
|
|
1327
|
+
var init_space_type = __esmMin((() => {
|
|
1328
1328
|
SpaceType = {
|
|
1329
1329
|
DEFAULT: "default",
|
|
1330
1330
|
PRESERVE: "preserve"
|
|
1331
1331
|
};
|
|
1332
|
-
});
|
|
1332
|
+
}));
|
|
1333
1333
|
//#endregion
|
|
1334
1334
|
//#region src/file/shared/index.ts
|
|
1335
|
-
var init_shared = __esmMin(() => {
|
|
1335
|
+
var init_shared = __esmMin((() => {
|
|
1336
1336
|
init_alignment();
|
|
1337
1337
|
init_number_format();
|
|
1338
1338
|
init_space_type();
|
|
1339
|
-
});
|
|
1339
|
+
}));
|
|
1340
1340
|
//#endregion
|
|
1341
1341
|
//#region src/file/paragraph/run/run-components/text.ts
|
|
1342
1342
|
/**
|
|
@@ -1351,13 +1351,13 @@ function buildText(options) {
|
|
|
1351
1351
|
if (typeof options === "string") return { "w:t": [{ _attr: { "xml:space": SpaceType.PRESERVE } }, options] };
|
|
1352
1352
|
return { "w:t": [{ _attr: { "xml:space": options.space ?? SpaceType.DEFAULT } }, options.text ?? ""] };
|
|
1353
1353
|
}
|
|
1354
|
-
var init_text = __esmMin(() => {
|
|
1354
|
+
var init_text = __esmMin((() => {
|
|
1355
1355
|
init_shared();
|
|
1356
|
-
});
|
|
1356
|
+
}));
|
|
1357
1357
|
//#endregion
|
|
1358
1358
|
//#region src/file/paragraph/run/run.ts
|
|
1359
1359
|
var PageNumber, Run;
|
|
1360
|
-
var init_run$1 = __esmMin(() => {
|
|
1360
|
+
var init_run$1 = __esmMin((() => {
|
|
1361
1361
|
init_xml_components();
|
|
1362
1362
|
init_break$1();
|
|
1363
1363
|
init_field();
|
|
@@ -1452,18 +1452,18 @@ var init_run$1 = __esmMin(() => {
|
|
|
1452
1452
|
return obj ? xml(obj) : "";
|
|
1453
1453
|
}
|
|
1454
1454
|
};
|
|
1455
|
-
});
|
|
1455
|
+
}));
|
|
1456
1456
|
//#endregion
|
|
1457
1457
|
//#region src/file/paragraph/run/text-run.ts
|
|
1458
1458
|
var TextRun;
|
|
1459
|
-
var init_text_run = __esmMin(() => {
|
|
1459
|
+
var init_text_run = __esmMin((() => {
|
|
1460
1460
|
init_run$1();
|
|
1461
1461
|
TextRun = class extends Run {
|
|
1462
1462
|
constructor(options) {
|
|
1463
1463
|
super(typeof options === "string" ? { text: options } : options);
|
|
1464
1464
|
}
|
|
1465
1465
|
};
|
|
1466
|
-
});
|
|
1466
|
+
}));
|
|
1467
1467
|
//#endregion
|
|
1468
1468
|
//#region src/file/paragraph/run/run-components/symbol.ts
|
|
1469
1469
|
/**
|
|
@@ -1481,11 +1481,11 @@ function buildSymbol(char = "", symbolfont = "Wingdings") {
|
|
|
1481
1481
|
"w:font": symbolfont
|
|
1482
1482
|
} } };
|
|
1483
1483
|
}
|
|
1484
|
-
var init_symbol = __esmMin(() => {});
|
|
1484
|
+
var init_symbol = __esmMin((() => {}));
|
|
1485
1485
|
//#endregion
|
|
1486
1486
|
//#region src/file/paragraph/run/symbol-run.ts
|
|
1487
1487
|
var SymbolRun;
|
|
1488
|
-
var init_symbol_run = __esmMin(() => {
|
|
1488
|
+
var init_symbol_run = __esmMin((() => {
|
|
1489
1489
|
init_run$1();
|
|
1490
1490
|
init_symbol();
|
|
1491
1491
|
SymbolRun = class extends Run {
|
|
@@ -1499,20 +1499,20 @@ var init_symbol_run = __esmMin(() => {
|
|
|
1499
1499
|
this.extraChildren.push(buildSymbol(options.char, options.symbolfont));
|
|
1500
1500
|
}
|
|
1501
1501
|
};
|
|
1502
|
-
});
|
|
1502
|
+
}));
|
|
1503
1503
|
//#endregion
|
|
1504
1504
|
//#region src/util/convenience-functions.ts
|
|
1505
1505
|
var abstractNumUniqueNumericIdGen, concreteNumUniqueNumericIdGen, docPropertiesUniqueNumericIdGen, bookmarkUniqueNumericIdGen;
|
|
1506
|
-
var init_convenience_functions = __esmMin(() => {
|
|
1506
|
+
var init_convenience_functions = __esmMin((() => {
|
|
1507
1507
|
abstractNumUniqueNumericIdGen = () => uniqueNumericIdCreator$1();
|
|
1508
1508
|
concreteNumUniqueNumericIdGen = () => uniqueNumericIdCreator$1(1);
|
|
1509
1509
|
docPropertiesUniqueNumericIdGen = () => uniqueNumericIdCreator$1();
|
|
1510
1510
|
bookmarkUniqueNumericIdGen = () => uniqueNumericIdCreator$1();
|
|
1511
|
-
});
|
|
1511
|
+
}));
|
|
1512
1512
|
//#endregion
|
|
1513
1513
|
//#region src/file/drawing/floating/floating-position.ts
|
|
1514
1514
|
var HorizontalPositionRelativeFrom, VerticalPositionRelativeFrom;
|
|
1515
|
-
var init_floating_position = __esmMin(() => {
|
|
1515
|
+
var init_floating_position = __esmMin((() => {
|
|
1516
1516
|
init_alignment();
|
|
1517
1517
|
HorizontalPositionRelativeFrom = {
|
|
1518
1518
|
/**
|
|
@@ -1614,11 +1614,11 @@ var init_floating_position = __esmMin(() => {
|
|
|
1614
1614
|
*/
|
|
1615
1615
|
TOP_MARGIN: "topMargin"
|
|
1616
1616
|
};
|
|
1617
|
-
});
|
|
1617
|
+
}));
|
|
1618
1618
|
//#endregion
|
|
1619
1619
|
//#region src/file/drawing/floating/simple-pos.ts
|
|
1620
1620
|
var createSimplePos;
|
|
1621
|
-
var init_simple_pos = __esmMin(() => {
|
|
1621
|
+
var init_simple_pos = __esmMin((() => {
|
|
1622
1622
|
init_xml_components();
|
|
1623
1623
|
createSimplePos = () => new BuilderElement({
|
|
1624
1624
|
name: "wp:simplePos",
|
|
@@ -1633,31 +1633,31 @@ var init_simple_pos = __esmMin(() => {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
1635
|
});
|
|
1636
|
-
});
|
|
1636
|
+
}));
|
|
1637
1637
|
//#endregion
|
|
1638
1638
|
//#region src/file/drawing/floating/align.ts
|
|
1639
1639
|
var createAlign;
|
|
1640
|
-
var init_align = __esmMin(() => {
|
|
1640
|
+
var init_align = __esmMin((() => {
|
|
1641
1641
|
init_xml_components();
|
|
1642
1642
|
createAlign = (value) => new BuilderElement({
|
|
1643
1643
|
children: [value],
|
|
1644
1644
|
name: "wp:align"
|
|
1645
1645
|
});
|
|
1646
|
-
});
|
|
1646
|
+
}));
|
|
1647
1647
|
//#endregion
|
|
1648
1648
|
//#region src/file/drawing/floating/position-offset.ts
|
|
1649
1649
|
var createPositionOffset;
|
|
1650
|
-
var init_position_offset = __esmMin(() => {
|
|
1650
|
+
var init_position_offset = __esmMin((() => {
|
|
1651
1651
|
init_xml_components();
|
|
1652
1652
|
createPositionOffset = (offsetValue) => new BuilderElement({
|
|
1653
1653
|
children: [offsetValue.toString()],
|
|
1654
1654
|
name: "wp:posOffset"
|
|
1655
1655
|
});
|
|
1656
|
-
});
|
|
1656
|
+
}));
|
|
1657
1657
|
//#endregion
|
|
1658
1658
|
//#region src/file/drawing/floating/horizontal-position.ts
|
|
1659
1659
|
var createHorizontalPosition;
|
|
1660
|
-
var init_horizontal_position = __esmMin(() => {
|
|
1660
|
+
var init_horizontal_position = __esmMin((() => {
|
|
1661
1661
|
init_xml_components();
|
|
1662
1662
|
init_align();
|
|
1663
1663
|
init_floating_position();
|
|
@@ -1674,11 +1674,11 @@ var init_horizontal_position = __esmMin(() => {
|
|
|
1674
1674
|
})()],
|
|
1675
1675
|
name: "wp:positionH"
|
|
1676
1676
|
});
|
|
1677
|
-
});
|
|
1677
|
+
}));
|
|
1678
1678
|
//#endregion
|
|
1679
1679
|
//#region src/file/drawing/floating/vertical-position.ts
|
|
1680
1680
|
var createVerticalPosition;
|
|
1681
|
-
var init_vertical_position = __esmMin(() => {
|
|
1681
|
+
var init_vertical_position = __esmMin((() => {
|
|
1682
1682
|
init_xml_components();
|
|
1683
1683
|
init_align();
|
|
1684
1684
|
init_floating_position();
|
|
@@ -1695,40 +1695,40 @@ var init_vertical_position = __esmMin(() => {
|
|
|
1695
1695
|
})()],
|
|
1696
1696
|
name: "wp:positionV"
|
|
1697
1697
|
});
|
|
1698
|
-
});
|
|
1698
|
+
}));
|
|
1699
1699
|
//#endregion
|
|
1700
1700
|
//#region src/file/drawing/floating/index.ts
|
|
1701
|
-
var init_floating = __esmMin(() => {
|
|
1701
|
+
var init_floating = __esmMin((() => {
|
|
1702
1702
|
init_floating_position();
|
|
1703
1703
|
init_simple_pos();
|
|
1704
1704
|
init_horizontal_position();
|
|
1705
1705
|
init_vertical_position();
|
|
1706
|
-
});
|
|
1706
|
+
}));
|
|
1707
1707
|
//#endregion
|
|
1708
1708
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/custom-geometry/custom-geometry.ts
|
|
1709
|
-
var init_custom_geometry = __esmMin(() => {});
|
|
1709
|
+
var init_custom_geometry = __esmMin((() => {}));
|
|
1710
1710
|
//#endregion
|
|
1711
1711
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/effect-dag.ts
|
|
1712
|
-
var init_effect_dag = __esmMin(() => {});
|
|
1712
|
+
var init_effect_dag = __esmMin((() => {}));
|
|
1713
1713
|
//#endregion
|
|
1714
1714
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/effects/effect-list.ts
|
|
1715
|
-
var init_effect_list = __esmMin(() => {});
|
|
1715
|
+
var init_effect_list = __esmMin((() => {}));
|
|
1716
1716
|
//#endregion
|
|
1717
1717
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/outline/outline.ts
|
|
1718
|
-
var init_outline = __esmMin(() => {});
|
|
1718
|
+
var init_outline = __esmMin((() => {}));
|
|
1719
1719
|
//#endregion
|
|
1720
1720
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/preset-geometry/preset-geometry.ts
|
|
1721
|
-
var init_preset_geometry = __esmMin(() => {});
|
|
1721
|
+
var init_preset_geometry = __esmMin((() => {}));
|
|
1722
1722
|
//#endregion
|
|
1723
1723
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/three-d/scene-3d.ts
|
|
1724
|
-
var init_scene_3d = __esmMin(() => {});
|
|
1724
|
+
var init_scene_3d = __esmMin((() => {}));
|
|
1725
1725
|
//#endregion
|
|
1726
1726
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/three-d/shape-3d.ts
|
|
1727
|
-
var init_shape_3d = __esmMin(() => {});
|
|
1727
|
+
var init_shape_3d = __esmMin((() => {}));
|
|
1728
1728
|
//#endregion
|
|
1729
1729
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/shape-properties.ts
|
|
1730
1730
|
var ShapeProperties;
|
|
1731
|
-
var init_shape_properties = __esmMin(() => {
|
|
1731
|
+
var init_shape_properties = __esmMin((() => {
|
|
1732
1732
|
init_xml_components();
|
|
1733
1733
|
init_custom_geometry();
|
|
1734
1734
|
init_effect_dag();
|
|
@@ -1781,11 +1781,11 @@ var init_shape_properties = __esmMin(() => {
|
|
|
1781
1781
|
return super.prepForXml(context);
|
|
1782
1782
|
}
|
|
1783
1783
|
};
|
|
1784
|
-
});
|
|
1784
|
+
}));
|
|
1785
1785
|
//#endregion
|
|
1786
1786
|
//#region src/file/drawing/inline/graphic/graphic-data/wps/body-properties.ts
|
|
1787
1787
|
var VerticalAnchor, TextVertOverflowType, TextHorzOverflowType, TextVerticalType, TextBodyWrappingType, buildOptionalAttributes, createPresetTextShape, createBodyProperties;
|
|
1788
|
-
var init_body_properties = __esmMin(() => {
|
|
1788
|
+
var init_body_properties = __esmMin((() => {
|
|
1789
1789
|
init_xml_components();
|
|
1790
1790
|
init_scene_3d();
|
|
1791
1791
|
init_shape_3d();
|
|
@@ -1909,11 +1909,11 @@ var init_body_properties = __esmMin(() => {
|
|
|
1909
1909
|
children: children.length > 0 ? children : void 0
|
|
1910
1910
|
});
|
|
1911
1911
|
};
|
|
1912
|
-
});
|
|
1912
|
+
}));
|
|
1913
1913
|
//#endregion
|
|
1914
1914
|
//#region src/file/drawing/inline/graphic/graphic-data/wps/non-visual-shape-properties.ts
|
|
1915
1915
|
var createNonVisualShapeProperties;
|
|
1916
|
-
var init_non_visual_shape_properties = __esmMin(() => {
|
|
1916
|
+
var init_non_visual_shape_properties = __esmMin((() => {
|
|
1917
1917
|
init_xml_components();
|
|
1918
1918
|
createNonVisualShapeProperties = (options = { txBox: "1" }) => new BuilderElement({
|
|
1919
1919
|
attributes: { txBox: {
|
|
@@ -1922,32 +1922,32 @@ var init_non_visual_shape_properties = __esmMin(() => {
|
|
|
1922
1922
|
} },
|
|
1923
1923
|
name: "wps:cNvSpPr"
|
|
1924
1924
|
});
|
|
1925
|
-
});
|
|
1925
|
+
}));
|
|
1926
1926
|
//#endregion
|
|
1927
1927
|
//#region src/file/drawing/inline/graphic/graphic-data/wps/text-box-content.ts
|
|
1928
1928
|
var createTextBoxContent;
|
|
1929
|
-
var init_text_box_content = __esmMin(() => {
|
|
1929
|
+
var init_text_box_content = __esmMin((() => {
|
|
1930
1930
|
init_xml_components();
|
|
1931
1931
|
createTextBoxContent = (children) => new BuilderElement({
|
|
1932
1932
|
children: [...children],
|
|
1933
1933
|
name: "wps:txbxContent"
|
|
1934
1934
|
});
|
|
1935
|
-
});
|
|
1935
|
+
}));
|
|
1936
1936
|
//#endregion
|
|
1937
1937
|
//#region src/file/drawing/inline/graphic/graphic-data/wps/wps-text-box.ts
|
|
1938
1938
|
var createWpsTextBox;
|
|
1939
|
-
var init_wps_text_box = __esmMin(() => {
|
|
1939
|
+
var init_wps_text_box = __esmMin((() => {
|
|
1940
1940
|
init_xml_components();
|
|
1941
1941
|
init_text_box_content();
|
|
1942
1942
|
createWpsTextBox = (children) => new BuilderElement({
|
|
1943
1943
|
children: [createTextBoxContent(children)],
|
|
1944
1944
|
name: "wps:txbx"
|
|
1945
1945
|
});
|
|
1946
|
-
});
|
|
1946
|
+
}));
|
|
1947
1947
|
//#endregion
|
|
1948
1948
|
//#region src/file/drawing/inline/graphic/graphic-data/wps/wps-shape.ts
|
|
1949
1949
|
var createWpsShape;
|
|
1950
|
-
var init_wps_shape = __esmMin(() => {
|
|
1950
|
+
var init_wps_shape = __esmMin((() => {
|
|
1951
1951
|
init_xml_components();
|
|
1952
1952
|
init_shape_properties();
|
|
1953
1953
|
init_body_properties();
|
|
@@ -1972,23 +1972,23 @@ var init_wps_shape = __esmMin(() => {
|
|
|
1972
1972
|
],
|
|
1973
1973
|
name: "wps:wsp"
|
|
1974
1974
|
});
|
|
1975
|
-
});
|
|
1975
|
+
}));
|
|
1976
1976
|
//#endregion
|
|
1977
1977
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/blip/blip-fill.ts
|
|
1978
|
-
var init_blip_fill = __esmMin(() => {});
|
|
1978
|
+
var init_blip_fill = __esmMin((() => {}));
|
|
1979
1979
|
//#endregion
|
|
1980
1980
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/child-non-visual-pic-properties/child-non-visual-pic-properties.ts
|
|
1981
1981
|
var buildChildNonVisualPropertiesObj;
|
|
1982
|
-
var init_child_non_visual_pic_properties = __esmMin(() => {
|
|
1982
|
+
var init_child_non_visual_pic_properties = __esmMin((() => {
|
|
1983
1983
|
buildChildNonVisualPropertiesObj = () => ({ "pic:cNvPicPr": [{ _attr: { preferRelativeResize: true } }, { "a:picLocks": { _attr: {
|
|
1984
1984
|
noChangeArrowheads: 1,
|
|
1985
1985
|
noChangeAspect: 1
|
|
1986
1986
|
} } }] });
|
|
1987
|
-
});
|
|
1987
|
+
}));
|
|
1988
1988
|
//#endregion
|
|
1989
1989
|
//#region src/file/drawing/doc-properties/doc-properties-children.ts
|
|
1990
1990
|
var buildHyperlinkClickObj, buildHyperlinkHoverObj;
|
|
1991
|
-
var init_doc_properties_children = __esmMin(() => {
|
|
1991
|
+
var init_doc_properties_children = __esmMin((() => {
|
|
1992
1992
|
buildHyperlinkClickObj = (linkId, hasXmlNs) => ({ "a:hlinkClick": { _attr: {
|
|
1993
1993
|
...hasXmlNs ? { "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main" } : {},
|
|
1994
1994
|
"r:id": `rId${linkId}`
|
|
@@ -1997,11 +1997,11 @@ var init_doc_properties_children = __esmMin(() => {
|
|
|
1997
1997
|
...hasXmlNs ? { "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main" } : {},
|
|
1998
1998
|
"r:id": `rId${linkId}`
|
|
1999
1999
|
} } });
|
|
2000
|
-
});
|
|
2000
|
+
}));
|
|
2001
2001
|
//#endregion
|
|
2002
2002
|
//#region src/file/paragraph/links/hyperlink.ts
|
|
2003
2003
|
var HyperlinkType, ConcreteHyperlink, InternalHyperlink, ExternalHyperlink;
|
|
2004
|
-
var init_hyperlink = __esmMin(() => {
|
|
2004
|
+
var init_hyperlink = __esmMin((() => {
|
|
2005
2005
|
init_xml_components();
|
|
2006
2006
|
init_convenience_functions();
|
|
2007
2007
|
HyperlinkType = {
|
|
@@ -2051,14 +2051,14 @@ var init_hyperlink = __esmMin(() => {
|
|
|
2051
2051
|
this.options = options;
|
|
2052
2052
|
}
|
|
2053
2053
|
};
|
|
2054
|
-
});
|
|
2054
|
+
}));
|
|
2055
2055
|
//#endregion
|
|
2056
2056
|
//#region src/file/relationships/relationship/relationship.ts
|
|
2057
|
-
var init_relationship = __esmMin(() => {});
|
|
2057
|
+
var init_relationship = __esmMin((() => {}));
|
|
2058
2058
|
//#endregion
|
|
2059
2059
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-properties/non-visual-properties.ts
|
|
2060
2060
|
var HYPERLINK_RELATIONSHIP_TYPE$1, NonVisualProperties;
|
|
2061
|
-
var init_non_visual_properties = __esmMin(() => {
|
|
2061
|
+
var init_non_visual_properties = __esmMin((() => {
|
|
2062
2062
|
init_doc_properties_children();
|
|
2063
2063
|
init_hyperlink();
|
|
2064
2064
|
init_relationship();
|
|
@@ -2100,11 +2100,11 @@ var init_non_visual_properties = __esmMin(() => {
|
|
|
2100
2100
|
return super.prepForXml(context);
|
|
2101
2101
|
}
|
|
2102
2102
|
};
|
|
2103
|
-
});
|
|
2103
|
+
}));
|
|
2104
2104
|
//#endregion
|
|
2105
2105
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/non-visual-pic-properties/non-visual-pic-properties.ts
|
|
2106
2106
|
var NonVisualPicProperties;
|
|
2107
|
-
var init_non_visual_pic_properties = __esmMin(() => {
|
|
2107
|
+
var init_non_visual_pic_properties = __esmMin((() => {
|
|
2108
2108
|
init_xml_components();
|
|
2109
2109
|
init_child_non_visual_pic_properties();
|
|
2110
2110
|
init_non_visual_properties();
|
|
@@ -2115,11 +2115,11 @@ var init_non_visual_pic_properties = __esmMin(() => {
|
|
|
2115
2115
|
this.root.push(buildChildNonVisualPropertiesObj());
|
|
2116
2116
|
}
|
|
2117
2117
|
};
|
|
2118
|
-
});
|
|
2118
|
+
}));
|
|
2119
2119
|
//#endregion
|
|
2120
2120
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/pic.ts
|
|
2121
2121
|
var Pic;
|
|
2122
|
-
var init_pic$1 = __esmMin(() => {
|
|
2122
|
+
var init_pic$1 = __esmMin((() => {
|
|
2123
2123
|
init_xml_components();
|
|
2124
2124
|
init_blip_fill();
|
|
2125
2125
|
init_non_visual_pic_properties();
|
|
@@ -2148,16 +2148,16 @@ var init_pic$1 = __esmMin(() => {
|
|
|
2148
2148
|
}));
|
|
2149
2149
|
}
|
|
2150
2150
|
};
|
|
2151
|
-
});
|
|
2151
|
+
}));
|
|
2152
2152
|
//#endregion
|
|
2153
2153
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/index.ts
|
|
2154
|
-
var init_pic = __esmMin(() => {
|
|
2154
|
+
var init_pic = __esmMin((() => {
|
|
2155
2155
|
init_pic$1();
|
|
2156
|
-
});
|
|
2156
|
+
}));
|
|
2157
2157
|
//#endregion
|
|
2158
2158
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/extents/extents.ts
|
|
2159
2159
|
var Extents;
|
|
2160
|
-
var init_extents = __esmMin(() => {
|
|
2160
|
+
var init_extents = __esmMin((() => {
|
|
2161
2161
|
init_xml_components();
|
|
2162
2162
|
Extents = class extends XmlComponent {
|
|
2163
2163
|
constructor(x, y) {
|
|
@@ -2168,11 +2168,11 @@ var init_extents = __esmMin(() => {
|
|
|
2168
2168
|
} });
|
|
2169
2169
|
}
|
|
2170
2170
|
};
|
|
2171
|
-
});
|
|
2171
|
+
}));
|
|
2172
2172
|
//#endregion
|
|
2173
2173
|
//#region src/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/offset/off.ts
|
|
2174
2174
|
var Offset;
|
|
2175
|
-
var init_off = __esmMin(() => {
|
|
2175
|
+
var init_off = __esmMin((() => {
|
|
2176
2176
|
init_xml_components();
|
|
2177
2177
|
Offset = class extends XmlComponent {
|
|
2178
2178
|
constructor(x, y) {
|
|
@@ -2183,11 +2183,11 @@ var init_off = __esmMin(() => {
|
|
|
2183
2183
|
} });
|
|
2184
2184
|
}
|
|
2185
2185
|
};
|
|
2186
|
-
});
|
|
2186
|
+
}));
|
|
2187
2187
|
//#endregion
|
|
2188
2188
|
//#region src/file/drawing/inline/graphic/graphic-data/wpg/wpg-group.ts
|
|
2189
2189
|
var createGroupForm, createGroupProperties, createNonVisualGroupProperties, createWpgGroup;
|
|
2190
|
-
var init_wpg_group = __esmMin(() => {
|
|
2190
|
+
var init_wpg_group = __esmMin((() => {
|
|
2191
2191
|
init_xml_components();
|
|
2192
2192
|
init_effect_list();
|
|
2193
2193
|
init_extents();
|
|
@@ -2257,11 +2257,11 @@ var init_wpg_group = __esmMin(() => {
|
|
|
2257
2257
|
],
|
|
2258
2258
|
name: "wpg:wgp"
|
|
2259
2259
|
});
|
|
2260
|
-
});
|
|
2260
|
+
}));
|
|
2261
2261
|
//#endregion
|
|
2262
2262
|
//#region src/file/drawing/inline/graphic/graphic-data/graphic-data.ts
|
|
2263
2263
|
var GraphicData;
|
|
2264
|
-
var init_graphic_data$1 = __esmMin(() => {
|
|
2264
|
+
var init_graphic_data$1 = __esmMin((() => {
|
|
2265
2265
|
init_wps_shape();
|
|
2266
2266
|
init_xml_components();
|
|
2267
2267
|
init_pic();
|
|
@@ -2349,16 +2349,16 @@ var init_graphic_data$1 = __esmMin(() => {
|
|
|
2349
2349
|
}
|
|
2350
2350
|
}
|
|
2351
2351
|
};
|
|
2352
|
-
});
|
|
2352
|
+
}));
|
|
2353
2353
|
//#endregion
|
|
2354
2354
|
//#region src/file/drawing/inline/graphic/graphic-data/index.ts
|
|
2355
|
-
var init_graphic_data = __esmMin(() => {
|
|
2355
|
+
var init_graphic_data = __esmMin((() => {
|
|
2356
2356
|
init_graphic_data$1();
|
|
2357
|
-
});
|
|
2357
|
+
}));
|
|
2358
2358
|
//#endregion
|
|
2359
2359
|
//#region src/file/drawing/inline/graphic/graphic.ts
|
|
2360
2360
|
var Graphic;
|
|
2361
|
-
var init_graphic$1 = __esmMin(() => {
|
|
2361
|
+
var init_graphic$1 = __esmMin((() => {
|
|
2362
2362
|
init_xml_components();
|
|
2363
2363
|
init_graphic_data();
|
|
2364
2364
|
Graphic = class extends XmlComponent {
|
|
@@ -2379,16 +2379,16 @@ var init_graphic$1 = __esmMin(() => {
|
|
|
2379
2379
|
this.root.push(this.data);
|
|
2380
2380
|
}
|
|
2381
2381
|
};
|
|
2382
|
-
});
|
|
2382
|
+
}));
|
|
2383
2383
|
//#endregion
|
|
2384
2384
|
//#region src/file/drawing/inline/graphic/index.ts
|
|
2385
|
-
var init_graphic = __esmMin(() => {
|
|
2385
|
+
var init_graphic = __esmMin((() => {
|
|
2386
2386
|
init_graphic$1();
|
|
2387
|
-
});
|
|
2387
|
+
}));
|
|
2388
2388
|
//#endregion
|
|
2389
2389
|
//#region src/file/drawing/text-wrap/text-wrapping.ts
|
|
2390
2390
|
var TextWrappingType, TextWrappingSide;
|
|
2391
|
-
var init_text_wrapping = __esmMin(() => {
|
|
2391
|
+
var init_text_wrapping = __esmMin((() => {
|
|
2392
2392
|
TextWrappingType = {
|
|
2393
2393
|
NONE: 0,
|
|
2394
2394
|
SQUARE: 1,
|
|
@@ -2406,18 +2406,18 @@ var init_text_wrapping = __esmMin(() => {
|
|
|
2406
2406
|
/** Text wraps on the side with more space */
|
|
2407
2407
|
LARGEST: "largest"
|
|
2408
2408
|
};
|
|
2409
|
-
});
|
|
2409
|
+
}));
|
|
2410
2410
|
//#endregion
|
|
2411
2411
|
//#region src/file/drawing/text-wrap/wrap-none.ts
|
|
2412
2412
|
var createWrapNone;
|
|
2413
|
-
var init_wrap_none = __esmMin(() => {
|
|
2413
|
+
var init_wrap_none = __esmMin((() => {
|
|
2414
2414
|
init_xml_components();
|
|
2415
2415
|
createWrapNone = () => new BuilderElement({ name: "wp:wrapNone" });
|
|
2416
|
-
});
|
|
2416
|
+
}));
|
|
2417
2417
|
//#endregion
|
|
2418
2418
|
//#region src/file/drawing/text-wrap/wrap-square.ts
|
|
2419
2419
|
var createWrapSquare;
|
|
2420
|
-
var init_wrap_square = __esmMin(() => {
|
|
2420
|
+
var init_wrap_square = __esmMin((() => {
|
|
2421
2421
|
init_xml_components();
|
|
2422
2422
|
init_text_wrapping();
|
|
2423
2423
|
createWrapSquare = (textWrapping, margins = {
|
|
@@ -2450,11 +2450,11 @@ var init_wrap_square = __esmMin(() => {
|
|
|
2450
2450
|
},
|
|
2451
2451
|
name: "wp:wrapSquare"
|
|
2452
2452
|
});
|
|
2453
|
-
});
|
|
2453
|
+
}));
|
|
2454
2454
|
//#endregion
|
|
2455
2455
|
//#region src/file/drawing/text-wrap/wrap-tight.ts
|
|
2456
2456
|
var createWrapPolygon$1, createWrapTight;
|
|
2457
|
-
var init_wrap_tight = __esmMin(() => {
|
|
2457
|
+
var init_wrap_tight = __esmMin((() => {
|
|
2458
2458
|
init_xml_components();
|
|
2459
2459
|
init_text_wrapping();
|
|
2460
2460
|
createWrapPolygon$1 = (cx, cy) => new BuilderElement({
|
|
@@ -2554,11 +2554,11 @@ var init_wrap_tight = __esmMin(() => {
|
|
|
2554
2554
|
children: [createWrapPolygon$1(extent.x, extent.y)],
|
|
2555
2555
|
name: "wp:wrapTight"
|
|
2556
2556
|
});
|
|
2557
|
-
});
|
|
2557
|
+
}));
|
|
2558
2558
|
//#endregion
|
|
2559
2559
|
//#region src/file/drawing/text-wrap/wrap-through.ts
|
|
2560
2560
|
var createWrapPolygon, createWrapThrough;
|
|
2561
|
-
var init_wrap_through = __esmMin(() => {
|
|
2561
|
+
var init_wrap_through = __esmMin((() => {
|
|
2562
2562
|
init_xml_components();
|
|
2563
2563
|
init_text_wrapping();
|
|
2564
2564
|
createWrapPolygon = (cx, cy) => new BuilderElement({
|
|
@@ -2658,11 +2658,11 @@ var init_wrap_through = __esmMin(() => {
|
|
|
2658
2658
|
children: [createWrapPolygon(extent.x, extent.y)],
|
|
2659
2659
|
name: "wp:wrapThrough"
|
|
2660
2660
|
});
|
|
2661
|
-
});
|
|
2661
|
+
}));
|
|
2662
2662
|
//#endregion
|
|
2663
2663
|
//#region src/file/drawing/text-wrap/wrap-top-and-bottom.ts
|
|
2664
2664
|
var createWrapTopAndBottom;
|
|
2665
|
-
var init_wrap_top_and_bottom = __esmMin(() => {
|
|
2665
|
+
var init_wrap_top_and_bottom = __esmMin((() => {
|
|
2666
2666
|
init_xml_components();
|
|
2667
2667
|
createWrapTopAndBottom = (margins = {
|
|
2668
2668
|
bottom: 0,
|
|
@@ -2680,21 +2680,21 @@ var init_wrap_top_and_bottom = __esmMin(() => {
|
|
|
2680
2680
|
},
|
|
2681
2681
|
name: "wp:wrapTopAndBottom"
|
|
2682
2682
|
});
|
|
2683
|
-
});
|
|
2683
|
+
}));
|
|
2684
2684
|
//#endregion
|
|
2685
2685
|
//#region src/file/drawing/text-wrap/index.ts
|
|
2686
|
-
var init_text_wrap = __esmMin(() => {
|
|
2686
|
+
var init_text_wrap = __esmMin((() => {
|
|
2687
2687
|
init_text_wrapping();
|
|
2688
2688
|
init_wrap_none();
|
|
2689
2689
|
init_wrap_square();
|
|
2690
2690
|
init_wrap_tight();
|
|
2691
2691
|
init_wrap_through();
|
|
2692
2692
|
init_wrap_top_and_bottom();
|
|
2693
|
-
});
|
|
2693
|
+
}));
|
|
2694
2694
|
//#endregion
|
|
2695
2695
|
//#region src/file/drawing/doc-properties/doc-properties.ts
|
|
2696
2696
|
var HYPERLINK_RELATIONSHIP_TYPE, globalDocPropertiesIdGen, DocProperties;
|
|
2697
|
-
var init_doc_properties = __esmMin(() => {
|
|
2697
|
+
var init_doc_properties = __esmMin((() => {
|
|
2698
2698
|
init_hyperlink();
|
|
2699
2699
|
init_relationship();
|
|
2700
2700
|
init_xml_components();
|
|
@@ -2743,47 +2743,47 @@ var init_doc_properties = __esmMin(() => {
|
|
|
2743
2743
|
return super.prepForXml(context);
|
|
2744
2744
|
}
|
|
2745
2745
|
};
|
|
2746
|
-
});
|
|
2746
|
+
}));
|
|
2747
2747
|
//#endregion
|
|
2748
2748
|
//#region src/file/drawing/effect-extent/effect-extent.ts
|
|
2749
2749
|
var buildEffectExtentObj;
|
|
2750
|
-
var init_effect_extent = __esmMin(() => {
|
|
2750
|
+
var init_effect_extent = __esmMin((() => {
|
|
2751
2751
|
buildEffectExtentObj = ({ top, right, bottom, left }) => ({ "wp:effectExtent": { _attr: {
|
|
2752
2752
|
t: top,
|
|
2753
2753
|
r: right,
|
|
2754
2754
|
b: bottom,
|
|
2755
2755
|
l: left
|
|
2756
2756
|
} } });
|
|
2757
|
-
});
|
|
2757
|
+
}));
|
|
2758
2758
|
//#endregion
|
|
2759
2759
|
//#region src/file/drawing/extent/extent.ts
|
|
2760
2760
|
var buildExtentObj;
|
|
2761
|
-
var init_extent = __esmMin(() => {
|
|
2761
|
+
var init_extent = __esmMin((() => {
|
|
2762
2762
|
buildExtentObj = ({ x, y }) => ({ "wp:extent": { _attr: {
|
|
2763
2763
|
cx: x,
|
|
2764
2764
|
cy: y
|
|
2765
2765
|
} } });
|
|
2766
|
-
});
|
|
2766
|
+
}));
|
|
2767
2767
|
//#endregion
|
|
2768
2768
|
//#region src/file/drawing/graphic-frame/graphic-frame-locks/graphic-frame-locks.ts
|
|
2769
2769
|
var buildGraphicFrameLocksObj;
|
|
2770
|
-
var init_graphic_frame_locks = __esmMin(() => {
|
|
2770
|
+
var init_graphic_frame_locks = __esmMin((() => {
|
|
2771
2771
|
buildGraphicFrameLocksObj = () => ({ "a:graphicFrameLocks": { _attr: {
|
|
2772
2772
|
noChangeAspect: 1,
|
|
2773
2773
|
"xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main"
|
|
2774
2774
|
} } });
|
|
2775
|
-
});
|
|
2775
|
+
}));
|
|
2776
2776
|
//#endregion
|
|
2777
2777
|
//#region src/file/drawing/graphic-frame/graphic-frame-properties.ts
|
|
2778
2778
|
var buildGraphicFramePropertiesObj;
|
|
2779
|
-
var init_graphic_frame_properties = __esmMin(() => {
|
|
2779
|
+
var init_graphic_frame_properties = __esmMin((() => {
|
|
2780
2780
|
init_graphic_frame_locks();
|
|
2781
2781
|
buildGraphicFramePropertiesObj = () => ({ "wp:cNvGraphicFramePr": [buildGraphicFrameLocksObj()] });
|
|
2782
|
-
});
|
|
2782
|
+
}));
|
|
2783
2783
|
//#endregion
|
|
2784
2784
|
//#region src/file/drawing/anchor/anchor.ts
|
|
2785
2785
|
var Anchor;
|
|
2786
|
-
var init_anchor$1 = __esmMin(() => {
|
|
2786
|
+
var init_anchor$1 = __esmMin((() => {
|
|
2787
2787
|
init_xml_components();
|
|
2788
2788
|
init_floating();
|
|
2789
2789
|
init_graphic();
|
|
@@ -2866,16 +2866,16 @@ var init_anchor$1 = __esmMin(() => {
|
|
|
2866
2866
|
}));
|
|
2867
2867
|
}
|
|
2868
2868
|
};
|
|
2869
|
-
});
|
|
2869
|
+
}));
|
|
2870
2870
|
//#endregion
|
|
2871
2871
|
//#region src/file/drawing/anchor/index.ts
|
|
2872
|
-
var init_anchor = __esmMin(() => {
|
|
2872
|
+
var init_anchor = __esmMin((() => {
|
|
2873
2873
|
init_anchor$1();
|
|
2874
|
-
});
|
|
2874
|
+
}));
|
|
2875
2875
|
//#endregion
|
|
2876
2876
|
//#region src/file/drawing/inline/inline.ts
|
|
2877
2877
|
var createInline;
|
|
2878
|
-
var init_inline$1 = __esmMin(() => {
|
|
2878
|
+
var init_inline$1 = __esmMin((() => {
|
|
2879
2879
|
init_xml_components();
|
|
2880
2880
|
init_doc_properties();
|
|
2881
2881
|
init_effect_extent();
|
|
@@ -2932,16 +2932,16 @@ var init_inline$1 = __esmMin(() => {
|
|
|
2932
2932
|
],
|
|
2933
2933
|
name: "wp:inline"
|
|
2934
2934
|
});
|
|
2935
|
-
});
|
|
2935
|
+
}));
|
|
2936
2936
|
//#endregion
|
|
2937
2937
|
//#region src/file/drawing/inline/index.ts
|
|
2938
|
-
var init_inline = __esmMin(() => {
|
|
2938
|
+
var init_inline = __esmMin((() => {
|
|
2939
2939
|
init_inline$1();
|
|
2940
|
-
});
|
|
2940
|
+
}));
|
|
2941
2941
|
//#endregion
|
|
2942
2942
|
//#region src/file/drawing/drawing.ts
|
|
2943
2943
|
var Drawing;
|
|
2944
|
-
var init_drawing$1 = __esmMin(() => {
|
|
2944
|
+
var init_drawing$1 = __esmMin((() => {
|
|
2945
2945
|
init_xml_components();
|
|
2946
2946
|
init_anchor();
|
|
2947
2947
|
init_inline();
|
|
@@ -2965,18 +2965,18 @@ var init_drawing$1 = __esmMin(() => {
|
|
|
2965
2965
|
}));
|
|
2966
2966
|
}
|
|
2967
2967
|
};
|
|
2968
|
-
});
|
|
2968
|
+
}));
|
|
2969
2969
|
//#endregion
|
|
2970
2970
|
//#region src/file/drawing/index.ts
|
|
2971
|
-
var init_drawing = __esmMin(() => {
|
|
2971
|
+
var init_drawing = __esmMin((() => {
|
|
2972
2972
|
init_drawing$1();
|
|
2973
2973
|
init_text_wrap();
|
|
2974
2974
|
init_floating();
|
|
2975
|
-
});
|
|
2975
|
+
}));
|
|
2976
2976
|
//#endregion
|
|
2977
2977
|
//#region src/file/media/media.ts
|
|
2978
2978
|
var createTransformation, Media;
|
|
2979
|
-
var init_media$1 = __esmMin(() => {
|
|
2979
|
+
var init_media$1 = __esmMin((() => {
|
|
2980
2980
|
createTransformation = (options) => ({
|
|
2981
2981
|
emus: {
|
|
2982
2982
|
x: convertPixelsToEmu(options.width),
|
|
@@ -3022,23 +3022,23 @@ var init_media$1 = __esmMin(() => {
|
|
|
3022
3022
|
return [...this.map.values()];
|
|
3023
3023
|
}
|
|
3024
3024
|
};
|
|
3025
|
-
});
|
|
3025
|
+
}));
|
|
3026
3026
|
//#endregion
|
|
3027
3027
|
//#region src/file/media/data.ts
|
|
3028
3028
|
var WORKAROUND2;
|
|
3029
|
-
var init_data = __esmMin(() => {
|
|
3029
|
+
var init_data = __esmMin((() => {
|
|
3030
3030
|
WORKAROUND2 = "";
|
|
3031
|
-
});
|
|
3031
|
+
}));
|
|
3032
3032
|
//#endregion
|
|
3033
3033
|
//#region src/file/media/index.ts
|
|
3034
|
-
var init_media = __esmMin(() => {
|
|
3034
|
+
var init_media = __esmMin((() => {
|
|
3035
3035
|
init_media$1();
|
|
3036
3036
|
init_data();
|
|
3037
|
-
});
|
|
3037
|
+
}));
|
|
3038
3038
|
//#endregion
|
|
3039
3039
|
//#region src/file/paragraph/run/image-run.ts
|
|
3040
3040
|
var createImageData, ImageRun;
|
|
3041
|
-
var init_image_run = __esmMin(() => {
|
|
3041
|
+
var init_image_run = __esmMin((() => {
|
|
3042
3042
|
init_convenience_functions();
|
|
3043
3043
|
init_drawing();
|
|
3044
3044
|
init_media();
|
|
@@ -3086,14 +3086,14 @@ var init_image_run = __esmMin(() => {
|
|
|
3086
3086
|
return super.prepForXml(context);
|
|
3087
3087
|
}
|
|
3088
3088
|
};
|
|
3089
|
-
});
|
|
3089
|
+
}));
|
|
3090
3090
|
//#endregion
|
|
3091
3091
|
//#region src/file/chart/chart-space.ts
|
|
3092
|
-
var init_chart_space = __esmMin(() => {});
|
|
3092
|
+
var init_chart_space = __esmMin((() => {}));
|
|
3093
3093
|
//#endregion
|
|
3094
3094
|
//#region src/file/paragraph/run/chart-run.ts
|
|
3095
3095
|
var ChartRun;
|
|
3096
|
-
var init_chart_run = __esmMin(() => {
|
|
3096
|
+
var init_chart_run = __esmMin((() => {
|
|
3097
3097
|
init_chart_space();
|
|
3098
3098
|
init_drawing();
|
|
3099
3099
|
init_media();
|
|
@@ -3141,14 +3141,14 @@ var init_chart_run = __esmMin(() => {
|
|
|
3141
3141
|
return Math.abs(hash);
|
|
3142
3142
|
}
|
|
3143
3143
|
};
|
|
3144
|
-
});
|
|
3144
|
+
}));
|
|
3145
3145
|
//#endregion
|
|
3146
3146
|
//#region src/file/smartart/tree-to-model.ts
|
|
3147
|
-
var init_tree_to_model = __esmMin(() => {});
|
|
3147
|
+
var init_tree_to_model = __esmMin((() => {}));
|
|
3148
3148
|
//#endregion
|
|
3149
3149
|
//#region src/file/paragraph/run/smartart-run.ts
|
|
3150
3150
|
var SmartArtRun;
|
|
3151
|
-
var init_smartart_run = __esmMin(() => {
|
|
3151
|
+
var init_smartart_run = __esmMin((() => {
|
|
3152
3152
|
init_drawing();
|
|
3153
3153
|
init_media();
|
|
3154
3154
|
init_tree_to_model();
|
|
@@ -3195,11 +3195,11 @@ var init_smartart_run = __esmMin(() => {
|
|
|
3195
3195
|
return Math.abs(hash);
|
|
3196
3196
|
}
|
|
3197
3197
|
};
|
|
3198
|
-
});
|
|
3198
|
+
}));
|
|
3199
3199
|
//#endregion
|
|
3200
3200
|
//#region src/file/paragraph/run/wps-shape-run.ts
|
|
3201
3201
|
var WpsShapeRun;
|
|
3202
|
-
var init_wps_shape_run = __esmMin(() => {
|
|
3202
|
+
var init_wps_shape_run = __esmMin((() => {
|
|
3203
3203
|
init_drawing();
|
|
3204
3204
|
init_media();
|
|
3205
3205
|
init_run();
|
|
@@ -3222,11 +3222,11 @@ var init_wps_shape_run = __esmMin(() => {
|
|
|
3222
3222
|
this.extraChildren.push(drawing);
|
|
3223
3223
|
}
|
|
3224
3224
|
};
|
|
3225
|
-
});
|
|
3225
|
+
}));
|
|
3226
3226
|
//#endregion
|
|
3227
3227
|
//#region src/file/paragraph/run/wpg-group-run.ts
|
|
3228
3228
|
var WpgGroupRun;
|
|
3229
|
-
var init_wpg_group_run = __esmMin(() => {
|
|
3229
|
+
var init_wpg_group_run = __esmMin((() => {
|
|
3230
3230
|
init_run();
|
|
3231
3231
|
init_drawing();
|
|
3232
3232
|
init_media();
|
|
@@ -3256,11 +3256,11 @@ var init_wpg_group_run = __esmMin(() => {
|
|
|
3256
3256
|
return super.prepForXml(context);
|
|
3257
3257
|
}
|
|
3258
3258
|
};
|
|
3259
|
-
});
|
|
3259
|
+
}));
|
|
3260
3260
|
//#endregion
|
|
3261
3261
|
//#region src/file/paragraph/run/sequential-identifier-instruction.ts
|
|
3262
3262
|
var SequentialIdentifierInstruction;
|
|
3263
|
-
var init_sequential_identifier_instruction = __esmMin(() => {
|
|
3263
|
+
var init_sequential_identifier_instruction = __esmMin((() => {
|
|
3264
3264
|
init_shared();
|
|
3265
3265
|
init_xml_components();
|
|
3266
3266
|
SequentialIdentifierInstruction = class extends XmlComponent {
|
|
@@ -3270,11 +3270,11 @@ var init_sequential_identifier_instruction = __esmMin(() => {
|
|
|
3270
3270
|
this.root.push(`SEQ ${identifier}`);
|
|
3271
3271
|
}
|
|
3272
3272
|
};
|
|
3273
|
-
});
|
|
3273
|
+
}));
|
|
3274
3274
|
//#endregion
|
|
3275
3275
|
//#region src/file/paragraph/run/sequential-identifier.ts
|
|
3276
3276
|
var SequentialIdentifier;
|
|
3277
|
-
var init_sequential_identifier = __esmMin(() => {
|
|
3277
|
+
var init_sequential_identifier = __esmMin((() => {
|
|
3278
3278
|
init_run();
|
|
3279
3279
|
init_field();
|
|
3280
3280
|
init_sequential_identifier_instruction();
|
|
@@ -3287,11 +3287,11 @@ var init_sequential_identifier = __esmMin(() => {
|
|
|
3287
3287
|
this.extraChildren.push(createEnd());
|
|
3288
3288
|
}
|
|
3289
3289
|
};
|
|
3290
|
-
});
|
|
3290
|
+
}));
|
|
3291
3291
|
//#endregion
|
|
3292
3292
|
//#region src/file/paragraph/run/simple-field.ts
|
|
3293
3293
|
var SimpleField, SimpleMailMergeField;
|
|
3294
|
-
var init_simple_field = __esmMin(() => {
|
|
3294
|
+
var init_simple_field = __esmMin((() => {
|
|
3295
3295
|
init_xml_components();
|
|
3296
3296
|
init_text_run();
|
|
3297
3297
|
SimpleField = class extends XmlComponent {
|
|
@@ -3306,19 +3306,19 @@ var init_simple_field = __esmMin(() => {
|
|
|
3306
3306
|
super(` MERGEFIELD ${fieldName} `, `«${fieldName}»`);
|
|
3307
3307
|
}
|
|
3308
3308
|
};
|
|
3309
|
-
});
|
|
3309
|
+
}));
|
|
3310
3310
|
//#endregion
|
|
3311
3311
|
//#region src/file/relationships/relationships.ts
|
|
3312
|
-
var init_relationships$1 = __esmMin(() => {});
|
|
3312
|
+
var init_relationships$1 = __esmMin((() => {}));
|
|
3313
3313
|
//#endregion
|
|
3314
3314
|
//#region src/file/relationships/index.ts
|
|
3315
|
-
var init_relationships = __esmMin(() => {
|
|
3315
|
+
var init_relationships = __esmMin((() => {
|
|
3316
3316
|
init_relationships$1();
|
|
3317
|
-
});
|
|
3317
|
+
}));
|
|
3318
3318
|
//#endregion
|
|
3319
3319
|
//#region src/file/fonts/font.ts
|
|
3320
3320
|
var CharacterSet, createFontRelationship, createFont;
|
|
3321
|
-
var init_font = __esmMin(() => {
|
|
3321
|
+
var init_font = __esmMin((() => {
|
|
3322
3322
|
init_xml_components();
|
|
3323
3323
|
CharacterSet = {
|
|
3324
3324
|
ANSI: "00",
|
|
@@ -3403,11 +3403,11 @@ var init_font = __esmMin(() => {
|
|
|
3403
3403
|
],
|
|
3404
3404
|
name: "w:font"
|
|
3405
3405
|
});
|
|
3406
|
-
});
|
|
3406
|
+
}));
|
|
3407
3407
|
//#endregion
|
|
3408
3408
|
//#region src/file/fonts/create-regular-font.ts
|
|
3409
3409
|
var createRegularFont;
|
|
3410
|
-
var init_create_regular_font = __esmMin(() => {
|
|
3410
|
+
var init_create_regular_font = __esmMin((() => {
|
|
3411
3411
|
init_font();
|
|
3412
3412
|
createRegularFont = ({ name, index, fontKey, characterSet }) => createFont({
|
|
3413
3413
|
charset: characterSet,
|
|
@@ -3427,11 +3427,11 @@ var init_create_regular_font = __esmMin(() => {
|
|
|
3427
3427
|
usb3: "00000000"
|
|
3428
3428
|
}
|
|
3429
3429
|
});
|
|
3430
|
-
});
|
|
3430
|
+
}));
|
|
3431
3431
|
//#endregion
|
|
3432
3432
|
//#region src/file/fonts/font-table.ts
|
|
3433
3433
|
var createFontTable;
|
|
3434
|
-
var init_font_table = __esmMin(() => {
|
|
3434
|
+
var init_font_table = __esmMin((() => {
|
|
3435
3435
|
init_xml_components();
|
|
3436
3436
|
init_create_regular_font();
|
|
3437
3437
|
createFontTable = (fonts) => new BuilderElement({
|
|
@@ -3489,11 +3489,11 @@ var init_font_table = __esmMin(() => {
|
|
|
3489
3489
|
})),
|
|
3490
3490
|
name: "w:fonts"
|
|
3491
3491
|
});
|
|
3492
|
-
});
|
|
3492
|
+
}));
|
|
3493
3493
|
//#endregion
|
|
3494
3494
|
//#region src/file/fonts/font-wrapper.ts
|
|
3495
3495
|
var FontWrapper;
|
|
3496
|
-
var init_font_wrapper = __esmMin(() => {
|
|
3496
|
+
var init_font_wrapper = __esmMin((() => {
|
|
3497
3497
|
init_relationships();
|
|
3498
3498
|
init_convenience_functions();
|
|
3499
3499
|
init_font_table();
|
|
@@ -3515,11 +3515,11 @@ var init_font_wrapper = __esmMin(() => {
|
|
|
3515
3515
|
return this.fontTable;
|
|
3516
3516
|
}
|
|
3517
3517
|
};
|
|
3518
|
-
});
|
|
3518
|
+
}));
|
|
3519
3519
|
//#endregion
|
|
3520
3520
|
//#region src/file/track-revision/track-revision-components/deleted-page-number.ts
|
|
3521
3521
|
var DeletedPage, DeletedNumberOfPages, DeletedNumberOfPagesSection;
|
|
3522
|
-
var init_deleted_page_number = __esmMin(() => {
|
|
3522
|
+
var init_deleted_page_number = __esmMin((() => {
|
|
3523
3523
|
init_shared();
|
|
3524
3524
|
init_xml_components();
|
|
3525
3525
|
DeletedPage = class extends XmlComponent {
|
|
@@ -3543,11 +3543,11 @@ var init_deleted_page_number = __esmMin(() => {
|
|
|
3543
3543
|
this.root.push("SECTIONPAGES");
|
|
3544
3544
|
}
|
|
3545
3545
|
};
|
|
3546
|
-
});
|
|
3546
|
+
}));
|
|
3547
3547
|
//#endregion
|
|
3548
3548
|
//#region src/file/track-revision/track-revision-components/deleted-text.ts
|
|
3549
3549
|
var DeletedText;
|
|
3550
|
-
var init_deleted_text = __esmMin(() => {
|
|
3550
|
+
var init_deleted_text = __esmMin((() => {
|
|
3551
3551
|
init_shared();
|
|
3552
3552
|
init_xml_components();
|
|
3553
3553
|
DeletedText = class extends XmlComponent {
|
|
@@ -3557,11 +3557,11 @@ var init_deleted_text = __esmMin(() => {
|
|
|
3557
3557
|
this.root.push(text);
|
|
3558
3558
|
}
|
|
3559
3559
|
};
|
|
3560
|
-
});
|
|
3560
|
+
}));
|
|
3561
3561
|
//#endregion
|
|
3562
3562
|
//#region src/file/track-revision/track-revision-components/deleted-text-run.ts
|
|
3563
3563
|
var DeletedTextRun, DeletedTextRunWrapper;
|
|
3564
|
-
var init_deleted_text_run = __esmMin(() => {
|
|
3564
|
+
var init_deleted_text_run = __esmMin((() => {
|
|
3565
3565
|
init_xml_components();
|
|
3566
3566
|
init_break$1();
|
|
3567
3567
|
init_field();
|
|
@@ -3619,11 +3619,11 @@ var init_deleted_text_run = __esmMin(() => {
|
|
|
3619
3619
|
if (options.break) for (let i = 0; i < options.break; i++) this.root.splice(1, 0, createBreak());
|
|
3620
3620
|
}
|
|
3621
3621
|
};
|
|
3622
|
-
});
|
|
3622
|
+
}));
|
|
3623
3623
|
//#endregion
|
|
3624
3624
|
//#region src/file/track-revision/track-revision-components/inserted-text-run.ts
|
|
3625
3625
|
var InsertedTextRun;
|
|
3626
|
-
var init_inserted_text_run = __esmMin(() => {
|
|
3626
|
+
var init_inserted_text_run = __esmMin((() => {
|
|
3627
3627
|
init_xml_components();
|
|
3628
3628
|
init_run();
|
|
3629
3629
|
InsertedTextRun = class extends XmlComponent {
|
|
@@ -3637,11 +3637,11 @@ var init_inserted_text_run = __esmMin(() => {
|
|
|
3637
3637
|
this.addChildElement(new TextRun(options));
|
|
3638
3638
|
}
|
|
3639
3639
|
};
|
|
3640
|
-
});
|
|
3640
|
+
}));
|
|
3641
3641
|
//#endregion
|
|
3642
3642
|
//#region src/file/paragraph/links/bookmark.ts
|
|
3643
3643
|
var Bookmark, BookmarkStart, BookmarkEnd;
|
|
3644
|
-
var init_bookmark = __esmMin(() => {
|
|
3644
|
+
var init_bookmark = __esmMin((() => {
|
|
3645
3645
|
init_xml_components();
|
|
3646
3646
|
init_convenience_functions();
|
|
3647
3647
|
Bookmark = class {
|
|
@@ -3671,11 +3671,11 @@ var init_bookmark = __esmMin(() => {
|
|
|
3671
3671
|
this.root.push({ _attr: { "w:id": linkId } });
|
|
3672
3672
|
}
|
|
3673
3673
|
};
|
|
3674
|
-
});
|
|
3674
|
+
}));
|
|
3675
3675
|
//#endregion
|
|
3676
3676
|
//#region src/file/paragraph/links/move-bookmark.ts
|
|
3677
3677
|
var buildMoveBookmarkAttr, MoveFromRangeStart, MoveFromRangeEnd, MoveToRangeStart, MoveToRangeEnd;
|
|
3678
|
-
var init_move_bookmark = __esmMin(() => {
|
|
3678
|
+
var init_move_bookmark = __esmMin((() => {
|
|
3679
3679
|
init_xml_components();
|
|
3680
3680
|
buildMoveBookmarkAttr = (id, name, author, date) => {
|
|
3681
3681
|
const attrs = { "w:id": id };
|
|
@@ -3708,11 +3708,11 @@ var init_move_bookmark = __esmMin(() => {
|
|
|
3708
3708
|
this.root.push({ _attr: { "w:id": id } });
|
|
3709
3709
|
}
|
|
3710
3710
|
};
|
|
3711
|
-
});
|
|
3711
|
+
}));
|
|
3712
3712
|
//#endregion
|
|
3713
3713
|
//#region src/file/paragraph/links/div-id.ts
|
|
3714
3714
|
var createDivId, buildDivIdObj;
|
|
3715
|
-
var init_div_id = __esmMin(() => {
|
|
3715
|
+
var init_div_id = __esmMin((() => {
|
|
3716
3716
|
init_xml_components();
|
|
3717
3717
|
createDivId = (id) => new BuilderElement({
|
|
3718
3718
|
attributes: { val: {
|
|
@@ -3722,11 +3722,11 @@ var init_div_id = __esmMin(() => {
|
|
|
3722
3722
|
name: "w:divId"
|
|
3723
3723
|
});
|
|
3724
3724
|
buildDivIdObj = (id) => numberValObj("w:divId", id);
|
|
3725
|
-
});
|
|
3725
|
+
}));
|
|
3726
3726
|
//#endregion
|
|
3727
3727
|
//#region src/file/paragraph/links/numbered-item-ref.ts
|
|
3728
3728
|
var NumberedItemReferenceFormat, SWITCH_MAP, NumberedItemReference;
|
|
3729
|
-
var init_numbered_item_ref = __esmMin(() => {
|
|
3729
|
+
var init_numbered_item_ref = __esmMin((() => {
|
|
3730
3730
|
init_simple_field();
|
|
3731
3731
|
NumberedItemReferenceFormat = /* @__PURE__ */ function(NumberedItemReferenceFormat) {
|
|
3732
3732
|
NumberedItemReferenceFormat["NONE"] = "none";
|
|
@@ -3757,11 +3757,11 @@ var init_numbered_item_ref = __esmMin(() => {
|
|
|
3757
3757
|
super(instruction, cachedValue);
|
|
3758
3758
|
}
|
|
3759
3759
|
};
|
|
3760
|
-
});
|
|
3760
|
+
}));
|
|
3761
3761
|
//#endregion
|
|
3762
3762
|
//#region src/file/paragraph/links/outline-level.ts
|
|
3763
3763
|
var createOutlineLevel, buildOutlineLevelObj;
|
|
3764
|
-
var init_outline_level = __esmMin(() => {
|
|
3764
|
+
var init_outline_level = __esmMin((() => {
|
|
3765
3765
|
init_xml_components();
|
|
3766
3766
|
createOutlineLevel = (level) => new BuilderElement({
|
|
3767
3767
|
attributes: { val: {
|
|
@@ -3771,11 +3771,11 @@ var init_outline_level = __esmMin(() => {
|
|
|
3771
3771
|
name: "w:outlineLvl"
|
|
3772
3772
|
});
|
|
3773
3773
|
buildOutlineLevelObj = (level) => numberValObj("w:outlineLvl", level);
|
|
3774
|
-
});
|
|
3774
|
+
}));
|
|
3775
3775
|
//#endregion
|
|
3776
3776
|
//#region src/file/paragraph/links/pageref-field-instruction.ts
|
|
3777
3777
|
var PageReferenceFieldInstruction;
|
|
3778
|
-
var init_pageref_field_instruction = __esmMin(() => {
|
|
3778
|
+
var init_pageref_field_instruction = __esmMin((() => {
|
|
3779
3779
|
init_shared();
|
|
3780
3780
|
init_xml_components();
|
|
3781
3781
|
PageReferenceFieldInstruction = class extends XmlComponent {
|
|
@@ -3788,11 +3788,11 @@ var init_pageref_field_instruction = __esmMin(() => {
|
|
|
3788
3788
|
this.root.push(instruction);
|
|
3789
3789
|
}
|
|
3790
3790
|
};
|
|
3791
|
-
});
|
|
3791
|
+
}));
|
|
3792
3792
|
//#endregion
|
|
3793
3793
|
//#region src/file/paragraph/links/pageref.ts
|
|
3794
3794
|
var PageReference;
|
|
3795
|
-
var init_pageref = __esmMin(() => {
|
|
3795
|
+
var init_pageref = __esmMin((() => {
|
|
3796
3796
|
init_field();
|
|
3797
3797
|
init_run();
|
|
3798
3798
|
init_pageref_field_instruction();
|
|
@@ -3805,11 +3805,11 @@ var init_pageref = __esmMin(() => {
|
|
|
3805
3805
|
] });
|
|
3806
3806
|
}
|
|
3807
3807
|
};
|
|
3808
|
-
});
|
|
3808
|
+
}));
|
|
3809
3809
|
//#endregion
|
|
3810
3810
|
//#region src/file/paragraph/links/bidi.ts
|
|
3811
3811
|
var Dir, Bdo;
|
|
3812
|
-
var init_bidi = __esmMin(() => {
|
|
3812
|
+
var init_bidi = __esmMin((() => {
|
|
3813
3813
|
init_xml_components();
|
|
3814
3814
|
Dir = class extends XmlComponent {
|
|
3815
3815
|
constructor(options) {
|
|
@@ -3825,10 +3825,10 @@ var init_bidi = __esmMin(() => {
|
|
|
3825
3825
|
for (const child of options.children) this.root.push(child);
|
|
3826
3826
|
}
|
|
3827
3827
|
};
|
|
3828
|
-
});
|
|
3828
|
+
}));
|
|
3829
3829
|
//#endregion
|
|
3830
3830
|
//#region src/file/paragraph/links/index.ts
|
|
3831
|
-
var init_links = __esmMin(() => {
|
|
3831
|
+
var init_links = __esmMin((() => {
|
|
3832
3832
|
init_hyperlink();
|
|
3833
3833
|
init_bookmark();
|
|
3834
3834
|
init_move_bookmark();
|
|
@@ -3837,11 +3837,11 @@ var init_links = __esmMin(() => {
|
|
|
3837
3837
|
init_outline_level();
|
|
3838
3838
|
init_pageref();
|
|
3839
3839
|
init_bidi();
|
|
3840
|
-
});
|
|
3840
|
+
}));
|
|
3841
3841
|
//#endregion
|
|
3842
3842
|
//#region src/file/paragraph/math/n-ary/math-accent-character.ts
|
|
3843
3843
|
var createMathAccentCharacter;
|
|
3844
|
-
var init_math_accent_character = __esmMin(() => {
|
|
3844
|
+
var init_math_accent_character = __esmMin((() => {
|
|
3845
3845
|
init_xml_components();
|
|
3846
3846
|
createMathAccentCharacter = ({ accent }) => new BuilderElement({
|
|
3847
3847
|
attributes: { accent: {
|
|
@@ -3850,21 +3850,21 @@ var init_math_accent_character = __esmMin(() => {
|
|
|
3850
3850
|
} },
|
|
3851
3851
|
name: "m:chr"
|
|
3852
3852
|
});
|
|
3853
|
-
});
|
|
3853
|
+
}));
|
|
3854
3854
|
//#endregion
|
|
3855
3855
|
//#region src/file/paragraph/math/n-ary/math-base.ts
|
|
3856
3856
|
var createMathBase;
|
|
3857
|
-
var init_math_base = __esmMin(() => {
|
|
3857
|
+
var init_math_base = __esmMin((() => {
|
|
3858
3858
|
init_xml_components();
|
|
3859
3859
|
createMathBase = ({ children }) => new BuilderElement({
|
|
3860
3860
|
children,
|
|
3861
3861
|
name: "m:e"
|
|
3862
3862
|
});
|
|
3863
|
-
});
|
|
3863
|
+
}));
|
|
3864
3864
|
//#endregion
|
|
3865
3865
|
//#region src/file/paragraph/math/n-ary/math-limit-location.ts
|
|
3866
3866
|
var createMathLimitLocation;
|
|
3867
|
-
var init_math_limit_location = __esmMin(() => {
|
|
3867
|
+
var init_math_limit_location = __esmMin((() => {
|
|
3868
3868
|
init_xml_components();
|
|
3869
3869
|
createMathLimitLocation = ({ value }) => new BuilderElement({
|
|
3870
3870
|
attributes: { value: {
|
|
@@ -3873,11 +3873,11 @@ var init_math_limit_location = __esmMin(() => {
|
|
|
3873
3873
|
} },
|
|
3874
3874
|
name: "m:limLoc"
|
|
3875
3875
|
});
|
|
3876
|
-
});
|
|
3876
|
+
}));
|
|
3877
3877
|
//#endregion
|
|
3878
3878
|
//#region src/file/paragraph/math/n-ary/math-sub-script-hide.ts
|
|
3879
3879
|
var createMathSubScriptHide;
|
|
3880
|
-
var init_math_sub_script_hide = __esmMin(() => {
|
|
3880
|
+
var init_math_sub_script_hide = __esmMin((() => {
|
|
3881
3881
|
init_xml_components();
|
|
3882
3882
|
createMathSubScriptHide = () => new BuilderElement({
|
|
3883
3883
|
attributes: { hide: {
|
|
@@ -3886,11 +3886,11 @@ var init_math_sub_script_hide = __esmMin(() => {
|
|
|
3886
3886
|
} },
|
|
3887
3887
|
name: "m:subHide"
|
|
3888
3888
|
});
|
|
3889
|
-
});
|
|
3889
|
+
}));
|
|
3890
3890
|
//#endregion
|
|
3891
3891
|
//#region src/file/paragraph/math/n-ary/math-super-script-hide.ts
|
|
3892
3892
|
var createMathSuperScriptHide;
|
|
3893
|
-
var init_math_super_script_hide = __esmMin(() => {
|
|
3893
|
+
var init_math_super_script_hide = __esmMin((() => {
|
|
3894
3894
|
init_xml_components();
|
|
3895
3895
|
createMathSuperScriptHide = () => new BuilderElement({
|
|
3896
3896
|
attributes: { hide: {
|
|
@@ -3899,11 +3899,11 @@ var init_math_super_script_hide = __esmMin(() => {
|
|
|
3899
3899
|
} },
|
|
3900
3900
|
name: "m:supHide"
|
|
3901
3901
|
});
|
|
3902
|
-
});
|
|
3902
|
+
}));
|
|
3903
3903
|
//#endregion
|
|
3904
3904
|
//#region src/file/paragraph/math/n-ary/math-n-ary-properties.ts
|
|
3905
3905
|
var createMathNAryProperties;
|
|
3906
|
-
var init_math_n_ary_properties = __esmMin(() => {
|
|
3906
|
+
var init_math_n_ary_properties = __esmMin((() => {
|
|
3907
3907
|
init_xml_components();
|
|
3908
3908
|
init_math_accent_character();
|
|
3909
3909
|
init_math_limit_location();
|
|
@@ -3921,31 +3921,31 @@ var init_math_n_ary_properties = __esmMin(() => {
|
|
|
3921
3921
|
name: "m:naryPr"
|
|
3922
3922
|
});
|
|
3923
3923
|
};
|
|
3924
|
-
});
|
|
3924
|
+
}));
|
|
3925
3925
|
//#endregion
|
|
3926
3926
|
//#region src/file/paragraph/math/n-ary/math-sub-script.ts
|
|
3927
3927
|
var createMathSubScriptElement;
|
|
3928
|
-
var init_math_sub_script = __esmMin(() => {
|
|
3928
|
+
var init_math_sub_script = __esmMin((() => {
|
|
3929
3929
|
init_xml_components();
|
|
3930
3930
|
createMathSubScriptElement = ({ children }) => new BuilderElement({
|
|
3931
3931
|
children,
|
|
3932
3932
|
name: "m:sub"
|
|
3933
3933
|
});
|
|
3934
|
-
});
|
|
3934
|
+
}));
|
|
3935
3935
|
//#endregion
|
|
3936
3936
|
//#region src/file/paragraph/math/n-ary/math-super-script.ts
|
|
3937
3937
|
var createMathSuperScriptElement;
|
|
3938
|
-
var init_math_super_script = __esmMin(() => {
|
|
3938
|
+
var init_math_super_script = __esmMin((() => {
|
|
3939
3939
|
init_xml_components();
|
|
3940
3940
|
createMathSuperScriptElement = ({ children }) => new BuilderElement({
|
|
3941
3941
|
children,
|
|
3942
3942
|
name: "m:sup"
|
|
3943
3943
|
});
|
|
3944
|
-
});
|
|
3944
|
+
}));
|
|
3945
3945
|
//#endregion
|
|
3946
3946
|
//#region src/file/paragraph/math/n-ary/math-sum.ts
|
|
3947
3947
|
var MathSum;
|
|
3948
|
-
var init_math_sum = __esmMin(() => {
|
|
3948
|
+
var init_math_sum = __esmMin((() => {
|
|
3949
3949
|
init_xml_components();
|
|
3950
3950
|
init_math_base();
|
|
3951
3951
|
init_math_n_ary_properties();
|
|
@@ -3964,11 +3964,11 @@ var init_math_sum = __esmMin(() => {
|
|
|
3964
3964
|
this.root.push(createMathBase({ children: options.children }));
|
|
3965
3965
|
}
|
|
3966
3966
|
};
|
|
3967
|
-
});
|
|
3967
|
+
}));
|
|
3968
3968
|
//#endregion
|
|
3969
3969
|
//#region src/file/paragraph/math/n-ary/math-integral.ts
|
|
3970
3970
|
var MathIntegral;
|
|
3971
|
-
var init_math_integral = __esmMin(() => {
|
|
3971
|
+
var init_math_integral = __esmMin((() => {
|
|
3972
3972
|
init_xml_components();
|
|
3973
3973
|
init_math_base();
|
|
3974
3974
|
init_math_n_ary_properties();
|
|
@@ -3988,11 +3988,11 @@ var init_math_integral = __esmMin(() => {
|
|
|
3988
3988
|
this.root.push(createMathBase({ children: options.children }));
|
|
3989
3989
|
}
|
|
3990
3990
|
};
|
|
3991
|
-
});
|
|
3991
|
+
}));
|
|
3992
3992
|
//#endregion
|
|
3993
3993
|
//#region src/file/paragraph/math/n-ary/math-limit.ts
|
|
3994
3994
|
var MathLimit;
|
|
3995
|
-
var init_math_limit = __esmMin(() => {
|
|
3995
|
+
var init_math_limit = __esmMin((() => {
|
|
3996
3996
|
init_xml_components();
|
|
3997
3997
|
MathLimit = class extends XmlComponent {
|
|
3998
3998
|
constructor(children) {
|
|
@@ -4000,11 +4000,11 @@ var init_math_limit = __esmMin(() => {
|
|
|
4000
4000
|
for (const child of children) this.root.push(child);
|
|
4001
4001
|
}
|
|
4002
4002
|
};
|
|
4003
|
-
});
|
|
4003
|
+
}));
|
|
4004
4004
|
//#endregion
|
|
4005
4005
|
//#region src/file/paragraph/math/math-control-properties.ts
|
|
4006
4006
|
var createMathControlProperties;
|
|
4007
|
-
var init_math_control_properties = __esmMin(() => {
|
|
4007
|
+
var init_math_control_properties = __esmMin((() => {
|
|
4008
4008
|
init_xml_components();
|
|
4009
4009
|
createMathControlProperties = (options) => {
|
|
4010
4010
|
const children = [];
|
|
@@ -4027,11 +4027,11 @@ var init_math_control_properties = __esmMin(() => {
|
|
|
4027
4027
|
name: "m:ctrlPr"
|
|
4028
4028
|
});
|
|
4029
4029
|
};
|
|
4030
|
-
});
|
|
4030
|
+
}));
|
|
4031
4031
|
//#endregion
|
|
4032
4032
|
//#region src/file/paragraph/math/n-ary/math-limit-upper-properties.ts
|
|
4033
4033
|
var createMathLimitUpperProperties;
|
|
4034
|
-
var init_math_limit_upper_properties = __esmMin(() => {
|
|
4034
|
+
var init_math_limit_upper_properties = __esmMin((() => {
|
|
4035
4035
|
init_xml_components();
|
|
4036
4036
|
init_math_control_properties();
|
|
4037
4037
|
createMathLimitUpperProperties = (options) => {
|
|
@@ -4042,11 +4042,11 @@ var init_math_limit_upper_properties = __esmMin(() => {
|
|
|
4042
4042
|
name: "m:limUppPr"
|
|
4043
4043
|
});
|
|
4044
4044
|
};
|
|
4045
|
-
});
|
|
4045
|
+
}));
|
|
4046
4046
|
//#endregion
|
|
4047
4047
|
//#region src/file/paragraph/math/n-ary/math-limit-upper.ts
|
|
4048
4048
|
var MathLimitUpper;
|
|
4049
|
-
var init_math_limit_upper = __esmMin(() => {
|
|
4049
|
+
var init_math_limit_upper = __esmMin((() => {
|
|
4050
4050
|
init_xml_components();
|
|
4051
4051
|
init_math_base();
|
|
4052
4052
|
init_math_limit();
|
|
@@ -4059,11 +4059,11 @@ var init_math_limit_upper = __esmMin(() => {
|
|
|
4059
4059
|
this.root.push(new MathLimit(options.limit));
|
|
4060
4060
|
}
|
|
4061
4061
|
};
|
|
4062
|
-
});
|
|
4062
|
+
}));
|
|
4063
4063
|
//#endregion
|
|
4064
4064
|
//#region src/file/paragraph/math/n-ary/math-limit-low-properties.ts
|
|
4065
4065
|
var createMathLimitLowProperties;
|
|
4066
|
-
var init_math_limit_low_properties = __esmMin(() => {
|
|
4066
|
+
var init_math_limit_low_properties = __esmMin((() => {
|
|
4067
4067
|
init_xml_components();
|
|
4068
4068
|
init_math_control_properties();
|
|
4069
4069
|
createMathLimitLowProperties = (options) => {
|
|
@@ -4074,11 +4074,11 @@ var init_math_limit_low_properties = __esmMin(() => {
|
|
|
4074
4074
|
name: "m:limLowPr"
|
|
4075
4075
|
});
|
|
4076
4076
|
};
|
|
4077
|
-
});
|
|
4077
|
+
}));
|
|
4078
4078
|
//#endregion
|
|
4079
4079
|
//#region src/file/paragraph/math/n-ary/math-limit-lower.ts
|
|
4080
4080
|
var MathLimitLower;
|
|
4081
|
-
var init_math_limit_lower = __esmMin(() => {
|
|
4081
|
+
var init_math_limit_lower = __esmMin((() => {
|
|
4082
4082
|
init_xml_components();
|
|
4083
4083
|
init_math_base();
|
|
4084
4084
|
init_math_limit();
|
|
@@ -4091,10 +4091,10 @@ var init_math_limit_lower = __esmMin(() => {
|
|
|
4091
4091
|
this.root.push(new MathLimit(options.limit));
|
|
4092
4092
|
}
|
|
4093
4093
|
};
|
|
4094
|
-
});
|
|
4094
|
+
}));
|
|
4095
4095
|
//#endregion
|
|
4096
4096
|
//#region src/file/paragraph/math/n-ary/index.ts
|
|
4097
|
-
var init_n_ary = __esmMin(() => {
|
|
4097
|
+
var init_n_ary = __esmMin((() => {
|
|
4098
4098
|
init_math_accent_character();
|
|
4099
4099
|
init_math_base();
|
|
4100
4100
|
init_math_limit_location();
|
|
@@ -4108,11 +4108,11 @@ var init_n_ary = __esmMin(() => {
|
|
|
4108
4108
|
init_math_limit_upper_properties();
|
|
4109
4109
|
init_math_limit_lower();
|
|
4110
4110
|
init_math_limit_low_properties();
|
|
4111
|
-
});
|
|
4111
|
+
}));
|
|
4112
4112
|
//#endregion
|
|
4113
4113
|
//#region src/file/paragraph/math/accent/math-accent-properties.ts
|
|
4114
4114
|
var createMathAccentProperties;
|
|
4115
|
-
var init_math_accent_properties = __esmMin(() => {
|
|
4115
|
+
var init_math_accent_properties = __esmMin((() => {
|
|
4116
4116
|
init_xml_components();
|
|
4117
4117
|
createMathAccentProperties = (options) => new BuilderElement({
|
|
4118
4118
|
children: [new BuilderElement({
|
|
@@ -4124,11 +4124,11 @@ var init_math_accent_properties = __esmMin(() => {
|
|
|
4124
4124
|
})],
|
|
4125
4125
|
name: "m:accPr"
|
|
4126
4126
|
});
|
|
4127
|
-
});
|
|
4127
|
+
}));
|
|
4128
4128
|
//#endregion
|
|
4129
4129
|
//#region src/file/paragraph/math/accent/math-accent.ts
|
|
4130
4130
|
var createMathAccent;
|
|
4131
|
-
var init_math_accent = __esmMin(() => {
|
|
4131
|
+
var init_math_accent = __esmMin((() => {
|
|
4132
4132
|
init_xml_components();
|
|
4133
4133
|
init_n_ary();
|
|
4134
4134
|
init_math_accent_properties();
|
|
@@ -4138,17 +4138,17 @@ var init_math_accent = __esmMin(() => {
|
|
|
4138
4138
|
name: "m:acc"
|
|
4139
4139
|
});
|
|
4140
4140
|
};
|
|
4141
|
-
});
|
|
4141
|
+
}));
|
|
4142
4142
|
//#endregion
|
|
4143
4143
|
//#region src/file/paragraph/math/accent/index.ts
|
|
4144
|
-
var init_accent = __esmMin(() => {
|
|
4144
|
+
var init_accent = __esmMin((() => {
|
|
4145
4145
|
init_math_accent();
|
|
4146
4146
|
init_math_accent_properties();
|
|
4147
|
-
});
|
|
4147
|
+
}));
|
|
4148
4148
|
//#endregion
|
|
4149
4149
|
//#region src/file/paragraph/math/bar/math-bar-pos.ts
|
|
4150
4150
|
var createMathBarPos;
|
|
4151
|
-
var init_math_bar_pos = __esmMin(() => {
|
|
4151
|
+
var init_math_bar_pos = __esmMin((() => {
|
|
4152
4152
|
init_xml_components();
|
|
4153
4153
|
createMathBarPos = ({ val }) => new BuilderElement({
|
|
4154
4154
|
attributes: { val: {
|
|
@@ -4157,22 +4157,22 @@ var init_math_bar_pos = __esmMin(() => {
|
|
|
4157
4157
|
} },
|
|
4158
4158
|
name: "m:pos"
|
|
4159
4159
|
});
|
|
4160
|
-
});
|
|
4160
|
+
}));
|
|
4161
4161
|
//#endregion
|
|
4162
4162
|
//#region src/file/paragraph/math/bar/math-bar-properties.ts
|
|
4163
4163
|
var createMathBarProperties;
|
|
4164
|
-
var init_math_bar_properties = __esmMin(() => {
|
|
4164
|
+
var init_math_bar_properties = __esmMin((() => {
|
|
4165
4165
|
init_xml_components();
|
|
4166
4166
|
init_math_bar_pos();
|
|
4167
4167
|
createMathBarProperties = ({ type }) => new BuilderElement({
|
|
4168
4168
|
children: [createMathBarPos({ val: type })],
|
|
4169
4169
|
name: "m:barPr"
|
|
4170
4170
|
});
|
|
4171
|
-
});
|
|
4171
|
+
}));
|
|
4172
4172
|
//#endregion
|
|
4173
4173
|
//#region src/file/paragraph/math/bar/math-bar.ts
|
|
4174
4174
|
var createMathBar;
|
|
4175
|
-
var init_math_bar = __esmMin(() => {
|
|
4175
|
+
var init_math_bar = __esmMin((() => {
|
|
4176
4176
|
init_xml_components();
|
|
4177
4177
|
init_n_ary();
|
|
4178
4178
|
init_math_bar_properties();
|
|
@@ -4180,17 +4180,17 @@ var init_math_bar = __esmMin(() => {
|
|
|
4180
4180
|
children: [createMathBarProperties({ type }), createMathBase({ children })],
|
|
4181
4181
|
name: "m:bar"
|
|
4182
4182
|
});
|
|
4183
|
-
});
|
|
4183
|
+
}));
|
|
4184
4184
|
//#endregion
|
|
4185
4185
|
//#region src/file/paragraph/math/bar/index.ts
|
|
4186
|
-
var init_bar = __esmMin(() => {
|
|
4186
|
+
var init_bar = __esmMin((() => {
|
|
4187
4187
|
init_math_bar();
|
|
4188
4188
|
init_math_bar_properties();
|
|
4189
|
-
});
|
|
4189
|
+
}));
|
|
4190
4190
|
//#endregion
|
|
4191
4191
|
//#region src/file/paragraph/math/border-box/math-border-box-properties.ts
|
|
4192
4192
|
var createMathBorderBoxProperties;
|
|
4193
|
-
var init_math_border_box_properties = __esmMin(() => {
|
|
4193
|
+
var init_math_border_box_properties = __esmMin((() => {
|
|
4194
4194
|
init_xml_components();
|
|
4195
4195
|
createMathBorderBoxProperties = (options) => {
|
|
4196
4196
|
const children = [];
|
|
@@ -4207,11 +4207,11 @@ var init_math_border_box_properties = __esmMin(() => {
|
|
|
4207
4207
|
name: "m:borderBoxPr"
|
|
4208
4208
|
});
|
|
4209
4209
|
};
|
|
4210
|
-
});
|
|
4210
|
+
}));
|
|
4211
4211
|
//#endregion
|
|
4212
4212
|
//#region src/file/paragraph/math/border-box/math-border-box.ts
|
|
4213
4213
|
var MathBorderBox;
|
|
4214
|
-
var init_math_border_box = __esmMin(() => {
|
|
4214
|
+
var init_math_border_box = __esmMin((() => {
|
|
4215
4215
|
init_xml_components();
|
|
4216
4216
|
init_n_ary();
|
|
4217
4217
|
init_math_border_box_properties();
|
|
@@ -4222,17 +4222,17 @@ var init_math_border_box = __esmMin(() => {
|
|
|
4222
4222
|
this.root.push(createMathBase({ children: options.children }));
|
|
4223
4223
|
}
|
|
4224
4224
|
};
|
|
4225
|
-
});
|
|
4225
|
+
}));
|
|
4226
4226
|
//#endregion
|
|
4227
4227
|
//#region src/file/paragraph/math/border-box/index.ts
|
|
4228
|
-
var init_border_box = __esmMin(() => {
|
|
4228
|
+
var init_border_box = __esmMin((() => {
|
|
4229
4229
|
init_math_border_box();
|
|
4230
4230
|
init_math_border_box_properties();
|
|
4231
|
-
});
|
|
4231
|
+
}));
|
|
4232
4232
|
//#endregion
|
|
4233
4233
|
//#region src/file/paragraph/math/box/math-box-properties.ts
|
|
4234
4234
|
var createMathBoxProperties;
|
|
4235
|
-
var init_math_box_properties = __esmMin(() => {
|
|
4235
|
+
var init_math_box_properties = __esmMin((() => {
|
|
4236
4236
|
init_xml_components();
|
|
4237
4237
|
createMathBoxProperties = (options) => {
|
|
4238
4238
|
const children = [];
|
|
@@ -4245,11 +4245,11 @@ var init_math_box_properties = __esmMin(() => {
|
|
|
4245
4245
|
name: "m:boxPr"
|
|
4246
4246
|
});
|
|
4247
4247
|
};
|
|
4248
|
-
});
|
|
4248
|
+
}));
|
|
4249
4249
|
//#endregion
|
|
4250
4250
|
//#region src/file/paragraph/math/box/math-box.ts
|
|
4251
4251
|
var MathBox;
|
|
4252
|
-
var init_math_box = __esmMin(() => {
|
|
4252
|
+
var init_math_box = __esmMin((() => {
|
|
4253
4253
|
init_xml_components();
|
|
4254
4254
|
init_n_ary();
|
|
4255
4255
|
init_math_box_properties();
|
|
@@ -4260,17 +4260,17 @@ var init_math_box = __esmMin(() => {
|
|
|
4260
4260
|
this.root.push(createMathBase({ children: options.children }));
|
|
4261
4261
|
}
|
|
4262
4262
|
};
|
|
4263
|
-
});
|
|
4263
|
+
}));
|
|
4264
4264
|
//#endregion
|
|
4265
4265
|
//#region src/file/paragraph/math/box/index.ts
|
|
4266
|
-
var init_box = __esmMin(() => {
|
|
4266
|
+
var init_box = __esmMin((() => {
|
|
4267
4267
|
init_math_box();
|
|
4268
4268
|
init_math_box_properties();
|
|
4269
|
-
});
|
|
4269
|
+
}));
|
|
4270
4270
|
//#endregion
|
|
4271
4271
|
//#region src/file/paragraph/math/brackets/math-beginning-character.ts
|
|
4272
4272
|
var createMathBeginningCharacter;
|
|
4273
|
-
var init_math_beginning_character = __esmMin(() => {
|
|
4273
|
+
var init_math_beginning_character = __esmMin((() => {
|
|
4274
4274
|
init_xml_components();
|
|
4275
4275
|
createMathBeginningCharacter = ({ character }) => new BuilderElement({
|
|
4276
4276
|
attributes: { character: {
|
|
@@ -4279,11 +4279,11 @@ var init_math_beginning_character = __esmMin(() => {
|
|
|
4279
4279
|
} },
|
|
4280
4280
|
name: "m:begChr"
|
|
4281
4281
|
});
|
|
4282
|
-
});
|
|
4282
|
+
}));
|
|
4283
4283
|
//#endregion
|
|
4284
4284
|
//#region src/file/paragraph/math/brackets/math-ending-char.ts
|
|
4285
4285
|
var createMathEndingCharacter;
|
|
4286
|
-
var init_math_ending_char = __esmMin(() => {
|
|
4286
|
+
var init_math_ending_char = __esmMin((() => {
|
|
4287
4287
|
init_xml_components();
|
|
4288
4288
|
createMathEndingCharacter = ({ character }) => new BuilderElement({
|
|
4289
4289
|
attributes: { character: {
|
|
@@ -4292,11 +4292,11 @@ var init_math_ending_char = __esmMin(() => {
|
|
|
4292
4292
|
} },
|
|
4293
4293
|
name: "m:endChr"
|
|
4294
4294
|
});
|
|
4295
|
-
});
|
|
4295
|
+
}));
|
|
4296
4296
|
//#endregion
|
|
4297
4297
|
//#region src/file/paragraph/math/brackets/math-bracket-properties.ts
|
|
4298
4298
|
var createMathBracketProperties;
|
|
4299
|
-
var init_math_bracket_properties = __esmMin(() => {
|
|
4299
|
+
var init_math_bracket_properties = __esmMin((() => {
|
|
4300
4300
|
init_xml_components();
|
|
4301
4301
|
init_math_beginning_character();
|
|
4302
4302
|
init_math_ending_char();
|
|
@@ -4324,11 +4324,11 @@ var init_math_bracket_properties = __esmMin(() => {
|
|
|
4324
4324
|
name: "m:dPr"
|
|
4325
4325
|
});
|
|
4326
4326
|
};
|
|
4327
|
-
});
|
|
4327
|
+
}));
|
|
4328
4328
|
//#endregion
|
|
4329
4329
|
//#region src/file/paragraph/math/brackets/math-round-brackets.ts
|
|
4330
4330
|
var MathRoundBrackets;
|
|
4331
|
-
var init_math_round_brackets = __esmMin(() => {
|
|
4331
|
+
var init_math_round_brackets = __esmMin((() => {
|
|
4332
4332
|
init_xml_components();
|
|
4333
4333
|
init_n_ary();
|
|
4334
4334
|
init_math_bracket_properties();
|
|
@@ -4339,11 +4339,11 @@ var init_math_round_brackets = __esmMin(() => {
|
|
|
4339
4339
|
this.root.push(createMathBase({ children: options.children }));
|
|
4340
4340
|
}
|
|
4341
4341
|
};
|
|
4342
|
-
});
|
|
4342
|
+
}));
|
|
4343
4343
|
//#endregion
|
|
4344
4344
|
//#region src/file/paragraph/math/brackets/math-square-brackets.ts
|
|
4345
4345
|
var MathSquareBrackets;
|
|
4346
|
-
var init_math_square_brackets = __esmMin(() => {
|
|
4346
|
+
var init_math_square_brackets = __esmMin((() => {
|
|
4347
4347
|
init_xml_components();
|
|
4348
4348
|
init_n_ary();
|
|
4349
4349
|
init_math_bracket_properties();
|
|
@@ -4357,11 +4357,11 @@ var init_math_square_brackets = __esmMin(() => {
|
|
|
4357
4357
|
this.root.push(createMathBase({ children: options.children }));
|
|
4358
4358
|
}
|
|
4359
4359
|
};
|
|
4360
|
-
});
|
|
4360
|
+
}));
|
|
4361
4361
|
//#endregion
|
|
4362
4362
|
//#region src/file/paragraph/math/brackets/math-curly-brackets.ts
|
|
4363
4363
|
var MathCurlyBrackets;
|
|
4364
|
-
var init_math_curly_brackets = __esmMin(() => {
|
|
4364
|
+
var init_math_curly_brackets = __esmMin((() => {
|
|
4365
4365
|
init_xml_components();
|
|
4366
4366
|
init_n_ary();
|
|
4367
4367
|
init_math_bracket_properties();
|
|
@@ -4375,11 +4375,11 @@ var init_math_curly_brackets = __esmMin(() => {
|
|
|
4375
4375
|
this.root.push(createMathBase({ children: options.children }));
|
|
4376
4376
|
}
|
|
4377
4377
|
};
|
|
4378
|
-
});
|
|
4378
|
+
}));
|
|
4379
4379
|
//#endregion
|
|
4380
4380
|
//#region src/file/paragraph/math/brackets/math-angled-brackets.ts
|
|
4381
4381
|
var MathAngledBrackets;
|
|
4382
|
-
var init_math_angled_brackets = __esmMin(() => {
|
|
4382
|
+
var init_math_angled_brackets = __esmMin((() => {
|
|
4383
4383
|
init_xml_components();
|
|
4384
4384
|
init_n_ary();
|
|
4385
4385
|
init_math_bracket_properties();
|
|
@@ -4393,19 +4393,19 @@ var init_math_angled_brackets = __esmMin(() => {
|
|
|
4393
4393
|
this.root.push(createMathBase({ children: options.children }));
|
|
4394
4394
|
}
|
|
4395
4395
|
};
|
|
4396
|
-
});
|
|
4396
|
+
}));
|
|
4397
4397
|
//#endregion
|
|
4398
4398
|
//#region src/file/paragraph/math/brackets/index.ts
|
|
4399
|
-
var init_brackets = __esmMin(() => {
|
|
4399
|
+
var init_brackets = __esmMin((() => {
|
|
4400
4400
|
init_math_round_brackets();
|
|
4401
4401
|
init_math_square_brackets();
|
|
4402
4402
|
init_math_curly_brackets();
|
|
4403
4403
|
init_math_angled_brackets();
|
|
4404
|
-
});
|
|
4404
|
+
}));
|
|
4405
4405
|
//#endregion
|
|
4406
4406
|
//#region src/file/paragraph/math/eq-arr/math-eq-arr-properties.ts
|
|
4407
4407
|
var createMathEqArrProperties;
|
|
4408
|
-
var init_math_eq_arr_properties = __esmMin(() => {
|
|
4408
|
+
var init_math_eq_arr_properties = __esmMin((() => {
|
|
4409
4409
|
init_xml_components();
|
|
4410
4410
|
createMathEqArrProperties = (options) => {
|
|
4411
4411
|
const children = [];
|
|
@@ -4437,11 +4437,11 @@ var init_math_eq_arr_properties = __esmMin(() => {
|
|
|
4437
4437
|
name: "m:eqArrPr"
|
|
4438
4438
|
});
|
|
4439
4439
|
};
|
|
4440
|
-
});
|
|
4440
|
+
}));
|
|
4441
4441
|
//#endregion
|
|
4442
4442
|
//#region src/file/paragraph/math/eq-arr/math-eq-arr.ts
|
|
4443
4443
|
var MathEqArr;
|
|
4444
|
-
var init_math_eq_arr = __esmMin(() => {
|
|
4444
|
+
var init_math_eq_arr = __esmMin((() => {
|
|
4445
4445
|
init_xml_components();
|
|
4446
4446
|
init_n_ary();
|
|
4447
4447
|
init_math_eq_arr_properties();
|
|
@@ -4452,17 +4452,17 @@ var init_math_eq_arr = __esmMin(() => {
|
|
|
4452
4452
|
for (const row of options.rows) this.root.push(createMathBase({ children: row }));
|
|
4453
4453
|
}
|
|
4454
4454
|
};
|
|
4455
|
-
});
|
|
4455
|
+
}));
|
|
4456
4456
|
//#endregion
|
|
4457
4457
|
//#region src/file/paragraph/math/eq-arr/index.ts
|
|
4458
|
-
var init_eq_arr = __esmMin(() => {
|
|
4458
|
+
var init_eq_arr = __esmMin((() => {
|
|
4459
4459
|
init_math_eq_arr();
|
|
4460
4460
|
init_math_eq_arr_properties();
|
|
4461
|
-
});
|
|
4461
|
+
}));
|
|
4462
4462
|
//#endregion
|
|
4463
4463
|
//#region src/file/paragraph/math/fraction/math-denominator.ts
|
|
4464
4464
|
var MathDenominator;
|
|
4465
|
-
var init_math_denominator = __esmMin(() => {
|
|
4465
|
+
var init_math_denominator = __esmMin((() => {
|
|
4466
4466
|
init_xml_components();
|
|
4467
4467
|
MathDenominator = class extends XmlComponent {
|
|
4468
4468
|
constructor(children) {
|
|
@@ -4470,11 +4470,11 @@ var init_math_denominator = __esmMin(() => {
|
|
|
4470
4470
|
for (const child of children) this.root.push(child);
|
|
4471
4471
|
}
|
|
4472
4472
|
};
|
|
4473
|
-
});
|
|
4473
|
+
}));
|
|
4474
4474
|
//#endregion
|
|
4475
4475
|
//#region src/file/paragraph/math/fraction/math-fraction-properties.ts
|
|
4476
4476
|
var FractionType, createMathFractionProperties;
|
|
4477
|
-
var init_math_fraction_properties = __esmMin(() => {
|
|
4477
|
+
var init_math_fraction_properties = __esmMin((() => {
|
|
4478
4478
|
init_xml_components();
|
|
4479
4479
|
FractionType = {
|
|
4480
4480
|
/** Standard fraction with horizontal bar: a/b */
|
|
@@ -4500,11 +4500,11 @@ var init_math_fraction_properties = __esmMin(() => {
|
|
|
4500
4500
|
name: "m:fPr"
|
|
4501
4501
|
});
|
|
4502
4502
|
};
|
|
4503
|
-
});
|
|
4503
|
+
}));
|
|
4504
4504
|
//#endregion
|
|
4505
4505
|
//#region src/file/paragraph/math/fraction/math-numerator.ts
|
|
4506
4506
|
var MathNumerator;
|
|
4507
|
-
var init_math_numerator = __esmMin(() => {
|
|
4507
|
+
var init_math_numerator = __esmMin((() => {
|
|
4508
4508
|
init_xml_components();
|
|
4509
4509
|
MathNumerator = class extends XmlComponent {
|
|
4510
4510
|
constructor(children) {
|
|
@@ -4512,11 +4512,11 @@ var init_math_numerator = __esmMin(() => {
|
|
|
4512
4512
|
for (const child of children) this.root.push(child);
|
|
4513
4513
|
}
|
|
4514
4514
|
};
|
|
4515
|
-
});
|
|
4515
|
+
}));
|
|
4516
4516
|
//#endregion
|
|
4517
4517
|
//#region src/file/paragraph/math/fraction/math-fraction.ts
|
|
4518
4518
|
var MathFraction;
|
|
4519
|
-
var init_math_fraction = __esmMin(() => {
|
|
4519
|
+
var init_math_fraction = __esmMin((() => {
|
|
4520
4520
|
init_xml_components();
|
|
4521
4521
|
init_math_denominator();
|
|
4522
4522
|
init_math_fraction_properties();
|
|
@@ -4529,19 +4529,19 @@ var init_math_fraction = __esmMin(() => {
|
|
|
4529
4529
|
this.root.push(new MathDenominator(options.denominator));
|
|
4530
4530
|
}
|
|
4531
4531
|
};
|
|
4532
|
-
});
|
|
4532
|
+
}));
|
|
4533
4533
|
//#endregion
|
|
4534
4534
|
//#region src/file/paragraph/math/fraction/index.ts
|
|
4535
|
-
var init_fraction = __esmMin(() => {
|
|
4535
|
+
var init_fraction = __esmMin((() => {
|
|
4536
4536
|
init_math_fraction();
|
|
4537
4537
|
init_math_fraction_properties();
|
|
4538
4538
|
init_math_denominator();
|
|
4539
4539
|
init_math_numerator();
|
|
4540
|
-
});
|
|
4540
|
+
}));
|
|
4541
4541
|
//#endregion
|
|
4542
4542
|
//#region src/file/paragraph/math/function/math-function-name.ts
|
|
4543
4543
|
var MathFunctionName;
|
|
4544
|
-
var init_math_function_name = __esmMin(() => {
|
|
4544
|
+
var init_math_function_name = __esmMin((() => {
|
|
4545
4545
|
init_xml_components();
|
|
4546
4546
|
MathFunctionName = class extends XmlComponent {
|
|
4547
4547
|
constructor(children) {
|
|
@@ -4549,11 +4549,11 @@ var init_math_function_name = __esmMin(() => {
|
|
|
4549
4549
|
for (const child of children) this.root.push(child);
|
|
4550
4550
|
}
|
|
4551
4551
|
};
|
|
4552
|
-
});
|
|
4552
|
+
}));
|
|
4553
4553
|
//#endregion
|
|
4554
4554
|
//#region src/file/paragraph/math/function/math-function-properties.ts
|
|
4555
4555
|
var createMathFunctionProperties;
|
|
4556
|
-
var init_math_function_properties = __esmMin(() => {
|
|
4556
|
+
var init_math_function_properties = __esmMin((() => {
|
|
4557
4557
|
init_xml_components();
|
|
4558
4558
|
init_math_control_properties();
|
|
4559
4559
|
createMathFunctionProperties = (options) => {
|
|
@@ -4564,11 +4564,11 @@ var init_math_function_properties = __esmMin(() => {
|
|
|
4564
4564
|
name: "m:funcPr"
|
|
4565
4565
|
});
|
|
4566
4566
|
};
|
|
4567
|
-
});
|
|
4567
|
+
}));
|
|
4568
4568
|
//#endregion
|
|
4569
4569
|
//#region src/file/paragraph/math/function/math-function.ts
|
|
4570
4570
|
var MathFunction;
|
|
4571
|
-
var init_math_function = __esmMin(() => {
|
|
4571
|
+
var init_math_function = __esmMin((() => {
|
|
4572
4572
|
init_xml_components();
|
|
4573
4573
|
init_n_ary();
|
|
4574
4574
|
init_math_function_name();
|
|
@@ -4581,18 +4581,18 @@ var init_math_function = __esmMin(() => {
|
|
|
4581
4581
|
this.root.push(createMathBase({ children: options.children }));
|
|
4582
4582
|
}
|
|
4583
4583
|
};
|
|
4584
|
-
});
|
|
4584
|
+
}));
|
|
4585
4585
|
//#endregion
|
|
4586
4586
|
//#region src/file/paragraph/math/function/index.ts
|
|
4587
|
-
var init_function = __esmMin(() => {
|
|
4587
|
+
var init_function = __esmMin((() => {
|
|
4588
4588
|
init_math_function();
|
|
4589
4589
|
init_math_function_name();
|
|
4590
4590
|
init_math_function_properties();
|
|
4591
|
-
});
|
|
4591
|
+
}));
|
|
4592
4592
|
//#endregion
|
|
4593
4593
|
//#region src/file/paragraph/math/group-chr/math-group-chr-properties.ts
|
|
4594
4594
|
var createMathGroupChrProperties;
|
|
4595
|
-
var init_math_group_chr_properties = __esmMin(() => {
|
|
4595
|
+
var init_math_group_chr_properties = __esmMin((() => {
|
|
4596
4596
|
init_xml_components();
|
|
4597
4597
|
createMathGroupChrProperties = (options) => {
|
|
4598
4598
|
const children = [];
|
|
@@ -4622,11 +4622,11 @@ var init_math_group_chr_properties = __esmMin(() => {
|
|
|
4622
4622
|
name: "m:groupChrPr"
|
|
4623
4623
|
});
|
|
4624
4624
|
};
|
|
4625
|
-
});
|
|
4625
|
+
}));
|
|
4626
4626
|
//#endregion
|
|
4627
4627
|
//#region src/file/paragraph/math/group-chr/math-group-chr.ts
|
|
4628
4628
|
var MathGroupChr;
|
|
4629
|
-
var init_math_group_chr = __esmMin(() => {
|
|
4629
|
+
var init_math_group_chr = __esmMin((() => {
|
|
4630
4630
|
init_xml_components();
|
|
4631
4631
|
init_n_ary();
|
|
4632
4632
|
init_math_group_chr_properties();
|
|
@@ -4637,17 +4637,17 @@ var init_math_group_chr = __esmMin(() => {
|
|
|
4637
4637
|
this.root.push(createMathBase({ children: options.children }));
|
|
4638
4638
|
}
|
|
4639
4639
|
};
|
|
4640
|
-
});
|
|
4640
|
+
}));
|
|
4641
4641
|
//#endregion
|
|
4642
4642
|
//#region src/file/paragraph/math/group-chr/index.ts
|
|
4643
|
-
var init_group_chr = __esmMin(() => {
|
|
4643
|
+
var init_group_chr = __esmMin((() => {
|
|
4644
4644
|
init_math_group_chr();
|
|
4645
4645
|
init_math_group_chr_properties();
|
|
4646
|
-
});
|
|
4646
|
+
}));
|
|
4647
4647
|
//#endregion
|
|
4648
4648
|
//#region src/file/paragraph/math/math-run-properties.ts
|
|
4649
4649
|
var createMathRunProperties;
|
|
4650
|
-
var init_math_run_properties = __esmMin(() => {
|
|
4650
|
+
var init_math_run_properties = __esmMin((() => {
|
|
4651
4651
|
init_xml_components();
|
|
4652
4652
|
createMathRunProperties = (options) => {
|
|
4653
4653
|
const children = [];
|
|
@@ -4682,11 +4682,11 @@ var init_math_run_properties = __esmMin(() => {
|
|
|
4682
4682
|
name: "m:rPr"
|
|
4683
4683
|
});
|
|
4684
4684
|
};
|
|
4685
|
-
});
|
|
4685
|
+
}));
|
|
4686
4686
|
//#endregion
|
|
4687
4687
|
//#region src/file/paragraph/math/math-text.ts
|
|
4688
4688
|
var MathText;
|
|
4689
|
-
var init_math_text = __esmMin(() => {
|
|
4689
|
+
var init_math_text = __esmMin((() => {
|
|
4690
4690
|
init_xml_components();
|
|
4691
4691
|
MathText = class extends XmlComponent {
|
|
4692
4692
|
constructor(text) {
|
|
@@ -4694,11 +4694,11 @@ var init_math_text = __esmMin(() => {
|
|
|
4694
4694
|
this.root.push(text);
|
|
4695
4695
|
}
|
|
4696
4696
|
};
|
|
4697
|
-
});
|
|
4697
|
+
}));
|
|
4698
4698
|
//#endregion
|
|
4699
4699
|
//#region src/file/paragraph/math/math-run.ts
|
|
4700
4700
|
var MathRun;
|
|
4701
|
-
var init_math_run = __esmMin(() => {
|
|
4701
|
+
var init_math_run = __esmMin((() => {
|
|
4702
4702
|
init_xml_components();
|
|
4703
4703
|
init_math_run_properties();
|
|
4704
4704
|
init_math_text();
|
|
@@ -4710,11 +4710,11 @@ var init_math_run = __esmMin(() => {
|
|
|
4710
4710
|
this.root.push(new MathText(options.text));
|
|
4711
4711
|
}
|
|
4712
4712
|
};
|
|
4713
|
-
});
|
|
4713
|
+
}));
|
|
4714
4714
|
//#endregion
|
|
4715
4715
|
//#region src/file/paragraph/math/matrix/math-matrix-properties.ts
|
|
4716
4716
|
var createMathMatrixProperties;
|
|
4717
|
-
var init_math_matrix_properties = __esmMin(() => {
|
|
4717
|
+
var init_math_matrix_properties = __esmMin((() => {
|
|
4718
4718
|
init_xml_components();
|
|
4719
4719
|
createMathMatrixProperties = (options) => {
|
|
4720
4720
|
const children = [];
|
|
@@ -4766,11 +4766,11 @@ var init_math_matrix_properties = __esmMin(() => {
|
|
|
4766
4766
|
name: "m:mPr"
|
|
4767
4767
|
});
|
|
4768
4768
|
};
|
|
4769
|
-
});
|
|
4769
|
+
}));
|
|
4770
4770
|
//#endregion
|
|
4771
4771
|
//#region src/file/paragraph/math/matrix/math-matrix.ts
|
|
4772
4772
|
var MathMatrix;
|
|
4773
|
-
var init_math_matrix = __esmMin(() => {
|
|
4773
|
+
var init_math_matrix = __esmMin((() => {
|
|
4774
4774
|
init_xml_components();
|
|
4775
4775
|
init_n_ary();
|
|
4776
4776
|
init_math_matrix_properties();
|
|
@@ -4784,11 +4784,11 @@ var init_math_matrix = __esmMin(() => {
|
|
|
4784
4784
|
}));
|
|
4785
4785
|
}
|
|
4786
4786
|
};
|
|
4787
|
-
});
|
|
4787
|
+
}));
|
|
4788
4788
|
//#endregion
|
|
4789
4789
|
//#region src/file/paragraph/math/phant/math-phant-properties.ts
|
|
4790
4790
|
var createMathPhantProperties;
|
|
4791
|
-
var init_math_phant_properties = __esmMin(() => {
|
|
4791
|
+
var init_math_phant_properties = __esmMin((() => {
|
|
4792
4792
|
init_xml_components();
|
|
4793
4793
|
createMathPhantProperties = (options) => {
|
|
4794
4794
|
const children = [];
|
|
@@ -4802,11 +4802,11 @@ var init_math_phant_properties = __esmMin(() => {
|
|
|
4802
4802
|
name: "m:phantPr"
|
|
4803
4803
|
});
|
|
4804
4804
|
};
|
|
4805
|
-
});
|
|
4805
|
+
}));
|
|
4806
4806
|
//#endregion
|
|
4807
4807
|
//#region src/file/paragraph/math/phant/math-phant.ts
|
|
4808
4808
|
var MathPhant;
|
|
4809
|
-
var init_math_phant = __esmMin(() => {
|
|
4809
|
+
var init_math_phant = __esmMin((() => {
|
|
4810
4810
|
init_xml_components();
|
|
4811
4811
|
init_n_ary();
|
|
4812
4812
|
init_math_phant_properties();
|
|
@@ -4817,11 +4817,11 @@ var init_math_phant = __esmMin(() => {
|
|
|
4817
4817
|
this.root.push(createMathBase({ children: options.children }));
|
|
4818
4818
|
}
|
|
4819
4819
|
};
|
|
4820
|
-
});
|
|
4820
|
+
}));
|
|
4821
4821
|
//#endregion
|
|
4822
4822
|
//#region src/file/paragraph/math/radical/math-degree.ts
|
|
4823
4823
|
var MathDegree;
|
|
4824
|
-
var init_math_degree = __esmMin(() => {
|
|
4824
|
+
var init_math_degree = __esmMin((() => {
|
|
4825
4825
|
init_xml_components();
|
|
4826
4826
|
MathDegree = class extends XmlComponent {
|
|
4827
4827
|
constructor(children) {
|
|
@@ -4829,11 +4829,11 @@ var init_math_degree = __esmMin(() => {
|
|
|
4829
4829
|
if (children) for (const child of children) this.root.push(child);
|
|
4830
4830
|
}
|
|
4831
4831
|
};
|
|
4832
|
-
});
|
|
4832
|
+
}));
|
|
4833
4833
|
//#endregion
|
|
4834
4834
|
//#region src/file/paragraph/math/radical/math-degree-hide.ts
|
|
4835
4835
|
var MathDegreeHide;
|
|
4836
|
-
var init_math_degree_hide = __esmMin(() => {
|
|
4836
|
+
var init_math_degree_hide = __esmMin((() => {
|
|
4837
4837
|
init_xml_components();
|
|
4838
4838
|
MathDegreeHide = class extends XmlComponent {
|
|
4839
4839
|
constructor() {
|
|
@@ -4841,11 +4841,11 @@ var init_math_degree_hide = __esmMin(() => {
|
|
|
4841
4841
|
this.root.push({ _attr: { "m:val": 1 } });
|
|
4842
4842
|
}
|
|
4843
4843
|
};
|
|
4844
|
-
});
|
|
4844
|
+
}));
|
|
4845
4845
|
//#endregion
|
|
4846
4846
|
//#region src/file/paragraph/math/radical/math-radical-properties.ts
|
|
4847
4847
|
var MathRadicalProperties;
|
|
4848
|
-
var init_math_radical_properties = __esmMin(() => {
|
|
4848
|
+
var init_math_radical_properties = __esmMin((() => {
|
|
4849
4849
|
init_xml_components();
|
|
4850
4850
|
init_math_degree_hide();
|
|
4851
4851
|
MathRadicalProperties = class extends XmlComponent {
|
|
@@ -4854,11 +4854,11 @@ var init_math_radical_properties = __esmMin(() => {
|
|
|
4854
4854
|
if (!hasDegree) this.root.push(new MathDegreeHide());
|
|
4855
4855
|
}
|
|
4856
4856
|
};
|
|
4857
|
-
});
|
|
4857
|
+
}));
|
|
4858
4858
|
//#endregion
|
|
4859
4859
|
//#region src/file/paragraph/math/radical/math-radical.ts
|
|
4860
4860
|
var MathRadical;
|
|
4861
|
-
var init_math_radical = __esmMin(() => {
|
|
4861
|
+
var init_math_radical = __esmMin((() => {
|
|
4862
4862
|
init_xml_components();
|
|
4863
4863
|
init_n_ary();
|
|
4864
4864
|
init_math_degree();
|
|
@@ -4871,18 +4871,18 @@ var init_math_radical = __esmMin(() => {
|
|
|
4871
4871
|
this.root.push(createMathBase({ children: options.children }));
|
|
4872
4872
|
}
|
|
4873
4873
|
};
|
|
4874
|
-
});
|
|
4874
|
+
}));
|
|
4875
4875
|
//#endregion
|
|
4876
4876
|
//#region src/file/paragraph/math/script/super-script/math-super-script-function-properties.ts
|
|
4877
4877
|
var createMathSuperScriptProperties;
|
|
4878
|
-
var init_math_super_script_function_properties = __esmMin(() => {
|
|
4878
|
+
var init_math_super_script_function_properties = __esmMin((() => {
|
|
4879
4879
|
init_xml_components();
|
|
4880
4880
|
createMathSuperScriptProperties = () => new BuilderElement({ name: "m:sSupPr" });
|
|
4881
|
-
});
|
|
4881
|
+
}));
|
|
4882
4882
|
//#endregion
|
|
4883
4883
|
//#region src/file/paragraph/math/script/super-script/math-super-script-function.ts
|
|
4884
4884
|
var MathSuperScript;
|
|
4885
|
-
var init_math_super_script_function = __esmMin(() => {
|
|
4885
|
+
var init_math_super_script_function = __esmMin((() => {
|
|
4886
4886
|
init_xml_components();
|
|
4887
4887
|
init_n_ary();
|
|
4888
4888
|
init_math_super_script_function_properties();
|
|
@@ -4894,24 +4894,24 @@ var init_math_super_script_function = __esmMin(() => {
|
|
|
4894
4894
|
this.root.push(createMathSuperScriptElement({ children: options.superScript }));
|
|
4895
4895
|
}
|
|
4896
4896
|
};
|
|
4897
|
-
});
|
|
4897
|
+
}));
|
|
4898
4898
|
//#endregion
|
|
4899
4899
|
//#region src/file/paragraph/math/script/super-script/index.ts
|
|
4900
|
-
var init_super_script = __esmMin(() => {
|
|
4900
|
+
var init_super_script = __esmMin((() => {
|
|
4901
4901
|
init_math_super_script_function();
|
|
4902
4902
|
init_math_super_script_function_properties();
|
|
4903
|
-
});
|
|
4903
|
+
}));
|
|
4904
4904
|
//#endregion
|
|
4905
4905
|
//#region src/file/paragraph/math/script/sub-script/math-sub-script-function-properties.ts
|
|
4906
4906
|
var createMathSubScriptProperties;
|
|
4907
|
-
var init_math_sub_script_function_properties = __esmMin(() => {
|
|
4907
|
+
var init_math_sub_script_function_properties = __esmMin((() => {
|
|
4908
4908
|
init_xml_components();
|
|
4909
4909
|
createMathSubScriptProperties = () => new BuilderElement({ name: "m:sSubPr" });
|
|
4910
|
-
});
|
|
4910
|
+
}));
|
|
4911
4911
|
//#endregion
|
|
4912
4912
|
//#region src/file/paragraph/math/script/sub-script/math-sub-script-function.ts
|
|
4913
4913
|
var MathSubScript;
|
|
4914
|
-
var init_math_sub_script_function = __esmMin(() => {
|
|
4914
|
+
var init_math_sub_script_function = __esmMin((() => {
|
|
4915
4915
|
init_xml_components();
|
|
4916
4916
|
init_n_ary();
|
|
4917
4917
|
init_math_sub_script_function_properties();
|
|
@@ -4923,17 +4923,17 @@ var init_math_sub_script_function = __esmMin(() => {
|
|
|
4923
4923
|
this.root.push(createMathSubScriptElement({ children: options.subScript }));
|
|
4924
4924
|
}
|
|
4925
4925
|
};
|
|
4926
|
-
});
|
|
4926
|
+
}));
|
|
4927
4927
|
//#endregion
|
|
4928
4928
|
//#region src/file/paragraph/math/script/sub-script/index.ts
|
|
4929
|
-
var init_sub_script = __esmMin(() => {
|
|
4929
|
+
var init_sub_script = __esmMin((() => {
|
|
4930
4930
|
init_math_sub_script_function();
|
|
4931
4931
|
init_math_sub_script_function_properties();
|
|
4932
|
-
});
|
|
4932
|
+
}));
|
|
4933
4933
|
//#endregion
|
|
4934
4934
|
//#region src/file/paragraph/math/script/sub-super-script/math-sub-super-script-function-properties.ts
|
|
4935
4935
|
var createMathSubSuperScriptProperties;
|
|
4936
|
-
var init_math_sub_super_script_function_properties = __esmMin(() => {
|
|
4936
|
+
var init_math_sub_super_script_function_properties = __esmMin((() => {
|
|
4937
4937
|
init_xml_components();
|
|
4938
4938
|
createMathSubSuperScriptProperties = (options) => {
|
|
4939
4939
|
const children = [];
|
|
@@ -4943,11 +4943,11 @@ var init_math_sub_super_script_function_properties = __esmMin(() => {
|
|
|
4943
4943
|
name: "m:sSubSupPr"
|
|
4944
4944
|
});
|
|
4945
4945
|
};
|
|
4946
|
-
});
|
|
4946
|
+
}));
|
|
4947
4947
|
//#endregion
|
|
4948
4948
|
//#region src/file/paragraph/math/script/sub-super-script/math-sub-super-script-function.ts
|
|
4949
4949
|
var MathSubSuperScript;
|
|
4950
|
-
var init_math_sub_super_script_function = __esmMin(() => {
|
|
4950
|
+
var init_math_sub_super_script_function = __esmMin((() => {
|
|
4951
4951
|
init_xml_components();
|
|
4952
4952
|
init_n_ary();
|
|
4953
4953
|
init_math_sub_super_script_function_properties();
|
|
@@ -4960,24 +4960,24 @@ var init_math_sub_super_script_function = __esmMin(() => {
|
|
|
4960
4960
|
this.root.push(createMathSuperScriptElement({ children: options.superScript }));
|
|
4961
4961
|
}
|
|
4962
4962
|
};
|
|
4963
|
-
});
|
|
4963
|
+
}));
|
|
4964
4964
|
//#endregion
|
|
4965
4965
|
//#region src/file/paragraph/math/script/sub-super-script/index.ts
|
|
4966
|
-
var init_sub_super_script = __esmMin(() => {
|
|
4966
|
+
var init_sub_super_script = __esmMin((() => {
|
|
4967
4967
|
init_math_sub_super_script_function();
|
|
4968
4968
|
init_math_sub_super_script_function_properties();
|
|
4969
|
-
});
|
|
4969
|
+
}));
|
|
4970
4970
|
//#endregion
|
|
4971
4971
|
//#region src/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function-properties.ts
|
|
4972
4972
|
var createMathPreSubSuperScriptProperties;
|
|
4973
|
-
var init_math_pre_sub_super_script_function_properties = __esmMin(() => {
|
|
4973
|
+
var init_math_pre_sub_super_script_function_properties = __esmMin((() => {
|
|
4974
4974
|
init_xml_components();
|
|
4975
4975
|
createMathPreSubSuperScriptProperties = () => new BuilderElement({ name: "m:sPrePr" });
|
|
4976
|
-
});
|
|
4976
|
+
}));
|
|
4977
4977
|
//#endregion
|
|
4978
4978
|
//#region src/file/paragraph/math/script/pre-sub-super-script/math-pre-sub-super-script-function.ts
|
|
4979
4979
|
var MathPreSubSuperScript;
|
|
4980
|
-
var init_math_pre_sub_super_script_function = __esmMin(() => {
|
|
4980
|
+
var init_math_pre_sub_super_script_function = __esmMin((() => {
|
|
4981
4981
|
init_xml_components();
|
|
4982
4982
|
init_n_ary();
|
|
4983
4983
|
init_math_pre_sub_super_script_function_properties();
|
|
@@ -4994,21 +4994,21 @@ var init_math_pre_sub_super_script_function = __esmMin(() => {
|
|
|
4994
4994
|
});
|
|
4995
4995
|
}
|
|
4996
4996
|
};
|
|
4997
|
-
});
|
|
4997
|
+
}));
|
|
4998
4998
|
//#endregion
|
|
4999
4999
|
//#region src/file/paragraph/math/script/pre-sub-super-script/index.ts
|
|
5000
|
-
var init_pre_sub_super_script = __esmMin(() => {
|
|
5000
|
+
var init_pre_sub_super_script = __esmMin((() => {
|
|
5001
5001
|
init_math_pre_sub_super_script_function();
|
|
5002
5002
|
init_math_pre_sub_super_script_function_properties();
|
|
5003
|
-
});
|
|
5003
|
+
}));
|
|
5004
5004
|
//#endregion
|
|
5005
5005
|
//#region src/file/paragraph/math/script/index.ts
|
|
5006
|
-
var init_script = __esmMin(() => {
|
|
5006
|
+
var init_script = __esmMin((() => {
|
|
5007
5007
|
init_super_script();
|
|
5008
5008
|
init_sub_script();
|
|
5009
5009
|
init_sub_super_script();
|
|
5010
5010
|
init_pre_sub_super_script();
|
|
5011
|
-
});
|
|
5011
|
+
}));
|
|
5012
5012
|
//#endregion
|
|
5013
5013
|
//#region src/file/paragraph/math/math-coerce.ts
|
|
5014
5014
|
/** Coerce an array of MathJson values to MathComponent instances. */
|
|
@@ -5172,7 +5172,7 @@ function coerceMathJson(value) {
|
|
|
5172
5172
|
properties: value.properties
|
|
5173
5173
|
});
|
|
5174
5174
|
}
|
|
5175
|
-
var init_math_coerce = __esmMin(() => {
|
|
5175
|
+
var init_math_coerce = __esmMin((() => {
|
|
5176
5176
|
init_xml_components();
|
|
5177
5177
|
init_math_accent();
|
|
5178
5178
|
init_math_bar();
|
|
@@ -5189,11 +5189,11 @@ var init_math_coerce = __esmMin(() => {
|
|
|
5189
5189
|
init_math_phant();
|
|
5190
5190
|
init_math_radical();
|
|
5191
5191
|
init_script();
|
|
5192
|
-
});
|
|
5192
|
+
}));
|
|
5193
5193
|
//#endregion
|
|
5194
5194
|
//#region src/file/paragraph/math/math.ts
|
|
5195
5195
|
var Math$1;
|
|
5196
|
-
var init_math$1 = __esmMin(() => {
|
|
5196
|
+
var init_math$1 = __esmMin((() => {
|
|
5197
5197
|
init_xml_components();
|
|
5198
5198
|
Math$1 = class extends XmlComponent {
|
|
5199
5199
|
constructor(options) {
|
|
@@ -5201,7 +5201,7 @@ var init_math$1 = __esmMin(() => {
|
|
|
5201
5201
|
for (const child of options.children) this.root.push(child);
|
|
5202
5202
|
}
|
|
5203
5203
|
};
|
|
5204
|
-
});
|
|
5204
|
+
}));
|
|
5205
5205
|
//#endregion
|
|
5206
5206
|
//#region src/file/paragraph/math/math-parse.ts
|
|
5207
5207
|
/**
|
|
@@ -5429,17 +5429,17 @@ function parseMathArg(parent, childName) {
|
|
|
5429
5429
|
if (!container) return [];
|
|
5430
5430
|
return parseMathChildren(container);
|
|
5431
5431
|
}
|
|
5432
|
-
var init_math_parse = __esmMin(() => {});
|
|
5432
|
+
var init_math_parse = __esmMin((() => {}));
|
|
5433
5433
|
//#endregion
|
|
5434
5434
|
//#region src/file/paragraph/math/math-component.ts
|
|
5435
5435
|
var WORKAROUND4;
|
|
5436
|
-
var init_math_component = __esmMin(() => {
|
|
5436
|
+
var init_math_component = __esmMin((() => {
|
|
5437
5437
|
WORKAROUND4 = "";
|
|
5438
|
-
});
|
|
5438
|
+
}));
|
|
5439
5439
|
//#endregion
|
|
5440
5440
|
//#region src/file/paragraph/math/math-para.ts
|
|
5441
5441
|
var createMathParagraphProperties, MathParagraph;
|
|
5442
|
-
var init_math_para = __esmMin(() => {
|
|
5442
|
+
var init_math_para = __esmMin((() => {
|
|
5443
5443
|
init_xml_components();
|
|
5444
5444
|
init_math$1();
|
|
5445
5445
|
createMathParagraphProperties = (justification) => new BuilderElement({
|
|
@@ -5459,11 +5459,11 @@ var init_math_para = __esmMin(() => {
|
|
|
5459
5459
|
for (const child of options.children) this.root.push(new Math$1(child));
|
|
5460
5460
|
}
|
|
5461
5461
|
};
|
|
5462
|
-
});
|
|
5462
|
+
}));
|
|
5463
5463
|
//#endregion
|
|
5464
5464
|
//#region src/file/paragraph/math/math-pr.ts
|
|
5465
5465
|
var createMathProperties;
|
|
5466
|
-
var init_math_pr = __esmMin(() => {
|
|
5466
|
+
var init_math_pr = __esmMin((() => {
|
|
5467
5467
|
init_xml_components();
|
|
5468
5468
|
createMathProperties = (options) => {
|
|
5469
5469
|
const children = [];
|
|
@@ -5566,29 +5566,29 @@ var init_math_pr = __esmMin(() => {
|
|
|
5566
5566
|
name: "m:mathPr"
|
|
5567
5567
|
});
|
|
5568
5568
|
};
|
|
5569
|
-
});
|
|
5569
|
+
}));
|
|
5570
5570
|
//#endregion
|
|
5571
5571
|
//#region src/file/paragraph/math/matrix/index.ts
|
|
5572
|
-
var init_matrix = __esmMin(() => {
|
|
5572
|
+
var init_matrix = __esmMin((() => {
|
|
5573
5573
|
init_math_matrix();
|
|
5574
5574
|
init_math_matrix_properties();
|
|
5575
|
-
});
|
|
5575
|
+
}));
|
|
5576
5576
|
//#endregion
|
|
5577
5577
|
//#region src/file/paragraph/math/phant/index.ts
|
|
5578
|
-
var init_phant = __esmMin(() => {
|
|
5578
|
+
var init_phant = __esmMin((() => {
|
|
5579
5579
|
init_math_phant();
|
|
5580
5580
|
init_math_phant_properties();
|
|
5581
|
-
});
|
|
5581
|
+
}));
|
|
5582
5582
|
//#endregion
|
|
5583
5583
|
//#region src/file/paragraph/math/radical/index.ts
|
|
5584
|
-
var init_radical = __esmMin(() => {
|
|
5584
|
+
var init_radical = __esmMin((() => {
|
|
5585
5585
|
init_math_degree();
|
|
5586
5586
|
init_math_radical();
|
|
5587
5587
|
init_math_radical_properties();
|
|
5588
|
-
});
|
|
5588
|
+
}));
|
|
5589
5589
|
//#endregion
|
|
5590
5590
|
//#region src/file/paragraph/math/index.ts
|
|
5591
|
-
var init_math = __esmMin(() => {
|
|
5591
|
+
var init_math = __esmMin((() => {
|
|
5592
5592
|
init_accent();
|
|
5593
5593
|
init_bar();
|
|
5594
5594
|
init_border_box();
|
|
@@ -5612,11 +5612,11 @@ var init_math = __esmMin(() => {
|
|
|
5612
5612
|
init_phant();
|
|
5613
5613
|
init_radical();
|
|
5614
5614
|
init_script();
|
|
5615
|
-
});
|
|
5615
|
+
}));
|
|
5616
5616
|
//#endregion
|
|
5617
5617
|
//#region src/file/endnotes/endnote/run/reference-run.ts
|
|
5618
5618
|
var EndnoteIdReference, EndnoteReferenceRun;
|
|
5619
|
-
var init_reference_run$1 = __esmMin(() => {
|
|
5619
|
+
var init_reference_run$1 = __esmMin((() => {
|
|
5620
5620
|
init_run();
|
|
5621
5621
|
init_xml_components();
|
|
5622
5622
|
EndnoteIdReference = class extends XmlComponent {
|
|
@@ -5631,11 +5631,11 @@ var init_reference_run$1 = __esmMin(() => {
|
|
|
5631
5631
|
this.extraChildren.push(new EndnoteIdReference(id));
|
|
5632
5632
|
}
|
|
5633
5633
|
};
|
|
5634
|
-
});
|
|
5634
|
+
}));
|
|
5635
5635
|
//#endregion
|
|
5636
5636
|
//#region src/file/footnotes/footnote/run/reference-run.ts
|
|
5637
5637
|
var FootnoteReference, FootnoteReferenceRun;
|
|
5638
|
-
var init_reference_run = __esmMin(() => {
|
|
5638
|
+
var init_reference_run = __esmMin((() => {
|
|
5639
5639
|
init_run();
|
|
5640
5640
|
init_xml_components();
|
|
5641
5641
|
FootnoteReference = class extends XmlComponent {
|
|
@@ -5655,11 +5655,11 @@ var init_reference_run = __esmMin(() => {
|
|
|
5655
5655
|
this.extraChildren.push(new FootnoteReference(id));
|
|
5656
5656
|
}
|
|
5657
5657
|
};
|
|
5658
|
-
});
|
|
5658
|
+
}));
|
|
5659
5659
|
//#endregion
|
|
5660
5660
|
//#region src/file/paragraph/formatting/spacing.ts
|
|
5661
5661
|
var LineRuleType, createSpacing, buildSpacingObj;
|
|
5662
|
-
var init_spacing = __esmMin(() => {
|
|
5662
|
+
var init_spacing = __esmMin((() => {
|
|
5663
5663
|
init_xml_components();
|
|
5664
5664
|
init_values();
|
|
5665
5665
|
LineRuleType = {
|
|
@@ -5719,11 +5719,11 @@ var init_spacing = __esmMin(() => {
|
|
|
5719
5719
|
"w:line": line,
|
|
5720
5720
|
"w:lineRule": lineRule
|
|
5721
5721
|
});
|
|
5722
|
-
});
|
|
5722
|
+
}));
|
|
5723
5723
|
//#endregion
|
|
5724
5724
|
//#region src/file/paragraph/formatting/style.ts
|
|
5725
5725
|
var HeadingLevel, createParagraphStyle;
|
|
5726
|
-
var init_style = __esmMin(() => {
|
|
5726
|
+
var init_style = __esmMin((() => {
|
|
5727
5727
|
init_xml_components();
|
|
5728
5728
|
HeadingLevel = {
|
|
5729
5729
|
/** Heading 1 style */
|
|
@@ -5748,11 +5748,11 @@ var init_style = __esmMin(() => {
|
|
|
5748
5748
|
} },
|
|
5749
5749
|
name: "w:pStyle"
|
|
5750
5750
|
});
|
|
5751
|
-
});
|
|
5751
|
+
}));
|
|
5752
5752
|
//#endregion
|
|
5753
5753
|
//#region src/file/paragraph/formatting/tab-stop.ts
|
|
5754
5754
|
var TabStopType, LeaderType, TabStopPosition, createTabStopItem, createTabStop, buildTabStopObj;
|
|
5755
|
-
var init_tab_stop = __esmMin(() => {
|
|
5755
|
+
var init_tab_stop = __esmMin((() => {
|
|
5756
5756
|
init_xml_components();
|
|
5757
5757
|
TabStopType = {
|
|
5758
5758
|
/** Left-aligned tab stop */
|
|
@@ -5817,7 +5817,7 @@ MAX: 9026 };
|
|
|
5817
5817
|
"w:pos": position,
|
|
5818
5818
|
"w:leader": leader
|
|
5819
5819
|
})) });
|
|
5820
|
-
});
|
|
5820
|
+
}));
|
|
5821
5821
|
//#endregion
|
|
5822
5822
|
//#region src/file/paragraph/formatting/unordered-list.ts
|
|
5823
5823
|
/**
|
|
@@ -5868,7 +5868,7 @@ function buildNumberProperties(numberId, indentLevel) {
|
|
|
5868
5868
|
return { "w:numPr": [{ "w:ilvl": { _attr: { "w:val": Math.min(indentLevel, 9) } } }, { "w:numId": { _attr: { "w:val": typeof numberId === "string" ? `{${numberId}}` : numberId } } }] };
|
|
5869
5869
|
}
|
|
5870
5870
|
var NumberProperties, IndentLevel, NumberId;
|
|
5871
|
-
var init_unordered_list = __esmMin(() => {
|
|
5871
|
+
var init_unordered_list = __esmMin((() => {
|
|
5872
5872
|
init_xml_components();
|
|
5873
5873
|
NumberProperties = class extends XmlComponent {
|
|
5874
5874
|
constructor(numberId, indentLevel) {
|
|
@@ -5889,11 +5889,11 @@ var init_unordered_list = __esmMin(() => {
|
|
|
5889
5889
|
this.root.push({ _attr: { "w:val": typeof id === "string" ? `{${id}}` : id } });
|
|
5890
5890
|
}
|
|
5891
5891
|
};
|
|
5892
|
-
});
|
|
5892
|
+
}));
|
|
5893
5893
|
//#endregion
|
|
5894
5894
|
//#region src/file/paragraph/formatting/word-wrap.ts
|
|
5895
5895
|
var createWordWrap;
|
|
5896
|
-
var init_word_wrap = __esmMin(() => {
|
|
5896
|
+
var init_word_wrap = __esmMin((() => {
|
|
5897
5897
|
init_xml_components();
|
|
5898
5898
|
createWordWrap = () => new BuilderElement({
|
|
5899
5899
|
attributes: { val: {
|
|
@@ -5902,11 +5902,11 @@ var init_word_wrap = __esmMin(() => {
|
|
|
5902
5902
|
} },
|
|
5903
5903
|
name: "w:wordWrap"
|
|
5904
5904
|
});
|
|
5905
|
-
});
|
|
5905
|
+
}));
|
|
5906
5906
|
//#endregion
|
|
5907
5907
|
//#region src/file/paragraph/frame/frame-properties.ts
|
|
5908
5908
|
var DropCapType, FrameAnchorType, FrameWrap, createFrameProperties, buildFramePropertiesObj;
|
|
5909
|
-
var init_frame_properties = __esmMin(() => {
|
|
5909
|
+
var init_frame_properties = __esmMin((() => {
|
|
5910
5910
|
init_xml_components();
|
|
5911
5911
|
DropCapType = {
|
|
5912
5912
|
/** No drop cap effect */
|
|
@@ -6020,7 +6020,7 @@ var init_frame_properties = __esmMin(() => {
|
|
|
6020
6020
|
"w:x": options.position ? options.position.x : void 0,
|
|
6021
6021
|
"w:y": options.position ? options.position.y : void 0
|
|
6022
6022
|
});
|
|
6023
|
-
});
|
|
6023
|
+
}));
|
|
6024
6024
|
//#endregion
|
|
6025
6025
|
//#region src/file/paragraph/properties.ts
|
|
6026
6026
|
/**
|
|
@@ -6141,7 +6141,7 @@ function buildParagraphProperties(options) {
|
|
|
6141
6141
|
};
|
|
6142
6142
|
}
|
|
6143
6143
|
var TextAlignmentType, TextboxTightWrapType, ParagraphProperties, ParagraphPropertiesChange;
|
|
6144
|
-
var init_properties = __esmMin(() => {
|
|
6144
|
+
var init_properties = __esmMin((() => {
|
|
6145
6145
|
init_xml_components();
|
|
6146
6146
|
init_font_wrapper();
|
|
6147
6147
|
init_shading();
|
|
@@ -6319,11 +6319,11 @@ var init_properties = __esmMin(() => {
|
|
|
6319
6319
|
}));
|
|
6320
6320
|
}
|
|
6321
6321
|
};
|
|
6322
|
-
});
|
|
6322
|
+
}));
|
|
6323
6323
|
//#endregion
|
|
6324
6324
|
//#region src/file/paragraph/paragraph.ts
|
|
6325
6325
|
var Paragraph;
|
|
6326
|
-
var init_paragraph$1 = __esmMin(() => {
|
|
6326
|
+
var init_paragraph$1 = __esmMin((() => {
|
|
6327
6327
|
init_xml_components();
|
|
6328
6328
|
init_convenience_functions();
|
|
6329
6329
|
init_font_wrapper();
|
|
@@ -6559,11 +6559,11 @@ var init_paragraph$1 = __esmMin(() => {
|
|
|
6559
6559
|
return new TextRun(rawChild);
|
|
6560
6560
|
}
|
|
6561
6561
|
};
|
|
6562
|
-
});
|
|
6562
|
+
}));
|
|
6563
6563
|
//#endregion
|
|
6564
6564
|
//#region src/file/paragraph/run/comment-run.ts
|
|
6565
6565
|
var CommentRangeStart, CommentRangeEnd, CommentReference, Comment, Comments;
|
|
6566
|
-
var init_comment_run = __esmMin(() => {
|
|
6566
|
+
var init_comment_run = __esmMin((() => {
|
|
6567
6567
|
init_paragraph$1();
|
|
6568
6568
|
init_relationships();
|
|
6569
6569
|
init_xml_components();
|
|
@@ -6640,11 +6640,11 @@ var init_comment_run = __esmMin(() => {
|
|
|
6640
6640
|
this.relationships = new Relationships();
|
|
6641
6641
|
}
|
|
6642
6642
|
};
|
|
6643
|
-
});
|
|
6643
|
+
}));
|
|
6644
6644
|
//#endregion
|
|
6645
6645
|
//#region src/file/paragraph/run/empty-children.ts
|
|
6646
6646
|
var NoBreakHyphen, SoftHyphen, DayShort, MonthShort, YearShort, DayLong, MonthLong, YearLong, AnnotationReference, FootnoteReferenceElement, EndnoteReference, Separator, ContinuationSeparator, PageNumberElement, CarriageReturn, Tab, LastRenderedPageBreak;
|
|
6647
|
-
var init_empty_children = __esmMin(() => {
|
|
6647
|
+
var init_empty_children = __esmMin((() => {
|
|
6648
6648
|
init_xml_components();
|
|
6649
6649
|
NoBreakHyphen = class extends EmptyElement {
|
|
6650
6650
|
constructor() {
|
|
@@ -6731,11 +6731,11 @@ var init_empty_children = __esmMin(() => {
|
|
|
6731
6731
|
super("w:lastRenderedPageBreak");
|
|
6732
6732
|
}
|
|
6733
6733
|
};
|
|
6734
|
-
});
|
|
6734
|
+
}));
|
|
6735
6735
|
//#endregion
|
|
6736
6736
|
//#region src/file/paragraph/run/positional-tab.ts
|
|
6737
6737
|
var PositionalTabAlignment, PositionalTabRelativeTo, PositionalTabLeader, PositionalTab;
|
|
6738
|
-
var init_positional_tab = __esmMin(() => {
|
|
6738
|
+
var init_positional_tab = __esmMin((() => {
|
|
6739
6739
|
init_xml_components();
|
|
6740
6740
|
PositionalTabAlignment = {
|
|
6741
6741
|
/** Left-aligned tab */
|
|
@@ -6773,11 +6773,11 @@ var init_positional_tab = __esmMin(() => {
|
|
|
6773
6773
|
} });
|
|
6774
6774
|
}
|
|
6775
6775
|
};
|
|
6776
|
-
});
|
|
6776
|
+
}));
|
|
6777
6777
|
//#endregion
|
|
6778
6778
|
//#region src/file/paragraph/run/ruby.ts
|
|
6779
6779
|
var RubyAlign, createRubyContent, createRuby;
|
|
6780
|
-
var init_ruby = __esmMin(() => {
|
|
6780
|
+
var init_ruby = __esmMin((() => {
|
|
6781
6781
|
init_xml_components();
|
|
6782
6782
|
init_text();
|
|
6783
6783
|
RubyAlign = {
|
|
@@ -6855,10 +6855,10 @@ var init_ruby = __esmMin(() => {
|
|
|
6855
6855
|
name: "w:ruby"
|
|
6856
6856
|
});
|
|
6857
6857
|
};
|
|
6858
|
-
});
|
|
6858
|
+
}));
|
|
6859
6859
|
//#endregion
|
|
6860
6860
|
//#region src/file/paragraph/run/index.ts
|
|
6861
|
-
var init_run = __esmMin(() => {
|
|
6861
|
+
var init_run = __esmMin((() => {
|
|
6862
6862
|
init_run$1();
|
|
6863
6863
|
init_properties$1();
|
|
6864
6864
|
init_text_run();
|
|
@@ -6879,11 +6879,11 @@ var init_run = __esmMin(() => {
|
|
|
6879
6879
|
init_ruby();
|
|
6880
6880
|
init_form_field();
|
|
6881
6881
|
init_break$1();
|
|
6882
|
-
});
|
|
6882
|
+
}));
|
|
6883
6883
|
//#endregion
|
|
6884
6884
|
//#region src/file/paragraph/formatting/break.ts
|
|
6885
6885
|
var BreakType, Break, PageBreak, ColumnBreak, PageBreakBefore;
|
|
6886
|
-
var init_break = __esmMin(() => {
|
|
6886
|
+
var init_break = __esmMin((() => {
|
|
6887
6887
|
init_xml_components();
|
|
6888
6888
|
init_run();
|
|
6889
6889
|
BreakType = {
|
|
@@ -6915,10 +6915,10 @@ var init_break = __esmMin(() => {
|
|
|
6915
6915
|
super("w:pageBreakBefore");
|
|
6916
6916
|
}
|
|
6917
6917
|
};
|
|
6918
|
-
});
|
|
6918
|
+
}));
|
|
6919
6919
|
//#endregion
|
|
6920
6920
|
//#region src/file/paragraph/formatting/index.ts
|
|
6921
|
-
var init_formatting = __esmMin(() => {
|
|
6921
|
+
var init_formatting = __esmMin((() => {
|
|
6922
6922
|
init_alignment$1();
|
|
6923
6923
|
init_border();
|
|
6924
6924
|
init_cnf_style();
|
|
@@ -6928,15 +6928,15 @@ var init_formatting = __esmMin(() => {
|
|
|
6928
6928
|
init_style();
|
|
6929
6929
|
init_tab_stop();
|
|
6930
6930
|
init_unordered_list();
|
|
6931
|
-
});
|
|
6931
|
+
}));
|
|
6932
6932
|
//#endregion
|
|
6933
6933
|
//#region src/file/paragraph/frame/index.ts
|
|
6934
|
-
var init_frame = __esmMin(() => {
|
|
6934
|
+
var init_frame = __esmMin((() => {
|
|
6935
6935
|
init_frame_properties();
|
|
6936
|
-
});
|
|
6936
|
+
}));
|
|
6937
6937
|
//#endregion
|
|
6938
6938
|
//#region src/file/paragraph/index.ts
|
|
6939
|
-
var init_paragraph = __esmMin(() => {
|
|
6939
|
+
var init_paragraph = __esmMin((() => {
|
|
6940
6940
|
init_formatting();
|
|
6941
6941
|
init_paragraph$1();
|
|
6942
6942
|
init_properties();
|
|
@@ -6944,7 +6944,7 @@ var init_paragraph = __esmMin(() => {
|
|
|
6944
6944
|
init_links();
|
|
6945
6945
|
init_math();
|
|
6946
6946
|
init_frame();
|
|
6947
|
-
});
|
|
6947
|
+
}));
|
|
6948
6948
|
//#endregion
|
|
6949
6949
|
//#region src/file/alt-chunk/alt-chunk.ts
|
|
6950
6950
|
function wrapHtmlDocument(fragment) {
|
|
@@ -6952,7 +6952,7 @@ function wrapHtmlDocument(fragment) {
|
|
|
6952
6952
|
return `<!DOCTYPE html>\n<html><head><meta charset="utf-8"></head>\n<body>${fragment}</body></html>`;
|
|
6953
6953
|
}
|
|
6954
6954
|
var ALTCHUNK_RELATIONSHIP_TYPE, AltChunk;
|
|
6955
|
-
var init_alt_chunk = __esmMin(() => {
|
|
6955
|
+
var init_alt_chunk = __esmMin((() => {
|
|
6956
6956
|
init_xml_components();
|
|
6957
6957
|
init_convenience_functions();
|
|
6958
6958
|
ALTCHUNK_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk";
|
|
@@ -6987,11 +6987,11 @@ var init_alt_chunk = __esmMin(() => {
|
|
|
6987
6987
|
return super.prepForXml(context);
|
|
6988
6988
|
}
|
|
6989
6989
|
};
|
|
6990
|
-
});
|
|
6990
|
+
}));
|
|
6991
6991
|
//#endregion
|
|
6992
6992
|
//#region src/file/table-of-contents/field-instruction.ts
|
|
6993
6993
|
var FieldInstruction;
|
|
6994
|
-
var init_field_instruction = __esmMin(() => {
|
|
6994
|
+
var init_field_instruction = __esmMin((() => {
|
|
6995
6995
|
init_shared();
|
|
6996
6996
|
init_xml_components();
|
|
6997
6997
|
FieldInstruction = class extends XmlComponent {
|
|
@@ -7023,22 +7023,22 @@ var init_field_instruction = __esmMin(() => {
|
|
|
7023
7023
|
this.root.push(instruction);
|
|
7024
7024
|
}
|
|
7025
7025
|
};
|
|
7026
|
-
});
|
|
7026
|
+
}));
|
|
7027
7027
|
//#endregion
|
|
7028
7028
|
//#region src/file/table-of-contents/sdt-content.ts
|
|
7029
7029
|
var StructuredDocumentTagContent;
|
|
7030
|
-
var init_sdt_content = __esmMin(() => {
|
|
7030
|
+
var init_sdt_content = __esmMin((() => {
|
|
7031
7031
|
init_xml_components();
|
|
7032
7032
|
StructuredDocumentTagContent = class extends XmlComponent {
|
|
7033
7033
|
constructor() {
|
|
7034
7034
|
super("w:sdtContent");
|
|
7035
7035
|
}
|
|
7036
7036
|
};
|
|
7037
|
-
});
|
|
7037
|
+
}));
|
|
7038
7038
|
//#endregion
|
|
7039
7039
|
//#region src/file/table-of-contents/sdt-properties.ts
|
|
7040
7040
|
var SdtLock, SdtDateMappingType, createListItem, createListType, createDate, createDataBinding, createDocPart, StructuredDocumentTagProperties;
|
|
7041
|
-
var init_sdt_properties = __esmMin(() => {
|
|
7041
|
+
var init_sdt_properties = __esmMin((() => {
|
|
7042
7042
|
init_xml_components();
|
|
7043
7043
|
SdtLock = {
|
|
7044
7044
|
/** Lock the SDT itself (cannot delete the control) */
|
|
@@ -7215,11 +7215,11 @@ var init_sdt_properties = __esmMin(() => {
|
|
|
7215
7215
|
else if (options.bibliography) this.root.push(new BuilderElement({ name: "w:bibliography" }));
|
|
7216
7216
|
}
|
|
7217
7217
|
};
|
|
7218
|
-
});
|
|
7218
|
+
}));
|
|
7219
7219
|
//#endregion
|
|
7220
7220
|
//#region src/file/table-of-contents/table-of-contents.ts
|
|
7221
7221
|
var TableOfContents;
|
|
7222
|
-
var init_table_of_contents$1 = __esmMin(() => {
|
|
7222
|
+
var init_table_of_contents$1 = __esmMin((() => {
|
|
7223
7223
|
init_paragraph();
|
|
7224
7224
|
init_run();
|
|
7225
7225
|
init_field();
|
|
@@ -7295,11 +7295,11 @@ var init_table_of_contents$1 = __esmMin(() => {
|
|
|
7295
7295
|
return run;
|
|
7296
7296
|
}
|
|
7297
7297
|
};
|
|
7298
|
-
});
|
|
7298
|
+
}));
|
|
7299
7299
|
//#endregion
|
|
7300
7300
|
//#region src/file/table-of-contents/table-of-contents-properties.ts
|
|
7301
7301
|
var StyleLevel;
|
|
7302
|
-
var init_table_of_contents_properties = __esmMin(() => {
|
|
7302
|
+
var init_table_of_contents_properties = __esmMin((() => {
|
|
7303
7303
|
StyleLevel = class {
|
|
7304
7304
|
/** The name of the paragraph style. */
|
|
7305
7305
|
styleName;
|
|
@@ -7310,19 +7310,19 @@ var init_table_of_contents_properties = __esmMin(() => {
|
|
|
7310
7310
|
this.level = level;
|
|
7311
7311
|
}
|
|
7312
7312
|
};
|
|
7313
|
-
});
|
|
7313
|
+
}));
|
|
7314
7314
|
//#endregion
|
|
7315
7315
|
//#region src/file/table-of-contents/index.ts
|
|
7316
|
-
var init_table_of_contents = __esmMin(() => {
|
|
7316
|
+
var init_table_of_contents = __esmMin((() => {
|
|
7317
7317
|
init_table_of_contents$1();
|
|
7318
7318
|
init_table_of_contents_properties();
|
|
7319
7319
|
init_sdt_properties();
|
|
7320
7320
|
init_sdt_content();
|
|
7321
|
-
});
|
|
7321
|
+
}));
|
|
7322
7322
|
//#endregion
|
|
7323
7323
|
//#region src/file/sdt/sdt.ts
|
|
7324
7324
|
var StructuredDocumentTagRun, StructuredDocumentTagBlock;
|
|
7325
|
-
var init_sdt$1 = __esmMin(() => {
|
|
7325
|
+
var init_sdt$1 = __esmMin((() => {
|
|
7326
7326
|
init_xml_components();
|
|
7327
7327
|
init_table_of_contents();
|
|
7328
7328
|
StructuredDocumentTagRun = class extends XmlComponent {
|
|
@@ -7348,11 +7348,11 @@ var init_sdt$1 = __esmMin(() => {
|
|
|
7348
7348
|
}
|
|
7349
7349
|
}
|
|
7350
7350
|
};
|
|
7351
|
-
});
|
|
7351
|
+
}));
|
|
7352
7352
|
//#endregion
|
|
7353
7353
|
//#region src/file/sub-doc/sub-doc.ts
|
|
7354
7354
|
var SUBDOC_RELATIONSHIP_TYPE, SubDoc;
|
|
7355
|
-
var init_sub_doc = __esmMin(() => {
|
|
7355
|
+
var init_sub_doc = __esmMin((() => {
|
|
7356
7356
|
init_xml_components();
|
|
7357
7357
|
init_convenience_functions();
|
|
7358
7358
|
SUBDOC_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument";
|
|
@@ -7377,11 +7377,11 @@ var init_sub_doc = __esmMin(() => {
|
|
|
7377
7377
|
return super.prepForXml(context);
|
|
7378
7378
|
}
|
|
7379
7379
|
};
|
|
7380
|
-
});
|
|
7380
|
+
}));
|
|
7381
7381
|
//#endregion
|
|
7382
7382
|
//#region src/file/sdt/sdt-cell.ts
|
|
7383
7383
|
var StructuredDocumentTagCell;
|
|
7384
|
-
var init_sdt_cell = __esmMin(() => {
|
|
7384
|
+
var init_sdt_cell = __esmMin((() => {
|
|
7385
7385
|
init_xml_components();
|
|
7386
7386
|
init_table_of_contents();
|
|
7387
7387
|
StructuredDocumentTagCell = class extends XmlComponent {
|
|
@@ -7397,11 +7397,11 @@ var init_sdt_cell = __esmMin(() => {
|
|
|
7397
7397
|
}
|
|
7398
7398
|
}
|
|
7399
7399
|
};
|
|
7400
|
-
});
|
|
7400
|
+
}));
|
|
7401
7401
|
//#endregion
|
|
7402
7402
|
//#region src/file/track-revision/track-revision-components/moved-text-run.ts
|
|
7403
7403
|
var MovedFromTextRun, MovedToTextRun, MovedFromRunWrapper, MovedToRunWrapper;
|
|
7404
|
-
var init_moved_text_run = __esmMin(() => {
|
|
7404
|
+
var init_moved_text_run = __esmMin((() => {
|
|
7405
7405
|
init_xml_components();
|
|
7406
7406
|
init_break$1();
|
|
7407
7407
|
init_field();
|
|
@@ -7476,7 +7476,7 @@ var init_moved_text_run = __esmMin(() => {
|
|
|
7476
7476
|
if (options.break) for (let i = 0; i < options.break; i++) this.root.splice(1, 0, createBreak());
|
|
7477
7477
|
}
|
|
7478
7478
|
};
|
|
7479
|
-
});
|
|
7479
|
+
}));
|
|
7480
7480
|
//#endregion
|
|
7481
7481
|
//#region src/file/track-revision/track-revision-components/inserted-table-row.ts
|
|
7482
7482
|
function buildInsertedTableRowObj(options) {
|
|
@@ -7487,7 +7487,7 @@ function buildInsertedTableRowObj(options) {
|
|
|
7487
7487
|
} } };
|
|
7488
7488
|
}
|
|
7489
7489
|
var InsertedTableRow;
|
|
7490
|
-
var init_inserted_table_row = __esmMin(() => {
|
|
7490
|
+
var init_inserted_table_row = __esmMin((() => {
|
|
7491
7491
|
init_xml_components();
|
|
7492
7492
|
InsertedTableRow = class extends XmlComponent {
|
|
7493
7493
|
constructor(options) {
|
|
@@ -7499,7 +7499,7 @@ var init_inserted_table_row = __esmMin(() => {
|
|
|
7499
7499
|
} });
|
|
7500
7500
|
}
|
|
7501
7501
|
};
|
|
7502
|
-
});
|
|
7502
|
+
}));
|
|
7503
7503
|
//#endregion
|
|
7504
7504
|
//#region src/file/track-revision/track-revision-components/deleted-table-row.ts
|
|
7505
7505
|
function buildDeletedTableRowObj(options) {
|
|
@@ -7510,7 +7510,7 @@ function buildDeletedTableRowObj(options) {
|
|
|
7510
7510
|
} } };
|
|
7511
7511
|
}
|
|
7512
7512
|
var DeletedTableRow;
|
|
7513
|
-
var init_deleted_table_row = __esmMin(() => {
|
|
7513
|
+
var init_deleted_table_row = __esmMin((() => {
|
|
7514
7514
|
init_xml_components();
|
|
7515
7515
|
DeletedTableRow = class extends XmlComponent {
|
|
7516
7516
|
constructor(options) {
|
|
@@ -7522,7 +7522,7 @@ var init_deleted_table_row = __esmMin(() => {
|
|
|
7522
7522
|
} });
|
|
7523
7523
|
}
|
|
7524
7524
|
};
|
|
7525
|
-
});
|
|
7525
|
+
}));
|
|
7526
7526
|
//#endregion
|
|
7527
7527
|
//#region src/file/track-revision/track-revision-components/inserted-table-cell.ts
|
|
7528
7528
|
function buildInsertedTableCellObj(options) {
|
|
@@ -7533,7 +7533,7 @@ function buildInsertedTableCellObj(options) {
|
|
|
7533
7533
|
} } };
|
|
7534
7534
|
}
|
|
7535
7535
|
var InsertedTableCell;
|
|
7536
|
-
var init_inserted_table_cell = __esmMin(() => {
|
|
7536
|
+
var init_inserted_table_cell = __esmMin((() => {
|
|
7537
7537
|
init_xml_components();
|
|
7538
7538
|
InsertedTableCell = class extends XmlComponent {
|
|
7539
7539
|
constructor(options) {
|
|
@@ -7545,7 +7545,7 @@ var init_inserted_table_cell = __esmMin(() => {
|
|
|
7545
7545
|
} });
|
|
7546
7546
|
}
|
|
7547
7547
|
};
|
|
7548
|
-
});
|
|
7548
|
+
}));
|
|
7549
7549
|
//#endregion
|
|
7550
7550
|
//#region src/file/track-revision/track-revision-components/deleted-table-cell.ts
|
|
7551
7551
|
function buildDeletedTableCellObj(options) {
|
|
@@ -7556,7 +7556,7 @@ function buildDeletedTableCellObj(options) {
|
|
|
7556
7556
|
} } };
|
|
7557
7557
|
}
|
|
7558
7558
|
var DeletedTableCell;
|
|
7559
|
-
var init_deleted_table_cell = __esmMin(() => {
|
|
7559
|
+
var init_deleted_table_cell = __esmMin((() => {
|
|
7560
7560
|
init_xml_components();
|
|
7561
7561
|
DeletedTableCell = class extends XmlComponent {
|
|
7562
7562
|
constructor(options) {
|
|
@@ -7568,7 +7568,7 @@ var init_deleted_table_cell = __esmMin(() => {
|
|
|
7568
7568
|
} });
|
|
7569
7569
|
}
|
|
7570
7570
|
};
|
|
7571
|
-
});
|
|
7571
|
+
}));
|
|
7572
7572
|
//#endregion
|
|
7573
7573
|
//#region src/file/track-revision/track-revision-components/cell-merge.ts
|
|
7574
7574
|
function buildCellMergeObj(options) {
|
|
@@ -7582,7 +7582,7 @@ function buildCellMergeObj(options) {
|
|
|
7582
7582
|
return { "w:cellMerge": { _attr: attrs } };
|
|
7583
7583
|
}
|
|
7584
7584
|
var VerticalMergeRevisionType, CellMerge;
|
|
7585
|
-
var init_cell_merge = __esmMin(() => {
|
|
7585
|
+
var init_cell_merge = __esmMin((() => {
|
|
7586
7586
|
init_xml_components();
|
|
7587
7587
|
VerticalMergeRevisionType = {
|
|
7588
7588
|
/**
|
|
@@ -7607,10 +7607,10 @@ var init_cell_merge = __esmMin(() => {
|
|
|
7607
7607
|
this.root.push({ _attr: attrs });
|
|
7608
7608
|
}
|
|
7609
7609
|
};
|
|
7610
|
-
});
|
|
7610
|
+
}));
|
|
7611
7611
|
//#endregion
|
|
7612
7612
|
//#region src/file/track-revision/index.ts
|
|
7613
|
-
var init_track_revision = __esmMin(() => {
|
|
7613
|
+
var init_track_revision = __esmMin((() => {
|
|
7614
7614
|
init_inserted_text_run();
|
|
7615
7615
|
init_deleted_text_run();
|
|
7616
7616
|
init_moved_text_run();
|
|
@@ -7619,11 +7619,11 @@ var init_track_revision = __esmMin(() => {
|
|
|
7619
7619
|
init_inserted_table_cell();
|
|
7620
7620
|
init_deleted_table_cell();
|
|
7621
7621
|
init_cell_merge();
|
|
7622
|
-
});
|
|
7622
|
+
}));
|
|
7623
7623
|
//#endregion
|
|
7624
7624
|
//#region src/file/vertical-align/vertical-align.ts
|
|
7625
7625
|
var VerticalAlignTable, VerticalAlignSection, createVerticalAlign;
|
|
7626
|
-
var init_vertical_align$1 = __esmMin(() => {
|
|
7626
|
+
var init_vertical_align$1 = __esmMin((() => {
|
|
7627
7627
|
init_xml_components();
|
|
7628
7628
|
VerticalAlignTable = {
|
|
7629
7629
|
BOTTOM: "bottom",
|
|
@@ -7641,12 +7641,12 @@ var init_vertical_align$1 = __esmMin(() => {
|
|
|
7641
7641
|
} },
|
|
7642
7642
|
name: "w:vAlign"
|
|
7643
7643
|
});
|
|
7644
|
-
});
|
|
7644
|
+
}));
|
|
7645
7645
|
//#endregion
|
|
7646
7646
|
//#region src/file/vertical-align/index.ts
|
|
7647
|
-
var init_vertical_align = __esmMin(() => {
|
|
7647
|
+
var init_vertical_align = __esmMin((() => {
|
|
7648
7648
|
init_vertical_align$1();
|
|
7649
|
-
});
|
|
7649
|
+
}));
|
|
7650
7650
|
//#endregion
|
|
7651
7651
|
//#region src/file/table/table-cell/table-cell-components.ts
|
|
7652
7652
|
/**
|
|
@@ -7715,7 +7715,7 @@ function buildTextDirection(value) {
|
|
|
7715
7715
|
return stringEnumValObj("w:textDirection", value);
|
|
7716
7716
|
}
|
|
7717
7717
|
var TableCellBorders, GridSpan, VerticalMergeType, VerticalMerge, TextDirection, TDirection;
|
|
7718
|
-
var init_table_cell_components = __esmMin(() => {
|
|
7718
|
+
var init_table_cell_components = __esmMin((() => {
|
|
7719
7719
|
init_border$1();
|
|
7720
7720
|
init_xml_components();
|
|
7721
7721
|
init_values();
|
|
@@ -7768,17 +7768,17 @@ var init_table_cell_components = __esmMin(() => {
|
|
|
7768
7768
|
this.root.push({ _attr: { "w:val": value } });
|
|
7769
7769
|
}
|
|
7770
7770
|
};
|
|
7771
|
-
});
|
|
7771
|
+
}));
|
|
7772
7772
|
//#endregion
|
|
7773
7773
|
//#region src/file/table/table-cell/index.ts
|
|
7774
|
-
var init_table_cell$1 = __esmMin(() => {
|
|
7774
|
+
var init_table_cell$1 = __esmMin((() => {
|
|
7775
7775
|
init_table_cell();
|
|
7776
7776
|
init_table_cell_components();
|
|
7777
|
-
});
|
|
7777
|
+
}));
|
|
7778
7778
|
//#endregion
|
|
7779
7779
|
//#region src/file/table/table-cell-spacing.ts
|
|
7780
7780
|
var CellSpacingType, createTableCellSpacing;
|
|
7781
|
-
var init_table_cell_spacing = __esmMin(() => {
|
|
7781
|
+
var init_table_cell_spacing = __esmMin((() => {
|
|
7782
7782
|
init_xml_components();
|
|
7783
7783
|
init_values();
|
|
7784
7784
|
CellSpacingType = {
|
|
@@ -7800,11 +7800,11 @@ var init_table_cell_spacing = __esmMin(() => {
|
|
|
7800
7800
|
},
|
|
7801
7801
|
name: "w:tblCellSpacing"
|
|
7802
7802
|
});
|
|
7803
|
-
});
|
|
7803
|
+
}));
|
|
7804
7804
|
//#endregion
|
|
7805
7805
|
//#region src/file/table/table-width.ts
|
|
7806
7806
|
var WidthType, buildTableWidthObj, createTableWidthElement;
|
|
7807
|
-
var init_table_width = __esmMin(() => {
|
|
7807
|
+
var init_table_width = __esmMin((() => {
|
|
7808
7808
|
init_xml_components();
|
|
7809
7809
|
init_values();
|
|
7810
7810
|
WidthType = {
|
|
@@ -7842,7 +7842,7 @@ var init_table_width = __esmMin(() => {
|
|
|
7842
7842
|
name
|
|
7843
7843
|
});
|
|
7844
7844
|
};
|
|
7845
|
-
});
|
|
7845
|
+
}));
|
|
7846
7846
|
//#endregion
|
|
7847
7847
|
//#region src/file/table/table-properties/table-borders.ts
|
|
7848
7848
|
/**
|
|
@@ -7879,7 +7879,7 @@ function buildTableBorders(options) {
|
|
|
7879
7879
|
] };
|
|
7880
7880
|
}
|
|
7881
7881
|
var NONE_BORDER, DEFAULT_BORDER, TableBorders;
|
|
7882
|
-
var init_table_borders = __esmMin(() => {
|
|
7882
|
+
var init_table_borders = __esmMin((() => {
|
|
7883
7883
|
init_border$1();
|
|
7884
7884
|
init_xml_components();
|
|
7885
7885
|
NONE_BORDER = {
|
|
@@ -7911,11 +7911,11 @@ var init_table_borders = __esmMin(() => {
|
|
|
7911
7911
|
this.root.push(createBorderElement("w:insideV", options.insideVertical ?? DEFAULT_BORDER));
|
|
7912
7912
|
}
|
|
7913
7913
|
};
|
|
7914
|
-
});
|
|
7914
|
+
}));
|
|
7915
7915
|
//#endregion
|
|
7916
7916
|
//#region src/file/table/table-properties/table-float-properties.ts
|
|
7917
7917
|
var TableAnchorType, RelativeHorizontalPosition, RelativeVerticalPosition, OverlapType, createOverlapElement, createTableFloatProperties, buildTableFloatPropertiesObj, createTableOverlap;
|
|
7918
|
-
var init_table_float_properties = __esmMin(() => {
|
|
7918
|
+
var init_table_float_properties = __esmMin((() => {
|
|
7919
7919
|
init_xml_components();
|
|
7920
7920
|
init_values();
|
|
7921
7921
|
TableAnchorType = {
|
|
@@ -8007,11 +8007,11 @@ var init_table_float_properties = __esmMin(() => {
|
|
|
8007
8007
|
"w:rightFromText": rightFromText !== void 0 ? (0, values_exports.twipsMeasureValue)(rightFromText) : void 0
|
|
8008
8008
|
});
|
|
8009
8009
|
createTableOverlap = (overlap) => createOverlapElement(overlap);
|
|
8010
|
-
});
|
|
8010
|
+
}));
|
|
8011
8011
|
//#endregion
|
|
8012
8012
|
//#region src/file/table/table-properties/table-layout.ts
|
|
8013
8013
|
var TableLayoutType, createTableLayout;
|
|
8014
|
-
var init_table_layout = __esmMin(() => {
|
|
8014
|
+
var init_table_layout = __esmMin((() => {
|
|
8015
8015
|
init_xml_components();
|
|
8016
8016
|
TableLayoutType = {
|
|
8017
8017
|
/** Auto-fit layout - column widths are adjusted based on content */
|
|
@@ -8026,11 +8026,11 @@ var init_table_layout = __esmMin(() => {
|
|
|
8026
8026
|
} },
|
|
8027
8027
|
name: "w:tblLayout"
|
|
8028
8028
|
});
|
|
8029
|
-
});
|
|
8029
|
+
}));
|
|
8030
8030
|
//#endregion
|
|
8031
8031
|
//#region src/file/table/table-properties/table-look.ts
|
|
8032
8032
|
var createTableLook;
|
|
8033
|
-
var init_table_look = __esmMin(() => {
|
|
8033
|
+
var init_table_look = __esmMin((() => {
|
|
8034
8034
|
init_xml_components();
|
|
8035
8035
|
createTableLook = ({ firstRow, lastRow, firstColumn, lastColumn, noHBand, noVBand }) => new BuilderElement({
|
|
8036
8036
|
attributes: {
|
|
@@ -8061,7 +8061,7 @@ var init_table_look = __esmMin(() => {
|
|
|
8061
8061
|
},
|
|
8062
8062
|
name: "w:tblLook"
|
|
8063
8063
|
});
|
|
8064
|
-
});
|
|
8064
|
+
}));
|
|
8065
8065
|
//#endregion
|
|
8066
8066
|
//#region src/file/table/table-properties/table-properties.ts
|
|
8067
8067
|
/**
|
|
@@ -8119,7 +8119,7 @@ function buildTableProperties(options) {
|
|
|
8119
8119
|
if (options.includeIfEmpty || children.length > 0) return { "w:tblPr": children };
|
|
8120
8120
|
}
|
|
8121
8121
|
var TableProperties, TablePropertiesChange;
|
|
8122
|
-
var init_table_properties$1 = __esmMin(() => {
|
|
8122
|
+
var init_table_properties$1 = __esmMin((() => {
|
|
8123
8123
|
init_xml_components();
|
|
8124
8124
|
init_values();
|
|
8125
8125
|
init_paragraph();
|
|
@@ -8185,11 +8185,11 @@ var init_table_properties$1 = __esmMin(() => {
|
|
|
8185
8185
|
}));
|
|
8186
8186
|
}
|
|
8187
8187
|
};
|
|
8188
|
-
});
|
|
8188
|
+
}));
|
|
8189
8189
|
//#endregion
|
|
8190
8190
|
//#region src/file/table/table-properties/table-property-exceptions.ts
|
|
8191
8191
|
var TablePropertyExceptions;
|
|
8192
|
-
var init_table_property_exceptions = __esmMin(() => {
|
|
8192
|
+
var init_table_property_exceptions = __esmMin((() => {
|
|
8193
8193
|
init_xml_components();
|
|
8194
8194
|
init_paragraph();
|
|
8195
8195
|
init_shading();
|
|
@@ -8216,21 +8216,21 @@ var init_table_property_exceptions = __esmMin(() => {
|
|
|
8216
8216
|
if (options.tableLook) this.root.push(createTableLook(options.tableLook));
|
|
8217
8217
|
}
|
|
8218
8218
|
};
|
|
8219
|
-
});
|
|
8219
|
+
}));
|
|
8220
8220
|
//#endregion
|
|
8221
8221
|
//#region src/file/table/table-properties/index.ts
|
|
8222
|
-
var init_table_properties = __esmMin(() => {
|
|
8222
|
+
var init_table_properties = __esmMin((() => {
|
|
8223
8223
|
init_table_properties$1();
|
|
8224
8224
|
init_table_float_properties();
|
|
8225
8225
|
init_table_layout();
|
|
8226
8226
|
init_table_borders();
|
|
8227
8227
|
init_table_look();
|
|
8228
8228
|
init_table_property_exceptions();
|
|
8229
|
-
});
|
|
8229
|
+
}));
|
|
8230
8230
|
//#endregion
|
|
8231
8231
|
//#region src/file/table/table-row/table-row-height.ts
|
|
8232
8232
|
var HeightRule, createTableRowHeight;
|
|
8233
|
-
var init_table_row_height = __esmMin(() => {
|
|
8233
|
+
var init_table_row_height = __esmMin((() => {
|
|
8234
8234
|
init_xml_components();
|
|
8235
8235
|
init_values();
|
|
8236
8236
|
HeightRule = {
|
|
@@ -8254,7 +8254,7 @@ var init_table_row_height = __esmMin(() => {
|
|
|
8254
8254
|
},
|
|
8255
8255
|
name: "w:trHeight"
|
|
8256
8256
|
});
|
|
8257
|
-
});
|
|
8257
|
+
}));
|
|
8258
8258
|
//#endregion
|
|
8259
8259
|
//#region src/file/table/table-row/table-row-properties.ts
|
|
8260
8260
|
/**
|
|
@@ -8304,7 +8304,7 @@ function buildTableRowProperties(options) {
|
|
|
8304
8304
|
if (options.includeIfEmpty || children.length > 0) return { "w:trPr": children };
|
|
8305
8305
|
}
|
|
8306
8306
|
var TableRowProperties, TableRowPropertiesChange;
|
|
8307
|
-
var init_table_row_properties = __esmMin(() => {
|
|
8307
|
+
var init_table_row_properties = __esmMin((() => {
|
|
8308
8308
|
init_track_revision();
|
|
8309
8309
|
init_xml_components();
|
|
8310
8310
|
init_values();
|
|
@@ -8377,11 +8377,11 @@ var init_table_row_properties = __esmMin(() => {
|
|
|
8377
8377
|
}));
|
|
8378
8378
|
}
|
|
8379
8379
|
};
|
|
8380
|
-
});
|
|
8380
|
+
}));
|
|
8381
8381
|
//#endregion
|
|
8382
8382
|
//#region src/file/table/table-row/table-row.ts
|
|
8383
8383
|
var TableRow;
|
|
8384
|
-
var init_table_row$1 = __esmMin(() => {
|
|
8384
|
+
var init_table_row$1 = __esmMin((() => {
|
|
8385
8385
|
init_xml_components();
|
|
8386
8386
|
init_sdt();
|
|
8387
8387
|
init_table_cell$1();
|
|
@@ -8474,27 +8474,27 @@ var init_table_row$1 = __esmMin(() => {
|
|
|
8474
8474
|
return this.coercedChildren.length + prefixCount;
|
|
8475
8475
|
}
|
|
8476
8476
|
};
|
|
8477
|
-
});
|
|
8477
|
+
}));
|
|
8478
8478
|
//#endregion
|
|
8479
8479
|
//#region src/file/table/table-row/index.ts
|
|
8480
|
-
var init_table_row = __esmMin(() => {
|
|
8480
|
+
var init_table_row = __esmMin((() => {
|
|
8481
8481
|
init_table_row$1();
|
|
8482
8482
|
init_table_row_properties();
|
|
8483
8483
|
init_table_row_height();
|
|
8484
|
-
});
|
|
8484
|
+
}));
|
|
8485
8485
|
//#endregion
|
|
8486
8486
|
//#region src/file/table/index.ts
|
|
8487
|
-
var init_table$1 = __esmMin(() => {
|
|
8487
|
+
var init_table$1 = __esmMin((() => {
|
|
8488
8488
|
init_table();
|
|
8489
8489
|
init_table_cell$1();
|
|
8490
8490
|
init_table_properties();
|
|
8491
8491
|
init_table_row();
|
|
8492
8492
|
init_table_width();
|
|
8493
|
-
});
|
|
8493
|
+
}));
|
|
8494
8494
|
//#endregion
|
|
8495
8495
|
//#region src/file/table/table-properties/table-cell-margin.ts
|
|
8496
8496
|
var buildMarginChildren, createTableCellMargin, buildMarginChildrenObjs, buildTableCellMarginObj, buildCellMarginObj;
|
|
8497
|
-
var init_table_cell_margin = __esmMin(() => {
|
|
8497
|
+
var init_table_cell_margin = __esmMin((() => {
|
|
8498
8498
|
init_table$1();
|
|
8499
8499
|
init_xml_components();
|
|
8500
8500
|
buildMarginChildren = ({ marginUnitType = WidthType.DXA, top, left, bottom, right }) => [
|
|
@@ -8554,7 +8554,7 @@ var init_table_cell_margin = __esmMin(() => {
|
|
|
8554
8554
|
const children = buildMarginChildrenObjs(options);
|
|
8555
8555
|
return children.length > 0 ? { "w:tcMar": children } : void 0;
|
|
8556
8556
|
};
|
|
8557
|
-
});
|
|
8557
|
+
}));
|
|
8558
8558
|
//#endregion
|
|
8559
8559
|
//#region src/file/table/table-cell/table-cell-properties.ts
|
|
8560
8560
|
/**
|
|
@@ -8611,7 +8611,7 @@ function buildTableCellProperties(options) {
|
|
|
8611
8611
|
if (options.cellMerge) children.push(buildCellMergeObj(options.cellMerge));
|
|
8612
8612
|
if (options.includeIfEmpty || children.length > 0) return { "w:tcPr": children };
|
|
8613
8613
|
}
|
|
8614
|
-
var init_table_cell_properties = __esmMin(() => {
|
|
8614
|
+
var init_table_cell_properties = __esmMin((() => {
|
|
8615
8615
|
init_track_revision();
|
|
8616
8616
|
init_vertical_align();
|
|
8617
8617
|
init_xml_components();
|
|
@@ -8619,7 +8619,7 @@ var init_table_cell_properties = __esmMin(() => {
|
|
|
8619
8619
|
init_table_cell_margin();
|
|
8620
8620
|
init_table_width();
|
|
8621
8621
|
init_table_cell_components();
|
|
8622
|
-
});
|
|
8622
|
+
}));
|
|
8623
8623
|
//#endregion
|
|
8624
8624
|
//#region src/file/table/table-cell/table-cell.ts
|
|
8625
8625
|
function lazyCoerce(child) {
|
|
@@ -8627,7 +8627,7 @@ function lazyCoerce(child) {
|
|
|
8627
8627
|
return _coerce(child);
|
|
8628
8628
|
}
|
|
8629
8629
|
var _coerce, TableCell;
|
|
8630
|
-
var init_table_cell = __esmMin(() => {
|
|
8630
|
+
var init_table_cell = __esmMin((() => {
|
|
8631
8631
|
init_paragraph();
|
|
8632
8632
|
init_xml_components();
|
|
8633
8633
|
init_table_cell_properties();
|
|
@@ -8658,11 +8658,11 @@ var init_table_cell = __esmMin(() => {
|
|
|
8658
8658
|
return `<w:tc>${parts.join("")}</w:tc>`;
|
|
8659
8659
|
}
|
|
8660
8660
|
};
|
|
8661
|
-
});
|
|
8661
|
+
}));
|
|
8662
8662
|
//#endregion
|
|
8663
8663
|
//#region src/file/sdt/sdt-row.ts
|
|
8664
8664
|
var StructuredDocumentTagRow;
|
|
8665
|
-
var init_sdt_row = __esmMin(() => {
|
|
8665
|
+
var init_sdt_row = __esmMin((() => {
|
|
8666
8666
|
init_xml_components();
|
|
8667
8667
|
init_table_of_contents();
|
|
8668
8668
|
init_table_cell();
|
|
@@ -8688,18 +8688,18 @@ var init_sdt_row = __esmMin(() => {
|
|
|
8688
8688
|
if (this.rows.length > 0) this.rows[0].addCellToColumnIndex(cell, columnIndex);
|
|
8689
8689
|
}
|
|
8690
8690
|
};
|
|
8691
|
-
});
|
|
8691
|
+
}));
|
|
8692
8692
|
//#endregion
|
|
8693
8693
|
//#region src/file/sdt/index.ts
|
|
8694
|
-
var init_sdt = __esmMin(() => {
|
|
8694
|
+
var init_sdt = __esmMin((() => {
|
|
8695
8695
|
init_sdt$1();
|
|
8696
8696
|
init_sdt_cell();
|
|
8697
8697
|
init_sdt_row();
|
|
8698
|
-
});
|
|
8698
|
+
}));
|
|
8699
8699
|
//#endregion
|
|
8700
8700
|
//#region src/file/table/grid.ts
|
|
8701
8701
|
var createGridCol, TableGrid, TableGridChange;
|
|
8702
|
-
var init_grid = __esmMin(() => {
|
|
8702
|
+
var init_grid = __esmMin((() => {
|
|
8703
8703
|
init_xml_components();
|
|
8704
8704
|
init_values();
|
|
8705
8705
|
createGridCol = (width) => new BuilderElement({
|
|
@@ -8723,11 +8723,11 @@ var init_grid = __esmMin(() => {
|
|
|
8723
8723
|
this.root.push(new TableGrid(options.columnWidths));
|
|
8724
8724
|
}
|
|
8725
8725
|
};
|
|
8726
|
-
});
|
|
8726
|
+
}));
|
|
8727
8727
|
//#endregion
|
|
8728
8728
|
//#region src/file/table/table.ts
|
|
8729
8729
|
var Table;
|
|
8730
|
-
var init_table = __esmMin(() => {
|
|
8730
|
+
var init_table = __esmMin((() => {
|
|
8731
8731
|
init_xml_components();
|
|
8732
8732
|
init_sdt();
|
|
8733
8733
|
init_grid();
|
|
@@ -8821,31 +8821,31 @@ var init_table = __esmMin(() => {
|
|
|
8821
8821
|
return `<w:tbl>${parts.join("")}</w:tbl>`;
|
|
8822
8822
|
}
|
|
8823
8823
|
};
|
|
8824
|
-
});
|
|
8824
|
+
}));
|
|
8825
8825
|
//#endregion
|
|
8826
8826
|
//#region src/file/textbox/pict-element/pict-element.ts
|
|
8827
8827
|
var createPictElement;
|
|
8828
|
-
var init_pict_element = __esmMin(() => {
|
|
8828
|
+
var init_pict_element = __esmMin((() => {
|
|
8829
8829
|
init_xml_components();
|
|
8830
8830
|
createPictElement = ({ shape }) => new BuilderElement({
|
|
8831
8831
|
children: [shape],
|
|
8832
8832
|
name: "w:pict"
|
|
8833
8833
|
});
|
|
8834
|
-
});
|
|
8834
|
+
}));
|
|
8835
8835
|
//#endregion
|
|
8836
8836
|
//#region src/file/textbox/texbox-content/textbox-content.ts
|
|
8837
8837
|
var createTextboxContent;
|
|
8838
|
-
var init_textbox_content = __esmMin(() => {
|
|
8838
|
+
var init_textbox_content = __esmMin((() => {
|
|
8839
8839
|
init_xml_components();
|
|
8840
8840
|
createTextboxContent = ({ children = [] }) => new BuilderElement({
|
|
8841
8841
|
children,
|
|
8842
8842
|
name: "w:txbxContent"
|
|
8843
8843
|
});
|
|
8844
|
-
});
|
|
8844
|
+
}));
|
|
8845
8845
|
//#endregion
|
|
8846
8846
|
//#region src/file/textbox/vml-textbox/vml-texbox.ts
|
|
8847
8847
|
var createVmlTextbox;
|
|
8848
|
-
var init_vml_texbox = __esmMin(() => {
|
|
8848
|
+
var init_vml_texbox = __esmMin((() => {
|
|
8849
8849
|
init_xml_components();
|
|
8850
8850
|
init_textbox_content();
|
|
8851
8851
|
createVmlTextbox = ({ style, children, inset }) => new BuilderElement({
|
|
@@ -8866,11 +8866,11 @@ var init_vml_texbox = __esmMin(() => {
|
|
|
8866
8866
|
children: [createTextboxContent({ children })],
|
|
8867
8867
|
name: "v:textbox"
|
|
8868
8868
|
});
|
|
8869
|
-
});
|
|
8869
|
+
}));
|
|
8870
8870
|
//#endregion
|
|
8871
8871
|
//#region src/file/textbox/shape/shape.ts
|
|
8872
8872
|
var SHAPE_TYPE, styleToKeyMap, formatShapeStyle, createShape;
|
|
8873
|
-
var init_shape = __esmMin(() => {
|
|
8873
|
+
var init_shape = __esmMin((() => {
|
|
8874
8874
|
init_xml_components();
|
|
8875
8875
|
init_vml_texbox();
|
|
8876
8876
|
SHAPE_TYPE = "#_x0000_t202";
|
|
@@ -8921,11 +8921,11 @@ var init_shape = __esmMin(() => {
|
|
|
8921
8921
|
})],
|
|
8922
8922
|
name: "v:shape"
|
|
8923
8923
|
});
|
|
8924
|
-
});
|
|
8924
|
+
}));
|
|
8925
8925
|
//#endregion
|
|
8926
8926
|
//#region src/file/textbox/textbox.ts
|
|
8927
8927
|
var Textbox;
|
|
8928
|
-
var init_textbox = __esmMin(() => {
|
|
8928
|
+
var init_textbox = __esmMin((() => {
|
|
8929
8929
|
init_paragraph();
|
|
8930
8930
|
init_xml_components();
|
|
8931
8931
|
init_convenience_functions();
|
|
@@ -8943,7 +8943,7 @@ var init_textbox = __esmMin(() => {
|
|
|
8943
8943
|
}) }));
|
|
8944
8944
|
}
|
|
8945
8945
|
};
|
|
8946
|
-
});
|
|
8946
|
+
}));
|
|
8947
8947
|
//#endregion
|
|
8948
8948
|
//#region src/file/coerce.ts
|
|
8949
8949
|
var coerce_exports = /* @__PURE__ */ __exportAll({ coerceSectionChild: () => coerceSectionChild });
|
|
@@ -8979,7 +8979,7 @@ function coerceSectionChild(child) {
|
|
|
8979
8979
|
if ("subDoc" in child) return new SubDoc(child.subDoc);
|
|
8980
8980
|
throw new Error("Unknown section child type");
|
|
8981
8981
|
}
|
|
8982
|
-
var init_coerce = __esmMin(() => {
|
|
8982
|
+
var init_coerce = __esmMin((() => {
|
|
8983
8983
|
init_alt_chunk();
|
|
8984
8984
|
init_paragraph$1();
|
|
8985
8985
|
init_sdt$1();
|
|
@@ -8988,7 +8988,7 @@ var init_coerce = __esmMin(() => {
|
|
|
8988
8988
|
init_table();
|
|
8989
8989
|
init_textbox();
|
|
8990
8990
|
init_xml_components();
|
|
8991
|
-
});
|
|
8991
|
+
}));
|
|
8992
8992
|
//#endregion
|
|
8993
8993
|
//#region src/file/alt-chunk/alt-chunk-collection.ts
|
|
8994
8994
|
init_coerce();
|
|
@@ -10591,6 +10591,17 @@ var Body = class extends XmlComponent {
|
|
|
10591
10591
|
return super.prepForXml(context);
|
|
10592
10592
|
}
|
|
10593
10593
|
/**
|
|
10594
|
+
* Direct XML serialization — ensures section properties are appended
|
|
10595
|
+
* before delegating to the default XmlComponent.toXml() traversal.
|
|
10596
|
+
*/
|
|
10597
|
+
toXml(context) {
|
|
10598
|
+
if (this.sections.length === 1) {
|
|
10599
|
+
this.root.splice(0, 1);
|
|
10600
|
+
this.root.push(this.sections.pop());
|
|
10601
|
+
}
|
|
10602
|
+
return super.toXml(context);
|
|
10603
|
+
}
|
|
10604
|
+
/**
|
|
10594
10605
|
* Adds a block-level component to the body.
|
|
10595
10606
|
*
|
|
10596
10607
|
* This method is used internally by the Document class to add paragraphs,
|
|
@@ -14700,7 +14711,7 @@ const obfuscate = (buf, fontKey) => {
|
|
|
14700
14711
|
//#region src/export/packer/numbering-placeholders.ts
|
|
14701
14712
|
function replaceNumberingPlaceholders(xml, concreteNumberings) {
|
|
14702
14713
|
let result = xml;
|
|
14703
|
-
for (const { reference, instance, numId } of concreteNumberings) result = result.
|
|
14714
|
+
for (const { reference, instance, numId } of concreteNumberings) result = result.replaceAll(`{${reference}-${instance}}`, numId.toString());
|
|
14704
14715
|
return result;
|
|
14705
14716
|
}
|
|
14706
14717
|
//#endregion
|
|
@@ -14772,32 +14783,20 @@ var Compiler = class {
|
|
|
14772
14783
|
viewWrapper
|
|
14773
14784
|
});
|
|
14774
14785
|
const documentRelationshipCount = file.document.relationships.relationshipCount + 1;
|
|
14775
|
-
const documentXmlData = this.formatter.formatToXml(file.document.view, mkCtx(file.document)
|
|
14776
|
-
encoding: "UTF-8",
|
|
14777
|
-
standalone: "yes"
|
|
14778
|
-
});
|
|
14786
|
+
const documentXmlData = this.formatter.formatToXml(file.document.view, mkCtx(file.document));
|
|
14779
14787
|
const commentRelationshipCount = file.comments.relationships.relationshipCount + 1;
|
|
14780
14788
|
const commentXmlData = this.formatter.formatToXml(file.comments, mkCtx({
|
|
14781
14789
|
relationships: file.comments.relationships,
|
|
14782
14790
|
view: file.comments
|
|
14783
|
-
})
|
|
14784
|
-
encoding: "UTF-8",
|
|
14785
|
-
standalone: "yes"
|
|
14786
|
-
});
|
|
14791
|
+
}));
|
|
14787
14792
|
const footnoteRelationshipCount = file.footNotes.relationships.relationshipCount + 1;
|
|
14788
|
-
const footnoteXmlData = this.formatter.formatToXml(file.footNotes.view, mkCtx(file.footNotes)
|
|
14789
|
-
encoding: "UTF-8",
|
|
14790
|
-
standalone: "yes"
|
|
14791
|
-
});
|
|
14793
|
+
const footnoteXmlData = this.formatter.formatToXml(file.footNotes.view, mkCtx(file.footNotes));
|
|
14792
14794
|
const documentMediaDatas = hasPlaceholders(documentXmlData) ? getReferencedMedia(documentXmlData, file.media.array) : [];
|
|
14793
14795
|
const commentMediaDatas = hasPlaceholders(commentXmlData) ? getReferencedMedia(commentXmlData, file.media.array) : [];
|
|
14794
14796
|
const footnoteMediaDatas = hasPlaceholders(footnoteXmlData) ? getReferencedMedia(footnoteXmlData, file.media.array) : [];
|
|
14795
14797
|
return {
|
|
14796
14798
|
AppProperties: {
|
|
14797
|
-
data: this.formatter.formatToXml(file.appProperties, mkCtx(file.document),
|
|
14798
|
-
encoding: "UTF-8",
|
|
14799
|
-
standalone: "yes"
|
|
14800
|
-
}),
|
|
14799
|
+
data: this.formatter.formatToXml(file.appProperties, mkCtx(file.document)),
|
|
14801
14800
|
path: "docProps/app.xml"
|
|
14802
14801
|
},
|
|
14803
14802
|
Comments: {
|
|
@@ -14812,7 +14811,7 @@ var Compiler = class {
|
|
|
14812
14811
|
return this.formatter.formatToXml(file.comments.relationships, mkCtx({
|
|
14813
14812
|
relationships: file.comments.relationships,
|
|
14814
14813
|
view: file.comments
|
|
14815
|
-
})
|
|
14814
|
+
}));
|
|
14816
14815
|
})(),
|
|
14817
14816
|
path: "word/_rels/comments.xml.rels"
|
|
14818
14817
|
},
|
|
@@ -14828,15 +14827,12 @@ var Compiler = class {
|
|
|
14828
14827
|
file.contentTypes.addDiagramColors(i + 1);
|
|
14829
14828
|
file.contentTypes.addDiagramDrawing(i + 1);
|
|
14830
14829
|
});
|
|
14831
|
-
return this.formatter.formatToXml(file.contentTypes, mkCtx(file.document)
|
|
14830
|
+
return this.formatter.formatToXml(file.contentTypes, mkCtx(file.document));
|
|
14832
14831
|
})(),
|
|
14833
14832
|
path: "[Content_Types].xml"
|
|
14834
14833
|
},
|
|
14835
14834
|
CustomProperties: {
|
|
14836
|
-
data: this.formatter.formatToXml(file.customProperties, mkCtx(file.document),
|
|
14837
|
-
encoding: "UTF-8",
|
|
14838
|
-
standalone: "yes"
|
|
14839
|
-
}),
|
|
14835
|
+
data: this.formatter.formatToXml(file.customProperties, mkCtx(file.document)),
|
|
14840
14836
|
path: "docProps/custom.xml"
|
|
14841
14837
|
},
|
|
14842
14838
|
Document: {
|
|
@@ -14852,26 +14848,23 @@ var Compiler = class {
|
|
|
14852
14848
|
path: "word/document.xml"
|
|
14853
14849
|
},
|
|
14854
14850
|
Endnotes: {
|
|
14855
|
-
data: this.formatter.formatToXml(file.endnotes.view, mkCtx(file.endnotes)
|
|
14851
|
+
data: this.formatter.formatToXml(file.endnotes.view, mkCtx(file.endnotes)),
|
|
14856
14852
|
path: "word/endnotes.xml"
|
|
14857
14853
|
},
|
|
14858
14854
|
EndnotesRelationships: {
|
|
14859
|
-
data: this.formatter.formatToXml(file.endnotes.relationships, mkCtx(file.endnotes)
|
|
14855
|
+
data: this.formatter.formatToXml(file.endnotes.relationships, mkCtx(file.endnotes)),
|
|
14860
14856
|
path: "word/_rels/endnotes.xml.rels"
|
|
14861
14857
|
},
|
|
14862
14858
|
FileRelationships: {
|
|
14863
|
-
data: this.formatter.formatToXml(file.fileRelationships, mkCtx(file.document)
|
|
14859
|
+
data: this.formatter.formatToXml(file.fileRelationships, mkCtx(file.document)),
|
|
14864
14860
|
path: "_rels/.rels"
|
|
14865
14861
|
},
|
|
14866
14862
|
FontTable: {
|
|
14867
|
-
data: this.formatter.formatToXml(file.fontTable.view, mkCtx(file.document),
|
|
14868
|
-
encoding: "UTF-8",
|
|
14869
|
-
standalone: "yes"
|
|
14870
|
-
}),
|
|
14863
|
+
data: this.formatter.formatToXml(file.fontTable.view, mkCtx(file.document)),
|
|
14871
14864
|
path: "word/fontTable.xml"
|
|
14872
14865
|
},
|
|
14873
14866
|
FontTableRelationships: {
|
|
14874
|
-
data: this.formatter.formatToXml(file.fontTable.relationships, mkCtx(file.document)
|
|
14867
|
+
data: this.formatter.formatToXml(file.fontTable.relationships, mkCtx(file.document)),
|
|
14875
14868
|
path: "word/_rels/fontTable.xml.rels"
|
|
14876
14869
|
},
|
|
14877
14870
|
FootNotes: {
|
|
@@ -14883,18 +14876,18 @@ var Compiler = class {
|
|
|
14883
14876
|
footnoteMediaDatas.forEach((mediaData, i) => {
|
|
14884
14877
|
file.footNotes.relationships.addRelationship(footnoteRelationshipCount + i, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", `media/${mediaData.fileName}`);
|
|
14885
14878
|
});
|
|
14886
|
-
return this.formatter.formatToXml(file.footNotes.relationships, mkCtx(file.footNotes)
|
|
14879
|
+
return this.formatter.formatToXml(file.footNotes.relationships, mkCtx(file.footNotes));
|
|
14887
14880
|
})(),
|
|
14888
14881
|
path: "word/_rels/footnotes.xml.rels"
|
|
14889
14882
|
},
|
|
14890
14883
|
FooterRelationships: file.footers.map((footerWrapper, index) => {
|
|
14891
|
-
const xmlData = this.formatter.formatToXml(footerWrapper.view, mkCtx(footerWrapper)
|
|
14884
|
+
const xmlData = this.formatter.formatToXml(footerWrapper.view, mkCtx(footerWrapper));
|
|
14892
14885
|
footerFormattedViews.set(index, xmlData);
|
|
14893
14886
|
getReferencedMedia(xmlData, file.media.array).forEach((mediaData, i) => {
|
|
14894
14887
|
footerWrapper.relationships.addRelationship(i, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", `media/${mediaData.fileName}`);
|
|
14895
14888
|
});
|
|
14896
14889
|
return {
|
|
14897
|
-
data: this.formatter.formatToXml(footerWrapper.relationships, mkCtx(footerWrapper)
|
|
14890
|
+
data: this.formatter.formatToXml(footerWrapper.relationships, mkCtx(footerWrapper)),
|
|
14898
14891
|
path: `word/_rels/footer${index + 1}.xml.rels`
|
|
14899
14892
|
};
|
|
14900
14893
|
}),
|
|
@@ -14907,13 +14900,13 @@ var Compiler = class {
|
|
|
14907
14900
|
};
|
|
14908
14901
|
}),
|
|
14909
14902
|
HeaderRelationships: file.headers.map((headerWrapper, index) => {
|
|
14910
|
-
const xmlData = this.formatter.formatToXml(headerWrapper.view, mkCtx(headerWrapper)
|
|
14903
|
+
const xmlData = this.formatter.formatToXml(headerWrapper.view, mkCtx(headerWrapper));
|
|
14911
14904
|
headerFormattedViews.set(index, xmlData);
|
|
14912
14905
|
getReferencedMedia(xmlData, file.media.array).forEach((mediaData, i) => {
|
|
14913
14906
|
headerWrapper.relationships.addRelationship(i, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", `media/${mediaData.fileName}`);
|
|
14914
14907
|
});
|
|
14915
14908
|
return {
|
|
14916
|
-
data: this.formatter.formatToXml(headerWrapper.relationships, mkCtx(headerWrapper)
|
|
14909
|
+
data: this.formatter.formatToXml(headerWrapper.relationships, mkCtx(headerWrapper)),
|
|
14917
14910
|
path: `word/_rels/header${index + 1}.xml.rels`
|
|
14918
14911
|
};
|
|
14919
14912
|
}),
|
|
@@ -14926,17 +14919,11 @@ var Compiler = class {
|
|
|
14926
14919
|
};
|
|
14927
14920
|
}),
|
|
14928
14921
|
Numbering: {
|
|
14929
|
-
data: this.formatter.formatToXml(file.numbering, mkCtx(file.document),
|
|
14930
|
-
encoding: "UTF-8",
|
|
14931
|
-
standalone: "yes"
|
|
14932
|
-
}),
|
|
14922
|
+
data: this.formatter.formatToXml(file.numbering, mkCtx(file.document)),
|
|
14933
14923
|
path: "word/numbering.xml"
|
|
14934
14924
|
},
|
|
14935
14925
|
Properties: {
|
|
14936
|
-
data: this.formatter.formatToXml(file.coreProperties, mkCtx(file.document),
|
|
14937
|
-
encoding: "UTF-8",
|
|
14938
|
-
standalone: "yes"
|
|
14939
|
-
}),
|
|
14926
|
+
data: this.formatter.formatToXml(file.coreProperties, mkCtx(file.document)),
|
|
14940
14927
|
path: "docProps/core.xml"
|
|
14941
14928
|
},
|
|
14942
14929
|
Relationships: {
|
|
@@ -14955,53 +14942,35 @@ var Compiler = class {
|
|
|
14955
14942
|
styleRelType: "http://schemas.microsoft.com/office/2007/relationships/diagramStyle"
|
|
14956
14943
|
});
|
|
14957
14944
|
file.document.relationships.addRelationship(file.document.relationships.relationshipCount + 1, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable", "fontTable.xml");
|
|
14958
|
-
return this.formatter.formatToXml(file.document.relationships, mkCtx(file.document)
|
|
14945
|
+
return this.formatter.formatToXml(file.document.relationships, mkCtx(file.document));
|
|
14959
14946
|
})(),
|
|
14960
14947
|
path: "word/_rels/document.xml.rels"
|
|
14961
14948
|
},
|
|
14962
14949
|
Settings: {
|
|
14963
|
-
data: this.formatter.formatToXml(file.settings, mkCtx(file.document),
|
|
14964
|
-
encoding: "UTF-8",
|
|
14965
|
-
standalone: "yes"
|
|
14966
|
-
}),
|
|
14950
|
+
data: this.formatter.formatToXml(file.settings, mkCtx(file.document)),
|
|
14967
14951
|
path: "word/settings.xml"
|
|
14968
14952
|
},
|
|
14969
14953
|
Styles: {
|
|
14970
|
-
data: replaceNumberingPlaceholders(this.formatter.formatToXml(file.styles, mkCtx(file.document),
|
|
14971
|
-
encoding: "UTF-8",
|
|
14972
|
-
standalone: "yes"
|
|
14973
|
-
}), file.numbering.concreteNumbering),
|
|
14954
|
+
data: replaceNumberingPlaceholders(this.formatter.formatToXml(file.styles, mkCtx(file.document)), file.numbering.concreteNumbering),
|
|
14974
14955
|
path: "word/styles.xml"
|
|
14975
14956
|
},
|
|
14976
14957
|
...file.bibliography ? { Bibliography: {
|
|
14977
14958
|
data: this.formatter.formatToXml(file.bibliography, mkCtx({
|
|
14978
14959
|
relationships: file.bibliography.relationships,
|
|
14979
14960
|
view: file.bibliography
|
|
14980
|
-
}),
|
|
14981
|
-
encoding: "UTF-8",
|
|
14982
|
-
standalone: "yes"
|
|
14983
|
-
}),
|
|
14961
|
+
})),
|
|
14984
14962
|
path: "word/bibliography.xml"
|
|
14985
14963
|
} } : {},
|
|
14986
14964
|
...file.charts.array.length > 0 ? { Charts: file.charts.array.flatMap((chartData, i) => [{
|
|
14987
|
-
data: this.formatter.formatToXml(chartData.chartSpace, mkCtx(file.document),
|
|
14988
|
-
encoding: "UTF-8",
|
|
14989
|
-
standalone: "yes"
|
|
14990
|
-
}),
|
|
14965
|
+
data: this.formatter.formatToXml(chartData.chartSpace, mkCtx(file.document)),
|
|
14991
14966
|
path: `word/charts/chart${i + 1}.xml`
|
|
14992
14967
|
}, {
|
|
14993
|
-
data: xml({ Relationships: { _attr: { xmlns: "http://schemas.openxmlformats.org/package/2006/relationships" } } },
|
|
14994
|
-
encoding: "UTF-8",
|
|
14995
|
-
standalone: "yes"
|
|
14996
|
-
} }),
|
|
14968
|
+
data: xml({ Relationships: { _attr: { xmlns: "http://schemas.openxmlformats.org/package/2006/relationships" } } }),
|
|
14997
14969
|
path: `word/charts/_rels/chart${i + 1}.xml.rels`
|
|
14998
14970
|
}]) } : {},
|
|
14999
14971
|
...file.smartArts.array.length > 0 ? {
|
|
15000
14972
|
DiagramData: file.smartArts.array.map((smartArtData, i) => ({
|
|
15001
|
-
data: this.formatter.formatToXml(smartArtData.dataModel, mkCtx(file.document),
|
|
15002
|
-
encoding: "UTF-8",
|
|
15003
|
-
standalone: "yes"
|
|
15004
|
-
}),
|
|
14973
|
+
data: this.formatter.formatToXml(smartArtData.dataModel, mkCtx(file.document)),
|
|
15005
14974
|
path: `word/diagrams/data${i + 1}.xml`
|
|
15006
14975
|
})),
|
|
15007
14976
|
DiagramLayout: file.smartArts.array.map((smartArtData, i) => ({
|
|
@@ -18252,4 +18221,4 @@ __reExport(src_exports, util_exports);
|
|
|
18252
18221
|
//#endregion
|
|
18253
18222
|
export { AbstractNumbering, AlignmentType, AltChunk, AltChunkCollection, AnnotationReference, Attributes, BaseXmlComponent, Bdo, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, COLOR_CATEGORIES, CarriageReturn, CellMerge, CharacterSet, ChartCollection, ChartRun, ChartSpace, CheckBox, CheckBoxSymbolElement, CheckBoxUtil, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DEFAULT_DRAWING_XML, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, Dir, File as Document, File, DocumentAttributeNamespaces, DocumentBackground, DocumentDefaults, DocumentGridType, Drawing, DropCapType, EMPTY_OBJECT, EditGroupType, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, Endnotes, ExternalHyperlink, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HyperlinkType, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUT_CATEGORIES, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math$1 as Math, MathAngledBrackets, MathBorderBox, MathBox, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathFraction, MathFunction, MathFunctionName, MathGroupChr, MathIntegral, MathLimit, MathLimitLower, MathLimitUpper, MathMatrix, MathNumerator, MathParagraph, MathPhant, MathPreSubSuperScript, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathSquareBrackets, MathSubScript, MathSubSuperScript, MathSum, MathSuperScript, Media, MonthLong, MonthShort, MoveFromRangeEnd, MoveFromRangeStart, MoveToRangeEnd, MoveToRangeStart, MovedFromTextRun, MovedToTextRun, NextAttributeComponent, NoBreakHyphen, NumberFormat, NumberProperties, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchType, PermEnd, PermStart, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabRelativeTo, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, STYLE_CATEGORIES, SdtDateMappingType, SdtLock, SectionProperties, SectionPropertiesChange, SectionType, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtRun, SoftHyphen, SpaceType, StructuredDocumentTagBlock, StructuredDocumentTagCell, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRow, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SubDoc, SubDocCollection, SymbolRun, TDirection, Tab, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TablePropertyExceptions, TableRow, TableRowProperties, TableRowPropertiesChange, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, UnderlineType, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND4, WidthType, WpgGroupRun, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, attrObj, bookmarkUniqueNumericIdGen, buildBorderObj, buildCellMergeObj, buildCnfStyleObj, buildDeletedTableCellObj, buildDeletedTableRowObj, buildDivIdObj, buildDocumentAttributes, buildEmphasisMarkObj, buildFramePropertiesObj, buildGridSpan, buildIndentObj, buildInsertedTableCellObj, buildInsertedTableRowObj, buildNumberProperties, buildOutlineLevelObj, buildParagraphBorders, buildParagraphProperties, buildRunFontsObj, buildRunProperties, buildShadingObj, buildSpacingObj, buildTabStopObj, buildTableBorders, buildTableCellBorders, buildTableFloatPropertiesObj, buildTableProperties, buildTableRowProperties, buildTableRowPropertiesChangeObj, buildTableWidthObj, buildTextDirection, buildThematicBreakObj, buildUnderlineObj, buildVerticalMerge, chartAttr, coerceMathJson, coerceSectionChild, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createBreak, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableOverlap, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, docPropertiesUniqueNumericIdGen, getColorXml, getLayoutXml, getStyleXml, hashedId, hpsMeasureObj, numberValObj, onOffObj, parseArchive, parseDocument, parseDocx, parseMathChildren, patchDetector, patchDocument, sectionMarginDefaults, sectionPageSizeDefaults, stringContainerObj, stringEnumValObj, stringValObj, uniqueId, uniqueNumericIdCreator, uniqueUuid, wrapEl };
|
|
18254
18223
|
|
|
18255
|
-
//# sourceMappingURL=index.
|
|
18224
|
+
//# sourceMappingURL=index.mjs.map
|