@harbour-enterprises/superdoc 1.0.0-next.10 → 1.0.0-next.2

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 (69) hide show
  1. package/dist/chunks/{PdfViewer-B9LcTIm2.cjs → PdfViewer-B-xTd4XY.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-CZG4udaT.es.js → PdfViewer-eykNsWyi.es.js} +2 -2
  3. package/dist/chunks/{eventemitter3-44XulWQe.es.js → eventemitter3-CcXAdeql.es.js} +1 -1
  4. package/dist/chunks/{index-DdTDm9oI-BXzE00pk.es.js → index-BDVXUeCy-7mwhYeJ7.es.js} +1 -1
  5. package/dist/chunks/{index-DdTDm9oI-Duiy8M_G.cjs → index-BDVXUeCy-Di6ozaOM.cjs} +1 -1
  6. package/dist/chunks/{index-1n6qegaQ.es.js → index-DpQ8ZYM0.es.js} +325 -564
  7. package/dist/chunks/{index-4FiyZ-0E.cjs → index-rF5HExWB.cjs} +322 -561
  8. package/dist/chunks/{jszip-VP334ufO.es.js → jszip-5vvIqAEE.es.js} +1 -1
  9. package/dist/chunks/{super-editor.es-BQQuazyp.cjs → super-editor.es-CcKbh84I.cjs} +25739 -28432
  10. package/dist/chunks/{super-editor.es-DKr759cY.es.js → super-editor.es-CxajnL9u.es.js} +25740 -28433
  11. package/dist/chunks/{vue-BuPTonTJ.es.js → vue-Dysv_7z5.es.js} +27 -27
  12. package/dist/chunks/xml-js-ClO_jHnq.es.js +2 -0
  13. package/dist/images/altText_add.svg +3 -0
  14. package/dist/images/altText_disclaimer.svg +3 -0
  15. package/dist/images/altText_done.svg +3 -0
  16. package/dist/images/altText_spinner.svg +30 -0
  17. package/dist/images/altText_warning.svg +3 -0
  18. package/dist/images/annotation-check.svg +11 -0
  19. package/dist/images/annotation-comment.svg +16 -0
  20. package/dist/images/annotation-help.svg +26 -0
  21. package/dist/images/annotation-insert.svg +10 -0
  22. package/dist/images/annotation-key.svg +11 -0
  23. package/dist/images/annotation-newparagraph.svg +11 -0
  24. package/dist/images/annotation-noicon.svg +7 -0
  25. package/dist/images/annotation-note.svg +42 -0
  26. package/dist/images/annotation-paperclip.svg +6 -0
  27. package/dist/images/annotation-paragraph.svg +16 -0
  28. package/dist/images/annotation-pushpin.svg +7 -0
  29. package/dist/images/cursor-editorFreeHighlight.svg +6 -0
  30. package/dist/images/cursor-editorFreeText.svg +3 -0
  31. package/dist/images/cursor-editorInk.svg +4 -0
  32. package/dist/images/cursor-editorTextHighlight.svg +8 -0
  33. package/dist/images/editor-toolbar-delete.svg +5 -0
  34. package/dist/images/loading-icon.gif +0 -0
  35. package/dist/images/messageBar_closingButton.svg +3 -0
  36. package/dist/images/messageBar_warning.svg +3 -0
  37. package/dist/images/toolbarButton-editorHighlight.svg +6 -0
  38. package/dist/images/toolbarButton-menuArrow.svg +3 -0
  39. package/dist/packages/superdoc/src/core/SuperDoc.d.ts +3 -3
  40. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  41. package/dist/packages/superdoc/src/core/collaboration/collaboration-comments.d.ts +3 -3
  42. package/dist/packages/superdoc/src/core/collaboration/collaboration-comments.d.ts.map +1 -1
  43. package/dist/packages/superdoc/src/core/collaboration/helpers.d.ts.map +1 -1
  44. package/dist/packages/superdoc/src/core/types/index.d.ts +167 -4
  45. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  46. package/dist/style.css +92 -94
  47. package/dist/super-editor/ai-writer.es.js +3 -3
  48. package/dist/super-editor/chunks/{converter-BavE2jnW.js → converter-DN_dhslo.js} +1 -1
  49. package/dist/super-editor/chunks/{docx-zipper-CY4M19qa.js → docx-zipper-Bhl_yBjL.js} +1 -1
  50. package/dist/super-editor/chunks/{editor-Cslr04KI.js → editor-3klx7hyV.js} +25818 -27908
  51. package/dist/super-editor/chunks/{index-DdTDm9oI.js → index-BDVXUeCy.js} +1 -1
  52. package/dist/super-editor/chunks/{toolbar-Zdgn--Js.js → toolbar-8YA9ltNC.js} +598 -834
  53. package/dist/super-editor/converter.es.js +1 -1
  54. package/dist/super-editor/docx-zipper.es.js +2 -2
  55. package/dist/super-editor/editor.es.js +3 -3
  56. package/dist/super-editor/file-zipper.es.js +1 -1
  57. package/dist/super-editor/style.css +21 -22
  58. package/dist/super-editor/super-editor.es.js +19 -44
  59. package/dist/super-editor/toolbar.es.js +2 -2
  60. package/dist/super-editor.cjs +1 -1
  61. package/dist/super-editor.es.js +2 -2
  62. package/dist/superdoc.cjs +2 -2
  63. package/dist/superdoc.es.js +2 -2
  64. package/dist/superdoc.umd.js +26134 -29066
  65. package/dist/superdoc.umd.js.map +1 -1
  66. package/package.json +1 -1
  67. package/dist/chunks/xml-js-LkEmUa9-.es.js +0 -2
  68. package/dist/packages/superdoc/src/composables/useUiFontFamily.d.ts +0 -42
  69. package/dist/packages/superdoc/src/composables/useUiFontFamily.d.ts.map +0 -1
