@harbour-enterprises/superdoc 0.29.0-next.7 → 0.29.0-next.8

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 (155) hide show
  1. package/dist/chunks/{PdfViewer-D2cnJhM1.es.js → PdfViewer-D52oZlMN.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-DyUG4__F.cjs → PdfViewer-DN5OVJ2m.cjs} +1 -1
  3. package/dist/chunks/{eventemitter3-xrnx5jJP.es.js → eventemitter3-D4gv5QOO.es.js} +1 -1
  4. package/dist/chunks/{index-DC11bH-A.es.js → index-Ckp6Xz_9.es.js} +166 -121
  5. package/dist/chunks/{index-BqhJhdcP-Dm9pUO-L.cjs → index-D08c3nkG-CEL2t8xk.cjs} +1 -1
  6. package/dist/chunks/{index-BqhJhdcP-B9XbOefk.es.js → index-D08c3nkG-DhTHMiRT.es.js} +1 -1
  7. package/dist/chunks/{index-DZIAPuKc.cjs → index-l9QIxky6.cjs} +164 -119
  8. package/dist/chunks/{jszip-9Y3n05fi.es.js → jszip-Bhl-Iudl.es.js} +1 -1
  9. package/dist/chunks/{super-editor.es-DNPslOnx.es.js → super-editor.es-BMKdFBfO.es.js} +138 -107
  10. package/dist/chunks/{super-editor.es-607cvQXw.cjs → super-editor.es-DfufVFpB.cjs} +136 -105
  11. package/dist/chunks/{vue-DVNiXx7E.es.js → vue-D1vcEBAQ.es.js} +17 -17
  12. package/dist/chunks/xml-js-jMPlIVKT.es.js +2 -0
  13. package/dist/packages/superdoc/src/components/CommentsLayer/comment-schemas.d.ts.map +1 -0
  14. package/dist/packages/superdoc/src/components/CommentsLayer/commentsList/super-comments-list.d.ts.map +1 -0
  15. package/dist/packages/superdoc/src/components/CommentsLayer/helpers.d.ts.map +1 -0
  16. package/dist/packages/superdoc/src/components/CommentsLayer/types.d.ts.map +1 -0
  17. package/dist/packages/superdoc/src/components/CommentsLayer/use-comment.d.ts.map +1 -0
  18. package/dist/packages/superdoc/src/components/CommentsLayer/use-conversation.d.ts.map +1 -0
  19. package/dist/packages/superdoc/src/components/CommentsLayer/use-floating-comment.d.ts.map +1 -0
  20. package/dist/packages/superdoc/src/components/PdfViewer/helpers/range.d.ts.map +1 -0
  21. package/dist/packages/superdoc/src/components/PdfViewer/helpers/read-file.d.ts.map +1 -0
  22. package/dist/packages/superdoc/src/components/PdfViewer/pdf/pdf-adapter.d.ts.map +1 -0
  23. package/dist/packages/superdoc/src/composables/use-ai.d.ts.map +1 -0
  24. package/dist/packages/superdoc/src/composables/use-document.d.ts.map +1 -0
  25. package/dist/packages/superdoc/src/composables/use-field.d.ts.map +1 -0
  26. package/dist/packages/superdoc/src/composables/use-high-contrast-mode.d.ts.map +1 -0
  27. package/dist/packages/superdoc/src/composables/use-selected-text.d.ts.map +1 -0
  28. package/dist/{core → packages/superdoc/src/core}/SuperDoc.d.ts +1 -1
  29. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -0
  30. package/dist/packages/superdoc/src/core/collaboration/collaboration-comments.d.ts.map +1 -0
  31. package/dist/packages/superdoc/src/core/collaboration/collaboration.d.ts.map +1 -0
  32. package/dist/packages/superdoc/src/core/collaboration/helpers.d.ts.map +1 -0
  33. package/dist/packages/superdoc/src/core/collaboration/permissions.d.ts.map +1 -0
  34. package/dist/packages/superdoc/src/core/create-app.d.ts.map +1 -0
  35. package/dist/packages/superdoc/src/core/helpers/export.d.ts.map +1 -0
  36. package/dist/packages/superdoc/src/core/helpers/file.d.ts.map +1 -0
  37. package/dist/{core → packages/superdoc/src/core}/index.d.ts.map +1 -1
  38. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -0
  39. package/dist/packages/superdoc/src/helpers/floor.d.ts.map +1 -0
  40. package/dist/packages/superdoc/src/helpers/group-changes.d.ts.map +1 -0
  41. package/dist/packages/superdoc/src/helpers/use-selection.d.ts.map +1 -0
  42. package/dist/{icons.d.ts.map → packages/superdoc/src/icons.d.ts.map} +1 -1
  43. package/dist/{index.d.ts → packages/superdoc/src/index.d.ts} +5 -5
  44. package/dist/packages/superdoc/src/index.d.ts.map +1 -0
  45. package/dist/packages/superdoc/src/main.d.ts.map +1 -0
  46. package/dist/{stores → packages/superdoc/src/stores}/comments-store.d.ts +36 -36
  47. package/dist/packages/superdoc/src/stores/comments-store.d.ts.map +1 -0
  48. package/dist/packages/superdoc/src/stores/hrbr-fields-store.d.ts.map +1 -0
  49. package/dist/{stores → packages/superdoc/src/stores}/superdoc-store.d.ts +110 -110
  50. package/dist/{stores → packages/superdoc/src/stores}/superdoc-store.d.ts.map +1 -1
  51. package/dist/{super-editor.d.ts.map → packages/superdoc/src/super-editor.d.ts.map} +1 -1
  52. package/dist/shared/common/Telemetry.d.ts +237 -0
  53. package/dist/shared/common/Telemetry.d.ts.map +1 -0
  54. package/dist/shared/common/collaboration/awareness.d.ts +39 -0
  55. package/dist/shared/common/collaboration/awareness.d.ts.map +1 -0
  56. package/dist/shared/common/document-types.d.ts +10 -0
  57. package/dist/shared/common/document-types.d.ts.map +1 -0
  58. package/dist/shared/common/event-types.d.ts +14 -0
  59. package/dist/shared/common/event-types.d.ts.map +1 -0
  60. package/dist/shared/common/helpers/compare-superdoc-versions.d.ts +8 -0
  61. package/dist/shared/common/helpers/compare-superdoc-versions.d.ts.map +1 -0
  62. package/dist/shared/common/helpers/get-file-object.d.ts +50 -0
  63. package/dist/shared/common/helpers/get-file-object.d.ts.map +1 -0
  64. package/dist/shared/common/helpers/v-click-outside.d.ts +11 -0
  65. package/dist/shared/common/helpers/v-click-outside.d.ts.map +1 -0
  66. package/dist/shared/common/index.d.ts +10 -0
  67. package/dist/shared/common/index.d.ts.map +1 -0
  68. package/dist/shared/common/key-transform.d.ts +44 -0
  69. package/dist/shared/common/key-transform.d.ts.map +1 -0
  70. package/dist/style.css +56 -56
  71. package/dist/super-editor/ai-writer.es.js +3 -3
  72. package/dist/super-editor/chunks/{converter--SREdiqQ.js → converter-CqYeAv65.js} +324 -47
  73. package/dist/super-editor/chunks/{docx-zipper-BRGsc2Y2.js → docx-zipper-C97RawM-.js} +1 -1
  74. package/dist/super-editor/chunks/{editor-DsKLhlKe.js → editor-BrxCRICL.js} +4 -4
  75. package/dist/super-editor/chunks/{index-BqhJhdcP.js → index-D08c3nkG.js} +1 -1
  76. package/dist/super-editor/chunks/{toolbar-Dqed7MP7.js → toolbar-B33VzEsn.js} +2 -2
  77. package/dist/super-editor/converter.es.js +1 -2
  78. package/dist/super-editor/docx-zipper.es.js +2 -2
  79. package/dist/super-editor/editor.es.js +3 -3
  80. package/dist/super-editor/file-zipper.es.js +1 -1
  81. package/dist/super-editor/style.css +29 -29
  82. package/dist/super-editor/super-editor/src/index.d.ts +0 -1
  83. package/dist/super-editor/super-editor/src/index.d.ts.map +1 -1
  84. package/dist/super-editor/super-editor.es.js +77 -50
  85. package/dist/super-editor/toolbar.es.js +2 -2
  86. package/dist/super-editor.cjs +3 -3
  87. package/dist/super-editor.es.js +2 -2
  88. package/dist/superdoc.cjs +2 -3
  89. package/dist/superdoc.es.js +2 -3
  90. package/dist/superdoc.umd.js +44226 -44150
  91. package/dist/superdoc.umd.js.map +1 -1
  92. package/package.json +3 -3
  93. package/dist/chunks/xml-js-ByyNjzYS.es.js +0 -2
  94. package/dist/components/CommentsLayer/comment-schemas.d.ts.map +0 -1
  95. package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts.map +0 -1
  96. package/dist/components/CommentsLayer/helpers.d.ts.map +0 -1
  97. package/dist/components/CommentsLayer/types.d.ts.map +0 -1
  98. package/dist/components/CommentsLayer/use-comment.d.ts.map +0 -1
  99. package/dist/components/CommentsLayer/use-conversation.d.ts.map +0 -1
  100. package/dist/components/CommentsLayer/use-floating-comment.d.ts.map +0 -1
  101. package/dist/components/PdfViewer/helpers/range.d.ts.map +0 -1
  102. package/dist/components/PdfViewer/helpers/read-file.d.ts.map +0 -1
  103. package/dist/components/PdfViewer/pdf/pdf-adapter.d.ts.map +0 -1
  104. package/dist/composables/use-ai.d.ts.map +0 -1
  105. package/dist/composables/use-document.d.ts.map +0 -1
  106. package/dist/composables/use-field.d.ts.map +0 -1
  107. package/dist/composables/use-high-contrast-mode.d.ts.map +0 -1
  108. package/dist/composables/use-selected-text.d.ts.map +0 -1
  109. package/dist/core/SuperDoc.d.ts.map +0 -1
  110. package/dist/core/collaboration/collaboration-comments.d.ts.map +0 -1
  111. package/dist/core/collaboration/collaboration.d.ts.map +0 -1
  112. package/dist/core/collaboration/helpers.d.ts.map +0 -1
  113. package/dist/core/collaboration/permissions.d.ts.map +0 -1
  114. package/dist/core/create-app.d.ts.map +0 -1
  115. package/dist/core/helpers/export.d.ts.map +0 -1
  116. package/dist/core/helpers/file.d.ts.map +0 -1
  117. package/dist/core/types/index.d.ts.map +0 -1
  118. package/dist/helpers/floor.d.ts.map +0 -1
  119. package/dist/helpers/group-changes.d.ts.map +0 -1
  120. package/dist/helpers/use-selection.d.ts.map +0 -1
  121. package/dist/index.d.ts.map +0 -1
  122. package/dist/main.d.ts.map +0 -1
  123. package/dist/stores/comments-store.d.ts.map +0 -1
  124. package/dist/stores/hrbr-fields-store.d.ts.map +0 -1
  125. /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/comment-schemas.d.ts +0 -0
  126. /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/commentsList/super-comments-list.d.ts +0 -0
  127. /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/helpers.d.ts +0 -0
  128. /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/types.d.ts +0 -0
  129. /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/use-comment.d.ts +0 -0
  130. /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/use-conversation.d.ts +0 -0
  131. /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/use-floating-comment.d.ts +0 -0
  132. /package/dist/{components → packages/superdoc/src/components}/PdfViewer/helpers/range.d.ts +0 -0
  133. /package/dist/{components → packages/superdoc/src/components}/PdfViewer/helpers/read-file.d.ts +0 -0
  134. /package/dist/{components → packages/superdoc/src/components}/PdfViewer/pdf/pdf-adapter.d.ts +0 -0
  135. /package/dist/{composables → packages/superdoc/src/composables}/use-ai.d.ts +0 -0
  136. /package/dist/{composables → packages/superdoc/src/composables}/use-document.d.ts +0 -0
  137. /package/dist/{composables → packages/superdoc/src/composables}/use-field.d.ts +0 -0
  138. /package/dist/{composables → packages/superdoc/src/composables}/use-high-contrast-mode.d.ts +0 -0
  139. /package/dist/{composables → packages/superdoc/src/composables}/use-selected-text.d.ts +0 -0
  140. /package/dist/{core → packages/superdoc/src/core}/collaboration/collaboration-comments.d.ts +0 -0
  141. /package/dist/{core → packages/superdoc/src/core}/collaboration/collaboration.d.ts +0 -0
  142. /package/dist/{core → packages/superdoc/src/core}/collaboration/helpers.d.ts +0 -0
  143. /package/dist/{core → packages/superdoc/src/core}/collaboration/permissions.d.ts +0 -0
  144. /package/dist/{core → packages/superdoc/src/core}/create-app.d.ts +0 -0
  145. /package/dist/{core → packages/superdoc/src/core}/helpers/export.d.ts +0 -0
  146. /package/dist/{core → packages/superdoc/src/core}/helpers/file.d.ts +0 -0
  147. /package/dist/{core → packages/superdoc/src/core}/index.d.ts +0 -0
  148. /package/dist/{core → packages/superdoc/src/core}/types/index.d.ts +0 -0
  149. /package/dist/{helpers → packages/superdoc/src/helpers}/floor.d.ts +0 -0
  150. /package/dist/{helpers → packages/superdoc/src/helpers}/group-changes.d.ts +0 -0
  151. /package/dist/{helpers → packages/superdoc/src/helpers}/use-selection.d.ts +0 -0
  152. /package/dist/{icons.d.ts → packages/superdoc/src/icons.d.ts} +0 -0
  153. /package/dist/{main.d.ts → packages/superdoc/src/main.d.ts} +0 -0
  154. /package/dist/{stores → packages/superdoc/src/stores}/hrbr-fields-store.d.ts +0 -0
  155. /package/dist/{super-editor.d.ts → packages/superdoc/src/super-editor.d.ts} +0 -0
