@evotecit/officeimo 0.1.3 → 0.1.5
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 +20 -4
- package/bundles/officeimo-canopyx.js +726 -274
- package/bundles/officeimo-canopyx.mjs +684 -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 +117 -0
- package/dist/integrations/canopyx/pivot.d.ts +15 -0
- package/dist/integrations/canopyx/pivot.js +71 -0
- package/dist/integrations/canopyx/source.js +50 -14
- package/dist/integrations/canopyx/types.d.ts +46 -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
|
@@ -1882,7 +1882,16 @@ class OpcPackage {
|
|
|
1882
1882
|
throw new OfficeIMOError("INVALID_STATE", "OPC package is finalized."); }
|
|
1883
1883
|
reserve(uri, type) {
|
|
1884
1884
|
this.open();
|
|
1885
|
+
// OPC part names become ZIP entry names. Reject oversized and deeply nested
|
|
1886
|
+
// names before collecting every ancestor prefix.
|
|
1887
|
+
if (typeof uri === "string" && uri.length > 65536)
|
|
1888
|
+
throw new OfficeIMOError("RESOURCE_LIMIT", "OPC part name exceeds the ZIP entry-name limit.");
|
|
1885
1889
|
uri = partUri(uri);
|
|
1890
|
+
let depth = 0;
|
|
1891
|
+
for (let index = 0; index < uri.length; index++) {
|
|
1892
|
+
if (uri[index] === "/" && ++depth > 64)
|
|
1893
|
+
throw new OfficeIMOError("RESOURCE_LIMIT", "OPC part name exceeds the directory-depth limit.");
|
|
1894
|
+
}
|
|
1886
1895
|
if (/\/_rels(?:\/|$)/i.test(uri) || uri.toLowerCase() === "/[content_types].xml")
|
|
1887
1896
|
throw new TypeError("Package metadata part names are reserved.");
|
|
1888
1897
|
const key = uri.toLowerCase();
|
|
@@ -2561,14 +2570,23 @@ function columnName(index) {
|
|
|
2561
2570
|
return name;
|
|
2562
2571
|
}
|
|
2563
2572
|
function clipName(text, length) { return text.slice(0, length).replace(/[\ud800-\udbff]$/, ""); }
|
|
2573
|
+
function trimSheetNameEdges(text) {
|
|
2574
|
+
let start = 0, end = text.length;
|
|
2575
|
+
const removable = (character) => character === "'" || /\s/u.test(character);
|
|
2576
|
+
while (start < end && removable(text[start]))
|
|
2577
|
+
start++;
|
|
2578
|
+
while (end > start && removable(text[end - 1]))
|
|
2579
|
+
end--;
|
|
2580
|
+
return text.slice(start, end);
|
|
2581
|
+
}
|
|
2564
2582
|
function sheetName(requested, names, policy, register = true) {
|
|
2565
2583
|
if (typeof requested !== "string")
|
|
2566
2584
|
throw new TypeError("Sheet name must be a string.");
|
|
2567
2585
|
// Validate and deduplicate the decoded literal value, before ST_Xstring attribute encoding.
|
|
2568
2586
|
// A requested _xHHHH_ token is literal text; the serializer protects its leading underscore.
|
|
2569
|
-
let base = cleanXml(requested, policy).replace(/[\[\]:*?/\\]/g, "_")
|
|
2587
|
+
let base = trimSheetNameEdges(cleanXml(requested, policy).replace(/[\[\]:*?/\\]/g, "_"));
|
|
2570
2588
|
// Clipping can expose an internal apostrophe or the reserved History name.
|
|
2571
|
-
base = clipName(base, 31)
|
|
2589
|
+
base = trimSheetNameEdges(clipName(base, 31));
|
|
2572
2590
|
if (!base)
|
|
2573
2591
|
base = "Sheet";
|
|
2574
2592
|
if (base.toLowerCase() === "history")
|
|
@@ -2598,7 +2616,52 @@ const _exports = Object.freeze({ Cell: Cell, assertXlsxValue: assertXlsxValue, c
|
|
|
2598
2616
|
return _exports;
|
|
2599
2617
|
})();
|
|
2600
2618
|
|
|
2601
|
-
const
|
|
2619
|
+
const _m34 = (() => {
|
|
2620
|
+
const { captureFields } = _m10;
|
|
2621
|
+
|
|
2622
|
+
/** Capture bounded disjoint ranges before asynchronous serialization; absent columns stay visible. */
|
|
2623
|
+
function captureColumnOutlines(input, columns) {
|
|
2624
|
+
if (input === undefined)
|
|
2625
|
+
return undefined;
|
|
2626
|
+
if (!Array.isArray(input) || input.length > columns)
|
|
2627
|
+
throw new TypeError("Column outlines must be bounded, non-overlapping ranges.");
|
|
2628
|
+
let end = 0;
|
|
2629
|
+
return Object.freeze(input.map(range => {
|
|
2630
|
+
if (!range || typeof range !== "object")
|
|
2631
|
+
throw new TypeError("Column outlines require range metadata.");
|
|
2632
|
+
return captureFields(range, ["firstColumn", "columnCount", "level", "hidden", "collapsed"]);
|
|
2633
|
+
}).sort((a, b) => a.firstColumn - b.firstColumn).map(range => {
|
|
2634
|
+
const { firstColumn, columnCount, level = 0, hidden, collapsed } = range;
|
|
2635
|
+
if (!Number.isSafeInteger(firstColumn) || firstColumn < end || !Number.isSafeInteger(columnCount) || columnCount < 1 || firstColumn + columnCount > columns)
|
|
2636
|
+
throw new RangeError("Column outline ranges must be disjoint and within the declared columns.");
|
|
2637
|
+
if (!Number.isInteger(level) || level < 0 || level > 7)
|
|
2638
|
+
throw new RangeError("Column outline level must be from zero through seven.");
|
|
2639
|
+
for (const flag of [hidden, collapsed])
|
|
2640
|
+
if (flag !== undefined && typeof flag !== "boolean")
|
|
2641
|
+
throw new TypeError("Column outline flags must be booleans.");
|
|
2642
|
+
end = firstColumn + columnCount;
|
|
2643
|
+
return Object.freeze({ firstColumn, columnCount, level, ...(hidden === undefined ? {} : { hidden }), ...(collapsed === undefined ? {} : { collapsed }) });
|
|
2644
|
+
}));
|
|
2645
|
+
}
|
|
2646
|
+
/** @internal Positions are captured even when a sheet has only column outlines. */
|
|
2647
|
+
function validateOutlinePositions(options) {
|
|
2648
|
+
for (const flag of [options.outlineSummaryBelow, options.outlineSummaryRight])
|
|
2649
|
+
if (flag !== undefined && typeof flag !== "boolean")
|
|
2650
|
+
throw new TypeError("Outline summary positions must be booleans.");
|
|
2651
|
+
}
|
|
2652
|
+
/** @internal Resolve at most 16,384 columns once, without retaining any worksheet body. */
|
|
2653
|
+
function columnOutlineMap(ranges) {
|
|
2654
|
+
const result = new Map();
|
|
2655
|
+
for (const range of ranges ?? [])
|
|
2656
|
+
for (let index = range.firstColumn; index < range.firstColumn + range.columnCount; index++)
|
|
2657
|
+
result.set(index, range);
|
|
2658
|
+
return result;
|
|
2659
|
+
}
|
|
2660
|
+
const _exports = Object.freeze({ captureColumnOutlines: captureColumnOutlines, validateOutlinePositions: validateOutlinePositions, columnOutlineMap: columnOutlineMap });
|
|
2661
|
+
return _exports;
|
|
2662
|
+
})();
|
|
2663
|
+
|
|
2664
|
+
const _m37 = (() => {
|
|
2602
2665
|
const { ChunkedTextSink } = _m3;
|
|
2603
2666
|
|
|
2604
2667
|
const { escapeXml, xmlDeclaration } = _m25;
|
|
@@ -2710,14 +2773,14 @@ const _exports = Object.freeze({ chartNamespace: chartNamespace, chartContentTyp
|
|
|
2710
2773
|
return _exports;
|
|
2711
2774
|
})();
|
|
2712
2775
|
|
|
2713
|
-
const
|
|
2776
|
+
const _m36 = (() => {
|
|
2714
2777
|
const { cleanXml, escapeXml, escapeOoxmlAttribute, xmlDeclaration } = _m25;
|
|
2715
2778
|
|
|
2716
2779
|
const { copyExportLink } = _m7;
|
|
2717
2780
|
|
|
2718
2781
|
const { officeRelationshipsNamespace } = _m22;
|
|
2719
2782
|
|
|
2720
|
-
const { chartAnchorXml } =
|
|
2783
|
+
const { chartAnchorXml } = _m37;
|
|
2721
2784
|
|
|
2722
2785
|
const { captureFields } = _m10;
|
|
2723
2786
|
|
|
@@ -2787,10 +2850,10 @@ const _exports = Object.freeze({ copyDrawingAnchor: copyDrawingAnchor, cellPosit
|
|
|
2787
2850
|
return _exports;
|
|
2788
2851
|
})();
|
|
2789
2852
|
|
|
2790
|
-
const
|
|
2853
|
+
const _m39 = (() => {
|
|
2791
2854
|
const { OfficeIMOError } = _m2;
|
|
2792
2855
|
|
|
2793
|
-
const { cellPosition } =
|
|
2856
|
+
const { cellPosition } = _m36;
|
|
2794
2857
|
|
|
2795
2858
|
function indexRows(regions) {
|
|
2796
2859
|
if (!regions.length)
|
|
@@ -2891,7 +2954,7 @@ const _exports = Object.freeze({ MergeRegions: MergeRegions });
|
|
|
2891
2954
|
return _exports;
|
|
2892
2955
|
})();
|
|
2893
2956
|
|
|
2894
|
-
const
|
|
2957
|
+
const _m40 = (() => {
|
|
2895
2958
|
const { ExportCell } = _m5;
|
|
2896
2959
|
|
|
2897
2960
|
const { tableSpans } = _m17;
|
|
@@ -2927,7 +2990,7 @@ const _exports = Object.freeze({ StructuredRows: StructuredRows });
|
|
|
2927
2990
|
return _exports;
|
|
2928
2991
|
})();
|
|
2929
2992
|
|
|
2930
|
-
const
|
|
2993
|
+
const _m38 = (() => {
|
|
2931
2994
|
const { ExportCell } = _m5;
|
|
2932
2995
|
|
|
2933
2996
|
const { isDate } = _m6;
|
|
@@ -2938,13 +3001,13 @@ const { FormulaCell } = _m33;
|
|
|
2938
3001
|
|
|
2939
3002
|
const { escapeOoxmlAttribute } = _m25;
|
|
2940
3003
|
|
|
2941
|
-
const { MergeRegions } =
|
|
3004
|
+
const { MergeRegions } = _m39;
|
|
2942
3005
|
|
|
2943
3006
|
const { OfficeIMOError } = _m2;
|
|
2944
3007
|
|
|
2945
3008
|
const { createTotals } = _m12;
|
|
2946
3009
|
|
|
2947
|
-
const { StructuredRows } =
|
|
3010
|
+
const { StructuredRows } = _m40;
|
|
2948
3011
|
|
|
2949
3012
|
/** @internal A computed formula with a numeric cache; no public arbitrary-formula input. */
|
|
2950
3013
|
class ComputedTotal {
|
|
@@ -3127,7 +3190,7 @@ const _exports = Object.freeze({ ComputedTotal: ComputedTotal, ReportLayout: Rep
|
|
|
3127
3190
|
return _exports;
|
|
3128
3191
|
})();
|
|
3129
3192
|
|
|
3130
|
-
const
|
|
3193
|
+
const _m42 = (() => {
|
|
3131
3194
|
const { columnName } = _m32;
|
|
3132
3195
|
|
|
3133
3196
|
/** @internal Data-column selectors use stable keys or one-based worksheet columns. */
|
|
@@ -3157,7 +3220,7 @@ const _exports = Object.freeze({ resolveDataColumn: resolveDataColumn, qualified
|
|
|
3157
3220
|
return _exports;
|
|
3158
3221
|
})();
|
|
3159
3222
|
|
|
3160
|
-
const
|
|
3223
|
+
const _m43 = (() => {
|
|
3161
3224
|
const { OfficeIMOError } = _m2;
|
|
3162
3225
|
|
|
3163
3226
|
const { columnName } = _m32;
|
|
@@ -3203,18 +3266,18 @@ const _exports = Object.freeze({ retainDataRowRanges: retainDataRowRanges, dataR
|
|
|
3203
3266
|
return _exports;
|
|
3204
3267
|
})();
|
|
3205
3268
|
|
|
3206
|
-
const
|
|
3269
|
+
const _m41 = (() => {
|
|
3207
3270
|
const { cleanXml, escapeXml, escapeOoxmlAttribute } = _m25;
|
|
3208
3271
|
|
|
3209
|
-
const { cellPosition } =
|
|
3272
|
+
const { cellPosition } = _m36;
|
|
3210
3273
|
|
|
3211
3274
|
const { colorArgb } = _m30;
|
|
3212
3275
|
|
|
3213
3276
|
const { fields, optionalBoolean, differentialXml } = _m31;
|
|
3214
3277
|
|
|
3215
|
-
const { resolveDataColumn } =
|
|
3278
|
+
const { resolveDataColumn } = _m42;
|
|
3216
3279
|
|
|
3217
|
-
const { dataRowReference } =
|
|
3280
|
+
const { dataRowReference } = _m43;
|
|
3218
3281
|
|
|
3219
3282
|
function target(range, columns) {
|
|
3220
3283
|
if (typeof range === "string") {
|
|
@@ -3372,7 +3435,7 @@ const _exports = Object.freeze({ prepareConditionalFormats: prepareConditionalFo
|
|
|
3372
3435
|
return _exports;
|
|
3373
3436
|
})();
|
|
3374
3437
|
|
|
3375
|
-
const
|
|
3438
|
+
const _m44 = (() => {
|
|
3376
3439
|
const { OfficeIMOError } = _m2;
|
|
3377
3440
|
|
|
3378
3441
|
const { checkAbort } = _m4;
|
|
@@ -3381,9 +3444,9 @@ const { cleanXml, escapeOoxmlAttribute, escapeXml } = _m25;
|
|
|
3381
3444
|
|
|
3382
3445
|
const { fields, optionalBoolean } = _m31;
|
|
3383
3446
|
|
|
3384
|
-
const { resolveDataColumn } =
|
|
3447
|
+
const { resolveDataColumn } = _m42;
|
|
3385
3448
|
|
|
3386
|
-
const { dataRowReference } =
|
|
3449
|
+
const { dataRowReference } = _m43;
|
|
3387
3450
|
|
|
3388
3451
|
function message(value, maximum, name) {
|
|
3389
3452
|
if (value === undefined)
|
|
@@ -3475,7 +3538,7 @@ const _exports = Object.freeze({ prepareDataValidations: prepareDataValidations,
|
|
|
3475
3538
|
return _exports;
|
|
3476
3539
|
})();
|
|
3477
3540
|
|
|
3478
|
-
const
|
|
3541
|
+
const _m35 = (() => {
|
|
3479
3542
|
const { checkAbort, consumeRows, inputRows, pause, taskYieldDue } = _m4;
|
|
3480
3543
|
|
|
3481
3544
|
const { ChunkedTextSink, BlobByteSink } = _m3;
|
|
@@ -3496,25 +3559,27 @@ const { Cell, cellText, columnName, inlineText, excelDate, copyValue } = _m32;
|
|
|
3496
3559
|
|
|
3497
3560
|
const { spreadsheetNamespace, colorArgb, validateStylePatch, copyStylePatch } = _m29;
|
|
3498
3561
|
|
|
3499
|
-
const { copyHyperlink, copyImage, hyperlinksXml, cellPosition } =
|
|
3562
|
+
const { copyHyperlink, copyImage, hyperlinksXml, cellPosition } = _m36;
|
|
3500
3563
|
|
|
3501
3564
|
const { ExportCell, assertScalar } = _m5;
|
|
3502
3565
|
|
|
3503
|
-
const { ReportLayout, ComputedTotal, printXml } =
|
|
3566
|
+
const { ReportLayout, ComputedTotal, printXml } = _m38;
|
|
3504
3567
|
|
|
3505
3568
|
const { cleanXml } = _m25;
|
|
3506
3569
|
|
|
3507
|
-
const { ConditionalFormats, prepareConditionalFormats } =
|
|
3570
|
+
const { ConditionalFormats, prepareConditionalFormats } = _m41;
|
|
3508
3571
|
|
|
3509
3572
|
const { isDate } = _m6;
|
|
3510
3573
|
|
|
3511
3574
|
const { FormulaCell, formulaXml, isSubtotalFormula } = _m33;
|
|
3512
3575
|
|
|
3513
|
-
const { prepareDataValidations, dataValidationsXml } =
|
|
3576
|
+
const { prepareDataValidations, dataValidationsXml } = _m44;
|
|
3514
3577
|
|
|
3515
|
-
const { qualifiedCell, qualifiedColumnRange, resolveDataColumn } =
|
|
3578
|
+
const { qualifiedCell, qualifiedColumnRange, resolveDataColumn } = _m42;
|
|
3516
3579
|
|
|
3517
|
-
const { dataRowRanges, dataRowCount } =
|
|
3580
|
+
const { dataRowRanges, dataRowCount } = _m43;
|
|
3581
|
+
|
|
3582
|
+
const { captureColumnOutlines, columnOutlineMap, validateOutlinePositions } = _m34;
|
|
3518
3583
|
|
|
3519
3584
|
const maximumHyperlinks = 65530;
|
|
3520
3585
|
function checkHyperlinkCount(count) {
|
|
@@ -3646,6 +3711,8 @@ class Worksheet {
|
|
|
3646
3711
|
throw new TypeError("Row and style callbacks must be functions.");
|
|
3647
3712
|
if (options.maxOutlineLevel !== undefined && (!Number.isInteger(options.maxOutlineLevel) || options.maxOutlineLevel < 0 || options.maxOutlineLevel > 7))
|
|
3648
3713
|
throw new RangeError("Maximum outline level must be an integer from zero through seven.");
|
|
3714
|
+
validateOutlinePositions(options);
|
|
3715
|
+
captureColumnOutlines(options.columnOutlines, columns.length);
|
|
3649
3716
|
if (options.rowOutline && options.maxOutlineLevel === undefined)
|
|
3650
3717
|
throw new TypeError("A row outline callback requires maxOutlineLevel before streamed rows are written.");
|
|
3651
3718
|
if (!options.rowOutline && options.maxOutlineLevel !== undefined)
|
|
@@ -3930,17 +3997,22 @@ class Worksheet {
|
|
|
3930
3997
|
const buffer = this.buffer = new ChunkedTextSink(this.entry, this.book.settings.signal), opts = this.options;
|
|
3931
3998
|
const x = opts.freezeColumns ?? 0, y = opts.freezeHeader ? this.headerRows : 0;
|
|
3932
3999
|
const pane = x && y ? "bottomRight" : x ? "topRight" : "bottomLeft", cell = columnName(x + 1) + (y + 1);
|
|
4000
|
+
const outlines = columnOutlineMap(opts.columnOutlines), hasOutline = !!opts.rowOutline || outlines.size > 0;
|
|
4001
|
+
const maxColumnLevel = Math.max(0, ...Array.from(outlines.values(), value => value.level ?? 0));
|
|
3933
4002
|
await buffer.write(xmlDeclaration + '<worksheet xmlns="' + spreadsheetNamespace + '" xmlns:r="' + officeRelationshipsNamespace + '">' +
|
|
3934
|
-
(opts.print ||
|
|
4003
|
+
(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">' +
|
|
3935
4004
|
(x || y ? '<pane' + (x ? ' xSplit="' + x + '"' : "") + (y ? ' ySplit="' + y + '"' : "") + ' topLeftCell="' + cell + '" activePane="' + pane + '" state="frozen"/><selection pane="' + pane + '" activeCell="' + cell + '" sqref="' + cell + '"/>' : "") + '</sheetView></sheetViews>' +
|
|
3936
|
-
(
|
|
4005
|
+
(hasOutline ? '<sheetFormatPr defaultRowHeight="15"' + (opts.rowOutline ? ' outlineLevelRow="' + opts.maxOutlineLevel + '"' : "") + (outlines.size ? ' outlineLevelCol="' + maxColumnLevel + '"' : "") + '/>' : ""));
|
|
3937
4006
|
const defaultWidth = opts.defaultColumnWidth ?? (this.table ? 20 : undefined);
|
|
3938
|
-
if (this.columns.some((_, i) => this.layout.widths[i] !== undefined || defaultWidth !== undefined)) {
|
|
4007
|
+
if (this.columns.some((_, i) => this.layout.widths[i] !== undefined || defaultWidth !== undefined || outlines.has(i))) {
|
|
3939
4008
|
await buffer.write('<cols>');
|
|
3940
4009
|
for (let i = 0; i < this.columns.length; i++) {
|
|
3941
|
-
const width = this.layout.widths[i] ?? defaultWidth;
|
|
3942
|
-
if (width !== undefined)
|
|
3943
|
-
await buffer.write('<col min="' + (i + 1) + '" max="' + (i + 1) + '"
|
|
4010
|
+
const width = this.layout.widths[i] ?? defaultWidth, outline = outlines.get(i);
|
|
4011
|
+
if (width !== undefined || outline)
|
|
4012
|
+
await buffer.write('<col min="' + (i + 1) + '" max="' + (i + 1) + '"' +
|
|
4013
|
+
(width === undefined ? "" : ' width="' + width + '" customWidth="1"') +
|
|
4014
|
+
(outline?.level ? ' outlineLevel="' + outline.level + '"' : "") + (outline?.hidden ? ' hidden="1"' : "") +
|
|
4015
|
+
(outline?.collapsed ? ' collapsed="1"' : "") + '/>');
|
|
3944
4016
|
}
|
|
3945
4017
|
await buffer.write('</cols>');
|
|
3946
4018
|
}
|
|
@@ -4201,7 +4273,7 @@ const _exports = Object.freeze({ Worksheet: Worksheet });
|
|
|
4201
4273
|
return _exports;
|
|
4202
4274
|
})();
|
|
4203
4275
|
|
|
4204
|
-
const
|
|
4276
|
+
const _m45 = (() => {
|
|
4205
4277
|
const { escapeOoxmlAttribute, escapeXml, xmlDeclaration } = _m25;
|
|
4206
4278
|
|
|
4207
4279
|
const { cellText, columnName } = _m32;
|
|
@@ -4212,7 +4284,7 @@ const { ExportCell } = _m5;
|
|
|
4212
4284
|
|
|
4213
4285
|
const { Cell } = _m32;
|
|
4214
4286
|
|
|
4215
|
-
const { totalFormula } =
|
|
4287
|
+
const { totalFormula } = _m38;
|
|
4216
4288
|
|
|
4217
4289
|
function defineTable(id, options, columns, policy) {
|
|
4218
4290
|
const name = options.name ?? "Table" + id;
|
|
@@ -4247,7 +4319,7 @@ const _exports = Object.freeze({ defineTable: defineTable, tableXml: tableXml })
|
|
|
4247
4319
|
return _exports;
|
|
4248
4320
|
})();
|
|
4249
4321
|
|
|
4250
|
-
const
|
|
4322
|
+
const _m46 = (() => {
|
|
4251
4323
|
const { OfficeIMOError } = _m2;
|
|
4252
4324
|
|
|
4253
4325
|
const { cleanXml } = _m25;
|
|
@@ -4314,13 +4386,13 @@ const _exports = Object.freeze({ TextOverflow: TextOverflow, clipText: clipText
|
|
|
4314
4386
|
return _exports;
|
|
4315
4387
|
})();
|
|
4316
4388
|
|
|
4317
|
-
const
|
|
4389
|
+
const _m47 = (() => {
|
|
4318
4390
|
const { captureFields } = _m10;
|
|
4319
4391
|
|
|
4320
4392
|
/** @internal The workbook owner captures these settings before validation or adapter merging. */
|
|
4321
4393
|
const workbookOptionFields = ["signal", "onProgress", "limits", "sink", "dateMode", "compression", "invalidCharacterPolicy", "appProperties", "cellValueWriters", "oversizedText", "creator", "title", "subject", "description", "created", "modified"];
|
|
4322
4394
|
/** @internal Worksheet settings also used by the portable sheet owner. */
|
|
4323
|
-
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"];
|
|
4395
|
+
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"];
|
|
4324
4396
|
/** @internal Includes inherited format-specific ceilings before a wrapper combines stream settings. */
|
|
4325
4397
|
const workbookLimitFields = ["maxRows", "maxCells", "maxTextCharacters", "maxOutputBytes", "maxStyles", "maxSheets", "maxOverflowCharacters", "maxHyperlinks", "maxImageBytes", "maxBufferedCells", "maxBufferedCharacters", "maxMergedRanges", "maxConditionalFormats", "maxDifferentialStyles", "maxCharts", "maxChartPoints", "maxChartTextCharacters", "maxFormulaCharacters", "maxDataValidations", "maxValidationTextCharacters"];
|
|
4326
4398
|
/** @internal Capture the workbook's known ceilings without dropping supported prototype fields. */
|
|
@@ -4336,7 +4408,7 @@ const _exports = Object.freeze({ workbookOptionFields: workbookOptionFields, she
|
|
|
4336
4408
|
return _exports;
|
|
4337
4409
|
})();
|
|
4338
4410
|
|
|
4339
|
-
const
|
|
4411
|
+
const _m49 = (() => {
|
|
4340
4412
|
const { checkAbort } = _m4;
|
|
4341
4413
|
|
|
4342
4414
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
@@ -4467,18 +4539,18 @@ const _exports = Object.freeze({ captureChartRange: captureChartRange, prepareCh
|
|
|
4467
4539
|
return _exports;
|
|
4468
4540
|
})();
|
|
4469
4541
|
|
|
4470
|
-
const
|
|
4542
|
+
const _m48 = (() => {
|
|
4471
4543
|
const { checkAbort } = _m4;
|
|
4472
4544
|
|
|
4473
4545
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
4474
4546
|
|
|
4475
4547
|
const { cleanXml } = _m25;
|
|
4476
4548
|
|
|
4477
|
-
const { copyDrawingAnchor } =
|
|
4549
|
+
const { copyDrawingAnchor } = _m36;
|
|
4478
4550
|
|
|
4479
4551
|
const { captureFields } = _m10;
|
|
4480
4552
|
|
|
4481
|
-
const { captureChartRange, prepareChartBinding } =
|
|
4553
|
+
const { captureChartRange, prepareChartBinding } = _m49;
|
|
4482
4554
|
|
|
4483
4555
|
function fields(value, allowed, context) {
|
|
4484
4556
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
@@ -4660,25 +4732,27 @@ const { copyColumns } = _m11;
|
|
|
4660
4732
|
|
|
4661
4733
|
const { captureFields } = _m10;
|
|
4662
4734
|
|
|
4735
|
+
const { captureColumnOutlines } = _m34;
|
|
4736
|
+
|
|
4663
4737
|
const { captureTableSpans } = _m17;
|
|
4664
4738
|
|
|
4665
4739
|
const { assertExportValue } = _m5;
|
|
4666
4740
|
|
|
4667
|
-
const { Worksheet } =
|
|
4741
|
+
const { Worksheet } = _m35;
|
|
4668
4742
|
|
|
4669
|
-
const { defineTable, tableXml } =
|
|
4743
|
+
const { defineTable, tableXml } = _m45;
|
|
4670
4744
|
|
|
4671
|
-
const { copyHyperlink, drawingXml, drawingContentType } =
|
|
4745
|
+
const { copyHyperlink, drawingXml, drawingContentType } = _m36;
|
|
4672
4746
|
|
|
4673
|
-
const { TextOverflow } =
|
|
4747
|
+
const { TextOverflow } = _m46;
|
|
4674
4748
|
|
|
4675
|
-
const { captureWorkbookOptions, sheetOptionFields } =
|
|
4749
|
+
const { captureWorkbookOptions, sheetOptionFields } = _m47;
|
|
4676
4750
|
|
|
4677
|
-
const { prepareChart } =
|
|
4751
|
+
const { prepareChart } = _m48;
|
|
4678
4752
|
|
|
4679
|
-
const { qualifiedColumnRange, resolveDataColumn } =
|
|
4753
|
+
const { qualifiedColumnRange, resolveDataColumn } = _m42;
|
|
4680
4754
|
|
|
4681
|
-
const { chartContentType, writeChartXml } =
|
|
4755
|
+
const { chartContentType, writeChartXml } = _m37;
|
|
4682
4756
|
|
|
4683
4757
|
const xlsxMime = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
4684
4758
|
const formatType = (name) => "application/vnd.openxmlformats-officedocument.spreadsheetml." + name + "+xml";
|
|
@@ -4689,6 +4763,7 @@ function captureSheet(options, policy) {
|
|
|
4689
4763
|
const footer = captured.footer && captureFields(captured.footer, ["rows", "values", "totals", "style"]);
|
|
4690
4764
|
const print = captured.print && captureFields(captured.print, ["paper", "orientation", "fitToWidth", "fitToHeight", "repeatHeaders", "margins", "header", "footer"]);
|
|
4691
4765
|
return { ...captured, columns,
|
|
4766
|
+
...(captured.columnOutlines === undefined ? {} : { columnOutlines: captureColumnOutlines(captured.columnOutlines, columns.length) }),
|
|
4692
4767
|
...(captured.headerRows === undefined ? {} : { headerRows: captureTableSpans(captured.headerRows, columns.length) }),
|
|
4693
4768
|
...(footer ? { footer: { ...footer,
|
|
4694
4769
|
...(footer.rows === undefined ? {} : { rows: captureTableSpans(footer.rows, columns.length) }),
|
|
@@ -5118,10 +5193,10 @@ const _exports = Object.freeze({ Workbook: Workbook });
|
|
|
5118
5193
|
return _exports;
|
|
5119
5194
|
})();
|
|
5120
5195
|
|
|
5121
|
-
const
|
|
5196
|
+
const _m51 = (() => {
|
|
5122
5197
|
const { ExportCell, assertScalar } = _m5;
|
|
5123
5198
|
|
|
5124
|
-
const { captureWorkbookOptions, sheetOptionFields } =
|
|
5199
|
+
const { captureWorkbookOptions, sheetOptionFields } = _m47;
|
|
5125
5200
|
|
|
5126
5201
|
const { captureFields } = _m10;
|
|
5127
5202
|
|
|
@@ -5170,18 +5245,18 @@ const _exports = Object.freeze({ portableSheet: portableSheet, portableWorkbook:
|
|
|
5170
5245
|
return _exports;
|
|
5171
5246
|
})();
|
|
5172
5247
|
|
|
5173
|
-
const
|
|
5248
|
+
const _m50 = (() => {
|
|
5174
5249
|
const { withDestination } = _m3;
|
|
5175
5250
|
|
|
5176
5251
|
const { copyColumns } = _m11;
|
|
5177
5252
|
|
|
5178
5253
|
const { Workbook } = _m21;
|
|
5179
5254
|
|
|
5180
|
-
const { portableSheet, portableWorkbook } =
|
|
5255
|
+
const { portableSheet, portableWorkbook } = _m51;
|
|
5181
5256
|
|
|
5182
5257
|
const { captureFields } = _m10;
|
|
5183
5258
|
|
|
5184
|
-
const { sheetOptionFields, workbookOptionFields } =
|
|
5259
|
+
const { sheetOptionFields, workbookOptionFields } = _m47;
|
|
5185
5260
|
|
|
5186
5261
|
function prepare(options) {
|
|
5187
5262
|
options = captureFields(options, [...workbookOptionFields, "columns", "sheet"]);
|
|
@@ -5228,7 +5303,7 @@ const _exports = Object.freeze({ writeXlsx: writeXlsx, writeXlsxTo: writeXlsxTo
|
|
|
5228
5303
|
return _exports;
|
|
5229
5304
|
})();
|
|
5230
5305
|
|
|
5231
|
-
const
|
|
5306
|
+
const _m53 = (() => {
|
|
5232
5307
|
const { assertGroupedReportSource } = _m8;
|
|
5233
5308
|
|
|
5234
5309
|
const { captureFields } = _m10;
|
|
@@ -5237,11 +5312,11 @@ const { OfficeIMOError } = _m2;
|
|
|
5237
5312
|
|
|
5238
5313
|
const { fields } = _m31;
|
|
5239
5314
|
|
|
5240
|
-
const { sheetOptionFields } =
|
|
5315
|
+
const { sheetOptionFields } = _m47;
|
|
5241
5316
|
|
|
5242
|
-
const { portableSheet } =
|
|
5317
|
+
const { portableSheet } = _m51;
|
|
5243
5318
|
|
|
5244
|
-
const { resolveDataColumn } =
|
|
5319
|
+
const { resolveDataColumn } = _m42;
|
|
5245
5320
|
|
|
5246
5321
|
const { copyStylePatch } = _m29;
|
|
5247
5322
|
|
|
@@ -5320,7 +5395,7 @@ const _exports = Object.freeze({ groupedOptionFields: groupedOptionFields, prepa
|
|
|
5320
5395
|
return _exports;
|
|
5321
5396
|
})();
|
|
5322
5397
|
|
|
5323
|
-
const
|
|
5398
|
+
const _m52 = (() => {
|
|
5324
5399
|
const { groupedReportOperation } = _m8;
|
|
5325
5400
|
|
|
5326
5401
|
const { checkAbort, withAbort } = _m4;
|
|
@@ -5335,11 +5410,11 @@ const { FormulaCell } = _m33;
|
|
|
5335
5410
|
|
|
5336
5411
|
const { columnName } = _m32;
|
|
5337
5412
|
|
|
5338
|
-
const { captureWorkbookLimits, workbookOptionFields } =
|
|
5413
|
+
const { captureWorkbookLimits, workbookOptionFields } = _m47;
|
|
5339
5414
|
|
|
5340
|
-
const { retainDataRowRanges } =
|
|
5415
|
+
const { retainDataRowRanges } = _m43;
|
|
5341
5416
|
|
|
5342
|
-
const { groupedOptionFields, prepareGroupedSheet } =
|
|
5417
|
+
const { groupedOptionFields, prepareGroupedSheet } = _m53;
|
|
5343
5418
|
|
|
5344
5419
|
const subtotalOperations = { average: 1, count: 2, max: 4, min: 5, sum: 9 };
|
|
5345
5420
|
function label(value) {
|
|
@@ -5498,11 +5573,11 @@ return _exports;
|
|
|
5498
5573
|
|
|
5499
5574
|
const _m20 = (() => {
|
|
5500
5575
|
|
|
5501
|
-
const _exports = Object.freeze({ Workbook: _m21.Workbook, writeXlsx:
|
|
5576
|
+
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 });
|
|
5502
5577
|
return _exports;
|
|
5503
5578
|
})();
|
|
5504
5579
|
|
|
5505
|
-
const
|
|
5580
|
+
const _m58 = (() => {
|
|
5506
5581
|
const { captureFields } = _m10;
|
|
5507
5582
|
|
|
5508
5583
|
/** Pure validation shared by document settings and named paragraph styles. */
|
|
@@ -5536,10 +5611,10 @@ const _exports = Object.freeze({ positive: positive, color: color, presentation:
|
|
|
5536
5611
|
return _exports;
|
|
5537
5612
|
})();
|
|
5538
5613
|
|
|
5539
|
-
const
|
|
5614
|
+
const _m57 = (() => {
|
|
5540
5615
|
const { OfficeIMOError } = _m2;
|
|
5541
5616
|
|
|
5542
|
-
const { positive, presentation } =
|
|
5617
|
+
const { positive, presentation } = _m58;
|
|
5543
5618
|
|
|
5544
5619
|
const fields = ["fontSize", "presentation", "keepTogether", "keepWithNext", "spaceBefore", "spaceAfter"];
|
|
5545
5620
|
const presentationFields = ["bold", "italic", "color", "alignment"];
|
|
@@ -5609,7 +5684,7 @@ const _exports = Object.freeze({ captureParagraphStyle: captureParagraphStyle, c
|
|
|
5609
5684
|
return _exports;
|
|
5610
5685
|
})();
|
|
5611
5686
|
|
|
5612
|
-
const
|
|
5687
|
+
const _m56 = (() => {
|
|
5613
5688
|
const { OfficeIMOError } = _m2;
|
|
5614
5689
|
|
|
5615
5690
|
const { ExportBudget } = _m9;
|
|
@@ -5622,11 +5697,11 @@ const { copyExportValue } = _m13;
|
|
|
5622
5697
|
|
|
5623
5698
|
const { captureFields } = _m10;
|
|
5624
5699
|
|
|
5625
|
-
const { captureParagraphStyles } =
|
|
5700
|
+
const { captureParagraphStyles } = _m57;
|
|
5626
5701
|
|
|
5627
5702
|
const { captureBooleanText } = _m18;
|
|
5628
5703
|
|
|
5629
|
-
const { positive, color, presentation } =
|
|
5704
|
+
const { positive, color, presentation } = _m58;
|
|
5630
5705
|
|
|
5631
5706
|
|
|
5632
5707
|
|
|
@@ -5816,11 +5891,11 @@ function settings(input, document = false) {
|
|
|
5816
5891
|
repeatedColumns: document ? Object.freeze([]) : repeatedColumns(options.wideTable, columns),
|
|
5817
5892
|
limits: { ...limits, ...(maxImageWorkingBytes === undefined ? {} : { maxImageWorkingBytes }) }, budget };
|
|
5818
5893
|
}
|
|
5819
|
-
const _exports = Object.freeze({ positive:
|
|
5894
|
+
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 });
|
|
5820
5895
|
return _exports;
|
|
5821
5896
|
})();
|
|
5822
5897
|
|
|
5823
|
-
const
|
|
5898
|
+
const _m61 = (() => {
|
|
5824
5899
|
/** @internal One type byte, an eight-byte offset/container number and a two-byte generation/index. */
|
|
5825
5900
|
const pdfXrefEntryBytes = 11;
|
|
5826
5901
|
function unsigned(bytes, offset, value, width) {
|
|
@@ -5855,12 +5930,12 @@ const _exports = Object.freeze({ pdfXrefEntryBytes: pdfXrefEntryBytes, pdfXrefCh
|
|
|
5855
5930
|
return _exports;
|
|
5856
5931
|
})();
|
|
5857
5932
|
|
|
5858
|
-
const
|
|
5933
|
+
const _m60 = (() => {
|
|
5859
5934
|
const { checkAbort, withAbort, pause, taskYieldDue } = _m4;
|
|
5860
5935
|
|
|
5861
5936
|
const { OfficeIMOError } = _m2;
|
|
5862
5937
|
|
|
5863
|
-
const { pdfXrefChunks, pdfXrefEntryBytes } =
|
|
5938
|
+
const { pdfXrefChunks, pdfXrefEntryBytes } = _m61;
|
|
5864
5939
|
|
|
5865
5940
|
const compactObjectCount = 256, compactObjectBytes = 32768;
|
|
5866
5941
|
const compactIndexChunkEntries = 4096;
|
|
@@ -6183,7 +6258,7 @@ const _exports = Object.freeze({ pdfNumber: pdfNumber, unicodeHex: unicodeHex, P
|
|
|
6183
6258
|
return _exports;
|
|
6184
6259
|
})();
|
|
6185
6260
|
|
|
6186
|
-
const
|
|
6261
|
+
const _m65 = (() => {
|
|
6187
6262
|
/** @internal Bounded big-endian reader used for caller-provided TrueType programs. */
|
|
6188
6263
|
class FontReader {
|
|
6189
6264
|
bytes;
|
|
@@ -6212,8 +6287,8 @@ const _exports = Object.freeze({ FontReader: FontReader, checksum: checksum, ali
|
|
|
6212
6287
|
return _exports;
|
|
6213
6288
|
})();
|
|
6214
6289
|
|
|
6215
|
-
const
|
|
6216
|
-
const { align4 } =
|
|
6290
|
+
const _m66 = (() => {
|
|
6291
|
+
const { align4 } = _m65;
|
|
6217
6292
|
|
|
6218
6293
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
6219
6294
|
|
|
@@ -6436,12 +6511,12 @@ const _exports = Object.freeze({ subsetTrueType: subsetTrueType, subsetTrueTypeC
|
|
|
6436
6511
|
return _exports;
|
|
6437
6512
|
})();
|
|
6438
6513
|
|
|
6439
|
-
const
|
|
6514
|
+
const _m64 = (() => {
|
|
6440
6515
|
const { NotSupportedError } = _m2;
|
|
6441
6516
|
|
|
6442
|
-
const { FontReader } =
|
|
6517
|
+
const { FontReader } = _m65;
|
|
6443
6518
|
|
|
6444
|
-
const { subsetTrueType, subsetTrueTypeCooperatively } =
|
|
6519
|
+
const { subsetTrueType, subsetTrueTypeCooperatively } = _m66;
|
|
6445
6520
|
|
|
6446
6521
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
6447
6522
|
|
|
@@ -6680,8 +6755,8 @@ const _exports = Object.freeze({ TrueTypeFont: TrueTypeFont });
|
|
|
6680
6755
|
return _exports;
|
|
6681
6756
|
})();
|
|
6682
6757
|
|
|
6683
|
-
const
|
|
6684
|
-
const { TrueTypeFont } =
|
|
6758
|
+
const _m63 = (() => {
|
|
6759
|
+
const { TrueTypeFont } = _m64;
|
|
6685
6760
|
|
|
6686
6761
|
const { beginTask, checkAbort } = _m4;
|
|
6687
6762
|
|
|
@@ -6743,7 +6818,7 @@ const _exports = Object.freeze({ fontProgram: fontProgram, PdfFont: PdfFont });
|
|
|
6743
6818
|
return _exports;
|
|
6744
6819
|
})();
|
|
6745
6820
|
|
|
6746
|
-
const
|
|
6821
|
+
const _m68 = (() => {
|
|
6747
6822
|
// Generated by scripts/pdf-widths.mjs from OfficeIMO.Pdf's Adobe AFM-derived metrics.
|
|
6748
6823
|
const helveticaWidths = new Map([
|
|
6749
6824
|
[32, [278, 278]],
|
|
@@ -7065,12 +7140,12 @@ const _exports = Object.freeze({ helveticaWidths: helveticaWidths });
|
|
|
7065
7140
|
return _exports;
|
|
7066
7141
|
})();
|
|
7067
7142
|
|
|
7068
|
-
const
|
|
7143
|
+
const _m67 = (() => {
|
|
7069
7144
|
const { OfficeIMOError } = _m2;
|
|
7070
7145
|
|
|
7071
|
-
const { PdfFont, fontProgram } =
|
|
7146
|
+
const { PdfFont, fontProgram } = _m63;
|
|
7072
7147
|
|
|
7073
|
-
const { helveticaWidths } =
|
|
7148
|
+
const { helveticaWidths } = _m68;
|
|
7074
7149
|
|
|
7075
7150
|
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]));
|
|
7076
7151
|
/** @internal Called after scalar support succeeds when encoding a standard-font run. */
|
|
@@ -7133,14 +7208,14 @@ const _exports = Object.freeze({ standardCode: standardCode, resolveScalar: reso
|
|
|
7133
7208
|
return _exports;
|
|
7134
7209
|
})();
|
|
7135
7210
|
|
|
7136
|
-
const
|
|
7211
|
+
const _m62 = (() => {
|
|
7137
7212
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
7138
7213
|
|
|
7139
|
-
const { fontProgram } =
|
|
7214
|
+
const { fontProgram } = _m63;
|
|
7140
7215
|
|
|
7141
|
-
const { resolveScalar, selectFont, standardCode, validateFonts } =
|
|
7216
|
+
const { resolveScalar, selectFont, standardCode, validateFonts } = _m67;
|
|
7142
7217
|
|
|
7143
|
-
const { pdfNumber, unicodeHex } =
|
|
7218
|
+
const { pdfNumber, unicodeHex } = _m60;
|
|
7144
7219
|
|
|
7145
7220
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
7146
7221
|
|
|
@@ -7364,7 +7439,7 @@ const _exports = Object.freeze({ PdfFontResource: PdfFontResource, PdfFontResour
|
|
|
7364
7439
|
return _exports;
|
|
7365
7440
|
})();
|
|
7366
7441
|
|
|
7367
|
-
const
|
|
7442
|
+
const _m70 = (() => {
|
|
7368
7443
|
const { OfficeIMOError } = _m2;
|
|
7369
7444
|
|
|
7370
7445
|
const { ExportCell, assertExportValue } = _m5;
|
|
@@ -7475,7 +7550,7 @@ const _exports = Object.freeze({ pdfBudgetText: pdfBudgetText, synchronousText:
|
|
|
7475
7550
|
return _exports;
|
|
7476
7551
|
})();
|
|
7477
7552
|
|
|
7478
|
-
const
|
|
7553
|
+
const _m72 = (() => {
|
|
7479
7554
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
7480
7555
|
|
|
7481
7556
|
const { checkAbort, pause, taskYieldDue, withAbort } = _m4;
|
|
@@ -7687,20 +7762,20 @@ const _exports = Object.freeze({ wrapShapedPdfText: wrapShapedPdfText });
|
|
|
7687
7762
|
return _exports;
|
|
7688
7763
|
})();
|
|
7689
7764
|
|
|
7690
|
-
const
|
|
7765
|
+
const _m71 = (() => {
|
|
7691
7766
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
7692
7767
|
|
|
7693
7768
|
const { copyExportLink } = _m7;
|
|
7694
7769
|
|
|
7695
7770
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
7696
7771
|
|
|
7697
|
-
const { presentation, color } =
|
|
7772
|
+
const { presentation, color } = _m56;
|
|
7698
7773
|
|
|
7699
|
-
const { wrapShapedPdfText } =
|
|
7774
|
+
const { wrapShapedPdfText } = _m72;
|
|
7700
7775
|
|
|
7701
|
-
const { PdfFont } =
|
|
7776
|
+
const { PdfFont } = _m63;
|
|
7702
7777
|
|
|
7703
|
-
const { pdfBudgetText } =
|
|
7778
|
+
const { pdfBudgetText } = _m70;
|
|
7704
7779
|
|
|
7705
7780
|
/** @internal Callers supply an owned, validated, frozen base presentation. A run list is a PDF presentation value, never an alternate shared table value model. */
|
|
7706
7781
|
function capturePdfText(value, base, settings, fonts, countEmpty = true, reserveBudget = true) {
|
|
@@ -7882,10 +7957,10 @@ const _exports = Object.freeze({ capturePdfText: capturePdfText, wrapPdfText: wr
|
|
|
7882
7957
|
return _exports;
|
|
7883
7958
|
})();
|
|
7884
7959
|
|
|
7885
|
-
const
|
|
7960
|
+
const _m73 = (() => {
|
|
7886
7961
|
const { OfficeIMOError } = _m2;
|
|
7887
7962
|
|
|
7888
|
-
const { wrapPdfText } =
|
|
7963
|
+
const { wrapPdfText } = _m71;
|
|
7889
7964
|
|
|
7890
7965
|
/** Plan without opening a source. Exact column widths never shrink in band mode. */
|
|
7891
7966
|
function planTableBands(widths, settings) {
|
|
@@ -7980,7 +8055,7 @@ const _exports = Object.freeze({ planTableBands: planTableBands, projectBandRows
|
|
|
7980
8055
|
return _exports;
|
|
7981
8056
|
})();
|
|
7982
8057
|
|
|
7983
|
-
const
|
|
8058
|
+
const _m69 = (() => {
|
|
7984
8059
|
const { ExportCell } = _m5;
|
|
7985
8060
|
|
|
7986
8061
|
const { copyExportLink } = _m7;
|
|
@@ -7989,13 +8064,13 @@ const { tableSpans } = _m17;
|
|
|
7989
8064
|
|
|
7990
8065
|
const { createTotals } = _m12;
|
|
7991
8066
|
|
|
7992
|
-
const { presentation, positive } =
|
|
8067
|
+
const { presentation, positive } = _m56;
|
|
7993
8068
|
|
|
7994
|
-
const { displayText, pdfBudgetText } =
|
|
8069
|
+
const { displayText, pdfBudgetText } = _m70;
|
|
7995
8070
|
|
|
7996
|
-
const { capturePdfText, wrapPdfText } =
|
|
8071
|
+
const { capturePdfText, wrapPdfText } = _m71;
|
|
7997
8072
|
|
|
7998
|
-
const { planTableBands, projectBandRows, alignBandBlocks } =
|
|
8073
|
+
const { planTableBands, projectBandRows, alignBandBlocks } = _m73;
|
|
7999
8074
|
|
|
8000
8075
|
class PdfTableLayout {
|
|
8001
8076
|
settings;
|
|
@@ -8214,7 +8289,7 @@ const _exports = Object.freeze({ PdfTableLayout: PdfTableLayout });
|
|
|
8214
8289
|
return _exports;
|
|
8215
8290
|
})();
|
|
8216
8291
|
|
|
8217
|
-
const
|
|
8292
|
+
const _m75 = (() => {
|
|
8218
8293
|
const { OfficeIMOError } = _m2;
|
|
8219
8294
|
|
|
8220
8295
|
const { checkAbort } = _m4;
|
|
@@ -8355,7 +8430,7 @@ const _exports = Object.freeze({ PdfTableBandFlow: PdfTableBandFlow });
|
|
|
8355
8430
|
return _exports;
|
|
8356
8431
|
})();
|
|
8357
8432
|
|
|
8358
|
-
const
|
|
8433
|
+
const _m76 = (() => {
|
|
8359
8434
|
/** @internal Source-cell identities survive page fragments and horizontal band projections.
|
|
8360
8435
|
* Only column headers and still-owned row objects remain reachable from this table owner. */
|
|
8361
8436
|
class PdfTableStructure {
|
|
@@ -8469,10 +8544,10 @@ const _exports = Object.freeze({ PdfTableStructure: PdfTableStructure });
|
|
|
8469
8544
|
return _exports;
|
|
8470
8545
|
})();
|
|
8471
8546
|
|
|
8472
|
-
const
|
|
8547
|
+
const _m77 = (() => {
|
|
8473
8548
|
const { OfficeIMOError } = _m2;
|
|
8474
8549
|
|
|
8475
|
-
const { pdfNumber, unicodeHex } =
|
|
8550
|
+
const { pdfNumber, unicodeHex } = _m60;
|
|
8476
8551
|
|
|
8477
8552
|
const encoder = new TextEncoder();
|
|
8478
8553
|
/** @internal URI actions are byte strings; tooltips are Unicode PDF text strings. */
|
|
@@ -8514,10 +8589,10 @@ const _exports = Object.freeze({ linkAnnotation: linkAnnotation });
|
|
|
8514
8589
|
return _exports;
|
|
8515
8590
|
})();
|
|
8516
8591
|
|
|
8517
|
-
const
|
|
8592
|
+
const _m78 = (() => {
|
|
8518
8593
|
const { OfficeIMOError } = _m2;
|
|
8519
8594
|
|
|
8520
|
-
const { unicodeHex } =
|
|
8595
|
+
const { unicodeHex } = _m60;
|
|
8521
8596
|
|
|
8522
8597
|
const { captureFields } = _m10;
|
|
8523
8598
|
|
|
@@ -8562,8 +8637,8 @@ const _exports = Object.freeze({ captureBookmark: captureBookmark, captureSectio
|
|
|
8562
8637
|
return _exports;
|
|
8563
8638
|
})();
|
|
8564
8639
|
|
|
8565
|
-
const
|
|
8566
|
-
const { settings } =
|
|
8640
|
+
const _m79 = (() => {
|
|
8641
|
+
const { settings } = _m56;
|
|
8567
8642
|
|
|
8568
8643
|
/** @internal Every section derives from captured document defaults, never the preceding section. */
|
|
8569
8644
|
function sectionSettings(base, section) {
|
|
@@ -8580,28 +8655,28 @@ const _exports = Object.freeze({ sectionSettings: sectionSettings });
|
|
|
8580
8655
|
return _exports;
|
|
8581
8656
|
})();
|
|
8582
8657
|
|
|
8583
|
-
const
|
|
8658
|
+
const _m74 = (() => {
|
|
8584
8659
|
const { OfficeIMOError } = _m2;
|
|
8585
8660
|
|
|
8586
8661
|
const { checkAbort } = _m4;
|
|
8587
8662
|
|
|
8588
|
-
const { pdfNumber } =
|
|
8663
|
+
const { pdfNumber } = _m60;
|
|
8589
8664
|
|
|
8590
|
-
const { color } =
|
|
8665
|
+
const { color } = _m56;
|
|
8591
8666
|
|
|
8592
|
-
const { PdfTableBandFlow } =
|
|
8667
|
+
const { PdfTableBandFlow } = _m75;
|
|
8593
8668
|
|
|
8594
|
-
const { PdfTableStructure } =
|
|
8669
|
+
const { PdfTableStructure } = _m76;
|
|
8595
8670
|
|
|
8596
|
-
const { wrapText, wrapTextCooperatively, synchronousText, pdfBudgetText } =
|
|
8671
|
+
const { wrapText, wrapTextCooperatively, synchronousText, pdfBudgetText } = _m70;
|
|
8597
8672
|
|
|
8598
|
-
const { linkAnnotation } =
|
|
8673
|
+
const { linkAnnotation } = _m77;
|
|
8599
8674
|
|
|
8600
|
-
const { unicodeHex } =
|
|
8675
|
+
const { unicodeHex } = _m60;
|
|
8601
8676
|
|
|
8602
|
-
const { captureSection, captureBookmark } =
|
|
8677
|
+
const { captureSection, captureBookmark } = _m78;
|
|
8603
8678
|
|
|
8604
|
-
const { sectionSettings } =
|
|
8679
|
+
const { sectionSettings } = _m79;
|
|
8605
8680
|
|
|
8606
8681
|
/** @internal One page of drawing commands and O(page count) references, never the complete report body. */
|
|
8607
8682
|
class PdfPages {
|
|
@@ -9321,7 +9396,7 @@ const _exports = Object.freeze({ PdfPages: PdfPages });
|
|
|
9321
9396
|
return _exports;
|
|
9322
9397
|
})();
|
|
9323
9398
|
|
|
9324
|
-
const
|
|
9399
|
+
const _m81 = (() => {
|
|
9325
9400
|
/** @internal Incremental PDF number tree: at most 64 entries/children per retained level. */
|
|
9326
9401
|
class PdfParentTree {
|
|
9327
9402
|
objects;
|
|
@@ -9383,14 +9458,14 @@ const _exports = Object.freeze({ PdfParentTree: PdfParentTree });
|
|
|
9383
9458
|
return _exports;
|
|
9384
9459
|
})();
|
|
9385
9460
|
|
|
9386
|
-
const
|
|
9461
|
+
const _m80 = (() => {
|
|
9387
9462
|
const { OfficeIMOError } = _m2;
|
|
9388
9463
|
|
|
9389
9464
|
const { checkAbort } = _m4;
|
|
9390
9465
|
|
|
9391
|
-
const { unicodeHex } =
|
|
9466
|
+
const { unicodeHex } = _m60;
|
|
9392
9467
|
|
|
9393
|
-
const { PdfParentTree } =
|
|
9468
|
+
const { PdfParentTree } = _m81;
|
|
9394
9469
|
|
|
9395
9470
|
/** Same-page marked content uses integer K; cross-page MCR and annotation OBJR stay explicit. */
|
|
9396
9471
|
function structureChild(child) {
|
|
@@ -9694,12 +9769,12 @@ const _exports = Object.freeze({ PdfStructure: PdfStructure, graphicAlternative:
|
|
|
9694
9769
|
return _exports;
|
|
9695
9770
|
})();
|
|
9696
9771
|
|
|
9697
|
-
const
|
|
9772
|
+
const _m82 = (() => {
|
|
9698
9773
|
const { OfficeIMOError } = _m2;
|
|
9699
9774
|
|
|
9700
9775
|
const { checkAbort } = _m4;
|
|
9701
9776
|
|
|
9702
|
-
const { pdfNumber, unicodeHex } =
|
|
9777
|
+
const { pdfNumber, unicodeHex } = _m60;
|
|
9703
9778
|
|
|
9704
9779
|
/** @internal Bounded native bookmarks; destinations are captured only when their content is painted. */
|
|
9705
9780
|
class PdfOutlines {
|
|
@@ -9757,18 +9832,18 @@ const _exports = Object.freeze({ PdfOutlines: PdfOutlines });
|
|
|
9757
9832
|
return _exports;
|
|
9758
9833
|
})();
|
|
9759
9834
|
|
|
9760
|
-
const
|
|
9761
|
-
const { PdfObjects, unicodeHex } =
|
|
9835
|
+
const _m59 = (() => {
|
|
9836
|
+
const { PdfObjects, unicodeHex } = _m60;
|
|
9762
9837
|
|
|
9763
|
-
const { PdfFontResources } =
|
|
9838
|
+
const { PdfFontResources } = _m62;
|
|
9764
9839
|
|
|
9765
|
-
const { PdfTableLayout } =
|
|
9840
|
+
const { PdfTableLayout } = _m69;
|
|
9766
9841
|
|
|
9767
|
-
const { PdfPages } =
|
|
9842
|
+
const { PdfPages } = _m74;
|
|
9768
9843
|
|
|
9769
|
-
const { PdfStructure } =
|
|
9844
|
+
const { PdfStructure } = _m80;
|
|
9770
9845
|
|
|
9771
|
-
const { PdfOutlines } =
|
|
9846
|
+
const { PdfOutlines } = _m82;
|
|
9772
9847
|
|
|
9773
9848
|
/** One resource/catalog owner shared by table convenience exports and composed documents. */
|
|
9774
9849
|
class PdfWriteSession {
|
|
@@ -9823,7 +9898,7 @@ const _exports = Object.freeze({ PdfWriteSession: PdfWriteSession });
|
|
|
9823
9898
|
return _exports;
|
|
9824
9899
|
})();
|
|
9825
9900
|
|
|
9826
|
-
const
|
|
9901
|
+
const _m55 = (() => {
|
|
9827
9902
|
const { BlobByteSink, withDestination } = _m3;
|
|
9828
9903
|
|
|
9829
9904
|
const { beginTask, checkAbort, consumeRows, pause, taskYieldDue } = _m4;
|
|
@@ -9832,9 +9907,9 @@ const { notifyProgress } = _m14;
|
|
|
9832
9907
|
|
|
9833
9908
|
const { createRowProjector } = _m11;
|
|
9834
9909
|
|
|
9835
|
-
const { settings } =
|
|
9910
|
+
const { settings } = _m56;
|
|
9836
9911
|
|
|
9837
|
-
const { PdfWriteSession } =
|
|
9912
|
+
const { PdfWriteSession } = _m59;
|
|
9838
9913
|
|
|
9839
9914
|
async function writePdf(rows, configuration) {
|
|
9840
9915
|
const sink = new BlobByteSink();
|
|
@@ -9891,7 +9966,7 @@ const _exports = Object.freeze({ writePdf: writePdf, writePdfTo: writePdfTo });
|
|
|
9891
9966
|
return _exports;
|
|
9892
9967
|
})();
|
|
9893
9968
|
|
|
9894
|
-
const
|
|
9969
|
+
const _m86 = (() => {
|
|
9895
9970
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
9896
9971
|
|
|
9897
9972
|
const { checkAbort, pause, taskYieldDue, withAbort } = _m4;
|
|
@@ -10158,12 +10233,12 @@ const _exports = Object.freeze({ pngPixels: pngPixels });
|
|
|
10158
10233
|
return _exports;
|
|
10159
10234
|
})();
|
|
10160
10235
|
|
|
10161
|
-
const
|
|
10236
|
+
const _m85 = (() => {
|
|
10162
10237
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
10163
10238
|
|
|
10164
10239
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
10165
10240
|
|
|
10166
|
-
const { pngPixels } =
|
|
10241
|
+
const { pngPixels } = _m86;
|
|
10167
10242
|
|
|
10168
10243
|
/** Shared document image resources; source objects are captured on first consumption. */
|
|
10169
10244
|
class PdfDocumentImages {
|
|
@@ -10291,14 +10366,14 @@ const _exports = Object.freeze({ PdfDocumentImages: PdfDocumentImages });
|
|
|
10291
10366
|
return _exports;
|
|
10292
10367
|
})();
|
|
10293
10368
|
|
|
10294
|
-
const
|
|
10369
|
+
const _m87 = (() => {
|
|
10295
10370
|
const { OfficeIMOError } = _m2;
|
|
10296
10371
|
|
|
10297
10372
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
10298
10373
|
|
|
10299
|
-
const { color, positive } =
|
|
10374
|
+
const { color, positive } = _m56;
|
|
10300
10375
|
|
|
10301
|
-
const { pdfNumber: n } =
|
|
10376
|
+
const { pdfNumber: n } = _m60;
|
|
10302
10377
|
|
|
10303
10378
|
/** Capture and serialize one bounded display path, with no markup parser or resource loading. */
|
|
10304
10379
|
async function vectorCommands(block, settings, used) {
|
|
@@ -10377,14 +10452,14 @@ const _exports = Object.freeze({ vectorCommands: vectorCommands });
|
|
|
10377
10452
|
return _exports;
|
|
10378
10453
|
})();
|
|
10379
10454
|
|
|
10380
|
-
const
|
|
10455
|
+
const _m88 = (() => {
|
|
10381
10456
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
10382
10457
|
|
|
10383
10458
|
const { checkAbort, pause, taskYieldDue } = _m4;
|
|
10384
10459
|
|
|
10385
|
-
const { color, positive } =
|
|
10460
|
+
const { color, positive } = _m56;
|
|
10386
10461
|
|
|
10387
|
-
const { pdfNumber: n } =
|
|
10462
|
+
const { pdfNumber: n } = _m60;
|
|
10388
10463
|
|
|
10389
10464
|
/** Portable drawings are an exact schema: unsupported data must never be silently discarded. */
|
|
10390
10465
|
function record(value, keys, name) {
|
|
@@ -10623,20 +10698,20 @@ const _exports = Object.freeze({ checkDrawingBlock: checkDrawingBlock, prepareDr
|
|
|
10623
10698
|
return _exports;
|
|
10624
10699
|
})();
|
|
10625
10700
|
|
|
10626
|
-
const
|
|
10701
|
+
const _m89 = (() => {
|
|
10627
10702
|
const { OfficeIMOError } = _m2;
|
|
10628
10703
|
|
|
10629
|
-
const { capturePdfText, wrapPdfText } =
|
|
10704
|
+
const { capturePdfText, wrapPdfText } = _m71;
|
|
10630
10705
|
|
|
10631
|
-
const { positive } =
|
|
10706
|
+
const { positive } = _m56;
|
|
10632
10707
|
|
|
10633
|
-
const { resolveParagraphStyle } =
|
|
10708
|
+
const { resolveParagraphStyle } = _m57;
|
|
10634
10709
|
|
|
10635
|
-
const { captureBookmark } =
|
|
10710
|
+
const { captureBookmark } = _m78;
|
|
10636
10711
|
|
|
10637
10712
|
const { captureFields } = _m10;
|
|
10638
10713
|
|
|
10639
|
-
const { pdfBudgetText } =
|
|
10714
|
+
const { pdfBudgetText } = _m70;
|
|
10640
10715
|
|
|
10641
10716
|
/** @internal Copy public paragraph input before any cooperative layout or source enumeration. */
|
|
10642
10717
|
function captureParagraph(block, settings, fonts, budgetOnPaint = false) {
|
|
@@ -10706,12 +10781,12 @@ const _exports = Object.freeze({ captureParagraph: captureParagraph, captureCapt
|
|
|
10706
10781
|
return _exports;
|
|
10707
10782
|
})();
|
|
10708
10783
|
|
|
10709
|
-
const
|
|
10710
|
-
const { capturePdfText, wrapPdfText } =
|
|
10784
|
+
const _m90 = (() => {
|
|
10785
|
+
const { capturePdfText, wrapPdfText } = _m71;
|
|
10711
10786
|
|
|
10712
|
-
const { captureParagraph, prepareParagraph } =
|
|
10787
|
+
const { captureParagraph, prepareParagraph } = _m89;
|
|
10713
10788
|
|
|
10714
|
-
const { resolveParagraphStyle } =
|
|
10789
|
+
const { resolveParagraphStyle } = _m57;
|
|
10715
10790
|
|
|
10716
10791
|
function captureListOptions(block, settings) {
|
|
10717
10792
|
const { items, ordered = false, start: inputStart, itemStyle, indent, markerGap } = block;
|
|
@@ -10763,14 +10838,14 @@ const _exports = Object.freeze({ captureListOptions: captureListOptions, prepare
|
|
|
10763
10838
|
return _exports;
|
|
10764
10839
|
})();
|
|
10765
10840
|
|
|
10766
|
-
const
|
|
10841
|
+
const _m92 = (() => {
|
|
10767
10842
|
const { assertGroupedReportSource } = _m8;
|
|
10768
10843
|
|
|
10769
10844
|
const { captureFields } = _m10;
|
|
10770
10845
|
|
|
10771
|
-
const { captureWideTable } =
|
|
10846
|
+
const { captureWideTable } = _m56;
|
|
10772
10847
|
|
|
10773
|
-
const { presentation } =
|
|
10848
|
+
const { presentation } = _m58;
|
|
10774
10849
|
|
|
10775
10850
|
/** @internal Capture schemas shared by the block factory and standalone convenience writers. */
|
|
10776
10851
|
const groupedPdfLabelFields = ["labelColumn", "subtotalLabel", "grandTotalLabel", "includeGrandTotal", "continuationLabel", "groupHeadingLevel"];
|
|
@@ -10812,22 +10887,22 @@ const _exports = Object.freeze({ groupedPdfLabelFields: groupedPdfLabelFields, g
|
|
|
10812
10887
|
return _exports;
|
|
10813
10888
|
})();
|
|
10814
10889
|
|
|
10815
|
-
const
|
|
10890
|
+
const _m91 = (() => {
|
|
10816
10891
|
const { assertGroupedReportSource, groupedReportOperation } = _m8;
|
|
10817
10892
|
|
|
10818
10893
|
const { consumeRows } = _m4;
|
|
10819
10894
|
|
|
10820
10895
|
const { ExportCell } = _m5;
|
|
10821
10896
|
|
|
10822
|
-
const { captureGroupedPdfTableOptions } =
|
|
10897
|
+
const { captureGroupedPdfTableOptions } = _m92;
|
|
10823
10898
|
|
|
10824
|
-
const { settings } =
|
|
10899
|
+
const { settings } = _m56;
|
|
10825
10900
|
|
|
10826
|
-
const { PdfTableLayout } =
|
|
10901
|
+
const { PdfTableLayout } = _m69;
|
|
10827
10902
|
|
|
10828
|
-
const { captureCaption, captureParagraph, prepareParagraph } =
|
|
10903
|
+
const { captureCaption, captureParagraph, prepareParagraph } = _m89;
|
|
10829
10904
|
|
|
10830
|
-
const { synchronousText } =
|
|
10905
|
+
const { synchronousText } = _m70;
|
|
10831
10906
|
|
|
10832
10907
|
/** @internal Render one analytical source in the existing document session. Retain one detail row and
|
|
10833
10908
|
* at most four closing subtotals. All captions, rows, pages, bytes and fonts use the document owners. */
|
|
@@ -11069,7 +11144,7 @@ const _exports = Object.freeze({ renderGroupedPdfTable: renderGroupedPdfTable })
|
|
|
11069
11144
|
return _exports;
|
|
11070
11145
|
})();
|
|
11071
11146
|
|
|
11072
|
-
const
|
|
11147
|
+
const _m84 = (() => {
|
|
11073
11148
|
const { BlobByteSink, withDestination } = _m3;
|
|
11074
11149
|
|
|
11075
11150
|
const { OfficeIMOError } = _m2;
|
|
@@ -11082,29 +11157,29 @@ const { copyColumns, createRowProjector } = _m11;
|
|
|
11082
11157
|
|
|
11083
11158
|
const { captureFields } = _m10;
|
|
11084
11159
|
|
|
11085
|
-
const { settings, captureWideTable } =
|
|
11160
|
+
const { settings, captureWideTable } = _m56;
|
|
11086
11161
|
|
|
11087
|
-
const { pdfNumber: n } =
|
|
11162
|
+
const { pdfNumber: n } = _m60;
|
|
11088
11163
|
|
|
11089
|
-
const { PdfTableLayout } =
|
|
11164
|
+
const { PdfTableLayout } = _m69;
|
|
11090
11165
|
|
|
11091
|
-
const { PdfWriteSession } =
|
|
11166
|
+
const { PdfWriteSession } = _m59;
|
|
11092
11167
|
|
|
11093
|
-
const { PdfDocumentImages } =
|
|
11168
|
+
const { PdfDocumentImages } = _m85;
|
|
11094
11169
|
|
|
11095
|
-
const { vectorCommands } =
|
|
11170
|
+
const { vectorCommands } = _m87;
|
|
11096
11171
|
|
|
11097
|
-
const { graphicAlternative } =
|
|
11172
|
+
const { graphicAlternative } = _m80;
|
|
11098
11173
|
|
|
11099
|
-
const { checkDrawingBlock, prepareDrawing } =
|
|
11174
|
+
const { checkDrawingBlock, prepareDrawing } = _m88;
|
|
11100
11175
|
|
|
11101
|
-
const { captureParagraph, captureCaption, prepareParagraph, checkParagraphBuffer, paragraphStartHeight } =
|
|
11176
|
+
const { captureParagraph, captureCaption, prepareParagraph, checkParagraphBuffer, paragraphStartHeight } = _m89;
|
|
11102
11177
|
|
|
11103
|
-
const { captureListOptions, prepareListItem } =
|
|
11178
|
+
const { captureListOptions, prepareListItem } = _m90;
|
|
11104
11179
|
|
|
11105
|
-
const { captureSection } =
|
|
11180
|
+
const { captureSection } = _m78;
|
|
11106
11181
|
|
|
11107
|
-
const { renderGroupedPdfTable } =
|
|
11182
|
+
const { renderGroupedPdfTable } = _m91;
|
|
11108
11183
|
|
|
11109
11184
|
const tableOptionFields = ["columns", "includeHeader", "headerRows", "footer", "headerPresentation", "footerPresentation", "alternateRowColor", "columnWidths", "wideTable", "formatValue", "formatRuns"];
|
|
11110
11185
|
/** Capture typed columns for a single-use table source in a composed document. */
|
|
@@ -11362,18 +11437,18 @@ const _exports = Object.freeze({ pdfTable: pdfTable, writePdfDocument: writePdfD
|
|
|
11362
11437
|
return _exports;
|
|
11363
11438
|
})();
|
|
11364
11439
|
|
|
11365
|
-
const
|
|
11440
|
+
const _m83 = (() => {
|
|
11366
11441
|
const { assertGroupedReportSource } = _m8;
|
|
11367
11442
|
|
|
11368
11443
|
const { BlobByteSink } = _m3;
|
|
11369
11444
|
|
|
11370
|
-
const { writePdfDocumentTo } =
|
|
11445
|
+
const { writePdfDocumentTo } = _m84;
|
|
11371
11446
|
|
|
11372
|
-
const { pdfOptionFields } =
|
|
11447
|
+
const { pdfOptionFields } = _m56;
|
|
11373
11448
|
|
|
11374
11449
|
const { captureFields } = _m10;
|
|
11375
11450
|
|
|
11376
|
-
const { pdfGroupedTable, groupedPdfLabelFields, groupedPdfTableFields } =
|
|
11451
|
+
const { pdfGroupedTable, groupedPdfLabelFields, groupedPdfTableFields } = _m92;
|
|
11377
11452
|
|
|
11378
11453
|
|
|
11379
11454
|
|
|
@@ -11407,14 +11482,14 @@ async function writeGroupedPdfTo(report, destination, configuration) {
|
|
|
11407
11482
|
delete documentOptions.footer;
|
|
11408
11483
|
return writePdfDocumentTo([pdfGroupedTable(report, tableOptions)], destination, documentOptions);
|
|
11409
11484
|
}
|
|
11410
|
-
const _exports = Object.freeze({ pdfGroupedTable:
|
|
11485
|
+
const _exports = Object.freeze({ pdfGroupedTable: _m92.pdfGroupedTable, writeGroupedPdf: writeGroupedPdf, writeGroupedPdfTo: writeGroupedPdfTo });
|
|
11411
11486
|
return _exports;
|
|
11412
11487
|
})();
|
|
11413
11488
|
|
|
11414
|
-
const
|
|
11415
|
-
const { fontProgram } =
|
|
11489
|
+
const _m93 = (() => {
|
|
11490
|
+
const { fontProgram } = _m63;
|
|
11416
11491
|
|
|
11417
|
-
const { resolveScalar, selectFont, validateFonts } =
|
|
11492
|
+
const { resolveScalar, selectFont, validateFonts } = _m67;
|
|
11418
11493
|
|
|
11419
11494
|
/**
|
|
11420
11495
|
* Check one text run against the writer's selected font and scalar-layout rules.
|
|
@@ -11450,13 +11525,13 @@ const _exports = Object.freeze({ preflightPdfText: preflightPdfText });
|
|
|
11450
11525
|
return _exports;
|
|
11451
11526
|
})();
|
|
11452
11527
|
|
|
11453
|
-
const
|
|
11528
|
+
const _m54 = (() => {
|
|
11454
11529
|
|
|
11455
|
-
const _exports = Object.freeze({ writePdf:
|
|
11530
|
+
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 });
|
|
11456
11531
|
return _exports;
|
|
11457
11532
|
})();
|
|
11458
11533
|
|
|
11459
|
-
const
|
|
11534
|
+
const _m94 = (() => {
|
|
11460
11535
|
/** @internal Runtime-checked calls across the optional third-party API boundary. */
|
|
11461
11536
|
function call(owner, name, ...args) {
|
|
11462
11537
|
const fn = member(owner, name);
|
|
@@ -11488,12 +11563,12 @@ const _exports = Object.freeze({ call: call, member: member, array: array, index
|
|
|
11488
11563
|
return _exports;
|
|
11489
11564
|
})();
|
|
11490
11565
|
|
|
11491
|
-
const
|
|
11566
|
+
const _m95 = (() => {
|
|
11492
11567
|
const { ExportCell, assertExportValue } = _m5;
|
|
11493
11568
|
|
|
11494
11569
|
const { tableSpans } = _m17;
|
|
11495
11570
|
|
|
11496
|
-
const { member } =
|
|
11571
|
+
const { member } = _m94;
|
|
11497
11572
|
|
|
11498
11573
|
/** @internal */
|
|
11499
11574
|
function value(input) {
|
|
@@ -11561,7 +11636,7 @@ const _exports = Object.freeze({ value: value, text: text, headings: headings })
|
|
|
11561
11636
|
return _exports;
|
|
11562
11637
|
})();
|
|
11563
11638
|
|
|
11564
|
-
const
|
|
11639
|
+
const _m96 = (() => {
|
|
11565
11640
|
const { checkAbort, pause, rowsFromBatches, taskYieldDue } = _m4;
|
|
11566
11641
|
|
|
11567
11642
|
const { ExportBudget } = _m9;
|
|
@@ -11570,9 +11645,9 @@ const { captureFields } = _m10;
|
|
|
11570
11645
|
|
|
11571
11646
|
const { columnOptionFields, copyColumns } = _m11;
|
|
11572
11647
|
|
|
11573
|
-
const { array, call, indexes, member } =
|
|
11648
|
+
const { array, call, indexes, member } = _m94;
|
|
11574
11649
|
|
|
11575
|
-
const { headings, text, value } =
|
|
11650
|
+
const { headings, text, value } = _m95;
|
|
11576
11651
|
|
|
11577
11652
|
function safeOptions(options) {
|
|
11578
11653
|
options = captureFields(options, ["rows", "columns", "modifier", "orthogonal", "stripHtml", "stripNewlines", "decodeEntities", "escapeExcelFormula", "trim", "format", "customizeData"]);
|
|
@@ -11778,16 +11853,16 @@ const _exports = Object.freeze({ createDataTablesExport: createDataTablesExport,
|
|
|
11778
11853
|
return _exports;
|
|
11779
11854
|
})();
|
|
11780
11855
|
|
|
11781
|
-
const
|
|
11856
|
+
const _m97 = (() => {
|
|
11782
11857
|
const { captureFields } = _m10;
|
|
11783
11858
|
|
|
11784
11859
|
const { ExportBudget } = _m9;
|
|
11785
11860
|
|
|
11786
11861
|
const { captureCsvOptions: captureCsv } = _m19;
|
|
11787
11862
|
|
|
11788
|
-
const { capturePdfOptions: capturePdf, capturePdfLimits, pdfLimitFields } =
|
|
11863
|
+
const { capturePdfOptions: capturePdf, capturePdfLimits, pdfLimitFields } = _m56;
|
|
11789
11864
|
|
|
11790
|
-
const { captureWorkbookLimits, workbookLimitFields, workbookOptionFields, sheetOptionFields } =
|
|
11865
|
+
const { captureWorkbookLimits, workbookLimitFields, workbookOptionFields, sheetOptionFields } = _m47;
|
|
11791
11866
|
|
|
11792
11867
|
const limitFields = [...new Set([...workbookLimitFields, ...pdfLimitFields])];
|
|
11793
11868
|
const portableWorkbookFields = workbookOptionFields.filter((key) => key !== "sink");
|
|
@@ -11831,19 +11906,19 @@ const { writeCsvTo } = _m15;
|
|
|
11831
11906
|
|
|
11832
11907
|
const { writeXlsxTo } = _m20;
|
|
11833
11908
|
|
|
11834
|
-
const { writePdfTo } =
|
|
11909
|
+
const { writePdfTo } = _m54;
|
|
11835
11910
|
|
|
11836
|
-
const { portableSheet, portableWorkbook } =
|
|
11911
|
+
const { portableSheet, portableWorkbook } = _m51;
|
|
11837
11912
|
|
|
11838
|
-
const { call, member } =
|
|
11913
|
+
const { call, member } = _m94;
|
|
11839
11914
|
|
|
11840
|
-
const { value } =
|
|
11915
|
+
const { value } = _m95;
|
|
11841
11916
|
|
|
11842
|
-
const { captureDataTablesExport } =
|
|
11917
|
+
const { captureDataTablesExport } = _m96;
|
|
11843
11918
|
|
|
11844
11919
|
const { captureFields } = _m10;
|
|
11845
11920
|
|
|
11846
|
-
const { captureCommonLimits, captureXlsxOptions, captureCsvOptions, capturePdfOptions, mergeAdapterLimits } =
|
|
11921
|
+
const { captureCommonLimits, captureXlsxOptions, captureCsvOptions, capturePdfOptions, mergeAdapterLimits } = _m97;
|
|
11847
11922
|
|
|
11848
11923
|
|
|
11849
11924
|
|
|
@@ -12004,7 +12079,7 @@ function registerDataTablesButtons(host, options = {}) {
|
|
|
12004
12079
|
};
|
|
12005
12080
|
}
|
|
12006
12081
|
}
|
|
12007
|
-
const _exports = Object.freeze({ createDataTablesExport:
|
|
12082
|
+
const _exports = Object.freeze({ createDataTablesExport: _m96.createDataTablesExport, ExportCell: _m5.ExportCell, PdfFont: _m63.PdfFont, writeDataTableTo: writeDataTableTo, exportDataTable: exportDataTable, registerDataTablesButtons: registerDataTablesButtons });
|
|
12008
12083
|
return _exports;
|
|
12009
12084
|
})();
|
|
12010
12085
|
const { createDataTablesExport, ExportCell, PdfFont, writeDataTableTo, exportDataTable, registerDataTablesButtons } = _m0;
|