docx-wasm 0.0.275 → 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.
@@ -46,6 +46,7 @@ export declare type DocxJSON = {
46
46
  fontTable: {};
47
47
  themes: ThemeJSON[];
48
48
  images: [string, string, string, string][];
49
+ hyperlinks: [string, string, string, string][];
49
50
  };
50
51
  export declare type SettingsJSON = {
51
52
  docId: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../js/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AA6DA,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"}
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"}
@@ -61,6 +61,7 @@ export declare type HyperlinkJSON = {
61
61
  } | {
62
62
  type: "anchor";
63
63
  anchor: string;
64
+ children: HyperlinkChildJSON[];
64
65
  };
65
66
  };
66
67
  export declare type DeleteChildJSON = RunJSON | CommentRangeStartJSON | CommentRangeEndJSON;
Binary file
@@ -46,6 +46,7 @@ export declare type DocxJSON = {
46
46
  fontTable: {};
47
47
  themes: ThemeJSON[];
48
48
  images: [string, string, string, string][];
49
+ hyperlinks: [string, string, string, string][];
49
50
  };
50
51
  export declare type SettingsJSON = {
51
52
  docId: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../js/json/index.ts"],"names":[],"mappings":"AA6DA,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"}
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"}
@@ -61,6 +61,7 @@ export declare type HyperlinkJSON = {
61
61
  } | {
62
62
  type: "anchor";
63
63
  anchor: string;
64
+ children: HyperlinkChildJSON[];
64
65
  };
65
66
  };
66
67
  export declare type DeleteChildJSON = RunJSON | CommentRangeStartJSON | CommentRangeEndJSON;
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 = {
@@ -91,6 +91,7 @@ export type HyperlinkJSON = {
91
91
  | {
92
92
  type: "anchor";
93
93
  anchor: string;
94
+ children: HyperlinkChildJSON[];
94
95
  };
95
96
  };
96
97
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docx-wasm",
3
- "version": "0.0.275",
3
+ "version": "0.0.276-rc2",
4
4
  "main": "dist/node/index.js",
5
5
  "browser": "dist/web/index.js",
6
6
  "author": "bokuweb <bokuweb12@gmail.com>",