@@ -306,12 +306,12 @@
306
306
  }
307
307
 
308
308
  /* Add isolation styles */
309
- .prosemirror-isolated[data-v-e8e0f607] {
309
+ .prosemirror-isolated[data-v-d869be75] {
310
310
  /* Make sure the component is above ProseMirror in z-index */
311
311
  z-index: 100;
312
312
  position: relative;
313
313
  }
314
- .ai-writer[data-v-e8e0f607] {
314
+ .ai-writer[data-v-d869be75] {
315
315
  background-color: white;
316
316
  display: flex;
317
317
  flex-direction: column;
@@ -329,12 +329,12 @@
329
329
  }
330
330
 
331
331
  /* Chrome, Safari, and Opera */
332
- .ai-writer[data-v-e8e0f607]::-webkit-scrollbar {
332
+ .ai-writer[data-v-d869be75]::-webkit-scrollbar {
333
333
  display: none;
334
334
  }
335
335
 
336
336
  /* Replace .ai-editable with .ai-textarea */
337
- .ai-textarea[data-v-e8e0f607] {
337
+ .ai-textarea[data-v-d869be75] {
338
338
  padding-left: 8px;
339
339
  width: 100%;
340
340
  color: #47484a;
@@ -349,11 +349,11 @@
349
349
  }
350
350
 
351
351
  /* Add specific styles for textarea placeholder */
352
- .ai-textarea[data-v-e8e0f607]::placeholder {
352
+ .ai-textarea[data-v-d869be75]::placeholder {
353
353
  color: #666;
354
354
  font-weight: 400;
355
355
  }
356
- .ai-user-input-field[data-v-e8e0f607] {
356
+ .ai-user-input-field[data-v-d869be75] {
357
357
  line-height: 13px;
358
358
  display: flex;
359
359
  flex-direction: row;
@@ -363,27 +363,27 @@
363
363
  border-radius: 8px;
364
364
  margin-bottom: 10px;
365
365
  }
366
- .ai-textarea-icon[data-v-e8e0f607] {
366
+ .ai-textarea-icon[data-v-d869be75] {
367
367
  display: block;
368
368
  font-weight: 800;
369
369
  font-size: 14px;
370
370
  width: 16px;
371
371
  height: 16px;
372
372
  }
373
- .ai-textarea-icon svg[data-v-e8e0f607] {
373
+ .ai-textarea-icon svg[data-v-d869be75] {
374
374
  height: 16px;
375
375
  width: 16px;
376
376
  }
377
- .ai-textarea-icon.loading[data-v-e8e0f607] {
378
- animation: spin-e8e0f607 2s linear infinite;
377
+ .ai-textarea-icon.loading[data-v-d869be75] {
378
+ animation: spin-d869be75 2s linear infinite;
379
379
  }
380
- .loading i[data-v-e8e0f607] {
380
+ .loading i[data-v-d869be75] {
381
381
  display: flex;
382
382
  }
383
- .error[data-v-e8e0f607] {
383
+ .error[data-v-d869be75] {
384
384
  fill: #ed4337;
385
385
  }
386
- .ai-submit-button[data-v-e8e0f607] {
386
+ .ai-submit-button[data-v-d869be75] {
387
387
  border: none;
388
388
  padding: 0;
389
389
  margin: 0;
@@ -391,10 +391,10 @@
391
391
  display: flex;
392
392
  align-items: center;
393
393
  }
394
- .ai-submit-button[data-v-e8e0f607]:hover {
394
+ .ai-submit-button[data-v-d869be75]:hover {
395
395
  opacity: 0.8;
396
396
  }
397
- @keyframes spin-e8e0f607 {
397
+ @keyframes spin-d869be75 {
398
398
  from {
399
399
  transform: rotate(0deg);
400
400
  }
@@ -402,7 +402,7 @@ to {
402
402
  transform: rotate(360deg);
403
403
  }
404
404
  }
405
- .ai-loader[data-v-e8e0f607] {
405
+ .ai-loader[data-v-d869be75] {
406
406
  display: flex;
407
407
  height: 14px;
408
408
  justify-content: flex-end;
@@ -1564,35 +1564,35 @@ on the right if it is inside shape textbox.
1564
1564
  position: absolute;
1565
1565
  }
1566
1566
 
1567
- .options-grid-wrap[data-v-4c0091c8] {
1567
+ .options-grid-wrap[data-v-3d19fedf] {
1568
1568
  padding: 5px;
1569
1569
  border-radius: 5px;
1570
1570
  }
1571
- .none-option[data-v-4c0091c8] {
1571
+ .none-option[data-v-3d19fedf] {
1572
1572
  display: flex;
1573
1573
  align-items: center;
1574
1574
  gap: 4px;
1575
1575
  padding: 4px;
1576
1576
  }
1577
- .none-option[data-v-4c0091c8]:hover {
1577
+ .none-option[data-v-3d19fedf]:hover {
1578
1578
  opacity: 0.65;
1579
1579
  }
1580
- .none-icon[data-v-4c0091c8] {
1580
+ .none-icon[data-v-3d19fedf] {
1581
1581
  width: 16px;
1582
1582
  }
1583
- .option-grid-ctn[data-v-4c0091c8] {
1583
+ .option-grid-ctn[data-v-3d19fedf] {
1584
1584
  display: flex;
1585
1585
  flex-direction: column;
1586
1586
  background-color: #fff;
1587
1587
  z-index: 3;
1588
1588
  box-sizing: border-box;
1589
1589
  }
1590
- .option-grid-ctn__subtitle[data-v-4c0091c8] {
1590
+ .option-grid-ctn__subtitle[data-v-3d19fedf] {
1591
1591
  padding: 3px;
1592
1592
  font-size: 12px;
1593
1593
  font-weight: 600;
1594
1594
  }
1595
- .option-grid-ctn[data-v-4c0091c8] svg {
1595
+ .option-grid-ctn[data-v-3d19fedf] svg {
1596
1596
  width: 100%;
1597
1597
  height: 100%;
1598
1598
  display: block;
@@ -1905,10 +1905,10 @@ on the right if it is inside shape textbox.
1905
1905
  min-height: 40px;
1906
1906
  }
1907
1907
 
1908
- .editor-element[data-v-0c36dd72] {
1908
+ .editor-element[data-v-9d25f5b3] {
1909
1909
  position: relative;
1910
1910
  }
1911
- .super-editor-container[data-v-0c36dd72] {
1911
+ .super-editor-container[data-v-9d25f5b3] {
1912
1912
  width: auto;
1913
1913
  height: auto;
1914
1914
  min-width: 8in;
@@ -1917,13 +1917,13 @@ on the right if it is inside shape textbox.
1917
1917
  display: flex;
1918
1918
  flex-direction: column;
1919
1919
  }
1920
- .ruler[data-v-0c36dd72] {
1920
+ .ruler[data-v-9d25f5b3] {
1921
1921
  margin-bottom: 2px;
1922
1922
  }
1923
- .super-editor[data-v-0c36dd72] {
1923
+ .super-editor[data-v-9d25f5b3] {
1924
1924
  color: initial;
1925
1925
  }
1926
- .placeholder-editor[data-v-0c36dd72] {
1926
+ .placeholder-editor[data-v-9d25f5b3] {
1927
1927
  position: absolute;
1928
1928
  top: 0;
1929
1929
  left: 0;
@@ -1935,7 +1935,7 @@ on the right if it is inside shape textbox.
1935
1935
  background-color: white;
1936
1936
  box-sizing: border-box;
1937
1937
  }
1938
- .placeholder-title[data-v-0c36dd72] {
1938
+ .placeholder-title[data-v-9d25f5b3] {
1939
1939
  display: flex;
1940
1940
  justify-content: center;
1941
1941
  margin-bottom: 40px;
@@ -2,7 +2,6 @@ import { SuperConverter } from './core/super-converter/SuperConverter';
2
2
  import { DocxZipper } from './core/index.js';
3
3
  import { SuperToolbar } from './components/toolbar/super-toolbar.js';
4
4
  import { Editor } from './core/Editor.js';
5
- import { BasicUpload } from '@harbour-enterprises/common';
6
5
  import { helpers } from './core/index.js';
7
6
  import * as fieldAnnotationHelpers from './extensions/field-annotation/fieldAnnotationHelpers/index.js';
8
7
  import * as trackChangesHelpers from './extensions/track-changes/trackChangesHelpers/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.js"],"names":[],"mappings":"+BAC+B,uCAAuC;2BAKlC,iBAAiB;6BADxB,uCAAuC;uBAE7C,kBAAkB;4BAQb,6BAA6B;wBATrB,iBAAiB;wCAeb,+DAA+D;qCAClE,yDAAyD;iCAG7D,uBAAuB;+BACzB,0DAA0D;sCAxBnD,yCAAyC;oCAC3C,uCAAuC;qCACf,uBAAuB;sCAAvB,uBAAuB;0BAIzD,kCAAkC;0CAClB,yDAAyD;mCAkBhE,6CAA6C;;;;;;;;;;;0CAJtC,6CAA6C;kCACrD,yCAAyC;qBAd3C,gBAAgB;0BAAhB,gBAAgB;0BACtB,oBAAoB;qBAEzB,eAAe;uBADF,mBAAmB;0BAAnB,mBAAmB;2BAgBX,kBAAkB;8BAAlB,kBAAkB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.js"],"names":[],"mappings":"+BAC+B,uCAAuC;2BAKlC,iBAAiB;6BADxB,uCAAuC;uBAE7C,kBAAkB;wBADL,iBAAiB;wCAeb,+DAA+D;qCAClE,yDAAyD;iCAG7D,uBAAuB;+BACzB,0DAA0D;sCAxBnD,yCAAyC;oCAC3C,uCAAuC;qCACf,uBAAuB;sCAAvB,uBAAuB;0BAIzD,kCAAkC;0CAClB,yDAAyD;mCAkBhE,6CAA6C;;;;;;;;;;;0CAJtC,6CAA6C;kCACrD,yCAAyC;qBAd3C,gBAAgB;0BAAhB,gBAAgB;0BACtB,oBAAoB;qBAEzB,eAAe;uBADF,mBAAmB;0BAAnB,mBAAmB;2BAgBX,kBAAkB;8BAAlB,kBAAkB"}
@@ -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 { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter--SREdiqQ.js";
13
- import { c1, a5, i, a2 } from "./chunks/converter--SREdiqQ.js";
14
- import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, 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-DsKLhlKe.js";
15
- import { v, C, w, T, q, x, t } from "./chunks/editor-DsKLhlKe.js";
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, 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-Dqed7MP7.js";
12
+ import { aA as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aD as vClickOutside, aE as getActiveFormatting, av as isInTable, aF as readFromClipboard, aG as handleClipboardPaste, aH as getFileObject, aI as runPropertyTranslators, aJ as translator, aK as translator$1, aL as translator$2, aM as translator$3, aN as translator$4, aO as translator$5, aP as translator$6, aQ as translator$7, aR as translator$8, aS as translator$9, aT as translator$a, aU as translator$b, aV as translator$c, aW as translator$d, aX as translator$e, aY as commentRangeEndTranslator, aZ as commentRangeStartTranslator, a_ as translator$f, a$ as translator$g, b0 as translator$h, b1 as translator$i, b2 as translator$j, b3 as translator$k, b4 as translator$l, b5 as translator$m, b6 as translator$n, b7 as translator$o, b8 as translator$p, b9 as translator$q, ba as translator$r, bb as translator$s, bc as translator$t, bd as translator$u, be as translator$v, bf as translator$w, bg as translator$x, bh as translator$y, bi as translator$z, bj as translator$A, bk as translator$B, bl as translator$C, bm as translator$D, bn as translator$E, bo as translator$F, bp as translator$G, bq as translator$H, br as translator$I, bs as translator$J, bt as translator$K, bu as translator$L, bv as translator$M, bw as translator$N, bx as translator$O, by as translator$P, bz as translator$Q, bA as translator$R, bB as translator$S, bC as translator$T, bD as translator$U, bE as translator$V, bF as translator$W, bG as translator$X, bH as translator$Y, bI as translator$Z, bJ as translator$_, bK as translator$$, bL as translator$10, bM as translator$11, bN as translator$12, bO as translator$13, bP as translator$14, bQ as translator$15, bR as translator$16, bS as translator$17, bT as translator$18, bU as translator$19, bV as translator$1a, bW as translator$1b, bX as translator$1c, bY as translator$1d, bZ as translator$1e, b_ as translator$1f, b$ as translator$1g, c0 as translator$1h, P as PluginKey, a as Plugin } from "./chunks/converter-CqYeAv65.js";
13
+ import { a5, i, a2 } from "./chunks/converter-CqYeAv65.js";
14
+ import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as collectTargetListItemPositions, d as getFileOpener, e as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, f as uploadAndInsertImage, h as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, j as undoDepth, k as redoDepth, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, 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-BrxCRICL.js";
15
+ import { v, C, w, T, q, x, t } from "./chunks/editor-BrxCRICL.js";
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-B33VzEsn.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-BRGsc2Y2.js";
19
+ import { D } from "./chunks/docx-zipper-C97RawM-.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -311,8 +311,8 @@ const useToolbarItem = (options) => {
311
311
  onDeactivate
312
312
  };
313
313
  };
314
- const _hoisted_1$c = ["onClick", "innerHTML", "aria-label", "onKeydown"];
315
- const _sfc_main$d = {
314
+ const _hoisted_1$d = ["onClick", "innerHTML", "aria-label", "onKeydown"];
315
+ const _sfc_main$e = {
316
316
  __name: "AlignmentButtons",
317
317
  emits: ["select"],
318
318
  setup(__props, { emit: __emit }) {
@@ -397,20 +397,20 @@ const _sfc_main$d = {
397
397
  ref_key: "alignmentButtonsRefs",
398
398
  ref: alignmentButtonsRefs,
399
399
  onKeydown: withModifiers((event) => handleKeyDown(event, index), ["prevent"])
400
- }, null, 40, _hoisted_1$c);
400
+ }, null, 40, _hoisted_1$d);
401
401
  }), 64))
402
402
  ], 2);
403
403
  };
404
404
  }
405
405
  };
406
- const AlignmentButtons = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-d84f57b6"]]);
407
- const _hoisted_1$b = ["onClick", "onKeydown"];
406
+ const AlignmentButtons = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-d84f57b6"]]);
407
+ const _hoisted_1$c = ["onClick", "onKeydown"];
408
408
  const _hoisted_2$9 = { class: "document-mode-column icon-column" };
409
409
  const _hoisted_3$7 = ["innerHTML"];
410
410
  const _hoisted_4$3 = { class: "document-mode-column text-column" };
411
411
  const _hoisted_5$2 = { class: "document-mode-type" };
412
412
  const _hoisted_6$1 = { class: "document-mode-description" };
413
- const _sfc_main$c = {
413
+ const _sfc_main$d = {
414
414
  __name: "DocumentMode",
415
415
  props: {
416
416
  options: {
@@ -484,19 +484,19 @@ const _sfc_main$c = {
484
484
  createElementVNode("div", _hoisted_5$2, toDisplayString(option.label), 1),
485
485
  createElementVNode("div", _hoisted_6$1, toDisplayString(option.description), 1)
486
486
  ])
487
- ], 42, _hoisted_1$b);
487
+ ], 42, _hoisted_1$c);
488
488
  }), 256))
489
489
  ], 2);
490
490
  };
491
491
  }
492
492
  };
493
- const DocumentMode = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-8730b752"]]);
494
- const _hoisted_1$a = {
493
+ const DocumentMode = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-8730b752"]]);
494
+ const _hoisted_1$b = {
495
495
  key: 0,
496
496
  class: "linked-style-buttons"
497
497
  };
498
498
  const _hoisted_2$8 = ["onClick", "onKeydown"];
499
- const _sfc_main$b = {
499
+ const _sfc_main$c = {
500
500
  __name: "LinkedStyle",
501
501
  props: {
502
502
  editor: {
@@ -550,7 +550,7 @@ const _sfc_main$b = {
550
550
  styleRefs.value[0].focus();
551
551
  });
552
552
  return (_ctx, _cache) => {
553
- return props.editor ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
553
+ return props.editor ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
554
554
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(getQuickFormatList)(__props.editor), (style, index) => {
555
555
  return openBlock(), createElementBlock("div", {
556
556
  class: normalizeClass(["style-item", { selected: __props.selectedOption === style.id }]),
@@ -571,8 +571,8 @@ const _sfc_main$b = {
571
571
  };
572
572
  }
573
573
  };
574
- const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-698bdb8e"]]);
575
- const _hoisted_1$9 = {
574
+ const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-698bdb8e"]]);
575
+ const _hoisted_1$a = {
576
576
  key: 0,
577
577
  class: "link-title"
578
578
  };
@@ -600,7 +600,7 @@ const _hoisted_13 = {
600
600
  key: 4,
601
601
  class: "input-row go-to-anchor clickable"
602
602
  };
603
- const _sfc_main$a = {
603
+ const _sfc_main$b = {
604
604
  __name: "LinkInput",
605
605
  props: {
606
606
  showInput: {
@@ -739,7 +739,7 @@ const _sfc_main$a = {
739
739
  return openBlock(), createElementBlock("div", {
740
740
  class: normalizeClass(["link-input-ctn", { "high-contrast": unref(isHighContrastMode) }])
741
741
  }, [
742
- isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_1$9, "Page anchor")) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_2$7, "Edit link")) : (openBlock(), createElementBlock("div", _hoisted_3$6, "Add link")),
742
+ isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_1$a, "Page anchor")) : isEditing.value ? (openBlock(), createElementBlock("div", _hoisted_2$7, "Edit link")) : (openBlock(), createElementBlock("div", _hoisted_3$6, "Add link")),
743
743
  __props.showInput && !isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
744
744
  createElementVNode("div", _hoisted_5$1, [
745
745
  _cache[4] || (_cache[4] = createElementVNode("div", { class: "input-icon text-input-icon" }, "T", -1)),
@@ -806,12 +806,12 @@ const _sfc_main$a = {
806
806
  };
807
807
  }
808
808
  };
809
- const LinkInput = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-ba50627b"]]);
810
- const _hoisted_1$8 = ["aria-label", "onClick", "onKeydown"];
809
+ const LinkInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-ba50627b"]]);
810
+ const _hoisted_1$9 = ["aria-label", "onClick", "onKeydown"];
811
811
  const _hoisted_2$6 = ["innerHTML"];
812
812
  const _hoisted_3$5 = ["innerHTML"];
813
813
  const ROW_SIZE$1 = 7;
814
- const _sfc_main$9 = {
814
+ const _sfc_main$a = {
815
815
  __name: "IconGridRow",
816
816
  props: {
817
817
  icons: {
@@ -937,19 +937,19 @@ const _sfc_main$9 = {
937
937
  innerHTML: unref(toolbarIcons).colorOptionCheck,
938
938
  style: normalizeStyle(getCheckStyle(option.value, optionIndex))
939
939
  }, null, 12, _hoisted_3$5)) : createCommentVNode("", true)
940
- ], 40, _hoisted_1$8);
940
+ ], 40, _hoisted_1$9);
941
941
  }), 128))
942
942
  ]);
943
943
  }), 128);
944
944
  };
945
945
  }
946
946
  };
947
- const IconGridRow = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-0f479b6c"]]);
947
+ const IconGridRow = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-0f479b6c"]]);
948
948
  const DropIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 512c53.2 0 101.4-21.6 136.1-56.6l-298.3-235C140 257.1 128 292.3 128 320c0 106 86 192 192 192zM505.2 370.7c4.4-16.2 6.8-33.1 6.8-50.7c0-91.2-130.2-262.3-166.6-308.3C339.4 4.2 330.5 0 320.9 0l-1.8 0c-9.6 0-18.5 4.2-24.5 11.7C277.8 33 240.7 81.3 205.8 136L38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L505.2 370.7zM224 336c0 44.2 35.8 80 80 80c8.8 0 16 7.2 16 16s-7.2 16-16 16c-61.9 0-112-50.1-112-112c0-8.8 7.2-16 16-16s16 7.2 16 16z"/></svg>\n';
949
- const _hoisted_1$7 = { class: "options-grid-wrap" };
949
+ const _hoisted_1$8 = { class: "options-grid-wrap" };
950
950
  const _hoisted_2$5 = ["innerHTML"];
951
951
  const _hoisted_3$4 = { class: "option-grid-ctn" };
952
- const _sfc_main$8 = {
952
+ const _sfc_main$9 = {
953
953
  __name: "IconGrid",
954
954
  props: {
955
955
  icons: {
@@ -976,7 +976,7 @@ const _sfc_main$8 = {
976
976
  emit("select", option);
977
977
  };
978
978
  return (_ctx, _cache) => {
979
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
979
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
980
980
  __props.hasNoneIcon ? (openBlock(), createElementBlock("div", {
981
981
  key: 0,
982
982
  class: "none-option",
@@ -1009,7 +1009,7 @@ const _sfc_main$8 = {
1009
1009
  };
1010
1010
  }
1011
1011
  };
1012
- const IconGrid = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-4c0091c8"]]);
1012
+ const IconGrid = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3d19fedf"]]);
1013
1013
  const closeDropdown$1 = (dropdown) => {
1014
1014
  dropdown.expand.value = false;
1015
1015
  };
@@ -1118,10 +1118,10 @@ const icons = [
1118
1118
  const getAvailableColorOptions = () => {
1119
1119
  return icons.flat().map((item) => item.value);
1120
1120
  };
1121
- const _hoisted_1$6 = ["data-cols", "data-rows", "onKeydown", "onClick"];
1121
+ const _hoisted_1$7 = ["data-cols", "data-rows", "onKeydown", "onClick"];
1122
1122
  const _hoisted_2$4 = ["aria-valuetext"];
1123
1123
  const ROW_SIZE = 5;
1124
- const _sfc_main$7 = {
1124
+ const _sfc_main$8 = {
1125
1125
  __name: "TableGrid",
1126
1126
  emits: ["select", "clickoutside"],
1127
1127
  setup(__props, { emit: __emit }) {
@@ -1237,7 +1237,7 @@ const _sfc_main$7 = {
1237
1237
  ref: tableGridItems,
1238
1238
  onKeydown: withModifiers((event) => handleKeyDown(event, n, i2), ["prevent"]),
1239
1239
  onClick: withModifiers(($event) => handleClick({ cols: n, rows: i2 }), ["stop", "prevent"])
1240
- }, null, 40, _hoisted_1$6);
1240
+ }, null, 40, _hoisted_1$7);
1241
1241
  }), 64))
1242
1242
  ], 64);
1243
1243
  }), 64))
