texditor 2.0.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/LICENSE.md +9 -0
- package/README.md +232 -0
- package/dist/core/base/base-model.d.ts +160 -0
- package/dist/core/base/base-model.d.ts.map +1 -0
- package/dist/core/base/event-manager.d.ts +20 -0
- package/dist/core/base/event-manager.d.ts.map +1 -0
- package/dist/core/base/index.d.ts +3 -0
- package/dist/core/base/index.d.ts.map +1 -0
- package/dist/core/base.d.ts +2 -0
- package/dist/core/base.mjs +1 -0
- package/dist/core/block-manager.d.ts +91 -0
- package/dist/core/block-manager.d.ts.map +1 -0
- package/dist/core/commands.d.ts +73 -0
- package/dist/core/commands.d.ts.map +1 -0
- package/dist/core/config.d.ts +11 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/events.d.ts +121 -0
- package/dist/core/events.d.ts.map +1 -0
- package/dist/core/extensions.d.ts +23 -0
- package/dist/core/extensions.d.ts.map +1 -0
- package/dist/core/history-manager.d.ts +76 -0
- package/dist/core/history-manager.d.ts.map +1 -0
- package/dist/core/i18n.d.ts +29 -0
- package/dist/core/i18n.d.ts.map +1 -0
- package/dist/core/models/action-model.d.ts +54 -0
- package/dist/core/models/action-model.d.ts.map +1 -0
- package/dist/core/models/block-model.d.ts +396 -0
- package/dist/core/models/block-model.d.ts.map +1 -0
- package/dist/core/models/extension-model.d.ts +25 -0
- package/dist/core/models/extension-model.d.ts.map +1 -0
- package/dist/core/models/file-action-model.d.ts +20 -0
- package/dist/core/models/file-action-model.d.ts.map +1 -0
- package/dist/core/models/index.d.ts +7 -0
- package/dist/core/models/index.d.ts.map +1 -0
- package/dist/core/models/tool-model.d.ts +69 -0
- package/dist/core/models/tool-model.d.ts.map +1 -0
- package/dist/core/models.d.ts +2 -0
- package/dist/core/models.mjs +6 -0
- package/dist/core/security/sanitizer.d.ts +65 -0
- package/dist/core/security/sanitizer.d.ts.map +1 -0
- package/dist/core/selection-api.d.ts +52 -0
- package/dist/core/selection-api.d.ts.map +1 -0
- package/dist/core/tools.d.ts +27 -0
- package/dist/core/tools.d.ts.map +1 -0
- package/dist/core/ui/slider.d.ts +50 -0
- package/dist/core/ui/slider.d.ts.map +1 -0
- package/dist/core/ui/toasts.d.ts +23 -0
- package/dist/core/ui/toasts.d.ts.map +1 -0
- package/dist/core/ui/virtual-selection.d.ts +171 -0
- package/dist/core/ui/virtual-selection.d.ts.map +1 -0
- package/dist/entities/actions/convert-action.d.ts +9 -0
- package/dist/entities/actions/convert-action.d.ts.map +1 -0
- package/dist/entities/actions/create-action.d.ts +8 -0
- package/dist/entities/actions/create-action.d.ts.map +1 -0
- package/dist/entities/actions/delete-action.d.ts +8 -0
- package/dist/entities/actions/delete-action.d.ts.map +1 -0
- package/dist/entities/actions/index.d.ts +7 -0
- package/dist/entities/actions/index.d.ts.map +1 -0
- package/dist/entities/actions/move-down-action.d.ts +9 -0
- package/dist/entities/actions/move-down-action.d.ts.map +1 -0
- package/dist/entities/actions/move-up-action.d.ts +9 -0
- package/dist/entities/actions/move-up-action.d.ts.map +1 -0
- package/dist/entities/actions.d.ts +2 -0
- package/dist/entities/actions.mjs +6 -0
- package/dist/entities/blocks/code/index.d.ts +48 -0
- package/dist/entities/blocks/code/index.d.ts.map +1 -0
- package/dist/entities/blocks/code/languages.d.ts +4 -0
- package/dist/entities/blocks/code/languages.d.ts.map +1 -0
- package/dist/entities/blocks/files/actions/DeleteFileAction.d.ts +7 -0
- package/dist/entities/blocks/files/actions/DeleteFileAction.d.ts.map +1 -0
- package/dist/entities/blocks/files/actions/DownloadFileAction.d.ts +12 -0
- package/dist/entities/blocks/files/actions/DownloadFileAction.d.ts.map +1 -0
- package/dist/entities/blocks/files/actions/EditFileAction.d.ts +32 -0
- package/dist/entities/blocks/files/actions/EditFileAction.d.ts.map +1 -0
- package/dist/entities/blocks/files/actions/MoveLeftFileAction.d.ts +8 -0
- package/dist/entities/blocks/files/actions/MoveLeftFileAction.d.ts.map +1 -0
- package/dist/entities/blocks/files/actions/MoveRightFileAction.d.ts +8 -0
- package/dist/entities/blocks/files/actions/MoveRightFileAction.d.ts.map +1 -0
- package/dist/entities/blocks/files/index.d.ts +185 -0
- package/dist/entities/blocks/files/index.d.ts.map +1 -0
- package/dist/entities/blocks/gallery/index.d.ts +60 -0
- package/dist/entities/blocks/gallery/index.d.ts.map +1 -0
- package/dist/entities/blocks/header/H1.d.ts +4 -0
- package/dist/entities/blocks/header/H1.d.ts.map +1 -0
- package/dist/entities/blocks/header/H2.d.ts +6 -0
- package/dist/entities/blocks/header/H2.d.ts.map +1 -0
- package/dist/entities/blocks/header/H3.d.ts +6 -0
- package/dist/entities/blocks/header/H3.d.ts.map +1 -0
- package/dist/entities/blocks/header/H4.d.ts +6 -0
- package/dist/entities/blocks/header/H4.d.ts.map +1 -0
- package/dist/entities/blocks/header/H5.d.ts +6 -0
- package/dist/entities/blocks/header/H5.d.ts.map +1 -0
- package/dist/entities/blocks/header/H6.d.ts +6 -0
- package/dist/entities/blocks/header/H6.d.ts.map +1 -0
- package/dist/entities/blocks/header/index.d.ts +6 -0
- package/dist/entities/blocks/header/index.d.ts.map +1 -0
- package/dist/entities/blocks/index.d.ts +14 -0
- package/dist/entities/blocks/index.d.ts.map +1 -0
- package/dist/entities/blocks/list/index.d.ts +6 -0
- package/dist/entities/blocks/list/index.d.ts.map +1 -0
- package/dist/entities/blocks/list/ol.d.ts +6 -0
- package/dist/entities/blocks/list/ol.d.ts.map +1 -0
- package/dist/entities/blocks/paragraph/index.d.ts +6 -0
- package/dist/entities/blocks/paragraph/index.d.ts.map +1 -0
- package/dist/entities/blocks.d.ts +2 -0
- package/dist/entities/blocks.mjs +13 -0
- package/dist/entities/extensions/delete-selected.d.ts +9 -0
- package/dist/entities/extensions/delete-selected.d.ts.map +1 -0
- package/dist/entities/extensions/index.d.ts +5 -0
- package/dist/entities/extensions/index.d.ts.map +1 -0
- package/dist/entities/extensions/redo.d.ts +8 -0
- package/dist/entities/extensions/redo.d.ts.map +1 -0
- package/dist/entities/extensions/undo.d.ts +8 -0
- package/dist/entities/extensions/undo.d.ts.map +1 -0
- package/dist/entities/extensions.d.ts +2 -0
- package/dist/entities/extensions.mjs +4 -0
- package/dist/entities/tools/bold.d.ts +6 -0
- package/dist/entities/tools/bold.d.ts.map +1 -0
- package/dist/entities/tools/clear-formatting.d.ts +7 -0
- package/dist/entities/tools/clear-formatting.d.ts.map +1 -0
- package/dist/entities/tools/index.d.ts +10 -0
- package/dist/entities/tools/index.d.ts.map +1 -0
- package/dist/entities/tools/inline-code.d.ts +6 -0
- package/dist/entities/tools/inline-code.d.ts.map +1 -0
- package/dist/entities/tools/italic.d.ts +6 -0
- package/dist/entities/tools/italic.d.ts.map +1 -0
- package/dist/entities/tools/link.d.ts +35 -0
- package/dist/entities/tools/link.d.ts.map +1 -0
- package/dist/entities/tools/marker.d.ts +6 -0
- package/dist/entities/tools/marker.d.ts.map +1 -0
- package/dist/entities/tools/subscript.d.ts +6 -0
- package/dist/entities/tools/subscript.d.ts.map +1 -0
- package/dist/entities/tools/superscript.d.ts +6 -0
- package/dist/entities/tools/superscript.d.ts.map +1 -0
- package/dist/entities/tools.d.ts +2 -0
- package/dist/entities/tools.mjs +9 -0
- package/dist/icons/index.d.ts +42 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/locales/en.d.ts +66 -0
- package/dist/locales/en.d.ts.map +1 -0
- package/dist/locales/index.d.ts +4 -0
- package/dist/locales/index.d.ts.map +1 -0
- package/dist/locales/ru.d.ts +66 -0
- package/dist/locales/ru.d.ts.map +1 -0
- package/dist/locales.d.ts +2 -0
- package/dist/locales.mjs +3 -0
- package/dist/main.d.ts +6 -0
- package/dist/node_modules/snappykit/dist/snappykit.mjs +440 -0
- package/dist/node_modules/sortum/dist/sortum.mjs +588 -0
- package/dist/src/core/base/base-model.mjs +184 -0
- package/dist/src/core/base/event-manager.mjs +31 -0
- package/dist/src/core/block-manager.mjs +499 -0
- package/dist/src/core/commands.mjs +311 -0
- package/dist/src/core/config.mjs +12 -0
- package/dist/src/core/events.mjs +369 -0
- package/dist/src/core/extensions.mjs +48 -0
- package/dist/src/core/history-manager.mjs +107 -0
- package/dist/src/core/i18n.mjs +25 -0
- package/dist/src/core/models/action-model.mjs +72 -0
- package/dist/src/core/models/block-model.mjs +619 -0
- package/dist/src/core/models/extension-model.mjs +28 -0
- package/dist/src/core/models/file-action-model.mjs +24 -0
- package/dist/src/core/models/tool-model.mjs +80 -0
- package/dist/src/core/security/sanitizer.mjs +130 -0
- package/dist/src/core/selection-api.mjs +202 -0
- package/dist/src/core/tools.mjs +88 -0
- package/dist/src/core/ui/slider.mjs +81 -0
- package/dist/src/core/ui/toasts.mjs +55 -0
- package/dist/src/core/ui/virtual-selection.mjs +205 -0
- package/dist/src/entities/actions/convert-action.mjs +43 -0
- package/dist/src/entities/actions/create-action.mjs +39 -0
- package/dist/src/entities/actions/delete-action.mjs +19 -0
- package/dist/src/entities/actions/move-down-action.mjs +22 -0
- package/dist/src/entities/actions/move-up-action.mjs +22 -0
- package/dist/src/entities/blocks/code/index.mjs +144 -0
- package/dist/src/entities/blocks/code/languages.mjs +54 -0
- package/dist/src/entities/blocks/files/actions/DeleteFileAction.mjs +21 -0
- package/dist/src/entities/blocks/files/actions/DownloadFileAction.mjs +44 -0
- package/dist/src/entities/blocks/files/actions/EditFileAction.mjs +111 -0
- package/dist/src/entities/blocks/files/actions/MoveLeftFileAction.mjs +24 -0
- package/dist/src/entities/blocks/files/actions/MoveRightFileAction.mjs +24 -0
- package/dist/src/entities/blocks/files/index.mjs +424 -0
- package/dist/src/entities/blocks/gallery/index.mjs +141 -0
- package/dist/src/entities/blocks/header/H1.mjs +5 -0
- package/dist/src/entities/blocks/header/H2.mjs +16 -0
- package/dist/src/entities/blocks/header/H3.mjs +16 -0
- package/dist/src/entities/blocks/header/H4.mjs +16 -0
- package/dist/src/entities/blocks/header/H5.mjs +16 -0
- package/dist/src/entities/blocks/header/H6.mjs +16 -0
- package/dist/src/entities/blocks/header/index.mjs +46 -0
- package/dist/src/entities/blocks/list/index.mjs +51 -0
- package/dist/src/entities/blocks/list/ol.mjs +16 -0
- package/dist/src/entities/blocks/paragraph/index.mjs +46 -0
- package/dist/src/entities/extensions/delete-selected.mjs +27 -0
- package/dist/src/entities/extensions/redo.mjs +22 -0
- package/dist/src/entities/extensions/undo.mjs +22 -0
- package/dist/src/entities/tools/bold.mjs +16 -0
- package/dist/src/entities/tools/clear-formatting.mjs +20 -0
- package/dist/src/entities/tools/inline-code.mjs +19 -0
- package/dist/src/entities/tools/italic.mjs +16 -0
- package/dist/src/entities/tools/link.mjs +89 -0
- package/dist/src/entities/tools/marker.mjs +17 -0
- package/dist/src/entities/tools/subscript.mjs +17 -0
- package/dist/src/entities/tools/superscript.mjs +18 -0
- package/dist/src/icons/index.mjs +4 -0
- package/dist/src/locales/en.mjs +68 -0
- package/dist/src/locales/ru.mjs +68 -0
- package/dist/src/store/currentStore.mjs +8 -0
- package/dist/src/store/mainStore.mjs +4 -0
- package/dist/src/utils/ajax.mjs +35 -0
- package/dist/src/utils/common.mjs +26 -0
- package/dist/src/utils/icon.mjs +12 -0
- package/dist/src/utils/sanitizer.mjs +20 -0
- package/dist/src/views/extensions.mjs +18 -0
- package/dist/src/views/main.mjs +19 -0
- package/dist/src/views/tools.mjs +9 -0
- package/dist/store/currentStore.d.ts +15 -0
- package/dist/store/currentStore.d.ts.map +1 -0
- package/dist/store/mainStore.d.ts +14 -0
- package/dist/store/mainStore.d.ts.map +1 -0
- package/dist/styles/animations.css +1 -0
- package/dist/styles/core/ui/selection.css +1 -0
- package/dist/styles/core/ui/slider.css +1 -0
- package/dist/styles/entities/blocks/code.css +1 -0
- package/dist/styles/entities/blocks/files.css +1 -0
- package/dist/styles/entities/blocks/gallery.css +1 -0
- package/dist/styles/entities/blocks/list.css +1 -0
- package/dist/styles/entities/blocks/paragraph.css +1 -0
- package/dist/styles/entities/tools/inline-code.css +1 -0
- package/dist/styles/entities/tools/link.css +1 -0
- package/dist/styles/texditor.css +1 -0
- package/dist/styles/theme.css +42 -0
- package/dist/texditor.d.ts +68 -0
- package/dist/texditor.d.ts.map +1 -0
- package/dist/texditor.mjs +138 -0
- package/dist/types/core/base/base-model.d.ts +212 -0
- package/dist/types/core/base/base-model.d.ts.map +1 -0
- package/dist/types/core/base/event-manager.d.ts +42 -0
- package/dist/types/core/base/event-manager.d.ts.map +1 -0
- package/dist/types/core/base/index.d.ts +3 -0
- package/dist/types/core/base/index.d.ts.map +1 -0
- package/dist/types/core/block-manager.d.ts +223 -0
- package/dist/types/core/block-manager.d.ts.map +1 -0
- package/dist/types/core/commands.d.ts +93 -0
- package/dist/types/core/commands.d.ts.map +1 -0
- package/dist/types/core/config.d.ts +86 -0
- package/dist/types/core/config.d.ts.map +1 -0
- package/dist/types/core/events.d.ts +58 -0
- package/dist/types/core/events.d.ts.map +1 -0
- package/dist/types/core/extensions.d.ts +19 -0
- package/dist/types/core/extensions.d.ts.map +1 -0
- package/dist/types/core/history-manager.d.ts +72 -0
- package/dist/types/core/history-manager.d.ts.map +1 -0
- package/dist/types/core/http/index.d.ts +2 -0
- package/dist/types/core/http/index.d.ts.map +1 -0
- package/dist/types/core/http/response.d.ts +6 -0
- package/dist/types/core/http/response.d.ts.map +1 -0
- package/dist/types/core/i18n.d.ts +40 -0
- package/dist/types/core/i18n.d.ts.map +1 -0
- package/dist/types/core/index.d.ts +15 -0
- package/dist/types/core/index.d.ts.map +1 -0
- package/dist/types/core/models/action-model.d.ts +46 -0
- package/dist/types/core/models/action-model.d.ts.map +1 -0
- package/dist/types/core/models/block-model.d.ts +404 -0
- package/dist/types/core/models/block-model.d.ts.map +1 -0
- package/dist/types/core/models/extension-model.d.ts +41 -0
- package/dist/types/core/models/extension-model.d.ts.map +1 -0
- package/dist/types/core/models/file-action-model.d.ts +36 -0
- package/dist/types/core/models/file-action-model.d.ts.map +1 -0
- package/dist/types/core/models/index.d.ts +7 -0
- package/dist/types/core/models/index.d.ts.map +1 -0
- package/dist/types/core/models/tool-model.d.ts +54 -0
- package/dist/types/core/models/tool-model.d.ts.map +1 -0
- package/dist/types/core/sanitizer.d.ts +27 -0
- package/dist/types/core/sanitizer.d.ts.map +1 -0
- package/dist/types/core/selection-api.d.ts +116 -0
- package/dist/types/core/selection-api.d.ts.map +1 -0
- package/dist/types/core/tools.d.ts +35 -0
- package/dist/types/core/tools.d.ts.map +1 -0
- package/dist/types/core/ui/index.d.ts +4 -0
- package/dist/types/core/ui/index.d.ts.map +1 -0
- package/dist/types/core/ui/slider.d.ts +45 -0
- package/dist/types/core/ui/slider.d.ts.map +1 -0
- package/dist/types/core/ui/toasts.d.ts +58 -0
- package/dist/types/core/ui/toasts.d.ts.map +1 -0
- package/dist/types/core/ui/virtual-selection.d.ts +83 -0
- package/dist/types/core/ui/virtual-selection.d.ts.map +1 -0
- package/dist/types/entities/blocks/code.d.ts +4 -0
- package/dist/types/entities/blocks/code.d.ts.map +1 -0
- package/dist/types/entities/blocks/files.d.ts +170 -0
- package/dist/types/entities/blocks/files.d.ts.map +1 -0
- package/dist/types/entities/blocks/gallery.d.ts +40 -0
- package/dist/types/entities/blocks/gallery.d.ts.map +1 -0
- package/dist/types/entities/blocks/header.d.ts +4 -0
- package/dist/types/entities/blocks/header.d.ts.map +1 -0
- package/dist/types/entities/blocks/index.d.ts +7 -0
- package/dist/types/entities/blocks/index.d.ts.map +1 -0
- package/dist/types/entities/blocks/list.d.ts +4 -0
- package/dist/types/entities/blocks/list.d.ts.map +1 -0
- package/dist/types/entities/blocks/paragraph.d.ts +4 -0
- package/dist/types/entities/blocks/paragraph.d.ts.map +1 -0
- package/dist/types/entities/index.d.ts +2 -0
- package/dist/types/entities/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/texditor.d.ts +66 -0
- package/dist/types/texditor.d.ts.map +1 -0
- package/dist/types/utils/ajax.d.ts +31 -0
- package/dist/types/utils/ajax.d.ts.map +1 -0
- package/dist/types/utils/icon.d.ts +10 -0
- package/dist/types/utils/icon.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/dist/types/utils/index.d.ts.map +1 -0
- package/dist/utils/ajax.d.ts +9 -0
- package/dist/utils/ajax.d.ts.map +1 -0
- package/dist/utils/common.d.ts +28 -0
- package/dist/utils/common.d.ts.map +1 -0
- package/dist/utils/icon.d.ts +12 -0
- package/dist/utils/icon.d.ts.map +1 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/sanitizer.d.ts +8 -0
- package/dist/utils/sanitizer.d.ts.map +1 -0
- package/dist/views/extensions.d.ts +3 -0
- package/dist/views/extensions.d.ts.map +1 -0
- package/dist/views/main.d.ts +3 -0
- package/dist/views/main.d.ts.map +1 -0
- package/dist/views/tools.d.ts +2 -0
- package/dist/views/tools.d.ts.map +1 -0
- package/package.json +75 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IconSuperscript as e } from "../../icons/index.mjs";
|
|
2
|
+
import t from "../../core/models/tool-model.mjs";
|
|
3
|
+
import "../../../core/models.mjs";
|
|
4
|
+
//#region src/entities/tools/superscript.ts
|
|
5
|
+
var n = class extends t {
|
|
6
|
+
configure() {
|
|
7
|
+
return {
|
|
8
|
+
name: "superscript",
|
|
9
|
+
tagName: "sup",
|
|
10
|
+
icon: e,
|
|
11
|
+
override: !1,
|
|
12
|
+
iconWidth: 16,
|
|
13
|
+
iconHeight: 16
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { n as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/icons/index.ts
|
|
2
|
+
var e = "<path d=\"m21.2,6.34c.44.06.87.12,1.3.18m-1.3-.18l-1.36,13.87c-.06.62-.38,1.21-.91,1.63-.53.42-1.22.66-1.95.66H7.02c-.72,0-1.42-.24-1.95-.66-.53-.42-.85-1.01-.91-1.63l-1.36-13.87m18.4,0c-1.47-.19-2.95-.34-4.43-.44m-13.97.44c-.44.06-.87.12-1.3.18m1.3-.18c1.47-.19,2.95-.34,4.43-.44m9.55,0c-3.18-.21-6.37-.21-9.55,0m9.55,0c0-3.03-2.18-4.4-4.77-4.4s-4.77,1.56-4.77,4.4\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/><path d=\"m9.75,17.99l-.75-6.76\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/><path d=\"m15,11.24l-.75,6.76\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>", t = "<path d=\"M3,14.5 L12,6.6 L21,14.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\"></path>", n = "<path d=\"M3,9.5 L12,17.4 L21,9.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\"></path>", r = "<path d=\"M9.5,21 L17.4,12 L9.5,3\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-miterlimit=\"3\" stroke-width=\"3\"/>", i = "<path d=\"M14.5,3 L6.6,12 L14.5,21\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-miterlimit=\"3\" stroke-width=\"3\"/>", a = "<path d=\"m1.01,12V1.22c0-.12.15-.22.34-.22h4.34c3.66,0,12,.22,12,5.5,0,0,0,5.5-10.01,5.5m-6.67,0v10.56c0,.25.3.44.67.44h10.99c5.01,0,8.34-2.2,8.34-5.5,0-6.15-13.33-5.5-13.33-5.5m-6.67,0h6.67\"stroke=\"currentColor\" stroke-miterlimit=\"2.67\" stroke-width=\"2\"/>", o = "<path d=\" m13.13,5.86c-2.02,6.56-5.1,16.74-5.1,16.74\" stroke=\"currentColor\" stroke-width=\"2\"/><path d=\"m14.27,2.09h.03\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-miterlimit=\"1\" stroke-width=\"2\"/>", s = "<path fill=\"currentColor\" d=\"M22.84,11.14H1.16c-.31,0-.6-.12-.82-.33-.22-.21-.34-.5-.34-.81s.12-.59.34-.81c.22-.21.51-.33.82-.33h21.68c.31,0,.6.12.82.33.22.21.34.5.34.81s-.12.59-.34.81c-.22.21-.51.33-.82.33ZM22.84,4.29H1.16c-.31,0-.6-.12-.82-.33-.22-.21-.34-.51-.34-.81S.12,2.55.34,2.33c.22-.21.51-.33.82-.33h21.68c.31,0,.6.12.82.33.22.21.34.51.34.81s-.12.59-.34.81c-.22.21-.51.33-.82.33ZM22.84,18H1.16c-.31,0-.6-.12-.82-.33-.22-.21-.34-.5-.34-.81s.12-.59.34-.81c.22-.21.51-.33.82-.33h21.68c.31,0,.6.12.82.33.22.21.34.5.34.81s-.12.59-.34.81c-.22.21-.51.33-.82.33Z\"/>", c = "<path stroke=\"currentColor\" d=\"m2.92,13.32l-.03.04c-1.82,2.13-1.85,5.67-.07,7.85h0c1.73,2.12,4.54,2.13,6.28.01l2.32-2.82c1.67-2.02,1.89-5.23.54-7.58l-.23-.4\" stroke-linecap=\"round\" stroke-miterlimit=\"2\" stroke-width=\"2\"/><path d=\"m16.51,10.42l.22-.27c1.49-1.87,1.58-4.82.22-6.83h0c-1.47-2.16-4.09-2.44-5.84-.63l-2.29,2.37c-2.07,2.14-2.29,5.95-.48,8.42l.05.07\" stroke-linecap=\"round\" stroke-miterlimit=\"2\" stroke-width=\"2\" stroke=\"currentColor\"/>", l = "<path fill=\"currentColor\" d=\"m12.92,14.92l-1.48,8.39h-2.87l1.91-10.84L0,2,2,0l22,22-2,2-9.08-9.08h0Zm-1.24-9.24l.38-2.16h-2.55L6.69.69h16.63v2.83h-8.38l-.81,4.61-2.44-2.44h0Z\" />", u = "<path d=\"m4.5,0v19.5h19.5V0H4.5Zm17.62,17.62H6.38V1.88h15.75v15.75Z\" /><polygon points=\"1.88 22.12 1.88 13.88 1.88 6.38 1.88 4.5 0 4.5 0 24 19.5 24 19.5 22.12 17.62 22.12 1.88 22.12\" /><polygon points=\"10.91 14.66 16.44 9.14 16.44 13.11 18.31 13.11 18.31 5.94 11.14 5.94 11.14 7.81 15.11 7.81 9.59 13.34 10.91 14.66\" />", d = "<rect fill=\"currentColor\" x=\"10.12\" y=\"0\" width=\"3\" height=\"24\" rx=\"1.88\" ry=\"1.88\" /><rect fill=\"currentColor\" x=\"0\" y=\"10.12\" width=\"24\" height=\"3\" rx=\"1.88\" ry=\"1.88\" />", f = "<path fill=\"currentColor\" d=\"m0,6.4C0,2.87,2.69,0,6,0h16.5c.83,0,1.5.72,1.5,1.6s-.67,1.6-1.5,1.6h-3v19.2c0,.88-.67,1.6-1.5,1.6s-1.5-.72-1.5-1.6V3.2h-4.5v19.2c0,.88-.67,1.6-1.5,1.6s-1.5-.72-1.5-1.6v-9.6h-3c-3.31,0-6-2.87-6-6.4Zm9,3.2V3.2h-3c-1.66,0-3,1.43-3,3.2s1.34,3.2,3,3.2h3Z\" fill-rule=\"evenodd\" />", p = "<path fill=\"currentColor\" d=\"m3.59,7.2h7.19V2.4c0-.88.8-1.6,1.8-1.6s1.8.72,1.8,1.6v12.8c0,.88-.8,1.6-1.8,1.6s-1.8-.72-1.8-1.6v-4.8H3.59v4.8c0,.88-.8,1.6-1.8,1.6s-1.8-.72-1.8-1.6V2.4c0-.88.8-1.6,1.8-1.6s1.8.72,1.8,1.6v4.8Zm17.1,1.25h-2.73v-2.85h6.04v11.2h-3.31V7.65h0Z\" />", m = "<path fill=\"currentColor\" d=\"m3.23,9.2h6.45v-4.8c0-.88.72-1.6,1.61-1.6s1.61.72,1.61,1.6v12.8c0,.88-.72,1.6-1.61,1.6s-1.61-.72-1.61-1.6v-4.8H3.23v4.8c0,.88-.72,1.6-1.61,1.6s-1.61-.72-1.61-1.6V4.4c0-.88.72-1.6,1.61-1.6s1.61.72,1.61,1.6v4.8Zm20.77,6.96v2.64h-7.87v-1.62l.16-.39,2.88-3.06c.69-.7,1.28-1.23,1.49-1.62.2-.37.29-.68.29-.94,0-.22-.06-.39-.2-.52-.15-.14-.36-.22-.57-.2-.22,0-.43.09-.57.25-.17.19-.27.46-.28.84l-.02.54h-2.94l.03-.59c.05-1.18.44-2.13,1.16-2.83s1.65-1.06,2.75-1.06c.68,0,1.3.15,1.84.44.54.3.98.73,1.3,1.28.32.55.48,1.12.48,1.7,0,.67-.37,1.36-.74,2.09-.36.72-.86,1.4-1.72,2.49l-.19.2-.41.37h3.13Z\"/>", h = "<path fill=\"currentColor\" d=\"m3.23,9.565h6.45V4.785c0-.88.72-1.6,1.61-1.6s1.61.71,1.61,1.6v12.77c0,.88-.72,1.6-1.61,1.6s-1.61-.71-1.61-1.6v-4.79H3.23v4.79c0,.88-.72,1.6-1.61,1.6s-1.61-.71-1.61-1.6V4.785c0-.88.72-1.6,1.61-1.6s1.61.71,1.61,1.6v4.79Zm20.09,4.01l.07.09c.41.53.61,1.16.61,1.87,0,1.02-.39,1.89-1.14,2.6-.75.7-1.71,1.05-2.84,1.05s-1.99-.33-2.7-1-1.09-1.57-1.15-2.67l-.04-.59h2.91l.08.47c.06.38.18.63.35.78.16.15.37.22.65.22.25.01.5-.08.68-.25.17-.16.26-.38.25-.61,0-.26-.11-.47-.36-.67-.27-.21-.71-.34-1.31-.34h-.56v-1.87h.56c.61-.01,1.04-.13,1.31-.35.25-.2.36-.41.36-.67,0-.23-.09-.45-.25-.61-.18-.17-.43-.27-.68-.25-.24-.01-.47.07-.65.22-.17.15-.29.4-.35.78l-.08.47h-2.91l.04-.59c.06-1.11.45-2.01,1.15-2.67.7-.67,1.61-1,2.69-1,1.14,0,2.09.35,2.85,1.05.75.7,1.14,1.58,1.14,2.6.01.71-.23,1.4-.68,1.96h0Z\"/>", g = "<path fill=\"currentColor\" d=\"m3.2,7.2h6.4V2.4c0-.88.72-1.6,1.6-1.6s1.6.72,1.6,1.6v12.8c0,.88-.72,1.6-1.6,1.6s-1.6-.72-1.6-1.6v-4.8H3.2v4.8c0,.88-.72,1.6-1.6,1.6s-1.6-.72-1.6-1.6V2.4c0-.88.72-1.6,1.6-1.6s1.6.72,1.6,1.6v4.8Zm17.02,7.58h-4.22v-2.3l.1-.32,4.34-6.58h2.7v6.32h.86v2.87h-.86v2.02h-2.92v-2.02h0Zm.25-2.05v-2.69l-1.76,2.69h1.76Z\"/>", _ = "<path fill=\"currentColor\" d=\"m3.08,7.99h6.16V3.2c0-.88.69-1.6,1.54-1.6s1.54.72,1.54,1.6v12.78c0,.88-.69,1.6-1.54,1.6s-1.54-.72-1.54-1.6v-4.79H3.08v4.79c0,.88-.69,1.6-1.54,1.6s-1.54-.72-1.54-1.6V3.2c0-.88.69-1.6,1.54-1.6s1.54.72,1.54,1.6v4.79Zm12.32,6.9h4.12c.59,0,1.08-.46,1.08-1.03s-.48-1.03-1.07-1.03h-4.12v-.39s-.02-6.05-.02-6.05h7.83v3.02h-4.84l.02.99h1.71c2.09,0,3.8,1.57,3.88,3.56.08,1.93-1.5,3.56-3.52,3.64h-.15s-4.94-.03-4.94-.03v-2.68s0,0,0,0Z\" />", v = "<path fill=\"currentColor\" d=\"m3.29,7.2h6.58V2.4c0-.88.74-1.6,1.64-1.6s1.64.72,1.64,1.6v12.8c0,.88-.74,1.6-1.64,1.6s-1.64-.72-1.64-1.6v-4.8H3.29v4.8c0,.88-.74,1.6-1.64,1.6s-1.64-.72-1.64-1.6V2.4c0-.88.74-1.6,1.64-1.6s1.64.72,1.64,1.6v4.8Zm19.64,3.29c.71.7,1.07,1.6,1.07,2.62s-.37,1.89-1.1,2.59c-.73.7-1.63,1.06-2.65,1.06-1.02.02-2.01-.38-2.71-1.11-.71-.72-1.07-1.58-1.07-2.53,0-.36.06-.72.16-1.08.1-.34,1.09-2.6,1.38-3.15.41-.79,1.07-1.93,1.97-3.42l2.93,1.04-1.51,3.01c.41.18,1.2.62,1.54.95h0Zm-2.68,1.22c-.77,0-1.4.6-1.41,1.35,0,.01,0,.02,0,.03,0,.37.15.72.41.98.55.54,1.45.55,2.01.01.27-.26.42-.62.42-.99,0-.37-.14-.72-.41-.98-.27-.26-.64-.41-1.02-.4h0Z\"/>", y = "<path stroke=\"currentColor\" d=\"m8.17,4.19h17.33M8.17,12.5h17.33m-17.33,8.31h17.33M2.17,4.19h.01m-.01,8.31h.01m-.01,8.31h.01M2.83,4.19c0,.38-.3.69-.67.69s-.67-.31-.67-.69.3-.69.67-.69.67.31.67.69Zm0,8.31c0,.38-.3.69-.67.69s-.67-.31-.67-.69.3-.69.67-.69.67.31.67.69Zm0,8.31c0,.38-.3.69-.67.69s-.67-.31-.67-.69.3-.69.67-.69.67.31.67.69Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>", b = "<path stroke=\"currentColor\" d=\"m10.83,5.75h14.67m-14.67,6.75h14.67m-14.67,6.75h14.67M1.5,4.62l2.67-1.12v6.75m0,0H1.5m2.67,0h2.67m0,11.25H1.5l4.55-3.36c.5-.37.78-.9.78-1.46,0-1.07-1.03-1.93-2.29-1.93h-.37c-1.24,0-2.29.72-2.58,1.69\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>", x = "<path stroke=\"currentColor\" d=\"m6.39,8.5L1.5,13.12l4.89,5.38m12.22-10l4.89,4.62-4.89,5.38M14.94,3.5l-4.89,20\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>", S = "<path stroke=\"currentColor\" d=\"m1,19.67c0-.07,0-.15,0-.22V6.56c0-1.24,0-1.87.24-2.34.21-.42.55-.76.97-.97.48-.24,1.1-.24,2.34-.24h12.89c1.24,0,1.87,0,2.34.24.42.21.76.55.97.97.24.47.24,1.1.24,2.34v12.9c0,.54,0,.96-.02,1.3m-19.98-1.09c0,1.1.01,1.67.24,2.12.21.42.55.76.97.97.47.24,1.1.24,2.34.24h12.9c1.24,0,1.86,0,2.34-.24.42-.21.76-.55.97-.97.14-.27.2-.58.22-1.03m-19.98-1.09l5.3-6.18h0c.47-.55.71-.82.98-.92.25-.09.51-.08.76,0,.28.1.51.38.97.94l2.97,3.56c.43.51.64.77.91.88.23.09.49.1.72.03.27-.08.51-.32.99-.8l.55-.55c.49-.49.73-.73,1-.81.24-.07.5-.05.73.04.26.11.48.38.91.91l3.18,3.98m0,0l.02.02m-6.67-11.11c-.61,0-1.11-.5-1.11-1.11s.5-1.11,1.11-1.11,1.11.5,1.11,1.11-.5,1.11-1.11,1.11Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/>", C = "<path fill=\"currentColor\" d=\"m8.94,12.9l6.03,7.45c.36.44.28,1.08-.16,1.42-.19.14-.42.22-.65.22h0c-.32,0-.62-.14-.82-.38l-5.72-7.04-5.75,6.99c-.2.24-.5.38-.82.38h0C.47,21.95,0,21.5,0,20.94c0-.23.08-.46.23-.64l6.04-7.4L.23,5.45c-.36-.44-.28-1.08.16-1.42.19-.14.42-.22.65-.22h0c.34,0,.66.16.85.43l5.71,7.04,5.72-7.04c.2-.24.5-.38.82-.38h0c.57,0,1.04.45,1.04,1.01,0,.23-.08.46-.23.64l-6.03,7.4Z\"/><path fill=\"currentColor\" d=\"m16.42,9.84l4.01-3.34c.64-.49,1.2-1.08,1.67-1.73.33-.48.51-1.04.52-1.61,0-.39-.1-.77-.32-1.1-.21-.31-.5-.56-.84-.72-.35-.17-.73-.25-1.12-.25-.57,0-1.14.14-1.63.43-.51.33-.96.75-1.32,1.23l-.89-.7C17.34.76,18.81-.01,20.37,0c.62,0,1.23.12,1.78.39,1.1.5,1.79,1.58,1.78,2.76-.03.7-.25,1.37-.64,1.96-.55.8-1.22,1.52-1.99,2.13l-2.88,2.47h5.58v1.15h-7.58v-1.01Z\"/>", w = "<path fill=\"currentColor\" d=\"m8.94,9.1l6.03,7.45c.36.44.28,1.08-.16,1.42-.19.14-.42.22-.65.22h0c-.32,0-.62-.14-.82-.38l-5.72-7.04-5.75,6.99c-.2.24-.5.38-.82.38h0C.47,18.15,0,17.69,0,17.13c0-.23.08-.46.23-.64l6.04-7.4L.23,1.65C-.13,1.21-.06.57.39.22.58.08.81,0,1.04,0h0c.34,0,.66.16.85.43l5.71,7.04L13.34.43c.2-.24.5-.38.82-.38h0c.57,0,1.04.45,1.04,1.01,0,.23-.08.46-.23.64l-6.03,7.4Z\"/><path fill=\"currentColor\" d=\"m16.42,20.7l4.01-3.34c.64-.49,1.2-1.08,1.67-1.73.33-.48.51-1.04.52-1.61,0-.39-.1-.77-.32-1.1-.21-.31-.5-.56-.84-.72-.35-.17-.73-.25-1.12-.25-.57,0-1.14.14-1.63.43-.51.33-.96.75-1.32,1.23l-.89-.7c.84-1.29,2.31-2.07,3.87-2.05.62,0,1.23.12,1.78.39,1.1.5,1.79,1.58,1.78,2.76-.03.7-.25,1.37-.64,1.96-.55.8-1.22,1.52-1.99,2.13l-2.88,2.47h5.58v1.15h-7.58v-1.01Z\" />", T = "<path stroke=\"currentColor\" d=\"m10.335,15.005h4.57m-1.14-12.22h-5.49c-1.28,0-1.92,0-2.41.24-.43.21-.78.55-1,.97-.25.48-.25,1.1-.25,2.34v12.89c0,1.24,0,1.87.25,2.34.22.42.57.76,1,.97.49.24,1.13.24,2.41.24h8.69c1.28,0,1.92,0,2.41-.24.43-.21.78-.55,1-.97.25-.48.25-1.1.25-2.34v-9.78M13.765,2.785l6.86,6.67M13.765,2.785v4.89c0,.62,0,.93.12,1.17.11.21.28.38.5.49.24.12.56.12,1.2.12h5.03\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>", E = "<path d=\"m0,3.79C0,.86,2.66-.96,4.77.53l11.67,8.21c2.08,1.46,2.08,5.06,0,6.53l-11.67,8.21c-2.11,1.48-4.77-.34-4.77-3.26V3.79Z\" fill=\"currentColor\"/>", D = "<path fill=\"currentColor\" d=\"m22.58,1.18c-.82-.78-1.71-1.18-2.67-1.18-1.5,0-2.6.97-2.9,1.27-.42.42-14.81,14.82-14.81,14.82-.09.09-.16.21-.2.34-.32,1.2-1.95,6.52-1.97,6.58-.08.27,0,.57.19.77.14.14.34.22.53.22.08,0,.16-.01.23-.04.05-.02,5.55-1.79,6.45-2.06.12-.04.23-.1.32-.19.57-.56,13.99-13.84,14.88-14.76.92-.95,1.38-1.94,1.36-2.94-.02-.99-.5-1.94-1.42-2.83h0Zm-5.81,2.49c.38.09,1.28.39,2.2,1.32.93.94,1.18,2.01,1.23,2.25-2.94,2.93-9.72,9.64-12.39,12.28-.25-.57-.65-1.27-1.29-1.91-.78-.79-1.58-1.24-2.19-1.49,2.64-2.65,9.55-9.55,12.44-12.45h0ZM3.31,17.38c.41.11,1.27.43,2.14,1.3.67.68.99,1.42,1.13,1.88-1.04.33-3.32,1.12-4.77,1.59.43-1.41,1.15-3.61,1.5-4.77ZM21.55,5.88s-.08.08-.14.14c-.24-.61-.65-1.39-1.37-2.12-.73-.74-1.48-1.18-2.08-1.44.05-.05.09-.09.11-.1.09-.08.86-.83,1.83-.83.56,0,1.11.25,1.63.76.62.6.94,1.18.95,1.75.01.58-.3,1.19-.93,1.84h0Z\" stroke-width=\"0\"/>", O = "<path d=\"m1.5,22.5v-8.65h21v8.65H1.5Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><path d=\"m1.5,10.15V1.5h21v8.65H1.5Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/>", k = "<path d=\"m1.5,1.5h8.65v8.65H1.5V1.5Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><path d=\"m1.5,13.85h8.65v8.65H1.5v-8.65Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><path d=\"m13.85,1.5h8.65v8.65h-8.65V1.5Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><path d=\"m13.85,13.85h8.65v8.65h-8.65v-8.65Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/>", A = "<path d=\"m17.8,6.25v10.5c0,.65-.02,1.23-.09,1.74-.3,2.76-1.61,3.51-5.16,3.51h-2.1c-3.55,0-4.85-.75-5.16-3.51-.07-.51-.09-1.09-.09-1.74V6.25c0-.65.02-1.23.09-1.74.3-2.76,1.61-3.51,5.16-3.51h2.1c3.55,0,4.85.75,5.16,3.51.07.51.09,1.09.09,1.74Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><path d=\"m5.2,16.75c0,.65.02,1.23.09,1.74-.15.01-.28.01-.44.01h-.36c-2.79,0-3.5-.7-3.5-3.51v-6.99c0-2.8.7-3.51,3.5-3.51h.36c.16,0,.29,0,.44.01-.07.51-.09,1.09-.09,1.74v10.5Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><path d=\"m22,8v6.99c0,2.8-.7,3.51-3.5,3.51h-.36c-.16,0-.29,0-.44-.01.07-.51.09-1.09.09-1.74V6.25c0-.65-.02-1.23-.09-1.74.15-.01.28-.01.44-.01h.36c2.79,0,3.5.7,3.5,3.51Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/>", j = "<path d=\"m1.5,6.35h14.44c2.45,0,3.68,0,4.59.65.6.43,1.1,1.04,1.44,1.77.53,1.12.53,2.63.53,5.65s0,4.53-.53,5.65c-.35.74-.84,1.35-1.44,1.77-.91.65-2.14.65-4.59.65H6.75M1.5,6.35L5.44,1.5M1.5,6.35l3.94,4.85\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>", M = "<path d=\"m22.5,6.35h-14.44c-2.45,0-3.68,0-4.59.65-.6.43-1.1,1.04-1.44,1.77-.53,1.12-.53,2.63-.53,5.65s0,4.53.53,5.65c.35.74.84,1.35,1.44,1.77.91.65,2.14.65,4.59.65h9.19m5.25-16.15l-3.94-4.85m3.94,4.85l-3.94,4.85\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\"/>", N = "<path fill=\"currentColor\" d=\"m5.47,9.02c.21.31.56.48.93.48.07,0,.15,0,.22-.02.45-.09.79-.42.88-.86l1.25-6.11c.06-.28,0-.58-.17-.82s-.42-.41-.71-.46L1.58.02c-.45-.09-.9.1-1.15.46C.18.85.18,1.33.43,1.7l2.13,3.1C.9,6.85,0,9.37,0,12c0,4.64,2.83,8.84,7.2,10.69.15.06.3.09.45.09.43,0,.84-.24,1.03-.65.25-.55-.01-1.2-.58-1.44-3.56-1.51-5.85-4.92-5.85-8.69,0-1.89.58-3.72,1.65-5.27l1.58,2.29Zm.86-5.86l-.5,2.46-2.02-2.94,2.53.49Z\"/><path fill=\"currentColor\" d=\"m21.44,19.2c1.66-2.05,2.56-4.58,2.56-7.2,0-4.64-2.83-8.84-7.2-10.69-.57-.24-1.23.01-1.48.56-.25.55.01,1.2.58,1.44,3.56,1.51,5.85,4.92,5.85,8.69,0,1.89-.58,3.72-1.64,5.27l-1.58-2.29c-.25-.37-.71-.55-1.15-.46-.45.09-.79.42-.88.86l-1.25,6.11c-.06.28,0,.58.17.82.17.24.42.41.71.46l6.29,1.22c.07.01.15.02.22.02.01,0,.02,0,.03,0,.6-.02,1.09-.5,1.09-1.09,0-.24-.08-.47-.22-.65l-2.1-3.06Zm-3.77,1.63l.5-2.46,2.02,2.95-2.53-.49Z\"/>", P = "<path d=\"m9.8,18.89l-6.05.54.55-5.89L16.68,1.49c.73-.71,1.93-.62,2.66.09l2.75,2.68c.73.71.82,1.87.09,2.59l-12.37,12.05Z\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"14.75\" y1=\"3.37\" x2=\"20.25\" y2=\"8.72\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/><line x1=\"1\" y1=\"23\" x2=\"23\" y2=\"23\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/>", F = "<path d=\"m1,22h22c.55,0,1,.45,1,1s-.45,1-1,1H1c-.55,0-1-.45-1-1s.45-1,1-1Zm12-7.93l7.38-7.39,1.41,1.41-9.9,9.9L2,8.1l1.41-1.41,7.59,7.59V0h2v14.07h0Z\" fill=\"currentColor\"/>", I = "<path d=\"M.4,21.4,9.9,12,.4,2.6A1.4,1.4,0,0,1,.5.5a1.3,1.3,0,0,1,2,0L12,9.9,21.4.5A1.5,1.5,0,0,1,23.5.4a1.5,1.5,0,0,1,.1,2.1h-.1L14.1,12l9.4,9.4a1.5,1.5,0,1,1-2,2.2h-.1L12,14.1,2.5,23.5a1.4,1.4,0,0,1-2.1,0,1.7,1.7,0,0,1,0-2.1Z\" fill=\"currentColor\"/>", L = "<path d=\"M12 2v20\" stroke=\"currentColor\"/><path d=\"m15 19-3 3-3-3\" stroke=\"currentColor\"/><path d=\"m19 9 3 3-3 3\" stroke=\"currentColor\"/><path d=\"M2 12h20\" stroke=\"currentColor\"/><path d=\"m5 9-3 3 3 3\" stroke=\"currentColor\"/><path d=\"m9 5 3-3 3 3\" stroke=\"currentColor\"/>", R = "<path d=\"m15 14 5-5-5-5\" stroke=\"currentColor\"/><path d=\"M4 20v-7a4 4 0 0 1 4-4h12\" stroke=\"currentColor\"/>", z = "<path d=\"M17.5 0h-9L7 1.5V6H2.5L1 7.5v15.07L2.5 24h12.07L16 22.57V18h4.7l1.3-1.43V4.5L17.5 0zm0 2.12l2.38 2.38H17.5V2.12zm-3 20.38h-12v-15H7v9.07L8.5 18h6v4.5zm6-6h-12v-15H16V6h4.5v10.5z\" fill=\"currentColor\"/>";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { n as IconArrowDown, i as IconArrowLeft, r as IconArrowRight, t as IconArrowUp, s as IconBars, a as IconBold, l as IconClearFormatting, I as IconClose, x as IconCode, N as IconConvert, R as IconCornerUpRight, F as IconDownload, T as IconFile, z as IconFiles, p as IconHeader1, m as IconHeader2, h as IconHeader3, g as IconHeader4, _ as IconHeader5, v as IconHeader6, S as IconImage, o as IconItalic, c as IconLink, y as IconList, P as IconMarker, L as IconMove, k as IconMultipleGrid, u as IconNewTab, b as IconOrderedList, f as IconParagraph, D as IconPencil, E as IconPlay, d as IconPlus, M as IconRedo, O as IconSingleGrid, A as IconSlider, w as IconSubscript, C as IconSuperscript, e as IconTrash, j as IconUndo };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//#region src/locales/en.ts
|
|
2
|
+
var e = {
|
|
3
|
+
actions: "Actions",
|
|
4
|
+
delete: "Delete",
|
|
5
|
+
done: "Done",
|
|
6
|
+
deleteAction: "Delete block",
|
|
7
|
+
moveUpAction: "Move up",
|
|
8
|
+
moveDownAction: "Move down",
|
|
9
|
+
paragraphPlaceholder: "Enter your text",
|
|
10
|
+
headerPlaceholder: "Enter your title",
|
|
11
|
+
codePlaceholder: "Enter your code",
|
|
12
|
+
confirmAction: "Confirm the action",
|
|
13
|
+
enterLink: "Enter the link",
|
|
14
|
+
openInNewTab: "Open in a new tab",
|
|
15
|
+
uploadFile: "Upload file",
|
|
16
|
+
uploadFiles: "Upload files",
|
|
17
|
+
addFiles: "Add files",
|
|
18
|
+
createAction: "Add block",
|
|
19
|
+
paragraph: "Paragraph",
|
|
20
|
+
code: "Code",
|
|
21
|
+
files: "Files",
|
|
22
|
+
gallery: "Gallery",
|
|
23
|
+
header1: "Header 1",
|
|
24
|
+
header2: "Header 2",
|
|
25
|
+
header3: "Header 3",
|
|
26
|
+
header4: "Header 4",
|
|
27
|
+
header5: "Headline 5",
|
|
28
|
+
header6: "Header 6",
|
|
29
|
+
list: "List",
|
|
30
|
+
orderedList: "Ordered list",
|
|
31
|
+
emptyUrl: "Request error. The server url is not specified",
|
|
32
|
+
fileUploadError: "Error when uploading",
|
|
33
|
+
fileUploadMaxItems: "The upload was rejected because the total number of items exceeds the maximum allowed",
|
|
34
|
+
fileUploadSuccess: "Files uploaded",
|
|
35
|
+
invalidFileType: "Invalid file type",
|
|
36
|
+
edit: "Edit",
|
|
37
|
+
caption: "Caption",
|
|
38
|
+
fileName: "File Name",
|
|
39
|
+
desc: "Detailed description",
|
|
40
|
+
save: "Save",
|
|
41
|
+
cancel: "Cancel",
|
|
42
|
+
appearance: "Appearance",
|
|
43
|
+
single: "Single",
|
|
44
|
+
grid: "Grid",
|
|
45
|
+
slide: "Slider",
|
|
46
|
+
undo: "Undo",
|
|
47
|
+
redo: "Redo",
|
|
48
|
+
select: "Select",
|
|
49
|
+
convert: "Convert",
|
|
50
|
+
downloadFile: "Download file",
|
|
51
|
+
moveLeft: "Move left",
|
|
52
|
+
moveRight: "Move right",
|
|
53
|
+
notSpecified: "Not specified",
|
|
54
|
+
search: "Search",
|
|
55
|
+
marker: "Marker",
|
|
56
|
+
bold: "Bold",
|
|
57
|
+
italic: "Italic",
|
|
58
|
+
link: "Link",
|
|
59
|
+
clearFormatting: "Clear formatting",
|
|
60
|
+
subscript: "Subscript",
|
|
61
|
+
superscript: "Superscript",
|
|
62
|
+
close: "Close",
|
|
63
|
+
move: "Move",
|
|
64
|
+
requiredField: "Required field",
|
|
65
|
+
maxItems: "The maximum number of elements has been reached"
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
export { e as EnLocale };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//#region src/locales/ru.ts
|
|
2
|
+
var e = {
|
|
3
|
+
actions: "Действия",
|
|
4
|
+
delete: "Удалить",
|
|
5
|
+
done: "Готово",
|
|
6
|
+
deleteAction: "Удалить блок",
|
|
7
|
+
moveUpAction: "Переместить вверх",
|
|
8
|
+
moveDownAction: "Переместить вниз",
|
|
9
|
+
paragraphPlaceholder: "Введите ваш текст",
|
|
10
|
+
headerPlaceholder: "Введите ваш заголовок",
|
|
11
|
+
codePlaceholder: "Введите ваш код",
|
|
12
|
+
confirmAction: "Подтвердить действие",
|
|
13
|
+
enterLink: "Введите ссылку",
|
|
14
|
+
openInNewTab: "Открыть в новой вкладке",
|
|
15
|
+
uploadFile: "Загрузить файл",
|
|
16
|
+
uploadFiles: "Загрузить файлы",
|
|
17
|
+
addFiles: "Добавить файлы",
|
|
18
|
+
createAction: "Добавить блок",
|
|
19
|
+
paragraph: "Параграф",
|
|
20
|
+
code: "Код",
|
|
21
|
+
files: "Файлы",
|
|
22
|
+
gallery: "Галерея",
|
|
23
|
+
header1: "Заголовок 1",
|
|
24
|
+
header2: "Заголовок 2",
|
|
25
|
+
header3: "Заголовок 3",
|
|
26
|
+
header4: "Заголовок 4",
|
|
27
|
+
header5: "Заголовок 5",
|
|
28
|
+
header6: "Заголовок 6",
|
|
29
|
+
list: "Список",
|
|
30
|
+
orderedList: "Упорядоченный список",
|
|
31
|
+
emptyUrl: "Ошибка запроса. Не указан URL-адрес сервера",
|
|
32
|
+
fileUploadError: "Ошибка загрузки",
|
|
33
|
+
fileUploadMaxItems: "Загрузка отклонена, так как общее количество элементов превышает максимально допустимое",
|
|
34
|
+
fileUploadSuccess: "Файлы загружены",
|
|
35
|
+
invalidFileType: "Недопустимый формат файла",
|
|
36
|
+
edit: "Редактировать",
|
|
37
|
+
caption: "Подпись",
|
|
38
|
+
fileName: "Имя файла",
|
|
39
|
+
desc: "Подробное описание",
|
|
40
|
+
save: "Сохранить",
|
|
41
|
+
cancel: "Отменить",
|
|
42
|
+
appearance: "Внешний вид",
|
|
43
|
+
single: "Одиночный",
|
|
44
|
+
grid: "Сетка",
|
|
45
|
+
slider: "Слайдер",
|
|
46
|
+
undo: "Отменить",
|
|
47
|
+
redo: "Повторить",
|
|
48
|
+
select: "Выбрать",
|
|
49
|
+
convert: "Конвертировать",
|
|
50
|
+
downloadFile: "Скачать файл",
|
|
51
|
+
moveLeft: "Переместиться влево",
|
|
52
|
+
moveRight: "Переместиться вправо",
|
|
53
|
+
notSpecified: "Не указан",
|
|
54
|
+
search: "Поиск",
|
|
55
|
+
marker: "Маркер",
|
|
56
|
+
bold: "Жирный",
|
|
57
|
+
italic: "Курсив",
|
|
58
|
+
link: "Ссылка",
|
|
59
|
+
clearFormatting: "Очистить форматирование",
|
|
60
|
+
subscript: "Нижний индекс",
|
|
61
|
+
superscript: "Верхний индекс",
|
|
62
|
+
close: "Закрыть",
|
|
63
|
+
move: "Переместить",
|
|
64
|
+
requiredField: "Обязательное поле",
|
|
65
|
+
maxItems: "Достигнуто максимальное количество элементов"
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
export { e as RuLocale };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//#region src/utils/ajax.ts
|
|
2
|
+
function e(e, t = {}) {
|
|
3
|
+
return new Promise((n, r) => {
|
|
4
|
+
let { method: i = "GET", data: a, headers: o = {}, progress: s, success: c, error: l, timeout: u = 3e4 } = t, d = new XMLHttpRequest();
|
|
5
|
+
d.open(i, e, !0), d.timeout = u, !(a instanceof FormData) && typeof a == "object" && a && d.setRequestHeader("Content-Type", "application/json");
|
|
6
|
+
for (let [e, t] of Object.entries(o)) d.setRequestHeader(e, t);
|
|
7
|
+
s && i !== "GET" && a && d.upload.addEventListener("progress", (e) => {
|
|
8
|
+
e.lengthComputable && s(Math.round(e.loaded / e.total * 100), e.loaded, e.total);
|
|
9
|
+
}), s && d.addEventListener("progress", (e) => {
|
|
10
|
+
e.lengthComputable && s(Math.round(e.loaded / e.total * 100), e.loaded, e.total);
|
|
11
|
+
}), d.onload = () => {
|
|
12
|
+
if (d.status >= 200 && d.status < 300) try {
|
|
13
|
+
let e = JSON.parse(d.responseText);
|
|
14
|
+
c?.(e), n(e);
|
|
15
|
+
} catch {
|
|
16
|
+
let e = d.responseText;
|
|
17
|
+
c?.(e), n(e);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
let e = /* @__PURE__ */ Error(`Request failed with status ${d.status}`);
|
|
21
|
+
l?.(e), r(e);
|
|
22
|
+
}
|
|
23
|
+
}, d.onerror = () => {
|
|
24
|
+
let e = /* @__PURE__ */ Error("Network error");
|
|
25
|
+
l?.(e), r(e);
|
|
26
|
+
}, d.ontimeout = () => {
|
|
27
|
+
let e = /* @__PURE__ */ Error("Request timeout");
|
|
28
|
+
l?.(e), r(e);
|
|
29
|
+
};
|
|
30
|
+
let f;
|
|
31
|
+
a && (f = a instanceof FormData ? a : typeof a == "object" ? JSON.stringify(a) : String(a)), d.send(f);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { e as ajax };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region src/utils/common.ts
|
|
2
|
+
function e() {
|
|
3
|
+
let e = navigator.userAgent.toLowerCase();
|
|
4
|
+
return /android/.test(e) && !/chrome os|cros/.test(e) ? "android" : /ipad|iphone|ipod/.test(e) || /mac/.test(e) && navigator.maxTouchPoints > 1 ? "ios" : /windows phone|iemobile|edge mobile/.test(e) ? "windows_phone" : "other";
|
|
5
|
+
}
|
|
6
|
+
function t(e) {
|
|
7
|
+
if (e) return {
|
|
8
|
+
x: "touches" in e ? e.touches[0].clientX : e.clientX,
|
|
9
|
+
y: "touches" in e ? e.touches[0].clientY : e.clientY
|
|
10
|
+
};
|
|
11
|
+
let t = n();
|
|
12
|
+
return t ? {
|
|
13
|
+
x: t.left,
|
|
14
|
+
y: t.bottom
|
|
15
|
+
} : null;
|
|
16
|
+
}
|
|
17
|
+
function n() {
|
|
18
|
+
let e = window.getSelection();
|
|
19
|
+
return !e || e.rangeCount === 0 ? null : e.getRangeAt(0).getBoundingClientRect();
|
|
20
|
+
}
|
|
21
|
+
function r(e, t, n = []) {
|
|
22
|
+
let r = e[t];
|
|
23
|
+
return typeof r == "function" ? r.apply(e, n) : null;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { e as detectMobileOS, r as executeMethodIfExists, t as getCaretPosition, n as getSelectionRect };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/utils/icon.ts
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = {
|
|
4
|
+
classes: "",
|
|
5
|
+
width: 24,
|
|
6
|
+
height: 24,
|
|
7
|
+
...t
|
|
8
|
+
};
|
|
9
|
+
return typeof e == "string" ? "<svg " + (n.classes ? n.classes : "") + " xmlns=\"http://www.w3.org/2000/svg\" class=\"tex-icon\" width=\"" + n.width + "\" height=\"" + n.height + "\" fill=\"none\" viewBox=\"0 0 24 24\" >" + e + "</svg>" : typeof e == "object" && e.raw ? e.raw : "";
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as renderIcon };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/utils/sanitizer.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
let t = typeof e == "string" ? e : JSON.stringify(e), n = RegExp("[\0-]", "g"), r = t.replace(n, (e) => {
|
|
4
|
+
let t = e.charCodeAt(0);
|
|
5
|
+
return t === 9 || t === 10 || t === 13 ? e : "";
|
|
6
|
+
}), i = RegExp("[-\u2028- --]", "g");
|
|
7
|
+
r = r.replace(i, ""), r = r.replace(n, (e) => "\\u" + e.charCodeAt(0).toString(16).padStart(4, "0"));
|
|
8
|
+
try {
|
|
9
|
+
return JSON.stringify(JSON.parse(r));
|
|
10
|
+
} catch {
|
|
11
|
+
let e = RegExp("[^ -~ \n\r]", "g"), t = r.replace(e, "");
|
|
12
|
+
try {
|
|
13
|
+
return JSON.stringify(JSON.parse(t));
|
|
14
|
+
} catch {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { e as sanitizeJson };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { executeMethodIfExists as e } from "../utils/common.mjs";
|
|
2
|
+
import { C as t, S as n, ie as r, w as i, y as a } from "../../node_modules/snappykit/dist/snappykit.mjs";
|
|
3
|
+
//#region src/views/extensions.ts
|
|
4
|
+
function o(o) {
|
|
5
|
+
let { extensions: s } = o, c = s.getExtensions();
|
|
6
|
+
return c.length ? r("div", (o) => {
|
|
7
|
+
a(o, "tex-extensions"), c.forEach((s) => {
|
|
8
|
+
let c = s.getElement(), l = s.getGroupName ? s.getGroupName() : "";
|
|
9
|
+
l ? t(".tex-extensions-group-" + l, o) ? n(".tex-extensions-group-" + l, (e) => {
|
|
10
|
+
i(e, c);
|
|
11
|
+
}, o) : i(o, r("div", (e) => {
|
|
12
|
+
a(e, "tex-extensions-group-" + l + " tex-extensions-group"), i(e, c);
|
|
13
|
+
})) : i(o, c), e(s, "__onMount", [c]);
|
|
14
|
+
});
|
|
15
|
+
}) : document.createTextNode("");
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { o as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ie as e, w as t, y as n } from "../../node_modules/snappykit/dist/snappykit.mjs";
|
|
2
|
+
import r from "./tools.mjs";
|
|
3
|
+
import i from "./extensions.mjs";
|
|
4
|
+
//#region src/views/main.ts
|
|
5
|
+
function a(a) {
|
|
6
|
+
return e("div", (o) => {
|
|
7
|
+
n(o, "tex"), t(o, [
|
|
8
|
+
i(a),
|
|
9
|
+
r(),
|
|
10
|
+
e("div", (r) => {
|
|
11
|
+
n(r, "tex-wrap"), t(r, e("div", (e) => {
|
|
12
|
+
n(e, "tex-blocks");
|
|
13
|
+
}));
|
|
14
|
+
})
|
|
15
|
+
]);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { a as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ie as e, w as t, y as n } from "../../node_modules/snappykit/dist/snappykit.mjs";
|
|
2
|
+
//#region src/views/tools.ts
|
|
3
|
+
function r() {
|
|
4
|
+
return e("div", (r) => {
|
|
5
|
+
n(r, "tex-tools"), t(r, e("div", (e) => n(e, "tex-tools-list"))), t(r, e("div", (e) => n(e, "tex-tools-content")));
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const currentStore: {
|
|
2
|
+
get(key: "index" | "el"): number | HTMLElement | null;
|
|
3
|
+
set<K extends "index" | "el">(key: K, value: {
|
|
4
|
+
el: HTMLElement | null;
|
|
5
|
+
index: number;
|
|
6
|
+
}[K]): void;
|
|
7
|
+
has(key: string): boolean;
|
|
8
|
+
delete(key: "index" | "el"): boolean;
|
|
9
|
+
getAll(): {
|
|
10
|
+
el: HTMLElement | null;
|
|
11
|
+
index: number;
|
|
12
|
+
};
|
|
13
|
+
clear(): void;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=currentStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currentStore.d.ts","sourceRoot":"","sources":["../../src/store/currentStore.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;YACX,WAAW,GAAG,IAAI;;;;;;YAAlB,WAAW,GAAG,IAAI;;;;CAE9B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TexditorRootElement } from '../types';
|
|
2
|
+
export declare const mainStore: {
|
|
3
|
+
get(key: "editors"): TexditorRootElement[];
|
|
4
|
+
set<K extends "editors">(key: K, value: {
|
|
5
|
+
editors: TexditorRootElement[];
|
|
6
|
+
}[K]): void;
|
|
7
|
+
has(key: string): boolean;
|
|
8
|
+
delete(key: "editors"): boolean;
|
|
9
|
+
getAll(): {
|
|
10
|
+
editors: TexditorRootElement[];
|
|
11
|
+
};
|
|
12
|
+
clear(): void;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=mainStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mainStore.d.ts","sourceRoot":"","sources":["../../src/store/mainStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAO9C,eAAO,MAAM,SAAS;;;iBAJK,mBAAmB,EAAE;;;;;iBAArB,mBAAmB,EAAE;;;CAIF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-animate-fadeIn{animation-name:fadeIn;animation-duration:.5s;animation-fill-mode:both}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-ui-vs-selected{transition:background .1s;background:var(--tex-vs-ui-selected-bg)!important;border-color:var(--tex-vs-ui-selected-border-color)!important}.tex-ui-vs-rect{border:var(--tex-vs-ui-border);background:var(--tex-vs-ui-bg);pointer-events:none;z-index:10000;border-radius:var(--tex-vs-ui-radius);will-change:left, top, width, height;display:none;position:fixed}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-slider{width:100%;display:block;position:relative;overflow:hidden}.tex-slider-container{transition:transform .3s ease-in-out;display:flex}.tex-slide{background:var(--tex-background-secondary);box-sizing:border-box;border:1px solid #ddd;justify-content:center;align-items:center;min-height:120px;max-height:500px;font-size:24px;display:flex}.tex-slider-btn{background:var(--tex-background);cursor:pointer;z-index:10;opacity:.6;width:32px;height:32px;color:var(--tex-fill);border:none;border-radius:50%;justify-content:center;align-items:center;font-size:20px;transition:all .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.tex-slider-btn:hover{opacity:.4;transform:translateY(-50%)scale(1.1)}.tex-slider-btn.tex-slider-prev{left:10px}.tex-slider-btn.tex-slider-next{right:10px}.tex-slider-dots{z-index:10;gap:8px;display:flex;position:absolute;bottom:15px;left:50%;transform:translate(-50%)}.tex-slider-dot{background:var(--tex-background);cursor:pointer;opacity:.7;border:none;border-radius:50%;width:10px;height:10px;padding:0;transition:all .2s}.tex-slider-dot:hover{opacity:.4}.tex-slider-dot.active{background:var(--tex-button-bg);opacity:1;transform:scale(1.2)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-code{position:relative}.tex-code pre{background-color:var(--tex-background-secondary);white-space:pre-wrap;border:0;border-radius:6px}.tex-block.tex-code .tex-block-content{padding-top:32px}.tex-code .tex-block-content{min-height:60px;padding:4px 8px;transition:all .3s}.tex-code-lang{z-index:10;position:absolute;top:4px;left:8px}.tex-code-lang-link{color:var(--tex-color);cursor:pointer;align-items:center;gap:8px;font-weight:600;transition:opacity .3s;display:flex}.tex-code-menu{background-color:var(--tex-background);box-shadow:0 0 8px 0 var(--tex-shadow-color);border:1px solid var(--tex-border-color);border-radius:8px;width:200px;max-height:200px;margin-top:6px;display:none;position:absolute;left:0;overflow:hidden auto}.tex-code-menu-item{border-bottom:1px solid var(--tex-border-color);cursor:pointer;padding:4px 12px;transition:all .5s}.tex-code-menu-item:last-child{border-bottom:0}.tex-code-menu-search{border-bottom:1px solid var(--tex-border-color);padding:8px}.tex-code-menu-search input{width:100%}.tex-code.tex-block-active .tex-code-line-break-info{display:flex}.tex-code-line-break-info{color:var(--tex-color-light);-webkit-user-select:none;user-select:none;align-items:center;gap:4px;font-size:12px;display:none;position:absolute;top:4px;right:8px}@media (hover:hover){.tex-code-lang-link:hover{opacity:.6}.tex-code-menu-item:hover{opacity:.6;color:var(--tex-color-secondary)}}@media screen and (width<=768px){.tex-code-line-break-info{display:none!important}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-files{border:1px solid var(--tex-border-color);border-radius:6px;grid-template-columns:1fr;gap:16px;padding:12px;display:grid}.tex-files-form{align-items:center;gap:12px;display:flex}.tex-files-form-uploader{background-color:var(--tex-background-secondary);z-index:1;border-radius:6px;position:relative;overflow:hidden}.tex-files-form-uploader input:disabled+label,.tex-files-form-uploader input:disabled~label{opacity:.5;cursor:not-allowed}.tex-files-form-progress{background-color:var(--tex-background-secondary);z-index:3;width:100%;height:100%;position:absolute;top:0;left:0}.tex-files-counter{font-size:var(--tex-small-font-size);color:var(--tex-color-light);white-space:nowrap;align-items:center;gap:8px;margin-top:-9px;padding-left:12px;display:flex;position:absolute;top:50%;right:10px}.tex-files-form-progress-percent{color:var(--tex-progress-color);z-index:5;width:100%;height:100%;font-weight:600;font-size:var(--tex-message-font-size);justify-content:center;align-items:center;display:flex;position:absolute;top:0;left:0}.tex-files-form-progress-line{background-color:var(--tex-progress-background);z-index:4;width:1%;height:100%;font-weight:600;transition:all 1s;position:absolute;top:0;left:0}.tex-files-form-uploader label{padding:6px}.tex-files-form-uploader,.tex-files-form-uploader label{cursor:pointer;width:100%;height:100%;transition:opacity 1s;display:grid}.tex-files-form-label-container{justify-content:center;align-items:center;gap:8px;width:100%;height:100%;font-weight:500;display:flex;position:relative}.tex-files-form-label{z-index:2;position:relative}.tex-files-form-label-message{text-align:center;color:var(--tex-color-light);font-size:12px}.tex-files-content{grid-template-columns:1fr;gap:12px;display:grid}.tex-files-content:has(>.tex-file:only-child){padding-top:unset}.tex-file-default{grid-template-columns:1fr;gap:12px;display:grid;position:relative}.tex-files-actions{z-index:1;width:100%;height:100%;display:none;position:absolute;top:0;left:0}.tex-files-actions-buttons{z-index:10;background-color:var(--tex-background);border-radius:4px;align-items:center;gap:8px;display:flex;position:absolute;top:12px;right:12px}.tex-files-actions-btn{color:var(--tex-fill);cursor:pointer;justify-content:center;align-items:center;width:22px;height:22px;transition:all .2s;display:flex}.tex-files-actions-wrap{background:var(--tex-background-overlay);justify-content:center;align-items:center;gap:12px;width:100%;height:100%;display:flex}.tex-files-actions-list{background:var(--tex-background);border-radius:6px;display:flex}.tex-file-action{cursor:pointer;color:var(--tex-color);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px;transition:all 1s;display:flex}.tex-file-action .tex-model-title{font-size:var(--tex-font-size-small)}.tex-file-action-delete{color:var(--tex-error)}.tex-file-layout-wrap{background:var(--tex-background-secondary);color:var(--tex-fill);gap:12px;padding:16px 12px;display:flex}.tex-file-layout-left{flex-grow:1;gap:12px;display:flex}.tex-file-fileName{color:var(--tex-color);font-weight:600}.tex-file-caption{font-weight:500}.tex-file-desc,.tex-file-layout-size{font-size:var(--tex-font-size-small,12px)}.tex-file-layout-icon-wrap{background-color:var(--tex-background-secondary);border:1px solid var(--tex-border-color);border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex;position:relative;overflow:hidden}.tex-file-layout-img{object-fit:cover;width:100%;height:100%;position:absolute;top:0;left:0}.tex-file-layout-content{grid-template-columns:1fr;gap:4px;display:grid}.tex-files-edit-form-field .tex-input{width:100%;padding:12px}.tex-file-wrapper{border-radius:6px;overflow:hidden}.tex-files-edit-popup{z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.tex-files-edit-popup-overlay{background:var(--tex-background-overlay);justify-content:center;align-items:flex-start;width:100%;height:100%;padding:16px;display:flex}.tex-files-edit-popup-content{background:var(--tex-background);width:100%;max-height:80vh;box-shadow:0 6px 16px var(--tex-shadow-color);border-radius:8px;grid-template-columns:1fr;gap:24px;padding:24px;display:grid;position:relative}.tex-files-edit-form{grid-template-columns:1fr;gap:16px;display:grid}.tex-files-edit-form-header{font-size:18px;font-weight:700}.tex-files-edit-form-body{grid-template-columns:1fr;gap:16px;display:grid}.tex-files-edit-form-footer{border-top:1px solid var(--tex-border-color);gap:16px;margin:0 -24px;padding:24px 24px 0;display:flex}.tex-file-moveRight.not-active,.tex-file-moveLeft.not-active,.tex-file-desc:empty,.tex-file-caption:empty{display:none}@media (hover:hover){.tex-files-actions-btn:hover{opacity:.4;transform:scale(1.1)}.tex-files-form-uploader:hover{opacity:.5}.tex-files-action:hover{opacity:.6;background-color:var(--tex-background-lite)}}@media screen and (width<=768px){.tex-files-list{grid-template-columns:1fr}.tex-files-counter{margin-top:0;padding-left:12px;position:static}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-gallery .tex-block-content{grid-template-columns:1fr;gap:16px;display:grid}.tex-gallery[data-options-style~=grid] .tex-block-content{grid-template-columns:1fr 1fr}.tex-gallery[data-options-style~=grid] .tex-file-wrapper{padding-top:100%}.tex-gallery[data-options-style~=single] .tex-block-content{grid-template-columns:1fr;gap:12px}.tex-gallery[data-options-style~=slider] .tex-block-content{gap:0;display:flex}.tex-gallery .tex-file{cursor:pointer;grid-template-columns:1fr;gap:12px;display:grid;position:relative}.tex-gallery[data-options-style~=slider] .tex-file-wrapper{padding-top:56.6667%}.tex-gallery .tex-item-body{-webkit-user-select:none;user-select:none;background:var(--tex-background-secondary);border-radius:6px;overflow:hidden}.tex-gallery .tex-item-body img,.tex-gallery .tex-item-body video{object-fit:cover;width:100%;display:block}.tex-gallery[data-options-style~=grid] .tex-item-body img,.tex-gallery[data-options-style~=slider] .tex-item-body img,.tex-gallery[data-options-style~=grid] .tex-item-body video,.tex-gallery[data-options-style~=slider] .tex-item-body video{width:100%;height:100%;position:absolute;top:0}.tex-gallery[data-options-style~=grid] .tex-item-body,.tex-gallery[data-options-style~=slider] .tex-item-body{width:100%;height:100%;position:relative;top:0;left:0}.tex-gallery .tex-item-body>*{width:100%}.tex-gallery[data-options-style~=grid] .tex-file-layout,.tex-gallery[data-options-style~=slider] .tex-file-layout{flex-direction:column;justify-content:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tex-gallery[data-options-style~=slider] .tex-item-drag-zone{display:none}.tex-gallery .tex-file-layout{position:relative}.tex-gallery-item-play{color:var(--tex-background);opacity:.8;position:absolute;top:12px;left:12px}.tex-gallery-styles{color:var(--tex-fill)}.tex-gallery-style-list{align-items:center;display:flex}.tex-gallery-right{justify-content:flex-end}.tex-gallery-left{justify-content:flex-start}.tex-gallery-style-item{cursor:pointer;padding:6px;transition:all 1s}.tex-gallery-style-item.tex-active{color:var(--tex-color-secondary)}@media (hover:hover){.tex-gallery-style-item:hover{opacity:.6;background-color:var(--tex-background-lite)}}@media screen and (width<=768px){.tex-gallery .tex-block-content{grid-template-columns:1fr}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-list .tex-block-content{grid-template-columns:1fr;gap:6px;margin:0;padding:0 0 0 18px;display:grid;position:relative}.tex-list-item-body{padding-right:24px}.tex-list-item-body:focus{background-color:var(--tex-background-lite);outline:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-paragraph{margin:0;position:relative}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-block code{background-color:var(--tex-background-secondary);border-radius:4px;padding:2px 4px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tex-link-form{border-radius:4px;align-items:center;gap:8px;padding:6px 12px;display:flex}.tex-link-form-btn{cursor:pointer;background-color:var(--tex-background-secondary);border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;padding:2px;transition:all .7s;display:flex}.tex-link-form-del-btn{color:var(--tex-error)}.tex-link-form-target-btn svg{fill:var(--tex-color)}.tex-link-form-target-btn.tex-active{background-color:var(--tex-background-lite)}.tex-link-form-target-btn.tex-active svg{fill:var(--tex-color-secondary)}.tex-link-input{background:var(--tex-background);border:0;outline:none;max-width:130px}@media (hover:hover){.tex-link-form-btn:hover{opacity:.6}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{box-sizing:border-box}.tex{width:100%;max-width:var(--tex-max-width);color:var(--tex-color);margin:0 auto}.tex [contenteditable=true]{-webkit-user-select:text;user-select:text}.tex,.tex-wrap{position:relative}.tex-blocks{outline:none;grid-template-columns:1fr;gap:12px;padding-bottom:180px;display:grid}.tex-blocks h1,.tex-blocks h2,.tex-blocks h3,.tex-blocks h4,.tex-blocks h5,.tex-blocks h6{margin:0;padding:8px 0;line-height:3rem}.tex-blocks h1{line-height:36px}.tex-blocks h2{line-height:28px}.tex-blocks h3{line-height:24px}.tex-blocks h4{line-height:20px}.tex-blocks h5{line-height:18px}.tex-blocks h6{line-height:16px}.tex-block{word-break:break-all;transition:all 1s;position:relative}.tex-block,.tex-block-content{outline:none;margin:0}.tex-block-content[data-empty=true]:before{content:attr(data-placeholder);opacity:.5;justify-content:center;align-items:center;display:flex;position:absolute}.tex-block-content:focus,.tex-block-active{background-color:var(--tex-background-lite)}.tex-actions{top:var(--tex-actions-top);left:var(--tex-actions-left);z-index:999;transition:top .3s;display:none;position:absolute}.tex-block-active .tex-actions{display:block}.tex-actions-btn{cursor:pointer;color:var(--tex-color);-webkit-user-select:none;user-select:none;padding:4px;transition:opacity 1s;display:inline-flex}.tex-actions-content{background-color:var(--tex-background);box-shadow:0 0 8px 0 var(--tex-shadow-color);border:1px solid var(--tex-border-color);border-radius:8px;margin-top:4px;margin-bottom:16px;margin-left:6px;display:none;overflow:hidden}.tex-actions-content-body,.tex-actions-content-dropdown{display:grid}.tex-actions-content-dropdown{display:none}.tex-actions-content-dropdown.tex-active{display:grid}.tex-actions-content-dropdown h4{border-bottom:1px solid var(--tex-border-color);margin:0;padding:12px}.tex-action .tex-model-title{flex-grow:1}.tex-action,.tex-actions-content-dropdown-item{-webkit-user-select:none;user-select:none;cursor:pointer;align-items:center;gap:8px;padding:12px;transition:opacity 1s;display:flex}.tex-actions-content-dropdown-item{padding:6px 12px}.tex-action-confirm{background:var(--tex-background-secondary)}.tex-action-deleteAction{color:var(--tex-error);border-top:1px solid var(--tex-border-color)}.tex-action-deleteAction-confirm{background:var(--tex-error);color:#fff}.tex-icon{display:block}.tex-fill{fill:var(--tex-fill)}.tex-tools{background-color:var(--tex-background);box-shadow:0 0 8px 0 var(--tex-shadow-color);z-index:10;border-radius:6px;display:none}.tex-tools-fixed{z-index:1000;grid-template-columns:1fr;gap:12px;display:grid;position:fixed;top:0;left:0}.tex-tools-list{flex-wrap:wrap;display:flex}.tex-tools-content{display:none}.tex-tool{cursor:pointer;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:12px;display:flex}.tex-tool.active{color:var(--tex-color-secondary)}.tex-tool svg{display:block}.tex-tool .tex-model-title{font-size:var(--tex-small-font-size)}.tex-input{color:var(--tex-input-color);background:var(--tex-input-background);border:1px solid var(--tex-input-border);outline:none;padding:6px}.tex-hidden{display:none}.tex-message{font-weight:500;font-size:var(--tex-message-font-size)}.tex-message-error{color:var(--tex-error)}.tex-message-success{color:var(--tex-success)}.tex-btn{justify-content:center;align-items:center;font-weight:600;transition:all .7s;display:flex}.tex-btn-primary{background-color:var(--tex-button-bg);border:1px solid var(--tex-button-border-color);color:var(--tex-button-text-color)}.tex-btn-secondary{background-color:var(--tex-button-secondary-bg);border:1px solid var(--tex-button-secondary-border-color);color:var(--tex-button-secondary-text-color)}.tex-btn-radius{border-radius:4px}.tex-btn-padding{padding:8px 12px}.tex-extensions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.tex-extensions-group{flex-wrap:wrap;gap:16px;padding-right:8px;display:flex}.tex-extensions-group:last-child{padding-right:0}.tex-extension{color:var(--tex-color);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;transition:all 1s;display:flex}.tex-extensions-fixed{z-index:1000;background:var(--tex-extensions-fixed-bg);box-shadow:0 2px 5px var(--tex-shadow-color);z-index:999;border-radius:6px;margin-top:12px;padding:10px 12px;position:sticky;top:16px;left:50%}.tex-extension-not-active{opacity:.4}.tex-block-non-editable{opacity:.7;cursor:pointer!important;-webkit-user-select:none!important;user-select:none!important}.tex-block-non-editable *{pointer-events:none!important}.tex-block-selected{border-radius:4px;outline:2px solid var(--tex-selected-outline)!important;background-color:var(--tex-selected-background)!important}.tex-extension-active{color:var(--tex-color-secondary);opacity:1}.tex-extension-deleteSelected{color:var(--tex-error);opacity:1}.tex-selectable{cursor:default!important;-webkit-user-select:none!important;user-select:none!important}.tex-no-select{-webkit-user-select:none;user-select:none}.tex-sortable-item{outline:3px dashed var(--tex-vs-ui-selected-border-color);box-shadow:0 5px 15px #0003}.tex-sortable-invalid{outline:5px dashed var(--tex-error)}.tex-sortable-ghost{outline:3px dashed var(--tex-vs-ui-selected-border-color);box-shadow:0 5px 15px #0003}.tex-item{position:relative}.tex-item-drag-zone-default{cursor:move;margin-top:-9px;padding:4px;display:none;position:absolute;top:8px;right:0}.tex-block-active .tex-item-active .tex-item-drag-zone{display:block}.tex-block-active .tex-item:only-child .tex-item-drag-zone{display:none}.tex-toasts{grid-template-columns:1fr;gap:8px;display:grid}@media (hover:hover){.tex-action:hover,.tex-actions-content-dropdown-item:hover{opacity:.6;background-color:var(--tex-background-lite)}.tex-actions-btn:hover,.tex-extension:hover,.tex-btn:hover{opacity:.6}.tex-action-deleteAction-confirm:hover{background:var(--tex-error);color:#fff;opacity:.6}.tex-tool:hover{background-color:var(--tex-background-lite)}}@media screen and (width<=768px){.tex-actions{top:var(--tex-actions-top-mobile);left:var(--tex-actions-left-mobile)}.tex-actions-btn{background-color:var(--tex-background);box-shadow:0 0 8px 0 var(--tex-shadow-color);border:1px solid var(--tex-border-color);border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;margin-top:-36px}.tex-actions-btn svg{margin-top:3px}.tex-actions-content{margin-left:0}.tex-wrap{padding-top:28px}}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--tex-max-width: 650px;
|
|
3
|
+
--tex-vs-ui-bg: rgba(59, 130, 246, 0.15);
|
|
4
|
+
--tex-vs-ui-border: 2px dashed #3b82f6;
|
|
5
|
+
--tex-vs-ui-radius: 4px;
|
|
6
|
+
--tex-vs-ui-selected-bg: rgba(59, 130, 246, 0.1);
|
|
7
|
+
--tex-vs-ui-selected-border-color: #3b82f6;
|
|
8
|
+
--tex-fill: rgba(100, 100, 100, 0.7);
|
|
9
|
+
--tex-background: #fff;
|
|
10
|
+
--tex-color: #222;
|
|
11
|
+
--tex-input-background: #f5f5f5;
|
|
12
|
+
--tex-input-border: rgba(179, 179, 179, 0.2);
|
|
13
|
+
--tex-input-color: #333;
|
|
14
|
+
--tex-color-secondary: #42d392;
|
|
15
|
+
--tex-color-light: rgba(55, 55, 55, 0.5);
|
|
16
|
+
--tex-background-lite: rgba(204, 255, 204, 0.3);
|
|
17
|
+
--tex-background-secondary: rgba(150, 150, 150, 0.07);
|
|
18
|
+
--tex-progress-background: #34785a;
|
|
19
|
+
--tex-background-overlay: rgba(150, 150, 150, 0.7);
|
|
20
|
+
--tex-progress-color: #70c29e;
|
|
21
|
+
--tex-shadow-color: rgb(33, 33, 33, 0.4);
|
|
22
|
+
--tex-border-color: rgba(179, 179, 179, 0.2);
|
|
23
|
+
--tex-error: #e6004c;
|
|
24
|
+
--tex-success: #1e764e;
|
|
25
|
+
--tex-message-font-size: 12px;
|
|
26
|
+
--tex-small-font-size: 10px;
|
|
27
|
+
--tex-button-bg: #42d392;
|
|
28
|
+
--tex-button-border-color: #42d392;
|
|
29
|
+
--tex-button-text-color: #fff;
|
|
30
|
+
--tex-button-secondary-bg: rgba(225, 225, 225, 0.3);
|
|
31
|
+
--tex-button-secondary-border-color: rgba(225, 225, 225, 0.5);
|
|
32
|
+
--tex-button-secondary-text-color: #888;
|
|
33
|
+
--tex-extensions-fixed-bg: rgba(255, 255, 255, 0.7);
|
|
34
|
+
--tex-extensions-fixed-blur: 8px;
|
|
35
|
+
--tex-selected-outline: #1e764e;
|
|
36
|
+
--tex-selected-background: rgba(30, 118, 78, 0.1);
|
|
37
|
+
--tex-font-size-small: 12px;
|
|
38
|
+
--tex-actions-top: 0;
|
|
39
|
+
--tex-actions-top-mobile: -28px;
|
|
40
|
+
--tex-actions-left: -24px;
|
|
41
|
+
--tex-actions-left-mobile: 0;
|
|
42
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { BlockManager as IBlockManager, Commands as ICommands, Config as IConfig, SelectionAPI as ISelectionAPI, Events as IEvents, Tools as ITools, I18N as II18N, HistoryManager as IHistoryManager, Extensions as IExtensions, BlockSchema, ConfigOptions, Texditor as ITexditor, TexditorRootElement } from './types';
|
|
2
|
+
export * from './types';
|
|
3
|
+
export * from './utils';
|
|
4
|
+
export default class Texditor implements ITexditor {
|
|
5
|
+
/** @see ITexditor.config */
|
|
6
|
+
config: IConfig;
|
|
7
|
+
/** @see ITexditor.blockManager */
|
|
8
|
+
blockManager: IBlockManager;
|
|
9
|
+
/** @see ITexditor.selectionApi */
|
|
10
|
+
selectionApi: ISelectionAPI;
|
|
11
|
+
/** @see ITexditor.events */
|
|
12
|
+
events: IEvents;
|
|
13
|
+
/** @see ITexditor.tools */
|
|
14
|
+
tools: ITools;
|
|
15
|
+
/** @see ITexditor.i18n */
|
|
16
|
+
i18n: II18N;
|
|
17
|
+
/** @see ITexditor.commands */
|
|
18
|
+
commands: ICommands;
|
|
19
|
+
/** @see ITexditor.historyManager */
|
|
20
|
+
historyManager: IHistoryManager;
|
|
21
|
+
/** @see ITexditor.extensions */
|
|
22
|
+
extensions: IExtensions;
|
|
23
|
+
/** Root HTML element where the editor is mounted */
|
|
24
|
+
private rootElement?;
|
|
25
|
+
/**
|
|
26
|
+
* Creates a new Texditor instance
|
|
27
|
+
* @param config - Configuration object for the editor instance
|
|
28
|
+
*/
|
|
29
|
+
constructor(config: ConfigOptions);
|
|
30
|
+
/**
|
|
31
|
+
* Initializes editor when ready
|
|
32
|
+
*/
|
|
33
|
+
private ready;
|
|
34
|
+
/**
|
|
35
|
+
* @see ITexditor.getRoot
|
|
36
|
+
*/
|
|
37
|
+
getRoot(): TexditorRootElement | null;
|
|
38
|
+
/**
|
|
39
|
+
* @see ITexditor.getBody
|
|
40
|
+
*/
|
|
41
|
+
getBody(): HTMLElement | null;
|
|
42
|
+
/**
|
|
43
|
+
* @see ITexditor.isEmpty
|
|
44
|
+
*/
|
|
45
|
+
isEmpty(): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* @see ITexditor.setContent
|
|
48
|
+
*/
|
|
49
|
+
setContent(content: string | BlockSchema[], index?: number, focusDelay?: number): void;
|
|
50
|
+
/**
|
|
51
|
+
* @see ITexditor.getContent
|
|
52
|
+
*/
|
|
53
|
+
getContent(): BlockSchema[];
|
|
54
|
+
/**
|
|
55
|
+
* @see ITexditor.save
|
|
56
|
+
*/
|
|
57
|
+
save(): BlockSchema[];
|
|
58
|
+
/**
|
|
59
|
+
* @see ITexditor.destroy
|
|
60
|
+
*/
|
|
61
|
+
destroy(): void;
|
|
62
|
+
/**
|
|
63
|
+
* Renders the editor in the DOM
|
|
64
|
+
* @throws Error if editor ID is not found
|
|
65
|
+
*/
|
|
66
|
+
private mount;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=texditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"texditor.d.ts","sourceRoot":"","sources":["../src/texditor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,IAAI,aAAa,EAC7B,QAAQ,IAAI,SAAS,EACrB,MAAM,IAAI,OAAO,EACjB,YAAY,IAAI,aAAa,EAC7B,MAAM,IAAI,OAAO,EACjB,KAAK,IAAI,MAAM,EACf,IAAI,IAAI,KAAK,EACb,cAAc,IAAI,eAAe,EACjC,UAAU,IAAI,WAAW,EACzB,WAAW,EAEX,aAAa,EACb,QAAQ,IAAI,SAAS,EACrB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAajB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,yBAAyB,CAAC;AAGjC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,QAAS,YAAW,SAAS;IAChD,4BAA4B;IAC5B,MAAM,EAAE,OAAO,CAAC;IAEhB,kCAAkC;IAClC,YAAY,EAAE,aAAa,CAAC;IAE5B,kCAAkC;IAClC,YAAY,EAAE,aAAa,CAAC;IAE5B,4BAA4B;IAC5B,MAAM,EAAE,OAAO,CAAC;IAEhB,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IAEd,0BAA0B;IAC1B,IAAI,EAAE,KAAK,CAAC;IAEZ,8BAA8B;IAC9B,QAAQ,EAAE,SAAS,CAAC;IAEpB,oCAAoC;IACpC,cAAc,EAAE,eAAe,CAAC;IAEhC,gCAAgC;IAChC,UAAU,EAAE,WAAW,CAAC;IAExB,oDAAoD;IACpD,OAAO,CAAC,WAAW,CAAC,CAAsB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAajC;;OAEG;IACH,OAAO,CAAC,KAAK;IAcb;;OAEG;IACH,OAAO,IAAI,mBAAmB,GAAG,IAAI;IAQrC;;OAEG;IACH,OAAO,IAAI,WAAW,GAAG,IAAI;IAU7B;;OAEG;IACH,OAAO,IAAI,OAAO;IAUlB;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,EAAE,EAAE,KAAK,GAAE,MAAU,EAAE,UAAU,GAAE,MAAU,GAAG,IAAI;IA0D5F;;OAEG;IACH,UAAU,IAAI,WAAW,EAAE;IAI3B;;OAEG;IACH,IAAI,IAAI,WAAW,EAAE;IAyErB;;OAEG;IACH,OAAO,IAAI,IAAI;IAkBf;;;OAGG;IACH,OAAO,CAAC,KAAK;CAiCd"}
|