@qikdev/vue-ui 0.2.123 → 0.2.125
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 +22 -13
- 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.125";
|
|
5
5
|
class Lt extends Error {
|
|
6
6
|
}
|
|
7
7
|
class qo extends Lt {
|
|
@@ -8192,6 +8192,9 @@ const ug = {
|
|
|
8192
8192
|
crop: {
|
|
8193
8193
|
type: Boolean
|
|
8194
8194
|
},
|
|
8195
|
+
cover: {
|
|
8196
|
+
type: Boolean
|
|
8197
|
+
},
|
|
8195
8198
|
format: {
|
|
8196
8199
|
type: String
|
|
8197
8200
|
},
|
|
@@ -8290,7 +8293,7 @@ const ug = {
|
|
|
8290
8293
|
},
|
|
8291
8294
|
imageStyle() {
|
|
8292
8295
|
var e = {};
|
|
8293
|
-
return this.crop
|
|
8296
|
+
return !this.crop && !this.cover && (e["object-fit"] = "contain"), this.inline ? e.maxWidth = "100%" : (e.width = "100%", e.height = "100%", e.top = "0", e.left = "0", e.position = "absolute"), e;
|
|
8294
8297
|
},
|
|
8295
8298
|
dimensionWidth() {
|
|
8296
8299
|
return this.imageWidth && this.imageHeight ? this.imageWidth : this.modelWidth;
|
|
@@ -8326,7 +8329,7 @@ function fg(e, t, n, i, s, r) {
|
|
|
8326
8329
|
}, null, 12, cg))
|
|
8327
8330
|
], 6);
|
|
8328
8331
|
}
|
|
8329
|
-
const mg = /* @__PURE__ */ V(ug, [["render", fg], ["__scopeId", "data-v-
|
|
8332
|
+
const mg = /* @__PURE__ */ V(ug, [["render", fg], ["__scopeId", "data-v-0b582a12"]]);
|
|
8330
8333
|
const hg = {
|
|
8331
8334
|
props: {
|
|
8332
8335
|
item: {
|
|
@@ -18684,10 +18687,10 @@ function rT(e, t) {
|
|
|
18684
18687
|
return {};
|
|
18685
18688
|
}) : c = [] : i ? c = n(f) ? {} : f : c = void 0;
|
|
18686
18689
|
} else
|
|
18687
|
-
l ? u.length ? c = u.slice(0, s) : c = [] : c = n(f) ? void 0 : f;
|
|
18690
|
+
l ? u.length ? s ? c = u.slice(0, s) : c = u.slice() : c = [] : c = n(f) ? void 0 : f;
|
|
18688
18691
|
break;
|
|
18689
18692
|
case "string":
|
|
18690
|
-
l ? (u.length && (c = u.slice(0, s)), c = gn(e, c, i, r, s, function() {
|
|
18693
|
+
l ? (u.length && (s ? c = u.slice(0, s) : c = u.slice()), c = gn(e, c, i, r, s, function() {
|
|
18691
18694
|
return "";
|
|
18692
18695
|
}).filter(Boolean)) : c = n(f) ? "" : f;
|
|
18693
18696
|
break;
|
|
@@ -18794,7 +18797,8 @@ const iT = {
|
|
|
18794
18797
|
mounted: !1,
|
|
18795
18798
|
subFormState: {},
|
|
18796
18799
|
isDirty: !1,
|
|
18797
|
-
isDirtyBeforeInput: !1
|
|
18800
|
+
isDirtyBeforeInput: !1,
|
|
18801
|
+
appeared: !1
|
|
18798
18802
|
};
|
|
18799
18803
|
},
|
|
18800
18804
|
inject: ["parentFormElement", "directParentModel", "directFormElement", "additionalContext"],
|
|
@@ -18878,8 +18882,9 @@ const iT = {
|
|
|
18878
18882
|
mounted(e) {
|
|
18879
18883
|
e ? this.$emit("field:mount", this) : this.$emit("field:unmount", this);
|
|
18880
18884
|
},
|
|
18881
|
-
visible(e) {
|
|
18882
|
-
|
|
18885
|
+
visible(e, t) {
|
|
18886
|
+
const n = this;
|
|
18887
|
+
e ? n.untouch() : (n.touched = !1, n.expressions && n.expressions.value ? n.fieldModel = n.getExpressionValue : n.ignoreDefaults || (n.fieldModel = void 0));
|
|
18883
18888
|
},
|
|
18884
18889
|
focussed(e) {
|
|
18885
18890
|
e ? this.$emit("field:focus", this) : this.$emit("field:blur", this);
|
|
@@ -18905,7 +18910,8 @@ const iT = {
|
|
|
18905
18910
|
modelValue(e, t) {
|
|
18906
18911
|
this.watching && (this.model = e, this.touched = !1, this.checkDirtyState());
|
|
18907
18912
|
},
|
|
18908
|
-
getExpressionHide(e) {
|
|
18913
|
+
async getExpressionHide(e, t) {
|
|
18914
|
+
!e && t && (this.appeared = !0, await this.$nextTick(), this.appeared = !1);
|
|
18909
18915
|
},
|
|
18910
18916
|
getExpressionDefaultValue(e) {
|
|
18911
18917
|
this.isDirtyBeforeInput || this.touched && this.dirty || (this.fieldModel = e);
|
|
@@ -18915,6 +18921,9 @@ const iT = {
|
|
|
18915
18921
|
}
|
|
18916
18922
|
},
|
|
18917
18923
|
computed: {
|
|
18924
|
+
shouldIgnoreDefaults() {
|
|
18925
|
+
return this.ignoreDefaults && !this.appeared;
|
|
18926
|
+
},
|
|
18918
18927
|
fieldPath() {
|
|
18919
18928
|
return this.currentTrail.join(".");
|
|
18920
18929
|
},
|
|
@@ -19206,7 +19215,7 @@ function aT(e, t, n, i, s, r) {
|
|
|
19206
19215
|
paymentConfiguration: n.paymentConfiguration,
|
|
19207
19216
|
includeOfficeOnly: n.includeOfficeOnly,
|
|
19208
19217
|
submission: n.submission,
|
|
19209
|
-
ignoreDefaults:
|
|
19218
|
+
ignoreDefaults: r.shouldIgnoreDefaults,
|
|
19210
19219
|
sandbox: n.sandbox,
|
|
19211
19220
|
"onForm:state": r.groupStateAltered,
|
|
19212
19221
|
ref: "group",
|
|
@@ -19221,7 +19230,7 @@ function aT(e, t, n, i, s, r) {
|
|
|
19221
19230
|
paymentConfiguration: n.paymentConfiguration,
|
|
19222
19231
|
includeOfficeOnly: n.includeOfficeOnly,
|
|
19223
19232
|
submission: n.submission,
|
|
19224
|
-
ignoreDefaults:
|
|
19233
|
+
ignoreDefaults: r.shouldIgnoreDefaults,
|
|
19225
19234
|
sandbox: n.sandbox,
|
|
19226
19235
|
"onForm:state": r.groupStateAltered,
|
|
19227
19236
|
ref: "group",
|
|
@@ -19238,7 +19247,7 @@ function aT(e, t, n, i, s, r) {
|
|
|
19238
19247
|
paymentConfiguration: n.paymentConfiguration,
|
|
19239
19248
|
includeOfficeOnly: n.includeOfficeOnly,
|
|
19240
19249
|
submission: n.submission,
|
|
19241
|
-
ignoreDefaults:
|
|
19250
|
+
ignoreDefaults: r.shouldIgnoreDefaults,
|
|
19242
19251
|
sandbox: n.sandbox,
|
|
19243
19252
|
"onForm:state": r.groupStateAltered,
|
|
19244
19253
|
ref: "group",
|
|
@@ -19403,7 +19412,7 @@ function aT(e, t, n, i, s, r) {
|
|
|
19403
19412
|
r.error && s.validateResults.message ? (o(), d("div", sT, v(s.validateResults.message), 1)) : _("", !0)
|
|
19404
19413
|
], 34)) : _("", !0);
|
|
19405
19414
|
}
|
|
19406
|
-
const Gi = /* @__PURE__ */ V(iT, [["render", aT], ["__scopeId", "data-v-
|
|
19415
|
+
const Gi = /* @__PURE__ */ V(iT, [["render", aT], ["__scopeId", "data-v-59397424"]]);
|
|
19407
19416
|
function lT(e, t, n, i) {
|
|
19408
19417
|
var s = -1, r = e == null ? 0 : e.length;
|
|
19409
19418
|
for (i && r && (n = e[++s]); ++s < r; )
|