@aham.ro/ui-designer 0.1.3 → 0.1.5
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/Designer.vue.d.ts +9 -1
- package/dist/iam-designer.css +1 -1
- package/dist/iam-designer.js +2536 -95
- package/dist/index.d.ts +7 -1
- package/dist/stores/checklist.d.ts +11 -0
- package/dist/stores/screens.d.ts +26 -0
- package/dist/widgets/ComponenList.vue.d.ts +7 -0
- package/dist/widgets/Properties.vue.d.ts +3 -0
- package/dist/widgets/SideInfo.vue.d.ts +9 -0
- package/dist/widgets/TemplateList.vue.d.ts +16 -0
- package/dist/widgets/TextScroller.vue.d.ts +24 -0
- package/dist/widgets/components/Alert.vue.d.ts +10 -0
- package/dist/widgets/components/Card.vue.d.ts +29 -0
- package/dist/widgets/components/Checkbox.vue.d.ts +11 -0
- package/dist/widgets/components/ConsentCard.vue.d.ts +10 -0
- package/dist/widgets/components/Container.vue.d.ts +25 -0
- package/dist/widgets/components/Content.vue.d.ts +18 -0
- package/dist/widgets/components/Divider.vue.d.ts +8 -0
- package/dist/widgets/components/EmailInput.vue.d.ts +13 -0
- package/dist/widgets/components/Heading.vue.d.ts +10 -0
- package/dist/widgets/components/Image.vue.d.ts +20 -0
- package/dist/widgets/components/Layout.vue.d.ts +22 -0
- package/dist/widgets/components/LayoutRef.vue.d.ts +20 -0
- package/dist/widgets/components/OtpInput.vue.d.ts +10 -0
- package/dist/widgets/components/PasswordInput.vue.d.ts +15 -0
- package/dist/widgets/components/ScopeList.vue.d.ts +8 -0
- package/dist/widgets/components/SocialButton.vue.d.ts +11 -0
- package/dist/widgets/components/Spacer.vue.d.ts +8 -0
- package/dist/widgets/components/SubmitButton.vue.d.ts +10 -0
- package/dist/widgets/components/Text.vue.d.ts +8 -0
- package/dist/widgets/components/TextInput.vue.d.ts +13 -0
- package/dist/widgets/components/TextLink.vue.d.ts +12 -0
- package/dist/widgets/components/index.d.ts +21 -0
- package/dist/widgets/components/types.d.ts +25 -0
- package/dist/widgets/header/IconButton.vue.d.ts +1 -1
- package/dist/widgets/header/types.d.ts +14 -0
- package/package.json +14 -9
package/dist/iam-designer.js
CHANGED
|
@@ -1,22 +1,1816 @@
|
|
|
1
|
-
import { Fragment as e, Teleport as t,
|
|
1
|
+
import { Fragment as e, Teleport as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createStaticVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, onUnmounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveComponent as S, resolveDynamicComponent as C, shallowRef as w, toDisplayString as T, toRefs as E, unref as D, vModelText as O, watch as k, watchPostEffect as A, withCtx as j, withDirectives as M, withKeys as ee, withModifiers as N } from "vue";
|
|
2
|
+
import { defineStore as te } from "pinia";
|
|
2
3
|
//#region src/composables/useTranslation.ts
|
|
3
|
-
function
|
|
4
|
-
let e =
|
|
4
|
+
function P() {
|
|
5
|
+
let e = d()?.appContext.config.globalProperties, t = e?.$t, n = typeof t == "function" ? t.bind(e) : void 0;
|
|
5
6
|
return (e, t) => {
|
|
6
7
|
let r = n?.(e);
|
|
7
8
|
return r && r !== e ? r : t;
|
|
8
9
|
};
|
|
9
10
|
}
|
|
10
11
|
//#endregion
|
|
11
|
-
//#region
|
|
12
|
-
var
|
|
12
|
+
//#region node_modules/overlayscrollbars/overlayscrollbars.mjs
|
|
13
|
+
var F = (e, t) => {
|
|
14
|
+
let { o: n, i: r, u: i } = e, a = n, o, s = (e, t) => {
|
|
15
|
+
let n = a, s = e, c = t || (r ? !r(n, s) : n !== s);
|
|
16
|
+
return (c || i) && (a = s, o = n), [
|
|
17
|
+
a,
|
|
18
|
+
c,
|
|
19
|
+
o
|
|
20
|
+
];
|
|
21
|
+
};
|
|
22
|
+
return [t ? (e) => s(t(a, o), e) : s, (e) => [
|
|
23
|
+
a,
|
|
24
|
+
!!e,
|
|
25
|
+
o
|
|
26
|
+
]];
|
|
27
|
+
}, I = typeof window < "u" && typeof HTMLElement < "u" && window.document ? window : {}, L = Math.max, R = Math.min, z = Math.round, B = Math.abs, V = Math.sign, ne = I.cancelAnimationFrame, re = I.requestAnimationFrame, ie = I.setTimeout, ae = I.clearTimeout, oe = (e) => I[e] === void 0 ? void 0 : I[e], se = oe("MutationObserver"), ce = oe("IntersectionObserver"), le = oe("ResizeObserver"), ue = oe("ScrollTimeline"), de = (e) => e === void 0, fe = (e) => e === null, pe = (e) => typeof e == "number", me = (e) => typeof e == "string", he = (e) => typeof e == "boolean", H = (e) => typeof e == "function", U = (e) => Array.isArray(e), ge = (e) => typeof e == "object" && !U(e) && !fe(e), _e = (e) => {
|
|
28
|
+
let t = !!e && e.length, n = pe(t) && t > -1 && t % 1 == 0;
|
|
29
|
+
return U(e) || !H(e) && n ? t > 0 && ge(e) ? t - 1 in e : !0 : !1;
|
|
30
|
+
}, ve = (e) => !!e && e.constructor === Object, ye = (e) => e instanceof HTMLElement, W = (e) => e instanceof Element;
|
|
31
|
+
function G(e, t) {
|
|
32
|
+
if (_e(e)) for (let n = 0; n < e.length && t(e[n], n, e) !== !1; n++);
|
|
33
|
+
else e && G(Object.keys(e), ((n) => t(e[n], n, e)));
|
|
34
|
+
return e;
|
|
35
|
+
}
|
|
36
|
+
var be = (e, t) => e.indexOf(t) >= 0, xe = (e, t) => e.concat(t), K = (e, t, n) => (!me(t) && _e(t) ? Array.prototype.push.apply(e, t) : e.push(t), e), Se = (e) => Array.from(e || []), Ce = (e) => U(e) ? e : !me(e) && _e(e) ? Se(e) : [e], we = (e) => !!e && !e.length, Te = (e) => Se(new Set(e)), q = (e, t, n) => {
|
|
37
|
+
G(e, (e) => !e || e.apply(void 0, t || [])), n || (e.length = 0);
|
|
38
|
+
}, Ee = "paddingTop", De = "paddingRight", Oe = "paddingLeft", ke = "paddingBottom", Ae = "marginLeft", je = "marginRight", Me = "marginBottom", Ne = "overflowX", Pe = "overflowY", Fe = "width", Ie = "height", Le = "visible", Re = "hidden", ze = "scroll", Be = (e) => {
|
|
39
|
+
let t = String(e || "");
|
|
40
|
+
return t ? t[0].toUpperCase() + t.slice(1) : "";
|
|
41
|
+
}, Ve = (e, t, n, r) => {
|
|
42
|
+
if (e && t) {
|
|
43
|
+
let r = !0;
|
|
44
|
+
return G(n, ((n) => {
|
|
45
|
+
e[n] !== t[n] && (r = !1);
|
|
46
|
+
})), r;
|
|
47
|
+
}
|
|
48
|
+
return !1;
|
|
49
|
+
}, He = (e, t) => Ve(e, t, ["w", "h"]), Ue = (e, t) => Ve(e, t, ["x", "y"]), We = (e, t) => Ve(e, t, [
|
|
50
|
+
"t",
|
|
51
|
+
"r",
|
|
52
|
+
"b",
|
|
53
|
+
"l"
|
|
54
|
+
]), J = (e, ...t) => e.bind(0, ...t), Ge = (e) => {
|
|
55
|
+
let t, n = e ? ie : re, r = e ? ae : ne;
|
|
56
|
+
return [(i) => {
|
|
57
|
+
r(t), t = n((() => i()), H(e) ? e() : e);
|
|
58
|
+
}, () => r(t)];
|
|
59
|
+
}, Ke = (e) => {
|
|
60
|
+
let t = H(e) ? e() : e;
|
|
61
|
+
if (pe(t)) {
|
|
62
|
+
let e = t ? ie : re, n = t ? ae : ne;
|
|
63
|
+
return (r) => {
|
|
64
|
+
let i = e((() => r()), t);
|
|
65
|
+
return () => {
|
|
66
|
+
n(i);
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
return t && t._;
|
|
71
|
+
}, qe = (e, t) => {
|
|
72
|
+
let { p: n, v: r, S: i, m: a } = t || {}, o, s, c, l, u = function(t) {
|
|
73
|
+
s && s(), o && o(), l = s = o = c = void 0, e.apply(this, t);
|
|
74
|
+
}, d = (e) => a && c ? a(c, e) : e, f = () => {
|
|
75
|
+
s && c && u(d(c) || c);
|
|
76
|
+
}, p = function() {
|
|
77
|
+
let e = Se(arguments), t = Ke(n);
|
|
78
|
+
if (t) {
|
|
79
|
+
let n = typeof i == "function" ? i() : i, a = Ke(r), p = d(e) || e, m = u.bind(0, p);
|
|
80
|
+
s && s(), n && !l ? (m(), l = !0, s = t((() => l = void 0))) : (s = t(m), a && !o && (o = a(f))), c = p;
|
|
81
|
+
} else u(e);
|
|
82
|
+
};
|
|
83
|
+
return p.O = f, p;
|
|
84
|
+
}, Je = (e, t) => Object.prototype.hasOwnProperty.call(e, t), Y = (e) => e ? Object.keys(e) : [], X = (e, t, n, r, i, a, o) => {
|
|
85
|
+
let s = [
|
|
86
|
+
t,
|
|
87
|
+
n,
|
|
88
|
+
r,
|
|
89
|
+
i,
|
|
90
|
+
a,
|
|
91
|
+
o
|
|
92
|
+
];
|
|
93
|
+
return (typeof e != "object" || fe(e)) && !H(e) && (e = {}), G(s, ((t) => {
|
|
94
|
+
G(t, ((n, r) => {
|
|
95
|
+
let i = t[r];
|
|
96
|
+
if (e === i) return !0;
|
|
97
|
+
let a = U(i);
|
|
98
|
+
if (i && ve(i)) {
|
|
99
|
+
let t = e[r], n = t;
|
|
100
|
+
a && !U(t) ? n = [] : !a && !ve(t) && (n = {}), e[r] = X(n, i);
|
|
101
|
+
} else e[r] = a ? i.slice() : i;
|
|
102
|
+
}));
|
|
103
|
+
})), e;
|
|
104
|
+
}, Ye = (e, t) => G(X({}, e), ((e, t, n) => {
|
|
105
|
+
e === void 0 ? delete n[t] : e && ve(e) && (n[t] = Ye(e));
|
|
106
|
+
})), Xe = (e) => !Y(e).length, Ze = () => {}, Qe = (e, t, n) => L(e, R(t, n)), $e = (e) => Te((U(e) ? e : (e || "").split(" ")).filter(((e) => e))), et = (e, t) => e && e.getAttribute(t), tt = (e, t) => e && e.hasAttribute(t), nt = (e, t, n) => {
|
|
107
|
+
G($e(t), ((t) => {
|
|
108
|
+
e && e.setAttribute(t, String(n || ""));
|
|
109
|
+
}));
|
|
110
|
+
}, rt = (e, t) => {
|
|
111
|
+
G($e(t), ((t) => e && e.removeAttribute(t)));
|
|
112
|
+
}, it = (e, t) => {
|
|
113
|
+
let n = $e(et(e, t)), r = J(nt, e, t), i = (e, t) => {
|
|
114
|
+
let r = new Set(n);
|
|
115
|
+
return G($e(e), ((e) => {
|
|
116
|
+
r[t](e);
|
|
117
|
+
})), Se(r).join(" ");
|
|
118
|
+
};
|
|
119
|
+
return {
|
|
120
|
+
C: (e) => r(i(e, "delete")),
|
|
121
|
+
$: (e) => r(i(e, "add")),
|
|
122
|
+
H: (e) => {
|
|
123
|
+
let t = $e(e);
|
|
124
|
+
return t.reduce(((e, t) => e && n.includes(t)), t.length > 0);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
}, at = (e, t, n) => (it(e, t).C(n), J(ot, e, t, n)), ot = (e, t, n) => (it(e, t).$(n), J(at, e, t, n)), st = (e, t, n, r) => (r ? ot : at)(e, t, n), ct = (e, t, n) => it(e, t).H(n), lt = (e) => it(e, "class"), ut = (e, t) => {
|
|
128
|
+
lt(e).C(t);
|
|
129
|
+
}, dt = (e, t) => (lt(e).$(t), J(ut, e, t)), ft = (e, t) => {
|
|
130
|
+
let n = t ? W(t) && t : document;
|
|
131
|
+
return n ? Se(n.querySelectorAll(e)) : [];
|
|
132
|
+
}, pt = (e, t) => {
|
|
133
|
+
let n = t ? W(t) && t : document;
|
|
134
|
+
return n && n.querySelector(e);
|
|
135
|
+
}, mt = (e, t) => W(e) && e.matches(t), ht = (e) => mt(e, "body"), gt = (e) => e ? Se(e.childNodes) : [], _t = (e) => e && e.parentElement, vt = (e, t) => W(e) && e.closest(t), yt = (e) => document.activeElement, bt = (e, t, n) => {
|
|
136
|
+
let r = vt(e, t), i = e && pt(n, r), a = vt(i, t) === r;
|
|
137
|
+
return r && i ? r === e || i === e || a && vt(vt(e, n), t) !== r : !1;
|
|
138
|
+
}, xt = (e) => {
|
|
139
|
+
G(Ce(e), ((e) => {
|
|
140
|
+
let t = _t(e);
|
|
141
|
+
e && t && t.removeChild(e);
|
|
142
|
+
}));
|
|
143
|
+
}, Z = (e, t) => J(xt, e && t && G(Ce(t), ((t) => {
|
|
144
|
+
t && e.appendChild(t);
|
|
145
|
+
}))), St, Ct = () => St, wt = (e) => {
|
|
146
|
+
St = e;
|
|
147
|
+
}, Tt = (e) => {
|
|
148
|
+
let t = document.createElement("div");
|
|
149
|
+
return nt(t, "class", e), t;
|
|
150
|
+
}, Et = (e) => {
|
|
151
|
+
let t = Tt(), n = Ct(), r = e.trim();
|
|
152
|
+
return t.innerHTML = n ? n.createHTML(r) : r, G(gt(t), ((e) => xt(e)));
|
|
153
|
+
}, Dt = (e, t) => e.getPropertyValue(t) || e[t] || "", Ot = (e) => {
|
|
154
|
+
let t = e || 0;
|
|
155
|
+
return isFinite(t) ? t : 0;
|
|
156
|
+
}, kt = (e) => Ot(parseFloat(e || "")), At = (e) => Math.round(e * 1e4) / 1e4, jt = (e) => `${At(Ot(e))}px`;
|
|
157
|
+
function Mt(e, t) {
|
|
158
|
+
e && t && G(t, ((t, n) => {
|
|
159
|
+
try {
|
|
160
|
+
let r = e.style, i = fe(t) || he(t) ? "" : pe(t) ? jt(t) : t;
|
|
161
|
+
n.indexOf("--") === 0 ? r.setProperty(n, i) : r[n] = i;
|
|
162
|
+
} catch {}
|
|
163
|
+
}));
|
|
164
|
+
}
|
|
165
|
+
function Nt(e, t, n) {
|
|
166
|
+
let r = me(t), i = r ? "" : {};
|
|
167
|
+
if (e) {
|
|
168
|
+
let a = I.getComputedStyle(e, n) || e.style;
|
|
169
|
+
i = r ? Dt(a, t) : Se(t).reduce(((e, t) => (e[t] = Dt(a, t), e)), i);
|
|
170
|
+
}
|
|
171
|
+
return i;
|
|
172
|
+
}
|
|
173
|
+
var Pt = (e, t, n) => {
|
|
174
|
+
let r = t ? `${t}-` : "", i = n ? `-${n}` : "", a = `${r}top${i}`, o = `${r}right${i}`, s = `${r}bottom${i}`, c = `${r}left${i}`, l = Nt(e, [
|
|
175
|
+
a,
|
|
176
|
+
o,
|
|
177
|
+
s,
|
|
178
|
+
c
|
|
179
|
+
]);
|
|
180
|
+
return {
|
|
181
|
+
t: kt(l[a]),
|
|
182
|
+
r: kt(l[o]),
|
|
183
|
+
b: kt(l[s]),
|
|
184
|
+
l: kt(l[c])
|
|
185
|
+
};
|
|
186
|
+
}, Ft = (e, t) => `translate${ge(e) ? `(${e.x},${e.y})` : `${t ? "X" : "Y"}(${e})`}`, It = (e) => !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length), Lt = {
|
|
187
|
+
w: 0,
|
|
188
|
+
h: 0
|
|
189
|
+
}, Rt = (e, t) => t ? {
|
|
190
|
+
w: t[`${e}Width`],
|
|
191
|
+
h: t[`${e}Height`]
|
|
192
|
+
} : Lt, zt = (e) => Rt("inner", e || I), Bt = J(Rt, "offset"), Vt = J(Rt, "client"), Ht = J(Rt, "scroll"), Ut = (e) => {
|
|
193
|
+
let t = parseFloat(Nt(e, Fe)) || 0, n = parseFloat(Nt(e, Ie)) || 0;
|
|
194
|
+
return {
|
|
195
|
+
w: t - z(t),
|
|
196
|
+
h: n - z(n)
|
|
197
|
+
};
|
|
198
|
+
}, Wt = (e) => e.getBoundingClientRect(), Gt = (e) => !!e && It(e), Kt = (e) => !!(e && (e[Ie] || e[Fe])), qt = (e, t) => {
|
|
199
|
+
let n = Kt(e);
|
|
200
|
+
return !Kt(t) && n;
|
|
201
|
+
}, Jt = (e, t, n, r) => {
|
|
202
|
+
G($e(t), ((t) => {
|
|
203
|
+
e && e.removeEventListener(t, n, r);
|
|
204
|
+
}));
|
|
205
|
+
}, Q = (e, t, n, r) => {
|
|
206
|
+
let i = (r && r.D) ?? !0, a = r && r.I || !1, o = r && r.A || !1, s = {
|
|
207
|
+
passive: i,
|
|
208
|
+
capture: a
|
|
209
|
+
};
|
|
210
|
+
return J(q, $e(t).map(((t) => {
|
|
211
|
+
let r = o ? (i) => {
|
|
212
|
+
Jt(e, t, r, a), n && n(i);
|
|
213
|
+
} : n;
|
|
214
|
+
return e && e.addEventListener(t, r, s), J(Jt, e, t, r, a);
|
|
215
|
+
})));
|
|
216
|
+
}, Yt = (e) => e.stopPropagation(), Xt = (e) => e.preventDefault(), Zt = (e) => Yt(e) || Xt(e), Qt = (e, t) => {
|
|
217
|
+
let { x: n, y: r } = pe(t) ? {
|
|
218
|
+
x: t,
|
|
219
|
+
y: t
|
|
220
|
+
} : t || {};
|
|
221
|
+
pe(n) && (e.scrollLeft = n), pe(r) && (e.scrollTop = r);
|
|
222
|
+
}, $t = (e) => ({
|
|
223
|
+
x: e.scrollLeft,
|
|
224
|
+
y: e.scrollTop
|
|
225
|
+
}), en = () => ({
|
|
226
|
+
T: {
|
|
227
|
+
x: 0,
|
|
228
|
+
y: 0
|
|
229
|
+
},
|
|
230
|
+
k: {
|
|
231
|
+
x: 0,
|
|
232
|
+
y: 0
|
|
233
|
+
}
|
|
234
|
+
}), tn = (e, t) => {
|
|
235
|
+
let { T: n, k: r } = e, { w: i, h: a } = t, o = (e, t, n) => {
|
|
236
|
+
let r = V(e) * n, i = V(t) * n;
|
|
237
|
+
if (r === i) {
|
|
238
|
+
let n = B(e), a = B(t);
|
|
239
|
+
i = n > a ? 0 : i, r = n < a ? 0 : r;
|
|
240
|
+
}
|
|
241
|
+
return r = r === i ? 0 : r, [r + 0, i + 0];
|
|
242
|
+
}, [s, c] = o(n.x, r.x, i), [l, u] = o(n.y, r.y, a);
|
|
243
|
+
return {
|
|
244
|
+
T: {
|
|
245
|
+
x: s,
|
|
246
|
+
y: l
|
|
247
|
+
},
|
|
248
|
+
k: {
|
|
249
|
+
x: c,
|
|
250
|
+
y: u
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
}, nn = ({ T: e, k: t }) => {
|
|
254
|
+
let n = (e, t) => e === 0 && e <= t;
|
|
255
|
+
return {
|
|
256
|
+
x: n(e.x, t.x),
|
|
257
|
+
y: n(e.y, t.y)
|
|
258
|
+
};
|
|
259
|
+
}, rn = ({ T: e, k: t }, n) => {
|
|
260
|
+
let r = (e, t, n) => Qe(0, 1, (e - n) / (e - t) || 0);
|
|
261
|
+
return {
|
|
262
|
+
x: r(e.x, t.x, n.x),
|
|
263
|
+
y: r(e.y, t.y, n.y)
|
|
264
|
+
};
|
|
265
|
+
}, an = (e) => {
|
|
266
|
+
e && e.focus && e.focus({
|
|
267
|
+
preventScroll: !0,
|
|
268
|
+
focusVisible: !1
|
|
269
|
+
});
|
|
270
|
+
}, on = (e, t) => {
|
|
271
|
+
G(Ce(t), e);
|
|
272
|
+
}, sn = (e) => {
|
|
273
|
+
let t = /* @__PURE__ */ new Map(), n = (e, n) => {
|
|
274
|
+
if (e) {
|
|
275
|
+
let r = t.get(e);
|
|
276
|
+
on(((e) => {
|
|
277
|
+
r && r[e ? "delete" : "clear"](e);
|
|
278
|
+
}), n);
|
|
279
|
+
} else t.forEach(((e) => {
|
|
280
|
+
e.clear();
|
|
281
|
+
})), t.clear();
|
|
282
|
+
}, r = (e, i) => {
|
|
283
|
+
if (me(e)) {
|
|
284
|
+
let r = t.get(e) || /* @__PURE__ */ new Set();
|
|
285
|
+
return t.set(e, r), on(((e) => {
|
|
286
|
+
H(e) && r.add(e);
|
|
287
|
+
}), i), J(n, e, i);
|
|
288
|
+
}
|
|
289
|
+
he(i) && i && n();
|
|
290
|
+
let a = Y(e), o = [];
|
|
291
|
+
return G(a, ((t) => {
|
|
292
|
+
let n = e[t];
|
|
293
|
+
n && K(o, r(t, n));
|
|
294
|
+
})), J(q, o);
|
|
295
|
+
};
|
|
296
|
+
return r(e || {}), [
|
|
297
|
+
r,
|
|
298
|
+
n,
|
|
299
|
+
(e, n) => {
|
|
300
|
+
G(Se(t.get(e)), ((e) => {
|
|
301
|
+
n && !we(n) ? e.apply(0, n) : e();
|
|
302
|
+
}));
|
|
303
|
+
}
|
|
304
|
+
];
|
|
305
|
+
}, cn = {}, ln = {}, un = (e) => {
|
|
306
|
+
G(e, ((e) => G(e, ((t, n) => {
|
|
307
|
+
cn[n] = e[n];
|
|
308
|
+
}))));
|
|
309
|
+
}, dn = (e, t, n) => Y(e).map(((r) => {
|
|
310
|
+
let { static: i, instance: a } = e[r], [o, s, c] = n || [], l = n ? a : i;
|
|
311
|
+
if (l) {
|
|
312
|
+
let e = n ? l(o, s, t) : l(t);
|
|
313
|
+
return (c || ln)[r] = e;
|
|
314
|
+
}
|
|
315
|
+
})), fn = (e, t) => e[t], pn = (e) => fn(ln, e), mn = "__osOptionsValidationPlugin", hn = "data-overlayscrollbars", gn = "os-environment", _n = `${gn}-scrollbar-hidden`, vn = `${hn}-initialize`, yn = "noClipping", bn = `${hn}-body`, xn = hn, Sn = "host", Cn = `${hn}-viewport`, wn = Ne, Tn = Pe, En = "arrange", Dn = "measuring", On = "scrolling", kn = "scrollbarHidden", An = "noContent", jn = `${hn}-padding`, Mn = `${hn}-content`, Nn = "os-size-observer", Pn = `${Nn}-appear`, Fn = `${Nn}-listener`;
|
|
316
|
+
`${Fn}`, `${Fn}`;
|
|
317
|
+
var In = "os-trinsic-observer", Ln = "os-theme-none", Rn = "os-scrollbar", zn = `${Rn}-rtl`, Bn = `${Rn}-horizontal`, Vn = `${Rn}-vertical`, Hn = `${Rn}-track`, Un = `${Rn}-handle`, Wn = `${Rn}-visible`, Gn = `${Rn}-cornerless`, Kn = `${Rn}-interaction`, qn = `${Rn}-unusable`, Jn = `${Rn}-auto-hide`, Yn = `${Jn}-hidden`, Xn = `${Rn}-wheel`, Zn = `${Hn}-interactive`, Qn = `${Un}-interactive`, $n = "__osSizeObserverPlugin", er = (e, t) => {
|
|
318
|
+
let { M: n } = t, [r, i] = e("showNativeOverlaidScrollbars");
|
|
319
|
+
return [r && n.x && n.y, i];
|
|
320
|
+
}, tr = (e) => e.indexOf(Le) === 0, nr = (e) => e.replace(`${Le}-`, ""), rr = (e, t) => {
|
|
321
|
+
if (e === "auto") return t ? ze : Re;
|
|
322
|
+
let n = e || Re;
|
|
323
|
+
return [
|
|
324
|
+
Re,
|
|
325
|
+
ze,
|
|
326
|
+
Le
|
|
327
|
+
].includes(n) ? n : Re;
|
|
328
|
+
}, ir = (e, t) => {
|
|
329
|
+
let { overflowX: n, overflowY: r } = Nt(e, [Ne, Pe]);
|
|
330
|
+
return {
|
|
331
|
+
x: rr(n, t.x),
|
|
332
|
+
y: rr(r, t.y)
|
|
333
|
+
};
|
|
334
|
+
}, ar = "__osScrollbarsHidingPlugin", or = "__osClickScrollPlugin", sr = (e) => JSON.stringify(e, ((e, t) => {
|
|
335
|
+
if (H(t)) throw 0;
|
|
336
|
+
return t;
|
|
337
|
+
})), cr = (e, t) => e ? `${t}`.split(".").reduce(((e, t) => e && Je(e, t) ? e[t] : void 0), e) : void 0, lr = [0, 33], ur = [33, 99], dr = [
|
|
338
|
+
222,
|
|
339
|
+
666,
|
|
340
|
+
!0
|
|
341
|
+
], fr = {
|
|
342
|
+
paddingAbsolute: !1,
|
|
343
|
+
showNativeOverlaidScrollbars: !1,
|
|
344
|
+
update: {
|
|
345
|
+
elementEvents: [["img", "load"]],
|
|
346
|
+
debounce: {
|
|
347
|
+
mutation: lr,
|
|
348
|
+
resize: null,
|
|
349
|
+
event: ur,
|
|
350
|
+
env: dr
|
|
351
|
+
},
|
|
352
|
+
attributes: null,
|
|
353
|
+
ignoreMutation: null,
|
|
354
|
+
flowDirectionStyles: null
|
|
355
|
+
},
|
|
356
|
+
overflow: {
|
|
357
|
+
x: "scroll",
|
|
358
|
+
y: "scroll"
|
|
359
|
+
},
|
|
360
|
+
scrollbars: {
|
|
361
|
+
theme: "os-theme-dark",
|
|
362
|
+
visibility: "auto",
|
|
363
|
+
autoHide: "never",
|
|
364
|
+
autoHideDelay: 1300,
|
|
365
|
+
autoHideSuspend: !1,
|
|
366
|
+
dragScroll: !0,
|
|
367
|
+
clickScroll: !1,
|
|
368
|
+
pointers: [
|
|
369
|
+
"mouse",
|
|
370
|
+
"touch",
|
|
371
|
+
"pen"
|
|
372
|
+
]
|
|
373
|
+
}
|
|
374
|
+
}, pr = (e, t) => {
|
|
375
|
+
let n = {};
|
|
376
|
+
return G(xe(Y(t), Y(e)), ((r) => {
|
|
377
|
+
let i = e[r], a = t[r];
|
|
378
|
+
if (ge(i) && ge(a)) X(n[r] = {}, pr(i, a)), Xe(n[r]) && delete n[r];
|
|
379
|
+
else if (Je(t, r) && a !== i) {
|
|
380
|
+
let e = !0;
|
|
381
|
+
if (U(i) || U(a)) try {
|
|
382
|
+
sr(i) === sr(a) && (e = !1);
|
|
383
|
+
} catch {}
|
|
384
|
+
e && (n[r] = a);
|
|
385
|
+
}
|
|
386
|
+
})), n;
|
|
387
|
+
}, mr = (e, t, n) => (r) => [cr(e, r), n || cr(t, r) !== void 0], hr, gr = () => hr, _r = (e) => {
|
|
388
|
+
hr = e;
|
|
389
|
+
}, vr, yr = () => {
|
|
390
|
+
let e = (e, t, n) => {
|
|
391
|
+
Z(document.body, e), Z(document.body, e);
|
|
392
|
+
let r = Vt(e), i = Bt(e), a = Ut(t);
|
|
393
|
+
return n && xt(e), {
|
|
394
|
+
x: i.h - r.h + a.h,
|
|
395
|
+
y: i.w - r.w + a.w
|
|
396
|
+
};
|
|
397
|
+
}, t = (e) => {
|
|
398
|
+
let t = !1, n = dt(e, _n);
|
|
399
|
+
try {
|
|
400
|
+
t = Nt(e, "scrollbar-width") === "none" || Nt(e, "display", "::-webkit-scrollbar") === "none";
|
|
401
|
+
} catch {}
|
|
402
|
+
return n(), t;
|
|
403
|
+
}, n = Et(`<div class="${gn}"><div></div><style>${`.${gn}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${gn} div{width:200%;height:200%;margin:10px 0}.${_n}{scrollbar-width:none!important}.${_n}::-webkit-scrollbar,.${_n}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`}</style></div>`)[0], r = n.firstChild, i = n.lastChild, a = gr();
|
|
404
|
+
a && (i.nonce = a);
|
|
405
|
+
let [o, , s] = sn(), [c, l] = F({
|
|
406
|
+
o: e(n, r),
|
|
407
|
+
i: Ue
|
|
408
|
+
}, J(e, n, r, !0)), [u] = l(), d = t(n), f = {
|
|
409
|
+
x: u.x === 0,
|
|
410
|
+
y: u.y === 0
|
|
411
|
+
}, p = {
|
|
412
|
+
elements: {
|
|
413
|
+
host: null,
|
|
414
|
+
padding: !d,
|
|
415
|
+
viewport: (e) => d && ht(e) && e,
|
|
416
|
+
content: !1
|
|
417
|
+
},
|
|
418
|
+
scrollbars: { slot: !0 },
|
|
419
|
+
cancel: {
|
|
420
|
+
nativeScrollbarsOverlaid: !1,
|
|
421
|
+
body: null
|
|
422
|
+
}
|
|
423
|
+
}, m = X({}, fr), h = J(X, {}, m), g = J(X, {}, p), _ = {
|
|
424
|
+
U: u,
|
|
425
|
+
M: f,
|
|
426
|
+
P: d,
|
|
427
|
+
J: !!ue,
|
|
428
|
+
G: J(o, "r"),
|
|
429
|
+
K: g,
|
|
430
|
+
Z: (e) => X(p, e) && g(),
|
|
431
|
+
tt: h,
|
|
432
|
+
nt: (e) => X(m, e) && h(),
|
|
433
|
+
ot: X({}, p),
|
|
434
|
+
st: X({}, m)
|
|
435
|
+
};
|
|
436
|
+
if (rt(n, "style"), xt(n), Q(I, "resize", (() => {
|
|
437
|
+
s("r", []);
|
|
438
|
+
})), H(I.matchMedia) && !d && (!f.x || !f.y)) {
|
|
439
|
+
let e = (t) => {
|
|
440
|
+
Q(I.matchMedia(`(resolution: ${I.devicePixelRatio}dppx)`), "change", (() => {
|
|
441
|
+
t(), e(t);
|
|
442
|
+
}), { A: !0 });
|
|
443
|
+
};
|
|
444
|
+
e((() => {
|
|
445
|
+
let [e, t] = c();
|
|
446
|
+
X(_.U, e), s("r", [t]);
|
|
447
|
+
}));
|
|
448
|
+
}
|
|
449
|
+
return _;
|
|
450
|
+
}, br = () => (vr ||= yr(), vr), xr = (e, t, n) => {
|
|
451
|
+
let r = !1, i = n ? /* @__PURE__ */ new WeakMap() : !1, a = () => {
|
|
452
|
+
r = !0;
|
|
453
|
+
}, o = (a) => {
|
|
454
|
+
i && n && G(n.map(((t) => {
|
|
455
|
+
let [n, r] = t || [];
|
|
456
|
+
return [r && n ? (a || ft)(n, e) : [], r];
|
|
457
|
+
})), ((n) => G(n[0], ((a) => {
|
|
458
|
+
let o = n[1], s = i.get(a) || [];
|
|
459
|
+
if (e.contains(a) && o) {
|
|
460
|
+
let e = Q(a, o, ((n) => {
|
|
461
|
+
r ? (e(), i.delete(a)) : t(n);
|
|
462
|
+
}));
|
|
463
|
+
i.set(a, K(s, e));
|
|
464
|
+
} else q(s), i.delete(a);
|
|
465
|
+
}))));
|
|
466
|
+
};
|
|
467
|
+
return o(), [a, o];
|
|
468
|
+
}, Sr = (e, t, n, r) => {
|
|
469
|
+
let i = !1, { et: a, ct: o, rt: s, it: c, lt: l, ut: u } = r || {}, [d, f] = xr(e, (() => i && n(!0)), s), p = a || [], m = o || [], h = xe(p, m), g = (i, a) => {
|
|
470
|
+
if (!we(a)) {
|
|
471
|
+
let o = l || Ze, s = u || Ze, d = [], p = [], h = !1, g = !1;
|
|
472
|
+
if (G(a, ((n) => {
|
|
473
|
+
let { attributeName: i, target: a, type: l, oldValue: u, addedNodes: f, removedNodes: _ } = n, v = l === "attributes", y = l === "childList", b = e === a, x = v && i, S = x && et(a, i || ""), C = me(S) ? S : null, w = x && u !== C, T = be(m, i) && w;
|
|
474
|
+
if (t && (y || !b)) {
|
|
475
|
+
let t = v && w, l = t && c && mt(a, c), p = (l ? !o(a, i, u, C) : !v || t) && !s(n, !!l, e, r);
|
|
476
|
+
G(f, ((e) => K(d, e))), G(_, ((e) => K(d, e))), g ||= p;
|
|
477
|
+
}
|
|
478
|
+
!t && b && w && !o(a, i, u, C) && (K(p, i), h ||= T);
|
|
479
|
+
})), f(((e) => Te(d).reduce(((t, n) => (K(t, ft(e, n)), mt(n, e) ? K(t, n) : t)), []))), t) return !i && g && n(!1), [!1];
|
|
480
|
+
if (!we(p) || h) {
|
|
481
|
+
let e = [Te(p), h];
|
|
482
|
+
return i || n.apply(0, e), e;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}, _ = new se(J(g, !1));
|
|
486
|
+
return [() => (_.observe(e, {
|
|
487
|
+
attributes: !0,
|
|
488
|
+
attributeOldValue: !0,
|
|
489
|
+
attributeFilter: h,
|
|
490
|
+
subtree: t,
|
|
491
|
+
childList: t,
|
|
492
|
+
characterData: t
|
|
493
|
+
}), i = !0, () => {
|
|
494
|
+
i &&= (d(), _.disconnect(), !1);
|
|
495
|
+
}), () => {
|
|
496
|
+
if (i) return g(!0, _.takeRecords());
|
|
497
|
+
}];
|
|
498
|
+
}, Cr = null, wr = (e, t, n) => {
|
|
499
|
+
let { ft: r } = n || {}, i = pn($n), [a] = F({
|
|
500
|
+
o: !1,
|
|
501
|
+
u: !0
|
|
502
|
+
});
|
|
503
|
+
return () => {
|
|
504
|
+
let n = [], o = Et(`<div class="${Nn}"><div class="${Fn}"></div></div>`)[0], s = o.firstChild, c = (e) => {
|
|
505
|
+
let n = U(e) && !we(e), r = !1, i = !1;
|
|
506
|
+
if (n) {
|
|
507
|
+
let t = e[0], [n, , o] = a(t.contentRect), s = Kt(n);
|
|
508
|
+
i = qt(n, o), r = !i && !s;
|
|
509
|
+
} else i = e === !0;
|
|
510
|
+
r || t({
|
|
511
|
+
_t: !0,
|
|
512
|
+
ft: i
|
|
513
|
+
});
|
|
514
|
+
};
|
|
515
|
+
if (le) {
|
|
516
|
+
if (!he(Cr)) {
|
|
517
|
+
let t = new le(Ze);
|
|
518
|
+
t.observe(e, { get box() {
|
|
519
|
+
Cr = !0;
|
|
520
|
+
} }), Cr ||= !1, t.disconnect();
|
|
521
|
+
}
|
|
522
|
+
let t = qe(c, {
|
|
523
|
+
p: 0,
|
|
524
|
+
v: 0
|
|
525
|
+
}), r = (e) => t(e), i = new le(r);
|
|
526
|
+
if (i.observe(Cr ? e : s), K(n, [() => {
|
|
527
|
+
i.disconnect();
|
|
528
|
+
}, !Cr && Z(e, o)]), Cr) {
|
|
529
|
+
let t = new le(r);
|
|
530
|
+
t.observe(e, { box: "border-box" }), K(n, (() => t.disconnect()));
|
|
531
|
+
}
|
|
532
|
+
} else if (i) {
|
|
533
|
+
let [t, a] = i(s, c, r);
|
|
534
|
+
K(n, xe([
|
|
535
|
+
dt(o, Pn),
|
|
536
|
+
Q(o, "animationstart", t),
|
|
537
|
+
Z(e, o)
|
|
538
|
+
], a));
|
|
539
|
+
} else return Ze;
|
|
540
|
+
return J(q, n);
|
|
541
|
+
};
|
|
542
|
+
}, Tr = (e, t) => {
|
|
543
|
+
let n, r = (e) => e.h === 0 || e.isIntersecting || e.intersectionRatio > 0, i = Tt(In), [a] = F({ o: !1 }), o = (e, n) => {
|
|
544
|
+
if (e) {
|
|
545
|
+
let i = a(r(e)), [, o] = i;
|
|
546
|
+
return o && !n && t(i) && [i];
|
|
547
|
+
}
|
|
548
|
+
}, s = (e, t) => o(t.pop(), e);
|
|
549
|
+
return [() => {
|
|
550
|
+
let t = [];
|
|
551
|
+
if (ce) n = new ce(J(s, !1), { root: e }), n.observe(i), K(t, (() => {
|
|
552
|
+
n.disconnect();
|
|
553
|
+
}));
|
|
554
|
+
else {
|
|
555
|
+
let e = () => {
|
|
556
|
+
let e = Bt(i);
|
|
557
|
+
o(e);
|
|
558
|
+
};
|
|
559
|
+
K(t, wr(i, e)()), e();
|
|
560
|
+
}
|
|
561
|
+
return J(q, K(t, Z(e, i)));
|
|
562
|
+
}, () => n && s(!0, n.takeRecords())];
|
|
563
|
+
}, Er = (e, t, n, r) => {
|
|
564
|
+
let i, a, o, s, c, l, u, d, f = `[${xn}]`, p = `[${Cn}]`, m = [
|
|
565
|
+
"id",
|
|
566
|
+
"class",
|
|
567
|
+
"style",
|
|
568
|
+
"open",
|
|
569
|
+
"wrap",
|
|
570
|
+
"cols",
|
|
571
|
+
"rows"
|
|
572
|
+
], { dt: h, vt: g, L: _, gt: v, ht: y, V: b, bt: x, yt: S, wt: C, St: w } = e, T = (e) => Nt(e, "direction") === "rtl", E = () => {
|
|
573
|
+
let e, t, n, i = qe(r, {
|
|
574
|
+
p: () => e,
|
|
575
|
+
v: () => t,
|
|
576
|
+
S: () => n,
|
|
577
|
+
m(e, t) {
|
|
578
|
+
let [n] = e, [r] = t;
|
|
579
|
+
return [xe(Y(n), Y(r)).reduce(((e, t) => (e[t] = n[t] || r[t], e)), {})];
|
|
580
|
+
}
|
|
581
|
+
}), a = (r, a) => {
|
|
582
|
+
if (U(a)) {
|
|
583
|
+
let [r, i, o] = a;
|
|
584
|
+
e = r, t = i, n = o;
|
|
585
|
+
} else pe(a) ? (e = a, t = !1, n = !1) : (e = !1, t = !1, n = !1);
|
|
586
|
+
i(r);
|
|
587
|
+
};
|
|
588
|
+
return a.O = i.O, a;
|
|
589
|
+
}, D = {
|
|
590
|
+
Ot: !1,
|
|
591
|
+
B: T(h)
|
|
592
|
+
}, O = br(), k = pn(ar), [A] = F({
|
|
593
|
+
i: He,
|
|
594
|
+
o: {
|
|
595
|
+
w: 0,
|
|
596
|
+
h: 0
|
|
597
|
+
}
|
|
598
|
+
}, (() => {
|
|
599
|
+
let r = k && k.R(e, t, D, O, n).Y, i = !(x && b) && ct(g, xn, yn), a = !b && S(En), o = a && $t(v), s = o && w(), c = C(Dn, i), l = a && r && r(), u = Ht(_), d = Ut(_);
|
|
600
|
+
return l && l(), Qt(v, o), s && s(), i && c(), {
|
|
601
|
+
w: u.w + d.w,
|
|
602
|
+
h: u.h + d.h
|
|
603
|
+
};
|
|
604
|
+
})), j = E(), M = (e) => {
|
|
605
|
+
let t = T(h);
|
|
606
|
+
X(e, { Ct: d !== t }), X(D, { B: t }), d = t;
|
|
607
|
+
}, ee = (e, t) => {
|
|
608
|
+
let [n, i] = e, a = { $t: i };
|
|
609
|
+
return X(D, { Ot: n }), t || r(a), a;
|
|
610
|
+
}, N = ({ _t: e, ft: t }) => {
|
|
611
|
+
let n = t ? r : j, i = {
|
|
612
|
+
_t: e || t,
|
|
613
|
+
ft: t
|
|
614
|
+
};
|
|
615
|
+
M(i), n(i, a);
|
|
616
|
+
}, te = (e, t) => {
|
|
617
|
+
let [, n] = A(), r = { xt: n };
|
|
618
|
+
return M(r), n && !t && j(r, e ? o : i), r;
|
|
619
|
+
}, P = (e, t, n) => {
|
|
620
|
+
let r = { Ht: t };
|
|
621
|
+
return M(r), t && !n && j(r, i), r;
|
|
622
|
+
}, [I, L] = y ? Tr(g, ee) : [], R = !b && wr(g, N, { ft: !0 }), [z, B] = Sr(g, !1, P, {
|
|
623
|
+
ct: m,
|
|
624
|
+
et: m
|
|
625
|
+
}), V = b && le && new le(((e) => {
|
|
626
|
+
let t = e[e.length - 1].contentRect;
|
|
627
|
+
N({
|
|
628
|
+
_t: !0,
|
|
629
|
+
ft: qt(t, u)
|
|
630
|
+
}), u = t;
|
|
631
|
+
}));
|
|
632
|
+
return [
|
|
633
|
+
() => {
|
|
634
|
+
V && V.observe(g);
|
|
635
|
+
let e = R && R(), t = I && I(), n = z(), r = O.G(((e) => {
|
|
636
|
+
let [, t] = A();
|
|
637
|
+
j({
|
|
638
|
+
Et: e,
|
|
639
|
+
xt: t,
|
|
640
|
+
_t: x
|
|
641
|
+
}, s);
|
|
642
|
+
}));
|
|
643
|
+
return () => {
|
|
644
|
+
V && V.disconnect(), e && e(), t && t(), l && l(), n(), r();
|
|
645
|
+
};
|
|
646
|
+
},
|
|
647
|
+
({ Dt: e, zt: t, It: n }) => {
|
|
648
|
+
let r = {}, [u] = e("update.ignoreMutation"), [d, h] = e("update.attributes"), [g, v] = e("update.elementEvents"), [x, S] = e("update.debounce"), C = v || h, w = t || n, T = (e) => H(u) && !!u(e);
|
|
649
|
+
if (C) {
|
|
650
|
+
c && c(), l && l();
|
|
651
|
+
let [e, t] = Sr(y || _, !0, te, {
|
|
652
|
+
et: xe(m, d || []),
|
|
653
|
+
rt: g,
|
|
654
|
+
it: f,
|
|
655
|
+
ut: (e, t) => {
|
|
656
|
+
let { target: n, attributeName: r } = e;
|
|
657
|
+
return (!t && r && !b ? bt(n, f, p) : !1) || !!vt(n, `.${Rn}`) || T(e);
|
|
658
|
+
}
|
|
659
|
+
});
|
|
660
|
+
l = e(), c = t;
|
|
661
|
+
}
|
|
662
|
+
if (S && (j.O(), U(x) || pe(x) ? (i = x, a = !1, o = ur, s = dr) : ve(x) ? (i = x.mutation, a = x.resize, o = x.event, s = x.env) : (i = !1, a = !1, o = !1, s = !1)), w) {
|
|
663
|
+
let e = B(), t = L && L(), n = c && c();
|
|
664
|
+
e && X(r, P(e[0], e[1], w)), t && X(r, ee(t[0], w)), n && X(r, te(n[0], w));
|
|
665
|
+
}
|
|
666
|
+
return M(r), r;
|
|
667
|
+
},
|
|
668
|
+
D
|
|
669
|
+
];
|
|
670
|
+
}, Dr = (e, t) => H(t) ? t.apply(0, e) : t, Or = (e, t, n, r) => Dr(e, de(r) ? n : r) || t.apply(0, e), kr = (e, t, n, r) => {
|
|
671
|
+
let i = Dr(e, de(r) ? n : r);
|
|
672
|
+
return !!i && (ye(i) ? i : t.apply(0, e));
|
|
673
|
+
}, Ar = (e, t) => {
|
|
674
|
+
let { nativeScrollbarsOverlaid: n, body: r } = t || {}, { M: i, P: a, K: o } = br(), { nativeScrollbarsOverlaid: s, body: c } = o().cancel, l = n ?? s, u = de(r) ? c : r, d = (i.x || i.y) && l, f = e && (fe(u) ? !a : u);
|
|
675
|
+
return !!d || !!f;
|
|
676
|
+
}, jr = (e, t, n, r) => {
|
|
677
|
+
let { K: i } = br(), { scrollbars: a } = i(), { slot: o } = a, { dt: s, vt: c, L: l, At: u, gt: d, bt: f, V: p } = t, { scrollbars: m } = u ? {} : e, { slot: h } = m || {}, g = [], _ = [], v = [], y = kr([
|
|
678
|
+
s,
|
|
679
|
+
c,
|
|
680
|
+
l
|
|
681
|
+
], (() => p && f ? s : c), o, h), b = (e) => {
|
|
682
|
+
if (ue) {
|
|
683
|
+
let t = null, r = [], i = new ue({
|
|
684
|
+
source: d,
|
|
685
|
+
axis: e
|
|
686
|
+
}), a = () => {
|
|
687
|
+
t && t.cancel(), t = null;
|
|
688
|
+
};
|
|
689
|
+
return { Mt: (o) => {
|
|
690
|
+
let { Tt: s } = n, c = nn(s)[e], l = e === "x", u = [Ft(0, l), Ft(`calc(-100% + 100cq${l ? "w" : "h"})`, l)], d = c ? u : u.reverse();
|
|
691
|
+
return r[0] === d[0] && r[1] === d[1] ? a : (r = d, a(), t = o.kt.animate({
|
|
692
|
+
clear: ["left"],
|
|
693
|
+
transform: d
|
|
694
|
+
}, { timeline: i }), a);
|
|
695
|
+
} };
|
|
696
|
+
}
|
|
697
|
+
}, x = {
|
|
698
|
+
x: b("x"),
|
|
699
|
+
y: b("y")
|
|
700
|
+
}, S = () => {
|
|
701
|
+
let { Rt: e, Vt: t } = n, r = (e, t) => Qe(0, 1, e / (e + t) || 0);
|
|
702
|
+
return {
|
|
703
|
+
x: r(t.x, e.x),
|
|
704
|
+
y: r(t.y, e.y)
|
|
705
|
+
};
|
|
706
|
+
}, C = (e, t, n) => {
|
|
707
|
+
let r = n ? dt : ut;
|
|
708
|
+
G(e, ((e) => {
|
|
709
|
+
r(e.Lt, t);
|
|
710
|
+
}));
|
|
711
|
+
}, w = (e, t) => {
|
|
712
|
+
G(e, ((e) => {
|
|
713
|
+
let [n, r] = t(e);
|
|
714
|
+
Mt(n, r);
|
|
715
|
+
}));
|
|
716
|
+
}, T = (e, t, n) => {
|
|
717
|
+
let r = he(n), i = !r || n, a = !r || !n;
|
|
718
|
+
i && C(_, e, t), a && C(v, e, t);
|
|
719
|
+
}, E = () => {
|
|
720
|
+
let e = S(), t = (e) => (t) => [t.Lt, { "--os-viewport-percent": At(e) + "" }];
|
|
721
|
+
w(_, t(e.x)), w(v, t(e.y));
|
|
722
|
+
}, D = () => {
|
|
723
|
+
if (!ue) {
|
|
724
|
+
let { Tt: e } = n, t = rn(e, $t(d)), r = (e) => (t) => [t.Lt, { "--os-scroll-percent": At(e) + "" }];
|
|
725
|
+
w(_, r(t.x)), w(v, r(t.y));
|
|
726
|
+
}
|
|
727
|
+
}, O = () => {
|
|
728
|
+
let { Tt: e } = n, t = nn(e), r = (e) => (t) => [t.Lt, { "--os-scroll-direction": e ? "0" : "1" }];
|
|
729
|
+
w(_, r(t.x)), w(v, r(t.y)), ue && (_.forEach(x.x.Mt), v.forEach(x.y.Mt));
|
|
730
|
+
}, k = () => {
|
|
731
|
+
if (p && !f) {
|
|
732
|
+
let { Rt: e, Tt: t } = n, r = nn(t), i = rn(t, $t(d)), a = (t) => {
|
|
733
|
+
let { Lt: n } = t, a = _t(n) === l && n, o = (e, t, n) => {
|
|
734
|
+
let r = t * e;
|
|
735
|
+
return jt(n ? r : -r);
|
|
736
|
+
};
|
|
737
|
+
return [a, a && { transform: Ft({
|
|
738
|
+
x: o(i.x, e.x, r.x),
|
|
739
|
+
y: o(i.y, e.y, r.y)
|
|
740
|
+
}) }];
|
|
741
|
+
};
|
|
742
|
+
w(_, a), w(v, a);
|
|
743
|
+
}
|
|
744
|
+
}, A = (e) => {
|
|
745
|
+
let t = e ? "x" : "y", n = Tt(`${Rn} ${e ? Bn : Vn}`), i = Tt(Hn), a = Tt(Un), o = {
|
|
746
|
+
Lt: n,
|
|
747
|
+
Pt: i,
|
|
748
|
+
kt: a
|
|
749
|
+
}, s = x[t];
|
|
750
|
+
return K(e ? _ : v, o), K(g, [
|
|
751
|
+
Z(n, i),
|
|
752
|
+
Z(i, a),
|
|
753
|
+
J(xt, n),
|
|
754
|
+
s && s.Mt(o),
|
|
755
|
+
r(o, T, e)
|
|
756
|
+
]), o;
|
|
757
|
+
}, j = J(A, !0), M = J(A, !1);
|
|
758
|
+
return j(), M(), [{
|
|
759
|
+
Ut: E,
|
|
760
|
+
Nt: D,
|
|
761
|
+
qt: O,
|
|
762
|
+
Bt: k,
|
|
763
|
+
Ft: T,
|
|
764
|
+
jt: {
|
|
765
|
+
Xt: _,
|
|
766
|
+
Yt: j,
|
|
767
|
+
Wt: J(w, _)
|
|
768
|
+
},
|
|
769
|
+
Jt: {
|
|
770
|
+
Xt: v,
|
|
771
|
+
Yt: M,
|
|
772
|
+
Wt: J(w, v)
|
|
773
|
+
}
|
|
774
|
+
}, () => (Z(y, _[0].Lt), Z(y, v[0].Lt), J(q, g))];
|
|
775
|
+
}, Mr = (e, t, n, r, i) => (a, o, s) => {
|
|
776
|
+
let { vt: c, L: l, V: u, gt: d, Gt: f, St: p } = t, { Lt: m, Pt: h, kt: g } = a, [_, v] = Ge(333), [y, b] = Ge(444), x = (e) => {
|
|
777
|
+
H(d.scrollBy) && d.scrollBy({
|
|
778
|
+
behavior: "smooth",
|
|
779
|
+
left: e.x,
|
|
780
|
+
top: e.y
|
|
781
|
+
});
|
|
782
|
+
}, S = () => {
|
|
783
|
+
let t = "pointerup pointercancel lostpointercapture", i = `client${s ? "X" : "Y"}`, a = s ? Fe : Ie, o = s ? "left" : "top", c = s ? "w" : "h", l = s ? "x" : "y", u = [];
|
|
784
|
+
return Q(h, "pointerdown", r(((r) => {
|
|
785
|
+
let m = vt(r.target, `.${Un}`) === g, _ = m ? g : h, v = e.scrollbars, S = v[m ? "dragScroll" : "clickScroll"], { button: C, isPrimary: w, pointerType: T } = r, { pointers: E } = v;
|
|
786
|
+
if (C === 0 && w && S && (E || []).includes(T)) {
|
|
787
|
+
q(u), b();
|
|
788
|
+
let e = !m && (r.shiftKey || S === "instant"), v = J(Wt, g), C = J(Wt, h), w = (e, t) => (e || v())[o] - (t || C())[o], T = z(Wt(d)[a]) / Bt(d)[c] || 1, E = $t(d)[l], D = (e) => {
|
|
789
|
+
Qt(d, { [l]: E + e });
|
|
790
|
+
}, O = (e) => {
|
|
791
|
+
let { Rt: t } = n, r = Bt(h)[c] - Bt(g)[c], i = 1 / T * e / r;
|
|
792
|
+
D(i * t[l]);
|
|
793
|
+
}, k = r[i], A = v(), j = C(), M = A[a], ee = w(A, j) + M / 2, N = k - j[o] - ee, te = m ? 0 : N, P = (e) => {
|
|
794
|
+
q(L), _.releasePointerCapture(e.pointerId);
|
|
795
|
+
}, F = m || e, I = p(), L = [
|
|
796
|
+
Q(f, t, P),
|
|
797
|
+
Q(f, "selectstart", ((e) => Xt(e)), { D: !1 }),
|
|
798
|
+
Q(h, t, P),
|
|
799
|
+
F && Q(h, "pointermove", ((e) => O(te + e[i] - k))),
|
|
800
|
+
F && (() => {
|
|
801
|
+
let e = $t(d);
|
|
802
|
+
I();
|
|
803
|
+
let t = $t(d), n = {
|
|
804
|
+
x: t.x - e.x,
|
|
805
|
+
y: t.y - e.y
|
|
806
|
+
};
|
|
807
|
+
(B(n.x) > 3 || B(n.y) > 3) && (p(), Qt(d, e), x(n), y(I));
|
|
808
|
+
})
|
|
809
|
+
];
|
|
810
|
+
if (_.setPointerCapture(r.pointerId), e) O(N);
|
|
811
|
+
else if (!m) {
|
|
812
|
+
let e = pn(or);
|
|
813
|
+
if (e) {
|
|
814
|
+
let { Vt: t } = n, r = e(D, O, J(w), N, t[l], S, !!s, ((e) => {
|
|
815
|
+
e ? I() : K(L, I);
|
|
816
|
+
}));
|
|
817
|
+
K(L, r), K(u, J(r, !0));
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
})));
|
|
822
|
+
}, C = !0;
|
|
823
|
+
return J(q, [
|
|
824
|
+
Q(g, "pointermove pointerleave", r(i)),
|
|
825
|
+
Q(m, "pointerenter", r((() => {
|
|
826
|
+
o(Kn, !0);
|
|
827
|
+
}))),
|
|
828
|
+
Q(m, "pointerleave pointercancel", r((() => {
|
|
829
|
+
o(Kn, !1);
|
|
830
|
+
}))),
|
|
831
|
+
Q(m, "wheel", r(((e) => {
|
|
832
|
+
let { deltaX: t, deltaY: n, deltaMode: r } = e;
|
|
833
|
+
C && r === 0 && _t(m) === c && x({
|
|
834
|
+
x: t,
|
|
835
|
+
y: n
|
|
836
|
+
}), C = !1, o(Xn, !0), _((() => {
|
|
837
|
+
C = !0, o(Xn);
|
|
838
|
+
})), Xt(e);
|
|
839
|
+
})), {
|
|
840
|
+
D: !1,
|
|
841
|
+
I: !0
|
|
842
|
+
}),
|
|
843
|
+
!u && Q(m, "mousedown", r((() => {
|
|
844
|
+
let e = yt();
|
|
845
|
+
(tt(e, Cn) || tt(e, xn) || e === document.body) && ie(J(an, l), 25);
|
|
846
|
+
}))),
|
|
847
|
+
Q(m, "pointerdown", (() => {
|
|
848
|
+
let e = Q(f, "click", ((e) => {
|
|
849
|
+
t(), Zt(e);
|
|
850
|
+
}), {
|
|
851
|
+
A: !0,
|
|
852
|
+
I: !0,
|
|
853
|
+
D: !1
|
|
854
|
+
}), t = Q(f, "pointerup pointercancel", (() => {
|
|
855
|
+
t(), setTimeout(e, 150);
|
|
856
|
+
}), {
|
|
857
|
+
I: !0,
|
|
858
|
+
D: !0
|
|
859
|
+
});
|
|
860
|
+
}), {
|
|
861
|
+
I: !0,
|
|
862
|
+
D: !0
|
|
863
|
+
}),
|
|
864
|
+
S(),
|
|
865
|
+
v,
|
|
866
|
+
b
|
|
867
|
+
]);
|
|
868
|
+
}, Nr = (e, t, n, r, i, a, o) => {
|
|
869
|
+
let s, c, l, u, d, f = Ze, p = 0, m = ["mouse", "pen"], h = (e) => (t) => {
|
|
870
|
+
n.Kt || e(t);
|
|
871
|
+
}, g = (e) => m.includes(e.pointerType), [_, v] = Ge(), [y, b] = Ge(100), [x, S] = Ge(50), [C, w] = Ge((() => p)), [T, E] = jr(e, a, i, Mr(t, a, i, h, ((e) => g(e) && P()))), { vt: D, Qt: O, bt: k } = a, { Ft: A, Ut: j, Nt: M, qt: ee, Bt: N } = T, te = (e, t) => {
|
|
872
|
+
w();
|
|
873
|
+
let r = (e) => {
|
|
874
|
+
n.Kt || A(Yn, e);
|
|
875
|
+
};
|
|
876
|
+
if (e) r();
|
|
877
|
+
else {
|
|
878
|
+
let e = !l || !s;
|
|
879
|
+
p > 0 && !t ? C(J(r, e)) : r(e);
|
|
880
|
+
}
|
|
881
|
+
}, P = () => {
|
|
882
|
+
(l ? !s : !u) && (te(!0), y((() => {
|
|
883
|
+
te(!1);
|
|
884
|
+
})));
|
|
885
|
+
}, F = (e) => {
|
|
886
|
+
g(e) && (s = !0, !n.Kt && l && te(!0));
|
|
887
|
+
}, I = (e) => {
|
|
888
|
+
g(e) && (s = !1, !n.Kt && l && te(!1));
|
|
889
|
+
}, L = (e) => {
|
|
890
|
+
A(Jn, e, !0), A(Jn, e, !1);
|
|
891
|
+
}, R = [
|
|
892
|
+
w,
|
|
893
|
+
b,
|
|
894
|
+
S,
|
|
895
|
+
v,
|
|
896
|
+
() => f(),
|
|
897
|
+
Q(D, "pointerover", F, { A: !0 }),
|
|
898
|
+
Q(D, "pointerenter", F),
|
|
899
|
+
Q(D, "pointerleave", I),
|
|
900
|
+
Q(D, "pointermove", h(((e) => {
|
|
901
|
+
g(e) && c && P();
|
|
902
|
+
}))),
|
|
903
|
+
Q(O, "scroll", h(((e) => {
|
|
904
|
+
_((() => {
|
|
905
|
+
M(), P();
|
|
906
|
+
})), o(e), N();
|
|
907
|
+
})))
|
|
908
|
+
], z = pn(ar);
|
|
909
|
+
return [
|
|
910
|
+
() => J(q, K(R, E())),
|
|
911
|
+
({ Dt: e, It: t, Zt: n, tn: a }) => {
|
|
912
|
+
let { nn: o, sn: s, en: m, cn: g } = a || {}, { Ct: _, ft: v } = n || {}, { B: y } = r, { M: b, P: S } = br(), { rn: C, j: w } = i, [T, E] = e("showNativeOverlaidScrollbars"), [D, P] = e("scrollbars.theme"), [F, I] = e("scrollbars.visibility"), [R, B] = e("scrollbars.autoHide"), [V, ne] = e("scrollbars.autoHideSuspend"), [re] = e("scrollbars.autoHideDelay"), [ie, ae] = e("scrollbars.dragScroll"), [oe, se] = e("scrollbars.clickScroll"), [ce, le] = e("overflow"), ue = v && !t, de = o || s || g || _ || t, fe = m || I || le, pe = T && b.x && b.y, me = !S && !z, he = pe || me, H = (e, t, n) => {
|
|
913
|
+
let r = e.includes(ze) && (F === Le || F === "auto" && t === ze);
|
|
914
|
+
return A(Wn, r, n), r;
|
|
915
|
+
};
|
|
916
|
+
if (p = re, (E || me) && A(Ln, he), P && (A(d), A(D, !0), d = D), (ne || ue) && (L(!V), ue && V && (w.x || w.y ? (f(), x((() => {
|
|
917
|
+
f = Q(O, ze, h(J(L, !0)), { A: !0 });
|
|
918
|
+
}))) : L(!0))), B && (c = R === "move", l = R === "leave", u = R === "never", te(u, !0)), ae && A(Qn, ie), se && A(Zn, !!oe), fe) {
|
|
919
|
+
let e = H(ce.x, C.x, !0), t = H(ce.y, C.y, !1);
|
|
920
|
+
A(Gn, !(e && t));
|
|
921
|
+
}
|
|
922
|
+
de && (M(), j(), N(), g && ee(), A(qn, !w.x, !0), A(qn, !w.y, !1), A(zn, y && !k));
|
|
923
|
+
},
|
|
924
|
+
{},
|
|
925
|
+
T
|
|
926
|
+
];
|
|
927
|
+
}, Pr = (e) => {
|
|
928
|
+
let { K: t, P: n } = br(), { elements: r } = t(), { padding: i, viewport: a, content: o } = r, s = ye(e), c = s ? {} : e, { elements: l } = c, { padding: u, viewport: d, content: f } = l || {}, p = s ? e : c.target, m = ht(p), h = p.ownerDocument, g = h.documentElement, _ = () => h.defaultView || I, v = J(Or, [p]), y = J(kr, [p]), b = J(Tt, ""), x = J(v, b, a), S = J(y, b, o), C = (e) => {
|
|
929
|
+
let t = Bt(e), n = Ht(e), r = Nt(e, Ne), i = Nt(e, Pe);
|
|
930
|
+
return n.w - t.w > 0 && !tr(r) || n.h - t.h > 0 && !tr(i);
|
|
931
|
+
}, w = x(d), T = w === p, E = T && m, D = !T && S(f), O = !T && w === D, k = E ? g : w, A = E ? k : p, j = !T && y(b, i, u), M = !O && D, ee = [
|
|
932
|
+
M,
|
|
933
|
+
k,
|
|
934
|
+
j,
|
|
935
|
+
A
|
|
936
|
+
].map(((e) => ye(e) && !_t(e) && e)), N = (e) => e && be(ee, e), te = !N(k) && C(k) ? k : p, P = E ? g : k, F = {
|
|
937
|
+
dt: p,
|
|
938
|
+
vt: A,
|
|
939
|
+
L: k,
|
|
940
|
+
ln: j,
|
|
941
|
+
ht: M,
|
|
942
|
+
gt: P,
|
|
943
|
+
Qt: E ? h : k,
|
|
944
|
+
an: m ? g : te,
|
|
945
|
+
Gt: h,
|
|
946
|
+
bt: m,
|
|
947
|
+
At: s,
|
|
948
|
+
V: T,
|
|
949
|
+
un: _,
|
|
950
|
+
yt: (e) => ct(k, Cn, e),
|
|
951
|
+
wt: (e, t) => st(k, Cn, e, t),
|
|
952
|
+
St: () => st(P, Cn, On, !0)
|
|
953
|
+
}, { dt: L, vt: R, ln: z, L: B, ht: V } = F, ne = [() => {
|
|
954
|
+
rt(R, [xn, vn]), rt(L, vn), m && rt(g, [vn, xn]);
|
|
955
|
+
}], re = gt([
|
|
956
|
+
V,
|
|
957
|
+
B,
|
|
958
|
+
z,
|
|
959
|
+
R,
|
|
960
|
+
L
|
|
961
|
+
].find(((e) => e && !N(e)))), ie = E ? L : V || B, ae = J(q, ne);
|
|
962
|
+
return [
|
|
963
|
+
F,
|
|
964
|
+
() => {
|
|
965
|
+
let e = _(), t = yt(), r = (e) => {
|
|
966
|
+
Z(_t(e), gt(e)), xt(e);
|
|
967
|
+
}, i = (e) => Q(e, "focusin focusout focus blur", Zt, {
|
|
968
|
+
I: !0,
|
|
969
|
+
D: !1
|
|
970
|
+
}), a = "tabindex", o = et(B, a), s = i(t);
|
|
971
|
+
return nt(R, xn, T ? "" : Sn), nt(z, jn, ""), nt(B, Cn, ""), nt(V, Mn, ""), T || (nt(B, a, o || "-1"), m && nt(g, bn, "")), Z(ie, re), Z(R, z), Z(z || R, !T && B), Z(B, V), K(ne, [s, () => {
|
|
972
|
+
let e = yt(), t = N(B), n = t && e === B ? L : e, s = i(n);
|
|
973
|
+
rt(z, jn), rt(V, Mn), rt(B, Cn), m && rt(g, bn), o ? nt(B, a, o) : rt(B, a), N(V) && r(V), t && r(B), N(z) && r(z), an(n), s();
|
|
974
|
+
}]), n && !T && (ot(B, Cn, kn), K(ne, J(rt, B, Cn))), an(!T && m && t === L && e.top === e ? B : t), s(), re = 0, ae;
|
|
975
|
+
},
|
|
976
|
+
ae
|
|
977
|
+
];
|
|
978
|
+
}, Fr = ({ ht: e }) => ({ Zt: t, fn: n, It: r }) => {
|
|
979
|
+
let { $t: i } = t || {}, { Ot: a } = n;
|
|
980
|
+
e && (i || r) && Mt(e, { [Ie]: a && "100%" });
|
|
981
|
+
}, Ir = ({ vt: e, ln: t, L: n, V: r }, i) => {
|
|
982
|
+
let [a, o] = F({
|
|
983
|
+
i: We,
|
|
984
|
+
o: Pt()
|
|
985
|
+
}, J(Pt, e, "padding", ""));
|
|
986
|
+
return ({ Dt: e, Zt: s, fn: c, It: l }) => {
|
|
987
|
+
let [u, d] = o(l), { P: f } = br(), { _t: p, xt: m, Ct: h } = s || {}, { B: g } = c, [_, v] = e("paddingAbsolute");
|
|
988
|
+
(p || d || l || m) && ([u, d] = a(l));
|
|
989
|
+
let y = !r && (v || h || d);
|
|
990
|
+
if (y) {
|
|
991
|
+
let e = !_ || !t && !f, r = u.r + u.l, a = u.t + u.b, o = {
|
|
992
|
+
[je]: e && !g ? -r : 0,
|
|
993
|
+
[Me]: e ? -a : 0,
|
|
994
|
+
[Ae]: e && g ? -r : 0,
|
|
995
|
+
top: e ? -u.t : 0,
|
|
996
|
+
right: e ? g ? -u.r : "auto" : 0,
|
|
997
|
+
left: e ? g ? "auto" : -u.l : 0,
|
|
998
|
+
[Fe]: e && `calc(100% + ${r}px)`
|
|
999
|
+
}, s = {
|
|
1000
|
+
[Ee]: e ? u.t : 0,
|
|
1001
|
+
[De]: e ? u.r : 0,
|
|
1002
|
+
[ke]: e ? u.b : 0,
|
|
1003
|
+
[Oe]: e ? u.l : 0
|
|
1004
|
+
};
|
|
1005
|
+
Mt(t || n, o), Mt(n, s), X(i, {
|
|
1006
|
+
ln: u,
|
|
1007
|
+
_n: !e,
|
|
1008
|
+
F: t ? s : X({}, o, s)
|
|
1009
|
+
});
|
|
1010
|
+
}
|
|
1011
|
+
return { dn: y };
|
|
1012
|
+
};
|
|
1013
|
+
}, Lr = (e, t) => {
|
|
1014
|
+
let n = br(), { vt: r, ln: i, L: a, V: o, Qt: s, gt: c, bt: l, wt: u, un: d } = e, { P: f } = n, p = l && o, m = J(L, 0), h = {
|
|
1015
|
+
display: () => !1,
|
|
1016
|
+
direction: (e) => e !== "ltr",
|
|
1017
|
+
flexDirection: (e) => e.endsWith("-reverse"),
|
|
1018
|
+
writingMode: (e) => e !== "horizontal-tb"
|
|
1019
|
+
}, g = Y(h), _ = {
|
|
1020
|
+
i: He,
|
|
1021
|
+
o: {
|
|
1022
|
+
w: 0,
|
|
1023
|
+
h: 0
|
|
1024
|
+
}
|
|
1025
|
+
}, v = {
|
|
1026
|
+
i: Ue,
|
|
1027
|
+
o: {}
|
|
1028
|
+
}, y = (e) => {
|
|
1029
|
+
u(Dn, !p && e);
|
|
1030
|
+
}, b = () => Nt(a, g), x = (e, t) => {
|
|
1031
|
+
let n = !Y(e).length, r = t ? !0 : g.some(((t) => {
|
|
1032
|
+
let n = e[t];
|
|
1033
|
+
return me(n) && h[t](n);
|
|
1034
|
+
}));
|
|
1035
|
+
if (n || !r || !Gt(a)) return {
|
|
1036
|
+
T: {
|
|
1037
|
+
x: 0,
|
|
1038
|
+
y: 0
|
|
1039
|
+
},
|
|
1040
|
+
k: {
|
|
1041
|
+
x: 1,
|
|
1042
|
+
y: 1
|
|
1043
|
+
}
|
|
1044
|
+
};
|
|
1045
|
+
y(!0);
|
|
1046
|
+
let i = $t(c), o = Q(s, ze, ((e) => {
|
|
1047
|
+
let t = $t(c);
|
|
1048
|
+
e.isTrusted && t.x === i.x && t.y === i.y && Yt(e);
|
|
1049
|
+
}), {
|
|
1050
|
+
I: !0,
|
|
1051
|
+
A: !0
|
|
1052
|
+
}), l = u(An, !0);
|
|
1053
|
+
Qt(c, {
|
|
1054
|
+
x: 0,
|
|
1055
|
+
y: 0
|
|
1056
|
+
}), l();
|
|
1057
|
+
let d = $t(c), f = Ht(c);
|
|
1058
|
+
Qt(c, {
|
|
1059
|
+
x: f.w,
|
|
1060
|
+
y: f.h
|
|
1061
|
+
});
|
|
1062
|
+
let p = $t(c), m = {
|
|
1063
|
+
x: p.x - d.x,
|
|
1064
|
+
y: p.y - d.y
|
|
1065
|
+
};
|
|
1066
|
+
Qt(c, {
|
|
1067
|
+
x: -f.w,
|
|
1068
|
+
y: -f.h
|
|
1069
|
+
});
|
|
1070
|
+
let _ = $t(c), v = {
|
|
1071
|
+
x: _.x - d.x,
|
|
1072
|
+
y: _.y - d.y
|
|
1073
|
+
}, b = {
|
|
1074
|
+
x: B(m.x) >= B(v.x) ? p.x : _.x,
|
|
1075
|
+
y: B(m.y) >= B(v.y) ? p.y : _.y
|
|
1076
|
+
};
|
|
1077
|
+
return Qt(c, i), re((() => o())), {
|
|
1078
|
+
T: d,
|
|
1079
|
+
k: b
|
|
1080
|
+
};
|
|
1081
|
+
}, S = (e, t) => {
|
|
1082
|
+
let n = I.devicePixelRatio % 1 == 0 ? 0 : 1, r = {
|
|
1083
|
+
w: m(e.w - t.w),
|
|
1084
|
+
h: m(e.h - t.h)
|
|
1085
|
+
};
|
|
1086
|
+
return {
|
|
1087
|
+
w: r.w > n ? r.w : 0,
|
|
1088
|
+
h: r.h > n ? r.h : 0
|
|
1089
|
+
};
|
|
1090
|
+
}, C = (e, t) => {
|
|
1091
|
+
let n = (e, t, n, r) => {
|
|
1092
|
+
let i = e === Le ? Re : nr(e), a = tr(e), o = tr(n);
|
|
1093
|
+
return !t && !r ? Re : a && o ? Le : a ? t && r ? i : t ? Le : Re : t ? i : o && r ? Le : Re;
|
|
1094
|
+
};
|
|
1095
|
+
return {
|
|
1096
|
+
x: n(t.x, e.x, t.y, e.y),
|
|
1097
|
+
y: n(t.y, e.y, t.x, e.x)
|
|
1098
|
+
};
|
|
1099
|
+
}, w = (e) => {
|
|
1100
|
+
let t = (e) => [
|
|
1101
|
+
Le,
|
|
1102
|
+
Re,
|
|
1103
|
+
ze
|
|
1104
|
+
].map(((t) => V(rr(t), e))), n = t(!0).concat(t()).join(" ");
|
|
1105
|
+
u(n), u(Y(e).map(((t) => V(e[t], t === "x"))).join(" "), !0);
|
|
1106
|
+
}, [T, E] = F(_, J(Ut, a)), [D, O] = F(_, J(Ht, a)), [k, A] = F(_), [j] = F(v), [M, ee] = F(_), [N] = F(v), [te] = F({
|
|
1107
|
+
i: (e, t) => Ve(e, t, Te(xe(Y(e), Y(t)))),
|
|
1108
|
+
o: {}
|
|
1109
|
+
}), [P, R] = F({
|
|
1110
|
+
i: (e, t) => Ue(e.T, t.T) && Ue(e.k, t.k),
|
|
1111
|
+
o: en()
|
|
1112
|
+
}), z = pn(ar), V = (e, t) => `${t ? wn : Tn}${Be(e)}`;
|
|
1113
|
+
return ({ Dt: o, Zt: s, fn: c, It: l }, { dn: h }) => {
|
|
1114
|
+
let { _t: g, Ht: _, xt: v, Ct: F, ft: I, Et: L } = s || {}, { X: B, Y: V, W: ne } = z && z.R(e, t, c, n, o) || {}, [re, ie] = er(o, n), [ae, oe] = o("overflow"), se = tr(ae.x), ce = tr(ae.y), le = g || h || v || F || L || ie, ue = E(l), de = O(l), fe = A(l), pe = ee(l);
|
|
1115
|
+
if (ie && f && u(kn, !re), le) {
|
|
1116
|
+
ct(r, xn, yn) && y(!0);
|
|
1117
|
+
let e = V && V(), [t] = ue = T(l), [n] = de = D(l), i = Vt(a), o = p && zt(d()), s = {
|
|
1118
|
+
w: m(n.w + t.w),
|
|
1119
|
+
h: m(n.h + t.h)
|
|
1120
|
+
}, c = {
|
|
1121
|
+
w: m((o ? o.w : i.w + m(i.w - n.w)) + t.w),
|
|
1122
|
+
h: m((o ? o.h : i.h + m(i.h - n.h)) + t.h)
|
|
1123
|
+
};
|
|
1124
|
+
e && e(), pe = M(c), fe = k(S(s, c), l);
|
|
1125
|
+
}
|
|
1126
|
+
let [me, he] = pe, [H, U] = fe, [ge, _e] = de, [ve, ye] = ue, [W] = j({
|
|
1127
|
+
x: H.w > 0,
|
|
1128
|
+
y: H.h > 0
|
|
1129
|
+
}), G = se && ce && (W.x || W.y) || se && W.x && !W.y || ce && W.y && !W.x, be = h || F || L || ye || _e || he || U || oe || ie || le || _ && p, [xe] = o("update.flowDirectionStyles"), [K, Se] = te(xe ? xe(a) || {} : b(), l), [Ce, we] = F || I || Se || l ? P(x(K, !!xe), l) : R(), Te = C(W, ae);
|
|
1130
|
+
y(!1), be && (w(Te), Te = ir(a, W), ne && B && (B(Te, ge, ve), Mt(a, ne(Te))));
|
|
1131
|
+
let [q, Ee] = N(Te);
|
|
1132
|
+
return st(r, xn, yn, G), st(i, jn, yn, G), X(t, {
|
|
1133
|
+
rn: q,
|
|
1134
|
+
Vt: {
|
|
1135
|
+
x: me.w,
|
|
1136
|
+
y: me.h
|
|
1137
|
+
},
|
|
1138
|
+
Rt: {
|
|
1139
|
+
x: H.w,
|
|
1140
|
+
y: H.h
|
|
1141
|
+
},
|
|
1142
|
+
j: W,
|
|
1143
|
+
Tt: tn(Ce, H)
|
|
1144
|
+
}), {
|
|
1145
|
+
en: Ee,
|
|
1146
|
+
nn: he,
|
|
1147
|
+
sn: U,
|
|
1148
|
+
cn: we || U
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
}, Rr = (e) => {
|
|
1152
|
+
let [t, n, r] = Pr(e), i = {
|
|
1153
|
+
ln: {
|
|
1154
|
+
t: 0,
|
|
1155
|
+
r: 0,
|
|
1156
|
+
b: 0,
|
|
1157
|
+
l: 0
|
|
1158
|
+
},
|
|
1159
|
+
_n: !1,
|
|
1160
|
+
F: {
|
|
1161
|
+
[je]: 0,
|
|
1162
|
+
[Me]: 0,
|
|
1163
|
+
[Ae]: 0,
|
|
1164
|
+
[Ee]: 0,
|
|
1165
|
+
[De]: 0,
|
|
1166
|
+
[ke]: 0,
|
|
1167
|
+
[Oe]: 0
|
|
1168
|
+
},
|
|
1169
|
+
Vt: {
|
|
1170
|
+
x: 0,
|
|
1171
|
+
y: 0
|
|
1172
|
+
},
|
|
1173
|
+
Rt: {
|
|
1174
|
+
x: 0,
|
|
1175
|
+
y: 0
|
|
1176
|
+
},
|
|
1177
|
+
rn: {
|
|
1178
|
+
x: Re,
|
|
1179
|
+
y: Re
|
|
1180
|
+
},
|
|
1181
|
+
j: {
|
|
1182
|
+
x: !1,
|
|
1183
|
+
y: !1
|
|
1184
|
+
},
|
|
1185
|
+
Tt: en()
|
|
1186
|
+
}, { dt: a, gt: o, V: s, St: c } = t, { P: l, M: u } = br(), d = !l && (u.x || u.y), f = [
|
|
1187
|
+
Fr(t),
|
|
1188
|
+
Ir(t, i),
|
|
1189
|
+
Lr(t, i)
|
|
1190
|
+
];
|
|
1191
|
+
return [
|
|
1192
|
+
n,
|
|
1193
|
+
(e) => {
|
|
1194
|
+
let t = {}, n = d && $t(o), r = n && c();
|
|
1195
|
+
return G(f, ((n) => {
|
|
1196
|
+
X(t, n(e, t) || {});
|
|
1197
|
+
})), Qt(o, n), r && r(), s || Qt(a, 0), t;
|
|
1198
|
+
},
|
|
1199
|
+
i,
|
|
1200
|
+
t,
|
|
1201
|
+
r
|
|
1202
|
+
];
|
|
1203
|
+
}, zr = (e, t, n, r) => {
|
|
1204
|
+
let i = !1, a = {
|
|
1205
|
+
Kt: !1,
|
|
1206
|
+
pn: !1
|
|
1207
|
+
}, o = mr(t, {}), [s, c, l, u, d] = Rr(e), [f, p, m] = Er(u, l, o, ((e) => {
|
|
1208
|
+
y({}, e);
|
|
1209
|
+
})), [h, g, , _] = Nr(e, t, a, m, l, u, r), v = (e) => Y(e).some(((t) => !!e[t])), y = (e, r) => {
|
|
1210
|
+
let { Kt: o, pn: s } = a;
|
|
1211
|
+
if (s || o && i) return !1;
|
|
1212
|
+
let { vn: l, It: u, zt: d } = e, f = l || {}, h = !!u || !i, _ = {
|
|
1213
|
+
Dt: mr(t, f, h),
|
|
1214
|
+
vn: f,
|
|
1215
|
+
It: h
|
|
1216
|
+
}, y = r || p(X({}, _, { zt: d })), b = c(X({}, _, {
|
|
1217
|
+
fn: m,
|
|
1218
|
+
Zt: y
|
|
1219
|
+
}));
|
|
1220
|
+
g(X({}, _, {
|
|
1221
|
+
Zt: y,
|
|
1222
|
+
tn: b
|
|
1223
|
+
}));
|
|
1224
|
+
let x = v(y), S = v(b), C = x || S || !Xe(f) || h;
|
|
1225
|
+
return i = !0, C && n(e, {
|
|
1226
|
+
Zt: y,
|
|
1227
|
+
tn: b
|
|
1228
|
+
}), C;
|
|
1229
|
+
};
|
|
1230
|
+
return [
|
|
1231
|
+
() => {
|
|
1232
|
+
let { an: e, gt: t, St: n } = u, r = $t(e), i = [
|
|
1233
|
+
f(),
|
|
1234
|
+
s(),
|
|
1235
|
+
h(),
|
|
1236
|
+
() => {
|
|
1237
|
+
a.pn = !0;
|
|
1238
|
+
}
|
|
1239
|
+
], o = n();
|
|
1240
|
+
return Qt(t, r), o(), J(q, i);
|
|
1241
|
+
},
|
|
1242
|
+
y,
|
|
1243
|
+
(e) => {
|
|
1244
|
+
let t = a.Kt;
|
|
1245
|
+
a.Kt = e, !e && t !== e && y({
|
|
1246
|
+
It: !0,
|
|
1247
|
+
zt: !0
|
|
1248
|
+
});
|
|
1249
|
+
},
|
|
1250
|
+
() => {
|
|
1251
|
+
g({
|
|
1252
|
+
Dt: mr(t, {}, !1),
|
|
1253
|
+
vn: {},
|
|
1254
|
+
It: !1
|
|
1255
|
+
});
|
|
1256
|
+
},
|
|
1257
|
+
() => ({
|
|
1258
|
+
gn: a,
|
|
1259
|
+
hn: m,
|
|
1260
|
+
bn: l
|
|
1261
|
+
}),
|
|
1262
|
+
{
|
|
1263
|
+
yn: u,
|
|
1264
|
+
wn: _
|
|
1265
|
+
},
|
|
1266
|
+
d
|
|
1267
|
+
];
|
|
1268
|
+
}, Br = /* @__PURE__ */ new WeakMap(), Vr = (e, t) => {
|
|
1269
|
+
Br.set(e, t);
|
|
1270
|
+
}, Hr = (e) => {
|
|
1271
|
+
Br.delete(e);
|
|
1272
|
+
}, Ur = (e) => Br.get(e), Wr = (e, t, n) => {
|
|
1273
|
+
let { tt: r } = br(), i = ye(e), a = i ? e : e.target, o = Ur(a);
|
|
1274
|
+
if (t && !o) {
|
|
1275
|
+
let o = [], s = {}, c = (e) => {
|
|
1276
|
+
let t = Ye(e), n = pn(mn);
|
|
1277
|
+
return n ? n(t, !0) : t;
|
|
1278
|
+
}, l = X({}, r(), c(t)), [u, d, f] = sn(), [p, m, h] = sn(n), g = (e, t) => {
|
|
1279
|
+
h(e, t), f(e, t);
|
|
1280
|
+
}, [_, v, y, b, x, S, C] = zr(e, l, (({ vn: e, It: t }, { Zt: n, tn: r }) => {
|
|
1281
|
+
let { _t: i, Ct: a, $t: o, xt: s, Ht: c, ft: l } = n, { nn: u, sn: d, en: f, cn: p } = r;
|
|
1282
|
+
g("updated", [T, {
|
|
1283
|
+
updateHints: {
|
|
1284
|
+
sizeChanged: !!i,
|
|
1285
|
+
directionChanged: !!a,
|
|
1286
|
+
heightIntrinsicChanged: !!o,
|
|
1287
|
+
overflowEdgeChanged: !!u,
|
|
1288
|
+
overflowAmountChanged: !!d,
|
|
1289
|
+
overflowStyleChanged: !!f,
|
|
1290
|
+
scrollCoordinatesChanged: !!p,
|
|
1291
|
+
contentMutation: !!s,
|
|
1292
|
+
hostMutation: !!c,
|
|
1293
|
+
appear: !!l
|
|
1294
|
+
},
|
|
1295
|
+
changedOptions: e || {},
|
|
1296
|
+
force: !!t
|
|
1297
|
+
}]);
|
|
1298
|
+
}), ((e) => g("scroll", [T, e]))), w = (e) => {
|
|
1299
|
+
let { gn: t } = x(), { pn: n } = t;
|
|
1300
|
+
n || (Hr(a), q(o), g("destroyed", [T, e]), d(), m());
|
|
1301
|
+
}, T = {
|
|
1302
|
+
options(e, t) {
|
|
1303
|
+
if (e) {
|
|
1304
|
+
let n = t ? r() : {}, i = pr(l, X(n, c(e)));
|
|
1305
|
+
Xe(i) || (X(l, i), v({ vn: i }));
|
|
1306
|
+
}
|
|
1307
|
+
return X({}, l);
|
|
1308
|
+
},
|
|
1309
|
+
on: p,
|
|
1310
|
+
off: (e, t) => {
|
|
1311
|
+
e && t && m(e, t);
|
|
1312
|
+
},
|
|
1313
|
+
state() {
|
|
1314
|
+
let { gn: e, hn: t, bn: n } = x(), { pn: r, Kt: i } = e, { B: a } = t, { Vt: o, Rt: s, rn: c, j: l, ln: u, _n: d, Tt: f } = n;
|
|
1315
|
+
return X({}, {
|
|
1316
|
+
overflowEdge: o,
|
|
1317
|
+
overflowAmount: s,
|
|
1318
|
+
overflowStyle: c,
|
|
1319
|
+
hasOverflow: l,
|
|
1320
|
+
scrollCoordinates: {
|
|
1321
|
+
start: f.T,
|
|
1322
|
+
end: f.k
|
|
1323
|
+
},
|
|
1324
|
+
padding: u,
|
|
1325
|
+
paddingAbsolute: d,
|
|
1326
|
+
directionRTL: a,
|
|
1327
|
+
sleeping: i,
|
|
1328
|
+
destroyed: r
|
|
1329
|
+
});
|
|
1330
|
+
},
|
|
1331
|
+
elements() {
|
|
1332
|
+
let { dt: e, vt: t, ln: n, L: r, ht: i, gt: a, Qt: o } = S.yn, { jt: s, Jt: c } = S.wn, l = (e) => {
|
|
1333
|
+
let { kt: t, Pt: n, Lt: r } = e;
|
|
1334
|
+
return {
|
|
1335
|
+
scrollbar: r,
|
|
1336
|
+
track: n,
|
|
1337
|
+
handle: t
|
|
1338
|
+
};
|
|
1339
|
+
}, u = (e) => {
|
|
1340
|
+
let { Xt: t, Yt: n } = e;
|
|
1341
|
+
return X({}, l(t[0]), { clone: () => {
|
|
1342
|
+
let e = l(n());
|
|
1343
|
+
return b(), e;
|
|
1344
|
+
} });
|
|
1345
|
+
};
|
|
1346
|
+
return X({}, {
|
|
1347
|
+
target: e,
|
|
1348
|
+
host: t,
|
|
1349
|
+
padding: n || r,
|
|
1350
|
+
viewport: r,
|
|
1351
|
+
content: i || r,
|
|
1352
|
+
scrollOffsetElement: a,
|
|
1353
|
+
scrollEventElement: o,
|
|
1354
|
+
scrollbarHorizontal: u(s),
|
|
1355
|
+
scrollbarVertical: u(c)
|
|
1356
|
+
});
|
|
1357
|
+
},
|
|
1358
|
+
update: (e) => v({
|
|
1359
|
+
It: e,
|
|
1360
|
+
zt: !0
|
|
1361
|
+
}),
|
|
1362
|
+
destroy: J(w, !1),
|
|
1363
|
+
sleep: y,
|
|
1364
|
+
plugin: (e) => s[Y(e)[0]]
|
|
1365
|
+
};
|
|
1366
|
+
return K(o, [C]), Vr(a, T), dn(cn, Wr, [
|
|
1367
|
+
T,
|
|
1368
|
+
u,
|
|
1369
|
+
s
|
|
1370
|
+
]), Ar(S.yn.bt, !i && e.cancel) ? (w(!0), T) : (K(o, _()), g("initialized", [T]), T.update(), T);
|
|
1371
|
+
}
|
|
1372
|
+
return o;
|
|
1373
|
+
};
|
|
1374
|
+
Wr.plugin = (e) => {
|
|
1375
|
+
let t = U(e), n = t ? e : [e], r = n.map(((e) => dn(e, Wr)[0]));
|
|
1376
|
+
return un(n), t ? r : r[0];
|
|
1377
|
+
}, Wr.valid = (e) => {
|
|
1378
|
+
let t = e && e.elements, n = H(t) && t();
|
|
1379
|
+
return ve(n) && !!Ur(n.target);
|
|
1380
|
+
}, Wr.env = () => {
|
|
1381
|
+
let { U: e, M: t, P: n, J: r, ot: i, st: a, K: o, Z: s, tt: c, nt: l } = br();
|
|
1382
|
+
return X({}, {
|
|
1383
|
+
scrollbarsSize: e,
|
|
1384
|
+
scrollbarsOverlaid: t,
|
|
1385
|
+
scrollbarsHiding: n,
|
|
1386
|
+
scrollTimeline: r,
|
|
1387
|
+
staticDefaultInitialization: i,
|
|
1388
|
+
staticDefaultOptions: a,
|
|
1389
|
+
getDefaultInitialization: o,
|
|
1390
|
+
setDefaultInitialization: s,
|
|
1391
|
+
getDefaultOptions: c,
|
|
1392
|
+
setDefaultOptions: l
|
|
1393
|
+
});
|
|
1394
|
+
}, Wr.nonce = _r, Wr.trustedTypePolicy = wt;
|
|
1395
|
+
//#endregion
|
|
1396
|
+
//#region node_modules/overlayscrollbars-vue/overlayscrollbars-vue.mjs
|
|
1397
|
+
var Gr = () => {
|
|
1398
|
+
if (typeof window > "u") {
|
|
1399
|
+
let e = () => {};
|
|
1400
|
+
return [e, e];
|
|
1401
|
+
}
|
|
1402
|
+
let e, t, n = window, r = typeof n.requestIdleCallback == "function", i = n.requestAnimationFrame, a = n.cancelAnimationFrame, o = r ? n.requestIdleCallback : i, s = r ? n.cancelIdleCallback : a, c = () => {
|
|
1403
|
+
s(e), a(t);
|
|
1404
|
+
};
|
|
1405
|
+
return [(n, a) => {
|
|
1406
|
+
c(), e = o(r ? () => {
|
|
1407
|
+
c(), t = i(n);
|
|
1408
|
+
} : n, typeof a == "object" ? a : { timeout: 2233 });
|
|
1409
|
+
}, c];
|
|
1410
|
+
}, Kr = (e) => {
|
|
1411
|
+
let t = null, n, r, i, a = w(e || {}), [o, s] = Gr();
|
|
1412
|
+
return k(() => D(a.value?.defer), (e) => {
|
|
1413
|
+
i = e;
|
|
1414
|
+
}, {
|
|
1415
|
+
deep: !0,
|
|
1416
|
+
immediate: !0
|
|
1417
|
+
}), k(() => D(a.value?.options), (e) => {
|
|
1418
|
+
n = e, Wr.valid(t) && t.options(n || {}, !0);
|
|
1419
|
+
}, {
|
|
1420
|
+
deep: !0,
|
|
1421
|
+
immediate: !0
|
|
1422
|
+
}), k(() => D(a.value?.events), (e) => {
|
|
1423
|
+
r = e, Wr.valid(t) && t.on(
|
|
1424
|
+
/* c8 ignore next */
|
|
1425
|
+
r || {},
|
|
1426
|
+
!0
|
|
1427
|
+
);
|
|
1428
|
+
}, {
|
|
1429
|
+
deep: !0,
|
|
1430
|
+
immediate: !0
|
|
1431
|
+
}), _(() => {
|
|
1432
|
+
s(), t?.destroy();
|
|
1433
|
+
}), [(e) => {
|
|
1434
|
+
if (Wr.valid(t)) return t;
|
|
1435
|
+
let a = () => t = Wr(e, n || {}, r || {});
|
|
1436
|
+
i ? o(a, i) : a();
|
|
1437
|
+
}, () => t];
|
|
1438
|
+
}, qr = /* @__PURE__ */ u({
|
|
1439
|
+
__name: "OverlayScrollbarsComponent",
|
|
1440
|
+
props: {
|
|
1441
|
+
element: {
|
|
1442
|
+
type: [String, Object],
|
|
1443
|
+
default: "div"
|
|
1444
|
+
},
|
|
1445
|
+
options: { type: Object },
|
|
1446
|
+
events: { type: Object },
|
|
1447
|
+
defer: { type: [Boolean, Object] }
|
|
1448
|
+
},
|
|
1449
|
+
emits: [
|
|
1450
|
+
"osInitialized",
|
|
1451
|
+
"osUpdated",
|
|
1452
|
+
"osDestroyed",
|
|
1453
|
+
"osScroll"
|
|
1454
|
+
],
|
|
1455
|
+
setup(e, { expose: t, emit: n }) {
|
|
1456
|
+
let i = e, o = {
|
|
1457
|
+
initialized: "osInitialized",
|
|
1458
|
+
updated: "osUpdated",
|
|
1459
|
+
destroyed: "osDestroyed",
|
|
1460
|
+
scroll: "osScroll"
|
|
1461
|
+
}, { element: s, options: c, events: l, defer: u } = E(i), d = w(null), f = w(null), p = y(), [m, h] = Kr({
|
|
1462
|
+
options: c,
|
|
1463
|
+
events: p,
|
|
1464
|
+
defer: u
|
|
1465
|
+
});
|
|
1466
|
+
return t({
|
|
1467
|
+
osInstance: h,
|
|
1468
|
+
getElement: () => d.value
|
|
1469
|
+
}), A((e) => {
|
|
1470
|
+
let { value: t } = d, { value: n } = f;
|
|
1471
|
+
t && (m(s.value === "body" ? {
|
|
1472
|
+
target: t,
|
|
1473
|
+
cancel: { body: null }
|
|
1474
|
+
} : {
|
|
1475
|
+
target: t,
|
|
1476
|
+
elements: {
|
|
1477
|
+
viewport: n,
|
|
1478
|
+
content: n
|
|
1479
|
+
}
|
|
1480
|
+
}), e(() => h()?.destroy()));
|
|
1481
|
+
}), k(() => D(l), (e) => {
|
|
1482
|
+
let t = e || {};
|
|
1483
|
+
p.value = Object.keys(o).reduce((e, r) => {
|
|
1484
|
+
let i = t[r];
|
|
1485
|
+
return e[r] = [(...e) => n(o[r], ...e), ...(Array.isArray(i) ? i : [i]).filter(Boolean)], e;
|
|
1486
|
+
}, {});
|
|
1487
|
+
}, {
|
|
1488
|
+
deep: !0,
|
|
1489
|
+
immediate: !0
|
|
1490
|
+
}), (e, t) => (v(), r(C(D(s)), {
|
|
1491
|
+
"data-overlayscrollbars-initialize": "",
|
|
1492
|
+
ref_key: "elementRef",
|
|
1493
|
+
ref: d
|
|
1494
|
+
}, {
|
|
1495
|
+
default: j(() => [D(s) === "body" ? x(e.$slots, "default", { key: 0 }) : (v(), a("div", {
|
|
1496
|
+
key: 1,
|
|
1497
|
+
"data-overlayscrollbars-contents": "",
|
|
1498
|
+
ref_key: "slotRef",
|
|
1499
|
+
ref: f
|
|
1500
|
+
}, [x(e.$slots, "default")], 512))]),
|
|
1501
|
+
_: 3
|
|
1502
|
+
}, 512));
|
|
1503
|
+
}
|
|
1504
|
+
}), Jr = /*@__PURE__*/ u({
|
|
1505
|
+
__name: "TextScroller",
|
|
1506
|
+
props: {
|
|
1507
|
+
delay: { default: 500 },
|
|
1508
|
+
repeatDelay: { default: 1e3 },
|
|
1509
|
+
speed: { default: 35 },
|
|
1510
|
+
active: {
|
|
1511
|
+
type: Boolean,
|
|
1512
|
+
default: !1
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
setup(e) {
|
|
1516
|
+
let t = e, n = y(), r = y(), i = y(!1), s = y(0), c = y(!1), l;
|
|
1517
|
+
function u() {
|
|
1518
|
+
return c.value || t.active;
|
|
1519
|
+
}
|
|
1520
|
+
function d() {
|
|
1521
|
+
l &&= (clearTimeout(l), void 0), i.value = !1, s.value = 0;
|
|
1522
|
+
}
|
|
1523
|
+
function g() {
|
|
1524
|
+
let e = n.value?.clientWidth ?? 0, t = r.value?.scrollWidth ?? 0;
|
|
1525
|
+
s.value = Math.max(0, t - e), i.value = s.value > 0;
|
|
1526
|
+
}
|
|
1527
|
+
function _() {
|
|
1528
|
+
d(), l = setTimeout(async () => {
|
|
1529
|
+
await f(), u() && g();
|
|
1530
|
+
}, t.delay);
|
|
1531
|
+
}
|
|
1532
|
+
function b() {
|
|
1533
|
+
u() && (i.value = !1, l = setTimeout(() => {
|
|
1534
|
+
u() && g();
|
|
1535
|
+
}, t.repeatDelay));
|
|
1536
|
+
}
|
|
1537
|
+
return k(() => t.active, (e) => {
|
|
1538
|
+
e ? _() : c.value || d();
|
|
1539
|
+
}), h(d), (e, l) => (v(), a("span", {
|
|
1540
|
+
ref_key: "viewport",
|
|
1541
|
+
ref: n,
|
|
1542
|
+
class: p(["text-scroller", { scrolling: i.value }]),
|
|
1543
|
+
style: m({
|
|
1544
|
+
"--scroll-distance": `${s.value}px`,
|
|
1545
|
+
"--scroll-duration": `${Math.max(2, s.value / t.speed)}s`
|
|
1546
|
+
}),
|
|
1547
|
+
onMouseenter: l[0] ||= (e) => {
|
|
1548
|
+
c.value = !0, t.active || _();
|
|
1549
|
+
},
|
|
1550
|
+
onMouseleave: l[1] ||= (e) => {
|
|
1551
|
+
c.value = !1, t.active || d();
|
|
1552
|
+
}
|
|
1553
|
+
}, [o("span", {
|
|
1554
|
+
ref_key: "content",
|
|
1555
|
+
ref: r,
|
|
1556
|
+
class: "text-scroller-content",
|
|
1557
|
+
onAnimationend: b
|
|
1558
|
+
}, [x(e.$slots, "default", {}, void 0, !0)], 544)], 38));
|
|
1559
|
+
}
|
|
1560
|
+
}), $ = (e, t) => {
|
|
1561
|
+
let n = e.__vccOpts || e;
|
|
1562
|
+
for (let [e, r] of t) n[e] = r;
|
|
1563
|
+
return n;
|
|
1564
|
+
}, Yr = /*#__PURE__*/ $(Jr, [["__scopeId", "data-v-8fac895b"]]), Xr = { class: "component-list" }, Zr = { class: "component-head" }, Qr = ["title"], $r = { class: "palette-search" }, ei = {
|
|
1565
|
+
key: 0,
|
|
1566
|
+
class: "component-groups"
|
|
1567
|
+
}, ti = { class: "group-label" }, ni = { class: "component-items" }, ri = [
|
|
1568
|
+
"aria-label",
|
|
1569
|
+
"onMouseenter",
|
|
1570
|
+
"onClick"
|
|
1571
|
+
], ii = { class: "component-icon icon" }, ai = {
|
|
1572
|
+
key: 1,
|
|
1573
|
+
class: "component-empty"
|
|
1574
|
+
}, oi = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
1575
|
+
__name: "ComponenList",
|
|
1576
|
+
emits: ["select"],
|
|
1577
|
+
setup(t, { emit: r }) {
|
|
1578
|
+
let i = r, s = P(), u = y(""), d = y(), f = {
|
|
1579
|
+
overflow: {
|
|
1580
|
+
x: "hidden",
|
|
1581
|
+
y: "scroll"
|
|
1582
|
+
},
|
|
1583
|
+
scrollbars: {
|
|
1584
|
+
autoHide: "scroll",
|
|
1585
|
+
autoHideDelay: 800
|
|
1586
|
+
}
|
|
1587
|
+
}, p = [
|
|
1588
|
+
{
|
|
1589
|
+
type: "container",
|
|
1590
|
+
key: "container",
|
|
1591
|
+
label: "Container",
|
|
1592
|
+
group: "Layout",
|
|
1593
|
+
groupKey: "component-layout",
|
|
1594
|
+
icon: "view_agenda"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
type: "card",
|
|
1598
|
+
key: "card",
|
|
1599
|
+
label: "Card",
|
|
1600
|
+
group: "Layout",
|
|
1601
|
+
groupKey: "component-layout",
|
|
1602
|
+
icon: "web_asset"
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
type: "spacer",
|
|
1606
|
+
key: "spacer",
|
|
1607
|
+
label: "Spacer",
|
|
1608
|
+
group: "Layout",
|
|
1609
|
+
groupKey: "component-layout",
|
|
1610
|
+
icon: "height"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
type: "divider",
|
|
1614
|
+
key: "divider",
|
|
1615
|
+
label: "Divider",
|
|
1616
|
+
group: "Layout",
|
|
1617
|
+
groupKey: "component-layout",
|
|
1618
|
+
icon: "horizontal_rule"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
type: "layout",
|
|
1622
|
+
key: "layout",
|
|
1623
|
+
label: "Layout",
|
|
1624
|
+
group: "Layout",
|
|
1625
|
+
groupKey: "component-layout",
|
|
1626
|
+
icon: "view_column"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
type: "layoutRef",
|
|
1630
|
+
key: "layout-ref",
|
|
1631
|
+
label: "Layout Reference",
|
|
1632
|
+
group: "Layout",
|
|
1633
|
+
groupKey: "component-layout",
|
|
1634
|
+
icon: "view_quilt"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
type: "emailInput",
|
|
1638
|
+
key: "email-input",
|
|
1639
|
+
label: "Email Input",
|
|
1640
|
+
group: "Inputs",
|
|
1641
|
+
groupKey: "component-inputs",
|
|
1642
|
+
icon: "mail"
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
type: "textInput",
|
|
1646
|
+
key: "text-input",
|
|
1647
|
+
label: "Text Input",
|
|
1648
|
+
group: "Inputs",
|
|
1649
|
+
groupKey: "component-inputs",
|
|
1650
|
+
icon: "text_fields"
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
type: "passwordInput",
|
|
1654
|
+
key: "password-input",
|
|
1655
|
+
label: "Password Input",
|
|
1656
|
+
group: "Inputs",
|
|
1657
|
+
groupKey: "component-inputs",
|
|
1658
|
+
icon: "lock"
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
type: "otpInput",
|
|
1662
|
+
key: "otp-input",
|
|
1663
|
+
label: "OTP Input",
|
|
1664
|
+
group: "Inputs",
|
|
1665
|
+
groupKey: "component-inputs",
|
|
1666
|
+
icon: "pin"
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
type: "checkbox",
|
|
1670
|
+
key: "checkbox",
|
|
1671
|
+
label: "Checkbox",
|
|
1672
|
+
group: "Inputs",
|
|
1673
|
+
groupKey: "component-inputs",
|
|
1674
|
+
icon: "check_box"
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
type: "submitButton",
|
|
1678
|
+
key: "submit-button",
|
|
1679
|
+
label: "Submit Button",
|
|
1680
|
+
group: "Actions",
|
|
1681
|
+
groupKey: "component-actions",
|
|
1682
|
+
icon: "send"
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
type: "socialButton",
|
|
1686
|
+
key: "social-button",
|
|
1687
|
+
label: "Social Button",
|
|
1688
|
+
group: "Actions",
|
|
1689
|
+
groupKey: "component-actions",
|
|
1690
|
+
icon: "group"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
type: "textLink",
|
|
1694
|
+
key: "text-link",
|
|
1695
|
+
label: "Text Link",
|
|
1696
|
+
group: "Actions",
|
|
1697
|
+
groupKey: "component-actions",
|
|
1698
|
+
icon: "link"
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
type: "heading",
|
|
1702
|
+
key: "heading",
|
|
1703
|
+
label: "Heading",
|
|
1704
|
+
group: "Content",
|
|
1705
|
+
groupKey: "component-content",
|
|
1706
|
+
icon: "title"
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
type: "text",
|
|
1710
|
+
key: "text",
|
|
1711
|
+
label: "Text",
|
|
1712
|
+
group: "Content",
|
|
1713
|
+
groupKey: "component-content",
|
|
1714
|
+
icon: "subject"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
type: "image",
|
|
1718
|
+
key: "image",
|
|
1719
|
+
label: "Image",
|
|
1720
|
+
group: "Content",
|
|
1721
|
+
groupKey: "component-content",
|
|
1722
|
+
icon: "image"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
type: "alert",
|
|
1726
|
+
key: "alert",
|
|
1727
|
+
label: "Alert",
|
|
1728
|
+
group: "Content",
|
|
1729
|
+
groupKey: "component-content",
|
|
1730
|
+
icon: "warning"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
type: "content",
|
|
1734
|
+
key: "layout-content",
|
|
1735
|
+
label: "Layout Content",
|
|
1736
|
+
group: "Content",
|
|
1737
|
+
groupKey: "component-content",
|
|
1738
|
+
icon: "dashboard"
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
type: "consentCard",
|
|
1742
|
+
key: "consent-card",
|
|
1743
|
+
label: "Consent Card",
|
|
1744
|
+
group: "OAuth",
|
|
1745
|
+
groupKey: "component-oauth",
|
|
1746
|
+
icon: "verified_user"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
type: "scopeList",
|
|
1750
|
+
key: "scope-list",
|
|
1751
|
+
label: "Scope List",
|
|
1752
|
+
group: "OAuth",
|
|
1753
|
+
groupKey: "component-oauth",
|
|
1754
|
+
icon: "checklist"
|
|
1755
|
+
}
|
|
1756
|
+
], m = n(() => {
|
|
1757
|
+
let e = u.value.trim().toLowerCase();
|
|
1758
|
+
return e ? p.filter((t) => `${t.label} ${t.type}`.toLowerCase().includes(e)) : p;
|
|
1759
|
+
}), h = n(() => {
|
|
1760
|
+
let e = /* @__PURE__ */ new Map();
|
|
1761
|
+
for (let t of m.value) {
|
|
1762
|
+
let n = e.get(t.group) ?? [];
|
|
1763
|
+
n.push(t), e.set(t.group, n);
|
|
1764
|
+
}
|
|
1765
|
+
return [...e].map(([e, t]) => ({
|
|
1766
|
+
name: e,
|
|
1767
|
+
key: t[0].groupKey,
|
|
1768
|
+
items: t
|
|
1769
|
+
}));
|
|
1770
|
+
});
|
|
1771
|
+
return (t, n) => (v(), a("section", Xr, [
|
|
1772
|
+
o("div", Zr, [o("span", { title: D(s)("components", "Components") }, T(D(s)("components", "Components")), 9, Qr)]),
|
|
1773
|
+
o("div", $r, [n[2] ||= o("span", { class: "icon" }, "search", -1), M(o("input", {
|
|
1774
|
+
"onUpdate:modelValue": n[0] ||= (e) => u.value = e,
|
|
1775
|
+
type: "search",
|
|
1776
|
+
placeholder: "Search components...",
|
|
1777
|
+
"aria-label": "Search components"
|
|
1778
|
+
}, null, 512), [[O, u.value]])]),
|
|
1779
|
+
l(D(qr), {
|
|
1780
|
+
class: "component-content",
|
|
1781
|
+
options: f,
|
|
1782
|
+
defer: ""
|
|
1783
|
+
}, {
|
|
1784
|
+
default: j(() => [h.value.length ? (v(), a("div", ei, [(v(!0), a(e, null, b(h.value, (t) => (v(), a("section", {
|
|
1785
|
+
key: t.name,
|
|
1786
|
+
class: "component-group"
|
|
1787
|
+
}, [o("div", ti, T(D(s)(t.key, t.name)), 1), o("div", ni, [(v(!0), a(e, null, b(t.items, (e) => (v(), a("button", {
|
|
1788
|
+
key: e.type,
|
|
1789
|
+
type: "button",
|
|
1790
|
+
class: "component-item",
|
|
1791
|
+
"aria-label": `${D(s)("add-component", "Add")} ${D(s)(e.key, e.label)}`,
|
|
1792
|
+
onMouseenter: (t) => d.value = e.type,
|
|
1793
|
+
onMouseleave: n[1] ||= (e) => d.value = void 0,
|
|
1794
|
+
onClick: (t) => i("select", e.type)
|
|
1795
|
+
}, [o("span", ii, T(e.icon), 1), l(Yr, {
|
|
1796
|
+
class: "component-label",
|
|
1797
|
+
active: d.value === e.type
|
|
1798
|
+
}, {
|
|
1799
|
+
default: j(() => [c(T(D(s)(e.key, e.label)), 1)]),
|
|
1800
|
+
_: 2
|
|
1801
|
+
}, 1032, ["active"])], 40, ri))), 128))])]))), 128))])) : (v(), a("span", ai, T(D(s)("no-components-found", "No components found.")), 1))]),
|
|
1802
|
+
_: 1
|
|
1803
|
+
})
|
|
1804
|
+
]));
|
|
1805
|
+
}
|
|
1806
|
+
}), [["__scopeId", "data-v-29d47f96"]]), si = [
|
|
13
1807
|
"title",
|
|
14
1808
|
"aria-label",
|
|
15
1809
|
"disabled"
|
|
16
|
-
],
|
|
1810
|
+
], ci = {
|
|
17
1811
|
class: "icon",
|
|
18
1812
|
"aria-hidden": "true"
|
|
19
|
-
},
|
|
1813
|
+
}, li = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
20
1814
|
__name: "IconButton",
|
|
21
1815
|
props: {
|
|
22
1816
|
icon: { default: "settings" },
|
|
@@ -27,103 +1821,99 @@ var S = [
|
|
|
27
1821
|
}
|
|
28
1822
|
},
|
|
29
1823
|
setup(e) {
|
|
30
|
-
return (t, n) => (
|
|
1824
|
+
return (t, n) => (v(), a("button", {
|
|
31
1825
|
class: "icon-button",
|
|
32
1826
|
type: "button",
|
|
33
1827
|
title: e.title,
|
|
34
1828
|
"aria-label": e.title,
|
|
35
1829
|
disabled: e.disabled
|
|
36
|
-
}, [
|
|
1830
|
+
}, [o("span", ci, T(e.icon), 1)], 8, si));
|
|
37
1831
|
}
|
|
38
|
-
}),
|
|
39
|
-
let n = e.__vccOpts || e;
|
|
40
|
-
for (let [e, r] of t) n[e] = r;
|
|
41
|
-
return n;
|
|
42
|
-
}, E = /*#__PURE__*/ T(w, [["__scopeId", "data-v-b3b6390f"]]), D = [
|
|
1832
|
+
}), [["__scopeId", "data-v-b3b6390f"]]), ui = [
|
|
43
1833
|
"title",
|
|
44
1834
|
"aria-label",
|
|
45
1835
|
"aria-expanded"
|
|
46
|
-
],
|
|
1836
|
+
], di = ["disabled", "onClick"], fi = {
|
|
47
1837
|
key: 0,
|
|
48
1838
|
class: "icon",
|
|
49
1839
|
"aria-hidden": "true"
|
|
50
|
-
},
|
|
1840
|
+
}, pi = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
51
1841
|
__name: "MoreButton",
|
|
52
1842
|
props: { items: {} },
|
|
53
1843
|
emits: ["select"],
|
|
54
|
-
setup(
|
|
55
|
-
let c = s,
|
|
1844
|
+
setup(n, { emit: s }) {
|
|
1845
|
+
let c = s, l = y(!1), u = y(), d = y(), p = y(), _ = y({
|
|
56
1846
|
top: 0,
|
|
57
1847
|
right: 0
|
|
58
|
-
}),
|
|
59
|
-
function
|
|
60
|
-
if (!
|
|
61
|
-
let e =
|
|
62
|
-
|
|
1848
|
+
}), S = P()("tooltip-sidebar-more", "More");
|
|
1849
|
+
function C() {
|
|
1850
|
+
if (!d.value) return;
|
|
1851
|
+
let e = d.value.getBoundingClientRect();
|
|
1852
|
+
_.value = {
|
|
63
1853
|
top: e.bottom + 6,
|
|
64
1854
|
right: Math.max(8, window.innerWidth - e.right)
|
|
65
1855
|
};
|
|
66
1856
|
}
|
|
67
|
-
function
|
|
68
|
-
|
|
1857
|
+
function w() {
|
|
1858
|
+
l.value = !l.value;
|
|
69
1859
|
}
|
|
70
|
-
function
|
|
71
|
-
e.disabled || (c("select", e.id),
|
|
1860
|
+
function E(e) {
|
|
1861
|
+
e.disabled || (c("select", e.id), l.value = !1);
|
|
72
1862
|
}
|
|
73
|
-
function
|
|
1863
|
+
function O(e) {
|
|
74
1864
|
let t = e.target;
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
function
|
|
78
|
-
e.key === "Escape" && (
|
|
79
|
-
}
|
|
80
|
-
return
|
|
81
|
-
document.addEventListener("click",
|
|
82
|
-
}),
|
|
83
|
-
document.removeEventListener("click",
|
|
84
|
-
}),
|
|
85
|
-
e && (await
|
|
86
|
-
}), (s, c) => (
|
|
1865
|
+
u.value && !u.value.contains(t) && !p.value?.contains(t) && (l.value = !1);
|
|
1866
|
+
}
|
|
1867
|
+
function A(e) {
|
|
1868
|
+
e.key === "Escape" && (l.value = !1);
|
|
1869
|
+
}
|
|
1870
|
+
return g(() => {
|
|
1871
|
+
document.addEventListener("click", O), document.addEventListener("keydown", A), window.addEventListener("resize", C), window.addEventListener("scroll", C, !0);
|
|
1872
|
+
}), h(() => {
|
|
1873
|
+
document.removeEventListener("click", O), document.removeEventListener("keydown", A), window.removeEventListener("resize", C), window.removeEventListener("scroll", C, !0);
|
|
1874
|
+
}), k(l, async (e) => {
|
|
1875
|
+
e && (await f(), C());
|
|
1876
|
+
}), (s, c) => (v(), a("div", {
|
|
87
1877
|
ref_key: "root",
|
|
88
|
-
ref:
|
|
1878
|
+
ref: u,
|
|
89
1879
|
class: "more-menu"
|
|
90
|
-
}, [
|
|
1880
|
+
}, [o("button", {
|
|
91
1881
|
ref_key: "button",
|
|
92
|
-
ref:
|
|
1882
|
+
ref: d,
|
|
93
1883
|
class: "more-button",
|
|
94
1884
|
type: "button",
|
|
95
|
-
title:
|
|
96
|
-
"aria-label":
|
|
97
|
-
"aria-expanded":
|
|
1885
|
+
title: D(S),
|
|
1886
|
+
"aria-label": D(S),
|
|
1887
|
+
"aria-expanded": l.value,
|
|
98
1888
|
"aria-haspopup": "menu",
|
|
99
|
-
onClick:
|
|
100
|
-
}, [...c[0] ||= [
|
|
1889
|
+
onClick: N(w, ["stop"])
|
|
1890
|
+
}, [...c[0] ||= [o("span", {
|
|
101
1891
|
class: "icon",
|
|
102
1892
|
"aria-hidden": "true"
|
|
103
|
-
}, "more_vert", -1)]], 8,
|
|
1893
|
+
}, "more_vert", -1)]], 8, ui), (v(), r(t, { to: "body" }, [l.value ? (v(), a("div", {
|
|
104
1894
|
key: 0,
|
|
105
1895
|
ref_key: "dropdown",
|
|
106
|
-
ref:
|
|
1896
|
+
ref: p,
|
|
107
1897
|
class: "dropdown",
|
|
108
1898
|
role: "menu",
|
|
109
|
-
style:
|
|
110
|
-
top: `${
|
|
111
|
-
right: `${
|
|
1899
|
+
style: m({
|
|
1900
|
+
top: `${_.value.top}px`,
|
|
1901
|
+
right: `${_.value.right}px`
|
|
112
1902
|
})
|
|
113
|
-
}, [
|
|
1903
|
+
}, [n.items?.length ? (v(!0), a(e, { key: 0 }, b(n.items, (e) => (v(), a("button", {
|
|
114
1904
|
key: e.id,
|
|
115
1905
|
class: "menu-item",
|
|
116
1906
|
type: "button",
|
|
117
1907
|
role: "menuitem",
|
|
118
1908
|
disabled: e.disabled,
|
|
119
|
-
onClick: (t) =>
|
|
120
|
-
}, [e.icon ? (
|
|
1909
|
+
onClick: (t) => E(e)
|
|
1910
|
+
}, [e.icon ? (v(), a("span", fi, T(e.icon), 1)) : i("", !0), o("span", null, T(e.label), 1)], 8, di))), 128)) : x(s.$slots, "menu", { close: () => l.value = !1 }, void 0, !0, 1)], 4)) : i("", !0)]))], 512));
|
|
121
1911
|
}
|
|
122
|
-
}), [["__scopeId", "data-v-923fea1e"]]),
|
|
1912
|
+
}), [["__scopeId", "data-v-923fea1e"]]), mi = ["disabled", "aria-busy"], hi = {
|
|
123
1913
|
key: 0,
|
|
124
1914
|
class: "spinner",
|
|
125
1915
|
"aria-hidden": "true"
|
|
126
|
-
},
|
|
1916
|
+
}, gi = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
127
1917
|
__name: "SaveButton",
|
|
128
1918
|
props: {
|
|
129
1919
|
disabled: {
|
|
@@ -136,15 +1926,15 @@ var S = [
|
|
|
136
1926
|
}
|
|
137
1927
|
},
|
|
138
1928
|
setup(e) {
|
|
139
|
-
let t =
|
|
140
|
-
return (n,
|
|
1929
|
+
let t = P();
|
|
1930
|
+
return (n, r) => (v(), a("button", {
|
|
141
1931
|
class: "save-button",
|
|
142
1932
|
type: "button",
|
|
143
1933
|
disabled: e.disabled || e.working,
|
|
144
1934
|
"aria-busy": e.working
|
|
145
|
-
}, [e.working ? (
|
|
1935
|
+
}, [e.working ? (v(), a("span", hi)) : i("", !0), o("span", null, T(D(t)("save-changes", "Save changes")), 1)], 8, mi));
|
|
146
1936
|
}
|
|
147
|
-
}), [["__scopeId", "data-v-4a359870"]]),
|
|
1937
|
+
}), [["__scopeId", "data-v-4a359870"]]), _i = { class: "branding" }, vi = { class: "title" }, yi = { class: "subject" }, bi = { class: "document-name" }, xi = ["title"], Si = { class: "actions" }, Ci = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
148
1938
|
__name: "Header",
|
|
149
1939
|
props: {
|
|
150
1940
|
subject: {},
|
|
@@ -154,72 +1944,723 @@ var S = [
|
|
|
154
1944
|
},
|
|
155
1945
|
emits: ["moreSelect"],
|
|
156
1946
|
setup(e, { emit: t }) {
|
|
157
|
-
let
|
|
158
|
-
return (t, u) => (
|
|
159
|
-
|
|
160
|
-
|
|
1947
|
+
let n = e, s = t, c = P();
|
|
1948
|
+
return (t, u) => (v(), a("header", null, [
|
|
1949
|
+
o("div", _i, [u[1] ||= o("span", { class: "icon" }, "design_services", -1), o("span", vi, T(D(c)("designer", "Designer")), 1)]),
|
|
1950
|
+
o("div", yi, [o("span", bi, T(e.subject), 1), e.shared ? (v(), a("span", {
|
|
161
1951
|
key: 0,
|
|
162
1952
|
class: "shared icon",
|
|
163
|
-
title:
|
|
164
|
-
}, "groups", 8,
|
|
165
|
-
|
|
166
|
-
|
|
1953
|
+
title: D(c)("shared", "Shared")
|
|
1954
|
+
}, "groups", 8, xi)) : i("", !0)]),
|
|
1955
|
+
o("div", Si, [
|
|
1956
|
+
l(li, {
|
|
167
1957
|
icon: "translate",
|
|
168
|
-
title:
|
|
1958
|
+
title: D(c)("translations", "Translations")
|
|
169
1959
|
}, null, 8, ["title"]),
|
|
170
|
-
|
|
1960
|
+
l(li, {
|
|
171
1961
|
icon: "palette",
|
|
172
|
-
title:
|
|
1962
|
+
title: D(c)("change-theme", "Change theme")
|
|
173
1963
|
}, null, 8, ["title"]),
|
|
174
|
-
|
|
1964
|
+
n.themeChangeable === !1 ? i("", !0) : (v(), r(li, {
|
|
175
1965
|
key: 0,
|
|
176
1966
|
icon: "dark_mode",
|
|
177
|
-
title:
|
|
1967
|
+
title: D(c)("toggle-theme", "Toggle theme")
|
|
178
1968
|
}, null, 8, ["title"])),
|
|
179
|
-
|
|
1969
|
+
l(li, {
|
|
180
1970
|
icon: "visibility",
|
|
181
|
-
title:
|
|
1971
|
+
title: D(c)("preview", "Preview")
|
|
182
1972
|
}, null, 8, ["title"]),
|
|
183
|
-
|
|
1973
|
+
l(gi, {
|
|
184
1974
|
disabled: !1,
|
|
185
1975
|
working: !1
|
|
186
1976
|
}),
|
|
187
|
-
|
|
188
|
-
items:
|
|
189
|
-
onSelect: u[0] ||= (e) =>
|
|
1977
|
+
l(pi, {
|
|
1978
|
+
items: n.moreItems,
|
|
1979
|
+
onSelect: u[0] ||= (e) => s("moreSelect", e)
|
|
190
1980
|
}, null, 8, ["items"])
|
|
191
1981
|
])
|
|
192
1982
|
]));
|
|
193
1983
|
}
|
|
194
|
-
}), [["__scopeId", "data-v-b6ce5e30"]]),
|
|
1984
|
+
}), [["__scopeId", "data-v-b6ce5e30"]]), wi = {}, Ti = { class: "properties-panel" };
|
|
1985
|
+
function Ei(e, t) {
|
|
1986
|
+
return v(), a("section", Ti, [...t[0] ||= [s("<div class=\"properties-head\" data-v-d42babf5><span class=\"property-icon icon\" data-v-d42babf5>radio_button_unchecked</span><strong data-v-d42babf5>No selection</strong></div><div class=\"properties-empty\" data-v-d42babf5>Select an element on the canvas, or add one from the left, to edit its properties here.</div><div class=\"layers\" data-v-d42babf5><div class=\"layers-title\" data-v-d42babf5>Layers</div><div class=\"layer-empty\" data-v-d42babf5>No layers yet.</div></div>", 3)]]);
|
|
1987
|
+
}
|
|
1988
|
+
var Di = /*#__PURE__*/ $(wi, [["render", Ei], ["__scopeId", "data-v-d42babf5"]]), Oi = { class: "side-info" }, ki = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
1989
|
+
__name: "SideInfo",
|
|
1990
|
+
props: { items: { default: () => [{
|
|
1991
|
+
id: "configure-screen",
|
|
1992
|
+
label: "Configure the selected screen",
|
|
1993
|
+
complete: !1
|
|
1994
|
+
}, {
|
|
1995
|
+
id: "preview-screen",
|
|
1996
|
+
label: "Preview before saving",
|
|
1997
|
+
complete: !1
|
|
1998
|
+
}] } },
|
|
1999
|
+
setup(t) {
|
|
2000
|
+
return (n, r) => (v(), a("section", Oi, [r[0] ||= o("div", { class: "info-title" }, "Checklist", -1), (v(!0), a(e, null, b(t.items, (e) => (v(), a("div", {
|
|
2001
|
+
key: e.id,
|
|
2002
|
+
class: "info-row"
|
|
2003
|
+
}, [o("span", { class: p(["info-dot", { complete: e.complete }]) }, null, 2), o("span", null, T(e.label), 1)]))), 128))]));
|
|
2004
|
+
}
|
|
2005
|
+
}), [["__scopeId", "data-v-f439ecfe"]]), Ai = { class: "template-list" }, ji = { class: "section-head" }, Mi = ["title"], Ni = ["aria-label", "title"], Pi = ["onClick"], Fi = {
|
|
2006
|
+
class: "tab-icon icon",
|
|
2007
|
+
"aria-hidden": "true"
|
|
2008
|
+
}, Ii = ["onKeydown", "onBlur"], Li = { class: "tab-channel" }, Ri = { class: "tab-version" }, zi = {
|
|
2009
|
+
key: 2,
|
|
2010
|
+
class: "tab-changed",
|
|
2011
|
+
"aria-label": "Unsaved changes"
|
|
2012
|
+
}, Bi = {
|
|
2013
|
+
key: 0,
|
|
2014
|
+
class: "empty-list"
|
|
2015
|
+
}, Vi = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2016
|
+
__name: "TemplateList",
|
|
2017
|
+
props: {
|
|
2018
|
+
templates: {},
|
|
2019
|
+
focusedTemplateId: {}
|
|
2020
|
+
},
|
|
2021
|
+
emits: [
|
|
2022
|
+
"add",
|
|
2023
|
+
"rename",
|
|
2024
|
+
"select"
|
|
2025
|
+
],
|
|
2026
|
+
setup(t, { emit: n }) {
|
|
2027
|
+
let s = t, u = n, d = P(), m = /* @__PURE__ */ new Map(), h = y(), g = y(""), _ = y();
|
|
2028
|
+
function x(e, t) {
|
|
2029
|
+
t instanceof HTMLElement ? m.set(e, t) : m.delete(e);
|
|
2030
|
+
}
|
|
2031
|
+
async function S(e) {
|
|
2032
|
+
await f(), m.get(e)?.scrollIntoView({ block: "nearest" });
|
|
2033
|
+
}
|
|
2034
|
+
function C(e) {
|
|
2035
|
+
h.value = e.id, g.value = e.name, f(() => _.value?.select());
|
|
2036
|
+
}
|
|
2037
|
+
function w(e) {
|
|
2038
|
+
let t = g.value.trim();
|
|
2039
|
+
h.value = void 0, t && t !== e.name && u("rename", e.id, t);
|
|
2040
|
+
}
|
|
2041
|
+
function E() {
|
|
2042
|
+
h.value = void 0;
|
|
2043
|
+
}
|
|
2044
|
+
return k(() => s.focusedTemplateId, (e) => {
|
|
2045
|
+
e && S(e);
|
|
2046
|
+
}, { immediate: !0 }), (n, s) => (v(), a("section", Ai, [o("div", ji, [o("span", { title: D(d)("screens", "Screens") }, T(D(d)("screens", "Screens")), 9, Mi), o("button", {
|
|
2047
|
+
type: "button",
|
|
2048
|
+
"aria-label": D(d)("add-screen", "Add screen"),
|
|
2049
|
+
title: D(d)("add-screen", "Add screen"),
|
|
2050
|
+
onClick: s[0] ||= (e) => u("add")
|
|
2051
|
+
}, [...s[4] ||= [o("span", { "aria-hidden": "true" }, "+", -1)]], 8, Ni)]), l(D(qr), {
|
|
2052
|
+
class: "template-tabs",
|
|
2053
|
+
options: {
|
|
2054
|
+
overflow: {
|
|
2055
|
+
x: "hidden",
|
|
2056
|
+
y: "scroll"
|
|
2057
|
+
},
|
|
2058
|
+
scrollbars: { autoHide: "never" }
|
|
2059
|
+
},
|
|
2060
|
+
defer: ""
|
|
2061
|
+
}, {
|
|
2062
|
+
default: j(() => [(v(!0), a(e, null, b(t.templates ?? [], (e, n) => (v(), a("button", {
|
|
2063
|
+
key: e.id,
|
|
2064
|
+
ref_for: !0,
|
|
2065
|
+
ref: (t) => x(e.id, t),
|
|
2066
|
+
type: "button",
|
|
2067
|
+
class: p(["template-tab", { active: t.focusedTemplateId ? e.id === t.focusedTemplateId : n === 0 }]),
|
|
2068
|
+
onClick: (t) => u("select", e.id)
|
|
2069
|
+
}, [
|
|
2070
|
+
o("span", Fi, T(e.icon), 1),
|
|
2071
|
+
h.value === e.id ? M((v(), a("input", {
|
|
2072
|
+
key: 0,
|
|
2073
|
+
ref_for: !0,
|
|
2074
|
+
ref_key: "editInput",
|
|
2075
|
+
ref: _,
|
|
2076
|
+
"onUpdate:modelValue": s[1] ||= (e) => g.value = e,
|
|
2077
|
+
class: "tab-label tab-label-input",
|
|
2078
|
+
type: "text",
|
|
2079
|
+
onClick: s[2] ||= N(() => {}, ["stop"]),
|
|
2080
|
+
onDblclick: s[3] ||= N(() => {}, ["stop"]),
|
|
2081
|
+
onKeydown: [ee(N((t) => w(e), ["prevent"]), ["enter"]), ee(N(E, ["prevent"]), ["esc"])],
|
|
2082
|
+
onBlur: (t) => w(e)
|
|
2083
|
+
}, null, 40, Ii)), [[O, g.value]]) : (v(), r(Yr, {
|
|
2084
|
+
key: 1,
|
|
2085
|
+
class: "tab-label",
|
|
2086
|
+
onDblclick: N((t) => e.type === "dynamic" && C(e), ["stop"])
|
|
2087
|
+
}, {
|
|
2088
|
+
default: j(() => [c(T(e.name), 1)]),
|
|
2089
|
+
_: 2
|
|
2090
|
+
}, 1032, ["onDblclick"])),
|
|
2091
|
+
o("span", Li, T(e.channel.charAt(0).toUpperCase()), 1),
|
|
2092
|
+
o("span", Ri, T(e.version), 1),
|
|
2093
|
+
e.changed ? (v(), a("span", zi)) : i("", !0)
|
|
2094
|
+
], 10, Pi))), 128)), t.templates?.length ? i("", !0) : (v(), a("p", Bi, "No screens yet."))]),
|
|
2095
|
+
_: 1
|
|
2096
|
+
})]));
|
|
2097
|
+
}
|
|
2098
|
+
}), [["__scopeId", "data-v-927e0835"]]), Hi = { class: "iam-designer" }, Ui = { class: "contents" }, Wi = "aham-ui-designer-screens-height", Gi = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
195
2099
|
__name: "Designer",
|
|
196
2100
|
props: {
|
|
197
2101
|
value: {},
|
|
198
2102
|
options: {}
|
|
199
2103
|
},
|
|
200
|
-
emits: [
|
|
2104
|
+
emits: [
|
|
2105
|
+
"moreSelect",
|
|
2106
|
+
"screenSelect",
|
|
2107
|
+
"screenAdd",
|
|
2108
|
+
"screenRename"
|
|
2109
|
+
],
|
|
201
2110
|
setup(e, { emit: t }) {
|
|
202
|
-
let n = t;
|
|
203
|
-
|
|
204
|
-
|
|
2111
|
+
let n = e, r = t, i = y(), s = y([]), c = y(), u = y(50), d = !1;
|
|
2112
|
+
k(() => n.options?.templates, (e) => {
|
|
2113
|
+
s.value = e ? [...e] : [], !c.value && s.value[0] && (c.value = s.value[0].id);
|
|
2114
|
+
}, { immediate: !0 });
|
|
2115
|
+
function f() {
|
|
2116
|
+
let e = s.value.filter((e) => e.icon === "view_column").length, t = `layout-${Date.now()}`, n = {
|
|
2117
|
+
id: t,
|
|
2118
|
+
name: e ? `New Layout ${e + 1}` : "New Layout",
|
|
2119
|
+
version: "1",
|
|
2120
|
+
channel: "ui",
|
|
2121
|
+
icon: "view_column",
|
|
2122
|
+
changed: !0,
|
|
2123
|
+
type: "dynamic"
|
|
2124
|
+
};
|
|
2125
|
+
s.value.push(n), c.value = t, r("screenAdd", n), r("screenSelect", n);
|
|
2126
|
+
}
|
|
2127
|
+
function p(e, t) {
|
|
2128
|
+
let n = s.value.find((t) => t.id === e);
|
|
2129
|
+
n && (n.name = t, r("screenRename", e, t));
|
|
2130
|
+
}
|
|
2131
|
+
function _(e) {
|
|
2132
|
+
let t = s.value.find((t) => t.id === e);
|
|
2133
|
+
t && (c.value = e, r("screenSelect", t));
|
|
2134
|
+
}
|
|
2135
|
+
function b(e) {
|
|
2136
|
+
r("moreSelect", e);
|
|
2137
|
+
}
|
|
2138
|
+
function x() {
|
|
2139
|
+
d && (d = !1, document.body.style.removeProperty("cursor"), document.removeEventListener("pointermove", C), document.removeEventListener("pointerup", x));
|
|
205
2140
|
}
|
|
206
|
-
|
|
207
|
-
|
|
2141
|
+
function C(e) {
|
|
2142
|
+
let t = i.value?.getBoundingClientRect();
|
|
2143
|
+
if (!t) return;
|
|
2144
|
+
let n = (e.clientY - t.top) / t.height * 100;
|
|
2145
|
+
u.value = Math.min(80, Math.max(20, n));
|
|
2146
|
+
}
|
|
2147
|
+
function w(e) {
|
|
2148
|
+
d = !0, document.body.style.cursor = "row-resize", document.addEventListener("pointermove", C), document.addEventListener("pointerup", x), e.currentTarget.setPointerCapture?.(e.pointerId);
|
|
2149
|
+
}
|
|
2150
|
+
return g(() => {
|
|
2151
|
+
let e = Number(localStorage.getItem(Wi));
|
|
2152
|
+
Number.isFinite(e) && (u.value = Math.min(80, Math.max(20, e)));
|
|
2153
|
+
}), k(u, (e) => {
|
|
2154
|
+
localStorage.setItem(Wi, String(e));
|
|
2155
|
+
}), h(x), (t, n) => {
|
|
2156
|
+
let r = S("Workspace");
|
|
2157
|
+
return v(), a("section", Hi, [l(Ci, {
|
|
208
2158
|
subject: e.options?.subject ?? "",
|
|
209
2159
|
shared: e.options?.shared,
|
|
210
2160
|
"theme-changeable": e.options?.theme?.changeable,
|
|
211
2161
|
"more-items": e.options?.moreItems,
|
|
212
|
-
onMoreSelect:
|
|
2162
|
+
onMoreSelect: b
|
|
213
2163
|
}, null, 8, [
|
|
214
2164
|
"subject",
|
|
215
2165
|
"shared",
|
|
216
2166
|
"theme-changeable",
|
|
217
2167
|
"more-items"
|
|
218
|
-
]),
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
2168
|
+
]), o("div", Ui, [
|
|
2169
|
+
o("aside", null, [o("div", {
|
|
2170
|
+
ref_key: "sidebarPanels",
|
|
2171
|
+
ref: i,
|
|
2172
|
+
class: "sidebar-panels",
|
|
2173
|
+
style: m({ "--screens-height": `${u.value}%` })
|
|
2174
|
+
}, [
|
|
2175
|
+
l(Vi, {
|
|
2176
|
+
templates: s.value,
|
|
2177
|
+
"focused-template-id": c.value,
|
|
2178
|
+
onAdd: f,
|
|
2179
|
+
onRename: p,
|
|
2180
|
+
onSelect: _
|
|
2181
|
+
}, null, 8, ["templates", "focused-template-id"]),
|
|
2182
|
+
o("button", {
|
|
2183
|
+
type: "button",
|
|
2184
|
+
class: "panel-resizer",
|
|
2185
|
+
"aria-label": "Resize screens and components panels",
|
|
2186
|
+
onPointerdown: w
|
|
2187
|
+
}, [...n[0] ||= [o("span", { "aria-hidden": "true" }, null, -1)]], 32),
|
|
2188
|
+
l(oi)
|
|
2189
|
+
], 4), l(ki, { items: e.options?.checklist }, null, 8, ["items"])]),
|
|
2190
|
+
l(r, {
|
|
2191
|
+
class: "workspace",
|
|
2192
|
+
subject: e.options?.subject ?? ""
|
|
2193
|
+
}, null, 8, ["subject"]),
|
|
2194
|
+
l(Di, { class: "properties" })
|
|
2195
|
+
])]);
|
|
2196
|
+
};
|
|
2197
|
+
}
|
|
2198
|
+
}), [["__scopeId", "data-v-95006144"]]), Ki = te("checklist", {
|
|
2199
|
+
state: () => ({ items: [{
|
|
2200
|
+
id: "configure-screen",
|
|
2201
|
+
label: "Configure the selected screen",
|
|
2202
|
+
complete: !1
|
|
2203
|
+
}, {
|
|
2204
|
+
id: "preview-screen",
|
|
2205
|
+
label: "Preview before saving",
|
|
2206
|
+
complete: !1
|
|
2207
|
+
}] }),
|
|
2208
|
+
actions: {
|
|
2209
|
+
setComplete(e, t = !0) {
|
|
2210
|
+
let n = this.items.find((t) => t.id === e);
|
|
2211
|
+
n && (n.complete = t);
|
|
2212
|
+
},
|
|
2213
|
+
reset() {
|
|
2214
|
+
this.items.forEach((e) => {
|
|
2215
|
+
e.complete = !1;
|
|
2216
|
+
});
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
}), qi = te("screens", {
|
|
2220
|
+
state: () => ({
|
|
2221
|
+
screens: [],
|
|
2222
|
+
screen: null
|
|
2223
|
+
}),
|
|
2224
|
+
actions: {
|
|
2225
|
+
setScreens(e) {
|
|
2226
|
+
this.screens = e, this.screen = e[0] ?? null;
|
|
2227
|
+
},
|
|
2228
|
+
setActive(e) {
|
|
2229
|
+
this.screen = this.screens.find((t) => t.id === e) ?? this.screen;
|
|
2230
|
+
},
|
|
2231
|
+
addDynamicLayout(e) {
|
|
2232
|
+
let t = this.screens.filter((e) => e.type === "dynamic").length, n = e ?? {
|
|
2233
|
+
id: `layout-${Date.now()}`,
|
|
2234
|
+
name: t ? `New Layout ${t + 1}` : "New Layout",
|
|
2235
|
+
icon: "view_column",
|
|
2236
|
+
channel: "ui",
|
|
2237
|
+
version: "1",
|
|
2238
|
+
changed: !0,
|
|
2239
|
+
type: "dynamic"
|
|
2240
|
+
};
|
|
2241
|
+
this.screens.push(n), this.screen = n;
|
|
2242
|
+
},
|
|
2243
|
+
rename(e, t) {
|
|
2244
|
+
let n = this.screens.find((t) => t.id === e);
|
|
2245
|
+
n && (n.name = t);
|
|
2246
|
+
},
|
|
2247
|
+
clear() {
|
|
2248
|
+
this.screens = [], this.screen = null;
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
});
|
|
2252
|
+
//#endregion
|
|
2253
|
+
//#region src/widgets/components/types.ts
|
|
2254
|
+
function Ji(e) {
|
|
2255
|
+
if (e !== void 0 && e !== "") return typeof e == "number" || /^-?\d+(?:\.\d+)?$/.test(String(e)) ? `${e}px` : String(e);
|
|
2256
|
+
}
|
|
2257
|
+
function Yi(e) {
|
|
2258
|
+
let t = {};
|
|
2259
|
+
for (let n of [
|
|
2260
|
+
"width",
|
|
2261
|
+
"height",
|
|
2262
|
+
"margin",
|
|
2263
|
+
"padding",
|
|
2264
|
+
"gap",
|
|
2265
|
+
"borderWidth",
|
|
2266
|
+
"radius"
|
|
2267
|
+
]) {
|
|
2268
|
+
let r = Ji(e[n]);
|
|
2269
|
+
r && (t[n === "radius" ? "borderRadius" : n] = r);
|
|
2270
|
+
}
|
|
2271
|
+
if (e.background && (t.background = e.background), e.layout === "grid" ? (t.display = "grid", t.gridTemplateColumns = e.columns || "1fr 1fr", t.alignItems = e.align || "stretch") : e.layout === "block" ? t.display = "block" : (t.display = "flex", t.flexDirection = e.direction || "column", t.alignItems = e.align || "stretch", t.justifyContent = e.justify || "flex-start"), e.layout !== "block" && e.gap !== void 0 && (t.gap = Ji(e.gap) || "0"), e.borderStyle && e.borderStyle !== "none" && (t.border = `${Ji(e.borderWidth) || "1px"} ${e.borderStyle} ${e.borderColor || "currentColor"}`), e.position) {
|
|
2272
|
+
t.position = e.position;
|
|
2273
|
+
for (let n of [
|
|
2274
|
+
"left",
|
|
2275
|
+
"top",
|
|
2276
|
+
"right",
|
|
2277
|
+
"bottom"
|
|
2278
|
+
]) {
|
|
2279
|
+
let r = Ji(e[n]);
|
|
2280
|
+
r && (t[n] = r);
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
return t;
|
|
2284
|
+
}
|
|
2285
|
+
//#endregion
|
|
2286
|
+
//#region src/widgets/components/Container.vue
|
|
2287
|
+
var Xi = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2288
|
+
__name: "Container",
|
|
2289
|
+
props: {
|
|
2290
|
+
width: {},
|
|
2291
|
+
height: {},
|
|
2292
|
+
margin: {},
|
|
2293
|
+
padding: { default: 18 },
|
|
2294
|
+
layout: { default: "flex" },
|
|
2295
|
+
direction: { default: "column" },
|
|
2296
|
+
gap: { default: 12 },
|
|
2297
|
+
columns: { default: "1fr 1fr" },
|
|
2298
|
+
align: { default: "stretch" },
|
|
2299
|
+
justify: { default: "flex-start" },
|
|
2300
|
+
background: {},
|
|
2301
|
+
borderStyle: { default: "none" },
|
|
2302
|
+
borderColor: {},
|
|
2303
|
+
borderWidth: {},
|
|
2304
|
+
radius: { default: 14 },
|
|
2305
|
+
position: { default: "relative" },
|
|
2306
|
+
left: {},
|
|
2307
|
+
top: {},
|
|
2308
|
+
right: {},
|
|
2309
|
+
bottom: {}
|
|
2310
|
+
},
|
|
2311
|
+
setup(e) {
|
|
2312
|
+
let t = e, r = n(() => Yi(t));
|
|
2313
|
+
return (e, t) => (v(), a("div", {
|
|
2314
|
+
class: "container-component",
|
|
2315
|
+
style: m(r.value)
|
|
2316
|
+
}, [x(e.$slots, "default", {}, () => [t[0] ||= o("div", { class: "empty" }, "Drop components here", -1)], !0)], 4));
|
|
2317
|
+
}
|
|
2318
|
+
}), [["__scopeId", "data-v-42c23412"]]), Zi = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2319
|
+
__name: "Card",
|
|
2320
|
+
props: {
|
|
2321
|
+
shadow: {
|
|
2322
|
+
type: Boolean,
|
|
2323
|
+
default: !0
|
|
2324
|
+
},
|
|
2325
|
+
width: {},
|
|
2326
|
+
height: {},
|
|
2327
|
+
margin: {},
|
|
2328
|
+
padding: { default: 18 },
|
|
2329
|
+
layout: { default: "flex" },
|
|
2330
|
+
direction: { default: "column" },
|
|
2331
|
+
gap: { default: 12 },
|
|
2332
|
+
columns: { default: "1fr 1fr" },
|
|
2333
|
+
align: { default: "stretch" },
|
|
2334
|
+
justify: { default: "flex-start" },
|
|
2335
|
+
background: {},
|
|
2336
|
+
borderStyle: { default: "none" },
|
|
2337
|
+
borderColor: {},
|
|
2338
|
+
borderWidth: {},
|
|
2339
|
+
radius: { default: 14 },
|
|
2340
|
+
position: { default: "relative" },
|
|
2341
|
+
left: {},
|
|
2342
|
+
top: {},
|
|
2343
|
+
right: {},
|
|
2344
|
+
bottom: {}
|
|
2345
|
+
},
|
|
2346
|
+
setup(e) {
|
|
2347
|
+
let t = e, r = n(() => ({
|
|
2348
|
+
...Yi(t),
|
|
2349
|
+
boxShadow: t.shadow ? "var(--shadow-soft, 0 8px 24px rgb(0 0 0 / 10%))" : "none"
|
|
2350
|
+
}));
|
|
2351
|
+
return (e, t) => (v(), a("div", {
|
|
2352
|
+
class: "card-component",
|
|
2353
|
+
style: m(r.value)
|
|
2354
|
+
}, [x(e.$slots, "default", {}, () => [t[0] ||= o("div", { class: "empty" }, "Drop components here", -1)], !0)], 4));
|
|
2355
|
+
}
|
|
2356
|
+
}), [["__scopeId", "data-v-b06c1052"]]), Qi = /* @__PURE__ */ u({
|
|
2357
|
+
__name: "Spacer",
|
|
2358
|
+
props: { height: { default: 20 } },
|
|
2359
|
+
setup(e) {
|
|
2360
|
+
return (t, n) => (v(), a("div", {
|
|
2361
|
+
class: "spacer-component",
|
|
2362
|
+
style: m({ height: typeof e.height == "number" ? `${e.height}px` : e.height }),
|
|
2363
|
+
"aria-hidden": "true"
|
|
2364
|
+
}, null, 4));
|
|
2365
|
+
}
|
|
2366
|
+
}), $i = { class: "divider-component" }, ea = { key: 0 }, ta = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2367
|
+
__name: "Divider",
|
|
2368
|
+
props: { label: { default: "or" } },
|
|
2369
|
+
setup(e) {
|
|
2370
|
+
return (t, n) => (v(), a("div", $i, [e.label ? (v(), a("span", ea, T(e.label), 1)) : i("", !0)]));
|
|
2371
|
+
}
|
|
2372
|
+
}), [["__scopeId", "data-v-a6e861b8"]]), na = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2373
|
+
__name: "Layout",
|
|
2374
|
+
props: {
|
|
2375
|
+
direction: { default: "column" },
|
|
2376
|
+
gap: { default: 12 },
|
|
2377
|
+
padding: { default: 12 }
|
|
2378
|
+
},
|
|
2379
|
+
setup(e) {
|
|
2380
|
+
let t = e, r = n(() => ({
|
|
2381
|
+
display: "flex",
|
|
2382
|
+
flexDirection: t.direction,
|
|
2383
|
+
gap: typeof t.gap == "number" ? `${t.gap}px` : t.gap,
|
|
2384
|
+
padding: typeof t.padding == "number" ? `${t.padding}px` : t.padding
|
|
2385
|
+
}));
|
|
2386
|
+
return (e, t) => (v(), a("div", {
|
|
2387
|
+
class: "layout-component",
|
|
2388
|
+
style: m(r.value)
|
|
2389
|
+
}, [x(e.$slots, "default", {}, () => [t[0] ||= o("div", { class: "empty" }, "Drop components here", -1)], !0)], 4));
|
|
2390
|
+
}
|
|
2391
|
+
}), [["__scopeId", "data-v-be209bd5"]]), ra = { class: "layout-ref-component" }, ia = { class: "badge" }, aa = { key: 0 }, oa = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2392
|
+
__name: "LayoutRef",
|
|
2393
|
+
props: {
|
|
2394
|
+
layoutKey: { default: "" },
|
|
2395
|
+
label: { default: "Layout" }
|
|
2396
|
+
},
|
|
2397
|
+
setup(e) {
|
|
2398
|
+
return (t, n) => (v(), a("div", ra, [o("div", ia, [c("◆ " + T(e.label), 1), e.layoutKey ? (v(), a("span", aa, " · " + T(e.layoutKey), 1)) : i("", !0)]), x(t.$slots, "default", {}, () => [n[0] ||= o("div", { class: "empty" }, "Drop components here", -1)], !0)]));
|
|
2399
|
+
}
|
|
2400
|
+
}), [["__scopeId", "data-v-d41ee6eb"]]), sa = { class: "field-component" }, ca = { class: "label" }, la = { key: 0 }, ua = ["value", "placeholder"], da = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2401
|
+
__name: "EmailInput",
|
|
2402
|
+
props: {
|
|
2403
|
+
label: { default: "Email" },
|
|
2404
|
+
placeholder: { default: "you@example.com" },
|
|
2405
|
+
required: {
|
|
2406
|
+
type: Boolean,
|
|
2407
|
+
default: !0
|
|
2408
|
+
},
|
|
2409
|
+
modelValue: {}
|
|
2410
|
+
},
|
|
2411
|
+
setup(e) {
|
|
2412
|
+
return (t, n) => (v(), a("label", sa, [o("span", ca, [c(T(e.label), 1), e.required ? (v(), a("b", la, "*")) : i("", !0)]), o("input", {
|
|
2413
|
+
value: e.modelValue,
|
|
2414
|
+
type: "email",
|
|
2415
|
+
placeholder: e.placeholder,
|
|
2416
|
+
readonly: ""
|
|
2417
|
+
}, null, 8, ua)]));
|
|
2418
|
+
}
|
|
2419
|
+
}), [["__scopeId", "data-v-c7f2e797"]]), fa = { class: "field-component" }, pa = { class: "label" }, ma = { key: 0 }, ha = ["value", "placeholder"], ga = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2420
|
+
__name: "TextInput",
|
|
2421
|
+
props: {
|
|
2422
|
+
label: { default: "Full name" },
|
|
2423
|
+
placeholder: { default: "Jane Doe" },
|
|
2424
|
+
required: {
|
|
2425
|
+
type: Boolean,
|
|
2426
|
+
default: !1
|
|
2427
|
+
},
|
|
2428
|
+
modelValue: {}
|
|
2429
|
+
},
|
|
2430
|
+
setup(e) {
|
|
2431
|
+
return (t, n) => (v(), a("label", fa, [o("span", pa, [c(T(e.label), 1), e.required ? (v(), a("b", ma, "*")) : i("", !0)]), o("input", {
|
|
2432
|
+
value: e.modelValue,
|
|
2433
|
+
type: "text",
|
|
2434
|
+
placeholder: e.placeholder,
|
|
2435
|
+
readonly: ""
|
|
2436
|
+
}, null, 8, ha)]));
|
|
2437
|
+
}
|
|
2438
|
+
}), [["__scopeId", "data-v-b5ed7071"]]), _a = { class: "field-component" }, va = { class: "field-row" }, ya = { class: "label" }, ba = { key: 0 }, xa = ["value", "placeholder"], Sa = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2439
|
+
__name: "PasswordInput",
|
|
2440
|
+
props: {
|
|
2441
|
+
label: { default: "Password" },
|
|
2442
|
+
placeholder: { default: "••••••••" },
|
|
2443
|
+
required: {
|
|
2444
|
+
type: Boolean,
|
|
2445
|
+
default: !0
|
|
2446
|
+
},
|
|
2447
|
+
showForgot: {
|
|
2448
|
+
type: Boolean,
|
|
2449
|
+
default: !1
|
|
2450
|
+
},
|
|
2451
|
+
modelValue: {}
|
|
2452
|
+
},
|
|
2453
|
+
setup(e) {
|
|
2454
|
+
return (t, n) => (v(), a("label", _a, [o("span", va, [o("span", ya, [c(T(e.label), 1), e.required ? (v(), a("b", ba, "*")) : i("", !0)]), e.showForgot ? (v(), a("a", {
|
|
2455
|
+
key: 0,
|
|
2456
|
+
href: "#",
|
|
2457
|
+
onClick: n[0] ||= N(() => {}, ["prevent"])
|
|
2458
|
+
}, "Forgot?")) : i("", !0)]), o("input", {
|
|
2459
|
+
value: e.modelValue,
|
|
2460
|
+
type: "password",
|
|
2461
|
+
placeholder: e.placeholder,
|
|
2462
|
+
readonly: ""
|
|
2463
|
+
}, null, 8, xa)]));
|
|
2464
|
+
}
|
|
2465
|
+
}), [["__scopeId", "data-v-ad9dff41"]]), Ca = { class: "field-component" }, wa = { class: "label" }, Ta = { class: "otp-row" }, Ea = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2466
|
+
__name: "OtpInput",
|
|
2467
|
+
props: {
|
|
2468
|
+
label: { default: "Verification code" },
|
|
2469
|
+
digits: { default: 6 }
|
|
2470
|
+
},
|
|
2471
|
+
setup(t) {
|
|
2472
|
+
let r = t, i = n(() => Array.from({ length: Math.max(1, r.digits) }));
|
|
2473
|
+
return (n, r) => (v(), a("div", Ca, [o("span", wa, T(t.label), 1), o("div", Ta, [(v(!0), a(e, null, b(i.value, (e, t) => (v(), a("span", {
|
|
2474
|
+
key: t,
|
|
2475
|
+
class: "otp-box"
|
|
2476
|
+
}))), 128))])]));
|
|
2477
|
+
}
|
|
2478
|
+
}), [["__scopeId", "data-v-1914959e"]]), Da = { class: "checkbox-component" }, Oa = ["checked"], ka = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2479
|
+
__name: "Checkbox",
|
|
2480
|
+
props: {
|
|
2481
|
+
label: { default: "Remember me" },
|
|
2482
|
+
checked: {
|
|
2483
|
+
type: Boolean,
|
|
2484
|
+
default: !1
|
|
2485
|
+
},
|
|
2486
|
+
modelValue: { type: Boolean }
|
|
2487
|
+
},
|
|
2488
|
+
setup(e) {
|
|
2489
|
+
return (t, n) => (v(), a("label", Da, [o("input", {
|
|
2490
|
+
type: "checkbox",
|
|
2491
|
+
checked: e.modelValue ?? e.checked,
|
|
2492
|
+
readonly: ""
|
|
2493
|
+
}, null, 8, Oa), o("span", null, T(e.label), 1)]));
|
|
2494
|
+
}
|
|
2495
|
+
}), [["__scopeId", "data-v-3d492d6d"]]), Aa = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2496
|
+
__name: "SubmitButton",
|
|
2497
|
+
props: {
|
|
2498
|
+
text: { default: "Sign in" },
|
|
2499
|
+
style: { default: "primary" }
|
|
2500
|
+
},
|
|
2501
|
+
setup(e) {
|
|
2502
|
+
return (t, n) => (v(), a("button", {
|
|
2503
|
+
type: "button",
|
|
2504
|
+
class: p(["submit-button", e.style])
|
|
2505
|
+
}, T(e.text), 3));
|
|
2506
|
+
}
|
|
2507
|
+
}), [["__scopeId", "data-v-9807299a"]]), ja = {
|
|
2508
|
+
type: "button",
|
|
2509
|
+
class: "social-button"
|
|
2510
|
+
}, Ma = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2511
|
+
__name: "SocialButton",
|
|
2512
|
+
props: {
|
|
2513
|
+
provider: { default: "google" },
|
|
2514
|
+
text: { default: "Continue with Google" }
|
|
2515
|
+
},
|
|
2516
|
+
setup(e) {
|
|
2517
|
+
let t = e, r = {
|
|
2518
|
+
google: {
|
|
2519
|
+
letter: "G",
|
|
2520
|
+
color: "#4285f4"
|
|
2521
|
+
},
|
|
2522
|
+
github: {
|
|
2523
|
+
letter: "◆",
|
|
2524
|
+
color: "#24292f"
|
|
2525
|
+
},
|
|
2526
|
+
microsoft: {
|
|
2527
|
+
letter: "▦",
|
|
2528
|
+
color: "#7fba00"
|
|
2529
|
+
},
|
|
2530
|
+
apple: {
|
|
2531
|
+
letter: "●",
|
|
2532
|
+
color: "#111"
|
|
2533
|
+
}
|
|
2534
|
+
}, i = n(() => r[t.provider]);
|
|
2535
|
+
return (t, n) => (v(), a("button", ja, [o("span", {
|
|
2536
|
+
class: "social-icon",
|
|
2537
|
+
style: m({ background: i.value.color })
|
|
2538
|
+
}, T(i.value.letter), 5), c(T(e.text), 1)]));
|
|
2539
|
+
}
|
|
2540
|
+
}), [["__scopeId", "data-v-3045616f"]]), Na = [
|
|
2541
|
+
"href",
|
|
2542
|
+
"target",
|
|
2543
|
+
"rel"
|
|
2544
|
+
], Pa = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2545
|
+
__name: "TextLink",
|
|
2546
|
+
props: {
|
|
2547
|
+
text: { default: "Forgot password?" },
|
|
2548
|
+
href: { default: "#" },
|
|
2549
|
+
target: { default: "_self" }
|
|
2550
|
+
},
|
|
2551
|
+
setup(e) {
|
|
2552
|
+
return (t, n) => (v(), a("a", {
|
|
2553
|
+
class: "text-link",
|
|
2554
|
+
href: e.href,
|
|
2555
|
+
target: e.target,
|
|
2556
|
+
rel: e.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2557
|
+
}, T(e.text), 9, Na));
|
|
2558
|
+
}
|
|
2559
|
+
}), [["__scopeId", "data-v-8d18edb1"]]), Fa = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2560
|
+
__name: "Heading",
|
|
2561
|
+
props: {
|
|
2562
|
+
text: { default: "Welcome back" },
|
|
2563
|
+
size: { default: "lg" }
|
|
2564
|
+
},
|
|
2565
|
+
setup(e) {
|
|
2566
|
+
let t = e, i = n(() => t.size === "xl" ? "h1" : t.size === "lg" ? "h2" : t.size === "md" ? "h3" : "h4");
|
|
2567
|
+
return (t, n) => (v(), r(C(i.value), { class: p(["heading-component", e.size]) }, {
|
|
2568
|
+
default: j(() => [c(T(e.text), 1)]),
|
|
2569
|
+
_: 1
|
|
2570
|
+
}, 8, ["class"]));
|
|
2571
|
+
}
|
|
2572
|
+
}), [["__scopeId", "data-v-1c78b10f"]]), Ia = { class: "text-component" }, La = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2573
|
+
__name: "Text",
|
|
2574
|
+
props: { text: { default: "Enter your details to continue." } },
|
|
2575
|
+
setup(e) {
|
|
2576
|
+
return (t, n) => (v(), a("p", Ia, T(e.text), 1));
|
|
2577
|
+
}
|
|
2578
|
+
}), [["__scopeId", "data-v-3be0c0c9"]]), Ra = [
|
|
2579
|
+
"href",
|
|
2580
|
+
"target",
|
|
2581
|
+
"rel"
|
|
2582
|
+
], za = ["src", "alt"], Ba = { key: 1 }, Va = ["src", "alt"], Ha = { key: 1 }, Ua = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2583
|
+
__name: "Image",
|
|
2584
|
+
props: {
|
|
2585
|
+
src: { default: "" },
|
|
2586
|
+
alt: { default: "Illustration" },
|
|
2587
|
+
width: { default: "100%" },
|
|
2588
|
+
height: { default: 120 },
|
|
2589
|
+
radius: { default: 0 },
|
|
2590
|
+
href: { default: "" },
|
|
2591
|
+
hrefTarget: { default: "_self" }
|
|
2592
|
+
},
|
|
2593
|
+
setup(e) {
|
|
2594
|
+
let t = e, r = (e) => typeof e == "number" || /^-?\d+(?:\.\d+)?$/.test(String(e)) ? `${e}px` : String(e), i = n(() => ({
|
|
2595
|
+
width: r(t.width),
|
|
2596
|
+
maxWidth: "100%",
|
|
2597
|
+
height: r(t.height),
|
|
2598
|
+
borderRadius: r(t.radius)
|
|
2599
|
+
}));
|
|
2600
|
+
return (t, n) => e.href ? (v(), a("a", {
|
|
2601
|
+
key: 0,
|
|
2602
|
+
class: "image-link",
|
|
2603
|
+
href: e.href,
|
|
2604
|
+
target: e.hrefTarget,
|
|
2605
|
+
rel: e.hrefTarget === "_blank" ? "noopener noreferrer" : void 0
|
|
2606
|
+
}, [o("div", {
|
|
2607
|
+
class: "image-component",
|
|
2608
|
+
style: m(i.value)
|
|
2609
|
+
}, [e.src ? (v(), a("img", {
|
|
2610
|
+
key: 0,
|
|
2611
|
+
src: e.src,
|
|
2612
|
+
alt: e.alt
|
|
2613
|
+
}, null, 8, za)) : (v(), a("span", Ba, T(e.alt), 1))], 4)], 8, Ra)) : (v(), a("div", {
|
|
2614
|
+
key: 1,
|
|
2615
|
+
class: "image-component",
|
|
2616
|
+
style: m(i.value)
|
|
2617
|
+
}, [e.src ? (v(), a("img", {
|
|
2618
|
+
key: 0,
|
|
2619
|
+
src: e.src,
|
|
2620
|
+
alt: e.alt
|
|
2621
|
+
}, null, 8, Va)) : (v(), a("span", Ha, T(e.alt), 1))], 4));
|
|
2622
|
+
}
|
|
2623
|
+
}), [["__scopeId", "data-v-ecc98881"]]), Wa = { "aria-hidden": "true" }, Ga = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2624
|
+
__name: "Alert",
|
|
2625
|
+
props: {
|
|
2626
|
+
tone: { default: "info" },
|
|
2627
|
+
text: { default: "Check your inbox for the reset link." }
|
|
2628
|
+
},
|
|
2629
|
+
setup(e) {
|
|
2630
|
+
return (t, n) => (v(), a("div", { class: p(["alert-component", e.tone]) }, [o("span", Wa, T(e.tone === "error" ? "⚠" : e.tone === "success" ? "✓" : "ⓘ"), 1), o("span", null, T(e.text), 1)], 2));
|
|
2631
|
+
}
|
|
2632
|
+
}), [["__scopeId", "data-v-bf171873"]]), Ka = { class: "content-component" }, qa = { class: "empty" }, Ja = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2633
|
+
__name: "Content",
|
|
2634
|
+
props: { note: { default: "Page content goes here" } },
|
|
2635
|
+
setup(e) {
|
|
2636
|
+
return (t, n) => (v(), a("div", Ka, [x(t.$slots, "default", {}, () => [o("div", qa, T(e.note), 1)], !0)]));
|
|
2637
|
+
}
|
|
2638
|
+
}), [["__scopeId", "data-v-1c551f9d"]]), Ya = { class: "consent-card" }, Xa = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2639
|
+
__name: "ConsentCard",
|
|
2640
|
+
props: {
|
|
2641
|
+
appName: { default: "Acme Analytics" },
|
|
2642
|
+
requestedBy: { default: "acme.io" }
|
|
2643
|
+
},
|
|
2644
|
+
setup(e) {
|
|
2645
|
+
return (t, n) => (v(), a("div", Ya, [n[0] ||= o("span", {
|
|
2646
|
+
class: "icon",
|
|
2647
|
+
"aria-hidden": "true"
|
|
2648
|
+
}, "✓", -1), o("div", null, [o("strong", null, T(e.appName), 1), o("span", null, "wants to access your account · " + T(e.requestedBy), 1)])]));
|
|
2649
|
+
}
|
|
2650
|
+
}), [["__scopeId", "data-v-9008f821"]]), Za = { class: "scope-list" }, Qa = /*#__PURE__*/ $(/* @__PURE__ */ u({
|
|
2651
|
+
__name: "ScopeList",
|
|
2652
|
+
props: { scopes: { default: () => [
|
|
2653
|
+
"Read your profile",
|
|
2654
|
+
"View your email address",
|
|
2655
|
+
"Access your workspace list"
|
|
2656
|
+
] } },
|
|
2657
|
+
setup(t) {
|
|
2658
|
+
let r = t, i = n(() => Array.isArray(r.scopes) ? r.scopes : r.scopes.split("\n").filter(Boolean));
|
|
2659
|
+
return (t, n) => (v(), a("div", Za, [(v(!0), a(e, null, b(i.value, (e) => (v(), a("div", {
|
|
2660
|
+
key: e,
|
|
2661
|
+
class: "scope"
|
|
2662
|
+
}, [n[0] ||= o("span", { "aria-hidden": "true" }, "✓", -1), o("span", null, T(e), 1)]))), 128))]));
|
|
222
2663
|
}
|
|
223
|
-
}), [["__scopeId", "data-v-
|
|
2664
|
+
}), [["__scopeId", "data-v-cdebac9d"]]);
|
|
224
2665
|
//#endregion
|
|
225
|
-
export {
|
|
2666
|
+
export { Ga as Alert, Zi as Card, ka as Checkbox, Xa as ConsentCard, Xi as Container, Ja as Content, Gi as Designer, ta as Divider, da as EmailInput, Fa as Heading, Ua as Image, na as Layout, oa as LayoutRef, Ea as OtpInput, Sa as PasswordInput, Qa as ScopeList, Ma as SocialButton, Qi as Spacer, Aa as SubmitButton, La as Text, ga as TextInput, Pa as TextLink, Yr as TextScroller, Ki as useChecklistStore, qi as useScreensStore };
|