@qikdev/vue-ui 0.2.252 → 0.2.254
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/lib.es.js +15 -13
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +12 -13
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +12 -11
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
vModelDynamic as Yn,
|
|
45
45
|
} from "vue";
|
|
46
46
|
import { EventDispatcher as Ll } from "@qikdev/sdk";
|
|
47
|
-
const iu = "0.2.
|
|
47
|
+
const iu = "0.2.254";
|
|
48
48
|
class Rt extends Error {}
|
|
49
49
|
class ru extends Rt {
|
|
50
50
|
constructor(t) {
|
|
@@ -11000,7 +11000,7 @@ function Mg(e, t, n, r, s, i) {
|
|
|
11000
11000
|
}
|
|
11001
11001
|
const $g = /* @__PURE__ */ T(Ig, [
|
|
11002
11002
|
["render", Mg],
|
|
11003
|
-
["__scopeId", "data-v-
|
|
11003
|
+
["__scopeId", "data-v-a19aee17"],
|
|
11004
11004
|
]);
|
|
11005
11005
|
const Ag = {
|
|
11006
11006
|
name: "menulist",
|
|
@@ -26737,16 +26737,12 @@ const jS = {
|
|
|
26737
26737
|
},
|
|
26738
26738
|
methods: {
|
|
26739
26739
|
injectToken(e) {
|
|
26740
|
-
const t = this.editor;
|
|
26741
|
-
|
|
26742
|
-
const n = t.session;
|
|
26743
|
-
if (!n) return;
|
|
26744
|
-
const r = this.editor.selection.getRange();
|
|
26745
|
-
r && (r.start, r.end, n.replace(r, e), t.focus());
|
|
26746
|
-
},
|
|
26747
|
-
editorInit(e) {
|
|
26748
|
-
this.editor = e;
|
|
26740
|
+
const t = this.$refs.editor;
|
|
26741
|
+
t && t.inject(e);
|
|
26749
26742
|
},
|
|
26743
|
+
// editorInit(editor) {
|
|
26744
|
+
// this.editor = editor;
|
|
26745
|
+
// },
|
|
26750
26746
|
focussed() {
|
|
26751
26747
|
const e = this;
|
|
26752
26748
|
e.timer && (clearTimeout(e.timer), (e.timer = null));
|
|
@@ -26958,13 +26954,19 @@ function zS(e, t, n, r, s, i) {
|
|
|
26958
26954
|
f(
|
|
26959
26955
|
c,
|
|
26960
26956
|
{
|
|
26957
|
+
ref: "editor",
|
|
26961
26958
|
syntax: n.lang,
|
|
26959
|
+
onBlur: i.blurred,
|
|
26960
|
+
onFocus: i.focussed,
|
|
26961
|
+
readonly: n.readonly,
|
|
26962
|
+
class: "editor-wrap",
|
|
26962
26963
|
modelValue: s.model,
|
|
26963
26964
|
"onUpdate:modelValue": t[1] || (t[1] = (g) => (s.model = g)),
|
|
26965
|
+
style: { height: "300px" },
|
|
26964
26966
|
},
|
|
26965
26967
|
null,
|
|
26966
26968
|
8,
|
|
26967
|
-
["syntax", "modelValue"],
|
|
26969
|
+
["syntax", "onBlur", "onFocus", "readonly", "modelValue"],
|
|
26968
26970
|
),
|
|
26969
26971
|
]),
|
|
26970
26972
|
_: 1,
|
|
@@ -26974,7 +26976,7 @@ function zS(e, t, n, r, s, i) {
|
|
|
26974
26976
|
}
|
|
26975
26977
|
const HS = /* @__PURE__ */ T(jS, [
|
|
26976
26978
|
["render", zS],
|
|
26977
|
-
["__scopeId", "data-v-
|
|
26979
|
+
["__scopeId", "data-v-661639aa"],
|
|
26978
26980
|
]);
|
|
26979
26981
|
const qS = {
|
|
26980
26982
|
components: {
|