docx-plus 0.0.10 → 0.0.12
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 +7 -4
- package/dist/index.cjs +20945 -18661
- package/dist/index.d.cts +24 -1
- package/dist/index.d.mts +24 -1
- package/dist/index.iife.js +20947 -18661
- package/dist/index.mjs +20984 -18677
- package/dist/index.umd.js +20949 -18665
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DataType } from "undio";
|
|
2
|
-
import { Element } from "xml-js";
|
|
3
2
|
import { Readable } from "stream";
|
|
4
3
|
//#region src/file/file-child.d.ts
|
|
5
4
|
declare class FileChild extends XmlComponent {
|
|
@@ -3261,6 +3260,30 @@ declare class Attributes extends XmlAttributeComponent<{
|
|
|
3261
3260
|
};
|
|
3262
3261
|
}
|
|
3263
3262
|
//#endregion
|
|
3263
|
+
//#region node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/types/index.d.ts
|
|
3264
|
+
interface Attributes$1 {
|
|
3265
|
+
[key: string]: string | number | undefined;
|
|
3266
|
+
}
|
|
3267
|
+
interface DeclarationAttributes {
|
|
3268
|
+
version?: string | number;
|
|
3269
|
+
encoding?: 'utf-8' | string;
|
|
3270
|
+
standalone?: 'yes' | 'no';
|
|
3271
|
+
}
|
|
3272
|
+
interface Element {
|
|
3273
|
+
declaration?: {
|
|
3274
|
+
attributes?: DeclarationAttributes;
|
|
3275
|
+
};
|
|
3276
|
+
instruction?: string;
|
|
3277
|
+
attributes?: Attributes$1;
|
|
3278
|
+
cdata?: string;
|
|
3279
|
+
doctype?: string;
|
|
3280
|
+
comment?: string;
|
|
3281
|
+
text?: string | number | boolean;
|
|
3282
|
+
type?: string;
|
|
3283
|
+
name?: string;
|
|
3284
|
+
elements?: Array<Element>;
|
|
3285
|
+
}
|
|
3286
|
+
//#endregion
|
|
3264
3287
|
//#region src/file/xml-components/imported-xml-component.d.ts
|
|
3265
3288
|
declare const convertToXmlComponent: (element: Element) => ImportedXmlComponent | string | undefined;
|
|
3266
3289
|
declare class ImportedXmlComponent extends XmlComponent {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Element } from "xml-js";
|
|
2
1
|
import { DataType } from "undio";
|
|
3
2
|
import { Buffer } from "\u0000polyfill-node.buffer";
|
|
4
3
|
import { Readable } from "stream";
|
|
@@ -3263,6 +3262,30 @@ declare class Attributes extends XmlAttributeComponent<{
|
|
|
3263
3262
|
};
|
|
3264
3263
|
}
|
|
3265
3264
|
//#endregion
|
|
3265
|
+
//#region node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/types/index.d.ts
|
|
3266
|
+
interface Attributes$1 {
|
|
3267
|
+
[key: string]: string | number | undefined;
|
|
3268
|
+
}
|
|
3269
|
+
interface DeclarationAttributes {
|
|
3270
|
+
version?: string | number;
|
|
3271
|
+
encoding?: 'utf-8' | string;
|
|
3272
|
+
standalone?: 'yes' | 'no';
|
|
3273
|
+
}
|
|
3274
|
+
interface Element {
|
|
3275
|
+
declaration?: {
|
|
3276
|
+
attributes?: DeclarationAttributes;
|
|
3277
|
+
};
|
|
3278
|
+
instruction?: string;
|
|
3279
|
+
attributes?: Attributes$1;
|
|
3280
|
+
cdata?: string;
|
|
3281
|
+
doctype?: string;
|
|
3282
|
+
comment?: string;
|
|
3283
|
+
text?: string | number | boolean;
|
|
3284
|
+
type?: string;
|
|
3285
|
+
name?: string;
|
|
3286
|
+
elements?: Array<Element>;
|
|
3287
|
+
}
|
|
3288
|
+
//#endregion
|
|
3266
3289
|
//#region src/file/xml-components/imported-xml-component.d.ts
|
|
3267
3290
|
declare const convertToXmlComponent: (element: Element) => ImportedXmlComponent | string | undefined;
|
|
3268
3291
|
declare class ImportedXmlComponent extends XmlComponent {
|