@evotecit/officeimo 0.1.3 → 0.1.4
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 +18 -4
- package/bundles/officeimo-canopyx.js +669 -274
- package/bundles/officeimo-canopyx.mjs +627 -236
- package/bundles/officeimo-datatables.js +309 -233
- package/bundles/officeimo-datatables.mjs +280 -205
- package/bundles/officeimo-xlsx.js +177 -101
- package/bundles/officeimo-xlsx.mjs +149 -74
- package/bundles/officeimo.js +308 -232
- package/bundles/officeimo.mjs +279 -204
- package/dist/integrations/canopyx/grouping.js +15 -5
- package/dist/integrations/canopyx/index.d.ts +1 -1
- package/dist/integrations/canopyx/index.js +23 -6
- package/dist/integrations/canopyx/pdf-layout.d.ts +5 -0
- package/dist/integrations/canopyx/pdf-layout.js +97 -0
- package/dist/integrations/canopyx/pdf-number.d.ts +3 -0
- package/dist/integrations/canopyx/pdf-number.js +64 -0
- package/dist/integrations/canopyx/pivot.d.ts +15 -0
- package/dist/integrations/canopyx/pivot.js +67 -0
- package/dist/integrations/canopyx/source.js +50 -14
- package/dist/integrations/canopyx/types.d.ts +45 -2
- package/dist/opc/index.js +9 -0
- package/dist/xlsx/index.d.ts +1 -1
- package/dist/xlsx/options.js +1 -1
- package/dist/xlsx/outlines.d.ts +3 -0
- package/dist/xlsx/outlines.js +39 -0
- package/dist/xlsx/types.d.ts +9 -0
- package/dist/xlsx/values.js +11 -2
- package/dist/xlsx/workbook.js +2 -0
- package/dist/xlsx/worksheet.js +14 -6
- package/package.json +2 -2
|
@@ -1835,7 +1835,7 @@ _modules.set("699a019e0c3f317a62bf3a6e59b76b6cf1645908b0f1b1f157c18f4d4f368dfb",
|
|
|
1835
1835
|
return _exports;
|
|
1836
1836
|
})();
|
|
1837
1837
|
|
|
1838
|
-
const _m22 = _modules.get("
|
|
1838
|
+
const _m22 = _modules.get("945379594834125fea38bc00f02ef077409dd15f6ed67279e63e89afe0bb944b") ?? (() => {
|
|
1839
1839
|
|
|
1840
1840
|
|
|
1841
1841
|
|
|
@@ -1913,7 +1913,16 @@ class OpcPackage {
|
|
|
1913
1913
|
throw new OfficeIMOError("INVALID_STATE", "OPC package is finalized."); }
|
|
1914
1914
|
reserve(uri, type) {
|
|
1915
1915
|
this.open();
|
|
1916
|
+
// OPC part names become ZIP entry names. Reject oversized and deeply nested
|
|
1917
|
+
// names before collecting every ancestor prefix.
|
|
1918
|
+
if (typeof uri === "string" && uri.length > 65536)
|
|
1919
|
+
throw new OfficeIMOError("RESOURCE_LIMIT", "OPC part name exceeds the ZIP entry-name limit.");
|
|
1916
1920
|
uri = partUri(uri);
|
|
1921
|
+
let depth = 0;
|
|
1922
|
+
for (let index = 0; index < uri.length; index++) {
|
|
1923
|
+
if (uri[index] === "/" && ++depth > 64)
|
|
1924
|
+
throw new OfficeIMOError("RESOURCE_LIMIT", "OPC part name exceeds the directory-depth limit.");
|
|
1925
|
+
}
|
|
1917
1926
|
if (/\/_rels(?:\/|$)/i.test(uri) || uri.toLowerCase() === "/[content_types].xml")
|
|
1918
1927
|
throw new TypeError("Package metadata part names are reserved.");
|
|
1919
1928
|
const key = uri.toLowerCase();
|
|
@@ -2085,7 +2094,7 @@ class OpcPackage {
|
|
|
2085
2094
|
}
|
|
2086
2095
|
}
|
|
2087
2096
|
const _exports = Object.freeze({ partUri: _m23.partUri, relationshipPartUri: _m23.relationshipPartUri, relativePartTarget: _m23.relativePartTarget, corePropertiesXml: _m24.corePropertiesXml, appPropertiesXml: _m24.appPropertiesXml, relationshipsNamespace: relationshipsNamespace, officeRelationshipsNamespace: officeRelationshipsNamespace, contentTypesNamespace: contentTypesNamespace, relationshipTypes: relationshipTypes, ContentTypes: ContentTypes, OpcPackage: OpcPackage });
|
|
2088
|
-
_modules.set("
|
|
2097
|
+
_modules.set("945379594834125fea38bc00f02ef077409dd15f6ed67279e63e89afe0bb944b", _exports);
|
|
2089
2098
|
return _exports;
|
|
2090
2099
|
})();
|
|
2091
2100
|
|
|
@@ -2538,7 +2547,7 @@ _modules.set("f1de2157d2aefa347a314940eb7f89c16545e11f69923920e605409433742f93",
|
|
|
2538
2547
|
return _exports;
|
|
2539
2548
|
})();
|
|
2540
2549
|
|
|
2541
|
-
const _m32 = _modules.get("
|
|
2550
|
+
const _m32 = _modules.get("e88a83ca79cd099fc2de29689554c913c7d04b17018098f81c43044064fcdfb8") ?? (() => {
|
|
2542
2551
|
const { cleanXml, escapeXml } = _m25;
|
|
2543
2552
|
|
|
2544
2553
|
const { assertExportValue, assertScalar } = _m5;
|
|
@@ -2597,14 +2606,23 @@ function columnName(index) {
|
|
|
2597
2606
|
return name;
|
|
2598
2607
|
}
|
|
2599
2608
|
function clipName(text, length) { return text.slice(0, length).replace(/[\ud800-\udbff]$/, ""); }
|
|
2609
|
+
function trimSheetNameEdges(text) {
|
|
2610
|
+
let start = 0, end = text.length;
|
|
2611
|
+
const removable = (character) => character === "'" || /\s/u.test(character);
|
|
2612
|
+
while (start < end && removable(text[start]))
|
|
2613
|
+
start++;
|
|
2614
|
+
while (end > start && removable(text[end - 1]))
|
|
2615
|
+
end--;
|
|
2616
|
+
return text.slice(start, end);
|
|
2617
|
+
}
|
|
2600
2618
|
function sheetName(requested, names, policy, register = true) {
|
|
2601
2619
|
if (typeof requested !== "string")
|
|
2602
2620
|
throw new TypeError("Sheet name must be a string.");
|
|
2603
2621
|
// Validate and deduplicate the decoded literal value, before ST_Xstring attribute encoding.
|
|
2604
2622
|
// A requested _xHHHH_ token is literal text; the serializer protects its leading underscore.
|
|
2605
|
-
let base = cleanXml(requested, policy).replace(/[\[\]:*?/\\]/g, "_")
|
|
2623
|
+
let base = trimSheetNameEdges(cleanXml(requested, policy).replace(/[\[\]:*?/\\]/g, "_"));
|
|
2606
2624
|
// Clipping can expose an internal apostrophe or the reserved History name.
|
|
2607
|
-
base = clipName(base, 31)
|
|
2625
|
+
base = trimSheetNameEdges(clipName(base, 31));
|
|
2608
2626
|
if (!base)
|
|
2609
2627
|
base = "Sheet";
|
|
2610
2628
|
if (base.toLowerCase() === "history")
|
|
@@ -2631,11 +2649,57 @@ function excelDate(date, mode) {
|
|
|
2631
2649
|
return (time - Date.UTC(1899, 11, 31)) / 86400000 + (time >= Date.UTC(1900, 2, 1) ? 1 : 0);
|
|
2632
2650
|
}
|
|
2633
2651
|
const _exports = Object.freeze({ Cell: Cell, assertXlsxValue: assertXlsxValue, copyValue: copyValue, cellText: cellText, inlineText: inlineText, columnName: columnName, sheetName: sheetName, excelDate: excelDate });
|
|
2634
|
-
_modules.set("
|
|
2652
|
+
_modules.set("e88a83ca79cd099fc2de29689554c913c7d04b17018098f81c43044064fcdfb8", _exports);
|
|
2635
2653
|
return _exports;
|
|
2636
2654
|
})();
|
|
2637
2655
|
|
|
2638
|
-
const
|
|
2656
|
+
const _m34 = _modules.get("e92456dbf0c50db97c8b6cf9a09365489ca3a882b4d506ad4dd841805b1146d1") ?? (() => {
|
|
2657
|
+
const { captureFields } = _m10;
|
|
2658
|
+
|
|
2659
|
+
/** Capture bounded disjoint ranges before asynchronous serialization; absent columns stay visible. */
|
|
2660
|
+
function captureColumnOutlines(input, columns) {
|
|
2661
|
+
if (input === undefined)
|
|
2662
|
+
return undefined;
|
|
2663
|
+
if (!Array.isArray(input) || input.length > columns)
|
|
2664
|
+
throw new TypeError("Column outlines must be bounded, non-overlapping ranges.");
|
|
2665
|
+
let end = 0;
|
|
2666
|
+
return Object.freeze(input.map(range => {
|
|
2667
|
+
if (!range || typeof range !== "object")
|
|
2668
|
+
throw new TypeError("Column outlines require range metadata.");
|
|
2669
|
+
return captureFields(range, ["firstColumn", "columnCount", "level", "hidden", "collapsed"]);
|
|
2670
|
+
}).sort((a, b) => a.firstColumn - b.firstColumn).map(range => {
|
|
2671
|
+
const { firstColumn, columnCount, level = 0, hidden, collapsed } = range;
|
|
2672
|
+
if (!Number.isSafeInteger(firstColumn) || firstColumn < end || !Number.isSafeInteger(columnCount) || columnCount < 1 || firstColumn + columnCount > columns)
|
|
2673
|
+
throw new RangeError("Column outline ranges must be disjoint and within the declared columns.");
|
|
2674
|
+
if (!Number.isInteger(level) || level < 0 || level > 7)
|
|
2675
|
+
throw new RangeError("Column outline level must be from zero through seven.");
|
|
2676
|
+
for (const flag of [hidden, collapsed])
|
|
2677
|
+
if (flag !== undefined && typeof flag !== "boolean")
|
|
2678
|
+
throw new TypeError("Column outline flags must be booleans.");
|
|
2679
|
+
end = firstColumn + columnCount;
|
|
2680
|
+
return Object.freeze({ firstColumn, columnCount, level, ...(hidden === undefined ? {} : { hidden }), ...(collapsed === undefined ? {} : { collapsed }) });
|
|
2681
|
+
}));
|
|
2682
|
+
}
|
|
2683
|
+
/** @internal Positions are captured even when a sheet has only column outlines. */
|
|
2684
|
+
function validateOutlinePositions(options) {
|
|
2685
|
+
for (const flag of [options.outlineSummaryBelow, options.outlineSummaryRight])
|
|
2686
|
+
if (flag !== undefined && typeof flag !== "boolean")
|
|
2687
|
+
throw new TypeError("Outline summary positions must be booleans.");
|
|
2688
|
+
}
|
|
2689
|
+
/** @internal Resolve at most 16,384 columns once, without retaining any worksheet body. */
|
|
2690
|
+
function columnOutlineMap(ranges) {
|
|
2691
|
+
const result = new Map();
|
|
2692
|
+
for (const range of ranges ?? [])
|
|
2693
|
+
for (let index = range.firstColumn; index < range.firstColumn + range.columnCount; index++)
|
|
2694
|
+
result.set(index, range);
|
|
2695
|
+
return result;
|
|
2696
|
+
}
|
|
2697
|
+
const _exports = Object.freeze({ captureColumnOutlines: captureColumnOutlines, validateOutlinePositions: validateOutlinePositions, columnOutlineMap: columnOutlineMap });
|
|
2698
|
+
_modules.set("e92456dbf0c50db97c8b6cf9a09365489ca3a882b4d506ad4dd841805b1146d1", _exports);
|
|
2699
|
+
return _exports;
|
|
2700
|
+
})();
|
|
2701
|
+
|
|
2702
|
+
const _m37 = _modules.get("aaf6808e1812a251687fd513480fe845b5677ffa493bccf519409807fe4d250c") ?? (() => {
|
|
2639
2703
|
const { ChunkedTextSink } = _m3;
|
|
2640
2704
|
|
|
2641
2705
|
const { escapeXml, xmlDeclaration } = _m25;
|
|
@@ -2744,18 +2808,18 @@ async function writeChartXml(chart, destination, policy, signal) {
|
|
|
2744
2808
|
await text.close();
|
|
2745
2809
|
}
|
|
2746
2810
|
const _exports = Object.freeze({ chartNamespace: chartNamespace, chartContentType: chartContentType, chartAnchorXml: chartAnchorXml, writeChartXml: writeChartXml });
|
|
2747
|
-
_modules.set("
|
|
2811
|
+
_modules.set("aaf6808e1812a251687fd513480fe845b5677ffa493bccf519409807fe4d250c", _exports);
|
|
2748
2812
|
return _exports;
|
|
2749
2813
|
})();
|
|
2750
2814
|
|
|
2751
|
-
const
|
|
2815
|
+
const _m36 = _modules.get("d599dca57105b9cc787ba2498051ed0193cbdb1e5f23116e35bc77cd67a233f1") ?? (() => {
|
|
2752
2816
|
const { cleanXml, escapeXml, escapeOoxmlAttribute, xmlDeclaration } = _m25;
|
|
2753
2817
|
|
|
2754
2818
|
const { copyExportLink } = _m7;
|
|
2755
2819
|
|
|
2756
2820
|
const { officeRelationshipsNamespace } = _m22;
|
|
2757
2821
|
|
|
2758
|
-
const { chartAnchorXml } =
|
|
2822
|
+
const { chartAnchorXml } = _m37;
|
|
2759
2823
|
|
|
2760
2824
|
const { captureFields } = _m10;
|
|
2761
2825
|
|
|
@@ -2822,14 +2886,14 @@ function drawingXml(images, policy, charts = []) {
|
|
|
2822
2886
|
}
|
|
2823
2887
|
const drawingContentType = "application/vnd.openxmlformats-officedocument.drawing+xml";
|
|
2824
2888
|
const _exports = Object.freeze({ copyDrawingAnchor: copyDrawingAnchor, cellPosition: cellPosition, copyHyperlink: copyHyperlink, copyImage: copyImage, hyperlinksXml: hyperlinksXml, drawingXml: drawingXml, drawingContentType: drawingContentType });
|
|
2825
|
-
_modules.set("
|
|
2889
|
+
_modules.set("d599dca57105b9cc787ba2498051ed0193cbdb1e5f23116e35bc77cd67a233f1", _exports);
|
|
2826
2890
|
return _exports;
|
|
2827
2891
|
})();
|
|
2828
2892
|
|
|
2829
|
-
const
|
|
2893
|
+
const _m39 = _modules.get("39155eb25a58694b2caf100529b6c13dbe91f583741807b46232a2a567e19ecb") ?? (() => {
|
|
2830
2894
|
const { OfficeIMOError } = _m2;
|
|
2831
2895
|
|
|
2832
|
-
const { cellPosition } =
|
|
2896
|
+
const { cellPosition } = _m36;
|
|
2833
2897
|
|
|
2834
2898
|
function indexRows(regions) {
|
|
2835
2899
|
if (!regions.length)
|
|
@@ -2927,11 +2991,11 @@ class MergeRegions {
|
|
|
2927
2991
|
throw new RangeError("Merged ranges must stay within exported rows."); }
|
|
2928
2992
|
}
|
|
2929
2993
|
const _exports = Object.freeze({ MergeRegions: MergeRegions });
|
|
2930
|
-
_modules.set("
|
|
2994
|
+
_modules.set("39155eb25a58694b2caf100529b6c13dbe91f583741807b46232a2a567e19ecb", _exports);
|
|
2931
2995
|
return _exports;
|
|
2932
2996
|
})();
|
|
2933
2997
|
|
|
2934
|
-
const
|
|
2998
|
+
const _m40 = _modules.get("2a51a034ac74f5a0656731f46740bb80adee48101e7a4b51253d9399df11d238") ?? (() => {
|
|
2935
2999
|
const { ExportCell } = _m5;
|
|
2936
3000
|
|
|
2937
3001
|
const { tableSpans } = _m17;
|
|
@@ -2964,11 +3028,11 @@ class StructuredRows {
|
|
|
2964
3028
|
}
|
|
2965
3029
|
}
|
|
2966
3030
|
const _exports = Object.freeze({ StructuredRows: StructuredRows });
|
|
2967
|
-
_modules.set("
|
|
3031
|
+
_modules.set("2a51a034ac74f5a0656731f46740bb80adee48101e7a4b51253d9399df11d238", _exports);
|
|
2968
3032
|
return _exports;
|
|
2969
3033
|
})();
|
|
2970
3034
|
|
|
2971
|
-
const
|
|
3035
|
+
const _m38 = _modules.get("b732883d8635c0adf27cef2a3900f08374d02c9ce1b005d02af6853c8be627cc") ?? (() => {
|
|
2972
3036
|
const { ExportCell } = _m5;
|
|
2973
3037
|
|
|
2974
3038
|
const { isDate } = _m6;
|
|
@@ -2979,13 +3043,13 @@ const { FormulaCell } = _m33;
|
|
|
2979
3043
|
|
|
2980
3044
|
const { escapeOoxmlAttribute } = _m25;
|
|
2981
3045
|
|
|
2982
|
-
const { MergeRegions } =
|
|
3046
|
+
const { MergeRegions } = _m39;
|
|
2983
3047
|
|
|
2984
3048
|
const { OfficeIMOError } = _m2;
|
|
2985
3049
|
|
|
2986
3050
|
const { createTotals } = _m12;
|
|
2987
3051
|
|
|
2988
|
-
const { StructuredRows } =
|
|
3052
|
+
const { StructuredRows } = _m40;
|
|
2989
3053
|
|
|
2990
3054
|
/** @internal A computed formula with a numeric cache; no public arbitrary-formula input. */
|
|
2991
3055
|
class ComputedTotal {
|
|
@@ -3165,11 +3229,11 @@ function printXml(options, policy) {
|
|
|
3165
3229
|
(options.footer === undefined ? "" : '<oddFooter>' + escapeOoxmlAttribute("&C" + options.footer.replace(/&/g, "&&"), policy) + '</oddFooter>') + '</headerFooter>' : "");
|
|
3166
3230
|
}
|
|
3167
3231
|
const _exports = Object.freeze({ ComputedTotal: ComputedTotal, ReportLayout: ReportLayout, totalFormula: totalFormula, printXml: printXml });
|
|
3168
|
-
_modules.set("
|
|
3232
|
+
_modules.set("b732883d8635c0adf27cef2a3900f08374d02c9ce1b005d02af6853c8be627cc", _exports);
|
|
3169
3233
|
return _exports;
|
|
3170
3234
|
})();
|
|
3171
3235
|
|
|
3172
|
-
const
|
|
3236
|
+
const _m42 = _modules.get("09d589ff8f82302ce4c17411c7b811a87fb034e61e4b3013b7f8b18853a90449") ?? (() => {
|
|
3173
3237
|
const { columnName } = _m32;
|
|
3174
3238
|
|
|
3175
3239
|
/** @internal Data-column selectors use stable keys or one-based worksheet columns. */
|
|
@@ -3196,11 +3260,11 @@ function qualifiedCell(sheetName, column, row) {
|
|
|
3196
3260
|
return qualifiedColumnRange(sheetName, column, row, 1).split(":")[0];
|
|
3197
3261
|
}
|
|
3198
3262
|
const _exports = Object.freeze({ resolveDataColumn: resolveDataColumn, qualifiedColumnRange: qualifiedColumnRange, qualifiedCell: qualifiedCell });
|
|
3199
|
-
_modules.set("
|
|
3263
|
+
_modules.set("09d589ff8f82302ce4c17411c7b811a87fb034e61e4b3013b7f8b18853a90449", _exports);
|
|
3200
3264
|
return _exports;
|
|
3201
3265
|
})();
|
|
3202
3266
|
|
|
3203
|
-
const
|
|
3267
|
+
const _m43 = _modules.get("55a9bd1fb59ea19bf98a03859769a119fdc71a44075e560937e7184720e53514") ?? (() => {
|
|
3204
3268
|
const { OfficeIMOError } = _m2;
|
|
3205
3269
|
|
|
3206
3270
|
const { columnName } = _m32;
|
|
@@ -3243,22 +3307,22 @@ function dataRowReference(firstColumn, lastColumn, headerRows, dataRows, ranges)
|
|
|
3243
3307
|
return reference || undefined;
|
|
3244
3308
|
}
|
|
3245
3309
|
const _exports = Object.freeze({ retainDataRowRanges: retainDataRowRanges, dataRowRanges: dataRowRanges, dataRowCount: dataRowCount, dataRowReference: dataRowReference });
|
|
3246
|
-
_modules.set("
|
|
3310
|
+
_modules.set("55a9bd1fb59ea19bf98a03859769a119fdc71a44075e560937e7184720e53514", _exports);
|
|
3247
3311
|
return _exports;
|
|
3248
3312
|
})();
|
|
3249
3313
|
|
|
3250
|
-
const
|
|
3314
|
+
const _m41 = _modules.get("a1b616256344317787b0b102f35d062009d6a2e9c873b9f106c99c095c92ace3") ?? (() => {
|
|
3251
3315
|
const { cleanXml, escapeXml, escapeOoxmlAttribute } = _m25;
|
|
3252
3316
|
|
|
3253
|
-
const { cellPosition } =
|
|
3317
|
+
const { cellPosition } = _m36;
|
|
3254
3318
|
|
|
3255
3319
|
const { colorArgb } = _m30;
|
|
3256
3320
|
|
|
3257
3321
|
const { fields, optionalBoolean, differentialXml } = _m31;
|
|
3258
3322
|
|
|
3259
|
-
const { resolveDataColumn } =
|
|
3323
|
+
const { resolveDataColumn } = _m42;
|
|
3260
3324
|
|
|
3261
|
-
const { dataRowReference } =
|
|
3325
|
+
const { dataRowReference } = _m43;
|
|
3262
3326
|
|
|
3263
3327
|
function target(range, columns) {
|
|
3264
3328
|
if (typeof range === "string") {
|
|
@@ -3413,11 +3477,11 @@ class ConditionalFormats {
|
|
|
3413
3477
|
}
|
|
3414
3478
|
}
|
|
3415
3479
|
const _exports = Object.freeze({ prepareConditionalFormats: prepareConditionalFormats, ConditionalFormats: ConditionalFormats });
|
|
3416
|
-
_modules.set("
|
|
3480
|
+
_modules.set("a1b616256344317787b0b102f35d062009d6a2e9c873b9f106c99c095c92ace3", _exports);
|
|
3417
3481
|
return _exports;
|
|
3418
3482
|
})();
|
|
3419
3483
|
|
|
3420
|
-
const
|
|
3484
|
+
const _m44 = _modules.get("13fa96d976e4dec7343dd3a392829567f1fcb574324a98f5a5d3a61c9a0dc27d") ?? (() => {
|
|
3421
3485
|
const { OfficeIMOError } = _m2;
|
|
3422
3486
|
|
|
3423
3487
|
const { checkAbort } = _m4;
|
|
@@ -3426,9 +3490,9 @@ const { cleanXml, escapeOoxmlAttribute, escapeXml } = _m25;
|
|
|
3426
3490
|
|
|
3427
3491
|
const { fields, optionalBoolean } = _m31;
|
|
3428
3492
|
|
|
3429
|
-
const { resolveDataColumn } =
|
|
3493
|
+
const { resolveDataColumn } = _m42;
|
|
3430
3494
|
|
|
3431
|
-
const { dataRowReference } =
|
|
3495
|
+
const { dataRowReference } = _m43;
|
|
3432
3496
|
|
|
3433
3497
|
function message(value, maximum, name) {
|
|
3434
3498
|
if (value === undefined)
|
|
@@ -3517,11 +3581,11 @@ function* dataValidationsXml(prepared, headerRows, dataRows, ranges) {
|
|
|
3517
3581
|
yield '</dataValidations>';
|
|
3518
3582
|
}
|
|
3519
3583
|
const _exports = Object.freeze({ prepareDataValidations: prepareDataValidations, dataValidationsXml: dataValidationsXml });
|
|
3520
|
-
_modules.set("
|
|
3584
|
+
_modules.set("13fa96d976e4dec7343dd3a392829567f1fcb574324a98f5a5d3a61c9a0dc27d", _exports);
|
|
3521
3585
|
return _exports;
|
|
3522
3586
|
})();
|
|
3523
3587
|
|
|
3524
|
-
const
|
|
3588
|
+
const _m35 = _modules.get("a61e744201bb537b635b367b1764bd85892101d55e00b8c78faec8be89577376") ?? (() => {
|
|
3525
3589
|
const { checkAbort, consumeRows, inputRows, pause, taskYieldDue } = _m4;
|
|
3526
3590
|
|
|
3527
3591
|
const { ChunkedTextSink, BlobByteSink } = _m3;
|
|
@@ -3542,25 +3606,27 @@ const { Cell, cellText, columnName, inlineText, excelDate, copyValue } = _m32;
|
|
|
3542
3606
|
|
|
3543
3607
|
const { spreadsheetNamespace, colorArgb, validateStylePatch, copyStylePatch } = _m29;
|
|
3544
3608
|
|
|
3545
|
-
const { copyHyperlink, copyImage, hyperlinksXml, cellPosition } =
|
|
3609
|
+
const { copyHyperlink, copyImage, hyperlinksXml, cellPosition } = _m36;
|
|
3546
3610
|
|
|
3547
3611
|
const { ExportCell, assertScalar } = _m5;
|
|
3548
3612
|
|
|
3549
|
-
const { ReportLayout, ComputedTotal, printXml } =
|
|
3613
|
+
const { ReportLayout, ComputedTotal, printXml } = _m38;
|
|
3550
3614
|
|
|
3551
3615
|
const { cleanXml } = _m25;
|
|
3552
3616
|
|
|
3553
|
-
const { ConditionalFormats, prepareConditionalFormats } =
|
|
3617
|
+
const { ConditionalFormats, prepareConditionalFormats } = _m41;
|
|
3554
3618
|
|
|
3555
3619
|
const { isDate } = _m6;
|
|
3556
3620
|
|
|
3557
3621
|
const { FormulaCell, formulaXml, isSubtotalFormula } = _m33;
|
|
3558
3622
|
|
|
3559
|
-
const { prepareDataValidations, dataValidationsXml } =
|
|
3623
|
+
const { prepareDataValidations, dataValidationsXml } = _m44;
|
|
3560
3624
|
|
|
3561
|
-
const { qualifiedCell, qualifiedColumnRange, resolveDataColumn } =
|
|
3625
|
+
const { qualifiedCell, qualifiedColumnRange, resolveDataColumn } = _m42;
|
|
3562
3626
|
|
|
3563
|
-
const { dataRowRanges, dataRowCount } =
|
|
3627
|
+
const { dataRowRanges, dataRowCount } = _m43;
|
|
3628
|
+
|
|
3629
|
+
const { captureColumnOutlines, columnOutlineMap, validateOutlinePositions } = _m34;
|
|
3564
3630
|
|
|
3565
3631
|
const maximumHyperlinks = 65530;
|
|
3566
3632
|
function checkHyperlinkCount(count) {
|
|
@@ -3692,6 +3758,8 @@ class Worksheet {
|
|
|
3692
3758
|
throw new TypeError("Row and style callbacks must be functions.");
|
|
3693
3759
|
if (options.maxOutlineLevel !== undefined && (!Number.isInteger(options.maxOutlineLevel) || options.maxOutlineLevel < 0 || options.maxOutlineLevel > 7))
|
|
3694
3760
|
throw new RangeError("Maximum outline level must be an integer from zero through seven.");
|
|
3761
|
+
validateOutlinePositions(options);
|
|
3762
|
+
captureColumnOutlines(options.columnOutlines, columns.length);
|
|
3695
3763
|
if (options.rowOutline && options.maxOutlineLevel === undefined)
|
|
3696
3764
|
throw new TypeError("A row outline callback requires maxOutlineLevel before streamed rows are written.");
|
|
3697
3765
|
if (!options.rowOutline && options.maxOutlineLevel !== undefined)
|
|
@@ -3976,17 +4044,22 @@ class Worksheet {
|
|
|
3976
4044
|
const buffer = this.buffer = new ChunkedTextSink(this.entry, this.book.settings.signal), opts = this.options;
|
|
3977
4045
|
const x = opts.freezeColumns ?? 0, y = opts.freezeHeader ? this.headerRows : 0;
|
|
3978
4046
|
const pane = x && y ? "bottomRight" : x ? "topRight" : "bottomLeft", cell = columnName(x + 1) + (y + 1);
|
|
4047
|
+
const outlines = columnOutlineMap(opts.columnOutlines), hasOutline = !!opts.rowOutline || outlines.size > 0;
|
|
4048
|
+
const maxColumnLevel = Math.max(0, ...Array.from(outlines.values(), value => value.level ?? 0));
|
|
3979
4049
|
await buffer.write(xmlDeclaration + '<worksheet xmlns="' + spreadsheetNamespace + '" xmlns:r="' + officeRelationshipsNamespace + '">' +
|
|
3980
|
-
(opts.print ||
|
|
4050
|
+
(opts.print || hasOutline ? '<sheetPr>' + (hasOutline ? '<outlinePr summaryBelow="' + (opts.outlineSummaryBelow === false ? "0" : "1") + '"' + (opts.outlineSummaryRight === undefined ? "" : ' summaryRight="' + (opts.outlineSummaryRight ? "1" : "0") + '"') + ' showOutlineSymbols="1"/>' : "") + (opts.print ? '<pageSetUpPr fitToPage="1"/>' : "") + '</sheetPr>' : "") + '<sheetViews><sheetView workbookViewId="0">' +
|
|
3981
4051
|
(x || y ? '<pane' + (x ? ' xSplit="' + x + '"' : "") + (y ? ' ySplit="' + y + '"' : "") + ' topLeftCell="' + cell + '" activePane="' + pane + '" state="frozen"/><selection pane="' + pane + '" activeCell="' + cell + '" sqref="' + cell + '"/>' : "") + '</sheetView></sheetViews>' +
|
|
3982
|
-
(
|
|
4052
|
+
(hasOutline ? '<sheetFormatPr defaultRowHeight="15"' + (opts.rowOutline ? ' outlineLevelRow="' + opts.maxOutlineLevel + '"' : "") + (outlines.size ? ' outlineLevelCol="' + maxColumnLevel + '"' : "") + '/>' : ""));
|
|
3983
4053
|
const defaultWidth = opts.defaultColumnWidth ?? (this.table ? 20 : undefined);
|
|
3984
|
-
if (this.columns.some((_, i) => this.layout.widths[i] !== undefined || defaultWidth !== undefined)) {
|
|
4054
|
+
if (this.columns.some((_, i) => this.layout.widths[i] !== undefined || defaultWidth !== undefined || outlines.has(i))) {
|
|
3985
4055
|
await buffer.write('<cols>');
|
|
3986
4056
|
for (let i = 0; i < this.columns.length; i++) {
|
|
3987
|
-
const width = this.layout.widths[i] ?? defaultWidth;
|
|
3988
|
-
if (width !== undefined)
|
|
3989
|
-
await buffer.write('<col min="' + (i + 1) + '" max="' + (i + 1) + '"
|
|
4057
|
+
const width = this.layout.widths[i] ?? defaultWidth, outline = outlines.get(i);
|
|
4058
|
+
if (width !== undefined || outline)
|
|
4059
|
+
await buffer.write('<col min="' + (i + 1) + '" max="' + (i + 1) + '"' +
|
|
4060
|
+
(width === undefined ? "" : ' width="' + width + '" customWidth="1"') +
|
|
4061
|
+
(outline?.level ? ' outlineLevel="' + outline.level + '"' : "") + (outline?.hidden ? ' hidden="1"' : "") +
|
|
4062
|
+
(outline?.collapsed ? ' collapsed="1"' : "") + '/>');
|
|
3990
4063
|
}
|
|
3991
4064
|
await buffer.write('</cols>');
|
|
3992
4065
|
}
|
|
@@ -4244,11 +4317,11 @@ class Worksheet {
|
|
|
4244
4317
|
async discard(error) { this.failed = true; this.error = error; this.pending = []; this.pendingCharacters = 0; this.prepared = undefined; this.buffer = undefined; this.nativeCharts.length = 0; this.chartSources.length = 0; this.output.discard(); await this.entry?.discard(error); }
|
|
4245
4318
|
}
|
|
4246
4319
|
const _exports = Object.freeze({ Worksheet: Worksheet });
|
|
4247
|
-
_modules.set("
|
|
4320
|
+
_modules.set("a61e744201bb537b635b367b1764bd85892101d55e00b8c78faec8be89577376", _exports);
|
|
4248
4321
|
return _exports;
|
|
4249
4322
|
})();
|
|
4250
4323
|
|
|
4251
|
-
const
|
|
4324
|
+
const _m45 = _modules.get("1b4698baf9a9c9b3505988abac9f83967c32cf37483d70a949ae89c4485532a4") ?? (() => {
|
|
4252
4325
|
const { escapeOoxmlAttribute, escapeXml, xmlDeclaration } = _m25;
|
|
4253
4326
|
|
|
4254
4327
|
const { cellText, columnName } = _m32;
|
|
@@ -4259,7 +4332,7 @@ const { ExportCell } = _m5;
|
|
|
4259
4332
|
|
|
4260
4333
|
const { Cell } = _m32;
|
|
4261
4334
|
|
|
4262
|
-
const { totalFormula } =
|
|
4335
|
+
const { totalFormula } = _m38;
|
|
4263
4336
|
|
|
4264
4337
|
function defineTable(id, options, columns, policy) {
|
|
4265
4338
|
const name = options.name ?? "Table" + id;
|
|
@@ -4291,11 +4364,11 @@ function tableXml(table, rowCount, policy, headerRow = 1, footer) {
|
|
|
4291
4364
|
'" showColumnStripes="' + (options.bandedColumns ? 1 : 0) + '"/></table>';
|
|
4292
4365
|
}
|
|
4293
4366
|
const _exports = Object.freeze({ defineTable: defineTable, tableXml: tableXml });
|
|
4294
|
-
_modules.set("
|
|
4367
|
+
_modules.set("1b4698baf9a9c9b3505988abac9f83967c32cf37483d70a949ae89c4485532a4", _exports);
|
|
4295
4368
|
return _exports;
|
|
4296
4369
|
})();
|
|
4297
4370
|
|
|
4298
|
-
const
|
|
4371
|
+
const _m46 = _modules.get("0c395783b9d7cc62dd39a21adeb698ad4a61e2c89f7b1fc8712e2eb2ccfe9d92") ?? (() => {
|
|
4299
4372
|
const { OfficeIMOError } = _m2;
|
|
4300
4373
|
|
|
4301
4374
|
const { cleanXml } = _m25;
|
|
@@ -4363,13 +4436,13 @@ _modules.set("0c395783b9d7cc62dd39a21adeb698ad4a61e2c89f7b1fc8712e2eb2ccfe9d92",
|
|
|
4363
4436
|
return _exports;
|
|
4364
4437
|
})();
|
|
4365
4438
|
|
|
4366
|
-
const
|
|
4439
|
+
const _m47 = _modules.get("477ff98f49343b8ec4213008254b57a60dd42d07cb9843b3791d5e5f8e295865") ?? (() => {
|
|
4367
4440
|
const { captureFields } = _m10;
|
|
4368
4441
|
|
|
4369
4442
|
/** @internal The workbook owner captures these settings before validation or adapter merging. */
|
|
4370
4443
|
const workbookOptionFields = ["signal", "onProgress", "limits", "sink", "dateMode", "compression", "invalidCharacterPolicy", "appProperties", "cellValueWriters", "oversizedText", "creator", "title", "subject", "description", "created", "modified"];
|
|
4371
4444
|
/** @internal Worksheet settings also used by the portable sheet owner. */
|
|
4372
|
-
const sheetOptionFields = ["columns", "includeHeader", "headerRows", "freezeHeader", "autoFilter", "boldHeader", "headerFill", "headerStyle", "alternatingRowStyle", "rowStyle", "cellStyle", "rowOutline", "maxOutlineLevel", "rowHeight", "headerHeight", "defaultColumnWidth", "freezeColumns", "table", "autoSize", "footer", "print", "title", "mergedCells", "hyperlinks", "conditionalFormats", "dataValidation"];
|
|
4445
|
+
const sheetOptionFields = ["columns", "includeHeader", "headerRows", "freezeHeader", "autoFilter", "boldHeader", "headerFill", "headerStyle", "alternatingRowStyle", "rowStyle", "cellStyle", "rowOutline", "maxOutlineLevel", "outlineSummaryBelow", "outlineSummaryRight", "columnOutlines", "rowHeight", "headerHeight", "defaultColumnWidth", "freezeColumns", "table", "autoSize", "footer", "print", "title", "mergedCells", "hyperlinks", "conditionalFormats", "dataValidation"];
|
|
4373
4446
|
/** @internal Includes inherited format-specific ceilings before a wrapper combines stream settings. */
|
|
4374
4447
|
const workbookLimitFields = ["maxRows", "maxCells", "maxTextCharacters", "maxOutputBytes", "maxStyles", "maxSheets", "maxOverflowCharacters", "maxHyperlinks", "maxImageBytes", "maxBufferedCells", "maxBufferedCharacters", "maxMergedRanges", "maxConditionalFormats", "maxDifferentialStyles", "maxCharts", "maxChartPoints", "maxChartTextCharacters", "maxFormulaCharacters", "maxDataValidations", "maxValidationTextCharacters"];
|
|
4375
4448
|
/** @internal Capture the workbook's known ceilings without dropping supported prototype fields. */
|
|
@@ -4382,11 +4455,11 @@ function captureWorkbookOptions(options) {
|
|
|
4382
4455
|
return { ...captured, ...(captured.limits === undefined ? {} : { limits: captureWorkbookLimits(captured.limits) }) };
|
|
4383
4456
|
}
|
|
4384
4457
|
const _exports = Object.freeze({ workbookOptionFields: workbookOptionFields, sheetOptionFields: sheetOptionFields, workbookLimitFields: workbookLimitFields, captureWorkbookLimits: captureWorkbookLimits, captureWorkbookOptions: captureWorkbookOptions });
|
|
4385
|
-
_modules.set("
|
|
4458
|
+
_modules.set("477ff98f49343b8ec4213008254b57a60dd42d07cb9843b3791d5e5f8e295865", _exports);
|
|
4386
4459
|
return _exports;
|
|
4387
4460
|
})();
|
|
4388
4461
|
|
|
4389
|
-
const
|
|
4462
|
+
const _m49 = _modules.get("35db01801a6b2e3e0c5acd7493e56f04b5b41b1d57afa8be28b8358378ad6494") ?? (() => {
|
|
4390
4463
|
const { checkAbort } = _m4;
|
|
4391
4464
|
|
|
4392
4465
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
@@ -4518,18 +4591,18 @@ _modules.set("35db01801a6b2e3e0c5acd7493e56f04b5b41b1d57afa8be28b8358378ad6494",
|
|
|
4518
4591
|
return _exports;
|
|
4519
4592
|
})();
|
|
4520
4593
|
|
|
4521
|
-
const
|
|
4594
|
+
const _m48 = _modules.get("24f1417c3c320a8a41137c28f70b72091256c63010be0c88b684dce85f54950c") ?? (() => {
|
|
4522
4595
|
const { checkAbort } = _m4;
|
|
4523
4596
|
|
|
4524
4597
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
4525
4598
|
|
|
4526
4599
|
const { cleanXml } = _m25;
|
|
4527
4600
|
|
|
4528
|
-
const { copyDrawingAnchor } =
|
|
4601
|
+
const { copyDrawingAnchor } = _m36;
|
|
4529
4602
|
|
|
4530
4603
|
const { captureFields } = _m10;
|
|
4531
4604
|
|
|
4532
|
-
const { captureChartRange, prepareChartBinding } =
|
|
4605
|
+
const { captureChartRange, prepareChartBinding } = _m49;
|
|
4533
4606
|
|
|
4534
4607
|
function fields(value, allowed, context) {
|
|
4535
4608
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
@@ -4685,11 +4758,11 @@ function prepareChart(input, policy, availablePoints, availableText, signal, res
|
|
|
4685
4758
|
points, textCharacters });
|
|
4686
4759
|
}
|
|
4687
4760
|
const _exports = Object.freeze({ prepareChart: prepareChart });
|
|
4688
|
-
_modules.set("
|
|
4761
|
+
_modules.set("24f1417c3c320a8a41137c28f70b72091256c63010be0c88b684dce85f54950c", _exports);
|
|
4689
4762
|
return _exports;
|
|
4690
4763
|
})();
|
|
4691
4764
|
|
|
4692
|
-
const _m21 = _modules.get("
|
|
4765
|
+
const _m21 = _modules.get("e89ecd2f5e1738c6e88f72ac2bcac70dfaa81b4aa86edf333e9b395cf2212e2a") ?? (() => {
|
|
4693
4766
|
const { beginTask, checkAbort, pause, taskYieldDue } = _m4;
|
|
4694
4767
|
|
|
4695
4768
|
const { OfficeIMOError } = _m2;
|
|
@@ -4712,25 +4785,27 @@ const { copyColumns } = _m11;
|
|
|
4712
4785
|
|
|
4713
4786
|
const { captureFields } = _m10;
|
|
4714
4787
|
|
|
4788
|
+
const { captureColumnOutlines } = _m34;
|
|
4789
|
+
|
|
4715
4790
|
const { captureTableSpans } = _m17;
|
|
4716
4791
|
|
|
4717
4792
|
const { assertExportValue } = _m5;
|
|
4718
4793
|
|
|
4719
|
-
const { Worksheet } =
|
|
4794
|
+
const { Worksheet } = _m35;
|
|
4720
4795
|
|
|
4721
|
-
const { defineTable, tableXml } =
|
|
4796
|
+
const { defineTable, tableXml } = _m45;
|
|
4722
4797
|
|
|
4723
|
-
const { copyHyperlink, drawingXml, drawingContentType } =
|
|
4798
|
+
const { copyHyperlink, drawingXml, drawingContentType } = _m36;
|
|
4724
4799
|
|
|
4725
|
-
const { TextOverflow } =
|
|
4800
|
+
const { TextOverflow } = _m46;
|
|
4726
4801
|
|
|
4727
|
-
const { captureWorkbookOptions, sheetOptionFields } =
|
|
4802
|
+
const { captureWorkbookOptions, sheetOptionFields } = _m47;
|
|
4728
4803
|
|
|
4729
|
-
const { prepareChart } =
|
|
4804
|
+
const { prepareChart } = _m48;
|
|
4730
4805
|
|
|
4731
|
-
const { qualifiedColumnRange, resolveDataColumn } =
|
|
4806
|
+
const { qualifiedColumnRange, resolveDataColumn } = _m42;
|
|
4732
4807
|
|
|
4733
|
-
const { chartContentType, writeChartXml } =
|
|
4808
|
+
const { chartContentType, writeChartXml } = _m37;
|
|
4734
4809
|
|
|
4735
4810
|
const xlsxMime = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
4736
4811
|
const formatType = (name) => "application/vnd.openxmlformats-officedocument.spreadsheetml." + name + "+xml";
|
|
@@ -4741,6 +4816,7 @@ function captureSheet(options, policy) {
|
|
|
4741
4816
|
const footer = captured.footer && captureFields(captured.footer, ["rows", "values", "totals", "style"]);
|
|
4742
4817
|
const print = captured.print && captureFields(captured.print, ["paper", "orientation", "fitToWidth", "fitToHeight", "repeatHeaders", "margins", "header", "footer"]);
|
|
4743
4818
|
return { ...captured, columns,
|
|
4819
|
+
...(captured.columnOutlines === undefined ? {} : { columnOutlines: captureColumnOutlines(captured.columnOutlines, columns.length) }),
|
|
4744
4820
|
...(captured.headerRows === undefined ? {} : { headerRows: captureTableSpans(captured.headerRows, columns.length) }),
|
|
4745
4821
|
...(footer ? { footer: { ...footer,
|
|
4746
4822
|
...(footer.rows === undefined ? {} : { rows: captureTableSpans(footer.rows, columns.length) }),
|
|
@@ -5167,14 +5243,14 @@ class Workbook {
|
|
|
5167
5243
|
}
|
|
5168
5244
|
}
|
|
5169
5245
|
const _exports = Object.freeze({ Workbook: Workbook });
|
|
5170
|
-
_modules.set("
|
|
5246
|
+
_modules.set("e89ecd2f5e1738c6e88f72ac2bcac70dfaa81b4aa86edf333e9b395cf2212e2a", _exports);
|
|
5171
5247
|
return _exports;
|
|
5172
5248
|
})();
|
|
5173
5249
|
|
|
5174
|
-
const
|
|
5250
|
+
const _m51 = _modules.get("a10003e971cd5ec2cee127bc9b029a0aa06fe3d50112838929d7a04a55e177c0") ?? (() => {
|
|
5175
5251
|
const { ExportCell, assertScalar } = _m5;
|
|
5176
5252
|
|
|
5177
|
-
const { captureWorkbookOptions, sheetOptionFields } =
|
|
5253
|
+
const { captureWorkbookOptions, sheetOptionFields } = _m47;
|
|
5178
5254
|
|
|
5179
5255
|
const { captureFields } = _m10;
|
|
5180
5256
|
|
|
@@ -5220,22 +5296,22 @@ function portableWorkbook(options = {}) {
|
|
|
5220
5296
|
return { ...options, cellValueWriters: wrapped };
|
|
5221
5297
|
}
|
|
5222
5298
|
const _exports = Object.freeze({ portableSheet: portableSheet, portableWorkbook: portableWorkbook });
|
|
5223
|
-
_modules.set("
|
|
5299
|
+
_modules.set("a10003e971cd5ec2cee127bc9b029a0aa06fe3d50112838929d7a04a55e177c0", _exports);
|
|
5224
5300
|
return _exports;
|
|
5225
5301
|
})();
|
|
5226
5302
|
|
|
5227
|
-
const
|
|
5303
|
+
const _m50 = _modules.get("5bfd5c9c5e179305b9bebd6cb0d6a0d75e974b223e119e0fd4fbb773325f1e63") ?? (() => {
|
|
5228
5304
|
const { withDestination } = _m3;
|
|
5229
5305
|
|
|
5230
5306
|
const { copyColumns } = _m11;
|
|
5231
5307
|
|
|
5232
5308
|
const { Workbook } = _m21;
|
|
5233
5309
|
|
|
5234
|
-
const { portableSheet, portableWorkbook } =
|
|
5310
|
+
const { portableSheet, portableWorkbook } = _m51;
|
|
5235
5311
|
|
|
5236
5312
|
const { captureFields } = _m10;
|
|
5237
5313
|
|
|
5238
|
-
const { sheetOptionFields, workbookOptionFields } =
|
|
5314
|
+
const { sheetOptionFields, workbookOptionFields } = _m47;
|
|
5239
5315
|
|
|
5240
5316
|
function prepare(options) {
|
|
5241
5317
|
options = captureFields(options, [...workbookOptionFields, "columns", "sheet"]);
|
|
@@ -5279,11 +5355,11 @@ async function writeXlsxTo(rows, destination, configuration) {
|
|
|
5279
5355
|
});
|
|
5280
5356
|
}
|
|
5281
5357
|
const _exports = Object.freeze({ writeXlsx: writeXlsx, writeXlsxTo: writeXlsxTo });
|
|
5282
|
-
_modules.set("
|
|
5358
|
+
_modules.set("5bfd5c9c5e179305b9bebd6cb0d6a0d75e974b223e119e0fd4fbb773325f1e63", _exports);
|
|
5283
5359
|
return _exports;
|
|
5284
5360
|
})();
|
|
5285
5361
|
|
|
5286
|
-
const
|
|
5362
|
+
const _m53 = _modules.get("dd34d5fd89869a0f953f3f2b3fd27ac83be29e68f76c9087fae3d33095aeda7c") ?? (() => {
|
|
5287
5363
|
const { assertGroupedReportSource } = _m8;
|
|
5288
5364
|
|
|
5289
5365
|
const { captureFields } = _m10;
|
|
@@ -5292,11 +5368,11 @@ const { OfficeIMOError } = _m2;
|
|
|
5292
5368
|
|
|
5293
5369
|
const { fields } = _m31;
|
|
5294
5370
|
|
|
5295
|
-
const { sheetOptionFields } =
|
|
5371
|
+
const { sheetOptionFields } = _m47;
|
|
5296
5372
|
|
|
5297
|
-
const { portableSheet } =
|
|
5373
|
+
const { portableSheet } = _m51;
|
|
5298
5374
|
|
|
5299
|
-
const { resolveDataColumn } =
|
|
5375
|
+
const { resolveDataColumn } = _m42;
|
|
5300
5376
|
|
|
5301
5377
|
const { copyStylePatch } = _m29;
|
|
5302
5378
|
|
|
@@ -5372,11 +5448,11 @@ function prepareGroupedSheet(report, configuration, maxConditionalFormats = 1000
|
|
|
5372
5448
|
...(options.grandTotalStyle ? { grandTotalStyle: copyStylePatch(options.grandTotalStyle) } : {}) };
|
|
5373
5449
|
}
|
|
5374
5450
|
const _exports = Object.freeze({ groupedOptionFields: groupedOptionFields, prepareGroupedSheet: prepareGroupedSheet });
|
|
5375
|
-
_modules.set("
|
|
5451
|
+
_modules.set("dd34d5fd89869a0f953f3f2b3fd27ac83be29e68f76c9087fae3d33095aeda7c", _exports);
|
|
5376
5452
|
return _exports;
|
|
5377
5453
|
})();
|
|
5378
5454
|
|
|
5379
|
-
const
|
|
5455
|
+
const _m52 = _modules.get("2ba62cdf88d559804bb84b20e9816b2de0f232401b7431ac414699a607d554a4") ?? (() => {
|
|
5380
5456
|
const { groupedReportOperation } = _m8;
|
|
5381
5457
|
|
|
5382
5458
|
const { checkAbort, withAbort } = _m4;
|
|
@@ -5391,11 +5467,11 @@ const { FormulaCell } = _m33;
|
|
|
5391
5467
|
|
|
5392
5468
|
const { columnName } = _m32;
|
|
5393
5469
|
|
|
5394
|
-
const { captureWorkbookLimits, workbookOptionFields } =
|
|
5470
|
+
const { captureWorkbookLimits, workbookOptionFields } = _m47;
|
|
5395
5471
|
|
|
5396
|
-
const { retainDataRowRanges } =
|
|
5472
|
+
const { retainDataRowRanges } = _m43;
|
|
5397
5473
|
|
|
5398
|
-
const { groupedOptionFields, prepareGroupedSheet } =
|
|
5474
|
+
const { groupedOptionFields, prepareGroupedSheet } = _m53;
|
|
5399
5475
|
|
|
5400
5476
|
const subtotalOperations = { average: 1, count: 2, max: 4, min: 5, sum: 9 };
|
|
5401
5477
|
function label(value) {
|
|
@@ -5549,18 +5625,18 @@ async function writeGroupedXlsxTo(report, destination, options) {
|
|
|
5549
5625
|
return withDestination(destination, async (sink) => (await write(report, prepared, sink)).result);
|
|
5550
5626
|
}
|
|
5551
5627
|
const _exports = Object.freeze({ addGroupedXlsx: addGroupedXlsx, writeGroupedXlsx: writeGroupedXlsx, writeGroupedXlsxTo: writeGroupedXlsxTo });
|
|
5552
|
-
_modules.set("
|
|
5628
|
+
_modules.set("2ba62cdf88d559804bb84b20e9816b2de0f232401b7431ac414699a607d554a4", _exports);
|
|
5553
5629
|
return _exports;
|
|
5554
5630
|
})();
|
|
5555
5631
|
|
|
5556
|
-
const _m20 = _modules.get("
|
|
5632
|
+
const _m20 = _modules.get("d6587a933b36ccfdba9a2a252389924ac8461f672b3a500082cceb5e53c8b0b6") ?? (() => {
|
|
5557
5633
|
|
|
5558
|
-
const _exports = Object.freeze({ Workbook: _m21.Workbook, writeXlsx:
|
|
5559
|
-
_modules.set("
|
|
5634
|
+
const _exports = Object.freeze({ Workbook: _m21.Workbook, writeXlsx: _m50.writeXlsx, writeXlsxTo: _m50.writeXlsxTo, writeGroupedXlsx: _m52.writeGroupedXlsx, writeGroupedXlsxTo: _m52.writeGroupedXlsxTo, addGroupedXlsx: _m52.addGroupedXlsx, createGroupedReport: _m8.createGroupedReport, Worksheet: _m35.Worksheet, Cell: _m32.Cell, FormulaCell: _m33.FormulaCell, StyleRegistry: _m29.StyleRegistry, NumberFormats: _m29.NumberFormats, saveBlob: _m1.saveBlob, ExportCell: _m5.ExportCell });
|
|
5635
|
+
_modules.set("d6587a933b36ccfdba9a2a252389924ac8461f672b3a500082cceb5e53c8b0b6", _exports);
|
|
5560
5636
|
return _exports;
|
|
5561
5637
|
})();
|
|
5562
5638
|
|
|
5563
|
-
const
|
|
5639
|
+
const _m58 = _modules.get("49927994ccf68595c9211828bccb16a874fa149bda2ea904d369d9943e93bc58") ?? (() => {
|
|
5564
5640
|
const { captureFields } = _m10;
|
|
5565
5641
|
|
|
5566
5642
|
/** Pure validation shared by document settings and named paragraph styles. */
|
|
@@ -5595,10 +5671,10 @@ _modules.set("49927994ccf68595c9211828bccb16a874fa149bda2ea904d369d9943e93bc58",
|
|
|
5595
5671
|
return _exports;
|
|
5596
5672
|
})();
|
|
5597
5673
|
|
|
5598
|
-
const
|
|
5674
|
+
const _m57 = _modules.get("278e6adc6a5d4491e688589ef165bd1aa9cc74f557da6f9d6bdf53ecc0c6df47") ?? (() => {
|
|
5599
5675
|
const { OfficeIMOError } = _m2;
|
|
5600
5676
|
|
|
5601
|
-
const { positive, presentation } =
|
|
5677
|
+
const { positive, presentation } = _m58;
|
|
5602
5678
|
|
|
5603
5679
|
const fields = ["fontSize", "presentation", "keepTogether", "keepWithNext", "spaceBefore", "spaceAfter"];
|
|
5604
5680
|
const presentationFields = ["bold", "italic", "color", "alignment"];
|
|
@@ -5669,7 +5745,7 @@ _modules.set("278e6adc6a5d4491e688589ef165bd1aa9cc74f557da6f9d6bdf53ecc0c6df47",
|
|
|
5669
5745
|
return _exports;
|
|
5670
5746
|
})();
|
|
5671
5747
|
|
|
5672
|
-
const
|
|
5748
|
+
const _m56 = _modules.get("4a089607f7cbe50e13d4382d1cc4e5f6ce32c5773bbec2df84178710f54d9a38") ?? (() => {
|
|
5673
5749
|
const { OfficeIMOError } = _m2;
|
|
5674
5750
|
|
|
5675
5751
|
const { ExportBudget } = _m9;
|
|
@@ -5682,11 +5758,11 @@ const { copyExportValue } = _m13;
|
|
|
5682
5758
|
|
|
5683
5759
|
const { captureFields } = _m10;
|
|
5684
5760
|
|
|
5685
|
-
const { captureParagraphStyles } =
|
|
5761
|
+
const { captureParagraphStyles } = _m57;
|
|
5686
5762
|
|
|
5687
5763
|
const { captureBooleanText } = _m18;
|
|
5688
5764
|
|
|
5689
|
-
const { positive, color, presentation } =
|
|
5765
|
+
const { positive, color, presentation } = _m58;
|
|
5690
5766
|
|
|
5691
5767
|
|
|
5692
5768
|
|
|
@@ -5876,12 +5952,12 @@ function settings(input, document = false) {
|
|
|
5876
5952
|
repeatedColumns: document ? Object.freeze([]) : repeatedColumns(options.wideTable, columns),
|
|
5877
5953
|
limits: { ...limits, ...(maxImageWorkingBytes === undefined ? {} : { maxImageWorkingBytes }) }, budget };
|
|
5878
5954
|
}
|
|
5879
|
-
const _exports = Object.freeze({ positive:
|
|
5955
|
+
const _exports = Object.freeze({ positive: _m58.positive, color: _m58.color, presentation: _m58.presentation, pdfOptionFields: pdfOptionFields, pdfLimitFields: pdfLimitFields, capturePdfOptions: capturePdfOptions, capturePdfLimits: capturePdfLimits, captureWideTable: captureWideTable, settings: settings });
|
|
5880
5956
|
_modules.set("4a089607f7cbe50e13d4382d1cc4e5f6ce32c5773bbec2df84178710f54d9a38", _exports);
|
|
5881
5957
|
return _exports;
|
|
5882
5958
|
})();
|
|
5883
5959
|
|
|
5884
|
-
const
|
|
5960
|
+
const _m61 = _modules.get("e3d39f39aebcbaf063fd8221df0d9cb5902ad2545a9d9e474bb59d47f15e2c01") ?? (() => {
|
|
5885
5961
|
/** @internal One type byte, an eight-byte offset/container number and a two-byte generation/index. */
|
|
5886
5962
|
const pdfXrefEntryBytes = 11;
|
|
5887
5963
|
function unsigned(bytes, offset, value, width) {
|
|
@@ -5917,12 +5993,12 @@ _modules.set("e3d39f39aebcbaf063fd8221df0d9cb5902ad2545a9d9e474bb59d47f15e2c01",
|
|
|
5917
5993
|
return _exports;
|
|
5918
5994
|
})();
|
|
5919
5995
|
|
|
5920
|
-
const
|
|
5996
|
+
const _m60 = _modules.get("e716b8b1da464094622f5f671518493c78e63ff22a029d61544d2d193b63ce8f") ?? (() => {
|
|
5921
5997
|
const { checkAbort, withAbort, pause, taskYieldDue } = _m4;
|
|
5922
5998
|
|
|
5923
5999
|
const { OfficeIMOError } = _m2;
|
|
5924
6000
|
|
|
5925
|
-
const { pdfXrefChunks, pdfXrefEntryBytes } =
|
|
6001
|
+
const { pdfXrefChunks, pdfXrefEntryBytes } = _m61;
|
|
5926
6002
|
|
|
5927
6003
|
const compactObjectCount = 256, compactObjectBytes = 32768;
|
|
5928
6004
|
const compactIndexChunkEntries = 4096;
|
|
@@ -6246,7 +6322,7 @@ _modules.set("e716b8b1da464094622f5f671518493c78e63ff22a029d61544d2d193b63ce8f",
|
|
|
6246
6322
|
return _exports;
|
|
6247
6323
|
})();
|
|
6248
6324
|
|
|
6249
|
-
const
|
|
6325
|
+
const _m65 = _modules.get("1e169e6ecdeceff319b5da4bf01f4c653c1a3d9e8ad696b141bf8ac52d9f446c") ?? (() => {
|
|
6250
6326
|
/** @internal Bounded big-endian reader used for caller-provided TrueType programs. */
|
|
6251
6327
|
class FontReader {
|
|
6252
6328
|
bytes;
|
|
@@ -6276,8 +6352,8 @@ _modules.set("1e169e6ecdeceff319b5da4bf01f4c653c1a3d9e8ad696b141bf8ac52d9f446c",
|
|
|
6276
6352
|
return _exports;
|
|
6277
6353
|
})();
|
|
6278
6354
|
|
|
6279
|
-
const
|
|
6280
|
-
const { align4 } =
|
|
6355
|
+
const _m66 = _modules.get("ecf6c6ab2f9c5f747338d0d59d9f2cae0b006d9d2a210bcb1545db1f046eb80c") ?? (() => {
|
|
6356
|
+
const { align4 } = _m65;
|
|
6281
6357
|
|
|
6282
6358
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
6283
6359
|
|
|
@@ -6501,12 +6577,12 @@ _modules.set("ecf6c6ab2f9c5f747338d0d59d9f2cae0b006d9d2a210bcb1545db1f046eb80c",
|
|
|
6501
6577
|
return _exports;
|
|
6502
6578
|
})();
|
|
6503
6579
|
|
|
6504
|
-
const
|
|
6580
|
+
const _m64 = _modules.get("2e1fa1582af797386e2e2914c0a27237309b1692a3cc2be688f46590eb74480d") ?? (() => {
|
|
6505
6581
|
const { NotSupportedError } = _m2;
|
|
6506
6582
|
|
|
6507
|
-
const { FontReader } =
|
|
6583
|
+
const { FontReader } = _m65;
|
|
6508
6584
|
|
|
6509
|
-
const { subsetTrueType, subsetTrueTypeCooperatively } =
|
|
6585
|
+
const { subsetTrueType, subsetTrueTypeCooperatively } = _m66;
|
|
6510
6586
|
|
|
6511
6587
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
6512
6588
|
|
|
@@ -6746,8 +6822,8 @@ _modules.set("2e1fa1582af797386e2e2914c0a27237309b1692a3cc2be688f46590eb74480d",
|
|
|
6746
6822
|
return _exports;
|
|
6747
6823
|
})();
|
|
6748
6824
|
|
|
6749
|
-
const
|
|
6750
|
-
const { TrueTypeFont } =
|
|
6825
|
+
const _m63 = _modules.get("d9c1509dff0538488752433e47cd0927ece5f93c559ad0e32dc56602dfd44596") ?? (() => {
|
|
6826
|
+
const { TrueTypeFont } = _m64;
|
|
6751
6827
|
|
|
6752
6828
|
const { beginTask, checkAbort } = _m4;
|
|
6753
6829
|
|
|
@@ -6810,7 +6886,7 @@ _modules.set("d9c1509dff0538488752433e47cd0927ece5f93c559ad0e32dc56602dfd44596",
|
|
|
6810
6886
|
return _exports;
|
|
6811
6887
|
})();
|
|
6812
6888
|
|
|
6813
|
-
const
|
|
6889
|
+
const _m68 = _modules.get("1ed4965a6e2963a91190baa8a58ada8ce0edde8fe653bcb6609002e872af0d61") ?? (() => {
|
|
6814
6890
|
// Generated by scripts/pdf-widths.mjs from OfficeIMO.Pdf's Adobe AFM-derived metrics.
|
|
6815
6891
|
const helveticaWidths = new Map([
|
|
6816
6892
|
[32, [278, 278]],
|
|
@@ -7133,12 +7209,12 @@ _modules.set("1ed4965a6e2963a91190baa8a58ada8ce0edde8fe653bcb6609002e872af0d61",
|
|
|
7133
7209
|
return _exports;
|
|
7134
7210
|
})();
|
|
7135
7211
|
|
|
7136
|
-
const
|
|
7212
|
+
const _m67 = _modules.get("59911f0fe023545e9e97521b268551078bdc4c5f303e446a13b7d52f905e8070") ?? (() => {
|
|
7137
7213
|
const { OfficeIMOError } = _m2;
|
|
7138
7214
|
|
|
7139
|
-
const { PdfFont, fontProgram } =
|
|
7215
|
+
const { PdfFont, fontProgram } = _m63;
|
|
7140
7216
|
|
|
7141
|
-
const { helveticaWidths } =
|
|
7217
|
+
const { helveticaWidths } = _m68;
|
|
7142
7218
|
|
|
7143
7219
|
const winAnsiExtras = new Map([0x20ac, 0, 0x201a, 0x192, 0x201e, 0x2026, 0x2020, 0x2021, 0x2c6, 0x2030, 0x160, 0x2039, 0x152, 0, 0x17d, 0, 0, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014, 0x2dc, 0x2122, 0x161, 0x203a, 0x153, 0, 0x17e, 0x178].map((cp, i) => [cp, i + 128]));
|
|
7144
7220
|
/** @internal Called after scalar support succeeds when encoding a standard-font run. */
|
|
@@ -7202,14 +7278,14 @@ _modules.set("59911f0fe023545e9e97521b268551078bdc4c5f303e446a13b7d52f905e8070",
|
|
|
7202
7278
|
return _exports;
|
|
7203
7279
|
})();
|
|
7204
7280
|
|
|
7205
|
-
const
|
|
7281
|
+
const _m62 = _modules.get("4d4736e6b8e2aaecc6f6c1b124b7e6bc0a5e141dcc725edf0ad4847d87fca1b3") ?? (() => {
|
|
7206
7282
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
7207
7283
|
|
|
7208
|
-
const { fontProgram } =
|
|
7284
|
+
const { fontProgram } = _m63;
|
|
7209
7285
|
|
|
7210
|
-
const { resolveScalar, selectFont, standardCode, validateFonts } =
|
|
7286
|
+
const { resolveScalar, selectFont, standardCode, validateFonts } = _m67;
|
|
7211
7287
|
|
|
7212
|
-
const { pdfNumber, unicodeHex } =
|
|
7288
|
+
const { pdfNumber, unicodeHex } = _m60;
|
|
7213
7289
|
|
|
7214
7290
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
7215
7291
|
|
|
@@ -7434,7 +7510,7 @@ _modules.set("4d4736e6b8e2aaecc6f6c1b124b7e6bc0a5e141dcc725edf0ad4847d87fca1b3",
|
|
|
7434
7510
|
return _exports;
|
|
7435
7511
|
})();
|
|
7436
7512
|
|
|
7437
|
-
const
|
|
7513
|
+
const _m70 = _modules.get("253db2c0eab1f298fda61fb40a5ddaacbf6ad12a7408ee3d8c12d27f88e7ca27") ?? (() => {
|
|
7438
7514
|
const { OfficeIMOError } = _m2;
|
|
7439
7515
|
|
|
7440
7516
|
const { ExportCell, assertExportValue } = _m5;
|
|
@@ -7546,7 +7622,7 @@ _modules.set("253db2c0eab1f298fda61fb40a5ddaacbf6ad12a7408ee3d8c12d27f88e7ca27",
|
|
|
7546
7622
|
return _exports;
|
|
7547
7623
|
})();
|
|
7548
7624
|
|
|
7549
|
-
const
|
|
7625
|
+
const _m72 = _modules.get("8be3fb029e08d100ce8ffcf50916d5ba7f7bc00d62156cc33815fd58554a9ed6") ?? (() => {
|
|
7550
7626
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
7551
7627
|
|
|
7552
7628
|
const { checkAbort, pause, taskYieldDue, withAbort } = _m4;
|
|
@@ -7759,20 +7835,20 @@ _modules.set("8be3fb029e08d100ce8ffcf50916d5ba7f7bc00d62156cc33815fd58554a9ed6",
|
|
|
7759
7835
|
return _exports;
|
|
7760
7836
|
})();
|
|
7761
7837
|
|
|
7762
|
-
const
|
|
7838
|
+
const _m71 = _modules.get("0a1c79b51ac9a164b86197239117df6497f45ca2892b423b1ec77a663ccc1c47") ?? (() => {
|
|
7763
7839
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
7764
7840
|
|
|
7765
7841
|
const { copyExportLink } = _m7;
|
|
7766
7842
|
|
|
7767
7843
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
7768
7844
|
|
|
7769
|
-
const { presentation, color } =
|
|
7845
|
+
const { presentation, color } = _m56;
|
|
7770
7846
|
|
|
7771
|
-
const { wrapShapedPdfText } =
|
|
7847
|
+
const { wrapShapedPdfText } = _m72;
|
|
7772
7848
|
|
|
7773
|
-
const { PdfFont } =
|
|
7849
|
+
const { PdfFont } = _m63;
|
|
7774
7850
|
|
|
7775
|
-
const { pdfBudgetText } =
|
|
7851
|
+
const { pdfBudgetText } = _m70;
|
|
7776
7852
|
|
|
7777
7853
|
/** @internal Callers supply an owned, validated, frozen base presentation. A run list is a PDF presentation value, never an alternate shared table value model. */
|
|
7778
7854
|
function capturePdfText(value, base, settings, fonts, countEmpty = true, reserveBudget = true) {
|
|
@@ -7955,10 +8031,10 @@ _modules.set("0a1c79b51ac9a164b86197239117df6497f45ca2892b423b1ec77a663ccc1c47",
|
|
|
7955
8031
|
return _exports;
|
|
7956
8032
|
})();
|
|
7957
8033
|
|
|
7958
|
-
const
|
|
8034
|
+
const _m73 = _modules.get("2f40af05ba09102fe440c1d46385b64cecdd233371771796c9ae4e8d523f2cea") ?? (() => {
|
|
7959
8035
|
const { OfficeIMOError } = _m2;
|
|
7960
8036
|
|
|
7961
|
-
const { wrapPdfText } =
|
|
8037
|
+
const { wrapPdfText } = _m71;
|
|
7962
8038
|
|
|
7963
8039
|
/** Plan without opening a source. Exact column widths never shrink in band mode. */
|
|
7964
8040
|
function planTableBands(widths, settings) {
|
|
@@ -8054,7 +8130,7 @@ _modules.set("2f40af05ba09102fe440c1d46385b64cecdd233371771796c9ae4e8d523f2cea",
|
|
|
8054
8130
|
return _exports;
|
|
8055
8131
|
})();
|
|
8056
8132
|
|
|
8057
|
-
const
|
|
8133
|
+
const _m69 = _modules.get("ad81357e627d3100e1068a8ce521aa1c1cd65de5c6c6ab36f807a3e5da50d874") ?? (() => {
|
|
8058
8134
|
const { ExportCell } = _m5;
|
|
8059
8135
|
|
|
8060
8136
|
const { copyExportLink } = _m7;
|
|
@@ -8063,13 +8139,13 @@ const { tableSpans } = _m17;
|
|
|
8063
8139
|
|
|
8064
8140
|
const { createTotals } = _m12;
|
|
8065
8141
|
|
|
8066
|
-
const { presentation, positive } =
|
|
8142
|
+
const { presentation, positive } = _m56;
|
|
8067
8143
|
|
|
8068
|
-
const { displayText, pdfBudgetText } =
|
|
8144
|
+
const { displayText, pdfBudgetText } = _m70;
|
|
8069
8145
|
|
|
8070
|
-
const { capturePdfText, wrapPdfText } =
|
|
8146
|
+
const { capturePdfText, wrapPdfText } = _m71;
|
|
8071
8147
|
|
|
8072
|
-
const { planTableBands, projectBandRows, alignBandBlocks } =
|
|
8148
|
+
const { planTableBands, projectBandRows, alignBandBlocks } = _m73;
|
|
8073
8149
|
|
|
8074
8150
|
class PdfTableLayout {
|
|
8075
8151
|
settings;
|
|
@@ -8289,7 +8365,7 @@ _modules.set("ad81357e627d3100e1068a8ce521aa1c1cd65de5c6c6ab36f807a3e5da50d874",
|
|
|
8289
8365
|
return _exports;
|
|
8290
8366
|
})();
|
|
8291
8367
|
|
|
8292
|
-
const
|
|
8368
|
+
const _m75 = _modules.get("9ea74d93c18250e809a7be745444b886bcd5ec924a78e6ab004d649789db1f72") ?? (() => {
|
|
8293
8369
|
const { OfficeIMOError } = _m2;
|
|
8294
8370
|
|
|
8295
8371
|
const { checkAbort } = _m4;
|
|
@@ -8431,7 +8507,7 @@ _modules.set("9ea74d93c18250e809a7be745444b886bcd5ec924a78e6ab004d649789db1f72",
|
|
|
8431
8507
|
return _exports;
|
|
8432
8508
|
})();
|
|
8433
8509
|
|
|
8434
|
-
const
|
|
8510
|
+
const _m76 = _modules.get("9deed79565a5da5009f7a01579df8d6a3f019b78eb7b17d831c7964840e9a6bf") ?? (() => {
|
|
8435
8511
|
/** @internal Source-cell identities survive page fragments and horizontal band projections.
|
|
8436
8512
|
* Only column headers and still-owned row objects remain reachable from this table owner. */
|
|
8437
8513
|
class PdfTableStructure {
|
|
@@ -8546,10 +8622,10 @@ _modules.set("9deed79565a5da5009f7a01579df8d6a3f019b78eb7b17d831c7964840e9a6bf",
|
|
|
8546
8622
|
return _exports;
|
|
8547
8623
|
})();
|
|
8548
8624
|
|
|
8549
|
-
const
|
|
8625
|
+
const _m77 = _modules.get("09c712096a1028af340e275d5a273e870546413797e71ed709657ad0482ea170") ?? (() => {
|
|
8550
8626
|
const { OfficeIMOError } = _m2;
|
|
8551
8627
|
|
|
8552
|
-
const { pdfNumber, unicodeHex } =
|
|
8628
|
+
const { pdfNumber, unicodeHex } = _m60;
|
|
8553
8629
|
|
|
8554
8630
|
const encoder = new TextEncoder();
|
|
8555
8631
|
/** @internal URI actions are byte strings; tooltips are Unicode PDF text strings. */
|
|
@@ -8592,10 +8668,10 @@ _modules.set("09c712096a1028af340e275d5a273e870546413797e71ed709657ad0482ea170",
|
|
|
8592
8668
|
return _exports;
|
|
8593
8669
|
})();
|
|
8594
8670
|
|
|
8595
|
-
const
|
|
8671
|
+
const _m78 = _modules.get("c68d18d668366fb9b96d1b53c79dc6305f84cb83c05e4942fcf1cdf96ed1a73f") ?? (() => {
|
|
8596
8672
|
const { OfficeIMOError } = _m2;
|
|
8597
8673
|
|
|
8598
|
-
const { unicodeHex } =
|
|
8674
|
+
const { unicodeHex } = _m60;
|
|
8599
8675
|
|
|
8600
8676
|
const { captureFields } = _m10;
|
|
8601
8677
|
|
|
@@ -8641,8 +8717,8 @@ _modules.set("c68d18d668366fb9b96d1b53c79dc6305f84cb83c05e4942fcf1cdf96ed1a73f",
|
|
|
8641
8717
|
return _exports;
|
|
8642
8718
|
})();
|
|
8643
8719
|
|
|
8644
|
-
const
|
|
8645
|
-
const { settings } =
|
|
8720
|
+
const _m79 = _modules.get("a66257a32f03d958aa57be4de9da7f80b708cebca26b5cc6404de0ee11bfe052") ?? (() => {
|
|
8721
|
+
const { settings } = _m56;
|
|
8646
8722
|
|
|
8647
8723
|
/** @internal Every section derives from captured document defaults, never the preceding section. */
|
|
8648
8724
|
function sectionSettings(base, section) {
|
|
@@ -8660,28 +8736,28 @@ _modules.set("a66257a32f03d958aa57be4de9da7f80b708cebca26b5cc6404de0ee11bfe052",
|
|
|
8660
8736
|
return _exports;
|
|
8661
8737
|
})();
|
|
8662
8738
|
|
|
8663
|
-
const
|
|
8739
|
+
const _m74 = _modules.get("3ed7114181be5a3066742336da574fef7f2fc04ee6dfc5e64211f3bedad4cab9") ?? (() => {
|
|
8664
8740
|
const { OfficeIMOError } = _m2;
|
|
8665
8741
|
|
|
8666
8742
|
const { checkAbort } = _m4;
|
|
8667
8743
|
|
|
8668
|
-
const { pdfNumber } =
|
|
8744
|
+
const { pdfNumber } = _m60;
|
|
8669
8745
|
|
|
8670
|
-
const { color } =
|
|
8746
|
+
const { color } = _m56;
|
|
8671
8747
|
|
|
8672
|
-
const { PdfTableBandFlow } =
|
|
8748
|
+
const { PdfTableBandFlow } = _m75;
|
|
8673
8749
|
|
|
8674
|
-
const { PdfTableStructure } =
|
|
8750
|
+
const { PdfTableStructure } = _m76;
|
|
8675
8751
|
|
|
8676
|
-
const { wrapText, wrapTextCooperatively, synchronousText, pdfBudgetText } =
|
|
8752
|
+
const { wrapText, wrapTextCooperatively, synchronousText, pdfBudgetText } = _m70;
|
|
8677
8753
|
|
|
8678
|
-
const { linkAnnotation } =
|
|
8754
|
+
const { linkAnnotation } = _m77;
|
|
8679
8755
|
|
|
8680
|
-
const { unicodeHex } =
|
|
8756
|
+
const { unicodeHex } = _m60;
|
|
8681
8757
|
|
|
8682
|
-
const { captureSection, captureBookmark } =
|
|
8758
|
+
const { captureSection, captureBookmark } = _m78;
|
|
8683
8759
|
|
|
8684
|
-
const { sectionSettings } =
|
|
8760
|
+
const { sectionSettings } = _m79;
|
|
8685
8761
|
|
|
8686
8762
|
/** @internal One page of drawing commands and O(page count) references, never the complete report body. */
|
|
8687
8763
|
class PdfPages {
|
|
@@ -9402,7 +9478,7 @@ _modules.set("3ed7114181be5a3066742336da574fef7f2fc04ee6dfc5e64211f3bedad4cab9",
|
|
|
9402
9478
|
return _exports;
|
|
9403
9479
|
})();
|
|
9404
9480
|
|
|
9405
|
-
const
|
|
9481
|
+
const _m81 = _modules.get("7a58e8ccb5164de51db14e39ca9695af6487c354df909509f0ae6bfac8ae3887") ?? (() => {
|
|
9406
9482
|
/** @internal Incremental PDF number tree: at most 64 entries/children per retained level. */
|
|
9407
9483
|
class PdfParentTree {
|
|
9408
9484
|
objects;
|
|
@@ -9465,14 +9541,14 @@ _modules.set("7a58e8ccb5164de51db14e39ca9695af6487c354df909509f0ae6bfac8ae3887",
|
|
|
9465
9541
|
return _exports;
|
|
9466
9542
|
})();
|
|
9467
9543
|
|
|
9468
|
-
const
|
|
9544
|
+
const _m80 = _modules.get("1c1828a3d6dfc2edda674566203e7aa8e97c984114b7928df13cb373859977d0") ?? (() => {
|
|
9469
9545
|
const { OfficeIMOError } = _m2;
|
|
9470
9546
|
|
|
9471
9547
|
const { checkAbort } = _m4;
|
|
9472
9548
|
|
|
9473
|
-
const { unicodeHex } =
|
|
9549
|
+
const { unicodeHex } = _m60;
|
|
9474
9550
|
|
|
9475
|
-
const { PdfParentTree } =
|
|
9551
|
+
const { PdfParentTree } = _m81;
|
|
9476
9552
|
|
|
9477
9553
|
/** Same-page marked content uses integer K; cross-page MCR and annotation OBJR stay explicit. */
|
|
9478
9554
|
function structureChild(child) {
|
|
@@ -9777,12 +9853,12 @@ _modules.set("1c1828a3d6dfc2edda674566203e7aa8e97c984114b7928df13cb373859977d0",
|
|
|
9777
9853
|
return _exports;
|
|
9778
9854
|
})();
|
|
9779
9855
|
|
|
9780
|
-
const
|
|
9856
|
+
const _m82 = _modules.get("52c78ca6833cee7e5a96b657e2c00172d550176daf2c95e742692f8416977bea") ?? (() => {
|
|
9781
9857
|
const { OfficeIMOError } = _m2;
|
|
9782
9858
|
|
|
9783
9859
|
const { checkAbort } = _m4;
|
|
9784
9860
|
|
|
9785
|
-
const { pdfNumber, unicodeHex } =
|
|
9861
|
+
const { pdfNumber, unicodeHex } = _m60;
|
|
9786
9862
|
|
|
9787
9863
|
/** @internal Bounded native bookmarks; destinations are captured only when their content is painted. */
|
|
9788
9864
|
class PdfOutlines {
|
|
@@ -9841,18 +9917,18 @@ _modules.set("52c78ca6833cee7e5a96b657e2c00172d550176daf2c95e742692f8416977bea",
|
|
|
9841
9917
|
return _exports;
|
|
9842
9918
|
})();
|
|
9843
9919
|
|
|
9844
|
-
const
|
|
9845
|
-
const { PdfObjects, unicodeHex } =
|
|
9920
|
+
const _m59 = _modules.get("afdad27eb363e8de0c3bd69ebf358860eb76f5c6fb29f43a87635807cb7fc273") ?? (() => {
|
|
9921
|
+
const { PdfObjects, unicodeHex } = _m60;
|
|
9846
9922
|
|
|
9847
|
-
const { PdfFontResources } =
|
|
9923
|
+
const { PdfFontResources } = _m62;
|
|
9848
9924
|
|
|
9849
|
-
const { PdfTableLayout } =
|
|
9925
|
+
const { PdfTableLayout } = _m69;
|
|
9850
9926
|
|
|
9851
|
-
const { PdfPages } =
|
|
9927
|
+
const { PdfPages } = _m74;
|
|
9852
9928
|
|
|
9853
|
-
const { PdfStructure } =
|
|
9929
|
+
const { PdfStructure } = _m80;
|
|
9854
9930
|
|
|
9855
|
-
const { PdfOutlines } =
|
|
9931
|
+
const { PdfOutlines } = _m82;
|
|
9856
9932
|
|
|
9857
9933
|
/** One resource/catalog owner shared by table convenience exports and composed documents. */
|
|
9858
9934
|
class PdfWriteSession {
|
|
@@ -9908,7 +9984,7 @@ _modules.set("afdad27eb363e8de0c3bd69ebf358860eb76f5c6fb29f43a87635807cb7fc273",
|
|
|
9908
9984
|
return _exports;
|
|
9909
9985
|
})();
|
|
9910
9986
|
|
|
9911
|
-
const
|
|
9987
|
+
const _m55 = _modules.get("45cf9fd6b6293c1a83bc8554e1bcb5cf119f44701fbad7849f39a712cab5074b") ?? (() => {
|
|
9912
9988
|
const { BlobByteSink, withDestination } = _m3;
|
|
9913
9989
|
|
|
9914
9990
|
const { beginTask, checkAbort, consumeRows, pause, taskYieldDue } = _m4;
|
|
@@ -9917,9 +9993,9 @@ const { notifyProgress } = _m14;
|
|
|
9917
9993
|
|
|
9918
9994
|
const { createRowProjector } = _m11;
|
|
9919
9995
|
|
|
9920
|
-
const { settings } =
|
|
9996
|
+
const { settings } = _m56;
|
|
9921
9997
|
|
|
9922
|
-
const { PdfWriteSession } =
|
|
9998
|
+
const { PdfWriteSession } = _m59;
|
|
9923
9999
|
|
|
9924
10000
|
async function writePdf(rows, configuration) {
|
|
9925
10001
|
const sink = new BlobByteSink();
|
|
@@ -9977,7 +10053,7 @@ _modules.set("45cf9fd6b6293c1a83bc8554e1bcb5cf119f44701fbad7849f39a712cab5074b",
|
|
|
9977
10053
|
return _exports;
|
|
9978
10054
|
})();
|
|
9979
10055
|
|
|
9980
|
-
const
|
|
10056
|
+
const _m86 = _modules.get("749d1ec5422c0087787f525ef42e3b8d3a94d2b70eb5e42d2e3723a870777ad6") ?? (() => {
|
|
9981
10057
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
9982
10058
|
|
|
9983
10059
|
const { checkAbort, pause, taskYieldDue, withAbort } = _m4;
|
|
@@ -10245,12 +10321,12 @@ _modules.set("749d1ec5422c0087787f525ef42e3b8d3a94d2b70eb5e42d2e3723a870777ad6",
|
|
|
10245
10321
|
return _exports;
|
|
10246
10322
|
})();
|
|
10247
10323
|
|
|
10248
|
-
const
|
|
10324
|
+
const _m85 = _modules.get("7dca2d9ca5c43893abdaf86df5b1bcb1f3de3d5d33532d082fdfe04711999d21") ?? (() => {
|
|
10249
10325
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
10250
10326
|
|
|
10251
10327
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
10252
10328
|
|
|
10253
|
-
const { pngPixels } =
|
|
10329
|
+
const { pngPixels } = _m86;
|
|
10254
10330
|
|
|
10255
10331
|
/** Shared document image resources; source objects are captured on first consumption. */
|
|
10256
10332
|
class PdfDocumentImages {
|
|
@@ -10379,14 +10455,14 @@ _modules.set("7dca2d9ca5c43893abdaf86df5b1bcb1f3de3d5d33532d082fdfe04711999d21",
|
|
|
10379
10455
|
return _exports;
|
|
10380
10456
|
})();
|
|
10381
10457
|
|
|
10382
|
-
const
|
|
10458
|
+
const _m87 = _modules.get("3290c84fdf80725af802f497d947bc088aa8d93d9db0a33f6f829f9153aa6fd6") ?? (() => {
|
|
10383
10459
|
const { OfficeIMOError } = _m2;
|
|
10384
10460
|
|
|
10385
10461
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
10386
10462
|
|
|
10387
|
-
const { color, positive } =
|
|
10463
|
+
const { color, positive } = _m56;
|
|
10388
10464
|
|
|
10389
|
-
const { pdfNumber: n } =
|
|
10465
|
+
const { pdfNumber: n } = _m60;
|
|
10390
10466
|
|
|
10391
10467
|
/** Capture and serialize one bounded display path, with no markup parser or resource loading. */
|
|
10392
10468
|
async function vectorCommands(block, settings, used) {
|
|
@@ -10466,14 +10542,14 @@ _modules.set("3290c84fdf80725af802f497d947bc088aa8d93d9db0a33f6f829f9153aa6fd6",
|
|
|
10466
10542
|
return _exports;
|
|
10467
10543
|
})();
|
|
10468
10544
|
|
|
10469
|
-
const
|
|
10545
|
+
const _m88 = _modules.get("da9ad00f94b9ae28e2e3de796928ff0c4eab1d73382b1441e7d779fad4278ef7") ?? (() => {
|
|
10470
10546
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
10471
10547
|
|
|
10472
10548
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
10473
10549
|
|
|
10474
|
-
const { color, positive } =
|
|
10550
|
+
const { color, positive } = _m56;
|
|
10475
10551
|
|
|
10476
|
-
const { pdfNumber: n } =
|
|
10552
|
+
const { pdfNumber: n } = _m60;
|
|
10477
10553
|
|
|
10478
10554
|
/** Portable drawings are an exact schema: unsupported data must never be silently discarded. */
|
|
10479
10555
|
function record(value, keys, name) {
|
|
@@ -10713,20 +10789,20 @@ _modules.set("da9ad00f94b9ae28e2e3de796928ff0c4eab1d73382b1441e7d779fad4278ef7",
|
|
|
10713
10789
|
return _exports;
|
|
10714
10790
|
})();
|
|
10715
10791
|
|
|
10716
|
-
const
|
|
10792
|
+
const _m89 = _modules.get("5e4503b77b357ee6d9fad1f52690085b0f0b140cd3b550b63c5100ed95a92f88") ?? (() => {
|
|
10717
10793
|
const { OfficeIMOError } = _m2;
|
|
10718
10794
|
|
|
10719
|
-
const { capturePdfText, wrapPdfText } =
|
|
10795
|
+
const { capturePdfText, wrapPdfText } = _m71;
|
|
10720
10796
|
|
|
10721
|
-
const { positive } =
|
|
10797
|
+
const { positive } = _m56;
|
|
10722
10798
|
|
|
10723
|
-
const { resolveParagraphStyle } =
|
|
10799
|
+
const { resolveParagraphStyle } = _m57;
|
|
10724
10800
|
|
|
10725
|
-
const { captureBookmark } =
|
|
10801
|
+
const { captureBookmark } = _m78;
|
|
10726
10802
|
|
|
10727
10803
|
const { captureFields } = _m10;
|
|
10728
10804
|
|
|
10729
|
-
const { pdfBudgetText } =
|
|
10805
|
+
const { pdfBudgetText } = _m70;
|
|
10730
10806
|
|
|
10731
10807
|
/** @internal Copy public paragraph input before any cooperative layout or source enumeration. */
|
|
10732
10808
|
function captureParagraph(block, settings, fonts, budgetOnPaint = false) {
|
|
@@ -10797,12 +10873,12 @@ _modules.set("5e4503b77b357ee6d9fad1f52690085b0f0b140cd3b550b63c5100ed95a92f88",
|
|
|
10797
10873
|
return _exports;
|
|
10798
10874
|
})();
|
|
10799
10875
|
|
|
10800
|
-
const
|
|
10801
|
-
const { capturePdfText, wrapPdfText } =
|
|
10876
|
+
const _m90 = _modules.get("1d57c429705ae0cbc14d98dcfef4c8a6c2df06f391c8f58e99cacb02f2d1cbc7") ?? (() => {
|
|
10877
|
+
const { capturePdfText, wrapPdfText } = _m71;
|
|
10802
10878
|
|
|
10803
|
-
const { captureParagraph, prepareParagraph } =
|
|
10879
|
+
const { captureParagraph, prepareParagraph } = _m89;
|
|
10804
10880
|
|
|
10805
|
-
const { resolveParagraphStyle } =
|
|
10881
|
+
const { resolveParagraphStyle } = _m57;
|
|
10806
10882
|
|
|
10807
10883
|
function captureListOptions(block, settings) {
|
|
10808
10884
|
const { items, ordered = false, start: inputStart, itemStyle, indent, markerGap } = block;
|
|
@@ -10855,14 +10931,14 @@ _modules.set("1d57c429705ae0cbc14d98dcfef4c8a6c2df06f391c8f58e99cacb02f2d1cbc7",
|
|
|
10855
10931
|
return _exports;
|
|
10856
10932
|
})();
|
|
10857
10933
|
|
|
10858
|
-
const
|
|
10934
|
+
const _m92 = _modules.get("d04686d2c067355dfd215333b83eb5f79f96e9e4be49f942e050f21ac0795343") ?? (() => {
|
|
10859
10935
|
const { assertGroupedReportSource } = _m8;
|
|
10860
10936
|
|
|
10861
10937
|
const { captureFields } = _m10;
|
|
10862
10938
|
|
|
10863
|
-
const { captureWideTable } =
|
|
10939
|
+
const { captureWideTable } = _m56;
|
|
10864
10940
|
|
|
10865
|
-
const { presentation } =
|
|
10941
|
+
const { presentation } = _m58;
|
|
10866
10942
|
|
|
10867
10943
|
/** @internal Capture schemas shared by the block factory and standalone convenience writers. */
|
|
10868
10944
|
const groupedPdfLabelFields = ["labelColumn", "subtotalLabel", "grandTotalLabel", "includeGrandTotal", "continuationLabel", "groupHeadingLevel"];
|
|
@@ -10905,22 +10981,22 @@ _modules.set("d04686d2c067355dfd215333b83eb5f79f96e9e4be49f942e050f21ac0795343",
|
|
|
10905
10981
|
return _exports;
|
|
10906
10982
|
})();
|
|
10907
10983
|
|
|
10908
|
-
const
|
|
10984
|
+
const _m91 = _modules.get("289fa3a052c7fbab2a3ca0fb91fb9974db709d24b7d850f1175810258f0409a0") ?? (() => {
|
|
10909
10985
|
const { assertGroupedReportSource, groupedReportOperation } = _m8;
|
|
10910
10986
|
|
|
10911
10987
|
const { consumeRows } = _m4;
|
|
10912
10988
|
|
|
10913
10989
|
const { ExportCell } = _m5;
|
|
10914
10990
|
|
|
10915
|
-
const { captureGroupedPdfTableOptions } =
|
|
10991
|
+
const { captureGroupedPdfTableOptions } = _m92;
|
|
10916
10992
|
|
|
10917
|
-
const { settings } =
|
|
10993
|
+
const { settings } = _m56;
|
|
10918
10994
|
|
|
10919
|
-
const { PdfTableLayout } =
|
|
10995
|
+
const { PdfTableLayout } = _m69;
|
|
10920
10996
|
|
|
10921
|
-
const { captureCaption, captureParagraph, prepareParagraph } =
|
|
10997
|
+
const { captureCaption, captureParagraph, prepareParagraph } = _m89;
|
|
10922
10998
|
|
|
10923
|
-
const { synchronousText } =
|
|
10999
|
+
const { synchronousText } = _m70;
|
|
10924
11000
|
|
|
10925
11001
|
/** @internal Render one analytical source in the existing document session. Retain one detail row and
|
|
10926
11002
|
* at most four closing subtotals. All captions, rows, pages, bytes and fonts use the document owners. */
|
|
@@ -11163,7 +11239,7 @@ _modules.set("289fa3a052c7fbab2a3ca0fb91fb9974db709d24b7d850f1175810258f0409a0",
|
|
|
11163
11239
|
return _exports;
|
|
11164
11240
|
})();
|
|
11165
11241
|
|
|
11166
|
-
const
|
|
11242
|
+
const _m84 = _modules.get("9051bf9fc3168e24b53b16c123a42816198456846003fb49191c03a18cdab904") ?? (() => {
|
|
11167
11243
|
const { BlobByteSink, withDestination } = _m3;
|
|
11168
11244
|
|
|
11169
11245
|
const { OfficeIMOError } = _m2;
|
|
@@ -11176,29 +11252,29 @@ const { copyColumns, createRowProjector } = _m11;
|
|
|
11176
11252
|
|
|
11177
11253
|
const { captureFields } = _m10;
|
|
11178
11254
|
|
|
11179
|
-
const { settings, captureWideTable } =
|
|
11255
|
+
const { settings, captureWideTable } = _m56;
|
|
11180
11256
|
|
|
11181
|
-
const { pdfNumber: n } =
|
|
11257
|
+
const { pdfNumber: n } = _m60;
|
|
11182
11258
|
|
|
11183
|
-
const { PdfTableLayout } =
|
|
11259
|
+
const { PdfTableLayout } = _m69;
|
|
11184
11260
|
|
|
11185
|
-
const { PdfWriteSession } =
|
|
11261
|
+
const { PdfWriteSession } = _m59;
|
|
11186
11262
|
|
|
11187
|
-
const { PdfDocumentImages } =
|
|
11263
|
+
const { PdfDocumentImages } = _m85;
|
|
11188
11264
|
|
|
11189
|
-
const { vectorCommands } =
|
|
11265
|
+
const { vectorCommands } = _m87;
|
|
11190
11266
|
|
|
11191
|
-
const { graphicAlternative } =
|
|
11267
|
+
const { graphicAlternative } = _m80;
|
|
11192
11268
|
|
|
11193
|
-
const { checkDrawingBlock, prepareDrawing } =
|
|
11269
|
+
const { checkDrawingBlock, prepareDrawing } = _m88;
|
|
11194
11270
|
|
|
11195
|
-
const { captureParagraph, captureCaption, prepareParagraph, checkParagraphBuffer, paragraphStartHeight } =
|
|
11271
|
+
const { captureParagraph, captureCaption, prepareParagraph, checkParagraphBuffer, paragraphStartHeight } = _m89;
|
|
11196
11272
|
|
|
11197
|
-
const { captureListOptions, prepareListItem } =
|
|
11273
|
+
const { captureListOptions, prepareListItem } = _m90;
|
|
11198
11274
|
|
|
11199
|
-
const { captureSection } =
|
|
11275
|
+
const { captureSection } = _m78;
|
|
11200
11276
|
|
|
11201
|
-
const { renderGroupedPdfTable } =
|
|
11277
|
+
const { renderGroupedPdfTable } = _m91;
|
|
11202
11278
|
|
|
11203
11279
|
const tableOptionFields = ["columns", "includeHeader", "headerRows", "footer", "headerPresentation", "footerPresentation", "alternateRowColor", "columnWidths", "wideTable", "formatValue", "formatRuns"];
|
|
11204
11280
|
/** Capture typed columns for a single-use table source in a composed document. */
|
|
@@ -11457,18 +11533,18 @@ _modules.set("9051bf9fc3168e24b53b16c123a42816198456846003fb49191c03a18cdab904",
|
|
|
11457
11533
|
return _exports;
|
|
11458
11534
|
})();
|
|
11459
11535
|
|
|
11460
|
-
const
|
|
11536
|
+
const _m83 = _modules.get("abe76e52ffeed11ab42477c83ddde1d1d7de28b803096436b5b23cb153af58ba") ?? (() => {
|
|
11461
11537
|
const { assertGroupedReportSource } = _m8;
|
|
11462
11538
|
|
|
11463
11539
|
const { BlobByteSink } = _m3;
|
|
11464
11540
|
|
|
11465
|
-
const { writePdfDocumentTo } =
|
|
11541
|
+
const { writePdfDocumentTo } = _m84;
|
|
11466
11542
|
|
|
11467
|
-
const { pdfOptionFields } =
|
|
11543
|
+
const { pdfOptionFields } = _m56;
|
|
11468
11544
|
|
|
11469
11545
|
const { captureFields } = _m10;
|
|
11470
11546
|
|
|
11471
|
-
const { pdfGroupedTable, groupedPdfLabelFields, groupedPdfTableFields } =
|
|
11547
|
+
const { pdfGroupedTable, groupedPdfLabelFields, groupedPdfTableFields } = _m92;
|
|
11472
11548
|
|
|
11473
11549
|
|
|
11474
11550
|
|
|
@@ -11502,15 +11578,15 @@ async function writeGroupedPdfTo(report, destination, configuration) {
|
|
|
11502
11578
|
delete documentOptions.footer;
|
|
11503
11579
|
return writePdfDocumentTo([pdfGroupedTable(report, tableOptions)], destination, documentOptions);
|
|
11504
11580
|
}
|
|
11505
|
-
const _exports = Object.freeze({ pdfGroupedTable:
|
|
11581
|
+
const _exports = Object.freeze({ pdfGroupedTable: _m92.pdfGroupedTable, writeGroupedPdf: writeGroupedPdf, writeGroupedPdfTo: writeGroupedPdfTo });
|
|
11506
11582
|
_modules.set("abe76e52ffeed11ab42477c83ddde1d1d7de28b803096436b5b23cb153af58ba", _exports);
|
|
11507
11583
|
return _exports;
|
|
11508
11584
|
})();
|
|
11509
11585
|
|
|
11510
|
-
const
|
|
11511
|
-
const { fontProgram } =
|
|
11586
|
+
const _m93 = _modules.get("3d777096288d1be55a05a80bc015d4674212e587703f25a7e7cf99a8065feb86") ?? (() => {
|
|
11587
|
+
const { fontProgram } = _m63;
|
|
11512
11588
|
|
|
11513
|
-
const { resolveScalar, selectFont, validateFonts } =
|
|
11589
|
+
const { resolveScalar, selectFont, validateFonts } = _m67;
|
|
11514
11590
|
|
|
11515
11591
|
/**
|
|
11516
11592
|
* Check one text run against the writer's selected font and scalar-layout rules.
|
|
@@ -11547,14 +11623,14 @@ _modules.set("3d777096288d1be55a05a80bc015d4674212e587703f25a7e7cf99a8065feb86",
|
|
|
11547
11623
|
return _exports;
|
|
11548
11624
|
})();
|
|
11549
11625
|
|
|
11550
|
-
const
|
|
11626
|
+
const _m54 = _modules.get("027aafa08408056b10d7d717d63d1f7c0ee20ecfc68213aa66feacc75ec525fe") ?? (() => {
|
|
11551
11627
|
|
|
11552
|
-
const _exports = Object.freeze({ writePdf:
|
|
11628
|
+
const _exports = Object.freeze({ writePdf: _m55.writePdf, writePdfTo: _m55.writePdfTo, writeGroupedPdf: _m83.writeGroupedPdf, writeGroupedPdfTo: _m83.writeGroupedPdfTo, pdfGroupedTable: _m83.pdfGroupedTable, createGroupedReport: _m8.createGroupedReport, writePdfDocument: _m84.writePdfDocument, writePdfDocumentTo: _m84.writePdfDocumentTo, pdfTable: _m84.pdfTable, PdfFont: _m63.PdfFont, preflightPdfText: _m93.preflightPdfText, ExportCell: _m5.ExportCell, saveBlob: _m1.saveBlob });
|
|
11553
11629
|
_modules.set("027aafa08408056b10d7d717d63d1f7c0ee20ecfc68213aa66feacc75ec525fe", _exports);
|
|
11554
11630
|
return _exports;
|
|
11555
11631
|
})();
|
|
11556
11632
|
|
|
11557
|
-
const
|
|
11633
|
+
const _m94 = _modules.get("e37eb5f0298d8bc9492db790f163f4a1d6d8b4293981cfdacfcd9d9810ec9b7f") ?? (() => {
|
|
11558
11634
|
/** @internal Runtime-checked calls across the optional third-party API boundary. */
|
|
11559
11635
|
function call(owner, name, ...args) {
|
|
11560
11636
|
const fn = member(owner, name);
|
|
@@ -11587,12 +11663,12 @@ _modules.set("e37eb5f0298d8bc9492db790f163f4a1d6d8b4293981cfdacfcd9d9810ec9b7f",
|
|
|
11587
11663
|
return _exports;
|
|
11588
11664
|
})();
|
|
11589
11665
|
|
|
11590
|
-
const
|
|
11666
|
+
const _m95 = _modules.get("0e5ede7759618ed3ec827d34fbd62b205f3a5241650504807c24e5323a2496a5") ?? (() => {
|
|
11591
11667
|
const { ExportCell, assertExportValue } = _m5;
|
|
11592
11668
|
|
|
11593
11669
|
const { tableSpans } = _m17;
|
|
11594
11670
|
|
|
11595
|
-
const { member } =
|
|
11671
|
+
const { member } = _m94;
|
|
11596
11672
|
|
|
11597
11673
|
/** @internal */
|
|
11598
11674
|
function value(input) {
|
|
@@ -11661,7 +11737,7 @@ _modules.set("0e5ede7759618ed3ec827d34fbd62b205f3a5241650504807c24e5323a2496a5",
|
|
|
11661
11737
|
return _exports;
|
|
11662
11738
|
})();
|
|
11663
11739
|
|
|
11664
|
-
const
|
|
11740
|
+
const _m96 = _modules.get("355177890a4e7a43de040650e9c2359a6ccf105705bc6231f51db5975a838d3d") ?? (() => {
|
|
11665
11741
|
const { checkAbort, pause, rowsFromBatches, taskYieldDue } = _m4;
|
|
11666
11742
|
|
|
11667
11743
|
const { ExportBudget } = _m9;
|
|
@@ -11670,9 +11746,9 @@ const { captureFields } = _m10;
|
|
|
11670
11746
|
|
|
11671
11747
|
const { columnOptionFields, copyColumns } = _m11;
|
|
11672
11748
|
|
|
11673
|
-
const { array, call, indexes, member } =
|
|
11749
|
+
const { array, call, indexes, member } = _m94;
|
|
11674
11750
|
|
|
11675
|
-
const { headings, text, value } =
|
|
11751
|
+
const { headings, text, value } = _m95;
|
|
11676
11752
|
|
|
11677
11753
|
function safeOptions(options) {
|
|
11678
11754
|
options = captureFields(options, ["rows", "columns", "modifier", "orthogonal", "stripHtml", "stripNewlines", "decodeEntities", "escapeExcelFormula", "trim", "format", "customizeData"]);
|
|
@@ -11879,16 +11955,16 @@ _modules.set("355177890a4e7a43de040650e9c2359a6ccf105705bc6231f51db5975a838d3d",
|
|
|
11879
11955
|
return _exports;
|
|
11880
11956
|
})();
|
|
11881
11957
|
|
|
11882
|
-
const
|
|
11958
|
+
const _m97 = _modules.get("7b12a415e92cc9ef7212fb3a88007cb6dc37f9f30077165d4897cfa8052f9a3c") ?? (() => {
|
|
11883
11959
|
const { captureFields } = _m10;
|
|
11884
11960
|
|
|
11885
11961
|
const { ExportBudget } = _m9;
|
|
11886
11962
|
|
|
11887
11963
|
const { captureCsvOptions: captureCsv } = _m19;
|
|
11888
11964
|
|
|
11889
|
-
const { capturePdfOptions: capturePdf, capturePdfLimits, pdfLimitFields } =
|
|
11965
|
+
const { capturePdfOptions: capturePdf, capturePdfLimits, pdfLimitFields } = _m56;
|
|
11890
11966
|
|
|
11891
|
-
const { captureWorkbookLimits, workbookLimitFields, workbookOptionFields, sheetOptionFields } =
|
|
11967
|
+
const { captureWorkbookLimits, workbookLimitFields, workbookOptionFields, sheetOptionFields } = _m47;
|
|
11892
11968
|
|
|
11893
11969
|
const limitFields = [...new Set([...workbookLimitFields, ...pdfLimitFields])];
|
|
11894
11970
|
const portableWorkbookFields = workbookOptionFields.filter((key) => key !== "sink");
|
|
@@ -11920,11 +11996,11 @@ function capturePdfOptions(input = {}) {
|
|
|
11920
11996
|
return { ...options, ...(options.limits === undefined ? {} : { limits: capturePdfLimits(options.limits) }) };
|
|
11921
11997
|
}
|
|
11922
11998
|
const _exports = Object.freeze({ captureCommonLimits: captureCommonLimits, mergeAdapterLimits: mergeAdapterLimits, captureXlsxOptions: captureXlsxOptions, captureCsvOptions: captureCsvOptions, capturePdfOptions: capturePdfOptions });
|
|
11923
|
-
_modules.set("
|
|
11999
|
+
_modules.set("7b12a415e92cc9ef7212fb3a88007cb6dc37f9f30077165d4897cfa8052f9a3c", _exports);
|
|
11924
12000
|
return _exports;
|
|
11925
12001
|
})();
|
|
11926
12002
|
|
|
11927
|
-
const _m0 = _modules.get("
|
|
12003
|
+
const _m0 = _modules.get("e1e425a9e0b0395ee93081d272efccecbe05aae4894ad4e46880868003b542ca") ?? (() => {
|
|
11928
12004
|
const { BlobByteSink, checkAbort, saveBlob } = _m1;
|
|
11929
12005
|
|
|
11930
12006
|
const { notifyProgress } = _m14;
|
|
@@ -11933,19 +12009,19 @@ const { writeCsvTo } = _m15;
|
|
|
11933
12009
|
|
|
11934
12010
|
const { writeXlsxTo } = _m20;
|
|
11935
12011
|
|
|
11936
|
-
const { writePdfTo } =
|
|
12012
|
+
const { writePdfTo } = _m54;
|
|
11937
12013
|
|
|
11938
|
-
const { portableSheet, portableWorkbook } =
|
|
12014
|
+
const { portableSheet, portableWorkbook } = _m51;
|
|
11939
12015
|
|
|
11940
|
-
const { call, member } =
|
|
12016
|
+
const { call, member } = _m94;
|
|
11941
12017
|
|
|
11942
|
-
const { value } =
|
|
12018
|
+
const { value } = _m95;
|
|
11943
12019
|
|
|
11944
|
-
const { captureDataTablesExport } =
|
|
12020
|
+
const { captureDataTablesExport } = _m96;
|
|
11945
12021
|
|
|
11946
12022
|
const { captureFields } = _m10;
|
|
11947
12023
|
|
|
11948
|
-
const { captureCommonLimits, captureXlsxOptions, captureCsvOptions, capturePdfOptions, mergeAdapterLimits } =
|
|
12024
|
+
const { captureCommonLimits, captureXlsxOptions, captureCsvOptions, capturePdfOptions, mergeAdapterLimits } = _m97;
|
|
11949
12025
|
|
|
11950
12026
|
|
|
11951
12027
|
|
|
@@ -12106,8 +12182,8 @@ function registerDataTablesButtons(host, options = {}) {
|
|
|
12106
12182
|
};
|
|
12107
12183
|
}
|
|
12108
12184
|
}
|
|
12109
|
-
const _exports = Object.freeze({ createDataTablesExport:
|
|
12110
|
-
_modules.set("
|
|
12185
|
+
const _exports = Object.freeze({ createDataTablesExport: _m96.createDataTablesExport, ExportCell: _m5.ExportCell, PdfFont: _m63.PdfFont, writeDataTableTo: writeDataTableTo, exportDataTable: exportDataTable, registerDataTablesButtons: registerDataTablesButtons });
|
|
12186
|
+
_modules.set("e1e425a9e0b0395ee93081d272efccecbe05aae4894ad4e46880868003b542ca", _exports);
|
|
12111
12187
|
return _exports;
|
|
12112
12188
|
})();
|
|
12113
12189
|
Object.assign(officeimo, _m0);
|