@harbour-enterprises/superdoc 0.20.0-next.5 → 0.20.0-next.6

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 (90) hide show
  1. package/dist/chunks/{PdfViewer-Blwty0A0.cjs → PdfViewer--YKlzafo.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-DcPZsBsK.es.js → PdfViewer-CuiUv0d5.es.js} +1 -1
  3. package/dist/chunks/{index-BZzn2Rcn.es.js → index-Cl1u_lKk.es.js} +2 -2
  4. package/dist/chunks/{index-BB5vhzVT.cjs → index-CuHtS7O9.cjs} +2 -2
  5. package/dist/chunks/{super-editor.es-BgBNGRxg.cjs → super-editor.es-BIW7iKAk.cjs} +736 -464
  6. package/dist/chunks/{super-editor.es-BTcVSa_f.es.js → super-editor.es-DN4v75aq.es.js} +736 -464
  7. package/dist/core/SuperDoc.d.ts.map +1 -1
  8. package/dist/super-editor/ai-writer.es.js +2 -2
  9. package/dist/super-editor/chunks/{converter-BPTfSIJf.js → converter-kutpjDQU.js} +687 -470
  10. package/dist/super-editor/chunks/{docx-zipper-ikgI-2vM.js → docx-zipper-BjcI24VU.js} +1 -1
  11. package/dist/super-editor/chunks/{editor-hh7sL4Wv.js → editor-ps-v4FlA.js} +55 -2
  12. package/dist/super-editor/chunks/{toolbar-B-apzt27.js → toolbar-Ch271j8X.js} +2 -2
  13. package/dist/super-editor/converter.es.js +1 -1
  14. package/dist/super-editor/docx-zipper.es.js +2 -2
  15. package/dist/super-editor/editor.es.js +3 -3
  16. package/dist/super-editor/file-zipper.es.js +1 -1
  17. package/dist/super-editor/src/core/super-converter/v2/importer/tableImporter.d.ts +0 -22
  18. package/dist/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +10 -3
  19. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/bidiVisual-translator.d.ts +6 -0
  20. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/index.d.ts +1 -0
  21. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/bottom-translator.d.ts +6 -0
  22. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/index.d.ts +2 -0
  23. package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/marginBottom-translator.d.ts +6 -0
  24. package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/end-translator.d.ts +6 -0
  25. package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/index.d.ts +2 -0
  26. package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/marginEnd-translator.d.ts +6 -0
  27. package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/gridCol-translator.d.ts +6 -0
  28. package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/index.d.ts +1 -0
  29. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/index.d.ts +1 -0
  30. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/insideH-translator.d.ts +6 -0
  31. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/index.d.ts +1 -0
  32. package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/insideV-translator.d.ts +6 -0
  33. package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/index.d.ts +2 -0
  34. package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/left-translator.d.ts +6 -0
  35. package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/marginLeft-translator.d.ts +6 -0
  36. package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/index.d.ts +2 -0
  37. package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/marginRight-translator.d.ts +6 -0
  38. package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/right-translator.d.ts +6 -0
  39. package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/index.d.ts +1 -0
  40. package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/shd-translator.d.ts +6 -0
  41. package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/index.d.ts +2 -0
  42. package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/marginStart-translator.d.ts +6 -0
  43. package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/start-translator.d.ts +6 -0
  44. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/index.d.ts +1 -0
  45. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +28 -0
  46. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/index.d.ts +1 -0
  47. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/tblBorders-translator.d.ts +6 -0
  48. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/index.d.ts +1 -0
  49. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/tblCaption-translator.d.ts +6 -0
  50. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/index.d.ts +1 -0
  51. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/tblCellMar-translator.d.ts +2 -0
  52. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/index.d.ts +1 -0
  53. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/tblDescription-translator.d.ts +6 -0
  54. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/index.d.ts +1 -0
  55. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts +5 -0
  56. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/index.d.ts +1 -0
  57. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/tblInd-translator.d.ts +6 -0
  58. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/index.d.ts +1 -0
  59. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/tblLayout-translator.d.ts +6 -0
  60. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/index.d.ts +1 -0
  61. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/tblLook-translator.d.ts +6 -0
  62. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/index.d.ts +1 -0
  63. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/tblOverlap-translator.d.ts +6 -0
  64. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/index.d.ts +1 -0
  65. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/tblPr-translator.d.ts +5 -0
  66. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/index.d.ts +1 -0
  67. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/tblStyle-translator.d.ts +6 -0
  68. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/index.d.ts +1 -0
  69. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/tblStyleColBandSize-translator.d.ts +6 -0
  70. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/index.d.ts +1 -0
  71. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/tblStyleRowBandSize-translator.d.ts +6 -0
  72. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/index.d.ts +1 -0
  73. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/tblW-translator.d.ts +6 -0
  74. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/index.d.ts +1 -0
  75. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/tblpPr-translator.d.ts +6 -0
  76. package/dist/super-editor/src/core/super-converter/v3/handlers/w/tc/helpers/legacy-handle-table-cell-node.d.ts +1 -1
  77. package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/index.d.ts +2 -0
  78. package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/marginTop-translator.d.ts +6 -0
  79. package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/top-translator.d.ts +6 -0
  80. package/dist/super-editor/src/core/super-converter/v3/node-translator/node-translator.d.ts +3 -1
  81. package/dist/super-editor/src/extensions/table/table.d.ts +330 -0
  82. package/dist/super-editor/super-editor.es.js +8 -8
  83. package/dist/super-editor/toolbar.es.js +2 -2
  84. package/dist/super-editor.cjs +1 -1
  85. package/dist/super-editor.es.js +1 -1
  86. package/dist/superdoc.cjs +2 -2
  87. package/dist/superdoc.es.js +2 -2
  88. package/dist/superdoc.umd.js +736 -464
  89. package/dist/superdoc.umd.js.map +1 -1
  90. package/package.json +1 -1
