superdoc 0.31.0-next.5 → 0.31.0-next.7

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 (54) hide show
  1. package/dist/chunks/{PdfViewer-DXwcotXc.cjs → PdfViewer-C_gVEaJa.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-BjFaPQBd.es.js → PdfViewer-HhmcCtfd.es.js} +1 -1
  3. package/dist/chunks/{index-B7dC-H-Q-DfBEU7rR.cjs → index-BJ6cOegF-BuvRSNoV.cjs} +1 -1
  4. package/dist/chunks/{index-B7dC-H-Q-BeQx_MXI.es.js → index-BJ6cOegF-C-oX4LAe.es.js} +1 -1
  5. package/dist/chunks/{index-B6TttOzK.es.js → index-Cz10rZ5n.es.js} +3 -3
  6. package/dist/chunks/{index-BF_Yvius.cjs → index-wLtubQ87.cjs} +3 -3
  7. package/dist/chunks/{super-editor.es-CVDIAxlg.cjs → super-editor.es-Bz-s1Pw4.cjs} +351 -155
  8. package/dist/chunks/{super-editor.es-M2e4wbRW.es.js → super-editor.es-C20nShDu.es.js} +351 -155
  9. package/dist/style.css +10 -9
  10. package/dist/super-editor/ai-writer.es.js +2 -2
  11. package/dist/super-editor/chunks/{converter-BIsS-JzD.js → converter-DVDL6NWz.js} +100 -53
  12. package/dist/super-editor/chunks/{docx-zipper-DVDiaIyD.js → docx-zipper-4ipmBNSH.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-ZbcM1RTL.js → editor-B8v33PJq.js} +253 -104
  14. package/dist/super-editor/chunks/{index-B7dC-H-Q.js → index-BJ6cOegF.js} +1 -1
  15. package/dist/super-editor/chunks/{toolbar-8qqw8IXG.js → toolbar-CfUofx7k.js} +2 -2
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/docx-zipper.es.js +2 -2
  18. package/dist/super-editor/editor.es.js +3 -3
  19. package/dist/super-editor/file-zipper.es.js +1 -1
  20. package/dist/super-editor/style.css +10 -9
  21. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +7 -0
  22. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
  23. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +2 -1
  24. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -1
  25. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
  26. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +14 -10
  27. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
  28. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
  29. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
  30. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -0
  31. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
  32. package/dist/super-editor/super-editor/src/extensions/linked-styles/plugin.d.ts.map +1 -1
  33. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
  34. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +8 -2
  35. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
  36. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +19 -0
  37. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts.map +1 -0
  38. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +2 -0
  39. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts +53 -0
  40. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts.map +1 -0
  41. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
  42. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
  43. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +18 -0
  44. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
  45. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
  46. package/dist/super-editor/super-editor.es.js +7 -7
  47. package/dist/super-editor/toolbar.es.js +2 -2
  48. package/dist/super-editor.cjs +1 -1
  49. package/dist/super-editor.es.js +1 -1
  50. package/dist/superdoc.cjs +2 -2
  51. package/dist/superdoc.es.js +2 -2
  52. package/dist/superdoc.umd.js +352 -156
  53. package/dist/superdoc.umd.js.map +1 -1
  54. package/package.json +1 -1
@@ -602,7 +602,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
602
602
 
603
603
  overflow-x: auto;
604
604
  scrollbar-width: thin;
605
- overflow: hidden;
605
+ overflow: visible; /* Allow table to extend beyond margins */
606
606
 
607
607
  /*
608
608
  The border width does not need to be multiplied by two,
@@ -612,7 +612,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
612
612
  .ProseMirror table {
613
613
  border-collapse: collapse;
614
614
  border-spacing: 0;
615
- table-layout: fixed;
615
+ table-layout: auto;
616
616
  margin: 0;
617
617
  /* width: 100%; */
618
618
  }
@@ -621,7 +621,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
621
621
  }
622
622
  .ProseMirror td,
623
623
  .ProseMirror th {
624
- min-width: 1em;
624
+ min-width: 0;
625
625
  position: relative;
626
626
  vertical-align: top;
627
627
  box-sizing: border-box;
@@ -1927,10 +1927,10 @@ on the right if it is inside shape textbox.
1927
1927
  min-height: 40px;
1928
1928
  }
1929
1929
 
