docx-wasm 0.0.276-rc1 → 0.0.276-rc2
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/node/json/index.d.ts +1 -0
- package/dist/node/json/index.js.map +1 -1
- package/dist/node/pkg/docx_wasm.d.ts +7 -7
- package/dist/node/pkg/docx_wasm.js +3 -3
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/json/index.d.ts +1 -0
- package/dist/web/json/index.js.map +1 -1
- package/dist/web/pkg/docx_wasm.d.ts +7 -7
- package/dist/web/pkg/docx_wasm_bg.js +3 -3
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/js/json/index.ts +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../js/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../js/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AA8DA,2CAAyB;AACzB,2CAAyB;AACzB,6CAA2B;AAC3B,8CAA4B;AAC5B,wCAAsB;AACtB,0CAAwB;AACxB,8CAA4B;AAC5B,4CAA0B;AAC1B,4CAA0B;AAC1B,iDAA+B;AAC/B,4CAA0B;AAC1B,oDAAkC;AAClC,qDAAmC"}
|
|
@@ -338,6 +338,13 @@ export enum TableAlignmentType {
|
|
|
338
338
|
}
|
|
339
339
|
/**
|
|
340
340
|
*/
|
|
341
|
+
export enum FontPitchType {
|
|
342
|
+
Default,
|
|
343
|
+
Fixed,
|
|
344
|
+
Variable,
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
*/
|
|
341
348
|
export enum SectionType {
|
|
342
349
|
NextPage,
|
|
343
350
|
NextColumn,
|
|
@@ -369,13 +376,6 @@ export enum TableCellBorderPosition {
|
|
|
369
376
|
}
|
|
370
377
|
/**
|
|
371
378
|
*/
|
|
372
|
-
export enum FontPitchType {
|
|
373
|
-
Default,
|
|
374
|
-
Fixed,
|
|
375
|
-
Variable,
|
|
376
|
-
}
|
|
377
|
-
/**
|
|
378
|
-
*/
|
|
379
379
|
export enum WidthType {
|
|
380
380
|
Dxa,
|
|
381
381
|
Auto,
|
|
@@ -476,6 +476,9 @@ module.exports.SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",H
|
|
|
476
476
|
module.exports.TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
|
|
477
477
|
/**
|
|
478
478
|
*/
|
|
479
|
+
module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
480
|
+
/**
|
|
481
|
+
*/
|
|
479
482
|
module.exports.SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
|
|
480
483
|
/**
|
|
481
484
|
*/
|
|
@@ -485,9 +488,6 @@ module.exports.TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"
|
|
|
485
488
|
module.exports.TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
|
|
486
489
|
/**
|
|
487
490
|
*/
|
|
488
|
-
module.exports.FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
489
|
-
/**
|
|
490
|
-
*/
|
|
491
491
|
module.exports.WidthType = Object.freeze({ Dxa:0,"0":"Dxa",Auto:1,"1":"Auto",Pct:2,"2":"Pct",Nil:3,"3":"Nil",Unsupported:4,"4":"Unsupported", });
|
|
492
492
|
/**
|
|
493
493
|
*/
|
|
Binary file
|
package/dist/web/json/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../js/json/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../js/json/index.ts"],"names":[],"mappings":"AA8DA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
|
@@ -338,6 +338,13 @@ export enum TableAlignmentType {
|
|
|
338
338
|
}
|
|
339
339
|
/**
|
|
340
340
|
*/
|
|
341
|
+
export enum FontPitchType {
|
|
342
|
+
Default,
|
|
343
|
+
Fixed,
|
|
344
|
+
Variable,
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
*/
|
|
341
348
|
export enum SectionType {
|
|
342
349
|
NextPage,
|
|
343
350
|
NextColumn,
|
|
@@ -369,13 +376,6 @@ export enum TableCellBorderPosition {
|
|
|
369
376
|
}
|
|
370
377
|
/**
|
|
371
378
|
*/
|
|
372
|
-
export enum FontPitchType {
|
|
373
|
-
Default,
|
|
374
|
-
Fixed,
|
|
375
|
-
Variable,
|
|
376
|
-
}
|
|
377
|
-
/**
|
|
378
|
-
*/
|
|
379
379
|
export enum WidthType {
|
|
380
380
|
Dxa,
|
|
381
381
|
Auto,
|
|
@@ -477,6 +477,9 @@ export const SpecialIndentKind = Object.freeze({ FirstLine:0,"0":"FirstLine",Han
|
|
|
477
477
|
export const TableAlignmentType = Object.freeze({ Center:0,"0":"Center",Left:1,"1":"Left",Right:2,"2":"Right", });
|
|
478
478
|
/**
|
|
479
479
|
*/
|
|
480
|
+
export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
481
|
+
/**
|
|
482
|
+
*/
|
|
480
483
|
export const SectionType = Object.freeze({ NextPage:0,"0":"NextPage",NextColumn:1,"1":"NextColumn",Continuous:2,"2":"Continuous",EvenPage:3,"3":"EvenPage",OddPage:4,"4":"OddPage", });
|
|
481
484
|
/**
|
|
482
485
|
*/
|
|
@@ -486,9 +489,6 @@ export const TableBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1"
|
|
|
486
489
|
export const TableCellBorderPosition = Object.freeze({ Left:0,"0":"Left",Right:1,"1":"Right",Top:2,"2":"Top",Bottom:3,"3":"Bottom",InsideH:4,"4":"InsideH",InsideV:5,"5":"InsideV",Tl2br:6,"6":"Tl2br",Tr2bl:7,"7":"Tr2bl", });
|
|
487
490
|
/**
|
|
488
491
|
*/
|
|
489
|
-
export const FontPitchType = Object.freeze({ Default:0,"0":"Default",Fixed:1,"1":"Fixed",Variable:2,"2":"Variable", });
|
|
490
|
-
/**
|
|
491
|
-
*/
|
|
492
492
|
export const WidthType = Object.freeze({ Dxa:0,"0":"Dxa",Auto:1,"1":"Auto",Pct:2,"2":"Pct",Nil:3,"3":"Nil",Unsupported:4,"4":"Unsupported", });
|
|
493
493
|
/**
|
|
494
494
|
*/
|
|
Binary file
|
package/js/json/index.ts
CHANGED
|
@@ -49,6 +49,7 @@ export type DocxJSON = {
|
|
|
49
49
|
themes: ThemeJSON[];
|
|
50
50
|
//(id, path, base64 encoded original image data, base64 encoded png image data)
|
|
51
51
|
images: [string, string, string, string][];
|
|
52
|
+
hyperlinks: [string, string, string, string][];
|
|
52
53
|
};
|
|
53
54
|
|
|
54
55
|
export type SettingsJSON = {
|