ooxml-core 1.6.0 → 1.6.2
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/{PptxHandler-DDEJ6CKU.mjs → PptxHandler-BL4B7CZO.mjs} +2 -2
- package/dist/automation/index.cjs +1 -1
- package/dist/automation/index.mjs +1 -1
- package/dist/chart/gradient-definition.d.ts +2 -0
- package/dist/chart/gradient-definition.d.ts.map +1 -1
- package/dist/chart/index.cjs +1 -1
- package/dist/chart/index.mjs +1 -1
- package/dist/{chunk-5L4DHJV3.mjs → chunk-GAGSCAR3.mjs} +46 -43
- package/dist/{chunk-QXZJOUW4.mjs → chunk-NIHPA63A.mjs} +1 -1
- package/dist/{chunk-UQQGC6O3.mjs → chunk-TTPZITQN.mjs} +841 -614
- package/dist/{chunk-Q52O7SXQ.mjs → chunk-Z7IQR4S4.mjs} +3 -3
- package/dist/{chunk-EPNLABIU.mjs → chunk-ZAP5WLEN.mjs} +1 -1
- package/dist/crypto/index.cjs +281 -109
- package/dist/crypto/index.mjs +281 -109
- package/dist/diagram/engine/text-measure.d.ts +1 -1
- package/dist/diagram/layout/smartart-font-table.d.ts +1 -1
- package/dist/diagram/layout/smartart-layout-interpreter-linear-content-size.d.ts +1 -1
- package/dist/diagram/layout/smartart-layout-item-font-size.d.ts +1 -1
- package/dist/diagram/layout/smartart-layout-item-font-tier-fit.d.ts +1 -1
- package/dist/diagram/layout/smartart-line-pitch.d.ts +1 -1
- package/dist/diagram/layout/smartart-text-wrap-fit.d.ts +1 -1
- package/dist/docx/index.cjs +1 -1
- package/dist/docx/index.mjs +1 -1
- package/dist/docx/layout/index.cjs +1 -1
- package/dist/docx/layout/index.mjs +1 -1
- package/dist/docx/load/index.cjs +481 -254
- package/dist/docx/load/index.mjs +481 -254
- package/dist/docx/ui/index.cjs +1 -1
- package/dist/docx/ui/index.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/pptx/automation/index.cjs +1391 -1154
- package/dist/pptx/automation/index.d.ts +3 -3
- package/dist/pptx/automation/index.mjs +5 -5
- package/dist/pptx/chunks/{index-JNv7AJx5.d.ts → index-CKIUurnd.d.ts} +2 -2
- package/dist/pptx/chunks/{index-JNv7AJx5.d.ts.map → index-CKIUurnd.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-EZJZ7USt.d.ts → index-Cn-GzYGp.d.ts} +64 -15
- package/dist/pptx/chunks/{index-EZJZ7USt.d.ts.map → index-Cn-GzYGp.d.ts.map} +1 -1
- package/dist/pptx/chunks/{text-operations-DtCxXrMh.d.ts → text-operations-BHfAm5K9.d.ts} +8 -1
- package/dist/pptx/chunks/text-operations-BHfAm5K9.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +1270 -1088
- package/dist/pptx/cli/index.d.ts +1 -1
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/index.cjs +1411 -1174
- package/dist/pptx/index.d.ts +3 -3
- package/dist/pptx/index.mjs +5 -5
- package/dist/text/font-metrics/font-advance-widths-aptos-display.generated.d.ts +1 -1
- package/dist/text/font-metrics/font-advance-widths-aptos.generated.d.ts +1 -1
- package/dist/text/font-metrics/font-advance-widths-arial.generated.d.ts +1 -1
- package/dist/text/font-metrics/font-advance-widths-calibri-light.generated.d.ts +1 -1
- package/dist/text/font-metrics/font-advance-widths-calibri.generated.d.ts +1 -1
- package/dist/text/font-metrics/font-advance-widths-segoe-ui.generated.d.ts +1 -1
- package/dist/text/font-metrics/font-advance-widths-times-new-roman.generated.d.ts +1 -1
- package/dist/visio/index.cjs +482 -232
- package/dist/visio/index.mjs +482 -232
- package/dist/visio/ui/data-graphic-rules.d.ts +2 -2
- package/dist/xlsx/formula/test-helpers.d.ts +9 -9
- package/dist/xlsx/index.cjs +1 -1
- package/dist/xlsx/index.mjs +1 -1
- package/dist/xlsx/load/index.cjs +415 -188
- package/dist/xlsx/load/index.mjs +415 -188
- package/package.json +5 -5
- package/dist/pptx/chunks/text-operations-DtCxXrMh.d.ts.map +0 -1
|
@@ -22,8 +22,8 @@ export declare const VISIO_DATA_GRAPHIC_ICONS: {
|
|
|
22
22
|
mid: string;
|
|
23
23
|
high: string;
|
|
24
24
|
};
|
|
25
|
-
export declare const visioShapeDataRow: (shape: VisioShape, name: string) => import("
|
|
26
|
-
export declare const visioDataGraphicMarker: (row: VisioShape) => import("
|
|
25
|
+
export declare const visioShapeDataRow: (shape: VisioShape, name: string) => import("../index.js").VisioShapeData | undefined;
|
|
26
|
+
export declare const visioDataGraphicMarker: (row: VisioShape) => import("../index.js").VisioShapeData | undefined;
|
|
27
27
|
/** The display text of a Shape Data value: dates as yyyy-mm-dd, Booleans as TRUE/FALSE. */
|
|
28
28
|
export declare function visioShapeDataText(shape: VisioShape, name: string): string | undefined;
|
|
29
29
|
export declare const visioShapeDataNumber: (shape: VisioShape, name: string) => number | undefined;
|
|
@@ -19,14 +19,14 @@ export declare function calc(formula: string, cells?: Record<string, CellSpec>):
|
|
|
19
19
|
/** Like {@link calc} but returns the spilled block (`rows` x `cols`) anchored at AA1. */
|
|
20
20
|
export declare function calcArray(formula: string, cells?: Record<string, CellSpec>, rows?: number, cols?: number): CellValue[][];
|
|
21
21
|
export declare const E: {
|
|
22
|
-
DIV0: import("
|
|
23
|
-
VALUE: import("
|
|
24
|
-
REF: import("
|
|
25
|
-
NAME: import("
|
|
26
|
-
NUM: import("
|
|
27
|
-
NA: import("
|
|
28
|
-
NULL: import("
|
|
29
|
-
SPILL: import("
|
|
30
|
-
CALC: import("
|
|
22
|
+
DIV0: import("../index.js").CellError;
|
|
23
|
+
VALUE: import("../index.js").CellError;
|
|
24
|
+
REF: import("../index.js").CellError;
|
|
25
|
+
NAME: import("../index.js").CellError;
|
|
26
|
+
NUM: import("../index.js").CellError;
|
|
27
|
+
NA: import("../index.js").CellError;
|
|
28
|
+
NULL: import("../index.js").CellError;
|
|
29
|
+
SPILL: import("../index.js").CellError;
|
|
30
|
+
CALC: import("../index.js").CellError;
|
|
31
31
|
};
|
|
32
32
|
//# sourceMappingURL=test-helpers.d.ts.map
|
package/dist/xlsx/index.cjs
CHANGED
|
@@ -33867,7 +33867,7 @@ function fit(content2, maxWidth, size = FONT_SIZE) {
|
|
|
33867
33867
|
function chartGradientMarkup(def) {
|
|
33868
33868
|
if (def.kind === "rectPath")
|
|
33869
33869
|
return `<pattern id="${escapeXmlAttr(def.id)}" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox" width="1" height="1"><image href="${escapeXmlAttr(def.href)}" width="1" height="1" preserveAspectRatio="none"/></pattern>`;
|
|
33870
|
-
const geometry = def.kind === "linearGradient" ? `x1="${def.x1}" y1="${def.y1}" x2="${def.x2}" y2="${def.y2}"` : `cx="${def.cx}" cy="${def.cy}" r="${def.r}"`;
|
|
33870
|
+
const geometry = def.kind === "linearGradient" ? `${def.gradientUnits ? `gradientUnits="${def.gradientUnits}" ` : ""}x1="${def.x1}" y1="${def.y1}" x2="${def.x2}" y2="${def.y2}"` : `cx="${def.cx}" cy="${def.cy}" r="${def.r}"`;
|
|
33871
33871
|
const stops = def.stops.map(
|
|
33872
33872
|
(stop) => `<stop offset="${stop.offset}" stop-color="${escapeXmlAttr(stop.color)}" stop-opacity="${stop.opacity ?? 1}"/>`
|
|
33873
33873
|
).join("");
|
package/dist/xlsx/index.mjs
CHANGED
|
@@ -33861,7 +33861,7 @@ function fit(content2, maxWidth, size = FONT_SIZE) {
|
|
|
33861
33861
|
function chartGradientMarkup(def) {
|
|
33862
33862
|
if (def.kind === "rectPath")
|
|
33863
33863
|
return `<pattern id="${escapeXmlAttr(def.id)}" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox" width="1" height="1"><image href="${escapeXmlAttr(def.href)}" width="1" height="1" preserveAspectRatio="none"/></pattern>`;
|
|
33864
|
-
const geometry = def.kind === "linearGradient" ? `x1="${def.x1}" y1="${def.y1}" x2="${def.x2}" y2="${def.y2}"` : `cx="${def.cx}" cy="${def.cy}" r="${def.r}"`;
|
|
33864
|
+
const geometry = def.kind === "linearGradient" ? `${def.gradientUnits ? `gradientUnits="${def.gradientUnits}" ` : ""}x1="${def.x1}" y1="${def.y1}" x2="${def.x2}" y2="${def.y2}"` : `cx="${def.cx}" cy="${def.cy}" r="${def.r}"`;
|
|
33865
33865
|
const stops = def.stops.map(
|
|
33866
33866
|
(stop) => `<stop offset="${stop.offset}" stop-color="${escapeXmlAttr(stop.color)}" stop-opacity="${stop.opacity ?? 1}"/>`
|
|
33867
33867
|
).join("");
|