superdoc 2.27.0 → 2.28.0-next.10
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/{create-super-doc-ui-DpVh2nQH.cjs → create-super-doc-ui-B4c55pFy.cjs} +575 -86
- package/dist/chunks/{create-super-doc-ui-cHUUipYM.es.js → create-super-doc-ui-C4Ka5Ph3.es.js} +570 -87
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/content-controls/content-controls.types.d.ts +11 -0
- package/dist/document-api/src/contract/command-catalog.d.ts +1 -1
- package/dist/document-api/src/contract/operation-definitions.d.ts +46 -46
- package/dist/document-api/src/contract/operation-registry.d.ts +4 -0
- package/dist/document-api/src/export/export.d.ts +3 -1
- package/dist/document-api/src/export/export.types.d.ts +8 -0
- package/dist/document-api/src/get-node/get-node.d.ts +10 -4
- package/dist/document-api/src/hyperlinks/hyperlinks.types.d.ts +2 -0
- package/dist/document-api/src/index.d.ts +5 -4
- package/dist/document-api/src/replace/replace.d.ts +4 -1
- package/dist/document-api/src/styles/apply.d.ts +26 -2
- package/dist/document-api/src/styles/index.d.ts +3 -3
- package/dist/document-api/src/styles/schema.d.ts +3 -1
- package/dist/document-api/src/styles/validation.d.ts +10 -9
- package/dist/document-api/src/types/mutation-plan.types.d.ts +13 -4
- package/dist/document-api/src/types/temporary-mutation.d.ts +5 -1
- package/dist/document-api/src/types/track-changes.types.d.ts +10 -2
- package/dist/layout-engine/contracts/src/index.d.ts +3 -1
- package/dist/layout-engine/contracts/src/resolved-layout.d.ts +1 -0
- package/dist/layout-engine/contracts/src/run-helpers.d.ts +7 -0
- package/dist/layout-engine/painters/dom/src/page-content.d.ts +1 -0
- package/dist/layout-engine/painters/dom/src/review-markers.d.ts +3 -0
- package/dist/layout-engine/painters/dom/src/table/renderTableCell.d.ts +1 -0
- package/dist/public/ui-react.cjs +1 -1
- package/dist/public/ui-react.es.js +1 -1
- package/dist/public/ui-vue.cjs +1 -1
- package/dist/public/ui-vue.es.js +1 -1
- package/dist/public/ui.cjs +1 -1
- package/dist/public/ui.es.js +1 -1
- package/dist/shared/common/list-marker-utils.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/superdoc/src/core/SuperDoc.d.ts +2 -6
- package/dist/superdoc/src/core/collaboration/resolve-v2-collaboration-target.d.ts +2 -0
- package/dist/superdoc/src/core/config/normalize-ui-config.d.ts +1 -0
- package/dist/superdoc/src/core/editor-runtime/types.d.ts +1 -0
- package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +2 -2
- package/dist/superdoc/src/core/extensions/types.d.ts +14 -3
- package/dist/superdoc/src/core/helpers/resolve-docx-export.d.ts +6 -0
- package/dist/superdoc/src/core/types/index.d.ts +35 -1
- package/dist/superdoc/src/core/v2-integration/v2-integration.d.ts +0 -8
- package/dist/superdoc/src/internal/toolbar/built-in/LinkedStyle.vue.d.ts +3 -1
- package/dist/superdoc/src/internal/toolbar/built-in/color-dropdown-helpers.d.ts +0 -1
- package/dist/superdoc/src/internal/toolbar/built-in/constants.d.ts +0 -2
- package/dist/superdoc/src/internal/toolbar/built-in/toolbarTexts.d.ts +1 -0
- package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +1 -0
- package/dist/superdoc/src/public/export-types.d.ts +3 -0
- package/dist/superdoc/src/public/ui/entity-at.d.ts +1 -0
- package/dist/superdoc/src/public/ui/format-painter-helpers.d.ts +0 -13
- package/dist/superdoc/src/public/ui/style-match-patch.d.ts +7 -0
- package/dist/superdoc/src/public/ui/types.d.ts +20 -2
- package/dist/superdoc/src/public/ui.d.cts +18 -0
- package/dist/superdoc/src/public/ui.d.ts +1 -1
- package/dist/superdoc/src/stores/comments-store.d.ts +3 -57
- package/dist/superdoc/src/stores/superdoc-store.d.ts +9 -171
- package/dist/superdoc.cjs +476 -216
- package/dist/superdoc.es.js +473 -215
- package/dist/word-layout/src/types.d.ts +1 -0
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +42 -42
- package/package.json +2 -2
- package/dist/footnote-table-order.docx +0 -0
- package/dist/images/altText_add.svg +0 -3
- package/dist/images/altText_disclaimer.svg +0 -3
- package/dist/images/altText_done.svg +0 -3
- package/dist/images/altText_spinner.svg +0 -30
- package/dist/images/altText_warning.svg +0 -3
- package/dist/images/annotation-check.svg +0 -11
- package/dist/images/annotation-comment.svg +0 -16
- package/dist/images/annotation-help.svg +0 -26
- package/dist/images/annotation-insert.svg +0 -10
- package/dist/images/annotation-key.svg +0 -11
- package/dist/images/annotation-newparagraph.svg +0 -11
- package/dist/images/annotation-noicon.svg +0 -7
- package/dist/images/annotation-note.svg +0 -42
- package/dist/images/annotation-paperclip.svg +0 -6
- package/dist/images/annotation-paragraph.svg +0 -16
- package/dist/images/annotation-pushpin.svg +0 -7
- package/dist/images/checkmark.svg +0 -5
- package/dist/images/comment-actionsButton.svg +0 -3
- package/dist/images/comment-closeButton.svg +0 -3
- package/dist/images/comment-editButton.svg +0 -8
- package/dist/images/comment-popup-editButton.svg +0 -5
- package/dist/images/cursor-editorFreeHighlight.svg +0 -6
- package/dist/images/cursor-editorFreeText.svg +0 -3
- package/dist/images/cursor-editorInk.svg +0 -4
- package/dist/images/cursor-editorTextHighlight.svg +0 -8
- package/dist/images/editor-toolbar-delete.svg +0 -5
- package/dist/images/editor-toolbar-edit.svg +0 -3
- package/dist/images/findbarButton-next.svg +0 -3
- package/dist/images/findbarButton-previous.svg +0 -3
- package/dist/images/gv-toolbarButton-download.svg +0 -3
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/loading.svg +0 -1
- package/dist/images/messageBar_closingButton.svg +0 -3
- package/dist/images/messageBar_info.svg +0 -3
- package/dist/images/messageBar_warning.svg +0 -3
- package/dist/images/pages_closeButton.svg +0 -3
- package/dist/images/pages_selected.svg +0 -7
- package/dist/images/pages_viewArrow.svg +0 -3
- package/dist/images/pages_viewButton.svg +0 -3
- package/dist/images/secondaryToolbarButton-documentProperties.svg +0 -3
- package/dist/images/secondaryToolbarButton-firstPage.svg +0 -3
- package/dist/images/secondaryToolbarButton-handTool.svg +0 -3
- package/dist/images/secondaryToolbarButton-lastPage.svg +0 -3
- package/dist/images/secondaryToolbarButton-rotateCcw.svg +0 -3
- package/dist/images/secondaryToolbarButton-rotateCw.svg +0 -3
- package/dist/images/secondaryToolbarButton-scrollHorizontal.svg +0 -3
- package/dist/images/secondaryToolbarButton-scrollPage.svg +0 -3
- package/dist/images/secondaryToolbarButton-scrollVertical.svg +0 -3
- package/dist/images/secondaryToolbarButton-scrollWrapped.svg +0 -3
- package/dist/images/secondaryToolbarButton-selectTool.svg +0 -3
- package/dist/images/secondaryToolbarButton-spreadEven.svg +0 -3
- package/dist/images/secondaryToolbarButton-spreadNone.svg +0 -3
- package/dist/images/secondaryToolbarButton-spreadOdd.svg +0 -3
- package/dist/images/toolbarButton-bookmark.svg +0 -3
- package/dist/images/toolbarButton-currentOutlineItem.svg +0 -3
- package/dist/images/toolbarButton-download.svg +0 -4
- package/dist/images/toolbarButton-editorFreeText.svg +0 -5
- package/dist/images/toolbarButton-editorHighlight.svg +0 -6
- package/dist/images/toolbarButton-editorInk.svg +0 -4
- package/dist/images/toolbarButton-editorSignature.svg +0 -6
- package/dist/images/toolbarButton-editorStamp.svg +0 -8
- package/dist/images/toolbarButton-menuArrow.svg +0 -3
- package/dist/images/toolbarButton-openFile.svg +0 -3
- package/dist/images/toolbarButton-pageDown.svg +0 -3
- package/dist/images/toolbarButton-pageUp.svg +0 -3
- package/dist/images/toolbarButton-presentationMode.svg +0 -3
- package/dist/images/toolbarButton-print.svg +0 -3
- package/dist/images/toolbarButton-search.svg +0 -3
- package/dist/images/toolbarButton-secondaryToolbarToggle.svg +0 -3
- package/dist/images/toolbarButton-viewAttachments.svg +0 -3
- package/dist/images/toolbarButton-viewLayers.svg +0 -3
- package/dist/images/toolbarButton-viewOutline.svg +0 -3
- package/dist/images/toolbarButton-viewThumbnail.svg +0 -3
- package/dist/images/toolbarButton-viewsManagerToggle.svg +0 -3
- package/dist/images/toolbarButton-zoomIn.svg +0 -3
- package/dist/images/toolbarButton-zoomOut.svg +0 -3
- package/dist/images/treeitem-collapsed.svg +0 -1
- package/dist/images/treeitem-expanded.svg +0 -1
- package/dist/superdoc/src/helpers/floor.d.ts +0 -1
- package/dist/superdoc/src/index.d.cts +0 -18
- package/dist/superdoc/src/index.d.ts +0 -14
- package/dist-cdn/footnote-table-order.docx +0 -0
|
@@ -145,25 +145,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
145
145
|
documentId: string;
|
|
146
146
|
parentCommentId: string;
|
|
147
147
|
}) => Object;
|
|
148
|
-
showAddComment: (superdoc: any, targetClientY?: null) =>
|
|
149
|
-
ok: boolean;
|
|
150
|
-
reason: any;
|
|
151
|
-
detail: any;
|
|
152
|
-
} | {
|
|
153
|
-
ok: boolean;
|
|
154
|
-
reason?: undefined;
|
|
155
|
-
detail?: undefined;
|
|
156
|
-
} | {
|
|
157
|
-
ok: boolean;
|
|
158
|
-
reason: string;
|
|
159
|
-
detail: any;
|
|
160
|
-
}> | {
|
|
161
|
-
ok: boolean;
|
|
162
|
-
reason: any;
|
|
163
|
-
} | {
|
|
164
|
-
ok: boolean;
|
|
165
|
-
reason?: undefined;
|
|
166
|
-
};
|
|
148
|
+
showAddComment: (superdoc: any, targetClientY?: null) => any;
|
|
167
149
|
addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
|
|
168
150
|
superdoc: any;
|
|
169
151
|
comment: any;
|
|
@@ -431,25 +413,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
431
413
|
documentId: string;
|
|
432
414
|
parentCommentId: string;
|
|
433
415
|
}) => Object;
|
|
434
|
-
showAddComment: (superdoc: any, targetClientY?: null) =>
|
|
435
|
-
ok: boolean;
|
|
436
|
-
reason: any;
|
|
437
|
-
detail: any;
|
|
438
|
-
} | {
|
|
439
|
-
ok: boolean;
|
|
440
|
-
reason?: undefined;
|
|
441
|
-
detail?: undefined;
|
|
442
|
-
} | {
|
|
443
|
-
ok: boolean;
|
|
444
|
-
reason: string;
|
|
445
|
-
detail: any;
|
|
446
|
-
}> | {
|
|
447
|
-
ok: boolean;
|
|
448
|
-
reason: any;
|
|
449
|
-
} | {
|
|
450
|
-
ok: boolean;
|
|
451
|
-
reason?: undefined;
|
|
452
|
-
};
|
|
416
|
+
showAddComment: (superdoc: any, targetClientY?: null) => any;
|
|
453
417
|
addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
|
|
454
418
|
superdoc: any;
|
|
455
419
|
comment: any;
|
|
@@ -717,25 +681,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
717
681
|
documentId: string;
|
|
718
682
|
parentCommentId: string;
|
|
719
683
|
}) => Object;
|
|
720
|
-
showAddComment: (superdoc: any, targetClientY?: null) =>
|
|
721
|
-
ok: boolean;
|
|
722
|
-
reason: any;
|
|
723
|
-
detail: any;
|
|
724
|
-
} | {
|
|
725
|
-
ok: boolean;
|
|
726
|
-
reason?: undefined;
|
|
727
|
-
detail?: undefined;
|
|
728
|
-
} | {
|
|
729
|
-
ok: boolean;
|
|
730
|
-
reason: string;
|
|
731
|
-
detail: any;
|
|
732
|
-
}> | {
|
|
733
|
-
ok: boolean;
|
|
734
|
-
reason: any;
|
|
735
|
-
} | {
|
|
736
|
-
ok: boolean;
|
|
737
|
-
reason?: undefined;
|
|
738
|
-
};
|
|
684
|
+
showAddComment: (superdoc: any, targetClientY?: null) => any;
|
|
739
685
|
addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
|
|
740
686
|
superdoc: any;
|
|
741
687
|
comment: any;
|
|
@@ -1034,25 +980,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1034
980
|
documentId: string;
|
|
1035
981
|
parentCommentId: string;
|
|
1036
982
|
}) => Object;
|
|
1037
|
-
showAddComment: (superdoc: any, targetClientY?: null) =>
|
|
1038
|
-
ok: boolean;
|
|
1039
|
-
reason: any;
|
|
1040
|
-
detail: any;
|
|
1041
|
-
} | {
|
|
1042
|
-
ok: boolean;
|
|
1043
|
-
reason?: undefined;
|
|
1044
|
-
detail?: undefined;
|
|
1045
|
-
} | {
|
|
1046
|
-
ok: boolean;
|
|
1047
|
-
reason: string;
|
|
1048
|
-
detail: any;
|
|
1049
|
-
}> | {
|
|
1050
|
-
ok: boolean;
|
|
1051
|
-
reason: any;
|
|
1052
|
-
} | {
|
|
1053
|
-
ok: boolean;
|
|
1054
|
-
reason?: undefined;
|
|
1055
|
-
};
|
|
983
|
+
showAddComment: (superdoc: any, targetClientY?: null) => any;
|
|
1056
984
|
addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
|
|
1057
985
|
superdoc: any;
|
|
1058
986
|
comment: any;
|
|
@@ -1320,25 +1248,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1320
1248
|
documentId: string;
|
|
1321
1249
|
parentCommentId: string;
|
|
1322
1250
|
}) => Object;
|
|
1323
|
-
showAddComment: (superdoc: any, targetClientY?: null) =>
|
|
1324
|
-
ok: boolean;
|
|
1325
|
-
reason: any;
|
|
1326
|
-
detail: any;
|
|
1327
|
-
} | {
|
|
1328
|
-
ok: boolean;
|
|
1329
|
-
reason?: undefined;
|
|
1330
|
-
detail?: undefined;
|
|
1331
|
-
} | {
|
|
1332
|
-
ok: boolean;
|
|
1333
|
-
reason: string;
|
|
1334
|
-
detail: any;
|
|
1335
|
-
}> | {
|
|
1336
|
-
ok: boolean;
|
|
1337
|
-
reason: any;
|
|
1338
|
-
} | {
|
|
1339
|
-
ok: boolean;
|
|
1340
|
-
reason?: undefined;
|
|
1341
|
-
};
|
|
1251
|
+
showAddComment: (superdoc: any, targetClientY?: null) => any;
|
|
1342
1252
|
addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
|
|
1343
1253
|
superdoc: any;
|
|
1344
1254
|
comment: any;
|
|
@@ -1606,25 +1516,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1606
1516
|
documentId: string;
|
|
1607
1517
|
parentCommentId: string;
|
|
1608
1518
|
}) => Object;
|
|
1609
|
-
showAddComment: (superdoc: any, targetClientY?: null) =>
|
|
1610
|
-
ok: boolean;
|
|
1611
|
-
reason: any;
|
|
1612
|
-
detail: any;
|
|
1613
|
-
} | {
|
|
1614
|
-
ok: boolean;
|
|
1615
|
-
reason?: undefined;
|
|
1616
|
-
detail?: undefined;
|
|
1617
|
-
} | {
|
|
1618
|
-
ok: boolean;
|
|
1619
|
-
reason: string;
|
|
1620
|
-
detail: any;
|
|
1621
|
-
}> | {
|
|
1622
|
-
ok: boolean;
|
|
1623
|
-
reason: any;
|
|
1624
|
-
} | {
|
|
1625
|
-
ok: boolean;
|
|
1626
|
-
reason?: undefined;
|
|
1627
|
-
};
|
|
1519
|
+
showAddComment: (superdoc: any, targetClientY?: null) => any;
|
|
1628
1520
|
addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
|
|
1629
1521
|
superdoc: any;
|
|
1630
1522
|
comment: any;
|
|
@@ -1923,25 +1815,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
1923
1815
|
documentId: string;
|
|
1924
1816
|
parentCommentId: string;
|
|
1925
1817
|
}) => Object;
|
|
1926
|
-
showAddComment: (superdoc: any, targetClientY?: null) =>
|
|
1927
|
-
ok: boolean;
|
|
1928
|
-
reason: any;
|
|
1929
|
-
detail: any;
|
|
1930
|
-
} | {
|
|
1931
|
-
ok: boolean;
|
|
1932
|
-
reason?: undefined;
|
|
1933
|
-
detail?: undefined;
|
|
1934
|
-
} | {
|
|
1935
|
-
ok: boolean;
|
|
1936
|
-
reason: string;
|
|
1937
|
-
detail: any;
|
|
1938
|
-
}> | {
|
|
1939
|
-
ok: boolean;
|
|
1940
|
-
reason: any;
|
|
1941
|
-
} | {
|
|
1942
|
-
ok: boolean;
|
|
1943
|
-
reason?: undefined;
|
|
1944
|
-
};
|
|
1818
|
+
showAddComment: (superdoc: any, targetClientY?: null) => any;
|
|
1945
1819
|
addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
|
|
1946
1820
|
superdoc: any;
|
|
1947
1821
|
comment: any;
|
|
@@ -2209,25 +2083,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2209
2083
|
documentId: string;
|
|
2210
2084
|
parentCommentId: string;
|
|
2211
2085
|
}) => Object;
|
|
2212
|
-
showAddComment: (superdoc: any, targetClientY?: null) =>
|
|
2213
|
-
ok: boolean;
|
|
2214
|
-
reason: any;
|
|
2215
|
-
detail: any;
|
|
2216
|
-
} | {
|
|
2217
|
-
ok: boolean;
|
|
2218
|
-
reason?: undefined;
|
|
2219
|
-
detail?: undefined;
|
|
2220
|
-
} | {
|
|
2221
|
-
ok: boolean;
|
|
2222
|
-
reason: string;
|
|
2223
|
-
detail: any;
|
|
2224
|
-
}> | {
|
|
2225
|
-
ok: boolean;
|
|
2226
|
-
reason: any;
|
|
2227
|
-
} | {
|
|
2228
|
-
ok: boolean;
|
|
2229
|
-
reason?: undefined;
|
|
2230
|
-
};
|
|
2086
|
+
showAddComment: (superdoc: any, targetClientY?: null) => any;
|
|
2231
2087
|
addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
|
|
2232
2088
|
superdoc: any;
|
|
2233
2089
|
comment: any;
|
|
@@ -2495,25 +2351,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
|
|
|
2495
2351
|
documentId: string;
|
|
2496
2352
|
parentCommentId: string;
|
|
2497
2353
|
}) => Object;
|
|
2498
|
-
showAddComment: (superdoc: any, targetClientY?: null) =>
|
|
2499
|
-
ok: boolean;
|
|
2500
|
-
reason: any;
|
|
2501
|
-
detail: any;
|
|
2502
|
-
} | {
|
|
2503
|
-
ok: boolean;
|
|
2504
|
-
reason?: undefined;
|
|
2505
|
-
detail?: undefined;
|
|
2506
|
-
} | {
|
|
2507
|
-
ok: boolean;
|
|
2508
|
-
reason: string;
|
|
2509
|
-
detail: any;
|
|
2510
|
-
}> | {
|
|
2511
|
-
ok: boolean;
|
|
2512
|
-
reason: any;
|
|
2513
|
-
} | {
|
|
2514
|
-
ok: boolean;
|
|
2515
|
-
reason?: undefined;
|
|
2516
|
-
};
|
|
2354
|
+
showAddComment: (superdoc: any, targetClientY?: null) => any;
|
|
2517
2355
|
addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
|
|
2518
2356
|
superdoc: any;
|
|
2519
2357
|
comment: any;
|