@evotecit/officeimo 0.1.21 → 0.1.43
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 +39 -8
- package/bundles/officeimo-canopyx-adapter.js +56 -36
- package/bundles/officeimo-canopyx-adapter.min.js +1 -1
- package/bundles/officeimo-canopyx-adapter.min.mjs +1 -1
- package/bundles/officeimo-canopyx-adapter.mjs +42 -22
- package/bundles/officeimo-canopyx.js +420 -177
- package/bundles/officeimo-canopyx.min.js +1 -1
- package/bundles/officeimo-canopyx.min.mjs +1 -1
- package/bundles/officeimo-canopyx.mjs +346 -103
- package/bundles/officeimo-chartforgex-adapter.js +1924 -0
- package/bundles/officeimo-chartforgex-adapter.min.js +2 -0
- package/bundles/officeimo-chartforgex-adapter.min.mjs +2 -0
- package/bundles/officeimo-chartforgex-adapter.mjs +1910 -0
- package/bundles/officeimo-chartforgex.js +13594 -0
- package/bundles/officeimo-chartforgex.min.js +2 -0
- package/bundles/officeimo-chartforgex.min.mjs +2 -0
- package/bundles/officeimo-chartforgex.mjs +13487 -0
- package/bundles/officeimo-csv.js +12 -7
- package/bundles/officeimo-csv.min.js +1 -1
- package/bundles/officeimo-csv.min.mjs +1 -1
- package/bundles/officeimo-csv.mjs +8 -3
- package/bundles/officeimo-datatables-adapter.js +11 -11
- package/bundles/officeimo-datatables-adapter.min.js +1 -1
- package/bundles/officeimo-datatables-adapter.min.mjs +1 -1
- package/bundles/officeimo-datatables-adapter.mjs +7 -7
- package/bundles/officeimo-datatables.js +375 -152
- package/bundles/officeimo-datatables.min.js +1 -1
- package/bundles/officeimo-datatables.min.mjs +1 -1
- package/bundles/officeimo-datatables.mjs +311 -88
- package/bundles/officeimo-execution.js +14 -9
- package/bundles/officeimo-execution.min.js +1 -1
- package/bundles/officeimo-execution.min.mjs +1 -1
- package/bundles/officeimo-execution.mjs +8 -3
- package/bundles/officeimo-pdf.js +286 -120
- package/bundles/officeimo-pdf.min.js +1 -1
- package/bundles/officeimo-pdf.min.mjs +1 -1
- package/bundles/officeimo-pdf.mjs +244 -78
- package/bundles/officeimo-xlsx.js +93 -31
- package/bundles/officeimo-xlsx.min.js +1 -1
- package/bundles/officeimo-xlsx.min.mjs +1 -1
- package/bundles/officeimo-xlsx.mjs +75 -13
- package/bundles/officeimo.js +373 -150
- package/bundles/officeimo.min.js +1 -1
- package/bundles/officeimo.min.mjs +1 -1
- package/bundles/officeimo.mjs +312 -89
- package/dist/core/progress.js +7 -2
- package/dist/index.d.ts +1 -1
- package/dist/integrations/canopyx/index.js +9 -2
- package/dist/integrations/canopyx/source.js +26 -13
- package/dist/integrations/chartforgex/capture.d.ts +31 -0
- package/dist/integrations/chartforgex/capture.js +103 -0
- package/dist/integrations/chartforgex/index.d.ts +13 -0
- package/dist/integrations/chartforgex/index.js +88 -0
- package/dist/integrations/chartforgex/svg-drawing.d.ts +5 -0
- package/dist/integrations/chartforgex/svg-drawing.js +775 -0
- package/dist/integrations/chartforgex/svg-geometry.d.ts +23 -0
- package/dist/integrations/chartforgex/svg-geometry.js +304 -0
- package/dist/integrations/chartforgex/svg-image.d.ts +9 -0
- package/dist/integrations/chartforgex/svg-image.js +46 -0
- package/dist/integrations/chartforgex/svg-markup.d.ts +10 -0
- package/dist/integrations/chartforgex/svg-markup.js +124 -0
- package/dist/integrations/chartforgex/svg-paint.d.ts +16 -0
- package/dist/integrations/chartforgex/svg-paint.js +146 -0
- package/dist/integrations/chartforgex/types.d.ts +77 -0
- package/dist/integrations/chartforgex/types.js +1 -0
- package/dist/integrations/chartforgex/winansi.d.ts +4 -0
- package/dist/integrations/chartforgex/winansi.js +48 -0
- package/dist/integrations/chartforgex/workbook.d.ts +12 -0
- package/dist/integrations/chartforgex/workbook.js +137 -0
- package/dist/pdf/document-drawings.d.ts +1 -1
- package/dist/pdf/document-drawings.js +91 -17
- package/dist/pdf/document-images.d.ts +7 -1
- package/dist/pdf/document-images.js +59 -24
- package/dist/pdf/document-types.d.ts +3 -1
- package/dist/pdf/document.d.ts +2 -2
- package/dist/pdf/document.js +3 -1
- package/dist/pdf/drawing-types.d.ts +37 -10
- package/dist/pdf/font-resources.d.ts +1 -1
- package/dist/pdf/font-resources.js +6 -3
- package/dist/pdf/index.d.ts +1 -1
- package/dist/pdf/pages.js +15 -0
- package/dist/pdf/png.d.ts +11 -2
- package/dist/pdf/png.js +50 -23
- package/dist/pdf/session.js +3 -2
- package/dist/pdf/settings.d.ts +2 -2
- package/dist/pdf/settings.js +7 -3
- package/dist/xlsx/options.js +1 -1
- package/dist/xlsx/types.d.ts +8 -0
- package/dist/xlsx/workbook.js +6 -0
- package/dist/xlsx/worksheet.d.ts +13 -1
- package/dist/xlsx/worksheet.js +60 -9
- package/package.json +9 -2
|
@@ -197,19 +197,24 @@ _modules.set("d5c945064d81fdd257960f48c421125e106e5f270427d170bb05587dd96a44ea",
|
|
|
197
197
|
return _exports;
|
|
198
198
|
})();
|
|
199
199
|
|
|
200
|
-
const _m4 = _modules.get("
|
|
200
|
+
const _m4 = _modules.get("4eea31c4336d3c43bc743739843a3ef31803d8f0ed553f5645ee9de2554eb244") ?? (() => {
|
|
201
201
|
/** @internal Notify synchronously; observe an accidental promise before rejecting its unsupported use. */
|
|
202
202
|
function notifyProgress(callback, progress) {
|
|
203
|
+
notifySynchronously("onProgress", callback, progress);
|
|
204
|
+
}
|
|
205
|
+
/** @internal Run a host notification that must finish before the export continues. A returned promise is observed,
|
|
206
|
+
* so its rejection is never unhandled, and the export fails instead of reporting success before the callback ends. */
|
|
207
|
+
function notifySynchronously(name, callback, value) {
|
|
203
208
|
if (!callback)
|
|
204
209
|
return;
|
|
205
|
-
const result = callback(
|
|
210
|
+
const result = callback(value);
|
|
206
211
|
if (result && typeof result.then === "function") {
|
|
207
212
|
void Promise.resolve(result).catch(() => { });
|
|
208
|
-
throw new TypeError("
|
|
213
|
+
throw new TypeError(name + " must be synchronous.");
|
|
209
214
|
}
|
|
210
215
|
}
|
|
211
|
-
const _exports = Object.freeze({ notifyProgress: notifyProgress });
|
|
212
|
-
_modules.set("
|
|
216
|
+
const _exports = Object.freeze({ notifyProgress: notifyProgress, notifySynchronously: notifySynchronously });
|
|
217
|
+
_modules.set("4eea31c4336d3c43bc743739843a3ef31803d8f0ed553f5645ee9de2554eb244", _exports);
|
|
213
218
|
return _exports;
|
|
214
219
|
})();
|
|
215
220
|
|
|
@@ -3070,14 +3075,14 @@ _modules.set("13fa96d976e4dec7343dd3a392829567f1fcb574324a98f5a5d3a61c9a0dc27d",
|
|
|
3070
3075
|
return _exports;
|
|
3071
3076
|
})();
|
|
3072
3077
|
|
|
3073
|
-
const _m27 = _modules.get("
|
|
3078
|
+
const _m27 = _modules.get("d5957683aa1945575924c89c63b427878e6e6e47ef5c229dc524b1879d146499") ?? (() => {
|
|
3074
3079
|
const { checkAbort, consumeRows, inputRows, pause, taskYieldDue } = _m2;
|
|
3075
3080
|
|
|
3076
3081
|
const { ChunkedTextSink, BlobByteSink } = _m5;
|
|
3077
3082
|
|
|
3078
3083
|
const { OfficeIMOError } = _m3;
|
|
3079
3084
|
|
|
3080
|
-
const { notifyProgress } = _m4;
|
|
3085
|
+
const { notifyProgress, notifySynchronously } = _m4;
|
|
3081
3086
|
|
|
3082
3087
|
const { copyColumns, createRowProjector } = _m24;
|
|
3083
3088
|
|
|
@@ -3149,8 +3154,14 @@ class Worksheet {
|
|
|
3149
3154
|
pendingCharacters = 0;
|
|
3150
3155
|
reservedLayout = false;
|
|
3151
3156
|
internalLinks = [];
|
|
3157
|
+
// Evicted entries become holes and are compacted in one pass when the links are read, keeping eviction O(1).
|
|
3152
3158
|
links = [];
|
|
3159
|
+
evictedLinks = 0;
|
|
3153
3160
|
linkedCells = new Set();
|
|
3161
|
+
/** Indexes in `links` of data-cell links that `hyperlinkOverflow: "drop"` may give up, in row order. */
|
|
3162
|
+
droppable = [];
|
|
3163
|
+
droppableLinks = new WeakSet();
|
|
3164
|
+
droppedLinks = 0;
|
|
3154
3165
|
pictures = [];
|
|
3155
3166
|
nativeCharts = [];
|
|
3156
3167
|
conditional;
|
|
@@ -3362,7 +3373,8 @@ class Worksheet {
|
|
|
3362
3373
|
const cell = col.letter + row;
|
|
3363
3374
|
if (link || this.linkedCells.has(cell))
|
|
3364
3375
|
throw new TypeError("A text-preservation cell cannot also have an external hyperlink.");
|
|
3365
|
-
|
|
3376
|
+
this.makeLinkRoom();
|
|
3377
|
+
checkHyperlinkCount(this.linkCount + 1);
|
|
3366
3378
|
this.book.checkLinks(1);
|
|
3367
3379
|
// Replace a generated cell's original reservation with its preview and overflow records.
|
|
3368
3380
|
if (reservedCharacters !== undefined) {
|
|
@@ -3376,7 +3388,7 @@ class Worksheet {
|
|
|
3376
3388
|
value = preserved.preview;
|
|
3377
3389
|
}
|
|
3378
3390
|
if (link)
|
|
3379
|
-
this.appendHyperlink({ cell: col.letter + row, ...link });
|
|
3391
|
+
this.appendHyperlink({ cell: col.letter + row, ...link }, !header && !footer && !title && this.book.settings.hyperlinkOverflow === "drop");
|
|
3380
3392
|
if (type === "date")
|
|
3381
3393
|
value = excelDate(value, this.book.settings.dateMode);
|
|
3382
3394
|
if (!header && !footer && visible && (!formula || !isSubtotalFormula(formula)))
|
|
@@ -3685,20 +3697,61 @@ class Worksheet {
|
|
|
3685
3697
|
throw this.error;
|
|
3686
3698
|
this.appendHyperlink(link);
|
|
3687
3699
|
}
|
|
3688
|
-
appendHyperlink(link) {
|
|
3700
|
+
appendHyperlink(link, droppable = false) {
|
|
3701
|
+
// Validate before any overflow decision, so a dropped link can never hide an unsafe target.
|
|
3689
3702
|
const copied = copyHyperlink(link, this.book.settings.invalidCharacterPolicy);
|
|
3690
3703
|
const position = cellPosition(copied.cell);
|
|
3691
3704
|
if (this.layout.regions.covered(position.column, position.row))
|
|
3692
3705
|
throw new TypeError("Hyperlinks cannot address a covered merged cell.");
|
|
3693
3706
|
if (this.linkedCells.has(copied.cell))
|
|
3694
3707
|
throw new TypeError("Duplicate hyperlink cell: " + copied.cell);
|
|
3695
|
-
|
|
3708
|
+
if (droppable && this.linkCount >= maximumHyperlinks) {
|
|
3709
|
+
this.droppedLinks++;
|
|
3710
|
+
return;
|
|
3711
|
+
}
|
|
3712
|
+
if (!droppable)
|
|
3713
|
+
this.makeLinkRoom();
|
|
3714
|
+
checkHyperlinkCount(this.linkCount + 1);
|
|
3696
3715
|
this.book.retainLink();
|
|
3716
|
+
if (droppable) {
|
|
3717
|
+
this.droppable.push(this.links.length);
|
|
3718
|
+
this.droppableLinks.add(copied);
|
|
3719
|
+
}
|
|
3697
3720
|
this.links.push(copied);
|
|
3698
3721
|
this.linkedCells.add(copied.cell);
|
|
3699
3722
|
}
|
|
3723
|
+
/** Links the worksheet holds now, not counting evicted holes. */
|
|
3724
|
+
get linkCount() { return this.links.length - this.evictedLinks + this.internalLinks.length; }
|
|
3725
|
+
/** A full worksheet gives up its latest data-cell link for a link that cannot be dropped. Hyperlinks are serialized after
|
|
3726
|
+
* the rows, so the cell keeps its written value. The entry becomes a hole, so other indexes stay valid until compaction. */
|
|
3727
|
+
makeLinkRoom() {
|
|
3728
|
+
if (this.linkCount < maximumHyperlinks || !this.droppable.length)
|
|
3729
|
+
return;
|
|
3730
|
+
const index = this.droppable.pop(), removed = this.links[index];
|
|
3731
|
+
this.links[index] = undefined;
|
|
3732
|
+
this.evictedLinks++;
|
|
3733
|
+
this.linkedCells.delete(removed.cell);
|
|
3734
|
+
this.book.releaseLink();
|
|
3735
|
+
this.droppedLinks++;
|
|
3736
|
+
}
|
|
3737
|
+
/** One ordered pass removes evicted holes and rebuilds the droppable indexes. */
|
|
3738
|
+
compactLinks() {
|
|
3739
|
+
if (this.evictedLinks) {
|
|
3740
|
+
const kept = [], droppable = [];
|
|
3741
|
+
for (const link of this.links)
|
|
3742
|
+
if (link) {
|
|
3743
|
+
if (this.droppableLinks.has(link))
|
|
3744
|
+
droppable.push(kept.length);
|
|
3745
|
+
kept.push(link);
|
|
3746
|
+
}
|
|
3747
|
+
this.links = kept;
|
|
3748
|
+
this.droppable = droppable;
|
|
3749
|
+
this.evictedLinks = 0;
|
|
3750
|
+
}
|
|
3751
|
+
return this.links;
|
|
3752
|
+
}
|
|
3700
3753
|
/** @internal */
|
|
3701
|
-
get hyperlinks() { return this.
|
|
3754
|
+
get hyperlinks() { return this.compactLinks(); }
|
|
3702
3755
|
/** @internal */
|
|
3703
3756
|
get images() { return this.pictures; }
|
|
3704
3757
|
/** @internal An empty export has no data table; it still emits the declared headers. */
|
|
@@ -3749,7 +3802,7 @@ class Worksheet {
|
|
|
3749
3802
|
for (const binding of this.chartSources)
|
|
3750
3803
|
binding.finish();
|
|
3751
3804
|
this.chartSources.length = 0;
|
|
3752
|
-
for (const link of this.
|
|
3805
|
+
for (const link of this.compactLinks()) {
|
|
3753
3806
|
const position = cellPosition(link.cell);
|
|
3754
3807
|
if (position.column > this.columns.length || position.row > this.totalRows)
|
|
3755
3808
|
throw new RangeError("Hyperlinks must address cells within the exported rows and columns.");
|
|
@@ -3779,8 +3832,11 @@ class Worksheet {
|
|
|
3779
3832
|
await this.buffer.write(xml);
|
|
3780
3833
|
for (const xml of dataValidationsXml(this.validations, this.headerRows, this.count, detailRanges))
|
|
3781
3834
|
await this.buffer.write(xml);
|
|
3782
|
-
if (this.
|
|
3783
|
-
|
|
3835
|
+
if (this.droppedLinks)
|
|
3836
|
+
notifySynchronously("onHyperlinkOverflow", this.book.settings.onHyperlinkOverflow, Object.freeze({ sheetName: this.name, dropped: this.droppedLinks }));
|
|
3837
|
+
const links = this.compactLinks();
|
|
3838
|
+
if (links.length || this.internalLinks.length)
|
|
3839
|
+
await this.buffer.write(hyperlinksXml(links, this.book.settings.invalidCharacterPolicy, this.internalLinks));
|
|
3784
3840
|
await this.buffer.write(printXml(this.options.print, this.book.settings.invalidCharacterPolicy));
|
|
3785
3841
|
if (this.pictures.length || this.nativeCharts.length)
|
|
3786
3842
|
await this.buffer.write('<drawing r:id="drawing"/>');
|
|
@@ -3805,7 +3861,7 @@ class Worksheet {
|
|
|
3805
3861
|
async discard(error) { this.failed = true; this.error = error; this.pending = []; this.pendingCharacters = 0; this.prepared = undefined; this.buffer = undefined; this.nativeCharts.length = 0; this.chartSources.length = 0; this.output.discard(); await this.entry?.discard(error); }
|
|
3806
3862
|
}
|
|
3807
3863
|
const _exports = Object.freeze({ Worksheet: Worksheet });
|
|
3808
|
-
_modules.set("
|
|
3864
|
+
_modules.set("d5957683aa1945575924c89c63b427878e6e6e47ef5c229dc524b1879d146499", _exports);
|
|
3809
3865
|
return _exports;
|
|
3810
3866
|
})();
|
|
3811
3867
|
|
|
@@ -3924,11 +3980,11 @@ _modules.set("0c395783b9d7cc62dd39a21adeb698ad4a61e2c89f7b1fc8712e2eb2ccfe9d92",
|
|
|
3924
3980
|
return _exports;
|
|
3925
3981
|
})();
|
|
3926
3982
|
|
|
3927
|
-
const _m40 = _modules.get("
|
|
3983
|
+
const _m40 = _modules.get("fd70ccda89f27c6b874c8840ac944b3ec723dbdef3dfe7600f7bdb81f4660c96") ?? (() => {
|
|
3928
3984
|
const { captureFields } = _m7;
|
|
3929
3985
|
|
|
3930
3986
|
/** @internal The workbook owner captures these settings before validation or adapter merging. */
|
|
3931
|
-
const workbookOptionFields = ["signal", "onProgress", "limits", "sink", "dateMode", "compression", "invalidCharacterPolicy", "appProperties", "cellValueWriters", "oversizedText", "creator", "title", "subject", "description", "created", "modified"];
|
|
3987
|
+
const workbookOptionFields = ["signal", "onProgress", "limits", "sink", "dateMode", "compression", "invalidCharacterPolicy", "appProperties", "cellValueWriters", "oversizedText", "hyperlinkOverflow", "onHyperlinkOverflow", "creator", "title", "subject", "description", "created", "modified"];
|
|
3932
3988
|
/** @internal Worksheet settings also used by the portable sheet owner. */
|
|
3933
3989
|
const sheetOptionFields = ["columns", "includeHeader", "headerRows", "freezeHeader", "autoFilter", "boldHeader", "headerFill", "headerBorder", "headerWrap", "headerStyle", "alternatingRowStyle", "rowStyle", "cellStyle", "rowOutline", "maxOutlineLevel", "outlineSummaryBelow", "outlineSummaryRight", "columnOutlines", "rowHeight", "headerHeight", "defaultColumnWidth", "freezeColumns", "table", "autoSize", "footer", "print", "title", "mergedCells", "hyperlinks", "conditionalFormats", "dataValidation"];
|
|
3934
3990
|
/** @internal Includes inherited format-specific ceilings before a wrapper combines stream settings. */
|
|
@@ -3943,7 +3999,7 @@ function captureWorkbookOptions(options) {
|
|
|
3943
3999
|
return { ...captured, ...(captured.limits === undefined ? {} : { limits: captureWorkbookLimits(captured.limits) }) };
|
|
3944
4000
|
}
|
|
3945
4001
|
const _exports = Object.freeze({ workbookOptionFields: workbookOptionFields, sheetOptionFields: sheetOptionFields, workbookLimitFields: workbookLimitFields, captureWorkbookLimits: captureWorkbookLimits, captureWorkbookOptions: captureWorkbookOptions });
|
|
3946
|
-
_modules.set("
|
|
4002
|
+
_modules.set("fd70ccda89f27c6b874c8840ac944b3ec723dbdef3dfe7600f7bdb81f4660c96", _exports);
|
|
3947
4003
|
return _exports;
|
|
3948
4004
|
})();
|
|
3949
4005
|
|
|
@@ -4250,7 +4306,7 @@ _modules.set("24f1417c3c320a8a41137c28f70b72091256c63010be0c88b684dce85f54950c",
|
|
|
4250
4306
|
return _exports;
|
|
4251
4307
|
})();
|
|
4252
4308
|
|
|
4253
|
-
const _m1 = _modules.get("
|
|
4309
|
+
const _m1 = _modules.get("a34a46ed9564c388d5f3ca087c70819f8aa897e469ca50f8547233c264a8e8af") ?? (() => {
|
|
4254
4310
|
const { beginTask, checkAbort, pause, taskYieldDue } = _m2;
|
|
4255
4311
|
|
|
4256
4312
|
const { OfficeIMOError } = _m3;
|
|
@@ -4383,6 +4439,10 @@ class Workbook {
|
|
|
4383
4439
|
throw new RangeError("compression must be auto or store.");
|
|
4384
4440
|
if (options.oversizedText !== undefined && !["reject", "preserve"].includes(options.oversizedText))
|
|
4385
4441
|
throw new RangeError("oversizedText must be reject or preserve.");
|
|
4442
|
+
if (options.hyperlinkOverflow !== undefined && !["reject", "drop"].includes(options.hyperlinkOverflow))
|
|
4443
|
+
throw new RangeError("hyperlinkOverflow must be reject or drop.");
|
|
4444
|
+
if (options.onHyperlinkOverflow !== undefined && typeof options.onHyperlinkOverflow !== "function")
|
|
4445
|
+
throw new TypeError("onHyperlinkOverflow must be a function.");
|
|
4386
4446
|
cleanXml("", policy);
|
|
4387
4447
|
corePropertiesXml(options, policy);
|
|
4388
4448
|
this.budget = new ExportBudget(options.limits);
|
|
@@ -4460,6 +4520,8 @@ class Workbook {
|
|
|
4460
4520
|
}
|
|
4461
4521
|
/** @internal Reserve a preflighted worksheet batch or one row hyperlink. */
|
|
4462
4522
|
retainLink(count = 1) { this.checkLinks(count); this.links += count; }
|
|
4523
|
+
/** @internal A worksheet dropped a data-cell link it had retained. */
|
|
4524
|
+
releaseLink() { this.links--; }
|
|
4463
4525
|
/** @internal */
|
|
4464
4526
|
checkImage(bytes) {
|
|
4465
4527
|
if (this.settings.limits?.maxImageBytes !== undefined && this.imageBytes + bytes > this.settings.limits.maxImageBytes)
|
|
@@ -4733,11 +4795,11 @@ class Workbook {
|
|
|
4733
4795
|
}
|
|
4734
4796
|
}
|
|
4735
4797
|
const _exports = Object.freeze({ Workbook: Workbook });
|
|
4736
|
-
_modules.set("
|
|
4798
|
+
_modules.set("a34a46ed9564c388d5f3ca087c70819f8aa897e469ca50f8547233c264a8e8af", _exports);
|
|
4737
4799
|
return _exports;
|
|
4738
4800
|
})();
|
|
4739
4801
|
|
|
4740
|
-
const _m44 = _modules.get("
|
|
4802
|
+
const _m44 = _modules.get("d6884428c3e4d15a691ecf2523372a03b32de22a890edfbfc9961f2dc92711c2") ?? (() => {
|
|
4741
4803
|
const { ExportCell, assertScalar } = _m20;
|
|
4742
4804
|
|
|
4743
4805
|
const { captureWorkbookOptions, sheetOptionFields } = _m40;
|
|
@@ -4786,11 +4848,11 @@ function portableWorkbook(options = {}) {
|
|
|
4786
4848
|
return { ...options, cellValueWriters: wrapped };
|
|
4787
4849
|
}
|
|
4788
4850
|
const _exports = Object.freeze({ portableSheet: portableSheet, portableWorkbook: portableWorkbook });
|
|
4789
|
-
_modules.set("
|
|
4851
|
+
_modules.set("d6884428c3e4d15a691ecf2523372a03b32de22a890edfbfc9961f2dc92711c2", _exports);
|
|
4790
4852
|
return _exports;
|
|
4791
4853
|
})();
|
|
4792
4854
|
|
|
4793
|
-
const _m43 = _modules.get("
|
|
4855
|
+
const _m43 = _modules.get("b9b1793c41e466048fe823422088a6fcc1fd8393c67293df3f0cd83a5d5ec7e1") ?? (() => {
|
|
4794
4856
|
const { withDestination } = _m5;
|
|
4795
4857
|
|
|
4796
4858
|
const { copyColumns } = _m24;
|
|
@@ -4845,7 +4907,7 @@ async function writeXlsxTo(rows, destination, configuration) {
|
|
|
4845
4907
|
});
|
|
4846
4908
|
}
|
|
4847
4909
|
const _exports = Object.freeze({ writeXlsx: writeXlsx, writeXlsxTo: writeXlsxTo });
|
|
4848
|
-
_modules.set("
|
|
4910
|
+
_modules.set("b9b1793c41e466048fe823422088a6fcc1fd8393c67293df3f0cd83a5d5ec7e1", _exports);
|
|
4849
4911
|
return _exports;
|
|
4850
4912
|
})();
|
|
4851
4913
|
|
|
@@ -5115,7 +5177,7 @@ _modules.set("046b305cdccf817d847addb75a778131622de23f2840830bbe1c0c26053a68c0",
|
|
|
5115
5177
|
return _exports;
|
|
5116
5178
|
})();
|
|
5117
5179
|
|
|
5118
|
-
const _m47 = _modules.get("
|
|
5180
|
+
const _m47 = _modules.get("ba0e1f29c8de5d46b966b7b097260529e42b80f662e92a7f9e8add22df747a50") ?? (() => {
|
|
5119
5181
|
const { assertGroupedReportSource } = _m46;
|
|
5120
5182
|
|
|
5121
5183
|
const { captureFields } = _m7;
|
|
@@ -5204,11 +5266,11 @@ function prepareGroupedSheet(report, configuration, maxConditionalFormats = 1000
|
|
|
5204
5266
|
...(options.grandTotalStyle ? { grandTotalStyle: copyStylePatch(options.grandTotalStyle) } : {}) };
|
|
5205
5267
|
}
|
|
5206
5268
|
const _exports = Object.freeze({ groupedOptionFields: groupedOptionFields, prepareGroupedSheet: prepareGroupedSheet });
|
|
5207
|
-
_modules.set("
|
|
5269
|
+
_modules.set("ba0e1f29c8de5d46b966b7b097260529e42b80f662e92a7f9e8add22df747a50", _exports);
|
|
5208
5270
|
return _exports;
|
|
5209
5271
|
})();
|
|
5210
5272
|
|
|
5211
|
-
const _m45 = _modules.get("
|
|
5273
|
+
const _m45 = _modules.get("d7cfa6a7b1be9758925a4ccb860a80a33eb0de2c88c80cc55e438213595f2b71") ?? (() => {
|
|
5212
5274
|
const { groupedReportOperation } = _m46;
|
|
5213
5275
|
|
|
5214
5276
|
const { checkAbort, withAbort } = _m2;
|
|
@@ -5381,7 +5443,7 @@ async function writeGroupedXlsxTo(report, destination, options) {
|
|
|
5381
5443
|
return withDestination(destination, async (sink) => (await write(report, prepared, sink)).result);
|
|
5382
5444
|
}
|
|
5383
5445
|
const _exports = Object.freeze({ addGroupedXlsx: addGroupedXlsx, writeGroupedXlsx: writeGroupedXlsx, writeGroupedXlsxTo: writeGroupedXlsxTo });
|
|
5384
|
-
_modules.set("
|
|
5446
|
+
_modules.set("d7cfa6a7b1be9758925a4ccb860a80a33eb0de2c88c80cc55e438213595f2b71", _exports);
|
|
5385
5447
|
return _exports;
|
|
5386
5448
|
})();
|
|
5387
5449
|
|
|
@@ -5434,10 +5496,10 @@ _modules.set("81b3d47c02b7d8443b79e02b3cfb52032d6b73d9a3fb592b777ebe028ad0ef00",
|
|
|
5434
5496
|
return _exports;
|
|
5435
5497
|
})();
|
|
5436
5498
|
|
|
5437
|
-
const _m0 = _modules.get("
|
|
5499
|
+
const _m0 = _modules.get("edf1bf5cb6d749de0e6823397df6610a6c1cc88768898c1b4d7083ee96ef6759") ?? (() => {
|
|
5438
5500
|
|
|
5439
5501
|
const _exports = Object.freeze({ Workbook: _m1.Workbook, writeXlsx: _m43.writeXlsx, writeXlsxTo: _m43.writeXlsxTo, writeGroupedXlsx: _m45.writeGroupedXlsx, writeGroupedXlsxTo: _m45.writeGroupedXlsxTo, addGroupedXlsx: _m45.addGroupedXlsx, createGroupedReport: _m46.createGroupedReport, Worksheet: _m27.Worksheet, Cell: _m19.Cell, FormulaCell: _m22.FormulaCell, StyleRegistry: _m16.StyleRegistry, NumberFormats: _m16.NumberFormats, saveBlob: _m48.saveBlob, ExportCell: _m20.ExportCell });
|
|
5440
|
-
_modules.set("
|
|
5502
|
+
_modules.set("edf1bf5cb6d749de0e6823397df6610a6c1cc88768898c1b4d7083ee96ef6759", _exports);
|
|
5441
5503
|
return _exports;
|
|
5442
5504
|
})();
|
|
5443
5505
|
Object.assign(officeimo, _m0, { core: _m48, zip: _m13, xml: _m11, opc: _m8, xlsx: _m0 });
|