package/dist/style.css CHANGED
@@ -114,18 +114,18 @@ span[data-v-53e13009] {
114
114
  font-weight: 300;
115
115
  }
116
116
 
117
- .comment-option[data-v-8b9e3b75] {
117
+ .comment-option[data-v-a88dddd9] {
118
118
  display: flex;
119
119
  align-items: center;
120
120
  font-size: 11px;
121
121
  }
122
- .comment-option i[data-v-8b9e3b75] {
122
+ .comment-option i[data-v-a88dddd9] {
123
123
  font-size: 11px;
124
124
  }
125
- .option-state[data-v-8b9e3b75] {
125
+ .option-state[data-v-a88dddd9] {
126
126
  margin: 0 7px;
127
127
  }
128
- .active-icon[data-v-8b9e3b75] {
128
+ .active-icon[data-v-a88dddd9] {
129
129
  display: inline-flex;
130
130
  justify-content: center;
131
131
  align-items: center;
@@ -133,13 +133,13 @@ span[data-v-53e13009] {
133
133
  width: 16px;
134
134
  height: 16px;
135
135
  }
136
- .active-icon[data-v-8b9e3b75] svg {
136
+ .active-icon[data-v-a88dddd9] svg {
137
137
  width: 100%;
138
138
  height: 100%;
139
139
  display: block;
140
140
  fill: currentColor;
141
141
  }
142
- .dropdown-caret[data-v-8b9e3b75] {
142
+ .dropdown-caret[data-v-a88dddd9] {
143
143
  display: inline-flex;
144
144
  justify-content: center;
145
145
  align-items: center;
@@ -147,20 +147,20 @@ span[data-v-53e13009] {
147
147
  width: 10px;
148
148
  height: 16px;
149
149
  }
150
- .dropdown-caret[data-v-8b9e3b75] svg {
150
+ .dropdown-caret[data-v-a88dddd9] svg {
151
151
  width: 100%;
152
152
  height: 100%;
153
153
  display: block;
154
154
  fill: currentColor;
155
155
  }
156
- .internal-dropdown[data-v-8b9e3b75] {
156
+ .internal-dropdown[data-v-a88dddd9] {
157
157
  transition: all 250ms ease;
158
158
  display: inline-block;
159
159
  cursor: pointer;
160
160
  border-radius: 50px;
161
161
  padding: 2px 8px;
162
162
  }
163
- .internal-dropdown[data-v-8b9e3b75]:hover {
163
+ .internal-dropdown[data-v-a88dddd9]:hover {
164
164
  background-color: #f3f3f5;
165
165
  }
166
166
 
@@ -179,40 +179,40 @@ span[data-v-53e13009] {
179
179
  fill: currentColor;
180
180
  }
181
181
 
182
- .comment-header[data-v-5e404f08] {
182
+ .comment-header[data-v-0f4f53ef] {
183
183
  display: flex;
184
184
  align-items: center;
185
185
  justify-content: space-between;
186
186
  margin-bottom: 10px;
187
187
  }
188
- .comment-header-left[data-v-5e404f08] {
188
+ .comment-header-left[data-v-0f4f53ef] {
189
189
  display: flex;
190
190
  justify-content: space-between;
191
191
  align-items: center;
192
192
  }
193
- .avatar[data-v-5e404f08] {
193
+ .avatar[data-v-0f4f53ef] {
194
194
  margin-right: 10px;
195
195
  }
196
- .user-info[data-v-5e404f08] {
196
+ .user-info[data-v-0f4f53ef] {
197
197
  display: flex;
198
198
  flex-direction: column;
199
199
  font-size: 12px;
200
200
  }
201
- .user-name[data-v-5e404f08] {
201
+ .user-name[data-v-0f4f53ef] {
202
202
  font-weight: 600;
203
203
  line-height: 1.2em;
204
204
  }
205
- .user-timestamp[data-v-5e404f08] {
205
+ .user-timestamp[data-v-0f4f53ef] {
206
206
  line-height: 1.2em;
207
207
  font-size: 12px;
208
208
  color: #999;
209
209
  }
210
- .overflow-menu[data-v-5e404f08] {
210
+ .overflow-menu[data-v-0f4f53ef] {
211
211
  flex-shrink: 1;
212
212
  display: flex;
213
213
  gap: 6px;
214
214
  }
215
- .overflow-menu__icon[data-v-5e404f08] {
215
+ .overflow-menu__icon[data-v-0f4f53ef] {
216
216
  box-sizing: content-box;
217
217
  justify-content: center;
218
218
  align-items: center;
@@ -224,16 +224,16 @@ span[data-v-53e13009] {
224
224
  cursor: pointer;
225
225
  transition: all 250ms ease;
226
226
  }
227
- .overflow-menu__icon[data-v-5e404f08]:hover {
227
+ .overflow-menu__icon[data-v-0f4f53ef]:hover {
228
228
  background-color: #dbdbdb;
229
229
  }
230
- .overflow-menu__icon[data-v-5e404f08] svg {
230
+ .overflow-menu__icon[data-v-0f4f53ef] svg {
231
231
  width: 100%;
232
232
  height: 100%;
233
233
  display: block;
234
234
  fill: currentColor;
235
235
  }
236
- .overflow-icon[data-v-5e404f08] {
236
+ .overflow-icon[data-v-0f4f53ef] {
237
237
  display: inline-flex;
238
238
  justify-content: center;
239
239
  align-items: center;
@@ -253,38 +253,37 @@ span[data-v-53e13009] {
253
253
  display: inline-block;
254
254
  }
255
255
 
256
- .change-type[data-v-abfa4e05] {
256
+ .change-type[data-v-36e5f63e] {
257
257
  font-style: italic;
258
258
  font-weight: 600;
259
259
  font-size: 10px;
260
260
  color: #555;
261
261
  }
262
- .tracked-change[data-v-abfa4e05] {
262
+ .tracked-change[data-v-36e5f63e] {
263
263
  font-size: 12px;
264
264
  }
265
- .tracked-change-text[data-v-abfa4e05] {
265
+ .tracked-change-text[data-v-36e5f63e] {
266
266
  color: #111;
267
267
  }
268
- .comment-separator[data-v-abfa4e05] {
268
+ .comment-separator[data-v-36e5f63e] {
269
269
  background-color: #dbdbdb;
270
270
  height: 1px;
271
271
  width: 100%;
272
272
  margin: 10px 0;
273
273
  font-weight: 400;
274
274
  }
275
- .existing-internal-input[data-v-abfa4e05] {
275
+ .existing-internal-input[data-v-36e5f63e] {
276
276
  margin-bottom: 10px;
277
277
  }
278
- .initial-internal-dropdown[data-v-abfa4e05] {
278
+ .initial-internal-dropdown[data-v-36e5f63e] {
279
279
  margin-top: 10px;
280
280
  }
281
- .comments-dialog[data-v-abfa4e05] {
281
+ .comments-dialog[data-v-36e5f63e] {
282
282
  display: flex;
283
283
  flex-direction: column;
284
284
  padding: 10px 15px;
285
285
  border-radius: 12px;
286
286
  background-color: #f3f6fd;
287
- font-family: var(--sd-ui-font-family, Arial, Helvetica, sans-serif);
288
287
  transition: background-color 250ms ease;
289
288
  -webkit-box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
290
289
  -moz-box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
@@ -294,39 +293,39 @@ span[data-v-53e13009] {
294
293
  min-width: 200px;
295
294
  width: 100%;
296
295
  }
297
- .is-active[data-v-abfa4e05] {
296
+ .is-active[data-v-36e5f63e] {
298
297
  z-index: 10;
299
298
  }
300
- .input-section[data-v-abfa4e05] {
299
+ .input-section[data-v-36e5f63e] {
301
300
  margin-top: 10px;
302
301
  }
303
- .sd-button[data-v-abfa4e05] {
302
+ .sd-button[data-v-36e5f63e] {
304
303
  font-size: 12px;
305
304
  margin-left: 5px;
306
305
  }
307
- .comment[data-v-abfa4e05] {
306
+ .comment[data-v-36e5f63e] {
308
307
  font-size: 13px;
309
308
  margin: 10px 0;
310
309
  }
311
- .is-resolved[data-v-abfa4e05] {
310
+ .is-resolved[data-v-36e5f63e] {
312
311
  background-color: #f0f0f0;
313
312
  }
314
- .comment-footer[data-v-abfa4e05] {
313
+ .comment-footer[data-v-36e5f63e] {
315
314
  margin: 5px 0 5px;
316
315
  display: flex;
317
316
  justify-content: flex-end;
318
317
  width: 100%;
319
318
  }
320
- .internal-dropdown[data-v-abfa4e05] {
319
+ .internal-dropdown[data-v-36e5f63e] {
321
320
  display: inline-block;
322
321
  }
323
- .comment-editing[data-v-abfa4e05] {
322
+ .comment-editing[data-v-36e5f63e] {
324
323
  padding-bottom: 10px;
325
324
  }
326
- .comment-editing button[data-v-abfa4e05] {
325
+ .comment-editing button[data-v-36e5f63e] {
327
326
  margin-left: 5px;
328
327
  }
329
- .tracked-change[data-v-abfa4e05] {
328
+ .tracked-change[data-v-36e5f63e] {
330
329
  margin: 0;
331
330
  }
332
331
 
@@ -657,37 +656,36 @@ span[data-v-53e13009] {
657
656
  border-radius: 8px !important;
658
657
  }
659
658
 
660
- .button-group[data-v-f732136c] {
659
+ .button-group[data-v-c80a1e51] {
661
660
  display: flex;
662
661
  }
663
662
 
664
- .superdoc-toolbar[data-v-c7a72aa9] {
663
+ .superdoc-toolbar[data-v-3f5ec271] {
665
664
  display: flex;
666
665
  width: 100%;
667
666
  justify-content: space-between;
668
667
  padding: 4px 16px;
669
668
  box-sizing: border-box;
670
- font-family: var(--sd-ui-font-family, Arial, Helvetica, sans-serif);
671
669
  }
672
670
  @media (max-width: 1280px) {
673
- .superdoc-toolbar-group-side[data-v-c7a72aa9] {
671
+ .superdoc-toolbar-group-side[data-v-3f5ec271] {
674
672
  min-width: auto !important;
675
673
  }
676
674
  }
677
675
  @media (max-width: 768px) {
678
- .superdoc-toolbar[data-v-c7a72aa9] {
676
+ .superdoc-toolbar[data-v-3f5ec271] {
679
677
  padding: 4px 10px;
680
678
  justify-content: inherit;
681
679
  }
682
680
  }
683
681
 
684
682
  /* Add isolation styles */
685
- .prosemirror-isolated[data-v-a4bc3d14] {
683
+ .prosemirror-isolated[data-v-d869be75] {
686
684
  /* Make sure the component is above ProseMirror in z-index */
687
685
  z-index: 100;
688
686
  position: relative;
689
687
  }
690
- .ai-writer[data-v-a4bc3d14] {
688
+ .ai-writer[data-v-d869be75] {
691
689
  background-color: white;
692
690
  display: flex;
693
691
  flex-direction: column;
@@ -705,12 +703,12 @@ span[data-v-53e13009] {
705
703
  }
706
704
 
707
705
  /* Chrome, Safari, and Opera */
708
- .ai-writer[data-v-a4bc3d14]::-webkit-scrollbar {
706
+ .ai-writer[data-v-d869be75]::-webkit-scrollbar {
709
707
  display: none;
710
708
  }
711
709
 
712
710
  /* Replace .ai-editable with .ai-textarea */
713
- .ai-textarea[data-v-a4bc3d14] {
711
+ .ai-textarea[data-v-d869be75] {
714
712
  padding-left: 8px;
715
713
  width: 100%;
716
714
  color: #47484a;
@@ -721,15 +719,15 @@ span[data-v-53e13009] {
721
719
  resize: none;
722
720
  overflow: hidden;
723
721
  height: 100%;
724
- font-family: var(--sd-ui-font-family, Arial, Helvetica, sans-serif);
722
+ font-family: Inter, sans-serif;
725
723
  }
726
724
 
727
725
  /* Add specific styles for textarea placeholder */
728
- .ai-textarea[data-v-a4bc3d14]::placeholder {
726
+ .ai-textarea[data-v-d869be75]::placeholder {
729
727
  color: #666;
730
728
  font-weight: 400;
731
729
  }
732
- .ai-user-input-field[data-v-a4bc3d14] {
730
+ .ai-user-input-field[data-v-d869be75] {
733
731
  line-height: 13px;
734
732
  display: flex;
735
733
  flex-direction: row;
@@ -739,27 +737,27 @@ span[data-v-53e13009] {
739
737
  border-radius: 8px;
740
738
  margin-bottom: 10px;
741
739
  }
742
- .ai-textarea-icon[data-v-a4bc3d14] {
740
+ .ai-textarea-icon[data-v-d869be75] {
743
741
  display: block;
744
742
  font-weight: 800;
745
743
  font-size: 14px;
746
744
  width: 16px;
747
745
  height: 16px;
748
746
  }
749
- .ai-textarea-icon svg[data-v-a4bc3d14] {
747
+ .ai-textarea-icon svg[data-v-d869be75] {
750
748
  height: 16px;
751
749
  width: 16px;
752
750
  }
753
- .ai-textarea-icon.loading[data-v-a4bc3d14] {
754
- animation: spin-a4bc3d14 2s linear infinite;
751
+ .ai-textarea-icon.loading[data-v-d869be75] {
752
+ animation: spin-d869be75 2s linear infinite;
755
753
  }
756
- .loading i[data-v-a4bc3d14] {
754
+ .loading i[data-v-d869be75] {
757
755
  display: flex;
758
756
  }
759
- .error[data-v-a4bc3d14] {
757
+ .error[data-v-d869be75] {
760
758
  fill: #ed4337;
761
759
  }
762
- .ai-submit-button[data-v-a4bc3d14] {
760
+ .ai-submit-button[data-v-d869be75] {
763
761
  border: none;
764
762
  padding: 0;
765
763
  margin: 0;
@@ -767,10 +765,10 @@ span[data-v-53e13009] {
767
765
  display: flex;
768
766
  align-items: center;
769
767
  }
770
- .ai-submit-button[data-v-a4bc3d14]:hover {
768
+ .ai-submit-button[data-v-d869be75]:hover {
771
769
  opacity: 0.8;
772
770
  }
773
- @keyframes spin-a4bc3d14 {
771
+ @keyframes spin-d869be75 {
774
772
  from {
775
773
  transform: rotate(0deg);
776
774
  }
@@ -778,7 +776,7 @@ to {
778
776
  transform: rotate(360deg);
779
777
  }
780
778
  }
781
- .ai-loader[data-v-a4bc3d14] {
779
+ .ai-loader[data-v-d869be75] {
782
780
  display: flex;
783
781
  height: 14px;
784
782
  justify-content: flex-end;
@@ -2413,20 +2411,20 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
2413
2411
  /* pointer-events: none; */
2414
2412
  }
2415
2413
 
2416
- .measure-comment[data-v-1402ce8c] {
2414
+ .measure-comment[data-v-6905dd07] {
2417
2415
  box-sizing: border-box;
2418
2416
  height: auto;
2419
2417
  }
2420
- .floating-comment[data-v-1402ce8c] {
2418
+ .floating-comment[data-v-6905dd07] {
2421
2419
  position: absolute;
2422
2420
  display: block;
2423
2421
  }
2424
- .sidebar-container[data-v-1402ce8c] {
2422
+ .sidebar-container[data-v-6905dd07] {
2425
2423
  position: absolute;
2426
2424
  width: 300px;
2427
2425
  min-height: 300px;
2428
2426
  }
2429
- .section-wrapper[data-v-1402ce8c] {
2427
+ .section-wrapper[data-v-6905dd07] {
2430
2428
  position: relative;
2431
2429
  min-height: 100%;
2432
2430
  width: 300px;
@@ -2434,11 +2432,11 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
2434
2432
  align-items: flex-start;
2435
2433
  justify-content: flex-start;
2436
2434
  }
2437
- .floating-comment[data-v-1402ce8c] {
2435
+ .floating-comment[data-v-6905dd07] {
2438
2436
  position: absolute;
2439
2437
  min-width: 300px;
2440
2438
  }
2441
- .calculation-container[data-v-1402ce8c] {
2439
+ .calculation-container[data-v-6905dd07] {
2442
2440
  visibility: hidden;
2443
2441
  position: fixed;
2444
2442
  left: -9999px;
@@ -2487,7 +2485,7 @@ img[data-v-7dd69850] {
2487
2485
  height: 100%;
2488
2486
  }
2489
2487
 
2490
- .select-container[data-v-1e49d9b3] {
2488
+ .select-container[data-v-b8cacb22] {
2491
2489
  padding: 1px;
2492
2490
  }
2493
2491
 
@@ -2532,46 +2530,46 @@ img[data-v-7dd69850] {
2532
2530
  display: none;
2533
2531
  }
2534
2532
 
2535
- .superdoc[data-v-309688b3] {
2533
+ .superdoc[data-v-e229774d] {
2536
2534
  display: flex;
2537
2535
  }
2538
- .right-sidebar[data-v-309688b3] {
2536
+ .right-sidebar[data-v-e229774d] {
2539
2537
  min-width: 320px;
2540
2538
  }
2541
- .floating-comments[data-v-309688b3] {
2539
+ .floating-comments[data-v-e229774d] {
2542
2540
  min-width: 300px;
2543
2541
  width: 300px;
2544
2542
  }
2545
- .superdoc__layers[data-v-309688b3] {
2543
+ .superdoc__layers[data-v-e229774d] {
2546
2544
  height: 100%;
2547
2545
  position: relative;
2548
2546
  box-sizing: border-box;
2549
2547
  }
2550
- .superdoc__document[data-v-309688b3] {
2548
+ .superdoc__document[data-v-e229774d] {
2551
2549
  width: 100%;
2552
2550
  position: relative;
2553
2551
  }
2554
- .superdoc__sub-document[data-v-309688b3] {
2552
+ .superdoc__sub-document[data-v-e229774d] {
2555
2553
  width: 100%;
2556
2554
  position: relative;
2557
2555
  }
2558
- .superdoc__selection-layer[data-v-309688b3] {
2556
+ .superdoc__selection-layer[data-v-e229774d] {
2559
2557
  position: absolute;
2560
2558
  min-width: 100%;
2561
2559
  min-height: 100%;
2562
2560
  z-index: 10;
2563
2561
  pointer-events: none;
2564
2562
  }
2565
- .superdoc__temp-selection[data-v-309688b3] {
2563
+ .superdoc__temp-selection[data-v-e229774d] {
2566
2564
  position: absolute;
2567
2565
  }
2568
- .superdoc__comments-layer[data-v-309688b3] {
2566
+ .superdoc__comments-layer[data-v-e229774d] {
2569
2567
  /* position: absolute; */
2570
2568
  top: 0;
2571
2569
  height: 100%;
2572
2570
  position: relative;
2573
2571
  }
2574
- .superdoc__right-sidebar[data-v-309688b3] {
2572
+ .superdoc__right-sidebar[data-v-e229774d] {
2575
2573
  width: 320px;
2576
2574
  min-width: 320px;
2577
2575
  padding: 0 10px;
@@ -2581,14 +2579,14 @@ img[data-v-7dd69850] {
2581
2579
  }
2582
2580
 
2583
2581
  /* Tools styles */
2584
- .tools[data-v-309688b3] {
2582
+ .tools[data-v-e229774d] {
2585
2583
  position: absolute;
2586
2584
  z-index: 3;
2587
2585
  display: flex;
2588
2586
  flex-direction: column;
2589
2587
  gap: 6px;
2590
2588
  }
2591
- .tools .tool-icon[data-v-309688b3] {
2589
+ .tools .tool-icon[data-v-e229774d] {
2592
2590
  font-size: 20px;
2593
2591
  border-radius: 12px;
2594
2592
  border: none;
@@ -2596,7 +2594,7 @@ img[data-v-7dd69850] {
2596
2594
  background-color: #dbdbdb;
2597
2595
  cursor: pointer;
2598
2596
  }
2599
- .tools-item[data-v-309688b3] {
2597
+ .tools-item[data-v-e229774d] {
2600
2598
  display: flex;
2601
2599
  align-items: center;
2602
2600
  justify-content: center;
@@ -2606,10 +2604,10 @@ img[data-v-7dd69850] {
2606
2604
  border-radius: 12px;
2607
2605
  cursor: pointer;
2608
2606
  }
2609
- .tools-item i[data-v-309688b3] {
2607
+ .tools-item i[data-v-e229774d] {
2610
2608
  cursor: pointer;
2611
2609
  }
2612
- .superdoc__tools-icon[data-v-309688b3] {
2610
+ .superdoc__tools-icon[data-v-e229774d] {
2613
2611
  width: 20px;
2614
2612
  height: 20px;
2615
2613
  flex-shrink: 0;
@@ -2624,15 +2622,15 @@ img[data-v-7dd69850] {
2624
2622
 
2625
2623
  /* 834px is iPad screen size in portrait orientation */
2626
2624
  @media (max-width: 834px) {
2627
- .superdoc .superdoc__layers[data-v-309688b3] {
2625
+ .superdoc .superdoc__layers[data-v-e229774d] {
2628
2626
  margin: 0;
2629
2627
  border: 0 !important;
2630
2628
  box-shadow: none;
2631
2629
  }
2632
- .superdoc__sub-document[data-v-309688b3] {
2630
+ .superdoc__sub-document[data-v-e229774d] {
2633
2631
  max-width: 100%;
2634
2632
  }
2635
- .superdoc__right-sidebar[data-v-309688b3] {
2633
+ .superdoc__right-sidebar[data-v-e229774d] {
2636
2634
  padding: 10px;
2637
2635
  width: 55px;
2638
2636
  position: relative;
@@ -2640,7 +2638,7 @@ img[data-v-7dd69850] {
2640
2638
  }
2641
2639
 
2642
2640
  /* AI Writer styles */
2643
- .ai-writer-container[data-v-309688b3] {
2641
+ .ai-writer-container[data-v-e229774d] {
2644
2642
  position: fixed;
2645
2643
  z-index: 1000;
2646
2644
  background: white;
@@ -2658,13 +2656,13 @@ img[data-v-7dd69850] {
2658
2656
  } */
2659
2657
 
2660
2658
  /* Tools styles */
2661
- .tools[data-v-309688b3] {
2659
+ .tools[data-v-e229774d] {
2662
2660
  position: absolute;
2663
2661
  z-index: 3;
2664
2662
  display: flex;
2665
2663
  gap: 6px;
2666
2664
  }
2667
- .tools .tool-icon[data-v-309688b3] {
2665
+ .tools .tool-icon[data-v-e229774d] {
2668
2666
  font-size: 20px;
2669
2667
  border-radius: 12px;
2670
2668
  border: none;
@@ -2672,7 +2670,7 @@ img[data-v-7dd69850] {
2672
2670
  background-color: #dbdbdb;
2673
2671
  cursor: pointer;
2674
2672
  }
2675
- .tools-item[data-v-309688b3] {
2673
+ .tools-item[data-v-e229774d] {
2676
2674
  display: flex;
2677
2675
  align-items: center;
2678
2676
  justify-content: center;
@@ -2683,18 +2681,18 @@ img[data-v-7dd69850] {
2683
2681
  border-radius: 12px;
2684
2682
  cursor: pointer;
2685
2683
  }
2686
- .tools-item i[data-v-309688b3] {
2684
+ .tools-item i[data-v-e229774d] {
2687
2685
  cursor: pointer;
2688
2686
  }
2689
- .superdoc__tools-icon[data-v-309688b3] {
2687
+ .superdoc__tools-icon[data-v-e229774d] {
2690
2688
  width: 20px;
2691
2689
  height: 20px;
2692
2690
  flex-shrink: 0;
2693
2691
  }
2694
- .ai-tool > svg[data-v-309688b3] {
2692
+ .ai-tool > svg[data-v-e229774d] {
2695
2693
  fill: transparent;
2696
2694
  }
2697
- .ai-tool[data-v-309688b3]::before {
2695
+ .ai-tool[data-v-e229774d]::before {
2698
2696
  content: '';
2699
2697
  position: absolute;
2700
2698
  width: 20px;
@@ -2715,7 +2713,7 @@ img[data-v-7dd69850] {
2715
2713
  filter: brightness(1.2);
2716
2714
  transition: filter 0.2s ease;
2717
2715
  }
2718
- .ai-tool[data-v-309688b3]:hover::before {
2716
+ .ai-tool[data-v-e229774d]:hover::before {
2719
2717
  filter: brightness(1.3);
2720
2718
  }
2721
2719
 
@@ -1,6 +1,6 @@
1
1
  import { ref, onMounted, onUnmounted, computed, createElementBlock, openBlock, withModifiers, createElementVNode, withDirectives, unref, vModelText, createCommentVNode, nextTick } from "vue";
2
- import { T as TextSelection } from "./chunks/converter-BavE2jnW.js";
3
- import { _ as _export_sfc } from "./chunks/editor-Cslr04KI.js";
2
+ import { T as TextSelection } from "./chunks/converter-DN_dhslo.js";
3
+ import { _ as _export_sfc } from "./chunks/editor-3klx7hyV.js";
4
4
  const DEFAULT_API_ENDPOINT = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights";
5
5
  const SYSTEM_PROMPT = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
6
6
  async function baseInsightsFetch(payload, options = {}) {
@@ -517,7 +517,7 @@ const _sfc_main = {
517
517
  };
518
518
  }
519
519
  };
520
- const AIWriter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a4bc3d14"]]);
520
+ const AIWriter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d869be75"]]);
521
521
  export {
522
522
  AIWriter as default
523
523
  };
@@ -42727,7 +42727,7 @@ const _SuperConverter = class _SuperConverter {
42727
42727
  static getStoredSuperdocVersion(docx) {
42728
42728
  return _SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
42729
42729
  }
42730
- static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.0.0-next.10") {
42730
+ static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.0.0-next.2") {
42731
42731
  return _SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
42732
42732
  }
42733
42733
  /**
@@ -1,4 +1,4 @@
1
- import { p as process$1, aJ as commonjsGlobal, B as Buffer, aK as getDefaultExportFromCjs, aL as getContentTypesFromXml, aM as xmljs } from "./converter-BavE2jnW.js";
1
+ import { p as process$1, aJ as commonjsGlobal, B as Buffer, aK as getDefaultExportFromCjs, aL as getContentTypesFromXml, aM as xmljs } from "./converter-DN_dhslo.js";
2
2
  function commonjsRequire(path) {
3
3
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }