@harbour-enterprises/superdoc 1.0.0-next.1 → 1.0.0-next.11

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-Cu04k0JZ.cjs → PdfViewer-65m-1Mif.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-BKujh9gl.es.js → PdfViewer-BHQAIor9.es.js} +2 -2
  3. package/dist/chunks/{eventemitter3-CcXAdeql.es.js → eventemitter3-44XulWQe.es.js} +1 -1
  4. package/dist/chunks/{index-Dlj3l0Hk-CJ0YBOja.cjs → index-C5orVGCQ-CW6wugb7.cjs} +1 -1
  5. package/dist/chunks/{index-Dlj3l0Hk-BuYH_UIe.es.js → index-C5orVGCQ-DVgjx_eq.es.js} +1 -1
  6. package/dist/chunks/{index-Cl0tjE1C.es.js → index-DPqUx7-1.es.js} +564 -325
  7. package/dist/chunks/{index-CZ4149Px.cjs → index-_29uRtgq.cjs} +561 -322
  8. package/dist/chunks/{jszip-5vvIqAEE.es.js → jszip-VP334ufO.es.js} +1 -1
  9. package/dist/chunks/{super-editor.es-CjRtsxTt.cjs → super-editor.es-DxgyliBv.cjs} +28658 -25965
  10. package/dist/chunks/{super-editor.es-D0WByw5h.es.js → super-editor.es-rK6HtVpO.es.js} +28659 -25966
  11. package/dist/chunks/{vue-Dysv_7z5.es.js → vue-BuPTonTJ.es.js} +27 -27
  12. package/dist/chunks/xml-js-LkEmUa9-.es.js +2 -0
  13. package/dist/packages/superdoc/src/composables/useUiFontFamily.d.ts +42 -0
  14. package/dist/packages/superdoc/src/composables/useUiFontFamily.d.ts.map +1 -0
  15. package/dist/packages/superdoc/src/core/SuperDoc.d.ts +3 -3
  16. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  17. package/dist/packages/superdoc/src/core/collaboration/collaboration-comments.d.ts +3 -3
  18. package/dist/packages/superdoc/src/core/collaboration/collaboration-comments.d.ts.map +1 -1
  19. package/dist/packages/superdoc/src/core/collaboration/helpers.d.ts.map +1 -1
  20. package/dist/packages/superdoc/src/core/types/index.d.ts +4 -167
  21. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  22. package/dist/style.css +94 -92
  23. package/dist/super-editor/ai-writer.es.js +3 -3
  24. package/dist/super-editor/chunks/{converter-BS4FD8AG.js → converter-DmUVsRfa.js} +1 -1
  25. package/dist/super-editor/chunks/{docx-zipper-DpiCpt0d.js → docx-zipper-DFJkPgao.js} +1 -1
  26. package/dist/super-editor/chunks/{editor-BeacbTQe.js → editor-BRJH9CNT.js} +28130 -26040
  27. package/dist/super-editor/chunks/{index-Dlj3l0Hk.js → index-C5orVGCQ.js} +1 -1
  28. package/dist/super-editor/chunks/{toolbar-BNQDvBCn.js → toolbar-DRBey7KI.js} +804 -568
  29. package/dist/super-editor/converter.es.js +1 -1
  30. package/dist/super-editor/docx-zipper.es.js +2 -2
  31. package/dist/super-editor/editor.es.js +3 -3
  32. package/dist/super-editor/file-zipper.es.js +1 -1
  33. package/dist/super-editor/style.css +22 -21
  34. package/dist/super-editor/super-editor.es.js +44 -19
  35. package/dist/super-editor/toolbar.es.js +2 -2
  36. package/dist/super-editor.cjs +1 -1
  37. package/dist/super-editor.es.js +2 -2
  38. package/dist/superdoc.cjs +2 -2
  39. package/dist/superdoc.es.js +2 -2
  40. package/dist/superdoc.umd.js +29305 -26373
  41. package/dist/superdoc.umd.js.map +1 -1
  42. package/package.json +1 -1
  43. package/dist/chunks/xml-js-ClO_jHnq.es.js +0 -2
  44. package/dist/images/altText_add.svg +0 -3
  45. package/dist/images/altText_disclaimer.svg +0 -3
  46. package/dist/images/altText_done.svg +0 -3
  47. package/dist/images/altText_spinner.svg +0 -30
  48. package/dist/images/altText_warning.svg +0 -3
  49. package/dist/images/annotation-check.svg +0 -11
  50. package/dist/images/annotation-comment.svg +0 -16
  51. package/dist/images/annotation-help.svg +0 -26
  52. package/dist/images/annotation-insert.svg +0 -10
  53. package/dist/images/annotation-key.svg +0 -11
  54. package/dist/images/annotation-newparagraph.svg +0 -11
  55. package/dist/images/annotation-noicon.svg +0 -7
  56. package/dist/images/annotation-note.svg +0 -42
  57. package/dist/images/annotation-paperclip.svg +0 -6
  58. package/dist/images/annotation-paragraph.svg +0 -16
  59. package/dist/images/annotation-pushpin.svg +0 -7
  60. package/dist/images/cursor-editorFreeHighlight.svg +0 -6
  61. package/dist/images/cursor-editorFreeText.svg +0 -3
  62. package/dist/images/cursor-editorInk.svg +0 -4
  63. package/dist/images/cursor-editorTextHighlight.svg +0 -8
  64. package/dist/images/editor-toolbar-delete.svg +0 -5
  65. package/dist/images/loading-icon.gif +0 -0
  66. package/dist/images/messageBar_closingButton.svg +0 -3
  67. package/dist/images/messageBar_warning.svg +0 -3
  68. package/dist/images/toolbarButton-editorHighlight.svg +0 -6
  69. package/dist/images/toolbarButton-menuArrow.svg +0 -3
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-a88dddd9] {
117
+ .comment-option[data-v-8b9e3b75] {
118
118
  display: flex;
119
119
  align-items: center;
120
120
  font-size: 11px;
121
121
  }
122
- .comment-option i[data-v-a88dddd9] {
122
+ .comment-option i[data-v-8b9e3b75] {
123
123
  font-size: 11px;
124
124
  }
125
- .option-state[data-v-a88dddd9] {
125
+ .option-state[data-v-8b9e3b75] {
126
126
  margin: 0 7px;
127
127
  }
128
- .active-icon[data-v-a88dddd9] {
128
+ .active-icon[data-v-8b9e3b75] {
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-a88dddd9] svg {
136
+ .active-icon[data-v-8b9e3b75] svg {
137
137
  width: 100%;
138
138
  height: 100%;
139
139
  display: block;
140
140
  fill: currentColor;
141
141
  }
142
- .dropdown-caret[data-v-a88dddd9] {
142
+ .dropdown-caret[data-v-8b9e3b75] {
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-a88dddd9] svg {
150
+ .dropdown-caret[data-v-8b9e3b75] svg {
151
151
  width: 100%;
152
152
  height: 100%;
153
153
  display: block;
154
154
  fill: currentColor;
155
155
  }
156
- .internal-dropdown[data-v-a88dddd9] {
156
+ .internal-dropdown[data-v-8b9e3b75] {
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-a88dddd9]:hover {
163
+ .internal-dropdown[data-v-8b9e3b75]: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-0f4f53ef] {
182
+ .comment-header[data-v-5e404f08] {
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-0f4f53ef] {
188
+ .comment-header-left[data-v-5e404f08] {
189
189
  display: flex;
190
190
  justify-content: space-between;
191
191
  align-items: center;
192
192
  }
193
- .avatar[data-v-0f4f53ef] {
193
+ .avatar[data-v-5e404f08] {
194
194
  margin-right: 10px;
195
195
  }
196
- .user-info[data-v-0f4f53ef] {
196
+ .user-info[data-v-5e404f08] {
197
197
  display: flex;
198
198
  flex-direction: column;
199
199
  font-size: 12px;
200
200
  }
201
- .user-name[data-v-0f4f53ef] {
201
+ .user-name[data-v-5e404f08] {
202
202
  font-weight: 600;
203
203
  line-height: 1.2em;
204
204
  }
205
- .user-timestamp[data-v-0f4f53ef] {
205
+ .user-timestamp[data-v-5e404f08] {
206
206
  line-height: 1.2em;
207
207
  font-size: 12px;
208
208
  color: #999;
209
209
  }
210
- .overflow-menu[data-v-0f4f53ef] {
210
+ .overflow-menu[data-v-5e404f08] {
211
211
  flex-shrink: 1;
212
212
  display: flex;
213
213
  gap: 6px;
214
214
  }
215
- .overflow-menu__icon[data-v-0f4f53ef] {
215
+ .overflow-menu__icon[data-v-5e404f08] {
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-0f4f53ef]:hover {
227
+ .overflow-menu__icon[data-v-5e404f08]:hover {
228
228
  background-color: #dbdbdb;
229
229
  }
230
- .overflow-menu__icon[data-v-0f4f53ef] svg {
230
+ .overflow-menu__icon[data-v-5e404f08] svg {
231
231
  width: 100%;
232
232
  height: 100%;
233
233
  display: block;
234
234
  fill: currentColor;
235
235
  }
236
- .overflow-icon[data-v-0f4f53ef] {
236
+ .overflow-icon[data-v-5e404f08] {
237
237
  display: inline-flex;
238
238
  justify-content: center;
239
239
  align-items: center;
@@ -253,37 +253,38 @@ span[data-v-53e13009] {
253
253
  display: inline-block;
254
254
  }
255
255
 
256
- .change-type[data-v-36e5f63e] {
256
+ .change-type[data-v-abfa4e05] {
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-36e5f63e] {
262
+ .tracked-change[data-v-abfa4e05] {
263
263
  font-size: 12px;
264
264
  }
265
- .tracked-change-text[data-v-36e5f63e] {
265
+ .tracked-change-text[data-v-abfa4e05] {
266
266
  color: #111;
267
267
  }
268
- .comment-separator[data-v-36e5f63e] {
268
+ .comment-separator[data-v-abfa4e05] {
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-36e5f63e] {
275
+ .existing-internal-input[data-v-abfa4e05] {
276
276
  margin-bottom: 10px;
277
277
  }
278
- .initial-internal-dropdown[data-v-36e5f63e] {
278
+ .initial-internal-dropdown[data-v-abfa4e05] {
279
279
  margin-top: 10px;
280
280
  }
281
- .comments-dialog[data-v-36e5f63e] {
281
+ .comments-dialog[data-v-abfa4e05] {
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);
287
288
  transition: background-color 250ms ease;
288
289
  -webkit-box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
289
290
  -moz-box-shadow: 0px 4px 12px 0px rgba(50, 50, 50, 0.15);
@@ -293,39 +294,39 @@ span[data-v-53e13009] {
293
294
  min-width: 200px;
294
295
  width: 100%;
295
296
  }
296
- .is-active[data-v-36e5f63e] {
297
+ .is-active[data-v-abfa4e05] {
297
298
  z-index: 10;
298
299
  }
299
- .input-section[data-v-36e5f63e] {
300
+ .input-section[data-v-abfa4e05] {
300
301
  margin-top: 10px;
301
302
  }
302
- .sd-button[data-v-36e5f63e] {
303
+ .sd-button[data-v-abfa4e05] {
303
304
  font-size: 12px;
304
305
  margin-left: 5px;
305
306
  }
306
- .comment[data-v-36e5f63e] {
307
+ .comment[data-v-abfa4e05] {
307
308
  font-size: 13px;
308
309
  margin: 10px 0;
309
310
  }
310
- .is-resolved[data-v-36e5f63e] {
311
+ .is-resolved[data-v-abfa4e05] {
311
312
  background-color: #f0f0f0;
312
313
  }
313
- .comment-footer[data-v-36e5f63e] {
314
+ .comment-footer[data-v-abfa4e05] {
314
315
  margin: 5px 0 5px;
315
316
  display: flex;
316
317
  justify-content: flex-end;
317
318
  width: 100%;
318
319
  }
319
- .internal-dropdown[data-v-36e5f63e] {
320
+ .internal-dropdown[data-v-abfa4e05] {
320
321
  display: inline-block;
321
322
  }
322
- .comment-editing[data-v-36e5f63e] {
323
+ .comment-editing[data-v-abfa4e05] {
323
324
  padding-bottom: 10px;
324
325
  }
325
- .comment-editing button[data-v-36e5f63e] {
326
+ .comment-editing button[data-v-abfa4e05] {
326
327
  margin-left: 5px;
327
328
  }
328
- .tracked-change[data-v-36e5f63e] {
329
+ .tracked-change[data-v-abfa4e05] {
329
330
  margin: 0;
330
331
  }
331
332
 
@@ -656,36 +657,37 @@ span[data-v-53e13009] {
656
657
  border-radius: 8px !important;
657
658
  }
658
659
 
659
- .button-group[data-v-c80a1e51] {
660
+ .button-group[data-v-f732136c] {
660
661
  display: flex;
661
662
  }
662
663
 
663
- .superdoc-toolbar[data-v-3f5ec271] {
664
+ .superdoc-toolbar[data-v-c7a72aa9] {
664
665
  display: flex;
665
666
  width: 100%;
666
667
  justify-content: space-between;
667
668
  padding: 4px 16px;
668
669
  box-sizing: border-box;
670
+ font-family: var(--sd-ui-font-family, Arial, Helvetica, sans-serif);
669
671
  }
670
672
  @media (max-width: 1280px) {
671
- .superdoc-toolbar-group-side[data-v-3f5ec271] {
673
+ .superdoc-toolbar-group-side[data-v-c7a72aa9] {
672
674
  min-width: auto !important;
673
675
  }
674
676
  }
675
677
  @media (max-width: 768px) {
676
- .superdoc-toolbar[data-v-3f5ec271] {
678
+ .superdoc-toolbar[data-v-c7a72aa9] {
677
679
  padding: 4px 10px;
678
680
  justify-content: inherit;
679
681
  }
680
682
  }
681
683
 
682
684
  /* Add isolation styles */
683
- .prosemirror-isolated[data-v-d869be75] {
685
+ .prosemirror-isolated[data-v-a4bc3d14] {
684
686
  /* Make sure the component is above ProseMirror in z-index */
685
687
  z-index: 100;
686
688
  position: relative;
687
689
  }
688
- .ai-writer[data-v-d869be75] {
690
+ .ai-writer[data-v-a4bc3d14] {
689
691
  background-color: white;
690
692
  display: flex;
691
693
  flex-direction: column;
@@ -703,12 +705,12 @@ span[data-v-53e13009] {
703
705
  }
704
706
 
705
707
  /* Chrome, Safari, and Opera */
706
- .ai-writer[data-v-d869be75]::-webkit-scrollbar {
708
+ .ai-writer[data-v-a4bc3d14]::-webkit-scrollbar {
707
709
  display: none;
708
710
  }
709
711
 
710
712
  /* Replace .ai-editable with .ai-textarea */
711
- .ai-textarea[data-v-d869be75] {
713
+ .ai-textarea[data-v-a4bc3d14] {
712
714
  padding-left: 8px;
713
715
  width: 100%;
714
716
  color: #47484a;
@@ -719,15 +721,15 @@ span[data-v-53e13009] {
719
721
  resize: none;
720
722
  overflow: hidden;
721
723
  height: 100%;
722
- font-family: Inter, sans-serif;
724
+ font-family: var(--sd-ui-font-family, Arial, Helvetica, sans-serif);
723
725
  }
724
726
 
725
727
  /* Add specific styles for textarea placeholder */
726
- .ai-textarea[data-v-d869be75]::placeholder {
728
+ .ai-textarea[data-v-a4bc3d14]::placeholder {
727
729
  color: #666;
728
730
  font-weight: 400;
729
731
  }
730
- .ai-user-input-field[data-v-d869be75] {
732
+ .ai-user-input-field[data-v-a4bc3d14] {
731
733
  line-height: 13px;
732
734
  display: flex;
733
735
  flex-direction: row;
@@ -737,27 +739,27 @@ span[data-v-53e13009] {
737
739
  border-radius: 8px;
738
740
  margin-bottom: 10px;
739
741
  }
740
- .ai-textarea-icon[data-v-d869be75] {
742
+ .ai-textarea-icon[data-v-a4bc3d14] {
741
743
  display: block;
742
744
  font-weight: 800;
743
745
  font-size: 14px;
744
746
  width: 16px;
745
747
  height: 16px;
746
748
  }
747
- .ai-textarea-icon svg[data-v-d869be75] {
749
+ .ai-textarea-icon svg[data-v-a4bc3d14] {
748
750
  height: 16px;
749
751
  width: 16px;
750
752
  }
751
- .ai-textarea-icon.loading[data-v-d869be75] {
752
- animation: spin-d869be75 2s linear infinite;
753
+ .ai-textarea-icon.loading[data-v-a4bc3d14] {
754
+ animation: spin-a4bc3d14 2s linear infinite;
753
755
  }
754
- .loading i[data-v-d869be75] {
756
+ .loading i[data-v-a4bc3d14] {
755
757
  display: flex;
756
758
  }
757
- .error[data-v-d869be75] {
759
+ .error[data-v-a4bc3d14] {
758
760
  fill: #ed4337;
759
761
  }
760
- .ai-submit-button[data-v-d869be75] {
762
+ .ai-submit-button[data-v-a4bc3d14] {
761
763
  border: none;
762
764
  padding: 0;
763
765
  margin: 0;
@@ -765,10 +767,10 @@ span[data-v-53e13009] {
765
767
  display: flex;
766
768
  align-items: center;
767
769
  }
768
- .ai-submit-button[data-v-d869be75]:hover {
770
+ .ai-submit-button[data-v-a4bc3d14]:hover {
769
771
  opacity: 0.8;
770
772
  }
771
- @keyframes spin-d869be75 {
773
+ @keyframes spin-a4bc3d14 {
772
774
  from {
773
775
  transform: rotate(0deg);
774
776
  }
@@ -776,7 +778,7 @@ to {
776
778
  transform: rotate(360deg);
777
779
  }
778
780
  }
779
- .ai-loader[data-v-d869be75] {
781
+ .ai-loader[data-v-a4bc3d14] {
780
782
  display: flex;
781
783
  height: 14px;
782
784
  justify-content: flex-end;
@@ -2411,20 +2413,20 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
2411
2413
  /* pointer-events: none; */
2412
2414
  }
2413
2415
 
2414
- .measure-comment[data-v-6905dd07] {
2416
+ .measure-comment[data-v-1402ce8c] {
2415
2417
  box-sizing: border-box;
2416
2418
  height: auto;
2417
2419
  }
2418
- .floating-comment[data-v-6905dd07] {
2420
+ .floating-comment[data-v-1402ce8c] {
2419
2421
  position: absolute;
2420
2422
  display: block;
2421
2423
  }
2422
- .sidebar-container[data-v-6905dd07] {
2424
+ .sidebar-container[data-v-1402ce8c] {
2423
2425
  position: absolute;
2424
2426
  width: 300px;
2425
2427
  min-height: 300px;
2426
2428
  }
2427
- .section-wrapper[data-v-6905dd07] {
2429
+ .section-wrapper[data-v-1402ce8c] {
2428
2430
  position: relative;
2429
2431
  min-height: 100%;
2430
2432
  width: 300px;
@@ -2432,11 +2434,11 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
2432
2434
  align-items: flex-start;
2433
2435
  justify-content: flex-start;
2434
2436
  }
2435
- .floating-comment[data-v-6905dd07] {
2437
+ .floating-comment[data-v-1402ce8c] {
2436
2438
  position: absolute;
2437
2439
  min-width: 300px;
2438
2440
  }
2439
- .calculation-container[data-v-6905dd07] {
2441
+ .calculation-container[data-v-1402ce8c] {
2440
2442
  visibility: hidden;
2441
2443
  position: fixed;
2442
2444
  left: -9999px;
@@ -2485,7 +2487,7 @@ img[data-v-7dd69850] {
2485
2487
  height: 100%;
2486
2488
  }
2487
2489
 
2488
- .select-container[data-v-b8cacb22] {
2490
+ .select-container[data-v-1e49d9b3] {
2489
2491
  padding: 1px;
2490
2492
  }
2491
2493
 
@@ -2530,46 +2532,46 @@ img[data-v-7dd69850] {
2530
2532
  display: none;
2531
2533
  }
2532
2534
 
2533
- .superdoc[data-v-e229774d] {
2535
+ .superdoc[data-v-309688b3] {
2534
2536
  display: flex;
2535
2537
  }
2536
- .right-sidebar[data-v-e229774d] {
2538
+ .right-sidebar[data-v-309688b3] {
2537
2539
  min-width: 320px;
2538
2540
  }
2539
- .floating-comments[data-v-e229774d] {
2541
+ .floating-comments[data-v-309688b3] {
2540
2542
  min-width: 300px;
2541
2543
  width: 300px;
2542
2544
  }
2543
- .superdoc__layers[data-v-e229774d] {
2545
+ .superdoc__layers[data-v-309688b3] {
2544
2546
  height: 100%;
2545
2547
  position: relative;
2546
2548
  box-sizing: border-box;
2547
2549
  }
2548
- .superdoc__document[data-v-e229774d] {
2550
+ .superdoc__document[data-v-309688b3] {
2549
2551
  width: 100%;
2550
2552
  position: relative;
2551
2553
  }
2552
- .superdoc__sub-document[data-v-e229774d] {
2554
+ .superdoc__sub-document[data-v-309688b3] {
2553
2555
  width: 100%;
2554
2556
  position: relative;
2555
2557
  }
2556
- .superdoc__selection-layer[data-v-e229774d] {
2558
+ .superdoc__selection-layer[data-v-309688b3] {
2557
2559
  position: absolute;
2558
2560
  min-width: 100%;
2559
2561
  min-height: 100%;
2560
2562
  z-index: 10;
2561
2563
  pointer-events: none;
2562
2564
  }
2563
- .superdoc__temp-selection[data-v-e229774d] {
2565
+ .superdoc__temp-selection[data-v-309688b3] {
2564
2566
  position: absolute;
2565
2567
  }
2566
- .superdoc__comments-layer[data-v-e229774d] {
2568
+ .superdoc__comments-layer[data-v-309688b3] {
2567
2569
  /* position: absolute; */
2568
2570
  top: 0;
2569
2571
  height: 100%;
2570
2572
  position: relative;
2571
2573
  }
2572
- .superdoc__right-sidebar[data-v-e229774d] {
2574
+ .superdoc__right-sidebar[data-v-309688b3] {
2573
2575
  width: 320px;
2574
2576
  min-width: 320px;
2575
2577
  padding: 0 10px;
@@ -2579,14 +2581,14 @@ img[data-v-7dd69850] {
2579
2581
  }
2580
2582
 
2581
2583
  /* Tools styles */
2582
- .tools[data-v-e229774d] {
2584
+ .tools[data-v-309688b3] {
2583
2585
  position: absolute;
2584
2586
  z-index: 3;
2585
2587
  display: flex;
2586
2588
  flex-direction: column;
2587
2589
  gap: 6px;
2588
2590
  }
2589
- .tools .tool-icon[data-v-e229774d] {
2591
+ .tools .tool-icon[data-v-309688b3] {
2590
2592
  font-size: 20px;
2591
2593
  border-radius: 12px;
2592
2594
  border: none;
@@ -2594,7 +2596,7 @@ img[data-v-7dd69850] {
2594
2596
  background-color: #dbdbdb;
2595
2597
  cursor: pointer;
2596
2598
  }
2597
- .tools-item[data-v-e229774d] {
2599
+ .tools-item[data-v-309688b3] {
2598
2600
  display: flex;
2599
2601
  align-items: center;
2600
2602
  justify-content: center;
@@ -2604,10 +2606,10 @@ img[data-v-7dd69850] {
2604
2606
  border-radius: 12px;
2605
2607
  cursor: pointer;
2606
2608
  }
2607
- .tools-item i[data-v-e229774d] {
2609
+ .tools-item i[data-v-309688b3] {
2608
2610
  cursor: pointer;
2609
2611
  }
2610
- .superdoc__tools-icon[data-v-e229774d] {
2612
+ .superdoc__tools-icon[data-v-309688b3] {
2611
2613
  width: 20px;
2612
2614
  height: 20px;
2613
2615
  flex-shrink: 0;
@@ -2622,15 +2624,15 @@ img[data-v-7dd69850] {
2622
2624
 
2623
2625
  /* 834px is iPad screen size in portrait orientation */
2624
2626
  @media (max-width: 834px) {
2625
- .superdoc .superdoc__layers[data-v-e229774d] {
2627
+ .superdoc .superdoc__layers[data-v-309688b3] {
2626
2628
  margin: 0;
2627
2629
  border: 0 !important;
2628
2630
  box-shadow: none;
2629
2631
  }
2630
- .superdoc__sub-document[data-v-e229774d] {
2632
+ .superdoc__sub-document[data-v-309688b3] {
2631
2633
  max-width: 100%;
2632
2634
  }
2633
- .superdoc__right-sidebar[data-v-e229774d] {
2635
+ .superdoc__right-sidebar[data-v-309688b3] {
2634
2636
  padding: 10px;
2635
2637
  width: 55px;
2636
2638
  position: relative;
@@ -2638,7 +2640,7 @@ img[data-v-7dd69850] {
2638
2640
  }
2639
2641
 
2640
2642
  /* AI Writer styles */
2641
- .ai-writer-container[data-v-e229774d] {
2643
+ .ai-writer-container[data-v-309688b3] {
2642
2644
  position: fixed;
2643
2645
  z-index: 1000;
2644
2646
  background: white;
@@ -2656,13 +2658,13 @@ img[data-v-7dd69850] {
2656
2658
  } */
2657
2659
 
2658
2660
  /* Tools styles */
2659
- .tools[data-v-e229774d] {
2661
+ .tools[data-v-309688b3] {
2660
2662
  position: absolute;
2661
2663
  z-index: 3;
2662
2664
  display: flex;
2663
2665
  gap: 6px;
2664
2666
  }
2665
- .tools .tool-icon[data-v-e229774d] {
2667
+ .tools .tool-icon[data-v-309688b3] {
2666
2668
  font-size: 20px;
2667
2669
  border-radius: 12px;
2668
2670
  border: none;
@@ -2670,7 +2672,7 @@ img[data-v-7dd69850] {
2670
2672
  background-color: #dbdbdb;
2671
2673
  cursor: pointer;
2672
2674
  }
2673
- .tools-item[data-v-e229774d] {
2675
+ .tools-item[data-v-309688b3] {
2674
2676
  display: flex;
2675
2677
  align-items: center;
2676
2678
  justify-content: center;
@@ -2681,18 +2683,18 @@ img[data-v-7dd69850] {
2681
2683
  border-radius: 12px;
2682
2684
  cursor: pointer;
2683
2685
  }
2684
- .tools-item i[data-v-e229774d] {
2686
+ .tools-item i[data-v-309688b3] {
2685
2687
  cursor: pointer;
2686
2688
  }
2687
- .superdoc__tools-icon[data-v-e229774d] {
2689
+ .superdoc__tools-icon[data-v-309688b3] {
2688
2690
  width: 20px;
2689
2691
  height: 20px;
2690
2692
  flex-shrink: 0;
2691
2693
  }
2692
- .ai-tool > svg[data-v-e229774d] {
2694
+ .ai-tool > svg[data-v-309688b3] {
2693
2695
  fill: transparent;
2694
2696
  }
2695
- .ai-tool[data-v-e229774d]::before {
2697
+ .ai-tool[data-v-309688b3]::before {
2696
2698
  content: '';
2697
2699
  position: absolute;
2698
2700
  width: 20px;
@@ -2713,7 +2715,7 @@ img[data-v-7dd69850] {
2713
2715
  filter: brightness(1.2);
2714
2716
  transition: filter 0.2s ease;
2715
2717
  }
2716
- .ai-tool[data-v-e229774d]:hover::before {
2718
+ .ai-tool[data-v-309688b3]:hover::before {
2717
2719
  filter: brightness(1.3);
2718
2720
  }
2719
2721
 
@@ -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-BS4FD8AG.js";
3
- import { _ as _export_sfc } from "./chunks/editor-BeacbTQe.js";
2
+ import { T as TextSelection } from "./chunks/converter-DmUVsRfa.js";
3
+ import { _ as _export_sfc } from "./chunks/editor-BRJH9CNT.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-d869be75"]]);
520
+ const AIWriter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a4bc3d14"]]);
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.1") {
42730
+ static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.0.0-next.11") {
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-BS4FD8AG.js";
1
+ import { p as process$1, aJ as commonjsGlobal, B as Buffer, aK as getDefaultExportFromCjs, aL as getContentTypesFromXml, aM as xmljs } from "./converter-DmUVsRfa.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
  }