@@ -1250,13 +1250,13 @@ const _sfc_main$7 = {
1250
1250
  };
1251
1251
  }
1252
1252
  };
1253
- const TableGrid = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-92e8d5fb"]]);
1254
- const _hoisted_1$5 = { class: "toolbar-table-actions" };
1253
+ const TableGrid = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-92e8d5fb"]]);
1254
+ const _hoisted_1$6 = { class: "toolbar-table-actions" };
1255
1255
  const _hoisted_2$3 = ["onClick", "data-item", "ariaLabel"];
1256
1256
  const _hoisted_3$3 = { class: "toolbar-table-actions__icon" };
1257
1257
  const _hoisted_4$1 = ["innerHTML"];
1258
1258
  const _hoisted_5 = { class: "toolbar-table-actions__label" };
1259
- const _sfc_main$6 = {
1259
+ const _sfc_main$7 = {
1260
1260
  __name: "TableActions",
1261
1261
  props: {
1262
1262
  options: {
@@ -1270,7 +1270,7 @@ const _sfc_main$6 = {
1270
1270
  emit("select", { command: item.command });
1271
1271
  };
1272
1272
  return (_ctx, _cache) => {
1273
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
1273
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
1274
1274
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
1275
1275
  return openBlock(), createElementBlock("div", {
1276
1276
  class: normalizeClass(["toolbar-table-actions__item", { "toolbar-table-actions__item--border": option.bottomBorder }]),
@@ -1292,7 +1292,7 @@ const _sfc_main$6 = {
1292
1292
  };
1293
1293
  }
1294
1294
  };
1295
- const TableActions = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-990b9a25"]]);
1295
+ const TableActions = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-990b9a25"]]);
1296
1296
  function getScrollableParent(element) {
1297
1297
  let currentElement = element;
1298
1298
  while (currentElement) {
@@ -1316,10 +1316,10 @@ function scrollToElement(targetElement, options = { behavior: "smooth", block: "
1316
1316
  });
1317
1317
  }
1318
1318
  const checkIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>\n';
1319
- const _hoisted_1$4 = { class: "search-input-ctn" };
1319
+ const _hoisted_1$5 = { class: "search-input-ctn" };
1320
1320
  const _hoisted_2$2 = { class: "row" };
1321
1321
  const _hoisted_3$2 = ["onKeydown"];
1322
- const _sfc_main$5 = {
1322
+ const _sfc_main$6 = {
1323
1323
  __name: "SearchInput",
1324
1324
  props: {
1325
1325
  searchRef: {
@@ -1334,7 +1334,7 @@ const _sfc_main$5 = {
1334
1334
  emit("submit", { value: searchValue.value });
1335
1335
  };
1336
1336
  return (_ctx, _cache) => {
1337
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
1337
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
1338
1338
  createElementVNode("div", _hoisted_2$2, [
1339
1339
  withDirectives(createElementVNode("input", {
1340
1340
  ref: __props.searchRef,
@@ -1358,7 +1358,7 @@ const _sfc_main$5 = {
1358
1358
  };
1359
1359
  }
1360
1360
  };
1361
- const SearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-957cbcf2"]]);
1361
+ const SearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-957cbcf2"]]);
1362
1362
  const TOOLBAR_FONTS = [
1363
1363
  {
1364
1364
  label: "Georgia",
@@ -4058,7 +4058,7 @@ function getItems(context, customItems = [], includeDefaultItems = true) {
4058
4058
  }).filter((section) => section.items.length > 0);
4059
4059
  return filteredSections;
4060
4060
  }
4061
- const _hoisted_1$3 = { class: "slash-menu-items" };
4061
+ const _hoisted_1$4 = { class: "slash-menu-items" };
4062
4062
  const _hoisted_2$1 = {
4063
4063
  key: 0,
4064
4064
  class: "slash-menu-divider",
@@ -4066,7 +4066,7 @@ const _hoisted_2$1 = {
4066
4066
  };
4067
4067
  const _hoisted_3$1 = ["onClick"];
4068
4068
  const _hoisted_4 = ["innerHTML"];
4069
- const _sfc_main$4 = {
4069
+ const _sfc_main$5 = {
4070
4070
  __name: "SlashMenu",
4071
4071
  props: {
4072
4072
  editor: {
@@ -4364,7 +4364,7 @@ const _sfc_main$4 = {
4364
4364
  }, null, 544), [
4365
4365
  [vModelText, searchQuery.value]
4366
4366
  ]),
4367
- createElementVNode("div", _hoisted_1$3, [
4367
+ createElementVNode("div", _hoisted_1$4, [
4368
4368
  (openBlock(true), createElementBlock(Fragment, null, renderList(filteredSections.value, (section, sectionIndex) => {
4369
4369
  return openBlock(), createElementBlock(Fragment, {
4370
4370
  key: section.id
@@ -4399,6 +4399,33 @@ const _sfc_main$4 = {
4399
4399
  };
4400
4400
  }
4401
4401
  };
4402
+ const _hoisted_1$3 = ["accept"];
4403
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4404
+ __name: "BasicUpload",
4405
+ props: {
4406
+ accept: { default: ".docx, .pdf, .html, .md" }
4407
+ },
4408
+ emits: ["file-change"],
4409
+ setup(__props, { emit: __emit }) {
4410
+ const emit = __emit;
4411
+ const onFileChange = (event) => {
4412
+ const target = event.target;
4413
+ if (target.files?.[0]) {
4414
+ emit("file-change", target.files[0]);
4415
+ }
4416
+ };
4417
+ return (_ctx, _cache) => {
4418
+ return openBlock(), createElementBlock("div", null, [
4419
+ createElementVNode("input", {
4420
+ type: "file",
4421
+ id: "fileInput",
4422
+ onChange: onFileChange,
4423
+ accept: __props.accept
4424
+ }, null, 40, _hoisted_1$3)
4425
+ ]);
4426
+ };
4427
+ }
4428
+ });
4402
4429
  function adjustPaginationBreaks(editorElem, editor) {
4403
4430
  if (!editorElem.value || !editor?.value?.options?.scale) return;
4404
4431
  const zoom = editor.value.options.scale;
@@ -4923,7 +4950,7 @@ const _sfc_main$1 = {
4923
4950
  class: "editor-element super-editor__element",
4924
4951
  role: "presentation"
4925
4952
  }, null, 512),
4926
- !props.options.disableContextMenu && editorReady.value && editor.value ? (openBlock(), createBlock(_sfc_main$4, {
4953
+ !props.options.disableContextMenu && editorReady.value && editor.value ? (openBlock(), createBlock(_sfc_main$5, {
4927
4954
  key: 0,
4928
4955
  editor: editor.value,
4929
4956
  popoverControls,
@@ -4992,7 +5019,7 @@ const _sfc_main$1 = {
4992
5019
  };
4993
5020
  }
4994
5021
  };
4995
- const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c36dd72"]]);
5022
+ const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-9d25f5b3"]]);
4996
5023
  const _hoisted_1 = ["innerHTML"];
4997
5024
  const _sfc_main = {
4998
5025
  __name: "SuperInput",
@@ -5189,13 +5216,13 @@ const Extensions = {
5189
5216
  export {
5190
5217
  AIWriter,
5191
5218
  v as AnnotatorHelpers,
5192
- c1 as BasicUpload,
5219
+ _sfc_main$4 as BasicUpload,
5193
5220
  C as CommentsPluginKey,
5194
5221
  D as DocxZipper,
5195
5222
  Editor,
5196
5223
  Extensions,
5197
5224
  w as SectionHelpers,
5198
- _sfc_main$4 as SlashMenu,
5225
+ _sfc_main$5 as SlashMenu,
5199
5226
  a5 as SuperConverter,
5200
5227
  SuperEditor,
5201
5228
  SuperInput,
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-Dqed7MP7.js";
3
- import "./chunks/editor-DsKLhlKe.js";
2
+ import { T } from "./chunks/toolbar-B33VzEsn.js";
3
+ import "./chunks/editor-BrxCRICL.js";
4
4
  export {
5
5
  T as default
6
6
  };
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-607cvQXw.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-DfufVFpB.cjs");
4
4
  require("./chunks/vue-BQxRC6G7.cjs");
5
5
  exports.AIWriter = superEditor_es.AIWriter;
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
7
- exports.BasicUpload = superEditor_es._sfc_main;
7
+ exports.BasicUpload = superEditor_es._sfc_main$4;
8
8
  exports.CommentsPluginKey = superEditor_es.CommentsPluginKey;
9
9
  exports.DocxZipper = superEditor_es.DocxZipper;
10
10
  exports.Editor = superEditor_es.Editor;
11
11
  exports.Extensions = superEditor_es.Extensions;
12
12
  exports.SectionHelpers = superEditor_es.SectionHelpers;
13
- exports.SlashMenu = superEditor_es._sfc_main$4;
13
+ exports.SlashMenu = superEditor_es._sfc_main$5;
14
14
  exports.SuperConverter = superEditor_es.SuperConverter;
15
15
  exports.SuperEditor = superEditor_es.SuperEditor;
16
16
  exports.SuperInput = superEditor_es.SuperInput;
@@ -1,5 +1,5 @@
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-DNPslOnx.es.js";
2
- import "./chunks/vue-DVNiXx7E.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-BMKdFBfO.es.js";
2
+ import "./chunks/vue-D1vcEBAQ.es.js";
3
3
  export {
4
4
  A as AIWriter,
5
5
  a as AnnotatorHelpers,
package/dist/superdoc.cjs CHANGED
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-607cvQXw.cjs");
4
- const superdoc = require("./chunks/index-DZIAPuKc.cjs");
5
- require("./chunks/vue-BQxRC6G7.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-DfufVFpB.cjs");
4
+ const superdoc = require("./chunks/index-l9QIxky6.cjs");
6
5
  const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
7
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
8
7
  exports.Editor = superEditor_es.Editor;
@@ -1,6 +1,5 @@
1
- import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-DNPslOnx.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-DC11bH-A.es.js";
3
- import "./chunks/vue-DVNiXx7E.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-BMKdFBfO.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-Ckp6Xz_9.es.js";
4
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
5
4
  export {
6
5
  a as AnnotatorHelpers,