@harbour-enterprises/superdoc 0.23.0-next.14 → 0.23.0-next.16

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.
Files changed (36) hide show
  1. package/dist/chunks/{PdfViewer-D3cgkd9j.cjs → PdfViewer-CJrsZCLf.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-BaaVD5bX.es.js → PdfViewer-DfGIeWvO.es.js} +1 -1
  3. package/dist/chunks/{eventemitter3-CR2eBWft.es.js → eventemitter3-BWEnUdTY.es.js} +1 -1
  4. package/dist/chunks/{eventemitter3-DSRogsNq.cjs → eventemitter3-DkXkH2rT.cjs} +1 -1
  5. package/dist/chunks/{index-CESuSQe2.es.js → index-CwhKMy0h.es.js} +27 -332
  6. package/dist/chunks/{index-CAHkANZY.cjs → index-DGSQ4Gfx.cjs} +160 -465
  7. package/dist/chunks/{super-editor.es-BYutUrPg.cjs → super-editor.es-b9ACFl9D.cjs} +649 -125
  8. package/dist/chunks/{super-editor.es-BKb7p4fi.es.js → super-editor.es-bIibjiHo.es.js} +649 -125
  9. package/dist/chunks/{xml-js-CWV8R-ek.cjs → xml-js-D_ZIzxu0.cjs} +1 -1
  10. package/dist/chunks/xml-js-Dx4FIjnp.es.js +2 -0
  11. package/dist/core/types/index.d.ts +19 -1
  12. package/dist/core/types/index.d.ts.map +1 -1
  13. package/dist/super-editor/ai-writer.es.js +2 -2
  14. package/dist/super-editor/chunks/{converter-DD7uNz2k.js → converter-vEmAnrOg.js} +665 -249
  15. package/dist/super-editor/chunks/{docx-zipper-DraPR30Z.js → docx-zipper-DA00N7eN.js} +1 -1
  16. package/dist/super-editor/chunks/{editor-xzhKWRFZ.js → editor-CVzagv2Y.js} +127 -19
  17. package/dist/super-editor/chunks/{toolbar-D6SJTVWT.js → toolbar-BCJtFyig.js} +2 -2
  18. package/dist/super-editor/converter.es.js +1 -1
  19. package/dist/super-editor/docx-zipper.es.js +2 -2
  20. package/dist/super-editor/editor.es.js +3 -3
  21. package/dist/super-editor/file-zipper.es.js +1 -1
  22. package/dist/super-editor/src/core/Editor.d.ts +57 -3
  23. package/dist/super-editor/src/core/super-converter/SuperConverter.d.ts +58 -2
  24. package/dist/super-editor/src/core/super-converter/exporter-docx-defs.d.ts +28 -39
  25. package/dist/super-editor/super-editor.es.js +6 -6
  26. package/dist/super-editor/toolbar.es.js +2 -2
  27. package/dist/super-editor.cjs +1 -1
  28. package/dist/super-editor.es.js +1 -1
  29. package/dist/superdoc.cjs +2 -3
  30. package/dist/superdoc.es.js +2 -3
  31. package/dist/superdoc.umd.js +674 -455
  32. package/dist/superdoc.umd.js.map +1 -1
  33. package/package.json +1 -1
  34. package/dist/chunks/xml-js-Bbc0NeKa.es.js +0 -2
  35. package/dist/chunks/{jszip-DAXEPCUv.es.js → jszip-BDk3JBqp.es.js} +3 -3
  36. package/dist/chunks/{jszip-B4LDL19y.cjs → jszip-u4dvXAKa.cjs} +3 -3
@@ -57,21 +57,10 @@ export namespace DEFAULT_CUSTOM_XML {
57
57
  elements: any[];
58
58
  }[];
59
59
  }
