@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
package/bundles/officeimo.js
CHANGED
|
@@ -1543,7 +1543,7 @@ _modules.set("56b2057461a668e8c90abd1fbf4f13ff93efd9854e590c82a195799f0f842c2a",
|
|
|
1543
1543
|
return _exports;
|
|
1544
1544
|
})();
|
|
1545
1545
|
|
|
1546
|
-
const _m18 = _modules.get("
|
|
1546
|
+
const _m18 = _modules.get("945379594834125fea38bc00f02ef077409dd15f6ed67279e63e89afe0bb944b") ?? (() => {
|
|
1547
1547
|
|
|
1548
1548
|
|
|
1549
1549
|
|
|
@@ -1621,7 +1621,16 @@ class OpcPackage {
|
|
|
1621
1621
|
throw new OfficeIMOError("INVALID_STATE", "OPC package is finalized."); }
|
|
1622
1622
|
reserve(uri, type) {
|
|
1623
1623
|
this.open();
|
|
1624
|
+
// OPC part names become ZIP entry names. Reject oversized and deeply nested
|
|
1625
|
+
// names before collecting every ancestor prefix.
|
|
1626
|
+
if (typeof uri === "string" && uri.length > 65536)
|
|
1627
|
+
throw new OfficeIMOError("RESOURCE_LIMIT", "OPC part name exceeds the ZIP entry-name limit.");
|
|
1624
1628
|
uri = partUri(uri);
|
|
1629
|
+
let depth = 0;
|
|
1630
|
+
for (let index = 0; index < uri.length; index++) {
|
|
1631
|
+
if (uri[index] === "/" && ++depth > 64)
|
|
1632
|
+
throw new OfficeIMOError("RESOURCE_LIMIT", "OPC part name exceeds the directory-depth limit.");
|
|
1633
|
+
}
|
|
1625
1634
|
if (/\/_rels(?:\/|$)/i.test(uri) || uri.toLowerCase() === "/[content_types].xml")
|
|
1626
1635
|
throw new TypeError("Package metadata part names are reserved.");
|
|
1627
1636
|
const key = uri.toLowerCase();
|
|
@@ -1793,7 +1802,7 @@ class OpcPackage {
|
|
|
1793
1802
|
}
|
|
1794
1803
|
}
|
|
1795
1804
|
const _exports = Object.freeze({ partUri: _m19.partUri, relationshipPartUri: _m19.relationshipPartUri, relativePartTarget: _m19.relativePartTarget, corePropertiesXml: _m20.corePropertiesXml, appPropertiesXml: _m20.appPropertiesXml, relationshipsNamespace: relationshipsNamespace, officeRelationshipsNamespace: officeRelationshipsNamespace, contentTypesNamespace: contentTypesNamespace, relationshipTypes: relationshipTypes, ContentTypes: ContentTypes, OpcPackage: OpcPackage });
|
|
1796
|
-
_modules.set("
|
|
1805
|
+
_modules.set("945379594834125fea38bc00f02ef077409dd15f6ed67279e63e89afe0bb944b", _exports);
|
|
1797
1806
|
return _exports;
|
|
1798
1807
|
})();
|
|
1799
1808
|
|
|
@@ -2262,7 +2271,7 @@ _modules.set("f1de2157d2aefa347a314940eb7f89c16545e11f69923920e605409433742f93",
|
|
|
2262
2271
|
return _exports;
|
|
2263
2272
|
})();
|
|
2264
2273
|
|
|
2265
|
-
const _m27 = _modules.get("
|
|
2274
|
+
const _m27 = _modules.get("e88a83ca79cd099fc2de29689554c913c7d04b17018098f81c43044064fcdfb8") ?? (() => {
|
|
2266
2275
|
const { cleanXml, escapeXml } = _m17;
|
|
2267
2276
|
|
|
2268
2277
|
const { assertExportValue, assertScalar } = _m5;
|
|
@@ -2321,14 +2330,23 @@ function columnName(index) {
|
|
|
2321
2330
|
return name;
|
|
2322
2331
|
}
|
|
2323
2332
|
function clipName(text, length) { return text.slice(0, length).replace(/[\ud800-\udbff]$/, ""); }
|
|
2333
|
+
function trimSheetNameEdges(text) {
|
|
2334
|
+
let start = 0, end = text.length;
|
|
2335
|
+
const removable = (character) => character === "'" || /\s/u.test(character);
|
|
2336
|
+
while (start < end && removable(text[start]))
|
|
2337
|
+
start++;
|
|
2338
|
+
while (end > start && removable(text[end - 1]))
|
|
2339
|
+
end--;
|
|
2340
|
+
return text.slice(start, end);
|
|
2341
|
+
}
|
|
2324
2342
|
function sheetName(requested, names, policy, register = true) {
|
|
2325
2343
|
if (typeof requested !== "string")
|
|
2326
2344
|
throw new TypeError("Sheet name must be a string.");
|
|
2327
2345
|
// Validate and deduplicate the decoded literal value, before ST_Xstring attribute encoding.
|
|
2328
2346
|
// A requested _xHHHH_ token is literal text; the serializer protects its leading underscore.
|
|
2329
|
-
let base = cleanXml(requested, policy).replace(/[\[\]:*?/\\]/g, "_")
|
|
2347
|
+
let base = trimSheetNameEdges(cleanXml(requested, policy).replace(/[\[\]:*?/\\]/g, "_"));
|
|
2330
2348
|
// Clipping can expose an internal apostrophe or the reserved History name.
|
|
2331
|
-
base = clipName(base, 31)
|
|
2349
|
+
base = trimSheetNameEdges(clipName(base, 31));
|
|
2332
2350
|
if (!base)
|
|
2333
2351
|
base = "Sheet";
|
|
2334
2352
|
if (base.toLowerCase() === "history")
|
|
@@ -2355,11 +2373,57 @@ function excelDate(date, mode) {
|
|
|
2355
2373
|
return (time - Date.UTC(1899, 11, 31)) / 86400000 + (time >= Date.UTC(1900, 2, 1) ? 1 : 0);
|
|
2356
2374
|
}
|
|
2357
2375
|
const _exports = Object.freeze({ Cell: Cell, assertXlsxValue: assertXlsxValue, copyValue: copyValue, cellText: cellText, inlineText: inlineText, columnName: columnName, sheetName: sheetName, excelDate: excelDate });
|
|
2358
|
-
_modules.set("
|
|
2376
|
+
_modules.set("e88a83ca79cd099fc2de29689554c913c7d04b17018098f81c43044064fcdfb8", _exports);
|
|
2359
2377
|
return _exports;
|
|
2360
2378
|
})();
|
|
2361
2379
|
|
|
2362
|
-
const _m29 = _modules.get("
|
|
2380
|
+
const _m29 = _modules.get("e92456dbf0c50db97c8b6cf9a09365489ca3a882b4d506ad4dd841805b1146d1") ?? (() => {
|
|
2381
|
+
const { captureFields } = _m10;
|
|
2382
|
+
|
|
2383
|
+
/** Capture bounded disjoint ranges before asynchronous serialization; absent columns stay visible. */
|
|
2384
|
+
function captureColumnOutlines(input, columns) {
|
|
2385
|
+
if (input === undefined)
|
|
2386
|
+
return undefined;
|
|
2387
|
+
if (!Array.isArray(input) || input.length > columns)
|
|
2388
|
+
throw new TypeError("Column outlines must be bounded, non-overlapping ranges.");
|
|
2389
|
+
let end = 0;
|
|
2390
|
+
return Object.freeze(input.map(range => {
|
|
2391
|
+
if (!range || typeof range !== "object")
|
|
2392
|
+
throw new TypeError("Column outlines require range metadata.");
|
|
2393
|
+
return captureFields(range, ["firstColumn", "columnCount", "level", "hidden", "collapsed"]);
|
|
2394
|
+
}).sort((a, b) => a.firstColumn - b.firstColumn).map(range => {
|
|
2395
|
+
const { firstColumn, columnCount, level = 0, hidden, collapsed } = range;
|
|
2396
|
+
if (!Number.isSafeInteger(firstColumn) || firstColumn < end || !Number.isSafeInteger(columnCount) || columnCount < 1 || firstColumn + columnCount > columns)
|
|
2397
|
+
throw new RangeError("Column outline ranges must be disjoint and within the declared columns.");
|
|
2398
|
+
if (!Number.isInteger(level) || level < 0 || level > 7)
|
|
2399
|
+
throw new RangeError("Column outline level must be from zero through seven.");
|
|
2400
|
+
for (const flag of [hidden, collapsed])
|
|
2401
|
+
if (flag !== undefined && typeof flag !== "boolean")
|
|
2402
|
+
throw new TypeError("Column outline flags must be booleans.");
|
|
2403
|
+
end = firstColumn + columnCount;
|
|
2404
|
+
return Object.freeze({ firstColumn, columnCount, level, ...(hidden === undefined ? {} : { hidden }), ...(collapsed === undefined ? {} : { collapsed }) });
|
|
2405
|
+
}));
|
|
2406
|
+
}
|
|
2407
|
+
/** @internal Positions are captured even when a sheet has only column outlines. */
|
|
2408
|
+
function validateOutlinePositions(options) {
|
|
2409
|
+
for (const flag of [options.outlineSummaryBelow, options.outlineSummaryRight])
|
|
2410
|
+
if (flag !== undefined && typeof flag !== "boolean")
|
|
2411
|
+
throw new TypeError("Outline summary positions must be booleans.");
|
|
2412
|
+
}
|
|
2413
|
+
/** @internal Resolve at most 16,384 columns once, without retaining any worksheet body. */
|
|
2414
|
+
function columnOutlineMap(ranges) {
|
|
2415
|
+
const result = new Map();
|
|
2416
|
+
for (const range of ranges ?? [])
|
|
2417
|
+
for (let index = range.firstColumn; index < range.firstColumn + range.columnCount; index++)
|
|
2418
|
+
result.set(index, range);
|
|
2419
|
+
return result;
|
|
2420
|
+
}
|
|
2421
|
+
const _exports = Object.freeze({ captureColumnOutlines: captureColumnOutlines, validateOutlinePositions: validateOutlinePositions, columnOutlineMap: columnOutlineMap });
|
|
2422
|
+
_modules.set("e92456dbf0c50db97c8b6cf9a09365489ca3a882b4d506ad4dd841805b1146d1", _exports);
|
|
2423
|
+
return _exports;
|
|
2424
|
+
})();
|
|
2425
|
+
|
|
2426
|
+
const _m30 = _modules.get("d56b24243cff6f3552a2f7b45521af4491494375ec76117e9ac1ebb047ce02da") ?? (() => {
|
|
2363
2427
|
const { assertExportValue } = _m5;
|
|
2364
2428
|
|
|
2365
2429
|
const { copyExportValue } = _m13;
|
|
@@ -2425,7 +2489,7 @@ _modules.set("d56b24243cff6f3552a2f7b45521af4491494375ec76117e9ac1ebb047ce02da",
|
|
|
2425
2489
|
return _exports;
|
|
2426
2490
|
})();
|
|
2427
2491
|
|
|
2428
|
-
const
|
|
2492
|
+
const _m33 = _modules.get("aaf6808e1812a251687fd513480fe845b5677ffa493bccf519409807fe4d250c") ?? (() => {
|
|
2429
2493
|
const { ChunkedTextSink } = _m3;
|
|
2430
2494
|
|
|
2431
2495
|
const { escapeXml, xmlDeclaration } = _m17;
|
|
@@ -2534,18 +2598,18 @@ async function writeChartXml(chart, destination, policy, signal) {
|
|
|
2534
2598
|
await text.close();
|
|
2535
2599
|
}
|
|
2536
2600
|
const _exports = Object.freeze({ chartNamespace: chartNamespace, chartContentType: chartContentType, chartAnchorXml: chartAnchorXml, writeChartXml: writeChartXml });
|
|
2537
|
-
_modules.set("
|
|
2601
|
+
_modules.set("aaf6808e1812a251687fd513480fe845b5677ffa493bccf519409807fe4d250c", _exports);
|
|
2538
2602
|
return _exports;
|
|
2539
2603
|
})();
|
|
2540
2604
|
|
|
2541
|
-
const
|
|
2605
|
+
const _m32 = _modules.get("d599dca57105b9cc787ba2498051ed0193cbdb1e5f23116e35bc77cd67a233f1") ?? (() => {
|
|
2542
2606
|
const { cleanXml, escapeXml, escapeOoxmlAttribute, xmlDeclaration } = _m17;
|
|
2543
2607
|
|
|
2544
2608
|
const { copyExportLink } = _m7;
|
|
2545
2609
|
|
|
2546
2610
|
const { officeRelationshipsNamespace } = _m18;
|
|
2547
2611
|
|
|
2548
|
-
const { chartAnchorXml } =
|
|
2612
|
+
const { chartAnchorXml } = _m33;
|
|
2549
2613
|
|
|
2550
2614
|
const { captureFields } = _m10;
|
|
2551
2615
|
|
|
@@ -2612,14 +2676,14 @@ function drawingXml(images, policy, charts = []) {
|
|
|
2612
2676
|
}
|
|
2613
2677
|
const drawingContentType = "application/vnd.openxmlformats-officedocument.drawing+xml";
|
|
2614
2678
|
const _exports = Object.freeze({ copyDrawingAnchor: copyDrawingAnchor, cellPosition: cellPosition, copyHyperlink: copyHyperlink, copyImage: copyImage, hyperlinksXml: hyperlinksXml, drawingXml: drawingXml, drawingContentType: drawingContentType });
|
|
2615
|
-
_modules.set("
|
|
2679
|
+
_modules.set("d599dca57105b9cc787ba2498051ed0193cbdb1e5f23116e35bc77cd67a233f1", _exports);
|
|
2616
2680
|
return _exports;
|
|
2617
2681
|
})();
|
|
2618
2682
|
|
|
2619
|
-
const
|
|
2683
|
+
const _m35 = _modules.get("39155eb25a58694b2caf100529b6c13dbe91f583741807b46232a2a567e19ecb") ?? (() => {
|
|
2620
2684
|
const { OfficeIMOError } = _m2;
|
|
2621
2685
|
|
|
2622
|
-
const { cellPosition } =
|
|
2686
|
+
const { cellPosition } = _m32;
|
|
2623
2687
|
|
|
2624
2688
|
function indexRows(regions) {
|
|
2625
2689
|
if (!regions.length)
|
|
@@ -2717,14 +2781,14 @@ class MergeRegions {
|
|
|
2717
2781
|
throw new RangeError("Merged ranges must stay within exported rows."); }
|
|
2718
2782
|
}
|
|
2719
2783
|
const _exports = Object.freeze({ MergeRegions: MergeRegions });
|
|
2720
|
-
_modules.set("
|
|
2784
|
+
_modules.set("39155eb25a58694b2caf100529b6c13dbe91f583741807b46232a2a567e19ecb", _exports);
|
|
2721
2785
|
return _exports;
|
|
2722
2786
|
})();
|
|
2723
2787
|
|
|
2724
|
-
const
|
|
2788
|
+
const _m36 = _modules.get("2a51a034ac74f5a0656731f46740bb80adee48101e7a4b51253d9399df11d238") ?? (() => {
|
|
2725
2789
|
const { ExportCell } = _m5;
|
|
2726
2790
|
|
|
2727
|
-
const { tableSpans } =
|
|
2791
|
+
const { tableSpans } = _m30;
|
|
2728
2792
|
|
|
2729
2793
|
const { copyValue, columnName } = _m27;
|
|
2730
2794
|
|
|
@@ -2754,11 +2818,11 @@ class StructuredRows {
|
|
|
2754
2818
|
}
|
|
2755
2819
|
}
|
|
2756
2820
|
const _exports = Object.freeze({ StructuredRows: StructuredRows });
|
|
2757
|
-
_modules.set("
|
|
2821
|
+
_modules.set("2a51a034ac74f5a0656731f46740bb80adee48101e7a4b51253d9399df11d238", _exports);
|
|
2758
2822
|
return _exports;
|
|
2759
2823
|
})();
|
|
2760
2824
|
|
|
2761
|
-
const
|
|
2825
|
+
const _m34 = _modules.get("b732883d8635c0adf27cef2a3900f08374d02c9ce1b005d02af6853c8be627cc") ?? (() => {
|
|
2762
2826
|
const { ExportCell } = _m5;
|
|
2763
2827
|
|
|
2764
2828
|
const { isDate } = _m6;
|
|
@@ -2769,13 +2833,13 @@ const { FormulaCell } = _m28;
|
|
|
2769
2833
|
|
|
2770
2834
|
const { escapeOoxmlAttribute } = _m17;
|
|
2771
2835
|
|
|
2772
|
-
const { MergeRegions } =
|
|
2836
|
+
const { MergeRegions } = _m35;
|
|
2773
2837
|
|
|
2774
2838
|
const { OfficeIMOError } = _m2;
|
|
2775
2839
|
|
|
2776
2840
|
const { createTotals } = _m12;
|
|
2777
2841
|
|
|
2778
|
-
const { StructuredRows } =
|
|
2842
|
+
const { StructuredRows } = _m36;
|
|
2779
2843
|
|
|
2780
2844
|
/** @internal A computed formula with a numeric cache; no public arbitrary-formula input. */
|
|
2781
2845
|
class ComputedTotal {
|
|
@@ -2955,11 +3019,11 @@ function printXml(options, policy) {
|
|
|
2955
3019
|
(options.footer === undefined ? "" : '<oddFooter>' + escapeOoxmlAttribute("&C" + options.footer.replace(/&/g, "&&"), policy) + '</oddFooter>') + '</headerFooter>' : "");
|
|
2956
3020
|
}
|
|
2957
3021
|
const _exports = Object.freeze({ ComputedTotal: ComputedTotal, ReportLayout: ReportLayout, totalFormula: totalFormula, printXml: printXml });
|
|
2958
|
-
_modules.set("
|
|
3022
|
+
_modules.set("b732883d8635c0adf27cef2a3900f08374d02c9ce1b005d02af6853c8be627cc", _exports);
|
|
2959
3023
|
return _exports;
|
|
2960
3024
|
})();
|
|
2961
3025
|
|
|
2962
|
-
const
|
|
3026
|
+
const _m38 = _modules.get("09d589ff8f82302ce4c17411c7b811a87fb034e61e4b3013b7f8b18853a90449") ?? (() => {
|
|
2963
3027
|
const { columnName } = _m27;
|
|
2964
3028
|
|
|
2965
3029
|
/** @internal Data-column selectors use stable keys or one-based worksheet columns. */
|
|
@@ -2986,11 +3050,11 @@ function qualifiedCell(sheetName, column, row) {
|
|
|
2986
3050
|
return qualifiedColumnRange(sheetName, column, row, 1).split(":")[0];
|
|
2987
3051
|
}
|
|
2988
3052
|
const _exports = Object.freeze({ resolveDataColumn: resolveDataColumn, qualifiedColumnRange: qualifiedColumnRange, qualifiedCell: qualifiedCell });
|
|
2989
|
-
_modules.set("
|
|
3053
|
+
_modules.set("09d589ff8f82302ce4c17411c7b811a87fb034e61e4b3013b7f8b18853a90449", _exports);
|
|
2990
3054
|
return _exports;
|
|
2991
3055
|
})();
|
|
2992
3056
|
|
|
2993
|
-
const
|
|
3057
|
+
const _m39 = _modules.get("55a9bd1fb59ea19bf98a03859769a119fdc71a44075e560937e7184720e53514") ?? (() => {
|
|
2994
3058
|
const { OfficeIMOError } = _m2;
|
|
2995
3059
|
|
|
2996
3060
|
const { columnName } = _m27;
|
|
@@ -3033,22 +3097,22 @@ function dataRowReference(firstColumn, lastColumn, headerRows, dataRows, ranges)
|
|
|
3033
3097
|
return reference || undefined;
|
|
3034
3098
|
}
|
|
3035
3099
|
const _exports = Object.freeze({ retainDataRowRanges: retainDataRowRanges, dataRowRanges: dataRowRanges, dataRowCount: dataRowCount, dataRowReference: dataRowReference });
|
|
3036
|
-
_modules.set("
|
|
3100
|
+
_modules.set("55a9bd1fb59ea19bf98a03859769a119fdc71a44075e560937e7184720e53514", _exports);
|
|
3037
3101
|
return _exports;
|
|
3038
3102
|
})();
|
|
3039
3103
|
|
|
3040
|
-
const
|
|
3104
|
+
const _m37 = _modules.get("a1b616256344317787b0b102f35d062009d6a2e9c873b9f106c99c095c92ace3") ?? (() => {
|
|
3041
3105
|
const { cleanXml, escapeXml, escapeOoxmlAttribute } = _m17;
|
|
3042
3106
|
|
|
3043
|
-
const { cellPosition } =
|
|
3107
|
+
const { cellPosition } = _m32;
|
|
3044
3108
|
|
|
3045
3109
|
const { colorArgb } = _m25;
|
|
3046
3110
|
|
|
3047
3111
|
const { fields, optionalBoolean, differentialXml } = _m26;
|
|
3048
3112
|
|
|
3049
|
-
const { resolveDataColumn } =
|
|
3113
|
+
const { resolveDataColumn } = _m38;
|
|
3050
3114
|
|
|
3051
|
-
const { dataRowReference } =
|
|
3115
|
+
const { dataRowReference } = _m39;
|
|
3052
3116
|
|
|
3053
3117
|
function target(range, columns) {
|
|
3054
3118
|
if (typeof range === "string") {
|
|
@@ -3203,11 +3267,11 @@ class ConditionalFormats {
|
|
|
3203
3267
|
}
|
|
3204
3268
|
}
|
|
3205
3269
|
const _exports = Object.freeze({ prepareConditionalFormats: prepareConditionalFormats, ConditionalFormats: ConditionalFormats });
|
|
3206
|
-
_modules.set("
|
|
3270
|
+
_modules.set("a1b616256344317787b0b102f35d062009d6a2e9c873b9f106c99c095c92ace3", _exports);
|
|
3207
3271
|
return _exports;
|
|
3208
3272
|
})();
|
|
3209
3273
|
|
|
3210
|
-
const
|
|
3274
|
+
const _m40 = _modules.get("13fa96d976e4dec7343dd3a392829567f1fcb574324a98f5a5d3a61c9a0dc27d") ?? (() => {
|
|
3211
3275
|
const { OfficeIMOError } = _m2;
|
|
3212
3276
|
|
|
3213
3277
|
const { checkAbort } = _m4;
|
|
@@ -3216,9 +3280,9 @@ const { cleanXml, escapeOoxmlAttribute, escapeXml } = _m17;
|
|
|
3216
3280
|
|
|
3217
3281
|
const { fields, optionalBoolean } = _m26;
|
|
3218
3282
|
|
|
3219
|
-
const { resolveDataColumn } =
|
|
3283
|
+
const { resolveDataColumn } = _m38;
|
|
3220
3284
|
|
|
3221
|
-
const { dataRowReference } =
|
|
3285
|
+
const { dataRowReference } = _m39;
|
|
3222
3286
|
|
|
3223
3287
|
function message(value, maximum, name) {
|
|
3224
3288
|
if (value === undefined)
|
|
@@ -3307,11 +3371,11 @@ function* dataValidationsXml(prepared, headerRows, dataRows, ranges) {
|
|
|
3307
3371
|
yield '</dataValidations>';
|
|
3308
3372
|
}
|
|
3309
3373
|
const _exports = Object.freeze({ prepareDataValidations: prepareDataValidations, dataValidationsXml: dataValidationsXml });
|
|
3310
|
-
_modules.set("
|
|
3374
|
+
_modules.set("13fa96d976e4dec7343dd3a392829567f1fcb574324a98f5a5d3a61c9a0dc27d", _exports);
|
|
3311
3375
|
return _exports;
|
|
3312
3376
|
})();
|
|
3313
3377
|
|
|
3314
|
-
const
|
|
3378
|
+
const _m31 = _modules.get("a61e744201bb537b635b367b1764bd85892101d55e00b8c78faec8be89577376") ?? (() => {
|
|
3315
3379
|
const { checkAbort, consumeRows, inputRows, pause, taskYieldDue } = _m4;
|
|
3316
3380
|
|
|
3317
3381
|
const { ChunkedTextSink, BlobByteSink } = _m3;
|
|
@@ -3332,25 +3396,27 @@ const { Cell, cellText, columnName, inlineText, excelDate, copyValue } = _m27;
|
|
|
3332
3396
|
|
|
3333
3397
|
const { spreadsheetNamespace, colorArgb, validateStylePatch, copyStylePatch } = _m24;
|
|
3334
3398
|
|
|
3335
|
-
const { copyHyperlink, copyImage, hyperlinksXml, cellPosition } =
|
|
3399
|
+
const { copyHyperlink, copyImage, hyperlinksXml, cellPosition } = _m32;
|
|
3336
3400
|
|
|
3337
3401
|
const { ExportCell, assertScalar } = _m5;
|
|
3338
3402
|
|
|
3339
|
-
const { ReportLayout, ComputedTotal, printXml } =
|
|
3403
|
+
const { ReportLayout, ComputedTotal, printXml } = _m34;
|
|
3340
3404
|
|
|
3341
3405
|
const { cleanXml } = _m17;
|
|
3342
3406
|
|
|
3343
|
-
const { ConditionalFormats, prepareConditionalFormats } =
|
|
3407
|
+
const { ConditionalFormats, prepareConditionalFormats } = _m37;
|
|
3344
3408
|
|
|
3345
3409
|
const { isDate } = _m6;
|
|
3346
3410
|
|
|
3347
3411
|
const { FormulaCell, formulaXml, isSubtotalFormula } = _m28;
|
|
3348
3412
|
|
|
3349
|
-
const { prepareDataValidations, dataValidationsXml } =
|
|
3413
|
+
const { prepareDataValidations, dataValidationsXml } = _m40;
|
|
3350
3414
|
|
|
3351
|
-
const { qualifiedCell, qualifiedColumnRange, resolveDataColumn } =
|
|
3415
|
+
const { qualifiedCell, qualifiedColumnRange, resolveDataColumn } = _m38;
|
|
3352
3416
|
|
|
3353
|
-
const { dataRowRanges, dataRowCount } =
|
|
3417
|
+
const { dataRowRanges, dataRowCount } = _m39;
|
|
3418
|
+
|
|
3419
|
+
const { captureColumnOutlines, columnOutlineMap, validateOutlinePositions } = _m29;
|
|
3354
3420
|
|
|
3355
3421
|
const maximumHyperlinks = 65530;
|
|
3356
3422
|
function checkHyperlinkCount(count) {
|
|
@@ -3482,6 +3548,8 @@ class Worksheet {
|
|
|
3482
3548
|
throw new TypeError("Row and style callbacks must be functions.");
|
|
3483
3549
|
if (options.maxOutlineLevel !== undefined && (!Number.isInteger(options.maxOutlineLevel) || options.maxOutlineLevel < 0 || options.maxOutlineLevel > 7))
|
|
3484
3550
|
throw new RangeError("Maximum outline level must be an integer from zero through seven.");
|
|
3551
|
+
validateOutlinePositions(options);
|
|
3552
|
+
captureColumnOutlines(options.columnOutlines, columns.length);
|
|
3485
3553
|
if (options.rowOutline && options.maxOutlineLevel === undefined)
|
|
3486
3554
|
throw new TypeError("A row outline callback requires maxOutlineLevel before streamed rows are written.");
|
|
3487
3555
|
if (!options.rowOutline && options.maxOutlineLevel !== undefined)
|
|
@@ -3766,17 +3834,22 @@ class Worksheet {
|
|
|
3766
3834
|
const buffer = this.buffer = new ChunkedTextSink(this.entry, this.book.settings.signal), opts = this.options;
|
|
3767
3835
|
const x = opts.freezeColumns ?? 0, y = opts.freezeHeader ? this.headerRows : 0;
|
|
3768
3836
|
const pane = x && y ? "bottomRight" : x ? "topRight" : "bottomLeft", cell = columnName(x + 1) + (y + 1);
|
|
3837
|
+
const outlines = columnOutlineMap(opts.columnOutlines), hasOutline = !!opts.rowOutline || outlines.size > 0;
|
|
3838
|
+
const maxColumnLevel = Math.max(0, ...Array.from(outlines.values(), value => value.level ?? 0));
|
|
3769
3839
|
await buffer.write(xmlDeclaration + '<worksheet xmlns="' + spreadsheetNamespace + '" xmlns:r="' + officeRelationshipsNamespace + '">' +
|
|
3770
|
-
(opts.print ||
|
|
3840
|
+
(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">' +
|
|
3771
3841
|
(x || y ? '<pane' + (x ? ' xSplit="' + x + '"' : "") + (y ? ' ySplit="' + y + '"' : "") + ' topLeftCell="' + cell + '" activePane="' + pane + '" state="frozen"/><selection pane="' + pane + '" activeCell="' + cell + '" sqref="' + cell + '"/>' : "") + '</sheetView></sheetViews>' +
|
|
3772
|
-
(
|
|
3842
|
+
(hasOutline ? '<sheetFormatPr defaultRowHeight="15"' + (opts.rowOutline ? ' outlineLevelRow="' + opts.maxOutlineLevel + '"' : "") + (outlines.size ? ' outlineLevelCol="' + maxColumnLevel + '"' : "") + '/>' : ""));
|
|
3773
3843
|
const defaultWidth = opts.defaultColumnWidth ?? (this.table ? 20 : undefined);
|
|
3774
|
-
if (this.columns.some((_, i) => this.layout.widths[i] !== undefined || defaultWidth !== undefined)) {
|
|
3844
|
+
if (this.columns.some((_, i) => this.layout.widths[i] !== undefined || defaultWidth !== undefined || outlines.has(i))) {
|
|
3775
3845
|
await buffer.write('<cols>');
|
|
3776
3846
|
for (let i = 0; i < this.columns.length; i++) {
|
|
3777
|
-
const width = this.layout.widths[i] ?? defaultWidth;
|
|
3778
|
-
if (width !== undefined)
|
|
3779
|
-
await buffer.write('<col min="' + (i + 1) + '" max="' + (i + 1) + '"
|
|
3847
|
+
const width = this.layout.widths[i] ?? defaultWidth, outline = outlines.get(i);
|
|
3848
|
+
if (width !== undefined || outline)
|
|
3849
|
+
await buffer.write('<col min="' + (i + 1) + '" max="' + (i + 1) + '"' +
|
|
3850
|
+
(width === undefined ? "" : ' width="' + width + '" customWidth="1"') +
|
|
3851
|
+
(outline?.level ? ' outlineLevel="' + outline.level + '"' : "") + (outline?.hidden ? ' hidden="1"' : "") +
|
|
3852
|
+
(outline?.collapsed ? ' collapsed="1"' : "") + '/>');
|
|
3780
3853
|
}
|
|
3781
3854
|
await buffer.write('</cols>');
|
|
3782
3855
|
}
|
|
@@ -4034,11 +4107,11 @@ class Worksheet {
|
|
|
4034
4107
|
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); }
|
|
4035
4108
|
}
|
|
4036
4109
|
const _exports = Object.freeze({ Worksheet: Worksheet });
|
|
4037
|
-
_modules.set("
|
|
4110
|
+
_modules.set("a61e744201bb537b635b367b1764bd85892101d55e00b8c78faec8be89577376", _exports);
|
|
4038
4111
|
return _exports;
|
|
4039
4112
|
})();
|
|
4040
4113
|
|
|
4041
|
-
const
|
|
4114
|
+
const _m41 = _modules.get("1b4698baf9a9c9b3505988abac9f83967c32cf37483d70a949ae89c4485532a4") ?? (() => {
|
|
4042
4115
|
const { escapeOoxmlAttribute, escapeXml, xmlDeclaration } = _m17;
|
|
4043
4116
|
|
|
4044
4117
|
const { cellText, columnName } = _m27;
|
|
@@ -4049,7 +4122,7 @@ const { ExportCell } = _m5;
|
|
|
4049
4122
|
|
|
4050
4123
|
const { Cell } = _m27;
|
|
4051
4124
|
|
|
4052
|
-
const { totalFormula } =
|
|
4125
|
+
const { totalFormula } = _m34;
|
|
4053
4126
|
|
|
4054
4127
|
function defineTable(id, options, columns, policy) {
|
|
4055
4128
|
const name = options.name ?? "Table" + id;
|
|
@@ -4081,11 +4154,11 @@ function tableXml(table, rowCount, policy, headerRow = 1, footer) {
|
|
|
4081
4154
|
'" showColumnStripes="' + (options.bandedColumns ? 1 : 0) + '"/></table>';
|
|
4082
4155
|
}
|
|
4083
4156
|
const _exports = Object.freeze({ defineTable: defineTable, tableXml: tableXml });
|
|
4084
|
-
_modules.set("
|
|
4157
|
+
_modules.set("1b4698baf9a9c9b3505988abac9f83967c32cf37483d70a949ae89c4485532a4", _exports);
|
|
4085
4158
|
return _exports;
|
|
4086
4159
|
})();
|
|
4087
4160
|
|
|
4088
|
-
const
|
|
4161
|
+
const _m42 = _modules.get("0c395783b9d7cc62dd39a21adeb698ad4a61e2c89f7b1fc8712e2eb2ccfe9d92") ?? (() => {
|
|
4089
4162
|
const { OfficeIMOError } = _m2;
|
|
4090
4163
|
|
|
4091
4164
|
const { cleanXml } = _m17;
|
|
@@ -4153,13 +4226,13 @@ _modules.set("0c395783b9d7cc62dd39a21adeb698ad4a61e2c89f7b1fc8712e2eb2ccfe9d92",
|
|
|
4153
4226
|
return _exports;
|
|
4154
4227
|
})();
|
|
4155
4228
|
|
|
4156
|
-
const
|
|
4229
|
+
const _m43 = _modules.get("477ff98f49343b8ec4213008254b57a60dd42d07cb9843b3791d5e5f8e295865") ?? (() => {
|
|
4157
4230
|
const { captureFields } = _m10;
|
|
4158
4231
|
|
|
4159
4232
|
/** @internal The workbook owner captures these settings before validation or adapter merging. */
|
|
4160
4233
|
const workbookOptionFields = ["signal", "onProgress", "limits", "sink", "dateMode", "compression", "invalidCharacterPolicy", "appProperties", "cellValueWriters", "oversizedText", "creator", "title", "subject", "description", "created", "modified"];
|
|
4161
4234
|
/** @internal Worksheet settings also used by the portable sheet owner. */
|
|
4162
|
-
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"];
|
|
4235
|
+
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"];
|
|
4163
4236
|
/** @internal Includes inherited format-specific ceilings before a wrapper combines stream settings. */
|
|
4164
4237
|
const workbookLimitFields = ["maxRows", "maxCells", "maxTextCharacters", "maxOutputBytes", "maxStyles", "maxSheets", "maxOverflowCharacters", "maxHyperlinks", "maxImageBytes", "maxBufferedCells", "maxBufferedCharacters", "maxMergedRanges", "maxConditionalFormats", "maxDifferentialStyles", "maxCharts", "maxChartPoints", "maxChartTextCharacters", "maxFormulaCharacters", "maxDataValidations", "maxValidationTextCharacters"];
|
|
4165
4238
|
/** @internal Capture the workbook's known ceilings without dropping supported prototype fields. */
|
|
@@ -4172,11 +4245,11 @@ function captureWorkbookOptions(options) {
|
|
|
4172
4245
|
return { ...captured, ...(captured.limits === undefined ? {} : { limits: captureWorkbookLimits(captured.limits) }) };
|
|
4173
4246
|
}
|
|
4174
4247
|
const _exports = Object.freeze({ workbookOptionFields: workbookOptionFields, sheetOptionFields: sheetOptionFields, workbookLimitFields: workbookLimitFields, captureWorkbookLimits: captureWorkbookLimits, captureWorkbookOptions: captureWorkbookOptions });
|
|
4175
|
-
_modules.set("
|
|
4248
|
+
_modules.set("477ff98f49343b8ec4213008254b57a60dd42d07cb9843b3791d5e5f8e295865", _exports);
|
|
4176
4249
|
return _exports;
|
|
4177
4250
|
})();
|
|
4178
4251
|
|
|
4179
|
-
const
|
|
4252
|
+
const _m45 = _modules.get("35db01801a6b2e3e0c5acd7493e56f04b5b41b1d57afa8be28b8358378ad6494") ?? (() => {
|
|
4180
4253
|
const { checkAbort } = _m4;
|
|
4181
4254
|
|
|
4182
4255
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
@@ -4308,18 +4381,18 @@ _modules.set("35db01801a6b2e3e0c5acd7493e56f04b5b41b1d57afa8be28b8358378ad6494",
|
|
|
4308
4381
|
return _exports;
|
|
4309
4382
|
})();
|
|
4310
4383
|
|
|
4311
|
-
const
|
|
4384
|
+
const _m44 = _modules.get("24f1417c3c320a8a41137c28f70b72091256c63010be0c88b684dce85f54950c") ?? (() => {
|
|
4312
4385
|
const { checkAbort } = _m4;
|
|
4313
4386
|
|
|
4314
4387
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
4315
4388
|
|
|
4316
4389
|
const { cleanXml } = _m17;
|
|
4317
4390
|
|
|
4318
|
-
const { copyDrawingAnchor } =
|
|
4391
|
+
const { copyDrawingAnchor } = _m32;
|
|
4319
4392
|
|
|
4320
4393
|
const { captureFields } = _m10;
|
|
4321
4394
|
|
|
4322
|
-
const { captureChartRange, prepareChartBinding } =
|
|
4395
|
+
const { captureChartRange, prepareChartBinding } = _m45;
|
|
4323
4396
|
|
|
4324
4397
|
function fields(value, allowed, context) {
|
|
4325
4398
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
@@ -4475,11 +4548,11 @@ function prepareChart(input, policy, availablePoints, availableText, signal, res
|
|
|
4475
4548
|
points, textCharacters });
|
|
4476
4549
|
}
|
|
4477
4550
|
const _exports = Object.freeze({ prepareChart: prepareChart });
|
|
4478
|
-
_modules.set("
|
|
4551
|
+
_modules.set("24f1417c3c320a8a41137c28f70b72091256c63010be0c88b684dce85f54950c", _exports);
|
|
4479
4552
|
return _exports;
|
|
4480
4553
|
})();
|
|
4481
4554
|
|
|
4482
|
-
const _m22 = _modules.get("
|
|
4555
|
+
const _m22 = _modules.get("e89ecd2f5e1738c6e88f72ac2bcac70dfaa81b4aa86edf333e9b395cf2212e2a") ?? (() => {
|
|
4483
4556
|
const { beginTask, checkAbort, pause, taskYieldDue } = _m4;
|
|
4484
4557
|
|
|
4485
4558
|
const { OfficeIMOError } = _m2;
|
|
@@ -4502,25 +4575,27 @@ const { copyColumns } = _m11;
|
|
|
4502
4575
|
|
|
4503
4576
|
const { captureFields } = _m10;
|
|
4504
4577
|
|
|
4505
|
-
const {
|
|
4578
|
+
const { captureColumnOutlines } = _m29;
|
|
4579
|
+
|
|
4580
|
+
const { captureTableSpans } = _m30;
|
|
4506
4581
|
|
|
4507
4582
|
const { assertExportValue } = _m5;
|
|
4508
4583
|
|
|
4509
|
-
const { Worksheet } =
|
|
4584
|
+
const { Worksheet } = _m31;
|
|
4510
4585
|
|
|
4511
|
-
const { defineTable, tableXml } =
|
|
4586
|
+
const { defineTable, tableXml } = _m41;
|
|
4512
4587
|
|
|
4513
|
-
const { copyHyperlink, drawingXml, drawingContentType } =
|
|
4588
|
+
const { copyHyperlink, drawingXml, drawingContentType } = _m32;
|
|
4514
4589
|
|
|
4515
|
-
const { TextOverflow } =
|
|
4590
|
+
const { TextOverflow } = _m42;
|
|
4516
4591
|
|
|
4517
|
-
const { captureWorkbookOptions, sheetOptionFields } =
|
|
4592
|
+
const { captureWorkbookOptions, sheetOptionFields } = _m43;
|
|
4518
4593
|
|
|
4519
|
-
const { prepareChart } =
|
|
4594
|
+
const { prepareChart } = _m44;
|
|
4520
4595
|
|
|
4521
|
-
const { qualifiedColumnRange, resolveDataColumn } =
|
|
4596
|
+
const { qualifiedColumnRange, resolveDataColumn } = _m38;
|
|
4522
4597
|
|
|
4523
|
-
const { chartContentType, writeChartXml } =
|
|
4598
|
+
const { chartContentType, writeChartXml } = _m33;
|
|
4524
4599
|
|
|
4525
4600
|
const xlsxMime = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
4526
4601
|
const formatType = (name) => "application/vnd.openxmlformats-officedocument.spreadsheetml." + name + "+xml";
|
|
@@ -4531,6 +4606,7 @@ function captureSheet(options, policy) {
|
|
|
4531
4606
|
const footer = captured.footer && captureFields(captured.footer, ["rows", "values", "totals", "style"]);
|
|
4532
4607
|
const print = captured.print && captureFields(captured.print, ["paper", "orientation", "fitToWidth", "fitToHeight", "repeatHeaders", "margins", "header", "footer"]);
|
|
4533
4608
|
return { ...captured, columns,
|
|
4609
|
+
...(captured.columnOutlines === undefined ? {} : { columnOutlines: captureColumnOutlines(captured.columnOutlines, columns.length) }),
|
|
4534
4610
|
...(captured.headerRows === undefined ? {} : { headerRows: captureTableSpans(captured.headerRows, columns.length) }),
|
|
4535
4611
|
...(footer ? { footer: { ...footer,
|
|
4536
4612
|
...(footer.rows === undefined ? {} : { rows: captureTableSpans(footer.rows, columns.length) }),
|
|
@@ -4957,14 +5033,14 @@ class Workbook {
|
|
|
4957
5033
|
}
|
|
4958
5034
|
}
|
|
4959
5035
|
const _exports = Object.freeze({ Workbook: Workbook });
|
|
4960
|
-
_modules.set("
|
|
5036
|
+
_modules.set("e89ecd2f5e1738c6e88f72ac2bcac70dfaa81b4aa86edf333e9b395cf2212e2a", _exports);
|
|
4961
5037
|
return _exports;
|
|
4962
5038
|
})();
|
|
4963
5039
|
|
|
4964
|
-
const
|
|
5040
|
+
const _m47 = _modules.get("a10003e971cd5ec2cee127bc9b029a0aa06fe3d50112838929d7a04a55e177c0") ?? (() => {
|
|
4965
5041
|
const { ExportCell, assertScalar } = _m5;
|
|
4966
5042
|
|
|
4967
|
-
const { captureWorkbookOptions, sheetOptionFields } =
|
|
5043
|
+
const { captureWorkbookOptions, sheetOptionFields } = _m43;
|
|
4968
5044
|
|
|
4969
5045
|
const { captureFields } = _m10;
|
|
4970
5046
|
|
|
@@ -5010,22 +5086,22 @@ function portableWorkbook(options = {}) {
|
|
|
5010
5086
|
return { ...options, cellValueWriters: wrapped };
|
|
5011
5087
|
}
|
|
5012
5088
|
const _exports = Object.freeze({ portableSheet: portableSheet, portableWorkbook: portableWorkbook });
|
|
5013
|
-
_modules.set("
|
|
5089
|
+
_modules.set("a10003e971cd5ec2cee127bc9b029a0aa06fe3d50112838929d7a04a55e177c0", _exports);
|
|
5014
5090
|
return _exports;
|
|
5015
5091
|
})();
|
|
5016
5092
|
|
|
5017
|
-
const
|
|
5093
|
+
const _m46 = _modules.get("5bfd5c9c5e179305b9bebd6cb0d6a0d75e974b223e119e0fd4fbb773325f1e63") ?? (() => {
|
|
5018
5094
|
const { withDestination } = _m3;
|
|
5019
5095
|
|
|
5020
5096
|
const { copyColumns } = _m11;
|
|
5021
5097
|
|
|
5022
5098
|
const { Workbook } = _m22;
|
|
5023
5099
|
|
|
5024
|
-
const { portableSheet, portableWorkbook } =
|
|
5100
|
+
const { portableSheet, portableWorkbook } = _m47;
|
|
5025
5101
|
|
|
5026
5102
|
const { captureFields } = _m10;
|
|
5027
5103
|
|
|
5028
|
-
const { sheetOptionFields, workbookOptionFields } =
|
|
5104
|
+
const { sheetOptionFields, workbookOptionFields } = _m43;
|
|
5029
5105
|
|
|
5030
5106
|
function prepare(options) {
|
|
5031
5107
|
options = captureFields(options, [...workbookOptionFields, "columns", "sheet"]);
|
|
@@ -5069,11 +5145,11 @@ async function writeXlsxTo(rows, destination, configuration) {
|
|
|
5069
5145
|
});
|
|
5070
5146
|
}
|
|
5071
5147
|
const _exports = Object.freeze({ writeXlsx: writeXlsx, writeXlsxTo: writeXlsxTo });
|
|
5072
|
-
_modules.set("
|
|
5148
|
+
_modules.set("5bfd5c9c5e179305b9bebd6cb0d6a0d75e974b223e119e0fd4fbb773325f1e63", _exports);
|
|
5073
5149
|
return _exports;
|
|
5074
5150
|
})();
|
|
5075
5151
|
|
|
5076
|
-
const
|
|
5152
|
+
const _m49 = _modules.get("dd34d5fd89869a0f953f3f2b3fd27ac83be29e68f76c9087fae3d33095aeda7c") ?? (() => {
|
|
5077
5153
|
const { assertGroupedReportSource } = _m8;
|
|
5078
5154
|
|
|
5079
5155
|
const { captureFields } = _m10;
|
|
@@ -5082,11 +5158,11 @@ const { OfficeIMOError } = _m2;
|
|
|
5082
5158
|
|
|
5083
5159
|
const { fields } = _m26;
|
|
5084
5160
|
|
|
5085
|
-
const { sheetOptionFields } =
|
|
5161
|
+
const { sheetOptionFields } = _m43;
|
|
5086
5162
|
|
|
5087
|
-
const { portableSheet } =
|
|
5163
|
+
const { portableSheet } = _m47;
|
|
5088
5164
|
|
|
5089
|
-
const { resolveDataColumn } =
|
|
5165
|
+
const { resolveDataColumn } = _m38;
|
|
5090
5166
|
|
|
5091
5167
|
const { copyStylePatch } = _m24;
|
|
5092
5168
|
|
|
@@ -5162,11 +5238,11 @@ function prepareGroupedSheet(report, configuration, maxConditionalFormats = 1000
|
|
|
5162
5238
|
...(options.grandTotalStyle ? { grandTotalStyle: copyStylePatch(options.grandTotalStyle) } : {}) };
|
|
5163
5239
|
}
|
|
5164
5240
|
const _exports = Object.freeze({ groupedOptionFields: groupedOptionFields, prepareGroupedSheet: prepareGroupedSheet });
|
|
5165
|
-
_modules.set("
|
|
5241
|
+
_modules.set("dd34d5fd89869a0f953f3f2b3fd27ac83be29e68f76c9087fae3d33095aeda7c", _exports);
|
|
5166
5242
|
return _exports;
|
|
5167
5243
|
})();
|
|
5168
5244
|
|
|
5169
|
-
const
|
|
5245
|
+
const _m48 = _modules.get("2ba62cdf88d559804bb84b20e9816b2de0f232401b7431ac414699a607d554a4") ?? (() => {
|
|
5170
5246
|
const { groupedReportOperation } = _m8;
|
|
5171
5247
|
|
|
5172
5248
|
const { checkAbort, withAbort } = _m4;
|
|
@@ -5181,11 +5257,11 @@ const { FormulaCell } = _m28;
|
|
|
5181
5257
|
|
|
5182
5258
|
const { columnName } = _m27;
|
|
5183
5259
|
|
|
5184
|
-
const { captureWorkbookLimits, workbookOptionFields } =
|
|
5260
|
+
const { captureWorkbookLimits, workbookOptionFields } = _m43;
|
|
5185
5261
|
|
|
5186
|
-
const { retainDataRowRanges } =
|
|
5262
|
+
const { retainDataRowRanges } = _m39;
|
|
5187
5263
|
|
|
5188
|
-
const { groupedOptionFields, prepareGroupedSheet } =
|
|
5264
|
+
const { groupedOptionFields, prepareGroupedSheet } = _m49;
|
|
5189
5265
|
|
|
5190
5266
|
const subtotalOperations = { average: 1, count: 2, max: 4, min: 5, sum: 9 };
|
|
5191
5267
|
function label(value) {
|
|
@@ -5339,19 +5415,19 @@ async function writeGroupedXlsxTo(report, destination, options) {
|
|
|
5339
5415
|
return withDestination(destination, async (sink) => (await write(report, prepared, sink)).result);
|
|
5340
5416
|
}
|
|
5341
5417
|
const _exports = Object.freeze({ addGroupedXlsx: addGroupedXlsx, writeGroupedXlsx: writeGroupedXlsx, writeGroupedXlsxTo: writeGroupedXlsxTo });
|
|
5342
|
-
_modules.set("
|
|
5418
|
+
_modules.set("2ba62cdf88d559804bb84b20e9816b2de0f232401b7431ac414699a607d554a4", _exports);
|
|
5343
5419
|
return _exports;
|
|
5344
5420
|
})();
|
|
5345
5421
|
|
|
5346
|
-
const _m21 = _modules.get("
|
|
5422
|
+
const _m21 = _modules.get("d6587a933b36ccfdba9a2a252389924ac8461f672b3a500082cceb5e53c8b0b6") ?? (() => {
|
|
5347
5423
|
|
|
5348
|
-
const _exports = Object.freeze({ Workbook: _m22.Workbook, writeXlsx:
|
|
5349
|
-
_modules.set("
|
|
5424
|
+
const _exports = Object.freeze({ Workbook: _m22.Workbook, writeXlsx: _m46.writeXlsx, writeXlsxTo: _m46.writeXlsxTo, writeGroupedXlsx: _m48.writeGroupedXlsx, writeGroupedXlsxTo: _m48.writeGroupedXlsxTo, addGroupedXlsx: _m48.addGroupedXlsx, createGroupedReport: _m8.createGroupedReport, Worksheet: _m31.Worksheet, Cell: _m27.Cell, FormulaCell: _m28.FormulaCell, StyleRegistry: _m24.StyleRegistry, NumberFormats: _m24.NumberFormats, saveBlob: _m1.saveBlob, ExportCell: _m5.ExportCell });
|
|
5425
|
+
_modules.set("d6587a933b36ccfdba9a2a252389924ac8461f672b3a500082cceb5e53c8b0b6", _exports);
|
|
5350
5426
|
return _exports;
|
|
5351
5427
|
})();
|
|
5352
5428
|
|
|
5353
|
-
const
|
|
5354
|
-
const { captureTableSpans, tableSpans } =
|
|
5429
|
+
const _m51 = _modules.get("2f5c0823847e9209017d01b2a753f36056df2a9988fae1f3a1bd5fd186545220") ?? (() => {
|
|
5430
|
+
const { captureTableSpans, tableSpans } = _m30;
|
|
5355
5431
|
|
|
5356
5432
|
/** Snapshot small report matrices; flattening is an explicit format decision, never inferred from labels. */
|
|
5357
5433
|
function csvStructuredRows(rows, columns, mode) {
|
|
@@ -5372,7 +5448,7 @@ _modules.set("2f5c0823847e9209017d01b2a753f36056df2a9988fae1f3a1bd5fd186545220",
|
|
|
5372
5448
|
return _exports;
|
|
5373
5449
|
})();
|
|
5374
5450
|
|
|
5375
|
-
const
|
|
5451
|
+
const _m52 = _modules.get("9b33d9107e62ba8299c576072de40d24a261464f118de4ace64f23154fc78307") ?? (() => {
|
|
5376
5452
|
/** Compatibility display policy; hosts can supply labels without changing typed source values. */
|
|
5377
5453
|
const defaultBooleanText = Object.freeze({ true: "True", false: "False" });
|
|
5378
5454
|
/** @internal Capture display policy once, before source iteration or asynchronous output. */
|
|
@@ -5391,7 +5467,7 @@ _modules.set("9b33d9107e62ba8299c576072de40d24a261464f118de4ace64f23154fc78307",
|
|
|
5391
5467
|
return _exports;
|
|
5392
5468
|
})();
|
|
5393
5469
|
|
|
5394
|
-
const
|
|
5470
|
+
const _m53 = _modules.get("f0627ba89e5c8fcb376ebe3ce72dcc8d68c34952981f8703e36b8bb1a9894208") ?? (() => {
|
|
5395
5471
|
const { captureFields } = _m10;
|
|
5396
5472
|
|
|
5397
5473
|
/** @internal Share the format's capture policy with thin adapters before they compose options. */
|
|
@@ -5406,7 +5482,7 @@ _modules.set("f0627ba89e5c8fcb376ebe3ce72dcc8d68c34952981f8703e36b8bb1a9894208",
|
|
|
5406
5482
|
return _exports;
|
|
5407
5483
|
})();
|
|
5408
5484
|
|
|
5409
|
-
const
|
|
5485
|
+
const _m50 = _modules.get("b48bcab805d4c75294dd8d8e8dc57f96d9db3f5af31a8f0ddc6562f010f566e4") ?? (() => {
|
|
5410
5486
|
const { beginTask, checkAbort, consumeRows, taskYieldDue, withAbort } = _m4;
|
|
5411
5487
|
|
|
5412
5488
|
const { BlobByteSink, ChunkedTextSink, withDestination } = _m3;
|
|
@@ -5421,11 +5497,11 @@ const { notifyProgress } = _m23;
|
|
|
5421
5497
|
|
|
5422
5498
|
const { copyColumns, createRowProjector } = _m11;
|
|
5423
5499
|
|
|
5424
|
-
const { csvStructuredRows } =
|
|
5500
|
+
const { csvStructuredRows } = _m51;
|
|
5425
5501
|
|
|
5426
|
-
const { captureBooleanText } =
|
|
5502
|
+
const { captureBooleanText } = _m52;
|
|
5427
5503
|
|
|
5428
|
-
const { captureCsvOptions } =
|
|
5504
|
+
const { captureCsvOptions } = _m53;
|
|
5429
5505
|
|
|
5430
5506
|
|
|
5431
5507
|
|
|
@@ -5560,7 +5636,7 @@ _modules.set("b48bcab805d4c75294dd8d8e8dc57f96d9db3f5af31a8f0ddc6562f010f566e4",
|
|
|
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,24 +5745,24 @@ _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;
|
|
5676
5752
|
|
|
5677
5753
|
const { copyColumns } = _m11;
|
|
5678
5754
|
|
|
5679
|
-
const { captureTableSpans } =
|
|
5755
|
+
const { captureTableSpans } = _m30;
|
|
5680
5756
|
|
|
5681
5757
|
const { copyExportValue } = _m13;
|
|
5682
5758
|
|
|
5683
5759
|
const { captureFields } = _m10;
|
|
5684
5760
|
|
|
5685
|
-
const { captureParagraphStyles } =
|
|
5761
|
+
const { captureParagraphStyles } = _m57;
|
|
5686
5762
|
|
|
5687
|
-
const { captureBooleanText } =
|
|
5763
|
+
const { captureBooleanText } = _m52;
|
|
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;
|
|
@@ -7443,7 +7519,7 @@ const { checkAbort, pause, taskYieldDue } = _m4;
|
|
|
7443
7519
|
|
|
7444
7520
|
const { isDate } = _m6;
|
|
7445
7521
|
|
|
7446
|
-
const { defaultBooleanText } =
|
|
7522
|
+
const { defaultBooleanText } = _m52;
|
|
7447
7523
|
|
|
7448
7524
|
/** @internal Charge displayed characters: tabs paint four spaces, while CR/LF only separate lines.
|
|
7449
7525
|
* Raw text remains authoritative for input limits and layout. Skip normalization when no text ceiling observes it. */
|
|
@@ -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,22 +8130,22 @@ _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;
|
|
8061
8137
|
|
|
8062
|
-
const { tableSpans } =
|
|
8138
|
+
const { tableSpans } = _m30;
|
|
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 } = _m23;
|
|
|
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,17 +11623,17 @@ _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 _m0 = _modules.get("
|
|
11633
|
+
const _m0 = _modules.get("24797253ebcf6e25ce43ac76d1f16d0ce85b477a461faa1d167dabbea8e43968") ?? (() => {
|
|
11558
11634
|
|
|
11559
|
-
const _exports = Object.freeze({ core: _m1, zip: _m14, xml: _m17, opc: _m18, xlsx: _m21, csv:
|
|
11560
|
-
_modules.set("
|
|
11635
|
+
const _exports = Object.freeze({ core: _m1, zip: _m14, xml: _m17, opc: _m18, xlsx: _m21, csv: _m50, pdf: _m54, Workbook: _m21.Workbook, Worksheet: _m21.Worksheet, Cell: _m21.Cell, FormulaCell: _m21.FormulaCell, StyleRegistry: _m21.StyleRegistry, NumberFormats: _m21.NumberFormats, writeXlsx: _m21.writeXlsx, writeXlsxTo: _m21.writeXlsxTo, writeCsv: _m50.writeCsv, writeCsvTo: _m50.writeCsvTo, createGroupedReport: _m8.createGroupedReport, writeGroupedXlsx: _m48.writeGroupedXlsx, writeGroupedXlsxTo: _m48.writeGroupedXlsxTo, addGroupedXlsx: _m48.addGroupedXlsx, writeGroupedPdf: _m83.writeGroupedPdf, writeGroupedPdfTo: _m83.writeGroupedPdfTo, pdfGroupedTable: _m83.pdfGroupedTable, writePdf: _m54.writePdf, writePdfTo: _m54.writePdfTo, writePdfDocument: _m54.writePdfDocument, writePdfDocumentTo: _m54.writePdfDocumentTo, pdfTable: _m54.pdfTable, PdfFont: _m54.PdfFont, preflightPdfText: _m54.preflightPdfText, OfficeIMOError: _m1.OfficeIMOError, NotSupportedError: _m1.NotSupportedError, detectFeatures: _m1.detectFeatures, saveBlob: _m1.saveBlob, ExportCell: _m1.ExportCell });
|
|
11636
|
+
_modules.set("24797253ebcf6e25ce43ac76d1f16d0ce85b477a461faa1d167dabbea8e43968", _exports);
|
|
11561
11637
|
return _exports;
|
|
11562
11638
|
})();
|
|
11563
11639
|
Object.assign(officeimo, _m0);
|