@opentiny/fluent-editor 4.0.0-alpha.9 → 4.0.0-beta.0
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 +88 -88
- package/es/attributors/line-height.es.js.map +1 -1
- package/es/config/base64-image.es.js.map +1 -1
- package/es/config/editor.config.es.js +27 -0
- package/es/config/editor.config.es.js.map +1 -1
- package/es/config/editor.utils.es.js.map +1 -1
- package/es/config/i18n/en-us.es.js +2 -0
- package/es/config/i18n/en-us.es.js.map +1 -1
- package/es/config/i18n/zh-cn.es.js +2 -0
- package/es/config/i18n/zh-cn.es.js.map +1 -1
- package/es/config/index.es.js +3 -1
- package/es/config/index.es.js.map +1 -1
- package/es/core/fluent-editor.es.js.map +1 -1
- package/es/fluent-editor.es.js +17 -13
- package/es/fluent-editor.es.js.map +1 -1
- package/es/formats/emoji.es.js.map +1 -1
- package/es/formats/soft-break.es.js.map +1 -1
- package/es/formats/strike.es.js.map +1 -1
- package/es/formats/video.es.js.map +1 -1
- package/es/index.es.js +35 -2
- package/es/index.es.js.map +1 -1
- package/es/modules/ai/constants.es.js.map +1 -1
- package/es/modules/ai/icons.es.js.map +1 -1
- package/es/modules/ai/index.es.js +1 -1
- package/es/modules/ai/index.es.js.map +1 -1
- package/es/modules/collaborative-editing/awareness/awareness.es.js +6 -7
- package/es/modules/collaborative-editing/awareness/awareness.es.js.map +1 -1
- package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js +7 -3
- package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js.map +1 -1
- package/es/modules/collaborative-editing/collaborative-editing.es.js +13 -8
- package/es/modules/collaborative-editing/collaborative-editing.es.js.map +1 -1
- package/es/modules/collaborative-editing/module.es.js.map +1 -1
- package/es/modules/collaborative-editing/provider/providerRegistry.es.js.map +1 -1
- package/es/modules/collaborative-editing/provider/webrtc.es.js +8 -4
- package/es/modules/collaborative-editing/provider/webrtc.es.js.map +1 -1
- package/es/modules/collaborative-editing/provider/websocket.es.js +6 -4
- package/es/modules/collaborative-editing/provider/websocket.es.js.map +1 -1
- package/es/modules/counter.es.js.map +1 -1
- package/es/modules/custom-clipboard.es.js.map +1 -1
- package/es/modules/custom-image/actions/action.es.js.map +1 -1
- package/es/modules/custom-image/actions/custom-resize-action.es.js.map +1 -1
- package/es/modules/custom-image/actions/delete-action.es.js.map +1 -1
- package/es/modules/custom-image/actions/image-toolbar-buttons.es.js +1 -1
- package/es/modules/custom-image/actions/image-toolbar-buttons.es.js.map +1 -1
- package/es/modules/custom-image/actions/toolbar-action.es.js.map +1 -1
- package/es/modules/custom-image/actions/toolbar.es.js.map +1 -1
- package/es/modules/custom-image/blot-formatter.es.js +1 -1
- package/es/modules/custom-image/blot-formatter.es.js.map +1 -1
- package/es/modules/custom-image/image.es.js.map +1 -1
- package/es/modules/custom-image/options.es.js.map +1 -1
- package/es/modules/custom-image/specs/blot-spec.es.js.map +1 -1
- package/es/modules/custom-image/specs/custom-image-spec.es.js.map +1 -1
- package/es/modules/custom-image/specs/image-spec.es.js.map +1 -1
- package/es/modules/custom-uploader.es.js.map +1 -1
- package/es/modules/divider.es.js.map +1 -1
- package/es/modules/emoji.es.js +1 -1
- package/es/modules/emoji.es.js.map +1 -1
- package/es/modules/file/formats/file.es.js.map +1 -1
- package/es/modules/file/modules/file-bar.es.js.map +1 -1
- package/es/modules/file/modules/file-module.es.js.map +1 -1
- package/es/modules/flow-chart/config-utils.es.js +102 -0
- package/es/modules/flow-chart/config-utils.es.js.map +1 -0
- package/es/modules/flow-chart/formats/flow-chart-blot.es.js +369 -0
- package/es/modules/flow-chart/formats/flow-chart-blot.es.js.map +1 -0
- package/es/modules/flow-chart/i18n/en-us.es.js +30 -0
- package/es/modules/flow-chart/i18n/en-us.es.js.map +1 -0
- package/es/modules/flow-chart/i18n/index.es.js +12 -0
- package/es/modules/flow-chart/i18n/index.es.js.map +1 -0
- package/es/modules/flow-chart/i18n/zh-cn.es.js +30 -0
- package/es/modules/flow-chart/i18n/zh-cn.es.js.map +1 -0
- package/es/modules/flow-chart/icons.es.js +27 -0
- package/es/modules/flow-chart/icons.es.js.map +1 -0
- package/es/modules/flow-chart/index.es.js +45 -0
- package/es/modules/flow-chart/index.es.js.map +1 -0
- package/es/modules/flow-chart/modules/context-menu.es.js +184 -0
- package/es/modules/flow-chart/modules/context-menu.es.js.map +1 -0
- package/es/modules/flow-chart/modules/control-panel.es.js +286 -0
- package/es/modules/flow-chart/modules/control-panel.es.js.map +1 -0
- package/es/modules/flow-chart/modules/custom-resize-action.es.js +150 -0
- package/es/modules/flow-chart/modules/custom-resize-action.es.js.map +1 -0
- package/es/modules/i18n.es.js.map +1 -1
- package/es/modules/index.es.js +4 -0
- package/es/modules/index.es.js.map +1 -1
- package/es/modules/link/formats/link.es.js.map +1 -1
- package/es/modules/link/modules/tooltip.es.js.map +1 -1
- package/es/modules/mathlive/formats.es.js.map +1 -1
- package/es/modules/mathlive/module.es.js.map +1 -1
- package/es/modules/mathlive/tooltip.es.js.map +1 -1
- package/es/modules/mention/constants.es.js.map +1 -1
- package/es/modules/mention/mention-link.es.js.map +1 -1
- package/es/modules/mention/mention.es.js.map +1 -1
- package/es/modules/mind-map/config-utils.es.js +108 -0
- package/es/modules/mind-map/config-utils.es.js.map +1 -0
- package/es/modules/mind-map/formats/mind-map-blot.es.js +356 -0
- package/es/modules/mind-map/formats/mind-map-blot.es.js.map +1 -0
- package/es/modules/mind-map/i18n/en-us.es.js +29 -0
- package/es/modules/mind-map/i18n/en-us.es.js.map +1 -0
- package/es/modules/mind-map/i18n/index.es.js +12 -0
- package/es/modules/mind-map/i18n/index.es.js.map +1 -0
- package/es/modules/mind-map/i18n/zh-cn.es.js +29 -0
- package/es/modules/mind-map/i18n/zh-cn.es.js.map +1 -0
- package/es/modules/mind-map/icons.es.js +45 -0
- package/es/modules/mind-map/icons.es.js.map +1 -0
- package/es/modules/mind-map/index.es.js +56 -0
- package/es/modules/mind-map/index.es.js.map +1 -0
- package/es/modules/mind-map/modules/context-menu.es.js +128 -0
- package/es/modules/mind-map/modules/context-menu.es.js.map +1 -0
- package/es/modules/mind-map/modules/control-panel.es.js +425 -0
- package/es/modules/mind-map/modules/control-panel.es.js.map +1 -0
- package/es/modules/mind-map/modules/custom-resize-action.es.js +161 -0
- package/es/modules/mind-map/modules/custom-resize-action.es.js.map +1 -0
- package/es/modules/shortcut-key/index.es.js +16 -0
- package/es/modules/shortcut-key/index.es.js.map +1 -1
- package/es/modules/syntax.es.js.map +1 -1
- package/es/modules/table-up/index.es.js.map +1 -1
- package/es/modules/toolbar/better-picker.es.js.map +1 -1
- package/es/modules/toolbar/better-toolbar.es.js.map +1 -1
- package/es/modules/toolbar/toolbar-tip.es.js.map +1 -1
- package/es/themes/snow.es.js.map +1 -1
- package/es/tools/format-painter.es.js.map +1 -1
- package/es/tools/fullscreen.es.js.map +1 -1
- package/es/tools/screenshot.es.js.map +1 -1
- package/es/ui/icons.config.es.js +4 -0
- package/es/ui/icons.config.es.js.map +1 -1
- package/es/ui/icons.es.js +4 -2
- package/es/ui/icons.es.js.map +1 -1
- package/es/utils/debounce.es.js.map +1 -1
- package/es/utils/image.es.js.map +1 -1
- package/es/utils/is.es.js.map +1 -1
- package/es/utils/merge.es.js +27 -0
- package/es/utils/merge.es.js.map +1 -0
- package/es/utils/method.es.js.map +1 -1
- package/es/utils/scroll-lock.es.js.map +1 -1
- package/flow-chart.css +185 -0
- package/lib/attributors/line-height.cjs.js.map +1 -1
- package/lib/config/base64-image.cjs.js.map +1 -1
- package/lib/config/editor.config.cjs.js +27 -0
- package/lib/config/editor.config.cjs.js.map +1 -1
- package/lib/config/editor.utils.cjs.js.map +1 -1
- package/lib/config/i18n/en-us.cjs.js +2 -0
- package/lib/config/i18n/en-us.cjs.js.map +1 -1
- package/lib/config/i18n/zh-cn.cjs.js +2 -0
- package/lib/config/i18n/zh-cn.cjs.js.map +1 -1
- package/lib/config/index.cjs.js +2 -0
- package/lib/config/index.cjs.js.map +1 -1
- package/lib/core/fluent-editor.cjs.js.map +1 -1
- package/lib/fluent-editor.cjs.js +23 -19
- package/lib/fluent-editor.cjs.js.map +1 -1
- package/lib/formats/emoji.cjs.js.map +1 -1
- package/lib/formats/soft-break.cjs.js.map +1 -1
- package/lib/formats/strike.cjs.js.map +1 -1
- package/lib/formats/video.cjs.js.map +1 -1
- package/lib/index.cjs.js +39 -6
- package/lib/index.cjs.js.map +1 -1
- package/lib/modules/ai/constants.cjs.js.map +1 -1
- package/lib/modules/ai/icons.cjs.js.map +1 -1
- package/lib/modules/ai/index.cjs.js.map +1 -1
- package/lib/modules/collaborative-editing/awareness/awareness.cjs.js +6 -24
- package/lib/modules/collaborative-editing/awareness/awareness.cjs.js.map +1 -1
- package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js +7 -3
- package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js.map +1 -1
- package/lib/modules/collaborative-editing/collaborative-editing.cjs.js +19 -31
- package/lib/modules/collaborative-editing/collaborative-editing.cjs.js.map +1 -1
- package/lib/modules/collaborative-editing/module.cjs.js.map +1 -1
- package/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js.map +1 -1
- package/lib/modules/collaborative-editing/provider/webrtc.cjs.js +10 -23
- package/lib/modules/collaborative-editing/provider/webrtc.cjs.js.map +1 -1
- package/lib/modules/collaborative-editing/provider/websocket.cjs.js +10 -25
- package/lib/modules/collaborative-editing/provider/websocket.cjs.js.map +1 -1
- package/lib/modules/counter.cjs.js.map +1 -1
- package/lib/modules/custom-clipboard.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/action.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/custom-resize-action.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/delete-action.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/image-toolbar-buttons.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/toolbar-action.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/toolbar.cjs.js.map +1 -1
- package/lib/modules/custom-image/blot-formatter.cjs.js +2 -2
- package/lib/modules/custom-image/blot-formatter.cjs.js.map +1 -1
- package/lib/modules/custom-image/image.cjs.js.map +1 -1
- package/lib/modules/custom-image/options.cjs.js.map +1 -1
- package/lib/modules/custom-image/specs/blot-spec.cjs.js.map +1 -1
- package/lib/modules/custom-image/specs/custom-image-spec.cjs.js.map +1 -1
- package/lib/modules/custom-image/specs/image-spec.cjs.js.map +1 -1
- package/lib/modules/custom-uploader.cjs.js.map +1 -1
- package/lib/modules/divider.cjs.js.map +1 -1
- package/lib/modules/emoji.cjs.js +2 -2
- package/lib/modules/emoji.cjs.js.map +1 -1
- package/lib/modules/file/formats/file.cjs.js.map +1 -1
- package/lib/modules/file/modules/file-bar.cjs.js.map +1 -1
- package/lib/modules/file/modules/file-module.cjs.js.map +1 -1
- package/lib/modules/flow-chart/config-utils.cjs.js +102 -0
- package/lib/modules/flow-chart/config-utils.cjs.js.map +1 -0
- package/lib/modules/flow-chart/formats/flow-chart-blot.cjs.js +369 -0
- package/lib/modules/flow-chart/formats/flow-chart-blot.cjs.js.map +1 -0
- package/lib/modules/flow-chart/i18n/en-us.cjs.js +30 -0
- package/lib/modules/flow-chart/i18n/en-us.cjs.js.map +1 -0
- package/lib/modules/flow-chart/i18n/index.cjs.js +12 -0
- package/lib/modules/flow-chart/i18n/index.cjs.js.map +1 -0
- package/lib/modules/flow-chart/i18n/zh-cn.cjs.js +30 -0
- package/lib/modules/flow-chart/i18n/zh-cn.cjs.js.map +1 -0
- package/lib/modules/flow-chart/icons.cjs.js +27 -0
- package/lib/modules/flow-chart/icons.cjs.js.map +1 -0
- package/lib/modules/flow-chart/index.cjs.js +45 -0
- package/lib/modules/flow-chart/index.cjs.js.map +1 -0
- package/lib/modules/flow-chart/modules/context-menu.cjs.js +184 -0
- package/lib/modules/flow-chart/modules/context-menu.cjs.js.map +1 -0
- package/lib/modules/flow-chart/modules/control-panel.cjs.js +286 -0
- package/lib/modules/flow-chart/modules/control-panel.cjs.js.map +1 -0
- package/lib/modules/flow-chart/modules/custom-resize-action.cjs.js +150 -0
- package/lib/modules/flow-chart/modules/custom-resize-action.cjs.js.map +1 -0
- package/lib/modules/i18n.cjs.js.map +1 -1
- package/lib/modules/index.cjs.js +9 -5
- package/lib/modules/index.cjs.js.map +1 -1
- package/lib/modules/link/formats/link.cjs.js.map +1 -1
- package/lib/modules/link/modules/tooltip.cjs.js.map +1 -1
- package/lib/modules/mathlive/formats.cjs.js.map +1 -1
- package/lib/modules/mathlive/module.cjs.js.map +1 -1
- package/lib/modules/mathlive/tooltip.cjs.js.map +1 -1
- package/lib/modules/mention/constants.cjs.js.map +1 -1
- package/lib/modules/mention/mention-link.cjs.js.map +1 -1
- package/lib/modules/mention/mention.cjs.js.map +1 -1
- package/lib/modules/mind-map/config-utils.cjs.js +108 -0
- package/lib/modules/mind-map/config-utils.cjs.js.map +1 -0
- package/lib/modules/mind-map/formats/mind-map-blot.cjs.js +356 -0
- package/lib/modules/mind-map/formats/mind-map-blot.cjs.js.map +1 -0
- package/lib/modules/mind-map/i18n/en-us.cjs.js +29 -0
- package/lib/modules/mind-map/i18n/en-us.cjs.js.map +1 -0
- package/lib/modules/mind-map/i18n/index.cjs.js +12 -0
- package/lib/modules/mind-map/i18n/index.cjs.js.map +1 -0
- package/lib/modules/mind-map/i18n/zh-cn.cjs.js +29 -0
- package/lib/modules/mind-map/i18n/zh-cn.cjs.js.map +1 -0
- package/lib/modules/mind-map/icons.cjs.js +45 -0
- package/lib/modules/mind-map/icons.cjs.js.map +1 -0
- package/lib/modules/mind-map/index.cjs.js +56 -0
- package/lib/modules/mind-map/index.cjs.js.map +1 -0
- package/lib/modules/mind-map/modules/context-menu.cjs.js +128 -0
- package/lib/modules/mind-map/modules/context-menu.cjs.js.map +1 -0
- package/lib/modules/mind-map/modules/control-panel.cjs.js +425 -0
- package/lib/modules/mind-map/modules/control-panel.cjs.js.map +1 -0
- package/lib/modules/mind-map/modules/custom-resize-action.cjs.js +161 -0
- package/lib/modules/mind-map/modules/custom-resize-action.cjs.js.map +1 -0
- package/lib/modules/shortcut-key/index.cjs.js +16 -0
- package/lib/modules/shortcut-key/index.cjs.js.map +1 -1
- package/lib/modules/syntax.cjs.js.map +1 -1
- package/lib/modules/table-up/index.cjs.js.map +1 -1
- package/lib/modules/toolbar/better-picker.cjs.js.map +1 -1
- package/lib/modules/toolbar/better-toolbar.cjs.js.map +1 -1
- package/lib/modules/toolbar/toolbar-tip.cjs.js.map +1 -1
- package/lib/themes/snow.cjs.js.map +1 -1
- package/lib/tools/format-painter.cjs.js.map +1 -1
- package/lib/tools/fullscreen.cjs.js.map +1 -1
- package/lib/tools/screenshot.cjs.js.map +1 -1
- package/lib/ui/icons.cjs.js +3 -1
- package/lib/ui/icons.cjs.js.map +1 -1
- package/lib/ui/icons.config.cjs.js +4 -0
- package/lib/ui/icons.config.cjs.js.map +1 -1
- package/lib/utils/debounce.cjs.js.map +1 -1
- package/lib/utils/image.cjs.js.map +1 -1
- package/lib/utils/is.cjs.js.map +1 -1
- package/lib/utils/merge.cjs.js +27 -0
- package/lib/utils/merge.cjs.js.map +1 -0
- package/lib/utils/method.cjs.js.map +1 -1
- package/lib/utils/scroll-lock.cjs.js.map +1 -1
- package/mind-map.css +224 -0
- package/package.json +45 -67
- package/patches/quill@2.0.3.patch +33 -0
- package/scripts/apply-patches.cjs +248 -0
- package/style.css +4 -2
- package/types/attributors/font-size.d.ts +1 -1
- package/types/attributors/font-style.d.ts +1 -1
- package/types/attributors/index.d.ts +4 -4
- package/types/attributors/line-height.d.ts +1 -1
- package/types/attributors/text-indent.d.ts +1 -1
- package/types/config/base64-image.d.ts +2 -2
- package/types/config/editor.config.d.ts +55 -11
- package/types/config/editor.utils.d.ts +40 -40
- package/types/config/i18n/en-us.d.ts +125 -123
- package/types/config/i18n/zh-cn.d.ts +125 -123
- package/types/config/index.d.ts +7 -7
- package/types/config/types/editor-config.interface.d.ts +11 -12
- package/types/config/types/editor-modules.interface.d.ts +40 -37
- package/types/config/types/index.d.ts +3 -3
- package/types/config/types/type.d.ts +2 -2
- package/types/core/fluent-editor.d.ts +10 -11
- package/types/fluent-editor.d.ts +1 -2
- package/types/formats/emoji.d.ts +7 -8
- package/types/formats/index.d.ts +4 -4
- package/types/formats/soft-break.d.ts +11 -12
- package/types/formats/strike.d.ts +7 -8
- package/types/formats/video.d.ts +12 -13
- package/types/index.d.ts +7 -8
- package/types/modules/ai/constants.d.ts +30 -30
- package/types/modules/ai/icons.d.ts +21 -21
- package/types/modules/ai/index.d.ts +93 -94
- package/types/modules/ai/types.d.ts +16 -16
- package/types/modules/collaborative-editing/awareness/awareness.d.ts +25 -26
- package/types/modules/collaborative-editing/awareness/index.d.ts +2 -2
- package/types/modules/collaborative-editing/awareness/y-indexeddb.d.ts +3 -3
- package/types/modules/collaborative-editing/collaborative-editing.d.ts +22 -22
- package/types/modules/collaborative-editing/index.d.ts +2 -2
- package/types/modules/collaborative-editing/module.d.ts +10 -11
- package/types/modules/collaborative-editing/provider/index.d.ts +3 -3
- package/types/modules/collaborative-editing/provider/providerRegistry.d.ts +25 -25
- package/types/modules/collaborative-editing/provider/webrtc.d.ts +35 -35
- package/types/modules/collaborative-editing/provider/websocket.d.ts +39 -39
- package/types/modules/collaborative-editing/types.d.ts +51 -35
- package/types/modules/counter.d.ts +21 -22
- package/types/modules/custom-clipboard.d.ts +23 -24
- package/types/modules/custom-image/actions/action.d.ts +7 -8
- package/types/modules/custom-image/actions/custom-resize-action.d.ts +22 -23
- package/types/modules/custom-image/actions/delete-action.d.ts +5 -6
- package/types/modules/custom-image/actions/image-toolbar-buttons.d.ts +15 -16
- package/types/modules/custom-image/actions/index.d.ts +6 -6
- package/types/modules/custom-image/actions/toolbar-action.d.ts +7 -8
- package/types/modules/custom-image/actions/toolbar.d.ts +16 -17
- package/types/modules/custom-image/blot-formatter.d.ts +19 -20
- package/types/modules/custom-image/image.d.ts +26 -27
- package/types/modules/custom-image/index.d.ts +4 -4
- package/types/modules/custom-image/options.d.ts +45 -46
- package/types/modules/custom-image/specs/blot-spec.d.ts +10 -11
- package/types/modules/custom-image/specs/custom-image-spec.d.ts +15 -16
- package/types/modules/custom-image/specs/image-spec.d.ts +7 -8
- package/types/modules/custom-image/specs/index.d.ts +3 -3
- package/types/modules/custom-uploader.d.ts +37 -38
- package/types/modules/divider.d.ts +7 -8
- package/types/modules/emoji.d.ts +35 -36
- package/types/modules/file/formats/file.d.ts +17 -18
- package/types/modules/file/index.d.ts +3 -3
- package/types/modules/file/modules/file-bar.d.ts +14 -14
- package/types/modules/file/modules/file-module.d.ts +7 -8
- package/types/modules/flow-chart/config-utils.d.ts +10 -0
- package/types/modules/flow-chart/formats/flow-chart-blot.d.ts +43 -0
- package/types/modules/flow-chart/i18n/en-us.d.ts +26 -0
- package/types/modules/flow-chart/i18n/index.d.ts +1 -0
- package/types/modules/flow-chart/i18n/zh-cn.d.ts +26 -0
- package/types/modules/flow-chart/icons.d.ts +12 -0
- package/types/modules/flow-chart/index.d.ts +10 -0
- package/types/modules/flow-chart/modules/context-menu.d.ts +3 -0
- package/types/modules/flow-chart/modules/control-panel.d.ts +3 -0
- package/types/modules/flow-chart/modules/custom-resize-action.d.ts +22 -0
- package/types/modules/flow-chart/options.d.ts +29 -0
- package/types/modules/i18n.d.ts +13 -14
- package/types/modules/index.d.ts +18 -16
- package/types/modules/link/formats/link.d.ts +14 -15
- package/types/modules/link/index.d.ts +2 -2
- package/types/modules/link/modules/tooltip.d.ts +25 -26
- package/types/modules/mathlive/formats.d.ts +20 -21
- package/types/modules/mathlive/index.d.ts +3 -3
- package/types/modules/mathlive/module.d.ts +7 -8
- package/types/modules/mathlive/tooltip.d.ts +14 -15
- package/types/modules/mention/constants.d.ts +3 -3
- package/types/modules/mention/index.d.ts +2 -2
- package/types/modules/mention/mention-link.d.ts +14 -15
- package/types/modules/mention/mention.d.ts +52 -53
- package/types/modules/mind-map/config-utils.d.ts +12 -0
- package/types/modules/mind-map/formats/mind-map-blot.d.ts +44 -0
- package/types/modules/mind-map/i18n/en-us.d.ts +25 -0
- package/types/modules/mind-map/i18n/index.d.ts +1 -0
- package/types/modules/mind-map/i18n/zh-cn.d.ts +25 -0
- package/types/modules/mind-map/icons.d.ts +21 -0
- package/types/modules/mind-map/index.d.ts +10 -0
- package/types/modules/mind-map/modules/context-menu.d.ts +3 -0
- package/types/modules/mind-map/modules/control-panel.d.ts +3 -0
- package/types/modules/mind-map/modules/custom-resize-action.d.ts +23 -0
- package/types/modules/mind-map/options.d.ts +27 -0
- package/types/modules/shortcut-key/index.d.ts +67 -68
- package/types/modules/syntax.d.ts +12 -13
- package/types/modules/table-up/index.d.ts +32 -33
- package/types/modules/toolbar/better-picker.d.ts +13 -14
- package/types/modules/toolbar/better-toolbar.d.ts +6 -7
- package/types/modules/toolbar/index.d.ts +3 -3
- package/types/modules/toolbar/toolbar-tip.d.ts +7 -8
- package/types/themes/snow.d.ts +9 -10
- package/types/tools/format-painter.d.ts +12 -13
- package/types/tools/fullscreen.d.ts +4 -5
- package/types/tools/screenshot.d.ts +17 -18
- package/types/ui/icons.config.d.ts +40 -38
- package/types/ui/icons.d.ts +6 -6
- package/types/utils/debounce.d.ts +6 -6
- package/types/utils/image.d.ts +1 -1
- package/types/utils/is.d.ts +6 -6
- package/types/utils/merge.d.ts +7 -0
- package/types/utils/method.d.ts +6 -6
- package/types/utils/scroll-lock.d.ts +6 -6
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export declare function hexToRgbA(hex: string): string;
|
|
2
|
-
/**
|
|
3
|
-
* 将File格式的图片转换成Url格式
|
|
4
|
-
* @param imageFile File格式的图片
|
|
5
|
-
*/
|
|
6
|
-
export declare function imageFileToUrl(imageFile: any): Promise<unknown>;
|
|
7
|
-
/**
|
|
8
|
-
* 将Url格式的图片转换成File格式
|
|
9
|
-
* @param imageUrl 图片的URL
|
|
10
|
-
*/
|
|
11
|
-
export declare function imageUrlToFile(imageUrl: any, isErrorImage?: boolean): Promise<unknown>;
|
|
12
|
-
export declare function isNullOrUndefined(param: any): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* omit
|
|
15
|
-
* @param obj target Object
|
|
16
|
-
* @param uselessKeys keys of removed properties
|
|
17
|
-
* @return new Object without useless properties
|
|
18
|
-
*/
|
|
19
|
-
export declare function omit(obj: any, uselessKeys: any): {};
|
|
20
|
-
/**
|
|
21
|
-
* 将delta中的图片替换成制定的图片数组,用于图片上传到服务器的场景
|
|
22
|
-
* @param delta 原始delta
|
|
23
|
-
* @param imageUrls 图片数组
|
|
24
|
-
* @param imagePlaceholder 标识是否是占位图的数组,与图片数组一一对应
|
|
25
|
-
* @return 替换之后的delta
|
|
26
|
-
*/
|
|
27
|
-
export declare function replaceDeltaImage(delta: any, imageUrls: any, imagePlaceholder: any): any;
|
|
28
|
-
export declare function splitWithBreak(insertContent: string): any[];
|
|
29
|
-
/**
|
|
30
|
-
* getEventComposedPath
|
|
31
|
-
* compatibility fixed for Event.path/Event.composedPath
|
|
32
|
-
* Event.path is only for chrome/opera
|
|
33
|
-
* Event.composedPath is for Safari, FF
|
|
34
|
-
* Neither for Micro Edge
|
|
35
|
-
* @return an array of event.path
|
|
36
|
-
*/
|
|
37
|
-
export declare function getEventComposedPath(evt: any): any;
|
|
38
|
-
export declare function sanitize(url: any, protocols: any): any;
|
|
39
|
-
export declare function hadProtocol(url: string): boolean;
|
|
40
|
-
export declare function isInside(position: any, dom: any): boolean;
|
|
1
|
+
export declare function hexToRgbA(hex: string): string;
|
|
2
|
+
/**
|
|
3
|
+
* 将File格式的图片转换成Url格式
|
|
4
|
+
* @param imageFile File格式的图片
|
|
5
|
+
*/
|
|
6
|
+
export declare function imageFileToUrl(imageFile: any): Promise<unknown>;
|
|
7
|
+
/**
|
|
8
|
+
* 将Url格式的图片转换成File格式
|
|
9
|
+
* @param imageUrl 图片的URL
|
|
10
|
+
*/
|
|
11
|
+
export declare function imageUrlToFile(imageUrl: any, isErrorImage?: boolean): Promise<unknown>;
|
|
12
|
+
export declare function isNullOrUndefined(param: any): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* omit
|
|
15
|
+
* @param obj target Object
|
|
16
|
+
* @param uselessKeys keys of removed properties
|
|
17
|
+
* @return new Object without useless properties
|
|
18
|
+
*/
|
|
19
|
+
export declare function omit(obj: any, uselessKeys: any): {};
|
|
20
|
+
/**
|
|
21
|
+
* 将delta中的图片替换成制定的图片数组,用于图片上传到服务器的场景
|
|
22
|
+
* @param delta 原始delta
|
|
23
|
+
* @param imageUrls 图片数组
|
|
24
|
+
* @param imagePlaceholder 标识是否是占位图的数组,与图片数组一一对应
|
|
25
|
+
* @return 替换之后的delta
|
|
26
|
+
*/
|
|
27
|
+
export declare function replaceDeltaImage(delta: any, imageUrls: any, imagePlaceholder: any): any;
|
|
28
|
+
export declare function splitWithBreak(insertContent: string): any[];
|
|
29
|
+
/**
|
|
30
|
+
* getEventComposedPath
|
|
31
|
+
* compatibility fixed for Event.path/Event.composedPath
|
|
32
|
+
* Event.path is only for chrome/opera
|
|
33
|
+
* Event.composedPath is for Safari, FF
|
|
34
|
+
* Neither for Micro Edge
|
|
35
|
+
* @return an array of event.path
|
|
36
|
+
*/
|
|
37
|
+
export declare function getEventComposedPath(evt: any): any;
|
|
38
|
+
export declare function sanitize(url: any, protocols: any): any;
|
|
39
|
+
export declare function hadProtocol(url: string): boolean;
|
|
40
|
+
export declare function isInside(position: any, dom: any): boolean;
|
|
@@ -1,123 +1,125 @@
|
|
|
1
|
-
export declare const EN_US: {
|
|
2
|
-
header: string;
|
|
3
|
-
normal: string;
|
|
4
|
-
h1: string;
|
|
5
|
-
h2: string;
|
|
6
|
-
h3: string;
|
|
7
|
-
h4: string;
|
|
8
|
-
h5: string;
|
|
9
|
-
h6: string;
|
|
10
|
-
'line-height': string;
|
|
11
|
-
songti: string;
|
|
12
|
-
yahei: string;
|
|
13
|
-
kaiti: string;
|
|
14
|
-
heiti: string;
|
|
15
|
-
lishu: string;
|
|
16
|
-
left: string;
|
|
17
|
-
center: string;
|
|
18
|
-
right: string;
|
|
19
|
-
codeblock: string;
|
|
20
|
-
globallink: string;
|
|
21
|
-
'exit-fullscreen': string;
|
|
22
|
-
help: string;
|
|
23
|
-
more: string;
|
|
24
|
-
'help-format': string;
|
|
25
|
-
'help-insert': string;
|
|
26
|
-
'help-operation': string;
|
|
27
|
-
mention: string;
|
|
28
|
-
'quick-menu': string;
|
|
29
|
-
'toggle-help-panel': string;
|
|
30
|
-
'scroll-table': string;
|
|
31
|
-
'mouse-wheel': string;
|
|
32
|
-
save: string;
|
|
33
|
-
'default-link-text': string;
|
|
34
|
-
basicblock: string;
|
|
35
|
-
linkplaceholder: string;
|
|
36
|
-
'counter-template': string;
|
|
37
|
-
char: string;
|
|
38
|
-
word: string;
|
|
39
|
-
'counter-limit-tips': string;
|
|
40
|
-
'ie-msg': string;
|
|
41
|
-
loading: string;
|
|
42
|
-
pasting: string;
|
|
43
|
-
'img-error': string;
|
|
44
|
-
'img-error-info': string;
|
|
45
|
-
'last-modified': string;
|
|
46
|
-
screenshot: string;
|
|
47
|
-
uploading: string;
|
|
48
|
-
'sub-title-bg-color': string;
|
|
49
|
-
emoji: string;
|
|
50
|
-
fullscreen: string;
|
|
51
|
-
blockquote: string;
|
|
52
|
-
undo: string;
|
|
53
|
-
redo: string;
|
|
54
|
-
clean: string;
|
|
55
|
-
bold: string;
|
|
56
|
-
italic: string;
|
|
57
|
-
underline: string;
|
|
58
|
-
strike: string;
|
|
59
|
-
image: string;
|
|
60
|
-
file: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
'
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
'list-
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'align-
|
|
81
|
-
'align-
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'header-
|
|
91
|
-
'header-
|
|
92
|
-
'header-
|
|
93
|
-
'header-
|
|
94
|
-
'header-
|
|
95
|
-
'header-
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
1
|
+
export declare const EN_US: {
|
|
2
|
+
header: string;
|
|
3
|
+
normal: string;
|
|
4
|
+
h1: string;
|
|
5
|
+
h2: string;
|
|
6
|
+
h3: string;
|
|
7
|
+
h4: string;
|
|
8
|
+
h5: string;
|
|
9
|
+
h6: string;
|
|
10
|
+
'line-height': string;
|
|
11
|
+
songti: string;
|
|
12
|
+
yahei: string;
|
|
13
|
+
kaiti: string;
|
|
14
|
+
heiti: string;
|
|
15
|
+
lishu: string;
|
|
16
|
+
left: string;
|
|
17
|
+
center: string;
|
|
18
|
+
right: string;
|
|
19
|
+
codeblock: string;
|
|
20
|
+
globallink: string;
|
|
21
|
+
'exit-fullscreen': string;
|
|
22
|
+
help: string;
|
|
23
|
+
more: string;
|
|
24
|
+
'help-format': string;
|
|
25
|
+
'help-insert': string;
|
|
26
|
+
'help-operation': string;
|
|
27
|
+
mention: string;
|
|
28
|
+
'quick-menu': string;
|
|
29
|
+
'toggle-help-panel': string;
|
|
30
|
+
'scroll-table': string;
|
|
31
|
+
'mouse-wheel': string;
|
|
32
|
+
save: string;
|
|
33
|
+
'default-link-text': string;
|
|
34
|
+
basicblock: string;
|
|
35
|
+
linkplaceholder: string;
|
|
36
|
+
'counter-template': string;
|
|
37
|
+
char: string;
|
|
38
|
+
word: string;
|
|
39
|
+
'counter-limit-tips': string;
|
|
40
|
+
'ie-msg': string;
|
|
41
|
+
loading: string;
|
|
42
|
+
pasting: string;
|
|
43
|
+
'img-error': string;
|
|
44
|
+
'img-error-info': string;
|
|
45
|
+
'last-modified': string;
|
|
46
|
+
screenshot: string;
|
|
47
|
+
uploading: string;
|
|
48
|
+
'sub-title-bg-color': string;
|
|
49
|
+
emoji: string;
|
|
50
|
+
fullscreen: string;
|
|
51
|
+
blockquote: string;
|
|
52
|
+
undo: string;
|
|
53
|
+
redo: string;
|
|
54
|
+
clean: string;
|
|
55
|
+
bold: string;
|
|
56
|
+
italic: string;
|
|
57
|
+
underline: string;
|
|
58
|
+
strike: string;
|
|
59
|
+
image: string;
|
|
60
|
+
file: string;
|
|
61
|
+
'mind-map': string;
|
|
62
|
+
'flow-chart': string;
|
|
63
|
+
link: string;
|
|
64
|
+
code: string;
|
|
65
|
+
table: string;
|
|
66
|
+
'table-up': string;
|
|
67
|
+
'code-block': string;
|
|
68
|
+
formula: string;
|
|
69
|
+
'format-painter': string;
|
|
70
|
+
divider: string;
|
|
71
|
+
video: string;
|
|
72
|
+
color: string;
|
|
73
|
+
background: string;
|
|
74
|
+
font: string;
|
|
75
|
+
size: string;
|
|
76
|
+
list: string;
|
|
77
|
+
'list-ordered': string;
|
|
78
|
+
'list-bullet': string;
|
|
79
|
+
'list-check': string;
|
|
80
|
+
'align-left': string;
|
|
81
|
+
'align-center': string;
|
|
82
|
+
'align-right': string;
|
|
83
|
+
'align-justify': string;
|
|
84
|
+
'direction-ltr': string;
|
|
85
|
+
'direction-rtl': string;
|
|
86
|
+
'indent--1': string;
|
|
87
|
+
'indent-+1': string;
|
|
88
|
+
'script-super': string;
|
|
89
|
+
'script-sub': string;
|
|
90
|
+
'header-normal': string;
|
|
91
|
+
'header-1': string;
|
|
92
|
+
'header-2': string;
|
|
93
|
+
'header-3': string;
|
|
94
|
+
'header-4': string;
|
|
95
|
+
'header-5': string;
|
|
96
|
+
'header-6': string;
|
|
97
|
+
'header-list': string;
|
|
98
|
+
'input-recall-menu-placeholder': string;
|
|
99
|
+
'clear-color': string;
|
|
100
|
+
'custom-color': string;
|
|
101
|
+
fullCheckboxText: string;
|
|
102
|
+
customBtnText: string;
|
|
103
|
+
confirmText: string;
|
|
104
|
+
cancelText: string;
|
|
105
|
+
rowText: string;
|
|
106
|
+
colText: string;
|
|
107
|
+
notPositiveNumberError: string;
|
|
108
|
+
custom: string;
|
|
109
|
+
clear: string;
|
|
110
|
+
transparent: string;
|
|
111
|
+
perWidthInsufficient: string;
|
|
112
|
+
CopyCell: string;
|
|
113
|
+
CutCell: string;
|
|
114
|
+
InsertTop: string;
|
|
115
|
+
InsertRight: string;
|
|
116
|
+
InsertBottom: string;
|
|
117
|
+
InsertLeft: string;
|
|
118
|
+
MergeCell: string;
|
|
119
|
+
SplitCell: string;
|
|
120
|
+
DeleteRow: string;
|
|
121
|
+
DeleteColumn: string;
|
|
122
|
+
DeleteTable: string;
|
|
123
|
+
BackgroundColor: string;
|
|
124
|
+
BorderColor: string;
|
|
125
|
+
};
|
|
@@ -1,123 +1,125 @@
|
|
|
1
|
-
export declare const ZH_CN: {
|
|
2
|
-
header: string;
|
|
3
|
-
normal: string;
|
|
4
|
-
h1: string;
|
|
5
|
-
h2: string;
|
|
6
|
-
h3: string;
|
|
7
|
-
h4: string;
|
|
8
|
-
h5: string;
|
|
9
|
-
h6: string;
|
|
10
|
-
'line-height': string;
|
|
11
|
-
songti: string;
|
|
12
|
-
yahei: string;
|
|
13
|
-
kaiti: string;
|
|
14
|
-
heiti: string;
|
|
15
|
-
lishu: string;
|
|
16
|
-
left: string;
|
|
17
|
-
center: string;
|
|
18
|
-
right: string;
|
|
19
|
-
codeblock: string;
|
|
20
|
-
globallink: string;
|
|
21
|
-
'exit-fullscreen': string;
|
|
22
|
-
help: string;
|
|
23
|
-
more: string;
|
|
24
|
-
'help-format': string;
|
|
25
|
-
'help-insert': string;
|
|
26
|
-
'help-operation': string;
|
|
27
|
-
mention: string;
|
|
28
|
-
'quick-menu': string;
|
|
29
|
-
'toggle-help-panel': string;
|
|
30
|
-
'scroll-table': string;
|
|
31
|
-
'mouse-wheel': string;
|
|
32
|
-
save: string;
|
|
33
|
-
'default-link-text': string;
|
|
34
|
-
basicblock: string;
|
|
35
|
-
linkplaceholder: string;
|
|
36
|
-
'counter-template': string;
|
|
37
|
-
char: string;
|
|
38
|
-
word: string;
|
|
39
|
-
'counter-limit-tips': string;
|
|
40
|
-
'ie-msg': string;
|
|
41
|
-
loading: string;
|
|
42
|
-
pasting: string;
|
|
43
|
-
'img-error': string;
|
|
44
|
-
'img-error-info': string;
|
|
45
|
-
'last-modified': string;
|
|
46
|
-
screenshot: string;
|
|
47
|
-
uploading: string;
|
|
48
|
-
'sub-title-bg-color': string;
|
|
49
|
-
emoji: string;
|
|
50
|
-
fullscreen: string;
|
|
51
|
-
blockquote: string;
|
|
52
|
-
undo: string;
|
|
53
|
-
redo: string;
|
|
54
|
-
clean: string;
|
|
55
|
-
bold: string;
|
|
56
|
-
italic: string;
|
|
57
|
-
underline: string;
|
|
58
|
-
strike: string;
|
|
59
|
-
image: string;
|
|
60
|
-
file: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
'
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
'list-
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'align-
|
|
81
|
-
'align-
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'header-
|
|
91
|
-
'header-
|
|
92
|
-
'header-
|
|
93
|
-
'header-
|
|
94
|
-
'header-
|
|
95
|
-
'header-
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
1
|
+
export declare const ZH_CN: {
|
|
2
|
+
header: string;
|
|
3
|
+
normal: string;
|
|
4
|
+
h1: string;
|
|
5
|
+
h2: string;
|
|
6
|
+
h3: string;
|
|
7
|
+
h4: string;
|
|
8
|
+
h5: string;
|
|
9
|
+
h6: string;
|
|
10
|
+
'line-height': string;
|
|
11
|
+
songti: string;
|
|
12
|
+
yahei: string;
|
|
13
|
+
kaiti: string;
|
|
14
|
+
heiti: string;
|
|
15
|
+
lishu: string;
|
|
16
|
+
left: string;
|
|
17
|
+
center: string;
|
|
18
|
+
right: string;
|
|
19
|
+
codeblock: string;
|
|
20
|
+
globallink: string;
|
|
21
|
+
'exit-fullscreen': string;
|
|
22
|
+
help: string;
|
|
23
|
+
more: string;
|
|
24
|
+
'help-format': string;
|
|
25
|
+
'help-insert': string;
|
|
26
|
+
'help-operation': string;
|
|
27
|
+
mention: string;
|
|
28
|
+
'quick-menu': string;
|
|
29
|
+
'toggle-help-panel': string;
|
|
30
|
+
'scroll-table': string;
|
|
31
|
+
'mouse-wheel': string;
|
|
32
|
+
save: string;
|
|
33
|
+
'default-link-text': string;
|
|
34
|
+
basicblock: string;
|
|
35
|
+
linkplaceholder: string;
|
|
36
|
+
'counter-template': string;
|
|
37
|
+
char: string;
|
|
38
|
+
word: string;
|
|
39
|
+
'counter-limit-tips': string;
|
|
40
|
+
'ie-msg': string;
|
|
41
|
+
loading: string;
|
|
42
|
+
pasting: string;
|
|
43
|
+
'img-error': string;
|
|
44
|
+
'img-error-info': string;
|
|
45
|
+
'last-modified': string;
|
|
46
|
+
screenshot: string;
|
|
47
|
+
uploading: string;
|
|
48
|
+
'sub-title-bg-color': string;
|
|
49
|
+
emoji: string;
|
|
50
|
+
fullscreen: string;
|
|
51
|
+
blockquote: string;
|
|
52
|
+
undo: string;
|
|
53
|
+
redo: string;
|
|
54
|
+
clean: string;
|
|
55
|
+
bold: string;
|
|
56
|
+
italic: string;
|
|
57
|
+
underline: string;
|
|
58
|
+
strike: string;
|
|
59
|
+
image: string;
|
|
60
|
+
file: string;
|
|
61
|
+
'mind-map': string;
|
|
62
|
+
'flow-chart': string;
|
|
63
|
+
link: string;
|
|
64
|
+
divider: string;
|
|
65
|
+
code: string;
|
|
66
|
+
table: string;
|
|
67
|
+
'table-up': string;
|
|
68
|
+
'code-block': string;
|
|
69
|
+
formula: string;
|
|
70
|
+
'format-painter': string;
|
|
71
|
+
video: string;
|
|
72
|
+
color: string;
|
|
73
|
+
background: string;
|
|
74
|
+
font: string;
|
|
75
|
+
size: string;
|
|
76
|
+
list: string;
|
|
77
|
+
'list-ordered': string;
|
|
78
|
+
'list-bullet': string;
|
|
79
|
+
'list-check': string;
|
|
80
|
+
'align-left': string;
|
|
81
|
+
'align-center': string;
|
|
82
|
+
'align-right': string;
|
|
83
|
+
'align-justify': string;
|
|
84
|
+
'direction-ltr': string;
|
|
85
|
+
'direction-rtl': string;
|
|
86
|
+
'indent--1': string;
|
|
87
|
+
'indent-+1': string;
|
|
88
|
+
'script-super': string;
|
|
89
|
+
'script-sub': string;
|
|
90
|
+
'header-normal': string;
|
|
91
|
+
'header-1': string;
|
|
92
|
+
'header-2': string;
|
|
93
|
+
'header-3': string;
|
|
94
|
+
'header-4': string;
|
|
95
|
+
'header-5': string;
|
|
96
|
+
'header-6': string;
|
|
97
|
+
'header-list': string;
|
|
98
|
+
'input-recall-menu-placeholder': string;
|
|
99
|
+
'clear-color': string;
|
|
100
|
+
'custom-color': string;
|
|
101
|
+
fullCheckboxText: string;
|
|
102
|
+
customBtnText: string;
|
|
103
|
+
confirmText: string;
|
|
104
|
+
cancelText: string;
|
|
105
|
+
rowText: string;
|
|
106
|
+
colText: string;
|
|
107
|
+
notPositiveNumberError: string;
|
|
108
|
+
custom: string;
|
|
109
|
+
clear: string;
|
|
110
|
+
transparent: string;
|
|
111
|
+
perWidthInsufficient: string;
|
|
112
|
+
CopyCell: string;
|
|
113
|
+
CutCell: string;
|
|
114
|
+
InsertTop: string;
|
|
115
|
+
InsertRight: string;
|
|
116
|
+
InsertBottom: string;
|
|
117
|
+
InsertLeft: string;
|
|
118
|
+
MergeCell: string;
|
|
119
|
+
SplitCell: string;
|
|
120
|
+
DeleteRow: string;
|
|
121
|
+
DeleteColumn: string;
|
|
122
|
+
DeleteTable: string;
|
|
123
|
+
BackgroundColor: string;
|
|
124
|
+
BorderColor: string;
|
|
125
|
+
};
|
package/types/config/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './editor.config';
|
|
2
|
-
export * from './editor.utils';
|
|
3
|
-
export * from './types';
|
|
4
|
-
export declare function inputFile(type: 'image' | 'video' | 'file', accept: string[]): void;
|
|
5
|
-
export declare function getListValue(value: any, preListValue: any): any;
|
|
6
|
-
/** css namespace */
|
|
7
|
-
export declare const namespace = "fe";
|
|
1
|
+
export * from './editor.config';
|
|
2
|
+
export * from './editor.utils';
|
|
3
|
+
export * from './types';
|
|
4
|
+
export declare function inputFile(type: 'image' | 'video' | 'file', accept: string[]): void;
|
|
5
|
+
export declare function getListValue(value: any, preListValue: any): any;
|
|
6
|
+
/** css namespace */
|
|
7
|
+
export declare const namespace = "fe";
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { QuillOptions } from 'quill';
|
|
2
2
|
import { ScreenShotOptions } from '../../tools/screenshot';
|
|
3
3
|
import { IEditorModules } from './editor-modules.interface';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
'
|
|
7
|
-
'
|
|
8
|
-
'
|
|
9
|
-
'
|
|
10
|
-
'
|
|
11
|
-
'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
4
|
+
export interface IEditorConfig extends QuillOptions {
|
|
5
|
+
'modules'?: IEditorModules;
|
|
6
|
+
'screenshotOnStaticPage'?: boolean;
|
|
7
|
+
'scrollingContainer'?: HTMLElement | string | null;
|
|
8
|
+
'autoProtocol'?: boolean | string;
|
|
9
|
+
'editorPaste'?: any;
|
|
10
|
+
'screenshot'?: Partial<ScreenShotOptions>;
|
|
11
|
+
'format-painter'?: {
|
|
12
|
+
ignoreFormat?: string[];
|
|
13
|
+
};
|
|
14
|
+
}
|