1930
- .editor-element[data-v-cd3558fe] {
1930
+ .editor-element[data-v-4615ea7d] {
1931
1931
  position: relative;
1932
1932
  }
1933
- .super-editor-container[data-v-cd3558fe] {
1933
+ .super-editor-container[data-v-4615ea7d] {
1934
1934
  width: auto;
1935
1935
  height: auto;
1936
1936
  min-width: 8in;
@@ -1939,13 +1939,14 @@ on the right if it is inside shape textbox.
1939
1939
  display: flex;
1940
1940
  flex-direction: column;
1941
1941
  }
1942
- .ruler[data-v-cd3558fe] {
1942
+ .ruler[data-v-4615ea7d] {
1943
1943
  margin-bottom: 2px;
1944
1944
  }
1945
- .super-editor[data-v-cd3558fe] {
1945
+ .super-editor[data-v-4615ea7d] {
1946
1946
  color: initial;
1947
+ overflow: hidden;
1947
1948
  }
1948
- .placeholder-editor[data-v-cd3558fe] {
1949
+ .placeholder-editor[data-v-4615ea7d] {
1949
1950
  position: absolute;
1950
1951
  top: 0;
1951
1952
  left: 0;
@@ -1957,7 +1958,7 @@ on the right if it is inside shape textbox.
1957
1958
  background-color: white;
1958
1959
  box-sizing: border-box;
1959
1960
  }
1960
- .placeholder-title[data-v-cd3558fe] {
1961
+ .placeholder-title[data-v-4615ea7d] {
1961
1962
  display: flex;
1962
1963
  justify-content: center;
1963
1964
  margin-bottom: 40px;
@@ -60,4 +60,11 @@ export function hasSomeParentWithClass(element: any, classname: any): any;
60
60
  export function getTextIndentExportValue(indent: string | number): number;
61
61
  export function polygonUnitsToPixels(pu: any): number;
62
62
  export function pixelsToPolygonUnits(pixels: any): number;
63
+ /**
64
+ * @param {number | string} value Value (e.g. 5000 or "100%")
65
+ * @param {"dxa" | "pct" | "nil" | "auto" | null} type Units: either "dxa" (or null/undefined) for absolute measurements in twips, "pct" for relative measurements (either as 1/50 of a percent, or as a percentage with a trailing "%"), "nil" (zero width, see 17.18.90 of ECMA-376-1:2016), or "auto" (
66
+ *
67
+ * @returns {string | null} CSS specification for size (e.g. `100%`, `25px`) or `null` if the type is `"auto"`
68
+ */
69
+ export function convertSizeToCSS(value: number | string, type: "dxa" | "pct" | "nil" | "auto" | null): string | null;
63
70
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAoDD,mDAGC;AAjED,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAYD,yDAGC;AAbD,mDAGC;AAsBD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;EAUC;AAED,qEAuBC;AAED,0EAGC;AAtMD;;;;GAIG;AACH,iDAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAWlB;AApGD,sDAKC;AAdD,0DAOC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAoDD,mDAGC;AAjED,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAYD,yDAGC;AAbD,mDAGC;AAsBD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;EAUC;AAED,qEAuBC;AAED,0EAGC;AAtMD;;;;GAIG;AACH,iDAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAWlB;AApGD,sDAKC;AAdD,0DAOC;AAgSD;;;;;GAKG;AACH,wCALW,MAAM,GAAG,MAAM,QACf,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,GAEnC,MAAM,GAAG,IAAI,CAoDzB"}
@@ -4,9 +4,10 @@
4
4
  * @param {Object} inlineProps - The inline paragraph properties.
5
5
  * @param {boolean} [insideTable=false] - Whether the paragraph is inside a table.
6
6
  * @param {boolean} [overrideInlineStyleId=false] - Whether to override the inline style ID with the one from numbering.
7
+ * @param {string | null} [tableStyleId=null] - styleId for the current table, if any
7
8
  * @returns {Object} The resolved paragraph properties.
8
9
  */
9
- export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean, overrideInlineStyleId?: boolean): any;
10
+ export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean, overrideInlineStyleId?: boolean, tableStyleId?: string | null): any;
10
11
  export function getDefaultProperties(params: any, translator: any): any;
11
12
  export function getStyleProperties(params: any, styleId: any, translator: any): {
12
13
  properties: any;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"AA0EA;;;;;;;GAOG;AACH,mDANW,OAAO,aAAa,EAAE,eAAe,kCAErC,OAAO,0BACP,OAAO,OAuFjB;AA8BD,wEAgBC;AAED;;;;EAsBC;AAED,iHA8DC;AA2CD;;;IAqGC;AAED,oEAyKC;AAED,mDAoFC;AA9qBM,6CALI,OAAO,aAAa,EAAE,eAAe,mGA8D/C;AAsOM,8GAmCN;AAEM,gEAEN"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"AA0EA;;;;;;;;GAQG;AACH,mDAPW,OAAO,aAAa,EAAE,eAAe,kCAErC,OAAO,0BACP,OAAO,iBACP,MAAM,GAAG,IAAI,OAgGvB;AA8BD,wEAgBC;AAED;;;;EAsBC;AAED,iHA8DC;AA2CD;;;IAqGC;AAED,oEAyKC;AAED,mDAoFC;AAxrBM,6CALI,OAAO,aAAa,EAAE,eAAe,mGA8D/C;AAgPM,8GAmCN;AAEM,gEAEN"}
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"AAUO,4CAHI,OAAO,aAAa,EAAE,eAAe,OA8E/C"}
1
+ {"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"AA0BO,4CAHI,OAAO,aAAa,EAAE,eAAe,OAqF/C"}
@@ -1,18 +1,13 @@
1
+ /**
2
+ * @typedef {{borders?: {}, name?: *, justification?: *, fonts?: {}, fontSize?: *, rowBorders?: {}, cellMargins?: {}}} TableStyles
3
+ */
1
4
  /**
2
5
  *
3
6
  * @param {string|null} tableStyleReference
4
7
  * @param {import('@translator').SCEncoderConfig} [params]
5
- * @returns {{borders: {}, name: *, justification: *, fonts: {}, fontSize: *, rowBorders: {}, cellMargins: {}}|null}
8
+ * @returns {TableStyles|null}
6
9
  */
7
- export function _getReferencedTableStyles(tableStyleReference: string | null, params?: import("@translator").SCEncoderConfig): {
8
- borders: {};
9
- name: any;
10
- justification: any;
11
- fonts: {};
12
- fontSize: any;
13
- rowBorders: {};
14
- cellMargins: {};
15
- } | null;
10
+ export function _getReferencedTableStyles(tableStyleReference: string | null, params?: import("@translator").SCEncoderConfig): TableStyles | null;
16
11
  /**
17
12
  * Restore vertically merged cells from a table
18
13
  * @param {Object} table The table node
@@ -26,4 +21,13 @@ export const config: import("@translator").NodeTranslatorConfig;
26
21
  * @type {import('@translator').NodeTranslator}
27
22
  */
28
23
  export const translator: import("@translator").NodeTranslator;
24
+ export type TableStyles = {
25
+ borders?: {};
26
+ name?: any;
27
+ justification?: any;
28
+ fonts?: {};
29
+ fontSize?: any;
30
+ rowBorders?: {};
31
+ cellMargins?: {};
32
+ };
29
33
  //# sourceMappingURL=tbl-translator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tbl-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tbl/tbl-translator.js"],"names":[],"mappings":"AA8PA;;;;;GAKG;AACH,+DAJW,MAAM,GAAC,IAAI,WACX,OAAO,aAAa,EAAE,eAAe,GACnC;IAAC,OAAO,EAAE,EAAE,CAAC;IAAC,IAAI,EAAE,GAAC,CAAC;IAAC,aAAa,EAAE,GAAC,CAAC;IAAC,KAAK,EAAE,EAAE,CAAC;IAAC,QAAQ,EAAE,GAAC,CAAC;IAAC,UAAU,EAAE,EAAE,CAAC;IAAC,WAAW,EAAE,EAAE,CAAA;CAAC,GAAC,IAAI,CAwElH;AAED;;;;;GAKG;AACH,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
1
+ {"version":3,"file":"tbl-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tbl/tbl-translator.js"],"names":[],"mappings":"AAgQA;;GAEG;AAEH;;;;;GAKG;AACH,+DAJW,MAAM,GAAC,IAAI,WACX,OAAO,aAAa,EAAE,eAAe,GACnC,WAAW,GAAC,IAAI,CAwE5B;AAED;;;;;GAKG;AACH,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ;0BArGzC;IAAC,OAAO,CAAC,EAAE,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,GAAC,CAAC;IAAC,aAAa,CAAC,EAAE,GAAC,CAAC;IAAC,KAAK,CAAC,EAAE,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,GAAC,CAAC;IAAC,UAAU,CAAC,EAAE,EAAE,CAAC;IAAC,WAAW,CAAC,EAAE,EAAE,CAAA;CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tblGrid-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.js"],"names":[],"mappings":"AAiJA;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
1
+ {"version":3,"file":"tblGrid-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.js"],"names":[],"mappings":"AAoIA;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"tr-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tr/tr-translator.js"],"names":[],"mappings":"AAqMA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
1
+ {"version":3,"file":"tr-translator.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/super-converter/v3/handlers/w/tr/tr-translator.js"],"names":[],"mappings":"AAsMA,yDAAyD;AACzD,qBADW,OAAO,aAAa,EAAE,oBAAoB,CAQnD;AAEF;;;GAGG;AACH,yBAFU,OAAO,aAAa,EAAE,cAAc,CAEQ"}
@@ -5,4 +5,5 @@ export function getMarksStyle(attrs: any[]): string;
5
5
  export function getQuickFormatList(editor: any): any[];
6
6
  export function generateLinkedStyleString(linkedStyle: any, basedOnStyle: any, node: any, parent: any, includeSpacing?: boolean): string;
7
7
  export function applyLinkedStyleToTransaction(tr: any, editor: any, style: any): boolean;
8
+ export function stepInsertsTextIntoStyledParagraph(tr: any, oldEditorState: any, step: any, stepIndex: any): boolean;
8
9
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/helpers.js"],"names":[],"mappings":"AAiBO,wCANI,MAAM,uBAWhB;AASM,mDAiBN;AAUM,oFAHM,MAAM,CA0ClB;AASM,6CAHM,MAAM,CA2BlB;AAWM,uDAUN;AAcM,wHALI,OAAO,GACL,MAAM,CA2KlB;AAcM,iFANM,OAAO,CA4GnB"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/helpers.js"],"names":[],"mappings":"AAiBO,wCANI,MAAM,uBAWhB;AASM,mDAiBN;AAUM,oFAHM,MAAM,CA0ClB;AASM,6CAHM,MAAM,CA2BlB;AAWM,uDAUN;AAcM,wHALI,OAAO,GACL,MAAM,CA2KlB;AAcM,iFANM,OAAO,CA4GnB;AAGM,qHA2BN"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/plugin.js"],"names":[],"mappings":"AAKA;;GAEG;AACH,mDAAmE;AAY5D,2DAsFN;0BAzGiC,mBAAmB"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/plugin.js"],"names":[],"mappings":"AAKA;;GAEG;AACH,mDAAmE;AAY5D,2DA0FN;0BA7GiC,mBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"AA+BA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH;;;;GAIG;AACH,+EAigBG;;;;;;;;;yBAzkBiC,gBAAgB"}
1
+ {"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"AA+BA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH;;;;GAIG;AACH,+EAmgBG;;;;;;;;;yBA3kBiC,gBAAgB"}
@@ -3,12 +3,14 @@
3
3
  * @property {string} [text] - Text content to insert
4
4
  * @property {Object} [json] - ProseMirror JSON
5
5
  * @property {Object} [attrs] - Node attributes
6
+ * @property {string} [attrs.group] - Group identifier for linking multiple fields (auto-encoded to JSON tag)
6
7
  */
7
8
  /**
8
9
  * @typedef {Object} StructuredContentBlockInsert
9
10
  * @property {string} [html] - HTML content to insert
10
11
  * @property {Object} [json] - ProseMirror JSON
11
12
  * @property {Object} [attrs] - Node attributes
13
+ * @property {string} [attrs.group] - Group identifier for linking multiple fields (auto-encoded to JSON tag)
12
14
  */
13
15
  /**
14
16
  * @typedef {Object} StructuredContentUpdate
@@ -37,7 +39,9 @@ export type StructuredContentInlineInsert = {
37
39
  /**
38
40
  * - Node attributes
39
41
  */
40
- attrs?: any;
42
+ attrs?: {
43
+ group?: string;
44
+ };
41
45
  };
42
46
  export type StructuredContentBlockInsert = {
43
47
  /**
@@ -51,7 +55,9 @@ export type StructuredContentBlockInsert = {
51
55
  /**
52
56
  * - Node attributes
53
57
  */
54
- attrs?: any;
58
+ attrs?: {
59
+ group?: string;
60
+ };
55
61
  };
56
62
  export type StructuredContentUpdate = {
57
63
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAUA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,gGAoUG;;;;;WAhWW,MAAM;;;;;;;;;;;;;;WAON,MAAM;;;;;;;;;;;;;;WAON,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;QAON,MAAM;;;;iBACN,MAAM;;;;UACN,KAAK,CAAC,MAAM,EAAE,CAAC,GAAC,KAAK,CAAC,MAAM,CAAC;;;;mBAC7B,OAAO;;0BApCK,aAAa"}
1
+ {"version":3,"file":"structured-content-commands.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/structured-content/structured-content-commands.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH;;;;;;GAMG;AAEH,gGA2cG;;;;;WAzeW,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;;;;;YAGjB;QAA0B,KAAK,GAApB,MAAM;KACnB;;;;;;WAIa,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;QAON,MAAM;;;;iBACN,MAAM;;;;UACN,KAAK,CAAC,MAAM,EAAE,CAAC,GAAC,KAAK,CAAC,MAAM,CAAC;;;;mBAC7B,OAAO;;0BAxCK,aAAa"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Get structured content nodes by group identifier.
3
+ * Groups are JSON-encoded in the tag attribute as { "group": "value" }.
4
+ * @category Helper
5
+ * @param {string | string[]} groupOrGroups - Single group or array of groups to find
6
+ * @param {import('prosemirror-state').EditorState} state - Editor state
7
+ * @returns {Array<{ node: import('prosemirror-model').Node, pos: number }>} Matching structured content nodes
8
+ * @example
9
+ * // Find all fields with group "customer-info"
10
+ * const fields = editor.helpers.getStructuredContentByGroup('customer-info', editor.state)
11
+ *
12
+ * // Find fields with multiple groups
13
+ * const fields = editor.helpers.getStructuredContentByGroup(['customer-info', 'terms'], editor.state)
14
+ */
15
+ export function getStructuredContentByGroup(groupOrGroups: string | string[], state: import("prosemirror-state").EditorState): Array<{
16
+ node: import("prosemirror-model").Node;
17
+ pos: number;
18
+ }>;
19
+ //# sourceMappingURL=getStructuredContentByGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getStructuredContentByGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,2DAVW,MAAM,GAAG,MAAM,EAAE,SACjB,OAAO,mBAAmB,EAAE,WAAW,GACrC,KAAK,CAAC;IAAE,IAAI,EAAE,OAAO,mBAAmB,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CA0B1E"}
@@ -2,5 +2,7 @@ export * from "./getStructuredContentTags";
2
2
  export * from "./getStructuredContentInlineTags";
3
3
  export * from "./getStructuredContentBlockTags";
4
4
  export * from "./getStructuredContentTagsById";
5
+ export * from "./getStructuredContentByGroup";
5
6
  export * from "./getStructuredContentTablesById";
7
+ export * from "./tagUtils";
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Utilities for handling structured content tags with JSON encoding.
3
+ * Supports extensible tag objects while maintaining backward compatibility with plain strings.
4
+ */
5
+ /**
6
+ * Creates a JSON-encoded tag object.
7
+ * @param {Object} tagData - Tag properties
8
+ * @param {string} [tagData.group] - Group identifier for linking multiple fields
9
+ * @param {...*} [tagData.rest] - Additional extensible properties
10
+ * @returns {string} JSON-encoded tag string
11
+ * @example
12
+ * createTagObject({ group: 'customer-info' })
13
+ * // => '{"group":"customer-info"}'
14
+ *
15
+ * createTagObject({ group: 'terms', style: 'header' })
16
+ * // => '{"group":"terms","style":"header"}'
17
+ */
18
+ export function createTagObject(tagData: {
19
+ group?: string;
20
+ rest?: any[];
21
+ }): string;
22
+ /**
23
+ * Parses a tag value into an object.
24
+ * Returns null for plain string tags or invalid JSON.
25
+ * @param {string} tag - Tag value to parse
26
+ * @returns {Object|null} Parsed tag object or null
27
+ * @example
28
+ * parseTagObject('{"group":"customer-info"}')
29
+ * // => { group: 'customer-info' }
30
+ *
31
+ * parseTagObject('inline_text_sdt')
32
+ * // => null (plain string tag)
33
+ */
34
+ export function parseTagObject(tag: string): any | null;
35
+ /**
36
+ * Checks if a tag has a group property.
37
+ * @param {string} tag - Tag value to check
38
+ * @returns {boolean} True if tag has a group property
39
+ * @example
40
+ * hasGroup('{"group":"customer-info"}') // => true
41
+ * hasGroup('inline_text_sdt') // => false
42
+ */
43
+ export function hasGroup(tag: string): boolean;
44
+ /**
45
+ * Extracts the group value from a tag.
46
+ * @param {string} tag - Tag value
47
+ * @returns {string|null} Group value or null if not found
48
+ * @example
49
+ * getGroup('{"group":"customer-info"}') // => 'customer-info'
50
+ * getGroup('inline_text_sdt') // => null
51
+ */
52
+ export function getGroup(tag: string): string | null;
53
+ //# sourceMappingURL=tagUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tagUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/structured-content/structuredContentHelpers/tagUtils.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AACH,yCAVG;IAAyB,KAAK,GAAtB,MAAM;IACS,IAAI,GAAhB,GAAC,EAAA;CACZ,GAAU,MAAM,CAalB;AAED;;;;;;;;;;;GAWG;AACH,oCATW,MAAM,GACJ,MAAO,IAAI,CAkBvB;AAED;;;;;;;GAOG;AACH,8BANW,MAAM,GACJ,OAAO,CAQnB;AAED;;;;;;;GAOG;AACH,8BANW,MAAM,GACJ,MAAM,GAAC,IAAI,CAQvB"}
@@ -1,4 +1,10 @@
1
- export function updateColumns(node: any, colgroup: any, table: any, cellMinWidth: any, overrideCol: any, overrideValue: any, editor: any): void;
1
+ /**
2
+ * @param {import('./table.js').TableNode} node
3
+ * @param {HTMLTableColElement} colgroup
4
+ * @param {HTMLTableElement} table
5
+ * @param {number} cellMinWidth
6
+ */
7
+ export function updateColumns(node: import("./table.js").TableNode, colgroup: HTMLTableColElement, table: HTMLTableElement, cellMinWidth: number): void;
2
8
  export function createTableView({ editor }: {
3
9
  editor: any;
4
10
  }): {
@@ -1 +1 @@
1
- {"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table/TableView.js"],"names":[],"mappings":"AAoEA,gJAsHC;AAlLM;;;;;;;;;;;;;;EA0DN"}
1
+ {"version":3,"file":"TableView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table/TableView.js"],"names":[],"mappings":"AAmEA;;;;;GAKG;AACH,oCALW,OAAO,YAAY,EAAE,SAAS,YAC9B,mBAAmB,SACnB,gBAAgB,gBAChB,MAAM,QA6FhB;AA7JM;;;;;;;;;;;;;;EA0DN"}
@@ -48,6 +48,15 @@
48
48
  * @property {import('prosemirror-model').Node} cell - The cell node
49
49
  * @property {Object} attrs - Cell attributes
50
50
  */
51
+ /**
52
+ * @typedef {Object} TableNodeAttributes
53
+ * @property {TableProperties} tableProperties
54
+ * @property {TableGrid} grid
55
+ */
56
+ /**
57
+ * @typedef {Node} TableNode
58
+ * @property {TableNodeAttributes} attrs
59
+ */
51
60
  /**
52
61
  * @module Table
53
62
  * @sidebarTitle Table
@@ -369,6 +378,10 @@ export type TableProperties = {
369
378
  * - Table border configuration
370
379
  */
371
380
  borders?: TableBorders;
381
+ /**
382
+ * - Cell margin configuration
383
+ */
384
+ cellMargins?: TableCellMargins;
372
385
  };
373
386
  /**
374
387
  * Column width definition
@@ -540,5 +553,10 @@ export type CurrentCellInfo = {
540
553
  */
541
554
  attrs: any;
542
555
  };
