@erag/text-editor-vue 0.0.2
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/LICENSE +21 -0
- package/README.md +38 -0
- package/dist/index.d.ts +2 -0
- package/dist/src/commands/clipboardCommands.d.ts +2 -0
- package/dist/src/commands/clipboardCommands.d.ts.map +1 -0
- package/dist/src/commands/commandRegistry.d.ts +5 -0
- package/dist/src/commands/commandRegistry.d.ts.map +1 -0
- package/dist/src/commands/formatCommands.d.ts +3 -0
- package/dist/src/commands/formatCommands.d.ts.map +1 -0
- package/dist/src/commands/historyCommands.d.ts +3 -0
- package/dist/src/commands/historyCommands.d.ts.map +1 -0
- package/dist/src/commands/insertCommands.d.ts +6 -0
- package/dist/src/commands/insertCommands.d.ts.map +1 -0
- package/dist/src/commands/listCommands.d.ts +2 -0
- package/dist/src/commands/listCommands.d.ts.map +1 -0
- package/dist/src/commands/printCommands.d.ts +2 -0
- package/dist/src/commands/printCommands.d.ts.map +1 -0
- package/dist/src/commands/tableCommands.d.ts +4 -0
- package/dist/src/commands/tableCommands.d.ts.map +1 -0
- package/dist/src/components/Editor.vue.d.ts +59 -0
- package/dist/src/components/Editor.vue.d.ts.map +1 -0
- package/dist/src/components/EditorContent.vue.d.ts +37 -0
- package/dist/src/components/EditorContent.vue.d.ts.map +1 -0
- package/dist/src/components/EditorDialogs.vue.d.ts +29 -0
- package/dist/src/components/EditorDialogs.vue.d.ts.map +1 -0
- package/dist/src/components/EditorMenuBar.vue.d.ts +39 -0
- package/dist/src/components/EditorMenuBar.vue.d.ts.map +1 -0
- package/dist/src/components/EditorStatusBar.vue.d.ts +26 -0
- package/dist/src/components/EditorStatusBar.vue.d.ts.map +1 -0
- package/dist/src/components/EditorToolbar.vue.d.ts +29 -0
- package/dist/src/components/EditorToolbar.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/BaseDialog.vue.d.ts +28 -0
- package/dist/src/components/dialogs/BaseDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/ColorDialog.vue.d.ts +14 -0
- package/dist/src/components/dialogs/ColorDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/EmojiDialog.vue.d.ts +10 -0
- package/dist/src/components/dialogs/EmojiDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/FindReplaceDialog.vue.d.ts +13 -0
- package/dist/src/components/dialogs/FindReplaceDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/InfoDialog.vue.d.ts +11 -0
- package/dist/src/components/dialogs/InfoDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/LinkDialog.vue.d.ts +18 -0
- package/dist/src/components/dialogs/LinkDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/MediaDialog.vue.d.ts +14 -0
- package/dist/src/components/dialogs/MediaDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/PreviewDialog.vue.d.ts +12 -0
- package/dist/src/components/dialogs/PreviewDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/SourceDialog.vue.d.ts +13 -0
- package/dist/src/components/dialogs/SourceDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/SpecialCharacterDialog.vue.d.ts +10 -0
- package/dist/src/components/dialogs/SpecialCharacterDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/TableDialog.vue.d.ts +13 -0
- package/dist/src/components/dialogs/TableDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/TablePropertiesDialog.vue.d.ts +10 -0
- package/dist/src/components/dialogs/TablePropertiesDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/TemplateDialog.vue.d.ts +15 -0
- package/dist/src/components/dialogs/TemplateDialog.vue.d.ts.map +1 -0
- package/dist/src/components/dialogs/WordCountDialog.vue.d.ts +12 -0
- package/dist/src/components/dialogs/WordCountDialog.vue.d.ts.map +1 -0
- package/dist/src/components/icons/EditorIcon.vue.d.ts +8 -0
- package/dist/src/components/icons/EditorIcon.vue.d.ts.map +1 -0
- package/dist/src/components/images/ImageResizeOverlay.vue.d.ts +17 -0
- package/dist/src/components/images/ImageResizeOverlay.vue.d.ts.map +1 -0
- package/dist/src/components/images/InlineImageUpload.vue.d.ts +20 -0
- package/dist/src/components/images/InlineImageUpload.vue.d.ts.map +1 -0
- package/dist/src/components/images/InlineImageUploadPortal.vue.d.ts +19 -0
- package/dist/src/components/images/InlineImageUploadPortal.vue.d.ts.map +1 -0
- package/dist/src/components/mentions/MentionDropdown.vue.d.ts +45 -0
- package/dist/src/components/mentions/MentionDropdown.vue.d.ts.map +1 -0
- package/dist/src/components/mentions/MentionHoverCard.vue.d.ts +14 -0
- package/dist/src/components/mentions/MentionHoverCard.vue.d.ts.map +1 -0
- package/dist/src/components/mentions/MentionItem.vue.d.ts +28 -0
- package/dist/src/components/mentions/MentionItem.vue.d.ts.map +1 -0
- package/dist/src/components/menus/FloatingMenu.vue.d.ts +19 -0
- package/dist/src/components/menus/FloatingMenu.vue.d.ts.map +1 -0
- package/dist/src/components/merge-tags/MergeTagDropdown.vue.d.ts +20 -0
- package/dist/src/components/merge-tags/MergeTagDropdown.vue.d.ts.map +1 -0
- package/dist/src/components/merge-tags/MergeTagSidebar.vue.d.ts +16 -0
- package/dist/src/components/merge-tags/MergeTagSidebar.vue.d.ts.map +1 -0
- package/dist/src/components/toolbar/CaseChangeMenu.vue.d.ts +14 -0
- package/dist/src/components/toolbar/CaseChangeMenu.vue.d.ts.map +1 -0
- package/dist/src/components/toolbar/ColorPalette.vue.d.ts +13 -0
- package/dist/src/components/toolbar/ColorPalette.vue.d.ts.map +1 -0
- package/dist/src/components/toolbar/ToolbarButton.vue.d.ts +15 -0
- package/dist/src/components/toolbar/ToolbarButton.vue.d.ts.map +1 -0
- package/dist/src/composables/useEditor.d.ts +15 -0
- package/dist/src/composables/useEditor.d.ts.map +1 -0
- package/dist/src/composables/useEditorConfig.d.ts +4 -0
- package/dist/src/composables/useEditorConfig.d.ts.map +1 -0
- package/dist/src/composables/useEditorHistory.d.ts +8 -0
- package/dist/src/composables/useEditorHistory.d.ts.map +1 -0
- package/dist/src/composables/useEditorResize.d.ts +8 -0
- package/dist/src/composables/useEditorResize.d.ts.map +1 -0
- package/dist/src/composables/useEditorSelection.d.ts +10 -0
- package/dist/src/composables/useEditorSelection.d.ts.map +1 -0
- package/dist/src/composables/useEditorUpload.d.ts +14 -0
- package/dist/src/composables/useEditorUpload.d.ts.map +1 -0
- package/dist/src/composables/useFloatingPosition.d.ts +6 -0
- package/dist/src/composables/useFloatingPosition.d.ts.map +1 -0
- package/dist/src/composables/useFullscreen.d.ts +6 -0
- package/dist/src/composables/useFullscreen.d.ts.map +1 -0
- package/dist/src/composables/useImageResize.d.ts +15 -0
- package/dist/src/composables/useImageResize.d.ts.map +1 -0
- package/dist/src/composables/useInlineImageUpload.d.ts +19 -0
- package/dist/src/composables/useInlineImageUpload.d.ts.map +1 -0
- package/dist/src/composables/useLinkInitial.d.ts +7 -0
- package/dist/src/composables/useLinkInitial.d.ts.map +1 -0
- package/dist/src/composables/useMentions.d.ts +28 -0
- package/dist/src/composables/useMentions.d.ts.map +1 -0
- package/dist/src/composables/useMergeTagSidebar.d.ts +10 -0
- package/dist/src/composables/useMergeTagSidebar.d.ts.map +1 -0
- package/dist/src/composables/useMergeTags.d.ts +21 -0
- package/dist/src/composables/useMergeTags.d.ts.map +1 -0
- package/dist/src/composables/useToolbarOverflow.d.ts +6 -0
- package/dist/src/composables/useToolbarOverflow.d.ts.map +1 -0
- package/dist/src/composables/useWordCount.d.ts +4 -0
- package/dist/src/composables/useWordCount.d.ts.map +1 -0
- package/dist/src/config/defaultConfig.d.ts +3 -0
- package/dist/src/config/defaultConfig.d.ts.map +1 -0
- package/dist/src/config/mentionConfig.d.ts +4 -0
- package/dist/src/config/mentionConfig.d.ts.map +1 -0
- package/dist/src/config/menuConfig.d.ts +3 -0
- package/dist/src/config/menuConfig.d.ts.map +1 -0
- package/dist/src/config/menuIcons.d.ts +3 -0
- package/dist/src/config/menuIcons.d.ts.map +1 -0
- package/dist/src/config/mergeTagConfig.d.ts +4 -0
- package/dist/src/config/mergeTagConfig.d.ts.map +1 -0
- package/dist/src/config/templateConfig.d.ts +3 -0
- package/dist/src/config/templateConfig.d.ts.map +1 -0
- package/dist/src/config/toolbarConfig.d.ts +5 -0
- package/dist/src/config/toolbarConfig.d.ts.map +1 -0
- package/dist/src/constants/editorCommands.d.ts +2 -0
- package/dist/src/constants/editorCommands.d.ts.map +1 -0
- package/dist/src/constants/editorDefaults.d.ts +44 -0
- package/dist/src/constants/editorDefaults.d.ts.map +1 -0
- package/dist/src/constants/emojis.d.ts +4 -0
- package/dist/src/constants/emojis.d.ts.map +1 -0
- package/dist/src/constants/imageResize.d.ts +3 -0
- package/dist/src/constants/imageResize.d.ts.map +1 -0
- package/dist/src/constants/keyboardShortcuts.d.ts +2 -0
- package/dist/src/constants/keyboardShortcuts.d.ts.map +1 -0
- package/dist/src/constants/packageInfo.d.ts +2 -0
- package/dist/src/constants/packageInfo.d.ts.map +1 -0
- package/dist/src/constants/printStyles.d.ts +2 -0
- package/dist/src/constants/printStyles.d.ts.map +1 -0
- package/dist/src/constants/specialCharacters.d.ts +4 -0
- package/dist/src/constants/specialCharacters.d.ts.map +1 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/types/commands.d.ts +17 -0
- package/dist/src/types/commands.d.ts.map +1 -0
- package/dist/src/types/config.d.ts +101 -0
- package/dist/src/types/config.d.ts.map +1 -0
- package/dist/src/types/count.d.ts +10 -0
- package/dist/src/types/count.d.ts.map +1 -0
- package/dist/src/types/dialog.d.ts +41 -0
- package/dist/src/types/dialog.d.ts.map +1 -0
- package/dist/src/types/editor.d.ts +49 -0
- package/dist/src/types/editor.d.ts.map +1 -0
- package/dist/src/types/emoji.d.ts +8 -0
- package/dist/src/types/emoji.d.ts.map +1 -0
- package/dist/src/types/events.d.ts +26 -0
- package/dist/src/types/events.d.ts.map +1 -0
- package/dist/src/types/image.d.ts +22 -0
- package/dist/src/types/image.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +16 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/mention.d.ts +63 -0
- package/dist/src/types/mention.d.ts.map +1 -0
- package/dist/src/types/menu.d.ts +21 -0
- package/dist/src/types/menu.d.ts.map +1 -0
- package/dist/src/types/mergeTag.d.ts +47 -0
- package/dist/src/types/mergeTag.d.ts.map +1 -0
- package/dist/src/types/specialCharacter.d.ts +10 -0
- package/dist/src/types/specialCharacter.d.ts.map +1 -0
- package/dist/src/types/template.d.ts +19 -0
- package/dist/src/types/template.d.ts.map +1 -0
- package/dist/src/types/toolbar.d.ts +15 -0
- package/dist/src/types/toolbar.d.ts.map +1 -0
- package/dist/src/types/upload.d.ts +16 -0
- package/dist/src/types/upload.d.ts.map +1 -0
- package/dist/src/utils/config.d.ts +4 -0
- package/dist/src/utils/config.d.ts.map +1 -0
- package/dist/src/utils/dateTime.d.ts +4 -0
- package/dist/src/utils/dateTime.d.ts.map +1 -0
- package/dist/src/utils/dom.d.ts +4 -0
- package/dist/src/utils/dom.d.ts.map +1 -0
- package/dist/src/utils/html.d.ts +11 -0
- package/dist/src/utils/html.d.ts.map +1 -0
- package/dist/src/utils/mention.d.ts +11 -0
- package/dist/src/utils/mention.d.ts.map +1 -0
- package/dist/src/utils/mergeTag.d.ts +11 -0
- package/dist/src/utils/mergeTag.d.ts.map +1 -0
- package/dist/src/utils/sanitizer.d.ts +8 -0
- package/dist/src/utils/sanitizer.d.ts.map +1 -0
- package/dist/src/utils/selection.d.ts +6 -0
- package/dist/src/utils/selection.d.ts.map +1 -0
- package/dist/src/utils/units.d.ts +3 -0
- package/dist/src/utils/units.d.ts.map +1 -0
- package/dist/src/utils/url.d.ts +10 -0
- package/dist/src/utils/url.d.ts.map +1 -0
- package/dist/style.css +2 -0
- package/dist/text-editor-vue.js +6428 -0
- package/dist/text-editor-vue.js.map +1 -0
- package/package.json +102 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Er Amit Gupta
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# @erag/text-editor-vue
|
|
2
|
+
|
|
3
|
+
A dependency-free Vue 3 rich text editor built with native browser APIs, flexible configuration, and full TypeScript support. It provides a responsive editing experience for applications that need rich formatting, structured content, dynamic data, media handling, and accessible controls without relying on an external editor framework.
|
|
4
|
+
|
|
5
|
+
## Key features
|
|
6
|
+
|
|
7
|
+
- 🪶 **Dependency-free runtime** — Vue is the only peer dependency.
|
|
8
|
+
- ✍️ **Rich text formatting** — paragraphs, headings, fonts, font sizes, line height, colors, alignment, indentation, blockquotes, inline code, superscript, and subscript.
|
|
9
|
+
- 📋 **Lists and structured content** — bulleted lists, numbered lists, nested lists, configurable list styles, and keyboard-friendly indentation.
|
|
10
|
+
- ↩️ **Editing history** — undo, redo, selection-aware formatting, clear formatting, cut, copy, paste, and plain-text paste.
|
|
11
|
+
- 🧭 **Responsive interface** — configurable menubar, adaptive toolbar overflow, nested menus, floating popovers, dialogs, and status bar.
|
|
12
|
+
- 🔗 **Links and anchors** — insert, edit, validate, unlink, target selection, safe URL handling, and anchor insertion.
|
|
13
|
+
- 🖼️ **Image workflow** — file selection, drag-and-drop, pasted images, custom uploads, URL uploads, progress, validation, resizing, alignment, and server-removal callbacks.
|
|
14
|
+
- 🎬 **Media support** — video, audio, sanitized iframe embeds, poster images, width, and height controls.
|
|
15
|
+
- 📊 **Table editing** — grid insertion, row and column controls, merge and split cells, headers, cell properties, alignment, borders, colors, and keyboard navigation.
|
|
16
|
+
- 👥 **Mentions** — static or asynchronous `@mention` suggestions, avatars, descriptions, keyboard navigation, insertion, removal events, and custom slots.
|
|
17
|
+
- 🧩 **Merge tags** — grouped dynamic tags, caret suggestions, sidebar browsing, keyboard navigation, selection events, and consumer-provided values.
|
|
18
|
+
- 📄 **Reusable templates** — grouped templates supplied through configuration and inserted at the current editor selection.
|
|
19
|
+
- 😊 **Content tools** — emojis, searchable special characters, horizontal rules, anchors, and configurable date and time formats.
|
|
20
|
+
- 🔍 **Document tools** — find and replace, word and character counts, source-code editing, preview, fullscreen, visual aids, show blocks, and editor-only printing.
|
|
21
|
+
- ⚙️ **Flexible configuration** — reactive options for toolbars, menus, plugins, formats, colors, dimensions, uploads, content styles, sanitization, URLs, mentions, merge tags, and templates.
|
|
22
|
+
- 🔌 **Complete Vue API** — `v-model`, typed props, events, slots, exposed methods, runtime configuration updates, disabled mode, and readonly mode.
|
|
23
|
+
- ⌨️ **Keyboard support** — editor shortcuts, accessible menu navigation, dialog focus management, table navigation, and suggestion controls.
|
|
24
|
+
- ♿ **Accessible controls** — ARIA labels, roles, live regions, focus restoration, active states, disabled states, and screen-reader-friendly interactions.
|
|
25
|
+
- 🧼 **Paste cleanup** — sanitized formatted HTML, plain-text paste, pasted-image upload, unsafe attribute removal, and practical Word and Google Docs normalization.
|
|
26
|
+
- 🛡️ **Safer HTML handling** — internal allowlist sanitization, safe URL checks, restricted embed handling, script removal, unsafe event removal, and SSR-safe initialization.
|
|
27
|
+
- 🎨 **Application-safe styling** — responsive white editor UI, package-scoped selectors, consistent BEM naming, and prefixed `erag-` classes and CSS variables.
|
|
28
|
+
- 📦 **Publishing-ready package** — ESM bundle, generated TypeScript declarations, tree-shakable exports, stylesheet export, Vue peer dependency, and Node.js 24 build support.
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
Complete installation, configuration, examples, feature guides, and API documentation:
|
|
33
|
+
|
|
34
|
+
**[https://erag.in/text-editor-vue/index.html](https://erag.in/text-editor-vue/index.html)**
|
|
35
|
+
|
|
36
|
+
## ⭐ Support
|
|
37
|
+
|
|
38
|
+
If you like this package, give it a [GitHub star](https://github.com/eramitgupta/text-editor-vue).
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboardCommands.d.ts","sourceRoot":"","sources":["../../../src/commands/clipboardCommands.ts"],"names":[],"mappings":"AA4CA,wBAAsB,uBAAuB,CACzC,IAAI,EAAE,WAAW,EACjB,EAAE,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,GAC3C,OAAO,CAAC,OAAO,CAAC,CAOlB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function executeEditorCommand(root: HTMLElement, id: string, value?: string): boolean;
|
|
2
|
+
export declare function executeAsyncEditorCommand(root: HTMLElement, id: string): Promise<boolean>;
|
|
3
|
+
export declare function isEditorCommandActive(id: string): boolean;
|
|
4
|
+
export declare function isTableCommand(id: string): boolean;
|
|
5
|
+
//# sourceMappingURL=commandRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commandRegistry.d.ts","sourceRoot":"","sources":["../../../src/commands/commandRegistry.ts"],"names":[],"mappings":"AAkBA,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAU3F;AACD,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAI/F;AACD,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAEzD;AACD,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAElD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatCommands.d.ts","sourceRoot":"","sources":["../../../src/commands/formatCommands.ts"],"names":[],"mappings":"AAIA,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAc3F;AAyED,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAQpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"historyCommands.d.ts","sourceRoot":"","sources":["../../../src/commands/historyCommands.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAElE;AACD,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAM1D"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ImageValue, LinkValue, MediaValue } from '../types';
|
|
2
|
+
export declare function insertLink(root: HTMLElement, value: LinkValue, allowRelative: boolean): boolean;
|
|
3
|
+
export declare function insertImage(root: HTMLElement, value: ImageValue, allowRelative: boolean, defaultWidth?: number): boolean;
|
|
4
|
+
export declare function insertMedia(root: HTMLElement, value: MediaValue, allowRelative: boolean): boolean;
|
|
5
|
+
export declare function insertTable(root: HTMLElement, rows: number, columns: number): boolean;
|
|
6
|
+
//# sourceMappingURL=insertCommands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insertCommands.d.ts","sourceRoot":"","sources":["../../../src/commands/insertCommands.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAElE,wBAAgB,UAAU,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,OAAO,GAAG,OAAO,CAU/F;AACD,wBAAgB,WAAW,CACvB,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,UAAU,EACjB,aAAa,EAAE,OAAO,EACtB,YAAY,CAAC,EAAE,MAAM,GACtB,OAAO,CAQT;AACD,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,GAAG,OAAO,CAuBjG;AACD,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAMrF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/commands/listCommands.ts"],"names":[],"mappings":"AACA,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAWzF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"printCommands.d.ts","sourceRoot":"","sources":["../../../src/commands/printCommands.ts"],"names":[],"mappings":"AAIA,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAmC7D"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function executeTableCommand(root: HTMLElement, id: string): boolean;
|
|
2
|
+
export declare function applyTableProperties(root: HTMLElement, values: Record<string, string>): boolean;
|
|
3
|
+
export declare function navigateTableCell(root: HTMLElement, backwards: boolean): boolean;
|
|
4
|
+
//# sourceMappingURL=tableCommands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableCommands.d.ts","sourceRoot":"","sources":["../../../src/commands/tableCommands.ts"],"names":[],"mappings":"AAEA,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CA8C1E;AAWD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAe/F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,GAAG,OAAO,CAgBhF"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { EditorInstance, EditorSlots, EditorProps } from '../types';
|
|
2
|
+
type __VLS_Slots = EditorSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<EditorProps, EditorInstance, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
resize: (value: {
|
|
5
|
+
height: number;
|
|
6
|
+
}) => any;
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
click: (value: MouseEvent) => any;
|
|
9
|
+
focus: (value: FocusEvent) => any;
|
|
10
|
+
blur: (value: FocusEvent) => any;
|
|
11
|
+
input: (value: InputEvent) => any;
|
|
12
|
+
change: (value: string) => any;
|
|
13
|
+
keydown: (value: KeyboardEvent) => any;
|
|
14
|
+
paste: (value: ClipboardEvent) => any;
|
|
15
|
+
ready: (value: HTMLElement) => any;
|
|
16
|
+
"selection-change": (value: Selection) => any;
|
|
17
|
+
"mention-search": (value: import('..').MentionSearchEvent) => any;
|
|
18
|
+
"mention-select": (value: import('..').MentionSelectEvent) => any;
|
|
19
|
+
"mention-remove": (value: import('..').MentionRemoveEvent) => any;
|
|
20
|
+
"merge-tag-select": (value: import('..').MergeTagSelectEvent) => any;
|
|
21
|
+
"merge-tag-remove": (value: import('..').MergeTagRemoveEvent) => any;
|
|
22
|
+
"template-insert": (value: import('..').TemplateInsertEvent) => any;
|
|
23
|
+
"image-remove": (value: import('..').ImageDeleteInfo) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<EditorProps> & Readonly<{
|
|
25
|
+
onResize?: (value: {
|
|
26
|
+
height: number;
|
|
27
|
+
}) => any;
|
|
28
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
29
|
+
onClick?: (value: MouseEvent) => any;
|
|
30
|
+
onFocus?: (value: FocusEvent) => any;
|
|
31
|
+
onBlur?: (value: FocusEvent) => any;
|
|
32
|
+
onInput?: (value: InputEvent) => any;
|
|
33
|
+
onChange?: (value: string) => any;
|
|
34
|
+
onKeydown?: (value: KeyboardEvent) => any;
|
|
35
|
+
onPaste?: (value: ClipboardEvent) => any;
|
|
36
|
+
onReady?: (value: HTMLElement) => any;
|
|
37
|
+
"onSelection-change"?: (value: Selection) => any;
|
|
38
|
+
"onMention-search"?: (value: import('..').MentionSearchEvent) => any;
|
|
39
|
+
"onMention-select"?: (value: import('..').MentionSelectEvent) => any;
|
|
40
|
+
"onMention-remove"?: (value: import('..').MentionRemoveEvent) => any;
|
|
41
|
+
"onMerge-tag-select"?: (value: import('..').MergeTagSelectEvent) => any;
|
|
42
|
+
"onMerge-tag-remove"?: (value: import('..').MergeTagRemoveEvent) => any;
|
|
43
|
+
"onTemplate-insert"?: (value: import('..').TemplateInsertEvent) => any;
|
|
44
|
+
"onImage-remove"?: (value: import('..').ImageDeleteInfo) => any;
|
|
45
|
+
}>, {
|
|
46
|
+
readonly: boolean;
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
modelValue: string;
|
|
49
|
+
ariaLabel: string;
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
51
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=Editor.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Editor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Editor.vue"],"names":[],"mappings":"AA8tBA,OAAO,KAAK,EAGR,cAAc,EACd,WAAW,EAEX,WAAW,EAId,MAAM,UAAU,CAAC;AA0BlB,KAAK,WAAW,GAAG,WAAW,CAAC;AAymC/B,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string | undefined;
|
|
3
|
+
html: string;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
readonly: boolean;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
spellcheck: boolean;
|
|
8
|
+
direction: 'ltr' | 'rtl';
|
|
9
|
+
contentClass: string;
|
|
10
|
+
contentStyle: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
declare function getRoot(): HTMLElement | null;
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
15
|
+
getRoot: typeof getRoot;
|
|
16
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
click: (event: MouseEvent) => any;
|
|
18
|
+
focus: (event: FocusEvent) => any;
|
|
19
|
+
blur: (event: FocusEvent) => any;
|
|
20
|
+
input: (event: InputEvent) => any;
|
|
21
|
+
keydown: (event: KeyboardEvent) => any;
|
|
22
|
+
paste: (event: ClipboardEvent) => any;
|
|
23
|
+
ready: (root: HTMLElement) => any;
|
|
24
|
+
selectionchange: () => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
onClick?: (event: MouseEvent) => any;
|
|
27
|
+
onFocus?: (event: FocusEvent) => any;
|
|
28
|
+
onBlur?: (event: FocusEvent) => any;
|
|
29
|
+
onInput?: (event: InputEvent) => any;
|
|
30
|
+
onKeydown?: (event: KeyboardEvent) => any;
|
|
31
|
+
onPaste?: (event: ClipboardEvent) => any;
|
|
32
|
+
onReady?: (root: HTMLElement) => any;
|
|
33
|
+
onSelectionchange?: () => any;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=EditorContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EditorContent.vue"],"names":[],"mappings":"AAyEA,KAAK,WAAW,GAAG;IACf,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,KAAK,GAAG,KAAK,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAuBF,iBAAS,OAAO,IAAI,WAAW,GAAG,IAAI,CAErC;AA0FD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EditorDialogsProps } from '../types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<EditorDialogsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
unlink: () => any;
|
|
4
|
+
close: () => any;
|
|
5
|
+
changed: () => any;
|
|
6
|
+
saveLink: (value: import('../types').LinkValue) => any;
|
|
7
|
+
saveMedia: (value: import('../types').MediaValue) => any;
|
|
8
|
+
saveTable: (rows: number, columns: number) => any;
|
|
9
|
+
selectCharacter: (value: string) => any;
|
|
10
|
+
saveSource: (value: string) => any;
|
|
11
|
+
saveTableProperties: (values: Record<string, string>) => any;
|
|
12
|
+
selectColor: (color: string) => any;
|
|
13
|
+
insertTemplate: (item: import('..').EditorTemplateItem) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<EditorDialogsProps> & Readonly<{
|
|
15
|
+
onUnlink?: () => any;
|
|
16
|
+
onClose?: () => any;
|
|
17
|
+
onChanged?: () => any;
|
|
18
|
+
onSaveLink?: (value: import('../types').LinkValue) => any;
|
|
19
|
+
onSaveMedia?: (value: import('../types').MediaValue) => any;
|
|
20
|
+
onSaveTable?: (rows: number, columns: number) => any;
|
|
21
|
+
onSelectCharacter?: (value: string) => any;
|
|
22
|
+
onSaveSource?: (value: string) => any;
|
|
23
|
+
onSaveTableProperties?: (values: Record<string, string>) => any;
|
|
24
|
+
onSelectColor?: (color: string) => any;
|
|
25
|
+
onInsertTemplate?: (item: import('..').EditorTemplateItem) => any;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=EditorDialogs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorDialogs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EditorDialogs.vue"],"names":[],"mappings":"AAuGA,OAAO,KAAK,EAAsB,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAqdvE,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DateTimeFormatOption, EditorMenuName, LineHeightOption, MenuItemDefinition, ResolvedMergeTagConfig, ResolvedEditorTemplatesConfig } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
menus: true | EditorMenuName[];
|
|
4
|
+
plugins: string[];
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
activeCommands: Record<string, boolean>;
|
|
7
|
+
availableCommands: Record<string, boolean>;
|
|
8
|
+
insideTable: boolean;
|
|
9
|
+
lineHeightFormats: LineHeightOption[];
|
|
10
|
+
dateFormats: DateTimeFormatOption[];
|
|
11
|
+
timeFormats: DateTimeFormatOption[];
|
|
12
|
+
mergeTags: ResolvedMergeTagConfig;
|
|
13
|
+
templates: ResolvedEditorTemplatesConfig;
|
|
14
|
+
mergeTagSidebarOpen: boolean;
|
|
15
|
+
templateDialogOpen: boolean;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = {
|
|
18
|
+
end(): unknown;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
select: (item: MenuItemDefinition) => any;
|
|
22
|
+
opening: (name: EditorMenuName) => any;
|
|
23
|
+
mergeTagToggle: () => any;
|
|
24
|
+
templatesOpen: () => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
onSelect?: (item: MenuItemDefinition) => any;
|
|
27
|
+
onOpening?: (name: EditorMenuName) => any;
|
|
28
|
+
onMergeTagToggle?: () => any;
|
|
29
|
+
onTemplatesOpen?: () => any;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=EditorMenuBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorMenuBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EditorMenuBar.vue"],"names":[],"mappings":"AA6KA,OAAO,KAAK,EACR,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,6BAA6B,EAChC,MAAM,UAAU,CAAC;AAKlB,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,IAAI,GAAG,cAAc,EAAE,CAAC;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IACtC,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC,SAAS,EAAE,sBAAsB,CAAC;IAClC,SAAS,EAAE,6BAA6B,CAAC;IACzC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,kBAAkB,EAAE,OAAO,CAAC;CAC/B,CAAC;AASF,KAAK,WAAW,GAAG;IAAE,GAAG,IAAI,OAAO,CAAA;CAAE,CAAC;AAiNtC,QAAA,MAAM,UAAU;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EditorCounts } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
path: string;
|
|
4
|
+
counts: EditorCounts;
|
|
5
|
+
resize: boolean;
|
|
6
|
+
helpText: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
start(): unknown;
|
|
11
|
+
end(): unknown;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
resizeStart: (event: PointerEvent) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onResizeStart?: (event: PointerEvent) => any;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=EditorStatusBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorStatusBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EditorStatusBar.vue"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;CACrB,CAAC;AAIF,KAAK,WAAW,GAAG;IAAE,KAAK,IAAI,OAAO,CAAC;IAAC,GAAG,IAAI,OAAO,CAAA;CAAE,CAAC;AA+ExD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EditorToolbarGroup, ResolvedEditorInit } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
toolbar: boolean | string | EditorToolbarGroup[];
|
|
4
|
+
config: ResolvedEditorInit;
|
|
5
|
+
activeCommands: Record<string, boolean>;
|
|
6
|
+
availableCommands: Record<string, boolean>;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
insideTable: boolean;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_Slots = {
|
|
11
|
+
start(): unknown;
|
|
12
|
+
end(): unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
dialog: (name: string) => any;
|
|
16
|
+
command: (id: string, value?: string | undefined) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onDialog?: (name: string) => any;
|
|
19
|
+
onCommand?: (id: string, value?: string | undefined) => any;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=EditorToolbar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EditorToolbar.vue"],"names":[],"mappings":"AAgRA,OAAO,KAAK,EACR,kBAAkB,EAClB,kBAAkB,EAGrB,MAAM,UAAU,CAAC;AAKlB,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,kBAAkB,EAAE,CAAC;IACjD,MAAM,EAAE,kBAAkB,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;CACxB,CAAC;AAIF,KAAK,WAAW,GAAG;IAAE,KAAK,IAAI,OAAO,CAAC;IAAC,GAAG,IAAI,OAAO,CAAA;CAAE,CAAC;AA2cxD,QAAA,MAAM,UAAU;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
wide?: boolean;
|
|
4
|
+
closeLabel?: string;
|
|
5
|
+
footerDivider?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {
|
|
8
|
+
default(): unknown;
|
|
9
|
+
footer(): unknown;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
close: () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onClose?: () => any;
|
|
15
|
+
}>, {
|
|
16
|
+
wide: boolean;
|
|
17
|
+
closeLabel: string;
|
|
18
|
+
footerDivider: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=BaseDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/BaseDialog.vue"],"names":[],"mappings":"AAgFA,KAAK,WAAW,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAON,KAAK,WAAW,GAAG;IAAE,OAAO,IAAI,OAAO,CAAC;IAAC,MAAM,IAAI,OAAO,CAAA;CAAE,CAAC;AA0H7D,QAAA,MAAM,UAAU;;;;;UApID,OAAO;gBACD,MAAM;mBACH,OAAO;6EAsI7B,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
mode: 'forecolor' | 'backcolor';
|
|
3
|
+
colors: string[];
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
select: (color: string) => any;
|
|
7
|
+
close: () => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onSelect?: (color: string) => any;
|
|
10
|
+
onClose?: () => any;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=ColorDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/ColorDialog.vue"],"names":[],"mappings":"AAsBA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,WAAW,GAAG,WAAW,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AA8EzE,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
select: (value: string) => any;
|
|
3
|
+
close: () => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
+
onSelect?: (value: string) => any;
|
|
6
|
+
onClose?: () => any;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=EmojiDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmojiDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/EmojiDialog.vue"],"names":[],"mappings":"AAuQA,QAAA,MAAM,YAAY;;;;;;iFAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
root: HTMLElement;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
close: () => any;
|
|
6
|
+
changed: () => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onClose?: () => any;
|
|
9
|
+
onChanged?: () => any;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=FindReplaceDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FindReplaceDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/FindReplaceDialog.vue"],"names":[],"mappings":"AA2HA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAAC;AAgNzC,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
kind: 'shortcuts' | 'about';
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
close: () => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
onClose?: () => any;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=InfoDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/InfoDialog.vue"],"names":[],"mappings":"AAmGA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAA;CAAE,CAAC;AAkMnD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LinkValue } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
initial: LinkValue;
|
|
4
|
+
allowRelative: boolean;
|
|
5
|
+
canUnlink: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
unlink: () => any;
|
|
9
|
+
close: () => any;
|
|
10
|
+
save: (value: LinkValue) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onUnlink?: () => any;
|
|
13
|
+
onClose?: () => any;
|
|
14
|
+
onSave?: (value: LinkValue) => any;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=LinkDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/LinkDialog.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,KAAK,WAAW,GAAG;IAAE,OAAO,EAAE,SAAS,CAAC;IAAC,aAAa,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC;AAkLtF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MediaValue } from '../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
allowRelative: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
close: () => any;
|
|
7
|
+
save: (value: MediaValue) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClose?: () => any;
|
|
10
|
+
onSave?: (value: MediaValue) => any;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=MediaDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/MediaDialog.vue"],"names":[],"mappings":"AAsGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,KAAK,WAAW,GAAG;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE,CAAC;AAgM9C,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
html: string;
|
|
3
|
+
contentStyle: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
close: () => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onClose?: () => any;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=PreviewDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreviewDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/PreviewDialog.vue"],"names":[],"mappings":"AA6CA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AA0F1D,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
html: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
close: () => any;
|
|
6
|
+
save: (html: string) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onClose?: () => any;
|
|
9
|
+
onSave?: (html: string) => any;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=SourceDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/SourceDialog.vue"],"names":[],"mappings":"AAoDA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAgGpC,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
select: (value: string) => any;
|
|
3
|
+
close: () => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
+
onSelect?: (value: string) => any;
|
|
6
|
+
onClose?: () => any;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=SpecialCharacterDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpecialCharacterDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/SpecialCharacterDialog.vue"],"names":[],"mappings":"AAsRA,QAAA,MAAM,YAAY;;;;;;iFAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
size: number;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
close: () => any;
|
|
6
|
+
save: (rows: number, columns: number) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onClose?: () => any;
|
|
9
|
+
onSave?: (rows: number, columns: number) => any;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=TableDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dialogs/TableDialog.vue"],"names":[],"mappings":"AA0DA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AA6HpC,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|