docx-plus 0.1.0 → 0.1.1
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 +5 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.iife.js +5 -0
- package/dist/index.mjs +5 -0
- package/dist/index.umd.js +5 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -19827,6 +19827,11 @@ var ContentTypes = class extends XmlComponent {
|
|
|
19827
19827
|
this.root.push(createDefault("image/jpeg", "jpg"));
|
|
19828
19828
|
this.root.push(createDefault("image/bmp", "bmp"));
|
|
19829
19829
|
this.root.push(createDefault("image/gif", "gif"));
|
|
19830
|
+
this.root.push(createDefault("image/tiff", "tif"));
|
|
19831
|
+
this.root.push(createDefault("image/tiff", "tiff"));
|
|
19832
|
+
this.root.push(createDefault("image/x-emf", "emf"));
|
|
19833
|
+
this.root.push(createDefault("image/x-wmf", "wmf"));
|
|
19834
|
+
this.root.push(createDefault("image/x-icon", "ico"));
|
|
19830
19835
|
this.root.push(createDefault("image/svg+xml", "svg"));
|
|
19831
19836
|
this.root.push(createDefault("application/vnd.openxmlformats-package.relationships+xml", "rels"));
|
|
19832
19837
|
this.root.push(createDefault("application/xml", "xml"));
|
package/dist/index.d.cts
CHANGED
|
@@ -1258,7 +1258,7 @@ interface CoreMediaData {
|
|
|
1258
1258
|
readonly srcRect?: SourceRectangleOptions;
|
|
1259
1259
|
}
|
|
1260
1260
|
interface RegularMediaData {
|
|
1261
|
-
readonly type: "jpg" | "png" | "gif" | "bmp";
|
|
1261
|
+
readonly type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
1262
1262
|
}
|
|
1263
1263
|
interface SvgMediaData {
|
|
1264
1264
|
readonly type: "svg";
|
|
@@ -1429,7 +1429,7 @@ interface CoreImageOptions {
|
|
|
1429
1429
|
readonly tile?: TileOptions;
|
|
1430
1430
|
}
|
|
1431
1431
|
interface RegularImageOptions {
|
|
1432
|
-
readonly type: "jpg" | "png" | "gif" | "bmp";
|
|
1432
|
+
readonly type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
1433
1433
|
readonly data: DataType;
|
|
1434
1434
|
}
|
|
1435
1435
|
interface SvgMediaOptions {
|
package/dist/index.d.mts
CHANGED
|
@@ -1260,7 +1260,7 @@ interface CoreMediaData {
|
|
|
1260
1260
|
readonly srcRect?: SourceRectangleOptions;
|
|
1261
1261
|
}
|
|
1262
1262
|
interface RegularMediaData {
|
|
1263
|
-
readonly type: "jpg" | "png" | "gif" | "bmp";
|
|
1263
|
+
readonly type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
1264
1264
|
}
|
|
1265
1265
|
interface SvgMediaData {
|
|
1266
1266
|
readonly type: "svg";
|
|
@@ -1431,7 +1431,7 @@ interface CoreImageOptions {
|
|
|
1431
1431
|
readonly tile?: TileOptions;
|
|
1432
1432
|
}
|
|
1433
1433
|
interface RegularImageOptions {
|
|
1434
|
-
readonly type: "jpg" | "png" | "gif" | "bmp";
|
|
1434
|
+
readonly type: "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
|
|
1435
1435
|
readonly data: DataType;
|
|
1436
1436
|
}
|
|
1437
1437
|
interface SvgMediaOptions {
|
package/dist/index.iife.js
CHANGED
|
@@ -19824,6 +19824,11 @@ var docx = (function(exports, hash_js, nanoid_non_secure, undio, fflate) {
|
|
|
19824
19824
|
this.root.push(createDefault("image/jpeg", "jpg"));
|
|
19825
19825
|
this.root.push(createDefault("image/bmp", "bmp"));
|
|
19826
19826
|
this.root.push(createDefault("image/gif", "gif"));
|
|
19827
|
+
this.root.push(createDefault("image/tiff", "tif"));
|
|
19828
|
+
this.root.push(createDefault("image/tiff", "tiff"));
|
|
19829
|
+
this.root.push(createDefault("image/x-emf", "emf"));
|
|
19830
|
+
this.root.push(createDefault("image/x-wmf", "wmf"));
|
|
19831
|
+
this.root.push(createDefault("image/x-icon", "ico"));
|
|
19827
19832
|
this.root.push(createDefault("image/svg+xml", "svg"));
|
|
19828
19833
|
this.root.push(createDefault("application/vnd.openxmlformats-package.relationships+xml", "rels"));
|
|
19829
19834
|
this.root.push(createDefault("application/xml", "xml"));
|
package/dist/index.mjs
CHANGED
|
@@ -19825,6 +19825,11 @@ var ContentTypes = class extends XmlComponent {
|
|
|
19825
19825
|
this.root.push(createDefault("image/jpeg", "jpg"));
|
|
19826
19826
|
this.root.push(createDefault("image/bmp", "bmp"));
|
|
19827
19827
|
this.root.push(createDefault("image/gif", "gif"));
|
|
19828
|
+
this.root.push(createDefault("image/tiff", "tif"));
|
|
19829
|
+
this.root.push(createDefault("image/tiff", "tiff"));
|
|
19830
|
+
this.root.push(createDefault("image/x-emf", "emf"));
|
|
19831
|
+
this.root.push(createDefault("image/x-wmf", "wmf"));
|
|
19832
|
+
this.root.push(createDefault("image/x-icon", "ico"));
|
|
19828
19833
|
this.root.push(createDefault("image/svg+xml", "svg"));
|
|
19829
19834
|
this.root.push(createDefault("application/vnd.openxmlformats-package.relationships+xml", "rels"));
|
|
19830
19835
|
this.root.push(createDefault("application/xml", "xml"));
|
package/dist/index.umd.js
CHANGED
|
@@ -19832,6 +19832,11 @@
|
|
|
19832
19832
|
this.root.push(createDefault("image/jpeg", "jpg"));
|
|
19833
19833
|
this.root.push(createDefault("image/bmp", "bmp"));
|
|
19834
19834
|
this.root.push(createDefault("image/gif", "gif"));
|
|
19835
|
+
this.root.push(createDefault("image/tiff", "tif"));
|
|
19836
|
+
this.root.push(createDefault("image/tiff", "tiff"));
|
|
19837
|
+
this.root.push(createDefault("image/x-emf", "emf"));
|
|
19838
|
+
this.root.push(createDefault("image/x-wmf", "wmf"));
|
|
19839
|
+
this.root.push(createDefault("image/x-icon", "ico"));
|
|
19835
19840
|
this.root.push(createDefault("image/svg+xml", "svg"));
|
|
19836
19841
|
this.root.push(createDefault("application/vnd.openxmlformats-package.relationships+xml", "rels"));
|
|
19837
19842
|
this.root.push(createDefault("application/xml", "xml"));
|