@qikdev/vue-ui 0.2.208 → 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 +319 -263
- 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: {
|
|
@@ -8625,7 +8625,7 @@ function Eg(e, t, n, r, s, i) {
|
|
|
8625
8625
|
}), 128))
|
|
8626
8626
|
]);
|
|
8627
8627
|
}
|
|
8628
|
-
const Ag = /* @__PURE__ */ V(
|
|
8628
|
+
const Ag = /* @__PURE__ */ V(Vg, [["render", Eg], ["__scopeId", "data-v-cbfd31c1"]]);
|
|
8629
8629
|
const Mg = {
|
|
8630
8630
|
props: {
|
|
8631
8631
|
item: {
|
|
@@ -9982,10 +9982,10 @@ const Sv = {
|
|
|
9982
9982
|
}, Ov = {
|
|
9983
9983
|
key: 0,
|
|
9984
9984
|
class: "ux-required-marker"
|
|
9985
|
-
},
|
|
9985
|
+
}, Cv = {
|
|
9986
9986
|
key: 1,
|
|
9987
9987
|
class: "ux-field-description"
|
|
9988
|
-
},
|
|
9988
|
+
}, Vv = {
|
|
9989
9989
|
key: 2,
|
|
9990
9990
|
class: "ui-select-button"
|
|
9991
9991
|
}, Ev = ["multiple"], Av = {
|
|
@@ -10001,8 +10001,8 @@ function Dv(e, t, n, r, s, i) {
|
|
|
10001
10001
|
T(v(e.label) + " ", 1),
|
|
10002
10002
|
e.required ? (o(), d("span", Ov, "*")) : _("", !0)
|
|
10003
10003
|
])) : _("", !0),
|
|
10004
|
-
e.showDescription ? (o(), d("div",
|
|
10005
|
-
e.singleValue ? (o(), d("div",
|
|
10004
|
+
e.showDescription ? (o(), d("div", Cv, v(e.description), 1)) : _("", !0),
|
|
10005
|
+
e.singleValue ? (o(), d("div", Vv, [
|
|
10006
10006
|
H(e.$slots, "default", {}, () => [
|
|
10007
10007
|
m(l, { tag: "div" }, {
|
|
10008
10008
|
default: h(() => [
|
|
@@ -10392,19 +10392,19 @@ function zv(e, t) {
|
|
|
10392
10392
|
function Ki(e, t) {
|
|
10393
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);
|
|
10394
10394
|
}
|
|
10395
|
-
var
|
|
10395
|
+
var Cn;
|
|
10396
10396
|
function Ha(e, t) {
|
|
10397
10397
|
return function() {
|
|
10398
|
-
if (!
|
|
10398
|
+
if (!Cn) {
|
|
10399
10399
|
var n = arguments, r = this;
|
|
10400
|
-
n.length === 1 ? e.call(r, n[0]) : e.apply(r, n),
|
|
10401
|
-
|
|
10400
|
+
n.length === 1 ? e.call(r, n[0]) : e.apply(r, n), Cn = setTimeout(function() {
|
|
10401
|
+
Cn = void 0;
|
|
10402
10402
|
}, t);
|
|
10403
10403
|
}
|
|
10404
10404
|
};
|
|
10405
10405
|
}
|
|
10406
10406
|
function Hv() {
|
|
10407
|
-
clearTimeout(
|
|
10407
|
+
clearTimeout(Cn), Cn = void 0;
|
|
10408
10408
|
}
|
|
10409
10409
|
function qa(e, t, n) {
|
|
10410
10410
|
e.scrollLeft += t, e.scrollTop += n;
|
|
@@ -10560,7 +10560,7 @@ var Yv = ["evt"], Le = function(t, n) {
|
|
|
10560
10560
|
activeSortable: R.active,
|
|
10561
10561
|
originalEvent: s,
|
|
10562
10562
|
oldIndex: Zt,
|
|
10563
|
-
oldDraggableIndex:
|
|
10563
|
+
oldDraggableIndex: Vn,
|
|
10564
10564
|
newIndex: je,
|
|
10565
10565
|
newDraggableIndex: xt,
|
|
10566
10566
|
hideGhostForTarget: Za,
|
|
@@ -10587,12 +10587,12 @@ function Fe(e) {
|
|
|
10587
10587
|
targetEl: M,
|
|
10588
10588
|
rootEl: de,
|
|
10589
10589
|
oldIndex: Zt,
|
|
10590
|
-
oldDraggableIndex:
|
|
10590
|
+
oldDraggableIndex: Vn,
|
|
10591
10591
|
newIndex: je,
|
|
10592
10592
|
newDraggableIndex: xt
|
|
10593
10593
|
}, e));
|
|
10594
10594
|
}
|
|
10595
|
-
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() {
|
|
10596
10596
|
if (Fi) {
|
|
10597
10597
|
if (yt)
|
|
10598
10598
|
return !1;
|
|
@@ -10736,7 +10736,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10736
10736
|
if (t.cancelable) {
|
|
10737
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;
|
|
10738
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)) {
|
|
10739
|
-
if (Zt = Ge(u),
|
|
10739
|
+
if (Zt = Ge(u), Vn = Ge(u, s.draggable), typeof c == "function") {
|
|
10740
10740
|
if (c.call(this, t, u, this)) {
|
|
10741
10741
|
Fe({
|
|
10742
10742
|
sortable: n,
|
|
@@ -10926,8 +10926,8 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10926
10926
|
fromSortable: g,
|
|
10927
10927
|
target: r,
|
|
10928
10928
|
completed: D,
|
|
10929
|
-
onMove: function(rt,
|
|
10930
|
-
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);
|
|
10931
10931
|
},
|
|
10932
10932
|
changed: ee
|
|
10933
10933
|
}, Rt));
|
|
@@ -10987,11 +10987,11 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
10987
10987
|
if (q === 0 || Te === r)
|
|
10988
10988
|
return D(!1);
|
|
10989
10989
|
Wt = r, En = q;
|
|
10990
|
-
var Ne = r.nextElementSibling,
|
|
10991
|
-
|
|
10992
|
-
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);
|
|
10993
10993
|
if (_t !== !1)
|
|
10994
|
-
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);
|
|
10995
10995
|
}
|
|
10996
10996
|
if (n.contains(M))
|
|
10997
10997
|
return D(!1);
|
|
@@ -11053,7 +11053,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
11053
11053
|
name: "sort",
|
|
11054
11054
|
toEl: fe,
|
|
11055
11055
|
originalEvent: t
|
|
11056
|
-
})), R.active && ((je == null || je === -1) && (je = Zt, xt =
|
|
11056
|
+
})), R.active && ((je == null || je === -1) && (je = Zt, xt = Vn), Fe({
|
|
11057
11057
|
sortable: this,
|
|
11058
11058
|
name: "end",
|
|
11059
11059
|
toEl: fe,
|
|
@@ -11061,7 +11061,7 @@ R.prototype = /** @lends Sortable.prototype */
|
|
|
11061
11061
|
}), this.save()))), this._nulling();
|
|
11062
11062
|
},
|
|
11063
11063
|
_nulling: function() {
|
|
11064
|
-
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) {
|
|
11065
11065
|
t.checked = !0;
|
|
11066
11066
|
}), vi.length = Zi = Ji = 0;
|
|
11067
11067
|
},
|
|
@@ -11331,8 +11331,8 @@ var nr = Ha(function(e, t, n, r) {
|
|
|
11331
11331
|
pe[Oe] || (pe[Oe] = {});
|
|
11332
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() {
|
|
11333
11333
|
r && this.layer === 0 && R.active._onTouchMove(bi);
|
|
11334
|
-
var Ne = pe[this.layer].vy ? pe[this.layer].vy * a : 0,
|
|
11335
|
-
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);
|
|
11336
11336
|
}.bind({
|
|
11337
11337
|
layer: p
|
|
11338
11338
|
}), 24))), p++;
|
|
@@ -11649,14 +11649,14 @@ function lo(e) {
|
|
|
11649
11649
|
return this[`onDrag${e}`](t, n);
|
|
11650
11650
|
};
|
|
11651
11651
|
}
|
|
11652
|
-
function
|
|
11652
|
+
function C1(e) {
|
|
11653
11653
|
const t = lo.call(this, e);
|
|
11654
11654
|
return (n, r) => {
|
|
11655
11655
|
t.call(this, n, r), so.call(this, e, n);
|
|
11656
11656
|
};
|
|
11657
11657
|
}
|
|
11658
11658
|
let rr = null;
|
|
11659
|
-
const
|
|
11659
|
+
const V1 = {
|
|
11660
11660
|
list: {
|
|
11661
11661
|
type: Array,
|
|
11662
11662
|
required: !1,
|
|
@@ -11692,10 +11692,10 @@ const C1 = {
|
|
|
11692
11692
|
"update:modelValue",
|
|
11693
11693
|
"change",
|
|
11694
11694
|
...[...Or.manageAndEmit, ...Or.emit].map((e) => e.toLowerCase())
|
|
11695
|
-
], ao =
|
|
11695
|
+
], ao = Vr({
|
|
11696
11696
|
name: "draggable",
|
|
11697
11697
|
inheritAttrs: !1,
|
|
11698
|
-
props:
|
|
11698
|
+
props: V1,
|
|
11699
11699
|
emits: E1,
|
|
11700
11700
|
data() {
|
|
11701
11701
|
return {
|
|
@@ -11731,7 +11731,7 @@ const C1 = {
|
|
|
11731
11731
|
const r = b1({
|
|
11732
11732
|
$attrs: e,
|
|
11733
11733
|
callBackBuilder: {
|
|
11734
|
-
manageAndEmit: (i) =>
|
|
11734
|
+
manageAndEmit: (i) => C1.call(this, i),
|
|
11735
11735
|
emit: (i) => so.bind(this, i),
|
|
11736
11736
|
manage: (i) => lo.call(this, i)
|
|
11737
11737
|
}
|
|
@@ -13032,6 +13032,9 @@ const xb = {
|
|
|
13032
13032
|
copyable() {
|
|
13033
13033
|
return this.$sdk.global.copyText && this.field.copyable;
|
|
13034
13034
|
},
|
|
13035
|
+
uneditable() {
|
|
13036
|
+
return this.field.editable === !1;
|
|
13037
|
+
},
|
|
13035
13038
|
inputClasses() {
|
|
13036
13039
|
const e = [];
|
|
13037
13040
|
return e.push(`ux-text-input-${this.inputType}`), e.join(" ");
|
|
@@ -13114,16 +13117,16 @@ const xb = {
|
|
|
13114
13117
|
}, Tb = {
|
|
13115
13118
|
key: 1,
|
|
13116
13119
|
class: "ux-field-description"
|
|
13117
|
-
}, Ob = { key: 2 },
|
|
13120
|
+
}, Ob = { key: 2 }, Cb = { class: "ux-text-wrap" }, Vb = {
|
|
13118
13121
|
key: 0,
|
|
13119
13122
|
class: "ux-text-prefix"
|
|
13120
|
-
}, 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 = {
|
|
13121
13124
|
key: 3,
|
|
13122
13125
|
class: "ux-text-suffix"
|
|
13123
13126
|
}, Db = { class: "ux-text-wrap" }, Ib = {
|
|
13124
13127
|
key: 0,
|
|
13125
13128
|
class: "ux-text-prefix"
|
|
13126
|
-
}, Fb = ["type", "placeholder"], $b = ["type", "placeholder"], Nb = {
|
|
13129
|
+
}, Fb = ["readonly", "type", "placeholder"], $b = ["readonly", "type", "placeholder"], Nb = {
|
|
13127
13130
|
key: 3,
|
|
13128
13131
|
class: "ux-text-suffix"
|
|
13129
13132
|
};
|
|
@@ -13137,16 +13140,18 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13137
13140
|
e.showDescription ? (o(), d("div", Tb, v(e.description), 1)) : _("", !0),
|
|
13138
13141
|
e.multiValue ? (o(), d("div", Ob, [
|
|
13139
13142
|
(o(!0), d(S, null, F(e.model, (c, p) => (o(), k(f, {
|
|
13143
|
+
gap: "",
|
|
13140
13144
|
class: "ux-text-row",
|
|
13141
13145
|
key: p
|
|
13142
13146
|
}, {
|
|
13143
13147
|
default: h(() => [
|
|
13144
13148
|
m(l, null, {
|
|
13145
13149
|
default: h(() => [
|
|
13146
|
-
x("div",
|
|
13147
|
-
e.prefix ? (o(), d("span",
|
|
13150
|
+
x("div", Cb, [
|
|
13151
|
+
e.prefix ? (o(), d("span", Vb, v(e.prefix), 1)) : _("", !0),
|
|
13148
13152
|
i.lazy ? K((o(), d("input", {
|
|
13149
13153
|
key: 1,
|
|
13154
|
+
readonly: i.uneditable,
|
|
13150
13155
|
type: i.getInput(p),
|
|
13151
13156
|
class: N([i.inputClasses, "ux-field-focus ux-text-input-multiple"]),
|
|
13152
13157
|
placeholder: i.actualPlaceholder,
|
|
@@ -13165,6 +13170,7 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13165
13170
|
]) : _("", !0),
|
|
13166
13171
|
i.lazy ? _("", !0) : K((o(), d("input", {
|
|
13167
13172
|
key: 2,
|
|
13173
|
+
readonly: i.uneditable,
|
|
13168
13174
|
type: i.getInput(p),
|
|
13169
13175
|
class: N([i.inputClasses, "ux-field-focus ux-text-input-multiple"]),
|
|
13170
13176
|
placeholder: i.actualPlaceholder,
|
|
@@ -13260,7 +13266,10 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13260
13266
|
]),
|
|
13261
13267
|
_: 1
|
|
13262
13268
|
}, 8, ["size"])) : _("", !0)
|
|
13263
|
-
])) : (o(), k(f, {
|
|
13269
|
+
])) : (o(), k(f, {
|
|
13270
|
+
key: 3,
|
|
13271
|
+
gap: ""
|
|
13272
|
+
}, {
|
|
13264
13273
|
default: h(() => [
|
|
13265
13274
|
m(l, null, {
|
|
13266
13275
|
default: h(() => [
|
|
@@ -13268,6 +13277,7 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13268
13277
|
e.prefix ? (o(), d("span", Ib, v(e.prefix), 1)) : _("", !0),
|
|
13269
13278
|
i.lazy ? K((o(), d("input", {
|
|
13270
13279
|
key: 1,
|
|
13280
|
+
readonly: i.uneditable,
|
|
13271
13281
|
type: i.actualInputType,
|
|
13272
13282
|
ref: "input",
|
|
13273
13283
|
class: N([i.inputClasses, "ux-field-focus ux-text-input-single"]),
|
|
@@ -13284,6 +13294,7 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13284
13294
|
]) : _("", !0),
|
|
13285
13295
|
i.lazy ? _("", !0) : K((o(), d("input", {
|
|
13286
13296
|
key: 2,
|
|
13297
|
+
readonly: i.uneditable,
|
|
13287
13298
|
type: i.actualInputType,
|
|
13288
13299
|
ref: "input",
|
|
13289
13300
|
class: N([i.inputClasses, "ux-field-focus ux-text-input-single"]),
|
|
@@ -13345,7 +13356,7 @@ function Lb(e, t, n, r, s, i) {
|
|
|
13345
13356
|
}))
|
|
13346
13357
|
], 64);
|
|
13347
13358
|
}
|
|
13348
|
-
const fo = /* @__PURE__ */ V(xb, [["render", Lb], ["__scopeId", "data-v-
|
|
13359
|
+
const fo = /* @__PURE__ */ V(xb, [["render", Lb], ["__scopeId", "data-v-3eb5be38"]]);
|
|
13349
13360
|
const Pb = {
|
|
13350
13361
|
props: {
|
|
13351
13362
|
modelValue: {
|
|
@@ -13925,17 +13936,17 @@ function Sk(e, t, n, r, s, i) {
|
|
|
13925
13936
|
}, null, 8, wk));
|
|
13926
13937
|
}
|
|
13927
13938
|
const Tk = /* @__PURE__ */ V(bk, [["render", Sk]]);
|
|
13928
|
-
var Ok = Math.ceil,
|
|
13929
|
-
function
|
|
13930
|
-
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--; )
|
|
13931
13942
|
l[r ? i : ++s] = e, e += n;
|
|
13932
13943
|
return l;
|
|
13933
13944
|
}
|
|
13934
|
-
var Ek =
|
|
13945
|
+
var Ek = Vk, Ak = 9007199254740991;
|
|
13935
13946
|
function Mk(e) {
|
|
13936
13947
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ak;
|
|
13937
13948
|
}
|
|
13938
|
-
var ho = Mk, Dk =
|
|
13949
|
+
var ho = Mk, Dk = Ca, Ik = ho;
|
|
13939
13950
|
function Fk(e) {
|
|
13940
13951
|
return e != null && Ik(e.length) && !Dk(e);
|
|
13941
13952
|
}
|
|
@@ -13944,7 +13955,7 @@ function Lk(e, t) {
|
|
|
13944
13955
|
var n = typeof e;
|
|
13945
13956
|
return t = t ?? $k, !!t && (n == "number" || n != "symbol" && Nk.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
13946
13957
|
}
|
|
13947
|
-
var po = Lk, Pk =
|
|
13958
|
+
var po = Lk, Pk = Va, Uk = Kr, jk = po, Rk = In;
|
|
13948
13959
|
function Bk(e, t, n) {
|
|
13949
13960
|
if (!Rk(n))
|
|
13950
13961
|
return !1;
|
|
@@ -14947,7 +14958,7 @@ const k0 = {
|
|
|
14947
14958
|
}, x0 = (e) => (Ye("data-v-13dce876"), e = e(), Ze(), e), w0 = {
|
|
14948
14959
|
key: 0,
|
|
14949
14960
|
class: "filter-condition"
|
|
14950
|
-
}, 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));
|
|
14951
14962
|
function N0(e, t, n, r, s, i) {
|
|
14952
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);
|
|
14953
14964
|
return s.comparators ? (o(), d("div", w0, [
|
|
@@ -15047,7 +15058,7 @@ function N0(e, t, n, r, s, i) {
|
|
|
15047
15058
|
_: 1
|
|
15048
15059
|
})
|
|
15049
15060
|
])) : _("", !0),
|
|
15050
|
-
i.inputType == "daterange" ? (o(), d("div",
|
|
15061
|
+
i.inputType == "daterange" ? (o(), d("div", C0, [
|
|
15051
15062
|
m(p, {
|
|
15052
15063
|
field: i.dateField,
|
|
15053
15064
|
modelValue: s.model.value,
|
|
@@ -15060,7 +15071,7 @@ function N0(e, t, n, r, s, i) {
|
|
|
15060
15071
|
"onUpdate:modelValue": t[11] || (t[11] = (D) => s.model.value2 = D)
|
|
15061
15072
|
}, null, 8, ["field", "modelValue"])
|
|
15062
15073
|
])) : _("", !0),
|
|
15063
|
-
i.inputType == "date" ? (o(), d("div",
|
|
15074
|
+
i.inputType == "date" ? (o(), d("div", V0, [
|
|
15064
15075
|
m(p, {
|
|
15065
15076
|
field: i.dateField,
|
|
15066
15077
|
modelValue: s.model.value,
|
|
@@ -16196,10 +16207,10 @@ const Ox = {
|
|
|
16196
16207
|
return "";
|
|
16197
16208
|
}
|
|
16198
16209
|
}
|
|
16199
|
-
},
|
|
16210
|
+
}, Cx = {
|
|
16200
16211
|
key: 0,
|
|
16201
16212
|
class: "ux-field-title"
|
|
16202
|
-
},
|
|
16213
|
+
}, Vx = {
|
|
16203
16214
|
key: 0,
|
|
16204
16215
|
class: "ux-required-marker"
|
|
16205
16216
|
}, Ex = {
|
|
@@ -16209,9 +16220,9 @@ const Ox = {
|
|
|
16209
16220
|
function Ix(e, t, n, r, s, i) {
|
|
16210
16221
|
const l = y("range-slider"), a = y("flex-cell"), u = y("flex-row"), f = y("ux-icon"), c = y("ux-button");
|
|
16211
16222
|
return o(), d(S, null, [
|
|
16212
|
-
e.showLabel ? (o(), d("label",
|
|
16223
|
+
e.showLabel ? (o(), d("label", Cx, [
|
|
16213
16224
|
T(v(e.label) + " ", 1),
|
|
16214
|
-
e.required ? (o(), d("span",
|
|
16225
|
+
e.required ? (o(), d("span", Vx, "*")) : _("", !0)
|
|
16215
16226
|
])) : _("", !0),
|
|
16216
16227
|
e.showDescription ? (o(), d("div", Ex, v(e.description), 1)) : _("", !0),
|
|
16217
16228
|
e.multiValue ? (o(), d("div", Ax, [
|
|
@@ -17286,8 +17297,8 @@ function gw(e, t, n, r, s, i) {
|
|
|
17286
17297
|
], 64))
|
|
17287
17298
|
], 64));
|
|
17288
17299
|
}
|
|
17289
|
-
const vw = /* @__PURE__ */ V(ow, [["render", gw], ["__scopeId", "data-v-
|
|
17290
|
-
function
|
|
17300
|
+
const vw = /* @__PURE__ */ V(ow, [["render", gw], ["__scopeId", "data-v-80037664"]]);
|
|
17301
|
+
function Cr(e) {
|
|
17291
17302
|
return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
|
|
17292
17303
|
}
|
|
17293
17304
|
const bw = {
|
|
@@ -17301,7 +17312,7 @@ const bw = {
|
|
|
17301
17312
|
if (this.option._id)
|
|
17302
17313
|
return this.option._id;
|
|
17303
17314
|
const e = this.option.value;
|
|
17304
|
-
return
|
|
17315
|
+
return Cr(e) ? this.option : this.option.value;
|
|
17305
17316
|
}
|
|
17306
17317
|
}
|
|
17307
17318
|
};
|
|
@@ -17350,7 +17361,7 @@ const ww = {
|
|
|
17350
17361
|
},
|
|
17351
17362
|
cleanOutput(e) {
|
|
17352
17363
|
var t = this;
|
|
17353
|
-
return
|
|
17364
|
+
return Cr(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).map(function(n) {
|
|
17354
17365
|
return t.getValue(n);
|
|
17355
17366
|
}) : e = t.getValue(e), e;
|
|
17356
17367
|
},
|
|
@@ -17375,7 +17386,7 @@ const ww = {
|
|
|
17375
17386
|
selectionHash() {
|
|
17376
17387
|
const e = this;
|
|
17377
17388
|
var t = {};
|
|
17378
|
-
return !
|
|
17389
|
+
return !Cr(e.model) && (e.multiValue ? e.model.forEach(function(r) {
|
|
17379
17390
|
t[r] = !0;
|
|
17380
17391
|
}) : t[e.model] = !0), t;
|
|
17381
17392
|
},
|
|
@@ -17395,8 +17406,8 @@ const ww = {
|
|
|
17395
17406
|
}, Ow = {
|
|
17396
17407
|
key: 1,
|
|
17397
17408
|
class: "ux-field-description"
|
|
17398
|
-
},
|
|
17399
|
-
function
|
|
17409
|
+
}, Cw = { class: "buttons" };
|
|
17410
|
+
function Vw(e, t, n, r, s, i) {
|
|
17400
17411
|
const l = y("ux-icon"), a = y("ux-button"), u = y("option-slot");
|
|
17401
17412
|
return o(), d(S, null, [
|
|
17402
17413
|
e.showLabel ? (o(), d("label", Sw, [
|
|
@@ -17404,7 +17415,7 @@ function Cw(e, t, n, r, s, i) {
|
|
|
17404
17415
|
e.required ? (o(), d("span", Tw, "*")) : _("", !0)
|
|
17405
17416
|
])) : _("", !0),
|
|
17406
17417
|
e.showDescription ? (o(), d("div", Ow, v(e.description), 1)) : _("", !0),
|
|
17407
|
-
x("div",
|
|
17418
|
+
x("div", Cw, [
|
|
17408
17419
|
(o(!0), d(S, null, F(e.selectableOptions, (f) => (o(), k(u, { option: f }, {
|
|
17409
17420
|
default: h(({ plainValue: c }) => [
|
|
17410
17421
|
m(a, {
|
|
@@ -17427,7 +17438,7 @@ function Cw(e, t, n, r, s, i) {
|
|
|
17427
17438
|
])
|
|
17428
17439
|
], 64);
|
|
17429
17440
|
}
|
|
17430
|
-
const Ew = /* @__PURE__ */ V(ww, [["render",
|
|
17441
|
+
const Ew = /* @__PURE__ */ V(ww, [["render", Vw], ["__scopeId", "data-v-7ec6958f"]]);
|
|
17431
17442
|
const Aw = {
|
|
17432
17443
|
props: {
|
|
17433
17444
|
modelValue: {
|
|
@@ -18302,10 +18313,10 @@ const OS = {
|
|
|
18302
18313
|
return "";
|
|
18303
18314
|
}
|
|
18304
18315
|
}
|
|
18305
|
-
},
|
|
18316
|
+
}, CS = {
|
|
18306
18317
|
key: 0,
|
|
18307
18318
|
class: "ux-field-title"
|
|
18308
|
-
},
|
|
18319
|
+
}, VS = {
|
|
18309
18320
|
key: 0,
|
|
18310
18321
|
class: "ux-required-marker"
|
|
18311
18322
|
}, ES = {
|
|
@@ -18320,9 +18331,9 @@ function IS(e, t, n, r, s, i) {
|
|
|
18320
18331
|
return o(), d("div", {
|
|
18321
18332
|
onKeydown: t[2] || (t[2] = _e(B((p) => i.enterPress(p), ["stop"]), ["enter"]))
|
|
18322
18333
|
}, [
|
|
18323
|
-
e.showLabel ? (o(), d("label",
|
|
18334
|
+
e.showLabel ? (o(), d("label", CS, [
|
|
18324
18335
|
T(v(e.label) + " ", 1),
|
|
18325
|
-
e.required ? (o(), d("span",
|
|
18336
|
+
e.required ? (o(), d("span", VS, "*")) : _("", !0)
|
|
18326
18337
|
])) : _("", !0),
|
|
18327
18338
|
e.showDescription ? (o(), d("div", ES, v(e.description), 1)) : _("", !0),
|
|
18328
18339
|
e.multiValue ? (o(), d("div", AS, [
|
|
@@ -18583,7 +18594,7 @@ var ki = {}, WS = {
|
|
|
18583
18594
|
for (var Bt in O)
|
|
18584
18595
|
(st = Bt.length) > E && O.hasOwnProperty(Bt) && (E = st);
|
|
18585
18596
|
return E;
|
|
18586
|
-
}, Oe = Te(ke), Ne = Te(xe),
|
|
18597
|
+
}, Oe = Te(ke), Ne = Te(xe), Ce = {
|
|
18587
18598
|
true: !0,
|
|
18588
18599
|
false: !1,
|
|
18589
18600
|
null: null
|
|
@@ -18604,13 +18615,13 @@ var ki = {}, WS = {
|
|
|
18604
18615
|
O >= 65 && O <= 90 || // A...Z
|
|
18605
18616
|
O >= 97 && O <= 122 || // a...z
|
|
18606
18617
|
O >= 128 && !xe[String.fromCharCode(O)];
|
|
18607
|
-
},
|
|
18618
|
+
}, Vt = function(O) {
|
|
18608
18619
|
return O === 36 || O === 95 || // `$` and `_`
|
|
18609
18620
|
O >= 65 && O <= 90 || // A...Z
|
|
18610
18621
|
O >= 97 && O <= 122 || // a...z
|
|
18611
18622
|
O >= 48 && O <= 57 || // 0...9
|
|
18612
18623
|
O >= 128 && !xe[String.fromCharCode(O)];
|
|
18613
|
-
},
|
|
18624
|
+
}, Ve = function(O) {
|
|
18614
18625
|
for (var E = 0, st = O.charAt, Bt = O.charCodeAt, De = function(A) {
|
|
18615
18626
|
return st.call(O, A);
|
|
18616
18627
|
}, ue = function(A) {
|
|
@@ -18634,7 +18645,7 @@ var ki = {}, WS = {
|
|
|
18634
18645
|
}, Jr = function() {
|
|
18635
18646
|
lt();
|
|
18636
18647
|
for (var A = O.substr(E, Ne), L = A.length; L > 0; ) {
|
|
18637
|
-
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))))
|
|
18638
18649
|
return E += L, A;
|
|
18639
18650
|
A = A.substr(0, --L);
|
|
18640
18651
|
}
|
|
@@ -18660,7 +18671,7 @@ var ki = {}, WS = {
|
|
|
18660
18671
|
if (A === ie)
|
|
18661
18672
|
return Ho();
|
|
18662
18673
|
for (L = O.substr(E, Oe), Y = L.length; Y > 0; ) {
|
|
18663
|
-
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))))
|
|
18664
18675
|
return E += Y, {
|
|
18665
18676
|
type: f,
|
|
18666
18677
|
operator: L,
|
|
@@ -18724,11 +18735,11 @@ var ki = {}, WS = {
|
|
|
18724
18735
|
};
|
|
18725
18736
|
}, Xr = function() {
|
|
18726
18737
|
var A = ue(E), L = E, Y;
|
|
18727
|
-
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)); )
|
|
18728
18739
|
E++;
|
|
18729
|
-
return Y = O.slice(L, E),
|
|
18740
|
+
return Y = O.slice(L, E), Ce.hasOwnProperty(Y) ? {
|
|
18730
18741
|
type: l,
|
|
18731
|
-
value:
|
|
18742
|
+
value: Ce[Y],
|
|
18732
18743
|
raw: Y
|
|
18733
18744
|
} : Y === _t ? { type: a } : {
|
|
18734
18745
|
type: s,
|
|
@@ -18787,27 +18798,27 @@ var ki = {}, WS = {
|
|
|
18787
18798
|
body: Bn
|
|
18788
18799
|
};
|
|
18789
18800
|
};
|
|
18790
|
-
|
|
18791
|
-
return "JavaScript Expression Parser (JSEP) v" +
|
|
18792
|
-
},
|
|
18801
|
+
Ve.version = "0.3.5", Ve.toString = function() {
|
|
18802
|
+
return "JavaScript Expression Parser (JSEP) v" + Ve.version;
|
|
18803
|
+
}, Ve.addUnaryOp = function(O) {
|
|
18793
18804
|
return Oe = Math.max(O.length, Oe), ke[O] = Me, this;
|
|
18794
|
-
},
|
|
18805
|
+
}, Ve.addBinaryOp = function(O, E) {
|
|
18795
18806
|
return Ne = Math.max(O.length, Ne), xe[O] = E, this;
|
|
18796
|
-
},
|
|
18797
|
-
return
|
|
18798
|
-
},
|
|
18807
|
+
}, Ve.addLiteral = function(O, E) {
|
|
18808
|
+
return Ce[O] = E, this;
|
|
18809
|
+
}, Ve.removeUnaryOp = function(O) {
|
|
18799
18810
|
return delete ke[O], O.length === Oe && (Oe = Te(ke)), this;
|
|
18800
|
-
},
|
|
18811
|
+
}, Ve.removeAllUnaryOps = function() {
|
|
18801
18812
|
return ke = {}, Oe = 0, this;
|
|
18802
|
-
},
|
|
18813
|
+
}, Ve.removeBinaryOp = function(O) {
|
|
18803
18814
|
return delete xe[O], O.length === Ne && (Ne = Te(xe)), this;
|
|
18804
|
-
},
|
|
18815
|
+
}, Ve.removeAllBinaryOps = function() {
|
|
18805
18816
|
return xe = {}, Ne = 0, this;
|
|
18806
|
-
},
|
|
18807
|
-
return delete
|
|
18808
|
-
},
|
|
18809
|
-
return
|
|
18810
|
-
}, 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;
|
|
18811
18822
|
})();
|
|
18812
18823
|
})(WS, ki);
|
|
18813
18824
|
const KS = ki;
|
|
@@ -18947,11 +18958,11 @@ var v2 = g2, b2 = Fn, k2 = $n, x2 = "[object Arguments]";
|
|
|
18947
18958
|
function w2(e) {
|
|
18948
18959
|
return k2(e) && b2(e) == x2;
|
|
18949
18960
|
}
|
|
18950
|
-
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() {
|
|
18951
18962
|
return arguments;
|
|
18952
18963
|
}()) ? cl : function(e) {
|
|
18953
|
-
return T2(e) && O2.call(e, "callee") && !
|
|
18954
|
-
}, E2 =
|
|
18964
|
+
return T2(e) && O2.call(e, "callee") && !C2.call(e, "callee");
|
|
18965
|
+
}, E2 = V2, xi = {}, A2 = {
|
|
18955
18966
|
get exports() {
|
|
18956
18967
|
return xi;
|
|
18957
18968
|
},
|
|
@@ -19013,13 +19024,13 @@ function OT(e) {
|
|
|
19013
19024
|
var t = e && e.constructor, n = typeof t == "function" && t.prototype || TT;
|
|
19014
19025
|
return e === n;
|
|
19015
19026
|
}
|
|
19016
|
-
var
|
|
19017
|
-
function
|
|
19027
|
+
var CT = OT;
|
|
19028
|
+
function VT(e, t) {
|
|
19018
19029
|
return function(n) {
|
|
19019
19030
|
return e(t(n));
|
|
19020
19031
|
};
|
|
19021
19032
|
}
|
|
19022
|
-
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;
|
|
19023
19034
|
function LT(e) {
|
|
19024
19035
|
if (!IT(e))
|
|
19025
19036
|
return FT(e);
|
|
@@ -19043,7 +19054,7 @@ function eO(e, t, n, r) {
|
|
|
19043
19054
|
return n < 0 && (n = QT(s + n, 0)), ZT(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && KT(e, t, n) > -1;
|
|
19044
19055
|
}
|
|
19045
19056
|
var tO = eO;
|
|
19046
|
-
const
|
|
19057
|
+
const Ct = {};
|
|
19047
19058
|
function nO(e, t, n, r) {
|
|
19048
19059
|
return e ? Array.isArray(e) ? e.filter(function(s) {
|
|
19049
19060
|
const i = Lt(s, t);
|
|
@@ -19087,7 +19098,7 @@ function rO(e, t, n, r, s) {
|
|
|
19087
19098
|
}, []);
|
|
19088
19099
|
return s.unique && (i = [...new Set(i)]), s.flat && (i = i.flat()), i;
|
|
19089
19100
|
}
|
|
19090
|
-
|
|
19101
|
+
Ct.evaluateExpression = function(e, t) {
|
|
19091
19102
|
if (typeof e == "function")
|
|
19092
19103
|
return e(t);
|
|
19093
19104
|
const n = {
|
|
@@ -19252,7 +19263,7 @@ const sO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
|
|
|
19252
19263
|
activeModifiers() {
|
|
19253
19264
|
const e = this, t = this.expressionsContext;
|
|
19254
19265
|
return e.modifiers.filter(function(n) {
|
|
19255
|
-
return n.condition ?
|
|
19266
|
+
return n.condition ? Ct.evaluateExpression(n.condition, t) : !0;
|
|
19256
19267
|
});
|
|
19257
19268
|
},
|
|
19258
19269
|
calculations() {
|
|
@@ -19260,7 +19271,7 @@ const sO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
|
|
|
19260
19271
|
let t = [], n = 0;
|
|
19261
19272
|
e.baseAmount && (n += e.baseAmount), e.activeModifiers.forEach(function(s, i) {
|
|
19262
19273
|
const l = Object.assign({}, e.expressionsContext, { total: n }), a = n;
|
|
19263
|
-
let u =
|
|
19274
|
+
let u = Ct.evaluateExpression(s.expression, l);
|
|
19264
19275
|
u = parseInt(u || 0);
|
|
19265
19276
|
const f = e.$sdk.utils.formatCurrency(u, e.currency);
|
|
19266
19277
|
let c = "";
|
|
@@ -19613,11 +19624,11 @@ const vO = {
|
|
|
19613
19624
|
}, SO = ["multiple"], TO = {
|
|
19614
19625
|
key: 0,
|
|
19615
19626
|
value: ""
|
|
19616
|
-
}, OO = ["value"],
|
|
19627
|
+
}, OO = ["value"], CO = {
|
|
19617
19628
|
key: 3,
|
|
19618
19629
|
class: "ui-select-button"
|
|
19619
19630
|
};
|
|
19620
|
-
function
|
|
19631
|
+
function VO(e, t, n, r, s, i) {
|
|
19621
19632
|
const l = y("ux-button");
|
|
19622
19633
|
return o(), d("div", {
|
|
19623
19634
|
class: N(["native-select", i.classes])
|
|
@@ -19650,7 +19661,7 @@ function CO(e, t, n, r, s, i) {
|
|
|
19650
19661
|
], 40, SO), [
|
|
19651
19662
|
[Ot, e.model]
|
|
19652
19663
|
])
|
|
19653
|
-
], 64)) : (o(), d("div",
|
|
19664
|
+
], 64)) : (o(), d("div", CO, [
|
|
19654
19665
|
m(l, { tag: "div" }, {
|
|
19655
19666
|
default: h(() => [
|
|
19656
19667
|
T(" No valid routes ")
|
|
@@ -19660,7 +19671,7 @@ function CO(e, t, n, r, s, i) {
|
|
|
19660
19671
|
]))
|
|
19661
19672
|
], 2);
|
|
19662
19673
|
}
|
|
19663
|
-
const EO = /* @__PURE__ */ V(vO, [["render",
|
|
19674
|
+
const EO = /* @__PURE__ */ V(vO, [["render", VO], ["__scopeId", "data-v-a9c5a05f"]]);
|
|
19664
19675
|
function AO(e) {
|
|
19665
19676
|
return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
|
|
19666
19677
|
}
|
|
@@ -20149,7 +20160,7 @@ function be(e) {
|
|
|
20149
20160
|
if (!n)
|
|
20150
20161
|
return;
|
|
20151
20162
|
let r = t.expressionsContext;
|
|
20152
|
-
return
|
|
20163
|
+
return Ct.evaluateExpression(n, r);
|
|
20153
20164
|
};
|
|
20154
20165
|
}
|
|
20155
20166
|
const QO = {
|
|
@@ -20410,7 +20421,7 @@ const QO = {
|
|
|
20410
20421
|
if (!this.expressions)
|
|
20411
20422
|
return;
|
|
20412
20423
|
let e = this.expressions.show, t = this.expressions.hide, n = this.expressionsContext, r;
|
|
20413
|
-
return e ? r = !
|
|
20424
|
+
return e ? r = !Ct.evaluateExpression(e, n) : t && (r = Ct.evaluateExpression(t, n)), r;
|
|
20414
20425
|
},
|
|
20415
20426
|
getExpressionTitle: be("title"),
|
|
20416
20427
|
getExpressionDescription: be("description"),
|
|
@@ -20580,12 +20591,12 @@ const QO = {
|
|
|
20580
20591
|
return e;
|
|
20581
20592
|
}
|
|
20582
20593
|
}
|
|
20583
|
-
},
|
|
20594
|
+
}, eC = {
|
|
20584
20595
|
key: 36,
|
|
20585
20596
|
class: "ux-field-message"
|
|
20586
20597
|
};
|
|
20587
|
-
function
|
|
20588
|
-
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");
|
|
20589
20600
|
return i.visible ? (o(), d("div", {
|
|
20590
20601
|
key: 0,
|
|
20591
20602
|
class: N(["ux-field", i.classes]),
|
|
@@ -20816,7 +20827,7 @@ function tV(e, t, n, r, s, i) {
|
|
|
20816
20827
|
modelValue: i.fieldModel,
|
|
20817
20828
|
"onUpdate:modelValue": t[27] || (t[27] = (O) => i.fieldModel = O)
|
|
20818
20829
|
}, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
|
|
20819
|
-
i.widget == "phone" ? (o(), k(
|
|
20830
|
+
i.widget == "phone" ? (o(), k(Ce, {
|
|
20820
20831
|
key: 28,
|
|
20821
20832
|
onTouched: i.touch,
|
|
20822
20833
|
field: i.actualField,
|
|
@@ -20856,7 +20867,7 @@ function tV(e, t, n, r, s, i) {
|
|
|
20856
20867
|
modelValue: i.fieldModel,
|
|
20857
20868
|
"onUpdate:modelValue": t[32] || (t[32] = (O) => i.fieldModel = O)
|
|
20858
20869
|
}, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
|
|
20859
|
-
i.widget == "code" ? (o(), k(
|
|
20870
|
+
i.widget == "code" ? (o(), k(Vt, {
|
|
20860
20871
|
key: 34,
|
|
20861
20872
|
style: { "min-height": "300px" }
|
|
20862
20873
|
}, {
|
|
@@ -20870,30 +20881,30 @@ function tV(e, t, n, r, s, i) {
|
|
|
20870
20881
|
]),
|
|
20871
20882
|
_: 1
|
|
20872
20883
|
})) : _("", !0),
|
|
20873
|
-
i.widget == "expression" ? (o(), k(
|
|
20884
|
+
i.widget == "expression" ? (o(), k(Ve, {
|
|
20874
20885
|
key: 35,
|
|
20875
20886
|
onTouched: i.touch,
|
|
20876
20887
|
field: i.actualField,
|
|
20877
20888
|
modelValue: i.fieldModel,
|
|
20878
20889
|
"onUpdate:modelValue": t[34] || (t[34] = (O) => i.fieldModel = O)
|
|
20879
20890
|
}, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
|
|
20880
|
-
i.error && s.validateResults.message ? (o(), d("div",
|
|
20891
|
+
i.error && s.validateResults.message ? (o(), d("div", eC, v(s.validateResults.message), 1)) : _("", !0)
|
|
20881
20892
|
], 34)) : _("", !0);
|
|
20882
20893
|
}
|
|
20883
|
-
const Yr = /* @__PURE__ */ V(QO, [["render",
|
|
20884
|
-
function
|
|
20894
|
+
const Yr = /* @__PURE__ */ V(QO, [["render", tC], ["__scopeId", "data-v-d6c7481c"]]);
|
|
20895
|
+
function nC(e, t, n, r) {
|
|
20885
20896
|
var s = -1, i = e == null ? 0 : e.length;
|
|
20886
20897
|
for (r && i && (n = e[++s]); ++s < i; )
|
|
20887
20898
|
n = t(n, e[s], s, e);
|
|
20888
20899
|
return n;
|
|
20889
20900
|
}
|
|
20890
|
-
var
|
|
20891
|
-
function
|
|
20901
|
+
var iC = nC;
|
|
20902
|
+
function rC(e) {
|
|
20892
20903
|
return function(t) {
|
|
20893
20904
|
return e == null ? void 0 : e[t];
|
|
20894
20905
|
};
|
|
20895
20906
|
}
|
|
20896
|
-
var
|
|
20907
|
+
var sC = rC, lC = sC, aC = {
|
|
20897
20908
|
// Latin-1 Supplement block.
|
|
20898
20909
|
À: "A",
|
|
20899
20910
|
Á: "A",
|
|
@@ -21086,45 +21097,45 @@ var sV = rV, lV = sV, aV = {
|
|
|
21086
21097
|
œ: "oe",
|
|
21087
21098
|
ʼn: "'n",
|
|
21088
21099
|
ſ: "s"
|
|
21089
|
-
},
|
|
21090
|
-
function
|
|
21091
|
-
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, "");
|
|
21092
21103
|
}
|
|
21093
|
-
var
|
|
21094
|
-
function
|
|
21095
|
-
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) || [];
|
|
21096
21107
|
}
|
|
21097
|
-
var
|
|
21098
|
-
function
|
|
21099
|
-
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);
|
|
21100
21111
|
}
|
|
21101
|
-
var
|
|
21102
|
-
Yt + "?" +
|
|
21103
|
-
|
|
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("|") + ")",
|
|
21104
21115
|
Yt + "?" + pl + "+" + yl,
|
|
21105
21116
|
Yt + "+" + _l,
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
|
|
21109
|
-
|
|
21117
|
+
qC,
|
|
21118
|
+
HC,
|
|
21119
|
+
Co,
|
|
21120
|
+
WC
|
|
21110
21121
|
].join("|"), "g");
|
|
21111
|
-
function
|
|
21112
|
-
return e.match(
|
|
21122
|
+
function YC(e) {
|
|
21123
|
+
return e.match(KC) || [];
|
|
21113
21124
|
}
|
|
21114
|
-
var
|
|
21115
|
-
function
|
|
21116
|
-
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) || [];
|
|
21117
21128
|
}
|
|
21118
|
-
var
|
|
21119
|
-
function
|
|
21129
|
+
var nV = tV, iV = iC, rV = bC, sV = nV, lV = "['’]", aV = RegExp(lV, "g");
|
|
21130
|
+
function oV(e) {
|
|
21120
21131
|
return function(t) {
|
|
21121
|
-
return
|
|
21132
|
+
return iV(sV(rV(t).replace(aV, "")), e, "");
|
|
21122
21133
|
};
|
|
21123
21134
|
}
|
|
21124
|
-
var
|
|
21135
|
+
var uV = oV, dV = uV, cV = dV(function(e, t, n) {
|
|
21125
21136
|
return e + (n ? "-" : "") + t.toLowerCase();
|
|
21126
|
-
}),
|
|
21127
|
-
const
|
|
21137
|
+
}), fV = cV;
|
|
21138
|
+
const mV = {
|
|
21128
21139
|
props: {
|
|
21129
21140
|
parentModel: {
|
|
21130
21141
|
type: Object
|
|
@@ -21208,7 +21219,7 @@ const mC = {
|
|
|
21208
21219
|
},
|
|
21209
21220
|
methods: {
|
|
21210
21221
|
getFieldKey(e) {
|
|
21211
|
-
let t =
|
|
21222
|
+
let t = fV(`${e.title}-${e.key}`);
|
|
21212
21223
|
return e.incrementor && (t = `${t}-${e.incrementor}`), t;
|
|
21213
21224
|
},
|
|
21214
21225
|
touch() {
|
|
@@ -21316,7 +21327,7 @@ const mC = {
|
|
|
21316
21327
|
}
|
|
21317
21328
|
}
|
|
21318
21329
|
};
|
|
21319
|
-
function
|
|
21330
|
+
function hV(e, t, n, r, s, i) {
|
|
21320
21331
|
const l = y("ux-field");
|
|
21321
21332
|
return o(), d("div", {
|
|
21322
21333
|
class: N(["ux-form", i.formClass])
|
|
@@ -21353,8 +21364,8 @@ function hC(e, t, n, r, s, i) {
|
|
|
21353
21364
|
], !0)
|
|
21354
21365
|
], 2);
|
|
21355
21366
|
}
|
|
21356
|
-
const Fo = /* @__PURE__ */ V(
|
|
21357
|
-
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 = {
|
|
21358
21369
|
methods: {
|
|
21359
21370
|
formStateUpdated(e) {
|
|
21360
21371
|
this.formState = e;
|
|
@@ -21397,7 +21408,7 @@ const or = "form.ready", pC = "form.processing", gl = "form.complete", vl = "for
|
|
|
21397
21408
|
console.log("Form is invalid", this.formState);
|
|
21398
21409
|
return;
|
|
21399
21410
|
}
|
|
21400
|
-
e.processing = !0, e.state =
|
|
21411
|
+
e.processing = !0, e.state = pV, e.$emit("processing");
|
|
21401
21412
|
const { submission: t, error: n } = await e.preSubmit(e.model);
|
|
21402
21413
|
if (n)
|
|
21403
21414
|
return console.log("pre submit error", n), a(n);
|
|
@@ -21422,7 +21433,7 @@ const or = "form.ready", pC = "form.processing", gl = "form.complete", vl = "for
|
|
|
21422
21433
|
await e.$sdk.utils.loadExternalScript("https://js.stripe.com/v3/");
|
|
21423
21434
|
break;
|
|
21424
21435
|
}
|
|
21425
|
-
e.state =
|
|
21436
|
+
e.state = yV, e.processing = !1, e.$emit("intent", u);
|
|
21426
21437
|
}
|
|
21427
21438
|
async function l(u) {
|
|
21428
21439
|
await e.postSubmit(u), e.processing = !1, e.state = gl, e.$emit("success", u);
|
|
@@ -21601,21 +21612,21 @@ const or = "form.ready", pC = "form.processing", gl = "form.complete", vl = "for
|
|
|
21601
21612
|
return this.form.fields || [];
|
|
21602
21613
|
}
|
|
21603
21614
|
}
|
|
21604
|
-
},
|
|
21605
|
-
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) {
|
|
21606
21617
|
var b;
|
|
21607
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");
|
|
21608
21619
|
return o(), d("div", {
|
|
21609
21620
|
class: N(["ux-submission-form", i.classes])
|
|
21610
21621
|
}, [
|
|
21611
21622
|
s.state === "form.error" ? (o(), d(S, { key: 0 }, [
|
|
21612
|
-
|
|
21613
|
-
s.error.message ? (o(), d("pre",
|
|
21614
|
-
(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, [
|
|
21615
21626
|
(o(!0), d(S, null, F(s.error.data.errors, (w) => (o(), d("pre", {
|
|
21616
21627
|
key: w.path
|
|
21617
21628
|
}, v(w.message), 1))), 128))
|
|
21618
|
-
])) : (o(), d("pre",
|
|
21629
|
+
])) : (o(), d("pre", xV, v(s.error), 1)),
|
|
21619
21630
|
m(a, {
|
|
21620
21631
|
color: "primary",
|
|
21621
21632
|
onClick: i.softReset
|
|
@@ -21669,7 +21680,7 @@ function TC(e, t, n, r, s, i) {
|
|
|
21669
21680
|
]),
|
|
21670
21681
|
_: 1
|
|
21671
21682
|
}, 8, ["stripe-key", "instance-options", "elements-options"])) : _("", !0),
|
|
21672
|
-
x("div",
|
|
21683
|
+
x("div", wV, [
|
|
21673
21684
|
m(a, {
|
|
21674
21685
|
color: "primary",
|
|
21675
21686
|
onClick: i.confirmIntention
|
|
@@ -21704,12 +21715,12 @@ function TC(e, t, n, r, s, i) {
|
|
|
21704
21715
|
]),
|
|
21705
21716
|
_: 1
|
|
21706
21717
|
}, 8, ["disabled", "onClick", "loading"])
|
|
21707
|
-
], 8,
|
|
21718
|
+
], 8, SV)
|
|
21708
21719
|
], 64))
|
|
21709
21720
|
], 2);
|
|
21710
21721
|
}
|
|
21711
|
-
const bl = /* @__PURE__ */ V(
|
|
21712
|
-
const
|
|
21722
|
+
const bl = /* @__PURE__ */ V(_V, [["render", TV], ["__scopeId", "data-v-9cdffe7f"]]);
|
|
21723
|
+
const OV = {
|
|
21713
21724
|
props: {
|
|
21714
21725
|
autofocus: {
|
|
21715
21726
|
type: Boolean
|
|
@@ -21777,15 +21788,15 @@ const OC = {
|
|
|
21777
21788
|
}
|
|
21778
21789
|
}
|
|
21779
21790
|
}
|
|
21780
|
-
},
|
|
21781
|
-
function
|
|
21791
|
+
}, CV = { class: "search" }, VV = ["placeholder"];
|
|
21792
|
+
function EV(e, t, n, r, s, i) {
|
|
21782
21793
|
const l = y("ux-icon");
|
|
21783
|
-
return o(), d("div",
|
|
21794
|
+
return o(), d("div", CV, [
|
|
21784
21795
|
K(x("input", {
|
|
21785
21796
|
ref: "input",
|
|
21786
21797
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => i.model = a),
|
|
21787
21798
|
placeholder: n.placeholder
|
|
21788
|
-
}, null, 8,
|
|
21799
|
+
}, null, 8, VV), [
|
|
21789
21800
|
[se, i.model]
|
|
21790
21801
|
]),
|
|
21791
21802
|
x("div", {
|
|
@@ -21796,8 +21807,8 @@ function EC(e, t, n, r, s, i) {
|
|
|
21796
21807
|
])
|
|
21797
21808
|
]);
|
|
21798
21809
|
}
|
|
21799
|
-
const Zr = /* @__PURE__ */ V(
|
|
21800
|
-
function
|
|
21810
|
+
const Zr = /* @__PURE__ */ V(OV, [["render", EV], ["__scopeId", "data-v-d4e9271a"]]);
|
|
21811
|
+
function AV(e) {
|
|
21801
21812
|
const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
|
|
21802
21813
|
let r;
|
|
21803
21814
|
for (; (r = t.exec(e)) !== null; ) {
|
|
@@ -21836,7 +21847,7 @@ const $o = {
|
|
|
21836
21847
|
actualTemplate() {
|
|
21837
21848
|
let e = this.template || "";
|
|
21838
21849
|
e = e.replaceAll ? e.replaceAll("<br>", "<br/>") : e;
|
|
21839
|
-
var { valid: t, invalid: n } =
|
|
21850
|
+
var { valid: t, invalid: n } = AV(e);
|
|
21840
21851
|
return t || (console.log("Invalid html", e), e = `<div>Invalid HTML. <pre>${n}</pre></div>`), e;
|
|
21841
21852
|
}
|
|
21842
21853
|
},
|
|
@@ -21844,7 +21855,7 @@ const $o = {
|
|
|
21844
21855
|
VRuntimeTemplate: Ia
|
|
21845
21856
|
}
|
|
21846
21857
|
};
|
|
21847
|
-
const
|
|
21858
|
+
const MV = {
|
|
21848
21859
|
data() {
|
|
21849
21860
|
return {
|
|
21850
21861
|
error: null
|
|
@@ -21858,14 +21869,14 @@ const MC = {
|
|
|
21858
21869
|
this.$emit("reset");
|
|
21859
21870
|
}
|
|
21860
21871
|
}
|
|
21861
|
-
},
|
|
21872
|
+
}, DV = {
|
|
21862
21873
|
key: 0,
|
|
21863
21874
|
class: "error-boundary",
|
|
21864
21875
|
style: { color: "#b40000", border: "2px solid #fd0000", background: "#ffd6d6", padding: "1em" }
|
|
21865
21876
|
};
|
|
21866
|
-
function
|
|
21877
|
+
function IV(e, t, n, r, s, i) {
|
|
21867
21878
|
const l = y("ux-button");
|
|
21868
|
-
return s.error ? (o(), d("div",
|
|
21879
|
+
return s.error ? (o(), d("div", DV, [
|
|
21869
21880
|
x("pre", null, "COMPILE ERROR: " + v(s.error), 1),
|
|
21870
21881
|
m(l, { onClick: i.reset }, {
|
|
21871
21882
|
default: h(() => [
|
|
@@ -21875,7 +21886,7 @@ function IC(e, t, n, r, s, i) {
|
|
|
21875
21886
|
}, 8, ["onClick"])
|
|
21876
21887
|
])) : H(e.$slots, "default", { key: 1 }, void 0, !0);
|
|
21877
21888
|
}
|
|
21878
|
-
const
|
|
21889
|
+
const FV = /* @__PURE__ */ V(MV, [["render", IV], ["__scopeId", "data-v-72d1a309"]]), $V = {
|
|
21879
21890
|
props: {
|
|
21880
21891
|
field: {
|
|
21881
21892
|
type: Object,
|
|
@@ -21956,8 +21967,8 @@ const FC = /* @__PURE__ */ V(MC, [["render", IC], ["__scopeId", "data-v-72d1a309
|
|
|
21956
21967
|
}
|
|
21957
21968
|
}
|
|
21958
21969
|
};
|
|
21959
|
-
const
|
|
21960
|
-
mixins: [$
|
|
21970
|
+
const NV = {
|
|
21971
|
+
mixins: [$V],
|
|
21961
21972
|
props: {
|
|
21962
21973
|
modelValue: {
|
|
21963
21974
|
type: [Object, Array]
|
|
@@ -21977,13 +21988,13 @@ const NC = {
|
|
|
21977
21988
|
return `${this.label} ${t + 1}`;
|
|
21978
21989
|
}
|
|
21979
21990
|
}
|
|
21980
|
-
},
|
|
21991
|
+
}, LV = {
|
|
21981
21992
|
key: 0,
|
|
21982
21993
|
class: "ux-multi-group"
|
|
21983
21994
|
};
|
|
21984
|
-
function
|
|
21995
|
+
function PV(e, t, n, r, s, i) {
|
|
21985
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");
|
|
21986
|
-
return e.multiValue ? (o(), d("div",
|
|
21997
|
+
return e.multiValue ? (o(), d("div", LV, [
|
|
21987
21998
|
(o(!0), d(S, null, F(e.model, (g, b) => (o(), k(p, {
|
|
21988
21999
|
ref_for: !0,
|
|
21989
22000
|
ref: "row",
|
|
@@ -22034,14 +22045,14 @@ function PC(e, t, n, r, s, i) {
|
|
|
22034
22045
|
"onUpdate:modelValue": t[0] || (t[0] = (g) => e.model = g)
|
|
22035
22046
|
}, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
|
|
22036
22047
|
}
|
|
22037
|
-
const
|
|
22038
|
-
const
|
|
22048
|
+
const UV = /* @__PURE__ */ V(NV, [["render", PV], ["__scopeId", "data-v-cb997d0e"]]);
|
|
22049
|
+
const jV = {
|
|
22039
22050
|
components: {
|
|
22040
22051
|
Item: ja,
|
|
22041
|
-
FieldGroup:
|
|
22052
|
+
FieldGroup: UV,
|
|
22042
22053
|
// Compiler,
|
|
22043
22054
|
Compile: $o,
|
|
22044
|
-
ErrorBoundary:
|
|
22055
|
+
ErrorBoundary: FV
|
|
22045
22056
|
// ButtonSelect,
|
|
22046
22057
|
// NativeSelect,
|
|
22047
22058
|
// DateField,
|
|
@@ -22091,6 +22102,10 @@ const jC = {
|
|
|
22091
22102
|
// // }
|
|
22092
22103
|
// },
|
|
22093
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
|
+
},
|
|
22094
22109
|
openActions(e) {
|
|
22095
22110
|
this.$actions && this.$actions.open([e]);
|
|
22096
22111
|
},
|
|
@@ -22116,6 +22131,9 @@ const jC = {
|
|
|
22116
22131
|
}
|
|
22117
22132
|
},
|
|
22118
22133
|
computed: {
|
|
22134
|
+
copyable() {
|
|
22135
|
+
return this.$sdk.global.copyText && this.field.copyable;
|
|
22136
|
+
},
|
|
22119
22137
|
type() {
|
|
22120
22138
|
return this.field.type || "string";
|
|
22121
22139
|
},
|
|
@@ -22148,9 +22166,9 @@ const jC = {
|
|
|
22148
22166
|
return;
|
|
22149
22167
|
let e = this.expressions.show, t = this.expressions.hide, n = this.expressionsContext;
|
|
22150
22168
|
if (e)
|
|
22151
|
-
return !
|
|
22169
|
+
return !Ct.evaluateExpression(e, n);
|
|
22152
22170
|
if (t)
|
|
22153
|
-
return
|
|
22171
|
+
return Ct.evaluateExpression(t, n);
|
|
22154
22172
|
},
|
|
22155
22173
|
expressions() {
|
|
22156
22174
|
return this.field.expressions;
|
|
@@ -22250,17 +22268,17 @@ const jC = {
|
|
|
22250
22268
|
return e;
|
|
22251
22269
|
}
|
|
22252
22270
|
}
|
|
22253
|
-
},
|
|
22271
|
+
}, RV = { class: "ux-field-title" }, BV = { class: "currency" }, zV = { key: 1 }, HV = { class: "currency" }, qV = { key: 1 }, GV = {
|
|
22254
22272
|
key: 4,
|
|
22255
22273
|
class: "ux-password-render"
|
|
22256
|
-
},
|
|
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 };
|
|
22257
22275
|
function lE(e, t, n, r, s, i) {
|
|
22258
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");
|
|
22259
22277
|
return i.visible ? (o(), d("div", {
|
|
22260
22278
|
key: 0,
|
|
22261
22279
|
class: N(["ux-field-render", i.classes])
|
|
22262
22280
|
}, [
|
|
22263
|
-
x("label",
|
|
22281
|
+
x("label", RV, v(i.title), 1),
|
|
22264
22282
|
i.widget === "group" ? (o(), d(S, { key: 0 }, [
|
|
22265
22283
|
i.asObject ? (o(), k(l, {
|
|
22266
22284
|
key: 0,
|
|
@@ -22287,10 +22305,10 @@ function lE(e, t, n, r, s, i) {
|
|
|
22287
22305
|
}, null, 8, ["submission", "field", "parentModel", "modelValue"])) : i.widget === "currency" ? (o(), d(S, { key: 2 }, [
|
|
22288
22306
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
|
|
22289
22307
|
T(v(i.formatCurrency(w)) + " ", 1),
|
|
22290
|
-
x("span",
|
|
22291
|
-
]))), 256)) : (o(), d("div",
|
|
22308
|
+
x("span", BV, v(n.field.currency), 1)
|
|
22309
|
+
]))), 256)) : (o(), d("div", zV, [
|
|
22292
22310
|
T(v(i.formatCurrency(i.fieldModel)) + " ", 1),
|
|
22293
|
-
x("span",
|
|
22311
|
+
x("span", HV, v(n.field.currency), 1)
|
|
22294
22312
|
]))
|
|
22295
22313
|
], 64)) : i.widget === "code" ? (o(), d(S, { key: 3 }, [
|
|
22296
22314
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
|
|
@@ -22303,7 +22321,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22303
22321
|
theme: "tomorrow_night_eighties",
|
|
22304
22322
|
style: { "min-height": "300px" }
|
|
22305
22323
|
}, null, 8, ["value", "lang"])
|
|
22306
|
-
]))), 256)) : (o(), d("div",
|
|
22324
|
+
]))), 256)) : (o(), d("div", qV, [
|
|
22307
22325
|
m(a, {
|
|
22308
22326
|
readonly: !0,
|
|
22309
22327
|
class: "editor-wrap",
|
|
@@ -22314,7 +22332,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22314
22332
|
style: { "min-height": "300px" }
|
|
22315
22333
|
}, null, 8, ["value", "lang"])
|
|
22316
22334
|
]))
|
|
22317
|
-
], 64)) : i.widget === "password" ? (o(), d("div",
|
|
22335
|
+
], 64)) : i.widget === "password" ? (o(), d("div", GV, [
|
|
22318
22336
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), k(p, {
|
|
22319
22337
|
gap: "",
|
|
22320
22338
|
center: ""
|
|
@@ -22325,7 +22343,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22325
22343
|
x("input", {
|
|
22326
22344
|
type: s.unmaskedLookup[`${C}`] ? "text" : "password",
|
|
22327
22345
|
value: w
|
|
22328
|
-
}, null, 8,
|
|
22346
|
+
}, null, 8, WV)
|
|
22329
22347
|
]),
|
|
22330
22348
|
_: 2
|
|
22331
22349
|
}, 1024),
|
|
@@ -22344,7 +22362,26 @@ function lE(e, t, n, r, s, i) {
|
|
|
22344
22362
|
}, 1032, ["onClick"])
|
|
22345
22363
|
]),
|
|
22346
22364
|
_: 2
|
|
22347
|
-
}, 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)
|
|
22348
22385
|
]),
|
|
22349
22386
|
_: 2
|
|
22350
22387
|
}, 1024))), 256)) : (o(), k(p, {
|
|
@@ -22358,7 +22395,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22358
22395
|
x("input", {
|
|
22359
22396
|
type: s.unmasked ? "text" : "password",
|
|
22360
22397
|
value: i.fieldModel
|
|
22361
|
-
}, null, 8,
|
|
22398
|
+
}, null, 8, KV)
|
|
22362
22399
|
]),
|
|
22363
22400
|
_: 1
|
|
22364
22401
|
}),
|
|
@@ -22377,7 +22414,26 @@ function lE(e, t, n, r, s, i) {
|
|
|
22377
22414
|
}, 8, ["onClick"])
|
|
22378
22415
|
]),
|
|
22379
22416
|
_: 1
|
|
22380
|
-
})
|
|
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)
|
|
22381
22437
|
]),
|
|
22382
22438
|
_: 1
|
|
22383
22439
|
}))
|
|
@@ -22410,7 +22466,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22410
22466
|
m(c, {
|
|
22411
22467
|
size: "sm",
|
|
22412
22468
|
icon: "",
|
|
22413
|
-
onClick: t[
|
|
22469
|
+
onClick: t[4] || (t[4] = B((w) => i.openActions(i.fieldModel), ["stop", "prevent"]))
|
|
22414
22470
|
}, {
|
|
22415
22471
|
default: h(() => [
|
|
22416
22472
|
m(f, { icon: "fa-ellipsis" })
|
|
@@ -22425,28 +22481,28 @@ function lE(e, t, n, r, s, i) {
|
|
|
22425
22481
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
|
|
22426
22482
|
m(b, null, {
|
|
22427
22483
|
default: h(() => [
|
|
22428
|
-
x("div", { innerHTML: w }, null, 8,
|
|
22484
|
+
x("div", { innerHTML: w }, null, 8, YV)
|
|
22429
22485
|
]),
|
|
22430
22486
|
_: 2
|
|
22431
22487
|
}, 1024)
|
|
22432
22488
|
]))), 256)) : (o(), k(b, { key: 1 }, {
|
|
22433
22489
|
default: h(() => [
|
|
22434
|
-
x("div", { innerHTML: i.fieldModel }, null, 8,
|
|
22490
|
+
x("div", { innerHTML: i.fieldModel }, null, 8, ZV)
|
|
22435
22491
|
]),
|
|
22436
22492
|
_: 1
|
|
22437
22493
|
}))
|
|
22438
22494
|
], 64)) : _("", !0),
|
|
22439
22495
|
i.type == "boolean" ? (o(), d(S, { key: 2 }, [
|
|
22440
|
-
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))
|
|
22441
22497
|
], 64)) : _("", !0),
|
|
22442
22498
|
i.type == "date" ? (o(), d(S, { key: 3 }, [
|
|
22443
|
-
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))
|
|
22444
22500
|
], 64)) : _("", !0),
|
|
22445
22501
|
i.type == "email" ? (o(), d(S, { key: 4 }, [
|
|
22446
22502
|
i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
|
|
22447
22503
|
x("a", {
|
|
22448
22504
|
href: `mailto:${w}`
|
|
22449
|
-
}, v(w), 9,
|
|
22505
|
+
}, v(w), 9, QV)
|
|
22450
22506
|
]))), 256)) : (o(), d("div", eE, [
|
|
22451
22507
|
x("a", {
|
|
22452
22508
|
href: `mailto:${i.fieldModel}`
|
|
@@ -22466,7 +22522,7 @@ function lE(e, t, n, r, s, i) {
|
|
|
22466
22522
|
], 64))
|
|
22467
22523
|
], 2)) : _("", !0);
|
|
22468
22524
|
}
|
|
22469
|
-
const No = /* @__PURE__ */ V(
|
|
22525
|
+
const No = /* @__PURE__ */ V(jV, [["render", lE], ["__scopeId", "data-v-00091aa4"]]);
|
|
22470
22526
|
const aE = {
|
|
22471
22527
|
props: {
|
|
22472
22528
|
parentModel: {
|
|
@@ -22821,11 +22877,11 @@ function OE(e, t, n) {
|
|
|
22821
22877
|
return !0;
|
|
22822
22878
|
return !1;
|
|
22823
22879
|
}
|
|
22824
|
-
var
|
|
22825
|
-
function
|
|
22880
|
+
var CE = OE;
|
|
22881
|
+
function VE(e, t) {
|
|
22826
22882
|
return e.has(t);
|
|
22827
22883
|
}
|
|
22828
|
-
var EE =
|
|
22884
|
+
var EE = VE, AE = jr, ME = an, DE = AE(ME, "Set"), IE = DE;
|
|
22829
22885
|
function FE() {
|
|
22830
22886
|
}
|
|
22831
22887
|
var $E = FE;
|
|
@@ -22837,7 +22893,7 @@ function NE(e) {
|
|
|
22837
22893
|
}
|
|
22838
22894
|
var Lo = NE, ur = IE, LE = $E, PE = Lo, UE = 1 / 0, jE = ur && 1 / PE(new ur([, -0]))[1] == UE ? function(e) {
|
|
22839
22895
|
return new ur(e);
|
|
22840
|
-
} : 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;
|
|
22841
22897
|
function YE(e, t, n) {
|
|
22842
22898
|
var r = -1, s = zE, i = e.length, l = !0, a = [], u = a;
|
|
22843
22899
|
if (n)
|
|
@@ -23973,8 +24029,8 @@ const gA = {
|
|
|
23973
24029
|
}, OA = {
|
|
23974
24030
|
key: 1,
|
|
23975
24031
|
class: "description"
|
|
23976
|
-
},
|
|
23977
|
-
function
|
|
24032
|
+
}, CA = { class: "padder" };
|
|
24033
|
+
function VA(e, t, n, r, s, i) {
|
|
23978
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");
|
|
23979
24035
|
return o(), k(w, { class: "wrapper" }, {
|
|
23980
24036
|
default: h(() => [
|
|
@@ -24043,7 +24099,7 @@ function CA(e, t, n, r, s, i) {
|
|
|
24043
24099
|
}),
|
|
24044
24100
|
m(b, { class: "options-modal-footer" }, {
|
|
24045
24101
|
default: h(() => [
|
|
24046
|
-
x("div",
|
|
24102
|
+
x("div", CA, [
|
|
24047
24103
|
m(g, {
|
|
24048
24104
|
size: "sm",
|
|
24049
24105
|
onClick: e.dismiss
|
|
@@ -24061,7 +24117,7 @@ function CA(e, t, n, r, s, i) {
|
|
|
24061
24117
|
_: 1
|
|
24062
24118
|
});
|
|
24063
24119
|
}
|
|
24064
|
-
const EA = /* @__PURE__ */ V(gA, [["render",
|
|
24120
|
+
const EA = /* @__PURE__ */ V(gA, [["render", VA], ["__scopeId", "data-v-f99d3671"]]);
|
|
24065
24121
|
const AA = {
|
|
24066
24122
|
mixins: [cn],
|
|
24067
24123
|
data() {
|
|
@@ -24606,7 +24662,7 @@ const ZA = `qik vue ui ${Zo}`, xl = {
|
|
|
24606
24662
|
FlexFooter: xc,
|
|
24607
24663
|
FlexCell: Tc,
|
|
24608
24664
|
FlexSpacer: Dc,
|
|
24609
|
-
FlexRow:
|
|
24665
|
+
FlexRow: Vc,
|
|
24610
24666
|
UxInfo: ng,
|
|
24611
24667
|
UxPanel: Nc,
|
|
24612
24668
|
UxPanelBody: jc,
|
|
@@ -24623,7 +24679,7 @@ const ZA = `qik vue ui ${Zo}`, xl = {
|
|
|
24623
24679
|
UxRender: uE,
|
|
24624
24680
|
UxRenderField: No,
|
|
24625
24681
|
UxIcon: Sg,
|
|
24626
|
-
UxMenu:
|
|
24682
|
+
UxMenu: Cg,
|
|
24627
24683
|
UxMenuList: Ag,
|
|
24628
24684
|
UxImage: $g,
|
|
24629
24685
|
UxVideo: Rg,
|
|
@@ -24701,7 +24757,7 @@ export {
|
|
|
24701
24757
|
dc as FlexColumn,
|
|
24702
24758
|
xc as FlexFooter,
|
|
24703
24759
|
gc as FlexHeader,
|
|
24704
|
-
|
|
24760
|
+
Vc as FlexRow,
|
|
24705
24761
|
Dc as FlexSpacer,
|
|
24706
24762
|
ng as Info,
|
|
24707
24763
|
ja as Item,
|
|
@@ -24732,7 +24788,7 @@ export {
|
|
|
24732
24788
|
kg as UXLink,
|
|
24733
24789
|
Xg as UXList,
|
|
24734
24790
|
tv as UXListItem,
|
|
24735
|
-
|
|
24791
|
+
Cg as UXMenu,
|
|
24736
24792
|
Ag as UXMenuList,
|
|
24737
24793
|
Kg as UXPill,
|
|
24738
24794
|
uE as UXRender,
|