@@ -21,7 +21,7 @@ export const TranslatorTypes: Readonly<{
21
21
  */
22
22
  /** @typedef {import('../../v2/importer/types').NodeHandlerParams} SCEncoderConfig */
23
23
  /** @typedef {import('../../v2/types').SuperDocNode} SCEncoderResult */
24
- /** @typedef {{ node: { attrs?: any, marks?: any[], type: string }, children?: any[], relationships?: any[] }} SCDecoderConfig */
24
+ /** @typedef {{ node: { attrs?: any, marks?: any[], type: string, content?: any[] }, children?: any[], relationships?: any[], extraParams?: Record<string, any> }} SCDecoderConfig */
25
25
  /** @typedef {{ name: string, attributes?: any, elements: any[] }} SCDecoderResult */
26
26
  /**
27
27
  * @callback NodeTranslatorEncodeFn
@@ -150,9 +150,11 @@ export type SCDecoderConfig = {
150
150
  attrs?: any;
151
151
  marks?: any[];
152
152
  type: string;
153
+ content?: any[];
153
154
  };
154
155
  children?: any[];
155
156
  relationships?: any[];
157
+ extraParams?: Record<string, any>;
156
158
  };
157
159
  export type SCDecoderResult = {
158
160
  name: string;
@@ -135,4 +135,334 @@ export type CurrentCellInfo = {
135
135
  */
136
136
  attrs: any;
137
137
  };