556
+ export type TableNodeAttributes = {
557
+ tableProperties: TableProperties;
558
+ grid: TableGrid;
559
+ };
560
+ export type TableNode = Node;
543
561
  import { Node } from '@core/index.js';
544
562
  //# source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;;;;;;;;gBAMN,QAAQ,EAAE;;;;;;;;;eAMV,OAAO,mBAAmB,EAAE,QAAQ;;;;gBACpC,MAAO,IAAI;;;;eACX,KAAK,CAAC,OAAO,mBAAmB,EAAE,IAAI,CAAC;;;;;;;;;YAMvC,OAAO,mBAAmB,EAAE,MAAM;;;;eAClC,OAAO,mBAAmB,EAAE,IAAI;;;;iBAChC,OAAO,mBAAmB,EAAE,IAAI;;;;;;;;mBAEhC,OAAO;;;;;;;;;eAMP,MAAM;;;;gBACN,OAAO,mBAAmB,EAAE,IAAI;;;;eAChC,MAAM,EAAE,EAAE;;;;mBACV,OAAO;;;;;;;;;QAMP,OAAO,mBAAmB,EAAE,WAAW;;;;cACvC,MAAM;;;;eACN,OAAO,mBAAmB,EAAE,IAAI;;;;UAChC,OAAO,mBAAmB,EAAE,IAAI,EAAE;;;;;;;;;WAmDlC,MAAM;;;;WACN,MAAM;;;;oBACN,OAAO;;;;;;;;;WAMP,MAAM;;;;WACN,MAAM;;;;;;;;;gBAMN,MAAM;;;;cACN,MAAM;;;;;;;;;;;;;;;;;;;;;UAiCN,OAAO,mBAAmB,EAAE,IAAI;;;;;;;qBAMhC,eAAe;UACf,SAAS;;wBAIV,IAAI;qBA5Ge,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table-cell/table-cell.js"],"names":[],"mappings":"AA0CA;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;GAIG;AACH;;;;0BAwIG;;;;;;;;eAvNW,OAAO;;;;cACP,OAAO;;;;kBACP,OAAO;;;;iBACP,OAAO;;;;eACP,OAAO;;;;gBACP,OAAO;;;;eACP,OAAO;;;;gBACP,OAAO;;;;0BACP,OAAO;;;;yBACP,OAAO;;;;yBACP,OAAO;;;;wBACP,OAAO;;;;;;;;;eAOP,QAAQ;;;;gBACR,OAAO,mBAAmB,EAAE,gBAAgB;;;;eAC5C,MAAM;;;;aACN,SAAS,GAAG,UAAU;;;;cACtB,OAAO,mBAAmB,EAAE,YAAY;;;;cACxC,OAAO,mBAAmB,EAAE,iBAAiB;;;;aAC7C,OAAO;;;;kBACP,OAAO,mBAAmB,EAAE,gBAAgB;;;;oBAC5C,MAAM,GAAG,MAAM;;;;gBACf,OAAO;;;;aACP,KAAK,GAAG,QAAQ,GAAG,QAAQ;;;;eAC3B,OAAO;;;;cACP;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,EAAE;;;;;;;;;UAUlB,MAAM;;;;YACN,MAAM;;;;aACN,MAAM;;;;WACN,MAAM;;;;;;;;;WAMN,MAAM;;;;;;;;;;qBAfY,gBAAgB"}
