@qikdev/vue-ui 0.2.123 → 0.2.124
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 -5
- 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 _a, onMounted as ga, onBeforeUnmount as Uo, watch as Ci, computed as di, openBlock as o, createElementBlock as d, renderSlot as B, createCommentVNode as _, useSlots as jo, 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 W, vShow as ci, createElementVNode as x, withModifiers as K, createTextVNode as S, h as fi, resolveDynamicComponent as Ot, mergeProps as Ei, toHandlers as va, vModelSelect as Tt, pushScopeId as tt, popScopeId as nt, normalizeStyle as ut, Teleport as Ro, vModelText as se, withKeys as ge, TransitionGroup as Bo, nextTick as ba, vModelDynamic as zn } from "vue";
|
|
3
3
|
import { EventDispatcher as zo } from "@qikdev/sdk";
|
|
4
|
-
const Ho = "0.2.
|
|
4
|
+
const Ho = "0.2.124";
|
|
5
5
|
class Lt extends Error {
|
|
6
6
|
}
|
|
7
7
|
class qo extends Lt {
|
|
@@ -18684,10 +18684,10 @@ function rT(e, t) {
|
|
|
18684
18684
|
return {};
|
|
18685
18685
|
}) : c = [] : i ? c = n(f) ? {} : f : c = void 0;
|
|
18686
18686
|
} else
|
|
18687
|
-
l ? u.length ? c = u.slice(0, s) : c = [] : c = n(f) ? void 0 : f;
|
|
18687
|
+
l ? u.length ? s ? c = u.slice(0, s) : c = u.slice() : c = [] : c = n(f) ? void 0 : f;
|
|
18688
18688
|
break;
|
|
18689
18689
|
case "string":
|
|
18690
|
-
l ? (u.length && (c = u.slice(0, s)), c = gn(e, c, i, r, s, function() {
|
|
18690
|
+
l ? (u.length && (s ? c = u.slice(0, s) : c = u.slice()), c = gn(e, c, i, r, s, function() {
|
|
18691
18691
|
return "";
|
|
18692
18692
|
}).filter(Boolean)) : c = n(f) ? "" : f;
|
|
18693
18693
|
break;
|
|
@@ -18832,7 +18832,9 @@ const iT = {
|
|
|
18832
18832
|
},
|
|
18833
18833
|
checkDirtyState() {
|
|
18834
18834
|
const e = this;
|
|
18835
|
-
var t = e.fieldModel, n = e.ignoreDefaults || t || t === !1 || t === 0, i = e.fieldDefaultValue()
|
|
18835
|
+
var t = e.fieldModel, n = e.ignoreDefaults || t || t === !1 || t === 0, i = e.fieldDefaultValue();
|
|
18836
|
+
console.log("DEFAULT DATA", e.field.title, i);
|
|
18837
|
+
var s = JSON.stringify(e.cleanOutput(t)), r = JSON.stringify(e.cleanOutput(i));
|
|
18836
18838
|
n && s != r ? (e.isDirty = !0, e.isDirtyBeforeInput = !0, e.fieldModel = t) : (e.isDirty = !1, e.isDirtyBeforeInput = !1, e.fieldModel = i), e.validateResults = e.$sdk.content.validateField(e.fieldModel, e.actualField);
|
|
18837
18839
|
},
|
|
18838
18840
|
groupStateAltered(e) {
|
|
@@ -19403,7 +19405,7 @@ function aT(e, t, n, i, s, r) {
|
|
|
19403
19405
|
r.error && s.validateResults.message ? (o(), d("div", sT, v(s.validateResults.message), 1)) : _("", !0)
|
|
19404
19406
|
], 34)) : _("", !0);
|
|
19405
19407
|
}
|
|
19406
|
-
const Gi = /* @__PURE__ */ V(iT, [["render", aT], ["__scopeId", "data-v-
|
|
19408
|
+
const Gi = /* @__PURE__ */ V(iT, [["render", aT], ["__scopeId", "data-v-b23c08f1"]]);
|
|
19407
19409
|
function lT(e, t, n, i) {
|
|
19408
19410
|
var s = -1, r = e == null ? 0 : e.length;
|
|
19409
19411
|
for (i && r && (n = e[++s]); ++s < r; )
|