@airalogy/aimd-editor 1.9.1 → 1.10.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/dist/{AimdEditorTopBar.vue_vue_type_script_setup_true_lang-BL2zaxn-.js → AimdEditorTopBar.vue_vue_type_script_setup_true_lang-CODh6fyp.js} +9 -3
- package/dist/{AimdSourceEditor.vue_vue_type_script_setup_true_lang-CHXbJJa_.js → AimdSourceEditor.vue_vue_type_script_setup_true_lang-DCbNbka1.js} +663 -594
- package/dist/{AimdWysiwygEditor.vue_vue_type_script_setup_true_lang-BYUea59a.js → AimdWysiwygEditor.vue_vue_type_script_setup_true_lang-DPs--N5C.js} +1 -1
- package/dist/aimd-editor.css +1 -1
- package/dist/embedded.js +2 -2
- package/dist/index.js +4 -4
- package/dist/monaco.js +1 -1
- package/dist/{theme-B8dCnOx-.js → theme-Cu18_uZ_.js} +27 -20
- package/dist/vue.js +3 -3
- package/dist/wysiwyg.js +1 -1
- package/package.json +3 -3
- package/src/language-config.ts +8 -1
- package/src/vue/AimdEditor.vue +24 -3
- package/src/vue/AimdSourceEditor.vue +1 -1
- package/src/vue/AimdWysiwygEditor.vue +1 -1
- package/src/vue/aimdDiagnostics.ts +23 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as ve, computed as $, ref as B, watch as E, openBlock as u, createBlock as Be, Teleport as Ue, createElementBlock as v, withModifiers as ue, createElementVNode as l, normalizeStyle as me, createTextVNode as N, toDisplayString as i, Fragment as q, renderList as j, normalizeClass as W, withDirectives as b, vModelText as x, createCommentVNode as z, vModelSelect as ke, vModelRadio as Le, vModelCheckbox as He, shallowRef as _e, nextTick as ze, unref as K, createVNode as Me, vShow as Ie } from "vue";
|
|
2
2
|
import { callCommand as De, insert as Te, replaceAll as ce, getMarkdown as xe } from "@milkdown/kit/utils";
|
|
3
3
|
import "@milkdown/theme-nord/style.css";
|
|
4
|
-
import { j as Ve, m as ie, k as Pe, h as $e, o as Re, i as Ne, l as Fe, _ as Oe, n as Ke } from "./AimdWysiwygEditor.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as Qe } from "./AimdSourceEditor.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { j as Ve, m as ie, k as Pe, h as $e, o as Re, i as Ne, l as Fe, _ as Oe, n as Ke } from "./AimdWysiwygEditor.vue_vue_type_script_setup_true_lang-DPs--N5C.js";
|
|
5
|
+
import { _ as Qe } from "./AimdSourceEditor.vue_vue_type_script_setup_true_lang-DCbNbka1.js";
|
|
6
6
|
import { protectAimdInlineTemplates as je, restoreAimdInlineTemplates as We } from "@airalogy/aimd-core";
|
|
7
7
|
import { parseAndExtract as Ge } from "@airalogy/aimd-renderer";
|
|
8
8
|
import { insertTableCommand as Je } from "@milkdown/kit/preset/gfm";
|
|
@@ -938,7 +938,13 @@ function at(c) {
|
|
|
938
938
|
onMilkdownReady: se
|
|
939
939
|
};
|
|
940
940
|
}
|
|
941
|
-
const it = { class: "aimd-editor" }, nt = {
|
|
941
|
+
const it = { class: "aimd-editor" }, nt = {
|
|
942
|
+
key: 0,
|
|
943
|
+
class: "aimd-editor-mode-host"
|
|
944
|
+
}, dt = {
|
|
945
|
+
key: 1,
|
|
946
|
+
class: "aimd-editor-mode-host"
|
|
947
|
+
}, _t = /* @__PURE__ */ ve({
|
|
942
948
|
__name: "AimdEditor",
|
|
943
949
|
props: {
|
|
944
950
|
modelValue: { default: "" },
|