superdoc 0.20.0-next.13
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/README.md +113 -0
- package/dist/chunks/PdfViewer-Cdw_Rxtl.cjs +507 -0
- package/dist/chunks/PdfViewer-UKMeGyCc.es.js +507 -0
- package/dist/chunks/blank-docx-CPqX9RF5.cjs +3 -0
- package/dist/chunks/blank-docx-iwdyG9RH.es.js +4 -0
- package/dist/chunks/eventemitter3-B_kO1Pxm.cjs +168 -0
- package/dist/chunks/eventemitter3-CZv6vEhA.es.js +169 -0
- package/dist/chunks/index-ByynlgNA.es.js +18649 -0
- package/dist/chunks/index-QAHP9Hp3.cjs +18664 -0
- package/dist/chunks/jszip-B8KIZSNe.es.js +1774 -0
- package/dist/chunks/jszip-b7l8QkfH.cjs +1773 -0
- package/dist/chunks/super-editor.es-BFcP4oFS.cjs +83013 -0
- package/dist/chunks/super-editor.es-D9-ZMXnA.es.js +82998 -0
- package/dist/chunks/uuid-CQzaMNgL.cjs +36 -0
- package/dist/chunks/uuid-DIIKH5Zc.es.js +37 -0
- package/dist/chunks/vue-CXxsqYcP.es.js +9743 -0
- package/dist/chunks/vue-DWle4Cai.cjs +9742 -0
- package/dist/chunks/xml-js-CX8FH0He.cjs +3 -0
- package/dist/chunks/xml-js-D0tLGmKu.es.js +2 -0
- package/dist/components/CommentsLayer/comment-schemas.d.ts +17 -0
- package/dist/components/CommentsLayer/comment-schemas.d.ts.map +1 -0
- package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts +21 -0
- package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts.map +1 -0
- package/dist/components/CommentsLayer/helpers.d.ts +8 -0
- package/dist/components/CommentsLayer/helpers.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-comment.d.ts +8 -0
- package/dist/components/CommentsLayer/use-comment.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-conversation.d.ts +23 -0
- package/dist/components/CommentsLayer/use-conversation.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-floating-comment.d.ts +12 -0
- package/dist/components/CommentsLayer/use-floating-comment.d.ts.map +1 -0
- package/dist/components/PdfViewer/helpers/range.d.ts +2 -0
- package/dist/components/PdfViewer/helpers/range.d.ts.map +1 -0
- package/dist/components/PdfViewer/helpers/read-file.d.ts +2 -0
- package/dist/components/PdfViewer/helpers/read-file.d.ts.map +1 -0
- package/dist/components/PdfViewer/pdf/pdf-adapter.d.ts +115 -0
- package/dist/components/PdfViewer/pdf/pdf-adapter.d.ts.map +1 -0
- package/dist/composables/use-ai.d.ts +11 -0
- package/dist/composables/use-ai.d.ts.map +1 -0
- package/dist/composables/use-document.d.ts +29 -0
- package/dist/composables/use-document.d.ts.map +1 -0
- package/dist/composables/use-field.d.ts +34 -0
- package/dist/composables/use-field.d.ts.map +1 -0
- package/dist/composables/use-high-contrast-mode.d.ts +5 -0
- package/dist/composables/use-high-contrast-mode.d.ts.map +1 -0
- package/dist/composables/use-selected-text.d.ts +8 -0
- package/dist/composables/use-selected-text.d.ts.map +1 -0
- package/dist/core/SuperDoc.d.ts +803 -0
- package/dist/core/SuperDoc.d.ts.map +1 -0
- package/dist/core/collaboration/collaboration-comments.d.ts +5 -0
- package/dist/core/collaboration/collaboration-comments.d.ts.map +1 -0
- package/dist/core/collaboration/collaboration.d.ts +18 -0
- package/dist/core/collaboration/collaboration.d.ts.map +1 -0
- package/dist/core/collaboration/helpers.d.ts +5 -0
- package/dist/core/collaboration/helpers.d.ts.map +1 -0
- package/dist/core/collaboration/permissions.d.ts +14 -0
- package/dist/core/collaboration/permissions.d.ts.map +1 -0
- package/dist/core/create-app.d.ts +2 -0
- package/dist/core/create-app.d.ts.map +1 -0
- package/dist/core/helpers/export.d.ts +3 -0
- package/dist/core/helpers/export.d.ts.map +1 -0
- package/dist/core/helpers/file.d.ts +44 -0
- package/dist/core/helpers/file.d.ts.map +1 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/helpers/floor.d.ts +2 -0
- package/dist/helpers/floor.d.ts.map +1 -0
- package/dist/helpers/group-changes.d.ts +2 -0
- package/dist/helpers/group-changes.d.ts.map +1 -0
- package/dist/helpers/use-selection.d.ts +18 -0
- package/dist/helpers/use-selection.d.ts.map +1 -0
- package/dist/icons.d.ts +11 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/images/altText_add.svg +3 -0
- package/dist/images/altText_done.svg +3 -0
- package/dist/images/annotation-check.svg +11 -0
- package/dist/images/annotation-comment.svg +16 -0
- package/dist/images/annotation-help.svg +26 -0
- package/dist/images/annotation-insert.svg +10 -0
- package/dist/images/annotation-key.svg +11 -0
- package/dist/images/annotation-newparagraph.svg +11 -0
- package/dist/images/annotation-noicon.svg +7 -0
- package/dist/images/annotation-note.svg +42 -0
- package/dist/images/annotation-paperclip.svg +6 -0
- package/dist/images/annotation-paragraph.svg +16 -0
- package/dist/images/annotation-pushpin.svg +7 -0
- package/dist/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/images/cursor-editorFreeText.svg +3 -0
- package/dist/images/cursor-editorInk.svg +4 -0
- package/dist/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/images/editor-toolbar-delete.svg +5 -0
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/stores/comments-store.d.ts +245 -0
- package/dist/stores/comments-store.d.ts.map +1 -0
- package/dist/stores/hrbr-fields-store.d.ts +44 -0
- package/dist/stores/hrbr-fields-store.d.ts.map +1 -0
- package/dist/stores/superdoc-store.d.ts +146 -0
- package/dist/stores/superdoc-store.d.ts.map +1 -0
- package/dist/style.css +5290 -0
- package/dist/super-editor/ai-writer.es.js +523 -0
- package/dist/super-editor/chunks/converter-Brf9NxwA.js +32437 -0
- package/dist/super-editor/chunks/docx-zipper-Dld3TtPb.js +2552 -0
- package/dist/super-editor/chunks/editor-27QWXfk-.js +33078 -0
- package/dist/super-editor/chunks/toolbar-BPRbNqgL.js +10168 -0
- package/dist/super-editor/converter.es.js +5 -0
- package/dist/super-editor/docx-zipper.es.js +5 -0
- package/dist/super-editor/editor.es.js +6 -0
- package/dist/super-editor/file-zipper.es.js +12 -0
- package/dist/super-editor/postcss.config.d.cts +1 -0
- package/dist/super-editor/src/components/cursor-helpers.d.ts +24 -0
- package/dist/super-editor/src/components/pagination-helpers.d.ts +8 -0
- package/dist/super-editor/src/components/slash-menu/constants.d.ts +67 -0
- package/dist/super-editor/src/components/slash-menu/menuItems.d.ts +36 -0
- package/dist/super-editor/src/components/slash-menu/utils.d.ts +9 -0
- package/dist/super-editor/src/components/toolbar/ai-helpers.d.ts +76 -0
- package/dist/super-editor/src/components/toolbar/color-dropdown-helpers.d.ts +14 -0
- package/dist/super-editor/src/components/toolbar/constants.d.ts +18 -0
- package/dist/super-editor/src/components/toolbar/defaultItems.d.ts +6 -0
- package/dist/super-editor/src/components/toolbar/helpers.d.ts +5 -0
- package/dist/super-editor/src/components/toolbar/scroll-helpers.d.ts +4 -0
- package/dist/super-editor/src/components/toolbar/super-toolbar.d.ts +506 -0
- package/dist/super-editor/src/components/toolbar/toolbarIcons.d.ts +61 -0
- package/dist/super-editor/src/components/toolbar/toolbarTexts.d.ts +52 -0
- package/dist/super-editor/src/components/toolbar/use-toolbar-item.d.ts +45 -0
- package/dist/super-editor/src/composables/use-high-contrast-mode.d.ts +4 -0
- package/dist/super-editor/src/core/Attribute.d.ts +79 -0
- package/dist/super-editor/src/core/CommandService.d.ts +63 -0
- package/dist/super-editor/src/core/DocxZipper.d.ts +61 -0
- package/dist/super-editor/src/core/Editor.d.ts +828 -0
- package/dist/super-editor/src/core/EventEmitter.d.ts +39 -0
- package/dist/super-editor/src/core/Extension.d.ts +18 -0
- package/dist/super-editor/src/core/ExtensionService.d.ts +59 -0
- package/dist/super-editor/src/core/InputRule.d.ts +60 -0
- package/dist/super-editor/src/core/Mark.d.ts +19 -0
- package/dist/super-editor/src/core/Node.d.ts +29 -0
- package/dist/super-editor/src/core/OxmlNode.d.ts +19 -0
- package/dist/super-editor/src/core/Schema.d.ts +33 -0
- package/dist/super-editor/src/core/child-editor/child-editor.d.ts +2 -0
- package/dist/super-editor/src/core/child-editor/index.d.ts +1 -0
- package/dist/super-editor/src/core/commands/backspaceNextToList.d.ts +5 -0
- package/dist/super-editor/src/core/commands/clearNodes.d.ts +5 -0
- package/dist/super-editor/src/core/commands/command.d.ts +1 -0
- package/dist/super-editor/src/core/commands/createParagraphNear.d.ts +4 -0
- package/dist/super-editor/src/core/commands/decreaseListIndent.d.ts +1 -0
- package/dist/super-editor/src/core/commands/deleteListItem.d.ts +1 -0
- package/dist/super-editor/src/core/commands/deleteNextToList.d.ts +14 -0
- package/dist/super-editor/src/core/commands/deleteSelection.d.ts +5 -0
- package/dist/super-editor/src/core/commands/exitCode.d.ts +4 -0
- package/dist/super-editor/src/core/commands/first.d.ts +1 -0
- package/dist/super-editor/src/core/commands/increaseListIndent.d.ts +4 -0
- package/dist/super-editor/src/core/commands/index.d.ts +43 -0
- package/dist/super-editor/src/core/commands/insertContent.d.ts +4 -0
- package/dist/super-editor/src/core/commands/insertContentAt.d.ts +8 -0
- package/dist/super-editor/src/core/commands/insertTabChar.d.ts +3 -0
- package/dist/super-editor/src/core/commands/insertTabNode.d.ts +10 -0
- package/dist/super-editor/src/core/commands/joinBackward.d.ts +4 -0
- package/dist/super-editor/src/core/commands/joinDown.d.ts +4 -0
- package/dist/super-editor/src/core/commands/joinForward.d.ts +4 -0
- package/dist/super-editor/src/core/commands/joinUp.d.ts +4 -0
- package/dist/super-editor/src/core/commands/liftEmptyBlock.d.ts +4 -0
- package/dist/super-editor/src/core/commands/liftListItem.d.ts +4 -0
- package/dist/super-editor/src/core/commands/list-helpers/find-node-position.d.ts +1 -0
- package/dist/super-editor/src/core/commands/list-helpers/index.d.ts +2 -0
- package/dist/super-editor/src/core/commands/list-helpers/is-list.d.ts +1 -0
- package/dist/super-editor/src/core/commands/list-helpers/test-helpers.d.ts +126 -0
- package/dist/super-editor/src/core/commands/newlineInCode.d.ts +4 -0
- package/dist/super-editor/src/core/commands/resetAttributes.d.ts +5 -0
- package/dist/super-editor/src/core/commands/restoreSelection.d.ts +5 -0
- package/dist/super-editor/src/core/commands/selectAll.d.ts +4 -0
- package/dist/super-editor/src/core/commands/selectNodeBackward.d.ts +4 -0
- package/dist/super-editor/src/core/commands/selectNodeForward.d.ts +4 -0
- package/dist/super-editor/src/core/commands/selectTextblockEnd.d.ts +4 -0
- package/dist/super-editor/src/core/commands/selectTextblockStart.d.ts +4 -0
- package/dist/super-editor/src/core/commands/setMark.d.ts +6 -0
- package/dist/super-editor/src/core/commands/setMeta.d.ts +3 -0
- package/dist/super-editor/src/core/commands/setNode.d.ts +5 -0
- package/dist/super-editor/src/core/commands/sinkListItem.d.ts +4 -0
- package/dist/super-editor/src/core/commands/splitBlock.d.ts +3 -0
- package/dist/super-editor/src/core/commands/splitListItem.d.ts +1 -0
- package/dist/super-editor/src/core/commands/toggleList.d.ts +56 -0
- package/dist/super-editor/src/core/commands/toggleMark.d.ts +4 -0
- package/dist/super-editor/src/core/commands/toggleNode.d.ts +4 -0
- package/dist/super-editor/src/core/commands/types/index.d.ts +61 -0
- package/dist/super-editor/src/core/commands/undoInputRule.d.ts +4 -0
- package/dist/super-editor/src/core/commands/unsetAllMarks.d.ts +5 -0
- package/dist/super-editor/src/core/commands/unsetMark.d.ts +6 -0
- package/dist/super-editor/src/core/commands/updateAttributes.d.ts +5 -0
- package/dist/super-editor/src/core/commands/wrapInList.d.ts +4 -0
- package/dist/super-editor/src/core/encoding-helpers.d.ts +27 -0
- package/dist/super-editor/src/core/extensions/commands.d.ts +2 -0
- package/dist/super-editor/src/core/extensions/editable.d.ts +2 -0
- package/dist/super-editor/src/core/extensions/editorFocus.d.ts +6 -0
- package/dist/super-editor/src/core/extensions/index.d.ts +4 -0
- package/dist/super-editor/src/core/extensions/keymap.d.ts +9 -0
- package/dist/super-editor/src/core/helpers/ErrorWithDetails.d.ts +20 -0
- package/dist/super-editor/src/core/helpers/annotator.d.ts +51 -0
- package/dist/super-editor/src/core/helpers/baseListDefinitions.d.ts +443 -0
- package/dist/super-editor/src/core/helpers/chainableEditorState.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/cleanSchemaItem.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/contentProcessor.d.ts +13 -0
- package/dist/super-editor/src/core/helpers/createDocument.d.ts +10 -0
- package/dist/super-editor/src/core/helpers/createNodeFromContent.d.ts +2 -0
- package/dist/super-editor/src/core/helpers/defaultBlockAt.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/findChildren.d.ts +7 -0
- package/dist/super-editor/src/core/helpers/findMark.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/findParentNode.d.ts +2 -0
- package/dist/super-editor/src/core/helpers/findParentNodeClosestToPos.d.ts +19 -0
- package/dist/super-editor/src/core/helpers/findWordBounds.d.ts +4 -0
- package/dist/super-editor/src/core/helpers/generateDocxListAttributes.d.ts +34 -0
- package/dist/super-editor/src/core/helpers/generateDocxRandomId.d.ts +6 -0
- package/dist/super-editor/src/core/helpers/getActiveFormatting.d.ts +4 -0
- package/dist/super-editor/src/core/helpers/getExtensionConfigField.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/getHTMLFromFragment.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/getMarkRange.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/getMarkType.d.ts +7 -0
- package/dist/super-editor/src/core/helpers/getMarksBetween.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/getMarksFromSelection.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/getNodeType.d.ts +7 -0
- package/dist/super-editor/src/core/helpers/getSchemaTypeByName.d.ts +7 -0
- package/dist/super-editor/src/core/helpers/getSchemaTypeNameByName.d.ts +7 -0
- package/dist/super-editor/src/core/helpers/getTextContentFromNodes.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/htmlSanitizer.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/importHtml.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/importMarkdown.d.ts +14 -0
- package/dist/super-editor/src/core/helpers/index.d.ts +30 -0
- package/dist/super-editor/src/core/helpers/isActive.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/isExtentionRulesEnabled.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/isInTable.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/isList.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/isMarkActive.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/isNodeActive.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/isTextSelection.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/list-numbering-helpers.d.ts +98 -0
- package/dist/super-editor/src/core/helpers/orderedListUtils.d.ts +7 -0
- package/dist/super-editor/src/core/helpers/pasteListHelpers.d.ts +8 -0
- package/dist/super-editor/src/core/helpers/posToDOMRect.d.ts +20 -0
- package/dist/super-editor/src/core/helpers/selectionToInsertionEnd.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/setImageNodeSelection.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/setWordSelection.d.ts +1 -0
- package/dist/super-editor/src/core/helpers/updateDOMAttributes.d.ts +1 -0
- package/dist/super-editor/src/core/index.d.ts +13 -0
- package/dist/super-editor/src/core/inputRules/docx-paste/docx-paste.d.ts +2 -0
- package/dist/super-editor/src/core/inputRules/google-docs-paste/google-docs-paste.d.ts +1 -0
- package/dist/super-editor/src/core/inputRules/html/html-helpers.d.ts +21 -0
- package/dist/super-editor/src/core/inputRules/html/transform-copied-lists.d.ts +3 -0
- package/dist/super-editor/src/core/inputRules/wrappingInputRule.d.ts +8 -0
- package/dist/super-editor/src/core/migrations/0.14-listsv2/listsv2migration.d.ts +2 -0
- package/dist/super-editor/src/core/migrations/index.d.ts +1 -0
- package/dist/super-editor/src/core/migrations/migration_after_0_4_14.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/SuperConverter.d.ts +143 -0
- package/dist/super-editor/src/core/super-converter/constants.d.ts +3 -0
- package/dist/super-editor/src/core/super-converter/docx-helpers/document-rels.d.ts +8 -0
- package/dist/super-editor/src/core/super-converter/docx-helpers/docx-constants.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/docx-helpers/docx-helpers.d.ts +8 -0
- package/dist/super-editor/src/core/super-converter/docx-helpers/get-default-style-definition.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/docx-helpers/index.d.ts +3 -0
- package/dist/super-editor/src/core/super-converter/export-helpers/pre-process-vertical-merge-cells.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/exporter-docx-defs.d.ts +934 -0
- package/dist/super-editor/src/core/super-converter/exporter.d.ts +171 -0
- package/dist/super-editor/src/core/super-converter/helpers/mediaHelpers.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/helpers.d.ts +35 -0
- package/dist/super-editor/src/core/super-converter/types.d.ts +3 -0
- package/dist/super-editor/src/core/super-converter/v2/docxHelper.d.ts +12 -0
- package/dist/super-editor/src/core/super-converter/v2/exporter/commentsExporter.d.ts +23 -0
- package/dist/super-editor/src/core/super-converter/v2/exporter/helpers/base-list.definitions.d.ts +443 -0
- package/dist/super-editor/src/core/super-converter/v2/exporter/helpers/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v2/exporter/helpers/translateChildNodes.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v2/exporter/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/alternateChoiceImporter.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/autoPageNumberImporter.d.ts +8 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkEndImporter.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkNodeImporter.d.ts +13 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/bookmarkStartImporter.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/documentCommentsImporter.d.ts +17 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +67 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/hyperlinkImporter.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/ignoredNodes.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/imageImporter.d.ts +9 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/importerHelpers.d.ts +24 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/lineBreakImporter.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +119 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/markImporter.d.ts +19 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/mergeTextNodes.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/paragraphNodeImporter.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/pictNodeImporter.d.ts +116 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/runNodeImporter.d.ts +8 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/sdtNodeImporter.d.ts +8 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/standardNodeImporter.d.ts +8 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/tabImporter.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/tableImporter.d.ts +18 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/textNodeImporter.d.ts +8 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/trackChangesImporter.d.ts +8 -0
- package/dist/super-editor/src/core/super-converter/v2/importer/types/index.d.ts +73 -0
- package/dist/super-editor/src/core/super-converter/v2/types/index.d.ts +8 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/index.d.ts +13 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/types/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +45 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/bidiVisual-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bidiVisual/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-displaced-by-custom-xml.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/attributes/w-id.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/bookmark-end-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-end/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-first.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-col-last.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-displaced-by-custom-xml.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-id.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/attributes/w-name.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/bookmark-start-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bookmark-start/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/bottom-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/bottom/marginBottom-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/attributes/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/attributes/w-clear.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/attributes/w-line-break-type.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/br-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/br/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/cantSplit/cantSplit-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/cantSplit/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/cnfStyle/cnfStyle-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/cnfStyle/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/divId/divId-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/divId/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/drawing/drawing-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/drawing/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/end-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/end/marginEnd-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridAfter/gridAfter-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridAfter/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridBefore/gridBefore-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridBefore/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/gridCol-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/gridCol/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/hidden/hidden-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/hidden/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/hyperlink/hyperlink-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/hyperlink/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideH/insideH-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/insideV/insideV-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/jc/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/jc/jc-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/left-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/left/marginLeft-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/attributes/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/attributes/w-rsid-del.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/attributes/w-rsid-p.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/attributes/w-rsid-r-default.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/attributes/w-rsid-r-pr.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/attributes/w-rsid-r.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/attributes/w14-para-id.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/attributes/w14-text-id.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/w-p-helpers.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/p/p-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/marginRight-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/right/right-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/handle-annotation-node.d.ts +22 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/handle-doc-part-obj.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/handle-document-section-node.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/handle-structured-content-node.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/parse-tag-value-json.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/sdt-node-type-strategy.d.ts +9 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-document-section.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-field-annotation.d.ts +80 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/helpers/translate-structured-content.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/sdt/sdt-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/shd/shd-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/marginStart-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/start/start-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-leader.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-pos.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/attributes/w-tab-size.d.ts +4 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tab/tab-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +28 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblBorders/tblBorders-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCaption/tblCaption-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellMar/tblCellMar-translator.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellSpacing/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblCellSpacing/tblCellSpacing-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblDescription/tblDescription-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-helpers.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblHeader/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblHeader/tblHeader-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblInd/tblInd-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLayout/tblLayout-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblLook/tblLook-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblOverlap/tblOverlap-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblPr/tblPr-translator.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyle/tblStyle-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleColBandSize/tblStyleColBandSize-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblStyleRowBandSize/tblStyleRowBandSize-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblW/tblW-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tblpPr/tblpPr-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tc/helpers/legacy-handle-table-cell-node.d.ts +9 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tc/helpers/translate-table-cell.d.ts +17 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tc/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tc/tc-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/index.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/marginTop-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/top/top-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tr/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts +7 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/trHeight/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/trHeight/trHeight-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/trPr/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/trPr/trPr-translator.d.ts +5 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/wAfter/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/wAfter/wAfter-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/wBefore/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/wBefore/wBefore-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/anchor-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/helpers/handle-anchor-node.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/helpers/translate-anchor-node.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/anchor/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/helpers/decode-image-node-helpers.d.ts +18 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/helpers/encode-image-node-helpers.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/helpers/handle-inline-node.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/helpers/translate-inline-node.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/wp/inline/inline-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/node-translator/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-converter/v3/node-translator/node-translator.d.ts +215 -0
- package/dist/super-editor/src/core/super-converter/zipper.d.ts +7 -0
- package/dist/super-editor/src/core/super-validator/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-validator/logger/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-validator/logger/logger.d.ts +7 -0
- package/dist/super-editor/src/core/super-validator/super-validator.d.ts +58 -0
- package/dist/super-editor/src/core/super-validator/types.d.ts +61 -0
- package/dist/super-editor/src/core/super-validator/validators/state/index.d.ts +16 -0
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/image/image-validator.d.ts +26 -0
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/image/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/image/rules/image-rid.d.ts +22 -0
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/image/rules/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/link/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/link/link-validator.d.ts +24 -0
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/link/rules/index.d.ts +1 -0
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/link/rules/link-rid.d.ts +24 -0
- package/dist/super-editor/src/core/super-validator/validators/xml/index.d.ts +12 -0
- package/dist/super-editor/src/core/super-validator/validators/xml/numbering/numbering-validator.d.ts +13 -0
- package/dist/super-editor/src/core/super-validator/validators/xml/relationships/relationships-validator.d.ts +31 -0
- package/dist/super-editor/src/core/types/index.d.ts +128 -0
- package/dist/super-editor/src/core/utilities/callOrGet.d.ts +8 -0
- package/dist/super-editor/src/core/utilities/carbonCopy.d.ts +1 -0
- package/dist/super-editor/src/core/utilities/clipboardUtils.d.ts +16 -0
- package/dist/super-editor/src/core/utilities/createStyleTag.d.ts +6 -0
- package/dist/super-editor/src/core/utilities/deleteProps.d.ts +6 -0
- package/dist/super-editor/src/core/utilities/imageBlobs.d.ts +1 -0
- package/dist/super-editor/src/core/utilities/index.d.ts +10 -0
- package/dist/super-editor/src/core/utilities/isEmptyObject.d.ts +5 -0
- package/dist/super-editor/src/core/utilities/isIOS.d.ts +1 -0
- package/dist/super-editor/src/core/utilities/isMacOS.d.ts +1 -0
- package/dist/super-editor/src/core/utilities/isRegExp.d.ts +1 -0
- package/dist/super-editor/src/core/utilities/minMax.d.ts +1 -0
- package/dist/super-editor/src/core/utilities/objectIncludes.d.ts +8 -0
- package/dist/super-editor/src/core/utilities/parseSizeUnit.d.ts +6 -0
- package/dist/super-editor/src/extensions/ai/ai-constants.d.ts +3 -0
- package/dist/super-editor/src/extensions/ai/ai-marks.d.ts +3 -0
- package/dist/super-editor/src/extensions/ai/ai-nodes.d.ts +2 -0
- package/dist/super-editor/src/extensions/ai/ai-plugin.d.ts +4 -0
- package/dist/super-editor/src/extensions/ai/index.d.ts +4 -0
- package/dist/super-editor/src/extensions/block-node/block-node.d.ts +56 -0
- package/dist/super-editor/src/extensions/block-node/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/bold/bold.d.ts +29 -0
- package/dist/super-editor/src/extensions/bold/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/bookmarks/bookmark-end.d.ts +6 -0
- package/dist/super-editor/src/extensions/bookmarks/bookmark-start.d.ts +26 -0
- package/dist/super-editor/src/extensions/bookmarks/index.d.ts +2 -0
- package/dist/super-editor/src/extensions/bullet-list/bullet-list.d.ts +14 -0
- package/dist/super-editor/src/extensions/bullet-list/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/collaboration/collaboration-helpers.d.ts +1 -0
- package/dist/super-editor/src/extensions/collaboration/collaboration.d.ts +7 -0
- package/dist/super-editor/src/extensions/collaboration/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/collaboration-cursor/collaboration-cursor.d.ts +2 -0
- package/dist/super-editor/src/extensions/collaboration-cursor/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/color/color.d.ts +42 -0
- package/dist/super-editor/src/extensions/color/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/comment/comment.d.ts +4 -0
- package/dist/super-editor/src/extensions/comment/comments-constants.d.ts +1 -0
- package/dist/super-editor/src/extensions/comment/comments-helpers.d.ts +14 -0
- package/dist/super-editor/src/extensions/comment/comments-marks.d.ts +2 -0
- package/dist/super-editor/src/extensions/comment/comments-plugin.d.ts +4 -0
- package/dist/super-editor/src/extensions/comment/index.d.ts +3 -0
- package/dist/super-editor/src/extensions/content-block/content-block.d.ts +90 -0
- package/dist/super-editor/src/extensions/content-block/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/custom-selection/custom-selection.d.ts +53 -0
- package/dist/super-editor/src/extensions/custom-selection/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/document/document.d.ts +33 -0
- package/dist/super-editor/src/extensions/document/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/dropcursor/dropcursor.d.ts +33 -0
- package/dist/super-editor/src/extensions/dropcursor/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/field-annotation/FieldAnnotationPlugin.d.ts +2 -0
- package/dist/super-editor/src/extensions/field-annotation/FieldAnnotationView.d.ts +32 -0
- package/dist/super-editor/src/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts +1 -0
- package/dist/super-editor/src/extensions/field-annotation/cleanup-commands/cleanUpParagraphWithAnnotations.d.ts +1 -0
- package/dist/super-editor/src/extensions/field-annotation/cleanup-commands/index.d.ts +6 -0
- package/dist/super-editor/src/extensions/field-annotation/field-annotation.d.ts +5 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/findFieldAnnotations.d.ts +1 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/findFieldAnnotationsBetween.d.ts +8 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/findFieldAnnotationsByFieldId.d.ts +7 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/findFirstFieldAnnotationByFieldId.d.ts +7 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/findHeaderFooterAnnotationsByFieldId.d.ts +7 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/findRemovedFieldAnnotations.d.ts +1 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/getAllFieldAnnotations.d.ts +6 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/getAllFieldAnnotationsWithRect.d.ts +30 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/getHeaderFooterAnnotations.d.ts +1 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/index.d.ts +10 -0
- package/dist/super-editor/src/extensions/field-annotation/fieldAnnotationHelpers/trackFieldAnnotationsDeletion.d.ts +1 -0
- package/dist/super-editor/src/extensions/field-annotation/index.d.ts +2 -0
- package/dist/super-editor/src/extensions/font-family/font-family.d.ts +45 -0
- package/dist/super-editor/src/extensions/font-family/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/font-size/font-size.d.ts +73 -0
- package/dist/super-editor/src/extensions/font-size/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/format-commands/format-commands.d.ts +36 -0
- package/dist/super-editor/src/extensions/format-commands/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/gapcursor/gapcursor.d.ts +16 -0
- package/dist/super-editor/src/extensions/gapcursor/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/heading/heading.d.ts +33 -0
- package/dist/super-editor/src/extensions/heading/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/highlight/highlight.d.ts +28 -0
- package/dist/super-editor/src/extensions/highlight/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/history/history.d.ts +21 -0
- package/dist/super-editor/src/extensions/history/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/image/image.d.ts +85 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/fileNameUtils.d.ts +3 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/getFileOpener.d.ts +1 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/handleBase64.d.ts +1 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/handleImageUpload.d.ts +1 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/handleUrl.d.ts +2 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/imagePositionPlugin.d.ts +4 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/imageRegistrationPlugin.d.ts +11 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/index.d.ts +8 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/processUploadedImage.d.ts +2 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/rotation.d.ts +4 -0
- package/dist/super-editor/src/extensions/image/imageHelpers/startImageUpload.d.ts +22 -0
- package/dist/super-editor/src/extensions/image/index.d.ts +2 -0
- package/dist/super-editor/src/extensions/index.d.ts +66 -0
- package/dist/super-editor/src/extensions/italic/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/italic/italic.d.ts +19 -0
- package/dist/super-editor/src/extensions/line-break/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/line-break/line-break.d.ts +56 -0
- package/dist/super-editor/src/extensions/line-height/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/line-height/line-height.d.ts +38 -0
- package/dist/super-editor/src/extensions/link/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/link/link.d.ts +69 -0
- package/dist/super-editor/src/extensions/linked-styles/helpers.d.ts +7 -0
- package/dist/super-editor/src/extensions/linked-styles/index.d.ts +3 -0
- package/dist/super-editor/src/extensions/linked-styles/linked-styles.d.ts +40 -0
- package/dist/super-editor/src/extensions/linked-styles/plugin.d.ts +6 -0
- package/dist/super-editor/src/extensions/list-item/ListItemNodeView.d.ts +36 -0
- package/dist/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +3 -0
- package/dist/super-editor/src/extensions/list-item/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/list-item/list-item.d.ts +50 -0
- package/dist/super-editor/src/extensions/mention/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/mention/mention.d.ts +28 -0
- package/dist/super-editor/src/extensions/noderesizer/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/noderesizer/noderesizer.d.ts +18 -0
- package/dist/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +2 -0
- package/dist/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +5 -0
- package/dist/super-editor/src/extensions/ordered-list/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/ordered-list/ordered-list.d.ts +37 -0
- package/dist/super-editor/src/extensions/page-number/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/page-number/page-number.d.ts +65 -0
- package/dist/super-editor/src/extensions/pagination/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/pagination/pagination-helpers.d.ts +25 -0
- package/dist/super-editor/src/extensions/pagination/pagination.d.ts +2 -0
- package/dist/super-editor/src/extensions/paragraph/helpers/getDefaultSpacing.d.ts +6 -0
- package/dist/super-editor/src/extensions/paragraph/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/paragraph/paragraph.d.ts +51 -0
- package/dist/super-editor/src/extensions/placeholder/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/placeholder/placeholder.d.ts +17 -0
- package/dist/super-editor/src/extensions/popover-plugin/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/popover-plugin/popover-plugin.d.ts +11 -0
- package/dist/super-editor/src/extensions/run-item/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/run-item/run-item.d.ts +26 -0
- package/dist/super-editor/src/extensions/search/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/search/search.d.ts +45 -0
- package/dist/super-editor/src/extensions/shape-container/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/shape-container/shape-container.d.ts +31 -0
- package/dist/super-editor/src/extensions/shape-textbox/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/shape-textbox/shape-textbox.d.ts +28 -0
- package/dist/super-editor/src/extensions/slash-menu/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/slash-menu/slash-menu.d.ts +13 -0
- package/dist/super-editor/src/extensions/strike/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/strike/strike.d.ts +18 -0
- package/dist/super-editor/src/extensions/structured-content/StructuredContentBlockView.d.ts +9 -0
- package/dist/super-editor/src/extensions/structured-content/StructuredContentInlineView.d.ts +9 -0
- package/dist/super-editor/src/extensions/structured-content/StructuredContentViewBase.d.ts +24 -0
- package/dist/super-editor/src/extensions/structured-content/document-section/DocumentSectionView.d.ts +15 -0
- package/dist/super-editor/src/extensions/structured-content/document-section/helpers.d.ts +11 -0
- package/dist/super-editor/src/extensions/structured-content/document-section/index.d.ts +2 -0
- package/dist/super-editor/src/extensions/structured-content/document-section.d.ts +105 -0
- package/dist/super-editor/src/extensions/structured-content/index.d.ts +3 -0
- package/dist/super-editor/src/extensions/structured-content/structured-content-block.d.ts +30 -0
- package/dist/super-editor/src/extensions/structured-content/structured-content.d.ts +30 -0
- package/dist/super-editor/src/extensions/tab/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/tab/tab.d.ts +27 -0
- package/dist/super-editor/src/extensions/table/TableView.d.ts +16 -0
- package/dist/super-editor/src/extensions/table/index.d.ts +2 -0
- package/dist/super-editor/src/extensions/table/table.d.ts +459 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/cellAround.d.ts +1 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/cellWrapping.d.ts +1 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/createCell.d.ts +1 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/createColGroup.d.ts +11 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/createTable.d.ts +1 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/createTableBorders.d.ts +60 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/deleteTableWhenSelected.d.ts +3 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/getColStyleDeclaration.d.ts +1 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/index.d.ts +6 -0
- package/dist/super-editor/src/extensions/table/tableHelpers/isCellSelection.d.ts +1 -0
- package/dist/super-editor/src/extensions/table-cell/helpers/createCellBorders.d.ts +42 -0
- package/dist/super-editor/src/extensions/table-cell/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/table-cell/table-cell.d.ts +78 -0
- package/dist/super-editor/src/extensions/table-header/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/table-header/table-header.d.ts +29 -0
- package/dist/super-editor/src/extensions/table-row/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/table-row/table-row.d.ts +184 -0
- package/dist/super-editor/src/extensions/text/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/text/text.d.ts +16 -0
- package/dist/super-editor/src/extensions/text-align/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/text-align/text-align.d.ts +33 -0
- package/dist/super-editor/src/extensions/text-indent/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/text-indent/text-indent.d.ts +30 -0
- package/dist/super-editor/src/extensions/text-style/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/text-style/text-style.d.ts +27 -0
- package/dist/super-editor/src/extensions/text-transform/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/text-transform/text-transform.d.ts +27 -0
- package/dist/super-editor/src/extensions/track-changes/constants.d.ts +3 -0
- package/dist/super-editor/src/extensions/track-changes/index.d.ts +6 -0
- package/dist/super-editor/src/extensions/track-changes/plugins/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/plugins/trackChangesBasePlugin.d.ts +10 -0
- package/dist/super-editor/src/extensions/track-changes/track-changes.d.ts +2 -0
- package/dist/super-editor/src/extensions/track-changes/track-delete.d.ts +2 -0
- package/dist/super-editor/src/extensions/track-changes/track-format.d.ts +2 -0
- package/dist/super-editor/src/extensions/track-changes/track-insert.d.ts +2 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/addMarkStep.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/documentHelpers.d.ts +8 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/findTrackedMarkBetween.d.ts +8 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/getTrackChanges.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/index.d.ts +12 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/markDeletion.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/markInsertion.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/markWrapping.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/parseFormatList.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/removeMarkStep.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/replaceAroundStep.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/replaceStep.d.ts +1 -0
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/trackedTransaction.d.ts +1 -0
- package/dist/super-editor/src/extensions/underline/index.d.ts +1 -0
- package/dist/super-editor/src/extensions/underline/underline.d.ts +43 -0
- package/dist/super-editor/src/index.d.ts +32 -0
- package/dist/super-editor/src/main.d.ts +1 -0
- package/dist/super-editor/src/tests/data/annotations_doc_content.d.ts +429 -0
- package/dist/super-editor/src/tests/editor/data/imageBase64.d.ts +1 -0
- package/dist/super-editor/src/tests/export/data/comments/basic-resolved-comment.d.ts +32 -0
- package/dist/super-editor/src/tests/export/export-helpers/export-helpers.d.ts +8 -0
- package/dist/super-editor/src/tests/export/export-helpers/index.d.ts +2 -0
- package/dist/super-editor/src/tests/export/export-helpers/list-export-helpers.d.ts +23 -0
- package/dist/super-editor/src/tests/helpers/editor-test-utils.d.ts +14 -0
- package/dist/super-editor/src/tests/helpers/helpers.d.ts +6 -0
- package/dist/super-editor/src/tests/import/testUtils.d.ts +1 -0
- package/dist/super-editor/style.css +1897 -0
- package/dist/super-editor/super-editor.es.js +4653 -0
- package/dist/super-editor/toolbar.es.js +6 -0
- package/dist/super-editor/vite.config.d.ts +2 -0
- package/dist/super-editor.cjs +29 -0
- package/dist/super-editor.d.ts +5 -0
- package/dist/super-editor.d.ts.map +1 -0
- package/dist/super-editor.es.js +29 -0
- package/dist/superdoc.cjs +25 -0
- package/dist/superdoc.es.js +25 -0
- package/dist/superdoc.umd.js +108866 -0
- package/dist/superdoc.umd.js.map +1 -0
- package/package.json +86 -0
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {function(CommandItem): void} CommandCallback
|
|
3
|
+
* A callback function that's executed when a toolbar button is clicked
|
|
4
|
+
* @param {CommandItem} params - Command parameters
|
|
5
|
+
* @param {ToolbarItem} params.item - An instance of the useToolbarItem composable
|
|
6
|
+
* @param {*} [params.argument] - The argument passed to the command
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @typedef {Object} ToolbarConfig
|
|
10
|
+
* @property {string} [selector] - CSS selector for the toolbar container
|
|
11
|
+
* @property {string[]} [toolbarGroups=['left', 'center', 'right']] - Groups to organize toolbar items
|
|
12
|
+
* @property {string} [role='editor'] - Role of the toolbar ('editor' or 'viewer')
|
|
13
|
+
* @property {boolean} [pagination=false] - Whether pagination is enabled
|
|
14
|
+
* @property {Object} [icons] - Custom icons for toolbar items
|
|
15
|
+
* @property {Object} [texts] - Custom texts for toolbar items
|
|
16
|
+
* @property {string} [mode='docx'] - Editor mode
|
|
17
|
+
* @property {string[]} [excludeItems=[]] - Items to exclude from the toolbar
|
|
18
|
+
* @property {Object} [groups=null] - Custom groups configuration
|
|
19
|
+
* @property {Object} [editor=null] - The editor instance
|
|
20
|
+
* @property {string} [aiApiKey=null] - API key for AI integration
|
|
21
|
+
* @property {string} [aiEndpoint=null] - Endpoint for AI integration
|
|
22
|
+
* @property {ToolbarItem[]} [customButtons=[]] - Custom buttons to add to the toolbar
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* @typedef {Object} ToolbarItem
|
|
26
|
+
* @property {Object} id - The unique ID of the toolbar item
|
|
27
|
+
* @property {string} id.value - The value of the ID
|
|
28
|
+
* @property {Object} name - The name of the toolbar item
|
|
29
|
+
* @property {string} name.value - The value of the name
|
|
30
|
+
* @property {string} type - The type of toolbar item (button, options, separator, dropdown, overflow)
|
|
31
|
+
* @property {Object} group - The group the item belongs to
|
|
32
|
+
* @property {string} group.value - The value of the group
|
|
33
|
+
* @property {string|CommandCallback} command - The command to execute
|
|
34
|
+
* @property {string} [noArgumentCommand] - The command to execute when no argument is provided
|
|
35
|
+
* @property {Object} icon - The icon for the item
|
|
36
|
+
* @property {*} icon.value - The value of the icon
|
|
37
|
+
* @property {Object} tooltip - The tooltip for the item
|
|
38
|
+
* @property {*} tooltip.value - The value of the tooltip
|
|
39
|
+
* @property {Object} attributes - Additional attributes for the item
|
|
40
|
+
* @property {Object} attributes.value - The value of the attributes
|
|
41
|
+
* @property {Object} disabled - Whether the item is disabled
|
|
42
|
+
* @property {boolean} disabled.value - The value of disabled
|
|
43
|
+
* @property {Object} active - Whether the item is active
|
|
44
|
+
* @property {boolean} active.value - The value of active
|
|
45
|
+
* @property {Object} expand - Whether the item is expanded
|
|
46
|
+
* @property {boolean} expand.value - The value of expand
|
|
47
|
+
* @property {Object} nestedOptions - Nested options for the item
|
|
48
|
+
* @property {Array} nestedOptions.value - The array of nested options
|
|
49
|
+
* @property {Object} style - Custom style for the item
|
|
50
|
+
* @property {*} style.value - The value of the style
|
|
51
|
+
* @property {Object} isNarrow - Whether the item has narrow styling
|
|
52
|
+
* @property {boolean} isNarrow.value - The value of isNarrow
|
|
53
|
+
* @property {Object} isWide - Whether the item has wide styling
|
|
54
|
+
* @property {boolean} isWide.value - The value of isWide
|
|
55
|
+
* @property {Object} minWidth - Minimum width of the item
|
|
56
|
+
* @property {*} minWidth.value - The value of minWidth
|
|
57
|
+
* @property {Object} argument - The argument to pass to the command
|
|
58
|
+
* @property {*} argument.value - The value of the argument
|
|
59
|
+
* @property {Object} parentItem - The parent of this item if nested
|
|
60
|
+
* @property {*} parentItem.value - The value of parentItem
|
|
61
|
+
* @property {Object} childItem - The child of this item if it has one
|
|
62
|
+
* @property {*} childItem.value - The value of childItem
|
|
63
|
+
* @property {Object} iconColor - The color of the icon
|
|
64
|
+
* @property {*} iconColor.value - The value of iconColor
|
|
65
|
+
* @property {Object} hasCaret - Whether the item has a dropdown caret
|
|
66
|
+
* @property {boolean} hasCaret.value - The value of hasCaret
|
|
67
|
+
* @property {Object} dropdownStyles - Custom styles for dropdown
|
|
68
|
+
* @property {*} dropdownStyles.value - The value of dropdownStyles
|
|
69
|
+
* @property {Object} tooltipVisible - Whether the tooltip is visible
|
|
70
|
+
* @property {boolean} tooltipVisible.value - The value of tooltipVisible
|
|
71
|
+
* @property {Object} tooltipTimeout - Timeout for the tooltip
|
|
72
|
+
* @property {*} tooltipTimeout.value - The value of tooltipTimeout
|
|
73
|
+
* @property {Object} defaultLabel - The default label for the item
|
|
74
|
+
* @property {*} defaultLabel.value - The value of the default label
|
|
75
|
+
* @property {Object} label - The label for the item
|
|
76
|
+
* @property {*} label.value - The value of the label
|
|
77
|
+
* @property {Object} hideLabel - Whether to hide the label
|
|
78
|
+
* @property {boolean} hideLabel.value - The value of hideLabel
|
|
79
|
+
* @property {Object} inlineTextInputVisible - Whether inline text input is visible
|
|
80
|
+
* @property {boolean} inlineTextInputVisible.value - The value of inlineTextInputVisible
|
|
81
|
+
* @property {Object} hasInlineTextInput - Whether the item has inline text input
|
|
82
|
+
* @property {boolean} hasInlineTextInput.value - The value of hasInlineTextInput
|
|
83
|
+
* @property {Object} markName - The name of the mark
|
|
84
|
+
* @property {*} markName.value - The value of markName
|
|
85
|
+
* @property {Object} labelAttr - The attribute for the label
|
|
86
|
+
* @property {*} labelAttr.value - The value of labelAttr
|
|
87
|
+
* @property {Object} allowWithoutEditor - Whether the item can be used without an editor
|
|
88
|
+
* @property {boolean} allowWithoutEditor.value - The value of allowWithoutEditor
|
|
89
|
+
* @property {Object} dropdownValueKey - The key for dropdown value
|
|
90
|
+
* @property {*} dropdownValueKey.value - The value of dropdownValueKey
|
|
91
|
+
* @property {Object} selectedValue - The selected value for the item
|
|
92
|
+
* @property {*} selectedValue.value - The value of the selected value
|
|
93
|
+
* @property {Object} inputRef - Reference to an input element
|
|
94
|
+
* @property {*} inputRef.value - The value of inputRef
|
|
95
|
+
* @property {Function} unref - Function to get unreferenced values
|
|
96
|
+
* @property {Function} activate - Function to activate the item
|
|
97
|
+
* @property {Function} deactivate - Function to deactivate the item
|
|
98
|
+
* @property {Function} setDisabled - Function to set the disabled state
|
|
99
|
+
* @property {Function} resetDisabled - Function to reset the disabled state
|
|
100
|
+
* @property {Function} onActivate - Function called when the item is activated
|
|
101
|
+
* @property {Function} onDeactivate - Function called when the item is deactivated
|
|
102
|
+
*/
|
|
103
|
+
/**
|
|
104
|
+
* @typedef {Object} CommandItem
|
|
105
|
+
* @property {ToolbarItem} item - The toolbar item
|
|
106
|
+
* @property {*} [argument] - The argument to pass to the command
|
|
107
|
+
*/
|
|
108
|
+
/**
|
|
109
|
+
* A customizable toolbar for the Super Editor
|
|
110
|
+
* @class
|
|
111
|
+
* @extends EventEmitter
|
|
112
|
+
*/
|
|
113
|
+
export class SuperToolbar extends EventEmitter<string | symbol, any> {
|
|
114
|
+
/**
|
|
115
|
+
* Creates a new SuperToolbar instance
|
|
116
|
+
* @param {ToolbarConfig} config - The configuration for the toolbar
|
|
117
|
+
* @returns {void}
|
|
118
|
+
*/
|
|
119
|
+
constructor(config: ToolbarConfig);
|
|
120
|
+
/**
|
|
121
|
+
* Default configuration for the toolbar
|
|
122
|
+
* @type {ToolbarConfig}
|
|
123
|
+
*/
|
|
124
|
+
config: ToolbarConfig;
|
|
125
|
+
toolbarItems: any[];
|
|
126
|
+
overflowItems: any[];
|
|
127
|
+
documentMode: any;
|
|
128
|
+
isDev: any;
|
|
129
|
+
superdoc: any;
|
|
130
|
+
role: string;
|
|
131
|
+
toolbarContainer: any;
|
|
132
|
+
app: import("vue").App<Element>;
|
|
133
|
+
toolbar: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>;
|
|
134
|
+
activeEditor: any;
|
|
135
|
+
findElementBySelector(selector: any): any;
|
|
136
|
+
/**
|
|
137
|
+
* Log debug information to the console
|
|
138
|
+
* @param {...*} args - Arguments to log
|
|
139
|
+
* @returns {void}
|
|
140
|
+
*/
|
|
141
|
+
log(...args: any[]): void;
|
|
142
|
+
/**
|
|
143
|
+
* Set the zoom level
|
|
144
|
+
* @param {number} percent_int - The zoom percentage as an integer
|
|
145
|
+
* @returns {void}
|
|
146
|
+
*/
|
|
147
|
+
setZoom(percent_int: number): void;
|
|
148
|
+
/**
|
|
149
|
+
* The toolbar expects an active Super Editor instance.
|
|
150
|
+
* @param {Object} editor - The editor instance to attach to the toolbar
|
|
151
|
+
* @returns {void}
|
|
152
|
+
*/
|
|
153
|
+
setActiveEditor(editor: any): void;
|
|
154
|
+
/**
|
|
155
|
+
* Get toolbar items by group name
|
|
156
|
+
* @param {string} groupName - The name of the group
|
|
157
|
+
* @returns {ToolbarItem[]} An array of toolbar items in the specified group
|
|
158
|
+
*/
|
|
159
|
+
getToolbarItemByGroup(groupName: string): ToolbarItem[];
|
|
160
|
+
/**
|
|
161
|
+
* Get a toolbar item by name
|
|
162
|
+
* @param {string} name - The name of the toolbar item
|
|
163
|
+
* @returns {ToolbarItem|undefined} The toolbar item with the specified name or undefined if not found
|
|
164
|
+
*/
|
|
165
|
+
getToolbarItemByName(name: string): ToolbarItem | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* Update the toolbar state based on the current editor state
|
|
168
|
+
* Updates active/inactive state of all toolbar items
|
|
169
|
+
* @returns {void}
|
|
170
|
+
*/
|
|
171
|
+
updateToolbarState(): void;
|
|
172
|
+
/**
|
|
173
|
+
* Handler for toolbar resize events
|
|
174
|
+
* @returns {void}
|
|
175
|
+
*/
|
|
176
|
+
onToolbarResize: () => void;
|
|
177
|
+
undoDepth: any;
|
|
178
|
+
redoDepth: any;
|
|
179
|
+
/**
|
|
180
|
+
* React to editor transactions. Might want to debounce this.
|
|
181
|
+
* @param {Object} params - Transaction parameters
|
|
182
|
+
* @param {Object} params.transaction - The transaction object
|
|
183
|
+
* @returns {void}
|
|
184
|
+
*/
|
|
185
|
+
onEditorTransaction({ transaction }: {
|
|
186
|
+
transaction: any;
|
|
187
|
+
}): void;
|
|
188
|
+
/**
|
|
189
|
+
* Main handler for toolbar commands
|
|
190
|
+
* @param {CommandItem} params - Command parameters
|
|
191
|
+
* @param {ToolbarItem} params.item - An instance of the useToolbarItem composable
|
|
192
|
+
* @param {*} [params.argument] - The argument passed to the command
|
|
193
|
+
* @returns {*} The result of the executed command, undefined if no result is returned
|
|
194
|
+
*/
|
|
195
|
+
emitCommand({ item, argument, option }: CommandItem): any;
|
|
196
|
+
#private;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* A callback function that's executed when a toolbar button is clicked
|
|
200
|
+
*/
|
|
201
|
+
export type CommandCallback = (arg0: CommandItem) => void;
|
|
202
|
+
export type ToolbarConfig = {
|
|
203
|
+
/**
|
|
204
|
+
* - CSS selector for the toolbar container
|
|
205
|
+
*/
|
|
206
|
+
selector?: string;
|
|
207
|
+
/**
|
|
208
|
+
* - Groups to organize toolbar items
|
|
209
|
+
*/
|
|
210
|
+
toolbarGroups?: string[];
|
|
211
|
+
/**
|
|
212
|
+
* - Role of the toolbar ('editor' or 'viewer')
|
|
213
|
+
*/
|
|
214
|
+
role?: string;
|
|
215
|
+
/**
|
|
216
|
+
* - Whether pagination is enabled
|
|
217
|
+
*/
|
|
218
|
+
pagination?: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* - Custom icons for toolbar items
|
|
221
|
+
*/
|
|
222
|
+
icons?: any;
|
|
223
|
+
/**
|
|
224
|
+
* - Custom texts for toolbar items
|
|
225
|
+
*/
|
|
226
|
+
texts?: any;
|
|
227
|
+
/**
|
|
228
|
+
* - Editor mode
|
|
229
|
+
*/
|
|
230
|
+
mode?: string;
|
|
231
|
+
/**
|
|
232
|
+
* - Items to exclude from the toolbar
|
|
233
|
+
*/
|
|
234
|
+
excludeItems?: string[];
|
|
235
|
+
/**
|
|
236
|
+
* - Custom groups configuration
|
|
237
|
+
*/
|
|
238
|
+
groups?: any;
|
|
239
|
+
/**
|
|
240
|
+
* - The editor instance
|
|
241
|
+
*/
|
|
242
|
+
editor?: any;
|
|
243
|
+
/**
|
|
244
|
+
* - API key for AI integration
|
|
245
|
+
*/
|
|
246
|
+
aiApiKey?: string;
|
|
247
|
+
/**
|
|
248
|
+
* - Endpoint for AI integration
|
|
249
|
+
*/
|
|
250
|
+
aiEndpoint?: string;
|
|
251
|
+
/**
|
|
252
|
+
* - Custom buttons to add to the toolbar
|
|
253
|
+
*/
|
|
254
|
+
customButtons?: ToolbarItem[];
|
|
255
|
+
};
|
|
256
|
+
export type ToolbarItem = {
|
|
257
|
+
/**
|
|
258
|
+
* - The unique ID of the toolbar item
|
|
259
|
+
*/
|
|
260
|
+
id: {
|
|
261
|
+
value: string;
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* - The name of the toolbar item
|
|
265
|
+
*/
|
|
266
|
+
name: {
|
|
267
|
+
value: string;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* - The type of toolbar item (button, options, separator, dropdown, overflow)
|
|
271
|
+
*/
|
|
272
|
+
type: string;
|
|
273
|
+
/**
|
|
274
|
+
* - The group the item belongs to
|
|
275
|
+
*/
|
|
276
|
+
group: {
|
|
277
|
+
value: string;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* - The command to execute
|
|
281
|
+
*/
|
|
282
|
+
command: string | CommandCallback;
|
|
283
|
+
/**
|
|
284
|
+
* - The command to execute when no argument is provided
|
|
285
|
+
*/
|
|
286
|
+
noArgumentCommand?: string;
|
|
287
|
+
/**
|
|
288
|
+
* - The icon for the item
|
|
289
|
+
*/
|
|
290
|
+
icon: {
|
|
291
|
+
value: any;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* - The tooltip for the item
|
|
295
|
+
*/
|
|
296
|
+
tooltip: {
|
|
297
|
+
value: any;
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* - Additional attributes for the item
|
|
301
|
+
*/
|
|
302
|
+
attributes: {
|
|
303
|
+
value: any;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* - Whether the item is disabled
|
|
307
|
+
*/
|
|
308
|
+
disabled: {
|
|
309
|
+
value: boolean;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* - Whether the item is active
|
|
313
|
+
*/
|
|
314
|
+
active: {
|
|
315
|
+
value: boolean;
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* - Whether the item is expanded
|
|
319
|
+
*/
|
|
320
|
+
expand: {
|
|
321
|
+
value: boolean;
|
|
322
|
+
};
|
|
323
|
+
/**
|
|
324
|
+
* - Nested options for the item
|
|
325
|
+
*/
|
|
326
|
+
nestedOptions: {
|
|
327
|
+
value: any[];
|
|
328
|
+
};
|
|
329
|
+
/**
|
|
330
|
+
* - Custom style for the item
|
|
331
|
+
*/
|
|
332
|
+
style: {
|
|
333
|
+
value: any;
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* - Whether the item has narrow styling
|
|
337
|
+
*/
|
|
338
|
+
isNarrow: {
|
|
339
|
+
value: boolean;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* - Whether the item has wide styling
|
|
343
|
+
*/
|
|
344
|
+
isWide: {
|
|
345
|
+
value: boolean;
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* - Minimum width of the item
|
|
349
|
+
*/
|
|
350
|
+
minWidth: {
|
|
351
|
+
value: any;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* - The argument to pass to the command
|
|
355
|
+
*/
|
|
356
|
+
argument: {
|
|
357
|
+
value: any;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* - The parent of this item if nested
|
|
361
|
+
*/
|
|
362
|
+
parentItem: {
|
|
363
|
+
value: any;
|
|
364
|
+
};
|
|
365
|
+
/**
|
|
366
|
+
* - The child of this item if it has one
|
|
367
|
+
*/
|
|
368
|
+
childItem: {
|
|
369
|
+
value: any;
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* - The color of the icon
|
|
373
|
+
*/
|
|
374
|
+
iconColor: {
|
|
375
|
+
value: any;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* - Whether the item has a dropdown caret
|
|
379
|
+
*/
|
|
380
|
+
hasCaret: {
|
|
381
|
+
value: boolean;
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* - Custom styles for dropdown
|
|
385
|
+
*/
|
|
386
|
+
dropdownStyles: {
|
|
387
|
+
value: any;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* - Whether the tooltip is visible
|
|
391
|
+
*/
|
|
392
|
+
tooltipVisible: {
|
|
393
|
+
value: boolean;
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* - Timeout for the tooltip
|
|
397
|
+
*/
|
|
398
|
+
tooltipTimeout: {
|
|
399
|
+
value: any;
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* - The default label for the item
|
|
403
|
+
*/
|
|
404
|
+
defaultLabel: {
|
|
405
|
+
value: any;
|
|
406
|
+
};
|
|
407
|
+
/**
|
|
408
|
+
* - The label for the item
|
|
409
|
+
*/
|
|
410
|
+
label: {
|
|
411
|
+
value: any;
|
|
412
|
+
};
|
|
413
|
+
/**
|
|
414
|
+
* - Whether to hide the label
|
|
415
|
+
*/
|
|
416
|
+
hideLabel: {
|
|
417
|
+
value: boolean;
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* - Whether inline text input is visible
|
|
421
|
+
*/
|
|
422
|
+
inlineTextInputVisible: {
|
|
423
|
+
value: boolean;
|
|
424
|
+
};
|
|
425
|
+
/**
|
|
426
|
+
* - Whether the item has inline text input
|
|
427
|
+
*/
|
|
428
|
+
hasInlineTextInput: {
|
|
429
|
+
value: boolean;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* - The name of the mark
|
|
433
|
+
*/
|
|
434
|
+
markName: {
|
|
435
|
+
value: any;
|
|
436
|
+
};
|
|
437
|
+
/**
|
|
438
|
+
* - The attribute for the label
|
|
439
|
+
*/
|
|
440
|
+
labelAttr: {
|
|
441
|
+
value: any;
|
|
442
|
+
};
|
|
443
|
+
/**
|
|
444
|
+
* - Whether the item can be used without an editor
|
|
445
|
+
*/
|
|
446
|
+
allowWithoutEditor: {
|
|
447
|
+
value: boolean;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* - The key for dropdown value
|
|
451
|
+
*/
|
|
452
|
+
dropdownValueKey: {
|
|
453
|
+
value: any;
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* - The selected value for the item
|
|
457
|
+
*/
|
|
458
|
+
selectedValue: {
|
|
459
|
+
value: any;
|
|
460
|
+
};
|
|
461
|
+
/**
|
|
462
|
+
* - Reference to an input element
|
|
463
|
+
*/
|
|
464
|
+
inputRef: {
|
|
465
|
+
value: any;
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* - Function to get unreferenced values
|
|
469
|
+
*/
|
|
470
|
+
unref: Function;
|
|
471
|
+
/**
|
|
472
|
+
* - Function to activate the item
|
|
473
|
+
*/
|
|
474
|
+
activate: Function;
|
|
475
|
+
/**
|
|
476
|
+
* - Function to deactivate the item
|
|
477
|
+
*/
|
|
478
|
+
deactivate: Function;
|
|
479
|
+
/**
|
|
480
|
+
* - Function to set the disabled state
|
|
481
|
+
*/
|
|
482
|
+
setDisabled: Function;
|
|
483
|
+
/**
|
|
484
|
+
* - Function to reset the disabled state
|
|
485
|
+
*/
|
|
486
|
+
resetDisabled: Function;
|
|
487
|
+
/**
|
|
488
|
+
* - Function called when the item is activated
|
|
489
|
+
*/
|
|
490
|
+
onActivate: Function;
|
|
491
|
+
/**
|
|
492
|
+
* - Function called when the item is deactivated
|
|
493
|
+
*/
|
|
494
|
+
onDeactivate: Function;
|
|
495
|
+
};
|
|
496
|
+
export type CommandItem = {
|
|
497
|
+
/**
|
|
498
|
+
* - The toolbar item
|
|
499
|
+
*/
|
|
500
|
+
item: ToolbarItem;
|
|
501
|
+
/**
|
|
502
|
+
* - The argument to pass to the command
|
|
503
|
+
*/
|
|
504
|
+
argument?: any;
|
|
505
|
+
};
|
|
506
|
+
import { EventEmitter } from 'eventemitter3';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export namespace toolbarIcons {
|
|
2
|
+
export { rotateLeftIconSvg as undo };
|
|
3
|
+
export { rotateRightIconSvg as redo };
|
|
4
|
+
export { boldIconSvg as bold };
|
|
5
|
+
export { italicIconSvg as italic };
|
|
6
|
+
export { underlineIconSvg as underline };
|
|
7
|
+
export { fontIconSvg as color };
|
|
8
|
+
export { linkIconSvg as link };
|
|
9
|
+
export { imageIconSvg as image };
|
|
10
|
+
export { alignLeftIconSvg as alignLeft };
|
|
11
|
+
export { alignRightIconSvg as alignRight };
|
|
12
|
+
export { alignCenterIconSvg as alignCenter };
|
|
13
|
+
export { alignJustifyIconSvg as alignJustify };
|
|
14
|
+
export { listIconSvg as bulletList };
|
|
15
|
+
export { listOlIconSvg as numberedList };
|
|
16
|
+
export { outdentIconSvg as indentLeft };
|
|
17
|
+
export { indentIconSvg as indentRight };
|
|
18
|
+
export { fileHalfDashedIconSvg as pageBreak };
|
|
19
|
+
export { paintRollerIconSvg as copyFormat };
|
|
20
|
+
export { textSlashIconSvg as clearFormatting };
|
|
21
|
+
export { listCheckIconSvg as trackChanges };
|
|
22
|
+
export { fileIconSvg as trackChangesFinal };
|
|
23
|
+
export { eyeIconSvg as trackChangesOriginal };
|
|
24
|
+
export { calendarCheckIconSvg as trackChangesAccept };
|
|
25
|
+
export { calendarXmarkIconSvg as trackChangesReject };
|
|
26
|
+
export { userEditIconSvg as documentMode };
|
|
27
|
+
export { userEditIconSvg as documentEditingMode };
|
|
28
|
+
export { commentIconSvg as documentSuggestingMode };
|
|
29
|
+
export { eyeIconSvg as documentViewingMode };
|
|
30
|
+
export { circleIconSvg as colorOption };
|
|
31
|
+
export { checkIconSvg as colorOptionCheck };
|
|
32
|
+
export { linkIconSvg as linkInput };
|
|
33
|
+
export { xmarkIconSvg as removeLink };
|
|
34
|
+
export { upRightFromSquareIconSvg as openLink };
|
|
35
|
+
export { ellipsisVerticalIconSvg as overflow };
|
|
36
|
+
export { caretUpIconSvg as dropdownCaretUp };
|
|
37
|
+
export { caretDownIconSvg as dropdownCaretDown };
|
|
38
|
+
export { rulerSvg as ruler };
|
|
39
|
+
export { paintbrushSvg as paintbrush };
|
|
40
|
+
export { highlighterIcon as highlight };
|
|
41
|
+
export { magicWandIcon as ai };
|
|
42
|
+
export { tableIconSvg as table };
|
|
43
|
+
export { tableColumnsIconSvg as tableActions };
|
|
44
|
+
export { arrowsLeftRightIconSvg as splitCell };
|
|
45
|
+
export { arrowsToDotIconSvg as mergeCells };
|
|
46
|
+
export { plusIconSvg as addRowBefore };
|
|
47
|
+
export { plusIconSvg as addRowAfter };
|
|
48
|
+
export { plusIconSvg as addColumnBefore };
|
|
49
|
+
export { plusIconSvg as addColumnAfter };
|
|
50
|
+
export { trashIconSvg as deleteRow };
|
|
51
|
+
export { trashIconSvg as deleteColumn };
|
|
52
|
+
export { trashIconSvg as deleteTable };
|
|
53
|
+
export { borderNoneIconSvg as deleteBorders };
|
|
54
|
+
export { wrenchIconSvg as fixTables };
|
|
55
|
+
export { upDownIconSvg as lineHeight };
|
|
56
|
+
export { magnifyingGlassSvg as search };
|
|
57
|
+
export { scissorsIconSvg as cut };
|
|
58
|
+
export { copyIconSvg as copy };
|
|
59
|
+
export { pasteIconSvg as paste };
|
|
60
|
+
export { strikethroughSvg as strikethrough };
|
|
61
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export namespace toolbarTexts {
|
|
2
|
+
let bold: string;
|
|
3
|
+
let fontFamily: string;
|
|
4
|
+
let ai: string;
|
|
5
|
+
let fontSize: string;
|
|
6
|
+
let italic: string;
|
|
7
|
+
let underline: string;
|
|
8
|
+
let highlight: string;
|
|
9
|
+
let strikethrough: string;
|
|
10
|
+
let color: string;
|
|
11
|
+
let search: string;
|
|
12
|
+
let link: string;
|
|
13
|
+
let image: string;
|
|
14
|
+
let table: string;
|
|
15
|
+
let addRowBefore: string;
|
|
16
|
+
let addRowAfter: string;
|
|
17
|
+
let addColumnBefore: string;
|
|
18
|
+
let addColumnAfter: string;
|
|
19
|
+
let deleteRow: string;
|
|
20
|
+
let deleteColumn: string;
|
|
21
|
+
let deleteTable: string;
|
|
22
|
+
let transparentBorders: string;
|
|
23
|
+
let mergeCells: string;
|
|
24
|
+
let splitCell: string;
|
|
25
|
+
let fixTables: string;
|
|
26
|
+
let textAlign: string;
|
|
27
|
+
let bulletList: string;
|
|
28
|
+
let numberedList: string;
|
|
29
|
+
let indentLeft: string;
|
|
30
|
+
let indentRight: string;
|
|
31
|
+
let zoom: string;
|
|
32
|
+
let undo: string;
|
|
33
|
+
let redo: string;
|
|
34
|
+
let trackChanges: string;
|
|
35
|
+
let trackChangesAccept: string;
|
|
36
|
+
let trackChangesReject: string;
|
|
37
|
+
let trackChangesOriginal: string;
|
|
38
|
+
let trackChangesFinal: string;
|
|
39
|
+
let clearFormatting: string;
|
|
40
|
+
let copyFormat: string;
|
|
41
|
+
let lineHeight: string;
|
|
42
|
+
let formatText: string;
|
|
43
|
+
let ruler: string;
|
|
44
|
+
let pageBreak: string;
|
|
45
|
+
let documentEditingMode: string;
|
|
46
|
+
let documentSuggestingMode: string;
|
|
47
|
+
let documentViewingMode: string;
|
|
48
|
+
let documentEditingModeDescription: string;
|
|
49
|
+
let documentSuggestingModeDescription: string;
|
|
50
|
+
let documentViewingModeDescription: string;
|
|
51
|
+
let linkedStyles: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export function useToolbarItem(options: any): {
|
|
2
|
+
unref: () => {};
|
|
3
|
+
activate: (attrs: any) => void;
|
|
4
|
+
deactivate: () => void;
|
|
5
|
+
setDisabled: (state: any) => void;
|
|
6
|
+
resetDisabled: () => void;
|
|
7
|
+
onActivate: any;
|
|
8
|
+
onDeactivate: any;
|
|
9
|
+
id: import("vue").Ref<string, string>;
|
|
10
|
+
name: import("vue").Ref<any, any>;
|
|
11
|
+
type: any;
|
|
12
|
+
command: any;
|
|
13
|
+
noArgumentCommand: any;
|
|
14
|
+
icon: import("vue").Ref<any, any>;
|
|
15
|
+
tooltip: import("vue").Ref<any, any>;
|
|
16
|
+
group: import("vue").Ref<any, any>;
|
|
17
|
+
attributes: import("vue").Ref<any, any>;
|
|
18
|
+
disabled: import("vue").Ref<any, any>;
|
|
19
|
+
active: import("vue").Ref<boolean, boolean>;
|
|
20
|
+
expand: import("vue").Ref<boolean, boolean>;
|
|
21
|
+
nestedOptions: import("vue").Ref<any[], any[]>;
|
|
22
|
+
style: import("vue").Ref<any, any>;
|
|
23
|
+
isNarrow: import("vue").Ref<any, any>;
|
|
24
|
+
isWide: import("vue").Ref<any, any>;
|
|
25
|
+
minWidth: import("vue").Ref<any, any>;
|
|
26
|
+
argument: import("vue").Ref<any, any>;
|
|
27
|
+
parentItem: import("vue").Ref<any, any>;
|
|
28
|
+
iconColor: import("vue").Ref<any, any>;
|
|
29
|
+
hasCaret: import("vue").Ref<any, any>;
|
|
30
|
+
dropdownStyles: import("vue").Ref<any, any>;
|
|
31
|
+
tooltipVisible: import("vue").Ref<any, any>;
|
|
32
|
+
tooltipTimeout: import("vue").Ref<any, any>;
|
|
33
|
+
defaultLabel: import("vue").Ref<any, any>;
|
|
34
|
+
label: import("vue").Ref<any, any>;
|
|
35
|
+
hideLabel: import("vue").Ref<any, any>;
|
|
36
|
+
inlineTextInputVisible: import("vue").Ref<any, any>;
|
|
37
|
+
hasInlineTextInput: import("vue").Ref<any, any>;
|
|
38
|
+
markName: import("vue").Ref<any, any>;
|
|
39
|
+
labelAttr: import("vue").Ref<any, any>;
|
|
40
|
+
childItem: import("vue").Ref<any, any>;
|
|
41
|
+
allowWithoutEditor: import("vue").Ref<any, any>;
|
|
42
|
+
dropdownValueKey: import("vue").Ref<any, any>;
|
|
43
|
+
selectedValue: import("vue").Ref<any, any>;
|
|
44
|
+
inputRef: import("vue").Ref<any, any>;
|
|
45
|
+
};
|