138
+ /**
139
+ * Theme color options
140
+ */
141
+ export type ThemeColor = "dark1" | "light1" | "dark2" | "light2" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "hyperlink" | "followedHyperlink" | "none" | "background1" | "text1" | "background2" | "text2";
142
+ /**
143
+ * Shading pattern options
144
+ */
145
+ export type ShadingPattern = "nil" | "clear" | "solid" | "horzStripe" | "vertStripe" | "reverseDiagStripe" | "diagStripe" | "horzCross" | "diagCross" | "thinHorzStripe" | "thinVertStripe" | "thinReverseDiagStripe" | "thinDiagStripe" | "thinHorzCross" | "thinDiagCross";
146
+ /**
147
+ * Shading properties
148
+ */
149
+ export type ShadingProperties = {
150
+ /**
151
+ * - Shading color (hex without # or "auto" for automatic)
152
+ */
153
+ color?: string | "auto";
154
+ /**
155
+ * - Shading fill color (hex without # or "auto" for automatic)
156
+ */
157
+ fill?: string | "auto";
158
+ /**
159
+ * - Theme color name
160
+ */
161
+ themeColor?: ThemeColor;
162
+ /**
163
+ * - Theme fill name
164
+ */
165
+ themeFill?: ThemeColor;
166
+ /**
167
+ * - Theme fill shade (0-255 in hex format without #)
168
+ */
169
+ themeFillShade?: string;
170
+ /**
171
+ * - Theme fill tint (0-255 in hex format without #)
172
+ */
173
+ themeFillTint?: string;
174
+ /**
175
+ * - Theme shade (0-255 in hex format without #)
176
+ */
177
+ themeShade?: string;
178
+ /**
179
+ * - Theme tint (0-255 in hex format without #)
180
+ */
181
+ themeTint?: string;
182
+ /**
183
+ * - Shading pattern
184
+ */
185
+ val?: ShadingPattern;
186
+ };
187
+ /**
188
+ * Table width options
189
+ */
190
+ export type TableMeasurement = {
191
+ /**
192
+ * - Width value in twips
193
+ */
194
+ value: number;
195
+ /**
196
+ * - Table width type (dxa=twips, pct=percentage, auto=automatic)
197
+ */
198
+ type?: "dxa" | "pct" | "auto";
199
+ };
200
+ /**
201
+ * Table look options
202
+ */
203
+ export type TableLook = {
204
+ /**
205
+ * - Specifies that the first column conditional formatting should be applied
206
+ */
207
+ firstColumn?: boolean;
208
+ /**
209
+ * - Specifies that the first row conditional formatting should be applied
210
+ */
211
+ firstRow?: boolean;
212
+ /**
213
+ * - Specifies that the last column conditional formatting should be applied
214
+ */
215
+ lastColumn?: boolean;
216
+ /**
217
+ * - Specifies that the last row conditional formatting should be applied
218
+ */
219
+ lastRow?: boolean;
220
+ /**
221
+ * - Specifies that no horizontal banding conditional formatting should be applied
222
+ */
223
+ noHBand?: boolean;
224
+ /**
225
+ * - Specifies that no vertical banding conditional formatting should be applied
226
+ */
227
+ noVBand?: boolean;
228
+ };
229
+ /**
230
+ * Floating table properties
231
+ */
232
+ export type FloatingTableProperties = {
233
+ /**
234
+ * - Specifies the minimum distance in twips which shall be maintained between the current floating table and the edge of text in the paragraph which is to the left of this floating table.
235
+ */
236
+ leftFromText?: number;
237
+ /**
238
+ * - Specifies the minimum distance in twips which shall be maintained between the current floating table and the edge of text in the paragraph which is to the right of this floating table.
239
+ */
240
+ rightFromText?: number;
241
+ /**
242
+ * - Specifies the minimum distance in twips which shall be maintained between the current floating table and the bottom edge of text in the paragraph which is above this floating table.
243
+ */
244
+ topFromText?: number;
245
+ /**
246
+ * - Specifies the minimum distance in twips which shall be maintained between the current floating table and the top edge of text in the paragraph which is below this floating table.
247
+ */
248
+ bottomFromText?: number;
249
+ /**
250
+ * - Specifies and absolute horizontal position for the floating table. The position is measured from the horizontal anchor point (horzAnchor) in twips.
251
+ */
252
+ tblpX?: number;
253
+ /**
254
+ * - Specifies and absolute vertical position for the floating table. The position is measured from the vertical anchor point (vertAnchor) in twips.
255
+ */
256
+ tblpY?: number;
257
+ /**
258
+ * - Horizontal anchor point for tblpX
259
+ */
260
+ horzAnchor?: "margin" | "page" | "text";
261
+ /**
262
+ * - Vertical anchor point for tblpY
263
+ */
264
+ vertAnchor?: "margin" | "page" | "text";
265
+ /**
266
+ * - Specifies a relative horizontal position for the floating table. Supercedes tblpX if both are specified.
267
+ */
268
+ tblpXSpec?: "left" | "center" | "right" | "inside" | "outside";
269
+ /**
270
+ * - Specifies a relative vertical position for the floating table. Supercedes tblpY if both are specified.
271
+ */
272
+ tblpYSpec?: "inline" | "top" | "center" | "bottom" | "inside" | "outside";
273
+ };
274
+ /**
275
+ * Table border specification
276
+ */
277
+ export type TableBorderSpec = {
278
+ /**
279
+ * - Border style (e.g., 'single', 'double', 'dashed', etc.)
280
+ */
281
+ val?: string;
282
+ /**
283
+ * - Border color (hex without #, e.g., 'FF0000' for red)
284
+ */
285
+ color?: string;
286
+ /**
287
+ * - Theme color name
288
+ */
289
+ themeColor?: ThemeColor;
290
+ /**
291
+ * - Theme tint (0-255 in hex format without #)
292
+ */
293
+ themeTint?: string;
294
+ /**
295
+ * - Theme shade (0-255 in hex format without #)
296
+ */
297
+ themeShade?: string;
298
+ /**
299
+ * - Border size in eighths of a point (e.g., 8 = 1pt, 16 = 2pt)
300
+ */
301
+ size?: number;
302
+ /**
303
+ * - Space in points between border and text
304
+ */
305
+ space?: number;
306
+ /**
307
+ * - Whether the border has a shadow
308
+ */
309
+ shadow?: boolean;
310
+ /**
311
+ * - Whether the border is a frame
312
+ */
313
+ frame?: boolean;
314
+ };
315
+ /**
316
+ * Table borders properties
317
+ */
318
+ export type TableBorders = {
319
+ /**
320
+ * - Bottom border specification
321
+ */
322
+ bottom?: TableBorderSpec;
323
+ /**
324
+ * - End (right in LTR, left in RTL) border specification
325
+ */
326
+ end?: TableBorderSpec;
327
+ /**
328
+ * - Inside horizontal border specification
329
+ */
330
+ insideH?: TableBorderSpec;
331
+ /**
332
+ * - Inside vertical border specification
333
+ */
334
+ insideV?: TableBorderSpec;
335
+ /**
336
+ * - Left border specification
337
+ */
338
+ left?: TableBorderSpec;
339
+ /**
340
+ * - Right border specification
341
+ */
342
+ right?: TableBorderSpec;
343
+ /**
344
+ * - Start (left in LTR, right in RTL) border specification
345
+ */
346
+ start?: TableBorderSpec;
347
+ /**
348
+ * - Top border specification
349
+ */
350
+ top?: TableBorderSpec;
351
+ };
352
+ /**
353
+ * Table cell margin properties
354
+ */
355
+ export type TableCellMargins = {
356
+ /**
357
+ * - Top cell margin
358
+ */
359
+ top?: TableMeasurement;
360
+ /**
361
+ * - Left cell margin
362
+ */
363
+ left?: TableMeasurement;
364
+ /**
365
+ * - Bottom cell margin
366
+ */
367
+ bottom?: TableMeasurement;
368
+ /**
369
+ * - Start cell margin (left in LTR, right in RTL)
370
+ */
371
+ start?: TableMeasurement;
372
+ /**
373
+ * - End cell margin (right in LTR, left in RTL)
374
+ */
375
+ end?: TableMeasurement;
376
+ /**
377
+ * - Right cell margin
378
+ */
379
+ right?: TableMeasurement;
380
+ };
381
+ /**
382
+ * Table properties
383
+ */
384
+ export type TableProperties = {
385
+ /**
386
+ * - Specifies that the cells with this table shall be visually represented in a right to left direction
387
+ */
388
+ rightToLeft?: boolean;
389
+ /**
390
+ * - The alignment of the set of rows which are part of the current table.
391
+ */
392
+ justification?: "center" | "end" | "left" | "right" | "start";
393
+ /**
394
+ * - Shading properties for the table
395
+ */
396
+ shading?: ShadingProperties;
397
+ /**
398
+ * - Caption text for the table
399
+ */
400
+ caption?: string;
401
+ /**
402
+ * - Description text for the table
403
+ */
404
+ description?: string;
405
+ /**
406
+ * - Cell spacing
407
+ */
408
+ tableCellSpacing?: TableMeasurement;
409
+ /**
410
+ * - Table indentation
411
+ */
412
+ tableIndent?: TableMeasurement;
413
+ /**
414
+ * - Table layout algorithm
415
+ */
416
+ tableLayout?: "fixed" | "autofit";
417
+ /**
418
+ * - Various boolean flags that affect the rendering of the table
419
+ */
420
+ tableLook?: TableLook;
421
+ /**
422
+ * - Specifies whether the current table should allow other floating tables to overlap its extents when the tables are displayed in a document
423
+ */
424
+ overlap?: "never" | "overlap";
425
+ /**
426
+ * - Reference to table style ID
427
+ */
428
+ tableStyleId?: string;
429
+ /**
430
+ * - Number of columns for which the table style is applied
431
+ */
432
+ tableStyleColBandSize?: number;
433
+ /**
434
+ * - Number of rows for which the table style is applied
435
+ */
436
+ tableStyleRowBandSize?: number;
437
+ /**
438
+ * - Table width
439
+ */
440
+ tableWidth?: TableMeasurement;
441
+ /**
442
+ * - Floating table properties
443
+ */
444
+ floatingTableProperties?: FloatingTableProperties;
445
+ /**
446
+ * - Table border configuration
447
+ */
448
+ borders?: TableBorders;
449
+ };
450
+ /**
451
+ * Column width definition
452
+ */
453
+ export type ColWidth = {
454
+ /**
455
+ * - Column width in twips
456
+ */
457
+ col: number;
458
+ };
459
+ /**
460
+ * Table grid definition
461
+ */
462
+ export type TableGrid = {
463
+ /**
464
+ * - Array of column widths in twips
465
+ */
466
+ colWidths?: ColWidth[];
467
+ };
138
468
  import { Node } from '@core/index.js';
