@qikdev/vue-ui 0.2.134 → 0.2.137
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 +131 -111
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +3 -3
- 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.137";
|
|
5
5
|
class Lt extends Error {
|
|
6
6
|
}
|
|
7
7
|
class Yo extends Lt {
|
|
@@ -906,13 +906,13 @@ class mt extends Mn {
|
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
908
|
let Lr = null;
|
|
909
|
-
class
|
|
909
|
+
class Fe extends Mn {
|
|
910
910
|
/**
|
|
911
911
|
* Get a singleton instance of UTC
|
|
912
912
|
* @return {FixedOffsetZone}
|
|
913
913
|
*/
|
|
914
914
|
static get utcInstance() {
|
|
915
|
-
return Lr === null && (Lr = new
|
|
915
|
+
return Lr === null && (Lr = new Fe(0)), Lr;
|
|
916
916
|
}
|
|
917
917
|
/**
|
|
918
918
|
* Get an instance with a specified offset
|
|
@@ -920,7 +920,7 @@ class De extends Mn {
|
|
|
920
920
|
* @return {FixedOffsetZone}
|
|
921
921
|
*/
|
|
922
922
|
static instance(t) {
|
|
923
|
-
return t === 0 ?
|
|
923
|
+
return t === 0 ? Fe.utcInstance : new Fe(t);
|
|
924
924
|
}
|
|
925
925
|
/**
|
|
926
926
|
* Get an instance of FixedOffsetZone from a UTC offset string, like "UTC+6"
|
|
@@ -934,7 +934,7 @@ class De extends Mn {
|
|
|
934
934
|
if (t) {
|
|
935
935
|
const n = t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);
|
|
936
936
|
if (n)
|
|
937
|
-
return new
|
|
937
|
+
return new Fe(Tr(n[1], n[2]));
|
|
938
938
|
}
|
|
939
939
|
return null;
|
|
940
940
|
}
|
|
@@ -1018,9 +1018,9 @@ function xt(e, t) {
|
|
|
1018
1018
|
return e;
|
|
1019
1019
|
if (eu(e)) {
|
|
1020
1020
|
const n = e.toLowerCase();
|
|
1021
|
-
return n === "local" || n === "system" ? t : n === "utc" || n === "gmt" ?
|
|
1021
|
+
return n === "local" || n === "system" ? t : n === "utc" || n === "gmt" ? Fe.utcInstance : Fe.parseSpecifier(n) || mt.create(e);
|
|
1022
1022
|
} else
|
|
1023
|
-
return Nt(e) ?
|
|
1023
|
+
return Nt(e) ? Fe.instance(e) : typeof e == "object" && e.offset && typeof e.offset == "number" ? e : new xu(e);
|
|
1024
1024
|
}
|
|
1025
1025
|
let ts = () => Date.now(), ns = "system", rs = null, is = null, ss = null, as;
|
|
1026
1026
|
class ve {
|
|
@@ -1399,7 +1399,7 @@ function Ut(e, t) {
|
|
|
1399
1399
|
}, null, t + 4];
|
|
1400
1400
|
}
|
|
1401
1401
|
function sn(e, t) {
|
|
1402
|
-
const n = !e[t] && !e[t + 1], i = Tr(e[t + 1], e[t + 2]), s = n ? null :
|
|
1402
|
+
const n = !e[t] && !e[t + 1], i = Tr(e[t + 1], e[t + 2]), s = n ? null : Fe.instance(i);
|
|
1403
1403
|
return [{}, s, t + 3];
|
|
1404
1404
|
}
|
|
1405
1405
|
function sl(e, t) {
|
|
@@ -1460,7 +1460,7 @@ function Wu(e) {
|
|
|
1460
1460
|
p
|
|
1461
1461
|
] = e, g = Ni(t, s, i, n, r, a, l);
|
|
1462
1462
|
let b;
|
|
1463
|
-
return u ? b = qu[u] : f ? b = 0 : b = Tr(c, p), [g, new
|
|
1463
|
+
return u ? b = qu[u] : f ? b = 0 : b = Tr(c, p), [g, new Fe(b)];
|
|
1464
1464
|
}
|
|
1465
1465
|
function Ku(e) {
|
|
1466
1466
|
return e.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
|
|
@@ -1468,11 +1468,11 @@ function Ku(e) {
|
|
|
1468
1468
|
const Yu = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, Zu = /^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, Ju = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
|
|
1469
1469
|
function os(e) {
|
|
1470
1470
|
const [, t, n, i, s, r, a, l] = e;
|
|
1471
|
-
return [Ni(t, s, i, n, r, a, l),
|
|
1471
|
+
return [Ni(t, s, i, n, r, a, l), Fe.utcInstance];
|
|
1472
1472
|
}
|
|
1473
1473
|
function Xu(e) {
|
|
1474
1474
|
const [, t, n, i, s, r, a, l] = e;
|
|
1475
|
-
return [Ni(t, l, n, i, s, r, a),
|
|
1475
|
+
return [Ni(t, l, n, i, s, r, a), Fe.utcInstance];
|
|
1476
1476
|
}
|
|
1477
1477
|
const Qu = nn($u, $i), ed = nn(Nu, $i), td = nn(Lu, $i), nd = nn(nl), rd = Pt(
|
|
1478
1478
|
il,
|
|
@@ -3083,7 +3083,7 @@ function Pd(e) {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
};
|
|
3085
3085
|
let n = null, i;
|
|
3086
|
-
return Z(e.z) || (n = mt.create(e.z)), Z(e.Z) || (n || (n = new
|
|
3086
|
+
return Z(e.z) || (n = mt.create(e.z)), Z(e.Z) || (n || (n = new Fe(e.Z)), i = e.Z), Z(e.q) || (e.M = (e.q - 1) * 3 + 1), Z(e.h) || (e.h < 12 && e.a === 1 ? e.h += 12 : e.h === 12 && e.a === 0 && (e.h = 0)), e.G === 0 && e.y && (e.y = -e.y), Z(e.u) || (e.S = Ai(e.u)), [Object.keys(e).reduce((r, a) => {
|
|
3087
3087
|
const l = t(a);
|
|
3088
3088
|
return l && (r[l] = e[a]), r;
|
|
3089
3089
|
}, {}), n, i];
|
|
@@ -3440,7 +3440,7 @@ class P {
|
|
|
3440
3440
|
*/
|
|
3441
3441
|
static utc() {
|
|
3442
3442
|
const [t, n] = xs(arguments), [i, s, r, a, l, u, f] = n;
|
|
3443
|
-
return t.zone =
|
|
3443
|
+
return t.zone = Fe.utcInstance, bs({ year: i, month: s, day: r, hour: a, minute: l, second: u, millisecond: f }, t);
|
|
3444
3444
|
}
|
|
3445
3445
|
/**
|
|
3446
3446
|
* Create a DateTime from a JavaScript Date object. Uses the default zone.
|
|
@@ -4007,7 +4007,7 @@ class P {
|
|
|
4007
4007
|
* @return {DateTime}
|
|
4008
4008
|
*/
|
|
4009
4009
|
toUTC(t = 0, n = {}) {
|
|
4010
|
-
return this.setZone(
|
|
4010
|
+
return this.setZone(Fe.instance(t), n);
|
|
4011
4011
|
}
|
|
4012
4012
|
/**
|
|
4013
4013
|
* "Set" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.
|
|
@@ -6840,11 +6840,14 @@ const ne = {
|
|
|
6840
6840
|
removeLabel() {
|
|
6841
6841
|
return "Remove";
|
|
6842
6842
|
},
|
|
6843
|
+
size() {
|
|
6844
|
+
return this.field.size;
|
|
6845
|
+
},
|
|
6843
6846
|
numValues() {
|
|
6844
6847
|
return this.singleValue ? 1 : (this.value || []).length || 0;
|
|
6845
6848
|
},
|
|
6846
6849
|
showLabel() {
|
|
6847
|
-
return this.field.title;
|
|
6850
|
+
return this.field.title && !this.field.hideTitle;
|
|
6848
6851
|
},
|
|
6849
6852
|
showDescription() {
|
|
6850
6853
|
return this.description;
|
|
@@ -7106,7 +7109,7 @@ const c_ = {
|
|
|
7106
7109
|
}));
|
|
7107
7110
|
}
|
|
7108
7111
|
}
|
|
7109
|
-
}, f_ = (e) => (tt("data-v-
|
|
7112
|
+
}, f_ = (e) => (tt("data-v-0525e84f"), e = e(), nt(), e), m_ = {
|
|
7110
7113
|
key: 0,
|
|
7111
7114
|
class: "ux-field-title"
|
|
7112
7115
|
}, h_ = {
|
|
@@ -7178,12 +7181,15 @@ function M_(e, t, n, i, s, r) {
|
|
|
7178
7181
|
e.canAddValue ? (o(), d(w, { key: 0 }, [
|
|
7179
7182
|
x("div", b_, [
|
|
7180
7183
|
B(e.$slots, "default", {}, () => [
|
|
7181
|
-
m(f, {
|
|
7184
|
+
m(f, {
|
|
7185
|
+
size: e.size,
|
|
7186
|
+
tag: "div"
|
|
7187
|
+
}, {
|
|
7182
7188
|
default: h(() => [
|
|
7183
7189
|
S(v(r.summary), 1)
|
|
7184
7190
|
]),
|
|
7185
7191
|
_: 1
|
|
7186
|
-
})
|
|
7192
|
+
}, 8, ["size"])
|
|
7187
7193
|
], !0)
|
|
7188
7194
|
]),
|
|
7189
7195
|
K(x("select", {
|
|
@@ -7208,12 +7214,15 @@ function M_(e, t, n, i, s, r) {
|
|
|
7208
7214
|
], 64)) : (o(), d(w, { key: 1 }, [
|
|
7209
7215
|
x("div", O_, [
|
|
7210
7216
|
B(e.$slots, "default", {}, () => [
|
|
7211
|
-
m(f, {
|
|
7217
|
+
m(f, {
|
|
7218
|
+
size: e.size,
|
|
7219
|
+
tag: "div"
|
|
7220
|
+
}, {
|
|
7212
7221
|
default: h(() => [
|
|
7213
7222
|
S(v(r.summary), 1)
|
|
7214
7223
|
]),
|
|
7215
7224
|
_: 1
|
|
7216
|
-
})
|
|
7225
|
+
}, 8, ["size"])
|
|
7217
7226
|
], !0)
|
|
7218
7227
|
]),
|
|
7219
7228
|
K(x("select", {
|
|
@@ -7239,7 +7248,7 @@ function M_(e, t, n, i, s, r) {
|
|
|
7239
7248
|
]))
|
|
7240
7249
|
], 2);
|
|
7241
7250
|
}
|
|
7242
|
-
const Ct = /* @__PURE__ */ V(c_, [["render", M_], ["__scopeId", "data-v-
|
|
7251
|
+
const Ct = /* @__PURE__ */ V(c_, [["render", M_], ["__scopeId", "data-v-0525e84f"]]);
|
|
7243
7252
|
const I_ = {
|
|
7244
7253
|
props: {
|
|
7245
7254
|
total: {
|
|
@@ -7637,7 +7646,7 @@ function K_(e, t, n, i, s, r) {
|
|
|
7637
7646
|
_: 3
|
|
7638
7647
|
}, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
|
|
7639
7648
|
}
|
|
7640
|
-
const Y_ = /* @__PURE__ */ V(G_, [["render", K_], ["__scopeId", "data-v-
|
|
7649
|
+
const Y_ = /* @__PURE__ */ V(G_, [["render", K_], ["__scopeId", "data-v-42d52daf"]]);
|
|
7641
7650
|
const Z_ = {
|
|
7642
7651
|
props: {
|
|
7643
7652
|
value: {
|
|
@@ -7784,12 +7793,15 @@ const rg = {
|
|
|
7784
7793
|
},
|
|
7785
7794
|
right: {
|
|
7786
7795
|
type: Boolean
|
|
7796
|
+
},
|
|
7797
|
+
fixed: {
|
|
7798
|
+
type: Boolean
|
|
7787
7799
|
}
|
|
7788
7800
|
},
|
|
7789
7801
|
computed: {
|
|
7790
7802
|
classes() {
|
|
7791
7803
|
var e = [];
|
|
7792
|
-
return e.push(this.icon), this.spin && e.push("fa-spin"), this.left && e.push("ux-icon-left"), this.right && e.push("ux-icon-right"), e;
|
|
7804
|
+
return e.push(this.icon), this.spin && e.push("fa-spin"), this.left && e.push("ux-icon-left"), this.right && e.push("ux-icon-right"), this.fixed && e.push("ux-icon-fixed"), e;
|
|
7793
7805
|
},
|
|
7794
7806
|
element() {
|
|
7795
7807
|
return "i";
|
|
@@ -7801,7 +7813,7 @@ function ig(e, t, n, i, s, r) {
|
|
|
7801
7813
|
class: U(["ux-icon fa", r.classes])
|
|
7802
7814
|
}, null, 8, ["class"]);
|
|
7803
7815
|
}
|
|
7804
|
-
const sg = /* @__PURE__ */ V(rg, [["render", ig], ["__scopeId", "data-v-
|
|
7816
|
+
const sg = /* @__PURE__ */ V(rg, [["render", ig], ["__scopeId", "data-v-028189aa"]]), Zn = {
|
|
7805
7817
|
cache: {}
|
|
7806
7818
|
};
|
|
7807
7819
|
const ag = {
|
|
@@ -9986,7 +9998,7 @@ function Cv(e) {
|
|
|
9986
9998
|
n && n.dispatchEvent(O), C[z] && C[z].call(t, O);
|
|
9987
9999
|
}
|
|
9988
10000
|
}
|
|
9989
|
-
var Ev = ["evt"],
|
|
10001
|
+
var Ev = ["evt"], Le = function(t, n) {
|
|
9990
10002
|
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = i.evt, r = gv(i, Ev);
|
|
9991
10003
|
Ln.pluginEvent.bind(R)(t, n, dt({
|
|
9992
10004
|
dragEl: M,
|
|
@@ -10014,7 +10026,7 @@ var Ev = ["evt"], Ne = function(t, n) {
|
|
|
10014
10026
|
wt = !1;
|
|
10015
10027
|
},
|
|
10016
10028
|
dispatchSortableEvent: function(l) {
|
|
10017
|
-
|
|
10029
|
+
De({
|
|
10018
10030
|
sortable: n,
|
|
10019
10031
|
name: l,
|
|
10020
10032
|
originalEvent: s
|
|
@@ -10022,7 +10034,7 @@ var Ev = ["evt"], Ne = function(t, n) {
|
|
|
10022
10034
|
}
|
|
10023
10035
|
}, r));
|
|
10024
10036
|
};
|
|
10025
|
-
function
|
|
10037
|
+
function De(e) {
|
|
10026
10038
|
Cv(dt({
|
|
10027
10039
|
putSortable: we,
|
|
10028
10040
|
cloneEl: he,
|
|
@@ -10180,28 +10192,28 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10180
10192
|
if (Rv(i), !M && !(/mousedown|pointerdown/.test(a) && t.button !== 0 || s.disabled) && !f.isContentEditable && !(!this.nativeDraggable && On && u && u.tagName.toUpperCase() === "SELECT") && (u = lt(u, s.draggable, i, !1), !(u && u.animated) && sr !== u)) {
|
|
10181
10193
|
if (Yt = He(u), Vn = He(u, s.draggable), typeof c == "function") {
|
|
10182
10194
|
if (c.call(this, t, u, this)) {
|
|
10183
|
-
|
|
10195
|
+
De({
|
|
10184
10196
|
sortable: n,
|
|
10185
10197
|
rootEl: f,
|
|
10186
10198
|
name: "filter",
|
|
10187
10199
|
targetEl: u,
|
|
10188
10200
|
toEl: i,
|
|
10189
10201
|
fromEl: i
|
|
10190
|
-
}),
|
|
10202
|
+
}), Le("filter", n, {
|
|
10191
10203
|
evt: t
|
|
10192
10204
|
}), r && t.cancelable && t.preventDefault();
|
|
10193
10205
|
return;
|
|
10194
10206
|
}
|
|
10195
10207
|
} else if (c && (c = c.split(",").some(function(p) {
|
|
10196
10208
|
if (p = lt(f, p.trim(), i, !1), p)
|
|
10197
|
-
return
|
|
10209
|
+
return De({
|
|
10198
10210
|
sortable: n,
|
|
10199
10211
|
rootEl: p,
|
|
10200
10212
|
name: "filter",
|
|
10201
10213
|
targetEl: u,
|
|
10202
10214
|
fromEl: i,
|
|
10203
10215
|
toEl: i
|
|
10204
|
-
}),
|
|
10216
|
+
}), Le("filter", n, {
|
|
10205
10217
|
evt: t
|
|
10206
10218
|
}), !0;
|
|
10207
10219
|
}), c)) {
|
|
@@ -10221,20 +10233,20 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10221
10233
|
clientX: (n || t).clientX,
|
|
10222
10234
|
clientY: (n || t).clientY
|
|
10223
10235
|
}, qs = It.clientX - f.left, Gs = It.clientY - f.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, M.style["will-change"] = "all", u = function() {
|
|
10224
|
-
if (
|
|
10236
|
+
if (Le("delayEnded", s, {
|
|
10225
10237
|
evt: t
|
|
10226
10238
|
}), R.eventCanceled) {
|
|
10227
10239
|
s._onDrop();
|
|
10228
10240
|
return;
|
|
10229
10241
|
}
|
|
10230
|
-
s._disableDelayedDragEvents(), !Rs && s.nativeDraggable && (M.draggable = !0), s._triggerDragStart(t, n),
|
|
10242
|
+
s._disableDelayedDragEvents(), !Rs && s.nativeDraggable && (M.draggable = !0), s._triggerDragStart(t, n), De({
|
|
10231
10243
|
sortable: s,
|
|
10232
10244
|
name: "choose",
|
|
10233
10245
|
originalEvent: t
|
|
10234
10246
|
}), Ue(M, a.chosenClass, !0);
|
|
10235
10247
|
}, a.ignore.split(",").forEach(function(c) {
|
|
10236
10248
|
Bl(M, c.trim(), Jr);
|
|
10237
|
-
}), te(l, "dragover", Dt), te(l, "mousemove", Dt), te(l, "touchmove", Dt), te(l, "mouseup", s._onDrop), te(l, "touchend", s._onDrop), te(l, "touchcancel", s._onDrop), Rs && this.nativeDraggable && (this.options.touchStartThreshold = 4, M.draggable = !0),
|
|
10249
|
+
}), te(l, "dragover", Dt), te(l, "mousemove", Dt), te(l, "touchmove", Dt), te(l, "mouseup", s._onDrop), te(l, "touchend", s._onDrop), te(l, "touchcancel", s._onDrop), Rs && this.nativeDraggable && (this.options.touchStartThreshold = 4, M.draggable = !0), Le("delayStart", this, {
|
|
10238
10250
|
evt: t
|
|
10239
10251
|
}), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Nn || pt))) {
|
|
10240
10252
|
if (R.eventCanceled) {
|
|
@@ -10268,11 +10280,11 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10268
10280
|
},
|
|
10269
10281
|
_dragStarted: function(t, n) {
|
|
10270
10282
|
if (Wt = !1, ce && M) {
|
|
10271
|
-
|
|
10283
|
+
Le("dragStarted", this, {
|
|
10272
10284
|
evt: n
|
|
10273
10285
|
}), this.nativeDraggable && te(document, "dragover", Dv);
|
|
10274
10286
|
var i = this.options;
|
|
10275
|
-
!t && Ue(M, i.dragClass, !1), Ue(M, i.ghostClass, !0), R.active = this, t && this._appendGhost(),
|
|
10287
|
+
!t && Ue(M, i.dragClass, !1), Ue(M, i.ghostClass, !0), R.active = this, t && this._appendGhost(), De({
|
|
10276
10288
|
sortable: this,
|
|
10277
10289
|
name: "start",
|
|
10278
10290
|
originalEvent: n
|
|
@@ -10338,14 +10350,14 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10338
10350
|
},
|
|
10339
10351
|
_onDragStart: function(t, n) {
|
|
10340
10352
|
var i = this, s = t.dataTransfer, r = i.options;
|
|
10341
|
-
if (
|
|
10353
|
+
if (Le("dragStart", this, {
|
|
10342
10354
|
evt: t
|
|
10343
10355
|
}), R.eventCanceled) {
|
|
10344
10356
|
this._onDrop();
|
|
10345
10357
|
return;
|
|
10346
10358
|
}
|
|
10347
|
-
|
|
10348
|
-
|
|
10359
|
+
Le("setupClone", this), R.eventCanceled || (he = ql(M), he.draggable = !1, he.style["will-change"] = "", this._hideClone(), Ue(he, this.options.chosenClass, !1), R.clone = he), i.cloneId = lr(function() {
|
|
10360
|
+
Le("clone", i), !R.eventCanceled && (i.options.removeCloneOnHide || ce.insertBefore(he, M), i._hideClone(), De({
|
|
10349
10361
|
sortable: i,
|
|
10350
10362
|
name: "clone"
|
|
10351
10363
|
}));
|
|
@@ -10357,7 +10369,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10357
10369
|
if (ki)
|
|
10358
10370
|
return;
|
|
10359
10371
|
function C(rt, jt) {
|
|
10360
|
-
|
|
10372
|
+
Le(rt, T, dt({
|
|
10361
10373
|
evt: t,
|
|
10362
10374
|
isOwner: c,
|
|
10363
10375
|
axis: b ? "vertical" : "horizontal",
|
|
@@ -10385,7 +10397,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10385
10397
|
}), T !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (i === M && !M.animated || i === n && !i.animated) && (Gt = null), !l.dragoverBubble && !t.rootEl && i !== document && (M.parentNode[Re]._isOutsideThisEl(t.target), !rt && Dt(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), O = !0;
|
|
10386
10398
|
}
|
|
10387
10399
|
function re() {
|
|
10388
|
-
je = He(M), kt = He(M, l.draggable),
|
|
10400
|
+
je = He(M), kt = He(M, l.draggable), De({
|
|
10389
10401
|
sortable: T,
|
|
10390
10402
|
name: "change",
|
|
10391
10403
|
toEl: n,
|
|
@@ -10429,11 +10441,11 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10429
10441
|
if (H === 0 || Oe === i)
|
|
10430
10442
|
return Q(!1);
|
|
10431
10443
|
Gt = i, Cn = H;
|
|
10432
|
-
var
|
|
10444
|
+
var $e = i.nextElementSibling, Ve = !1;
|
|
10433
10445
|
Ve = H === 1;
|
|
10434
10446
|
var yt = er(ce, n, M, s, i, r, t, Ve);
|
|
10435
10447
|
if (yt !== !1)
|
|
10436
|
-
return (yt === 1 || yt === -1) && (Ve = yt === 1), ki = !0, setTimeout($v, 30), z(), Ve &&
|
|
10448
|
+
return (yt === 1 || yt === -1) && (Ve = yt === 1), ki = !0, setTimeout($v, 30), z(), Ve && !$e ? n.appendChild(M) : i.parentNode.insertBefore(M, Ve ? $e : i), ke && Hl(ke, 0, xe - ke.scrollTop), me = M.parentNode, F !== void 0 && !Xn && (ar = Math.abs(F - be(i)[Ee])), re(), Q(!0);
|
|
10437
10449
|
}
|
|
10438
10450
|
if (n.contains(M))
|
|
10439
10451
|
return Q(!1);
|
|
@@ -10450,52 +10462,52 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10450
10462
|
},
|
|
10451
10463
|
_onDrop: function(t) {
|
|
10452
10464
|
var n = this.el, i = this.options;
|
|
10453
|
-
if (je = He(M), kt = He(M, i.draggable),
|
|
10465
|
+
if (je = He(M), kt = He(M, i.draggable), Le("drop", this, {
|
|
10454
10466
|
evt: t
|
|
10455
10467
|
}), me = M && M.parentNode, je = He(M), kt = He(M, i.draggable), R.eventCanceled) {
|
|
10456
10468
|
this._nulling();
|
|
10457
10469
|
return;
|
|
10458
10470
|
}
|
|
10459
|
-
Wt = !1, Xn = !1, En = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), xi(this.cloneId), xi(this._dragStartId), this.nativeDraggable && (J(document, "drop", this), J(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), On && j(document.body, "user-select", ""), j(M, "transform", ""), t && (kn && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), G && G.parentNode && G.parentNode.removeChild(G), (ce === me || we && we.lastPutMode !== "clone") && he && he.parentNode && he.parentNode.removeChild(he), M && (this.nativeDraggable && J(M, "dragend", this), Jr(M), M.style["will-change"] = "", kn && !Wt && Ue(M, we ? we.options.ghostClass : this.options.ghostClass, !1), Ue(M, this.options.chosenClass, !1),
|
|
10471
|
+
Wt = !1, Xn = !1, En = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), xi(this.cloneId), xi(this._dragStartId), this.nativeDraggable && (J(document, "drop", this), J(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), On && j(document.body, "user-select", ""), j(M, "transform", ""), t && (kn && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), G && G.parentNode && G.parentNode.removeChild(G), (ce === me || we && we.lastPutMode !== "clone") && he && he.parentNode && he.parentNode.removeChild(he), M && (this.nativeDraggable && J(M, "dragend", this), Jr(M), M.style["will-change"] = "", kn && !Wt && Ue(M, we ? we.options.ghostClass : this.options.ghostClass, !1), Ue(M, this.options.chosenClass, !1), De({
|
|
10460
10472
|
sortable: this,
|
|
10461
10473
|
name: "unchoose",
|
|
10462
10474
|
toEl: me,
|
|
10463
10475
|
newIndex: null,
|
|
10464
10476
|
newDraggableIndex: null,
|
|
10465
10477
|
originalEvent: t
|
|
10466
|
-
}), ce !== me ? (je >= 0 && (
|
|
10478
|
+
}), ce !== me ? (je >= 0 && (De({
|
|
10467
10479
|
rootEl: me,
|
|
10468
10480
|
name: "add",
|
|
10469
10481
|
toEl: me,
|
|
10470
10482
|
fromEl: ce,
|
|
10471
10483
|
originalEvent: t
|
|
10472
|
-
}),
|
|
10484
|
+
}), De({
|
|
10473
10485
|
sortable: this,
|
|
10474
10486
|
name: "remove",
|
|
10475
10487
|
toEl: me,
|
|
10476
10488
|
originalEvent: t
|
|
10477
|
-
}),
|
|
10489
|
+
}), De({
|
|
10478
10490
|
rootEl: me,
|
|
10479
10491
|
name: "sort",
|
|
10480
10492
|
toEl: me,
|
|
10481
10493
|
fromEl: ce,
|
|
10482
10494
|
originalEvent: t
|
|
10483
|
-
}),
|
|
10495
|
+
}), De({
|
|
10484
10496
|
sortable: this,
|
|
10485
10497
|
name: "sort",
|
|
10486
10498
|
toEl: me,
|
|
10487
10499
|
originalEvent: t
|
|
10488
|
-
})), we && we.save()) : je !== Yt && je >= 0 && (
|
|
10500
|
+
})), we && we.save()) : je !== Yt && je >= 0 && (De({
|
|
10489
10501
|
sortable: this,
|
|
10490
10502
|
name: "update",
|
|
10491
10503
|
toEl: me,
|
|
10492
10504
|
originalEvent: t
|
|
10493
|
-
}),
|
|
10505
|
+
}), De({
|
|
10494
10506
|
sortable: this,
|
|
10495
10507
|
name: "sort",
|
|
10496
10508
|
toEl: me,
|
|
10497
10509
|
originalEvent: t
|
|
10498
|
-
})), R.active && ((je == null || je === -1) && (je = Yt, kt = Vn),
|
|
10510
|
+
})), R.active && ((je == null || je === -1) && (je = Yt, kt = Vn), De({
|
|
10499
10511
|
sortable: this,
|
|
10500
10512
|
name: "end",
|
|
10501
10513
|
toEl: me,
|
|
@@ -10503,7 +10515,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10503
10515
|
}), this.save()))), this._nulling();
|
|
10504
10516
|
},
|
|
10505
10517
|
_nulling: function() {
|
|
10506
|
-
|
|
10518
|
+
Le("nulling", this), ce = M = me = G = $t = he = sr = wt = It = Je = kn = je = kt = Yt = Vn = Gt = Cn = we = Jn = R.dragged = R.ghost = R.clone = R.active = null, gr.forEach(function(t) {
|
|
10507
10519
|
t.checked = !0;
|
|
10508
10520
|
}), gr.length = Kr = Yr = 0;
|
|
10509
10521
|
},
|
|
@@ -10577,7 +10589,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10577
10589
|
* Destroy
|
|
10578
10590
|
*/
|
|
10579
10591
|
destroy: function() {
|
|
10580
|
-
|
|
10592
|
+
Le("destroy", this);
|
|
10581
10593
|
var t = this.el;
|
|
10582
10594
|
t[Re] = null, J(t, "mousedown", this._onTapStart), J(t, "touchstart", this._onTapStart), J(t, "pointerdown", this._onTapStart), this.nativeDraggable && (J(t, "dragover", this), J(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
|
|
10583
10595
|
n.removeAttribute("draggable");
|
|
@@ -10585,7 +10597,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10585
10597
|
},
|
|
10586
10598
|
_hideClone: function() {
|
|
10587
10599
|
if (!wt) {
|
|
10588
|
-
if (
|
|
10600
|
+
if (Le("hideClone", this), R.eventCanceled)
|
|
10589
10601
|
return;
|
|
10590
10602
|
j(he, "display", "none"), this.options.removeCloneOnHide && he.parentNode && he.parentNode.removeChild(he), wt = !0;
|
|
10591
10603
|
}
|
|
@@ -10596,7 +10608,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10596
10608
|
return;
|
|
10597
10609
|
}
|
|
10598
10610
|
if (wt) {
|
|
10599
|
-
if (
|
|
10611
|
+
if (Le("showClone", this), R.eventCanceled)
|
|
10600
10612
|
return;
|
|
10601
10613
|
M.parentNode == ce && !this.options.group.revertClone ? ce.insertBefore(he, M) : $t ? ce.insertBefore(he, $t) : ce.appendChild(he), this.options.group.revertClone && this.animate(M, he), j(he, "display", ""), wt = !1;
|
|
10602
10614
|
}
|
|
@@ -10773,8 +10785,8 @@ var ei = zl(function(e, t, n, i) {
|
|
|
10773
10785
|
ye[Te] || (ye[Te] = {});
|
|
10774
10786
|
(ye[p].vx != xe || ye[p].vy != Oe || ye[p].el !== b) && (ye[p].el = b, ye[p].vx = xe, ye[p].vy = Oe, clearInterval(ye[p].pid), (xe != 0 || Oe != 0) && (f = !0, ye[p].pid = setInterval(function() {
|
|
10775
10787
|
i && this.layer === 0 && R.active._onTouchMove(vr);
|
|
10776
|
-
var
|
|
10777
|
-
typeof c == "function" && c.call(R.dragged.parentNode[Re], Ve,
|
|
10788
|
+
var $e = ye[this.layer].vy ? ye[this.layer].vy * l : 0, Ve = ye[this.layer].vx ? ye[this.layer].vx * l : 0;
|
|
10789
|
+
typeof c == "function" && c.call(R.dragged.parentNode[Re], Ve, $e, e, vr, ye[this.layer].el) !== "continue" || Hl(ye[this.layer].el, Ve, $e);
|
|
10778
10790
|
}.bind({
|
|
10779
10791
|
layer: p
|
|
10780
10792
|
}), 24))), p++;
|
|
@@ -12593,6 +12605,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12593
12605
|
}, {
|
|
12594
12606
|
default: h(() => [
|
|
12595
12607
|
m(u, {
|
|
12608
|
+
size: e.size,
|
|
12596
12609
|
tag: "a",
|
|
12597
12610
|
icon: "",
|
|
12598
12611
|
onClick: (g) => r.toggleMask(p)
|
|
@@ -12603,7 +12616,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12603
12616
|
}, null, 8, ["icon"])
|
|
12604
12617
|
]),
|
|
12605
12618
|
_: 2
|
|
12606
|
-
}, 1032, ["onClick"])
|
|
12619
|
+
}, 1032, ["size", "onClick"])
|
|
12607
12620
|
]),
|
|
12608
12621
|
_: 2
|
|
12609
12622
|
}, 1024)) : _("", !0),
|
|
@@ -12614,6 +12627,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12614
12627
|
}, {
|
|
12615
12628
|
default: h(() => [
|
|
12616
12629
|
m(u, {
|
|
12630
|
+
size: e.size,
|
|
12617
12631
|
tag: "a",
|
|
12618
12632
|
icon: "",
|
|
12619
12633
|
onClick: (g) => r.copy(p)
|
|
@@ -12622,7 +12636,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12622
12636
|
m(l, { icon: "fa-copy" })
|
|
12623
12637
|
]),
|
|
12624
12638
|
_: 2
|
|
12625
|
-
}, 1032, ["onClick"])
|
|
12639
|
+
}, 1032, ["size", "onClick"])
|
|
12626
12640
|
]),
|
|
12627
12641
|
_: 2
|
|
12628
12642
|
}, 1024)) : _("", !0),
|
|
@@ -12633,6 +12647,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12633
12647
|
default: h(() => [
|
|
12634
12648
|
e.canRemoveValue ? (o(), k(u, {
|
|
12635
12649
|
key: 0,
|
|
12650
|
+
size: e.size,
|
|
12636
12651
|
tag: "a",
|
|
12637
12652
|
icon: "",
|
|
12638
12653
|
onClick: (g) => e.remove(c)
|
|
@@ -12641,7 +12656,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12641
12656
|
m(l, { icon: "fa-times" })
|
|
12642
12657
|
]),
|
|
12643
12658
|
_: 2
|
|
12644
|
-
}, 1032, ["onClick"])) : _("", !0)
|
|
12659
|
+
}, 1032, ["size", "onClick"])) : _("", !0)
|
|
12645
12660
|
]),
|
|
12646
12661
|
_: 2
|
|
12647
12662
|
}, 1024)
|
|
@@ -12650,6 +12665,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12650
12665
|
}, 1024))), 128)),
|
|
12651
12666
|
e.canAddValue ? (o(), k(u, {
|
|
12652
12667
|
key: 0,
|
|
12668
|
+
size: e.size,
|
|
12653
12669
|
onClick: t[4] || (t[4] = (c) => e.add())
|
|
12654
12670
|
}, {
|
|
12655
12671
|
default: h(() => [
|
|
@@ -12660,7 +12676,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12660
12676
|
})
|
|
12661
12677
|
]),
|
|
12662
12678
|
_: 1
|
|
12663
|
-
})) : _("", !0)
|
|
12679
|
+
}, 8, ["size"])) : _("", !0)
|
|
12664
12680
|
])) : (o(), k(f, { key: 3 }, {
|
|
12665
12681
|
default: h(() => [
|
|
12666
12682
|
m(a, null, {
|
|
@@ -12706,6 +12722,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12706
12722
|
}, {
|
|
12707
12723
|
default: h(() => [
|
|
12708
12724
|
m(u, {
|
|
12725
|
+
size: e.size,
|
|
12709
12726
|
tag: "a",
|
|
12710
12727
|
icon: "",
|
|
12711
12728
|
onClick: r.toggleMask
|
|
@@ -12716,7 +12733,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12716
12733
|
}, null, 8, ["icon"])
|
|
12717
12734
|
]),
|
|
12718
12735
|
_: 1
|
|
12719
|
-
}, 8, ["onClick"])
|
|
12736
|
+
}, 8, ["size", "onClick"])
|
|
12720
12737
|
]),
|
|
12721
12738
|
_: 1
|
|
12722
12739
|
})) : _("", !0),
|
|
@@ -12727,6 +12744,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12727
12744
|
}, {
|
|
12728
12745
|
default: h(() => [
|
|
12729
12746
|
m(u, {
|
|
12747
|
+
size: e.size,
|
|
12730
12748
|
tag: "a",
|
|
12731
12749
|
icon: "",
|
|
12732
12750
|
onClick: r.copy
|
|
@@ -12735,7 +12753,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12735
12753
|
m(l, { icon: "fa-copy" })
|
|
12736
12754
|
]),
|
|
12737
12755
|
_: 1
|
|
12738
|
-
}, 8, ["onClick"])
|
|
12756
|
+
}, 8, ["size", "onClick"])
|
|
12739
12757
|
]),
|
|
12740
12758
|
_: 1
|
|
12741
12759
|
})) : _("", !0)
|
|
@@ -12744,7 +12762,7 @@ function _b(e, t, n, i, s, r) {
|
|
|
12744
12762
|
}))
|
|
12745
12763
|
], 64);
|
|
12746
12764
|
}
|
|
12747
|
-
const uo = /* @__PURE__ */ V(nb, [["render", _b], ["__scopeId", "data-v-
|
|
12765
|
+
const uo = /* @__PURE__ */ V(nb, [["render", _b], ["__scopeId", "data-v-ab981ae3"]]);
|
|
12748
12766
|
const gb = {
|
|
12749
12767
|
props: {
|
|
12750
12768
|
modelValue: {
|
|
@@ -14199,6 +14217,7 @@ const tk = {
|
|
|
14199
14217
|
arrayField() {
|
|
14200
14218
|
return {
|
|
14201
14219
|
title: this.field.title,
|
|
14220
|
+
hideTitle: !0,
|
|
14202
14221
|
type: this.fieldType,
|
|
14203
14222
|
maximum: 0,
|
|
14204
14223
|
minimum: 1
|
|
@@ -17455,7 +17474,7 @@ var br = {}, cS = {
|
|
|
17455
17474
|
for (var Rt in N)
|
|
17456
17475
|
(st = Rt.length) > E && N.hasOwnProperty(Rt) && (E = st);
|
|
17457
17476
|
return E;
|
|
17458
|
-
}, Te = Oe(ke),
|
|
17477
|
+
}, Te = Oe(ke), $e = Oe(xe), Ve = {
|
|
17459
17478
|
true: !0,
|
|
17460
17479
|
false: !1,
|
|
17461
17480
|
null: null
|
|
@@ -17482,7 +17501,7 @@ var br = {}, cS = {
|
|
|
17482
17501
|
N >= 97 && N <= 122 || // a...z
|
|
17483
17502
|
N >= 48 && N <= 57 || // 0...9
|
|
17484
17503
|
N >= 128 && !xe[String.fromCharCode(N)];
|
|
17485
|
-
},
|
|
17504
|
+
}, Ne = function(N) {
|
|
17486
17505
|
for (var E = 0, st = N.charAt, Rt = N.charCodeAt, Ae = function(A) {
|
|
17487
17506
|
return st.call(N, A);
|
|
17488
17507
|
}, de = function(A) {
|
|
@@ -17505,7 +17524,7 @@ var br = {}, cS = {
|
|
|
17505
17524
|
return A;
|
|
17506
17525
|
}, Ki = function() {
|
|
17507
17526
|
at();
|
|
17508
|
-
for (var A = N.substr(E,
|
|
17527
|
+
for (var A = N.substr(E, $e), L = A.length; L > 0; ) {
|
|
17509
17528
|
if (xe.hasOwnProperty(A) && (!it(de(E)) || E + A.length < N.length && !I(de(E + A.length))))
|
|
17510
17529
|
return E += L, A;
|
|
17511
17530
|
A = A.substr(0, --L);
|
|
@@ -17659,27 +17678,27 @@ var br = {}, cS = {
|
|
|
17659
17678
|
body: Rn
|
|
17660
17679
|
};
|
|
17661
17680
|
};
|
|
17662
|
-
|
|
17663
|
-
return "JavaScript Expression Parser (JSEP) v" +
|
|
17664
|
-
},
|
|
17681
|
+
Ne.version = "0.3.5", Ne.toString = function() {
|
|
17682
|
+
return "JavaScript Expression Parser (JSEP) v" + Ne.version;
|
|
17683
|
+
}, Ne.addUnaryOp = function(N) {
|
|
17665
17684
|
return Te = Math.max(N.length, Te), ke[N] = Ee, this;
|
|
17666
|
-
},
|
|
17667
|
-
return
|
|
17668
|
-
},
|
|
17685
|
+
}, Ne.addBinaryOp = function(N, E) {
|
|
17686
|
+
return $e = Math.max(N.length, $e), xe[N] = E, this;
|
|
17687
|
+
}, Ne.addLiteral = function(N, E) {
|
|
17669
17688
|
return Ve[N] = E, this;
|
|
17670
|
-
},
|
|
17689
|
+
}, Ne.removeUnaryOp = function(N) {
|
|
17671
17690
|
return delete ke[N], N.length === Te && (Te = Oe(ke)), this;
|
|
17672
|
-
},
|
|
17691
|
+
}, Ne.removeAllUnaryOps = function() {
|
|
17673
17692
|
return ke = {}, Te = 0, this;
|
|
17674
|
-
},
|
|
17675
|
-
return delete xe[N], N.length ===
|
|
17676
|
-
},
|
|
17677
|
-
return xe = {},
|
|
17678
|
-
},
|
|
17693
|
+
}, Ne.removeBinaryOp = function(N) {
|
|
17694
|
+
return delete xe[N], N.length === $e && ($e = Oe(xe)), this;
|
|
17695
|
+
}, Ne.removeAllBinaryOps = function() {
|
|
17696
|
+
return xe = {}, $e = 0, this;
|
|
17697
|
+
}, Ne.removeLiteral = function(N) {
|
|
17679
17698
|
return delete Ve[N], this;
|
|
17680
|
-
},
|
|
17699
|
+
}, Ne.removeAllLiterals = function() {
|
|
17681
17700
|
return Ve = {}, this;
|
|
17682
|
-
}, e.exports ? t = e.exports =
|
|
17701
|
+
}, e.exports ? t = e.exports = Ne : t.parse = Ne;
|
|
17683
17702
|
})();
|
|
17684
17703
|
})(cS, br);
|
|
17685
17704
|
const fS = br;
|
|
@@ -18771,7 +18790,7 @@ function sT(e, t) {
|
|
|
18771
18790
|
}
|
|
18772
18791
|
return c;
|
|
18773
18792
|
}
|
|
18774
|
-
function
|
|
18793
|
+
function Me(e) {
|
|
18775
18794
|
return function() {
|
|
18776
18795
|
var t = this;
|
|
18777
18796
|
if (!t.expressions)
|
|
@@ -19012,7 +19031,7 @@ const aT = {
|
|
|
19012
19031
|
},
|
|
19013
19032
|
actualField() {
|
|
19014
19033
|
var e = this.field, t = e;
|
|
19015
|
-
return this.getExpressionRequired && (t = Object.assign({}, t, { minimum: 1 })), this.getExpressionTitle && (t = Object.assign({}, t, { title: this.getExpressionTitle })), this.getExpressionReferenceType && (t = Object.assign({}, t, { referenceType: this.getExpressionReferenceType })), this.getExpressionVisualHide && (t = Object.assign({}, t, { visualHide: this.getExpressionVisualHide })), this.getExpressionWidgetType && (t = Object.assign({}, t, { widget: this.getExpressionWidgetType })), this.getExpressionDataType && (t = Object.assign({}, t, { type: this.getExpressionDataType })), this.getExpressionOptions && (t = Object.assign({}, t, { options: this.getExpressionOptions })), this.getExpressionSyntax && (t = Object.assign({}, t, { syntax: this.getExpressionSyntax })), this.getExpressionMinValue && (t = Object.assign({}, t, { minValue: this.getExpressionMinValue })), this.getExpressionStepValue && (t = Object.assign({}, t, { stepValue: this.getExpressionStepValue })), this.getExpressionMaxValue && (t = Object.assign({}, t, { maxValue: this.getExpressionMaxValue })), this.getExpressionCurrency && (t = Object.assign({}, t, { currency: this.getExpressionCurrency })), t;
|
|
19034
|
+
return this.getExpressionRequired && (t = Object.assign({}, t, { minimum: 1 })), this.getExpressionTitle && (t = Object.assign({}, t, { title: this.getExpressionTitle })), this.getExpressionReferenceType && (t = Object.assign({}, t, { referenceType: this.getExpressionReferenceType })), this.getExpressionVisualHide && (t = Object.assign({}, t, { visualHide: this.getExpressionVisualHide })), this.getExpressionWidgetType && (t = Object.assign({}, t, { widget: this.getExpressionWidgetType })), this.getExpressionDataType && (t = Object.assign({}, t, { type: this.getExpressionDataType })), this.getExpressionOptions && (t = Object.assign({}, t, { options: this.getExpressionOptions })), this.getExpressionSyntax && (t = Object.assign({}, t, { syntax: this.getExpressionSyntax })), this.getExpressionFields && (t = Object.assign({}, t, { fields: this.getExpressionFields })), this.getExpressionMinValue && (t = Object.assign({}, t, { minValue: this.getExpressionMinValue })), this.getExpressionStepValue && (t = Object.assign({}, t, { stepValue: this.getExpressionStepValue })), this.getExpressionMaxValue && (t = Object.assign({}, t, { maxValue: this.getExpressionMaxValue })), this.getExpressionCurrency && (t = Object.assign({}, t, { currency: this.getExpressionCurrency })), t;
|
|
19016
19035
|
},
|
|
19017
19036
|
changeString() {
|
|
19018
19037
|
const e = this.fieldModel;
|
|
@@ -19040,20 +19059,21 @@ const aT = {
|
|
|
19040
19059
|
let e = this.expressions.show, t = this.expressions.hide, n = this.expressionsContext, i;
|
|
19041
19060
|
return e ? i = !Vt.evaluateExpression(e, n) : t && (i = Vt.evaluateExpression(t, n)), i;
|
|
19042
19061
|
},
|
|
19043
|
-
getExpressionTitle:
|
|
19044
|
-
getExpressionRequired:
|
|
19045
|
-
getExpressionDefaultValue:
|
|
19046
|
-
getExpressionValue:
|
|
19047
|
-
getExpressionReferenceType:
|
|
19048
|
-
getExpressionWidgetType:
|
|
19049
|
-
getExpressionDataType:
|
|
19050
|
-
getExpressionOptions:
|
|
19051
|
-
getExpressionSyntax:
|
|
19052
|
-
|
|
19053
|
-
|
|
19054
|
-
|
|
19055
|
-
|
|
19056
|
-
|
|
19062
|
+
getExpressionTitle: Me("title"),
|
|
19063
|
+
getExpressionRequired: Me("required"),
|
|
19064
|
+
getExpressionDefaultValue: Me("defaultValue"),
|
|
19065
|
+
getExpressionValue: Me("value"),
|
|
19066
|
+
getExpressionReferenceType: Me("referenceType"),
|
|
19067
|
+
getExpressionWidgetType: Me("widget"),
|
|
19068
|
+
getExpressionDataType: Me("type"),
|
|
19069
|
+
getExpressionOptions: Me("options"),
|
|
19070
|
+
getExpressionSyntax: Me("syntax"),
|
|
19071
|
+
getExpressionFields: Me("fields"),
|
|
19072
|
+
getExpressionCurrency: Me("currency"),
|
|
19073
|
+
getExpressionMinValue: Me("minValue"),
|
|
19074
|
+
getExpressionStepValue: Me("stepValue"),
|
|
19075
|
+
getExpressionMaxValue: Me("maxValue"),
|
|
19076
|
+
getExpressionVisualHide: Me("visualHide"),
|
|
19057
19077
|
// hasExpressionDefaultValue: hasExpression('defaultValue'), // Not sure what this is for
|
|
19058
19078
|
expressions() {
|
|
19059
19079
|
return this.field.expressions;
|
|
@@ -19200,7 +19220,7 @@ const aT = {
|
|
|
19200
19220
|
class: "ux-field-message"
|
|
19201
19221
|
};
|
|
19202
19222
|
function oT(e, t, n, i, s, r) {
|
|
19203
|
-
const a = y("internal-route-select"), l = y("internal-menu-select"), u = y("custom-html"), f = y("slider-input"), c = y("color-input"), p = y("filter-input"), g = y("date-object-input"), b = y("checkbox"), T = y("boolean-switch"), O = y("upload"), C = y("field-group"), z = y("field-select"), Q = y("native-select"), re = y("button-select"), oe = y("text-field"), ue = y("currency-field"), H = y("time-field"), F = y("date-field"), ae = y("date-range"), q = y("content-select"), Ee = y("type-select"), ke = y("scope-select"), xe = y("rich-text-field"), Oe = y("text-area"), Te = y("timezone-select"),
|
|
19223
|
+
const a = y("internal-route-select"), l = y("internal-menu-select"), u = y("custom-html"), f = y("slider-input"), c = y("color-input"), p = y("filter-input"), g = y("date-object-input"), b = y("checkbox"), T = y("boolean-switch"), O = y("upload"), C = y("field-group"), z = y("field-select"), Q = y("native-select"), re = y("button-select"), oe = y("text-field"), ue = y("currency-field"), H = y("time-field"), F = y("date-field"), ae = y("date-range"), q = y("content-select"), Ee = y("type-select"), ke = y("scope-select"), xe = y("rich-text-field"), Oe = y("text-area"), Te = y("timezone-select"), $e = y("phone-number-input"), Ve = y("object-field"), yt = y("payment-field"), rt = y("options-manager"), jt = y("code-editor-field"), _t = y("flex-column"), it = y("expression-field");
|
|
19204
19224
|
return r.visible ? (o(), d("div", {
|
|
19205
19225
|
key: 0,
|
|
19206
19226
|
class: U(["ux-field", r.classes]),
|
|
@@ -19425,7 +19445,7 @@ function oT(e, t, n, i, s, r) {
|
|
|
19425
19445
|
modelValue: r.fieldModel,
|
|
19426
19446
|
"onUpdate:modelValue": t[26] || (t[26] = (I) => r.fieldModel = I)
|
|
19427
19447
|
}, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
|
|
19428
|
-
r.widget == "phone" ? (o(), k(
|
|
19448
|
+
r.widget == "phone" ? (o(), k($e, {
|
|
19429
19449
|
key: 27,
|
|
19430
19450
|
onTouched: r.touch,
|
|
19431
19451
|
field: r.actualField,
|
|
@@ -19482,7 +19502,7 @@ function oT(e, t, n, i, s, r) {
|
|
|
19482
19502
|
r.error && s.validateResults.message ? (o(), d("div", lT, v(s.validateResults.message), 1)) : _("", !0)
|
|
19483
19503
|
], 34)) : _("", !0);
|
|
19484
19504
|
}
|
|
19485
|
-
const Gi = /* @__PURE__ */ V(aT, [["render", oT], ["__scopeId", "data-v-
|
|
19505
|
+
const Gi = /* @__PURE__ */ V(aT, [["render", oT], ["__scopeId", "data-v-b6cb8f4a"]]);
|
|
19486
19506
|
function uT(e, t, n, i) {
|
|
19487
19507
|
var s = -1, r = e == null ? 0 : e.length;
|
|
19488
19508
|
for (i && r && (n = e[++s]); ++s < r; )
|
|
@@ -21580,7 +21600,7 @@ function ga() {
|
|
|
21580
21600
|
filters: []
|
|
21581
21601
|
};
|
|
21582
21602
|
}
|
|
21583
|
-
let
|
|
21603
|
+
let Ie, oi, ui;
|
|
21584
21604
|
const aE = {
|
|
21585
21605
|
props: {
|
|
21586
21606
|
view: {
|
|
@@ -21669,7 +21689,7 @@ const aE = {
|
|
|
21669
21689
|
UxField: Gi
|
|
21670
21690
|
},
|
|
21671
21691
|
deactivated() {
|
|
21672
|
-
ui = this.$sdk.global.cacheKeys[this.type],
|
|
21692
|
+
ui = this.$sdk.global.cacheKeys[this.type], Ie && (Ie.cancel(), Ie = null, oi = !0);
|
|
21673
21693
|
},
|
|
21674
21694
|
async activated() {
|
|
21675
21695
|
var e = this, t = e.$sdk.global.cacheKeys[e.type];
|
|
@@ -22072,7 +22092,7 @@ const aE = {
|
|
|
22072
22092
|
async load(e) {
|
|
22073
22093
|
var l, u, f, c;
|
|
22074
22094
|
var t = this;
|
|
22075
|
-
t.loading = !0,
|
|
22095
|
+
t.loading = !0, Ie && (Ie.cancel(), Ie = null);
|
|
22076
22096
|
var n = Object.assign({}, t.loadCriteria);
|
|
22077
22097
|
if (n.includeAll = e, t.trash && (n.trash = !0), t.dateFilterEnabled && !n.search) {
|
|
22078
22098
|
let p = (u = (l = t.dateRangeFilter) == null ? void 0 : l.dateRange) == null ? void 0 : u.startDate, g = (c = (f = t.dateRangeFilter) == null ? void 0 : f.dateRange) == null ? void 0 : c.endDate;
|
|
@@ -22086,10 +22106,10 @@ const aE = {
|
|
|
22086
22106
|
}
|
|
22087
22107
|
}
|
|
22088
22108
|
const i = Math.random(), { promise: s, cancel: r } = await t.$sdk.content.list(t.type, n, { remoteURL: t.actualOptions.remoteURL, cancellable: !0 });
|
|
22089
|
-
|
|
22090
|
-
(
|
|
22109
|
+
Ie = { id: i, cancel: r }, s.then(function(p) {
|
|
22110
|
+
(Ie == null ? void 0 : Ie.id) === i && (Ie = null, t.loading = !1, t.loadKey++);
|
|
22091
22111
|
}), s.catch(function(p) {
|
|
22092
|
-
(
|
|
22112
|
+
(Ie == null ? void 0 : Ie.id) === i && (Ie = null);
|
|
22093
22113
|
});
|
|
22094
22114
|
const { data: a } = await s;
|
|
22095
22115
|
if (a)
|
|
@@ -22121,7 +22141,7 @@ const aE = {
|
|
|
22121
22141
|
actualOptions: this.options
|
|
22122
22142
|
};
|
|
22123
22143
|
}
|
|
22124
|
-
}, No = (e) => (tt("data-v-
|
|
22144
|
+
}, No = (e) => (tt("data-v-f1b962cd"), e = e(), nt(), e), lE = { class: "footer" }, oE = /* @__PURE__ */ No(() => /* @__PURE__ */ x("p", null, null, -1)), uE = { key: 0 }, dE = /* @__PURE__ */ No(() => /* @__PURE__ */ x("p", null, null, -1));
|
|
22125
22145
|
function cE(e, t, n, i, s, r) {
|
|
22126
22146
|
const a = y("ux-icon"), l = y("ux-panel-body"), u = y("ux-panel"), f = y("flex-column"), c = y("ux-button"), p = y("ux-list-item"), g = y("ux-list"), b = y("ux-menu"), T = y("native-table"), O = y("pager"), C = y("flex-footer"), z = y("flex-row"), Q = y("search"), re = y("ux-field"), oe = y("filter-builder"), ue = y("flex-body"), H = y("spinner");
|
|
22127
22147
|
return r.actualDefinition ? (o(), k(f, {
|
|
@@ -22200,7 +22220,7 @@ function cE(e, t, n, i, s, r) {
|
|
|
22200
22220
|
activator: h(({ on: F }) => [
|
|
22201
22221
|
m(c, Ei({ icon: "" }, xa(F)), {
|
|
22202
22222
|
default: h(() => [
|
|
22203
|
-
m(a, { icon: "fa-
|
|
22223
|
+
m(a, { icon: "fa-plus-minus" })
|
|
22204
22224
|
]),
|
|
22205
22225
|
_: 2
|
|
22206
22226
|
}, 1040)
|
|
@@ -22342,7 +22362,7 @@ function cE(e, t, n, i, s, r) {
|
|
|
22342
22362
|
_: 3
|
|
22343
22363
|
})) : _("", !0);
|
|
22344
22364
|
}
|
|
22345
|
-
const fE = /* @__PURE__ */ V(aE, [["render", cE], ["__scopeId", "data-v-
|
|
22365
|
+
const fE = /* @__PURE__ */ V(aE, [["render", cE], ["__scopeId", "data-v-f1b962cd"]]), Un = {
|
|
22346
22366
|
props: {
|
|
22347
22367
|
options: {
|
|
22348
22368
|
type: Object,
|