60
- export namespace SETTINGS_CUSTOM_XML {
61
- let elements_1: {
62
- type: string;
63
- name: string;
64
- attributes: {
65
- 'xmlns:w': string;
66
- };
67
- elements: any[];
68
- }[];
69
- export { elements_1 as elements };
70
- }
71
60
  export namespace COMMENT_REF {
72
61
  export let type: string;
73
62
  export let name: string;
74
- let elements_2: ({
63
+ let elements_1: ({
75
64
  type: string;
76
65
  name: string;
77
66
  elements: {
@@ -86,7 +75,7 @@ export namespace COMMENT_REF {
86
75
  name: string;
87
76
  elements?: undefined;
88
77
  })[];
89
- export { elements_2 as elements };
78
+ export { elements_1 as elements };
90
79
  }
91
80
  export namespace DEFAULT_LINKED_STYLES {
92
81
  namespace Normal {
@@ -99,7 +88,7 @@ export namespace DEFAULT_LINKED_STYLES {
99
88
  'w:default': string;
100
89
  'w:styleId': string;
101
90
  };
102
- let elements_3: ({
91
+ let elements_2: ({
103
92
  type: string;
104
93
  name: string;
105
94
  attributes: {
@@ -110,7 +99,7 @@ export namespace DEFAULT_LINKED_STYLES {
110
99
  name: string;
111
100
  attributes?: undefined;
112
101
  })[];
113
- export { elements_3 as elements };
102
+ export { elements_2 as elements };
114
103
  }
115
104
  namespace Title {
116
105
  let type_2: string;
@@ -122,7 +111,7 @@ export namespace DEFAULT_LINKED_STYLES {
122
111
  'w:styleId': string;
123
112
  };
124
113
  export { attributes_1 as attributes };
125
- let elements_4: ({
114
+ let elements_3: ({
126
115
  type: string;
127
116
  name: string;
128
117
  attributes: {
@@ -175,7 +164,7 @@ export namespace DEFAULT_LINKED_STYLES {
175
164
  })[];
176
165
  attributes?: undefined;
177
166
  })[];
178
- export { elements_4 as elements };
167
+ export { elements_3 as elements };
179
168
  }
180
169
  namespace Subtitle {
181
170
  let type_3: string;
@@ -187,7 +176,7 @@ export namespace DEFAULT_LINKED_STYLES {
187
176
  'w:styleId': string;
188
177
  };
189
178
  export { attributes_2 as attributes };
190
- let elements_5: ({
179
+ let elements_4: ({
191
180
  type: string;
192
181
  name: string;
193
182
  attributes: {
@@ -264,7 +253,7 @@ export namespace DEFAULT_LINKED_STYLES {
264
253
  })[];
265
254
  attributes?: undefined;
266
255
  })[];
267
- export { elements_5 as elements };
256
+ export { elements_4 as elements };
268
257
  }
269
258
  namespace Heading1 {
270
259
  let type_4: string;
@@ -276,7 +265,7 @@ export namespace DEFAULT_LINKED_STYLES {
276
265
  'w:styleId': string;
277
266
  };
278
267
  export { attributes_3 as attributes };
279
- let elements_6: ({
268
+ let elements_5: ({
280
269
  type: string;
281
270
  name: string;
282
271
  attributes: {
@@ -355,7 +344,7 @@ export namespace DEFAULT_LINKED_STYLES {
355
344
  })[];
356
345
  attributes?: undefined;
357
346
  })[];
358
- export { elements_6 as elements };
347
+ export { elements_5 as elements };
359
348
  }
360
349
  namespace Heading2 {
361
350
  let type_5: string;
@@ -367,7 +356,7 @@ export namespace DEFAULT_LINKED_STYLES {
367
356
  'w:styleId': string;
368
357
  };
369
358
  export { attributes_4 as attributes };
370
- let elements_7: ({
359
+ let elements_6: ({
371
360
  type: string;
372
361
  name: string;
373
362
  attributes: {
@@ -446,7 +435,7 @@ export namespace DEFAULT_LINKED_STYLES {
446
435
  })[];
447
436
  attributes?: undefined;
448
437
  })[];
449
- export { elements_7 as elements };
438
+ export { elements_6 as elements };
450
439
  }
451
440
  namespace Heading3 {
452
441
  let type_6: string;
@@ -458,7 +447,7 @@ export namespace DEFAULT_LINKED_STYLES {
458
447
  'w:styleId': string;
459
448
  };
460
449
  export { attributes_5 as attributes };
461
- let elements_8: ({
450
+ let elements_7: ({
462
451
  type: string;
463
452
  name: string;
464
453
  attributes: {
@@ -531,7 +520,7 @@ export namespace DEFAULT_LINKED_STYLES {
531
520
  })[];
532
521
  attributes?: undefined;
533
522
  })[];
534
- export { elements_8 as elements };
523
+ export { elements_7 as elements };
535
524
  }
536
525
  }
537
526
  export namespace COMMENTS_XML_DEF {
@@ -543,7 +532,7 @@ export namespace COMMENTS_XML_DEF {
543
532
  }
544
533
  export { attributes_6 as attributes };
545
534
  }
546
- let elements_9: {
535
+ let elements_8: {
547
536
  type: string;
548
537
  name: string;
549
538
  attributes: {
@@ -586,7 +575,7 @@ export namespace COMMENTS_XML_DEF {
586
575
  };
587
576
  elements: any[];
588
577
  }[];
589
- export { elements_9 as elements };
578
+ export { elements_8 as elements };
590
579
  }
591
580
  export namespace COMMENTS_EXTENDED_XML_DEF {
592
581
  export namespace declaration_1 {
@@ -601,7 +590,7 @@ export namespace COMMENTS_EXTENDED_XML_DEF {
601
590
  export { attributes_7 as attributes };
602
591
  }
603
592
  export { declaration_1 as declaration };
604
- let elements_10: {
593
+ let elements_9: {
605
594
  type: string;
606
595
  name: string;
607
596
  attributes: {
@@ -644,7 +633,7 @@ export namespace COMMENTS_EXTENDED_XML_DEF {
644
633
  };
645
634
  elements: any[];
646
635
  }[];
647
- export { elements_10 as elements };
636
+ export { elements_9 as elements };
648
637
  }
649
638
  export namespace COMMENTS_EXTENSIBLE_XML_DEF {
650
639
  export namespace declaration_2 {
@@ -659,7 +648,7 @@ export namespace COMMENTS_EXTENSIBLE_XML_DEF {
659
648
  export { attributes_8 as attributes };
660
649
  }
661
650
  export { declaration_2 as declaration };
662
- let elements_11: {
651
+ let elements_10: {
663
652
  type: string;
664
653
  name: string;
665
654
  attributes: {
@@ -703,7 +692,7 @@ export namespace COMMENTS_EXTENSIBLE_XML_DEF {
703
692
  };
704
693
  elements: any[];
705
694
  }[];
706
- export { elements_11 as elements };
695
+ export { elements_10 as elements };
707
696
  }
708
697
  export namespace COMMENTS_IDS_XML_DEF {
709
698
  export namespace declaration_3 {
@@ -718,7 +707,7 @@ export namespace COMMENTS_IDS_XML_DEF {
718
707
  export { attributes_9 as attributes };
719
708
  }
720
709
  export { declaration_3 as declaration };
721
- let elements_12: {
710
+ let elements_11: {
722
711
  type: string;
723
712
  name: string;
724
713
  attributes: {
@@ -761,7 +750,7 @@ export namespace COMMENTS_IDS_XML_DEF {
761
750
  };
762
751
  elements: any[];
763
752
  }[];
764
- export { elements_12 as elements };
753
+ export { elements_11 as elements };
765
754
  }
766
755
  export namespace DOCUMENT_RELS_XML_DEF {
767
756
  export namespace declaration_4 {
@@ -776,7 +765,7 @@ export namespace DOCUMENT_RELS_XML_DEF {
776
765
  export { attributes_10 as attributes };
777
766
  }
778
767
  export { declaration_4 as declaration };
779
- let elements_13: {
768
+ let elements_12: {
780
769
  type: string;
781
770
  name: string;
782
771
  attributes: {
@@ -792,7 +781,7 @@ export namespace DOCUMENT_RELS_XML_DEF {
792
781
  };
793
782
  }[];
794
783
  }[];
795
- export { elements_13 as elements };
784
+ export { elements_12 as elements };
796
785
  }
797
786
  export namespace PEOPLE_XML_DEF {
798
787
  export namespace declaration_5 {
@@ -807,7 +796,7 @@ export namespace PEOPLE_XML_DEF {
807
796
  export { attributes_11 as attributes };
808
797
  }
809
798
  export { declaration_5 as declaration };
810
- let elements_14: {
799
+ let elements_13: {
811
800
  type: string;
812
801
  name: string;
813
802
  attributes: {
@@ -857,7 +846,7 @@ export namespace PEOPLE_XML_DEF {
857
846
  elements: any[];
858
847
  }[];
859
848
  }[];
860
- export { elements_14 as elements };
849
+ export { elements_13 as elements };
861
850
  }
862
851
  export namespace CONTENT_TYPES {
863
852
  export namespace declaration_6 {
@@ -872,7 +861,7 @@ export namespace CONTENT_TYPES {
872
861
  export { attributes_12 as attributes };
873
862
  }
874
863
  export { declaration_6 as declaration };
875
- let elements_15: {
864
+ let elements_14: {
876
865
  type: string;
877
866
  name: string;
878
867
  attributes: {
@@ -896,7 +885,7 @@ export namespace CONTENT_TYPES {
896
885
  };
897
886
  })[];
898
887
  }[];
899
- export { elements_15 as elements };
888
+ export { elements_14 as elements };
900
889
  }
901
890
  /**
902
891
  * @type {CommentsXmlDefinitions}
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
9
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
10
10
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
11
11
  var _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, runCommandWithArgumentOnly_fn;
12
- import { ax as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aA as vClickOutside, H as findParentNode, aB as getActiveFormatting, at as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as runPropertyTranslators, aG as translator, aH as translator$1, aI as translator$2, aJ as translator$3, aK as translator$4, aL as translator$5, aM as translator$6, aN as translator$7, aO as translator$8, aP as translator$9, aQ as translator$a, aR as translator$b, aS as translator$c, aT as translator$d, aU as translator$e, aV as translator$f, aW as translator$g, aX as translator$h, aY as translator$i, aZ as translator$j, a_ as translator$k, a$ as translator$l, b0 as translator$m, b1 as translator$n, b2 as translator$o, b3 as translator$p, b4 as translator$q, b5 as translator$r, b6 as translator$s, b7 as translator$t, b8 as translator$u, b9 as translator$v, ba as translator$w, bb as translator$x, bc as translator$y, bd as translator$z, be as translator$A, bf as translator$B, bg as translator$C, bh as translator$D, bi as translator$E, bj as translator$F, bk as translator$G, bl as translator$H, bm as translator$I, bn as translator$J, bo as translator$K, bp as translator$L, bq as translator$M, br as translator$N, bs as translator$O, bt as translator$P, bu as translator$Q, bv as translator$R, bw as translator$S, bx as translator$T, by as translator$U, bz as translator$V, bA as translator$W, bB as translator$X, bC as translator$Y, bD as translator$Z, bE as translator$_, bF as translator$$, bG as translator$10, bH as translator$11, bI as translator$12, a as Plugin } from "./chunks/converter-DD7uNz2k.js";
13
- import { bJ, a5, i, a2 } from "./chunks/converter-DD7uNz2k.js";
14
- import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, y as yUndoPluginKey, f as undoDepth, h as redoDepth, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, i as getStarterExtensions, P as Placeholder, j as getRichTextExtensions, M as Mark, k as Extension, A as Attribute, N as Node } from "./chunks/editor-xzhKWRFZ.js";
15
- import { n, C, o, T, l, p, m } from "./chunks/editor-xzhKWRFZ.js";
12
+ import { ax as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aA as vClickOutside, H as findParentNode, aB as getActiveFormatting, at as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as runPropertyTranslators, aG as translator, aH as translator$1, aI as translator$2, aJ as translator$3, aK as translator$4, aL as translator$5, aM as translator$6, aN as translator$7, aO as translator$8, aP as translator$9, aQ as translator$a, aR as translator$b, aS as translator$c, aT as translator$d, aU as translator$e, aV as translator$f, aW as translator$g, aX as translator$h, aY as translator$i, aZ as translator$j, a_ as translator$k, a$ as translator$l, b0 as translator$m, b1 as translator$n, b2 as translator$o, b3 as translator$p, b4 as translator$q, b5 as translator$r, b6 as translator$s, b7 as translator$t, b8 as translator$u, b9 as translator$v, ba as translator$w, bb as translator$x, bc as translator$y, bd as translator$z, be as translator$A, bf as translator$B, bg as translator$C, bh as translator$D, bi as translator$E, bj as translator$F, bk as translator$G, bl as translator$H, bm as translator$I, bn as translator$J, bo as translator$K, bp as translator$L, bq as translator$M, br as translator$N, bs as translator$O, bt as translator$P, bu as translator$Q, bv as translator$R, bw as translator$S, bx as translator$T, by as translator$U, bz as translator$V, bA as translator$W, bB as translator$X, bC as translator$Y, bD as translator$Z, bE as translator$_, bF as translator$$, bG as translator$10, bH as translator$11, bI as translator$12, a as Plugin } from "./chunks/converter-vEmAnrOg.js";
13
+ import { bJ, a5, i, a2 } from "./chunks/converter-vEmAnrOg.js";
14
+ import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, y as yUndoPluginKey, f as undoDepth, h as redoDepth, s as shouldBypassContextMenu, S as SlashMenuPluginKey, E as Editor, i as getStarterExtensions, P as Placeholder, j as getRichTextExtensions, M as Mark, k as Extension, A as Attribute, N as Node } from "./chunks/editor-CVzagv2Y.js";
15
+ import { n, C, o, T, l, p, m } from "./chunks/editor-CVzagv2Y.js";
16
16
  import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
17
- import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, p as plusIconSvg, a as trashIconSvg, l as linkIconSvg, b as tableIconSvg, c as scissorsIconSvg, d as copyIconSvg, e as pasteIconSvg, f as borderNoneIconSvg, g as arrowsToDotIconSvg, h as arrowsLeftRightIconSvg, w as wrenchIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-D6SJTVWT.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, p as plusIconSvg, a as trashIconSvg, l as linkIconSvg, b as tableIconSvg, c as scissorsIconSvg, d as copyIconSvg, e as pasteIconSvg, f as borderNoneIconSvg, g as arrowsToDotIconSvg, h as arrowsLeftRightIconSvg, w as wrenchIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-BCJtFyig.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-DraPR30Z.js";
19
+ import { D } from "./chunks/docx-zipper-DA00N7eN.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-D6SJTVWT.js";
3
- import "./chunks/editor-xzhKWRFZ.js";
2
+ import { T } from "./chunks/toolbar-BCJtFyig.js";
3
+ import "./chunks/editor-CVzagv2Y.js";
4
4
  export {
5
5
  T as default
6
6
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-BYutUrPg.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-b9ACFl9D.cjs");
4
4
  require("./chunks/vue-DKMj1I9B.cjs");
5
5
  exports.AIWriter = superEditor_es.AIWriter;
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
@@ -1,4 +1,4 @@
1
- import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-BKb7p4fi.es.js";
1
+ import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-bIibjiHo.es.js";
2
2
  import "./chunks/vue-ZWZLQtoU.es.js";
3
3
  export {
4
4
  A as AIWriter,
package/dist/superdoc.cjs CHANGED
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-BYutUrPg.cjs");
4
- const superdoc = require("./chunks/index-CAHkANZY.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-b9ACFl9D.cjs");
4
+ const superdoc = require("./chunks/index-DGSQ4Gfx.cjs");
5
5
  require("./chunks/vue-DKMj1I9B.cjs");
6
- require("./chunks/jszip-B4LDL19y.cjs");
7
6
  const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
8
7
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
9
8
  exports.Editor = superEditor_es.Editor;
@@ -1,7 +1,6 @@
1
- import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-BKb7p4fi.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-CESuSQe2.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-bIibjiHo.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-CwhKMy0h.es.js";
3
3
  import "./chunks/vue-ZWZLQtoU.es.js";
4
- import "./chunks/jszip-DAXEPCUv.es.js";
5
4
  import { B } from "./chunks/blank-docx-iwdyG9RH.es.js";
6
5
  export {
7
6
  a as AnnotatorHelpers,