@figurosity/consumer-controls 0.2.1 → 0.2.3
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/consumer-controls.css +1 -1
- package/dist/consumer-controls.js +320 -333
- package/package.json +17 -2
|
@@ -22,20 +22,20 @@ const qn = { class: "c-animated-number" }, Nt = {
|
|
|
22
22
|
loading: Boolean
|
|
23
23
|
},
|
|
24
24
|
setup(e) {
|
|
25
|
-
const a = y(0), n = y(0), t = y({}), o = e, s = y(window), c = (
|
|
26
|
-
n.value = s.value.requestAnimationFrame(c), ge.update(
|
|
27
|
-
}, i = (
|
|
25
|
+
const a = y(0), n = y(0), t = y({}), o = e, s = y(window), c = (g) => {
|
|
26
|
+
n.value = s.value.requestAnimationFrame(c), ge.update(g);
|
|
27
|
+
}, i = (g, h, k = null) => {
|
|
28
28
|
l();
|
|
29
|
-
const f = { num: h },
|
|
30
|
-
t.value = new ge.Tween(f).to(
|
|
29
|
+
const f = { num: h }, V = { num: g };
|
|
30
|
+
t.value = new ge.Tween(f).to(V, o.speed).delay(o.delay).easing(ge.Easing.Quadratic.Out).onUpdate(m).onComplete(d).start(), c();
|
|
31
31
|
}, l = () => {
|
|
32
32
|
t.value && t.value.stop && (t.value.stop(), t.value = null);
|
|
33
33
|
}, d = () => {
|
|
34
34
|
s.value.cancelAnimationFrame(n.value);
|
|
35
|
-
}, m = (
|
|
36
|
-
a.value = kt(
|
|
35
|
+
}, m = (g) => {
|
|
36
|
+
a.value = kt(g.num.toFixed(0));
|
|
37
37
|
};
|
|
38
|
-
return ce(() => o.total, (
|
|
38
|
+
return ce(() => o.total, (g, h) => i(g, h)), J(() => a.value = kt(o.total)), (g, h) => (_(), se("span", qn, be(a.value), 1));
|
|
39
39
|
}
|
|
40
40
|
}, Tn = M({
|
|
41
41
|
name: "CButtonBoolean",
|
|
@@ -46,7 +46,7 @@ const qn = { class: "c-animated-number" }, Nt = {
|
|
|
46
46
|
size: {
|
|
47
47
|
type: String,
|
|
48
48
|
default: "lg",
|
|
49
|
-
validator: (e) => ["sm", "lg"].includes(e)
|
|
49
|
+
validator: (e) => ["xs", "sm", "lg"].includes(e)
|
|
50
50
|
},
|
|
51
51
|
type: {
|
|
52
52
|
type: String,
|
|
@@ -66,11 +66,7 @@ const qn = { class: "c-animated-number" }, Nt = {
|
|
|
66
66
|
{ dark: e.dark }
|
|
67
67
|
]).value
|
|
68
68
|
}, c = [];
|
|
69
|
-
|
|
70
|
-
const i = e.size === "sm" ? "10px" : "12px";
|
|
71
|
-
c.push(r(qe, { name: "f_checkmark", size: i }));
|
|
72
|
-
}
|
|
73
|
-
return r("div", s, c);
|
|
69
|
+
return e.type === "radio" && c.push(r("div")), e.type === "checkbox" && c.push(r(qe, { name: "f_checkmark" })), r("div", s, c);
|
|
74
70
|
}
|
|
75
71
|
return () => t();
|
|
76
72
|
}
|
|
@@ -146,7 +142,7 @@ const qn = { class: "c-animated-number" }, Nt = {
|
|
|
146
142
|
size: {
|
|
147
143
|
type: String,
|
|
148
144
|
default: "lg",
|
|
149
|
-
validator: (e) => ["sm", "lg"].includes(e)
|
|
145
|
+
validator: (e) => ["xs", "sm", "lg"].includes(e)
|
|
150
146
|
}
|
|
151
147
|
},
|
|
152
148
|
emits: ["click", "blockAccess"],
|
|
@@ -167,73 +163,64 @@ const qn = { class: "c-animated-number" }, Nt = {
|
|
|
167
163
|
{ selected: e.selected },
|
|
168
164
|
{ "c-base-button--disable": e.disable },
|
|
169
165
|
{ dark: e.dark }
|
|
170
|
-
])
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}));
|
|
174
|
-
function c() {
|
|
175
|
-
const i = {
|
|
166
|
+
]);
|
|
167
|
+
function s() {
|
|
168
|
+
const c = {
|
|
176
169
|
class: o.value,
|
|
177
170
|
onClick: t,
|
|
178
|
-
style: s.value,
|
|
179
171
|
"data-cy": "c-button-" + Ce(e.label)
|
|
180
|
-
},
|
|
172
|
+
}, i = [], l = u(() => ({
|
|
181
173
|
"c-base-button--icon": !0,
|
|
182
|
-
"col-shrink": e.size === "sm",
|
|
183
|
-
"flex justify-center items-center ": e.size === "sm",
|
|
174
|
+
"col-shrink": e.size === "sm" || e.size === "xs",
|
|
175
|
+
"flex justify-center items-center ": e.size === "sm" || e.size === "xs",
|
|
184
176
|
"q-pt-xs": !0
|
|
185
|
-
})),
|
|
177
|
+
})), d = u(() => ({
|
|
186
178
|
"c-base-button--image": !0,
|
|
187
|
-
"col-shrink": e.size === "sm",
|
|
188
|
-
"flex justify-center items-center ": e.size === "sm"
|
|
179
|
+
"col-shrink": e.size === "sm" || e.size === "xs",
|
|
180
|
+
"flex justify-center items-center ": e.size === "sm" || e.size === "xs"
|
|
189
181
|
}));
|
|
190
182
|
if (e.icon && !e.image) {
|
|
191
|
-
const
|
|
192
|
-
class:
|
|
193
|
-
},
|
|
183
|
+
const m = Pt(e.color), g = {
|
|
184
|
+
class: l.value
|
|
185
|
+
}, h = {
|
|
194
186
|
name: e.icon,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
}, f = u(() => ({
|
|
187
|
+
class: m ? "light" : "dark"
|
|
188
|
+
}, k = u(() => ({
|
|
198
189
|
background: Nn(e.color)
|
|
199
|
-
})),
|
|
190
|
+
})), f = {
|
|
200
191
|
class: "c-base-button--background"
|
|
201
192
|
};
|
|
202
|
-
e.type !== "borderless" && (
|
|
203
|
-
r("div", h, [r("div", w), r(qe, k)])
|
|
204
|
-
);
|
|
193
|
+
e.type !== "borderless" && (f.style = k.value), i.push(r("div", g, [r("div", f), r(qe, h)]));
|
|
205
194
|
}
|
|
206
195
|
if (e.image) {
|
|
207
|
-
const
|
|
208
|
-
class: { ...
|
|
209
|
-
},
|
|
196
|
+
const m = {
|
|
197
|
+
class: { ...d.value }
|
|
198
|
+
}, g = {
|
|
210
199
|
class: "c-base-button--overlay"
|
|
211
|
-
},
|
|
200
|
+
}, h = {
|
|
212
201
|
class: "unselectable",
|
|
213
202
|
src: e.image
|
|
214
203
|
};
|
|
215
|
-
|
|
216
|
-
r("div", v, [r("div", h), r("img", k)])
|
|
217
|
-
);
|
|
204
|
+
i.push(r("div", m, [r("div", g), r("img", h)]));
|
|
218
205
|
}
|
|
219
206
|
if (e.label) {
|
|
220
|
-
const
|
|
207
|
+
const m = u(() => ({
|
|
221
208
|
"col flex items-center unselectable": !0,
|
|
222
209
|
"q-pl-md": !e.icon && !e.image
|
|
223
210
|
}));
|
|
224
|
-
|
|
225
|
-
r("div", { class:
|
|
211
|
+
i.push(
|
|
212
|
+
r("div", { class: m.value }, [
|
|
226
213
|
r("div", { class: "c-base-button--label" }, e.label)
|
|
227
214
|
])
|
|
228
215
|
);
|
|
229
216
|
}
|
|
230
217
|
if (e.type === "radio" || e.type === "checkbox") {
|
|
231
|
-
const
|
|
218
|
+
const m = {
|
|
232
219
|
class: "col-shrink flex items-center justify center",
|
|
233
220
|
style: "min-width: 35px;"
|
|
234
221
|
};
|
|
235
|
-
|
|
236
|
-
r("div",
|
|
222
|
+
i.push(
|
|
223
|
+
r("div", m, [
|
|
237
224
|
r(Tn, {
|
|
238
225
|
disable: e.disable,
|
|
239
226
|
selected: e.selected,
|
|
@@ -243,9 +230,9 @@ const qn = { class: "c-animated-number" }, Nt = {
|
|
|
243
230
|
])
|
|
244
231
|
);
|
|
245
232
|
}
|
|
246
|
-
return r("div",
|
|
233
|
+
return r("div", c, i);
|
|
247
234
|
}
|
|
248
|
-
return () =>
|
|
235
|
+
return () => s();
|
|
249
236
|
}
|
|
250
237
|
}), Rn = M({
|
|
251
238
|
name: "CBaseButtons",
|
|
@@ -718,14 +705,14 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
|
|
|
718
705
|
class: "c-button-toggle-left col-6 text-center unselectable"
|
|
719
706
|
}, m = {
|
|
720
707
|
class: "c-button-toggle-right col-6 text-center unselectable"
|
|
721
|
-
},
|
|
708
|
+
}, g = {
|
|
722
709
|
class: "c-button-toggle-slide",
|
|
723
710
|
style: t.value
|
|
724
711
|
};
|
|
725
712
|
return r("div", l, [
|
|
726
713
|
r("div", d, e.labelLeft),
|
|
727
714
|
r("div", m, e.labelRight),
|
|
728
|
-
r("div",
|
|
715
|
+
r("div", g)
|
|
729
716
|
]);
|
|
730
717
|
}
|
|
731
718
|
return () => c();
|
|
@@ -765,19 +752,19 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
|
|
|
765
752
|
x("div", na, [
|
|
766
753
|
x("div", {
|
|
767
754
|
class: "back quarter",
|
|
768
|
-
onClick: m[0] || (m[0] = (
|
|
755
|
+
onClick: m[0] || (m[0] = (g) => l("back"))
|
|
769
756
|
}),
|
|
770
757
|
x("div", {
|
|
771
758
|
class: "left quarter",
|
|
772
|
-
onClick: m[1] || (m[1] = (
|
|
759
|
+
onClick: m[1] || (m[1] = (g) => l("left"))
|
|
773
760
|
}),
|
|
774
761
|
x("div", {
|
|
775
762
|
class: "front quarter",
|
|
776
|
-
onClick: m[2] || (m[2] = (
|
|
763
|
+
onClick: m[2] || (m[2] = (g) => l("front"))
|
|
777
764
|
}),
|
|
778
765
|
x("div", {
|
|
779
766
|
class: "right quarter",
|
|
780
|
-
onClick: m[3] || (m[3] = (
|
|
767
|
+
onClick: m[3] || (m[3] = (g) => l("right"))
|
|
781
768
|
})
|
|
782
769
|
]),
|
|
783
770
|
x("div", aa, [
|
|
@@ -903,7 +890,7 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
|
|
|
903
890
|
}, m = {
|
|
904
891
|
class: "c-color-picker-popup-chooser",
|
|
905
892
|
modelValue: o.value,
|
|
906
|
-
"onUpdate:modelValue": (
|
|
893
|
+
"onUpdate:modelValue": (g) => o.value = g
|
|
907
894
|
};
|
|
908
895
|
return R(
|
|
909
896
|
r("div", c, [
|
|
@@ -950,12 +937,12 @@ const ea = /* @__PURE__ */ vt(Kn, [["render", Jn]]), ta = M({
|
|
|
950
937
|
icon: Tt
|
|
951
938
|
}, m = {
|
|
952
939
|
modelValue: c.value,
|
|
953
|
-
"onUpdate:modelValue": (
|
|
940
|
+
"onUpdate:modelValue": (g) => c.value = g,
|
|
954
941
|
show: t.value,
|
|
955
|
-
"onUpdate:show": (
|
|
942
|
+
"onUpdate:show": (g) => t.value = g,
|
|
956
943
|
label: e.label,
|
|
957
|
-
onPointerdown: (
|
|
958
|
-
onMousedown: (
|
|
944
|
+
onPointerdown: (g) => g.stopPropagation(),
|
|
945
|
+
onMousedown: (g) => g.stopPropagation()
|
|
959
946
|
};
|
|
960
947
|
return r("div", l, [
|
|
961
948
|
R(
|
|
@@ -1043,43 +1030,43 @@ function va(e, a) {
|
|
|
1043
1030
|
return console.error(
|
|
1044
1031
|
"CDraggableDrawer component needs to be child of CDraggableDrawers"
|
|
1045
1032
|
), Ge;
|
|
1046
|
-
const t = lt(), o = Ve(), s = y(null), c = y(null), i = y(null), l = y(null), d = y(null), m = y(null),
|
|
1047
|
-
const
|
|
1033
|
+
const t = lt(), o = Ve(), s = y(null), c = y(null), i = y(null), l = y(null), d = y(null), m = y(null), g = y(null), h = y(null), k = y(n.currentModel), f = y({}), V = y(da), p = y(!1), C = y(null), $ = u(() => {
|
|
1034
|
+
const w = G() + ma, q = V.value === ve ? "auto" : "hidden";
|
|
1048
1035
|
return {
|
|
1049
|
-
maxHeight:
|
|
1036
|
+
maxHeight: w,
|
|
1050
1037
|
overflowY: q
|
|
1051
1038
|
};
|
|
1052
1039
|
});
|
|
1053
1040
|
function E() {
|
|
1054
1041
|
return l.value ? l.value.$el.offsetHeight : 0;
|
|
1055
1042
|
}
|
|
1056
|
-
function
|
|
1043
|
+
function v() {
|
|
1057
1044
|
return d.value ? d.value.$el.offsetHeight : 0;
|
|
1058
1045
|
}
|
|
1059
1046
|
function z() {
|
|
1060
1047
|
if (!c.value) return 0;
|
|
1061
|
-
const
|
|
1062
|
-
return e.name === ke || !i.value ?
|
|
1048
|
+
const w = c.value.$el.offsetHeight;
|
|
1049
|
+
return e.name === ke || !i.value ? w : w + i.value.$el.offsetHeight;
|
|
1063
1050
|
}
|
|
1064
1051
|
function T() {
|
|
1065
|
-
const
|
|
1066
|
-
return E() +
|
|
1052
|
+
const w = z();
|
|
1053
|
+
return E() + w;
|
|
1067
1054
|
}
|
|
1068
1055
|
function G() {
|
|
1069
|
-
const
|
|
1070
|
-
return
|
|
1056
|
+
const w = T();
|
|
1057
|
+
return v() + w;
|
|
1071
1058
|
}
|
|
1072
1059
|
function F() {
|
|
1073
|
-
const
|
|
1074
|
-
return Math.min(
|
|
1060
|
+
const w = G(), q = o.screen.height - e.topOffset;
|
|
1061
|
+
return Math.min(w, q);
|
|
1075
1062
|
}
|
|
1076
1063
|
const ee = u(() => {
|
|
1077
|
-
var
|
|
1078
|
-
return !!((q = (
|
|
1064
|
+
var w, q;
|
|
1065
|
+
return !!((q = (w = a.secondary) == null ? void 0 : w.call(a)) != null && q.length);
|
|
1079
1066
|
});
|
|
1080
|
-
function K(
|
|
1067
|
+
function K(w) {
|
|
1081
1068
|
p.value = !1;
|
|
1082
|
-
const { direction: q, delta: P, duration: Q, isFinal: ae } =
|
|
1069
|
+
const { direction: q, delta: P, duration: Q, isFinal: ae } = w;
|
|
1083
1070
|
if (P === 0) return;
|
|
1084
1071
|
const oe = ne() + P.y, de = F(), Se = z(), Ne = Q < 290, gt = T(), bt = De(oe, gt, de), ht = ye(oe, Se, gt, de);
|
|
1085
1072
|
if (q === Bt && oe > -Se) {
|
|
@@ -1102,49 +1089,49 @@ function va(e, a) {
|
|
|
1102
1089
|
return re();
|
|
1103
1090
|
te();
|
|
1104
1091
|
}
|
|
1105
|
-
function ye(
|
|
1106
|
-
const ae = Math.abs(
|
|
1092
|
+
function ye(w, q, P, Q) {
|
|
1093
|
+
const ae = Math.abs(w), de = [q, P, Q].reduce(
|
|
1107
1094
|
(Se, Ne) => Math.abs(Ne - ae) < Math.abs(Se - ae) ? Ne : Se
|
|
1108
1095
|
);
|
|
1109
1096
|
return de === q ? Ee : de === P ? Ae : ve;
|
|
1110
1097
|
}
|
|
1111
|
-
function De(
|
|
1112
|
-
const Q = Math.abs(
|
|
1098
|
+
function De(w, q, P) {
|
|
1099
|
+
const Q = Math.abs(w);
|
|
1113
1100
|
return Q <= q ? Ae : Q <= P ? ve : "out-of-bounds";
|
|
1114
1101
|
}
|
|
1115
1102
|
function fe() {
|
|
1116
|
-
const
|
|
1117
|
-
|
|
1103
|
+
const w = z();
|
|
1104
|
+
V.value = Ye, W(-w), C.value = Ee;
|
|
1118
1105
|
}
|
|
1119
1106
|
function te() {
|
|
1120
|
-
|
|
1121
|
-
const
|
|
1107
|
+
V.value = Ye;
|
|
1108
|
+
const w = F(), q = T(), P = e.name === ke ? 1 : 3;
|
|
1122
1109
|
f.value = { ...f.value, zIndex: P };
|
|
1123
|
-
const Q = q >
|
|
1124
|
-
W(-Q),
|
|
1110
|
+
const Q = q > w ? w : q;
|
|
1111
|
+
W(-Q), C.value = Ae;
|
|
1125
1112
|
}
|
|
1126
1113
|
function re() {
|
|
1127
|
-
|
|
1128
|
-
const
|
|
1114
|
+
V.value = Ye;
|
|
1115
|
+
const w = F(), q = G(), P = e.name === ke ? 1 : 3;
|
|
1129
1116
|
f.value = { ...f.value, zIndex: P };
|
|
1130
|
-
const Q = q >
|
|
1131
|
-
W(-Q),
|
|
1117
|
+
const Q = q > w ? w : q;
|
|
1118
|
+
W(-Q), C.value = ve;
|
|
1132
1119
|
}
|
|
1133
1120
|
function ze() {
|
|
1134
1121
|
re(), setTimeout(te, 500);
|
|
1135
1122
|
}
|
|
1136
|
-
function
|
|
1123
|
+
function B(w = !0) {
|
|
1137
1124
|
const q = e.name === ke ? 1 : 3;
|
|
1138
|
-
f.value = { ...f.value, zIndex: q }, W(0,
|
|
1125
|
+
f.value = { ...f.value, zIndex: q }, W(0, w), p.value = !1;
|
|
1139
1126
|
}
|
|
1140
|
-
function b(
|
|
1141
|
-
|
|
1127
|
+
function b(w) {
|
|
1128
|
+
w.stopPropagation();
|
|
1142
1129
|
const q = ne(), P = F(), Q = z(), ae = T(), oe = ye(
|
|
1143
1130
|
q,
|
|
1144
1131
|
Q,
|
|
1145
1132
|
ae,
|
|
1146
1133
|
P
|
|
1147
|
-
), de =
|
|
1134
|
+
), de = C.value;
|
|
1148
1135
|
if (!ee.value)
|
|
1149
1136
|
return oe === Ae ? fe() : te();
|
|
1150
1137
|
if (oe === Ee)
|
|
@@ -1154,13 +1141,13 @@ function va(e, a) {
|
|
|
1154
1141
|
if (oe === Ae)
|
|
1155
1142
|
return de === ve ? fe() : re();
|
|
1156
1143
|
}
|
|
1157
|
-
function N({ height:
|
|
1158
|
-
console.log("appResize height",
|
|
1144
|
+
function N({ height: w }) {
|
|
1145
|
+
console.log("appResize height", w), w !== 0 && (f.value = { ...f.value, top: w + "px !important" });
|
|
1159
1146
|
}
|
|
1160
|
-
function H({ height:
|
|
1161
|
-
n.currentModel.value !== e.name ||
|
|
1147
|
+
function H({ height: w }) {
|
|
1148
|
+
n.currentModel.value !== e.name || w === 0 || we(() => te());
|
|
1162
1149
|
}
|
|
1163
|
-
function U({ height:
|
|
1150
|
+
function U({ height: w }) {
|
|
1164
1151
|
const q = ne(), P = F(), Q = z(), ae = T(), oe = ye(
|
|
1165
1152
|
q,
|
|
1166
1153
|
Q,
|
|
@@ -1169,16 +1156,16 @@ function va(e, a) {
|
|
|
1169
1156
|
);
|
|
1170
1157
|
n.currentModel.value !== e.name || oe !== ve || we(() => re());
|
|
1171
1158
|
}
|
|
1172
|
-
function j(
|
|
1173
|
-
|
|
1159
|
+
function j(w) {
|
|
1160
|
+
w.stopPropagation(), n.updateModel({
|
|
1174
1161
|
name: ke,
|
|
1175
1162
|
setCurrent: !0,
|
|
1176
1163
|
skipEmit: !1
|
|
1177
1164
|
}), p.value = !1;
|
|
1178
1165
|
}
|
|
1179
|
-
function W(
|
|
1180
|
-
if (
|
|
1181
|
-
const P = `translateY(${
|
|
1166
|
+
function W(w, q = !0) {
|
|
1167
|
+
if (w === ne()) return;
|
|
1168
|
+
const P = `translateY(${w}px)`;
|
|
1182
1169
|
f.value = { ...f.value, transform: P };
|
|
1183
1170
|
}
|
|
1184
1171
|
function ne() {
|
|
@@ -1195,9 +1182,9 @@ function va(e, a) {
|
|
|
1195
1182
|
tabIndicatorRef: m
|
|
1196
1183
|
};
|
|
1197
1184
|
_n(() => {
|
|
1198
|
-
|
|
1185
|
+
B(!1);
|
|
1199
1186
|
}), Me(() => {
|
|
1200
|
-
t.$off("resize"),
|
|
1187
|
+
t.$off("resize"), B(!1), n.unregisterDrawer(ue);
|
|
1201
1188
|
}), J(() => {
|
|
1202
1189
|
t.$on("resize", N), n.registerDrawer(ue), we(() => {
|
|
1203
1190
|
setTimeout(() => {
|
|
@@ -1206,8 +1193,8 @@ function va(e, a) {
|
|
|
1206
1193
|
});
|
|
1207
1194
|
}), ce(
|
|
1208
1195
|
() => k.value,
|
|
1209
|
-
(
|
|
1210
|
-
console.log("watch currentModel",
|
|
1196
|
+
(w, q) => {
|
|
1197
|
+
console.log("watch currentModel", w, q), !(w === e.name && q === e.name) && (w === e.name && te(), q === e.name && B());
|
|
1211
1198
|
}
|
|
1212
1199
|
);
|
|
1213
1200
|
function tn() {
|
|
@@ -1220,7 +1207,7 @@ function va(e, a) {
|
|
|
1220
1207
|
function nn() {
|
|
1221
1208
|
if (e.name === ke || !e.label)
|
|
1222
1209
|
return null;
|
|
1223
|
-
const
|
|
1210
|
+
const w = {
|
|
1224
1211
|
ref: i,
|
|
1225
1212
|
class: "q-px-md q-pb-sm q-pt-none sectional section-detail",
|
|
1226
1213
|
onClick: b
|
|
@@ -1237,7 +1224,7 @@ function va(e, a) {
|
|
|
1237
1224
|
onClick: j,
|
|
1238
1225
|
style: "margin-top: -5px"
|
|
1239
1226
|
};
|
|
1240
|
-
return r(Re,
|
|
1227
|
+
return r(Re, w, () => [
|
|
1241
1228
|
r("div", q, [
|
|
1242
1229
|
r("div", P, e.label),
|
|
1243
1230
|
r("div", Q, [r(he, ae)])
|
|
@@ -1245,9 +1232,9 @@ function va(e, a) {
|
|
|
1245
1232
|
]);
|
|
1246
1233
|
}
|
|
1247
1234
|
function an() {
|
|
1248
|
-
const
|
|
1235
|
+
const w = {
|
|
1249
1236
|
class: "c-draggable-drawer__content",
|
|
1250
|
-
ref:
|
|
1237
|
+
ref: g,
|
|
1251
1238
|
style: u(() => $.value),
|
|
1252
1239
|
onClick: (P) => P.preventDefault(),
|
|
1253
1240
|
onTouch: (P) => P.preventDefault(),
|
|
@@ -1278,11 +1265,11 @@ function va(e, a) {
|
|
|
1278
1265
|
})
|
|
1279
1266
|
);
|
|
1280
1267
|
}
|
|
1281
|
-
return r("div",
|
|
1268
|
+
return r("div", w, q);
|
|
1282
1269
|
}
|
|
1283
1270
|
function on() {
|
|
1284
|
-
const
|
|
1285
|
-
|
|
1271
|
+
const w = [];
|
|
1272
|
+
w.push(tn()), w.push(nn()), w.push(an());
|
|
1286
1273
|
const P = {
|
|
1287
1274
|
ref: s,
|
|
1288
1275
|
class: "c-draggable-drawer column no-wrap ",
|
|
@@ -1291,7 +1278,7 @@ function va(e, a) {
|
|
|
1291
1278
|
"data-cy": "c-draggable-drawer-" + e.name,
|
|
1292
1279
|
role: "draggableDrawer"
|
|
1293
1280
|
};
|
|
1294
|
-
return r(gn, P, () =>
|
|
1281
|
+
return r(gn, P, () => w);
|
|
1295
1282
|
}
|
|
1296
1283
|
function ln() {
|
|
1297
1284
|
return R(on(), [
|
|
@@ -1337,13 +1324,13 @@ const ga = M({
|
|
|
1337
1324
|
const p = { maxWidth: l.value };
|
|
1338
1325
|
return e.align === "center" && (p.left = "50%", p.transform = "translateX(-50%)"), e.align === "left" && (p.left = "10px"), e.align === "right" && (p.right = "10px"), p;
|
|
1339
1326
|
}), m = u(() => {
|
|
1340
|
-
const p = c.value,
|
|
1327
|
+
const p = c.value, C = o.value;
|
|
1341
1328
|
for (let $ = 0; $ < p; $++)
|
|
1342
|
-
if (s[$].name.value ===
|
|
1329
|
+
if (s[$].name.value === C)
|
|
1343
1330
|
return !0;
|
|
1344
1331
|
return !1;
|
|
1345
1332
|
});
|
|
1346
|
-
function
|
|
1333
|
+
function g(p) {
|
|
1347
1334
|
s.push(p), c.value++;
|
|
1348
1335
|
}
|
|
1349
1336
|
function h(p) {
|
|
@@ -1352,7 +1339,7 @@ const ga = M({
|
|
|
1352
1339
|
const k = {
|
|
1353
1340
|
currentModel: o,
|
|
1354
1341
|
hasActiveTab: m.value,
|
|
1355
|
-
registerDrawer:
|
|
1342
|
+
registerDrawer: g,
|
|
1356
1343
|
unregisterDrawer: h,
|
|
1357
1344
|
updateModel: f
|
|
1358
1345
|
};
|
|
@@ -1362,14 +1349,14 @@ const ga = M({
|
|
|
1362
1349
|
f({ name: p, setCurrent: !0, skipEmit: !1 });
|
|
1363
1350
|
}
|
|
1364
1351
|
);
|
|
1365
|
-
function f({ name: p, setCurrent:
|
|
1366
|
-
o.value !== p && ($ !== !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", p), (
|
|
1352
|
+
function f({ name: p, setCurrent: C = !0, skipEmit: $ = !0 }) {
|
|
1353
|
+
o.value !== p && ($ !== !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", p), (C === !0 || e["onUpdate:modelValue"] === void 0) && (o.value = p));
|
|
1367
1354
|
}
|
|
1368
1355
|
Me(() => {
|
|
1369
1356
|
}), At(() => {
|
|
1370
1357
|
}), J(() => {
|
|
1371
1358
|
});
|
|
1372
|
-
function
|
|
1359
|
+
function V() {
|
|
1373
1360
|
return r(
|
|
1374
1361
|
"div",
|
|
1375
1362
|
{
|
|
@@ -1383,7 +1370,7 @@ const ga = M({
|
|
|
1383
1370
|
}
|
|
1384
1371
|
);
|
|
1385
1372
|
}
|
|
1386
|
-
return () =>
|
|
1373
|
+
return () => V();
|
|
1387
1374
|
}
|
|
1388
1375
|
}), jt = M({
|
|
1389
1376
|
name: "CResponsiveLayout",
|
|
@@ -1627,24 +1614,24 @@ const ga = M({
|
|
|
1627
1614
|
setup(e, { slots: a, emit: n }) {
|
|
1628
1615
|
const t = Ve(), o = lt(), s = y(!1), c = u({
|
|
1629
1616
|
get: () => e.modelValue,
|
|
1630
|
-
set: (
|
|
1617
|
+
set: (g) => n("update:modelValue", g)
|
|
1631
1618
|
}), i = () => {
|
|
1632
1619
|
s.value = !s.value;
|
|
1633
|
-
}, l = y(80), d = (
|
|
1634
|
-
l.value =
|
|
1620
|
+
}, l = y(80), d = (g) => {
|
|
1621
|
+
l.value = g.height - e.topOffset;
|
|
1635
1622
|
};
|
|
1636
1623
|
J(() => {
|
|
1637
1624
|
l.value = t.screen.height - e.topOffset, o.$on("resize", d);
|
|
1638
1625
|
}), Me(() => o.$off("resize"));
|
|
1639
1626
|
function m() {
|
|
1640
|
-
const
|
|
1627
|
+
const g = u(() => ({
|
|
1641
1628
|
maxHeight: `${l.value}px`,
|
|
1642
1629
|
maxWidth: `${e.width}px`
|
|
1643
1630
|
})), h = {
|
|
1644
1631
|
class: "c-floating-modal",
|
|
1645
1632
|
modelValue: c.value,
|
|
1646
|
-
"onUpdate:modelValue": (
|
|
1647
|
-
style:
|
|
1633
|
+
"onUpdate:modelValue": (C) => c.value = C,
|
|
1634
|
+
style: g.value
|
|
1648
1635
|
}, f = {
|
|
1649
1636
|
class: "c-floating-modal-toggle",
|
|
1650
1637
|
size: "sm",
|
|
@@ -1653,7 +1640,7 @@ const ga = M({
|
|
|
1653
1640
|
() => s.value ? "f_chevron_down" : "f_chevron_up"
|
|
1654
1641
|
).value,
|
|
1655
1642
|
onClick: i
|
|
1656
|
-
},
|
|
1643
|
+
}, V = {
|
|
1657
1644
|
class: "c-floating-modal-default"
|
|
1658
1645
|
}, p = { class: "c-floating-modal-expanded" };
|
|
1659
1646
|
return r(
|
|
@@ -1663,7 +1650,7 @@ const ga = M({
|
|
|
1663
1650
|
default: () => R(
|
|
1664
1651
|
r("div", h, [
|
|
1665
1652
|
...a.expanded ? [r(he, f)] : [],
|
|
1666
|
-
...a.default ? [r("div",
|
|
1653
|
+
...a.default ? [r("div", V, a.default())] : [],
|
|
1667
1654
|
...a.expanded ? [
|
|
1668
1655
|
r(st, null, {
|
|
1669
1656
|
default: () => R(
|
|
@@ -1694,34 +1681,34 @@ const ga = M({
|
|
|
1694
1681
|
}
|
|
1695
1682
|
},
|
|
1696
1683
|
setup(e) {
|
|
1697
|
-
const { $on: a } = lt(), n = e, t = y(null), o = y(null), s = y(null), c = y(0), i = y(!1), l = y(null), d = y(null), m = y(void 0),
|
|
1698
|
-
let f,
|
|
1684
|
+
const { $on: a } = lt(), n = e, t = y(null), o = y(null), s = y(null), c = y(0), i = y(!1), l = y(null), d = y(null), m = y(void 0), g = y(0), h = y(0), k = y(void 0);
|
|
1685
|
+
let f, V;
|
|
1699
1686
|
const p = () => {
|
|
1700
1687
|
if (!t.value || !o.value) return;
|
|
1701
|
-
const
|
|
1702
|
-
return !t.value || b.width >=
|
|
1688
|
+
const B = Pe.newRectFromElement(t.value), b = Pe.newRectFromElement(o.value);
|
|
1689
|
+
return !t.value || b.width >= B.width ? !1 : {
|
|
1703
1690
|
valid: !0,
|
|
1704
1691
|
inner: t.value,
|
|
1705
|
-
left:
|
|
1706
|
-
width:
|
|
1692
|
+
left: B.left - b.left,
|
|
1693
|
+
width: B.width - b.width
|
|
1707
1694
|
};
|
|
1708
|
-
},
|
|
1695
|
+
}, C = ({ inner: B, left: b, width: N }, H) => {
|
|
1709
1696
|
if (b = b - H, b < -N) {
|
|
1710
|
-
|
|
1697
|
+
B.style.left = -N + "px";
|
|
1711
1698
|
return;
|
|
1712
1699
|
}
|
|
1713
1700
|
if (b >= 0) {
|
|
1714
|
-
|
|
1701
|
+
B.style.left = "0px";
|
|
1715
1702
|
return;
|
|
1716
1703
|
}
|
|
1717
|
-
|
|
1704
|
+
B.style.left = b + "px";
|
|
1718
1705
|
}, $ = () => {
|
|
1719
|
-
!i.value || !t.value || !o.value || (
|
|
1706
|
+
!i.value || !t.value || !o.value || (v(), E());
|
|
1720
1707
|
}, E = () => {
|
|
1721
1708
|
if (!t.value || !o.value) return;
|
|
1722
|
-
const
|
|
1723
|
-
if (c.value =
|
|
1724
|
-
if (
|
|
1709
|
+
const B = Pe.newRectFromElement(t.value), b = Pe.newRectFromElement(o.value);
|
|
1710
|
+
if (c.value = B.left - b.left, B.width === 0 || b.width < B.width) {
|
|
1711
|
+
if (B.left === 0) return;
|
|
1725
1712
|
T({
|
|
1726
1713
|
left: 0,
|
|
1727
1714
|
duration: 300
|
|
@@ -1729,19 +1716,19 @@ const ga = M({
|
|
|
1729
1716
|
return;
|
|
1730
1717
|
}
|
|
1731
1718
|
F();
|
|
1732
|
-
const N = (b.width -
|
|
1719
|
+
const N = (b.width - B.width) / 2;
|
|
1733
1720
|
T({
|
|
1734
1721
|
left: N,
|
|
1735
1722
|
duration: 300
|
|
1736
1723
|
});
|
|
1737
|
-
},
|
|
1724
|
+
}, v = () => {
|
|
1738
1725
|
n.fullHeight || !t.value || !s.value || s.value && t.value && t.value.children.length > 0 && (s.value.style.height = t.value.children[0].scrollHeight + "px");
|
|
1739
|
-
}, z = (
|
|
1740
|
-
t.value && (t.value.style.left =
|
|
1741
|
-
}, T = ({ left:
|
|
1726
|
+
}, z = (B) => {
|
|
1727
|
+
t.value && (t.value.style.left = B + "px");
|
|
1728
|
+
}, T = ({ left: B = 0, duration: b = 1e3 }) => {
|
|
1742
1729
|
if (!t.value) return;
|
|
1743
1730
|
F();
|
|
1744
|
-
let N = { left: c.value }, H = { left:
|
|
1731
|
+
let N = { left: c.value }, H = { left: B };
|
|
1745
1732
|
l.value = new ge.Tween(N).to(H, b).delay(0).easing(ge.Easing.Quadratic.Out).onUpdate(function(U) {
|
|
1746
1733
|
const j = parseInt(U.left);
|
|
1747
1734
|
z(j);
|
|
@@ -1749,38 +1736,38 @@ const ga = M({
|
|
|
1749
1736
|
const j = parseInt(U.left);
|
|
1750
1737
|
window.cancelAnimationFrame(d.value), d.value = null, z(j);
|
|
1751
1738
|
}).start(), G();
|
|
1752
|
-
}, G = (
|
|
1753
|
-
d.value = window.requestAnimationFrame(G), ge.update(
|
|
1739
|
+
}, G = (B) => {
|
|
1740
|
+
d.value = window.requestAnimationFrame(G), ge.update(B);
|
|
1754
1741
|
}, F = () => {
|
|
1755
1742
|
l.value && l.value.stop && (l.value.stop(), l.value = null);
|
|
1756
|
-
}, ee = (
|
|
1757
|
-
if (
|
|
1758
|
-
const N =
|
|
1759
|
-
if ((H > U || H < -U) && N === 0 ||
|
|
1743
|
+
}, ee = (B) => {
|
|
1744
|
+
if (B = B.srcEvent || B, !(B && (B.wheelDelta || B.deltaX))) return;
|
|
1745
|
+
const N = B.deltaX, H = B.deltaY, U = 2;
|
|
1746
|
+
if ((H > U || H < -U) && N === 0 || B.ctrlKey)
|
|
1760
1747
|
return;
|
|
1761
|
-
|
|
1748
|
+
B.preventDefault();
|
|
1762
1749
|
const j = p();
|
|
1763
|
-
j &&
|
|
1764
|
-
}, K = (
|
|
1750
|
+
j && C(j, N);
|
|
1751
|
+
}, K = (B) => {
|
|
1765
1752
|
const b = p();
|
|
1766
|
-
b &&
|
|
1753
|
+
b && C(b, B);
|
|
1767
1754
|
}, ye = () => {
|
|
1768
|
-
m.value = void 0, k.value = void 0,
|
|
1769
|
-
}, De = (
|
|
1770
|
-
const b =
|
|
1771
|
-
b !== 0 && (m.value =
|
|
1772
|
-
}, fe = (
|
|
1773
|
-
m.value =
|
|
1774
|
-
}, te = (
|
|
1775
|
-
const b = Math.abs(
|
|
1755
|
+
m.value = void 0, k.value = void 0, g.value = 0, h.value = 0;
|
|
1756
|
+
}, De = (B) => {
|
|
1757
|
+
const b = B.center.x - m.value.x;
|
|
1758
|
+
b !== 0 && (m.value = B.center, K(-b));
|
|
1759
|
+
}, fe = (B) => {
|
|
1760
|
+
m.value = B.center;
|
|
1761
|
+
}, te = (B) => {
|
|
1762
|
+
const b = Math.abs(B.velocityX);
|
|
1776
1763
|
if (b <= 0.02) return;
|
|
1777
|
-
const N =
|
|
1764
|
+
const N = B.distance, H = B.direction === 2 ? -1 : 1, U = p(), j = U.left;
|
|
1778
1765
|
c.value = j;
|
|
1779
1766
|
const W = -U.width, ne = 0;
|
|
1780
1767
|
let ue = j + H * N * b;
|
|
1781
|
-
j === W &&
|
|
1782
|
-
}, re = (
|
|
1783
|
-
ce(() => t.value, (
|
|
1768
|
+
j === W && B.direction === 2 || j === ne && B.direction === 4 || (ue = ue < W ? W : ue, ue = ue > 0 ? 0 : ue, T({ left: ue }));
|
|
1769
|
+
}, re = (B) => F();
|
|
1770
|
+
ce(() => t.value, (B) => v());
|
|
1784
1771
|
const ze = () => {
|
|
1785
1772
|
f || (f = new Mt(s.value, {
|
|
1786
1773
|
recognizers: [
|
|
@@ -1788,7 +1775,7 @@ const ga = M({
|
|
|
1788
1775
|
[Hammer.Pan, { pointers: 0 }],
|
|
1789
1776
|
[Hammer.Swipe, { direction: Hammer.DIRECTION_HORIZONTAL }]
|
|
1790
1777
|
]
|
|
1791
|
-
}),
|
|
1778
|
+
}), V = f.manager, f.on({
|
|
1792
1779
|
swipe: te,
|
|
1793
1780
|
// swipeleft: onSwipe,
|
|
1794
1781
|
// swiperight: onSwipe,
|
|
@@ -1799,21 +1786,21 @@ const ga = M({
|
|
|
1799
1786
|
tap: re,
|
|
1800
1787
|
pointerdown: re
|
|
1801
1788
|
}), E(), we(() => {
|
|
1802
|
-
const
|
|
1803
|
-
s.value && (s.value.addEventListener("touchstart", F,
|
|
1789
|
+
const B = { passive: !0 };
|
|
1790
|
+
s.value && (s.value.addEventListener("touchstart", F, B), s.value.addEventListener("mousedown", F, B));
|
|
1804
1791
|
try {
|
|
1805
|
-
const b =
|
|
1792
|
+
const b = V.get("tap");
|
|
1806
1793
|
b && b.set({
|
|
1807
1794
|
enable: !0
|
|
1808
1795
|
});
|
|
1809
1796
|
} catch {
|
|
1810
1797
|
}
|
|
1811
1798
|
try {
|
|
1812
|
-
const b =
|
|
1799
|
+
const b = V.get("swipe");
|
|
1813
1800
|
b && b.recognizeWith("pan");
|
|
1814
1801
|
} catch {
|
|
1815
1802
|
}
|
|
1816
|
-
|
|
1803
|
+
v(), E();
|
|
1817
1804
|
}), a("resize", $));
|
|
1818
1805
|
};
|
|
1819
1806
|
return J(() => {
|
|
@@ -1824,7 +1811,7 @@ const ga = M({
|
|
|
1824
1811
|
});
|
|
1825
1812
|
} catch {
|
|
1826
1813
|
}
|
|
1827
|
-
}), Me(() => i.value = !1), (
|
|
1814
|
+
}), Me(() => i.value = !1), (B, b) => {
|
|
1828
1815
|
const N = A("q-resize-observer");
|
|
1829
1816
|
return _(), se("div", {
|
|
1830
1817
|
class: Y(["c-horizontal-scroller", { "full-height": e.fullHeight }]),
|
|
@@ -1847,7 +1834,7 @@ const ga = M({
|
|
|
1847
1834
|
ref: t
|
|
1848
1835
|
}, [
|
|
1849
1836
|
D(N, { onResize: $ }),
|
|
1850
|
-
I(
|
|
1837
|
+
I(B.$slots, "default")
|
|
1851
1838
|
], 2)
|
|
1852
1839
|
], 512)
|
|
1853
1840
|
], 2);
|
|
@@ -1993,7 +1980,7 @@ const ga = M({
|
|
|
1993
1980
|
emits: ["input"],
|
|
1994
1981
|
setup(e, { slots: a, emit: n }) {
|
|
1995
1982
|
let t;
|
|
1996
|
-
const o = y(null), s = y(null), c = y(null), i = y(null), l = y(!1), d = y(0), m = y(0),
|
|
1983
|
+
const o = y(null), s = y(null), c = y(null), i = y(null), l = y(!1), d = y(0), m = y(0), g = y(null), h = y(null), k = y(0), f = y(0), V = u(() => e.knobSize * 0.8 + "px"), p = u(() => {
|
|
1997
1984
|
const b = e.knobSize + "px", N = -e.knobSize / 2 + "px";
|
|
1998
1985
|
return {
|
|
1999
1986
|
width: b,
|
|
@@ -2001,7 +1988,7 @@ const ga = M({
|
|
|
2001
1988
|
lineHeight: "62px",
|
|
2002
1989
|
transform: "translateY(" + N + ") translateX(" + N + ")"
|
|
2003
1990
|
};
|
|
2004
|
-
}),
|
|
1991
|
+
}), C = u(() => e.height === 0 || e.width === 0 ? {
|
|
2005
1992
|
bottom: 0,
|
|
2006
1993
|
right: 0,
|
|
2007
1994
|
zIndex: 1e8
|
|
@@ -2022,7 +2009,7 @@ const ga = M({
|
|
|
2022
2009
|
function E() {
|
|
2023
2010
|
n("input", { x: k.value, y: f.value });
|
|
2024
2011
|
}
|
|
2025
|
-
const
|
|
2012
|
+
const v = (b, N) => (b < N ? -1 : 1) * Math.ceil(1), z = (b) => {
|
|
2026
2013
|
const N = o.value.getBoundingClientRect();
|
|
2027
2014
|
let H = b.x - N.left;
|
|
2028
2015
|
const U = e.knobSize / 2 + 1, j = N.width - U + 2;
|
|
@@ -2075,20 +2062,20 @@ const ga = M({
|
|
|
2075
2062
|
y: d.value / 2
|
|
2076
2063
|
}, H = b.center, U = o.value.getBoundingClientRect(), j = { top: H.y - U.top, left: H.x - U.left }, W = 15;
|
|
2077
2064
|
if (j.top < W || j.top > U.height - W || j.left < W || j.left > U.width - W) {
|
|
2078
|
-
F(), clearInterval(
|
|
2065
|
+
F(), clearInterval(g.value), g.value = null;
|
|
2079
2066
|
return;
|
|
2080
2067
|
}
|
|
2081
2068
|
const ne = z(H);
|
|
2082
|
-
s.value.style.left = ne.x - 1 + "px", s.value.style.top = ne.y - 1 + "px", k.value =
|
|
2069
|
+
s.value.style.left = ne.x - 1 + "px", s.value.style.top = ne.y - 1 + "px", k.value = v(ne.x, N.x), f.value = v(ne.y, N.y);
|
|
2083
2070
|
};
|
|
2084
2071
|
function De(b) {
|
|
2085
|
-
b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), F(), clearInterval(
|
|
2072
|
+
b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), F(), clearInterval(g.value), g.value = null;
|
|
2086
2073
|
}
|
|
2087
2074
|
function fe(b) {
|
|
2088
|
-
b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), F(), clearInterval(
|
|
2075
|
+
b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), F(), clearInterval(g.value), g.value = null;
|
|
2089
2076
|
}
|
|
2090
2077
|
function te(b) {
|
|
2091
|
-
b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), k.value = 0, f.value = 0,
|
|
2078
|
+
b.srcEvent.stopPropagation(), b.srcEvent.stopImmediatePropagation(), k.value = 0, f.value = 0, g.value && clearInterval(g.value), g.value = setInterval(E, 20);
|
|
2092
2079
|
}
|
|
2093
2080
|
function re() {
|
|
2094
2081
|
t || (t = new Mt(o.value, {
|
|
@@ -2122,7 +2109,7 @@ const ga = M({
|
|
|
2122
2109
|
{
|
|
2123
2110
|
class: "c-navigator",
|
|
2124
2111
|
ref: c,
|
|
2125
|
-
style:
|
|
2112
|
+
style: C.value
|
|
2126
2113
|
},
|
|
2127
2114
|
r(
|
|
2128
2115
|
"div",
|
|
@@ -2131,16 +2118,16 @@ const ga = M({
|
|
|
2131
2118
|
ref: s,
|
|
2132
2119
|
style: p.value
|
|
2133
2120
|
},
|
|
2134
|
-
r(qe, { name: Dn, size:
|
|
2121
|
+
r(qe, { name: Dn, size: V.value })
|
|
2135
2122
|
)
|
|
2136
2123
|
)
|
|
2137
2124
|
), b;
|
|
2138
2125
|
}
|
|
2139
|
-
function
|
|
2126
|
+
function B() {
|
|
2140
2127
|
const N = {
|
|
2141
2128
|
class: ["c-navigator-hitarea", e.dark && "dark"],
|
|
2142
2129
|
ref: o,
|
|
2143
|
-
style:
|
|
2130
|
+
style: C.value
|
|
2144
2131
|
};
|
|
2145
2132
|
return r(
|
|
2146
2133
|
ie,
|
|
@@ -2148,7 +2135,7 @@ const ga = M({
|
|
|
2148
2135
|
() => R(r("div", N, ze()), [[O, e.show]])
|
|
2149
2136
|
);
|
|
2150
2137
|
}
|
|
2151
|
-
return () =>
|
|
2138
|
+
return () => B();
|
|
2152
2139
|
}
|
|
2153
2140
|
}), Sa = M({
|
|
2154
2141
|
name: "COverlayLoader",
|
|
@@ -2161,31 +2148,31 @@ const ga = M({
|
|
|
2161
2148
|
},
|
|
2162
2149
|
setup(e, { slots: a, emit: n }) {
|
|
2163
2150
|
const { progress: t } = un(e), o = u(() => {
|
|
2164
|
-
let
|
|
2165
|
-
return e.fade && (t.value <= 10 ?
|
|
2166
|
-
opacity:
|
|
2151
|
+
let V = 1;
|
|
2152
|
+
return e.fade && (t.value <= 10 ? V = t.value / 5 : t.value >= 90 ? V = (100 - t.value) / 10 : V = 1), {
|
|
2153
|
+
opacity: V,
|
|
2167
2154
|
transition: "opacity 0.4s ease"
|
|
2168
2155
|
};
|
|
2169
2156
|
}), s = u(() => {
|
|
2170
2157
|
const p = Math.min(100, Math.max(0, t.value)) / 100 * 360;
|
|
2171
2158
|
if (p === 0) return "";
|
|
2172
|
-
const
|
|
2159
|
+
const C = 50, $ = -90, E = $ + p, v = c(C, C, C, E), z = c(C, C, C, $), T = p > 180 ? 1 : 0;
|
|
2173
2160
|
return [
|
|
2174
|
-
`M ${
|
|
2161
|
+
`M ${C} ${C}`,
|
|
2175
2162
|
// Move to center
|
|
2176
2163
|
`L ${z.x} ${z.y}`,
|
|
2177
2164
|
// Line to start
|
|
2178
|
-
`A ${
|
|
2165
|
+
`A ${C} ${C} 0 ${T} 1 ${v.x} ${v.y}`,
|
|
2179
2166
|
// Arc to end
|
|
2180
2167
|
"Z"
|
|
2181
2168
|
// Close path
|
|
2182
2169
|
].join(" ");
|
|
2183
2170
|
});
|
|
2184
|
-
function c(
|
|
2171
|
+
function c(V, p, C, $) {
|
|
2185
2172
|
const E = $ * Math.PI / 180;
|
|
2186
2173
|
return {
|
|
2187
|
-
x:
|
|
2188
|
-
y: p +
|
|
2174
|
+
x: V + C * Math.cos(E),
|
|
2175
|
+
y: p + C * Math.sin(E)
|
|
2189
2176
|
};
|
|
2190
2177
|
}
|
|
2191
2178
|
const i = u(() => ({ width: e.size, height: e.size })), l = u(() => ({
|
|
@@ -2196,14 +2183,14 @@ const ga = M({
|
|
|
2196
2183
|
viewBox: "0 0 100 100",
|
|
2197
2184
|
preserveAspectRatio: "xMidYMid meet",
|
|
2198
2185
|
style: o.value
|
|
2199
|
-
})), m = { cx: 50, cy: 50, r: 50, fill: "white" },
|
|
2186
|
+
})), m = { cx: 50, cy: 50, r: 50, fill: "white" }, g = {
|
|
2200
2187
|
x: 0,
|
|
2201
2188
|
y: 0,
|
|
2202
2189
|
width: 100,
|
|
2203
2190
|
height: 100,
|
|
2204
2191
|
fill: "white"
|
|
2205
2192
|
}, h = u(() => ({
|
|
2206
|
-
...
|
|
2193
|
+
...g,
|
|
2207
2194
|
fill: e.overlayColor,
|
|
2208
2195
|
mask: "url(#pie-mask)"
|
|
2209
2196
|
})), k = u(() => ({
|
|
@@ -2211,12 +2198,12 @@ const ga = M({
|
|
|
2211
2198
|
fill: "black"
|
|
2212
2199
|
}));
|
|
2213
2200
|
function f() {
|
|
2214
|
-
var
|
|
2201
|
+
var V;
|
|
2215
2202
|
return r("div", l.value, [
|
|
2216
2203
|
r(
|
|
2217
2204
|
"div",
|
|
2218
2205
|
{ class: "c-overlay-loader-content" },
|
|
2219
|
-
((
|
|
2206
|
+
((V = a.default) == null ? void 0 : V.call(a)) || []
|
|
2220
2207
|
),
|
|
2221
2208
|
r("svg", d.value, [
|
|
2222
2209
|
r("defs", {}, [
|
|
@@ -2473,30 +2460,30 @@ function Dt(e) {
|
|
|
2473
2460
|
}
|
|
2474
2461
|
var oo = "Expected a function", lo = Math.max, so = Math.min;
|
|
2475
2462
|
function Qe(e, a, n) {
|
|
2476
|
-
var t, o, s, c, i, l, d = 0, m = !1,
|
|
2463
|
+
var t, o, s, c, i, l, d = 0, m = !1, g = !1, h = !0;
|
|
2477
2464
|
if (typeof e != "function")
|
|
2478
2465
|
throw new TypeError(oo);
|
|
2479
|
-
a = Dt(a) || 0, tt(n) && (m = !!n.leading,
|
|
2466
|
+
a = Dt(a) || 0, tt(n) && (m = !!n.leading, g = "maxWait" in n, s = g ? lo(Dt(n.maxWait) || 0, a) : s, h = "trailing" in n ? !!n.trailing : h);
|
|
2480
2467
|
function k(T) {
|
|
2481
2468
|
var G = t, F = o;
|
|
2482
2469
|
return t = o = void 0, d = T, c = e.apply(F, G), c;
|
|
2483
2470
|
}
|
|
2484
2471
|
function f(T) {
|
|
2485
|
-
return d = T, i = setTimeout(
|
|
2472
|
+
return d = T, i = setTimeout(C, a), m ? k(T) : c;
|
|
2486
2473
|
}
|
|
2487
|
-
function
|
|
2474
|
+
function V(T) {
|
|
2488
2475
|
var G = T - l, F = T - d, ee = a - G;
|
|
2489
|
-
return
|
|
2476
|
+
return g ? so(ee, s - F) : ee;
|
|
2490
2477
|
}
|
|
2491
2478
|
function p(T) {
|
|
2492
2479
|
var G = T - l, F = T - d;
|
|
2493
|
-
return l === void 0 || G >= a || G < 0 ||
|
|
2480
|
+
return l === void 0 || G >= a || G < 0 || g && F >= s;
|
|
2494
2481
|
}
|
|
2495
|
-
function
|
|
2482
|
+
function C() {
|
|
2496
2483
|
var T = Ze();
|
|
2497
2484
|
if (p(T))
|
|
2498
2485
|
return $(T);
|
|
2499
|
-
i = setTimeout(
|
|
2486
|
+
i = setTimeout(C, V(T));
|
|
2500
2487
|
}
|
|
2501
2488
|
function $(T) {
|
|
2502
2489
|
return i = void 0, h && t ? k(T) : (t = o = void 0, c);
|
|
@@ -2504,7 +2491,7 @@ function Qe(e, a, n) {
|
|
|
2504
2491
|
function E() {
|
|
2505
2492
|
i !== void 0 && clearTimeout(i), d = 0, t = l = o = i = void 0;
|
|
2506
2493
|
}
|
|
2507
|
-
function
|
|
2494
|
+
function v() {
|
|
2508
2495
|
return i === void 0 ? c : $(Ze());
|
|
2509
2496
|
}
|
|
2510
2497
|
function z() {
|
|
@@ -2512,12 +2499,12 @@ function Qe(e, a, n) {
|
|
|
2512
2499
|
if (t = arguments, o = this, l = T, G) {
|
|
2513
2500
|
if (i === void 0)
|
|
2514
2501
|
return f(l);
|
|
2515
|
-
if (
|
|
2516
|
-
return clearTimeout(i), i = setTimeout(
|
|
2502
|
+
if (g)
|
|
2503
|
+
return clearTimeout(i), i = setTimeout(C, a), k(l);
|
|
2517
2504
|
}
|
|
2518
|
-
return i === void 0 && (i = setTimeout(
|
|
2505
|
+
return i === void 0 && (i = setTimeout(C, a)), c;
|
|
2519
2506
|
}
|
|
2520
|
-
return z.cancel = E, z.flush =
|
|
2507
|
+
return z.cancel = E, z.flush = v, z;
|
|
2521
2508
|
}
|
|
2522
2509
|
const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative" } }, ro = {
|
|
2523
2510
|
key: 0,
|
|
@@ -2568,7 +2555,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2568
2555
|
color: "rgba(255, 255, 255, 0.6)"
|
|
2569
2556
|
} : {
|
|
2570
2557
|
color: "#333333"
|
|
2571
|
-
}),
|
|
2558
|
+
}), g = Qe(
|
|
2572
2559
|
() => {
|
|
2573
2560
|
t("blockAccess", n.access);
|
|
2574
2561
|
},
|
|
@@ -2579,7 +2566,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2579
2566
|
() => n.modelValue,
|
|
2580
2567
|
(h) => {
|
|
2581
2568
|
!n.hasAccess && h !== o.value && (setTimeout(() => {
|
|
2582
|
-
|
|
2569
|
+
g();
|
|
2583
2570
|
}, 400), setTimeout(() => {
|
|
2584
2571
|
t("update:modelValue", o.value);
|
|
2585
2572
|
}, 1e3));
|
|
@@ -2587,12 +2574,12 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2587
2574
|
), J(() => {
|
|
2588
2575
|
o.value = n.initial ? n.initial : n.modelValue;
|
|
2589
2576
|
}), (h, k) => {
|
|
2590
|
-
const f = A("q-icon"),
|
|
2577
|
+
const f = A("q-icon"), V = A("q-item-section"), p = A("q-slider"), C = A("q-avatar"), $ = A("q-btn"), E = A("q-item");
|
|
2591
2578
|
return _(), L(E, {
|
|
2592
2579
|
class: Y(["c-slider", { "no-icons": e.noIcons, dark: e.dark }])
|
|
2593
2580
|
}, {
|
|
2594
2581
|
default: S(() => [
|
|
2595
|
-
!e.noIcons && e.icon ? (_(), L(
|
|
2582
|
+
!e.noIcons && e.icon ? (_(), L(V, {
|
|
2596
2583
|
key: 0,
|
|
2597
2584
|
side: "",
|
|
2598
2585
|
class: "c-slider-left-icon"
|
|
@@ -2606,7 +2593,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2606
2593
|
]),
|
|
2607
2594
|
_: 1
|
|
2608
2595
|
})) : le("", !0),
|
|
2609
|
-
D(
|
|
2596
|
+
D(V, { style: { position: "relative" } }, {
|
|
2610
2597
|
default: S(() => [
|
|
2611
2598
|
e.title ? (_(), se("div", {
|
|
2612
2599
|
key: 0,
|
|
@@ -2623,7 +2610,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2623
2610
|
min: e.min,
|
|
2624
2611
|
step: e.step,
|
|
2625
2612
|
modelValue: i.value,
|
|
2626
|
-
"onUpdate:modelValue": k[0] || (k[0] = (
|
|
2613
|
+
"onUpdate:modelValue": k[0] || (k[0] = (v) => i.value = v),
|
|
2627
2614
|
disable: e.disable
|
|
2628
2615
|
}, null, 8, ["max", "min", "step", "modelValue", "disable"]),
|
|
2629
2616
|
d.value ? (_(), se("div", ro, [
|
|
@@ -2636,7 +2623,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2636
2623
|
]),
|
|
2637
2624
|
_: 1
|
|
2638
2625
|
}),
|
|
2639
|
-
d.value && !e.noIcons ? (_(), L(
|
|
2626
|
+
d.value && !e.noIcons ? (_(), L(V, {
|
|
2640
2627
|
key: 1,
|
|
2641
2628
|
side: "",
|
|
2642
2629
|
class: "c-slider-right-icon"
|
|
@@ -2645,14 +2632,14 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2645
2632
|
D($, {
|
|
2646
2633
|
round: "",
|
|
2647
2634
|
size: "xs",
|
|
2648
|
-
onClick: k[1] || (k[1] = (
|
|
2635
|
+
onClick: k[1] || (k[1] = (v) => i.value = e.initial),
|
|
2649
2636
|
style: pe(m.value),
|
|
2650
2637
|
disabled: e.initial === i.value,
|
|
2651
2638
|
flat: "",
|
|
2652
2639
|
"data-cy": `c-slider-reset-${Z(Ce)(e.title)}`
|
|
2653
2640
|
}, {
|
|
2654
2641
|
default: S(() => [
|
|
2655
|
-
D(
|
|
2642
|
+
D(C, { size: "18px" }, {
|
|
2656
2643
|
default: S(() => [
|
|
2657
2644
|
D(f, {
|
|
2658
2645
|
name: s.value,
|
|
@@ -2719,7 +2706,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2719
2706
|
), J(() => {
|
|
2720
2707
|
o.value = n.modelValue;
|
|
2721
2708
|
}), (l, d) => {
|
|
2722
|
-
const m = A("q-item-label"),
|
|
2709
|
+
const m = A("q-item-label"), g = A("q-item-section"), h = A("q-toggle"), k = A("q-item");
|
|
2723
2710
|
return _(), L(k, {
|
|
2724
2711
|
class: Y(["c-toggle", { full: !e.drawer, dark: e.dark }]),
|
|
2725
2712
|
tag: "label",
|
|
@@ -2727,7 +2714,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2727
2714
|
"data-cy": `c-toggle-${Z(Ce)(e.label)}`
|
|
2728
2715
|
}, {
|
|
2729
2716
|
default: S(() => [
|
|
2730
|
-
D(
|
|
2717
|
+
D(g, null, {
|
|
2731
2718
|
default: S(() => [
|
|
2732
2719
|
D(m, { class: "c-toggle-title unselectable" }, {
|
|
2733
2720
|
default: S(() => [
|
|
@@ -2738,7 +2725,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2738
2725
|
]),
|
|
2739
2726
|
_: 1
|
|
2740
2727
|
}),
|
|
2741
|
-
D(
|
|
2728
|
+
D(g, { side: "" }, {
|
|
2742
2729
|
default: S(() => [
|
|
2743
2730
|
D(h, {
|
|
2744
2731
|
color: "primary",
|
|
@@ -2830,7 +2817,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2830
2817
|
set: (k) => n("update:modelValue", k)
|
|
2831
2818
|
}), c = u(() => _e[e.type].access), i = u(() => _e[e.type].icon), l = u(() => _e[e.type].max), d = u(() => _e[e.type].min), m = u(
|
|
2832
2819
|
() => _e[e.type].initial || e.initial
|
|
2833
|
-
),
|
|
2820
|
+
), g = u(
|
|
2834
2821
|
() => {
|
|
2835
2822
|
var k;
|
|
2836
2823
|
return e.noIcons ? null : (k = t.value.controls) == null ? void 0 : k[e.type].title;
|
|
@@ -2855,7 +2842,7 @@ const co = ["innerHTML"], io = { style: { margin: "0 10px", position: "relative"
|
|
|
2855
2842
|
initial: m.value,
|
|
2856
2843
|
max: l.value,
|
|
2857
2844
|
min: d.value,
|
|
2858
|
-
title:
|
|
2845
|
+
title: g.value,
|
|
2859
2846
|
dark: e.dark,
|
|
2860
2847
|
disable: e.disable,
|
|
2861
2848
|
hasAccess: e.hasAccess,
|
|
@@ -3257,7 +3244,7 @@ const ko = M({
|
|
|
3257
3244
|
}, f = {
|
|
3258
3245
|
class: "c-slider-indicator-tick",
|
|
3259
3246
|
style: s.value
|
|
3260
|
-
},
|
|
3247
|
+
}, V = r(
|
|
3261
3248
|
kn,
|
|
3262
3249
|
k,
|
|
3263
3250
|
() => e.resetable ? r(
|
|
@@ -3267,7 +3254,7 @@ const ko = M({
|
|
|
3267
3254
|
) : []
|
|
3268
3255
|
);
|
|
3269
3256
|
return h.push(
|
|
3270
|
-
r("div", { style: "margin: 0 10px; position: relative" },
|
|
3257
|
+
r("div", { style: "margin: 0 10px; position: relative" }, V)
|
|
3271
3258
|
), r(Le, { style: "position: relative" }, () => h);
|
|
3272
3259
|
}
|
|
3273
3260
|
function m() {
|
|
@@ -3292,7 +3279,7 @@ const ko = M({
|
|
|
3292
3279
|
)
|
|
3293
3280
|
), r(Le, { style: "position: relative" }, () => h);
|
|
3294
3281
|
}
|
|
3295
|
-
function
|
|
3282
|
+
function g() {
|
|
3296
3283
|
const h = {
|
|
3297
3284
|
class: [
|
|
3298
3285
|
"c-slider",
|
|
@@ -3306,7 +3293,7 @@ const ko = M({
|
|
|
3306
3293
|
}, k = [l(), d(), m()];
|
|
3307
3294
|
return r(qt, h, () => k);
|
|
3308
3295
|
}
|
|
3309
|
-
return () =>
|
|
3296
|
+
return () => g();
|
|
3310
3297
|
}
|
|
3311
3298
|
}), Jt = M({
|
|
3312
3299
|
name: "CToggle",
|
|
@@ -3363,7 +3350,7 @@ const ko = M({
|
|
|
3363
3350
|
}, d = {
|
|
3364
3351
|
color: "primary",
|
|
3365
3352
|
modelValue: s.value,
|
|
3366
|
-
"onUpdate:modelValue": (
|
|
3353
|
+
"onUpdate:modelValue": (g) => s.value = g,
|
|
3367
3354
|
size: "xs",
|
|
3368
3355
|
disable: e.disable
|
|
3369
3356
|
}, m = { class: "c-toggle-title unselectable" };
|
|
@@ -3403,33 +3390,33 @@ const ko = M({
|
|
|
3403
3390
|
"blockAccess"
|
|
3404
3391
|
],
|
|
3405
3392
|
setup(e, { slots: a, emit: n }) {
|
|
3406
|
-
const t = Ve(), { lang: o } = X(), s = y(t.platform.is.desktop), c = "M50.7574 28L34.1404 11.383C33.5546 10.7972 33.5546 9.84745 34.1404 9.26167C34.7261 8.67588 35.6759 8.67588 36.2617 9.26167L55 28L36.2617 46.7383C35.6759 47.3241 34.7261 47.3241 34.1403 46.7383C33.5546 46.1525 33.5546 45.2028 34.1403 44.617L50.7574 28zM5.24264 28L21.8596 44.617C22.4454 45.2028 22.4454 46.1525 21.8596 46.7383C21.2739 47.3241 20.3241 47.3241 19.7383 46.7383L0.999999 28L19.7383 9.26167C20.3241 8.67588 21.2739 8.67588 21.8596 9.26167C22.4454 9.84745 22.4454 10.7972 21.8596 11.383L5.24264 28Z|0 0 56 56", i = "M28 5.24264L11.383 21.8596C10.7972 22.4454 9.84746 22.4454 9.26167 21.8596C8.67588 21.2739 8.67588 20.3241 9.26167 19.7383L28 1L46.7383 19.7383C47.3241 20.3241 47.3241 21.2739 46.7383 21.8597C46.1525 22.4454 45.2028 22.4454 44.617 21.8597L28 5.24264zM28 50.7574L44.617 34.1404C45.2028 33.5546 46.1525 33.5546 46.7383 34.1404C47.3241 34.7261 47.3241 35.6759 46.7383 36.2617L28 55L9.26167 36.2617C8.67588 35.6759 8.67588 34.7261 9.26167 34.1404C9.84745 33.5546 10.7972 33.5546 11.383 34.1404L28 50.7574Z|0 0 56 56", l = (
|
|
3393
|
+
const t = Ve(), { lang: o } = X(), s = y(t.platform.is.desktop), c = "M50.7574 28L34.1404 11.383C33.5546 10.7972 33.5546 9.84745 34.1404 9.26167C34.7261 8.67588 35.6759 8.67588 36.2617 9.26167L55 28L36.2617 46.7383C35.6759 47.3241 34.7261 47.3241 34.1403 46.7383C33.5546 46.1525 33.5546 45.2028 34.1403 44.617L50.7574 28zM5.24264 28L21.8596 44.617C22.4454 45.2028 22.4454 46.1525 21.8596 46.7383C21.2739 47.3241 20.3241 47.3241 19.7383 46.7383L0.999999 28L19.7383 9.26167C20.3241 8.67588 21.2739 8.67588 21.8596 9.26167C22.4454 9.84745 22.4454 10.7972 21.8596 11.383L5.24264 28Z|0 0 56 56", i = "M28 5.24264L11.383 21.8596C10.7972 22.4454 9.84746 22.4454 9.26167 21.8596C8.67588 21.2739 8.67588 20.3241 9.26167 19.7383L28 1L46.7383 19.7383C47.3241 20.3241 47.3241 21.2739 46.7383 21.8597C46.1525 22.4454 45.2028 22.4454 44.617 21.8597L28 5.24264zM28 50.7574L44.617 34.1404C45.2028 33.5546 46.1525 33.5546 46.7383 34.1404C47.3241 34.7261 47.3241 35.6759 46.7383 36.2617L28 55L9.26167 36.2617C8.67588 35.6759 8.67588 34.7261 9.26167 34.1404C9.84745 33.5546 10.7972 33.5546 11.383 34.1404L28 50.7574Z|0 0 56 56", l = (v) => n("blockAccess", v), d = u({
|
|
3407
3394
|
get: () => e.show,
|
|
3408
|
-
set: (
|
|
3395
|
+
set: (v) => n("update:show", v)
|
|
3409
3396
|
}), m = u({
|
|
3410
3397
|
get: () => e.horizontal,
|
|
3411
|
-
set: (
|
|
3412
|
-
}),
|
|
3398
|
+
set: (v) => n("update:horizontal", v)
|
|
3399
|
+
}), g = u({
|
|
3413
3400
|
get: () => e.modelValue,
|
|
3414
|
-
set: (
|
|
3401
|
+
set: (v) => n("update:modelValue", v)
|
|
3415
3402
|
}), h = u({
|
|
3416
3403
|
get: () => e.vertical,
|
|
3417
|
-
set: (
|
|
3404
|
+
set: (v) => n("update:vertical", v)
|
|
3418
3405
|
}), k = u(() => {
|
|
3419
|
-
var
|
|
3420
|
-
return (
|
|
3406
|
+
var v;
|
|
3407
|
+
return (v = o.value.controls) == null ? void 0 : v.grid.horizontal;
|
|
3421
3408
|
}), f = u(() => {
|
|
3422
|
-
var
|
|
3423
|
-
return o.value.controls ? d.value ? (
|
|
3424
|
-
}),
|
|
3425
|
-
var
|
|
3426
|
-
return (
|
|
3409
|
+
var v, z;
|
|
3410
|
+
return o.value.controls ? d.value ? (v = o.value.controls) == null ? void 0 : v.grid.off : (z = o.value.controls) == null ? void 0 : z.grid.on : "";
|
|
3411
|
+
}), V = u(() => {
|
|
3412
|
+
var v;
|
|
3413
|
+
return (v = o.value.controls) == null ? void 0 : v.grid.spacing;
|
|
3427
3414
|
}), p = u(() => {
|
|
3428
|
-
var
|
|
3429
|
-
return (
|
|
3415
|
+
var v;
|
|
3416
|
+
return (v = o.value.controls) == null ? void 0 : v.grid.vertical;
|
|
3430
3417
|
});
|
|
3431
|
-
function
|
|
3432
|
-
const
|
|
3418
|
+
function C() {
|
|
3419
|
+
const v = {
|
|
3433
3420
|
access: "grd",
|
|
3434
3421
|
drawer: !e.noIcons,
|
|
3435
3422
|
modelValue: d.value,
|
|
@@ -3440,10 +3427,10 @@ const ko = M({
|
|
|
3440
3427
|
hasAccess: e.hasAccess,
|
|
3441
3428
|
onBlockAccess: l
|
|
3442
3429
|
};
|
|
3443
|
-
return r(Jt,
|
|
3430
|
+
return r(Jt, v);
|
|
3444
3431
|
}
|
|
3445
3432
|
function $() {
|
|
3446
|
-
const
|
|
3433
|
+
const v = [], z = {
|
|
3447
3434
|
color: "primary",
|
|
3448
3435
|
noIcons: e.noIcons,
|
|
3449
3436
|
dark: e.dark,
|
|
@@ -3458,11 +3445,11 @@ const ko = M({
|
|
|
3458
3445
|
initial: 100,
|
|
3459
3446
|
max: 150,
|
|
3460
3447
|
min: 50,
|
|
3461
|
-
title:
|
|
3462
|
-
modelValue:
|
|
3463
|
-
"onUpdate:modelValue": (K) =>
|
|
3448
|
+
title: V.value,
|
|
3449
|
+
modelValue: g.value,
|
|
3450
|
+
"onUpdate:modelValue": (K) => g.value = K
|
|
3464
3451
|
};
|
|
3465
|
-
|
|
3452
|
+
v.push(r($e, G));
|
|
3466
3453
|
const F = {
|
|
3467
3454
|
...z,
|
|
3468
3455
|
...T,
|
|
@@ -3471,7 +3458,7 @@ const ko = M({
|
|
|
3471
3458
|
modelValue: m.value,
|
|
3472
3459
|
"onUpdate:modelValue": (K) => m.value = K
|
|
3473
3460
|
};
|
|
3474
|
-
|
|
3461
|
+
v.push(r($e, F));
|
|
3475
3462
|
const ee = {
|
|
3476
3463
|
...z,
|
|
3477
3464
|
...T,
|
|
@@ -3480,16 +3467,16 @@ const ko = M({
|
|
|
3480
3467
|
modelValue: h.value,
|
|
3481
3468
|
"onUpdate:modelValue": (K) => h.value = K
|
|
3482
3469
|
};
|
|
3483
|
-
return
|
|
3470
|
+
return v.push(r($e, ee)), s.value ? r(
|
|
3484
3471
|
st,
|
|
3485
3472
|
{},
|
|
3486
|
-
() => R(r("div", {},
|
|
3487
|
-
) : R(r("div", {},
|
|
3473
|
+
() => R(r("div", {}, v), [[O, e.show]])
|
|
3474
|
+
) : R(r("div", {}, v), [[O, e.show]]);
|
|
3488
3475
|
}
|
|
3489
3476
|
function E() {
|
|
3490
3477
|
return r("div", {
|
|
3491
3478
|
class: "c-grid-tool"
|
|
3492
|
-
}, [
|
|
3479
|
+
}, [C(), $()]);
|
|
3493
3480
|
}
|
|
3494
3481
|
return () => E();
|
|
3495
3482
|
}
|
|
@@ -3599,33 +3586,33 @@ const ko = M({
|
|
|
3599
3586
|
"blockAccess"
|
|
3600
3587
|
],
|
|
3601
3588
|
setup(e, { slots: a, emit: n }) {
|
|
3602
|
-
const t = Ve(), { lang: o } = X(), s = y(t.platform.is.desktop), c = "M50.7574 28L34.1404 11.383C33.5546 10.7972 33.5546 9.84745 34.1404 9.26167C34.7261 8.67588 35.6759 8.67588 36.2617 9.26167L55 28L36.2617 46.7383C35.6759 47.3241 34.7261 47.3241 34.1403 46.7383C33.5546 46.1525 33.5546 45.2028 34.1403 44.617L50.7574 28zM5.24264 28L21.8596 44.617C22.4454 45.2028 22.4454 46.1525 21.8596 46.7383C21.2739 47.3241 20.3241 47.3241 19.7383 46.7383L0.999999 28L19.7383 9.26167C20.3241 8.67588 21.2739 8.67588 21.8596 9.26167C22.4454 9.84745 22.4454 10.7972 21.8596 11.383L5.24264 28Z|0 0 56 56", i = "M28 5.24264L11.383 21.8596C10.7972 22.4454 9.84746 22.4454 9.26167 21.8596C8.67588 21.2739 8.67588 20.3241 9.26167 19.7383L28 1L46.7383 19.7383C47.3241 20.3241 47.3241 21.2739 46.7383 21.8597C46.1525 22.4454 45.2028 22.4454 44.617 21.8597L28 5.24264zM28 50.7574L44.617 34.1404C45.2028 33.5546 46.1525 33.5546 46.7383 34.1404C47.3241 34.7261 47.3241 35.6759 46.7383 36.2617L28 55L9.26167 36.2617C8.67588 35.6759 8.67588 34.7261 9.26167 34.1404C9.84745 33.5546 10.7972 33.5546 11.383 34.1404L28 50.7574Z|0 0 56 56", l = (
|
|
3589
|
+
const t = Ve(), { lang: o } = X(), s = y(t.platform.is.desktop), c = "M50.7574 28L34.1404 11.383C33.5546 10.7972 33.5546 9.84745 34.1404 9.26167C34.7261 8.67588 35.6759 8.67588 36.2617 9.26167L55 28L36.2617 46.7383C35.6759 47.3241 34.7261 47.3241 34.1403 46.7383C33.5546 46.1525 33.5546 45.2028 34.1403 44.617L50.7574 28zM5.24264 28L21.8596 44.617C22.4454 45.2028 22.4454 46.1525 21.8596 46.7383C21.2739 47.3241 20.3241 47.3241 19.7383 46.7383L0.999999 28L19.7383 9.26167C20.3241 8.67588 21.2739 8.67588 21.8596 9.26167C22.4454 9.84745 22.4454 10.7972 21.8596 11.383L5.24264 28Z|0 0 56 56", i = "M28 5.24264L11.383 21.8596C10.7972 22.4454 9.84746 22.4454 9.26167 21.8596C8.67588 21.2739 8.67588 20.3241 9.26167 19.7383L28 1L46.7383 19.7383C47.3241 20.3241 47.3241 21.2739 46.7383 21.8597C46.1525 22.4454 45.2028 22.4454 44.617 21.8597L28 5.24264zM28 50.7574L44.617 34.1404C45.2028 33.5546 46.1525 33.5546 46.7383 34.1404C47.3241 34.7261 47.3241 35.6759 46.7383 36.2617L28 55L9.26167 36.2617C8.67588 35.6759 8.67588 34.7261 9.26167 34.1404C9.84745 33.5546 10.7972 33.5546 11.383 34.1404L28 50.7574Z|0 0 56 56", l = (v) => n("blockAccess", v), d = u({
|
|
3603
3590
|
get: () => e.visible,
|
|
3604
|
-
set: (
|
|
3591
|
+
set: (v) => n("update:visible", v)
|
|
3605
3592
|
}), m = u({
|
|
3606
3593
|
get: () => e.horizontal,
|
|
3607
|
-
set: (
|
|
3608
|
-
}),
|
|
3594
|
+
set: (v) => n("update:horizontal", v)
|
|
3595
|
+
}), g = u({
|
|
3609
3596
|
get: () => e.lines,
|
|
3610
|
-
set: (
|
|
3597
|
+
set: (v) => n("update:lines", v)
|
|
3611
3598
|
}), h = u({
|
|
3612
3599
|
get: () => e.vertical,
|
|
3613
|
-
set: (
|
|
3600
|
+
set: (v) => n("update:vertical", v)
|
|
3614
3601
|
}), k = u(() => {
|
|
3615
|
-
var
|
|
3616
|
-
return (
|
|
3602
|
+
var v;
|
|
3603
|
+
return (v = o.value.controls) == null ? void 0 : v.grid.horizontal;
|
|
3617
3604
|
}), f = u(() => {
|
|
3618
|
-
var
|
|
3619
|
-
return o.value.controls ? d.value ? (
|
|
3620
|
-
}),
|
|
3621
|
-
var
|
|
3622
|
-
return (
|
|
3605
|
+
var v, z;
|
|
3606
|
+
return o.value.controls ? d.value ? (v = o.value.controls) == null ? void 0 : v.grid.off : (z = o.value.controls) == null ? void 0 : z.grid.on : "";
|
|
3607
|
+
}), V = u(() => {
|
|
3608
|
+
var v;
|
|
3609
|
+
return (v = o.value.controls) == null ? void 0 : v.grid.spacing;
|
|
3623
3610
|
}), p = u(() => {
|
|
3624
|
-
var
|
|
3625
|
-
return (
|
|
3611
|
+
var v;
|
|
3612
|
+
return (v = o.value.controls) == null ? void 0 : v.grid.vertical;
|
|
3626
3613
|
});
|
|
3627
|
-
function
|
|
3628
|
-
const
|
|
3614
|
+
function C() {
|
|
3615
|
+
const v = {
|
|
3629
3616
|
access: "grd",
|
|
3630
3617
|
drawer: !e.noIcons,
|
|
3631
3618
|
modelValue: d.value,
|
|
@@ -3636,10 +3623,10 @@ const ko = M({
|
|
|
3636
3623
|
hasAccess: e.hasAccess,
|
|
3637
3624
|
onBlockAccess: l
|
|
3638
3625
|
};
|
|
3639
|
-
return r(Jt,
|
|
3626
|
+
return r(Jt, v);
|
|
3640
3627
|
}
|
|
3641
3628
|
function $() {
|
|
3642
|
-
const
|
|
3629
|
+
const v = [], z = {
|
|
3643
3630
|
color: "primary",
|
|
3644
3631
|
noIcons: e.noIcons,
|
|
3645
3632
|
dark: e.dark,
|
|
@@ -3654,11 +3641,11 @@ const ko = M({
|
|
|
3654
3641
|
initial: 20,
|
|
3655
3642
|
max: 50,
|
|
3656
3643
|
min: 1,
|
|
3657
|
-
title:
|
|
3658
|
-
modelValue:
|
|
3659
|
-
"onUpdate:modelValue": (K) =>
|
|
3644
|
+
title: V.value,
|
|
3645
|
+
modelValue: g.value,
|
|
3646
|
+
"onUpdate:modelValue": (K) => g.value = K
|
|
3660
3647
|
};
|
|
3661
|
-
|
|
3648
|
+
v.push(r($e, G));
|
|
3662
3649
|
const F = {
|
|
3663
3650
|
...z,
|
|
3664
3651
|
...T,
|
|
@@ -3667,7 +3654,7 @@ const ko = M({
|
|
|
3667
3654
|
modelValue: m.value,
|
|
3668
3655
|
"onUpdate:modelValue": (K) => m.value = K
|
|
3669
3656
|
};
|
|
3670
|
-
|
|
3657
|
+
v.push(r($e, F));
|
|
3671
3658
|
const ee = {
|
|
3672
3659
|
...z,
|
|
3673
3660
|
...T,
|
|
@@ -3676,16 +3663,16 @@ const ko = M({
|
|
|
3676
3663
|
modelValue: h.value,
|
|
3677
3664
|
"onUpdate:modelValue": (K) => h.value = K
|
|
3678
3665
|
};
|
|
3679
|
-
return
|
|
3666
|
+
return v.push(r($e, ee)), s.value ? r(
|
|
3680
3667
|
st,
|
|
3681
3668
|
{},
|
|
3682
|
-
() => R(r("div", {},
|
|
3683
|
-
) : R(r("div", {},
|
|
3669
|
+
() => R(r("div", {}, v), [[O, e.visible]])
|
|
3670
|
+
) : R(r("div", {}, v), [[O, e.visible]]);
|
|
3684
3671
|
}
|
|
3685
3672
|
function E() {
|
|
3686
3673
|
return r("div", {
|
|
3687
3674
|
class: "c-grid-tool"
|
|
3688
|
-
}, [
|
|
3675
|
+
}, [C(), $()]);
|
|
3689
3676
|
}
|
|
3690
3677
|
return () => E();
|
|
3691
3678
|
}
|
|
@@ -4140,7 +4127,7 @@ const ko = M({
|
|
|
4140
4127
|
return;
|
|
4141
4128
|
}
|
|
4142
4129
|
s.value = !1;
|
|
4143
|
-
}, m = u(() => !(o && o.bottom)),
|
|
4130
|
+
}, m = u(() => !(o && o.bottom)), g = u(() => m.value ? !1 : !s.value && n.active !== me), h = u(() => k.value ? !1 : m.value ? n.active !== me : s.value && n.active !== me), k = u({
|
|
4144
4131
|
get() {
|
|
4145
4132
|
return n.leftDrawer;
|
|
4146
4133
|
},
|
|
@@ -4153,8 +4140,8 @@ const ko = M({
|
|
|
4153
4140
|
(f) => {
|
|
4154
4141
|
t("update:active", me), t("update:leftDrawer", f);
|
|
4155
4142
|
}
|
|
4156
|
-
), (f,
|
|
4157
|
-
const p = A("q-resize-observer"),
|
|
4143
|
+
), (f, V) => {
|
|
4144
|
+
const p = A("q-resize-observer"), C = A("q-page-container"), $ = A("q-icon"), E = A("q-layout");
|
|
4158
4145
|
return _(), L(E, {
|
|
4159
4146
|
class: "c-interactive-layout",
|
|
4160
4147
|
view: "lhr lpr lfr"
|
|
@@ -4167,7 +4154,7 @@ const ko = M({
|
|
|
4167
4154
|
default: S(() => [
|
|
4168
4155
|
R(x("div", {
|
|
4169
4156
|
class: "c-interactive-layout-overlay",
|
|
4170
|
-
onClick:
|
|
4157
|
+
onClick: V[0] || (V[0] = (v) => k.value = !1)
|
|
4171
4158
|
}, [
|
|
4172
4159
|
I(f.$slots, "toolRestricted"),
|
|
4173
4160
|
I(f.$slots, "restricted"),
|
|
@@ -4192,7 +4179,7 @@ const ko = M({
|
|
|
4192
4179
|
behavior: "mobile",
|
|
4193
4180
|
class: "c-layout-left-drawer",
|
|
4194
4181
|
modelValue: k.value,
|
|
4195
|
-
"onUpdate:modelValue":
|
|
4182
|
+
"onUpdate:modelValue": V[1] || (V[1] = (v) => k.value = v),
|
|
4196
4183
|
dark: ""
|
|
4197
4184
|
}, {
|
|
4198
4185
|
default: S(() => [
|
|
@@ -4204,7 +4191,7 @@ const ko = M({
|
|
|
4204
4191
|
D(To, {
|
|
4205
4192
|
"overlay-transparent": e.overlayTransparent,
|
|
4206
4193
|
modelValue: h.value,
|
|
4207
|
-
"onUpdate:modelValue":
|
|
4194
|
+
"onUpdate:modelValue": V[2] || (V[2] = (v) => h.value = v),
|
|
4208
4195
|
dark: ""
|
|
4209
4196
|
}, {
|
|
4210
4197
|
default: S(() => [
|
|
@@ -4214,15 +4201,15 @@ const ko = M({
|
|
|
4214
4201
|
}, 8, ["overlay-transparent", "modelValue"]),
|
|
4215
4202
|
D(Ot, {
|
|
4216
4203
|
desktop: s.value,
|
|
4217
|
-
modelValue:
|
|
4218
|
-
"onUpdate:modelValue":
|
|
4204
|
+
modelValue: g.value,
|
|
4205
|
+
"onUpdate:modelValue": V[3] || (V[3] = (v) => g.value = v)
|
|
4219
4206
|
}, {
|
|
4220
4207
|
default: S(() => [
|
|
4221
4208
|
I(f.$slots, "bottom")
|
|
4222
4209
|
]),
|
|
4223
4210
|
_: 3
|
|
4224
4211
|
}, 8, ["desktop", "modelValue"]),
|
|
4225
|
-
D(
|
|
4212
|
+
D(C, null, {
|
|
4226
4213
|
default: S(() => [
|
|
4227
4214
|
D(ot, { name: "fade" }, {
|
|
4228
4215
|
default: S(() => [
|
|
@@ -4292,8 +4279,8 @@ const ko = M({
|
|
|
4292
4279
|
}
|
|
4293
4280
|
o.value = !1;
|
|
4294
4281
|
};
|
|
4295
|
-
return J(() => s.value = !0), (m,
|
|
4296
|
-
const h = A("q-resize-observer"), k = A("q-btn"), f = A("q-space"),
|
|
4282
|
+
return J(() => s.value = !0), (m, g) => {
|
|
4283
|
+
const h = A("q-resize-observer"), k = A("q-btn"), f = A("q-space"), V = A("q-toolbar"), p = A("q-header"), C = A("q-page-container"), $ = A("q-icon"), E = A("q-layout");
|
|
4297
4284
|
return _(), L(E, {
|
|
4298
4285
|
class: "c-layout",
|
|
4299
4286
|
view: "lhr lpR lfr"
|
|
@@ -4317,7 +4304,7 @@ const ko = M({
|
|
|
4317
4304
|
D(h, { onResize: d }),
|
|
4318
4305
|
D(p, null, {
|
|
4319
4306
|
default: S(() => [
|
|
4320
|
-
D(
|
|
4307
|
+
D(V, { style: { "margin-top": "auto", "margin-bottom": "auto" } }, {
|
|
4321
4308
|
default: S(() => [
|
|
4322
4309
|
D(k, {
|
|
4323
4310
|
class: "q-pl-xs q-pr-sm",
|
|
@@ -4342,7 +4329,7 @@ const ko = M({
|
|
|
4342
4329
|
behavior: "mobile",
|
|
4343
4330
|
class: "c-layout-left-drawer",
|
|
4344
4331
|
modelValue: c.value,
|
|
4345
|
-
"onUpdate:modelValue":
|
|
4332
|
+
"onUpdate:modelValue": g[0] || (g[0] = (v) => c.value = v),
|
|
4346
4333
|
dark: ""
|
|
4347
4334
|
}, {
|
|
4348
4335
|
default: S(() => [
|
|
@@ -4357,7 +4344,7 @@ const ko = M({
|
|
|
4357
4344
|
"overlay-transparent": e.overlayTransparent,
|
|
4358
4345
|
side: "right",
|
|
4359
4346
|
modelValue: l.value,
|
|
4360
|
-
"onUpdate:modelValue":
|
|
4347
|
+
"onUpdate:modelValue": g[1] || (g[1] = (v) => l.value = v),
|
|
4361
4348
|
dark: ""
|
|
4362
4349
|
}, {
|
|
4363
4350
|
default: S(() => [
|
|
@@ -4366,7 +4353,7 @@ const ko = M({
|
|
|
4366
4353
|
_: 3
|
|
4367
4354
|
}, 8, ["overlay-transparent", "modelValue"])
|
|
4368
4355
|
]),
|
|
4369
|
-
D(
|
|
4356
|
+
D(C, null, {
|
|
4370
4357
|
default: S(() => [
|
|
4371
4358
|
D(ot, { name: "fade" }, {
|
|
4372
4359
|
default: S(() => [
|
|
@@ -4462,7 +4449,7 @@ const ko = M({
|
|
|
4462
4449
|
), Me(m), At(() => {
|
|
4463
4450
|
}), J(() => {
|
|
4464
4451
|
});
|
|
4465
|
-
function
|
|
4452
|
+
function g() {
|
|
4466
4453
|
return r(
|
|
4467
4454
|
ie,
|
|
4468
4455
|
{
|
|
@@ -4470,7 +4457,7 @@ const ko = M({
|
|
|
4470
4457
|
"leave-active-class": "animated fadeOut"
|
|
4471
4458
|
},
|
|
4472
4459
|
() => {
|
|
4473
|
-
var f,
|
|
4460
|
+
var f, V, p;
|
|
4474
4461
|
return R(
|
|
4475
4462
|
r(
|
|
4476
4463
|
"div",
|
|
@@ -4480,7 +4467,7 @@ const ko = M({
|
|
|
4480
4467
|
},
|
|
4481
4468
|
[
|
|
4482
4469
|
...((f = a.toolRestricted) == null ? void 0 : f.call(a)) || [],
|
|
4483
|
-
...((
|
|
4470
|
+
...((V = a.restricted) == null ? void 0 : V.call(a)) || [],
|
|
4484
4471
|
...((p = a.overlay) == null ? void 0 : p.call(a)) || []
|
|
4485
4472
|
]
|
|
4486
4473
|
),
|
|
@@ -4495,12 +4482,12 @@ const ko = M({
|
|
|
4495
4482
|
if (f.push(
|
|
4496
4483
|
r(Qt, { class: "c-menu-button", onClick: d })
|
|
4497
4484
|
), f.push(r("div", { class: "profile-icon" }, ((p = a.profile) == null ? void 0 : p.call(a)) || [])), o.value) {
|
|
4498
|
-
const
|
|
4485
|
+
const C = {
|
|
4499
4486
|
modelValue: s.value,
|
|
4500
4487
|
dark: !0
|
|
4501
4488
|
};
|
|
4502
4489
|
f.push(
|
|
4503
|
-
r(Yt,
|
|
4490
|
+
r(Yt, C, () => {
|
|
4504
4491
|
var $;
|
|
4505
4492
|
return (($ = a.rightDrawer) == null ? void 0 : $.call(a)) || [];
|
|
4506
4493
|
})
|
|
@@ -4511,7 +4498,7 @@ const ko = M({
|
|
|
4511
4498
|
);
|
|
4512
4499
|
}
|
|
4513
4500
|
if (!o.value) {
|
|
4514
|
-
const
|
|
4501
|
+
const C = {
|
|
4515
4502
|
// desktop: desktop.value,
|
|
4516
4503
|
modelValue: i.value,
|
|
4517
4504
|
dark: !0,
|
|
@@ -4520,7 +4507,7 @@ const ko = M({
|
|
|
4520
4507
|
f.push(
|
|
4521
4508
|
r(
|
|
4522
4509
|
Ft,
|
|
4523
|
-
|
|
4510
|
+
C,
|
|
4524
4511
|
() => {
|
|
4525
4512
|
var $;
|
|
4526
4513
|
return (($ = a.bottomDrawer) == null ? void 0 : $.call(a)) || [];
|
|
@@ -4529,24 +4516,24 @@ const ko = M({
|
|
|
4529
4516
|
);
|
|
4530
4517
|
}
|
|
4531
4518
|
f.push(r(qe, { class: "logo-button", name: ft }));
|
|
4532
|
-
const
|
|
4519
|
+
const V = {
|
|
4533
4520
|
side: "left",
|
|
4534
4521
|
behavior: "mobile",
|
|
4535
4522
|
class: "c-layout-left-drawer",
|
|
4536
4523
|
modelValue: c.value,
|
|
4537
|
-
"onUpdate:modelValue": (
|
|
4524
|
+
"onUpdate:modelValue": (C) => c.value = C,
|
|
4538
4525
|
dark: !0
|
|
4539
4526
|
};
|
|
4540
|
-
return f.push(r(jt,
|
|
4541
|
-
var
|
|
4542
|
-
return ((
|
|
4527
|
+
return f.push(r(jt, V, () => {
|
|
4528
|
+
var C;
|
|
4529
|
+
return ((C = a.leftDrawer) == null ? void 0 : C.call(a)) || [];
|
|
4543
4530
|
})), f.push(
|
|
4544
4531
|
r(Vn, {}, () => [
|
|
4545
4532
|
r(ot, { name: "fade" }, () => {
|
|
4546
|
-
var
|
|
4533
|
+
var C, $;
|
|
4547
4534
|
return [
|
|
4548
4535
|
R(
|
|
4549
|
-
r("div", { key: "404" }, ((
|
|
4536
|
+
r("div", { key: "404" }, ((C = a["not-found"]) == null ? void 0 : C.call(a)) || []),
|
|
4550
4537
|
[[O, e.notFound]]
|
|
4551
4538
|
),
|
|
4552
4539
|
R(r("div", { key: "content" }, (($ = a.page) == null ? void 0 : $.call(a)) || []), [
|
|
@@ -4559,7 +4546,7 @@ const ko = M({
|
|
|
4559
4546
|
}
|
|
4560
4547
|
function k() {
|
|
4561
4548
|
const f = [];
|
|
4562
|
-
return f.push(
|
|
4549
|
+
return f.push(g()), f.push(h()), r(
|
|
4563
4550
|
Bn,
|
|
4564
4551
|
{
|
|
4565
4552
|
class: "c-responsive-layout",
|
|
@@ -4705,11 +4692,11 @@ const ko = M({
|
|
|
4705
4692
|
o.value = !o.value;
|
|
4706
4693
|
}, i = u(() => o.value ? "f_enter" : "f_exit");
|
|
4707
4694
|
return J(() => console.log("CToolPage mounted")), (l, d) => {
|
|
4708
|
-
const m = A("q-btn"),
|
|
4695
|
+
const m = A("q-btn"), g = A("q-drawer"), h = A("q-page");
|
|
4709
4696
|
return _(), L(h, { class: "c-tool-page" }, {
|
|
4710
4697
|
default: S(() => [
|
|
4711
4698
|
I(l.$slots, "default"),
|
|
4712
|
-
Z(a).platform.is.desktop ? (_(), L(
|
|
4699
|
+
Z(a).platform.is.desktop ? (_(), L(g, {
|
|
4713
4700
|
key: 0,
|
|
4714
4701
|
modelValue: t.value,
|
|
4715
4702
|
"onUpdate:modelValue": d[0] || (d[0] = (k) => t.value = k),
|