@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.mjs
CHANGED
|
@@ -1596,7 +1596,16 @@ class OpcPackage {
|
|
|
1596
1596
|
throw new OfficeIMOError("INVALID_STATE", "OPC package is finalized."); }
|
|
1597
1597
|
reserve(uri, type) {
|
|
1598
1598
|
this.open();
|
|
1599
|
+
// OPC part names become ZIP entry names. Reject oversized and deeply nested
|
|
1600
|
+
// names before collecting every ancestor prefix.
|
|
1601
|
+
if (typeof uri === "string" && uri.length > 65536)
|
|
1602
|
+
throw new OfficeIMOError("RESOURCE_LIMIT", "OPC part name exceeds the ZIP entry-name limit.");
|
|
1599
1603
|
uri = partUri(uri);
|
|
1604
|
+
let depth = 0;
|
|
1605
|
+
for (let index = 0; index < uri.length; index++) {
|
|
1606
|
+
if (uri[index] === "/" && ++depth > 64)
|
|
1607
|
+
throw new OfficeIMOError("RESOURCE_LIMIT", "OPC part name exceeds the directory-depth limit.");
|
|
1608
|
+
}
|
|
1600
1609
|
if (/\/_rels(?:\/|$)/i.test(uri) || uri.toLowerCase() === "/[content_types].xml")
|
|
1601
1610
|
throw new TypeError("Package metadata part names are reserved.");
|
|
1602
1611
|
const key = uri.toLowerCase();
|
|
@@ -2290,14 +2299,23 @@ function columnName(index) {
|
|
|
2290
2299
|
return name;
|
|
2291
2300
|
}
|
|
2292
2301
|
function clipName(text, length) { return text.slice(0, length).replace(/[\ud800-\udbff]$/, ""); }
|
|
2302
|
+
function trimSheetNameEdges(text) {
|
|
2303
|
+
let start = 0, end = text.length;
|
|
2304
|
+
const removable = (character) => character === "'" || /\s/u.test(character);
|
|
2305
|
+
while (start < end && removable(text[start]))
|
|
2306
|
+
start++;
|
|
2307
|
+
while (end > start && removable(text[end - 1]))
|
|
2308
|
+
end--;
|
|
2309
|
+
return text.slice(start, end);
|
|
2310
|
+
}
|
|
2293
2311
|
function sheetName(requested, names, policy, register = true) {
|
|
2294
2312
|
if (typeof requested !== "string")
|
|
2295
2313
|
throw new TypeError("Sheet name must be a string.");
|
|
2296
2314
|
// Validate and deduplicate the decoded literal value, before ST_Xstring attribute encoding.
|
|
2297
2315
|
// A requested _xHHHH_ token is literal text; the serializer protects its leading underscore.
|
|
2298
|
-
let base = cleanXml(requested, policy).replace(/[\[\]:*?/\\]/g, "_")
|
|
2316
|
+
let base = trimSheetNameEdges(cleanXml(requested, policy).replace(/[\[\]:*?/\\]/g, "_"));
|
|
2299
2317
|
// Clipping can expose an internal apostrophe or the reserved History name.
|
|
2300
|
-
base = clipName(base, 31)
|
|
2318
|
+
base = trimSheetNameEdges(clipName(base, 31));
|
|
2301
2319
|
if (!base)
|
|
2302
2320
|
base = "Sheet";
|
|
2303
2321
|
if (base.toLowerCase() === "history")
|
|
@@ -2328,6 +2346,51 @@ return _exports;
|
|
|
2328
2346
|
})();
|
|
2329
2347
|
|
|
2330
2348
|
const _m29 = (() => {
|
|
2349
|
+
const { captureFields } = _m10;
|
|
2350
|
+
|
|
2351
|
+
/** Capture bounded disjoint ranges before asynchronous serialization; absent columns stay visible. */
|
|
2352
|
+
function captureColumnOutlines(input, columns) {
|
|
2353
|
+
if (input === undefined)
|
|
2354
|
+
return undefined;
|
|
2355
|
+
if (!Array.isArray(input) || input.length > columns)
|
|
2356
|
+
throw new TypeError("Column outlines must be bounded, non-overlapping ranges.");
|
|
2357
|
+
let end = 0;
|
|
2358
|
+
return Object.freeze(input.map(range => {
|
|
2359
|
+
if (!range || typeof range !== "object")
|
|
2360
|
+
throw new TypeError("Column outlines require range metadata.");
|
|
2361
|
+
return captureFields(range, ["firstColumn", "columnCount", "level", "hidden", "collapsed"]);
|
|
2362
|
+
}).sort((a, b) => a.firstColumn - b.firstColumn).map(range => {
|
|
2363
|
+
const { firstColumn, columnCount, level = 0, hidden, collapsed } = range;
|
|
2364
|
+
if (!Number.isSafeInteger(firstColumn) || firstColumn < end || !Number.isSafeInteger(columnCount) || columnCount < 1 || firstColumn + columnCount > columns)
|
|
2365
|
+
throw new RangeError("Column outline ranges must be disjoint and within the declared columns.");
|
|
2366
|
+
if (!Number.isInteger(level) || level < 0 || level > 7)
|
|
2367
|
+
throw new RangeError("Column outline level must be from zero through seven.");
|
|
2368
|
+
for (const flag of [hidden, collapsed])
|
|
2369
|
+
if (flag !== undefined && typeof flag !== "boolean")
|
|
2370
|
+
throw new TypeError("Column outline flags must be booleans.");
|
|
2371
|
+
end = firstColumn + columnCount;
|
|
2372
|
+
return Object.freeze({ firstColumn, columnCount, level, ...(hidden === undefined ? {} : { hidden }), ...(collapsed === undefined ? {} : { collapsed }) });
|
|
2373
|
+
}));
|
|
2374
|
+
}
|
|
2375
|
+
/** @internal Positions are captured even when a sheet has only column outlines. */
|
|
2376
|
+
function validateOutlinePositions(options) {
|
|
2377
|
+
for (const flag of [options.outlineSummaryBelow, options.outlineSummaryRight])
|
|
2378
|
+
if (flag !== undefined && typeof flag !== "boolean")
|
|
2379
|
+
throw new TypeError("Outline summary positions must be booleans.");
|
|
2380
|
+
}
|
|
2381
|
+
/** @internal Resolve at most 16,384 columns once, without retaining any worksheet body. */
|
|
2382
|
+
function columnOutlineMap(ranges) {
|
|
2383
|
+
const result = new Map();
|
|
2384
|
+
for (const range of ranges ?? [])
|
|
2385
|
+
for (let index = range.firstColumn; index < range.firstColumn + range.columnCount; index++)
|
|
2386
|
+
result.set(index, range);
|
|
2387
|
+
return result;
|
|
2388
|
+
}
|
|
2389
|
+
const _exports = Object.freeze({ captureColumnOutlines: captureColumnOutlines, validateOutlinePositions: validateOutlinePositions, columnOutlineMap: columnOutlineMap });
|
|
2390
|
+
return _exports;
|
|
2391
|
+
})();
|
|
2392
|
+
|
|
2393
|
+
const _m30 = (() => {
|
|
2331
2394
|
const { assertExportValue } = _m5;
|
|
2332
2395
|
|
|
2333
2396
|
const { copyExportValue } = _m13;
|
|
@@ -2392,7 +2455,7 @@ const _exports = Object.freeze({ captureTableSpans: captureTableSpans, tableSpan
|
|
|
2392
2455
|
return _exports;
|
|
2393
2456
|
})();
|
|
2394
2457
|
|
|
2395
|
-
const
|
|
2458
|
+
const _m33 = (() => {
|
|
2396
2459
|
const { ChunkedTextSink } = _m3;
|
|
2397
2460
|
|
|
2398
2461
|
const { escapeXml, xmlDeclaration } = _m17;
|
|
@@ -2504,14 +2567,14 @@ const _exports = Object.freeze({ chartNamespace: chartNamespace, chartContentTyp
|
|
|
2504
2567
|
return _exports;
|
|
2505
2568
|
})();
|
|
2506
2569
|
|
|
2507
|
-
const
|
|
2570
|
+
const _m32 = (() => {
|
|
2508
2571
|
const { cleanXml, escapeXml, escapeOoxmlAttribute, xmlDeclaration } = _m17;
|
|
2509
2572
|
|
|
2510
2573
|
const { copyExportLink } = _m7;
|
|
2511
2574
|
|
|
2512
2575
|
const { officeRelationshipsNamespace } = _m18;
|
|
2513
2576
|
|
|
2514
|
-
const { chartAnchorXml } =
|
|
2577
|
+
const { chartAnchorXml } = _m33;
|
|
2515
2578
|
|
|
2516
2579
|
const { captureFields } = _m10;
|
|
2517
2580
|
|
|
@@ -2581,10 +2644,10 @@ const _exports = Object.freeze({ copyDrawingAnchor: copyDrawingAnchor, cellPosit
|
|
|
2581
2644
|
return _exports;
|
|
2582
2645
|
})();
|
|
2583
2646
|
|
|
2584
|
-
const
|
|
2647
|
+
const _m35 = (() => {
|
|
2585
2648
|
const { OfficeIMOError } = _m2;
|
|
2586
2649
|
|
|
2587
|
-
const { cellPosition } =
|
|
2650
|
+
const { cellPosition } = _m32;
|
|
2588
2651
|
|
|
2589
2652
|
function indexRows(regions) {
|
|
2590
2653
|
if (!regions.length)
|
|
@@ -2685,10 +2748,10 @@ const _exports = Object.freeze({ MergeRegions: MergeRegions });
|
|
|
2685
2748
|
return _exports;
|
|
2686
2749
|
})();
|
|
2687
2750
|
|
|
2688
|
-
const
|
|
2751
|
+
const _m36 = (() => {
|
|
2689
2752
|
const { ExportCell } = _m5;
|
|
2690
2753
|
|
|
2691
|
-
const { tableSpans } =
|
|
2754
|
+
const { tableSpans } = _m30;
|
|
2692
2755
|
|
|
2693
2756
|
const { copyValue, columnName } = _m27;
|
|
2694
2757
|
|
|
@@ -2721,7 +2784,7 @@ const _exports = Object.freeze({ StructuredRows: StructuredRows });
|
|
|
2721
2784
|
return _exports;
|
|
2722
2785
|
})();
|
|
2723
2786
|
|
|
2724
|
-
const
|
|
2787
|
+
const _m34 = (() => {
|
|
2725
2788
|
const { ExportCell } = _m5;
|
|
2726
2789
|
|
|
2727
2790
|
const { isDate } = _m6;
|
|
@@ -2732,13 +2795,13 @@ const { FormulaCell } = _m28;
|
|
|
2732
2795
|
|
|
2733
2796
|
const { escapeOoxmlAttribute } = _m17;
|
|
2734
2797
|
|
|
2735
|
-
const { MergeRegions } =
|
|
2798
|
+
const { MergeRegions } = _m35;
|
|
2736
2799
|
|
|
2737
2800
|
const { OfficeIMOError } = _m2;
|
|
2738
2801
|
|
|
2739
2802
|
const { createTotals } = _m12;
|
|
2740
2803
|
|
|
2741
|
-
const { StructuredRows } =
|
|
2804
|
+
const { StructuredRows } = _m36;
|
|
2742
2805
|
|
|
2743
2806
|
/** @internal A computed formula with a numeric cache; no public arbitrary-formula input. */
|
|
2744
2807
|
class ComputedTotal {
|
|
@@ -2921,7 +2984,7 @@ const _exports = Object.freeze({ ComputedTotal: ComputedTotal, ReportLayout: Rep
|
|
|
2921
2984
|
return _exports;
|
|
2922
2985
|
})();
|
|
2923
2986
|
|
|
2924
|
-
const
|
|
2987
|
+
const _m38 = (() => {
|
|
2925
2988
|
const { columnName } = _m27;
|
|
2926
2989
|
|
|
2927
2990
|
/** @internal Data-column selectors use stable keys or one-based worksheet columns. */
|
|
@@ -2951,7 +3014,7 @@ const _exports = Object.freeze({ resolveDataColumn: resolveDataColumn, qualified
|
|
|
2951
3014
|
return _exports;
|
|
2952
3015
|
})();
|
|
2953
3016
|
|
|
2954
|
-
const
|
|
3017
|
+
const _m39 = (() => {
|
|
2955
3018
|
const { OfficeIMOError } = _m2;
|
|
2956
3019
|
|
|
2957
3020
|
const { columnName } = _m27;
|
|
@@ -2997,18 +3060,18 @@ const _exports = Object.freeze({ retainDataRowRanges: retainDataRowRanges, dataR
|
|
|
2997
3060
|
return _exports;
|
|
2998
3061
|
})();
|
|
2999
3062
|
|
|
3000
|
-
const
|
|
3063
|
+
const _m37 = (() => {
|
|
3001
3064
|
const { cleanXml, escapeXml, escapeOoxmlAttribute } = _m17;
|
|
3002
3065
|
|
|
3003
|
-
const { cellPosition } =
|
|
3066
|
+
const { cellPosition } = _m32;
|
|
3004
3067
|
|
|
3005
3068
|
const { colorArgb } = _m25;
|
|
3006
3069
|
|
|
3007
3070
|
const { fields, optionalBoolean, differentialXml } = _m26;
|
|
3008
3071
|
|
|
3009
|
-
const { resolveDataColumn } =
|
|
3072
|
+
const { resolveDataColumn } = _m38;
|
|
3010
3073
|
|
|
3011
|
-
const { dataRowReference } =
|
|
3074
|
+
const { dataRowReference } = _m39;
|
|
3012
3075
|
|
|
3013
3076
|
function target(range, columns) {
|
|
3014
3077
|
if (typeof range === "string") {
|
|
@@ -3166,7 +3229,7 @@ const _exports = Object.freeze({ prepareConditionalFormats: prepareConditionalFo
|
|
|
3166
3229
|
return _exports;
|
|
3167
3230
|
})();
|
|
3168
3231
|
|
|
3169
|
-
const
|
|
3232
|
+
const _m40 = (() => {
|
|
3170
3233
|
const { OfficeIMOError } = _m2;
|
|
3171
3234
|
|
|
3172
3235
|
const { checkAbort } = _m4;
|
|
@@ -3175,9 +3238,9 @@ const { cleanXml, escapeOoxmlAttribute, escapeXml } = _m17;
|
|
|
3175
3238
|
|
|
3176
3239
|
const { fields, optionalBoolean } = _m26;
|
|
3177
3240
|
|
|
3178
|
-
const { resolveDataColumn } =
|
|
3241
|
+
const { resolveDataColumn } = _m38;
|
|
3179
3242
|
|
|
3180
|
-
const { dataRowReference } =
|
|
3243
|
+
const { dataRowReference } = _m39;
|
|
3181
3244
|
|
|
3182
3245
|
function message(value, maximum, name) {
|
|
3183
3246
|
if (value === undefined)
|
|
@@ -3269,7 +3332,7 @@ const _exports = Object.freeze({ prepareDataValidations: prepareDataValidations,
|
|
|
3269
3332
|
return _exports;
|
|
3270
3333
|
})();
|
|
3271
3334
|
|
|
3272
|
-
const
|
|
3335
|
+
const _m31 = (() => {
|
|
3273
3336
|
const { checkAbort, consumeRows, inputRows, pause, taskYieldDue } = _m4;
|
|
3274
3337
|
|
|
3275
3338
|
const { ChunkedTextSink, BlobByteSink } = _m3;
|
|
@@ -3290,25 +3353,27 @@ const { Cell, cellText, columnName, inlineText, excelDate, copyValue } = _m27;
|
|
|
3290
3353
|
|
|
3291
3354
|
const { spreadsheetNamespace, colorArgb, validateStylePatch, copyStylePatch } = _m24;
|
|
3292
3355
|
|
|
3293
|
-
const { copyHyperlink, copyImage, hyperlinksXml, cellPosition } =
|
|
3356
|
+
const { copyHyperlink, copyImage, hyperlinksXml, cellPosition } = _m32;
|
|
3294
3357
|
|
|
3295
3358
|
const { ExportCell, assertScalar } = _m5;
|
|
3296
3359
|
|
|
3297
|
-
const { ReportLayout, ComputedTotal, printXml } =
|
|
3360
|
+
const { ReportLayout, ComputedTotal, printXml } = _m34;
|
|
3298
3361
|
|
|
3299
3362
|
const { cleanXml } = _m17;
|
|
3300
3363
|
|
|
3301
|
-
const { ConditionalFormats, prepareConditionalFormats } =
|
|
3364
|
+
const { ConditionalFormats, prepareConditionalFormats } = _m37;
|
|
3302
3365
|
|
|
3303
3366
|
const { isDate } = _m6;
|
|
3304
3367
|
|
|
3305
3368
|
const { FormulaCell, formulaXml, isSubtotalFormula } = _m28;
|
|
3306
3369
|
|
|
3307
|
-
const { prepareDataValidations, dataValidationsXml } =
|
|
3370
|
+
const { prepareDataValidations, dataValidationsXml } = _m40;
|
|
3308
3371
|
|
|
3309
|
-
const { qualifiedCell, qualifiedColumnRange, resolveDataColumn } =
|
|
3372
|
+
const { qualifiedCell, qualifiedColumnRange, resolveDataColumn } = _m38;
|
|
3310
3373
|
|
|
3311
|
-
const { dataRowRanges, dataRowCount } =
|
|
3374
|
+
const { dataRowRanges, dataRowCount } = _m39;
|
|
3375
|
+
|
|
3376
|
+
const { captureColumnOutlines, columnOutlineMap, validateOutlinePositions } = _m29;
|
|
3312
3377
|
|
|
3313
3378
|
const maximumHyperlinks = 65530;
|
|
3314
3379
|
function checkHyperlinkCount(count) {
|
|
@@ -3440,6 +3505,8 @@ class Worksheet {
|
|
|
3440
3505
|
throw new TypeError("Row and style callbacks must be functions.");
|
|
3441
3506
|
if (options.maxOutlineLevel !== undefined && (!Number.isInteger(options.maxOutlineLevel) || options.maxOutlineLevel < 0 || options.maxOutlineLevel > 7))
|
|
3442
3507
|
throw new RangeError("Maximum outline level must be an integer from zero through seven.");
|
|
3508
|
+
validateOutlinePositions(options);
|
|
3509
|
+
captureColumnOutlines(options.columnOutlines, columns.length);
|
|
3443
3510
|
if (options.rowOutline && options.maxOutlineLevel === undefined)
|
|
3444
3511
|
throw new TypeError("A row outline callback requires maxOutlineLevel before streamed rows are written.");
|
|
3445
3512
|
if (!options.rowOutline && options.maxOutlineLevel !== undefined)
|
|
@@ -3724,17 +3791,22 @@ class Worksheet {
|
|
|
3724
3791
|
const buffer = this.buffer = new ChunkedTextSink(this.entry, this.book.settings.signal), opts = this.options;
|
|
3725
3792
|
const x = opts.freezeColumns ?? 0, y = opts.freezeHeader ? this.headerRows : 0;
|
|
3726
3793
|
const pane = x && y ? "bottomRight" : x ? "topRight" : "bottomLeft", cell = columnName(x + 1) + (y + 1);
|
|
3794
|
+
const outlines = columnOutlineMap(opts.columnOutlines), hasOutline = !!opts.rowOutline || outlines.size > 0;
|
|
3795
|
+
const maxColumnLevel = Math.max(0, ...Array.from(outlines.values(), value => value.level ?? 0));
|
|
3727
3796
|
await buffer.write(xmlDeclaration + '<worksheet xmlns="' + spreadsheetNamespace + '" xmlns:r="' + officeRelationshipsNamespace + '">' +
|
|
3728
|
-
(opts.print ||
|
|
3797
|
+
(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">' +
|
|
3729
3798
|
(x || y ? '<pane' + (x ? ' xSplit="' + x + '"' : "") + (y ? ' ySplit="' + y + '"' : "") + ' topLeftCell="' + cell + '" activePane="' + pane + '" state="frozen"/><selection pane="' + pane + '" activeCell="' + cell + '" sqref="' + cell + '"/>' : "") + '</sheetView></sheetViews>' +
|
|
3730
|
-
(
|
|
3799
|
+
(hasOutline ? '<sheetFormatPr defaultRowHeight="15"' + (opts.rowOutline ? ' outlineLevelRow="' + opts.maxOutlineLevel + '"' : "") + (outlines.size ? ' outlineLevelCol="' + maxColumnLevel + '"' : "") + '/>' : ""));
|
|
3731
3800
|
const defaultWidth = opts.defaultColumnWidth ?? (this.table ? 20 : undefined);
|
|
3732
|
-
if (this.columns.some((_, i) => this.layout.widths[i] !== undefined || defaultWidth !== undefined)) {
|
|
3801
|
+
if (this.columns.some((_, i) => this.layout.widths[i] !== undefined || defaultWidth !== undefined || outlines.has(i))) {
|
|
3733
3802
|
await buffer.write('<cols>');
|
|
3734
3803
|
for (let i = 0; i < this.columns.length; i++) {
|
|
3735
|
-
const width = this.layout.widths[i] ?? defaultWidth;
|
|
3736
|
-
if (width !== undefined)
|
|
3737
|
-
await buffer.write('<col min="' + (i + 1) + '" max="' + (i + 1) + '"
|
|
3804
|
+
const width = this.layout.widths[i] ?? defaultWidth, outline = outlines.get(i);
|
|
3805
|
+
if (width !== undefined || outline)
|
|
3806
|
+
await buffer.write('<col min="' + (i + 1) + '" max="' + (i + 1) + '"' +
|
|
3807
|
+
(width === undefined ? "" : ' width="' + width + '" customWidth="1"') +
|
|
3808
|
+
(outline?.level ? ' outlineLevel="' + outline.level + '"' : "") + (outline?.hidden ? ' hidden="1"' : "") +
|
|
3809
|
+
(outline?.collapsed ? ' collapsed="1"' : "") + '/>');
|
|
3738
3810
|
}
|
|
3739
3811
|
await buffer.write('</cols>');
|
|
3740
3812
|
}
|
|
@@ -3995,7 +4067,7 @@ const _exports = Object.freeze({ Worksheet: Worksheet });
|
|
|
3995
4067
|
return _exports;
|
|
3996
4068
|
})();
|
|
3997
4069
|
|
|
3998
|
-
const
|
|
4070
|
+
const _m41 = (() => {
|
|
3999
4071
|
const { escapeOoxmlAttribute, escapeXml, xmlDeclaration } = _m17;
|
|
4000
4072
|
|
|
4001
4073
|
const { cellText, columnName } = _m27;
|
|
@@ -4006,7 +4078,7 @@ const { ExportCell } = _m5;
|
|
|
4006
4078
|
|
|
4007
4079
|
const { Cell } = _m27;
|
|
4008
4080
|
|
|
4009
|
-
const { totalFormula } =
|
|
4081
|
+
const { totalFormula } = _m34;
|
|
4010
4082
|
|
|
4011
4083
|
function defineTable(id, options, columns, policy) {
|
|
4012
4084
|
const name = options.name ?? "Table" + id;
|
|
@@ -4041,7 +4113,7 @@ const _exports = Object.freeze({ defineTable: defineTable, tableXml: tableXml })
|
|
|
4041
4113
|
return _exports;
|
|
4042
4114
|
})();
|
|
4043
4115
|
|
|
4044
|
-
const
|
|
4116
|
+
const _m42 = (() => {
|
|
4045
4117
|
const { OfficeIMOError } = _m2;
|
|
4046
4118
|
|
|
4047
4119
|
const { cleanXml } = _m17;
|
|
@@ -4108,13 +4180,13 @@ const _exports = Object.freeze({ TextOverflow: TextOverflow, clipText: clipText
|
|
|
4108
4180
|
return _exports;
|
|
4109
4181
|
})();
|
|
4110
4182
|
|
|
4111
|
-
const
|
|
4183
|
+
const _m43 = (() => {
|
|
4112
4184
|
const { captureFields } = _m10;
|
|
4113
4185
|
|
|
4114
4186
|
/** @internal The workbook owner captures these settings before validation or adapter merging. */
|
|
4115
4187
|
const workbookOptionFields = ["signal", "onProgress", "limits", "sink", "dateMode", "compression", "invalidCharacterPolicy", "appProperties", "cellValueWriters", "oversizedText", "creator", "title", "subject", "description", "created", "modified"];
|
|
4116
4188
|
/** @internal Worksheet settings also used by the portable sheet owner. */
|
|
4117
|
-
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"];
|
|
4189
|
+
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"];
|
|
4118
4190
|
/** @internal Includes inherited format-specific ceilings before a wrapper combines stream settings. */
|
|
4119
4191
|
const workbookLimitFields = ["maxRows", "maxCells", "maxTextCharacters", "maxOutputBytes", "maxStyles", "maxSheets", "maxOverflowCharacters", "maxHyperlinks", "maxImageBytes", "maxBufferedCells", "maxBufferedCharacters", "maxMergedRanges", "maxConditionalFormats", "maxDifferentialStyles", "maxCharts", "maxChartPoints", "maxChartTextCharacters", "maxFormulaCharacters", "maxDataValidations", "maxValidationTextCharacters"];
|
|
4120
4192
|
/** @internal Capture the workbook's known ceilings without dropping supported prototype fields. */
|
|
@@ -4130,7 +4202,7 @@ const _exports = Object.freeze({ workbookOptionFields: workbookOptionFields, she
|
|
|
4130
4202
|
return _exports;
|
|
4131
4203
|
})();
|
|
4132
4204
|
|
|
4133
|
-
const
|
|
4205
|
+
const _m45 = (() => {
|
|
4134
4206
|
const { checkAbort } = _m4;
|
|
4135
4207
|
|
|
4136
4208
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
@@ -4261,18 +4333,18 @@ const _exports = Object.freeze({ captureChartRange: captureChartRange, prepareCh
|
|
|
4261
4333
|
return _exports;
|
|
4262
4334
|
})();
|
|
4263
4335
|
|
|
4264
|
-
const
|
|
4336
|
+
const _m44 = (() => {
|
|
4265
4337
|
const { checkAbort } = _m4;
|
|
4266
4338
|
|
|
4267
4339
|
const { NotSupportedError, OfficeIMOError } = _m2;
|
|
4268
4340
|
|
|
4269
4341
|
const { cleanXml } = _m17;
|
|
4270
4342
|
|
|
4271
|
-
const { copyDrawingAnchor } =
|
|
4343
|
+
const { copyDrawingAnchor } = _m32;
|
|
4272
4344
|
|
|
4273
4345
|
const { captureFields } = _m10;
|
|
4274
4346
|
|
|
4275
|
-
const { captureChartRange, prepareChartBinding } =
|
|
4347
|
+
const { captureChartRange, prepareChartBinding } = _m45;
|
|
4276
4348
|
|
|
4277
4349
|
function fields(value, allowed, context) {
|
|
4278
4350
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
@@ -4454,25 +4526,27 @@ const { copyColumns } = _m11;
|
|
|
4454
4526
|
|
|
4455
4527
|
const { captureFields } = _m10;
|
|
4456
4528
|
|
|
4457
|
-
const {
|
|
4529
|
+
const { captureColumnOutlines } = _m29;
|
|
4530
|
+
|
|
4531
|
+
const { captureTableSpans } = _m30;
|
|
4458
4532
|
|
|
4459
4533
|
const { assertExportValue } = _m5;
|
|
4460
4534
|
|
|
4461
|
-
const { Worksheet } =
|
|
4535
|
+
const { Worksheet } = _m31;
|
|
4462
4536
|
|
|
4463
|
-
const { defineTable, tableXml } =
|
|
4537
|
+
const { defineTable, tableXml } = _m41;
|
|
4464
4538
|
|
|
4465
|
-
const { copyHyperlink, drawingXml, drawingContentType } =
|
|
4539
|
+
const { copyHyperlink, drawingXml, drawingContentType } = _m32;
|
|
4466
4540
|
|
|
4467
|
-
const { TextOverflow } =
|
|
4541
|
+
const { TextOverflow } = _m42;
|
|
4468
4542
|
|
|
4469
|
-
const { captureWorkbookOptions, sheetOptionFields } =
|
|
4543
|
+
const { captureWorkbookOptions, sheetOptionFields } = _m43;
|
|
4470
4544
|
|
|
4471
|
-
const { prepareChart } =
|
|
4545
|
+
const { prepareChart } = _m44;
|
|
4472
4546
|
|
|
4473
|
-
const { qualifiedColumnRange, resolveDataColumn } =
|
|
4547
|
+
const { qualifiedColumnRange, resolveDataColumn } = _m38;
|
|
4474
4548
|
|
|
4475
|
-
const { chartContentType, writeChartXml } =
|
|
4549
|
+
const { chartContentType, writeChartXml } = _m33;
|
|
4476
4550
|
|
|
4477
4551
|
const xlsxMime = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
4478
4552
|
const formatType = (name) => "application/vnd.openxmlformats-officedocument.spreadsheetml." + name + "+xml";
|
|
@@ -4483,6 +4557,7 @@ function captureSheet(options, policy) {
|
|
|
4483
4557
|
const footer = captured.footer && captureFields(captured.footer, ["rows", "values", "totals", "style"]);
|
|
4484
4558
|
const print = captured.print && captureFields(captured.print, ["paper", "orientation", "fitToWidth", "fitToHeight", "repeatHeaders", "margins", "header", "footer"]);
|
|
4485
4559
|
return { ...captured, columns,
|
|
4560
|
+
...(captured.columnOutlines === undefined ? {} : { columnOutlines: captureColumnOutlines(captured.columnOutlines, columns.length) }),
|
|
4486
4561
|
...(captured.headerRows === undefined ? {} : { headerRows: captureTableSpans(captured.headerRows, columns.length) }),
|
|
4487
4562
|
...(footer ? { footer: { ...footer,
|
|
4488
4563
|
...(footer.rows === undefined ? {} : { rows: captureTableSpans(footer.rows, columns.length) }),
|
|
@@ -4912,10 +4987,10 @@ const _exports = Object.freeze({ Workbook: Workbook });
|
|
|
4912
4987
|
return _exports;
|
|
4913
4988
|
})();
|
|
4914
4989
|
|
|
4915
|
-
const
|
|
4990
|
+
const _m47 = (() => {
|
|
4916
4991
|
const { ExportCell, assertScalar } = _m5;
|
|
4917
4992
|
|
|
4918
|
-
const { captureWorkbookOptions, sheetOptionFields } =
|
|
4993
|
+
const { captureWorkbookOptions, sheetOptionFields } = _m43;
|
|
4919
4994
|
|
|
4920
4995
|
const { captureFields } = _m10;
|
|
4921
4996
|
|
|
@@ -4964,18 +5039,18 @@ const _exports = Object.freeze({ portableSheet: portableSheet, portableWorkbook:
|
|
|
4964
5039
|
return _exports;
|
|
4965
5040
|
})();
|
|
4966
5041
|
|
|
4967
|
-
const
|
|
5042
|
+
const _m46 = (() => {
|
|
4968
5043
|
const { withDestination } = _m3;
|
|
4969
5044
|
|
|
4970
5045
|
const { copyColumns } = _m11;
|
|
4971
5046
|
|
|
4972
5047
|
const { Workbook } = _m22;
|
|
4973
5048
|
|
|
4974
|
-
const { portableSheet, portableWorkbook } =
|
|
5049
|
+
const { portableSheet, portableWorkbook } = _m47;
|
|
4975
5050
|
|
|
4976
5051
|
const { captureFields } = _m10;
|
|
4977
5052
|
|
|
4978
|
-
const { sheetOptionFields, workbookOptionFields } =
|
|
5053
|
+
const { sheetOptionFields, workbookOptionFields } = _m43;
|
|
4979
5054
|
|
|
4980
5055
|
function prepare(options) {
|
|
4981
5056
|
options = captureFields(options, [...workbookOptionFields, "columns", "sheet"]);
|
|
@@ -5022,7 +5097,7 @@ const _exports = Object.freeze({ writeXlsx: writeXlsx, writeXlsxTo: writeXlsxTo
|
|
|
5022
5097
|
return _exports;
|
|
5023
5098
|
})();
|
|
5024
5099
|
|
|
5025
|
-
const
|
|
5100
|
+
const _m49 = (() => {
|
|
5026
5101
|
const { assertGroupedReportSource } = _m8;
|
|
5027
5102
|
|
|
5028
5103
|
const { captureFields } = _m10;
|
|
@@ -5031,11 +5106,11 @@ const { OfficeIMOError } = _m2;
|
|
|
5031
5106
|
|
|
5032
5107
|
const { fields } = _m26;
|
|
5033
5108
|
|
|
5034
|
-
const { sheetOptionFields } =
|
|
5109
|
+
const { sheetOptionFields } = _m43;
|
|
5035
5110
|
|
|
5036
|
-
const { portableSheet } =
|
|
5111
|
+
const { portableSheet } = _m47;
|
|
5037
5112
|
|
|
5038
|
-
const { resolveDataColumn } =
|
|
5113
|
+
const { resolveDataColumn } = _m38;
|
|
5039
5114
|
|
|
5040
5115
|
const { copyStylePatch } = _m24;
|
|
5041
5116
|
|
|
@@ -5114,7 +5189,7 @@ const _exports = Object.freeze({ groupedOptionFields: groupedOptionFields, prepa
|
|
|
5114
5189
|
return _exports;
|
|
5115
5190
|
})();
|
|
5116
5191
|
|
|
5117
|
-
const
|
|
5192
|
+
const _m48 = (() => {
|
|
5118
5193
|
const { groupedReportOperation } = _m8;
|
|
5119
5194
|
|
|
5120
5195
|
const { checkAbort, withAbort } = _m4;
|
|
@@ -5129,11 +5204,11 @@ const { FormulaCell } = _m28;
|
|
|
5129
5204
|
|
|
5130
5205
|
const { columnName } = _m27;
|
|
5131
5206
|
|
|
5132
|
-
const { captureWorkbookLimits, workbookOptionFields } =
|
|
5207
|
+
const { captureWorkbookLimits, workbookOptionFields } = _m43;
|
|
5133
5208
|
|
|
5134
|
-
const { retainDataRowRanges } =
|
|
5209
|
+
const { retainDataRowRanges } = _m39;
|
|
5135
5210
|
|
|
5136
|
-
const { groupedOptionFields, prepareGroupedSheet } =
|
|
5211
|
+
const { groupedOptionFields, prepareGroupedSheet } = _m49;
|
|
5137
5212
|
|
|
5138
5213
|
const subtotalOperations = { average: 1, count: 2, max: 4, min: 5, sum: 9 };
|
|
5139
5214
|
function label(value) {
|
|
@@ -5292,12 +5367,12 @@ return _exports;
|
|
|
5292
5367
|
|
|
5293
5368
|
const _m21 = (() => {
|
|
5294
5369
|
|
|
5295
|
-
const _exports = Object.freeze({ Workbook: _m22.Workbook, writeXlsx:
|
|
5370
|
+
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 });
|
|
5296
5371
|
return _exports;
|
|
5297
5372
|
})();
|
|
5298
5373
|
|
|
5299
|
-
const
|
|
5300
|
-
const { captureTableSpans, tableSpans } =
|
|
5374
|
+
const _m51 = (() => {
|
|
5375
|
+
const { captureTableSpans, tableSpans } = _m30;
|
|
5301
5376
|
|
|
5302
5377
|
/** Snapshot small report matrices; flattening is an explicit format decision, never inferred from labels. */
|
|
5303
5378
|
function csvStructuredRows(rows, columns, mode) {
|
|
@@ -5317,7 +5392,7 @@ const _exports = Object.freeze({ csvStructuredRows: csvStructuredRows });
|
|
|
5317
5392
|
return _exports;
|
|
5318
5393
|
})();
|
|
5319
5394
|
|
|
5320
|
-
const
|
|
5395
|
+
const _m52 = (() => {
|
|
5321
5396
|
/** Compatibility display policy; hosts can supply labels without changing typed source values. */
|
|
5322
5397
|
const defaultBooleanText = Object.freeze({ true: "True", false: "False" });
|
|
5323
5398
|
/** @internal Capture display policy once, before source iteration or asynchronous output. */
|
|
@@ -5335,7 +5410,7 @@ const _exports = Object.freeze({ defaultBooleanText: defaultBooleanText, capture
|
|
|
5335
5410
|
return _exports;
|
|
5336
5411
|
})();
|
|
5337
5412
|
|
|
5338
|
-
const
|
|
5413
|
+
const _m53 = (() => {
|
|
5339
5414
|
const { captureFields } = _m10;
|
|
5340
5415
|
|
|
5341
5416
|
/** @internal Share the format's capture policy with thin adapters before they compose options. */
|
|
@@ -5349,7 +5424,7 @@ const _exports = Object.freeze({ captureCsvOptions: captureCsvOptions });
|
|
|
5349
5424
|
return _exports;
|
|
5350
5425
|
})();
|
|
5351
5426
|
|
|
5352
|
-
const
|
|
5427
|
+
const _m50 = (() => {
|
|
5353
5428
|
const { beginTask, checkAbort, consumeRows, taskYieldDue, withAbort } = _m4;
|
|
5354
5429
|
|
|
5355
5430
|
const { BlobByteSink, ChunkedTextSink, withDestination } = _m3;
|
|
@@ -5364,11 +5439,11 @@ const { notifyProgress } = _m23;
|
|
|
5364
5439
|
|
|
5365
5440
|
const { copyColumns, createRowProjector } = _m11;
|
|
5366
5441
|
|
|
5367
|
-
const { csvStructuredRows } =
|
|
5442
|
+
const { csvStructuredRows } = _m51;
|
|
5368
5443
|
|
|
5369
|
-
const { captureBooleanText } =
|
|
5444
|
+
const { captureBooleanText } = _m52;
|
|
5370
5445
|
|
|
5371
|
-
const { captureCsvOptions } =
|
|
5446
|
+
const { captureCsvOptions } = _m53;
|
|
5372
5447
|
|
|
5373
5448
|
|
|
5374
5449
|
|
|
@@ -5502,7 +5577,7 @@ const _exports = Object.freeze({ saveBlob: _m1.saveBlob, ExportCell: _m5.ExportC
|
|
|
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,24 +5684,24 @@ 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;
|
|
5616
5691
|
|
|
5617
5692
|
const { copyColumns } = _m11;
|
|
5618
5693
|
|
|
5619
|
-
const { captureTableSpans } =
|
|
5694
|
+
const { captureTableSpans } = _m30;
|
|
5620
5695
|
|
|
5621
5696
|
const { copyExportValue } = _m13;
|
|
5622
5697
|
|
|
5623
5698
|
const { captureFields } = _m10;
|
|
5624
5699
|
|
|
5625
|
-
const { captureParagraphStyles } =
|
|
5700
|
+
const { captureParagraphStyles } = _m57;
|
|
5626
5701
|
|
|
5627
|
-
const { captureBooleanText } =
|
|
5702
|
+
const { captureBooleanText } = _m52;
|
|
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;
|
|
@@ -7373,7 +7448,7 @@ const { checkAbort, pause, taskYieldDue } = _m4;
|
|
|
7373
7448
|
|
|
7374
7449
|
const { isDate } = _m6;
|
|
7375
7450
|
|
|
7376
|
-
const { defaultBooleanText } =
|
|
7451
|
+
const { defaultBooleanText } = _m52;
|
|
7377
7452
|
|
|
7378
7453
|
/** @internal Charge displayed characters: tabs paint four spaces, while CR/LF only separate lines.
|
|
7379
7454
|
* Raw text remains authoritative for input limits and layout. Skip normalization when no text ceiling observes it. */
|
|
@@ -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,22 +8055,22 @@ 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;
|
|
7987
8062
|
|
|
7988
|
-
const { tableSpans } =
|
|
8063
|
+
const { tableSpans } = _m30;
|
|
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 } = _m23;
|
|
|
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,15 +11525,15 @@ 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
11534
|
const _m0 = (() => {
|
|
11460
11535
|
|
|
11461
|
-
const _exports = Object.freeze({ core: _m1, zip: _m14, xml: _m17, opc: _m18, xlsx: _m21, csv:
|
|
11536
|
+
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 });
|
|
11462
11537
|
return _exports;
|
|
11463
11538
|
})();
|
|
11464
11539
|
const { core, zip, xml, opc, xlsx, csv, pdf, Workbook, Worksheet, Cell, FormulaCell, StyleRegistry, NumberFormats, writeXlsx, writeXlsxTo, writeCsv, writeCsvTo, createGroupedReport, writeGroupedXlsx, writeGroupedXlsxTo, addGroupedXlsx, writeGroupedPdf, writeGroupedPdfTo, pdfGroupedTable, writePdf, writePdfTo, writePdfDocument, writePdfDocumentTo, pdfTable, PdfFont, preflightPdfText, OfficeIMOError, NotSupportedError, detectFeatures, saveBlob, ExportCell } = _m0;
|