docx-wasm 0.0.277-sdt1 → 0.0.277-sdt3
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/pkg/docx_wasm.d.ts +13 -9
- package/dist/node/pkg/docx_wasm.js +27 -18
- package/dist/node/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/node/pkg/docx_wasm_bg.wasm.d.ts +17 -16
- package/dist/node/table-of-contents.d.ts +2 -0
- package/dist/node/table-of-contents.js +8 -0
- package/dist/node/table-of-contents.js.map +1 -1
- package/dist/web/pkg/docx_wasm.d.ts +13 -9
- package/dist/web/pkg/docx_wasm_bg.js +27 -18
- package/dist/web/pkg/docx_wasm_bg.wasm +0 -0
- package/dist/web/pkg/docx_wasm_bg.wasm.d.ts +17 -16
- package/dist/web/table-of-contents.d.ts +2 -0
- package/dist/web/table-of-contents.js +8 -0
- package/dist/web/table-of-contents.js.map +1 -1
- package/js/table-of-contents.ts +10 -0
- package/package.json +1 -1
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export function createTableOfContentsItem(): TableOfContentsItem;
|
|
7
7
|
/**
|
|
8
|
-
* @returns {TableOfContents}
|
|
9
|
-
*/
|
|
10
|
-
export function createTableOfContents(): TableOfContents;
|
|
11
|
-
/**
|
|
12
|
-
* @param {string} s
|
|
13
|
-
* @returns {TableOfContents}
|
|
14
|
-
*/
|
|
15
|
-
export function createTableOfContentsWithInstrText(s: string): TableOfContents;
|
|
16
|
-
/**
|
|
17
8
|
* @param {Run} run
|
|
18
9
|
* @returns {Delete}
|
|
19
10
|
*/
|
|
@@ -138,6 +129,15 @@ export function createDocx(): Docx;
|
|
|
138
129
|
*/
|
|
139
130
|
export function createPageMargin(): PageMargin;
|
|
140
131
|
/**
|
|
132
|
+
* @returns {TableOfContents}
|
|
133
|
+
*/
|
|
134
|
+
export function createTableOfContents(): TableOfContents;
|
|
135
|
+
/**
|
|
136
|
+
* @param {string} s
|
|
137
|
+
* @returns {TableOfContents}
|
|
138
|
+
*/
|
|
139
|
+
export function createTableOfContentsWithInstrText(s: string): TableOfContents;
|
|
140
|
+
/**
|
|
141
141
|
*/
|
|
142
142
|
export enum BorderType {
|
|
143
143
|
Nil,
|
|
@@ -1715,6 +1715,10 @@ export class TableOfContents {
|
|
|
1715
1715
|
*/
|
|
1716
1716
|
dirty(): TableOfContents;
|
|
1717
1717
|
/**
|
|
1718
|
+
* @returns {TableOfContents}
|
|
1719
|
+
*/
|
|
1720
|
+
without_sdt(): TableOfContents;
|
|
1721
|
+
/**
|
|
1718
1722
|
* @param {string} author
|
|
1719
1723
|
* @param {string} date
|
|
1720
1724
|
* @returns {TableOfContents}
|
|
@@ -109,24 +109,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
109
109
|
WASM_VECTOR_LEN = offset;
|
|
110
110
|
return ptr;
|
|
111
111
|
}
|
|
112
|
-
/**
|
|
113
|
-
* @returns {TableOfContents}
|
|
114
|
-
*/
|
|
115
|
-
module.exports.createTableOfContents = function() {
|
|
116
|
-
var ret = wasm.createTableOfContents();
|
|
117
|
-
return TableOfContents.__wrap(ret);
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @param {string} s
|
|
122
|
-
* @returns {TableOfContents}
|
|
123
|
-
*/
|
|
124
|
-
module.exports.createTableOfContentsWithInstrText = function(s) {
|
|
125
|
-
var ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
126
|
-
var len0 = WASM_VECTOR_LEN;
|
|
127
|
-
var ret = wasm.createTableOfContentsWithInstrText(ptr0, len0);
|
|
128
|
-
return TableOfContents.__wrap(ret);
|
|
129
|
-
};
|
|
130
112
|
|
|
131
113
|
function _assertClass(instance, klass) {
|
|
132
114
|
if (!(instance instanceof klass)) {
|
|
@@ -430,6 +412,25 @@ module.exports.createPageMargin = function() {
|
|
|
430
412
|
return PageMargin.__wrap(ret);
|
|
431
413
|
};
|
|
432
414
|
|
|
415
|
+
/**
|
|
416
|
+
* @returns {TableOfContents}
|
|
417
|
+
*/
|
|
418
|
+
module.exports.createTableOfContents = function() {
|
|
419
|
+
var ret = wasm.createTableOfContents();
|
|
420
|
+
return TableOfContents.__wrap(ret);
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* @param {string} s
|
|
425
|
+
* @returns {TableOfContents}
|
|
426
|
+
*/
|
|
427
|
+
module.exports.createTableOfContentsWithInstrText = function(s) {
|
|
428
|
+
var ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
429
|
+
var len0 = WASM_VECTOR_LEN;
|
|
430
|
+
var ret = wasm.createTableOfContentsWithInstrText(ptr0, len0);
|
|
431
|
+
return TableOfContents.__wrap(ret);
|
|
432
|
+
};
|
|
433
|
+
|
|
433
434
|
/**
|
|
434
435
|
*/
|
|
435
436
|
module.exports.BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
|
|
@@ -3383,6 +3384,14 @@ class TableOfContents {
|
|
|
3383
3384
|
return TableOfContents.__wrap(ret);
|
|
3384
3385
|
}
|
|
3385
3386
|
/**
|
|
3387
|
+
* @returns {TableOfContents}
|
|
3388
|
+
*/
|
|
3389
|
+
without_sdt() {
|
|
3390
|
+
const ptr = this.__destroy_into_raw();
|
|
3391
|
+
var ret = wasm.tableofcontents_without_sdt(ptr);
|
|
3392
|
+
return TableOfContents.__wrap(ret);
|
|
3393
|
+
}
|
|
3394
|
+
/**
|
|
3386
3395
|
* @param {string} author
|
|
3387
3396
|
* @param {string} date
|
|
3388
3397
|
* @returns {TableOfContents}
|
|
Binary file
|
|
@@ -7,22 +7,6 @@ export function tableofcontentsitem_text(a: number, b: number, c: number): numbe
|
|
|
7
7
|
export function tableofcontentsitem_toc_key(a: number, b: number, c: number): number;
|
|
8
8
|
export function tableofcontentsitem_level(a: number, b: number): number;
|
|
9
9
|
export function tableofcontentsitem_page_ref(a: number, b: number, c: number): number;
|
|
10
|
-
export function __wbg_tableofcontents_free(a: number): void;
|
|
11
|
-
export function createTableOfContents(): number;
|
|
12
|
-
export function createTableOfContentsWithInstrText(a: number, b: number): number;
|
|
13
|
-
export function tableofcontents_heading_styles_range(a: number, b: number, c: number): number;
|
|
14
|
-
export function tableofcontents_add_style_with_level(a: number, b: number, c: number, d: number): number;
|
|
15
|
-
export function tableofcontents_hyperlink(a: number): number;
|
|
16
|
-
export function tableofcontents_alias(a: number, b: number, c: number): number;
|
|
17
|
-
export function tableofcontents_page_ref_placeholder(a: number, b: number, c: number): number;
|
|
18
|
-
export function tableofcontents_add_item(a: number, b: number): number;
|
|
19
|
-
export function tableofcontents_auto(a: number): number;
|
|
20
|
-
export function tableofcontents_dirty(a: number): number;
|
|
21
|
-
export function tableofcontents_delete(a: number, b: number, c: number, d: number, e: number): number;
|
|
22
|
-
export function tableofcontents_add_before_paragraph(a: number, b: number): number;
|
|
23
|
-
export function tableofcontents_add_after_paragraph(a: number, b: number): number;
|
|
24
|
-
export function tableofcontents_add_before_table(a: number, b: number): number;
|
|
25
|
-
export function tableofcontents_add_after_table(a: number, b: number): number;
|
|
26
10
|
export function __wbg_delete_free(a: number): void;
|
|
27
11
|
export function createDelete(a: number): number;
|
|
28
12
|
export function delete_author(a: number, b: number, c: number): number;
|
|
@@ -286,6 +270,23 @@ export function pagemargin_right(a: number, b: number): number;
|
|
|
286
270
|
export function pagemargin_header(a: number, b: number): number;
|
|
287
271
|
export function pagemargin_footer(a: number, b: number): number;
|
|
288
272
|
export function pagemargin_gutter(a: number, b: number): number;
|
|
273
|
+
export function __wbg_tableofcontents_free(a: number): void;
|
|
274
|
+
export function createTableOfContents(): number;
|
|
275
|
+
export function createTableOfContentsWithInstrText(a: number, b: number): number;
|
|
276
|
+
export function tableofcontents_heading_styles_range(a: number, b: number, c: number): number;
|
|
277
|
+
export function tableofcontents_add_style_with_level(a: number, b: number, c: number, d: number): number;
|
|
278
|
+
export function tableofcontents_hyperlink(a: number): number;
|
|
279
|
+
export function tableofcontents_alias(a: number, b: number, c: number): number;
|
|
280
|
+
export function tableofcontents_page_ref_placeholder(a: number, b: number, c: number): number;
|
|
281
|
+
export function tableofcontents_add_item(a: number, b: number): number;
|
|
282
|
+
export function tableofcontents_auto(a: number): number;
|
|
283
|
+
export function tableofcontents_dirty(a: number): number;
|
|
284
|
+
export function tableofcontents_without_sdt(a: number): number;
|
|
285
|
+
export function tableofcontents_delete(a: number, b: number, c: number, d: number, e: number): number;
|
|
286
|
+
export function tableofcontents_add_before_paragraph(a: number, b: number): number;
|
|
287
|
+
export function tableofcontents_add_after_paragraph(a: number, b: number): number;
|
|
288
|
+
export function tableofcontents_add_before_table(a: number, b: number): number;
|
|
289
|
+
export function tableofcontents_add_after_table(a: number, b: number): number;
|
|
289
290
|
export function __wbg_tablecellproperty_free(a: number): void;
|
|
290
291
|
export function __wbg_tableproperty_free(a: number): void;
|
|
291
292
|
export function __wbindgen_malloc(a: number): number;
|
|
@@ -12,6 +12,7 @@ export declare class TableOfContents {
|
|
|
12
12
|
_hyperlink: boolean;
|
|
13
13
|
_alias: string;
|
|
14
14
|
_auto: boolean;
|
|
15
|
+
_withoutSdt: boolean;
|
|
15
16
|
_dirty: boolean;
|
|
16
17
|
_items: TableOfContentsItem[];
|
|
17
18
|
_pageRefPlaceholder: string;
|
|
@@ -33,6 +34,7 @@ export declare class TableOfContents {
|
|
|
33
34
|
pageRefPlaceholder: (placeholder: string) => this;
|
|
34
35
|
auto: () => this;
|
|
35
36
|
dirty: () => this;
|
|
37
|
+
withoutSdt: () => this;
|
|
36
38
|
delete: (author: string, date: string) => this;
|
|
37
39
|
addItem: (item: TableOfContentsItem) => this;
|
|
38
40
|
buildWasmObject: () => wasm.TableOfContents;
|
|
@@ -34,6 +34,7 @@ class TableOfContents {
|
|
|
34
34
|
this._hyperlink = false;
|
|
35
35
|
this._alias = "";
|
|
36
36
|
this._auto = false;
|
|
37
|
+
this._withoutSdt = false;
|
|
37
38
|
this._dirty = false;
|
|
38
39
|
this._items = [];
|
|
39
40
|
this._pageRefPlaceholder = "";
|
|
@@ -68,6 +69,10 @@ class TableOfContents {
|
|
|
68
69
|
this._dirty = true;
|
|
69
70
|
return this;
|
|
70
71
|
};
|
|
72
|
+
this.withoutSdt = () => {
|
|
73
|
+
this._withoutSdt = true;
|
|
74
|
+
return this;
|
|
75
|
+
};
|
|
71
76
|
this.delete = (author, date) => {
|
|
72
77
|
this._delete = { author, date };
|
|
73
78
|
return this;
|
|
@@ -95,6 +100,9 @@ class TableOfContents {
|
|
|
95
100
|
if (this._dirty) {
|
|
96
101
|
toc = toc.dirty();
|
|
97
102
|
}
|
|
103
|
+
if (this._withoutSdt) {
|
|
104
|
+
toc = toc.without_sdt();
|
|
105
|
+
}
|
|
98
106
|
if (this._pageRefPlaceholder) {
|
|
99
107
|
toc = toc.page_ref_placeholder(this._pageRefPlaceholder);
|
|
100
108
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-of-contents.js","sourceRoot":"","sources":["../../js/table-of-contents.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAwC;AACxC,4CAA8B;AAC9B,mCAAgC;AAIhC,MAAa,eAAe;
|
|
1
|
+
{"version":3,"file":"table-of-contents.js","sourceRoot":"","sources":["../../js/table-of-contents.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAwC;AACxC,4CAA8B;AAC9B,mCAAgC;AAIhC,MAAa,eAAe;IAe1B,YAAY,SAAkB;QAb9B,wBAAmB,GAA4B,IAAI,CAAC;QACpD,qBAAgB,GAAyC,EAAE,CAAC;QAC5D,eAAU,GAAG,KAAK,CAAC;QACnB,WAAM,GAAG,EAAE,CAAC;QACZ,UAAK,GAAG,KAAK,CAAC;QACd,gBAAW,GAAG,KAAK,CAAC;QACpB,WAAM,GAAG,KAAK,CAAC;QACf,WAAM,GAA0B,EAAE,CAAC;QACnC,wBAAmB,GAAG,EAAE,CAAC;QACzB,oBAAe,GAA0B,EAAE,CAAC;QAC5C,mBAAc,GAA0B,EAAE,CAAC;QAC3C,YAAO,GAA4C,IAAI,CAAC;QA0BxD,uBAAkB,GAAG,CAAC,CAAmB,EAAE,EAAE;YAC3C,IAAI,CAAC,mBAAmB,GAAG,CAAC,CAAC;YAC7B,OAAO,IAAI,CAAC;QACd,CAAC,CAAC;QAEF,sBAAiB,GAAG,CAAC,OAAe,EAAE,KAAa,EAAE,EAAE;YACrD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;YAC/C,OAAO,IAAI,CAAC;QACd,CAAC,CAAC;QAEF,cAAS,GAAG,GAAG,EAAE;YAC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
5
|
*/
|
|
6
6
|
export function createTableOfContentsItem(): TableOfContentsItem;
|
|
7
7
|
/**
|
|
8
|
-
* @returns {TableOfContents}
|
|
9
|
-
*/
|
|
10
|
-
export function createTableOfContents(): TableOfContents;
|
|
11
|
-
/**
|
|
12
|
-
* @param {string} s
|
|
13
|
-
* @returns {TableOfContents}
|
|
14
|
-
*/
|
|
15
|
-
export function createTableOfContentsWithInstrText(s: string): TableOfContents;
|
|
16
|
-
/**
|
|
17
8
|
* @param {Run} run
|
|
18
9
|
* @returns {Delete}
|
|
19
10
|
*/
|
|
@@ -138,6 +129,15 @@ export function createDocx(): Docx;
|
|
|
138
129
|
*/
|
|
139
130
|
export function createPageMargin(): PageMargin;
|
|
140
131
|
/**
|
|
132
|
+
* @returns {TableOfContents}
|
|
133
|
+
*/
|
|
134
|
+
export function createTableOfContents(): TableOfContents;
|
|
135
|
+
/**
|
|
136
|
+
* @param {string} s
|
|
137
|
+
* @returns {TableOfContents}
|
|
138
|
+
*/
|
|
139
|
+
export function createTableOfContentsWithInstrText(s: string): TableOfContents;
|
|
140
|
+
/**
|
|
141
141
|
*/
|
|
142
142
|
export enum BorderType {
|
|
143
143
|
Nil,
|
|
@@ -1715,6 +1715,10 @@ export class TableOfContents {
|
|
|
1715
1715
|
*/
|
|
1716
1716
|
dirty(): TableOfContents;
|
|
1717
1717
|
/**
|
|
1718
|
+
* @returns {TableOfContents}
|
|
1719
|
+
*/
|
|
1720
|
+
without_sdt(): TableOfContents;
|
|
1721
|
+
/**
|
|
1718
1722
|
* @param {string} author
|
|
1719
1723
|
* @param {string} date
|
|
1720
1724
|
* @returns {TableOfContents}
|
|
@@ -110,24 +110,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
110
110
|
WASM_VECTOR_LEN = offset;
|
|
111
111
|
return ptr;
|
|
112
112
|
}
|
|
113
|
-
/**
|
|
114
|
-
* @returns {TableOfContents}
|
|
115
|
-
*/
|
|
116
|
-
export function createTableOfContents() {
|
|
117
|
-
var ret = wasm.createTableOfContents();
|
|
118
|
-
return TableOfContents.__wrap(ret);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @param {string} s
|
|
123
|
-
* @returns {TableOfContents}
|
|
124
|
-
*/
|
|
125
|
-
export function createTableOfContentsWithInstrText(s) {
|
|
126
|
-
var ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
127
|
-
var len0 = WASM_VECTOR_LEN;
|
|
128
|
-
var ret = wasm.createTableOfContentsWithInstrText(ptr0, len0);
|
|
129
|
-
return TableOfContents.__wrap(ret);
|
|
130
|
-
}
|
|
131
113
|
|
|
132
114
|
function _assertClass(instance, klass) {
|
|
133
115
|
if (!(instance instanceof klass)) {
|
|
@@ -431,6 +413,25 @@ export function createPageMargin() {
|
|
|
431
413
|
return PageMargin.__wrap(ret);
|
|
432
414
|
}
|
|
433
415
|
|
|
416
|
+
/**
|
|
417
|
+
* @returns {TableOfContents}
|
|
418
|
+
*/
|
|
419
|
+
export function createTableOfContents() {
|
|
420
|
+
var ret = wasm.createTableOfContents();
|
|
421
|
+
return TableOfContents.__wrap(ret);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @param {string} s
|
|
426
|
+
* @returns {TableOfContents}
|
|
427
|
+
*/
|
|
428
|
+
export function createTableOfContentsWithInstrText(s) {
|
|
429
|
+
var ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
430
|
+
var len0 = WASM_VECTOR_LEN;
|
|
431
|
+
var ret = wasm.createTableOfContentsWithInstrText(ptr0, len0);
|
|
432
|
+
return TableOfContents.__wrap(ret);
|
|
433
|
+
}
|
|
434
|
+
|
|
434
435
|
/**
|
|
435
436
|
*/
|
|
436
437
|
export const BorderType = Object.freeze({ Nil:0,"0":"Nil",None:1,"1":"None",Single:2,"2":"Single",Thick:3,"3":"Thick",Double:4,"4":"Double",Dotted:5,"5":"Dotted",Dashed:6,"6":"Dashed",DotDash:7,"7":"DotDash",DotDotDash:8,"8":"DotDotDash",Triple:9,"9":"Triple",ThinThickSmallGap:10,"10":"ThinThickSmallGap",ThickThinSmallGap:11,"11":"ThickThinSmallGap",ThinThickThinSmallGap:12,"12":"ThinThickThinSmallGap",ThinThickMediumGap:13,"13":"ThinThickMediumGap",ThickThinMediumGap:14,"14":"ThickThinMediumGap",ThinThickThinMediumGap:15,"15":"ThinThickThinMediumGap",ThinThickLargeGap:16,"16":"ThinThickLargeGap",ThickThinLargeGap:17,"17":"ThickThinLargeGap",ThinThickThinLargeGap:18,"18":"ThinThickThinLargeGap",Wave:19,"19":"Wave",DoubleWave:20,"20":"DoubleWave",DashSmallGap:21,"21":"DashSmallGap",DashDotStroked:22,"22":"DashDotStroked",ThreeDEmboss:23,"23":"ThreeDEmboss",ThreeDEngrave:24,"24":"ThreeDEngrave",Outset:25,"25":"Outset",Inset:26,"26":"Inset",Apples:27,"27":"Apples",ArchedScallops:28,"28":"ArchedScallops",BabyPacifier:29,"29":"BabyPacifier",BabyRattle:30,"30":"BabyRattle", });
|
|
@@ -3361,6 +3362,14 @@ export class TableOfContents {
|
|
|
3361
3362
|
return TableOfContents.__wrap(ret);
|
|
3362
3363
|
}
|
|
3363
3364
|
/**
|
|
3365
|
+
* @returns {TableOfContents}
|
|
3366
|
+
*/
|
|
3367
|
+
without_sdt() {
|
|
3368
|
+
const ptr = this.__destroy_into_raw();
|
|
3369
|
+
var ret = wasm.tableofcontents_without_sdt(ptr);
|
|
3370
|
+
return TableOfContents.__wrap(ret);
|
|
3371
|
+
}
|
|
3372
|
+
/**
|
|
3364
3373
|
* @param {string} author
|
|
3365
3374
|
* @param {string} date
|
|
3366
3375
|
* @returns {TableOfContents}
|
|
Binary file
|
|
@@ -7,22 +7,6 @@ export function tableofcontentsitem_text(a: number, b: number, c: number): numbe
|
|
|
7
7
|
export function tableofcontentsitem_toc_key(a: number, b: number, c: number): number;
|
|
8
8
|
export function tableofcontentsitem_level(a: number, b: number): number;
|
|
9
9
|
export function tableofcontentsitem_page_ref(a: number, b: number, c: number): number;
|
|
10
|
-
export function __wbg_tableofcontents_free(a: number): void;
|
|
11
|
-
export function createTableOfContents(): number;
|
|
12
|
-
export function createTableOfContentsWithInstrText(a: number, b: number): number;
|
|
13
|
-
export function tableofcontents_heading_styles_range(a: number, b: number, c: number): number;
|
|
14
|
-
export function tableofcontents_add_style_with_level(a: number, b: number, c: number, d: number): number;
|
|
15
|
-
export function tableofcontents_hyperlink(a: number): number;
|
|
16
|
-
export function tableofcontents_alias(a: number, b: number, c: number): number;
|
|
17
|
-
export function tableofcontents_page_ref_placeholder(a: number, b: number, c: number): number;
|
|
18
|
-
export function tableofcontents_add_item(a: number, b: number): number;
|
|
19
|
-
export function tableofcontents_auto(a: number): number;
|
|
20
|
-
export function tableofcontents_dirty(a: number): number;
|
|
21
|
-
export function tableofcontents_delete(a: number, b: number, c: number, d: number, e: number): number;
|
|
22
|
-
export function tableofcontents_add_before_paragraph(a: number, b: number): number;
|
|
23
|
-
export function tableofcontents_add_after_paragraph(a: number, b: number): number;
|
|
24
|
-
export function tableofcontents_add_before_table(a: number, b: number): number;
|
|
25
|
-
export function tableofcontents_add_after_table(a: number, b: number): number;
|
|
26
10
|
export function __wbg_delete_free(a: number): void;
|
|
27
11
|
export function createDelete(a: number): number;
|
|
28
12
|
export function delete_author(a: number, b: number, c: number): number;
|
|
@@ -286,6 +270,23 @@ export function pagemargin_right(a: number, b: number): number;
|
|
|
286
270
|
export function pagemargin_header(a: number, b: number): number;
|
|
287
271
|
export function pagemargin_footer(a: number, b: number): number;
|
|
288
272
|
export function pagemargin_gutter(a: number, b: number): number;
|
|
273
|
+
export function __wbg_tableofcontents_free(a: number): void;
|
|
274
|
+
export function createTableOfContents(): number;
|
|
275
|
+
export function createTableOfContentsWithInstrText(a: number, b: number): number;
|
|
276
|
+
export function tableofcontents_heading_styles_range(a: number, b: number, c: number): number;
|
|
277
|
+
export function tableofcontents_add_style_with_level(a: number, b: number, c: number, d: number): number;
|
|
278
|
+
export function tableofcontents_hyperlink(a: number): number;
|
|
279
|
+
export function tableofcontents_alias(a: number, b: number, c: number): number;
|
|
280
|
+
export function tableofcontents_page_ref_placeholder(a: number, b: number, c: number): number;
|
|
281
|
+
export function tableofcontents_add_item(a: number, b: number): number;
|
|
282
|
+
export function tableofcontents_auto(a: number): number;
|
|
283
|
+
export function tableofcontents_dirty(a: number): number;
|
|
284
|
+
export function tableofcontents_without_sdt(a: number): number;
|
|
285
|
+
export function tableofcontents_delete(a: number, b: number, c: number, d: number, e: number): number;
|
|
286
|
+
export function tableofcontents_add_before_paragraph(a: number, b: number): number;
|
|
287
|
+
export function tableofcontents_add_after_paragraph(a: number, b: number): number;
|
|
288
|
+
export function tableofcontents_add_before_table(a: number, b: number): number;
|
|
289
|
+
export function tableofcontents_add_after_table(a: number, b: number): number;
|
|
289
290
|
export function __wbg_tablecellproperty_free(a: number): void;
|
|
290
291
|
export function __wbg_tableproperty_free(a: number): void;
|
|
291
292
|
export function __wbindgen_malloc(a: number): number;
|
|
@@ -12,6 +12,7 @@ export declare class TableOfContents {
|
|
|
12
12
|
_hyperlink: boolean;
|
|
13
13
|
_alias: string;
|
|
14
14
|
_auto: boolean;
|
|
15
|
+
_withoutSdt: boolean;
|
|
15
16
|
_dirty: boolean;
|
|
16
17
|
_items: TableOfContentsItem[];
|
|
17
18
|
_pageRefPlaceholder: string;
|
|
@@ -33,6 +34,7 @@ export declare class TableOfContents {
|
|
|
33
34
|
pageRefPlaceholder: (placeholder: string) => this;
|
|
34
35
|
auto: () => this;
|
|
35
36
|
dirty: () => this;
|
|
37
|
+
withoutSdt: () => this;
|
|
36
38
|
delete: (author: string, date: string) => this;
|
|
37
39
|
addItem: (item: TableOfContentsItem) => this;
|
|
38
40
|
buildWasmObject: () => wasm.TableOfContents;
|
|
@@ -8,6 +8,7 @@ export class TableOfContents {
|
|
|
8
8
|
this._hyperlink = false;
|
|
9
9
|
this._alias = "";
|
|
10
10
|
this._auto = false;
|
|
11
|
+
this._withoutSdt = false;
|
|
11
12
|
this._dirty = false;
|
|
12
13
|
this._items = [];
|
|
13
14
|
this._pageRefPlaceholder = "";
|
|
@@ -42,6 +43,10 @@ export class TableOfContents {
|
|
|
42
43
|
this._dirty = true;
|
|
43
44
|
return this;
|
|
44
45
|
};
|
|
46
|
+
this.withoutSdt = () => {
|
|
47
|
+
this._withoutSdt = true;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
45
50
|
this.delete = (author, date) => {
|
|
46
51
|
this._delete = { author, date };
|
|
47
52
|
return this;
|
|
@@ -69,6 +74,9 @@ export class TableOfContents {
|
|
|
69
74
|
if (this._dirty) {
|
|
70
75
|
toc = toc.dirty();
|
|
71
76
|
}
|
|
77
|
+
if (this._withoutSdt) {
|
|
78
|
+
toc = toc.without_sdt();
|
|
79
|
+
}
|
|
72
80
|
if (this._pageRefPlaceholder) {
|
|
73
81
|
toc = toc.page_ref_placeholder(this._pageRefPlaceholder);
|
|
74
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-of-contents.js","sourceRoot":"","sources":["../../js/table-of-contents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAIhC,MAAM,OAAO,eAAe;
|
|
1
|
+
{"version":3,"file":"table-of-contents.js","sourceRoot":"","sources":["../../js/table-of-contents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAIhC,MAAM,OAAO,eAAe;IAe1B,YAAY,SAAkB;QAb9B,wBAAmB,GAA4B,IAAI,CAAC;QACpD,qBAAg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AC,CAAC,KAAK,EAAE,CAAC,CAAC;iBACtC;aACF;YAED,OAAO,GAAG,CAAC;QACb,CAAC,CAAC;QAzIA,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,kBAAkB,CAAC,CAAY;QAC7B,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC7B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,cAAc,CAAC,CAAQ;QACrB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC7B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,iBAAiB,CAAC,CAAY;QAC5B,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC5B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,aAAa,CAAC,CAAQ;QACpB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC5B,OAAO,IAAI,CAAC;IACd,CAAC;CAqHF"}
|
package/js/table-of-contents.ts
CHANGED
|
@@ -11,6 +11,7 @@ export class TableOfContents {
|
|
|
11
11
|
_hyperlink = false;
|
|
12
12
|
_alias = "";
|
|
13
13
|
_auto = false;
|
|
14
|
+
_withoutSdt = false;
|
|
14
15
|
_dirty = false;
|
|
15
16
|
_items: TableOfContentsItem[] = [];
|
|
16
17
|
_pageRefPlaceholder = "";
|
|
@@ -77,6 +78,11 @@ export class TableOfContents {
|
|
|
77
78
|
return this;
|
|
78
79
|
};
|
|
79
80
|
|
|
81
|
+
withoutSdt = () => {
|
|
82
|
+
this._withoutSdt = true;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
|
|
80
86
|
delete = (author: string, date: string) => {
|
|
81
87
|
this._delete = { author, date };
|
|
82
88
|
return this;
|
|
@@ -114,6 +120,10 @@ export class TableOfContents {
|
|
|
114
120
|
toc = toc.dirty();
|
|
115
121
|
}
|
|
116
122
|
|
|
123
|
+
if (this._withoutSdt) {
|
|
124
|
+
toc = toc.without_sdt();
|
|
125
|
+
}
|
|
126
|
+
|
|
117
127
|
if (this._pageRefPlaceholder) {
|
|
118
128
|
toc = toc.page_ref_placeholder(this._pageRefPlaceholder);
|
|
119
129
|
}
|