@office-open/xlsx 0.10.14 → 0.10.15
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/dist/{comments-Bvfeh76o.mjs → comments-CUChd469.mjs} +38 -6
- package/dist/comments-CUChd469.mjs.map +1 -0
- package/dist/{context-CSCfAIfV.mjs → context-eqnGd7of.mjs} +4 -4
- package/dist/{context-CSCfAIfV.mjs.map → context-eqnGd7of.mjs.map} +1 -1
- package/dist/{file-Clpwutq2.d.mts → file-CaB6L83w.d.mts} +2 -2
- package/dist/{file-Clpwutq2.d.mts.map → file-CaB6L83w.d.mts.map} +1 -1
- package/dist/{generate-2S1-U1mL.mjs → generate-CSB0G2BY.mjs} +3 -3
- package/dist/{generate-2S1-U1mL.mjs.map → generate-CSB0G2BY.mjs.map} +1 -1
- package/dist/generate.d.mts +1 -1
- package/dist/generate.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/parse.d.mts +1 -1
- package/dist/parse.mjs +2 -2
- package/dist/patch.d.mts +1 -1
- package/dist/patch.mjs +1 -1
- package/dist/{worksheet-C9CP2B97.d.mts → worksheet-CY6qn25N.d.mts} +11 -1
- package/dist/{worksheet-C9CP2B97.d.mts.map → worksheet-CY6qn25N.d.mts.map} +1 -1
- package/package.json +3 -3
- package/dist/comments-Bvfeh76o.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SharedStrings } from "./comments-
|
|
1
|
+
import { a as SharedStrings } from "./comments-CUChd469.mjs";
|
|
2
2
|
import { attr, attrNum, attrs, children, escapeXml, findChild, stringify, textOf } from "@office-open/xml";
|
|
3
3
|
import { ChartCollection, Media, Relationships, convertToEmu, convertToInch, derivePasswordHash } from "@office-open/core";
|
|
4
4
|
//#region src/parts/styles.ts
|
|
@@ -3091,7 +3091,7 @@ function stringifyWorkbook(opts) {
|
|
|
3091
3091
|
if (opts.calcPr) {
|
|
3092
3092
|
const cp = opts.calcPr;
|
|
3093
3093
|
const cpAttrs = [];
|
|
3094
|
-
cpAttrs.push(`calcId="${cp.calcId ??
|
|
3094
|
+
cpAttrs.push(`calcId="${cp.calcId ?? 191029}"`);
|
|
3095
3095
|
if (cp.calcMode) cpAttrs.push(`calcMode="${escapeXml(cp.calcMode)}"`);
|
|
3096
3096
|
if (cp.fullCalcOnLoad) cpAttrs.push("fullCalcOnLoad=\"1\"");
|
|
3097
3097
|
if (cp.calcOnSave === false) cpAttrs.push("calcOnSave=\"0\"");
|
|
@@ -3105,7 +3105,7 @@ function stringifyWorkbook(opts) {
|
|
|
3105
3105
|
if (cp.fullPrecision === false) cpAttrs.push("fullPrecision=\"0\"");
|
|
3106
3106
|
if (cp.calcCompleted) cpAttrs.push("calcCompleted=\"1\"");
|
|
3107
3107
|
parts.push(`<calcPr ${cpAttrs.join(" ")}/>`);
|
|
3108
|
-
} else parts.push("<calcPr calcId=\"
|
|
3108
|
+
} else parts.push("<calcPr calcId=\"191029\" fullCalcOnLoad=\"1\"/>");
|
|
3109
3109
|
if (opts.customViews && opts.customViews.length > 0) {
|
|
3110
3110
|
parts.push("<customWorkbookViews>");
|
|
3111
3111
|
for (const v of opts.customViews) {
|
|
@@ -4103,4 +4103,4 @@ function resolveWsTarget(wsPath, target) {
|
|
|
4103
4103
|
//#endregion
|
|
4104
4104
|
export { Styles as C, calcChainDesc as S, aggregate as _, usersDesc as a, drawingDesc as b, buildTablePartsXml as c, TotalsRowFunction as d, tableDesc as f, PivotFilterType as g, pivotTableDesc as h, revisionLogDesc as i, workbookDesc as l, pivotCacheRecordsDesc as m, XlsxWriteContext as n, Media as o, pivotCacheDefDesc as p, revisionHeadersDesc as r, buildExternalReferencesXml as s, XlsxReadContext as t, TableType as u, collectUniqueValues as v, stylesDesc as w, chartsheetDesc as x, externalLinkDesc as y };
|
|
4105
4105
|
|
|
4106
|
-
//# sourceMappingURL=context-
|
|
4106
|
+
//# sourceMappingURL=context-eqnGd7of.mjs.map
|