@win2win/shared-ui 0.1.24 → 0.1.25
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/stores/useFormStore.d.ts.map +1 -1
- package/dist/w2w-shared-ui.js +331 -332
- package/dist/w2w-shared-ui.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/w2w-shared-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as re, reactive as J_, markRaw as Df, defineComponent as ze, h as M, withDirectives as Dl, computed as A, Transition as Xn, getCurrentInstance as Ze, onDeactivated as Ql, onBeforeUnmount as wt, onMounted as Mn, watch as Oe, mergeModels as er, useModel as tr, toRefs as qi, resolveComponent as Ff, openBlock as Q, createElementBlock as de, Fragment as Ge, unref as Me, createBlock as Qe, createCommentVNode as ft, createElementVNode as be, renderList as qt, normalizeClass as Yr, createVNode as ht, toDisplayString as tt, toRaw as Ur, onBeforeUpdate as Nf, inject as Ju, nextTick as ct, onActivated as Uf, normalizeStyle as Ht, withCtx as et, renderSlot as Vl, createSlots as zf, pushScopeId as Hf, popScopeId as Wf, onUnmounted as eb, Teleport as tb, onBeforeMount as nb, onUpdated as rb, resolveDynamicComponent as ea, createTextVNode as Gr, vShow as $c, normalizeProps as ib, guardReactiveProps as lb, provide as ob } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { defineStore as ub } from "pinia";
|
|
3
3
|
var Re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Fl = { exports: {} };
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
@@ -3994,7 +3994,7 @@ Object.defineProperty(id, "__esModule", { value: !0 });
|
|
|
3994
3994
|
};
|
|
3995
3995
|
Object.defineProperty(t, "__esModule", { value: !0 }), i(Gf, t), i(Kf, t);
|
|
3996
3996
|
})(Lt);
|
|
3997
|
-
const Hu = [Lt.ControlType.DYNAMIC_ARRAY, Lt.ControlType.OBJECT],
|
|
3997
|
+
const Hu = [Lt.ControlType.DYNAMIC_ARRAY, Lt.ControlType.OBJECT], ab = {
|
|
3998
3998
|
maxControlsPerGroup: 1,
|
|
3999
3999
|
notifyValidations: !0
|
|
4000
4000
|
}, ld = {
|
|
@@ -4003,7 +4003,7 @@ const Hu = [Lt.ControlType.DYNAMIC_ARRAY, Lt.ControlType.OBJECT], sb = {
|
|
|
4003
4003
|
var l;
|
|
4004
4004
|
if (t.controlType === Lt.ControlType.LOCATION) {
|
|
4005
4005
|
const { value: i } = t.value;
|
|
4006
|
-
return Ke.values(Ke.omit(i, "catastro")).every((u) => !Ke.isNil(u) && u !== "") && (i != null && i.catastro ?
|
|
4006
|
+
return Ke.values(Ke.omit(i, "catastro")).every((u) => !Ke.isNil(u) && u !== "") && (i != null && i.catastro ? sb(i == null ? void 0 : i.catastro) : !0);
|
|
4007
4007
|
}
|
|
4008
4008
|
return t.controlType === Lt.ControlType.DYNAMIC_ARRAY || t.multiple ? (((l = t.value) == null ? void 0 : l.length) || 0) > 0 : !Ke.isNil(t.value) && t.value !== "";
|
|
4009
4009
|
},
|
|
@@ -4055,13 +4055,13 @@ function Jc(t, l, i) {
|
|
|
4055
4055
|
}
|
|
4056
4056
|
return !1;
|
|
4057
4057
|
}
|
|
4058
|
-
function
|
|
4058
|
+
function sb(t) {
|
|
4059
4059
|
return /^[A-Za-z0-9]{20}$/.test(t);
|
|
4060
4060
|
}
|
|
4061
|
-
function
|
|
4061
|
+
function cb(t) {
|
|
4062
4062
|
const l = [];
|
|
4063
4063
|
t.controls.forEach((u, a) => {
|
|
4064
|
-
const s =
|
|
4064
|
+
const s = fb(u);
|
|
4065
4065
|
l.push(...s);
|
|
4066
4066
|
const d = !s.length;
|
|
4067
4067
|
t.controls[a].valid = d;
|
|
@@ -4069,17 +4069,17 @@ function fb(t) {
|
|
|
4069
4069
|
const i = !l.length;
|
|
4070
4070
|
return t.valid = i, l;
|
|
4071
4071
|
}
|
|
4072
|
-
function
|
|
4072
|
+
function fb(t) {
|
|
4073
4073
|
const l = [];
|
|
4074
4074
|
return t.validators && t.validators.forEach((i) => {
|
|
4075
4075
|
const { validator: u, param: a } = i, s = ld[u] || null;
|
|
4076
4076
|
s && (s.fn(Number(a))(t) || l.push(s.message));
|
|
4077
4077
|
}), l;
|
|
4078
4078
|
}
|
|
4079
|
-
function
|
|
4080
|
-
return l.controlType === "dynamic_array" ?
|
|
4079
|
+
function db(t, l, i) {
|
|
4080
|
+
return l.controlType === "dynamic_array" ? vb(t, l, i) : l.controlType === "object" ? od(t, l, i) : [];
|
|
4081
4081
|
}
|
|
4082
|
-
function
|
|
4082
|
+
function vb(t, l, i) {
|
|
4083
4083
|
var s, d;
|
|
4084
4084
|
const u = [], a = ((s = l.itemsLength) == null ? void 0 : s.value) || 0;
|
|
4085
4085
|
for (let h = 0; h < a; h++) {
|
|
@@ -4112,7 +4112,7 @@ function od(t, l, i) {
|
|
|
4112
4112
|
})
|
|
4113
4113
|
);
|
|
4114
4114
|
}
|
|
4115
|
-
function
|
|
4115
|
+
function hb(t) {
|
|
4116
4116
|
return Ke.chain(t).groupBy("group").toPairs().orderBy(([i, u]) => i).map(([i, u]) => {
|
|
4117
4117
|
var d;
|
|
4118
4118
|
const a = ((d = u.find((h) => {
|
|
@@ -4129,7 +4129,7 @@ function gb(t) {
|
|
|
4129
4129
|
};
|
|
4130
4130
|
}).value();
|
|
4131
4131
|
}
|
|
4132
|
-
function
|
|
4132
|
+
function gb(t) {
|
|
4133
4133
|
return t.map((l) => ({
|
|
4134
4134
|
...l,
|
|
4135
4135
|
valid: !1,
|
|
@@ -4143,7 +4143,7 @@ function ud(t) {
|
|
|
4143
4143
|
...l,
|
|
4144
4144
|
valid: !((i = l.validators) != null && i.length),
|
|
4145
4145
|
visible: !((u = l.conditions) != null && u.length),
|
|
4146
|
-
value:
|
|
4146
|
+
value: mb(l),
|
|
4147
4147
|
itemsLength: l.controlType === "dynamic_array" ? {
|
|
4148
4148
|
...l.itemsLength,
|
|
4149
4149
|
value: ((a = l.itemsLength) == null ? void 0 : a.default) || 1
|
|
@@ -4151,7 +4151,7 @@ function ud(t) {
|
|
|
4151
4151
|
};
|
|
4152
4152
|
});
|
|
4153
4153
|
}
|
|
4154
|
-
function
|
|
4154
|
+
function mb(t) {
|
|
4155
4155
|
if (!Ke.isNil(t.defaultValue)) return t.defaultValue;
|
|
4156
4156
|
switch (t.controlType) {
|
|
4157
4157
|
case "input_text":
|
|
@@ -4176,8 +4176,7 @@ function pb(t) {
|
|
|
4176
4176
|
return "";
|
|
4177
4177
|
}
|
|
4178
4178
|
}
|
|
4179
|
-
|
|
4180
|
-
const ei = ab("form", {
|
|
4179
|
+
const ei = ub("form", {
|
|
4181
4180
|
state: () => ({
|
|
4182
4181
|
formSteps: [],
|
|
4183
4182
|
currentStep: 1,
|
|
@@ -4186,7 +4185,7 @@ const ei = ab("form", {
|
|
|
4186
4185
|
}),
|
|
4187
4186
|
actions: {
|
|
4188
4187
|
setFormSteps(t) {
|
|
4189
|
-
this.formSteps =
|
|
4188
|
+
this.formSteps = gb(t);
|
|
4190
4189
|
},
|
|
4191
4190
|
nextStep() {
|
|
4192
4191
|
this.currentStep !== this.formSteps.length && this.currentStep++;
|
|
@@ -4292,7 +4291,7 @@ const Jn = re(
|
|
|
4292
4291
|
!1
|
|
4293
4292
|
);
|
|
4294
4293
|
let Wu;
|
|
4295
|
-
function
|
|
4294
|
+
function pb(t, l) {
|
|
4296
4295
|
const i = /(edg|edge|edga|edgios)\/([\w.]+)/.exec(t) || /(opr)[\/]([\w.]+)/.exec(t) || /(vivaldi)[\/]([\w.]+)/.exec(t) || /(chrome|crios)[\/]([\w.]+)/.exec(t) || /(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t) || /(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t) || /(firefox|fxios)[\/]([\w.]+)/.exec(t) || /(webkit)[\/]([\w.]+)/.exec(t) || /(opera)(?:.*version|)[\/]([\w.]+)/.exec(t) || [];
|
|
4297
4296
|
return {
|
|
4298
4297
|
browser: i[5] || i[3] || i[1] || "",
|
|
@@ -4300,12 +4299,12 @@ function _b(t, l) {
|
|
|
4300
4299
|
platform: l[0] || ""
|
|
4301
4300
|
};
|
|
4302
4301
|
}
|
|
4303
|
-
function
|
|
4302
|
+
function _b(t) {
|
|
4304
4303
|
return /(ipad)/.exec(t) || /(ipod)/.exec(t) || /(windows phone)/.exec(t) || /(iphone)/.exec(t) || /(kindle)/.exec(t) || /(silk)/.exec(t) || /(android)/.exec(t) || /(win)/.exec(t) || /(mac)/.exec(t) || /(linux)/.exec(t) || /(cros)/.exec(t) || /(playbook)/.exec(t) || /(bb)/.exec(t) || /(blackberry)/.exec(t) || [];
|
|
4305
4304
|
}
|
|
4306
4305
|
const ad = "ontouchstart" in window || window.navigator.maxTouchPoints > 0;
|
|
4307
|
-
function
|
|
4308
|
-
const l = t.toLowerCase(), i =
|
|
4306
|
+
function bb(t) {
|
|
4307
|
+
const l = t.toLowerCase(), i = _b(l), u = pb(l, i), a = {};
|
|
4309
4308
|
u.browser && (a[u.browser] = !0, a.version = u.version, a.versionNumber = parseInt(u.version, 10)), u.platform && (a[u.platform] = !0);
|
|
4310
4309
|
const s = a.android || a.ios || a.bb || a.blackberry || a.ipad || a.iphone || a.ipod || a.kindle || a.playbook || a.silk || a["windows phone"];
|
|
4311
4310
|
if (s === !0 || l.indexOf("mobile") !== -1 ? a.mobile = !0 : a.desktop = !0, a["windows phone"] && (a.winphone = !0, delete a["windows phone"]), a.edga || a.edgios || a.edg ? (a.edge = !0, u.browser = "edge") : a.crios ? (a.chrome = !0, u.browser = "chrome") : a.fxios && (a.firefox = !0, u.browser = "firefox"), (a.ipod || a.ipad || a.iphone) && (a.ios = !0), a.vivaldi && (u.browser = "vivaldi", a.vivaldi = !0), // Chrome, Opera 15+, Vivaldi and Safari are webkit based browsers
|
|
@@ -4328,7 +4327,7 @@ function yb(t) {
|
|
|
4328
4327
|
}
|
|
4329
4328
|
return a;
|
|
4330
4329
|
}
|
|
4331
|
-
const tf = navigator.userAgent || navigator.vendor || window.opera,
|
|
4330
|
+
const tf = navigator.userAgent || navigator.vendor || window.opera, yb = {
|
|
4332
4331
|
has: {
|
|
4333
4332
|
touch: !1,
|
|
4334
4333
|
webStorage: !1
|
|
@@ -4336,7 +4335,7 @@ const tf = navigator.userAgent || navigator.vendor || window.opera, wb = {
|
|
|
4336
4335
|
within: { iframe: !1 }
|
|
4337
4336
|
}, Wt = {
|
|
4338
4337
|
userAgent: tf,
|
|
4339
|
-
is:
|
|
4338
|
+
is: bb(tf),
|
|
4340
4339
|
has: {
|
|
4341
4340
|
touch: ad
|
|
4342
4341
|
},
|
|
@@ -4362,7 +4361,7 @@ const tf = navigator.userAgent || navigator.vendor || window.opera, wb = {
|
|
|
4362
4361
|
} catch {
|
|
4363
4362
|
}
|
|
4364
4363
|
return t = !1, !1;
|
|
4365
|
-
}), Object.assign(Gu, Wt), Jn.value === !0 && (Object.assign(Gu, Wu,
|
|
4364
|
+
}), Object.assign(Gu, Wt), Jn.value === !0 && (Object.assign(Gu, Wu, yb), Wu = null);
|
|
4366
4365
|
}
|
|
4367
4366
|
function dt(t) {
|
|
4368
4367
|
return Df(ze(t));
|
|
@@ -4459,7 +4458,7 @@ function cd(t) {
|
|
|
4459
4458
|
const l = t.__qvisible;
|
|
4460
4459
|
l !== void 0 && (l.observer !== void 0 && l.observer.unobserve(t), delete t.__qvisible);
|
|
4461
4460
|
}
|
|
4462
|
-
const
|
|
4461
|
+
const wb = sd(
|
|
4463
4462
|
{
|
|
4464
4463
|
name: "intersection",
|
|
4465
4464
|
mounted(t, { modifiers: l, value: i }) {
|
|
@@ -4478,7 +4477,7 @@ const Sb = sd(
|
|
|
4478
4477
|
function Mt(t, l) {
|
|
4479
4478
|
return t !== void 0 && t() || l;
|
|
4480
4479
|
}
|
|
4481
|
-
function
|
|
4480
|
+
function Sb(t, l) {
|
|
4482
4481
|
if (t !== void 0) {
|
|
4483
4482
|
const i = t();
|
|
4484
4483
|
if (i != null)
|
|
@@ -4489,7 +4488,7 @@ function xb(t, l) {
|
|
|
4489
4488
|
function pr(t, l) {
|
|
4490
4489
|
return t !== void 0 ? l.concat(t()) : l;
|
|
4491
4490
|
}
|
|
4492
|
-
function
|
|
4491
|
+
function xb(t, l) {
|
|
4493
4492
|
return t === void 0 ? l : l !== void 0 ? l.concat(t()) : t();
|
|
4494
4493
|
}
|
|
4495
4494
|
function fd(t, l, i, u, a, s) {
|
|
@@ -4497,7 +4496,7 @@ function fd(t, l, i, u, a, s) {
|
|
|
4497
4496
|
const d = M(t, l, i);
|
|
4498
4497
|
return a === !0 ? Dl(d, s()) : d;
|
|
4499
4498
|
}
|
|
4500
|
-
const
|
|
4499
|
+
const Cb = dt({
|
|
4501
4500
|
name: "QIntersection",
|
|
4502
4501
|
props: {
|
|
4503
4502
|
tag: {
|
|
@@ -4530,7 +4529,7 @@ const Ab = dt({
|
|
|
4530
4529
|
} : y), s = A(
|
|
4531
4530
|
() => t.disable !== !0 && (Jn.value !== !0 || t.once !== !0 || t.ssrPrerender !== !0)
|
|
4532
4531
|
), d = A(() => [[
|
|
4533
|
-
|
|
4532
|
+
wb,
|
|
4534
4533
|
a.value,
|
|
4535
4534
|
void 0,
|
|
4536
4535
|
{ once: t.once }
|
|
@@ -4574,14 +4573,14 @@ const Ab = dt({
|
|
|
4574
4573
|
function uo(t, l = Ku) {
|
|
4575
4574
|
return A(() => t.size !== void 0 ? { fontSize: t.size in l ? `${l[t.size]}px` : t.size } : null);
|
|
4576
4575
|
}
|
|
4577
|
-
const
|
|
4576
|
+
const Ab = {
|
|
4578
4577
|
size: {
|
|
4579
4578
|
type: [String, Number],
|
|
4580
4579
|
default: "1em"
|
|
4581
4580
|
},
|
|
4582
4581
|
color: String
|
|
4583
4582
|
};
|
|
4584
|
-
function
|
|
4583
|
+
function Ob(t) {
|
|
4585
4584
|
return {
|
|
4586
4585
|
cSize: A(() => t.size in Ku ? `${Ku[t.size]}px` : t.size),
|
|
4587
4586
|
classes: A(
|
|
@@ -4592,14 +4591,14 @@ function Eb(t) {
|
|
|
4592
4591
|
const ta = dt({
|
|
4593
4592
|
name: "QSpinner",
|
|
4594
4593
|
props: {
|
|
4595
|
-
...
|
|
4594
|
+
...Ab,
|
|
4596
4595
|
thickness: {
|
|
4597
4596
|
type: Number,
|
|
4598
4597
|
default: 5
|
|
4599
4598
|
}
|
|
4600
4599
|
},
|
|
4601
4600
|
setup(t) {
|
|
4602
|
-
const { cSize: l, classes: i } =
|
|
4601
|
+
const { cSize: l, classes: i } = Ob(t);
|
|
4603
4602
|
return () => M("svg", {
|
|
4604
4603
|
class: i.value + " q-spinner-mat",
|
|
4605
4604
|
width: l.value,
|
|
@@ -4618,10 +4617,10 @@ const ta = dt({
|
|
|
4618
4617
|
})
|
|
4619
4618
|
]);
|
|
4620
4619
|
}
|
|
4621
|
-
}),
|
|
4620
|
+
}), Eb = {
|
|
4622
4621
|
ratio: [String, Number]
|
|
4623
4622
|
};
|
|
4624
|
-
function
|
|
4623
|
+
function Tb(t, l) {
|
|
4625
4624
|
return A(() => {
|
|
4626
4625
|
const i = Number(
|
|
4627
4626
|
t.ratio || (l !== void 0 ? l.value : void 0)
|
|
@@ -4660,10 +4659,10 @@ function Ri() {
|
|
|
4660
4659
|
}
|
|
4661
4660
|
};
|
|
4662
4661
|
}
|
|
4663
|
-
const
|
|
4662
|
+
const kb = 1.7778, Rb = dt({
|
|
4664
4663
|
name: "QImg",
|
|
4665
4664
|
props: {
|
|
4666
|
-
...
|
|
4665
|
+
...Eb,
|
|
4667
4666
|
src: String,
|
|
4668
4667
|
srcset: String,
|
|
4669
4668
|
sizes: String,
|
|
@@ -4688,7 +4687,7 @@ const Rb = 1.7778, Ib = dt({
|
|
|
4688
4687
|
height: String,
|
|
4689
4688
|
initialRatio: {
|
|
4690
4689
|
type: [Number, String],
|
|
4691
|
-
default:
|
|
4690
|
+
default: kb
|
|
4692
4691
|
},
|
|
4693
4692
|
placeholderSrc: String,
|
|
4694
4693
|
errorSrc: String,
|
|
@@ -4710,7 +4709,7 @@ const Rb = 1.7778, Ib = dt({
|
|
|
4710
4709
|
},
|
|
4711
4710
|
emits: ["load", "error"],
|
|
4712
4711
|
setup(t, { slots: l, emit: i }) {
|
|
4713
|
-
const u = re(t.initialRatio), a =
|
|
4712
|
+
const u = re(t.initialRatio), a = Tb(t, u), s = Ze(), { registerTimeout: d, removeTimeout: h } = Ri(), { registerTimeout: y, removeTimeout: S } = Ri(), m = A(() => t.placeholderSrc !== void 0 ? { src: t.placeholderSrc } : null), x = A(() => t.errorSrc !== void 0 ? { src: t.errorSrc, __qerror: !0 } : null), O = [
|
|
4714
4713
|
re(null),
|
|
4715
4714
|
re(m.value)
|
|
4716
4715
|
], _ = re(0), k = re(!1), z = re(!1), I = A(
|
|
@@ -4847,7 +4846,7 @@ const Rb = 1.7778, Ib = dt({
|
|
|
4847
4846
|
sym_o_: "-outlined",
|
|
4848
4847
|
sym_r_: "-rounded",
|
|
4849
4848
|
sym_s_: "-sharp"
|
|
4850
|
-
},
|
|
4849
|
+
}, Ib = new RegExp("^(" + Object.keys(vd).join("|") + ")"), Lb = new RegExp("^(" + Object.keys(hd).join("|") + ")"), uf = new RegExp("^(" + Object.keys(gd).join("|") + ")"), Mb = /^[Mm]\s?[-+]?\.?\d/, qb = /^img:/, Pb = /^svguse:/, Bb = /^ion-/, $b = /^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, Gt = dt({
|
|
4851
4850
|
name: "QIcon",
|
|
4852
4851
|
props: {
|
|
4853
4852
|
...oo,
|
|
@@ -4879,7 +4878,7 @@ const Rb = 1.7778, Ib = dt({
|
|
|
4879
4878
|
content: m.content !== void 0 ? m.content : " "
|
|
4880
4879
|
};
|
|
4881
4880
|
}
|
|
4882
|
-
if (
|
|
4881
|
+
if (Mb.test(h) === !0) {
|
|
4883
4882
|
const [m, x = lf] = h.split("|");
|
|
4884
4883
|
return {
|
|
4885
4884
|
svg: !0,
|
|
@@ -4890,12 +4889,12 @@ const Rb = 1.7778, Ib = dt({
|
|
|
4890
4889
|
})
|
|
4891
4890
|
};
|
|
4892
4891
|
}
|
|
4893
|
-
if (
|
|
4892
|
+
if (qb.test(h) === !0)
|
|
4894
4893
|
return {
|
|
4895
4894
|
img: !0,
|
|
4896
4895
|
src: h.substring(4)
|
|
4897
4896
|
};
|
|
4898
|
-
if (
|
|
4897
|
+
if (Pb.test(h) === !0) {
|
|
4899
4898
|
const [m, x = lf] = h.split("|");
|
|
4900
4899
|
return {
|
|
4901
4900
|
svguse: !0,
|
|
@@ -4904,12 +4903,12 @@ const Rb = 1.7778, Ib = dt({
|
|
|
4904
4903
|
};
|
|
4905
4904
|
}
|
|
4906
4905
|
let y = " ";
|
|
4907
|
-
const S = h.match(
|
|
4906
|
+
const S = h.match(Ib);
|
|
4908
4907
|
if (S !== null)
|
|
4909
4908
|
d = vd[S[1]](h);
|
|
4910
|
-
else if (Vb.test(h) === !0)
|
|
4911
|
-
d = h;
|
|
4912
4909
|
else if ($b.test(h) === !0)
|
|
4910
|
+
d = h;
|
|
4911
|
+
else if (Bb.test(h) === !0)
|
|
4913
4912
|
d = `ionicons ion-${i.platform.is.ios === !0 ? "ios" : "md"}${h.substring(3)}`;
|
|
4914
4913
|
else if (uf.test(h) === !0) {
|
|
4915
4914
|
d = "notranslate material-symbols";
|
|
@@ -4917,7 +4916,7 @@ const Rb = 1.7778, Ib = dt({
|
|
|
4917
4916
|
m !== null && (h = h.substring(6), d += gd[m[1]]), y = h;
|
|
4918
4917
|
} else {
|
|
4919
4918
|
d = "notranslate material-icons";
|
|
4920
|
-
const m = h.match(
|
|
4919
|
+
const m = h.match(Lb);
|
|
4921
4920
|
m !== null && (h = h.substring(2), d += hd[m[1]]), y = h;
|
|
4922
4921
|
}
|
|
4923
4922
|
return {
|
|
@@ -4949,10 +4948,10 @@ const Rb = 1.7778, Ib = dt({
|
|
|
4949
4948
|
])));
|
|
4950
4949
|
};
|
|
4951
4950
|
}
|
|
4952
|
-
}),
|
|
4951
|
+
}), Vb = { class: "card-select-container" }, Db = ["onClick"], Fb = { class: "check" }, Nb = {
|
|
4953
4952
|
class: "row justify-center items-center",
|
|
4954
4953
|
style: { height: "100%" }
|
|
4955
|
-
},
|
|
4954
|
+
}, Ub = ["onClick"], zb = /* @__PURE__ */ ze({
|
|
4956
4955
|
__name: "CardsSelectControl",
|
|
4957
4956
|
props: /* @__PURE__ */ er({
|
|
4958
4957
|
control: {}
|
|
@@ -4991,22 +4990,22 @@ const Rb = 1.7778, Ib = dt({
|
|
|
4991
4990
|
key: 0,
|
|
4992
4991
|
label: Me(u).label
|
|
4993
4992
|
}, null, 8, ["label"])) : ft("", !0),
|
|
4994
|
-
be("div",
|
|
4993
|
+
be("div", Vb, [
|
|
4995
4994
|
(Q(!0), de(Ge, null, qt(Me(u).options, (m, x) => (Q(), de(Ge, { key: x }, [
|
|
4996
4995
|
m.image ? (Q(), de("div", {
|
|
4997
4996
|
key: 0,
|
|
4998
4997
|
class: Yr(`image-card ${s(m)}`),
|
|
4999
4998
|
onClick: () => a(m)
|
|
5000
4999
|
}, [
|
|
5001
|
-
ht(
|
|
5000
|
+
ht(Rb, {
|
|
5002
5001
|
src: m.image,
|
|
5003
5002
|
height: "200px",
|
|
5004
5003
|
width: "200px",
|
|
5005
5004
|
fit: "fill",
|
|
5006
5005
|
class: "image"
|
|
5007
5006
|
}, null, 8, ["src"]),
|
|
5008
|
-
be("div",
|
|
5009
|
-
be("div",
|
|
5007
|
+
be("div", Fb, [
|
|
5008
|
+
be("div", Nb, [
|
|
5010
5009
|
d(m) ? (Q(), Qe(Gt, {
|
|
5011
5010
|
key: 0,
|
|
5012
5011
|
name: "check",
|
|
@@ -5014,13 +5013,13 @@ const Rb = 1.7778, Ib = dt({
|
|
|
5014
5013
|
})) : ft("", !0)
|
|
5015
5014
|
])
|
|
5016
5015
|
])
|
|
5017
|
-
], 10,
|
|
5016
|
+
], 10, Db)) : (Q(), de("div", {
|
|
5018
5017
|
key: 1,
|
|
5019
5018
|
class: Yr(`card-option ${s(m)}`),
|
|
5020
5019
|
onClick: () => a(m)
|
|
5021
5020
|
}, [
|
|
5022
5021
|
be("span", null, tt(m.label), 1)
|
|
5023
|
-
], 10,
|
|
5022
|
+
], 10, Ub))
|
|
5024
5023
|
], 64))), 128))
|
|
5025
5024
|
])
|
|
5026
5025
|
], 64);
|
|
@@ -5031,7 +5030,7 @@ const Rb = 1.7778, Ib = dt({
|
|
|
5031
5030
|
for (const [u, a] of l)
|
|
5032
5031
|
i[u] = a;
|
|
5033
5032
|
return i;
|
|
5034
|
-
},
|
|
5033
|
+
}, Hb = /* @__PURE__ */ Pt(zb, [["__scopeId", "data-v-148468d6"]]), ti = {
|
|
5035
5034
|
dark: {
|
|
5036
5035
|
type: Boolean,
|
|
5037
5036
|
default: null
|
|
@@ -5040,7 +5039,7 @@ const Rb = 1.7778, Ib = dt({
|
|
|
5040
5039
|
function ni(t, l) {
|
|
5041
5040
|
return A(() => t.dark === null ? l.dark.isActive : t.dark);
|
|
5042
5041
|
}
|
|
5043
|
-
function
|
|
5042
|
+
function Wb(t, l) {
|
|
5044
5043
|
const i = re(null), u = A(() => t.disable === !0 ? null : M("span", {
|
|
5045
5044
|
ref: i,
|
|
5046
5045
|
class: "no-outline",
|
|
@@ -5058,7 +5057,7 @@ function Gb(t, l) {
|
|
|
5058
5057
|
const na = {
|
|
5059
5058
|
name: String
|
|
5060
5059
|
};
|
|
5061
|
-
function
|
|
5060
|
+
function Gb(t = {}) {
|
|
5062
5061
|
return (l, i, u) => {
|
|
5063
5062
|
l[i](
|
|
5064
5063
|
M("input", {
|
|
@@ -5071,7 +5070,7 @@ function Kb(t = {}) {
|
|
|
5071
5070
|
function md(t) {
|
|
5072
5071
|
return A(() => t.name || t.for);
|
|
5073
5072
|
}
|
|
5074
|
-
const
|
|
5073
|
+
const Kb = {
|
|
5075
5074
|
xs: 30,
|
|
5076
5075
|
sm: 35,
|
|
5077
5076
|
md: 40,
|
|
@@ -5097,7 +5096,7 @@ try {
|
|
|
5097
5096
|
window.addEventListener("qtest", null, t), window.removeEventListener("qtest", null, t);
|
|
5098
5097
|
} catch {
|
|
5099
5098
|
}
|
|
5100
|
-
function
|
|
5099
|
+
function jb() {
|
|
5101
5100
|
}
|
|
5102
5101
|
function pd(t) {
|
|
5103
5102
|
return t.touches && t.touches[0] ? t = t.touches[0] : t.changedTouches && t.changedTouches[0] ? t = t.changedTouches[0] : t.targetTouches && t.targetTouches[0] && (t = t.targetTouches[0]), {
|
|
@@ -5105,7 +5104,7 @@ function pd(t) {
|
|
|
5105
5104
|
left: t.clientX
|
|
5106
5105
|
};
|
|
5107
5106
|
}
|
|
5108
|
-
function
|
|
5107
|
+
function Yb(t) {
|
|
5109
5108
|
if (t.path)
|
|
5110
5109
|
return t.path;
|
|
5111
5110
|
if (t.composedPath)
|
|
@@ -5168,7 +5167,7 @@ const _d = {
|
|
|
5168
5167
|
tabindex: [String, Number]
|
|
5169
5168
|
}, bd = ["update:modelValue"];
|
|
5170
5169
|
function yd(t, l) {
|
|
5171
|
-
const { props: i, slots: u, emit: a, proxy: s } = Ze(), { $q: d } = s, h = ni(i, d), y = re(null), { refocusTargetEl: S, refocusTarget: m } =
|
|
5170
|
+
const { props: i, slots: u, emit: a, proxy: s } = Ze(), { $q: d } = s, h = ni(i, d), y = re(null), { refocusTargetEl: S, refocusTarget: m } = Wb(i, y), x = uo(i, Kb), O = A(
|
|
5172
5171
|
() => i.val !== void 0 && Array.isArray(i.modelValue)
|
|
5173
5172
|
), _ = A(() => {
|
|
5174
5173
|
const E = Ur(i.val);
|
|
@@ -5189,7 +5188,7 @@ function yd(t, l) {
|
|
|
5189
5188
|
name: i.name,
|
|
5190
5189
|
value: O.value === !0 ? i.val : i.trueValue
|
|
5191
5190
|
}), E;
|
|
5192
|
-
}), H =
|
|
5191
|
+
}), H = Gb(Z), Y = A(() => {
|
|
5193
5192
|
const E = {
|
|
5194
5193
|
tabindex: K.value,
|
|
5195
5194
|
role: t === "toggle" ? "switch" : "checkbox",
|
|
@@ -5256,7 +5255,7 @@ function yd(t, l) {
|
|
|
5256
5255
|
}, ie);
|
|
5257
5256
|
};
|
|
5258
5257
|
}
|
|
5259
|
-
const
|
|
5258
|
+
const Qb = M("div", {
|
|
5260
5259
|
key: "svg",
|
|
5261
5260
|
class: "q-checkbox__bg absolute"
|
|
5262
5261
|
}, [
|
|
@@ -5293,7 +5292,7 @@ const Zb = M("div", {
|
|
|
5293
5292
|
name: a.value
|
|
5294
5293
|
})
|
|
5295
5294
|
])
|
|
5296
|
-
] : [
|
|
5295
|
+
] : [Qb];
|
|
5297
5296
|
}
|
|
5298
5297
|
return yd("checkbox", l);
|
|
5299
5298
|
}
|
|
@@ -5317,7 +5316,7 @@ const Zb = M("div", {
|
|
|
5317
5316
|
style: { height: "66.2px" }
|
|
5318
5317
|
}, null, 8, ["label", "model-value"]));
|
|
5319
5318
|
}
|
|
5320
|
-
}),
|
|
5319
|
+
}), Zb = dt({
|
|
5321
5320
|
name: "QToggle",
|
|
5322
5321
|
props: {
|
|
5323
5322
|
..._d,
|
|
@@ -5348,7 +5347,7 @@ const Zb = M("div", {
|
|
|
5348
5347
|
}
|
|
5349
5348
|
return yd("toggle", l);
|
|
5350
5349
|
}
|
|
5351
|
-
}),
|
|
5350
|
+
}), Xb = /* @__PURE__ */ ze({
|
|
5352
5351
|
__name: "SimpleSwitch",
|
|
5353
5352
|
props: /* @__PURE__ */ er({
|
|
5354
5353
|
control: {}
|
|
@@ -5359,7 +5358,7 @@ const Zb = M("div", {
|
|
|
5359
5358
|
emits: ["update:modelValue"],
|
|
5360
5359
|
setup(t) {
|
|
5361
5360
|
const l = tr(t, "modelValue");
|
|
5362
|
-
return (i, u) => (Q(), Qe(
|
|
5361
|
+
return (i, u) => (Q(), Qe(Zb, {
|
|
5363
5362
|
falseValue: 0,
|
|
5364
5363
|
trueValue: 1,
|
|
5365
5364
|
outlined: "",
|
|
@@ -5376,7 +5375,7 @@ let Pu, Ll = 0;
|
|
|
5376
5375
|
const pt = new Array(256);
|
|
5377
5376
|
for (let t = 0; t < 256; t++)
|
|
5378
5377
|
pt[t] = (t + 256).toString(16).substring(1);
|
|
5379
|
-
const
|
|
5378
|
+
const Jb = (() => {
|
|
5380
5379
|
const t = typeof crypto < "u" ? crypto : typeof window < "u" ? window.crypto || window.msCrypto : void 0;
|
|
5381
5380
|
if (t !== void 0) {
|
|
5382
5381
|
if (t.randomBytes !== void 0)
|
|
@@ -5395,19 +5394,19 @@ const ey = (() => {
|
|
|
5395
5394
|
};
|
|
5396
5395
|
})(), af = 4096;
|
|
5397
5396
|
function ju() {
|
|
5398
|
-
(Pu === void 0 || Ll + 16 > af) && (Ll = 0, Pu =
|
|
5397
|
+
(Pu === void 0 || Ll + 16 > af) && (Ll = 0, Pu = Jb(af));
|
|
5399
5398
|
const t = Array.prototype.slice.call(Pu, Ll, Ll += 16);
|
|
5400
5399
|
return t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, pt[t[0]] + pt[t[1]] + pt[t[2]] + pt[t[3]] + "-" + pt[t[4]] + pt[t[5]] + "-" + pt[t[6]] + pt[t[7]] + "-" + pt[t[8]] + pt[t[9]] + "-" + pt[t[10]] + pt[t[11]] + pt[t[12]] + pt[t[13]] + pt[t[14]] + pt[t[15]];
|
|
5401
5400
|
}
|
|
5402
|
-
function
|
|
5401
|
+
function ey(t) {
|
|
5403
5402
|
return t ?? null;
|
|
5404
5403
|
}
|
|
5405
5404
|
function sf(t, l) {
|
|
5406
5405
|
return t ?? (l === !0 ? `f_${ju()}` : null);
|
|
5407
5406
|
}
|
|
5408
|
-
function
|
|
5407
|
+
function ty({ getValue: t, required: l = !0 } = {}) {
|
|
5409
5408
|
if (Jn.value === !0) {
|
|
5410
|
-
const i = t !== void 0 ? re(
|
|
5409
|
+
const i = t !== void 0 ? re(ey(t())) : re(null);
|
|
5411
5410
|
return l === !0 && i.value === null && Mn(() => {
|
|
5412
5411
|
i.value = `f_${ju()}`;
|
|
5413
5412
|
}), t !== void 0 && Oe(t, (u) => {
|
|
@@ -5417,7 +5416,7 @@ function ny({ getValue: t, required: l = !0 } = {}) {
|
|
|
5417
5416
|
return t !== void 0 ? A(() => sf(t(), l)) : re(`f_${ju()}`);
|
|
5418
5417
|
}
|
|
5419
5418
|
const cf = /^on[A-Z]/;
|
|
5420
|
-
function
|
|
5419
|
+
function ny() {
|
|
5421
5420
|
const { attrs: t, vnode: l } = Ze(), i = {
|
|
5422
5421
|
listeners: re({}),
|
|
5423
5422
|
attributes: re({})
|
|
@@ -5432,9 +5431,9 @@ function ry() {
|
|
|
5432
5431
|
}
|
|
5433
5432
|
return Nf(u), u(), i;
|
|
5434
5433
|
}
|
|
5435
|
-
const
|
|
5436
|
-
function
|
|
5437
|
-
const u = Ju(
|
|
5434
|
+
const ry = "_q_", iy = "_q_fo_";
|
|
5435
|
+
function ly({ validate: t, resetValidation: l, requiresQForm: i }) {
|
|
5436
|
+
const u = Ju(iy, !1);
|
|
5438
5437
|
if (u !== !1) {
|
|
5439
5438
|
const { props: a, proxy: s } = Ze();
|
|
5440
5439
|
Object.assign(s, { validate: t, resetValidation: l }), Oe(() => a.disable, (d) => {
|
|
@@ -5480,7 +5479,7 @@ function xd(t, l = 250, i) {
|
|
|
5480
5479
|
u !== null && clearTimeout(u);
|
|
5481
5480
|
}, a;
|
|
5482
5481
|
}
|
|
5483
|
-
const
|
|
5482
|
+
const oy = [!0, !1, "ondemand"], uy = {
|
|
5484
5483
|
modelValue: {},
|
|
5485
5484
|
error: {
|
|
5486
5485
|
type: Boolean,
|
|
@@ -5494,12 +5493,12 @@ const uy = [!0, !1, "ondemand"], ay = {
|
|
|
5494
5493
|
type: [Boolean, String],
|
|
5495
5494
|
default: !1,
|
|
5496
5495
|
// statement unneeded but avoids future vue implementation changes
|
|
5497
|
-
validator: (t) =>
|
|
5496
|
+
validator: (t) => oy.includes(t)
|
|
5498
5497
|
}
|
|
5499
5498
|
};
|
|
5500
|
-
function
|
|
5499
|
+
function ay(t, l) {
|
|
5501
5500
|
const { props: i, proxy: u } = Ze(), a = re(!1), s = re(null), d = re(!1);
|
|
5502
|
-
|
|
5501
|
+
ly({ validate: z, resetValidation: k });
|
|
5503
5502
|
let h = 0, y;
|
|
5504
5503
|
const S = A(
|
|
5505
5504
|
() => i.rules !== void 0 && i.rules !== null && i.rules.length !== 0
|
|
@@ -5562,7 +5561,7 @@ let _r = [], Li = [];
|
|
|
5562
5561
|
function Cd(t) {
|
|
5563
5562
|
Li = Li.filter((l) => l !== t);
|
|
5564
5563
|
}
|
|
5565
|
-
function
|
|
5564
|
+
function sy(t) {
|
|
5566
5565
|
Cd(t), Li.push(t);
|
|
5567
5566
|
}
|
|
5568
5567
|
function hf(t) {
|
|
@@ -5571,15 +5570,15 @@ function hf(t) {
|
|
|
5571
5570
|
function ao(t) {
|
|
5572
5571
|
Li.length === 0 ? t() : _r.push(t);
|
|
5573
5572
|
}
|
|
5574
|
-
function
|
|
5573
|
+
function cy(t) {
|
|
5575
5574
|
_r = _r.filter((l) => l !== t);
|
|
5576
5575
|
}
|
|
5577
5576
|
function Mi(t) {
|
|
5578
5577
|
return t != null && ("" + t).length !== 0;
|
|
5579
5578
|
}
|
|
5580
|
-
const
|
|
5579
|
+
const fy = {
|
|
5581
5580
|
...ti,
|
|
5582
|
-
...
|
|
5581
|
+
...uy,
|
|
5583
5582
|
label: String,
|
|
5584
5583
|
stackLabel: Boolean,
|
|
5585
5584
|
hint: String,
|
|
@@ -5609,11 +5608,11 @@ const dy = {
|
|
|
5609
5608
|
autofocus: Boolean,
|
|
5610
5609
|
for: String
|
|
5611
5610
|
}, so = {
|
|
5612
|
-
...
|
|
5611
|
+
...fy,
|
|
5613
5612
|
maxlength: [Number, String]
|
|
5614
5613
|
}, ra = ["update:modelValue", "clear", "focus", "blur"];
|
|
5615
5614
|
function ia({ requiredForAttr: t = !0, tagProp: l, changeEvent: i = !1 } = {}) {
|
|
5616
|
-
const { props: u, proxy: a } = Ze(), s = ni(u, a.$q), d =
|
|
5615
|
+
const { props: u, proxy: a } = Ze(), s = ni(u, a.$q), d = ty({
|
|
5617
5616
|
required: t,
|
|
5618
5617
|
getValue: () => u.for
|
|
5619
5618
|
});
|
|
@@ -5628,7 +5627,7 @@ function ia({ requiredForAttr: t = !0, tagProp: l, changeEvent: i = !1 } = {}) {
|
|
|
5628
5627
|
innerLoading: re(!1),
|
|
5629
5628
|
focused: re(!1),
|
|
5630
5629
|
hasPopupOpen: !1,
|
|
5631
|
-
splitAttrs:
|
|
5630
|
+
splitAttrs: ny(),
|
|
5632
5631
|
targetUid: d,
|
|
5633
5632
|
rootRef: re(null),
|
|
5634
5633
|
targetRef: re(null),
|
|
@@ -5678,7 +5677,7 @@ function la(t) {
|
|
|
5678
5677
|
hasError: m,
|
|
5679
5678
|
errorMessage: x,
|
|
5680
5679
|
resetValidation: O
|
|
5681
|
-
} =
|
|
5680
|
+
} = ay(t.focused, t.innerLoading), _ = t.floatingLabel !== void 0 ? A(() => l.stackLabel === !0 || t.focused.value === !0 || t.floatingLabel.value === !0) : A(() => l.stackLabel === !0 || t.focused.value === !0 || t.hasValue.value === !0), k = A(
|
|
5682
5681
|
() => l.bottomSlots === !0 || l.hint !== void 0 || S.value === !0 || l.counter === !0 || l.error !== null
|
|
5683
5682
|
), z = A(() => l.filled === !0 ? "filled" : l.outlined === !0 ? "outlined" : l.borderless === !0 ? "borderless" : l.standout ? "standout" : "standard"), I = A(
|
|
5684
5683
|
() => `q-field row no-wrap items-start q-field--${z.value}` + (t.fieldClass !== void 0 ? ` ${t.fieldClass.value}` : "") + (l.rounded === !0 ? " q-field--rounded" : "") + (l.square === !0 ? " q-field--square" : "") + (_.value === !0 ? " q-field--float" : "") + (U.value === !0 ? " q-field--labeled" : "") + (l.dense === !0 ? " q-field--dense" : "") + (l.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (t.isDark.value === !0 ? " q-field--dark" : "") + (t.getControl === void 0 ? " q-field--auto-height" : "") + (t.focused.value === !0 ? " q-field--focused" : "") + (m.value === !0 ? " q-field--error" : "") + (m.value === !0 || t.focused.value === !0 ? " q-field--highlighted" : "") + (l.hideBottomSpace !== !0 && k.value === !0 ? " q-field--with-bottom" : "") + (l.disable === !0 ? " q-field--disabled" : l.readonly === !0 ? " q-field--readonly" : "")
|
|
@@ -5708,7 +5707,7 @@ function la(t) {
|
|
|
5708
5707
|
ao(Y);
|
|
5709
5708
|
}
|
|
5710
5709
|
function ae() {
|
|
5711
|
-
|
|
5710
|
+
cy(Y);
|
|
5712
5711
|
const j = document.activeElement;
|
|
5713
5712
|
j !== null && t.rootRef.value.contains(j) && j.blur();
|
|
5714
5713
|
}
|
|
@@ -5898,13 +5897,13 @@ const gf = {
|
|
|
5898
5897
|
Ad.forEach((t) => {
|
|
5899
5898
|
Ul[t].regex = new RegExp(Ul[t].pattern);
|
|
5900
5899
|
});
|
|
5901
|
-
const
|
|
5900
|
+
const dy = new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + Ad.join("") + "])|(.)", "g"), mf = /[.*+?^${}()|[\]\\]/g, lt = "", vy = {
|
|
5902
5901
|
mask: String,
|
|
5903
5902
|
reverseFillMask: Boolean,
|
|
5904
5903
|
fillMask: [Boolean, String],
|
|
5905
5904
|
unmaskedValue: Boolean
|
|
5906
5905
|
};
|
|
5907
|
-
function
|
|
5906
|
+
function hy(t, l, i, u) {
|
|
5908
5907
|
let a, s, d, h, y, S;
|
|
5909
5908
|
const m = re(null), x = re(_());
|
|
5910
5909
|
function O() {
|
|
@@ -5948,7 +5947,7 @@ function gy(t, l, i, u) {
|
|
|
5948
5947
|
}
|
|
5949
5948
|
const $ = gf[t.mask] === void 0 ? t.mask : gf[t.mask], F = typeof t.fillMask == "string" && t.fillMask.length !== 0 ? t.fillMask.slice(0, 1) : "_", X = F.replace(mf, "\\$&"), E = [], ie = [], V = [];
|
|
5950
5949
|
let ce = t.reverseFillMask === !0, se = "", he = "";
|
|
5951
|
-
$.replace(
|
|
5950
|
+
$.replace(dy, (R, T, J, we, ge) => {
|
|
5952
5951
|
if (we !== void 0) {
|
|
5953
5952
|
const W = Ul[we];
|
|
5954
5953
|
V.push(W), he = W.negate, ce === !0 && (ie.push("(?:" + he + "+)?(" + W.pattern + "+)?(?:" + he + "+)?(" + W.pattern + "+)?"), ce = !1), ie.push("(?:" + he + "+)?(" + W.pattern + ")?");
|
|
@@ -6140,7 +6139,7 @@ function gy(t, l, i, u) {
|
|
|
6140
6139
|
onMaskedClick: D
|
|
6141
6140
|
};
|
|
6142
6141
|
}
|
|
6143
|
-
function
|
|
6142
|
+
function gy(t, l) {
|
|
6144
6143
|
function i() {
|
|
6145
6144
|
const u = t.modelValue;
|
|
6146
6145
|
try {
|
|
@@ -6161,13 +6160,13 @@ function my(t, l) {
|
|
|
6161
6160
|
return i();
|
|
6162
6161
|
});
|
|
6163
6162
|
}
|
|
6164
|
-
const
|
|
6163
|
+
const my = /[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/, py = /[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u, _y = /[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/, by = /[a-z0-9_ -]$/i;
|
|
6165
6164
|
function Od(t) {
|
|
6166
6165
|
return function(i) {
|
|
6167
6166
|
if (i.type === "compositionend" || i.type === "change") {
|
|
6168
6167
|
if (i.target.qComposing !== !0) return;
|
|
6169
6168
|
i.target.qComposing = !1, t(i);
|
|
6170
|
-
} else i.type === "compositionupdate" && i.target.qComposing !== !0 && typeof i.data == "string" && (Wt.is.firefox === !0 ?
|
|
6169
|
+
} else i.type === "compositionupdate" && i.target.qComposing !== !0 && typeof i.data == "string" && (Wt.is.firefox === !0 ? by.test(i.data) === !1 : my.test(i.data) === !0 || py.test(i.data) === !0 || _y.test(i.data) === !0) === !0 && (i.target.qComposing = !0);
|
|
6171
6170
|
};
|
|
6172
6171
|
}
|
|
6173
6172
|
const Ed = dt({
|
|
@@ -6175,7 +6174,7 @@ const Ed = dt({
|
|
|
6175
6174
|
inheritAttrs: !1,
|
|
6176
6175
|
props: {
|
|
6177
6176
|
...so,
|
|
6178
|
-
...
|
|
6177
|
+
...vy,
|
|
6179
6178
|
...na,
|
|
6180
6179
|
// override of useFieldProps > modelValue
|
|
6181
6180
|
modelValue: [String, Number, FileList],
|
|
@@ -6208,7 +6207,7 @@ const Ed = dt({
|
|
|
6208
6207
|
updateMaskValue: I,
|
|
6209
6208
|
onMaskedKeydown: K,
|
|
6210
6209
|
onMaskedClick: U
|
|
6211
|
-
} =
|
|
6210
|
+
} = hy(t, l, se, x), D = gy(
|
|
6212
6211
|
t
|
|
6213
6212
|
), Z = A(() => Mi(_.value)), H = Od(V), Y = ia({ changeEvent: !0 }), G = A(
|
|
6214
6213
|
() => t.type === "textarea" || t.autogrow === !0
|
|
@@ -6387,7 +6386,7 @@ const Ed = dt({
|
|
|
6387
6386
|
);
|
|
6388
6387
|
return () => M(t.tag, { class: a.value }, Mt(l.default));
|
|
6389
6388
|
}
|
|
6390
|
-
}),
|
|
6389
|
+
}), yy = /* @__PURE__ */ ze({
|
|
6391
6390
|
__name: "WinInput",
|
|
6392
6391
|
props: /* @__PURE__ */ er({
|
|
6393
6392
|
modelValue: {},
|
|
@@ -6497,21 +6496,21 @@ const Ed = dt({
|
|
|
6497
6496
|
}, tt(_.hint), 3)) : ft("", !0)
|
|
6498
6497
|
], 64));
|
|
6499
6498
|
}
|
|
6500
|
-
}),
|
|
6499
|
+
}), wy = {
|
|
6501
6500
|
class: "ww-subtitle text-center q-mb-md text-grey-9",
|
|
6502
6501
|
style: { "font-weight": "600" }
|
|
6503
|
-
},
|
|
6502
|
+
}, Sy = /* @__PURE__ */ ze({
|
|
6504
6503
|
__name: "ControlLabel",
|
|
6505
6504
|
props: {
|
|
6506
6505
|
label: {}
|
|
6507
6506
|
},
|
|
6508
6507
|
setup(t) {
|
|
6509
|
-
return (l, i) => (Q(), de("div",
|
|
6508
|
+
return (l, i) => (Q(), de("div", wy, tt(l.label), 1));
|
|
6510
6509
|
}
|
|
6511
|
-
}),
|
|
6510
|
+
}), xy = {
|
|
6512
6511
|
style: { "max-width": "400px" },
|
|
6513
6512
|
class: "text-center"
|
|
6514
|
-
},
|
|
6513
|
+
}, Cy = { style: { "font-size": "16px" } }, Ay = { style: { "font-size": "16px" } }, Oy = /* @__PURE__ */ ze({
|
|
6515
6514
|
__name: "InputControl",
|
|
6516
6515
|
props: /* @__PURE__ */ er({
|
|
6517
6516
|
control: {},
|
|
@@ -6529,12 +6528,12 @@ const Ed = dt({
|
|
|
6529
6528
|
return Mn(() => {
|
|
6530
6529
|
var s;
|
|
6531
6530
|
(s = i.value) == null || s.focus();
|
|
6532
|
-
}), (s, d) => (Q(), de("div",
|
|
6533
|
-
!s.innerLabel && s.control.label ? (Q(), Qe(
|
|
6531
|
+
}), (s, d) => (Q(), de("div", xy, [
|
|
6532
|
+
!s.innerLabel && s.control.label ? (Q(), Qe(Sy, {
|
|
6534
6533
|
key: 0,
|
|
6535
6534
|
label: s.control.label
|
|
6536
6535
|
}, null, 8, ["label"])) : ft("", !0),
|
|
6537
|
-
ht(
|
|
6536
|
+
ht(yy, {
|
|
6538
6537
|
modelValue: a.value,
|
|
6539
6538
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => a.value = h),
|
|
6540
6539
|
width: "250px",
|
|
@@ -6547,27 +6546,27 @@ const Ed = dt({
|
|
|
6547
6546
|
s.control.prefix ? {
|
|
6548
6547
|
name: "prepend",
|
|
6549
6548
|
fn: et(() => [
|
|
6550
|
-
be("span",
|
|
6549
|
+
be("span", Cy, tt(s.control.prefix), 1)
|
|
6551
6550
|
]),
|
|
6552
6551
|
key: "0"
|
|
6553
6552
|
} : void 0,
|
|
6554
6553
|
s.control.suffix ? {
|
|
6555
6554
|
name: "append",
|
|
6556
6555
|
fn: et(() => [
|
|
6557
|
-
be("span",
|
|
6556
|
+
be("span", Ay, tt(s.control.suffix), 1)
|
|
6558
6557
|
]),
|
|
6559
6558
|
key: "1"
|
|
6560
6559
|
} : void 0
|
|
6561
6560
|
]), 1032, ["modelValue", "mask", "label", "inputStyle"])
|
|
6562
6561
|
]));
|
|
6563
6562
|
}
|
|
6564
|
-
}), $u = /* @__PURE__ */ Pt(
|
|
6563
|
+
}), $u = /* @__PURE__ */ Pt(Oy, [["__scopeId", "data-v-8f5284d3"]]);
|
|
6565
6564
|
function Yu(t, l) {
|
|
6566
6565
|
const i = t.style;
|
|
6567
6566
|
for (const u in l)
|
|
6568
6567
|
i[u] = l[u];
|
|
6569
6568
|
}
|
|
6570
|
-
function
|
|
6569
|
+
function Ey(t) {
|
|
6571
6570
|
if (t == null)
|
|
6572
6571
|
return;
|
|
6573
6572
|
if (typeof t == "string")
|
|
@@ -6588,7 +6587,7 @@ function Td(t, l) {
|
|
|
6588
6587
|
return !0;
|
|
6589
6588
|
return !1;
|
|
6590
6589
|
}
|
|
6591
|
-
function
|
|
6590
|
+
function Ty(t, l = 250) {
|
|
6592
6591
|
let i = !1, u;
|
|
6593
6592
|
return function() {
|
|
6594
6593
|
return i === !1 && (i = !0, setTimeout(() => {
|
|
@@ -6645,7 +6644,7 @@ const kd = sd(
|
|
|
6645
6644
|
start(a) {
|
|
6646
6645
|
u.enabled === !0 && a.qSkipRipple !== !0 && a.type === (u.modifiers.early === !0 ? "pointerdown" : "click") && pf(a, t, u, a.qKeyEvent === !0);
|
|
6647
6646
|
},
|
|
6648
|
-
keystart:
|
|
6647
|
+
keystart: Ty((a) => {
|
|
6649
6648
|
u.enabled === !0 && a.qSkipRipple !== !0 && Sr(a, u.modifiers.keyCodes) === !0 && a.type === `key${u.modifiers.early === !0 ? "down" : "up"}` && pf(a, t, u, !0);
|
|
6650
6649
|
}, 300)
|
|
6651
6650
|
};
|
|
@@ -6677,13 +6676,13 @@ const kd = sd(
|
|
|
6677
6676
|
around: "around",
|
|
6678
6677
|
evenly: "evenly",
|
|
6679
6678
|
stretch: "stretch"
|
|
6680
|
-
},
|
|
6679
|
+
}, ky = Object.keys(Rd), Ry = {
|
|
6681
6680
|
align: {
|
|
6682
6681
|
type: String,
|
|
6683
|
-
validator: (t) =>
|
|
6682
|
+
validator: (t) => ky.includes(t)
|
|
6684
6683
|
}
|
|
6685
6684
|
};
|
|
6686
|
-
function
|
|
6685
|
+
function Iy(t) {
|
|
6687
6686
|
return A(() => {
|
|
6688
6687
|
const l = t.align === void 0 ? t.vertical === !0 ? "stretch" : "left" : t.align;
|
|
6689
6688
|
return `${t.vertical === !0 ? "items" : "justify"}-${Rd[l]}`;
|
|
@@ -6695,7 +6694,7 @@ function bf(t) {
|
|
|
6695
6694
|
function yf(t, l) {
|
|
6696
6695
|
return (t.aliasOf || t) === (l.aliasOf || l);
|
|
6697
6696
|
}
|
|
6698
|
-
function
|
|
6697
|
+
function Ly(t, l) {
|
|
6699
6698
|
for (const i in l) {
|
|
6700
6699
|
const u = l[i], a = t[i];
|
|
6701
6700
|
if (typeof u == "string") {
|
|
@@ -6709,14 +6708,14 @@ function My(t, l) {
|
|
|
6709
6708
|
function wf(t, l) {
|
|
6710
6709
|
return Array.isArray(l) === !0 ? t.length === l.length && t.every((i, u) => i === l[u]) : t.length === 1 && t[0] === l;
|
|
6711
6710
|
}
|
|
6712
|
-
function
|
|
6711
|
+
function My(t, l) {
|
|
6713
6712
|
return Array.isArray(t) === !0 ? wf(t, l) : Array.isArray(l) === !0 ? wf(l, t) : t === l;
|
|
6714
6713
|
}
|
|
6715
|
-
function
|
|
6714
|
+
function qy(t, l) {
|
|
6716
6715
|
if (Object.keys(t).length !== Object.keys(l).length)
|
|
6717
6716
|
return !1;
|
|
6718
6717
|
for (const i in t)
|
|
6719
|
-
if (
|
|
6718
|
+
if (My(t[i], l[i]) === !1)
|
|
6720
6719
|
return !1;
|
|
6721
6720
|
return !0;
|
|
6722
6721
|
}
|
|
@@ -6729,7 +6728,7 @@ const Id = {
|
|
|
6729
6728
|
target: String,
|
|
6730
6729
|
// state
|
|
6731
6730
|
disable: Boolean
|
|
6732
|
-
},
|
|
6731
|
+
}, Py = {
|
|
6733
6732
|
...Id,
|
|
6734
6733
|
// router-link
|
|
6735
6734
|
exact: Boolean,
|
|
@@ -6775,9 +6774,9 @@ function Ld({ fallbackTag: t, useDisableForRouterLinkProps: l = !0 } = {}) {
|
|
|
6775
6774
|
) : $
|
|
6776
6775
|
);
|
|
6777
6776
|
}), z = A(
|
|
6778
|
-
() => m.value === !0 && k.value !== -1 &&
|
|
6777
|
+
() => m.value === !0 && k.value !== -1 && Ly(a.$route.params, S.value.params)
|
|
6779
6778
|
), I = A(
|
|
6780
|
-
() => z.value === !0 && k.value === a.$route.matched.length - 1 &&
|
|
6779
|
+
() => z.value === !0 && k.value === a.$route.matched.length - 1 && qy(a.$route.params, S.value.params)
|
|
6781
6780
|
), K = A(() => m.value === !0 ? I.value === !0 ? ` ${u.exactActiveClass} ${u.activeClass}` : u.exact === !0 ? "" : z.value === !0 ? ` ${u.activeClass}` : "" : "");
|
|
6782
6781
|
function U(H) {
|
|
6783
6782
|
try {
|
|
@@ -6830,17 +6829,17 @@ const Sf = {
|
|
|
6830
6829
|
md: 16,
|
|
6831
6830
|
lg: 24,
|
|
6832
6831
|
xl: 32
|
|
6833
|
-
},
|
|
6832
|
+
}, By = {
|
|
6834
6833
|
xs: 8,
|
|
6835
6834
|
sm: 10,
|
|
6836
6835
|
md: 14,
|
|
6837
6836
|
lg: 20,
|
|
6838
6837
|
xl: 24
|
|
6839
|
-
},
|
|
6840
|
-
function
|
|
6838
|
+
}, $y = ["button", "submit", "reset"], Vy = /[^\s]\/[^\s]/, Dy = ["flat", "outline", "push", "unelevated"];
|
|
6839
|
+
function Fy(t, l) {
|
|
6841
6840
|
return t.flat === !0 ? "flat" : t.outline === !0 ? "outline" : t.push === !0 ? "push" : t.unelevated === !0 ? "unelevated" : l;
|
|
6842
6841
|
}
|
|
6843
|
-
const
|
|
6842
|
+
const Ny = {
|
|
6844
6843
|
...oo,
|
|
6845
6844
|
...Id,
|
|
6846
6845
|
type: {
|
|
@@ -6850,7 +6849,7 @@ const Uy = {
|
|
|
6850
6849
|
label: [Number, String],
|
|
6851
6850
|
icon: String,
|
|
6852
6851
|
iconRight: String,
|
|
6853
|
-
...
|
|
6852
|
+
...Dy.reduce(
|
|
6854
6853
|
(t, l) => (t[l] = Boolean) && t,
|
|
6855
6854
|
{}
|
|
6856
6855
|
),
|
|
@@ -6872,7 +6871,7 @@ const Uy = {
|
|
|
6872
6871
|
default: !0
|
|
6873
6872
|
},
|
|
6874
6873
|
align: {
|
|
6875
|
-
...
|
|
6874
|
+
...Ry.align,
|
|
6876
6875
|
default: "center"
|
|
6877
6876
|
},
|
|
6878
6877
|
stack: Boolean,
|
|
@@ -6882,12 +6881,12 @@ const Uy = {
|
|
|
6882
6881
|
default: null
|
|
6883
6882
|
},
|
|
6884
6883
|
disable: Boolean
|
|
6885
|
-
},
|
|
6886
|
-
...
|
|
6884
|
+
}, Uy = {
|
|
6885
|
+
...Ny,
|
|
6887
6886
|
round: Boolean
|
|
6888
6887
|
};
|
|
6889
|
-
function
|
|
6890
|
-
const l = uo(t,
|
|
6888
|
+
function zy(t) {
|
|
6889
|
+
const l = uo(t, By), i = Iy(t), { hasRouterLink: u, hasLink: a, linkTag: s, linkAttrs: d, navigateOnClick: h } = Ld({
|
|
6891
6890
|
fallbackTag: "button"
|
|
6892
6891
|
}), y = A(() => {
|
|
6893
6892
|
const I = t.fab === !1 && t.fabMini === !1 ? l.value : {};
|
|
@@ -6900,9 +6899,9 @@ function Hy(t) {
|
|
|
6900
6899
|
() => t.rounded === !0 || t.fab === !0 || t.fabMini === !0
|
|
6901
6900
|
), m = A(
|
|
6902
6901
|
() => t.disable !== !0 && t.loading !== !0
|
|
6903
|
-
), x = A(() => m.value === !0 ? t.tabindex || 0 : -1), O = A(() =>
|
|
6902
|
+
), x = A(() => m.value === !0 ? t.tabindex || 0 : -1), O = A(() => Fy(t, "standard")), _ = A(() => {
|
|
6904
6903
|
const I = { tabindex: x.value };
|
|
6905
|
-
return a.value === !0 ? Object.assign(I, d.value) :
|
|
6904
|
+
return a.value === !0 ? Object.assign(I, d.value) : $y.includes(t.type) === !0 && (I.type = t.type), s.value === "a" ? (t.disable === !0 ? I["aria-disabled"] = "true" : I.href === void 0 && (I.role = "button"), u.value !== !0 && Vy.test(t.type) === !0 && (I.type = t.type)) : t.disable === !0 && (I.disabled = "", I["aria-disabled"] = "true"), t.loading === !0 && t.percentage !== void 0 && Object.assign(I, {
|
|
6906
6905
|
role: "progressbar",
|
|
6907
6906
|
"aria-valuemin": 0,
|
|
6908
6907
|
"aria-valuemax": 100,
|
|
@@ -6932,7 +6931,7 @@ let zr = null, Hr = null, Wr = null;
|
|
|
6932
6931
|
const Yn = dt({
|
|
6933
6932
|
name: "QBtn",
|
|
6934
6933
|
props: {
|
|
6935
|
-
...
|
|
6934
|
+
...Uy,
|
|
6936
6935
|
percentage: Number,
|
|
6937
6936
|
darkPercentage: Boolean,
|
|
6938
6937
|
onTouchstart: [Function, Array]
|
|
@@ -6948,7 +6947,7 @@ const Yn = dt({
|
|
|
6948
6947
|
linkTag: S,
|
|
6949
6948
|
navigateOnClick: m,
|
|
6950
6949
|
isActionable: x
|
|
6951
|
-
} =
|
|
6950
|
+
} = zy(t), O = re(null), _ = re(null);
|
|
6952
6951
|
let k = null, z, I = null;
|
|
6953
6952
|
const K = A(
|
|
6954
6953
|
() => t.label !== void 0 && t.label !== null && t.label !== ""
|
|
@@ -7103,7 +7102,7 @@ const Yn = dt({
|
|
|
7103
7102
|
);
|
|
7104
7103
|
};
|
|
7105
7104
|
}
|
|
7106
|
-
}), Md = (t) => (Hf("data-v-3bcb795a"), t = t(), Wf(), t),
|
|
7105
|
+
}), Md = (t) => (Hf("data-v-3bcb795a"), t = t(), Wf(), t), Hy = { class: "buttons-container" }, Wy = { class: "lt-md" }, Gy = { class: "row justify-between q-my-md q-px-md" }, Ky = /* @__PURE__ */ Md(() => /* @__PURE__ */ be("span", { class: "text-black" }, "Atrás", -1)), jy = { key: 1 }, Yy = /* @__PURE__ */ Md(() => /* @__PURE__ */ be("span", { class: "text-black" }, "Siguiente", -1)), Qy = /* @__PURE__ */ ze({
|
|
7107
7106
|
__name: "NavigationButtons",
|
|
7108
7107
|
props: {
|
|
7109
7108
|
currentStep: {},
|
|
@@ -7114,7 +7113,7 @@ const Yn = dt({
|
|
|
7114
7113
|
setup(t) {
|
|
7115
7114
|
const l = t, i = A(() => l.currentStep + 1);
|
|
7116
7115
|
return (u, a) => (Q(), de(Ge, null, [
|
|
7117
|
-
be("div",
|
|
7116
|
+
be("div", Hy, [
|
|
7118
7117
|
i.value > 1 ? (Q(), Qe(Yn, {
|
|
7119
7118
|
key: 0,
|
|
7120
7119
|
style: { position: "absolute", left: "25px", cursor: "pointer" },
|
|
@@ -7153,8 +7152,8 @@ const Yn = dt({
|
|
|
7153
7152
|
_: 1
|
|
7154
7153
|
}, 8, ["disable"])) : ft("", !0)
|
|
7155
7154
|
]),
|
|
7156
|
-
be("div",
|
|
7157
|
-
be("div",
|
|
7155
|
+
be("div", Wy, [
|
|
7156
|
+
be("div", Gy, [
|
|
7158
7157
|
i.value > 1 && i.value < u.stepsCount ? (Q(), Qe(Yn, {
|
|
7159
7158
|
key: 0,
|
|
7160
7159
|
color: "info",
|
|
@@ -7164,10 +7163,10 @@ const Yn = dt({
|
|
|
7164
7163
|
"no-caps": ""
|
|
7165
7164
|
}, {
|
|
7166
7165
|
default: et(() => [
|
|
7167
|
-
|
|
7166
|
+
Ky
|
|
7168
7167
|
]),
|
|
7169
7168
|
_: 1
|
|
7170
|
-
})) : (Q(), de("div",
|
|
7169
|
+
})) : (Q(), de("div", jy)),
|
|
7171
7170
|
i.value < u.stepsCount ? (Q(), Qe(Yn, {
|
|
7172
7171
|
key: 2,
|
|
7173
7172
|
color: "info",
|
|
@@ -7178,7 +7177,7 @@ const Yn = dt({
|
|
|
7178
7177
|
"no-caps": ""
|
|
7179
7178
|
}, {
|
|
7180
7179
|
default: et(() => [
|
|
7181
|
-
|
|
7180
|
+
Yy
|
|
7182
7181
|
]),
|
|
7183
7182
|
_: 1
|
|
7184
7183
|
}, 8, ["disable"])) : ft("", !0)
|
|
@@ -7186,7 +7185,7 @@ const Yn = dt({
|
|
|
7186
7185
|
])
|
|
7187
7186
|
], 64));
|
|
7188
7187
|
}
|
|
7189
|
-
}),
|
|
7188
|
+
}), Zy = /* @__PURE__ */ Pt(Qy, [["__scopeId", "data-v-3bcb795a"]]), Xy = dt({
|
|
7190
7189
|
name: "QField",
|
|
7191
7190
|
inheritAttrs: !1,
|
|
7192
7191
|
props: {
|
|
@@ -7202,13 +7201,13 @@ const Yn = dt({
|
|
|
7202
7201
|
ia({ tagProp: !0 })
|
|
7203
7202
|
);
|
|
7204
7203
|
}
|
|
7205
|
-
}),
|
|
7204
|
+
}), Jy = {
|
|
7206
7205
|
xs: 8,
|
|
7207
7206
|
sm: 10,
|
|
7208
7207
|
md: 14,
|
|
7209
7208
|
lg: 20,
|
|
7210
7209
|
xl: 24
|
|
7211
|
-
},
|
|
7210
|
+
}, ew = dt({
|
|
7212
7211
|
name: "QChip",
|
|
7213
7212
|
props: {
|
|
7214
7213
|
...ti,
|
|
@@ -7243,7 +7242,7 @@ const Yn = dt({
|
|
|
7243
7242
|
},
|
|
7244
7243
|
emits: ["update:modelValue", "update:selected", "remove", "click"],
|
|
7245
7244
|
setup(t, { slots: l, emit: i }) {
|
|
7246
|
-
const { proxy: { $q: u } } = Ze(), a = ni(t, u), s = uo(t,
|
|
7245
|
+
const { proxy: { $q: u } } = Ze(), a = ni(t, u), s = uo(t, Jy), d = A(() => t.selected === !0 || t.icon !== void 0), h = A(() => t.selected === !0 ? t.iconSelected || u.iconSet.chip.selected : t.icon), y = A(() => t.iconRemove || u.iconSet.chip.remove), S = A(
|
|
7247
7246
|
() => t.disable === !1 && (t.clickable === !0 || t.selected !== null)
|
|
7248
7247
|
), m = A(() => {
|
|
7249
7248
|
const I = t.outline === !0 && t.color || t.textColor;
|
|
@@ -7280,7 +7279,7 @@ const Yn = dt({
|
|
|
7280
7279
|
return I.push(
|
|
7281
7280
|
M("div", {
|
|
7282
7281
|
class: "q-chip__content col row no-wrap items-center q-anchor--skip"
|
|
7283
|
-
},
|
|
7282
|
+
}, xb(l.default, K))
|
|
7284
7283
|
), t.iconRight && I.push(
|
|
7285
7284
|
M(Gt, {
|
|
7286
7285
|
class: "q-chip__icon q-chip__icon--right",
|
|
@@ -7316,11 +7315,11 @@ const Yn = dt({
|
|
|
7316
7315
|
);
|
|
7317
7316
|
};
|
|
7318
7317
|
}
|
|
7319
|
-
}),
|
|
7318
|
+
}), tw = dt({
|
|
7320
7319
|
name: "QItem",
|
|
7321
7320
|
props: {
|
|
7322
7321
|
...ti,
|
|
7323
|
-
...
|
|
7322
|
+
...Py,
|
|
7324
7323
|
tag: {
|
|
7325
7324
|
type: String,
|
|
7326
7325
|
default: "div"
|
|
@@ -7359,7 +7358,7 @@ const Yn = dt({
|
|
|
7359
7358
|
i("keyup", D);
|
|
7360
7359
|
}
|
|
7361
7360
|
function U() {
|
|
7362
|
-
const D =
|
|
7361
|
+
const D = Sb(l.default, []);
|
|
7363
7362
|
return _.value === !0 && D.unshift(
|
|
7364
7363
|
M("div", { class: "q-focus-helper", tabindex: -1, ref: x })
|
|
7365
7364
|
), D;
|
|
@@ -7380,7 +7379,7 @@ const Yn = dt({
|
|
|
7380
7379
|
);
|
|
7381
7380
|
};
|
|
7382
7381
|
}
|
|
7383
|
-
}),
|
|
7382
|
+
}), nw = dt({
|
|
7384
7383
|
name: "QItemSection",
|
|
7385
7384
|
props: {
|
|
7386
7385
|
avatar: Boolean,
|
|
@@ -7395,7 +7394,7 @@ const Yn = dt({
|
|
|
7395
7394
|
);
|
|
7396
7395
|
return () => M("div", { class: i.value }, Mt(l.default));
|
|
7397
7396
|
}
|
|
7398
|
-
}),
|
|
7397
|
+
}), rw = dt({
|
|
7399
7398
|
name: "QItemLabel",
|
|
7400
7399
|
props: {
|
|
7401
7400
|
overline: Boolean,
|
|
@@ -7431,7 +7430,7 @@ const qd = {
|
|
|
7431
7430
|
default: !0
|
|
7432
7431
|
},
|
|
7433
7432
|
noParentEvent: Boolean
|
|
7434
|
-
},
|
|
7433
|
+
}, iw = {
|
|
7435
7434
|
...qd,
|
|
7436
7435
|
contextMenu: Boolean
|
|
7437
7436
|
};
|
|
@@ -7617,20 +7616,20 @@ function sa({
|
|
|
7617
7616
|
return Object.assign(S, K), K;
|
|
7618
7617
|
}
|
|
7619
7618
|
const xf = {};
|
|
7620
|
-
let
|
|
7621
|
-
function
|
|
7619
|
+
let lw = 1, ow = document.body;
|
|
7620
|
+
function uw(t, l) {
|
|
7622
7621
|
const i = document.createElement("div");
|
|
7623
|
-
if (i.id = l !== void 0 ? `q-portal--${l}--${
|
|
7622
|
+
if (i.id = l !== void 0 ? `q-portal--${l}--${lw++}` : t, xf.globalNodes !== void 0) {
|
|
7624
7623
|
const u = xf.globalNodes.class;
|
|
7625
7624
|
u !== void 0 && (i.className = u);
|
|
7626
7625
|
}
|
|
7627
|
-
return
|
|
7626
|
+
return ow.appendChild(i), i;
|
|
7628
7627
|
}
|
|
7629
|
-
function
|
|
7628
|
+
function aw(t) {
|
|
7630
7629
|
t.remove();
|
|
7631
7630
|
}
|
|
7632
7631
|
const Ti = [];
|
|
7633
|
-
function
|
|
7632
|
+
function sw(t, l) {
|
|
7634
7633
|
do {
|
|
7635
7634
|
if (t.$options.name === "QMenu") {
|
|
7636
7635
|
if (t.hide(l), t.$props.separateClosePopup === !0)
|
|
@@ -7642,13 +7641,13 @@ function cw(t, l) {
|
|
|
7642
7641
|
t = Mu(t);
|
|
7643
7642
|
} while (t != null);
|
|
7644
7643
|
}
|
|
7645
|
-
const
|
|
7644
|
+
const cw = dt({
|
|
7646
7645
|
name: "QPortal",
|
|
7647
7646
|
setup(t, { slots: l }) {
|
|
7648
7647
|
return () => l.default();
|
|
7649
7648
|
}
|
|
7650
7649
|
});
|
|
7651
|
-
function
|
|
7650
|
+
function fw(t) {
|
|
7652
7651
|
for (t = t.parent; t != null; ) {
|
|
7653
7652
|
if (t.type.name === "QGlobalDialog")
|
|
7654
7653
|
return !0;
|
|
@@ -7661,19 +7660,19 @@ function dw(t) {
|
|
|
7661
7660
|
function ca(t, l, i, u) {
|
|
7662
7661
|
const a = re(!1), s = re(!1);
|
|
7663
7662
|
let d = null;
|
|
7664
|
-
const h = {}, y = u === "dialog" &&
|
|
7663
|
+
const h = {}, y = u === "dialog" && fw(t);
|
|
7665
7664
|
function S(x) {
|
|
7666
7665
|
if (x === !0) {
|
|
7667
7666
|
hf(h), s.value = !0;
|
|
7668
7667
|
return;
|
|
7669
7668
|
}
|
|
7670
|
-
s.value = !1, a.value === !1 && (y === !1 && d === null && (d =
|
|
7669
|
+
s.value = !1, a.value === !1 && (y === !1 && d === null && (d = uw(!1, u)), a.value = !0, Ti.push(t.proxy), sy(h));
|
|
7671
7670
|
}
|
|
7672
7671
|
function m(x) {
|
|
7673
7672
|
if (s.value = !1, x !== !0) return;
|
|
7674
7673
|
hf(h), a.value = !1;
|
|
7675
7674
|
const O = Ti.indexOf(t.proxy);
|
|
7676
|
-
O !== -1 && Ti.splice(O, 1), d !== null && (
|
|
7675
|
+
O !== -1 && Ti.splice(O, 1), d !== null && (aw(d), d = null);
|
|
7677
7676
|
}
|
|
7678
7677
|
return eb(() => {
|
|
7679
7678
|
m(!0);
|
|
@@ -7682,7 +7681,7 @@ function ca(t, l, i, u) {
|
|
|
7682
7681
|
hidePortal: m,
|
|
7683
7682
|
portalIsActive: a,
|
|
7684
7683
|
portalIsAccessible: s,
|
|
7685
|
-
renderPortal: () => y === !0 ? i() : a.value === !0 ? [M(tb, { to: d }, M(
|
|
7684
|
+
renderPortal: () => y === !0 ? i() : a.value === !0 ? [M(tb, { to: d }, M(cw, i))] : void 0
|
|
7686
7685
|
};
|
|
7687
7686
|
}
|
|
7688
7687
|
const ki = {
|
|
@@ -7733,24 +7732,24 @@ function da() {
|
|
|
7733
7732
|
}
|
|
7734
7733
|
};
|
|
7735
7734
|
}
|
|
7736
|
-
const $d = [Element, String],
|
|
7735
|
+
const $d = [Element, String], dw = [null, document, document.body, document.scrollingElement, document.documentElement];
|
|
7737
7736
|
function Vd(t, l) {
|
|
7738
|
-
let i =
|
|
7737
|
+
let i = Ey(l);
|
|
7739
7738
|
if (i === void 0) {
|
|
7740
7739
|
if (t == null)
|
|
7741
7740
|
return window;
|
|
7742
7741
|
i = t.closest(".scroll,.scroll-y,.overflow-auto");
|
|
7743
7742
|
}
|
|
7744
|
-
return
|
|
7743
|
+
return dw.includes(i) ? window : i;
|
|
7745
7744
|
}
|
|
7746
|
-
function
|
|
7745
|
+
function vw(t) {
|
|
7747
7746
|
return t === window ? window.pageYOffset || window.scrollY || document.body.scrollTop || 0 : t.scrollTop;
|
|
7748
7747
|
}
|
|
7749
|
-
function
|
|
7748
|
+
function hw(t) {
|
|
7750
7749
|
return t === window ? window.pageXOffset || window.scrollX || document.body.scrollLeft || 0 : t.scrollLeft;
|
|
7751
7750
|
}
|
|
7752
7751
|
let Pl;
|
|
7753
|
-
function
|
|
7752
|
+
function gw() {
|
|
7754
7753
|
if (Pl !== void 0)
|
|
7755
7754
|
return Pl;
|
|
7756
7755
|
const t = document.createElement("p"), l = document.createElement("div");
|
|
@@ -7771,22 +7770,22 @@ function mw() {
|
|
|
7771
7770
|
let u = t.offsetWidth;
|
|
7772
7771
|
return i === u && (u = l.clientWidth), l.remove(), Pl = i - u, Pl;
|
|
7773
7772
|
}
|
|
7774
|
-
function
|
|
7773
|
+
function mw(t, l = !0) {
|
|
7775
7774
|
return !t || t.nodeType !== Node.ELEMENT_NODE ? !1 : l ? t.scrollHeight > t.clientHeight && (t.classList.contains("scroll") || t.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(t)["overflow-y"])) : t.scrollWidth > t.clientWidth && (t.classList.contains("scroll") || t.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(t)["overflow-x"]));
|
|
7776
7775
|
}
|
|
7777
7776
|
const br = [];
|
|
7778
7777
|
let Jr;
|
|
7779
|
-
function
|
|
7778
|
+
function pw(t) {
|
|
7780
7779
|
Jr = t.keyCode === 27;
|
|
7781
7780
|
}
|
|
7782
|
-
function
|
|
7781
|
+
function _w() {
|
|
7783
7782
|
Jr === !0 && (Jr = !1);
|
|
7784
7783
|
}
|
|
7785
|
-
function
|
|
7784
|
+
function bw(t) {
|
|
7786
7785
|
Jr === !0 && (Jr = !1, Sr(t, 27) === !0 && br[br.length - 1](t));
|
|
7787
7786
|
}
|
|
7788
7787
|
function Dd(t) {
|
|
7789
|
-
window[t]("keydown",
|
|
7788
|
+
window[t]("keydown", pw), window[t]("blur", _w), window[t]("keyup", bw), Jr = !1;
|
|
7790
7789
|
}
|
|
7791
7790
|
function Fd(t) {
|
|
7792
7791
|
Wt.is.desktop === !0 && (br.push(t), br.length === 1 && Dd("addEventListener"));
|
|
@@ -7863,7 +7862,7 @@ function jl(t, l) {
|
|
|
7863
7862
|
horizontal: Xu[`${i[1]}#${l === !0 ? "rtl" : "ltr"}`]
|
|
7864
7863
|
};
|
|
7865
7864
|
}
|
|
7866
|
-
function
|
|
7865
|
+
function yw(t, l) {
|
|
7867
7866
|
let { top: i, left: u, right: a, bottom: s, width: d, height: h } = t.getBoundingClientRect();
|
|
7868
7867
|
return l !== void 0 && (i -= l[1], u -= l[0], s += l[1], a += l[0], d += l[0], h += l[1]), {
|
|
7869
7868
|
top: i,
|
|
@@ -7876,7 +7875,7 @@ function ww(t, l) {
|
|
|
7876
7875
|
center: i + (s - i) / 2
|
|
7877
7876
|
};
|
|
7878
7877
|
}
|
|
7879
|
-
function
|
|
7878
|
+
function ww(t, l, i) {
|
|
7880
7879
|
let { top: u, left: a } = t.getBoundingClientRect();
|
|
7881
7880
|
return u += l.top, a += l.left, i !== void 0 && (u += i[1], a += i[0]), {
|
|
7882
7881
|
top: u,
|
|
@@ -7889,7 +7888,7 @@ function Sw(t, l, i) {
|
|
|
7889
7888
|
center: u
|
|
7890
7889
|
};
|
|
7891
7890
|
}
|
|
7892
|
-
function
|
|
7891
|
+
function Sw(t, l) {
|
|
7893
7892
|
return {
|
|
7894
7893
|
top: 0,
|
|
7895
7894
|
center: l / 2,
|
|
@@ -7930,7 +7929,7 @@ function va(t, l = 0) {
|
|
|
7930
7929
|
const Y = document.body.style, { offsetLeft: G, offsetTop: ae } = window.visualViewport;
|
|
7931
7930
|
G !== Cf && (Y.setProperty("--q-pe-left", G + "px"), Cf = G), ae !== Af && (Y.setProperty("--q-pe-top", ae + "px"), Af = ae);
|
|
7932
7931
|
}
|
|
7933
|
-
const { scrollLeft: O, scrollTop: _ } = i, k = h === void 0 ?
|
|
7932
|
+
const { scrollLeft: O, scrollTop: _ } = i, k = h === void 0 ? yw(a, S === !0 ? [0, 0] : u) : ww(a, h, u);
|
|
7934
7933
|
Object.assign(i.style, {
|
|
7935
7934
|
top: 0,
|
|
7936
7935
|
left: 0,
|
|
@@ -7943,7 +7942,7 @@ function va(t, l = 0) {
|
|
|
7943
7942
|
const { offsetWidth: z, offsetHeight: I } = i, { elWidth: K, elHeight: U } = y === !0 || S === !0 ? { elWidth: Math.max(k.width, z), elHeight: S === !0 ? Math.max(k.height, I) : I } : { elWidth: z, elHeight: I };
|
|
7944
7943
|
let D = { maxWidth: x, maxHeight: m };
|
|
7945
7944
|
(y === !0 || S === !0) && (D.minWidth = k.width + "px", S === !0 && (D.minHeight = k.height + "px")), Object.assign(i.style, D);
|
|
7946
|
-
const Z =
|
|
7945
|
+
const Z = Sw(K, U);
|
|
7947
7946
|
let H = Of(k, Z, s, d);
|
|
7948
7947
|
if (h === void 0 || u === void 0)
|
|
7949
7948
|
Vu(H, k, Z, s, d);
|
|
@@ -7969,7 +7968,7 @@ function va(t, l = 0) {
|
|
|
7969
7968
|
}, H.maxHeight !== void 0 && (D.maxHeight = H.maxHeight + "px", k.height > H.maxHeight && (D.minHeight = D.maxHeight)), H.maxWidth !== void 0 && (D.maxWidth = H.maxWidth + "px", k.width > H.maxWidth && (D.minWidth = D.maxWidth)), Object.assign(i.style, D), i.scrollTop !== _ && (i.scrollTop = _), i.scrollLeft !== O && (i.scrollLeft = O);
|
|
7970
7969
|
}
|
|
7971
7970
|
function Vu(t, l, i, u, a) {
|
|
7972
|
-
const s = i.bottom, d = i.right, h =
|
|
7971
|
+
const s = i.bottom, d = i.right, h = gw(), y = window.innerHeight - h, S = document.body.clientWidth;
|
|
7973
7972
|
if (t.top < 0 || t.top + s > y)
|
|
7974
7973
|
if (a.vertical === "center")
|
|
7975
7974
|
t.top = l[u.vertical] > y / 2 ? Math.max(0, y - s) : 0, t.maxHeight = Math.min(s, y);
|
|
@@ -7999,11 +7998,11 @@ function Vu(t, l, i, u, a) {
|
|
|
7999
7998
|
u.horizontal === "middle" ? l.middle : u.horizontal === a.horizontal ? l.left : l.right
|
|
8000
7999
|
), t.maxWidth = Math.min(d, S - t.left);
|
|
8001
8000
|
}
|
|
8002
|
-
const
|
|
8001
|
+
const xw = dt({
|
|
8003
8002
|
name: "QMenu",
|
|
8004
8003
|
inheritAttrs: !1,
|
|
8005
8004
|
props: {
|
|
8006
|
-
...
|
|
8005
|
+
...iw,
|
|
8007
8006
|
...ua,
|
|
8008
8007
|
...ti,
|
|
8009
8008
|
...ki,
|
|
@@ -8112,7 +8111,7 @@ const Cw = dt({
|
|
|
8112
8111
|
(G.value !== null || t.scrollTarget !== void 0) && (Z.value = Vd(G.value, t.scrollTarget), H(Z.value, oe));
|
|
8113
8112
|
}
|
|
8114
8113
|
function we(ee) {
|
|
8115
|
-
h !== !0 ? (
|
|
8114
|
+
h !== !0 ? (sw(S, ee), i("click", ee)) : h = !1;
|
|
8116
8115
|
}
|
|
8117
8116
|
function ge(ee) {
|
|
8118
8117
|
j.value === !0 && t.noFocus !== !0 && Td(x.value, ee.target) !== !0 && ve();
|
|
@@ -8158,7 +8157,7 @@ const Cw = dt({
|
|
|
8158
8157
|
return wt(T), Object.assign(S, { focus: ve, updatePosition: oe }), E;
|
|
8159
8158
|
}
|
|
8160
8159
|
});
|
|
8161
|
-
function
|
|
8160
|
+
function Cw(t, l, i) {
|
|
8162
8161
|
function u() {
|
|
8163
8162
|
}
|
|
8164
8163
|
return wt(() => {
|
|
@@ -8170,16 +8169,16 @@ function Aw(t, l, i) {
|
|
|
8170
8169
|
};
|
|
8171
8170
|
}
|
|
8172
8171
|
let Ci = 0, Du, Fu, Oi, Nu = !1, Ef, Tf, kf, mr = null;
|
|
8173
|
-
function
|
|
8174
|
-
|
|
8172
|
+
function Aw(t) {
|
|
8173
|
+
Ow(t) && ot(t);
|
|
8175
8174
|
}
|
|
8176
|
-
function
|
|
8175
|
+
function Ow(t) {
|
|
8177
8176
|
if (t.target === document.body || t.target.classList.contains("q-layout__backdrop"))
|
|
8178
8177
|
return !0;
|
|
8179
|
-
const l =
|
|
8178
|
+
const l = Yb(t), i = t.shiftKey && !t.deltaX, u = !i && Math.abs(t.deltaX) <= Math.abs(t.deltaY), a = i || u ? t.deltaY : t.deltaX;
|
|
8180
8179
|
for (let s = 0; s < l.length; s++) {
|
|
8181
8180
|
const d = l[s];
|
|
8182
|
-
if (
|
|
8181
|
+
if (mw(d, u))
|
|
8183
8182
|
return u ? a < 0 && d.scrollTop === 0 ? !0 : a > 0 && d.scrollTop + d.clientHeight === d.scrollHeight : a < 0 && d.scrollLeft === 0 ? !0 : a > 0 && d.scrollLeft + d.clientWidth === d.scrollWidth;
|
|
8184
8183
|
}
|
|
8185
8184
|
return !0;
|
|
@@ -8198,11 +8197,11 @@ function If(t) {
|
|
|
8198
8197
|
const l = document.body, i = window.visualViewport !== void 0;
|
|
8199
8198
|
if (t === "add") {
|
|
8200
8199
|
const { overflowY: u, overflowX: a } = window.getComputedStyle(l);
|
|
8201
|
-
Du =
|
|
8200
|
+
Du = hw(window), Fu = vw(window), Ef = l.style.left, Tf = l.style.top, kf = window.location.href, l.style.left = `-${Du}px`, l.style.top = `-${Fu}px`, a !== "hidden" && (a === "scroll" || l.scrollWidth > window.innerWidth) && l.classList.add("q-body--force-scrollbar-x"), u !== "hidden" && (u === "scroll" || l.scrollHeight > window.innerHeight) && l.classList.add("q-body--force-scrollbar-y"), l.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, Wt.is.ios === !0 && (i === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", Bl, It.passiveCapture), window.visualViewport.addEventListener("scroll", Bl, It.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", Rf, It.passiveCapture));
|
|
8202
8201
|
}
|
|
8203
|
-
Wt.is.desktop === !0 && Wt.is.mac === !0 && window[`${t}EventListener`]("wheel",
|
|
8202
|
+
Wt.is.desktop === !0 && Wt.is.mac === !0 && window[`${t}EventListener`]("wheel", Aw, It.notPassive), t === "remove" && (Wt.is.ios === !0 && (i === !0 ? (window.visualViewport.removeEventListener("resize", Bl, It.passiveCapture), window.visualViewport.removeEventListener("scroll", Bl, It.passiveCapture)) : window.removeEventListener("scroll", Rf, It.passiveCapture)), l.classList.remove("q-body--prevent-scroll"), l.classList.remove("q-body--force-scrollbar-x"), l.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, l.style.left = Ef, l.style.top = Tf, window.location.href === kf && window.scrollTo(Du, Fu), Oi = void 0);
|
|
8204
8203
|
}
|
|
8205
|
-
function
|
|
8204
|
+
function Ew(t) {
|
|
8206
8205
|
let l = "add";
|
|
8207
8206
|
if (t === !0) {
|
|
8208
8207
|
if (Ci++, mr !== null) {
|
|
@@ -8223,16 +8222,16 @@ function Tw(t) {
|
|
|
8223
8222
|
}
|
|
8224
8223
|
If(l);
|
|
8225
8224
|
}
|
|
8226
|
-
function
|
|
8225
|
+
function Tw() {
|
|
8227
8226
|
let t;
|
|
8228
8227
|
return {
|
|
8229
8228
|
preventBodyScroll(l) {
|
|
8230
|
-
l !== t && (t !== void 0 || l === !0) && (t = l,
|
|
8229
|
+
l !== t && (t !== void 0 || l === !0) && (t = l, Ew(l));
|
|
8231
8230
|
}
|
|
8232
8231
|
};
|
|
8233
8232
|
}
|
|
8234
8233
|
let $l = 0;
|
|
8235
|
-
const
|
|
8234
|
+
const kw = {
|
|
8236
8235
|
standard: "fixed-full flex-center",
|
|
8237
8236
|
top: "fixed-top justify-center",
|
|
8238
8237
|
bottom: "fixed-bottom justify-center",
|
|
@@ -8244,7 +8243,7 @@ const Rw = {
|
|
|
8244
8243
|
bottom: ["slide-up", "slide-down"],
|
|
8245
8244
|
right: ["slide-left", "slide-right"],
|
|
8246
8245
|
left: ["slide-right", "slide-left"]
|
|
8247
|
-
},
|
|
8246
|
+
}, Rw = dt({
|
|
8248
8247
|
name: "QDialog",
|
|
8249
8248
|
inheritAttrs: !1,
|
|
8250
8249
|
props: {
|
|
@@ -8286,7 +8285,7 @@ const Rw = {
|
|
|
8286
8285
|
let y = null, S = null, m, x;
|
|
8287
8286
|
const O = A(
|
|
8288
8287
|
() => t.persistent !== !0 && t.noRouteDismiss !== !0 && t.seamless !== !0
|
|
8289
|
-
), { preventBodyScroll: _ } =
|
|
8288
|
+
), { preventBodyScroll: _ } = Tw(), { registerTimeout: k } = Ri(), { registerTick: z, removeTick: I } = da(), { transitionProps: K, transitionStyle: U } = fa(
|
|
8290
8289
|
t,
|
|
8291
8290
|
() => Lf[t.position][0],
|
|
8292
8291
|
() => Lf[t.position][1]
|
|
@@ -8301,8 +8300,8 @@ const Rw = {
|
|
|
8301
8300
|
handleShow: ce,
|
|
8302
8301
|
handleHide: se,
|
|
8303
8302
|
processOnMount: !0
|
|
8304
|
-
}), { addToHistory: $, removeFromHistory: F } =
|
|
8305
|
-
() => `q-dialog__inner flex no-pointer-events q-dialog__inner--${t.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${t.position} ${
|
|
8303
|
+
}), { addToHistory: $, removeFromHistory: F } = Cw(d), X = A(
|
|
8304
|
+
() => `q-dialog__inner flex no-pointer-events q-dialog__inner--${t.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${t.position} ${kw[t.position]}` + (h.value === !0 ? " q-dialog__inner--animating" : "") + (t.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (t.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (t.square === !0 ? " q-dialog__inner--square" : "")
|
|
8306
8305
|
), E = A(() => d.value === !0 && t.seamless !== !0), ie = A(() => t.autoClose === !0 ? { onClick: T } : {}), V = A(() => [
|
|
8307
8306
|
`q-dialog fullscreen no-pointer-events q-dialog--${E.value === !0 ? "modal" : "seamless"}`,
|
|
8308
8307
|
u.class
|
|
@@ -8428,14 +8427,14 @@ let Yl = !1;
|
|
|
8428
8427
|
height: "1px"
|
|
8429
8428
|
}), document.body.appendChild(t), t.appendChild(l), t.scrollLeft = -1e3, Yl = t.scrollLeft >= 0, t.remove();
|
|
8430
8429
|
}
|
|
8431
|
-
const dn = 1e3,
|
|
8430
|
+
const dn = 1e3, Iw = [
|
|
8432
8431
|
"start",
|
|
8433
8432
|
"center",
|
|
8434
8433
|
"end",
|
|
8435
8434
|
"start-force",
|
|
8436
8435
|
"center-force",
|
|
8437
8436
|
"end-force"
|
|
8438
|
-
], Wd = Array.prototype.filter,
|
|
8437
|
+
], Wd = Array.prototype.filter, Lw = window.getComputedStyle(document.body).overflowAnchor === void 0 ? jb : function(t, l) {
|
|
8439
8438
|
t !== null && (t._qOverflowAnimationFrame !== void 0 && cancelAnimationFrame(t._qOverflowAnimationFrame), t._qOverflowAnimationFrame = requestAnimationFrame(() => {
|
|
8440
8439
|
if (t === null)
|
|
8441
8440
|
return;
|
|
@@ -8481,7 +8480,7 @@ function Ai(t, l, i, u) {
|
|
|
8481
8480
|
let h = t.slice(s, d).reduce(jr, 0);
|
|
8482
8481
|
return i % dn !== 0 && (h -= l.slice(s * dn, i).reduce(jr, 0)), u % dn !== 0 && u !== a && (h -= l.slice(u, d * dn).reduce(jr, 0)), h;
|
|
8483
8482
|
}
|
|
8484
|
-
const
|
|
8483
|
+
const Mw = {
|
|
8485
8484
|
virtualScrollSliceSize: {
|
|
8486
8485
|
type: [Number, String],
|
|
8487
8486
|
default: 10
|
|
@@ -8510,9 +8509,9 @@ const qw = {
|
|
|
8510
8509
|
}, qf = {
|
|
8511
8510
|
virtualScrollHorizontal: Boolean,
|
|
8512
8511
|
onVirtualScroll: Function,
|
|
8513
|
-
...
|
|
8512
|
+
...Mw
|
|
8514
8513
|
};
|
|
8515
|
-
function
|
|
8514
|
+
function qw({
|
|
8516
8515
|
virtualScrollLength: t,
|
|
8517
8516
|
getVirtualScrollTarget: l,
|
|
8518
8517
|
getVirtualScrollEl: i,
|
|
@@ -8554,7 +8553,7 @@ function Pw({
|
|
|
8554
8553
|
we,
|
|
8555
8554
|
Math.min(t.value - 1, Math.max(0, parseInt(R, 10) || 0)),
|
|
8556
8555
|
0,
|
|
8557
|
-
|
|
8556
|
+
Iw.indexOf(T) !== -1 ? T : m !== -1 && R > m ? "end" : "start"
|
|
8558
8557
|
);
|
|
8559
8558
|
}
|
|
8560
8559
|
function X() {
|
|
@@ -8615,7 +8614,7 @@ function Pw({
|
|
|
8615
8614
|
const { activeElement: rn } = document, Bt = D.value;
|
|
8616
8615
|
St === !0 && Bt !== null && Bt !== rn && Bt.contains(rn) === !0 && (Bt.addEventListener("focusout", V), setTimeout(() => {
|
|
8617
8616
|
Bt !== null && Bt.removeEventListener("focusout", V);
|
|
8618
|
-
})),
|
|
8617
|
+
})), Lw(Bt, J - ee);
|
|
8619
8618
|
const _t = oe !== void 0 ? _.slice(ee, J).reduce(jr, 0) : 0;
|
|
8620
8619
|
if (St === !0) {
|
|
8621
8620
|
const $t = je >= Z.value.from && ee <= Z.value.to ? Z.value.to : je;
|
|
@@ -8804,7 +8803,7 @@ function Pf(t, l, i) {
|
|
|
8804
8803
|
let a = l + (t - l) % u;
|
|
8805
8804
|
return a < l && (a = u + a), a === 0 ? 0 : a;
|
|
8806
8805
|
}
|
|
8807
|
-
const Bf = (t) => ["add", "add-unique", "toggle"].includes(t),
|
|
8806
|
+
const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Pw = ".*+?^${}()|[]\\", Bw = Object.keys(so), Gd = dt({
|
|
8808
8807
|
name: "QSelect",
|
|
8809
8808
|
inheritAttrs: !1,
|
|
8810
8809
|
props: {
|
|
@@ -8900,7 +8899,7 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
8900
8899
|
onVirtualScrollEvt: j,
|
|
8901
8900
|
scrollTo: ve,
|
|
8902
8901
|
setVirtualScrollSize: ye
|
|
8903
|
-
} =
|
|
8902
|
+
} = qw({
|
|
8904
8903
|
virtualScrollLength: E,
|
|
8905
8904
|
getVirtualScrollTarget: Di,
|
|
8906
8905
|
getVirtualScrollEl: li,
|
|
@@ -8914,7 +8913,7 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
8914
8913
|
return le;
|
|
8915
8914
|
}), J = A(() => {
|
|
8916
8915
|
const p = {};
|
|
8917
|
-
return
|
|
8916
|
+
return Bw.forEach((le) => {
|
|
8918
8917
|
const te = t[le];
|
|
8919
8918
|
te !== void 0 && (p[le] = te);
|
|
8920
8919
|
}), p;
|
|
@@ -9160,7 +9159,7 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
9160
9159
|
s.value !== !0 && Dn(p);
|
|
9161
9160
|
const De = p.key.toLocaleLowerCase(), $e = D.length === 1 && D[0] === De;
|
|
9162
9161
|
Z = Date.now() + 1500, $e === !1 && (ot(p), D += De);
|
|
9163
|
-
const it = new RegExp("^" + D.split("").map((Er) =>
|
|
9162
|
+
const it = new RegExp("^" + D.split("").map((Er) => Pw.indexOf(Er) !== -1 ? "\\" + Er : Er).join(".*"), "i");
|
|
9164
9163
|
let He = h.value;
|
|
9165
9164
|
if ($e === !0 || He < 0 || it.test(ut.value(t.options[He])) !== !0)
|
|
9166
9165
|
do
|
|
@@ -9200,7 +9199,7 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
9200
9199
|
return li();
|
|
9201
9200
|
}
|
|
9202
9201
|
function vo() {
|
|
9203
|
-
return t.hideSelected === !0 ? [] : l["selected-item"] !== void 0 ? bn.value.map((p) => l["selected-item"](p)).slice() : l.selected !== void 0 ? [].concat(l.selected()) : t.useChips === !0 ? bn.value.map((p, le) => M(
|
|
9202
|
+
return t.hideSelected === !0 ? [] : l["selected-item"] !== void 0 ? bn.value.map((p) => l["selected-item"](p)).slice() : l.selected !== void 0 ? [].concat(l.selected()) : t.useChips === !0 ? bn.value.map((p, le) => M(ew, {
|
|
9204
9203
|
key: "option-" + le,
|
|
9205
9204
|
removable: R.editable.value === !0 && on.value(p.opt) !== !0,
|
|
9206
9205
|
dense: !0,
|
|
@@ -9221,13 +9220,13 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
9221
9220
|
function Fi() {
|
|
9222
9221
|
if (qe.value === !0)
|
|
9223
9222
|
return l["no-option"] !== void 0 ? l["no-option"]({ inputValue: y.value }) : void 0;
|
|
9224
|
-
const p = l.option !== void 0 ? l.option : (te) => M(
|
|
9223
|
+
const p = l.option !== void 0 ? l.option : (te) => M(tw, {
|
|
9225
9224
|
key: te.index,
|
|
9226
9225
|
...te.itemProps
|
|
9227
9226
|
}, () => M(
|
|
9228
|
-
|
|
9227
|
+
nw,
|
|
9229
9228
|
() => M(
|
|
9230
|
-
|
|
9229
|
+
rw,
|
|
9231
9230
|
() => M("span", {
|
|
9232
9231
|
[te.html === !0 ? "innerHTML" : "textContent"]: te.label
|
|
9233
9232
|
})
|
|
@@ -9294,7 +9293,7 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
9294
9293
|
);
|
|
9295
9294
|
}
|
|
9296
9295
|
function go() {
|
|
9297
|
-
return M(
|
|
9296
|
+
return M(xw, {
|
|
9298
9297
|
ref: G,
|
|
9299
9298
|
class: oe.value,
|
|
9300
9299
|
style: t.popupContentStyle,
|
|
@@ -9337,7 +9336,7 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
9337
9336
|
}
|
|
9338
9337
|
function _o() {
|
|
9339
9338
|
const p = [
|
|
9340
|
-
M(
|
|
9339
|
+
M(Xy, {
|
|
9341
9340
|
class: `col-auto ${R.fieldClass.value}`,
|
|
9342
9341
|
...J.value,
|
|
9343
9342
|
for: R.targetUid.value,
|
|
@@ -9366,7 +9365,7 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
9366
9365
|
onClick: vn,
|
|
9367
9366
|
onScrollPassive: j
|
|
9368
9367
|
}, Fi())
|
|
9369
|
-
), M(
|
|
9368
|
+
), M(Rw, {
|
|
9370
9369
|
ref: ae,
|
|
9371
9370
|
modelValue: d.value,
|
|
9372
9371
|
position: t.useInput === !0 ? "top" : void 0,
|
|
@@ -9547,7 +9546,7 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
9547
9546
|
] : null
|
|
9548
9547
|
}), la(R);
|
|
9549
9548
|
}
|
|
9550
|
-
}),
|
|
9549
|
+
}), $w = /* @__PURE__ */ ze({
|
|
9551
9550
|
__name: "SelectControl",
|
|
9552
9551
|
props: /* @__PURE__ */ er({
|
|
9553
9552
|
control: {}
|
|
@@ -9627,41 +9626,41 @@ const Bf = (t) => ["add", "add-unique", "toggle"].includes(t), Bw = ".*+?^${}()|
|
|
|
9627
9626
|
], 64);
|
|
9628
9627
|
};
|
|
9629
9628
|
}
|
|
9630
|
-
}),
|
|
9629
|
+
}), Vw = /* @__PURE__ */ Pt($w, [["__scopeId", "data-v-fa1749f7"]]), Dw = {
|
|
9631
9630
|
class: "text-center",
|
|
9632
9631
|
style: { width: "100%" }
|
|
9633
|
-
},
|
|
9632
|
+
}, Fw = { class: "text-center text-weight-medium" }, Nw = { class: "question-title" }, Uw = /* @__PURE__ */ ze({
|
|
9634
9633
|
__name: "StepHeader",
|
|
9635
9634
|
props: {
|
|
9636
9635
|
formGroup: {},
|
|
9637
9636
|
stepsCount: {}
|
|
9638
9637
|
},
|
|
9639
9638
|
setup(t) {
|
|
9640
|
-
return (l, i) => (Q(), de("div",
|
|
9641
|
-
be("div",
|
|
9642
|
-
be("div",
|
|
9639
|
+
return (l, i) => (Q(), de("div", Dw, [
|
|
9640
|
+
be("div", Fw, tt(l.formGroup.order + 1) + "/" + tt(l.stepsCount), 1),
|
|
9641
|
+
be("div", Nw, tt(l.formGroup.title || ""), 1)
|
|
9643
9642
|
]));
|
|
9644
9643
|
}
|
|
9645
9644
|
});
|
|
9646
|
-
function
|
|
9647
|
-
return Ju(
|
|
9645
|
+
function zw() {
|
|
9646
|
+
return Ju(ry);
|
|
9648
9647
|
}
|
|
9649
9648
|
function Kd(t, l) {
|
|
9650
9649
|
const { maxControlsPerGroup: i, notifyValidations: u } = {
|
|
9651
|
-
...
|
|
9650
|
+
...ab,
|
|
9652
9651
|
...l || {}
|
|
9653
9652
|
}, a = ei(), s = A(
|
|
9654
9653
|
() => a.formSteps[t]
|
|
9655
9654
|
), d = re([]), h = re([]), y = (_, k) => {
|
|
9656
9655
|
a.setControlValue(t, _);
|
|
9657
9656
|
const z = d.value.find((U) => U.id === k);
|
|
9658
|
-
z && (h.value =
|
|
9657
|
+
z && (h.value = cb(z));
|
|
9659
9658
|
const I = m(_), K = x(_);
|
|
9660
9659
|
(I || K) && S();
|
|
9661
9660
|
};
|
|
9662
9661
|
function S() {
|
|
9663
9662
|
const _ = s.value.controls, k = [];
|
|
9664
|
-
|
|
9663
|
+
hb(_).forEach((I) => {
|
|
9665
9664
|
const K = I.controls;
|
|
9666
9665
|
if (K.every((D) => !Hu.includes(D.controlType))) {
|
|
9667
9666
|
k.push(I);
|
|
@@ -9671,7 +9670,7 @@ function Kd(t, l) {
|
|
|
9671
9670
|
for (const D of K)
|
|
9672
9671
|
if (Hu.includes(D.controlType)) {
|
|
9673
9672
|
k.push(U), U = { ...U, controls: [] };
|
|
9674
|
-
const Z =
|
|
9673
|
+
const Z = db(
|
|
9675
9674
|
I,
|
|
9676
9675
|
D,
|
|
9677
9676
|
i
|
|
@@ -9726,7 +9725,7 @@ function Kd(t, l) {
|
|
|
9726
9725
|
(Z == null ? void 0 : Z.value) !== z && (a.setControlItemsLength(t, D, z), I = !0);
|
|
9727
9726
|
}), I;
|
|
9728
9727
|
}
|
|
9729
|
-
const { notify: O } =
|
|
9728
|
+
const { notify: O } = zw();
|
|
9730
9729
|
return Oe(
|
|
9731
9730
|
h,
|
|
9732
9731
|
(_) => {
|
|
@@ -9747,19 +9746,19 @@ function Kd(t, l) {
|
|
|
9747
9746
|
{ immediate: !0 }
|
|
9748
9747
|
), { model: d, errorMessages: h, rebuildModel: S, onControlValueUpdate: y };
|
|
9749
9748
|
}
|
|
9750
|
-
const
|
|
9749
|
+
const Hw = {
|
|
9751
9750
|
key: 0,
|
|
9752
9751
|
style: { height: "100%" }
|
|
9753
|
-
},
|
|
9752
|
+
}, Ww = { class: "q-py-sm" }, Gw = { class: "form-steps-container" }, Kw = {
|
|
9754
9753
|
class: "row justify-center items-center",
|
|
9755
9754
|
style: { height: "100%", width: "100vw" }
|
|
9756
|
-
},
|
|
9755
|
+
}, jw = {
|
|
9757
9756
|
class: "controls-container",
|
|
9758
9757
|
style: { height: "100%" }
|
|
9759
|
-
},
|
|
9758
|
+
}, Yw = {
|
|
9760
9759
|
class: "form-container flex column items-center q-px-md",
|
|
9761
9760
|
style: { width: "100vw" }
|
|
9762
|
-
},
|
|
9761
|
+
}, Qw = /* @__PURE__ */ ze({
|
|
9763
9762
|
__name: "MultipleFormGroups",
|
|
9764
9763
|
props: {
|
|
9765
9764
|
index: {}
|
|
@@ -9790,36 +9789,36 @@ const Ww = {
|
|
|
9790
9789
|
input_text: $u,
|
|
9791
9790
|
input_number: $u,
|
|
9792
9791
|
checkbox: Sd,
|
|
9793
|
-
switch:
|
|
9794
|
-
select:
|
|
9795
|
-
cards_select:
|
|
9792
|
+
switch: Xb,
|
|
9793
|
+
select: Vw,
|
|
9794
|
+
cards_select: Hb
|
|
9796
9795
|
// currency_select: SelectCurrencyControl,
|
|
9797
9796
|
// location: MapLocation,
|
|
9798
9797
|
// object: ObjectControl,
|
|
9799
9798
|
// dynamic_array: DynamicArrayControl,
|
|
9800
9799
|
}[m] || $u;
|
|
9801
9800
|
}
|
|
9802
|
-
return (m, x) => h.value ? (Q(), de("div",
|
|
9803
|
-
be("div",
|
|
9804
|
-
ht(
|
|
9801
|
+
return (m, x) => h.value ? (Q(), de("div", Hw, [
|
|
9802
|
+
be("div", Ww, [
|
|
9803
|
+
ht(Uw, {
|
|
9805
9804
|
formGroup: h.value,
|
|
9806
9805
|
stepsCount: s.value
|
|
9807
9806
|
}, null, 8, ["formGroup", "stepsCount"])
|
|
9808
9807
|
]),
|
|
9809
|
-
be("div",
|
|
9810
|
-
be("div",
|
|
9811
|
-
be("div",
|
|
9808
|
+
be("div", Gw, [
|
|
9809
|
+
be("div", Kw, [
|
|
9810
|
+
be("div", jw, [
|
|
9812
9811
|
(Q(!0), de(Ge, null, qt(Me(u), (O) => (Q(), de(Ge, {
|
|
9813
9812
|
key: O.id
|
|
9814
9813
|
}, [
|
|
9815
|
-
d.value === O.order ? (Q(), Qe(
|
|
9814
|
+
d.value === O.order ? (Q(), Qe(Cb, {
|
|
9816
9815
|
key: 0,
|
|
9817
9816
|
transition: "slide-left",
|
|
9818
9817
|
style: { height: "75%", width: "100vw" },
|
|
9819
9818
|
class: "row q-py-xs justify-center items-center bg-grey-1"
|
|
9820
9819
|
}, {
|
|
9821
9820
|
default: et(() => [
|
|
9822
|
-
be("div",
|
|
9821
|
+
be("div", Yw, [
|
|
9823
9822
|
(Q(!0), de(Ge, null, qt(y(O.controls), (_, k) => (Q(), de("div", {
|
|
9824
9823
|
class: "q-mb-xl",
|
|
9825
9824
|
key: k
|
|
@@ -9837,7 +9836,7 @@ const Ww = {
|
|
|
9837
9836
|
_: 2
|
|
9838
9837
|
}, 1024)) : ft("", !0)
|
|
9839
9838
|
], 64))), 128)),
|
|
9840
|
-
ht(
|
|
9839
|
+
ht(Zy, {
|
|
9841
9840
|
currentStep: d.value,
|
|
9842
9841
|
stepsCount: s.value,
|
|
9843
9842
|
nextDisabled: !h.value.valid,
|
|
@@ -9849,7 +9848,7 @@ const Ww = {
|
|
|
9849
9848
|
])
|
|
9850
9849
|
])) : ft("", !0);
|
|
9851
9850
|
}
|
|
9852
|
-
}),
|
|
9851
|
+
}), Zw = /* @__PURE__ */ Pt(Qw, [["__scopeId", "data-v-2d9dca33"]]), Xw = { style: { "font-size": "16px", "padding-top": "1rem" } }, Jw = { style: { "font-size": "16px", "padding-top": "1rem" } }, e1 = /* @__PURE__ */ ze({
|
|
9853
9852
|
__name: "SimpleInput",
|
|
9854
9853
|
props: /* @__PURE__ */ er({
|
|
9855
9854
|
control: {},
|
|
@@ -9880,14 +9879,14 @@ const Ww = {
|
|
|
9880
9879
|
a.control.prefix ? {
|
|
9881
9880
|
name: "prepend",
|
|
9882
9881
|
fn: et(() => [
|
|
9883
|
-
be("span",
|
|
9882
|
+
be("span", Xw, tt(a.control.prefix), 1)
|
|
9884
9883
|
]),
|
|
9885
9884
|
key: "0"
|
|
9886
9885
|
} : void 0,
|
|
9887
9886
|
a.control.suffix ? {
|
|
9888
9887
|
name: "append",
|
|
9889
9888
|
fn: et(() => [
|
|
9890
|
-
be("span",
|
|
9889
|
+
be("span", Jw, tt(a.control.suffix), 1)
|
|
9891
9890
|
]),
|
|
9892
9891
|
key: "1"
|
|
9893
9892
|
} : void 0
|
|
@@ -9896,7 +9895,7 @@ const Ww = {
|
|
|
9896
9895
|
_: 1
|
|
9897
9896
|
}));
|
|
9898
9897
|
}
|
|
9899
|
-
}), zu = /* @__PURE__ */ Pt(
|
|
9898
|
+
}), zu = /* @__PURE__ */ Pt(e1, [["__scopeId", "data-v-bd5dfdca"]]), $f = /* @__PURE__ */ ze({
|
|
9900
9899
|
__name: "SimpleSelect",
|
|
9901
9900
|
props: /* @__PURE__ */ er({
|
|
9902
9901
|
control: {}
|
|
@@ -9923,13 +9922,13 @@ const Ww = {
|
|
|
9923
9922
|
_: 1
|
|
9924
9923
|
}));
|
|
9925
9924
|
}
|
|
9926
|
-
}),
|
|
9925
|
+
}), t1 = {
|
|
9927
9926
|
key: 0,
|
|
9928
9927
|
style: { height: "100%" }
|
|
9929
|
-
},
|
|
9928
|
+
}, n1 = { class: "question-title text-center q-py-sm" }, r1 = { class: "form-steps-container bg-grey-1" }, i1 = {
|
|
9930
9929
|
class: "form-container",
|
|
9931
9930
|
style: { height: "100%" }
|
|
9932
|
-
},
|
|
9931
|
+
}, l1 = { class: "row items-center" }, o1 = { class: "col-12 row" }, u1 = /* @__PURE__ */ ze({
|
|
9933
9932
|
__name: "SingleFormGroup",
|
|
9934
9933
|
props: {
|
|
9935
9934
|
index: {}
|
|
@@ -9964,12 +9963,12 @@ const Ww = {
|
|
|
9964
9963
|
];
|
|
9965
9964
|
}
|
|
9966
9965
|
const h = ei();
|
|
9967
|
-
return Mn(() => h.setOnLastSubstep(!0)), (y, S) => Me(i) ? (Q(), de("div",
|
|
9968
|
-
be("div",
|
|
9969
|
-
be("div",
|
|
9970
|
-
be("div",
|
|
9971
|
-
be("div",
|
|
9972
|
-
be("div",
|
|
9966
|
+
return Mn(() => h.setOnLastSubstep(!0)), (y, S) => Me(i) ? (Q(), de("div", t1, [
|
|
9967
|
+
be("div", n1, tt(Me(i)[0].title), 1),
|
|
9968
|
+
be("div", r1, [
|
|
9969
|
+
be("div", i1, [
|
|
9970
|
+
be("div", l1, [
|
|
9971
|
+
be("div", o1, [
|
|
9973
9972
|
(Q(!0), de(Ge, null, qt(s(Me(i)[0].controls), (m, x) => (Q(), de("div", {
|
|
9974
9973
|
class: Yr(
|
|
9975
9974
|
s(Me(i)[0].controls).length > 1 ? "col-md-6 col-12" : "col-12"
|
|
@@ -9994,16 +9993,16 @@ const Ww = {
|
|
|
9994
9993
|
])
|
|
9995
9994
|
])) : ft("", !0);
|
|
9996
9995
|
}
|
|
9997
|
-
}),
|
|
9996
|
+
}), a1 = /* @__PURE__ */ Pt(u1, [["__scopeId", "data-v-a8cd1002"]]), ha = (t) => (Hf("data-v-ea1ef607"), t = t(), Wf(), t), s1 = { class: "buttons-container" }, c1 = { class: "max-container" }, f1 = {
|
|
9998
9997
|
key: 0,
|
|
9999
9998
|
class: "row checkbox justify-end q-my-sm"
|
|
10000
|
-
},
|
|
9999
|
+
}, d1 = { style: { "max-width": "650px" } }, v1 = /* @__PURE__ */ ha(() => /* @__PURE__ */ be("br", { class: "gt-sm" }, null, -1)), h1 = { class: "row justify-between q-my-md q-px-md q-pb-xl" }, g1 = /* @__PURE__ */ ha(() => /* @__PURE__ */ be("span", { class: "text-black" }, "Atrás", -1)), m1 = { key: 1 }, p1 = {
|
|
10001
10000
|
key: 0,
|
|
10002
10001
|
class: "text-black"
|
|
10003
|
-
},
|
|
10002
|
+
}, _1 = /* @__PURE__ */ ha(() => /* @__PURE__ */ be("span", { class: "gt-sm" }, "formulario", -1)), b1 = {
|
|
10004
10003
|
key: 1,
|
|
10005
10004
|
class: "text-black"
|
|
10006
|
-
},
|
|
10005
|
+
}, y1 = /* @__PURE__ */ ze({
|
|
10007
10006
|
__name: "StepsNavigationButtons",
|
|
10008
10007
|
emits: ["submit"],
|
|
10009
10008
|
setup(t, { emit: l }) {
|
|
@@ -10018,10 +10017,10 @@ const Ww = {
|
|
|
10018
10017
|
}, x = () => {
|
|
10019
10018
|
a.value === s.value ? y("submit") : i.value();
|
|
10020
10019
|
};
|
|
10021
|
-
return (O, _) => (Q(), de("div",
|
|
10022
|
-
be("div",
|
|
10023
|
-
Me(a) === Me(s) ? (Q(), de("div",
|
|
10024
|
-
be("div",
|
|
10020
|
+
return (O, _) => (Q(), de("div", s1, [
|
|
10021
|
+
be("div", c1, [
|
|
10022
|
+
Me(a) === Me(s) ? (Q(), de("div", f1, [
|
|
10023
|
+
be("div", d1, [
|
|
10025
10024
|
ht(wd, {
|
|
10026
10025
|
color: "info",
|
|
10027
10026
|
class: "checkbox",
|
|
@@ -10031,7 +10030,7 @@ const Ww = {
|
|
|
10031
10030
|
default: et(() => [
|
|
10032
10031
|
be("div", null, [
|
|
10033
10032
|
Gr(" He leído, comprendo y acepto los términos de tratamiento de datos "),
|
|
10034
|
-
|
|
10033
|
+
v1,
|
|
10035
10034
|
Gr(" personales para esta solicitud. Más info. sobre la protección de datos "),
|
|
10036
10035
|
be("span", {
|
|
10037
10036
|
style: { "text-decoration": "underline" },
|
|
@@ -10044,7 +10043,7 @@ const Ww = {
|
|
|
10044
10043
|
}, 8, ["modelValue"])
|
|
10045
10044
|
])
|
|
10046
10045
|
])) : ft("", !0),
|
|
10047
|
-
be("div",
|
|
10046
|
+
be("div", h1, [
|
|
10048
10047
|
Me(a) > 1 ? (Q(), Qe(Yn, {
|
|
10049
10048
|
key: 0,
|
|
10050
10049
|
color: "info",
|
|
@@ -10054,10 +10053,10 @@ const Ww = {
|
|
|
10054
10053
|
"no-caps": ""
|
|
10055
10054
|
}, {
|
|
10056
10055
|
default: et(() => [
|
|
10057
|
-
|
|
10056
|
+
g1
|
|
10058
10057
|
]),
|
|
10059
10058
|
_: 1
|
|
10060
|
-
}, 8, ["onClick"])) : (Q(), de("div",
|
|
10059
|
+
}, 8, ["onClick"])) : (Q(), de("div", m1)),
|
|
10061
10060
|
be("div", null, [
|
|
10062
10061
|
!Me(d) && Me(h) ? (Q(), Qe(Yn, {
|
|
10063
10062
|
key: 0,
|
|
@@ -10069,10 +10068,10 @@ const Ww = {
|
|
|
10069
10068
|
"no-caps": ""
|
|
10070
10069
|
}, {
|
|
10071
10070
|
default: et(() => [
|
|
10072
|
-
Me(a) === Me(s) ? (Q(), de("span",
|
|
10071
|
+
Me(a) === Me(s) ? (Q(), de("span", p1, [
|
|
10073
10072
|
Gr(" Enviar "),
|
|
10074
|
-
|
|
10075
|
-
])) : (Q(), de("span",
|
|
10073
|
+
_1
|
|
10074
|
+
])) : (Q(), de("span", b1, " Siguiente "))
|
|
10076
10075
|
]),
|
|
10077
10076
|
_: 1
|
|
10078
10077
|
}, 8, ["disable"])) : ft("", !0)
|
|
@@ -10081,7 +10080,7 @@ const Ww = {
|
|
|
10081
10080
|
])
|
|
10082
10081
|
]));
|
|
10083
10082
|
}
|
|
10084
|
-
}),
|
|
10083
|
+
}), w1 = /* @__PURE__ */ Pt(y1, [["__scopeId", "data-v-ea1ef607"]]), S1 = /* @__PURE__ */ ze({
|
|
10085
10084
|
__name: "DynamicForm",
|
|
10086
10085
|
props: {
|
|
10087
10086
|
forms: {}
|
|
@@ -10101,12 +10100,12 @@ const Ww = {
|
|
|
10101
10100
|
be("div", null, [
|
|
10102
10101
|
Vl(y.$slots, "header"),
|
|
10103
10102
|
(Q(!0), de(Ge, null, qt(Me(s).formSteps, (m, x) => (Q(), de(Ge, { key: x }, [
|
|
10104
|
-
d(m) ? Dl((Q(), Qe(
|
|
10103
|
+
d(m) ? Dl((Q(), Qe(a1, {
|
|
10105
10104
|
key: 0,
|
|
10106
10105
|
index: x
|
|
10107
10106
|
}, null, 8, ["index"])), [
|
|
10108
10107
|
[$c, Me(s).currentStep === x + 1]
|
|
10109
|
-
]) : Dl((Q(), Qe(
|
|
10108
|
+
]) : Dl((Q(), Qe(Zw, {
|
|
10110
10109
|
key: 1,
|
|
10111
10110
|
index: x,
|
|
10112
10111
|
onOnLastStep: S[0] || (S[0] = (O) => a.value = O)
|
|
@@ -10115,22 +10114,22 @@ const Ww = {
|
|
|
10115
10114
|
])
|
|
10116
10115
|
], 64))), 128))
|
|
10117
10116
|
]),
|
|
10118
|
-
ht(
|
|
10117
|
+
ht(w1, { onSubmit: h })
|
|
10119
10118
|
], 64));
|
|
10120
10119
|
}
|
|
10121
|
-
}),
|
|
10120
|
+
}), x1 = /* @__PURE__ */ be("img", {
|
|
10122
10121
|
src: "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Vue.js_Logo_2.svg/640px-Vue.js_Logo_2.svg.png",
|
|
10123
10122
|
alt: ""
|
|
10124
|
-
}, null, -1),
|
|
10123
|
+
}, null, -1), C1 = /* @__PURE__ */ ze({
|
|
10125
10124
|
__name: "TestUi",
|
|
10126
10125
|
setup(t) {
|
|
10127
10126
|
const l = re("Test W2W UI!");
|
|
10128
10127
|
return (i, u) => (Q(), de(Ge, null, [
|
|
10129
|
-
|
|
10128
|
+
x1,
|
|
10130
10129
|
be("h1", null, tt(l.value), 1)
|
|
10131
10130
|
], 64));
|
|
10132
10131
|
}
|
|
10133
|
-
}),
|
|
10132
|
+
}), A1 = /* @__PURE__ */ ze({
|
|
10134
10133
|
__name: "DomSection",
|
|
10135
10134
|
props: {
|
|
10136
10135
|
section: {}
|
|
@@ -10152,19 +10151,19 @@ function jd(t, l) {
|
|
|
10152
10151
|
return console.error(i), `{{${l}}}`;
|
|
10153
10152
|
}
|
|
10154
10153
|
}
|
|
10155
|
-
const
|
|
10154
|
+
const O1 = { class: "card" }, E1 = {
|
|
10156
10155
|
key: 0,
|
|
10157
10156
|
class: "card-header"
|
|
10158
|
-
},
|
|
10157
|
+
}, T1 = {
|
|
10159
10158
|
key: 0,
|
|
10160
10159
|
contenteditable: ""
|
|
10161
|
-
},
|
|
10160
|
+
}, k1 = { class: "card-content" }, R1 = {
|
|
10162
10161
|
contenteditable: "",
|
|
10163
10162
|
class: "field-label"
|
|
10164
|
-
},
|
|
10163
|
+
}, I1 = {
|
|
10165
10164
|
contenteditable: "",
|
|
10166
10165
|
class: "field-value"
|
|
10167
|
-
},
|
|
10166
|
+
}, L1 = /* @__PURE__ */ ze({
|
|
10168
10167
|
__name: "Card",
|
|
10169
10168
|
props: {
|
|
10170
10169
|
card: {},
|
|
@@ -10182,27 +10181,27 @@ const E1 = { class: "card" }, T1 = {
|
|
|
10182
10181
|
currency: "EUR"
|
|
10183
10182
|
}).format(a) : s === "percentage" ? `${a} %` : a : a;
|
|
10184
10183
|
}
|
|
10185
|
-
return (a, s) => (Q(), de("div",
|
|
10186
|
-
a.card.title || a.card.subtitle ? (Q(), de("div",
|
|
10187
|
-
a.card.title ? (Q(), de("h3",
|
|
10184
|
+
return (a, s) => (Q(), de("div", O1, [
|
|
10185
|
+
a.card.title || a.card.subtitle ? (Q(), de("div", E1, [
|
|
10186
|
+
a.card.title ? (Q(), de("h3", T1, tt(a.card.title), 1)) : ft("", !0)
|
|
10188
10187
|
])) : ft("", !0),
|
|
10189
|
-
be("div",
|
|
10188
|
+
be("div", k1, [
|
|
10190
10189
|
(Q(!0), de(Ge, null, qt(a.card.fields, (d, h) => (Q(), de("div", {
|
|
10191
10190
|
key: h,
|
|
10192
10191
|
class: "card-field"
|
|
10193
10192
|
}, [
|
|
10194
|
-
be("span",
|
|
10195
|
-
be("span",
|
|
10193
|
+
be("span", R1, tt(d.label), 1),
|
|
10194
|
+
be("span", I1, tt(i(d)), 1)
|
|
10196
10195
|
]))), 128))
|
|
10197
10196
|
])
|
|
10198
10197
|
]));
|
|
10199
10198
|
}
|
|
10200
|
-
}),
|
|
10199
|
+
}), M1 = /* @__PURE__ */ Pt(L1, [["__scopeId", "data-v-758b9217"]]);
|
|
10201
10200
|
function fo(t, l = {}) {
|
|
10202
10201
|
const i = Ju("data"), u = A(() => i.value[t] || l), a = A(() => i.value.global || {}), s = A(() => ({ ...a.value, ...u.value }));
|
|
10203
10202
|
return { sectionData: u, globalData: a, data: s };
|
|
10204
10203
|
}
|
|
10205
|
-
const
|
|
10204
|
+
const q1 = /* @__PURE__ */ ze({
|
|
10206
10205
|
__name: "CardGridSection",
|
|
10207
10206
|
props: {
|
|
10208
10207
|
styles: {},
|
|
@@ -10217,7 +10216,7 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10217
10216
|
class: "card-section",
|
|
10218
10217
|
style: Ht(((s = u.styles) == null ? void 0 : s.cssRaw) || "")
|
|
10219
10218
|
}, [
|
|
10220
|
-
(Q(!0), de(Ge, null, qt(u.content.cards, (d, h) => (Q(), Qe(
|
|
10219
|
+
(Q(!0), de(Ge, null, qt(u.content.cards, (d, h) => (Q(), Qe(M1, {
|
|
10221
10220
|
key: h,
|
|
10222
10221
|
card: d,
|
|
10223
10222
|
data: Me(i)
|
|
@@ -10225,7 +10224,7 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10225
10224
|
], 4);
|
|
10226
10225
|
};
|
|
10227
10226
|
}
|
|
10228
|
-
}),
|
|
10227
|
+
}), P1 = /* @__PURE__ */ Pt(q1, [["__scopeId", "data-v-1ef55d4c"]]), B1 = ["src", "alt"], $1 = /* @__PURE__ */ ze({
|
|
10229
10228
|
__name: "ImageSection",
|
|
10230
10229
|
props: {
|
|
10231
10230
|
styles: {},
|
|
@@ -10242,10 +10241,10 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10242
10241
|
src: Me(i).src,
|
|
10243
10242
|
alt: Me(i).alt,
|
|
10244
10243
|
style: Ht({ width: Me(i).width, height: Me(i).height })
|
|
10245
|
-
}, null, 12,
|
|
10244
|
+
}, null, 12, B1)
|
|
10246
10245
|
], 4));
|
|
10247
10246
|
}
|
|
10248
|
-
}),
|
|
10247
|
+
}), V1 = /* @__PURE__ */ Pt($1, [["__scopeId", "data-v-16a52375"]]), D1 = "#f5f5f5", F1 = /* @__PURE__ */ ze({
|
|
10249
10248
|
__name: "TableSection",
|
|
10250
10249
|
props: {
|
|
10251
10250
|
styles: {},
|
|
@@ -10273,7 +10272,7 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10273
10272
|
(Q(!0), de(Ge, null, qt(a.value, (y, S) => (Q(), de("tr", {
|
|
10274
10273
|
key: S,
|
|
10275
10274
|
style: Ht({
|
|
10276
|
-
backgroundColor: S % 2 === 0 ?
|
|
10275
|
+
backgroundColor: S % 2 === 0 ? D1 : "transparent"
|
|
10277
10276
|
})
|
|
10278
10277
|
}, [
|
|
10279
10278
|
(Q(!0), de(Ge, null, qt(Me(i), (m) => (Q(), de("td", {
|
|
@@ -10288,7 +10287,7 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10288
10287
|
], 4);
|
|
10289
10288
|
};
|
|
10290
10289
|
}
|
|
10291
|
-
}),
|
|
10290
|
+
}), N1 = /* @__PURE__ */ Pt(F1, [["__scopeId", "data-v-cb58770d"]]), Vf = dt({
|
|
10292
10291
|
name: "QTooltip",
|
|
10293
10292
|
inheritAttrs: !1,
|
|
10294
10293
|
props: {
|
|
@@ -10455,16 +10454,16 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10455
10454
|
}
|
|
10456
10455
|
return wt(ce), Object.assign(d.proxy, { updatePosition: se }), E;
|
|
10457
10456
|
}
|
|
10458
|
-
}),
|
|
10457
|
+
}), U1 = { class: "section" }, z1 = { class: "no-print" }, H1 = { class: "add-btn" }, W1 = {
|
|
10459
10458
|
key: 0,
|
|
10460
10459
|
contenteditable: ""
|
|
10461
|
-
},
|
|
10460
|
+
}, G1 = {
|
|
10462
10461
|
key: 1,
|
|
10463
10462
|
contenteditable: ""
|
|
10464
|
-
},
|
|
10463
|
+
}, K1 = {
|
|
10465
10464
|
key: 2,
|
|
10466
10465
|
class: "p-container"
|
|
10467
|
-
},
|
|
10466
|
+
}, j1 = { contenteditable: "" }, Y1 = { class: "remove-btn no-print" }, Q1 = /* @__PURE__ */ ze({
|
|
10468
10467
|
__name: "TextSection",
|
|
10469
10468
|
props: {
|
|
10470
10469
|
styles: {},
|
|
@@ -10497,9 +10496,9 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10497
10496
|
};
|
|
10498
10497
|
return (y, S) => {
|
|
10499
10498
|
var m;
|
|
10500
|
-
return Q(), de("div",
|
|
10501
|
-
be("div",
|
|
10502
|
-
be("div",
|
|
10499
|
+
return Q(), de("div", U1, [
|
|
10500
|
+
be("div", z1, [
|
|
10501
|
+
be("div", H1, [
|
|
10503
10502
|
ht(Yn, {
|
|
10504
10503
|
size: "sm",
|
|
10505
10504
|
round: "",
|
|
@@ -10525,11 +10524,11 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10525
10524
|
(Q(!0), de(Ge, null, qt(a.value, ({ type: x, text: O, align: _ }, k) => (Q(), de("div", {
|
|
10526
10525
|
style: Ht({ textAlign: _ || "left" })
|
|
10527
10526
|
}, [
|
|
10528
|
-
x === "title" ? (Q(), de("h1",
|
|
10529
|
-
x === "subtitle" ? (Q(), de("h2",
|
|
10530
|
-
x === "paragraph" ? (Q(), de("div",
|
|
10531
|
-
be("p",
|
|
10532
|
-
be("div",
|
|
10527
|
+
x === "title" ? (Q(), de("h1", W1, tt(O), 1)) : ft("", !0),
|
|
10528
|
+
x === "subtitle" ? (Q(), de("h2", G1, tt(O), 1)) : ft("", !0),
|
|
10529
|
+
x === "paragraph" ? (Q(), de("div", K1, [
|
|
10530
|
+
be("p", j1, tt(O), 1),
|
|
10531
|
+
be("div", Y1, [
|
|
10533
10532
|
ht(Yn, {
|
|
10534
10533
|
size: "sm",
|
|
10535
10534
|
r: "",
|
|
@@ -10555,17 +10554,17 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10555
10554
|
]);
|
|
10556
10555
|
};
|
|
10557
10556
|
}
|
|
10558
|
-
}),
|
|
10557
|
+
}), Z1 = /* @__PURE__ */ Pt(Q1, [["__scopeId", "data-v-8180dcbb"]]), X1 = /* @__PURE__ */ ze({
|
|
10559
10558
|
__name: "SectionWrapper",
|
|
10560
10559
|
props: {
|
|
10561
10560
|
section: {}
|
|
10562
10561
|
},
|
|
10563
10562
|
setup(t) {
|
|
10564
10563
|
const l = t, i = {
|
|
10565
|
-
[Lt.LayoutSectionType.TEXT]:
|
|
10566
|
-
[Lt.LayoutSectionType.IMAGE]:
|
|
10567
|
-
[Lt.LayoutSectionType.TABLE]:
|
|
10568
|
-
[Lt.LayoutSectionType.CARDS_GRID]:
|
|
10564
|
+
[Lt.LayoutSectionType.TEXT]: Z1,
|
|
10565
|
+
[Lt.LayoutSectionType.IMAGE]: V1,
|
|
10566
|
+
[Lt.LayoutSectionType.TABLE]: N1,
|
|
10567
|
+
[Lt.LayoutSectionType.CARDS_GRID]: P1
|
|
10569
10568
|
}, u = A(() => l.section.type), a = A(() => ({
|
|
10570
10569
|
content: l.section.content,
|
|
10571
10570
|
styles: l.section.styles,
|
|
@@ -10573,7 +10572,7 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10573
10572
|
}));
|
|
10574
10573
|
return (s, d) => (Q(), Qe(ea(i[u.value]), ib(lb(a.value)), null, 16));
|
|
10575
10574
|
}
|
|
10576
|
-
}),
|
|
10575
|
+
}), J1 = /* @__PURE__ */ ze({
|
|
10577
10576
|
__name: "SectionsContainer",
|
|
10578
10577
|
props: {
|
|
10579
10578
|
layout: {},
|
|
@@ -10597,28 +10596,28 @@ const P1 = /* @__PURE__ */ ze({
|
|
|
10597
10596
|
style: Ht(Me(s))
|
|
10598
10597
|
}, [
|
|
10599
10598
|
(Q(!0), de(Ge, null, qt(a.value, ({ type: S, section: m }) => (Q(), de(Ge, null, [
|
|
10600
|
-
S === "default" ? (Q(), Qe(
|
|
10599
|
+
S === "default" ? (Q(), Qe(X1, {
|
|
10601
10600
|
key: 0,
|
|
10602
10601
|
section: m
|
|
10603
|
-
}, null, 8, ["section"])) : (Q(), Qe(
|
|
10602
|
+
}, null, 8, ["section"])) : (Q(), Qe(A1, {
|
|
10604
10603
|
key: 1,
|
|
10605
10604
|
section: m
|
|
10606
10605
|
}, null, 8, ["section"]))
|
|
10607
10606
|
], 64))), 256))
|
|
10608
10607
|
], 4));
|
|
10609
10608
|
}
|
|
10610
|
-
}),
|
|
10609
|
+
}), eS = /* @__PURE__ */ Pt(J1, [["__scopeId", "data-v-11c6be6b"]]), rS = {
|
|
10611
10610
|
install(t, l) {
|
|
10612
10611
|
if (l != null && l.pinia)
|
|
10613
10612
|
t.use(l.pinia);
|
|
10614
10613
|
else
|
|
10615
10614
|
throw new Error("No se ha encontrado una instancia de pinia");
|
|
10616
|
-
t.component("DynamicForm",
|
|
10615
|
+
t.component("DynamicForm", S1), t.component("TestUi", C1), t.component("SectionsContainer", eS);
|
|
10617
10616
|
}
|
|
10618
10617
|
};
|
|
10619
10618
|
export {
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10619
|
+
S1 as DynamicForm,
|
|
10620
|
+
eS as SectionsContainer,
|
|
10621
|
+
C1 as TestUi,
|
|
10622
|
+
rS as default
|
|
10624
10623
|
};
|