1
+ {"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/table-cell/table-cell.js"],"names":[],"mappings":"AA0CA;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;GAIG;AACH;;;;0BA4IG;;;;;;;;eA3NW,OAAO;;;;cACP,OAAO;;;;kBACP,OAAO;;;;iBACP,OAAO;;;;eACP,OAAO;;;;gBACP,OAAO;;;;eACP,OAAO;;;;gBACP,OAAO;;;;0BACP,OAAO;;;;yBACP,OAAO;;;;yBACP,OAAO;;;;wBACP,OAAO;;;;;;;;;eAOP,QAAQ;;;;gBACR,OAAO,mBAAmB,EAAE,gBAAgB;;;;eAC5C,MAAM;;;;aACN,SAAS,GAAG,UAAU;;;;cACtB,OAAO,mBAAmB,EAAE,YAAY;;;;cACxC,OAAO,mBAAmB,EAAE,iBAAiB;;;;aAC7C,OAAO;;;;kBACP,OAAO,mBAAmB,EAAE,gBAAgB;;;;oBAC5C,MAAM,GAAG,MAAM;;;;gBACf,OAAO;;;;aACP,KAAK,GAAG,QAAQ,GAAG,QAAQ;;;;eAC3B,OAAO;;;;cACP;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,EAAE;;;;;;;;;UAUlB,MAAM;;;;YACN,MAAM;;;;aACN,MAAM;;;;WACN,MAAM;;;;;;;;;WAMN,MAAM;;;;;;;;;;qBAfY,gBAAgB"}
@@ -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, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn;
12
- import { aF as getDefaultExportFromCjs, X as v4, T as TextSelection$1, v as getMarkRange, aI as vClickOutside, aJ as getActiveFormatting, aA as isInTable, I as findParentNode, J as isList, aK as readFromClipboard, aL as handleClipboardPaste, aM as getFileObject, aN as translator, aO as translator$1, aP as translator$2, aQ as translator$3, aR as translator$4, aS as translator$5, aT as translator$6, aU as translator$7, aV as translator$8, aW as translator$9, aX as translator$a, aY as translator$b, aZ as translator$c, a_ as translator$d, a$ as translator$e, b0 as commentRangeEndTranslator, b1 as commentRangeStartTranslator, b2 as translator$f, b3 as translator$g, b4 as translator$h, b5 as translator$i, b6 as translator$j, b7 as translator$k, b8 as translator$l, b9 as translator$m, ba as translator$n, bb as translator$o, bc as translator$p, bd as translator$q, be as translator$r, bf as translator$s, bg as translator$t, bh as translator$u, bi as translator$v, bj as translator$w, bk as translator$x, bl as translator$y, bm as translator$z, bn as translator$A, bo as translator$B, bp as translator$C, bq as translator$D, br as translator$E, bs as translator$F, bt as translator$G, bu as translator$H, bv as translator$I, bw as translator$J, bx as translator$K, by as translator$L, bz as translator$M, bA as translator$N, bB as translator$O, bC as translator$P, bD as translator$Q, bE as translator$R, bF as translator$S, bG as translator$T, bH as translator$U, bI as translator$V, bJ as translator$W, bK as translator$X, bL as translator$Y, bM as translator$Z, bN as translator$_, bO as translator$$, bP as translator$10, bQ as translator$11, bR as translator$12, bS as translator$13, bT as translator$14, bU as translator$15, bV as translator$16, bW as translator$17, bX as translator$18, bY as translator$19, bZ as translator$1a, b_ as translator$1b, b$ as translator$1c, c0 as translator$1d, c1 as translator$1e, c2 as translator$1f, c3 as translator$1g, c4 as translator$1h, c5 as translator$1i, c6 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-BIsS-JzD.js";
13
- import { a7, i, a4 } from "./chunks/converter-BIsS-JzD.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, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, l as isHeadless, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-ZbcM1RTL.js";
15
- import { v, C, w, T, q, x, t } from "./chunks/editor-ZbcM1RTL.js";
12
+ import { aF as getDefaultExportFromCjs, X as v4, T as TextSelection$1, v as getMarkRange, aI as vClickOutside, aJ as getActiveFormatting, aA as isInTable, I as findParentNode, J as isList, aK as readFromClipboard, aL as handleClipboardPaste, aM as getFileObject, aN as translator, aO as translator$1, aP as translator$2, aQ as translator$3, aR as translator$4, aS as translator$5, aT as translator$6, aU as translator$7, aV as translator$8, aW as translator$9, aX as translator$a, aY as translator$b, aZ as translator$c, a_ as translator$d, a$ as translator$e, b0 as commentRangeEndTranslator, b1 as commentRangeStartTranslator, b2 as translator$f, b3 as translator$g, b4 as translator$h, b5 as translator$i, b6 as translator$j, b7 as translator$k, b8 as translator$l, b9 as translator$m, ba as translator$n, bb as translator$o, bc as translator$p, bd as translator$q, be as translator$r, bf as translator$s, bg as translator$t, bh as translator$u, bi as translator$v, bj as translator$w, bk as translator$x, bl as translator$y, bm as translator$z, bn as translator$A, bo as translator$B, bp as translator$C, bq as translator$D, br as translator$E, bs as translator$F, bt as translator$G, bu as translator$H, bv as translator$I, bw as translator$J, bx as translator$K, by as translator$L, bz as translator$M, bA as translator$N, bB as translator$O, bC as translator$P, bD as translator$Q, bE as translator$R, bF as translator$S, bG as translator$T, bH as translator$U, bI as translator$V, bJ as translator$W, bK as translator$X, bL as translator$Y, bM as translator$Z, bN as translator$_, bO as translator$$, bP as translator$10, bQ as translator$11, bR as translator$12, bS as translator$13, bT as translator$14, bU as translator$15, bV as translator$16, bW as translator$17, bX as translator$18, bY as translator$19, bZ as translator$1a, b_ as translator$1b, b$ as translator$1c, c0 as translator$1d, c1 as translator$1e, c2 as translator$1f, c3 as translator$1g, c4 as translator$1h, c5 as translator$1i, c6 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-DVDL6NWz.js";
13
+ import { a7, i, a4 } from "./chunks/converter-DVDL6NWz.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, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, l as isHeadless, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-B8v33PJq.js";
15
+ import { v, C, w, T, q, x, t } from "./chunks/editor-B8v33PJq.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, defineComponent, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
17
- import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-8qqw8IXG.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-CfUofx7k.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-DVDiaIyD.js";
19
+ import { D } from "./chunks/docx-zipper-4ipmBNSH.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -5063,7 +5063,7 @@ const _sfc_main$1 = {
5063
5063
  };
5064
5064
  }
