@sunertech/docx 10.0.4 → 10.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.iife.js +2 -4
- package/dist/index.mjs +2 -4
- package/dist/index.umd.cjs +2 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -18771,7 +18771,7 @@ class ChartSpaceAttributes extends XmlAttributeComponent {
|
|
|
18771
18771
|
}
|
|
18772
18772
|
class ChartSpace extends XmlComponent {
|
|
18773
18773
|
constructor(_y) {
|
|
18774
|
-
var _z = _y, { date1904, roundedCorners,
|
|
18774
|
+
var _z = _y, { date1904, roundedCorners, spaceShape } = _z, options = __objRest(_z, ["date1904", "roundedCorners", "spaceShape"]);
|
|
18775
18775
|
super("c:chartSpace");
|
|
18776
18776
|
__publicField(this, "options");
|
|
18777
18777
|
this.options = options;
|
|
@@ -18784,9 +18784,7 @@ class ChartSpace extends XmlComponent {
|
|
|
18784
18784
|
);
|
|
18785
18785
|
this.root.push(new BooleanElement("c:date1904", date1904 != null ? date1904 : true, ""));
|
|
18786
18786
|
this.root.push(new BooleanElement("c:roundedCorners", roundedCorners != null ? roundedCorners : false, ""));
|
|
18787
|
-
|
|
18788
|
-
this.root.push(new ShapeProperties("c:spPr", shapeProperties));
|
|
18789
|
-
}
|
|
18787
|
+
this.root.push(new ShapeProperties("c:spPr", __spreadValues({ type: "noFill", outline: { type: "noFill" } }, spaceShape)));
|
|
18790
18788
|
this.root.push(new ExternalData({ id: "rId1" }));
|
|
18791
18789
|
this.root.push(new Chart$1(options));
|
|
18792
18790
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -401,14 +401,14 @@ declare class Charts {
|
|
|
401
401
|
|
|
402
402
|
declare class ChartSpace extends XmlComponent {
|
|
403
403
|
readonly options: ChartOptions;
|
|
404
|
-
constructor({ date1904, roundedCorners,
|
|
404
|
+
constructor({ date1904, roundedCorners, spaceShape, ...options }: ChartSpaceOptions);
|
|
405
405
|
get dataTable(): (number | string)[][];
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
declare type ChartSpaceOptions = {
|
|
409
409
|
readonly date1904?: boolean;
|
|
410
410
|
readonly roundedCorners?: boolean;
|
|
411
|
-
readonly
|
|
411
|
+
readonly spaceShape?: IShapePropertiesOptions;
|
|
412
412
|
} & ChartOptions;
|
|
413
413
|
|
|
414
414
|
declare class ChartWrapper {
|
package/dist/index.d.ts
CHANGED
|
@@ -401,14 +401,14 @@ declare class Charts {
|
|
|
401
401
|
|
|
402
402
|
declare class ChartSpace extends XmlComponent {
|
|
403
403
|
readonly options: ChartOptions;
|
|
404
|
-
constructor({ date1904, roundedCorners,
|
|
404
|
+
constructor({ date1904, roundedCorners, spaceShape, ...options }: ChartSpaceOptions);
|
|
405
405
|
get dataTable(): (number | string)[][];
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
declare type ChartSpaceOptions = {
|
|
409
409
|
readonly date1904?: boolean;
|
|
410
410
|
readonly roundedCorners?: boolean;
|
|
411
|
-
readonly
|
|
411
|
+
readonly spaceShape?: IShapePropertiesOptions;
|
|
412
412
|
} & ChartOptions;
|
|
413
413
|
|
|
414
414
|
declare class ChartWrapper {
|
package/dist/index.iife.js
CHANGED
|
@@ -18771,7 +18771,7 @@ var docx = (function(exports) {
|
|
|
18771
18771
|
}
|
|
18772
18772
|
class ChartSpace extends XmlComponent {
|
|
18773
18773
|
constructor(_y) {
|
|
18774
|
-
var _z = _y, { date1904, roundedCorners,
|
|
18774
|
+
var _z = _y, { date1904, roundedCorners, spaceShape } = _z, options = __objRest(_z, ["date1904", "roundedCorners", "spaceShape"]);
|
|
18775
18775
|
super("c:chartSpace");
|
|
18776
18776
|
__publicField(this, "options");
|
|
18777
18777
|
this.options = options;
|
|
@@ -18784,9 +18784,7 @@ var docx = (function(exports) {
|
|
|
18784
18784
|
);
|
|
18785
18785
|
this.root.push(new BooleanElement("c:date1904", date1904 != null ? date1904 : true, ""));
|
|
18786
18786
|
this.root.push(new BooleanElement("c:roundedCorners", roundedCorners != null ? roundedCorners : false, ""));
|
|
18787
|
-
|
|
18788
|
-
this.root.push(new ShapeProperties("c:spPr", shapeProperties));
|
|
18789
|
-
}
|
|
18787
|
+
this.root.push(new ShapeProperties("c:spPr", __spreadValues({ type: "noFill", outline: { type: "noFill" } }, spaceShape)));
|
|
18790
18788
|
this.root.push(new ExternalData({ id: "rId1" }));
|
|
18791
18789
|
this.root.push(new Chart$1(options));
|
|
18792
18790
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -18769,7 +18769,7 @@ class ChartSpaceAttributes extends XmlAttributeComponent {
|
|
|
18769
18769
|
}
|
|
18770
18770
|
class ChartSpace extends XmlComponent {
|
|
18771
18771
|
constructor(_y) {
|
|
18772
|
-
var _z = _y, { date1904, roundedCorners,
|
|
18772
|
+
var _z = _y, { date1904, roundedCorners, spaceShape } = _z, options = __objRest(_z, ["date1904", "roundedCorners", "spaceShape"]);
|
|
18773
18773
|
super("c:chartSpace");
|
|
18774
18774
|
__publicField(this, "options");
|
|
18775
18775
|
this.options = options;
|
|
@@ -18782,9 +18782,7 @@ class ChartSpace extends XmlComponent {
|
|
|
18782
18782
|
);
|
|
18783
18783
|
this.root.push(new BooleanElement("c:date1904", date1904 != null ? date1904 : true, ""));
|
|
18784
18784
|
this.root.push(new BooleanElement("c:roundedCorners", roundedCorners != null ? roundedCorners : false, ""));
|
|
18785
|
-
|
|
18786
|
-
this.root.push(new ShapeProperties("c:spPr", shapeProperties));
|
|
18787
|
-
}
|
|
18785
|
+
this.root.push(new ShapeProperties("c:spPr", __spreadValues({ type: "noFill", outline: { type: "noFill" } }, spaceShape)));
|
|
18788
18786
|
this.root.push(new ExternalData({ id: "rId1" }));
|
|
18789
18787
|
this.root.push(new Chart$1(options));
|
|
18790
18788
|
}
|
package/dist/index.umd.cjs
CHANGED
|
@@ -18773,7 +18773,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18773
18773
|
}
|
|
18774
18774
|
class ChartSpace extends XmlComponent {
|
|
18775
18775
|
constructor(_y) {
|
|
18776
|
-
var _z = _y, { date1904, roundedCorners,
|
|
18776
|
+
var _z = _y, { date1904, roundedCorners, spaceShape } = _z, options = __objRest(_z, ["date1904", "roundedCorners", "spaceShape"]);
|
|
18777
18777
|
super("c:chartSpace");
|
|
18778
18778
|
__publicField(this, "options");
|
|
18779
18779
|
this.options = options;
|
|
@@ -18786,9 +18786,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18786
18786
|
);
|
|
18787
18787
|
this.root.push(new BooleanElement("c:date1904", date1904 != null ? date1904 : true, ""));
|
|
18788
18788
|
this.root.push(new BooleanElement("c:roundedCorners", roundedCorners != null ? roundedCorners : false, ""));
|
|
18789
|
-
|
|
18790
|
-
this.root.push(new ShapeProperties("c:spPr", shapeProperties));
|
|
18791
|
-
}
|
|
18789
|
+
this.root.push(new ShapeProperties("c:spPr", __spreadValues({ type: "noFill", outline: { type: "noFill" } }, spaceShape)));
|
|
18792
18790
|
this.root.push(new ExternalData({ id: "rId1" }));
|
|
18793
18791
|
this.root.push(new Chart$1(options));
|
|
18794
18792
|
}
|
package/package.json
CHANGED