@@ -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 { ay as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aB as vClickOutside, H as findParentNode, aC as getActiveFormatting, ar as isInTable, aD as readFromClipboard, aE as handleClipboardPaste, aF as getFileObject, a as Plugin } from "./chunks/converter-BPTfSIJf.js";
13
- import { aG, a5, i, a2, aH } from "./chunks/converter-BPTfSIJf.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 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-hh7sL4Wv.js";
15
- import { n, C, o, T, l, p, m } from "./chunks/editor-hh7sL4Wv.js";
12
+ import { aw as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, az as vClickOutside, H as findParentNode, aA as getActiveFormatting, aq as isInTable, aB as readFromClipboard, aC as handleClipboardPaste, aD as getFileObject, a as Plugin } from "./chunks/converter-kutpjDQU.js";
13
+ import { aE, a5, i, a2, aF } from "./chunks/converter-kutpjDQU.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 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-ps-v4FlA.js";
15
+ import { n, C, o, T, l, p, m } from "./chunks/editor-ps-v4FlA.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-B-apzt27.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-Ch271j8X.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-ikgI-2vM.js";
19
+ import { D } from "./chunks/docx-zipper-BjcI24VU.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -4627,7 +4627,7 @@ const Extensions = {
4627
4627
  export {
4628
4628
  AIWriter,
4629
4629
  n as AnnotatorHelpers,
4630
- aG as BasicUpload,
4630
+ aE as BasicUpload,
4631
4631
  C as CommentsPluginKey,
4632
4632
  D as DocxZipper,
4633
4633
  Editor,
@@ -4648,6 +4648,6 @@ export {
4648
4648
  getRichTextExtensions,
4649
4649
  getStarterExtensions,
4650
4650
  a2 as helpers,
4651
- aH as registeredHandlers,
4651
+ aF as registeredHandlers,
4652
4652
  m as trackChangesHelpers
4653
4653
  };
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-B-apzt27.js";
3
- import "./chunks/editor-hh7sL4Wv.js";
2
+ import { T } from "./chunks/toolbar-Ch271j8X.js";
3
+ import "./chunks/editor-ps-v4FlA.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-BgBNGRxg.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-BIW7iKAk.cjs");
4
4
  require("./chunks/vue-DWle4Cai.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-BTcVSa_f.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-DN4v75aq.es.js";
2
2
  import "./chunks/vue-CXxsqYcP.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-BgBNGRxg.cjs");
4
- const superdoc = require("./chunks/index-BB5vhzVT.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-BIW7iKAk.cjs");
4
+ const superdoc = require("./chunks/index-CuHtS7O9.cjs");
5
5
  require("./chunks/vue-DWle4Cai.cjs");
6
6
  require("./chunks/jszip-b7l8QkfH.cjs");
7
7
  const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
@@ -1,5 +1,5 @@
1
- import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-BTcVSa_f.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-BZzn2Rcn.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-DN4v75aq.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-Cl1u_lKk.es.js";
3
3
  import "./chunks/vue-CXxsqYcP.es.js";
4
4
  import "./chunks/jszip-B8KIZSNe.es.js";
5
5
  import { B } from "./chunks/blank-docx-iwdyG9RH.es.js";