@qikdev/vue-ui 0.2.138 → 0.2.139
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 +7 -6
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +2 -2
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './style.css';
|
|
2
2
|
import { defineComponent as Vi, ref as Zt, toRefs as ba, onMounted as ka, onBeforeUnmount as zo, watch as Ci, computed as di, openBlock as o, createElementBlock as d, renderSlot as B, createCommentVNode as _, useSlots as Ho, reactive as Sr, provide as $r, resolveComponent as y, normalizeClass as U, Fragment as w, unref as Bn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as v, withDirectives as K, vShow as ci, createElementVNode as x, withModifiers as W, createTextVNode as S, h as fi, resolveDynamicComponent as Ot, mergeProps as Ei, toHandlers as xa, vModelSelect as Tt, pushScopeId as tt, popScopeId as nt, normalizeStyle as ut, Teleport as qo, vModelText as se, withKeys as ge, TransitionGroup as Go, nextTick as wa, vModelDynamic as zn } from "vue";
|
|
3
3
|
import { EventDispatcher as Wo } from "@qikdev/sdk";
|
|
4
|
-
const Ko = "0.2.
|
|
4
|
+
const Ko = "0.2.139";
|
|
5
5
|
class Lt extends Error {
|
|
6
6
|
}
|
|
7
7
|
class Yo extends Lt {
|
|
@@ -11366,12 +11366,13 @@ const d1 = {
|
|
|
11366
11366
|
});
|
|
11367
11367
|
},
|
|
11368
11368
|
async create() {
|
|
11369
|
-
var
|
|
11369
|
+
var i;
|
|
11370
11370
|
const e = this;
|
|
11371
|
-
if (!((
|
|
11371
|
+
if (!((i = e.$sdk.global) != null && i.create))
|
|
11372
11372
|
return;
|
|
11373
|
-
|
|
11374
|
-
|
|
11373
|
+
let t = e.field.createModel;
|
|
11374
|
+
const n = await e.$sdk.global.create(e.field.referenceType, { model: t, preselected: !!t });
|
|
11375
|
+
e.multiValue ? (e.model || (e.model = []), e.model.push(n)) : e.model = n;
|
|
11375
11376
|
},
|
|
11376
11377
|
clear() {
|
|
11377
11378
|
this.model = void 0, this.touch();
|
|
@@ -11614,7 +11615,7 @@ function p1(e, t, n, i, s, r) {
|
|
|
11614
11615
|
})) : _("", !0)
|
|
11615
11616
|
], 64);
|
|
11616
11617
|
}
|
|
11617
|
-
const lo = /* @__PURE__ */ V(d1, [["render", p1], ["__scopeId", "data-v-
|
|
11618
|
+
const lo = /* @__PURE__ */ V(d1, [["render", p1], ["__scopeId", "data-v-059e18e6"]]);
|
|
11618
11619
|
function y1(e) {
|
|
11619
11620
|
return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
|
|
11620
11621
|
}
|