@qikdev/vue-ui 0.2.207 → 0.2.209
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 +325 -268
- 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
|
-
import { defineComponent as
|
|
2
|
+
import { defineComponent as Vr, ref as Jt, toRefs as wl, onMounted as Sl, onBeforeUnmount as qo, watch as Er, computed as fr, openBlock as o, createElementBlock as d, renderSlot as H, createCommentVNode as _, normalizeClass as N, useSlots as Go, reactive as Ti, provide as Li, resolveComponent as y, Fragment as S, unref as zn, createBlock as k, withCtx as h, createVNode as m, renderList as F, toDisplayString as v, withDirectives as K, vShow as di, createElementVNode as x, withModifiers as B, createTextVNode as T, h as mr, mergeProps as Oi, toHandlers as Ar, normalizeStyle as He, resolveDynamicComponent as ft, vModelSelect as Ot, pushScopeId as Ye, popScopeId as Ze, Teleport as Wo, vModelText as se, withKeys as _e, TransitionGroup as Ko, nextTick as Tl, vModelDynamic as Hn } from "vue";
|
|
3
3
|
import { EventDispatcher as Yo } from "@qikdev/sdk";
|
|
4
|
-
const Zo = "0.2.
|
|
4
|
+
const Zo = "0.2.209";
|
|
5
5
|
class Pt extends Error {
|
|
6
6
|
}
|
|
7
7
|
class Jo extends Pt {
|
|
@@ -37,7 +37,7 @@ const I = "numeric", nt = "short", ze = "long", hr = {
|
|
|
37
37
|
year: I,
|
|
38
38
|
month: I,
|
|
39
39
|
day: I
|
|
40
|
-
},
|
|
40
|
+
}, Cl = {
|
|
41
41
|
year: I,
|
|
42
42
|
month: nt,
|
|
43
43
|
day: I
|
|
@@ -46,7 +46,7 @@ const I = "numeric", nt = "short", ze = "long", hr = {
|
|
|
46
46
|
month: nt,
|
|
47
47
|
day: I,
|
|
48
48
|
weekday: nt
|
|
49
|
-
},
|
|
49
|
+
}, Vl = {
|
|
50
50
|
year: I,
|
|
51
51
|
month: ze,
|
|
52
52
|
day: I
|
|
@@ -165,7 +165,7 @@ function Z(e) {
|
|
|
165
165
|
function Nt(e) {
|
|
166
166
|
return typeof e == "number";
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function Ci(e) {
|
|
169
169
|
return typeof e == "number" && e % 1 === 0;
|
|
170
170
|
}
|
|
171
171
|
function nu(e) {
|
|
@@ -198,7 +198,7 @@ function en(e, t) {
|
|
|
198
198
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
199
199
|
}
|
|
200
200
|
function dt(e, t, n) {
|
|
201
|
-
return
|
|
201
|
+
return Ci(e) && e >= t && e <= n;
|
|
202
202
|
}
|
|
203
203
|
function lu(e, t) {
|
|
204
204
|
return e - t * Math.floor(e / t);
|
|
@@ -268,7 +268,7 @@ function Wl(e, t, n, r = null) {
|
|
|
268
268
|
const l = { timeZoneName: t, ...i }, a = new Intl.DateTimeFormat(n, l).formatToParts(s).find((u) => u.type.toLowerCase() === "timezonename");
|
|
269
269
|
return a ? a.value : null;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function Vi(e, t) {
|
|
272
272
|
let n = parseInt(e, 10);
|
|
273
273
|
Number.isNaN(n) && (n = 0);
|
|
274
274
|
const r = parseInt(t, 10) || 0, s = n < 0 || Object.is(n, -0) ? -r : r;
|
|
@@ -431,8 +431,8 @@ function is(e, t) {
|
|
|
431
431
|
}
|
|
432
432
|
const vu = {
|
|
433
433
|
D: hr,
|
|
434
|
-
DD:
|
|
435
|
-
DDD:
|
|
434
|
+
DD: Cl,
|
|
435
|
+
DDD: Vl,
|
|
436
436
|
DDDD: El,
|
|
437
437
|
t: Al,
|
|
438
438
|
tt: Ml,
|
|
@@ -934,7 +934,7 @@ class $e extends Dn {
|
|
|
934
934
|
if (t) {
|
|
935
935
|
const n = t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);
|
|
936
936
|
if (n)
|
|
937
|
-
return new $e(
|
|
937
|
+
return new $e(Vi(n[1], n[2]));
|
|
938
938
|
}
|
|
939
939
|
return null;
|
|
940
940
|
}
|
|
@@ -1140,13 +1140,13 @@ function Ou(e, t = {}) {
|
|
|
1140
1140
|
return r || (r = new Intl.NumberFormat(e, t), gr[n] = r), r;
|
|
1141
1141
|
}
|
|
1142
1142
|
let vr = {};
|
|
1143
|
-
function
|
|
1143
|
+
function Cu(e, t = {}) {
|
|
1144
1144
|
const { base: n, ...r } = t, s = JSON.stringify([e, r]);
|
|
1145
1145
|
let i = vr[s];
|
|
1146
1146
|
return i || (i = new Intl.RelativeTimeFormat(e, t), vr[s] = i), i;
|
|
1147
1147
|
}
|
|
1148
1148
|
let kn = null;
|
|
1149
|
-
function
|
|
1149
|
+
function Vu() {
|
|
1150
1150
|
return kn || (kn = new Intl.DateTimeFormat().resolvedOptions().locale, kn);
|
|
1151
1151
|
}
|
|
1152
1152
|
function Eu(e) {
|
|
@@ -1234,7 +1234,7 @@ class $u {
|
|
|
1234
1234
|
}
|
|
1235
1235
|
class Nu {
|
|
1236
1236
|
constructor(t, n, r) {
|
|
1237
|
-
this.opts = { style: "long", ...r }, !n && Gl() && (this.rtf =
|
|
1237
|
+
this.opts = { style: "long", ...r }, !n && Gl() && (this.rtf = Cu(t, r));
|
|
1238
1238
|
}
|
|
1239
1239
|
format(t, n) {
|
|
1240
1240
|
return this.rtf ? this.rtf.format(t, n) : gu(n, t, this.opts.numeric, this.opts.style !== "long");
|
|
@@ -1248,7 +1248,7 @@ class ce {
|
|
|
1248
1248
|
return ce.create(t.locale, t.numberingSystem, t.outputCalendar, t.defaultToEN);
|
|
1249
1249
|
}
|
|
1250
1250
|
static create(t, n, r, s = !1) {
|
|
1251
|
-
const i = t || ge.defaultLocale, l = i || (s ? "en-US" :
|
|
1251
|
+
const i = t || ge.defaultLocale, l = i || (s ? "en-US" : Vu()), a = n || ge.defaultNumberingSystem, u = r || ge.defaultOutputCalendar;
|
|
1252
1252
|
return new ce(l, a, u, i);
|
|
1253
1253
|
}
|
|
1254
1254
|
static resetCache() {
|
|
@@ -1399,7 +1399,7 @@ function jt(e, t) {
|
|
|
1399
1399
|
}, null, t + 4];
|
|
1400
1400
|
}
|
|
1401
1401
|
function ln(e, t) {
|
|
1402
|
-
const n = !e[t] && !e[t + 1], r =
|
|
1402
|
+
const n = !e[t] && !e[t + 1], r = Vi(e[t + 1], e[t + 2]), s = n ? null : $e.instance(r);
|
|
1403
1403
|
return [{}, s, t + 3];
|
|
1404
1404
|
}
|
|
1405
1405
|
function aa(e, t) {
|
|
@@ -1460,7 +1460,7 @@ function Yu(e) {
|
|
|
1460
1460
|
p
|
|
1461
1461
|
] = e, g = Lr(t, s, r, n, i, l, a);
|
|
1462
1462
|
let b;
|
|
1463
|
-
return u ? b = Wu[u] : f ? b = 0 : b =
|
|
1463
|
+
return u ? b = Wu[u] : f ? b = 0 : b = Vi(c, p), [g, new $e(b)];
|
|
1464
1464
|
}
|
|
1465
1465
|
function Zu(e) {
|
|
1466
1466
|
return e.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
|
|
@@ -2751,7 +2751,7 @@ function fs(e, t) {
|
|
|
2751
2751
|
const n = (s) => s.toUTC(0, { keepLocalTime: !0 }).startOf("day").valueOf(), r = n(t) - n(e);
|
|
2752
2752
|
return Math.floor(X.fromMillis(r).as("days"));
|
|
2753
2753
|
}
|
|
2754
|
-
function
|
|
2754
|
+
function Cd(e, t, n) {
|
|
2755
2755
|
const r = [
|
|
2756
2756
|
["years", (a, u) => u.year - a.year],
|
|
2757
2757
|
["quarters", (a, u) => u.quarter - a.quarter],
|
|
@@ -2774,8 +2774,8 @@ function Vd(e, t, n) {
|
|
|
2774
2774
|
}
|
|
2775
2775
|
return [e, s, l, i];
|
|
2776
2776
|
}
|
|
2777
|
-
function
|
|
2778
|
-
let [s, i, l, a] =
|
|
2777
|
+
function Vd(e, t, n, r) {
|
|
2778
|
+
let [s, i, l, a] = Cd(e, t, n);
|
|
2779
2779
|
const u = t - s, f = n.filter(
|
|
2780
2780
|
(p) => ["hours", "minutes", "seconds", "milliseconds"].indexOf(p) >= 0
|
|
2781
2781
|
);
|
|
@@ -2865,7 +2865,7 @@ function Qe(e, t) {
|
|
|
2865
2865
|
};
|
|
2866
2866
|
}
|
|
2867
2867
|
function ps(e, t) {
|
|
2868
|
-
return { regex: e, deser: ([, n, r]) =>
|
|
2868
|
+
return { regex: e, deser: ([, n, r]) => Vi(n, r), groups: t };
|
|
2869
2869
|
}
|
|
2870
2870
|
function ji(e) {
|
|
2871
2871
|
return { regex: e, deser: ([t]) => t };
|
|
@@ -3162,15 +3162,15 @@ function _s(e) {
|
|
|
3162
3162
|
return { year: t, month: r, day: s, ...Ei(e) };
|
|
3163
3163
|
}
|
|
3164
3164
|
function qd(e) {
|
|
3165
|
-
const t =
|
|
3165
|
+
const t = Ci(e.weekYear), n = dt(e.weekNumber, 1, fi(e.weekYear)), r = dt(e.weekday, 1, 7);
|
|
3166
3166
|
return t ? n ? r ? !1 : Ke("weekday", e.weekday) : Ke("week", e.week) : Ke("weekYear", e.weekYear);
|
|
3167
3167
|
}
|
|
3168
3168
|
function Gd(e) {
|
|
3169
|
-
const t =
|
|
3169
|
+
const t = Ci(e.year), n = dt(e.ordinal, 1, Tn(e.year));
|
|
3170
3170
|
return t ? n ? !1 : Ke("ordinal", e.ordinal) : Ke("year", e.year);
|
|
3171
3171
|
}
|
|
3172
3172
|
function ga(e) {
|
|
3173
|
-
const t =
|
|
3173
|
+
const t = Ci(e.year), n = dt(e.month, 1, 12), r = dt(e.day, 1, ci(e.year, e.month));
|
|
3174
3174
|
return t ? n ? r ? !1 : Ke("day", e.day) : Ke("month", e.month) : Ke("year", e.year);
|
|
3175
3175
|
}
|
|
3176
3176
|
function va(e) {
|
|
@@ -4433,7 +4433,7 @@ class P {
|
|
|
4433
4433
|
diff(t, n = "milliseconds", r = {}) {
|
|
4434
4434
|
if (!this.isValid || !t.isValid)
|
|
4435
4435
|
return X.invalid("created by diffing an invalid DateTime");
|
|
4436
|
-
const s = { locale: this.locale, numberingSystem: this.numberingSystem, ...r }, i = ru(n).map(X.normalizeUnit), l = t.valueOf() > this.valueOf(), a = l ? this : t, u = l ? t : this, f =
|
|
4436
|
+
const s = { locale: this.locale, numberingSystem: this.numberingSystem, ...r }, i = ru(n).map(X.normalizeUnit), l = t.valueOf() > this.valueOf(), a = l ? this : t, u = l ? t : this, f = Vd(a, u, i, s);
|
|
4437
4437
|
return l ? f.negate() : f;
|
|
4438
4438
|
}
|
|
4439
4439
|
/**
|
|
@@ -4586,7 +4586,7 @@ class P {
|
|
|
4586
4586
|
* @type {Object}
|
|
4587
4587
|
*/
|
|
4588
4588
|
static get DATE_MED() {
|
|
4589
|
-
return
|
|
4589
|
+
return Cl;
|
|
4590
4590
|
}
|
|
4591
4591
|
/**
|
|
4592
4592
|
* {@link DateTime#toLocaleString} format like 'Fri, Oct 14, 1983'
|
|
@@ -4600,7 +4600,7 @@ class P {
|
|
|
4600
4600
|
* @type {Object}
|
|
4601
4601
|
*/
|
|
4602
4602
|
static get DATE_FULL() {
|
|
4603
|
-
return
|
|
4603
|
+
return Vl;
|
|
4604
4604
|
}
|
|
4605
4605
|
/**
|
|
4606
4606
|
* {@link DateTime#toLocaleString} format like 'Tuesday, October 14, 1983'
|
|
@@ -4810,7 +4810,7 @@ var wa = (e, t) => {
|
|
|
4810
4810
|
n[r] = s;
|
|
4811
4811
|
return n;
|
|
4812
4812
|
};
|
|
4813
|
-
const ec =
|
|
4813
|
+
const ec = Vr({
|
|
4814
4814
|
name: "StripeElement",
|
|
4815
4815
|
props: {
|
|
4816
4816
|
elements: {
|
|
@@ -4867,7 +4867,7 @@ function nc(e, t, n, r, s, i) {
|
|
|
4867
4867
|
return o(), d("div", tc, null, 512);
|
|
4868
4868
|
}
|
|
4869
4869
|
var ic = /* @__PURE__ */ wa(ec, [["render", nc]]);
|
|
4870
|
-
const rc =
|
|
4870
|
+
const rc = Vr({
|
|
4871
4871
|
name: "StripeElements",
|
|
4872
4872
|
props: {
|
|
4873
4873
|
stripeKey: {
|
|
@@ -4983,14 +4983,14 @@ const Oc = {
|
|
|
4983
4983
|
}
|
|
4984
4984
|
}
|
|
4985
4985
|
};
|
|
4986
|
-
function
|
|
4986
|
+
function Cc(e, t, n, r, s, i) {
|
|
4987
4987
|
return o(), d("div", {
|
|
4988
4988
|
class: N(["flex-row", { gap: n.gap, vcenter: n.vcenter, center: n.center, wrap: n.wrap }])
|
|
4989
4989
|
}, [
|
|
4990
4990
|
H(e.$slots, "default", {}, void 0, !0)
|
|
4991
4991
|
], 2);
|
|
4992
4992
|
}
|
|
4993
|
-
const
|
|
4993
|
+
const Vc = /* @__PURE__ */ V(Oc, [["render", Cc], ["__scopeId", "data-v-bd96c129"]]);
|
|
4994
4994
|
const Ec = {}, Ac = { class: "flex-spacer" };
|
|
4995
4995
|
function Mc(e, t, n, r, s, i) {
|
|
4996
4996
|
return o(), d("div", Ac);
|
|
@@ -5056,17 +5056,17 @@ var yf = pf, _f = Object.prototype, gf = _f.toString;
|
|
|
5056
5056
|
function vf(e) {
|
|
5057
5057
|
return gf.call(e);
|
|
5058
5058
|
}
|
|
5059
|
-
var bf = vf,
|
|
5059
|
+
var bf = vf, Cs = Ur, kf = yf, xf = bf, wf = "[object Null]", Sf = "[object Undefined]", Vs = Cs ? Cs.toStringTag : void 0;
|
|
5060
5060
|
function Tf(e) {
|
|
5061
|
-
return e == null ? e === void 0 ? Sf : wf :
|
|
5061
|
+
return e == null ? e === void 0 ? Sf : wf : Vs && Vs in Object(e) ? kf(e) : xf(e);
|
|
5062
5062
|
}
|
|
5063
5063
|
var Fn = Tf;
|
|
5064
5064
|
function Of(e) {
|
|
5065
5065
|
return e != null && typeof e == "object";
|
|
5066
5066
|
}
|
|
5067
|
-
var $n = Of,
|
|
5067
|
+
var $n = Of, Cf = Fn, Vf = $n, Ef = "[object Symbol]";
|
|
5068
5068
|
function Af(e) {
|
|
5069
|
-
return typeof e == "symbol" ||
|
|
5069
|
+
return typeof e == "symbol" || Vf(e) && Cf(e) == Ef;
|
|
5070
5070
|
}
|
|
5071
5071
|
var Ai = Af, Mf = df, Es = In, Df = Ai, As = 0 / 0, If = /^[-+]0x[0-9a-f]+$/i, Ff = /^0b[01]+$/i, $f = /^0o[0-7]+$/i, Nf = parseInt;
|
|
5072
5072
|
function Lf(e) {
|
|
@@ -5345,7 +5345,7 @@ function um(e) {
|
|
|
5345
5345
|
var t = im(e);
|
|
5346
5346
|
return t == lm || t == am || t == sm || t == om;
|
|
5347
5347
|
}
|
|
5348
|
-
var
|
|
5348
|
+
var Ca = um, dm = an, cm = dm["__core-js_shared__"], fm = cm, Wi = fm, Ds = function() {
|
|
5349
5349
|
var e = /[^.]+$/.exec(Wi && Wi.keys && Wi.keys.IE_PROTO || "");
|
|
5350
5350
|
return e ? "Symbol(src)_1." + e : "";
|
|
5351
5351
|
}();
|
|
@@ -5366,8 +5366,8 @@ function _m(e) {
|
|
|
5366
5366
|
}
|
|
5367
5367
|
return "";
|
|
5368
5368
|
}
|
|
5369
|
-
var gm = _m, vm =
|
|
5370
|
-
"^" +
|
|
5369
|
+
var gm = _m, vm = Ca, bm = hm, km = In, xm = gm, wm = /[\\^$.*+?()[\]{}|]/g, Sm = /^\[object .+?Constructor\]$/, Tm = Function.prototype, Om = Object.prototype, Cm = Tm.toString, Vm = Om.hasOwnProperty, Em = RegExp(
|
|
5370
|
+
"^" + Cm.call(Vm).replace(wm, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
5371
5371
|
);
|
|
5372
5372
|
function Am(e) {
|
|
5373
5373
|
if (!km(e) || bm(e))
|
|
@@ -5433,7 +5433,7 @@ var ch = dh;
|
|
|
5433
5433
|
function fh(e, t) {
|
|
5434
5434
|
return e === t || e !== e && t !== t;
|
|
5435
5435
|
}
|
|
5436
|
-
var
|
|
5436
|
+
var Va = fh, mh = Va;
|
|
5437
5437
|
function hh(e, t) {
|
|
5438
5438
|
for (var n = e.length; n--; )
|
|
5439
5439
|
if (mh(e[n][0], t))
|
|
@@ -5458,11 +5458,11 @@ function Sh(e) {
|
|
|
5458
5458
|
return wh(this.__data__, e) > -1;
|
|
5459
5459
|
}
|
|
5460
5460
|
var Th = Sh, Oh = Di;
|
|
5461
|
-
function
|
|
5461
|
+
function Ch(e, t) {
|
|
5462
5462
|
var n = this.__data__, r = Oh(n, e);
|
|
5463
5463
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
5464
5464
|
}
|
|
5465
|
-
var
|
|
5465
|
+
var Vh = Ch, Eh = ch, Ah = vh, Mh = xh, Dh = Th, Ih = Vh;
|
|
5466
5466
|
function un(e) {
|
|
5467
5467
|
var t = -1, n = e == null ? 0 : e.length;
|
|
5468
5468
|
for (this.clear(); ++t < n; ) {
|
|
@@ -5567,11 +5567,11 @@ function Da(e) {
|
|
|
5567
5567
|
var t = e + "";
|
|
5568
5568
|
return t == "0" && 1 / e == -Tp ? "-0" : t;
|
|
5569
5569
|
}
|
|
5570
|
-
var Op = Da,
|
|
5571
|
-
function
|
|
5572
|
-
return e == null ? "" :
|
|
5570
|
+
var Op = Da, Cp = Op;
|
|
5571
|
+
function Vp(e) {
|
|
5572
|
+
return e == null ? "" : Cp(e);
|
|
5573
5573
|
}
|
|
5574
|
-
var Br =
|
|
5574
|
+
var Br = Vp, Ep = Ln, Ap = nm, Mp = bp, Dp = Br;
|
|
5575
5575
|
function Ip(e, t) {
|
|
5576
5576
|
return Ep(e) ? e : Ap(e, t) ? [e] : Mp(Dp(e));
|
|
5577
5577
|
}
|
|
@@ -6048,7 +6048,7 @@ function Ty(e, t, n, r, s, i) {
|
|
|
6048
6048
|
]);
|
|
6049
6049
|
}
|
|
6050
6050
|
const Oy = /* @__PURE__ */ V(wy, [["render", Ty], ["__scopeId", "data-v-05dd3203"]]);
|
|
6051
|
-
const
|
|
6051
|
+
const Cy = {
|
|
6052
6052
|
props: {
|
|
6053
6053
|
multi: {
|
|
6054
6054
|
type: Boolean
|
|
@@ -6095,7 +6095,7 @@ const Vy = {
|
|
|
6095
6095
|
}
|
|
6096
6096
|
}
|
|
6097
6097
|
};
|
|
6098
|
-
function
|
|
6098
|
+
function Vy(e, t, n, r, s, i) {
|
|
6099
6099
|
const l = y("ux-pill");
|
|
6100
6100
|
return i.reference ? (o(), k(l, {
|
|
6101
6101
|
key: 0,
|
|
@@ -6111,7 +6111,7 @@ function Cy(e, t, n, r, s, i) {
|
|
|
6111
6111
|
], 64)) : _("", !0)
|
|
6112
6112
|
], 64));
|
|
6113
6113
|
}
|
|
6114
|
-
const Ey = /* @__PURE__ */ V(
|
|
6114
|
+
const Ey = /* @__PURE__ */ V(Cy, [["render", Vy], ["__scopeId", "data-v-27442ac9"]]);
|
|
6115
6115
|
const Ay = ".total", My = {
|
|
6116
6116
|
mixins: [Ae],
|
|
6117
6117
|
methods: {
|
|
@@ -6998,7 +6998,7 @@ var tn = {}, T_ = {
|
|
|
6998
6998
|
function $a(e) {
|
|
6999
6999
|
return "[Throws: " + (e ? e.message : "?") + "]";
|
|
7000
7000
|
}
|
|
7001
|
-
function
|
|
7001
|
+
function C_(e, t) {
|
|
7002
7002
|
if (O_.call(e, t))
|
|
7003
7003
|
try {
|
|
7004
7004
|
return e[t];
|
|
@@ -7026,7 +7026,7 @@ function Na(e) {
|
|
|
7026
7026
|
return t.pop(), i;
|
|
7027
7027
|
}
|
|
7028
7028
|
var l = Object.keys(r).reduce(function(a, u) {
|
|
7029
|
-
return a[u] = n(
|
|
7029
|
+
return a[u] = n(C_(r, u)), a;
|
|
7030
7030
|
}, {});
|
|
7031
7031
|
return t.pop(), l;
|
|
7032
7032
|
}
|
|
@@ -7036,7 +7036,7 @@ T_.exports = function(e, t, n) {
|
|
|
7036
7036
|
return JSON.stringify(Na(e), t, n);
|
|
7037
7037
|
};
|
|
7038
7038
|
tn.ensureProperties = Na;
|
|
7039
|
-
function
|
|
7039
|
+
function V_(e, t) {
|
|
7040
7040
|
return e == null || t == "date" && e.toString && e.toString() === "Invalid Date";
|
|
7041
7041
|
}
|
|
7042
7042
|
function Bs(e) {
|
|
@@ -7349,7 +7349,7 @@ const Q = {
|
|
|
7349
7349
|
},
|
|
7350
7350
|
cleanOutput(e) {
|
|
7351
7351
|
var t = this;
|
|
7352
|
-
return
|
|
7352
|
+
return V_(e, t.field.type) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? (Array.isArray(e) || (e = []), e.forEach(function(n, r) {
|
|
7353
7353
|
e[r] = t.cleanOutputValue(n);
|
|
7354
7354
|
})) : e = t.cleanOutputValue(e), e;
|
|
7355
7355
|
},
|
|
@@ -8395,8 +8395,8 @@ function Og(e, t, n, r, s, i) {
|
|
|
8395
8395
|
]))
|
|
8396
8396
|
], 2);
|
|
8397
8397
|
}
|
|
8398
|
-
const
|
|
8399
|
-
const
|
|
8398
|
+
const Cg = /* @__PURE__ */ V(Tg, [["render", Og], ["__scopeId", "data-v-960ee754"]]);
|
|
8399
|
+
const Vg = {
|
|
8400
8400
|
name: "menulist",
|
|
8401
8401
|
props: {
|
|
8402
8402
|
items: {
|
|
@@ -8438,15 +8438,16 @@ const Cg = {
|
|
|
8438
8438
|
return isNaN(e) || !parseInt(e) ? 0 : Math.max(e, 0);
|
|
8439
8439
|
},
|
|
8440
8440
|
filteredItems() {
|
|
8441
|
-
|
|
8442
|
-
|
|
8441
|
+
const e = this;
|
|
8442
|
+
let t = e.tree.filter(function(n) {
|
|
8443
|
+
return !(n.advancedOptions && e.$sdk.utils.checkContextVisibility && !e.$sdk.utils.checkContextVisibility(n.contextVisibility) || n.disabled);
|
|
8443
8444
|
});
|
|
8444
|
-
return this.actualDepth === 1 && (
|
|
8445
|
+
return this.actualDepth === 1 && (t = t.map(function(n) {
|
|
8445
8446
|
return {
|
|
8446
|
-
...
|
|
8447
|
+
...n,
|
|
8447
8448
|
items: []
|
|
8448
8449
|
};
|
|
8449
|
-
})),
|
|
8450
|
+
})), t;
|
|
8450
8451
|
}
|
|
8451
8452
|
// expandedItem: {
|
|
8452
8453
|
// get() {
|
|
@@ -8624,7 +8625,7 @@ function Eg(e, t, n, r, s, i) {
|
|
|
8624
8625
|
}), 128))
|
|
8625
8626
|
]);
|
|
8626
8627
|
}
|
|
8627
|
-
const Ag = /* @__PURE__ */ V(
|
|
8628
|
+
const Ag = /* @__PURE__ */ V(Vg, [["render", Eg], ["__scopeId", "data-v-cbfd31c1"]]);
|
|
8628
8629
|
const Mg = {
|
|
8629
8630
|
props: {
|
|
8630
8631
|
item: {
|
|
@@ -9981,10 +9982,10 @@ const Sv = {
|
|
|
9981
9982
|
}, Ov = {
|
|
9982
9983
|
key: 0,
|
|
9983
9984
|
class: "ux-required-marker"
|
|
9984
|
-
},
|
|
9985
|
+
}, Cv = {
|
|
9985
9986
|
key: 1,
|
|
9986
9987
|
class: "ux-field-description"
|
|
9987
|
-
},
|
|
9988
|
+
}, Vv = {
|
|
9988
9989
|
key: 2,
|
|
9989
9990
|
class: "ui-select-button"
|
|
9990
9991
|
}, Ev = ["multiple"], Av = {
|
|
@@ -10000,8 +10001,8 @@ function Dv(e, t, n, r, s, i) {
|
|
|
10000
10001
|
T(v(e.label) + " ", 1),
|
|
10001
10002
|
e.required ? (o(), d("span", Ov, "*")) : _("", !0)
|
|
10002
10003
|
])) : _("", !0),
|
|
10003
|
-
e.showDescription ? (o(), d("div",
|
|
10004
|
-
e.singleValue ? (o(), d("div",
|
|
10004
|
+
e.showDescription ? (o(), d("div", Cv, v(e.description), 1)) : _("", !0),
|
|
10005
|
+
e.singleValue ? (o(), d("div", Vv, [
|
|
10005
10006
|
H(e.$slots, "default", {}, () => [
|
|
10006
10007
|
m(l, { tag: "div" }, {
|
|
10007
10008
|
default: h(() => [
|
|
@@ -10391,19 +10392,19 @@ function zv(e, t) {
|
|
|
10391
10392
|
function Ki(e, t) {
|
|
10392
10393
|
return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
|
|
10393
10394
|
}
|
|
10394
|
-
var
|
|
10395
|
+
var Cn;
|
|
10395
10396
|
function Ha(e, t) {
|
|
10396
10397
|
return function() {
|
|
10397
|
-
if (!
|
|
10398
|
+
if (!Cn) {
|
|
10398
10399
|
var n = arguments, r = this;
|
|
10399
|
-
n.length === 1 ? e.call(r, n[0]) : e.apply(r, n),
|
|
10400
|
-
|
|
10400
|
+
n.length === 1 ? e.call(r, n[0]) : e.apply(r, n), Cn = setTimeout(function() {
|
|
10401
|
+
Cn = void 0;
|
|
10401
10402
|
}, t);
|
|
10402
10403
|
}
|
|
10403
10404
|
};
|
|
10404
10405
|
}
|
|
10405
10406
|
function Hv() {
|
|
10406
|
-
clearTimeout(
|
|
10407
|
+
clearTimeout(Cn), Cn = void 0;
|
|
10407
10408
|
}
|
|
10408
10409
|
function qa(e, t, n) {
|
|
10409
10410
|
e.scrollLeft += t, e.scrollTop += n;
|
|
@@ -10559,7 +10560,7 @@ var Yv = ["evt"], Le = function(t, n) {
|
|
|
10559
10560
|
activeSortable: R.active,
|
|
10560
10561
|
originalEvent: s,
|
|
10561
10562
|
oldIndex: Zt,
|
|
10562
|
-
oldDraggableIndex:
|
|
10563
|
+
oldDraggableIndex: Vn,
|
|
10563
10564
|
newIndex: je,
|
|
10564
10565
|
newDraggableIndex: xt,
|
|
10565
10566
|
hideGhostForTarget: Za,
|
|
@@ -10586,12 +10587,12 @@ function Fe(e) {
|
|
|
10586
10587
|
targetEl: M,
|
|
10587
10588
|
rootEl: de,
|
|
10588
10589
|
oldIndex: Zt,
|
|
10589
|
-
oldDraggableIndex:
|
|
10590
|
+
oldDraggableIndex: Vn,
|
|
10590
10591
|
newIndex: je,
|
|
10591
10592
|
newDraggableIndex: xt
|
|
10592
10593
|
}, e));
|
|
10593
10594
|
}
|
|
10594
|
-
var M, fe, W, de, $t, li, me, St, Zt, je,
|
|
10595
|
+
var M, fe, W, de, $t, li, me, St, Zt, je, Vn, xt, Xn, we, Kt = !1, _i = !1, gi = [], Dt, et, Zi, Ji, Ks, Ys, xn, Wt, En, An = !1, Qn = !1, ai, Ee, Xi = [], xr = !1, vi = [], Fi = typeof document < "u", ei = Ra, Zs = Pn || yt ? "cssFloat" : "float", Zv = Fi && !jv && !Ra && "draggable" in document.createElement("div"), Wa = function() {
|
|
10595
10596
|
if (Fi) {
|
|
10596
10597
|
if (yt)
|
|
10597
10598
|
return !1;
|
|
@@ -10735,7 +10736,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10735
10736
|
if (t.cancelable) {
|
|
10736
10737
|
var n = this, r = this.el, s = this.options, i = s.preventOnFilter, l = t.type, a = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, u = (a || t).target, f = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || u, c = s.filter;
|
|
10737
10738
|
if (a1(r), !M && !(/mousedown|pointerdown/.test(l) && t.button !== 0 || s.disabled) && !f.isContentEditable && !(!this.nativeDraggable && On && u && u.tagName.toUpperCase() === "SELECT") && (u = at(u, s.draggable, r, !1), !(u && u.animated) && li !== u)) {
|
|
10738
|
-
if (Zt = Ge(u),
|
|
10739
|
+
if (Zt = Ge(u), Vn = Ge(u, s.draggable), typeof c == "function") {
|
|
10739
10740
|
if (c.call(this, t, u, this)) {
|
|
10740
10741
|
Fe({
|
|
10741
10742
|
sortable: n,
|
|
@@ -10925,8 +10926,8 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10925
10926
|
fromSortable: g,
|
|
10926
10927
|
target: r,
|
|
10927
10928
|
completed: D,
|
|
10928
|
-
onMove: function(rt,
|
|
10929
|
-
return ti(de, n, M, s, rt, ve(rt), t,
|
|
10929
|
+
onMove: function(rt, Vt) {
|
|
10930
|
+
return ti(de, n, M, s, rt, ve(rt), t, Vt);
|
|
10930
10931
|
},
|
|
10931
10932
|
changed: ee
|
|
10932
10933
|
}, Rt));
|
|
@@ -10986,11 +10987,11 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10986
10987
|
if (q === 0 || Te === r)
|
|
10987
10988
|
return D(!1);
|
|
10988
10989
|
Wt = r, En = q;
|
|
10989
|
-
var Ne = r.nextElementSibling,
|
|
10990
|
-
|
|
10991
|
-
var _t = ti(de, n, M, s, r, i, t,
|
|
10990
|
+
var Ne = r.nextElementSibling, Ce = !1;
|
|
10991
|
+
Ce = q === 1;
|
|
10992
|
+
var _t = ti(de, n, M, s, r, i, t, Ce);
|
|
10992
10993
|
if (_t !== !1)
|
|
10993
|
-
return (_t === 1 || _t === -1) && (
|
|
10994
|
+
return (_t === 1 || _t === -1) && (Ce = _t === 1), xr = !0, setTimeout(t1, 30), z(), Ce && !Ne ? n.appendChild(M) : r.parentNode.insertBefore(M, Ce ? Ne : r), ke && qa(ke, 0, xe - ke.scrollTop), fe = M.parentNode, $ !== void 0 && !Qn && (ai = Math.abs($ - ve(r)[Me])), ee(), D(!0);
|
|
10994
10995
|
}
|
|
10995
10996
|
if (n.contains(M))
|
|
10996
10997
|
return D(!1);
|
|
@@ -11052,7 +11053,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
11052
11053
|
name: "sort",
|
|
11053
11054
|
toEl: fe,
|
|
11054
11055
|
originalEvent: t
|
|
11055
|
-
})), R.active && ((je == null || je === -1) && (je = Zt, xt =
|
|
11056
|
+
})), R.active && ((je == null || je === -1) && (je = Zt, xt = Vn), Fe({
|
|
11056
11057
|
sortable: this,
|
|
11057
11058
|
name: "end",
|
|
11058
11059
|
toEl: fe,
|
|
@@ -11060,7 +11061,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
11060
11061
|
}), this.save()))), this._nulling();
|
|
11061
11062
|
},
|
|
11062
11063
|
_nulling: function() {
|
|
11063
|
-
Le("nulling", this), de = M = fe = W = $t = me = li = St = Dt = et = xn = je = xt = Zt =
|
|
11064
|
+
Le("nulling", this), de = M = fe = W = $t = me = li = St = Dt = et = xn = je = xt = Zt = Vn = Wt = En = we = Xn = R.dragged = R.ghost = R.clone = R.active = null, vi.forEach(function(t) {
|
|
11064
11065
|
t.checked = !0;
|
|
11065
11066
|
}), vi.length = Zi = Ji = 0;
|
|
11066
11067
|
},
|
|
@@ -11330,8 +11331,8 @@ var nr = Ha(function(e, t, n, r) {
|
|
|
11330
11331
|
pe[Oe] || (pe[Oe] = {});
|
|
11331
11332
|
(pe[p].vx != xe || pe[p].vy != Te || pe[p].el !== b) && (pe[p].el = b, pe[p].vx = xe, pe[p].vy = Te, clearInterval(pe[p].pid), (xe != 0 || Te != 0) && (f = !0, pe[p].pid = setInterval(function() {
|
|
11332
11333
|
r && this.layer === 0 && R.active._onTouchMove(bi);
|
|
11333
|
-
var Ne = pe[this.layer].vy ? pe[this.layer].vy * a : 0,
|
|
11334
|
-
typeof c == "function" && c.call(R.dragged.parentNode[Be],
|
|
11334
|
+
var Ne = pe[this.layer].vy ? pe[this.layer].vy * a : 0, Ce = pe[this.layer].vx ? pe[this.layer].vx * a : 0;
|
|
11335
|
+
typeof c == "function" && c.call(R.dragged.parentNode[Be], Ce, Ne, e, bi, pe[this.layer].el) !== "continue" || qa(pe[this.layer].el, Ce, Ne);
|
|
11335
11336
|
}.bind({
|
|
11336
11337
|
layer: p
|
|
11337
11338
|
}), 24))), p++;
|
|
@@ -11648,14 +11649,14 @@ function lo(e) {
|
|
|
11648
11649
|
return this[`onDrag${e}`](t, n);
|
|
11649
11650
|
};
|
|
11650
11651
|
}
|
|
11651
|
-
function
|
|
11652
|
+
function C1(e) {
|
|
11652
11653
|
const t = lo.call(this, e);
|
|
11653
11654
|
return (n, r) => {
|
|
11654
11655
|
t.call(this, n, r), so.call(this, e, n);
|
|
11655
11656
|
};
|
|
11656
11657
|
}
|
|
11657
11658
|
let rr = null;
|
|
11658
|
-
const
|
|
11659
|
+
const V1 = {
|
|
11659
11660
|
list: {
|
|
11660
11661
|
type: Array,
|
|
11661
11662
|
required: !1,
|
|
@@ -11691,10 +11692,10 @@ const C1 = {
|
|
|
11691
11692
|
"update:modelValue",
|
|
11692
11693
|
"change",
|
|
11693
11694
|
...[...Or.manageAndEmit, ...Or.emit].map((e) => e.toLowerCase())
|
|
11694
|
-
], ao =
|
|
11695
|
+
], ao = Vr({
|
|
11695
11696
|
name: "draggable",
|
|
11696
11697
|
inheritAttrs: !1,
|
|
11697
|
-
props:
|
|
11698
|
+
props: V1,
|
|
11698
11699
|
emits: E1,
|
|
11699
11700
|
data() {
|
|
11700
11701
|
return {
|
|
@@ -11730,7 +11731,7 @@ const C1 = {
|
|
|
11730
11731
|
const r = b1({
|
|
11731
11732
|
$attrs: e,
|
|
11732
11733
|
callBackBuilder: {
|
|
11733
|
-
manageAndEmit: (i) =>
|
|
11734
|
+
manageAndEmit: (i) => C1.call(this, i),
|
|
11734
11735
|
emit: (i) => so.bind(this, i),
|
|
11735
11736
|
manage: (i) => lo.call(this, i)
|
|
11736
11737
|
}
|
|
@@ -13031,6 +13032,9 @@ const xb = {
|
|
|
13031
13032
|
copyable() {
|
|
13032
13033
|
return this.$sdk.global.copyText && this.field.copyable;
|
|
13033
13034
|
},
|
|
13035
|
+
uneditable() {
|
|
13036
|
+
return this.field.editable === !1;
|
|
13037
|
+
},
|
|
13034
13038
|
inputClasses() {
|
|
13035
13039
|
const e = [];
|
|
13036
13040
|
return e.push(`ux-text-input-${this.inputType}`), e.join(" ");
|
|
@@ -13113,16 +13117,16 @@ const xb = {
|
|
|
13113
13117
|
}, Tb = {
|
|
13114
13118
|
key: 1,
|
|
13115
13119
|
class: "ux-field-description"
|
|
13116
|
-
}, Ob = { key: 2 },
|
|
13120
|
+
}, Ob = { key: 2 }, Cb = { class: "ux-text-wrap" }, Vb = {
|
|
13117
13121
|
key: 0,
|
|
13118
13122
|
class: "ux-text-prefix"
|
|
13119
|
-
}, Eb = ["type", "placeholder", "onUpdate:modelValue"], Ab = ["type", "placeholder", "onUpdate:modelValue"], Mb = {
|
|
13123
|
+
}, Eb = ["readonly", "type", "placeholder", "onUpdate:modelValue"], Ab = ["readonly", "type", "placeholder", "onUpdate:modelValue"], Mb = {
|
|
13120
13124
|
key: 3,
|
|
13121
13125
|
class: "ux-text-suffix"
|
|
13122
13126
|
}, Db = { class: "ux-text-wrap" }, Ib = {
|
|
13123
13127
|
key: 0,
|
|
13124
13128
|
class: "ux-text-prefix"
|
|
13125
|
-
}, Fb = ["type", "placeholder"], $b = ["type", "placeholder"], Nb = {
|
|
13129
|
+
}, Fb = ["readonly", "type", "placeholder"], $b = ["readonly", "type", "placeholder"], Nb = {
|
|
13126
13130
|
key: 3,
|
|
13127
13131
|
class: "ux-text-suffix"
|
|
13128
13132
|
};
|
|
@@ -13136,16 +13140,18 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13136
13140
|
e.showDescription ? (o(), d("div", Tb, v(e.description), 1)) : _("", !0),
|
|
13137
13141
|
e.multiValue ? (o(), d("div", Ob, [
|
|
13138
13142
|
(o(!0), d(S, null, F(e.model, (c, p) => (o(), k(f, {
|
|
13143
|
+
gap: "",
|
|
13139
13144
|
class: "ux-text-row",
|
|
13140
13145
|
key: p
|
|
13141
13146
|
}, {
|
|
13142
13147
|
default: h(() => [
|
|
13143
13148
|
m(l, null, {
|
|
13144
13149
|
default: h(() => [
|
|
13145
|
-
x("div",
|
|
13146
|
-
e.prefix ? (o(), d("span",
|
|
13150
|
+
x("div", Cb, [
|
|
13151
|
+
e.prefix ? (o(), d("span", Vb, v(e.prefix), 1)) : _("", !0),
|
|
13147
13152
|
i.lazy ? K((o(), d("input", {
|
|
13148
13153
|
key: 1,
|
|
13154
|
+
readonly: i.uneditable,
|
|
13149
13155
|
type: i.getInput(p),
|
|
13150
13156
|
class: N([i.inputClasses, "ux-field-focus ux-text-input-multiple"]),
|
|
13151
13157
|
placeholder: i.actualPlaceholder,
|
|
@@ -13164,6 +13170,7 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13164
13170
|
]) : _("", !0),
|
|
13165
13171
|
i.lazy ? _("", !0) : K((o(), d("input", {
|
|
13166
13172
|
key: 2,
|
|
13173
|
+
readonly: i.uneditable,
|
|
13167
13174
|
type: i.getInput(p),
|
|
13168
13175
|
class: N([i.inputClasses, "ux-field-focus ux-text-input-multiple"]),
|
|
13169
13176
|
placeholder: i.actualPlaceholder,
|
|
@@ -13259,7 +13266,10 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13259
13266
|
]),
|
|
13260
13267
|
_: 1
|
|
13261
13268
|
}, 8, ["size"])) : _("", !0)
|
|
13262
|
-
])) : (o(), k(f, {
|
|
13269
|
+
])) : (o(), k(f, {
|
|
13270
|
+
key: 3,
|
|
13271
|
+
gap: ""
|
|
13272
|
+
}, {
|
|
13263
13273
|
default: h(() => [
|
|
13264
13274
|
m(l, null, {
|
|
13265
13275
|
default: h(() => [
|
|
@@ -13267,6 +13277,7 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13267
13277
|
e.prefix ? (o(), d("span", Ib, v(e.prefix), 1)) : _("", !0),
|
|
13268
13278
|
i.lazy ? K((o(), d("input", {
|
|
13269
13279
|
key: 1,
|
|
13280
|
+
readonly: i.uneditable,
|
|
13270
13281
|
type: i.actualInputType,
|
|
13271
13282
|
ref: "input",
|
|
13272
13283
|
class: N([i.inputClasses, "ux-field-focus ux-text-input-single"]),
|
|
@@ -13283,6 +13294,7 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13283
13294
|
]) : _("", !0),
|
|
13284
13295
|
i.lazy ? _("", !0) : K((o(), d("input", {
|
|
13285
13296
|
key: 2,
|
|
13297
|
+
readonly: i.uneditable,
|
|
13286
13298
|
type: i.actualInputType,
|
|
13287
13299
|
ref: "input",
|
|
13288
13300
|
class: N([i.inputClasses, "ux-field-focus ux-text-input-single"]),
|
|
@@ -13344,7 +13356,7 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13344
13356
|
}))
|
|
13345
13357
|
], 64);
|
|
13346
13358
|
}
|
|
13347
|
-
const fo = /* @__PURE__ */ V(xb, [["render", Lb], ["__scopeId", "data-v-
|
|
13359
|
+
const fo = /* @__PURE__ */ V(xb, [["render", Lb], ["__scopeId", "data-v-3eb5be38"]]);
|
|
13348
13360
|
const Pb = {
|
|
13349
13361
|
props: {
|
|
13350
13362
|
modelValue: {
|
|
@@ -13924,17 +13936,17 @@ function Sk(e, t, n, r, s, i) {
|
|
|
13924
13936
|
}, null, 8, wk));
|
|
13925
13937
|
}
|
|
13926
13938
|
const Tk = /* @__PURE__ */ V(bk, [["render", Sk]]);
|
|
13927
|
-
var Ok = Math.ceil,
|
|
13928
|
-
function
|
|
13929
|
-
for (var s = -1, i =
|
|
13939
|
+
var Ok = Math.ceil, Ck = Math.max;
|
|
13940
|
+
function Vk(e, t, n, r) {
|
|
13941
|
+
for (var s = -1, i = Ck(Ok((t - e) / (n || 1)), 0), l = Array(i); i--; )
|
|
13930
13942
|
l[r ? i : ++s] = e, e += n;
|
|
13931
13943
|
return l;
|
|
13932
13944
|
}
|
|
13933
|
-
var Ek =
|
|
13945
|
+
var Ek = Vk, Ak = 9007199254740991;
|
|
13934
13946
|
function Mk(e) {
|
|
13935
13947
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ak;
|
|
13936
13948
|
}
|
|
13937
|
-
var ho = Mk, Dk =
|
|
13949
|
+
var ho = Mk, Dk = Ca, Ik = ho;
|
|
13938
13950
|
function Fk(e) {
|
|
13939
13951
|
return e != null && Ik(e.length) && !Dk(e);
|
|
13940
13952
|
}
|
|
@@ -13943,7 +13955,7 @@ function Lk(e, t) {
|
|
|
13943
13955
|
var n = typeof e;
|
|
13944
13956
|
return t = t ?? $k, !!t && (n == "number" || n != "symbol" && Nk.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
13945
13957
|
}
|
|
13946
|
-
var po = Lk, Pk =
|
|
13958
|
+
var po = Lk, Pk = Va, Uk = Kr, jk = po, Rk = In;
|
|
13947
13959
|
function Bk(e, t, n) {
|
|
13948
13960
|
if (!Rk(n))
|
|
13949
13961
|
return !1;
|
|
@@ -14946,7 +14958,7 @@ const k0 = {
|
|
|
14946
14958
|
}, x0 = (e) => (Ye("data-v-13dce876"), e = e(), Ze(), e), w0 = {
|
|
14947
14959
|
key: 0,
|
|
14948
14960
|
class: "filter-condition"
|
|
14949
|
-
}, S0 = { key: 0 }, T0 = { key: 1 }, O0 = { key: 2 },
|
|
14961
|
+
}, S0 = { key: 0 }, T0 = { key: 1 }, O0 = { key: 2 }, C0 = { key: 3 }, V0 = { key: 4 }, E0 = { key: 5 }, A0 = { key: 6 }, M0 = { key: 7 }, D0 = { key: 8 }, I0 = { key: 9 }, F0 = { key: 10 }, $0 = /* @__PURE__ */ x0(() => /* @__PURE__ */ x("label", null, "Where:", -1));
|
|
14950
14962
|
function N0(e, t, n, r, s, i) {
|
|
14951
14963
|
const l = y("native-select"), a = y("flex-cell"), u = y("text-field"), f = y("currency-field"), c = y("flex-row"), p = y("date-field"), g = y("scope-select"), b = y("content-select"), w = y("ux-switch"), C = y("ux-icon"), U = y("ux-button"), z = y("filter-condition", !0);
|
|
14952
14964
|
return s.comparators ? (o(), d("div", w0, [
|
|
@@ -15046,7 +15058,7 @@ function N0(e, t, n, r, s, i) {
|
|
|
15046
15058
|
_: 1
|
|
15047
15059
|
})
|
|
15048
15060
|
])) : _("", !0),
|
|
15049
|
-
i.inputType == "daterange" ? (o(), d("div",
|
|
15061
|
+
i.inputType == "daterange" ? (o(), d("div", C0, [
|
|
15050
15062
|
m(p, {
|
|
15051
15063
|
field: i.dateField,
|
|
15052
15064
|
modelValue: s.model.value,
|
|
@@ -15059,7 +15071,7 @@ function N0(e, t, n, r, s, i) {
|
|
|
15059
15071
|
"onUpdate:modelValue": t[11] || (t[11] = (D) => s.model.value2 = D)
|
|
15060
15072
|
}, null, 8, ["field", "modelValue"])
|
|
15061
15073
|
])) : _("", !0),
|
|
15062
|
-
i.inputType == "date" ? (o(), d("div",
|
|
15074
|
+
i.inputType == "date" ? (o(), d("div", V0, [
|
|
15063
15075
|
m(p, {
|
|
15064
15076
|
field: i.dateField,
|
|
15065
15077
|
modelValue: s.model.value,
|
|
@@ -16195,10 +16207,10 @@ const Ox = {
|
|
|
16195
16207
|
return "";
|
|
16196
16208
|
}
|
|
16197
16209
|
}
|
|
16198
|
-
},
|
|
16210
|
+
}, Cx = {
|
|
16199
16211
|
key: 0,
|
|
16200
16212
|
class: "ux-field-title"
|
|
16201
|
-
},
|
|
16213
|
+
}, Vx = {
|
|
16202
16214
|
key: 0,
|
|
16203
16215
|
class: "ux-required-marker"
|
|
16204
16216
|
}, Ex = {
|
|
@@ -16208,9 +16220,9 @@ const Ox = {
|
|
|
16208
16220
|
function Ix(e, t, n, r, s, i) {
|
|
16209
16221
|
const l = y("range-slider"), a = y("flex-cell"), u = y("flex-row"), f = y("ux-icon"), c = y("ux-button");
|
|
16210
16222
|
return o(), d(S, null, [
|
|
16211
|
-
e.showLabel ? (o(), d("label",
|
|
16223
|
+
e.showLabel ? (o(), d("label", Cx, [
|
|
16212
16224
|
T(v(e.label) + " ", 1),
|
|
16213
|
-
e.required ? (o(), d("span",
|
|
16225
|
+
e.required ? (o(), d("span", Vx, "*")) : _("", !0)
|
|
16214
16226
|
])) : _("", !0),
|
|
16215
16227
|
e.showDescription ? (o(), d("div", Ex, v(e.description), 1)) : _("", !0),
|
|
16216
16228
|
e.multiValue ? (o(), d("div", Ax, [
|
|
@@ -17285,8 +17297,8 @@ function gw(e, t, n, r, s, i) {
|
|
|
17285
17297
|
], 64))
|
|
17286
17298
|
], 64));
|
|
17287
17299
|
}
|
|
17288
|
-
const vw = /* @__PURE__ */ V(ow, [["render", gw], ["__scopeId", "data-v-
|
|
17289
|
-
function
|
|
17300
|
+
const vw = /* @__PURE__ */ V(ow, [["render", gw], ["__scopeId", "data-v-80037664"]]);
|
|
17301
|
+
function Cr(e) {
|
|
17290
17302
|
return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
|
|
17291
17303
|
}
|
|
17292
17304
|
const bw = {
|
|
@@ -17300,7 +17312,7 @@ const bw = {
|
|
|
17300
17312
|
if (this.option._id)
|
|
17301
17313
|
return this.option._id;
|
|
17302
17314
|
const e = this.option.value;
|
|
17303
|
-
return
|
|
17315
|
+
return Cr(e) ? this.option : this.option.value;
|
|
17304
17316
|
}
|
|
17305
17317
|
}
|
|
17306
17318
|
};
|
|
@@ -17349,7 +17361,7 @@ const ww = {
|
|
|
17349
17361
|
},
|
|
17350
17362
|
cleanOutput(e) {
|
|
17351
17363
|
var t = this;
|
|
17352
|
-
return
|
|
17364
|
+
return Cr(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).map(function(n) {
|
|
17353
17365
|
return t.getValue(n);
|
|
17354
17366
|
}) : e = t.getValue(e), e;
|
|
17355
17367
|
},
|
|
@@ -17374,7 +17386,7 @@ const ww = {
|
|
|
17374
17386
|
selectionHash() {
|
|
17375
17387
|
const e = this;
|
|
17376
17388
|
var t = {};
|
|
17377
|
-
return !
|
|
17389
|
+
return !Cr(e.model) && (e.multiValue ? e.model.forEach(function(r) {
|
|
17378
17390
|
t[r] = !0;
|
|
17379
17391
|
}) : t[e.model] = !0), t;
|
|
17380
17392
|
},
|
|
@@ -17394,8 +17406,8 @@ const ww = {
|
|
|
17394
17406
|
}, Ow = {
|
|
17395
17407
|
key: 1,
|
|
17396
17408
|
class: "ux-field-description"
|
|
17397
|
-
},
|
|
17398
|
-
function
|
|
17409
|
+
}, Cw = { class: "buttons" };
|
|
17410
|
+
function Vw(e, t, n, r, s, i) {
|
|
17399
17411
|
const l = y("ux-icon"), a = y("ux-button"), u = y("option-slot");
|
|
17400
17412
|
return o(), d(S, null, [
|
|
17401
17413
|
e.showLabel ? (o(), d("label", Sw, [
|
|
@@ -17403,7 +17415,7 @@ function Cw(e, t, n, r, s, i) {
|
|
|
17403
17415
|
e.required ? (o(), d("span", Tw, "*")) : _("", !0)
|
|
17404
17416
|
])) : _("", !0),
|
|
17405
17417
|
e.showDescription ? (o(), d("div", Ow, v(e.description), 1)) : _("", !0),
|
|
17406
|
-
x("div",
|
|
17418
|
+
x("div", Cw, [
|
|
17407
17419
|
(o(!0), d(S, null, F(e.selectableOptions, (f) => (o(), k(u, { option: f }, {
|
|
17408
17420
|
default: h(({ plainValue: c }) => [
|
|
17409
17421
|
m(a, {
|
|
@@ -17426,7 +17438,7 @@ function Cw(e, t, n, r, s, i) {
|
|
|
17426
17438
|
])
|
|
17427
17439
|
], 64);
|
|
17428
17440
|
}
|
|
17429
|
-
const Ew = /* @__PURE__ */ V(ww, [["render",
|
|
17441
|
+
const Ew = /* @__PURE__ */ V(ww, [["render", Vw], ["__scopeId", "data-v-7ec6958f"]]);
|
|
17430
17442
|
const Aw = {
|
|
17431
17443
|
props: {
|
|
17432
17444
|
modelValue: {
|
|
@@ -18301,10 +18313,10 @@ const OS = {
|
|
|
18301
18313
|
return "";
|
|
18302
18314
|
}
|
|
18303
18315
|
}
|
|
18304
|
-
},
|
|
18316
|
+
}, CS = {
|
|
18305
18317
|
key: 0,
|
|
18306
18318
|
class: "ux-field-title"
|
|
18307
|
-
},
|
|
18319
|
+
}, VS = {
|
|
18308
18320
|
key: 0,
|
|
18309
18321
|
class: "ux-required-marker"
|
|
18310
18322
|
}, ES = {
|
|
@@ -18319,9 +18331,9 @@ function IS(e, t, n, r, s, i) {
|
|
|
18319
18331
|
return o(), d("div", {
|
|
18320
18332
|
onKeydown: t[2] || (t[2] = _e(B((p) => i.enterPress(p), ["stop"]), ["enter"]))
|
|
18321
18333
|
}, [
|
|
18322
|
-
e.showLabel ? (o(), d("label",
|
|
18334
|
+
e.showLabel ? (o(), d("label", CS, [
|
|
18323
18335
|
T(v(e.label) + " ", 1),
|
|
18324
|
-
e.required ? (o(), d("span",
|
|
18336
|
+
e.required ? (o(), d("span", VS, "*")) : _("", !0)
|
|
18325
18337
|
])) : _("", !0),
|
|
18326
18338
|
e.showDescription ? (o(), d("div", ES, v(e.description), 1)) : _("", !0),
|
|
18327
18339
|
e.multiValue ? (o(), d("div", AS, [
|
|
@@ -18582,7 +18594,7 @@ var ki = {}, WS = {
|
|
|
18582
18594
|
for (var Bt in O)
|
|
18583
18595
|
(st = Bt.length) > E && O.hasOwnProperty(Bt) && (E = st);
|
|
18584
18596
|
return E;
|
|
18585
|
-
}, Oe = Te(ke), Ne = Te(xe),
|
|
18597
|
+
}, Oe = Te(ke), Ne = Te(xe), Ce = {
|
|
18586
18598
|
true: !0,
|
|
18587
18599
|
false: !1,
|
|
18588
18600
|
null: null
|
|
@@ -18603,13 +18615,13 @@ var ki = {}, WS = {
|
|
|
18603
18615
|
O >= 65 && O <= 90 || // A...Z
|
|
18604
18616
|
O >= 97 && O <= 122 || // a...z
|
|
18605
18617
|
O >= 128 && !xe[String.fromCharCode(O)];
|
|
18606
|
-
},
|
|
18618
|
+
}, Vt = function(O) {
|
|
18607
18619
|
return O === 36 || O === 95 || // `$` and `_`
|
|
18608
18620
|
O >= 65 && O <= 90 || // A...Z
|
|
18609
18621
|
O >= 97 && O <= 122 || // a...z
|
|
18610
18622
|
O >= 48 && O <= 57 || // 0...9
|
|
18611
18623
|
O >= 128 && !xe[String.fromCharCode(O)];
|
|
18612
|
-
},
|
|
18624
|
+
}, Ve = function(O) {
|
|
18613
18625
|
for (var E = 0, st = O.charAt, Bt = O.charCodeAt, De = function(A) {
|
|
18614
18626
|
return st.call(O, A);
|
|
18615
18627
|
}, ue = function(A) {
|
|
@@ -18633,7 +18645,7 @@ var ki = {}, WS = {
|
|
|
18633
18645
|
}, Jr = function() {
|
|
18634
18646
|
lt();
|
|
18635
18647
|
for (var A = O.substr(E, Ne), L = A.length; L > 0; ) {
|
|
18636
|
-
if (xe.hasOwnProperty(A) && (!rt(ue(E)) || E + A.length < O.length && !
|
|
18648
|
+
if (xe.hasOwnProperty(A) && (!rt(ue(E)) || E + A.length < O.length && !Vt(ue(E + A.length))))
|
|
18637
18649
|
return E += L, A;
|
|
18638
18650
|
A = A.substr(0, --L);
|
|
18639
18651
|
}
|
|
@@ -18659,7 +18671,7 @@ var ki = {}, WS = {
|
|
|
18659
18671
|
if (A === ie)
|
|
18660
18672
|
return Ho();
|
|
18661
18673
|
for (L = O.substr(E, Oe), Y = L.length; Y > 0; ) {
|
|
18662
|
-
if (ke.hasOwnProperty(L) && (!rt(ue(E)) || E + L.length < O.length && !
|
|
18674
|
+
if (ke.hasOwnProperty(L) && (!rt(ue(E)) || E + L.length < O.length && !Vt(ue(E + L.length))))
|
|
18663
18675
|
return E += Y, {
|
|
18664
18676
|
type: f,
|
|
18665
18677
|
operator: L,
|
|
@@ -18723,11 +18735,11 @@ var ki = {}, WS = {
|
|
|
18723
18735
|
};
|
|
18724
18736
|
}, Xr = function() {
|
|
18725
18737
|
var A = ue(E), L = E, Y;
|
|
18726
|
-
for (rt(A) ? E++ : G("Unexpected " + De(E), E); E < fn && (A = ue(E),
|
|
18738
|
+
for (rt(A) ? E++ : G("Unexpected " + De(E), E); E < fn && (A = ue(E), Vt(A)); )
|
|
18727
18739
|
E++;
|
|
18728
|
-
return Y = O.slice(L, E),
|
|
18740
|
+
return Y = O.slice(L, E), Ce.hasOwnProperty(Y) ? {
|
|
18729
18741
|
type: l,
|
|
18730
|
-
value:
|
|
18742
|
+
value: Ce[Y],
|
|
18731
18743
|
raw: Y
|
|
18732
18744
|
} : Y === _t ? { type: a } : {
|
|
18733
18745
|
type: s,
|
|
@@ -18786,27 +18798,27 @@ var ki = {}, WS = {
|
|
|
18786
18798
|
body: Bn
|
|
18787
18799
|
};
|
|
18788
18800
|
};
|
|
18789
|
-
|
|
18790
|
-
return "JavaScript Expression Parser (JSEP) v" +
|
|
18791
|
-
},
|
|
18801
|
+
Ve.version = "0.3.5", Ve.toString = function() {
|
|
18802
|
+
return "JavaScript Expression Parser (JSEP) v" + Ve.version;
|
|
18803
|
+
}, Ve.addUnaryOp = function(O) {
|
|
18792
18804
|
return Oe = Math.max(O.length, Oe), ke[O] = Me, this;
|
|
18793
|
-
},
|
|
18805
|
+
}, Ve.addBinaryOp = function(O, E) {
|
|
18794
18806
|
return Ne = Math.max(O.length, Ne), xe[O] = E, this;
|
|
18795
|
-
},
|
|
18796
|
-
return
|
|
18797
|
-
},
|
|
18807
|
+
}, Ve.addLiteral = function(O, E) {
|
|
18808
|
+
return Ce[O] = E, this;
|
|
18809
|
+
}, Ve.removeUnaryOp = function(O) {
|
|
18798
18810
|
return delete ke[O], O.length === Oe && (Oe = Te(ke)), this;
|
|
18799
|
-
},
|
|
18811
|
+
}, Ve.removeAllUnaryOps = function() {
|
|
18800
18812
|
return ke = {}, Oe = 0, this;
|
|
18801
|
-
},
|
|
18813
|
+
}, Ve.removeBinaryOp = function(O) {
|
|
18802
18814
|
return delete xe[O], O.length === Ne && (Ne = Te(xe)), this;
|
|
18803
|
-
},
|
|
18815
|
+
}, Ve.removeAllBinaryOps = function() {
|
|
18804
18816
|
return xe = {}, Ne = 0, this;
|
|
18805
|
-
},
|
|
18806
|
-
return delete
|
|
18807
|
-
},
|
|
18808
|
-
return
|
|
18809
|
-
}, e.exports ? t = e.exports =
|
|
18817
|
+
}, Ve.removeLiteral = function(O) {
|
|
18818
|
+
return delete Ce[O], this;
|
|
18819
|
+
}, Ve.removeAllLiterals = function() {
|
|
18820
|
+
return Ce = {}, this;
|
|
18821
|
+
}, e.exports ? t = e.exports = Ve : t.parse = Ve;
|
|
18810
18822
|
})();
|
|
18811
18823
|
})(WS, ki);
|
|
18812
18824
|
const KS = ki;
|
|
@@ -18946,11 +18958,11 @@ var v2 = g2, b2 = Fn, k2 = $n, x2 = "[object Arguments]";
|
|
|
18946
18958
|
function w2(e) {
|
|
18947
18959
|
return k2(e) && b2(e) == x2;
|
|
18948
18960
|
}
|
|
18949
|
-
var S2 = w2, cl = S2, T2 = $n, bo = Object.prototype, O2 = bo.hasOwnProperty,
|
|
18961
|
+
var S2 = w2, cl = S2, T2 = $n, bo = Object.prototype, O2 = bo.hasOwnProperty, C2 = bo.propertyIsEnumerable, V2 = cl(function() {
|
|
18950
18962
|
return arguments;
|
|
18951
18963
|
}()) ? cl : function(e) {
|
|
18952
|
-
return T2(e) && O2.call(e, "callee") && !
|
|
18953
|
-
}, E2 =
|
|
18964
|
+
return T2(e) && O2.call(e, "callee") && !C2.call(e, "callee");
|
|
18965
|
+
}, E2 = V2, xi = {}, A2 = {
|
|
18954
18966
|
get exports() {
|
|
18955
18967
|
return xi;
|
|
18956
18968
|
},
|
|
@@ -19012,13 +19024,13 @@ function OT(e) {
|
|
|
19012
19024
|
var t = e && e.constructor, n = typeof t == "function" && t.prototype || TT;
|
|
19013
19025
|
return e === n;
|
|
19014
19026
|
}
|
|
19015
|
-
var
|
|
19016
|
-
function
|
|
19027
|
+
var CT = OT;
|
|
19028
|
+
function VT(e, t) {
|
|
19017
19029
|
return function(n) {
|
|
19018
19030
|
return e(t(n));
|
|
19019
19031
|
};
|
|
19020
19032
|
}
|
|
19021
|
-
var ET =
|
|
19033
|
+
var ET = VT, AT = ET, MT = AT(Object.keys, Object), DT = MT, IT = CT, FT = DT, $T = Object.prototype, NT = $T.hasOwnProperty;
|
|
19022
19034
|
function LT(e) {
|
|
19023
19035
|
if (!IT(e))
|
|
19024
19036
|
return FT(e);
|
|
@@ -19042,7 +19054,7 @@ function eO(e, t, n, r) {
|
|
|
19042
19054
|
return n < 0 && (n = QT(s + n, 0)), ZT(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && KT(e, t, n) > -1;
|
|
19043
19055
|
}
|
|
19044
19056
|
var tO = eO;
|
|
19045
|
-
const
|
|
19057
|
+
const Ct = {};
|
|
19046
19058
|
function nO(e, t, n, r) {
|
|
19047
19059
|
return e ? Array.isArray(e) ? e.filter(function(s) {
|
|
19048
19060
|
const i = Lt(s, t);
|
|
@@ -19086,7 +19098,7 @@ function rO(e, t, n, r, s) {
|
|
|
19086
19098
|
}, []);
|
|
19087
19099
|
return s.unique && (i = [...new Set(i)]), s.flat && (i = i.flat()), i;
|
|
19088
19100
|
}
|
|
19089
|
-
|
|
19101
|
+
Ct.evaluateExpression = function(e, t) {
|
|
19090
19102
|
if (typeof e == "function")
|
|
19091
19103
|
return e(t);
|
|
19092
19104
|
const n = {
|
|
@@ -19251,7 +19263,7 @@ const sO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
|
|
|
19251
19263
|
activeModifiers() {
|
|
19252
19264
|
const e = this, t = this.expressionsContext;
|
|
19253
19265
|
return e.modifiers.filter(function(n) {
|
|
19254
|
-
return n.condition ?
|
|
19266
|
+
return n.condition ? Ct.evaluateExpression(n.condition, t) : !0;
|
|
19255
19267
|
});
|
|
19256
19268
|
},
|
|
19257
19269
|
calculations() {
|
|
@@ -19259,7 +19271,7 @@ const sO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
|
|
|
19259
19271
|
let t = [], n = 0;
|
|
19260
19272
|
e.baseAmount && (n += e.baseAmount), e.activeModifiers.forEach(function(s, i) {
|
|
19261
19273
|
const l = Object.assign({}, e.expressionsContext, { total: n }), a = n;
|
|
19262
|
-
let u =
|
|
19274
|
+
let u = Ct.evaluateExpression(s.expression, l);
|
|
19263
19275
|
u = parseInt(u || 0);
|
|
19264
19276
|
const f = e.$sdk.utils.formatCurrency(u, e.currency);
|
|
19265
19277
|
let c = "";
|
|
@@ -19612,11 +19624,11 @@ const vO = {
|
|
|
19612
19624
|
}, SO = ["multiple"], TO = {
|
|
19613
19625
|
key: 0,
|
|
19614
19626
|
value: ""
|
|
19615
|
-
}, OO = ["value"],
|
|
19627
|
+
}, OO = ["value"], CO = {
|
|
19616
19628
|
key: 3,
|
|
19617
19629
|
class: "ui-select-button"
|
|
19618
19630
|
};
|
|
19619
|
-
function
|
|
19631
|
+
function VO(e, t, n, r, s, i) {
|
|
19620
19632
|
const l = y("ux-button");
|
|
19621
19633
|
return o(), d("div", {
|
|
19622
19634
|
class: N(["native-select", i.classes])
|
|
@@ -19649,7 +19661,7 @@ function CO(e, t, n, r, s, i) {
|
|
|
19649
19661
|
], 40, SO), [
|
|
19650
19662
|
[Ot, e.model]
|
|
19651
19663
|
])
|
|
19652
|
-
], 64)) : (o(), d("div",
|
|
19664
|
+
], 64)) : (o(), d("div", CO, [
|
|
19653
19665
|
m(l, { tag: "div" }, {
|
|
19654
19666
|
default: h(() => [
|
|
19655
19667
|
T(" No valid routes ")
|
|
@@ -19659,7 +19671,7 @@ function CO(e, t, n, r, s, i) {
|
|
|
19659
19671
|
]))
|
|
19660
19672
|
], 2);
|
|
19661
19673
|
}
|
|
19662
|
-
const EO = /* @__PURE__ */ V(vO, [["render",
|
|
19674
|
+
const EO = /* @__PURE__ */ V(vO, [["render", VO], ["__scopeId", "data-v-a9c5a05f"]]);
|
|
19663
19675
|
function AO(e) {
|
|
19664
19676
|
return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
|
|
19665
19677
|
}
|
|
@@ -20148,7 +20160,7 @@ function be(e) {
|
|
|
20148
20160
|
if (!n)
|
|
20149
20161
|
return;
|
|
20150
20162
|
let r = t.expressionsContext;
|
|
20151
|
-
return
|
|
20163
|
+
return Ct.evaluateExpression(n, r);
|
|
20152
20164
|
};
|
|
20153
20165
|
}
|
|
20154
20166
|
const QO = {
|
|
@@ -20409,7 +20421,7 @@ const QO = {
|
|
|
20409
20421
|
if (!this.expressions)
|
|
20410
20422
|
return;
|
|
20411
20423
|
let e = this.expressions.show, t = this.expressions.hide, n = this.expressionsContext, r;
|
|
20412
|
-
return e ? r = !
|
|
20424
|
+
return e ? r = !Ct.evaluateExpression(e, n) : t && (r = Ct.evaluateExpression(t, n)), r;
|
|
20413
20425
|
},
|
|
20414
20426
|
getExpressionTitle: be("title"),
|
|
20415
20427
|
getExpressionDescription: be("description"),
|
|
@@ -20579,12 +20591,12 @@ const QO = {
|
|
|
20579
20591
|
return e;
|
|
20580
20592
|
}
|
|
20581
20593
|
}
|
|
20582
|
-
},
|
|
20594
|
+
}, eC = {
|
|
20583
20595
|
key: 36,
|
|
20584
20596
|
class: "ux-field-message"
|
|
20585
20597
|
};
|
|
20586
|
-
function
|
|
20587
|
-
const l = y("internal-route-select"), a = y("internal-menu-select"), u = y("internal-field-creator"), f = y("custom-html"), c = y("slider-input"), p = y("color-input"), g = y("filter-input"), b = y("date-object-input"), w = y("checkbox"), C = y("boolean-switch"), U = y("upload"), z = y("field-group"), D = y("field-select"), ee = y("native-select"), ie = y("button-select"), oe = y("text-field"), q = y("currency-field"), $ = y("time-field"), le = y("date-field"), G = y("date-range"), Me = y("content-select"), ke = y("type-select"), xe = y("scope-select"), Te = y("rich-text-field"), Oe = y("text-area"), Ne = y("timezone-select"),
|
|
20598
|
+
function tC(e, t, n, r, s, i) {
|
|
20599
|
+
const l = y("internal-route-select"), a = y("internal-menu-select"), u = y("internal-field-creator"), f = y("custom-html"), c = y("slider-input"), p = y("color-input"), g = y("filter-input"), b = y("date-object-input"), w = y("checkbox"), C = y("boolean-switch"), U = y("upload"), z = y("field-group"), D = y("field-select"), ee = y("native-select"), ie = y("button-select"), oe = y("text-field"), q = y("currency-field"), $ = y("time-field"), le = y("date-field"), G = y("date-range"), Me = y("content-select"), ke = y("type-select"), xe = y("scope-select"), Te = y("rich-text-field"), Oe = y("text-area"), Ne = y("timezone-select"), Ce = y("phone-number-input"), _t = y("object-field"), it = y("model-field"), Rt = y("payment-field"), gt = y("options-manager"), rt = y("code-editor-field"), Vt = y("flex-column"), Ve = y("expression-field");
|
|
20588
20600
|
return i.visible ? (o(), d("div", {
|
|
20589
20601
|
key: 0,
|
|
20590
20602
|
class: N(["ux-field", i.classes]),
|
|
@@ -20815,7 +20827,7 @@ function tV(e, t, n, r, s, i) {
|
|
|
20815
20827
|
modelValue: i.fieldModel,
|
|
20816
20828
|
"onUpdate:modelValue": t[27] || (t[27] = (O) => i.fieldModel = O)
|
|
20817
20829
|
}, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
|
|
20818
|
-
i.widget == "phone" ? (o(), k(
|
|
20830
|
+
i.widget == "phone" ? (o(), k(Ce, {
|
|
20819
20831
|
key: 28,
|
|
20820
20832
|
onTouched: i.touch,
|
|
20821
20833
|
field: i.actualField,
|
|
@@ -20855,7 +20867,7 @@ function tV(e, t, n, r, s, i) {
|
|
|
20855
20867
|
modelValue: i.fieldModel,
|
|
20856
20868
|
"onUpdate:modelValue": t[32] || (t[32] = (O) => i.fieldModel = O)
|
|
20857
20869
|
}, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
|
|
20858
|
-
i.widget == "code" ? (o(), k(
|
|
20870
|
+
i.widget == "code" ? (o(), k(Vt, {
|
|
20859
20871
|
key: 34,
|
|
20860
20872
|
style: { "min-height": "300px" }
|
|
20861
20873
|
}, {
|
|
@@ -20869,30 +20881,30 @@ function tV(e, t, n, r, s, i) {
|
|
|
20869
20881
|
]),
|
|
20870
20882
|
_: 1
|
|
20871
20883
|
})) : _("", !0),
|
|
20872
|
-
i.widget == "expression" ? (o(), k(
|
|
20884
|
+
i.widget == "expression" ? (o(), k(Ve, {
|
|
20873
20885
|
key: 35,
|
|
20874
20886
|
onTouched: i.touch,
|
|
20875
20887
|
field: i.actualField,
|
|
20876
20888
|
modelValue: i.fieldModel,
|
|
20877
20889
|
"onUpdate:modelValue": t[34] || (t[34] = (O) => i.fieldModel = O)
|
|
20878
20890
|
}, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
|
|
20879
|
-
i.error && s.validateResults.message ? (o(), d("div",
|
|
20891
|
+
i.error && s.validateResults.message ? (o(), d("div", eC, v(s.validateResults.message), 1)) : _("", !0)
|
|
20880
20892
|
], 34)) : _("", !0);
|
|
20881
20893
|
}
|
|
20882
|
-
const Yr = /* @__PURE__ */ V(QO, [["render",
|
|
20883
|
-
function
|
|
20894
|
+
const Yr = /* @__PURE__ */ V(QO, [["render", tC], ["__scopeId", "data-v-d6c7481c"]]);
|
|
20895
|
+
function nC(e, t, n, r) {
|
|
20884
20896
|
var s = -1, i = e == null ? 0 : e.length;
|
|
20885
20897
|
for (r && i && (n = e[++s]); ++s < i; )
|
|
20886
20898
|
n = t(n, e[s], s, e);
|
|
20887
20899
|
return n;
|
|
20888
20900
|
}
|
|
20889
|
-
var
|
|
20890
|
-
function
|
|
20901
|
+
var iC = nC;
|
|
20902
|
+
function rC(e) {
|
|
20891
20903
|
return function(t) {
|
|
20892
20904
|
return e == null ? void 0 : e[t];
|
|
20893
20905
|
};
|
|
20894
20906
|
}
|
|
20895
|
-
var
|
|
20907
|
+
var sC = rC, lC = sC, aC = {
|
|
20896
20908
|
// Latin-1 Supplement block.
|
|
20897
20909
|
À: "A",
|
|
20898
20910
|
Á: "A",
|
|
@@ -21085,45 +21097,45 @@ var sV = rV, lV = sV, aV = {
|
|
|
21085
21097
|
œ: "oe",
|
|
21086
21098
|
ʼn: "'n",
|
|
21087
21099
|
ſ: "s"
|
|
21088
|
-
},
|
|
21089
|
-
function
|
|
21090
|
-
return e =
|
|
21100
|
+
}, oC = lC(aC), uC = oC, dC = uC, cC = Br, fC = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, mC = "\\u0300-\\u036f", hC = "\\ufe20-\\ufe2f", pC = "\\u20d0-\\u20ff", yC = mC + hC + pC, _C = "[" + yC + "]", gC = RegExp(_C, "g");
|
|
21101
|
+
function vC(e) {
|
|
21102
|
+
return e = cC(e), e && e.replace(fC, dC).replace(gC, "");
|
|
21091
21103
|
}
|
|
21092
|
-
var
|
|
21093
|
-
function
|
|
21094
|
-
return e.match(
|
|
21104
|
+
var bC = vC, kC = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
21105
|
+
function xC(e) {
|
|
21106
|
+
return e.match(kC) || [];
|
|
21095
21107
|
}
|
|
21096
|
-
var
|
|
21097
|
-
function
|
|
21098
|
-
return
|
|
21108
|
+
var wC = xC, SC = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
21109
|
+
function TC(e) {
|
|
21110
|
+
return SC.test(e);
|
|
21099
21111
|
}
|
|
21100
|
-
var
|
|
21101
|
-
Yt + "?" +
|
|
21102
|
-
|
|
21112
|
+
var OC = TC, ko = "\\ud800-\\udfff", CC = "\\u0300-\\u036f", VC = "\\ufe20-\\ufe2f", EC = "\\u20d0-\\u20ff", AC = CC + VC + EC, xo = "\\u2700-\\u27bf", wo = "a-z\\xdf-\\xf6\\xf8-\\xff", MC = "\\xac\\xb1\\xd7\\xf7", DC = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", IC = "\\u2000-\\u206f", FC = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", So = "A-Z\\xc0-\\xd6\\xd8-\\xde", $C = "\\ufe0e\\ufe0f", To = MC + DC + IC + FC, Oo = "['’]", hl = "[" + To + "]", NC = "[" + AC + "]", Co = "\\d+", LC = "[" + xo + "]", Vo = "[" + wo + "]", Eo = "[^" + ko + To + Co + xo + wo + So + "]", PC = "\\ud83c[\\udffb-\\udfff]", UC = "(?:" + NC + "|" + PC + ")", jC = "[^" + ko + "]", Ao = "(?:\\ud83c[\\udde6-\\uddff]){2}", Mo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Yt = "[" + So + "]", RC = "\\u200d", pl = "(?:" + Vo + "|" + Eo + ")", BC = "(?:" + Yt + "|" + Eo + ")", yl = "(?:" + Oo + "(?:d|ll|m|re|s|t|ve))?", _l = "(?:" + Oo + "(?:D|LL|M|RE|S|T|VE))?", Do = UC + "?", Io = "[" + $C + "]?", zC = "(?:" + RC + "(?:" + [jC, Ao, Mo].join("|") + ")" + Io + Do + ")*", HC = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", qC = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", GC = Io + Do + zC, WC = "(?:" + [LC, Ao, Mo].join("|") + ")" + GC, KC = RegExp([
|
|
21113
|
+
Yt + "?" + Vo + "+" + yl + "(?=" + [hl, Yt, "$"].join("|") + ")",
|
|
21114
|
+
BC + "+" + _l + "(?=" + [hl, Yt + pl, "$"].join("|") + ")",
|
|
21103
21115
|
Yt + "?" + pl + "+" + yl,
|
|
21104
21116
|
Yt + "+" + _l,
|
|
21105
|
-
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
|
|
21117
|
+
qC,
|
|
21118
|
+
HC,
|
|
21119
|
+
Co,
|
|
21120
|
+
WC
|
|
21109
21121
|
].join("|"), "g");
|
|
21110
|
-
function
|
|
21111
|
-
return e.match(
|
|
21122
|
+
function YC(e) {
|
|
21123
|
+
return e.match(KC) || [];
|
|
21112
21124
|
}
|
|
21113
|
-
var
|
|
21114
|
-
function
|
|
21115
|
-
return e =
|
|
21125
|
+
var ZC = YC, JC = wC, XC = OC, QC = Br, eV = ZC;
|
|
21126
|
+
function tV(e, t, n) {
|
|
21127
|
+
return e = QC(e), t = n ? void 0 : t, t === void 0 ? XC(e) ? eV(e) : JC(e) : e.match(t) || [];
|
|
21116
21128
|
}
|
|
21117
|
-
var
|
|
21118
|
-
function
|
|
21129
|
+
var nV = tV, iV = iC, rV = bC, sV = nV, lV = "['’]", aV = RegExp(lV, "g");
|
|
21130
|
+
function oV(e) {
|
|
21119
21131
|
return function(t) {
|
|
21120
|
-
return
|
|
21132
|
+
return iV(sV(rV(t).replace(aV, "")), e, "");
|
|
21121
21133
|
};
|
|
21122
21134
|
}
|
|
21123
|
-
var
|
|
21135
|
+
var uV = oV, dV = uV, cV = dV(function(e, t, n) {
|
|
21124
21136
|
return e + (n ? "-" : "") + t.toLowerCase();
|
|
21125
|
-
}),
|
|
21126
|
-
const
|
|
21137
|
+
}), fV = cV;
|
|
21138
|
+
const mV = {
|
|
21127
21139
|
props: {
|
|
21128
21140
|
parentModel: {
|
|
21129
21141
|
type: Object
|
|
@@ -21207,7 +21219,7 @@ const mC = {
|
|
|
21207
21219
|
},
|
|
21208
21220
|
methods: {
|
|
21209
21221
|
getFieldKey(e) {
|
|
21210
|
-
let t =
|
|
21222
|
+
let t = fV(`${e.title}-${e.key}`);
|
|
21211
21223
|
return e.incrementor && (t = `${t}-${e.incrementor}`), t;
|
|
21212
21224
|
},
|
|
21213
21225
|
touch() {
|
|
@@ -21315,7 +21327,7 @@ const mC = {
|
|
|
21315
21327
|
}
|
|
21316
21328
|
}
|
|
21317
21329
|
};
|
|
21318
|
-
function
|
|
21330
|
+
function hV(e, t, n, r, s, i) {
|
|
21319
21331
|
const l = y("ux-field");
|
|
21320
21332
|
return o(), d("div", {
|
|
21321
21333
|
class: N(["ux-form", i.formClass])
|
|
@@ -21352,8 +21364,8 @@ function hC(e, t, n, r, s, i) {
|
|
|
21352
21364
|
], !0)
|
|
21353
21365
|
], 2);
|
|
21354
21366
|
}
|
|
21355
|
-
const Fo = /* @__PURE__ */ V(
|
|
21356
|
-
const or = "form.ready",
|
|
21367
|
+
const Fo = /* @__PURE__ */ V(mV, [["render", hV], ["__scopeId", "data-v-5a0fe930"]]);
|
|
21368
|
+
const or = "form.ready", pV = "form.processing", gl = "form.complete", vl = "form.error", yV = "form.intent", _V = {
|
|
21357
21369
|
methods: {
|
|
21358
21370
|
formStateUpdated(e) {
|
|
21359
21371
|
this.formState = e;
|
|
@@ -21396,7 +21408,7 @@ const or = "form.ready", pC = "form.processing", gl = "form.complete", vl = "for
|
|
|
21396
21408
|
console.log("Form is invalid", this.formState);
|
|
21397
21409
|
return;
|
|
21398
21410
|
}
|
|
21399
|
-
e.processing = !0, e.state =
|
|
21411
|
+
e.processing = !0, e.state = pV, e.$emit("processing");
|
|
21400
21412
|
const { submission: t, error: n } = await e.preSubmit(e.model);
|
|
21401
21413
|
if (n)
|
|
21402
21414
|
return console.log("pre submit error", n), a(n);
|
|
@@ -21421,7 +21433,7 @@ const or = "form.ready", pC = "form.processing", gl = "form.complete", vl = "for
|
|
|
21421
21433
|
await e.$sdk.utils.loadExternalScript("https://js.stripe.com/v3/");
|
|
21422
21434
|
break;
|
|
21423
21435
|
}
|
|
21424
|
-
e.state =
|
|
21436
|
+
e.state = yV, e.processing = !1, e.$emit("intent", u);
|
|
21425
21437
|
}
|
|
21426
21438
|
async function l(u) {
|
|
21427
21439
|
await e.postSubmit(u), e.processing = !1, e.state = gl, e.$emit("success", u);
|
|
@@ -21600,21 +21612,21 @@ const or = "form.ready", pC = "form.processing", gl = "form.complete", vl = "for
|
|
|
21600
21612
|
return this.form.fields || [];
|
|
21601
21613
|
}
|
|
21602
21614
|
}
|
|
21603
|
-
},
|
|
21604
|
-
function
|
|
21615
|
+
}, gV = (e) => (Ye("data-v-9cdffe7f"), e = e(), Ze(), e), vV = /* @__PURE__ */ gV(() => /* @__PURE__ */ x("h3", null, "An error occurred", -1)), bV = { key: 0 }, kV = { key: 1 }, xV = { key: 2 }, wV = { class: "intent-submit" }, SV = ["tooltip"];
|
|
21616
|
+
function TV(e, t, n, r, s, i) {
|
|
21605
21617
|
var b;
|
|
21606
21618
|
const l = y("ux-icon"), a = y("ux-button"), u = y("ux-panel-body"), f = y("ux-panel"), c = y("StripeElement"), p = y("StripeElements"), g = y("ux-form");
|
|
21607
21619
|
return o(), d("div", {
|
|
21608
21620
|
class: N(["ux-submission-form", i.classes])
|
|
21609
21621
|
}, [
|
|
21610
21622
|
s.state === "form.error" ? (o(), d(S, { key: 0 }, [
|
|
21611
|
-
|
|
21612
|
-
s.error.message ? (o(), d("pre",
|
|
21613
|
-
(b = s.error.data) != null && b.errors ? (o(), d("div",
|
|
21623
|
+
vV,
|
|
21624
|
+
s.error.message ? (o(), d("pre", bV, v(s.error.message), 1)) : _("", !0),
|
|
21625
|
+
(b = s.error.data) != null && b.errors ? (o(), d("div", kV, [
|
|
21614
21626
|
(o(!0), d(S, null, F(s.error.data.errors, (w) => (o(), d("pre", {
|
|
21615
21627
|
key: w.path
|
|
21616
21628
|
}, v(w.message), 1))), 128))
|
|
21617
|
-
])) : (o(), d("pre",
|
|
21629
|
+
])) : (o(), d("pre", xV, v(s.error), 1)),
|
|
21618
21630
|
m(a, {
|
|
21619
21631
|
color: "primary",
|
|
21620
21632
|
onClick: i.softReset
|
|
@@ -21668,7 +21680,7 @@ function TC(e, t, n, r, s, i) {
|
|
|
21668
21680
|
]),
|
|
21669
21681
|
_: 1
|
|
21670
21682
|
}, 8, ["stripe-key", "instance-options", "elements-options"])) : _("", !0),
|
|
21671
|
-
x("div",
|
|
21683
|
+
x("div", wV, [
|
|
21672
21684
|
m(a, {
|
|
21673
21685
|
color: "primary",
|
|
21674
21686
|
onClick: i.confirmIntention
|
|
@@ -21703,12 +21715,12 @@ function TC(e, t, n, r, s, i) {
|
|
|
21703
21715
|
]),
|
|
21704
21716
|
_: 1
|
|
21705
21717
|
}, 8, ["disabled", "onClick", "loading"])
|
|
21706
|
-
], 8,
|
|
21718
|
+
], 8, SV)
|
|
21707
21719
|
], 64))
|
|
21708
21720
|
], 2);
|
|
21709
21721
|
}
|
|
21710
|
-
const bl = /* @__PURE__ */ V(
|
|
21711
|
-
const
|
|
21722
|
+
const bl = /* @__PURE__ */ V(_V, [["render", TV], ["__scopeId", "data-v-9cdffe7f"]]);
|
|
21723
|
+
const OV = {
|
|
21712
21724
|
props: {
|
|
21713
21725
|
autofocus: {
|
|
21714
21726
|
type: Boolean
|
|
@@ -21776,15 +21788,15 @@ const OC = {
|
|
|
21776
21788
|
}
|
|
21777
21789
|
}
|
|
21778
21790
|
}
|
|
21779
|
-
},
|
|
21780
|
-
function
|
|
21791
|
+
}, CV = { class: "search" }, VV = ["placeholder"];
|
|
21792
|
+
function EV(e, t, n, r, s, i) {
|
|
21781
21793
|
const l = y("ux-icon");
|
|
21782
|
-
return o(), d("div",
|
|
21794
|
+
return o(), d("div", CV, [
|
|
21783
21795
|
K(x("input", {
|
|
21784
21796
|
ref: "input",
|
|
21785
21797
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => i.model = a),
|
|
21786
21798
|
placeholder: n.placeholder
|
|
21787
|
-
}, null, 8,
|
|
21799
|
+
}, null, 8, VV), [
|
|
21788
21800
|
[se, i.model]
|
|
21789
21801
|
]),
|
|
21790
21802
|
x("div", {
|
|
@@ -21795,8 +21807,8 @@ function EC(e, t, n, r, s, i) {
|
|
|
21795
21807
|
])
|
|
21796
21808
|
]);
|
|
21797
21809
|
}
|
|
21798
|
-
const Zr = /* @__PURE__ */ V(
|
|
21799
|
-
function
|
|
21810
|
+
const Zr = /* @__PURE__ */ V(OV, [["render", EV], ["__scopeId", "data-v-d4e9271a"]]);
|
|
21811
|
+
function AV(e) {
|
|
21800
21812
|
const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
|
|
21801
21813
|
let r;
|
|
21802
21814
|
for (; (r = t.exec(e)) !== null; ) {
|
|
@@ -21835,7 +21847,7 @@ const $o = {
|
|
|
21835
21847
|
actualTemplate() {
|
|
21836
21848
|
let e = this.template || "";
|
|
21837
21849
|
e = e.replaceAll ? e.replaceAll("<br>", "<br/>") : e;
|
|
21838
|
-
var { valid: t, invalid: n } =
|
|
21850
|
+
var { valid: t, invalid: n } = AV(e);
|
|
21839
21851
|
return t || (console.log("Invalid html", e), e = `<div>Invalid HTML. <pre>${n}</pre></div>`), e;
|
|
21840
21852
|
}
|
|
21841
21853
|
},
|
|
@@ -21843,7 +21855,7 @@ const $o = {
|
|
|
21843
21855
|
VRuntimeTemplate: Ia
|
|
21844
21856
|
}
|
|
21845
21857
|
};
|
|
21846
|
-
const
|
|
21858
|
+
const MV = {
|
|
21847
21859
|
data() {
|
|
21848
21860
|
return {
|
|
21849
21861
|
error: null
|
|
@@ -21857,14 +21869,14 @@ const MC = {
|
|
|
21857
21869
|
this.$emit("reset");
|
|
21858
21870
|
}
|
|
21859
21871
|
}
|
|
21860
|
-
},
|
|
21872
|
+
}, DV = {
|
|
21861
21873
|
key: 0,
|
|
21862
21874
|
class: "error-boundary",
|
|
21863
21875
|
style: { color: "#b40000", border: "2px solid #fd0000", background: "#ffd6d6", padding: "1em" }
|
|
21864
21876
|
};
|
|
21865
|
-
function
|
|
21877
|
+
function IV(e, t, n, r, s, i) {
|
|
21866
21878
|
const l = y("ux-button");
|
|
21867
|
-
return s.error ? (o(), d("div",
|
|
21879
|
+
return s.error ? (o(), d("div", DV, [
|
|
21868
21880
|
x("pre", null, "COMPILE ERROR: " + v(s.error), 1),
|
|
21869
21881
|
m(l, { onClick: i.reset }, {
|
|
21870
21882
|
default: h(() => [
|
|
@@ -21874,7 +21886,7 @@ function IC(e, t, n, r, s, i) {
|
|
|
21874
21886
|
}, 8, ["onClick"])
|
|
21875
21887
|
])) : H(e.$slots, "default", { key: 1 }, void 0, !0);
|
|
21876
21888
|
}
|
|
21877
|
-
const
|
|
21889
|
+
const FV = /* @__PURE__ */ V(MV, [["render", IV], ["__scopeId", "data-v-72d1a309"]]), $V = {
|
|
21878
21890
|
props: {
|
|
21879
21891
|
field: {
|
|
21880
21892
|
type: Object,
|
|
@@ -21955,8 +21967,8 @@ const FC = /* @__PURE__ */ V(MC, [["render", IC], ["__scopeId", "data-v-72d1a309
|
|
|
21955
21967
|
}
|
|
21956
21968
|
}
|
|
21957
21969
|
};
|
|
21958
|
-
const
|
|
21959
|
-
mixins: [$
|
|
21970
|
+
const NV = {
|
|
21971
|
+
mixins: [$V],
|
|
21960
21972
|
props: {
|
|
21961
21973
|
modelValue: {
|
|
21962
21974
|
type: [Object, Array]
|
|
@@ -21976,13 +21988,13 @@ const NC = {
|
|
|
21976
21988
|
return `${this.label} ${t + 1}`;
|
|
21977
21989
|
}
|
|
21978
21990
|
}
|
|
21979
|
-
},
|
|
21991
|
+
}, LV = {
|
|
21980
21992
|
key: 0,
|
|
21981
21993
|
class: "ux-multi-group"
|
|
21982
21994
|
};
|
|
21983
|
-
function
|
|
21995
|
+
function PV(e, t, n, r, s, i) {
|
|
21984
21996
|
const l = y("flex-cell"), a = y("flex-row"), u = y("ux-panel-header"), f = y("ux-render"), c = y("ux-panel-body"), p = y("ux-panel");
|
|
21985
|
-
return e.multiValue ? (o(), d("div",
|
|
21997
|
+
return e.multiValue ? (o(), d("div", LV, [
|
|
21986
21998
|
(o(!0), d(S, null, F(e.model, (g, b) => (o(), k(p, {
|
|
21987
21999
|
ref_for: !0,
|
|
21988
22000
|
ref: "row",
|
|
@@ -22033,14 +22045,14 @@ function PC(e, t, n, r, s, i) {
|
|
|
22033
22045
|
"onUpdate:modelValue": t[0] || (t[0] = (g) => e.model = g)
|
|
22034
22046
|
}, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
|
|
22035
22047
|
}
|
|
22036
|
-
const
|
|
22037
|
-
const
|
|
22048
|
+
const UV = /* @__PURE__ */ V(NV, [["render", PV], ["__scopeId", "data-v-cb997d0e"]]);
|
|
22049
|
+
const jV = {
|
|
22038
22050
|
components: {
|
|
22039
22051
|
Item: ja,
|
|
22040
|
-
FieldGroup:
|
|
22052
|
+
FieldGroup: UV,
|
|
22041
22053
|
// Compiler,
|
|
22042
22054
|
Compile: $o,
|
|
22043
|
-
ErrorBoundary:
|
|
22055
|
+
ErrorBoundary: FV
|
|
22044
22056
|
// ButtonSelect,
|
|
22045
22057
|
// NativeSelect,
|
|
22046
22058
|
// DateField,
|
|
@@ -22090,6 +22102,10 @@ const jC = {
|
|
|
22090
22102
|
// // }
|
|
22091
22103
|
// },
|
|
22092
22104
|
methods: {
|
|
22105
|
+
copy(e) {
|
|
22106
|
+
let t;
|
|
22107
|
+
this.field.maximum === 1 ? t = this.fieldModel : t = this.fieldModel[e], this.$sdk.global.copyText(t);
|
|
22108
|
+
},
|
|
22093
22109
|
openActions(e) {
|
|
22094
22110
|
this.$actions && this.$actions.open([e]);
|
|
22095
22111
|
},
|
|
@@ -22115,6 +22131,9 @@ const jC = {
|
|
|
22115
22131
|
}
|
|
22116
22132
|
},
|
|
22117
22133
|
computed: {
|
|
22134
|
+
copyable() {
|
|
22135
|
+
return this.$sdk.global.copyText && this.field.copyable;
|
|
22136
|
+
},
|
|
22118
22137
|
type() {
|
|
22119
22138
|
return this.field.type || "string";
|
|
22120
22139
|
},
|
|
@@ -22147,9 +22166,9 @@ const jC = {
|
|
|
22147
22166
|
return;
|
|
22148
22167
|
let e = this.expressions.show, t = this.expressions.hide, n = this.expressionsContext;
|
|
22149
22168
|
if (e)
|
|
22150
|
-
return !
|
|
22169
|
+
return !Ct.evaluateExpression(e, n);
|
|
22151
22170
|
if (t)
|
|
22152
|
-
return
|
|
22171
|
+
return Ct.evaluateExpression(t, n);
|
|
22153
22172
|
},
|
|
22154
22173
|
expressions() {
|
|
22155
22174
|
return this.field.expressions;
|
|
@@ -22249,17 +22268,17 @@ const jC = {
|
|
|
22249
22268
|
return e;
|
|
22250
22269
|
}
|
|
22251
22270
|
}
|
|
22252
|
-
},
|
|
22271
|
+
}, RV = { class: "ux-field-title" }, BV = { class: "currency" }, zV = { key: 1 }, HV = { class: "currency" }, qV = { key: 1 }, GV = {
|
|
22253
22272
|
key: 4,
|
|
22254
22273
|
class: "ux-password-render"
|
|
22255
|
-
},
|
|
22274
|
+
}, WV = ["type", "value"], KV = ["type", "value"], YV = ["innerHTML"], ZV = ["innerHTML"], JV = { key: 1 }, XV = { key: 1 }, QV = ["href"], eE = { key: 1 }, tE = ["href"], nE = ["href"], iE = { key: 1 }, rE = ["href"], sE = { key: 1 };
|
|
22256
22275
|
function lE(e, t, n, r, s, i) {
|
|
22257
22276
|
const l = y("field-group"), a = y("v-ace-editor"), u = y("flex-cell"), f = y("ux-icon"), c = y("ux-button"), p = y("flex-row"), g = y("item"), b = y("error-boundary");
|
|
22258
22277
|
return i.visible ? (o(), d("div", {
|
|
22259
22278
|
key: 0,
|
|
22260
22279
|
class: N(["ux-field-render", i.classes])
|
|
22261
22280
|
}, [
|
|
22262
|
-
x("label",
|
|
22281
|
+
x("label", RV, v(i.title), 1),
|
|
22263
22282
|
i.widget === "group" ? (o(), d(S, { key: 0 }, [
|
|
22264
22283
|
i.asObject ? (o(), k(l, {
|
|
22265
22284
|
key: 0,
|
|
@@ -22286,10 +22305,10 @@ function lE(e, t, n, r, s, i) {
|
|
|
22286
22305
|
}, null, 8, ["submission", "field", "parentModel", "modelValue"])) : i.widget === "currency" ? (o(), d(S, { key: 2 }, [
|
|
22287
22306
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
|
|
22288
22307
|
T(v(i.formatCurrency(w)) + " ", 1),
|
|
22289
|
-
x("span",
|
|
22290
|
-
]))), 256)) : (o(), d("div",
|
|
22308
|
+
x("span", BV, v(n.field.currency), 1)
|
|
22309
|
+
]))), 256)) : (o(), d("div", zV, [
|
|
22291
22310
|
T(v(i.formatCurrency(i.fieldModel)) + " ", 1),
|
|
22292
|
-
x("span",
|
|
22311
|
+
x("span", HV, v(n.field.currency), 1)
|
|
22293
22312
|
]))
|
|
22294
22313
|
], 64)) : i.widget === "code" ? (o(), d(S, { key: 3 }, [
|
|
22295
22314
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
|
|
@@ -22302,7 +22321,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22302
22321
|
theme: "tomorrow_night_eighties",
|
|
22303
22322
|
style: { "min-height": "300px" }
|
|
22304
22323
|
}, null, 8, ["value", "lang"])
|
|
22305
|
-
]))), 256)) : (o(), d("div",
|
|
22324
|
+
]))), 256)) : (o(), d("div", qV, [
|
|
22306
22325
|
m(a, {
|
|
22307
22326
|
readonly: !0,
|
|
22308
22327
|
class: "editor-wrap",
|
|
@@ -22313,7 +22332,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22313
22332
|
style: { "min-height": "300px" }
|
|
22314
22333
|
}, null, 8, ["value", "lang"])
|
|
22315
22334
|
]))
|
|
22316
|
-
], 64)) : i.widget === "password" ? (o(), d("div",
|
|
22335
|
+
], 64)) : i.widget === "password" ? (o(), d("div", GV, [
|
|
22317
22336
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), k(p, {
|
|
22318
22337
|
gap: "",
|
|
22319
22338
|
center: ""
|
|
@@ -22324,7 +22343,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22324
22343
|
x("input", {
|
|
22325
22344
|
type: s.unmaskedLookup[`${C}`] ? "text" : "password",
|
|
22326
22345
|
value: w
|
|
22327
|
-
}, null, 8,
|
|
22346
|
+
}, null, 8, WV)
|
|
22328
22347
|
]),
|
|
22329
22348
|
_: 2
|
|
22330
22349
|
}, 1024),
|
|
@@ -22343,7 +22362,26 @@ function lE(e, t, n, r, s, i) {
|
|
|
22343
22362
|
}, 1032, ["onClick"])
|
|
22344
22363
|
]),
|
|
22345
22364
|
_: 2
|
|
22346
|
-
}, 1024)
|
|
22365
|
+
}, 1024),
|
|
22366
|
+
i.copyable ? (o(), k(u, {
|
|
22367
|
+
key: 0,
|
|
22368
|
+
shrink: "",
|
|
22369
|
+
vcenter: ""
|
|
22370
|
+
}, {
|
|
22371
|
+
default: h(() => [
|
|
22372
|
+
m(c, {
|
|
22373
|
+
tag: "a",
|
|
22374
|
+
icon: "",
|
|
22375
|
+
onClick: (U) => i.copy(C)
|
|
22376
|
+
}, {
|
|
22377
|
+
default: h(() => [
|
|
22378
|
+
m(f, { icon: "fa-copy" })
|
|
22379
|
+
]),
|
|
22380
|
+
_: 2
|
|
22381
|
+
}, 1032, ["onClick"])
|
|
22382
|
+
]),
|
|
22383
|
+
_: 2
|
|
22384
|
+
}, 1024)) : _("", !0)
|
|
22347
22385
|
]),
|
|
22348
22386
|
_: 2
|
|
22349
22387
|
}, 1024))), 256)) : (o(), k(p, {
|
|
@@ -22357,7 +22395,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22357
22395
|
x("input", {
|
|
22358
22396
|
type: s.unmasked ? "text" : "password",
|
|
22359
22397
|
value: i.fieldModel
|
|
22360
|
-
}, null, 8,
|
|
22398
|
+
}, null, 8, KV)
|
|
22361
22399
|
]),
|
|
22362
22400
|
_: 1
|
|
22363
22401
|
}),
|
|
@@ -22376,7 +22414,26 @@ function lE(e, t, n, r, s, i) {
|
|
|
22376
22414
|
}, 8, ["onClick"])
|
|
22377
22415
|
]),
|
|
22378
22416
|
_: 1
|
|
22379
|
-
})
|
|
22417
|
+
}),
|
|
22418
|
+
i.copyable ? (o(), k(u, {
|
|
22419
|
+
key: 0,
|
|
22420
|
+
shrink: "",
|
|
22421
|
+
vcenter: ""
|
|
22422
|
+
}, {
|
|
22423
|
+
default: h(() => [
|
|
22424
|
+
m(c, {
|
|
22425
|
+
tag: "a",
|
|
22426
|
+
icon: "",
|
|
22427
|
+
onClick: t[3] || (t[3] = (w) => i.copy())
|
|
22428
|
+
}, {
|
|
22429
|
+
default: h(() => [
|
|
22430
|
+
m(f, { icon: "fa-copy" })
|
|
22431
|
+
]),
|
|
22432
|
+
_: 1
|
|
22433
|
+
})
|
|
22434
|
+
]),
|
|
22435
|
+
_: 1
|
|
22436
|
+
})) : _("", !0)
|
|
22380
22437
|
]),
|
|
22381
22438
|
_: 1
|
|
22382
22439
|
}))
|
|
@@ -22409,7 +22466,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22409
22466
|
m(c, {
|
|
22410
22467
|
size: "sm",
|
|
22411
22468
|
icon: "",
|
|
22412
|
-
onClick: t[
|
|
22469
|
+
onClick: t[4] || (t[4] = B((w) => i.openActions(i.fieldModel), ["stop", "prevent"]))
|
|
22413
22470
|
}, {
|
|
22414
22471
|
default: h(() => [
|
|
22415
22472
|
m(f, { icon: "fa-ellipsis" })
|
|
@@ -22424,28 +22481,28 @@ function lE(e, t, n, r, s, i) {
|
|
|
22424
22481
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
|
|
22425
22482
|
m(b, null, {
|
|
22426
22483
|
default: h(() => [
|
|
22427
|
-
x("div", { innerHTML: w }, null, 8,
|
|
22484
|
+
x("div", { innerHTML: w }, null, 8, YV)
|
|
22428
22485
|
]),
|
|
22429
22486
|
_: 2
|
|
22430
22487
|
}, 1024)
|
|
22431
22488
|
]))), 256)) : (o(), k(b, { key: 1 }, {
|
|
22432
22489
|
default: h(() => [
|
|
22433
|
-
x("div", { innerHTML: i.fieldModel }, null, 8,
|
|
22490
|
+
x("div", { innerHTML: i.fieldModel }, null, 8, ZV)
|
|
22434
22491
|
]),
|
|
22435
22492
|
_: 1
|
|
22436
22493
|
}))
|
|
22437
22494
|
], 64)) : _("", !0),
|
|
22438
22495
|
i.type == "boolean" ? (o(), d(S, { key: 2 }, [
|
|
22439
|
-
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(!!w), 1))), 256)) : (o(), d("div",
|
|
22496
|
+
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(!!w), 1))), 256)) : (o(), d("div", JV, v(!!i.fieldModel), 1))
|
|
22440
22497
|
], 64)) : _("", !0),
|
|
22441
22498
|
i.type == "date" ? (o(), d(S, { key: 3 }, [
|
|
22442
|
-
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(i.renderDate(w)), 1))), 256)) : (o(), d("div",
|
|
22499
|
+
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(i.renderDate(w)), 1))), 256)) : (o(), d("div", XV, v(i.renderDate(i.fieldModel)), 1))
|
|
22443
22500
|
], 64)) : _("", !0),
|
|
22444
22501
|
i.type == "email" ? (o(), d(S, { key: 4 }, [
|
|
22445
22502
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
|
|
22446
22503
|
x("a", {
|
|
22447
22504
|
href: `mailto:${w}`
|
|
22448
|
-
}, v(w), 9,
|
|
22505
|
+
}, v(w), 9, QV)
|
|
22449
22506
|
]))), 256)) : (o(), d("div", eE, [
|
|
22450
22507
|
x("a", {
|
|
22451
22508
|
href: `mailto:${i.fieldModel}`
|
|
@@ -22465,7 +22522,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22465
22522
|
], 64))
|
|
22466
22523
|
], 2)) : _("", !0);
|
|
22467
22524
|
}
|
|
22468
|
-
const No = /* @__PURE__ */ V(
|
|
22525
|
+
const No = /* @__PURE__ */ V(jV, [["render", lE], ["__scopeId", "data-v-00091aa4"]]);
|
|
22469
22526
|
const aE = {
|
|
22470
22527
|
props: {
|
|
22471
22528
|
parentModel: {
|
|
@@ -22820,11 +22877,11 @@ function OE(e, t, n) {
|
|
|
22820
22877
|
return !0;
|
|
22821
22878
|
return !1;
|
|
22822
22879
|
}
|
|
22823
|
-
var
|
|
22824
|
-
function
|
|
22880
|
+
var CE = OE;
|
|
22881
|
+
function VE(e, t) {
|
|
22825
22882
|
return e.has(t);
|
|
22826
22883
|
}
|
|
22827
|
-
var EE =
|
|
22884
|
+
var EE = VE, AE = jr, ME = an, DE = AE(ME, "Set"), IE = DE;
|
|
22828
22885
|
function FE() {
|
|
22829
22886
|
}
|
|
22830
22887
|
var $E = FE;
|
|
@@ -22836,7 +22893,7 @@ function NE(e) {
|
|
|
22836
22893
|
}
|
|
22837
22894
|
var Lo = NE, ur = IE, LE = $E, PE = Lo, UE = 1 / 0, jE = ur && 1 / PE(new ur([, -0]))[1] == UE ? function(e) {
|
|
22838
22895
|
return new ur(e);
|
|
22839
|
-
} : LE, RE = jE, BE = xE, zE = TE, HE =
|
|
22896
|
+
} : LE, RE = jE, BE = xE, zE = TE, HE = CE, qE = EE, GE = RE, WE = Lo, KE = 200;
|
|
22840
22897
|
function YE(e, t, n) {
|
|
22841
22898
|
var r = -1, s = zE, i = e.length, l = !0, a = [], u = a;
|
|
22842
22899
|
if (n)
|
|
@@ -23972,8 +24029,8 @@ const gA = {
|
|
|
23972
24029
|
}, OA = {
|
|
23973
24030
|
key: 1,
|
|
23974
24031
|
class: "description"
|
|
23975
|
-
},
|
|
23976
|
-
function
|
|
24032
|
+
}, CA = { class: "padder" };
|
|
24033
|
+
function VA(e, t, n, r, s, i) {
|
|
23977
24034
|
const l = y("flex-header"), a = y("search"), u = y("flex-cell"), f = y("ux-icon"), c = y("flex-row"), p = y("flex-body"), g = y("ux-button"), b = y("flex-footer"), w = y("flex-column");
|
|
23978
24035
|
return o(), k(w, { class: "wrapper" }, {
|
|
23979
24036
|
default: h(() => [
|
|
@@ -24042,7 +24099,7 @@ function CA(e, t, n, r, s, i) {
|
|
|
24042
24099
|
}),
|
|
24043
24100
|
m(b, { class: "options-modal-footer" }, {
|
|
24044
24101
|
default: h(() => [
|
|
24045
|
-
x("div",
|
|
24102
|
+
x("div", CA, [
|
|
24046
24103
|
m(g, {
|
|
24047
24104
|
size: "sm",
|
|
24048
24105
|
onClick: e.dismiss
|
|
@@ -24060,7 +24117,7 @@ function CA(e, t, n, r, s, i) {
|
|
|
24060
24117
|
_: 1
|
|
24061
24118
|
});
|
|
24062
24119
|
}
|
|
24063
|
-
const EA = /* @__PURE__ */ V(gA, [["render",
|
|
24120
|
+
const EA = /* @__PURE__ */ V(gA, [["render", VA], ["__scopeId", "data-v-f99d3671"]]);
|
|
24064
24121
|
const AA = {
|
|
24065
24122
|
mixins: [cn],
|
|
24066
24123
|
data() {
|
|
@@ -24605,7 +24662,7 @@ const ZA = `qik vue ui ${Zo}`, xl = {
|
|
|
24605
24662
|
FlexFooter: xc,
|
|
24606
24663
|
FlexCell: Tc,
|
|
24607
24664
|
FlexSpacer: Dc,
|
|
24608
|
-
FlexRow:
|
|
24665
|
+
FlexRow: Vc,
|
|
24609
24666
|
UxInfo: ng,
|
|
24610
24667
|
UxPanel: Nc,
|
|
24611
24668
|
UxPanelBody: jc,
|
|
@@ -24622,7 +24679,7 @@ const ZA = `qik vue ui ${Zo}`, xl = {
|
|
|
24622
24679
|
UxRender: uE,
|
|
24623
24680
|
UxRenderField: No,
|
|
24624
24681
|
UxIcon: Sg,
|
|
24625
|
-
UxMenu:
|
|
24682
|
+
UxMenu: Cg,
|
|
24626
24683
|
UxMenuList: Ag,
|
|
24627
24684
|
UxImage: $g,
|
|
24628
24685
|
UxVideo: Rg,
|
|
@@ -24700,7 +24757,7 @@ export {
|
|
|
24700
24757
|
dc as FlexColumn,
|
|
24701
24758
|
xc as FlexFooter,
|
|
24702
24759
|
gc as FlexHeader,
|
|
24703
|
-
|
|
24760
|
+
Vc as FlexRow,
|
|
24704
24761
|
Dc as FlexSpacer,
|
|
24705
24762
|
ng as Info,
|
|
24706
24763
|
ja as Item,
|
|
@@ -24731,7 +24788,7 @@ export {
|
|
|
24731
24788
|
kg as UXLink,
|
|
24732
24789
|
Xg as UXList,
|
|
24733
24790
|
tv as UXListItem,
|
|
24734
|
-
|
|
24791
|
+
Cg as UXMenu,
|
|
24735
24792
|
Ag as UXMenuList,
|
|
24736
24793
|
Kg as UXPill,
|
|
24737
24794
|
uE as UXRender,
|