5065
5065
  };
5066
- const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cd3558fe"]]);
5066
+ const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-4615ea7d"]]);
5067
5067
  const _hoisted_1 = ["innerHTML"];
5068
5068
  const _sfc_main = {
5069
5069
  __name: "SuperInput",
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-8qqw8IXG.js";
3
- import "./chunks/editor-ZbcM1RTL.js";
2
+ import { T } from "./chunks/toolbar-CfUofx7k.js";
3
+ import "./chunks/editor-B8v33PJq.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-CVDIAxlg.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-Bz-s1Pw4.cjs");
4
4
  require("./chunks/vue-Cwv-wUpm.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-M2e4wbRW.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-C20nShDu.es.js";
2
2
  import "./chunks/vue-CKmzTNVs.es.js";
3
3
  export {
4
4
  A as AIWriter,
package/dist/superdoc.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-CVDIAxlg.cjs");
4
- const superdoc = require("./chunks/index-BF_Yvius.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-Bz-s1Pw4.cjs");
4
+ const superdoc = require("./chunks/index-wLtubQ87.cjs");
5
5
  const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
7
7
  exports.Editor = superEditor_es.Editor;
@@ -1,5 +1,5 @@
1
- import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-M2e4wbRW.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-B6TttOzK.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-C20nShDu.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-Cz10rZ5n.es.js";
3
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
4
4
  export {
5
5
  a as AnnotatorHelpers,