@harbour-enterprises/superdoc 0.29.0-next.6 → 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.
- package/dist/chunks/{PdfViewer-DBfl4V6j.es.js → PdfViewer-D52oZlMN.es.js} +2 -2
- package/dist/chunks/{PdfViewer-kTifNldY.cjs → PdfViewer-DN5OVJ2m.cjs} +1 -1
- package/dist/chunks/{eventemitter3-xrnx5jJP.es.js → eventemitter3-D4gv5QOO.es.js} +1 -1
- package/dist/chunks/{index-Caa0JKTo.es.js → index-Ckp6Xz_9.es.js} +166 -121
- package/dist/chunks/{index-D9lamqZc-xeA1gYMV.cjs → index-D08c3nkG-CEL2t8xk.cjs} +1 -1
- package/dist/chunks/{index-D9lamqZc-CwcGCvi6.es.js → index-D08c3nkG-DhTHMiRT.es.js} +1 -1
- package/dist/chunks/{index-kFJxUsf3.cjs → index-l9QIxky6.cjs} +164 -119
- package/dist/chunks/{jszip-9Y3n05fi.es.js → jszip-Bhl-Iudl.es.js} +1 -1
- package/dist/chunks/{super-editor.es-D6Olq3ex.es.js → super-editor.es-BMKdFBfO.es.js} +148 -112
- package/dist/chunks/{super-editor.es-DkfNbRLe.cjs → super-editor.es-DfufVFpB.cjs} +146 -110
- package/dist/chunks/{vue-DVNiXx7E.es.js → vue-D1vcEBAQ.es.js} +17 -17
- package/dist/chunks/xml-js-jMPlIVKT.es.js +2 -0
- package/dist/packages/superdoc/src/components/CommentsLayer/comment-schemas.d.ts.map +1 -0
- package/dist/packages/superdoc/src/components/CommentsLayer/commentsList/super-comments-list.d.ts.map +1 -0
- package/dist/packages/superdoc/src/components/CommentsLayer/helpers.d.ts.map +1 -0
- package/dist/packages/superdoc/src/components/CommentsLayer/types.d.ts.map +1 -0
- package/dist/packages/superdoc/src/components/CommentsLayer/use-comment.d.ts.map +1 -0
- package/dist/packages/superdoc/src/components/CommentsLayer/use-conversation.d.ts.map +1 -0
- package/dist/packages/superdoc/src/components/CommentsLayer/use-floating-comment.d.ts.map +1 -0
- package/dist/packages/superdoc/src/components/PdfViewer/helpers/range.d.ts.map +1 -0
- package/dist/packages/superdoc/src/components/PdfViewer/helpers/read-file.d.ts.map +1 -0
- package/dist/packages/superdoc/src/components/PdfViewer/pdf/pdf-adapter.d.ts.map +1 -0
- package/dist/packages/superdoc/src/composables/use-ai.d.ts.map +1 -0
- package/dist/packages/superdoc/src/composables/use-document.d.ts.map +1 -0
- package/dist/packages/superdoc/src/composables/use-field.d.ts.map +1 -0
- package/dist/packages/superdoc/src/composables/use-high-contrast-mode.d.ts.map +1 -0
- package/dist/packages/superdoc/src/composables/use-selected-text.d.ts.map +1 -0
- package/dist/{core → packages/superdoc/src/core}/SuperDoc.d.ts +1 -1
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -0
- package/dist/packages/superdoc/src/core/collaboration/collaboration-comments.d.ts.map +1 -0
- package/dist/packages/superdoc/src/core/collaboration/collaboration.d.ts.map +1 -0
- package/dist/packages/superdoc/src/core/collaboration/helpers.d.ts.map +1 -0
- package/dist/packages/superdoc/src/core/collaboration/permissions.d.ts.map +1 -0
- package/dist/packages/superdoc/src/core/create-app.d.ts.map +1 -0
- package/dist/packages/superdoc/src/core/helpers/export.d.ts.map +1 -0
- package/dist/packages/superdoc/src/core/helpers/file.d.ts.map +1 -0
- package/dist/{core → packages/superdoc/src/core}/index.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -0
- package/dist/packages/superdoc/src/helpers/floor.d.ts.map +1 -0
- package/dist/packages/superdoc/src/helpers/group-changes.d.ts.map +1 -0
- package/dist/packages/superdoc/src/helpers/use-selection.d.ts.map +1 -0
- package/dist/{icons.d.ts.map → packages/superdoc/src/icons.d.ts.map} +1 -1
- package/dist/{index.d.ts → packages/superdoc/src/index.d.ts} +5 -5
- package/dist/packages/superdoc/src/index.d.ts.map +1 -0
- package/dist/packages/superdoc/src/main.d.ts.map +1 -0
- package/dist/{stores → packages/superdoc/src/stores}/comments-store.d.ts +36 -36
- package/dist/packages/superdoc/src/stores/comments-store.d.ts.map +1 -0
- package/dist/packages/superdoc/src/stores/hrbr-fields-store.d.ts.map +1 -0
- package/dist/{stores → packages/superdoc/src/stores}/superdoc-store.d.ts +110 -110
- package/dist/{stores → packages/superdoc/src/stores}/superdoc-store.d.ts.map +1 -1
- package/dist/{super-editor.d.ts.map → packages/superdoc/src/super-editor.d.ts.map} +1 -1
- package/dist/shared/common/Telemetry.d.ts +237 -0
- package/dist/shared/common/Telemetry.d.ts.map +1 -0
- package/dist/shared/common/collaboration/awareness.d.ts +39 -0
- package/dist/shared/common/collaboration/awareness.d.ts.map +1 -0
- package/dist/shared/common/document-types.d.ts +10 -0
- package/dist/shared/common/document-types.d.ts.map +1 -0
- package/dist/shared/common/event-types.d.ts +14 -0
- package/dist/shared/common/event-types.d.ts.map +1 -0
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts +8 -0
- package/dist/shared/common/helpers/compare-superdoc-versions.d.ts.map +1 -0
- package/dist/shared/common/helpers/get-file-object.d.ts +50 -0
- package/dist/shared/common/helpers/get-file-object.d.ts.map +1 -0
- package/dist/shared/common/helpers/v-click-outside.d.ts +11 -0
- package/dist/shared/common/helpers/v-click-outside.d.ts.map +1 -0
- package/dist/shared/common/index.d.ts +10 -0
- package/dist/shared/common/index.d.ts.map +1 -0
- package/dist/shared/common/key-transform.d.ts +44 -0
- package/dist/shared/common/key-transform.d.ts.map +1 -0
- package/dist/style.css +56 -56
- package/dist/super-editor/ai-writer.es.js +3 -3
- package/dist/super-editor/chunks/{converter-6BwN6uD7.js → converter-CqYeAv65.js} +331 -50
- package/dist/super-editor/chunks/{docx-zipper-uOVWdyXU.js → docx-zipper-C97RawM-.js} +1 -1
- package/dist/super-editor/chunks/{editor-D-ahyJjH.js → editor-BrxCRICL.js} +7 -6
- package/dist/super-editor/chunks/{index-D9lamqZc.js → index-D08c3nkG.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-DlZ3uQM7.js → toolbar-B33VzEsn.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -2
- 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 +29 -29
- package/dist/super-editor/super-editor/src/core/super-converter/SuperConverter.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/strike/strike.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/index.d.ts +0 -1
- package/dist/super-editor/super-editor/src/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +77 -50
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +3 -3
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +2 -3
- package/dist/superdoc.es.js +2 -3
- package/dist/superdoc.umd.js +44279 -44198
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunks/xml-js-ByyNjzYS.es.js +0 -2
- package/dist/components/CommentsLayer/comment-schemas.d.ts.map +0 -1
- package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts.map +0 -1
- package/dist/components/CommentsLayer/helpers.d.ts.map +0 -1
- package/dist/components/CommentsLayer/types.d.ts.map +0 -1
- package/dist/components/CommentsLayer/use-comment.d.ts.map +0 -1
- package/dist/components/CommentsLayer/use-conversation.d.ts.map +0 -1
- package/dist/components/CommentsLayer/use-floating-comment.d.ts.map +0 -1
- package/dist/components/PdfViewer/helpers/range.d.ts.map +0 -1
- package/dist/components/PdfViewer/helpers/read-file.d.ts.map +0 -1
- package/dist/components/PdfViewer/pdf/pdf-adapter.d.ts.map +0 -1
- package/dist/composables/use-ai.d.ts.map +0 -1
- package/dist/composables/use-document.d.ts.map +0 -1
- package/dist/composables/use-field.d.ts.map +0 -1
- package/dist/composables/use-high-contrast-mode.d.ts.map +0 -1
- package/dist/composables/use-selected-text.d.ts.map +0 -1
- package/dist/core/SuperDoc.d.ts.map +0 -1
- package/dist/core/collaboration/collaboration-comments.d.ts.map +0 -1
- package/dist/core/collaboration/collaboration.d.ts.map +0 -1
- package/dist/core/collaboration/helpers.d.ts.map +0 -1
- package/dist/core/collaboration/permissions.d.ts.map +0 -1
- package/dist/core/create-app.d.ts.map +0 -1
- package/dist/core/helpers/export.d.ts.map +0 -1
- package/dist/core/helpers/file.d.ts.map +0 -1
- package/dist/core/types/index.d.ts.map +0 -1
- package/dist/helpers/floor.d.ts.map +0 -1
- package/dist/helpers/group-changes.d.ts.map +0 -1
- package/dist/helpers/use-selection.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/main.d.ts.map +0 -1
- package/dist/stores/comments-store.d.ts.map +0 -1
- package/dist/stores/hrbr-fields-store.d.ts.map +0 -1
- /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/comment-schemas.d.ts +0 -0
- /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/commentsList/super-comments-list.d.ts +0 -0
- /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/helpers.d.ts +0 -0
- /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/types.d.ts +0 -0
- /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/use-comment.d.ts +0 -0
- /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/use-conversation.d.ts +0 -0
- /package/dist/{components → packages/superdoc/src/components}/CommentsLayer/use-floating-comment.d.ts +0 -0
- /package/dist/{components → packages/superdoc/src/components}/PdfViewer/helpers/range.d.ts +0 -0
- /package/dist/{components → packages/superdoc/src/components}/PdfViewer/helpers/read-file.d.ts +0 -0
- /package/dist/{components → packages/superdoc/src/components}/PdfViewer/pdf/pdf-adapter.d.ts +0 -0
- /package/dist/{composables → packages/superdoc/src/composables}/use-ai.d.ts +0 -0
- /package/dist/{composables → packages/superdoc/src/composables}/use-document.d.ts +0 -0
- /package/dist/{composables → packages/superdoc/src/composables}/use-field.d.ts +0 -0
- /package/dist/{composables → packages/superdoc/src/composables}/use-high-contrast-mode.d.ts +0 -0
- /package/dist/{composables → packages/superdoc/src/composables}/use-selected-text.d.ts +0 -0
- /package/dist/{core → packages/superdoc/src/core}/collaboration/collaboration-comments.d.ts +0 -0
- /package/dist/{core → packages/superdoc/src/core}/collaboration/collaboration.d.ts +0 -0
- /package/dist/{core → packages/superdoc/src/core}/collaboration/helpers.d.ts +0 -0
- /package/dist/{core → packages/superdoc/src/core}/collaboration/permissions.d.ts +0 -0
- /package/dist/{core → packages/superdoc/src/core}/create-app.d.ts +0 -0
- /package/dist/{core → packages/superdoc/src/core}/helpers/export.d.ts +0 -0
- /package/dist/{core → packages/superdoc/src/core}/helpers/file.d.ts +0 -0
- /package/dist/{core → packages/superdoc/src/core}/index.d.ts +0 -0
- /package/dist/{core → packages/superdoc/src/core}/types/index.d.ts +0 -0
- /package/dist/{helpers → packages/superdoc/src/helpers}/floor.d.ts +0 -0
- /package/dist/{helpers → packages/superdoc/src/helpers}/group-changes.d.ts +0 -0
- /package/dist/{helpers → packages/superdoc/src/helpers}/use-selection.d.ts +0 -0
- /package/dist/{icons.d.ts → packages/superdoc/src/icons.d.ts} +0 -0
- /package/dist/{main.d.ts → packages/superdoc/src/main.d.ts} +0 -0
- /package/dist/{stores → packages/superdoc/src/stores}/hrbr-fields-store.d.ts +0 -0
- /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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
378
|
-
animation: spin-
|
|
377
|
+
.ai-textarea-icon.loading[data-v-d869be75] {
|
|
378
|
+
animation: spin-d869be75 2s linear infinite;
|
|
379
379
|
}
|
|
380
|
-
.loading i[data-v-
|
|
380
|
+
.loading i[data-v-d869be75] {
|
|
381
381
|
display: flex;
|
|
382
382
|
}
|
|
383
|
-
.error[data-v-
|
|
383
|
+
.error[data-v-d869be75] {
|
|
384
384
|
fill: #ed4337;
|
|
385
385
|
}
|
|
386
|
-
.ai-submit-button[data-v-
|
|
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-
|
|
394
|
+
.ai-submit-button[data-v-d869be75]:hover {
|
|
395
395
|
opacity: 0.8;
|
|
396
396
|
}
|
|
397
|
-
@keyframes spin-
|
|
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-
|
|
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-
|
|
1567
|
+
.options-grid-wrap[data-v-3d19fedf] {
|
|
1568
1568
|
padding: 5px;
|
|
1569
1569
|
border-radius: 5px;
|
|
1570
1570
|
}
|
|
1571
|
-
.none-option[data-v-
|
|
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-
|
|
1577
|
+
.none-option[data-v-3d19fedf]:hover {
|
|
1578
1578
|
opacity: 0.65;
|
|
1579
1579
|
}
|
|
1580
|
-
.none-icon[data-v-
|
|
1580
|
+
.none-icon[data-v-3d19fedf] {
|
|
1581
1581
|
width: 16px;
|
|
1582
1582
|
}
|
|
1583
|
-
.option-grid-ctn[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
1908
|
+
.editor-element[data-v-9d25f5b3] {
|
|
1909
1909
|
position: relative;
|
|
1910
1910
|
}
|
|
1911
|
-
.super-editor-container[data-v-
|
|
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-
|
|
1920
|
+
.ruler[data-v-9d25f5b3] {
|
|
1921
1921
|
margin-bottom: 2px;
|
|
1922
1922
|
}
|
|
1923
|
-
.super-editor[data-v-
|
|
1923
|
+
.super-editor[data-v-9d25f5b3] {
|
|
1924
1924
|
color: initial;
|
|
1925
1925
|
}
|
|
1926
|
-
.placeholder-editor[data-v-
|
|
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-
|
|
1938
|
+
.placeholder-title[data-v-9d25f5b3] {
|
|
1939
1939
|
display: flex;
|
|
1940
1940
|
justify-content: center;
|
|
1941
1941
|
margin-bottom: 40px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuperConverter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/SuperConverter.js"],"names":[],"mappings":"AAsEA;IACE;;;;;;;;;;;;;;;;;;OAuBG;IAEH
|
|
1
|
+
{"version":3,"file":"SuperConverter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/SuperConverter.js"],"names":[],"mappings":"AAsEA;IACE;;;;;;;;;;;;;;;;;;OAuBG;IAEH;;;;;;;;;;;;;;;SAoBE;IAEF;;;;;;OAMG;IAEH,6BAAsF;IAEtF,wDAOC;IAED,+DAMC;IAED,sDAgBC;IA2GD;;;;;;OAMG;IACH,0DAHW,MAAM,GACJ,MAAM,GAAC,IAAI,CAqBvB;IAED;;;;;;;;OAQG;IACH,wDALW,MAAM,SACN,MAAM,WAAS,qBACf,OAAO,GACL,MAAM,CA2DlB;IAED,mDAEC;IAED,mEAEC;IAED;;;;;OAKG;IACH,yCAFa,MAAM,GAAC,IAAI,CAyBvB;IA0nBD,8CAGC;IAED,8DAGC;IAh3BD,0BAoEC;IAlEC,WAAmC;IAGnC,iBAAuB;IACvB,wBAA8B;IAG9B,iBAAsB;IACtB,UAA8B;IAC9B,WAAgC;IAEhC,WAAgC;IAEhC,eAAoB;IACpB,gBAAkB;IAClB,2BAA6B;IAG7B,4BAAoC;IAGpC,SAAsB;IAItB,cAAmB;IAInB,gBAAsB;IAGtB,iBAAuB;IAGvB,YAAiB;IACjB;;;;;MAAsE;IACtE,qBAAuB;IACvB,YAAiB;IACjB;;;;;MAAsE;IACtE,qBAAuB;IAGvB,oBAAsB;IAGtB,UAAwB;IAExB,0BAAiC;IACjC,0BAA4B;IAG5B,eAA0C;IAC1C,wBAA8B;IAG9B,gBAA4C;IAC5C,gBAA4C;IAG5C,kBAAwB;IACxB,qBAAwB;IACxB,0BAA6B;IAM/B;;;OAGG;IACH,uBAEC;IAED,qBAmBC;IAED,8BAIC;IAyID;;;OAGG;IACH,mBAFa,MAAM,GAAC,IAAI,CAIvB;IAED;;;OAGG;IACH,sBAFa,MAAM,GAAC,IAAI,CAOvB;IAED;;OAEG;IACH,4BAcC;IAED;;OAEG;IACH,yBAMC;IA8BD;;OAEG;IACH,sCAUC;IAED;;OAEG;IACH,qBAUC;IAED,+BAmDC;IAED,0BAsBC;IAED;;;MA4DC;IAED,8BAeC;IAED;;;;;;MAYC;IAED;;;;;;MAiBC;IAED,2EAqBC;IAED,gDAGC;IAED,iNA+EC;IAED;;;;;;;;;;;;;MAgCC;;CA4MF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAiHA;;;;GAIG;AACH,kDAHW,KAAK,KAAQ,MAAO,GAClB,KAAK,KAAQ,CAgDzB;AAED;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAwDxB;AAyFD;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB;AAoBD;;;;;GAKG;AACH,kDAHW,UAAU,GACR,YAAY,CAwLxB;AAiDD;;;;;;;GAOG;AAEH,0DAJW,KAAQ,gBACN,YAAY,CA0DxB;AAED;;;;;GAKG;AACH,6DAFa,YAAY,CAYxB;AAED;;;;;GAKG;AACH,yCAHW,KAAQ;;;EAQlB;AAED;;;;;GAKG;AACH,2CAHW,QAAQ,EAAE,SAgBpB;AAED,uDA2CC;AAED;;;;;;GAMG;AACH,+CAJW,YAAY,QACZ,MAAM,GACJ,MAAM,CAqBlB;
|
|
1
|
+
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAiHA;;;;GAIG;AACH,kDAHW,KAAK,KAAQ,MAAO,GAClB,KAAK,KAAQ,CAgDzB;AAED;;;;;;GAMG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAwDxB;AAyFD;;;;;GAKG;AACH,qDAFa,YAAY,CA2BxB;AAoBD;;;;;GAKG;AACH,kDAHW,UAAU,GACR,YAAY,CAwLxB;AAiDD;;;;;;;GAOG;AAEH,0DAJW,KAAQ,gBACN,YAAY,CA0DxB;AAED;;;;;GAKG;AACH,6DAFa,YAAY,CAYxB;AAED;;;;;GAKG;AACH,yCAHW,KAAQ;;;EAQlB;AAED;;;;;GAKG;AACH,2CAHW,QAAQ,EAAE,SAgBpB;AAED,uDA2CC;AAED;;;;;;GAMG;AACH,+CAJW,YAAY,QACZ,MAAM,GACJ,MAAM,CAqBlB;AA6UD;;;;;;;;;EAgBC;AAtmCM,8EAiDN;AAEM,mDAON;AA8iCD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAoFF;;;;;;;;;;;;;oBA/kCa,KAAQ;;;;;;;;;;UAMR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|
package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts
CHANGED
|
@@ -28,5 +28,5 @@ export function getFontFamilyValue(attributes: any, docx: any): any;
|
|
|
28
28
|
export function getIndentValue(attributes: any): string;
|
|
29
29
|
export function getLineHeightValue(attributes: any): string;
|
|
30
30
|
export function getHighLightValue(attributes: any): string;
|
|
31
|
-
export function getStrikeValue(attributes: any):
|
|
31
|
+
export function getStrikeValue(attributes: any): "1" | "0";
|
|
32
32
|
//# sourceMappingURL=markImporter.d.ts.map
|
package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/markImporter.js"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,6EAFa,UAAU,EAAE,CAsGxB;AAED;;;;;GAKG;AACH,4CAJW,OAAO,gBACP,UAAU,EAAE,GACV,UAAU,EAAE,CAiBxB;AAED;;;;GAIG;AACH,yCAHW,UAAU,EAAE,GACV,UAAU,EAAE,CAoBxB;AAED;;;;;GAKG;AACH,uCAJW,MAAM,+BAEJ,GAAC,CA6Bb;AAED,oEAsBC;AAED,wDAIC;AAED,4DAYC;AAED,2DAKC;AAED,
|
|
1
|
+
{"version":3,"file":"markImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/markImporter.js"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,6EAFa,UAAU,EAAE,CAsGxB;AAED;;;;;GAKG;AACH,4CAJW,OAAO,gBACP,UAAU,EAAE,GACV,UAAU,EAAE,CAiBxB;AAED;;;;GAIG;AACH,yCAHW,UAAU,EAAE,GACV,UAAU,EAAE,CAoBxB;AAED;;;;;GAKG;AACH,uCAJW,MAAM,+BAEJ,GAAC,CA6Bb;AAED,oEAsBC;AAED,wDAIC;AAED,4DAYC;AAED,2DAKC;AAED,2DAOC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strike.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/strike/strike.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"strike.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/strike/strike.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AACH,0BAoFG;;;;;qBApG6B,gBAAgB"}
|
|
@@ -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;
|
|
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-
|
|
13
|
-
import {
|
|
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-
|
|
15
|
-
import { v, C, w, T, q, x, t } from "./chunks/editor-
|
|
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-
|
|
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-
|
|
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$
|
|
315
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
407
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
494
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
575
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
810
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1254
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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-
|
|
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
|
-
|
|
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$
|
|
5225
|
+
_sfc_main$5 as SlashMenu,
|
|
5199
5226
|
a5 as SuperConverter,
|
|
5200
5227
|
SuperEditor,
|
|
5201
5228
|
SuperInput,
|
package/dist/super-editor.cjs
CHANGED
|
@@ -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-
|
|
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$
|
|
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;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -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-
|
|
2
|
-
import "./chunks/vue-
|
|
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,
|