@harbour-enterprises/superdoc 1.0.0-next.2 → 1.0.0-next.4
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.
- package/dist/chunks/{PdfViewer-B-xTd4XY.cjs → PdfViewer-CtSTAdvv.cjs} +1 -1
- package/dist/chunks/{PdfViewer-eykNsWyi.es.js → PdfViewer-DtdN17V4.es.js} +2 -2
- package/dist/chunks/{eventemitter3-CcXAdeql.es.js → eventemitter3-44XulWQe.es.js} +1 -1
- package/dist/chunks/{index-rF5HExWB.cjs → index-Bj1kFbYe.cjs} +465 -228
- package/dist/chunks/{index-DpQ8ZYM0.es.js → index-Cxv7dMYN.es.js} +468 -231
- package/dist/chunks/{index-BDVXUeCy-7mwhYeJ7.es.js → index-D_KE9gpD-aIqhxcuF.es.js} +1 -1
- package/dist/chunks/{index-BDVXUeCy-Di6ozaOM.cjs → index-D_KE9gpD-radGpP4I.cjs} +1 -1
- package/dist/chunks/{jszip-5vvIqAEE.es.js → jszip-VP334ufO.es.js} +1 -1
- package/dist/chunks/{super-editor.es-CxajnL9u.es.js → super-editor.es-B2fSLkzN.es.js} +1033 -493
- package/dist/chunks/{super-editor.es-CcKbh84I.cjs → super-editor.es-BhQu31e4.cjs} +1032 -492
- package/dist/chunks/{vue-Dysv_7z5.es.js → vue-BuPTonTJ.es.js} +27 -27
- package/dist/chunks/xml-js-LkEmUa9-.es.js +2 -0
- package/dist/packages/superdoc/src/composables/useUiFontFamily.d.ts +42 -0
- package/dist/packages/superdoc/src/composables/useUiFontFamily.d.ts.map +1 -0
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts +3 -3
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts +4 -167
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/style.css +88 -86
- package/dist/super-editor/ai-writer.es.js +3 -3
- package/dist/super-editor/chunks/{converter-DN_dhslo.js → converter-CVqUjX24.js} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-Bhl_yBjL.js → docx-zipper-CsWjoVKD.js} +1 -1
- package/dist/super-editor/chunks/{editor-3klx7hyV.js → editor-Cc8nus2C.js} +429 -129
- package/dist/super-editor/chunks/{index-BDVXUeCy.js → index-D_KE9gpD.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-8YA9ltNC.js → toolbar-CoOpR1xE.js} +804 -568
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +22 -21
- package/dist/super-editor/super-editor.es.js +10 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +1495 -718
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-ClO_jHnq.es.js +0 -2
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-
|
|
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-
|
|
122
|
+
.comment-option i[data-v-8b9e3b75] {
|
|
123
123
|
font-size: 11px;
|
|
124
124
|
}
|
|
125
|
-
.option-state[data-v-
|
|
125
|
+
.option-state[data-v-8b9e3b75] {
|
|
126
126
|
margin: 0 7px;
|
|
127
127
|
}
|
|
128
|
-
.active-icon[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
193
|
+
.avatar[data-v-5e404f08] {
|
|
194
194
|
margin-right: 10px;
|
|
195
195
|
}
|
|
196
|
-
.user-info[data-v-
|
|
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-
|
|
201
|
+
.user-name[data-v-5e404f08] {
|
|
202
202
|
font-weight: 600;
|
|
203
203
|
line-height: 1.2em;
|
|
204
204
|
}
|
|
205
|
-
.user-timestamp[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
227
|
+
.overflow-menu__icon[data-v-5e404f08]:hover {
|
|
228
228
|
background-color: #dbdbdb;
|
|
229
229
|
}
|
|
230
|
-
.overflow-menu__icon[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
262
|
+
.tracked-change[data-v-abfa4e05] {
|
|
263
263
|
font-size: 12px;
|
|
264
264
|
}
|
|
265
|
-
.tracked-change-text[data-v-
|
|
265
|
+
.tracked-change-text[data-v-abfa4e05] {
|
|
266
266
|
color: #111;
|
|
267
267
|
}
|
|
268
|
-
.comment-separator[data-v-
|
|
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-
|
|
275
|
+
.existing-internal-input[data-v-abfa4e05] {
|
|
276
276
|
margin-bottom: 10px;
|
|
277
277
|
}
|
|
278
|
-
.initial-internal-dropdown[data-v-
|
|
278
|
+
.initial-internal-dropdown[data-v-abfa4e05] {
|
|
279
279
|
margin-top: 10px;
|
|
280
280
|
}
|
|
281
|
-
.comments-dialog[data-v-
|
|
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-
|
|
297
|
+
.is-active[data-v-abfa4e05] {
|
|
297
298
|
z-index: 10;
|
|
298
299
|
}
|
|
299
|
-
.input-section[data-v-
|
|
300
|
+
.input-section[data-v-abfa4e05] {
|
|
300
301
|
margin-top: 10px;
|
|
301
302
|
}
|
|
302
|
-
.sd-button[data-v-
|
|
303
|
+
.sd-button[data-v-abfa4e05] {
|
|
303
304
|
font-size: 12px;
|
|
304
305
|
margin-left: 5px;
|
|
305
306
|
}
|
|
306
|
-
.comment[data-v-
|
|
307
|
+
.comment[data-v-abfa4e05] {
|
|
307
308
|
font-size: 13px;
|
|
308
309
|
margin: 10px 0;
|
|
309
310
|
}
|
|
310
|
-
.is-resolved[data-v-
|
|
311
|
+
.is-resolved[data-v-abfa4e05] {
|
|
311
312
|
background-color: #f0f0f0;
|
|
312
313
|
}
|
|
313
|
-
.comment-footer[data-v-
|
|
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-
|
|
320
|
+
.internal-dropdown[data-v-abfa4e05] {
|
|
320
321
|
display: inline-block;
|
|
321
322
|
}
|
|
322
|
-
.comment-editing[data-v-
|
|
323
|
+
.comment-editing[data-v-abfa4e05] {
|
|
323
324
|
padding-bottom: 10px;
|
|
324
325
|
}
|
|
325
|
-
.comment-editing button[data-v-
|
|
326
|
+
.comment-editing button[data-v-abfa4e05] {
|
|
326
327
|
margin-left: 5px;
|
|
327
328
|
}
|
|
328
|
-
.tracked-change[data-v-
|
|
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-
|
|
660
|
+
.button-group[data-v-f732136c] {
|
|
660
661
|
display: flex;
|
|
661
662
|
}
|
|
662
663
|
|
|
663
|
-
.superdoc-toolbar[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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:
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
752
|
-
animation: spin-
|
|
753
|
+
.ai-textarea-icon.loading[data-v-a4bc3d14] {
|
|
754
|
+
animation: spin-a4bc3d14 2s linear infinite;
|
|
753
755
|
}
|
|
754
|
-
.loading i[data-v-
|
|
756
|
+
.loading i[data-v-a4bc3d14] {
|
|
755
757
|
display: flex;
|
|
756
758
|
}
|
|
757
|
-
.error[data-v-
|
|
759
|
+
.error[data-v-a4bc3d14] {
|
|
758
760
|
fill: #ed4337;
|
|
759
761
|
}
|
|
760
|
-
.ai-submit-button[data-v-
|
|
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-
|
|
770
|
+
.ai-submit-button[data-v-a4bc3d14]:hover {
|
|
769
771
|
opacity: 0.8;
|
|
770
772
|
}
|
|
771
|
-
@keyframes spin-
|
|
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-
|
|
781
|
+
.ai-loader[data-v-a4bc3d14] {
|
|
780
782
|
display: flex;
|
|
781
783
|
height: 14px;
|
|
782
784
|
justify-content: flex-end;
|
|
@@ -2485,7 +2487,7 @@ img[data-v-7dd69850] {
|
|
|
2485
2487
|
height: 100%;
|
|
2486
2488
|
}
|
|
2487
2489
|
|
|
2488
|
-
.select-container[data-v-
|
|
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-
|
|
2535
|
+
.superdoc[data-v-309688b3] {
|
|
2534
2536
|
display: flex;
|
|
2535
2537
|
}
|
|
2536
|
-
.right-sidebar[data-v-
|
|
2538
|
+
.right-sidebar[data-v-309688b3] {
|
|
2537
2539
|
min-width: 320px;
|
|
2538
2540
|
}
|
|
2539
|
-
.floating-comments[data-v-
|
|
2541
|
+
.floating-comments[data-v-309688b3] {
|
|
2540
2542
|
min-width: 300px;
|
|
2541
2543
|
width: 300px;
|
|
2542
2544
|
}
|
|
2543
|
-
.superdoc__layers[data-v-
|
|
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-
|
|
2550
|
+
.superdoc__document[data-v-309688b3] {
|
|
2549
2551
|
width: 100%;
|
|
2550
2552
|
position: relative;
|
|
2551
2553
|
}
|
|
2552
|
-
.superdoc__sub-document[data-v-
|
|
2554
|
+
.superdoc__sub-document[data-v-309688b3] {
|
|
2553
2555
|
width: 100%;
|
|
2554
2556
|
position: relative;
|
|
2555
2557
|
}
|
|
2556
|
-
.superdoc__selection-layer[data-v-
|
|
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-
|
|
2565
|
+
.superdoc__temp-selection[data-v-309688b3] {
|
|
2564
2566
|
position: absolute;
|
|
2565
2567
|
}
|
|
2566
|
-
.superdoc__comments-layer[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
2609
|
+
.tools-item i[data-v-309688b3] {
|
|
2608
2610
|
cursor: pointer;
|
|
2609
2611
|
}
|
|
2610
|
-
.superdoc__tools-icon[data-v-
|
|
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-
|
|
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-
|
|
2632
|
+
.superdoc__sub-document[data-v-309688b3] {
|
|
2631
2633
|
max-width: 100%;
|
|
2632
2634
|
}
|
|
2633
|
-
.superdoc__right-sidebar[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
2686
|
+
.tools-item i[data-v-309688b3] {
|
|
2685
2687
|
cursor: pointer;
|
|
2686
2688
|
}
|
|
2687
|
-
.superdoc__tools-icon[data-v-
|
|
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-
|
|
2694
|
+
.ai-tool > svg[data-v-309688b3] {
|
|
2693
2695
|
fill: transparent;
|
|
2694
2696
|
}
|
|
2695
|
-
.ai-tool[data-v-
|
|
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-
|
|
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-
|
|
3
|
-
import { _ as _export_sfc } from "./chunks/editor-
|
|
2
|
+
import { T as TextSelection } from "./chunks/converter-CVqUjX24.js";
|
|
3
|
+
import { _ as _export_sfc } from "./chunks/editor-Cc8nus2C.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-
|
|
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.
|
|
42730
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.0.0-next.4") {
|
|
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-
|
|
1
|
+
import { p as process$1, aJ as commonjsGlobal, B as Buffer, aK as getDefaultExportFromCjs, aL as getContentTypesFromXml, aM as xmljs } from "./converter-CVqUjX24.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
|
}
|