@harbour-enterprises/superdoc 0.14.0-next.2 → 0.14.0-next.21
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/{eventemitter3-BrspJk8q.es.js → eventemitter3-BIPEy-pY.es.js} +1 -1
- package/dist/chunks/{eventemitter3-DfVviFzP.cjs → eventemitter3-DGnD-HK9.cjs} +1 -1
- package/dist/chunks/{index-Diu6UKHt.es.js → index-BvK-G6B1.es.js} +4 -4
- package/dist/chunks/{index-B4J7wgs6.cjs → index-CCRVYhTn.cjs} +2 -2
- package/dist/chunks/{index-Cdsq63Xq.cjs → index-CgJ5KVh6.cjs} +4 -4
- package/dist/chunks/{index-Hr3Um-Bg.es.js → index-oHslWah4.es.js} +2 -2
- package/dist/chunks/{jszip-DckFs3A7.es.js → jszip-CYDYUNnI.es.js} +1 -1
- package/dist/chunks/{jszip-BTAcmbVg.cjs → jszip-D5XoMX4C.cjs} +1 -1
- package/dist/chunks/{super-editor.es-C6TRTeBI.es.js → super-editor.es-Cu7C5Ezf.es.js} +3414 -2237
- package/dist/chunks/{super-editor.es-DFls-Ipj.cjs → super-editor.es-DM3LYkiV.cjs} +3402 -2225
- package/dist/chunks/{url-BIzg4y2i.cjs → url-BG1Z_Z2_.cjs} +2 -2
- package/dist/chunks/{url-CHayXMZH.es.js → url-Dvx6wrNT.es.js} +2 -2
- package/dist/chunks/{vue-Bi1uWinj.es.js → vue-lU0o_RlU.es.js} +35 -15
- package/dist/chunks/{vue-HIY1g7dm.cjs → vue-tQYF719J.cjs} +24 -4
- package/dist/chunks/{xml-js-BjqmFOSP.cjs → xml-js-BHJlXtfU.cjs} +13 -6
- package/dist/chunks/{xml-js-CfClL-1b.es.js → xml-js-DNISVjNF.es.js} +13 -6
- package/dist/composables/use-ai.d.ts +1 -3
- package/dist/composables/use-ai.d.ts.map +1 -1
- package/dist/core/SuperDoc.d.ts +5 -0
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/helpers/floor.d.ts +2 -0
- package/dist/helpers/floor.d.ts.map +1 -0
- package/dist/stores/hrbr-fields-store.d.ts.map +1 -1
- package/dist/style.css +407 -291
- package/dist/super-editor/ai-writer.es.js +18 -33
- package/dist/super-editor/chunks/{converter-2R-ZXcMD.js → converter-BnCzxu5M.js} +1685 -1609
- package/dist/super-editor/chunks/{docx-zipper-D1Hg-x9a.js → docx-zipper-BPw_B6hI.js} +1 -1
- package/dist/super-editor/chunks/{editor-DYjOoB1N.js → editor-DD4MGOZb.js} +1788 -1251
- package/dist/super-editor/chunks/{toolbar-WyGfV3qj.js → toolbar-BCtZctWE.js} +33 -38
- package/dist/super-editor/components/cursor-helpers.d.ts +23 -0
- package/dist/super-editor/components/cursor-helpers.d.ts.map +1 -1
- package/dist/super-editor/components/slash-menu/constants.d.ts +64 -0
- package/dist/super-editor/components/slash-menu/constants.d.ts.map +1 -0
- package/dist/super-editor/components/slash-menu/menuItems.d.ts +35 -0
- package/dist/super-editor/components/slash-menu/menuItems.d.ts.map +1 -0
- package/dist/super-editor/components/slash-menu/utils.d.ts +10 -0
- package/dist/super-editor/components/slash-menu/utils.d.ts.map +1 -0
- package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/components/toolbar/toolbarIcons.d.ts +3 -12
- package/dist/super-editor/components/toolbar/toolbarTexts.d.ts +0 -11
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.d.ts +12 -4
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/InputRule.d.ts.map +1 -1
- package/dist/super-editor/core/commands/decreaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/core/commands/deleteListItem.d.ts.map +1 -1
- package/dist/super-editor/core/commands/deleteSelection.d.ts +2 -0
- package/dist/super-editor/core/commands/deleteSelection.d.ts.map +1 -1
- package/dist/super-editor/core/commands/increaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/core/commands/joinBackward.d.ts.map +1 -1
- package/dist/super-editor/core/commands/joinForward.d.ts.map +1 -1
- package/dist/super-editor/core/commands/splitListItem.d.ts.map +1 -1
- package/dist/super-editor/core/commands/toggleList.d.ts +5 -1
- package/dist/super-editor/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/core/extensions/keymap.d.ts.map +1 -1
- package/dist/super-editor/core/helpers/list-numbering-helpers.d.ts +6 -5
- package/dist/super-editor/core/helpers/list-numbering-helpers.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/annotationImporter.d.ts +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/annotationImporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/hyperlinkImporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.d.ts.map +1 -1
- package/dist/super-editor/core/utilities/clipboardUtils.d.ts +27 -0
- package/dist/super-editor/core/utilities/clipboardUtils.d.ts.map +1 -0
- package/dist/super-editor/core/utilities/index.d.ts +1 -0
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/extensions/ai/ai-plugin.d.ts.map +1 -1
- package/dist/super-editor/extensions/bullet-list/bullet-list.d.ts.map +1 -1
- package/dist/super-editor/extensions/field-annotation/fieldAnnotationHelpers/findRemovedFieldAnnotations.d.ts.map +1 -1
- package/dist/super-editor/extensions/index.d.ts.map +1 -1
- package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
- package/dist/super-editor/extensions/noderesizer/noderesizer.d.ts +0 -3
- package/dist/super-editor/extensions/noderesizer/noderesizer.d.ts.map +1 -1
- package/dist/super-editor/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +1 -1
- package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
- package/dist/super-editor/extensions/pagination/pagination.d.ts.map +1 -1
- package/dist/super-editor/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/extensions/slash-menu/index.d.ts +2 -0
- package/dist/super-editor/extensions/slash-menu/index.d.ts.map +1 -0
- package/dist/super-editor/extensions/slash-menu/slash-menu.d.ts +4 -0
- package/dist/super-editor/extensions/slash-menu/slash-menu.d.ts.map +1 -0
- package/dist/super-editor/extensions/table/table.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/index.d.ts +1 -1
- package/dist/super-editor/index.d.ts.map +1 -1
- package/dist/super-editor/style.css +368 -261
- package/dist/super-editor/super-editor.es.js +1202 -608
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +3 -2
- package/dist/super-editor.es.js +15 -14
- package/dist/superdoc.cjs +89 -76
- package/dist/superdoc.es.js +141 -128
- package/dist/superdoc.umd.js +3716 -2509
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef,
|
|
2
|
-
import { C as process$1 } from "./converter-
|
|
3
|
-
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-
|
|
1
|
+
import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
|
|
2
|
+
import { C as process$1 } from "./converter-BnCzxu5M.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DD4MGOZb.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -82,15 +82,11 @@ const paintbrushSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576
|
|
|
82
82
|
const highlighterIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M315 315l158.4-215L444.1 70.6 229 229 315 315zm-187 5s0 0 0 0l0-71.7c0-15.3 7.2-29.6 19.5-38.6L420.6 8.4C428 2.9 437 0 446.2 0c11.4 0 22.4 4.5 30.5 12.6l54.8 54.8c8.1 8.1 12.6 19 12.6 30.5c0 9.2-2.9 18.2-8.4 25.6L334.4 396.5c-9 12.3-23.4 19.5-38.6 19.5L224 416l-25.4 25.4c-12.5 12.5-32.8 12.5-45.3 0l-50.7-50.7c-12.5-12.5-12.5-32.8 0-45.3L128 320zM7 466.3l63-63 70.6 70.6-31 31c-4.5 4.5-10.6 7-17 7L24 512c-13.3 0-24-10.7-24-24l0-4.7c0-6.4 2.5-12.5 7-17z"/></svg>\n';
|
|
83
83
|
const magicWandIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.7-53.3L160 80l-53.3-26.7L80 0 53.3 53.3 0 80l53.3 26.7L80 160zm352 128l-26.7 53.3L352 368l53.3 26.7L432 448l26.7-53.3L512 368l-53.3-26.7L432 288zm70.6-193.8L417.8 9.4C411.5 3.1 403.3 0 395.2 0c-8.2 0-16.4 3.1-22.6 9.4L9.4 372.5c-12.5 12.5-12.5 32.8 0 45.3l84.9 84.9c6.3 6.3 14.4 9.4 22.6 9.4 8.2 0 16.4-3.1 22.6-9.4l363.1-363.2c12.5-12.5 12.5-32.8 0-45.2zM359.5 203.5l-50.9-50.9 86.6-86.6 50.9 50.9-86.6 86.6z"/></svg>';
|
|
84
84
|
const tableIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M64 256l0-96 160 0 0 96L64 256zm0 64l160 0 0 96L64 416l0-96zm224 96l0-96 160 0 0 96-160 0zM448 256l-160 0 0-96 160 0 0 96zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"/></svg>';
|
|
85
|
-
const tableColumnsIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm64 64l0 256 160 0 0-256L64 160zm384 0l-160 0 0 256 160 0 0-256z"/></svg>';
|
|
86
|
-
const arrowsLeftRightIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M406.6 374.6l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224l-293.5 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288l293.5 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"/></svg>';
|
|
87
|
-
const arrowsToDotIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M256 0c17.7 0 32 14.3 32 32l0 32 32 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8l32 0 0-32c0-17.7 14.3-32 32-32zM169.4 393.4l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8l-32 0 0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32-32 0c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9zM32 224l32 0 0-32c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c12.5 12.5 12.5 32.8 0 45.3l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6l0-32-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 32 32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0 0 32c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64zM256 224a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>';
|
|
88
|
-
const plusIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"/></svg>';
|
|
89
|
-
const trashIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M135.2 17.7C140.6 6.8 151.7 0 163.8 0L284.2 0c12.1 0 23.2 6.8 28.6 17.7L320 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 7.2-14.3zM32 128l384 0 0 320c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-320zm96 64c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16z"/></svg>';
|
|
90
|
-
const wrenchIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7L336 192c-8.8 0-16-7.2-16-16l0-57.4c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 408a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"/></svg>';
|
|
91
|
-
const borderNoneIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M32 480a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm96-64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm0-384a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm0 256a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM320 416a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm0-320a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm0 128a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM224 480a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm0-448a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm0 256a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM416 416a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm0-384a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM32 96a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM416 224a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM32 288a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm192 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm192 64a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM32 320a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM416 192a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM32 128a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm192 64a32 32 0 1 1 0-64 32 32 0 1 1 0 64z"/></svg>';
|
|
92
85
|
const upDownIconSvg = '<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" viewBox="3 4 18 16"><path stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 10V5m0 0L4 7m2-2 2 2m-2 7v5m0 0 2-2m-2 2-2-2m8-10h8m0 5h-8m0 5h8"></path></svg>\n';
|
|
93
86
|
const magnifyingGlassSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/></svg>\n';
|
|
87
|
+
const scissorsIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M278.1 256L444.5 89.6c4.7-4.7 4.7-12.3 0-17-32.8-32.8-86-32.8-118.8 0L210.2 188.1l-24.9-24.9c4.3-10.9 6.7-22.8 6.7-35.3 0-53-43-96-96-96S0 75 0 128s43 96 96 96c4.5 0 9-.3 13.4-.9L142.3 256l-32.9 32.9c-4.4-.6-8.8-.9-13.4-.9-53 0-96 43-96 96s43 96 96 96 96-43 96-96c0-12.5-2.4-24.3-6.7-35.3l24.9-24.9L325.7 439.4c32.8 32.8 86 32.8 118.8 0 4.7-4.7 4.7-12.3 0-17L278.1 256zM96 160c-17.6 0-32-14.4-32-32s14.4-32 32-32 32 14.4 32 32-14.4 32-32 32zm0 256c-17.6 0-32-14.4-32-32s14.4-32 32-32 32 14.4 32 32-14.4 32-32 32z"/></svg>';
|
|
88
|
+
const copyIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 448v40c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V120c0-13.3 10.7-24 24-24h72v296c0 30.9 25.1 56 56 56h168zm0-344V0H152c-13.3 0-24 10.7-24 24v368c0 13.3 10.7 24 24 24h272c13.3 0 24-10.7 24-24V128H344c-13.2 0-24-10.8-24-24zm121-31L375 7A24 24 0 0 0 358.1 0H352v96h96v-6.1a24 24 0 0 0 -7-17z"/></svg>';
|
|
89
|
+
const pasteIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M128 184c0-30.9 25.1-56 56-56h136V56c0-13.3-10.7-24-24-24h-80.6C204.3 12.9 183.6 0 160 0s-44.3 12.9-55.4 32H24C10.7 32 0 42.7 0 56v336c0 13.3 10.7 24 24 24h104V184zm32-144c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm184 248h104v200c0 13.3-10.7 24-24 24H184c-13.3 0-24-10.7-24-24V184c0-13.3 10.7-24 24-24h136v104c0 13.2 10.8 24 24 24zm104-38.1V256h-96v-96h6.1a24 24 0 0 1 17 7l65.9 65.9a24 24 0 0 1 7 17z"/></svg>';
|
|
94
90
|
const toolbarIcons = {
|
|
95
91
|
undo: rotateLeftIconSvg,
|
|
96
92
|
redo: rotateRightIconSvg,
|
|
@@ -133,20 +129,11 @@ const toolbarIcons = {
|
|
|
133
129
|
highlight: highlighterIcon,
|
|
134
130
|
ai: magicWandIcon,
|
|
135
131
|
table: tableIconSvg,
|
|
136
|
-
tableActions: tableColumnsIconSvg,
|
|
137
|
-
splitCell: arrowsLeftRightIconSvg,
|
|
138
|
-
mergeCells: arrowsToDotIconSvg,
|
|
139
|
-
addRowBefore: plusIconSvg,
|
|
140
|
-
addRowAfter: plusIconSvg,
|
|
141
|
-
addColumnBefore: plusIconSvg,
|
|
142
|
-
addColumnAfter: plusIconSvg,
|
|
143
|
-
deleteRow: trashIconSvg,
|
|
144
|
-
deleteColumn: trashIconSvg,
|
|
145
|
-
deleteTable: trashIconSvg,
|
|
146
|
-
deleteBorders: borderNoneIconSvg,
|
|
147
|
-
fixTables: wrenchIconSvg,
|
|
148
132
|
lineHeight: upDownIconSvg,
|
|
149
|
-
search: magnifyingGlassSvg
|
|
133
|
+
search: magnifyingGlassSvg,
|
|
134
|
+
cut: scissorsIconSvg,
|
|
135
|
+
copy: copyIconSvg,
|
|
136
|
+
paste: pasteIconSvg
|
|
150
137
|
};
|
|
151
138
|
const _hoisted_1$4 = { class: "toolbar-icon" };
|
|
152
139
|
const _hoisted_2$3 = ["innerHTML"];
|
|
@@ -198,7 +185,7 @@ const _hoisted_3$2 = {
|
|
|
198
185
|
class: "button-label"
|
|
199
186
|
};
|
|
200
187
|
const _hoisted_4$1 = { key: 2 };
|
|
201
|
-
const _hoisted_5 = ["
|
|
188
|
+
const _hoisted_5 = ["onKeydown", "id"];
|
|
202
189
|
const _hoisted_6 = ["placeholder", "onKeydown", "id"];
|
|
203
190
|
const _hoisted_7 = ["innerHTML"];
|
|
204
191
|
const _hoisted_8 = {
|
|
@@ -256,19 +243,23 @@ const _sfc_main$4 = {
|
|
|
256
243
|
style: style2,
|
|
257
244
|
attributes
|
|
258
245
|
} = props.toolbarItem;
|
|
259
|
-
const inlineTextInput = ref(
|
|
246
|
+
const inlineTextInput = ref(label);
|
|
260
247
|
const inlineInput = ref(null);
|
|
261
248
|
const { isHighContrastMode } = useHighContrastMode();
|
|
262
249
|
const handleClick = () => {
|
|
263
250
|
if (hasInlineTextInput) {
|
|
264
|
-
|
|
265
|
-
|
|
251
|
+
nextTick(() => {
|
|
252
|
+
inlineInput.value?.focus();
|
|
253
|
+
inlineInput.value?.select();
|
|
254
|
+
});
|
|
266
255
|
}
|
|
267
256
|
emit("buttonClick");
|
|
268
257
|
};
|
|
269
258
|
const handleInputSubmit = () => {
|
|
270
|
-
|
|
271
|
-
|
|
259
|
+
const value = inlineTextInput.value;
|
|
260
|
+
const cleanValue = value.replace(/[^0-9]/g, "");
|
|
261
|
+
emit("textSubmit", cleanValue);
|
|
262
|
+
inlineTextInput.value = cleanValue;
|
|
272
263
|
};
|
|
273
264
|
const getStyle = computed(() => {
|
|
274
265
|
if (style2.value) return style2.value;
|
|
@@ -276,10 +267,6 @@ const _sfc_main$4 = {
|
|
|
276
267
|
minWidth: props.minWidth
|
|
277
268
|
};
|
|
278
269
|
});
|
|
279
|
-
const onFontSizeInput = (event) => {
|
|
280
|
-
let { value } = event.target;
|
|
281
|
-
inlineTextInput.value = value.replace(/[^0-9]/g, "");
|
|
282
|
-
};
|
|
283
270
|
const caretIcon = computed(() => {
|
|
284
271
|
return active.value ? toolbarIcons.dropdownCaretUp : toolbarIcons.dropdownCaretDown;
|
|
285
272
|
});
|
|
@@ -309,8 +296,6 @@ const _sfc_main$4 = {
|
|
|
309
296
|
unref(name) === "fontSize" ? withDirectives((openBlock(), createElementBlock("input", {
|
|
310
297
|
key: 0,
|
|
311
298
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inlineTextInput.value = $event),
|
|
312
|
-
onInput: onFontSizeInput,
|
|
313
|
-
placeholder: unref(label),
|
|
314
299
|
onKeydown: withKeys(withModifiers(handleInputSubmit, ["prevent"]), ["enter"]),
|
|
315
300
|
type: "text",
|
|
316
301
|
class: normalizeClass(["button-text-input", { "high-contrast": unref(isHighContrastMode) }]),
|
|
@@ -347,7 +332,7 @@ const _sfc_main$4 = {
|
|
|
347
332
|
};
|
|
348
333
|
}
|
|
349
334
|
};
|
|
350
|
-
const ToolbarButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
335
|
+
const ToolbarButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-8ac39508"]]);
|
|
351
336
|
const _hoisted_1$2 = {
|
|
352
337
|
class: "toolbar-separator",
|
|
353
338
|
role: "separator",
|
|
@@ -8568,7 +8553,6 @@ const style$2 = cB("icon", `
|
|
|
8568
8553
|
display: inline-block;
|
|
8569
8554
|
position: relative;
|
|
8570
8555
|
fill: currentColor;
|
|
8571
|
-
transform: translateZ(0);
|
|
8572
8556
|
`, [cM("color-transition", {
|
|
8573
8557
|
transition: "color .3s var(--n-bezier)"
|
|
8574
8558
|
}), cM("depth", {
|
|
@@ -9903,6 +9887,11 @@ const _sfc_main$1 = {
|
|
|
9903
9887
|
}
|
|
9904
9888
|
};
|
|
9905
9889
|
const handleKeyDown = (e, item) => {
|
|
9890
|
+
const isTypingField = e.target.nodeName === "INPUT" || e.target.nodeName === "TEXTAREA";
|
|
9891
|
+
const isTypingToolbarItem = item.name.value === "fontSize";
|
|
9892
|
+
if (isTypingField && isTypingToolbarItem) {
|
|
9893
|
+
return;
|
|
9894
|
+
}
|
|
9906
9895
|
e.preventDefault();
|
|
9907
9896
|
switch (e.key) {
|
|
9908
9897
|
case "Enter":
|
|
@@ -10033,7 +10022,7 @@ const _sfc_main$1 = {
|
|
|
10033
10022
|
};
|
|
10034
10023
|
}
|
|
10035
10024
|
};
|
|
10036
|
-
const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
10025
|
+
const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-630d1841"]]);
|
|
10037
10026
|
const _sfc_main = {
|
|
10038
10027
|
__name: "Toolbar",
|
|
10039
10028
|
emits: ["command", "toggle", "select"],
|
|
@@ -10113,6 +10102,12 @@ const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9d
|
|
|
10113
10102
|
export {
|
|
10114
10103
|
NSkeleton as N,
|
|
10115
10104
|
Toolbar as T,
|
|
10105
|
+
tableIconSvg as a,
|
|
10106
|
+
scissorsIconSvg as b,
|
|
10107
|
+
copyIconSvg as c,
|
|
10108
|
+
linkIconSvg as l,
|
|
10109
|
+
magicWandIcon as m,
|
|
10110
|
+
pasteIconSvg as p,
|
|
10116
10111
|
sanitizeNumber as s,
|
|
10117
10112
|
toolbarIcons as t
|
|
10118
10113
|
};
|
|
@@ -1,2 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if the current selection is inside a node or mark with the given name.
|
|
3
|
+
* Optionally, can restrict the check to only the start or end of the selection (not anywhere in the range).
|
|
4
|
+
*
|
|
5
|
+
* @param {EditorState} state - The ProseMirror editor state.
|
|
6
|
+
* @param {string} name - The node or mark name to check for (e.g. 'paragraph', 'link').
|
|
7
|
+
* @param {Object} [options] - Optional settings.
|
|
8
|
+
* @param {boolean} [options.requireEnds=false] - If true, only checks if the start or end of the selection has the node/mark, not if it exists anywhere in the selection.
|
|
9
|
+
*
|
|
10
|
+
* This is useful for cases like showing a link popup: you may only want to show the popup if the selection starts or ends with a link, not if a link exists anywhere in the selection.
|
|
11
|
+
*
|
|
12
|
+
* @returns {boolean}
|
|
13
|
+
*/
|
|
14
|
+
export function selectionHasNodeOrMark(state: EditorState, name: string, options?: {
|
|
15
|
+
requireEnds?: boolean;
|
|
16
|
+
}): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Move the editor cursor to the position closest to the mouse event
|
|
19
|
+
* @param {MouseEvent} event
|
|
20
|
+
* @param {Object} editor - The editor instance
|
|
21
|
+
*/
|
|
22
|
+
export function moveCursorToMouseEvent(event: MouseEvent, editor: any): void;
|
|
1
23
|
export function onMarginClickCursorChange(event: MouseEvent, editor: SuperEditor): void;
|
|
24
|
+
export function checkNodeSpecificClicks(editor: Editor, event: any, popoverControls: any): void;
|
|
2
25
|
//# sourceMappingURL=cursor-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cursor-helpers.d.ts","sourceRoot":"","sources":["../../src/components/cursor-helpers.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cursor-helpers.d.ts","sourceRoot":"","sources":["../../src/components/cursor-helpers.js"],"names":[],"mappings":"AA2EA;;;;;;;;;;;;GAYG;AACH,8CATW,WAAW,QACX,MAAM,YAEd;IAA0B,WAAW,GAA7B,OAAO;CAIf,GAAU,OAAO,CAkEnB;AAED;;;;GAIG;AACH,8CAHW,UAAU,qBAcpB;AAlKM,iDAHI,UAAU,UACV,WAAW,QA0CrB;AAQM,gDAHI,MAAM,0CAoBhB"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export namespace ICONS {
|
|
2
|
+
export { plusIconSvg as addRowBefore };
|
|
3
|
+
export { plusIconSvg as addRowAfter };
|
|
4
|
+
export { plusIconSvg as addColumnBefore };
|
|
5
|
+
export { plusIconSvg as addColumnAfter };
|
|
6
|
+
export { trashIconSvg as deleteRow };
|
|
7
|
+
export { trashIconSvg as deleteColumn };
|
|
8
|
+
export { trashIconSvg as deleteTable };
|
|
9
|
+
export { borderNoneIconSvg as deleteBorders };
|
|
10
|
+
export { arrowsToDotIconSvg as mergeCells };
|
|
11
|
+
export { arrowsLeftRightIconSvg as splitCell };
|
|
12
|
+
export { wrenchIconSvg as fixTables };
|
|
13
|
+
export { magicWandIcon as ai };
|
|
14
|
+
export { linkIconSvg as link };
|
|
15
|
+
export { tableIconSvg as table };
|
|
16
|
+
export { scissorsIconSvg as cut };
|
|
17
|
+
export { copyIconSvg as copy };
|
|
18
|
+
export { pasteIconSvg as paste };
|
|
19
|
+
}
|
|
20
|
+
export namespace TEXTS {
|
|
21
|
+
let addRowBefore: string;
|
|
22
|
+
let addRowAfter: string;
|
|
23
|
+
let addColumnBefore: string;
|
|
24
|
+
let addColumnAfter: string;
|
|
25
|
+
let deleteRow: string;
|
|
26
|
+
let deleteColumn: string;
|
|
27
|
+
let deleteTable: string;
|
|
28
|
+
let transparentBorders: string;
|
|
29
|
+
let mergeCells: string;
|
|
30
|
+
let splitCell: string;
|
|
31
|
+
let fixTables: string;
|
|
32
|
+
let insertText: string;
|
|
33
|
+
let replaceText: string;
|
|
34
|
+
let insertLink: string;
|
|
35
|
+
let insertTable: string;
|
|
36
|
+
let editTable: string;
|
|
37
|
+
let cut: string;
|
|
38
|
+
let copy: string;
|
|
39
|
+
let paste: string;
|
|
40
|
+
}
|
|
41
|
+
export const tableActionsOptions: ({
|
|
42
|
+
label: string;
|
|
43
|
+
command: string;
|
|
44
|
+
icon: any;
|
|
45
|
+
props: {
|
|
46
|
+
'data-item': string;
|
|
47
|
+
ariaLabel: string;
|
|
48
|
+
};
|
|
49
|
+
bottomBorder?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
label: string;
|
|
52
|
+
command: string;
|
|
53
|
+
icon: any;
|
|
54
|
+
bottomBorder: boolean;
|
|
55
|
+
props: {
|
|
56
|
+
'data-item': string;
|
|
57
|
+
ariaLabel: string;
|
|
58
|
+
};
|
|
59
|
+
})[];
|
|
60
|
+
export namespace TRIGGERS {
|
|
61
|
+
let slash: string;
|
|
62
|
+
let click: string;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/slash-menu/constants.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDA;;;;;;;;;;;;;;;;;;KAsGE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get menu sections based on context (trigger, selection, node, etc)
|
|
3
|
+
* @param {Object} context - { editor, selectedText, pos, node, event, trigger }
|
|
4
|
+
* @returns {Array<{
|
|
5
|
+
* id: string,
|
|
6
|
+
* items: Array<{
|
|
7
|
+
* id: string,
|
|
8
|
+
* label: string,
|
|
9
|
+
* icon?: string,
|
|
10
|
+
* component?: Component,
|
|
11
|
+
* action?: (editor: Editor) => void,
|
|
12
|
+
* allowedTriggers: Array<'slash'|'click'>,
|
|
13
|
+
* requiresSelection?: boolean,
|
|
14
|
+
* requiresClipboard?: boolean
|
|
15
|
+
* requiresTableParent?: boolean
|
|
16
|
+
* requiresModule?: string
|
|
17
|
+
* }>
|
|
18
|
+
* }>} Array of menu sections
|
|
19
|
+
*/
|
|
20
|
+
export function getItems(context: any): Array<{
|
|
21
|
+
id: string;
|
|
22
|
+
items: Array<{
|
|
23
|
+
id: string;
|
|
24
|
+
label: string;
|
|
25
|
+
icon?: string;
|
|
26
|
+
component?: Component;
|
|
27
|
+
action?: (editor: Editor) => void;
|
|
28
|
+
allowedTriggers: Array<"slash" | "click">;
|
|
29
|
+
requiresSelection?: boolean;
|
|
30
|
+
requiresClipboard?: boolean;
|
|
31
|
+
requiresTableParent?: boolean;
|
|
32
|
+
requiresModule?: string;
|
|
33
|
+
}>;
|
|
34
|
+
}>;
|
|
35
|
+
//# sourceMappingURL=menuItems.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menuItems.d.ts","sourceRoot":"","sources":["../../../src/components/slash-menu/menuItems.js"],"names":[],"mappings":"AA+BA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wCAhBa,KAAK,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;QAClC,eAAe,EAAE,KAAK,CAAC,OAAO,GAAC,OAAO,CAAC,CAAC;QACxC,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAA;QAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAA;QAC7B,cAAc,CAAC,EAAE,MAAM,CAAA;KACxB,CAAC,CAAA;CACH,CAAC,CA6IJ"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the current editor context for menu logic
|
|
3
|
+
*
|
|
4
|
+
* @param {Object} editor - The editor instance
|
|
5
|
+
* @param {MouseEvent} [event] - Optional mouse event (for context menu)
|
|
6
|
+
* @returns {Object} context - { editor, selectedText, pos, node, event }
|
|
7
|
+
*/
|
|
8
|
+
export function getEditorContext(editor: any, event?: MouseEvent): any;
|
|
9
|
+
export function getPropsByItemId(itemId: string, props: any): any;
|
|
10
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/slash-menu/utils.js"],"names":[],"mappings":"AAkEA;;;;;;GAMG;AACH,sDAHW,UAAU,OAiCpB;AA3FM,yCAJI,MAAM,mBAwDhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"AAoBO;;;;;EAi7BN;AAEM,sEAEJ;;;CAAuB,UASvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"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"}
|
|
@@ -40,19 +40,10 @@ export namespace toolbarIcons {
|
|
|
40
40
|
export { highlighterIcon as highlight };
|
|
41
41
|
export { magicWandIcon as ai };
|
|
42
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
43
|
export { upDownIconSvg as lineHeight };
|
|
56
44
|
export { magnifyingGlassSvg as search };
|
|
45
|
+
export { scissorsIconSvg as cut };
|
|
46
|
+
export { copyIconSvg as copy };
|
|
47
|
+
export { pasteIconSvg as paste };
|
|
57
48
|
}
|
|
58
49
|
//# sourceMappingURL=toolbarIcons.d.ts.map
|
|
@@ -11,17 +11,6 @@ export namespace toolbarTexts {
|
|
|
11
11
|
let link: string;
|
|
12
12
|
let image: string;
|
|
13
13
|
let table: string;
|
|
14
|
-
let addRowBefore: string;
|
|
15
|
-
let addRowAfter: string;
|
|
16
|
-
let addColumnBefore: string;
|
|
17
|
-
let addColumnAfter: string;
|
|
18
|
-
let deleteRow: string;
|
|
19
|
-
let deleteColumn: string;
|
|
20
|
-
let deleteTable: string;
|
|
21
|
-
let transparentBorders: string;
|
|
22
|
-
let mergeCells: string;
|
|
23
|
-
let splitCell: string;
|
|
24
|
-
let fixTables: string;
|
|
25
14
|
let textAlign: string;
|
|
26
15
|
let bulletList: string;
|
|
27
16
|
let numberedList: string;
|
|
@@ -320,10 +320,10 @@ export class Editor extends EventEmitter {
|
|
|
320
320
|
registerPlugin(plugin: any, handlePlugins: any): void;
|
|
321
321
|
/**
|
|
322
322
|
* Unregister a PM plugin
|
|
323
|
-
* @param {string|Object}
|
|
323
|
+
* @param {string|Object} nameOrPluginKey - Plugin name or plugin instance
|
|
324
324
|
* @returns {void}
|
|
325
325
|
*/
|
|
326
|
-
unregisterPlugin(
|
|
326
|
+
unregisterPlugin(nameOrPluginKey: string | any): void;
|
|
327
327
|
converter: any;
|
|
328
328
|
/**
|
|
329
329
|
* Creates all node views.
|
|
@@ -338,7 +338,7 @@ export class Editor extends EventEmitter {
|
|
|
338
338
|
/**
|
|
339
339
|
* Attach styles and attributes to the editor element
|
|
340
340
|
*/
|
|
341
|
-
updateEditorStyles(element: any, proseMirror: any): void;
|
|
341
|
+
updateEditorStyles(element: any, proseMirror: any, hasPaginationEnabled?: boolean): void;
|
|
342
342
|
/**
|
|
343
343
|
* Initialize default styles for the editor container and ProseMirror.
|
|
344
344
|
* Get page size and margins from the converter.
|
|
@@ -347,7 +347,7 @@ export class Editor extends EventEmitter {
|
|
|
347
347
|
* @param {HTMLElement} [element=this.element] - The DOM element to apply styles to
|
|
348
348
|
* @returns {void}
|
|
349
349
|
*/
|
|
350
|
-
initDefaultStyles(element?: HTMLElement): void;
|
|
350
|
+
initDefaultStyles(element?: HTMLElement, isPaginationEnabled?: boolean): void;
|
|
351
351
|
/**
|
|
352
352
|
* Initializes responsive styles for mobile devices.
|
|
353
353
|
* Sets up scaling based on viewport width and handles orientation changes.
|
|
@@ -356,6 +356,13 @@ export class Editor extends EventEmitter {
|
|
|
356
356
|
* @returns {void}
|
|
357
357
|
*/
|
|
358
358
|
initMobileStyles(element: HTMLElement | void): void;
|
|
359
|
+
/**
|
|
360
|
+
* Initialize pagination, if the pagination extension is enabled.
|
|
361
|
+
* @private
|
|
362
|
+
* @async
|
|
363
|
+
* @returns {Promise<void>}
|
|
364
|
+
*/
|
|
365
|
+
private initPagination;
|
|
359
366
|
/**
|
|
360
367
|
* Get attrs of the currently selected node or mark.
|
|
361
368
|
* @param {String} nameOrType
|
|
@@ -408,6 +415,7 @@ export class Editor extends EventEmitter {
|
|
|
408
415
|
updatePageStyle({ pageMargins }: {
|
|
409
416
|
pageMargins: any;
|
|
410
417
|
}): void;
|
|
418
|
+
migrateListsToV2IfNecessary(): any;
|
|
411
419
|
getUpdatedJson(): any;
|
|
412
420
|
/**
|
|
413
421
|
* Export the editor document to DOCX.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AAkCA;;;;GAIG;AAEH;;;;;GAKG;AACH;;;;;EAKE;AAEF;;GAEG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AAEH;;;;GAIG;AACH;IAgsBE;;;;;;;;;;;;OAYG;IACH,+BARW,IAAI,GAAC,IAAI,GAAC,MAAM,WAChB,OAAO,GACL,OAAO,OAAO,CAc1B;IAED;;;;;OAKG;IACH,qCAFa,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,gDAHW,MAAM,OAMhB;IAivBD;;;;;OAKG;IACH,2CAFa,OAAO,CAOnB;IAz3CD;;;;OAIG;IACH,qBAHW,aAAa,EAwBvB;IAlID;;;OAGG;IACH,sBAAiB;IAEjB;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,YAAO;IAEP;;;OAGG;IACH,UAAK;IAEL;;;OAGG;IACH,WAFU,OAAO,CAEC;IAQlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkEE;IA0BA,0CAA8C;IAuHhD,qBAOC;IAED,gBAMC;IAeD;;;;OAIG;IACH,0BAFa,IAAI,CAIhB;IADC,aAAsB;IAsBxB;;;OAGG;IACH,SAFa,IAAI,CAIhB;IAED;;;OAGG;IACH,iBAEC;IAED;;;OAGG;IACH,mBAEC;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,kBAFa,OAAO,CAInB;IAED;;;OAGG;IACH,mBAFa,OAAO,CAInB;IAED;;;OAGG;IACH,eAFa,WAAW,CAIvB;IAED;;;OAGG;IACH,aAFa,KAAK,CAAE,IAAI,CAAC,CAIxB;IAED;;;OAGG;IACH,aAEC;IAED;;;OAGG;IACH,WAEC;IAED;;;OAGG;IACH,8BAFW,MAAM,QA+ChB;IAED;;;OAGG;IACH,+BAFa,UAAU,CAItB;IAED;;;;;OAKG;IACH,+BAFa,IAAI,CAchB;IAED;;;;;;OAMG;IACH,wBAHW,MAAM,GACJ,IAAI,CAiBhB;IAqCD;;;;OAIG;IACH,qBAHW,aAAa,GACX,IAAI,CA4BhB;IAED;;;;;OAKG;IACH,uBAJW,OAAO,eACP,OAAO,GACL,IAAI,CAQhB;IAED;;;;;OAKG;IACH,iDAFa,IAAI,CAUhB;IAED;;;;OAIG;IACH,kCAHW,MAAM,MAAO,GACX,IAAI,CAYhB;IAyCG,eAAuC;IAmP3C;;;OAGG;IACH,mBAFa,IAAI,CAMhB;IAED;;;OAGG;IACH,yBAeC;IAED;;OAEG;IACH,yFAyDC;IAED;;;;;;;QAOI;IACJ,4BAHY,WAAW,kCACT,IAAI,CAUjB;IAED;;;;;;OAMG;IACH,0BAHW,WAAW,GAAC,IAAI,GACd,IAAI,CAoDhB;IAoDD;;;;;OAKG;IACH,uBAeC;IA0ED;;;;;OAKG;IACH,uCAEC;IAED;;;;;;;;;OASG;IACH,2BARW,YAAa,wCAavB;IAED;;OAEG;IACH;;;OAGG;IACH,eAEC;IAED;;OAEG;IACH;;;OAGG;IACH,WAFa,MAAM,CAQlB;IAED;;OAEG;IACH;;;OAGG;IACH,qBAEC;IAED;;;;;;OAMG;IACH,iCAHG;QAAuB,WAAW;KAClC,GAAU,IAAI,CAiBhB;IAmCD,mCAEC;IAsBD,sBAEC;IAED;;;;;;;;;OASG;IACH,mGANG;QAA0B,UAAU,GAA5B,OAAO;QACU,YAAY,GAA7B,MAAM;QACU,QAAQ;QACN,cAAc,GAAhC,OAAO;KACf,GAAU,OAAO,CAAC,IAAI,GAAC,WAAW,MAAO,CAAC,CA6F5C;IAgBD;;;OAGG;IACH,WAFa,IAAI,CAUhB;IAED,mCAYC;IAeD;;;OAGG;IACH,kCAFa,MAAS,IAAI,CA8BzB;IAED;;;;;OAKG;IACH,2BAFa,OAAO,CAAC,IAAI,CAAC,CA+BzB;IAED;;;;;OAKG;IACH,yBAJW,MAAM,SACN,MAAM,GACJ,YAAa,CAYzB;IAED;;;;OAIG;IACH,4BAHW,MAAM,kBACN,MAAM,QAShB;IAED;;;;OAIG;IACH,qBAHW,MAAM,SAMhB;IAED;;;;;OAKG;IACH,2CAHW,MAAM,GACJ,IAAI,CAYhB;IAED;;;;;;;;OAQG;IACH,yCAHW,UAAU,EAAE,GACV,IAAI,CAMhB;IAED;;;;;;OAMG;IACH,4BAJW,UAAU,EAAE,cACZ,QAAQ,gCACN,IAAI,CAkBhB;IAED;;;;;;;OAOG;IACH,sCAJW,KAAQ,cACR,MAAM,EAAE,GACN,IAAI,CAKhB;IAFC,mBAAoC;IAItC;;;;OAIG;IACH,gBAFa,IAAI,CAKhB;;CAEF;;;;;cAnwDa,MAAM;;;;iBACN,MAAM;;;;;;;;;UAWP,MAAM;;;;WACN,MAAM;;;;WACN,MAAM,GAAG,IAAI;;;;;;;;;;cASZ,WAAW;;;;eACX,MAAM;;;;iBACN,OAAO;;;;mBACP,QAAQ;;;;iBACR,MAAM;;;;cACN,MAAM;;;;WACN,IAAI;;;;YACJ,KAAK,CAAE,IAAI,CAAC;;;;;;;;;;;;;;;;mBAIZ,MAAM;;;;WACN,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;;;;;;;iBAKN,MAAM;;;;;;;;eAEN,OAAO;;;;;;;;;;;;;;;;uBAIP,OAAO;;;;wBACP,OAAO;;;;gBACP,OAAO;;;;YACP,MAAM;;;;kBACN,OAAO;;;;iBACP,OAAO;;;;;;;;;;;;uBAGP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAsBP,OAAO;;;;mBACP,OAAO;;;;WACP,MAAM;;6BA9GS,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../src/core/InputRule.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../src/core/InputRule.js"],"names":[],"mappings":"AAsTA;;;;;GAKG;AACH,+DAOC;AAED;;;;;GAKG;AACH,mCAJW,MAAM,kBACN,MAAM,EAAE,GACN,gBAAgB,CAwB5B;AAvVD;IAIE,yBAGC;IAND,WAAM;IACN,aAAQ;CAMT;AAgHM;;;gBAyHN;AAgDM,oDASN;uBApTiC,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decreaseListIndent.d.ts","sourceRoot":"","sources":["../../../src/core/commands/decreaseListIndent.js"],"names":[],"mappings":"AAQO,+
|
|
1
|
+
{"version":3,"file":"decreaseListIndent.d.ts","sourceRoot":"","sources":["../../../src/core/commands/decreaseListIndent.js"],"names":[],"mappings":"AAQO,+CA8CN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteListItem.d.ts","sourceRoot":"","sources":["../../../src/core/commands/deleteListItem.js"],"names":[],"mappings":"AAUO,
|
|
1
|
+
{"version":3,"file":"deleteListItem.d.ts","sourceRoot":"","sources":["../../../src/core/commands/deleteListItem.js"],"names":[],"mappings":"AAUO,2CAiDN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSelection.d.ts","sourceRoot":"","sources":["../../../src/core/commands/deleteSelection.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deleteSelection.d.ts","sourceRoot":"","sources":["../../../src/core/commands/deleteSelection.js"],"names":[],"mappings":"AAQO,oCAA+B;;;CAAmB,aAExD;AAmCM,6CAFM,OAAO,CA2CnB;AAUM,0CAFM,OAAO,CAuGnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"increaseListIndent.d.ts","sourceRoot":"","sources":["../../../src/core/commands/increaseListIndent.js"],"names":[],"mappings":"AAMO,+
|
|
1
|
+
{"version":3,"file":"increaseListIndent.d.ts","sourceRoot":"","sources":["../../../src/core/commands/increaseListIndent.js"],"names":[],"mappings":"AAMO,+CAiCN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"joinBackward.d.ts","sourceRoot":"","sources":["../../../src/core/commands/joinBackward.js"],"names":[],"mappings":"AAgBO,iCAA4B;;;CAAmB,
|
|
1
|
+
{"version":3,"file":"joinBackward.d.ts","sourceRoot":"","sources":["../../../src/core/commands/joinBackward.js"],"names":[],"mappings":"AAgBO,iCAA4B;;;CAAmB,aAuBrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"joinForward.d.ts","sourceRoot":"","sources":["../../../src/core/commands/joinForward.js"],"names":[],"mappings":"AAcO,gCAA2B;;;CAAmB,
|
|
1
|
+
{"version":3,"file":"joinForward.d.ts","sourceRoot":"","sources":["../../../src/core/commands/joinForward.js"],"names":[],"mappings":"AAcO,gCAA2B;;;CAAmB,aAuBpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitListItem.d.ts","sourceRoot":"","sources":["../../../src/core/commands/splitListItem.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"splitListItem.d.ts","sourceRoot":"","sources":["../../../src/core/commands/splitListItem.js"],"names":[],"mappings":"AAiBO,kCAA6B,UAAK,aAmExC"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export function toggleList(
|
|
1
|
+
export function toggleList(listType: any): ({ editor, state, tr }: {
|
|
2
|
+
editor: any;
|
|
3
|
+
state: any;
|
|
4
|
+
tr: any;
|
|
5
|
+
}) => any;
|
|
2
6
|
//# sourceMappingURL=toggleList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggleList.d.ts","sourceRoot":"","sources":["../../../src/core/commands/toggleList.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggleList.d.ts","sourceRoot":"","sources":["../../../src/core/commands/toggleList.js"],"names":[],"mappings":"AAoDO,4CAAkC;;;;CAAqB,SAQ7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../src/core/extensions/keymap.js"],"names":[],"mappings":"AAIO,8CAON;AAEM,
|
|
1
|
+
{"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../../../src/core/extensions/keymap.js"],"names":[],"mappings":"AAIO,8CAON;AAEM,kDAYN;AAEM,+CAON;AAED;;;GAGG;AACH,+BAuCG;0BA/EuB,iBAAiB"}
|
|
@@ -4,7 +4,7 @@ export function generateNewListDefinition({ numId, listType, editor }: {
|
|
|
4
4
|
editor: Editor;
|
|
5
5
|
}): any;
|
|
6
6
|
export function getNewListId(editor: Editor): number;
|
|
7
|
-
export function getListDefinitionDetails({ numId, level, editor }: {
|
|
7
|
+
export function getListDefinitionDetails({ numId, level, listType, editor }: {
|
|
8
8
|
numId: number;
|
|
9
9
|
level: number;
|
|
10
10
|
editor: Editor;
|
|
@@ -18,16 +18,15 @@ export function createListItemNodeJSON({ level, lvlText, numId, numFmt, start, c
|
|
|
18
18
|
start: number;
|
|
19
19
|
contentNode: any;
|
|
20
20
|
}): any;
|
|
21
|
-
export function createSchemaOrderedListNode({ level, numId, editor, contentNode }: {
|
|
21
|
+
export function createSchemaOrderedListNode({ level, numId, listType, editor, contentNode }: {
|
|
22
22
|
level: number;
|
|
23
23
|
numId: number;
|
|
24
24
|
editor: Editor;
|
|
25
25
|
contentNode: any;
|
|
26
26
|
}): any;
|
|
27
|
-
export function createNewList({ listType,
|
|
27
|
+
export function createNewList({ listType, tr, editor }: {
|
|
28
28
|
listType: string | any;
|
|
29
29
|
editor: Editor;
|
|
30
|
-
chain: Function;
|
|
31
30
|
node: any;
|
|
32
31
|
content: any;
|
|
33
32
|
}): Function;
|
|
@@ -47,7 +46,7 @@ export function convertListItemToParagraph({ state, tr, currentNode, replaceFrom
|
|
|
47
46
|
replaceFrom: number;
|
|
48
47
|
replaceTo: number;
|
|
49
48
|
}): boolean;
|
|
50
|
-
export function insertNewList(
|
|
49
|
+
export function insertNewList(tr: any, replaceFrom: number, replaceTo: number, listNode: Node, marks?: any[]): Function;
|
|
51
50
|
export function getListItemStyleDefinitions({ styleId, numId, level, editor }: {
|
|
52
51
|
styleId: string;
|
|
53
52
|
numId: number;
|
|
@@ -55,6 +54,7 @@ export function getListItemStyleDefinitions({ styleId, numId, level, editor }: {
|
|
|
55
54
|
editor: Editor;
|
|
56
55
|
}): any;
|
|
57
56
|
export function addInlineTextMarks(currentNode: any, filteredMarks: any[]): any[];
|
|
57
|
+
export function migrateListsToV2IfNecessary(editor: Editor): void;
|
|
58
58
|
export namespace ListHelpers {
|
|
59
59
|
export { getCurrentListItem };
|
|
60
60
|
export { getParentOrderedList };
|
|
@@ -71,6 +71,7 @@ export namespace ListHelpers {
|
|
|
71
71
|
export { createSchemaOrderedListNode };
|
|
72
72
|
export { createListItemNodeJSON };
|
|
73
73
|
export { addInlineTextMarks };
|
|
74
|
+
export { migrateListsToV2IfNecessary };
|
|
74
75
|
export { baseOrderedListDef };
|
|
75
76
|
export { baseBulletList };
|
|
76
77
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-numbering-helpers.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/list-numbering-helpers.js"],"names":[],"mappings":"AAmBO,uEALJ;IAAuB,KAAK,EAApB,MAAM;IACS,QAAQ;IACR,MAAM,EAArB,MAAM;CACd,
|
|
1
|
+
{"version":3,"file":"list-numbering-helpers.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/list-numbering-helpers.js"],"names":[],"mappings":"AAmBO,uEALJ;IAAuB,KAAK,EAApB,MAAM;IACS,QAAQ;IACR,MAAM,EAArB,MAAM;CACd,OAuCF;AASM,qCAHI,MAAM,GACJ,MAAM,CAIlB;AAiBM,6EAVJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IACS,MAAM,EAArB,MAAM;CACd,OA2BF;AAUM,8CAJI,MAAM,UACN,MAAM,GACJ,IAAI,CAehB;AAeM,8FARJ;IAAuB,KAAK,EAApB,MAAM;IACS,OAAO,EAAtB,MAAM;IACS,KAAK,EAApB,MAAM;IACS,MAAM,EAArB,MAAM;IACS,KAAK,EAApB,MAAM;IACS,WAAW;CAClC,OA2BF;AAaM,6FANJ;IAAuB,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IACS,MAAM,EAArB,MAAM;IACS,WAAW;CAClC,OAiBF;AAWM,wDANJ;IAA8B,QAAQ,EAA9B,MAAM,MAAO;IACE,MAAM,EAArB,MAAM;IACS,IAAI;IACJ,OAAO;CAC9B,YAyBF;AAQM,gDAFM,IAAI,GAAC,IAAI,CAIrB;AAOM,kDAFM,IAAI,GAAC,IAAI,CAIrB;AAQM,4DAHI,MAAM,GACJ,IAAI,CAUhB;AAWM,+DANJ;IAAuB,EAAE;IACF,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;IACO,OAAO,EAApB,IAAI;CACZ,GAAU,IAAI,CAIhB;AAYM,+FAPJ;IAAuB,KAAK;IACL,EAAE;IACJ,WAAW,EAAxB,IAAI;IACW,WAAW,EAA1B,MAAM;IACS,SAAS,EAAxB,MAAM;CACd,GAAU,OAAO,CAmBnB;AAWM,oDAPI,MAAM,aACN,MAAM,YACN,IAAI,2BAmBd;AAYM,+EANJ;IAAuB,OAAO,EAAtB,MAAM;IACS,KAAK,EAApB,MAAM;IACS,KAAK,EAApB,MAAM;IACS,MAAM,EAArB,MAAM;CACd,OAqBF;AASM,kFAQN;AASM,oDAHI,MAAM,GACL,IAAI,CAyCf;;;;;;;;;;;;;;;;;;;;;mCArakD,uBAAuB;+BAAvB,uBAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuperConverter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/SuperConverter.js"],"names":[],"mappings":"AAeA;IACE;;;;;;;;;;;;;;;;;;OAuBG;IAEH;;;;;;;;;;SAiBE;IAEF;;;;;;OAMG;IAEH,6BAAsF;IAwFtF,gDAoBC;IAED,6DAqBC;IAjID,0BA8DC;IA5DC,WAAmC;IAGnC,iBAAuB;IACvB,wBAA8B;IAG9B,iBAAsB;IACtB,UAA8B;IAC9B,WAAgC;IAEhC,WAAgC;IAEhC,eAAoB;IACpB,gBAAkB;IAGlB,4BAAoC;IAGpC,SAAsB;IAItB,cAAmB;IAInB,gBAAsB;IAGtB,iBAAuB;IAGvB,YAAiB;IACjB;;;;;MAAsE;IACtE,qBAAuB;IACvB,YAAiB;IACjB;;;;;MAAsE;IACtE,qBAAuB;IAGvB,oBAAsB;IAGtB,UAAwB;IAExB,0BAAiC;IACjC,0BAA4B;IAG5B,eAA0C;IAC1C,wBAA8B;IAG9B,gBAA4C;IAC5C,gBAA4C;IAM9C,qBAgBC;IAED,8BAEC;IA+CD;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SuperConverter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/SuperConverter.js"],"names":[],"mappings":"AAeA;IACE;;;;;;;;;;;;;;;;;;OAuBG;IAEH;;;;;;;;;;SAiBE;IAEF;;;;;;OAMG;IAEH,6BAAsF;IAwFtF,gDAoBC;IAED,6DAqBC;IAjID,0BA8DC;IA5DC,WAAmC;IAGnC,iBAAuB;IACvB,wBAA8B;IAG9B,iBAAsB;IACtB,UAA8B;IAC9B,WAAgC;IAEhC,WAAgC;IAEhC,eAAoB;IACpB,gBAAkB;IAGlB,4BAAoC;IAGpC,SAAsB;IAItB,cAAmB;IAInB,gBAAsB;IAGtB,iBAAuB;IAGvB,YAAiB;IACjB;;;;;MAAsE;IACtE,qBAAuB;IACvB,YAAiB;IACjB;;;;;MAAsE;IACtE,qBAAuB;IAGvB,oBAAsB;IAGtB,UAAwB;IAExB,0BAAiC;IACjC,0BAA4B;IAG5B,eAA0C;IAC1C,wBAA8B;IAG9B,gBAA4C;IAC5C,gBAA4C;IAM9C,qBAgBC;IAED,8BAEC;IA+CD;;;;;;;;;;MAkDC;IAED,2BAmDC;IAED,8BAwBC;IAED;;;;;;MAWC;IAED;;;;;;MAiBC;IAED,2EAeC;IAED,gDAGC;IAED,uLA+DC;IAED;;;;;;;;;;;;MA8BC;;CAkNF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAwBA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAwCxB;AA+DD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;
|
|
1
|
+
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAwBA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAwCxB;AA+DD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;AAi8DD;;;;;;;;;EAcC;AA+FD;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAGC;;CAwEF;;;;;;;;;;;;;mBAvyEa,KAAQ;;;;;;UAKR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @type {import("docxImporter").NodeHandler}
|
|
3
3
|
*/
|
|
4
4
|
export const handleAnnotationNode: any;
|
|
5
|
-
export function parseAnnotationMarks(content
|
|
5
|
+
export function parseAnnotationMarks(content?: any): any;
|
|
6
6
|
/**
|
|
7
7
|
* @type {import("docxImporter").NodeHandlerEntry}
|
|
8
8
|
*/
|