@illinois-grad/grad-vue 2.5.2 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +117 -6
- package/dist/components/GMultiSelect.vue.d.ts +125 -0
- package/dist/components/GSelect.vue.d.ts +4 -14
- package/dist/components/GTreeMenu.vue.d.ts +13 -13
- package/dist/compose/useSelectDropdown.d.ts +56 -0
- package/dist/{grad-vue-_KJazv6D.js → grad-vue-D4cwVtpD.js} +716 -458
- package/dist/grad-vue-D4cwVtpD.js.map +1 -0
- package/dist/grad-vue-elements.d.ts +3 -0
- package/dist/grad-vue-elements.js +1078 -822
- package/dist/grad-vue-elements.js.map +1 -1
- package/dist/grad-vue.css +1 -1
- package/dist/grad-vue.d.ts +2 -1
- package/dist/grad-vue.js +2 -2
- package/dist/plugin.js +4 -4
- package/dist/plugin.js.map +1 -1
- package/package.json +1 -1
- package/dist/grad-vue-_KJazv6D.js.map +0 -1
|
@@ -11,89 +11,89 @@ var t = {}, n = [], r = () => {}, i = () => !1, a = (e) => e.charCodeAt(0) === 1
|
|
|
11
11
|
}, l = Object.prototype.hasOwnProperty, u = (e, t) => l.call(e, t), d = Array.isArray, f = (e) => x(e) === "[object Map]", p = (e) => x(e) === "[object Set]", m = (e) => x(e) === "[object Date]", h = (e) => typeof e == "function", g = (e) => typeof e == "string", _ = (e) => typeof e == "symbol", v = (e) => typeof e == "object" && !!e, y = (e) => (v(e) || h(e)) && h(e.then) && h(e.catch), b = Object.prototype.toString, x = (e) => b.call(e), S = (e) => x(e).slice(8, -1), C = (e) => x(e) === "[object Object]", w = (e) => g(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, T = /* @__PURE__ */ e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"), E = (e) => {
|
|
12
12
|
let t = /* @__PURE__ */ Object.create(null);
|
|
13
13
|
return ((n) => t[n] || (t[n] = e(n)));
|
|
14
|
-
}, ee = /-\w/g, D = E((e) => e.replace(ee, (e) => e.slice(1).toUpperCase())), te = /\B([A-Z])/g, O = E((e) => e.replace(te, "-$1").toLowerCase()), ne = E((e) => e.charAt(0).toUpperCase() + e.slice(1)), re = E((e) => e ? `on${ne(e)}` : ""),
|
|
14
|
+
}, ee = /-\w/g, D = E((e) => e.replace(ee, (e) => e.slice(1).toUpperCase())), te = /\B([A-Z])/g, O = E((e) => e.replace(te, "-$1").toLowerCase()), ne = E((e) => e.charAt(0).toUpperCase() + e.slice(1)), re = E((e) => e ? `on${ne(e)}` : ""), k = (e, t) => !Object.is(e, t), ie = (e, ...t) => {
|
|
15
15
|
for (let n = 0; n < e.length; n++) e[n](...t);
|
|
16
|
-
},
|
|
16
|
+
}, ae = (e, t, n, r = !1) => {
|
|
17
17
|
Object.defineProperty(e, t, {
|
|
18
18
|
configurable: !0,
|
|
19
19
|
enumerable: !1,
|
|
20
20
|
writable: r,
|
|
21
21
|
value: n
|
|
22
22
|
});
|
|
23
|
-
},
|
|
23
|
+
}, oe = (e) => {
|
|
24
24
|
let t = parseFloat(e);
|
|
25
25
|
return isNaN(t) ? e : t;
|
|
26
|
-
},
|
|
26
|
+
}, se = (e) => {
|
|
27
27
|
let t = g(e) ? Number(e) : NaN;
|
|
28
28
|
return isNaN(t) ? e : t;
|
|
29
|
-
},
|
|
30
|
-
function
|
|
29
|
+
}, ce, le = () => ce ||= typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {};
|
|
30
|
+
function ue(e) {
|
|
31
31
|
if (d(e)) {
|
|
32
32
|
let t = {};
|
|
33
33
|
for (let n = 0; n < e.length; n++) {
|
|
34
|
-
let r = e[n], i = g(r) ?
|
|
34
|
+
let r = e[n], i = g(r) ? me(r) : ue(r);
|
|
35
35
|
if (i) for (let e in i) t[e] = i[e];
|
|
36
36
|
}
|
|
37
37
|
return t;
|
|
38
38
|
} else if (g(e) || v(e)) return e;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
function
|
|
40
|
+
var de = /;(?![^(]*\))/g, fe = /:([^]+)/, pe = /\/\*[^]*?\*\//g;
|
|
41
|
+
function me(e) {
|
|
42
42
|
let t = {};
|
|
43
|
-
return e.replace(
|
|
43
|
+
return e.replace(pe, "").split(de).forEach((e) => {
|
|
44
44
|
if (e) {
|
|
45
|
-
let n = e.split(
|
|
45
|
+
let n = e.split(fe);
|
|
46
46
|
n.length > 1 && (t[n[0].trim()] = n[1].trim());
|
|
47
47
|
}
|
|
48
48
|
}), t;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function A(e) {
|
|
51
51
|
let t = "";
|
|
52
52
|
if (g(e)) t = e;
|
|
53
53
|
else if (d(e)) for (let n = 0; n < e.length; n++) {
|
|
54
|
-
let r =
|
|
54
|
+
let r = A(e[n]);
|
|
55
55
|
r && (t += r + " ");
|
|
56
56
|
}
|
|
57
57
|
else if (v(e)) for (let n in e) e[n] && (t += n + " ");
|
|
58
58
|
return t.trim();
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function he(e) {
|
|
61
61
|
if (!e) return null;
|
|
62
62
|
let { class: t, style: n } = e;
|
|
63
|
-
return t && !g(t) && (e.class =
|
|
63
|
+
return t && !g(t) && (e.class = A(t)), n && (e.style = ue(n)), e;
|
|
64
64
|
}
|
|
65
|
-
var
|
|
66
|
-
|
|
67
|
-
function
|
|
65
|
+
var ge = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", _e = /* @__PURE__ */ e(ge);
|
|
66
|
+
ge + "";
|
|
67
|
+
function ve(e) {
|
|
68
68
|
return !!e || e === "";
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function ye(e, t) {
|
|
71
71
|
if (e.length !== t.length) return !1;
|
|
72
72
|
let n = !0;
|
|
73
|
-
for (let r = 0; n && r < e.length; r++) n =
|
|
73
|
+
for (let r = 0; n && r < e.length; r++) n = be(e[r], t[r]);
|
|
74
74
|
return n;
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function be(e, t) {
|
|
77
77
|
if (e === t) return !0;
|
|
78
78
|
let n = m(e), r = m(t);
|
|
79
79
|
if (n || r) return n && r ? e.getTime() === t.getTime() : !1;
|
|
80
80
|
if (n = _(e), r = _(t), n || r) return e === t;
|
|
81
|
-
if (n = d(e), r = d(t), n || r) return n && r ?
|
|
81
|
+
if (n = d(e), r = d(t), n || r) return n && r ? ye(e, t) : !1;
|
|
82
82
|
if (n = v(e), r = v(t), n || r) {
|
|
83
83
|
if (!n || !r || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
84
84
|
for (let n in e) {
|
|
85
85
|
let r = e.hasOwnProperty(n), i = t.hasOwnProperty(n);
|
|
86
|
-
if (r && !i || !r && i || !
|
|
86
|
+
if (r && !i || !r && i || !be(e[n], t[n])) return !1;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
return String(e) === String(t);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
return e.findIndex((e) =>
|
|
91
|
+
function xe(e, t) {
|
|
92
|
+
return e.findIndex((e) => be(e, t));
|
|
93
93
|
}
|
|
94
|
-
var
|
|
94
|
+
var Se = (e) => !!(e && e.__v_isRef === !0), j = (e) => g(e) ? e : e == null ? "" : d(e) || v(e) && (e.toString === b || !h(e.toString)) ? Se(e) ? j(e.value) : JSON.stringify(e, Ce, 2) : String(e), Ce = (e, t) => Se(t) ? Ce(e, t.value) : f(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce((e, [t, n], r) => (e[we(t, r) + " =>"] = n, e), {}) } : p(t) ? { [`Set(${t.size})`]: [...t.values()].map((e) => we(e)) } : _(t) ? we(t) : v(t) && !d(t) && !C(t) ? String(t) : t, we = (e, t = "") => _(e) ? `Symbol(${e.description ?? t})` : e, Te, Ee = class {
|
|
95
95
|
constructor(e = !1) {
|
|
96
|
-
this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.__v_skip = !0, this.parent =
|
|
96
|
+
this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.__v_skip = !0, this.parent = Te, !e && Te && (this.index = (Te.scopes ||= []).push(this) - 1);
|
|
97
97
|
}
|
|
98
98
|
get active() {
|
|
99
99
|
return this._active;
|
|
@@ -116,19 +116,19 @@ var Ce = (e) => !!(e && e.__v_isRef === !0), A = (e) => g(e) ? e : e == null ? "
|
|
|
116
116
|
}
|
|
117
117
|
run(e) {
|
|
118
118
|
if (this._active) {
|
|
119
|
-
let t =
|
|
119
|
+
let t = Te;
|
|
120
120
|
try {
|
|
121
|
-
return
|
|
121
|
+
return Te = this, e();
|
|
122
122
|
} finally {
|
|
123
|
-
|
|
123
|
+
Te = t;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
on() {
|
|
128
|
-
++this._on === 1 && (this.prevScope =
|
|
128
|
+
++this._on === 1 && (this.prevScope = Te, Te = this);
|
|
129
129
|
}
|
|
130
130
|
off() {
|
|
131
|
-
this._on > 0 && --this._on === 0 && (
|
|
131
|
+
this._on > 0 && --this._on === 0 && (Te = this.prevScope, this.prevScope = void 0);
|
|
132
132
|
}
|
|
133
133
|
stop(e) {
|
|
134
134
|
if (this._active) {
|
|
@@ -148,75 +148,75 @@ var Ce = (e) => !!(e && e.__v_isRef === !0), A = (e) => g(e) ? e : e == null ? "
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
-
function
|
|
152
|
-
return
|
|
151
|
+
function De() {
|
|
152
|
+
return Te;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
154
|
+
function Oe(e, t = !1) {
|
|
155
|
+
Te && Te.cleanups.push(e);
|
|
156
156
|
}
|
|
157
|
-
var
|
|
157
|
+
var M, ke = /* @__PURE__ */ new WeakSet(), Ae = class {
|
|
158
158
|
constructor(e) {
|
|
159
|
-
this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0,
|
|
159
|
+
this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, Te && Te.active && Te.effects.push(this);
|
|
160
160
|
}
|
|
161
161
|
pause() {
|
|
162
162
|
this.flags |= 64;
|
|
163
163
|
}
|
|
164
164
|
resume() {
|
|
165
|
-
this.flags & 64 && (this.flags &= -65,
|
|
165
|
+
this.flags & 64 && (this.flags &= -65, ke.has(this) && (ke.delete(this), this.trigger()));
|
|
166
166
|
}
|
|
167
167
|
notify() {
|
|
168
|
-
this.flags & 2 && !(this.flags & 32) || this.flags & 8 ||
|
|
168
|
+
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Pe(this);
|
|
169
169
|
}
|
|
170
170
|
run() {
|
|
171
171
|
if (!(this.flags & 1)) return this.fn();
|
|
172
|
-
this.flags |= 2,
|
|
173
|
-
let e =
|
|
174
|
-
|
|
172
|
+
this.flags |= 2, qe(this), Le(this);
|
|
173
|
+
let e = M, t = Ue;
|
|
174
|
+
M = this, Ue = !0;
|
|
175
175
|
try {
|
|
176
176
|
return this.fn();
|
|
177
177
|
} finally {
|
|
178
|
-
|
|
178
|
+
Re(this), M = e, Ue = t, this.flags &= -3;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
stop() {
|
|
182
182
|
if (this.flags & 1) {
|
|
183
|
-
for (let e = this.deps; e; e = e.nextDep)
|
|
184
|
-
this.deps = this.depsTail = void 0,
|
|
183
|
+
for (let e = this.deps; e; e = e.nextDep) Ve(e);
|
|
184
|
+
this.deps = this.depsTail = void 0, qe(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
trigger() {
|
|
188
|
-
this.flags & 64 ?
|
|
188
|
+
this.flags & 64 ? ke.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
|
|
189
189
|
}
|
|
190
190
|
runIfDirty() {
|
|
191
|
-
|
|
191
|
+
ze(this) && this.run();
|
|
192
192
|
}
|
|
193
193
|
get dirty() {
|
|
194
|
-
return
|
|
194
|
+
return ze(this);
|
|
195
195
|
}
|
|
196
|
-
},
|
|
197
|
-
function
|
|
196
|
+
}, je = 0, Me, Ne;
|
|
197
|
+
function Pe(e, t = !1) {
|
|
198
198
|
if (e.flags |= 8, t) {
|
|
199
|
-
e.next =
|
|
199
|
+
e.next = Ne, Ne = e;
|
|
200
200
|
return;
|
|
201
201
|
}
|
|
202
|
-
e.next =
|
|
202
|
+
e.next = Me, Me = e;
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
|
|
204
|
+
function Fe() {
|
|
205
|
+
je++;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
if (--
|
|
209
|
-
if (
|
|
210
|
-
let e =
|
|
211
|
-
for (
|
|
207
|
+
function Ie() {
|
|
208
|
+
if (--je > 0) return;
|
|
209
|
+
if (Ne) {
|
|
210
|
+
let e = Ne;
|
|
211
|
+
for (Ne = void 0; e;) {
|
|
212
212
|
let t = e.next;
|
|
213
213
|
e.next = void 0, e.flags &= -9, e = t;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
let e;
|
|
217
|
-
for (;
|
|
218
|
-
let t =
|
|
219
|
-
for (
|
|
217
|
+
for (; Me;) {
|
|
218
|
+
let t = Me;
|
|
219
|
+
for (Me = void 0; t;) {
|
|
220
220
|
let n = t.next;
|
|
221
221
|
if (t.next = void 0, t.flags &= -9, t.flags & 1) try {
|
|
222
222
|
t.trigger();
|
|
@@ -228,296 +228,296 @@ function Le() {
|
|
|
228
228
|
}
|
|
229
229
|
if (e) throw e;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function Le(e) {
|
|
232
232
|
for (let t = e.deps; t; t = t.nextDep) t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Re(e) {
|
|
235
235
|
let t, n = e.depsTail, r = n;
|
|
236
236
|
for (; r;) {
|
|
237
237
|
let e = r.prevDep;
|
|
238
|
-
r.version === -1 ? (r === n && (n = e),
|
|
238
|
+
r.version === -1 ? (r === n && (n = e), Ve(r), He(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = e;
|
|
239
239
|
}
|
|
240
240
|
e.deps = t, e.depsTail = n;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
for (let t = e.deps; t; t = t.nextDep) if (t.dep.version !== t.version || t.dep.computed && (
|
|
242
|
+
function ze(e) {
|
|
243
|
+
for (let t = e.deps; t; t = t.nextDep) if (t.dep.version !== t.version || t.dep.computed && (Be(t.dep.computed) || t.dep.version !== t.version)) return !0;
|
|
244
244
|
return !!e._dirty;
|
|
245
245
|
}
|
|
246
|
-
function
|
|
247
|
-
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion ===
|
|
246
|
+
function Be(e) {
|
|
247
|
+
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Je) || (e.globalVersion = Je, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !ze(e)))) return;
|
|
248
248
|
e.flags |= 2;
|
|
249
|
-
let t = e.dep, n =
|
|
250
|
-
|
|
249
|
+
let t = e.dep, n = M, r = Ue;
|
|
250
|
+
M = e, Ue = !0;
|
|
251
251
|
try {
|
|
252
|
-
|
|
252
|
+
Le(e);
|
|
253
253
|
let n = e.fn(e._value);
|
|
254
|
-
(t.version === 0 ||
|
|
254
|
+
(t.version === 0 || k(n, e._value)) && (e.flags |= 128, e._value = n, t.version++);
|
|
255
255
|
} catch (e) {
|
|
256
256
|
throw t.version++, e;
|
|
257
257
|
} finally {
|
|
258
|
-
|
|
258
|
+
M = n, Ue = r, Re(e), e.flags &= -3;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Ve(e, t = !1) {
|
|
262
262
|
let { dep: n, prevSub: r, nextSub: i } = e;
|
|
263
263
|
if (r && (r.nextSub = i, e.prevSub = void 0), i && (i.prevSub = r, e.nextSub = void 0), n.subs === e && (n.subs = r, !r && n.computed)) {
|
|
264
264
|
n.computed.flags &= -5;
|
|
265
|
-
for (let e = n.computed.deps; e; e = e.nextDep)
|
|
265
|
+
for (let e = n.computed.deps; e; e = e.nextDep) Ve(e, !0);
|
|
266
266
|
}
|
|
267
267
|
!t && !--n.sc && n.map && n.map.delete(n.key);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function He(e) {
|
|
270
270
|
let { prevDep: t, nextDep: n } = e;
|
|
271
271
|
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
|
|
272
272
|
}
|
|
273
|
-
var
|
|
274
|
-
function
|
|
275
|
-
|
|
273
|
+
var Ue = !0, We = [];
|
|
274
|
+
function Ge() {
|
|
275
|
+
We.push(Ue), Ue = !1;
|
|
276
276
|
}
|
|
277
|
-
function
|
|
278
|
-
let e =
|
|
279
|
-
|
|
277
|
+
function Ke() {
|
|
278
|
+
let e = We.pop();
|
|
279
|
+
Ue = e === void 0 ? !0 : e;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function qe(e) {
|
|
282
282
|
let { cleanup: t } = e;
|
|
283
283
|
if (e.cleanup = void 0, t) {
|
|
284
|
-
let e =
|
|
285
|
-
|
|
284
|
+
let e = M;
|
|
285
|
+
M = void 0;
|
|
286
286
|
try {
|
|
287
287
|
t();
|
|
288
288
|
} finally {
|
|
289
|
-
|
|
289
|
+
M = e;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
|
-
var
|
|
293
|
+
var Je = 0, Ye = class {
|
|
294
294
|
constructor(e, t) {
|
|
295
295
|
this.sub = e, this.dep = t, this.version = t.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
296
296
|
}
|
|
297
|
-
},
|
|
297
|
+
}, Xe = class {
|
|
298
298
|
constructor(e) {
|
|
299
299
|
this.computed = e, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0;
|
|
300
300
|
}
|
|
301
301
|
track(e) {
|
|
302
|
-
if (!
|
|
302
|
+
if (!M || !Ue || M === this.computed) return;
|
|
303
303
|
let t = this.activeLink;
|
|
304
|
-
if (t === void 0 || t.sub !==
|
|
304
|
+
if (t === void 0 || t.sub !== M) t = this.activeLink = new Ye(M, this), M.deps ? (t.prevDep = M.depsTail, M.depsTail.nextDep = t, M.depsTail = t) : M.deps = M.depsTail = t, Ze(t);
|
|
305
305
|
else if (t.version === -1 && (t.version = this.version, t.nextDep)) {
|
|
306
306
|
let e = t.nextDep;
|
|
307
|
-
e.prevDep = t.prevDep, t.prevDep && (t.prevDep.nextDep = e), t.prevDep =
|
|
307
|
+
e.prevDep = t.prevDep, t.prevDep && (t.prevDep.nextDep = e), t.prevDep = M.depsTail, t.nextDep = void 0, M.depsTail.nextDep = t, M.depsTail = t, M.deps === t && (M.deps = e);
|
|
308
308
|
}
|
|
309
309
|
return t;
|
|
310
310
|
}
|
|
311
311
|
trigger(e) {
|
|
312
|
-
this.version++,
|
|
312
|
+
this.version++, Je++, this.notify(e);
|
|
313
313
|
}
|
|
314
314
|
notify(e) {
|
|
315
|
-
|
|
315
|
+
Fe();
|
|
316
316
|
try {
|
|
317
317
|
for (let e = this.subs; e; e = e.prevSub) e.sub.notify() && e.sub.dep.notify();
|
|
318
318
|
} finally {
|
|
319
|
-
|
|
319
|
+
Ie();
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
|
-
function
|
|
323
|
+
function Ze(e) {
|
|
324
324
|
if (e.dep.sc++, e.sub.flags & 4) {
|
|
325
325
|
let t = e.dep.computed;
|
|
326
326
|
if (t && !e.dep.subs) {
|
|
327
327
|
t.flags |= 20;
|
|
328
|
-
for (let e = t.deps; e; e = e.nextDep)
|
|
328
|
+
for (let e = t.deps; e; e = e.nextDep) Ze(e);
|
|
329
329
|
}
|
|
330
330
|
let n = e.dep.subs;
|
|
331
331
|
n !== e && (e.prevSub = n, n && (n.nextSub = e)), e.dep.subs = e;
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
|
-
var
|
|
335
|
-
function
|
|
336
|
-
if (
|
|
337
|
-
let t =
|
|
338
|
-
t ||
|
|
334
|
+
var Qe = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ Symbol(""), et = /* @__PURE__ */ Symbol(""), tt = /* @__PURE__ */ Symbol("");
|
|
335
|
+
function nt(e, t, n) {
|
|
336
|
+
if (Ue && M) {
|
|
337
|
+
let t = Qe.get(e);
|
|
338
|
+
t || Qe.set(e, t = /* @__PURE__ */ new Map());
|
|
339
339
|
let r = t.get(n);
|
|
340
|
-
r || (t.set(n, r = new
|
|
340
|
+
r || (t.set(n, r = new Xe()), r.map = t, r.key = n), r.track();
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
let o =
|
|
343
|
+
function rt(e, t, n, r, i, a) {
|
|
344
|
+
let o = Qe.get(e);
|
|
345
345
|
if (!o) {
|
|
346
|
-
|
|
346
|
+
Je++;
|
|
347
347
|
return;
|
|
348
348
|
}
|
|
349
349
|
let s = (e) => {
|
|
350
350
|
e && e.trigger();
|
|
351
351
|
};
|
|
352
|
-
if (
|
|
352
|
+
if (Fe(), t === "clear") o.forEach(s);
|
|
353
353
|
else {
|
|
354
354
|
let i = d(e), a = i && w(n);
|
|
355
355
|
if (i && n === "length") {
|
|
356
356
|
let e = Number(r);
|
|
357
357
|
o.forEach((t, n) => {
|
|
358
|
-
(n === "length" || n ===
|
|
358
|
+
(n === "length" || n === tt || !_(n) && n >= e) && s(t);
|
|
359
359
|
});
|
|
360
|
-
} else switch ((n !== void 0 || o.has(void 0)) && s(o.get(n)), a && s(o.get(
|
|
360
|
+
} else switch ((n !== void 0 || o.has(void 0)) && s(o.get(n)), a && s(o.get(tt)), t) {
|
|
361
361
|
case "add":
|
|
362
|
-
i ? a && s(o.get("length")) : (s(o.get(
|
|
362
|
+
i ? a && s(o.get("length")) : (s(o.get($e)), f(e) && s(o.get(et)));
|
|
363
363
|
break;
|
|
364
364
|
case "delete":
|
|
365
|
-
i || (s(o.get(
|
|
365
|
+
i || (s(o.get($e)), f(e) && s(o.get(et)));
|
|
366
366
|
break;
|
|
367
367
|
case "set":
|
|
368
|
-
f(e) && s(o.get(
|
|
368
|
+
f(e) && s(o.get($e));
|
|
369
369
|
break;
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
|
|
372
|
+
Ie();
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
let n =
|
|
374
|
+
function it(e, t) {
|
|
375
|
+
let n = Qe.get(e);
|
|
376
376
|
return n && n.get(t);
|
|
377
377
|
}
|
|
378
|
-
function
|
|
379
|
-
let t = /* @__PURE__ */
|
|
380
|
-
return t === e ? t : (
|
|
378
|
+
function at(e) {
|
|
379
|
+
let t = /* @__PURE__ */ N(e);
|
|
380
|
+
return t === e ? t : (nt(t, "iterate", tt), /* @__PURE__ */ Jt(e) ? t : t.map(Zt));
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
return
|
|
382
|
+
function ot(e) {
|
|
383
|
+
return nt(e = /* @__PURE__ */ N(e), "iterate", tt), e;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
386
|
-
return /* @__PURE__ */
|
|
385
|
+
function st(e, t) {
|
|
386
|
+
return /* @__PURE__ */ qt(e) ? Qt(/* @__PURE__ */ Kt(e) ? Zt(t) : t) : Zt(t);
|
|
387
387
|
}
|
|
388
|
-
var
|
|
388
|
+
var ct = {
|
|
389
389
|
__proto__: null,
|
|
390
390
|
[Symbol.iterator]() {
|
|
391
|
-
return
|
|
391
|
+
return lt(this, Symbol.iterator, (e) => st(this, e));
|
|
392
392
|
},
|
|
393
393
|
concat(...e) {
|
|
394
|
-
return
|
|
394
|
+
return at(this).concat(...e.map((e) => d(e) ? at(e) : e));
|
|
395
395
|
},
|
|
396
396
|
entries() {
|
|
397
|
-
return
|
|
397
|
+
return lt(this, "entries", (e) => (e[1] = st(this, e[1]), e));
|
|
398
398
|
},
|
|
399
399
|
every(e, t) {
|
|
400
|
-
return
|
|
400
|
+
return dt(this, "every", e, t, void 0, arguments);
|
|
401
401
|
},
|
|
402
402
|
filter(e, t) {
|
|
403
|
-
return
|
|
403
|
+
return dt(this, "filter", e, t, (e) => e.map((e) => st(this, e)), arguments);
|
|
404
404
|
},
|
|
405
405
|
find(e, t) {
|
|
406
|
-
return
|
|
406
|
+
return dt(this, "find", e, t, (e) => st(this, e), arguments);
|
|
407
407
|
},
|
|
408
408
|
findIndex(e, t) {
|
|
409
|
-
return
|
|
409
|
+
return dt(this, "findIndex", e, t, void 0, arguments);
|
|
410
410
|
},
|
|
411
411
|
findLast(e, t) {
|
|
412
|
-
return
|
|
412
|
+
return dt(this, "findLast", e, t, (e) => st(this, e), arguments);
|
|
413
413
|
},
|
|
414
414
|
findLastIndex(e, t) {
|
|
415
|
-
return
|
|
415
|
+
return dt(this, "findLastIndex", e, t, void 0, arguments);
|
|
416
416
|
},
|
|
417
417
|
forEach(e, t) {
|
|
418
|
-
return
|
|
418
|
+
return dt(this, "forEach", e, t, void 0, arguments);
|
|
419
419
|
},
|
|
420
420
|
includes(...e) {
|
|
421
|
-
return
|
|
421
|
+
return pt(this, "includes", e);
|
|
422
422
|
},
|
|
423
423
|
indexOf(...e) {
|
|
424
|
-
return
|
|
424
|
+
return pt(this, "indexOf", e);
|
|
425
425
|
},
|
|
426
426
|
join(e) {
|
|
427
|
-
return
|
|
427
|
+
return at(this).join(e);
|
|
428
428
|
},
|
|
429
429
|
lastIndexOf(...e) {
|
|
430
|
-
return
|
|
430
|
+
return pt(this, "lastIndexOf", e);
|
|
431
431
|
},
|
|
432
432
|
map(e, t) {
|
|
433
|
-
return
|
|
433
|
+
return dt(this, "map", e, t, void 0, arguments);
|
|
434
434
|
},
|
|
435
435
|
pop() {
|
|
436
|
-
return
|
|
436
|
+
return mt(this, "pop");
|
|
437
437
|
},
|
|
438
438
|
push(...e) {
|
|
439
|
-
return
|
|
439
|
+
return mt(this, "push", e);
|
|
440
440
|
},
|
|
441
441
|
reduce(e, ...t) {
|
|
442
|
-
return
|
|
442
|
+
return ft(this, "reduce", e, t);
|
|
443
443
|
},
|
|
444
444
|
reduceRight(e, ...t) {
|
|
445
|
-
return
|
|
445
|
+
return ft(this, "reduceRight", e, t);
|
|
446
446
|
},
|
|
447
447
|
shift() {
|
|
448
|
-
return
|
|
448
|
+
return mt(this, "shift");
|
|
449
449
|
},
|
|
450
450
|
some(e, t) {
|
|
451
|
-
return
|
|
451
|
+
return dt(this, "some", e, t, void 0, arguments);
|
|
452
452
|
},
|
|
453
453
|
splice(...e) {
|
|
454
|
-
return
|
|
454
|
+
return mt(this, "splice", e);
|
|
455
455
|
},
|
|
456
456
|
toReversed() {
|
|
457
|
-
return
|
|
457
|
+
return at(this).toReversed();
|
|
458
458
|
},
|
|
459
459
|
toSorted(e) {
|
|
460
|
-
return
|
|
460
|
+
return at(this).toSorted(e);
|
|
461
461
|
},
|
|
462
462
|
toSpliced(...e) {
|
|
463
|
-
return
|
|
463
|
+
return at(this).toSpliced(...e);
|
|
464
464
|
},
|
|
465
465
|
unshift(...e) {
|
|
466
|
-
return
|
|
466
|
+
return mt(this, "unshift", e);
|
|
467
467
|
},
|
|
468
468
|
values() {
|
|
469
|
-
return
|
|
469
|
+
return lt(this, "values", (e) => st(this, e));
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
|
-
function
|
|
473
|
-
let r =
|
|
474
|
-
return r !== e && !/* @__PURE__ */
|
|
472
|
+
function lt(e, t, n) {
|
|
473
|
+
let r = ot(e), i = r[t]();
|
|
474
|
+
return r !== e && !/* @__PURE__ */ Jt(e) && (i._next = i.next, i.next = () => {
|
|
475
475
|
let e = i._next();
|
|
476
476
|
return e.done || (e.value = n(e.value)), e;
|
|
477
477
|
}), i;
|
|
478
478
|
}
|
|
479
|
-
var
|
|
480
|
-
function
|
|
481
|
-
let o =
|
|
482
|
-
if (c !==
|
|
479
|
+
var ut = Array.prototype;
|
|
480
|
+
function dt(e, t, n, r, i, a) {
|
|
481
|
+
let o = ot(e), s = o !== e && !/* @__PURE__ */ Jt(e), c = o[t];
|
|
482
|
+
if (c !== ut[t]) {
|
|
483
483
|
let t = c.apply(e, a);
|
|
484
|
-
return s ?
|
|
484
|
+
return s ? Zt(t) : t;
|
|
485
485
|
}
|
|
486
486
|
let l = n;
|
|
487
487
|
o !== e && (s ? l = function(t, r) {
|
|
488
|
-
return n.call(this,
|
|
488
|
+
return n.call(this, st(e, t), r, e);
|
|
489
489
|
} : n.length > 2 && (l = function(t, r) {
|
|
490
490
|
return n.call(this, t, r, e);
|
|
491
491
|
}));
|
|
492
492
|
let u = c.call(o, l, r);
|
|
493
493
|
return s && i ? i(u) : u;
|
|
494
494
|
}
|
|
495
|
-
function
|
|
496
|
-
let i =
|
|
497
|
-
return i !== e && (/* @__PURE__ */
|
|
495
|
+
function ft(e, t, n, r) {
|
|
496
|
+
let i = ot(e), a = n;
|
|
497
|
+
return i !== e && (/* @__PURE__ */ Jt(e) ? n.length > 3 && (a = function(t, r, i) {
|
|
498
498
|
return n.call(this, t, r, i, e);
|
|
499
499
|
}) : a = function(t, r, i) {
|
|
500
|
-
return n.call(this, t,
|
|
500
|
+
return n.call(this, t, st(e, r), i, e);
|
|
501
501
|
}), i[t](a, ...r);
|
|
502
502
|
}
|
|
503
|
-
function
|
|
504
|
-
let r = /* @__PURE__ */
|
|
505
|
-
|
|
503
|
+
function pt(e, t, n) {
|
|
504
|
+
let r = /* @__PURE__ */ N(e);
|
|
505
|
+
nt(r, "iterate", tt);
|
|
506
506
|
let i = r[t](...n);
|
|
507
|
-
return (i === -1 || i === !1) && /* @__PURE__ */
|
|
507
|
+
return (i === -1 || i === !1) && /* @__PURE__ */ Yt(n[0]) ? (n[0] = /* @__PURE__ */ N(n[0]), r[t](...n)) : i;
|
|
508
508
|
}
|
|
509
|
-
function
|
|
510
|
-
|
|
511
|
-
let r = (/* @__PURE__ */
|
|
512
|
-
return
|
|
509
|
+
function mt(e, t, n = []) {
|
|
510
|
+
Ge(), Fe();
|
|
511
|
+
let r = (/* @__PURE__ */ N(e))[t].apply(e, n);
|
|
512
|
+
return Ie(), Ke(), r;
|
|
513
513
|
}
|
|
514
|
-
var
|
|
515
|
-
function
|
|
514
|
+
var ht = /* @__PURE__ */ e("__proto__,__v_isRef,__isVue"), gt = new Set(/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(_));
|
|
515
|
+
function _t(e) {
|
|
516
516
|
_(e) || (e = String(e));
|
|
517
|
-
let t = /* @__PURE__ */
|
|
518
|
-
return
|
|
517
|
+
let t = /* @__PURE__ */ N(this);
|
|
518
|
+
return nt(t, "has", e), t.hasOwnProperty(e);
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var vt = class {
|
|
521
521
|
constructor(e = !1, t = !1) {
|
|
522
522
|
this._isReadonly = e, this._isShallow = t;
|
|
523
523
|
}
|
|
@@ -527,46 +527,46 @@ var yt = class {
|
|
|
527
527
|
if (t === "__v_isReactive") return !r;
|
|
528
528
|
if (t === "__v_isReadonly") return r;
|
|
529
529
|
if (t === "__v_isShallow") return i;
|
|
530
|
-
if (t === "__v_raw") return n === (r ? i ?
|
|
530
|
+
if (t === "__v_raw") return n === (r ? i ? Rt : Lt : i ? It : Ft).get(e) || Object.getPrototypeOf(e) === Object.getPrototypeOf(n) ? e : void 0;
|
|
531
531
|
let a = d(e);
|
|
532
532
|
if (!r) {
|
|
533
533
|
let e;
|
|
534
|
-
if (a && (e =
|
|
535
|
-
if (t === "hasOwnProperty") return
|
|
534
|
+
if (a && (e = ct[t])) return e;
|
|
535
|
+
if (t === "hasOwnProperty") return _t;
|
|
536
536
|
}
|
|
537
|
-
let o = Reflect.get(e, t, /* @__PURE__ */
|
|
538
|
-
if ((_(t) ?
|
|
539
|
-
if (/* @__PURE__ */
|
|
537
|
+
let o = Reflect.get(e, t, /* @__PURE__ */ $t(e) ? e : n);
|
|
538
|
+
if ((_(t) ? gt.has(t) : ht(t)) || (r || nt(e, "get", t), i)) return o;
|
|
539
|
+
if (/* @__PURE__ */ $t(o)) {
|
|
540
540
|
let e = a && w(t) ? o : o.value;
|
|
541
|
-
return r && v(e) ? /* @__PURE__ */
|
|
541
|
+
return r && v(e) ? /* @__PURE__ */ Ut(e) : e;
|
|
542
542
|
}
|
|
543
|
-
return v(o) ? r ? /* @__PURE__ */
|
|
543
|
+
return v(o) ? r ? /* @__PURE__ */ Ut(o) : /* @__PURE__ */ Vt(o) : o;
|
|
544
544
|
}
|
|
545
|
-
},
|
|
545
|
+
}, yt = class extends vt {
|
|
546
546
|
constructor(e = !1) {
|
|
547
547
|
super(!1, e);
|
|
548
548
|
}
|
|
549
549
|
set(e, t, n, r) {
|
|
550
550
|
let i = e[t], a = d(e) && w(t);
|
|
551
551
|
if (!this._isShallow) {
|
|
552
|
-
let e = /* @__PURE__ */
|
|
553
|
-
if (!/* @__PURE__ */
|
|
552
|
+
let e = /* @__PURE__ */ qt(i);
|
|
553
|
+
if (!/* @__PURE__ */ Jt(n) && !/* @__PURE__ */ qt(n) && (i = /* @__PURE__ */ N(i), n = /* @__PURE__ */ N(n)), !a && /* @__PURE__ */ $t(i) && !/* @__PURE__ */ $t(n)) return e || (i.value = n), !0;
|
|
554
554
|
}
|
|
555
|
-
let o = a ? Number(t) < e.length : u(e, t), s = Reflect.set(e, t, n, /* @__PURE__ */
|
|
556
|
-
return e === /* @__PURE__ */
|
|
555
|
+
let o = a ? Number(t) < e.length : u(e, t), s = Reflect.set(e, t, n, /* @__PURE__ */ $t(e) ? e : r);
|
|
556
|
+
return e === /* @__PURE__ */ N(r) && (o ? k(n, i) && rt(e, "set", t, n, i) : rt(e, "add", t, n)), s;
|
|
557
557
|
}
|
|
558
558
|
deleteProperty(e, t) {
|
|
559
559
|
let n = u(e, t), r = e[t], i = Reflect.deleteProperty(e, t);
|
|
560
|
-
return i && n &&
|
|
560
|
+
return i && n && rt(e, "delete", t, void 0, r), i;
|
|
561
561
|
}
|
|
562
562
|
has(e, t) {
|
|
563
563
|
let n = Reflect.has(e, t);
|
|
564
|
-
return (!_(t) || !
|
|
564
|
+
return (!_(t) || !gt.has(t)) && nt(e, "has", t), n;
|
|
565
565
|
}
|
|
566
566
|
ownKeys(e) {
|
|
567
|
-
return
|
|
567
|
+
return nt(e, "iterate", d(e) ? "length" : $e), Reflect.ownKeys(e);
|
|
568
568
|
}
|
|
569
|
-
},
|
|
569
|
+
}, bt = class extends vt {
|
|
570
570
|
constructor(e = !1) {
|
|
571
571
|
super(!0, e);
|
|
572
572
|
}
|
|
@@ -576,11 +576,11 @@ var yt = class {
|
|
|
576
576
|
deleteProperty(e, t) {
|
|
577
577
|
return !0;
|
|
578
578
|
}
|
|
579
|
-
},
|
|
580
|
-
function
|
|
579
|
+
}, xt = /* @__PURE__ */ new yt(), St = /* @__PURE__ */ new bt(), Ct = /* @__PURE__ */ new yt(!0), wt = /* @__PURE__ */ new bt(!0), Tt = (e) => e, Et = (e) => Reflect.getPrototypeOf(e);
|
|
580
|
+
function Dt(e, t, n) {
|
|
581
581
|
return function(...r) {
|
|
582
|
-
let i = this.__v_raw, a = /* @__PURE__ */
|
|
583
|
-
return !t &&
|
|
582
|
+
let i = this.__v_raw, a = /* @__PURE__ */ N(i), o = f(a), c = e === "entries" || e === Symbol.iterator && o, l = e === "keys" && o, u = i[e](...r), d = n ? Tt : t ? Qt : Zt;
|
|
583
|
+
return !t && nt(a, "iterate", l ? et : $e), s(Object.create(u), { next() {
|
|
584
584
|
let { value: e, done: t } = u.next();
|
|
585
585
|
return t ? {
|
|
586
586
|
value: e,
|
|
@@ -592,61 +592,61 @@ function Ot(e, t, n) {
|
|
|
592
592
|
} });
|
|
593
593
|
};
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Ot(e) {
|
|
596
596
|
return function(...t) {
|
|
597
597
|
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
598
598
|
};
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function kt(e, t) {
|
|
601
601
|
let n = {
|
|
602
602
|
get(n) {
|
|
603
|
-
let r = this.__v_raw, i = /* @__PURE__ */
|
|
604
|
-
e || (
|
|
605
|
-
let { has: o } =
|
|
603
|
+
let r = this.__v_raw, i = /* @__PURE__ */ N(r), a = /* @__PURE__ */ N(n);
|
|
604
|
+
e || (k(n, a) && nt(i, "get", n), nt(i, "get", a));
|
|
605
|
+
let { has: o } = Et(i), s = t ? Tt : e ? Qt : Zt;
|
|
606
606
|
if (o.call(i, n)) return s(r.get(n));
|
|
607
607
|
if (o.call(i, a)) return s(r.get(a));
|
|
608
608
|
r !== i && r.get(n);
|
|
609
609
|
},
|
|
610
610
|
get size() {
|
|
611
611
|
let t = this.__v_raw;
|
|
612
|
-
return !e &&
|
|
612
|
+
return !e && nt(/* @__PURE__ */ N(t), "iterate", $e), t.size;
|
|
613
613
|
},
|
|
614
614
|
has(t) {
|
|
615
|
-
let n = this.__v_raw, r = /* @__PURE__ */
|
|
616
|
-
return e || (
|
|
615
|
+
let n = this.__v_raw, r = /* @__PURE__ */ N(n), i = /* @__PURE__ */ N(t);
|
|
616
|
+
return e || (k(t, i) && nt(r, "has", t), nt(r, "has", i)), t === i ? n.has(t) : n.has(t) || n.has(i);
|
|
617
617
|
},
|
|
618
618
|
forEach(n, r) {
|
|
619
|
-
let i = this, a = i.__v_raw, o = /* @__PURE__ */
|
|
620
|
-
return !e &&
|
|
619
|
+
let i = this, a = i.__v_raw, o = /* @__PURE__ */ N(a), s = t ? Tt : e ? Qt : Zt;
|
|
620
|
+
return !e && nt(o, "iterate", $e), a.forEach((e, t) => n.call(r, s(e), s(t), i));
|
|
621
621
|
}
|
|
622
622
|
};
|
|
623
623
|
return s(n, e ? {
|
|
624
|
-
add:
|
|
625
|
-
set:
|
|
626
|
-
delete:
|
|
627
|
-
clear:
|
|
624
|
+
add: Ot("add"),
|
|
625
|
+
set: Ot("set"),
|
|
626
|
+
delete: Ot("delete"),
|
|
627
|
+
clear: Ot("clear")
|
|
628
628
|
} : {
|
|
629
629
|
add(e) {
|
|
630
|
-
!t && !/* @__PURE__ */
|
|
631
|
-
let n = /* @__PURE__ */
|
|
632
|
-
return
|
|
630
|
+
!t && !/* @__PURE__ */ Jt(e) && !/* @__PURE__ */ qt(e) && (e = /* @__PURE__ */ N(e));
|
|
631
|
+
let n = /* @__PURE__ */ N(this);
|
|
632
|
+
return Et(n).has.call(n, e) || (n.add(e), rt(n, "add", e, e)), this;
|
|
633
633
|
},
|
|
634
634
|
set(e, n) {
|
|
635
|
-
!t && !/* @__PURE__ */
|
|
636
|
-
let r = /* @__PURE__ */
|
|
637
|
-
o ||= (e = /* @__PURE__ */
|
|
635
|
+
!t && !/* @__PURE__ */ Jt(n) && !/* @__PURE__ */ qt(n) && (n = /* @__PURE__ */ N(n));
|
|
636
|
+
let r = /* @__PURE__ */ N(this), { has: i, get: a } = Et(r), o = i.call(r, e);
|
|
637
|
+
o ||= (e = /* @__PURE__ */ N(e), i.call(r, e));
|
|
638
638
|
let s = a.call(r, e);
|
|
639
|
-
return r.set(e, n), o ?
|
|
639
|
+
return r.set(e, n), o ? k(n, s) && rt(r, "set", e, n, s) : rt(r, "add", e, n), this;
|
|
640
640
|
},
|
|
641
641
|
delete(e) {
|
|
642
|
-
let t = /* @__PURE__ */
|
|
643
|
-
i ||= (e = /* @__PURE__ */
|
|
642
|
+
let t = /* @__PURE__ */ N(this), { has: n, get: r } = Et(t), i = n.call(t, e);
|
|
643
|
+
i ||= (e = /* @__PURE__ */ N(e), n.call(t, e));
|
|
644
644
|
let a = r ? r.call(t, e) : void 0, o = t.delete(e);
|
|
645
|
-
return i &&
|
|
645
|
+
return i && rt(t, "delete", e, void 0, a), o;
|
|
646
646
|
},
|
|
647
647
|
clear() {
|
|
648
|
-
let e = /* @__PURE__ */
|
|
649
|
-
return t &&
|
|
648
|
+
let e = /* @__PURE__ */ N(this), t = e.size !== 0, n = e.clear();
|
|
649
|
+
return t && rt(e, "clear", void 0, void 0, void 0), n;
|
|
650
650
|
}
|
|
651
651
|
}), [
|
|
652
652
|
"keys",
|
|
@@ -654,15 +654,15 @@ function At(e, t) {
|
|
|
654
654
|
"entries",
|
|
655
655
|
Symbol.iterator
|
|
656
656
|
].forEach((r) => {
|
|
657
|
-
n[r] =
|
|
657
|
+
n[r] = Dt(r, e, t);
|
|
658
658
|
}), n;
|
|
659
659
|
}
|
|
660
|
-
function
|
|
661
|
-
let n =
|
|
660
|
+
function At(e, t) {
|
|
661
|
+
let n = kt(e, t);
|
|
662
662
|
return (t, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? t : Reflect.get(u(n, r) && r in t ? n : t, r, i);
|
|
663
663
|
}
|
|
664
|
-
var
|
|
665
|
-
function
|
|
664
|
+
var jt = { get: /* @__PURE__ */ At(!1, !1) }, Mt = { get: /* @__PURE__ */ At(!1, !0) }, Nt = { get: /* @__PURE__ */ At(!0, !1) }, Pt = { get: /* @__PURE__ */ At(!0, !0) }, Ft = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), Lt = /* @__PURE__ */ new WeakMap(), Rt = /* @__PURE__ */ new WeakMap();
|
|
665
|
+
function zt(e) {
|
|
666
666
|
switch (e) {
|
|
667
667
|
case "Object":
|
|
668
668
|
case "Array": return 1;
|
|
@@ -673,28 +673,28 @@ function Bt(e) {
|
|
|
673
673
|
default: return 0;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
+
function Bt(e) {
|
|
677
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : zt(S(e));
|
|
678
|
+
}
|
|
679
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
676
680
|
function Vt(e) {
|
|
677
|
-
return
|
|
681
|
+
return /* @__PURE__ */ qt(e) ? e : Gt(e, !1, xt, jt, Ft);
|
|
678
682
|
}
|
|
679
683
|
/* @__NO_SIDE_EFFECTS__ */
|
|
680
684
|
function Ht(e) {
|
|
681
|
-
return
|
|
685
|
+
return Gt(e, !1, Ct, Mt, It);
|
|
682
686
|
}
|
|
683
687
|
/* @__NO_SIDE_EFFECTS__ */
|
|
684
688
|
function Ut(e) {
|
|
685
|
-
return
|
|
689
|
+
return Gt(e, !0, St, Nt, Lt);
|
|
686
690
|
}
|
|
687
691
|
/* @__NO_SIDE_EFFECTS__ */
|
|
688
692
|
function Wt(e) {
|
|
689
|
-
return
|
|
690
|
-
}
|
|
691
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
692
|
-
function Gt(e) {
|
|
693
|
-
return Kt(e, !0, Tt, Ft, zt);
|
|
693
|
+
return Gt(e, !0, wt, Pt, Rt);
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function Gt(e, t, n, r, i) {
|
|
696
696
|
if (!v(e) || e.__v_raw && !(t && e.__v_isReactive)) return e;
|
|
697
|
-
let a =
|
|
697
|
+
let a = Bt(e);
|
|
698
698
|
if (a === 0) return e;
|
|
699
699
|
let o = i.get(e);
|
|
700
700
|
if (o) return o;
|
|
@@ -702,32 +702,32 @@ function Kt(e, t, n, r, i) {
|
|
|
702
702
|
return i.set(e, s), s;
|
|
703
703
|
}
|
|
704
704
|
/* @__NO_SIDE_EFFECTS__ */
|
|
705
|
-
function
|
|
706
|
-
return /* @__PURE__ */
|
|
705
|
+
function Kt(e) {
|
|
706
|
+
return /* @__PURE__ */ qt(e) ? /* @__PURE__ */ Kt(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
707
707
|
}
|
|
708
708
|
/* @__NO_SIDE_EFFECTS__ */
|
|
709
|
-
function
|
|
709
|
+
function qt(e) {
|
|
710
710
|
return !!(e && e.__v_isReadonly);
|
|
711
711
|
}
|
|
712
712
|
/* @__NO_SIDE_EFFECTS__ */
|
|
713
|
-
function
|
|
713
|
+
function Jt(e) {
|
|
714
714
|
return !!(e && e.__v_isShallow);
|
|
715
715
|
}
|
|
716
716
|
/* @__NO_SIDE_EFFECTS__ */
|
|
717
|
-
function
|
|
717
|
+
function Yt(e) {
|
|
718
718
|
return e ? !!e.__v_raw : !1;
|
|
719
719
|
}
|
|
720
720
|
/* @__NO_SIDE_EFFECTS__ */
|
|
721
|
-
function
|
|
721
|
+
function N(e) {
|
|
722
722
|
let t = e && e.__v_raw;
|
|
723
|
-
return t ? /* @__PURE__ */
|
|
723
|
+
return t ? /* @__PURE__ */ N(t) : e;
|
|
724
724
|
}
|
|
725
|
-
function
|
|
726
|
-
return !u(e, "__v_skip") && Object.isExtensible(e) &&
|
|
725
|
+
function Xt(e) {
|
|
726
|
+
return !u(e, "__v_skip") && Object.isExtensible(e) && ae(e, "__v_skip", !0), e;
|
|
727
727
|
}
|
|
728
|
-
var
|
|
728
|
+
var Zt = (e) => v(e) ? /* @__PURE__ */ Vt(e) : e, Qt = (e) => v(e) ? /* @__PURE__ */ Ut(e) : e;
|
|
729
729
|
/* @__NO_SIDE_EFFECTS__ */
|
|
730
|
-
function
|
|
730
|
+
function $t(e) {
|
|
731
731
|
return e ? e.__v_isRef === !0 : !1;
|
|
732
732
|
}
|
|
733
733
|
/* @__NO_SIDE_EFFECTS__ */
|
|
@@ -739,22 +739,22 @@ function en(e) {
|
|
|
739
739
|
return tn(e, !0);
|
|
740
740
|
}
|
|
741
741
|
function tn(e, t) {
|
|
742
|
-
return /* @__PURE__ */
|
|
742
|
+
return /* @__PURE__ */ $t(e) ? e : new nn(e, t);
|
|
743
743
|
}
|
|
744
744
|
var nn = class {
|
|
745
745
|
constructor(e, t) {
|
|
746
|
-
this.dep = new
|
|
746
|
+
this.dep = new Xe(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = t ? e : /* @__PURE__ */ N(e), this._value = t ? e : Zt(e), this.__v_isShallow = t;
|
|
747
747
|
}
|
|
748
748
|
get value() {
|
|
749
749
|
return this.dep.track(), this._value;
|
|
750
750
|
}
|
|
751
751
|
set value(e) {
|
|
752
|
-
let t = this._rawValue, n = this.__v_isShallow || /* @__PURE__ */
|
|
753
|
-
e = n ? e : /* @__PURE__ */
|
|
752
|
+
let t = this._rawValue, n = this.__v_isShallow || /* @__PURE__ */ Jt(e) || /* @__PURE__ */ qt(e);
|
|
753
|
+
e = n ? e : /* @__PURE__ */ N(e), k(e, t) && (this._rawValue = e, this._value = n ? e : Zt(e), this.dep.trigger());
|
|
754
754
|
}
|
|
755
755
|
};
|
|
756
756
|
function F(e) {
|
|
757
|
-
return /* @__PURE__ */
|
|
757
|
+
return /* @__PURE__ */ $t(e) ? e.value : e;
|
|
758
758
|
}
|
|
759
759
|
function rn(e) {
|
|
760
760
|
return h(e) ? e() : F(e);
|
|
@@ -763,16 +763,16 @@ var an = {
|
|
|
763
763
|
get: (e, t, n) => t === "__v_raw" ? e : F(Reflect.get(e, t, n)),
|
|
764
764
|
set: (e, t, n, r) => {
|
|
765
765
|
let i = e[t];
|
|
766
|
-
return /* @__PURE__ */
|
|
766
|
+
return /* @__PURE__ */ $t(i) && !/* @__PURE__ */ $t(n) ? (i.value = n, !0) : Reflect.set(e, t, n, r);
|
|
767
767
|
}
|
|
768
768
|
};
|
|
769
769
|
function on(e) {
|
|
770
|
-
return /* @__PURE__ */
|
|
770
|
+
return /* @__PURE__ */ Kt(e) ? e : new Proxy(e, an);
|
|
771
771
|
}
|
|
772
772
|
var sn = class {
|
|
773
773
|
constructor(e) {
|
|
774
774
|
this.__v_isRef = !0, this._value = void 0;
|
|
775
|
-
let t = this.dep = new
|
|
775
|
+
let t = this.dep = new Xe(), { get: n, set: r } = e(t.track.bind(t), t.trigger.bind(t));
|
|
776
776
|
this._get = n, this._set = r;
|
|
777
777
|
}
|
|
778
778
|
get value() {
|
|
@@ -787,10 +787,10 @@ function cn(e) {
|
|
|
787
787
|
}
|
|
788
788
|
var ln = class {
|
|
789
789
|
constructor(e, t, n) {
|
|
790
|
-
this._object = e, this._key = t, this._defaultValue = n, this.__v_isRef = !0, this._value = void 0, this._raw = /* @__PURE__ */
|
|
790
|
+
this._object = e, this._key = t, this._defaultValue = n, this.__v_isRef = !0, this._value = void 0, this._raw = /* @__PURE__ */ N(e);
|
|
791
791
|
let r = !0, i = e;
|
|
792
792
|
if (!d(e) || !w(String(t))) do
|
|
793
|
-
r = !/* @__PURE__ */
|
|
793
|
+
r = !/* @__PURE__ */ Yt(i) || /* @__PURE__ */ Jt(i);
|
|
794
794
|
while (r && (i = i.__v_raw));
|
|
795
795
|
this._shallow = r;
|
|
796
796
|
}
|
|
@@ -799,9 +799,9 @@ var ln = class {
|
|
|
799
799
|
return this._shallow && (e = F(e)), this._value = e === void 0 ? this._defaultValue : e;
|
|
800
800
|
}
|
|
801
801
|
set value(e) {
|
|
802
|
-
if (this._shallow && /* @__PURE__ */
|
|
802
|
+
if (this._shallow && /* @__PURE__ */ $t(this._raw[this._key])) {
|
|
803
803
|
let t = this._object[this._key];
|
|
804
|
-
if (/* @__PURE__ */
|
|
804
|
+
if (/* @__PURE__ */ $t(t)) {
|
|
805
805
|
t.value = e;
|
|
806
806
|
return;
|
|
807
807
|
}
|
|
@@ -809,7 +809,7 @@ var ln = class {
|
|
|
809
809
|
this._object[this._key] = e;
|
|
810
810
|
}
|
|
811
811
|
get dep() {
|
|
812
|
-
return
|
|
812
|
+
return it(this._raw, this._key);
|
|
813
813
|
}
|
|
814
814
|
}, un = class {
|
|
815
815
|
constructor(e) {
|
|
@@ -821,21 +821,21 @@ var ln = class {
|
|
|
821
821
|
};
|
|
822
822
|
/* @__NO_SIDE_EFFECTS__ */
|
|
823
823
|
function dn(e, t, n) {
|
|
824
|
-
return /* @__PURE__ */
|
|
824
|
+
return /* @__PURE__ */ $t(e) ? e : h(e) ? new un(e) : v(e) && arguments.length > 1 ? fn(e, t, n) : /* @__PURE__ */ P(e);
|
|
825
825
|
}
|
|
826
826
|
function fn(e, t, n) {
|
|
827
827
|
return new ln(e, t, n);
|
|
828
828
|
}
|
|
829
829
|
var pn = class {
|
|
830
830
|
constructor(e, t, n) {
|
|
831
|
-
this.fn = e, this.setter = t, this._value = void 0, this.dep = new
|
|
831
|
+
this.fn = e, this.setter = t, this._value = void 0, this.dep = new Xe(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Je - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !t, this.isSSR = n;
|
|
832
832
|
}
|
|
833
833
|
notify() {
|
|
834
|
-
if (this.flags |= 16, !(this.flags & 8) &&
|
|
834
|
+
if (this.flags |= 16, !(this.flags & 8) && M !== this) return Pe(this, !0), !0;
|
|
835
835
|
}
|
|
836
836
|
get value() {
|
|
837
837
|
let e = this.dep.track();
|
|
838
|
-
return
|
|
838
|
+
return Be(this), e && (e.version = this.dep.version), this._value;
|
|
839
839
|
}
|
|
840
840
|
set value(e) {
|
|
841
841
|
this.setter && this.setter(e);
|
|
@@ -854,18 +854,18 @@ function vn(e, t = !1, n = _n) {
|
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
856
|
function yn(e, n, i = t) {
|
|
857
|
-
let { immediate: a, deep: o, once: s, scheduler: l, augmentJob: u, call: f } = i, p = (e) => o ? e : /* @__PURE__ */
|
|
858
|
-
if (/* @__PURE__ */
|
|
859
|
-
if (/* @__PURE__ */
|
|
860
|
-
if (/* @__PURE__ */
|
|
857
|
+
let { immediate: a, deep: o, once: s, scheduler: l, augmentJob: u, call: f } = i, p = (e) => o ? e : /* @__PURE__ */ Jt(e) || o === !1 || o === 0 ? bn(e, 1) : bn(e), m, g, _, v, y = !1, b = !1;
|
|
858
|
+
if (/* @__PURE__ */ $t(e) ? (g = () => e.value, y = /* @__PURE__ */ Jt(e)) : /* @__PURE__ */ Kt(e) ? (g = () => p(e), y = !0) : d(e) ? (b = !0, y = e.some((e) => /* @__PURE__ */ Kt(e) || /* @__PURE__ */ Jt(e)), g = () => e.map((e) => {
|
|
859
|
+
if (/* @__PURE__ */ $t(e)) return e.value;
|
|
860
|
+
if (/* @__PURE__ */ Kt(e)) return p(e);
|
|
861
861
|
if (h(e)) return f ? f(e, 2) : e();
|
|
862
862
|
})) : g = h(e) ? n ? f ? () => f(e, 2) : e : () => {
|
|
863
863
|
if (_) {
|
|
864
|
-
|
|
864
|
+
Ge();
|
|
865
865
|
try {
|
|
866
866
|
_();
|
|
867
867
|
} finally {
|
|
868
|
-
|
|
868
|
+
Ke();
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
let t = _n;
|
|
@@ -879,7 +879,7 @@ function yn(e, n, i = t) {
|
|
|
879
879
|
let e = g, t = o === !0 ? Infinity : o;
|
|
880
880
|
g = () => bn(e(), t);
|
|
881
881
|
}
|
|
882
|
-
let x =
|
|
882
|
+
let x = De(), S = () => {
|
|
883
883
|
m.stop(), x && x.active && c(x.effects, m);
|
|
884
884
|
};
|
|
885
885
|
if (s && n) {
|
|
@@ -891,7 +891,7 @@ function yn(e, n, i = t) {
|
|
|
891
891
|
let C = b ? Array(e.length).fill(hn) : hn, w = (e) => {
|
|
892
892
|
if (!(!(m.flags & 1) || !m.dirty && !e)) if (n) {
|
|
893
893
|
let e = m.run();
|
|
894
|
-
if (o || y || (b ? e.some((e, t) =>
|
|
894
|
+
if (o || y || (b ? e.some((e, t) => k(e, C[t])) : k(e, C))) {
|
|
895
895
|
_ && _();
|
|
896
896
|
let t = _n;
|
|
897
897
|
_n = m;
|
|
@@ -908,7 +908,7 @@ function yn(e, n, i = t) {
|
|
|
908
908
|
}
|
|
909
909
|
} else m.run();
|
|
910
910
|
};
|
|
911
|
-
return u && u(w), m = new
|
|
911
|
+
return u && u(w), m = new Ae(g), m.scheduler = l ? () => l(w, !1) : w, v = (e) => vn(e, !1, m), _ = m.onStop = () => {
|
|
912
912
|
let e = gn.get(m);
|
|
913
913
|
if (e) {
|
|
914
914
|
if (f) f(e, 4);
|
|
@@ -919,7 +919,7 @@ function yn(e, n, i = t) {
|
|
|
919
919
|
}
|
|
920
920
|
function bn(e, t = Infinity, n) {
|
|
921
921
|
if (t <= 0 || !v(e) || e.__v_skip || (n ||= /* @__PURE__ */ new Map(), (n.get(e) || 0) >= t)) return e;
|
|
922
|
-
if (n.set(e, t), t--, /* @__PURE__ */
|
|
922
|
+
if (n.set(e, t), t--, /* @__PURE__ */ $t(e)) bn(e.value, t, n);
|
|
923
923
|
else if (d(e)) for (let r = 0; r < e.length; r++) bn(e[r], t, n);
|
|
924
924
|
else if (p(e) || f(e)) e.forEach((e) => {
|
|
925
925
|
bn(e, t, n);
|
|
@@ -964,11 +964,11 @@ function Cn(e, n, r, i = !0) {
|
|
|
964
964
|
t = t.parent;
|
|
965
965
|
}
|
|
966
966
|
if (o) {
|
|
967
|
-
|
|
967
|
+
Ge(), xn(o, null, 10, [
|
|
968
968
|
e,
|
|
969
969
|
i,
|
|
970
970
|
a
|
|
971
|
-
]),
|
|
971
|
+
]), Ke();
|
|
972
972
|
return;
|
|
973
973
|
}
|
|
974
974
|
}
|
|
@@ -1085,12 +1085,12 @@ function Gn(e, t, n, r) {
|
|
|
1085
1085
|
let s = i[o];
|
|
1086
1086
|
a && (s.oldValue = a[o].value);
|
|
1087
1087
|
let c = s.dir[r];
|
|
1088
|
-
c && (
|
|
1088
|
+
c && (Ge(), Sn(c, n, 8, [
|
|
1089
1089
|
e.el,
|
|
1090
1090
|
s,
|
|
1091
1091
|
e,
|
|
1092
1092
|
t
|
|
1093
|
-
]),
|
|
1093
|
+
]), Ke());
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
1096
|
function Kn(e, t) {
|
|
@@ -1292,7 +1292,7 @@ var vr = [Function, Array], yr = {
|
|
|
1292
1292
|
return () => {
|
|
1293
1293
|
let i = t.default && kr(t.default(), !0);
|
|
1294
1294
|
if (!i || !i.length) return;
|
|
1295
|
-
let a = Sr(i), o = /* @__PURE__ */
|
|
1295
|
+
let a = Sr(i), o = /* @__PURE__ */ N(e), { mode: s } = o;
|
|
1296
1296
|
if (r.isLeaving) return Er(a);
|
|
1297
1297
|
let c = Dr(a);
|
|
1298
1298
|
if (!c) return Er(a);
|
|
@@ -1444,17 +1444,17 @@ function Pr(e, n, r, a, o = !1) {
|
|
|
1444
1444
|
a.shapeFlag & 512 && a.type.__asyncResolved && a.component.subTree.component && Pr(e, n, r, a.component.subTree);
|
|
1445
1445
|
return;
|
|
1446
1446
|
}
|
|
1447
|
-
let s = a.shapeFlag & 4 ? lo(a.component) : a.el, l = o ? null : s, { i: f, r: p } = e, m = n && n.r, _ = f.refs === t ? f.refs = {} : f.refs, v = f.setupState, y = /* @__PURE__ */
|
|
1447
|
+
let s = a.shapeFlag & 4 ? lo(a.component) : a.el, l = o ? null : s, { i: f, r: p } = e, m = n && n.r, _ = f.refs === t ? f.refs = {} : f.refs, v = f.setupState, y = /* @__PURE__ */ N(v), b = v === t ? i : (e) => Mr(_, e) ? !1 : u(y, e), x = (e, t) => !(t && Mr(_, t));
|
|
1448
1448
|
if (m != null && m !== p) {
|
|
1449
1449
|
if (Fr(n), g(m)) _[m] = null, b(m) && (v[m] = null);
|
|
1450
|
-
else if (/* @__PURE__ */
|
|
1450
|
+
else if (/* @__PURE__ */ $t(m)) {
|
|
1451
1451
|
let e = n;
|
|
1452
1452
|
x(m, e.k) && (m.value = null), e.k && (_[e.k] = null);
|
|
1453
1453
|
}
|
|
1454
1454
|
}
|
|
1455
1455
|
if (h(p)) xn(p, f, 12, [l, _]);
|
|
1456
1456
|
else {
|
|
1457
|
-
let t = g(p), n = /* @__PURE__ */
|
|
1457
|
+
let t = g(p), n = /* @__PURE__ */ $t(p);
|
|
1458
1458
|
if (t || n) {
|
|
1459
1459
|
let i = () => {
|
|
1460
1460
|
if (e.f) {
|
|
@@ -1481,7 +1481,7 @@ function Fr(e) {
|
|
|
1481
1481
|
let t = Nr.get(e);
|
|
1482
1482
|
t && (t.flags |= 8, Nr.delete(e));
|
|
1483
1483
|
}
|
|
1484
|
-
|
|
1484
|
+
le().requestIdleCallback, le().cancelIdleCallback;
|
|
1485
1485
|
var Ir = (e) => !!e.type.__asyncLoader, Lr = (e) => e.type.__isKeepAlive;
|
|
1486
1486
|
function Rr(e, t) {
|
|
1487
1487
|
Br(e, "a", t);
|
|
@@ -1512,9 +1512,9 @@ function Vr(e, t, n, r) {
|
|
|
1512
1512
|
function Hr(e, t, n = qa, r = !1) {
|
|
1513
1513
|
if (n) {
|
|
1514
1514
|
let i = n[e] || (n[e] = []), a = t.__weh ||= (...r) => {
|
|
1515
|
-
|
|
1515
|
+
Ge();
|
|
1516
1516
|
let i = Za(n), a = Sn(t, n, e, r);
|
|
1517
|
-
return i(),
|
|
1517
|
+
return i(), Ke(), a;
|
|
1518
1518
|
};
|
|
1519
1519
|
return r ? i.unshift(a) : i.push(a), a;
|
|
1520
1520
|
}
|
|
@@ -1551,9 +1551,9 @@ function ai(e, t) {
|
|
|
1551
1551
|
function B(e, t, n, r) {
|
|
1552
1552
|
let i, a = n && n[r], o = d(e);
|
|
1553
1553
|
if (o || g(e)) {
|
|
1554
|
-
let n = o && /* @__PURE__ */
|
|
1555
|
-
n && (r = !/* @__PURE__ */
|
|
1556
|
-
for (let n = 0, o = e.length; n < o; n++) i[n] = t(r ? s ?
|
|
1554
|
+
let n = o && /* @__PURE__ */ Kt(e), r = !1, s = !1;
|
|
1555
|
+
n && (r = !/* @__PURE__ */ Jt(e), s = /* @__PURE__ */ qt(e), e = ot(e)), i = Array(e.length);
|
|
1556
|
+
for (let n = 0, o = e.length; n < o; n++) i[n] = t(r ? s ? Qt(Zt(e[n])) : Zt(e[n]) : e[n], n, void 0, a && a[n]);
|
|
1557
1557
|
} else if (typeof e == "number") {
|
|
1558
1558
|
i = Array(e);
|
|
1559
1559
|
for (let n = 0; n < e; n++) i[n] = t(n + 1, n, void 0, a && a[n]);
|
|
@@ -1619,7 +1619,7 @@ var si = (e) => e ? $a(e) ? lo(e) : si(e.parent) : null, ci = /* @__PURE__ */ s(
|
|
|
1619
1619
|
else hi && (s[n] = 0);
|
|
1620
1620
|
}
|
|
1621
1621
|
let d = ci[n], f, p;
|
|
1622
|
-
if (d) return n === "$attrs" &&
|
|
1622
|
+
if (d) return n === "$attrs" && nt(e.attrs, "get", ""), d(e);
|
|
1623
1623
|
if ((f = c.__cssModules) && (f = f[n])) return f;
|
|
1624
1624
|
if (r !== t && u(r, n)) return s[n] = 4, r[n];
|
|
1625
1625
|
if (p = l.config.globalProperties, u(p, n)) return p[n];
|
|
@@ -1656,14 +1656,14 @@ var hi = !0;
|
|
|
1656
1656
|
function gi(e) {
|
|
1657
1657
|
let t = bi(e), n = e.proxy, i = e.ctx;
|
|
1658
1658
|
hi = !1, t.beforeCreate && vi(t.beforeCreate, e, "bc");
|
|
1659
|
-
let { data: a, computed: o, methods: s, watch: c, provide: l, inject: u, created: f, beforeMount: p, mounted: m, beforeUpdate: g, updated: _, activated: y, deactivated: b, beforeDestroy: x, beforeUnmount: S, destroyed: C, unmounted: w, render: T, renderTracked: E, renderTriggered: ee, errorCaptured: D, serverPrefetch: te, expose: O, inheritAttrs: ne, components: re, directives:
|
|
1659
|
+
let { data: a, computed: o, methods: s, watch: c, provide: l, inject: u, created: f, beforeMount: p, mounted: m, beforeUpdate: g, updated: _, activated: y, deactivated: b, beforeDestroy: x, beforeUnmount: S, destroyed: C, unmounted: w, render: T, renderTracked: E, renderTriggered: ee, errorCaptured: D, serverPrefetch: te, expose: O, inheritAttrs: ne, components: re, directives: k, filters: ie } = t;
|
|
1660
1660
|
if (u && _i(u, i, null), s) for (let e in s) {
|
|
1661
1661
|
let t = s[e];
|
|
1662
1662
|
h(t) && (i[e] = t.bind(n));
|
|
1663
1663
|
}
|
|
1664
1664
|
if (a) {
|
|
1665
1665
|
let t = a.call(n, n);
|
|
1666
|
-
v(t) && (e.data = /* @__PURE__ */
|
|
1666
|
+
v(t) && (e.data = /* @__PURE__ */ Vt(t));
|
|
1667
1667
|
}
|
|
1668
1668
|
if (hi = !0, o) for (let e in o) {
|
|
1669
1669
|
let t = o[e], a = Q({
|
|
@@ -1685,10 +1685,10 @@ function gi(e) {
|
|
|
1685
1685
|
});
|
|
1686
1686
|
}
|
|
1687
1687
|
f && vi(f, e, "c");
|
|
1688
|
-
function
|
|
1688
|
+
function ae(e, t) {
|
|
1689
1689
|
d(t) ? t.forEach((t) => e(t.bind(n))) : t && e(t.bind(n));
|
|
1690
1690
|
}
|
|
1691
|
-
if (
|
|
1691
|
+
if (ae(Wr, p), ae(Gr, m), ae(Kr, g), ae(qr, _), ae(Rr, y), ae(zr, b), ae($r, D), ae(Qr, E), ae(Zr, ee), ae(Jr, S), ae(Yr, w), ae(Xr, te), d(O)) if (O.length) {
|
|
1692
1692
|
let t = e.exposed ||= {};
|
|
1693
1693
|
O.forEach((e) => {
|
|
1694
1694
|
Object.defineProperty(t, e, {
|
|
@@ -1698,13 +1698,13 @@ function gi(e) {
|
|
|
1698
1698
|
});
|
|
1699
1699
|
});
|
|
1700
1700
|
} else e.exposed ||= {};
|
|
1701
|
-
T && e.render === r && (e.render = T), ne != null && (e.inheritAttrs = ne), re && (e.components = re),
|
|
1701
|
+
T && e.render === r && (e.render = T), ne != null && (e.inheritAttrs = ne), re && (e.components = re), k && (e.directives = k), te && Ar(e);
|
|
1702
1702
|
}
|
|
1703
1703
|
function _i(e, t, n = r) {
|
|
1704
1704
|
d(e) && (e = Ti(e));
|
|
1705
1705
|
for (let n in e) {
|
|
1706
1706
|
let r = e[n], i;
|
|
1707
|
-
i = v(r) ? "default" in r ? qn(r.from || n, r.default, !0) : qn(r.from || n) : qn(r), /* @__PURE__ */
|
|
1707
|
+
i = v(r) ? "default" in r ? qn(r.from || n, r.default, !0) : qn(r.from || n) : qn(r), /* @__PURE__ */ $t(i) ? Object.defineProperty(t, n, {
|
|
1708
1708
|
enumerable: !0,
|
|
1709
1709
|
configurable: !0,
|
|
1710
1710
|
get: () => i.value,
|
|
@@ -1881,16 +1881,16 @@ function U(e, n, r = t) {
|
|
|
1881
1881
|
let l, u = t, d;
|
|
1882
1882
|
return Qn(() => {
|
|
1883
1883
|
let t = e[a];
|
|
1884
|
-
|
|
1884
|
+
k(l, t) && (l = t, c());
|
|
1885
1885
|
}), {
|
|
1886
1886
|
get() {
|
|
1887
1887
|
return s(), r.get ? r.get(l) : l;
|
|
1888
1888
|
},
|
|
1889
1889
|
set(e) {
|
|
1890
1890
|
let s = r.set ? r.set(e) : e;
|
|
1891
|
-
if (!
|
|
1891
|
+
if (!k(s, l) && !(u !== t && k(e, u))) return;
|
|
1892
1892
|
let f = i.vnode.props;
|
|
1893
|
-
f && (n in f || a in f || o in f) && (`onUpdate:${n}` in f || `onUpdate:${a}` in f || `onUpdate:${o}` in f) || (l = e, c()), i.emit(`update:${n}`, s),
|
|
1893
|
+
f && (n in f || a in f || o in f) && (`onUpdate:${n}` in f || `onUpdate:${a}` in f || `onUpdate:${o}` in f) || (l = e, c()), i.emit(`update:${n}`, s), k(e, s) && k(e, u) && !k(s, d) && c(), u = e, d = s;
|
|
1894
1894
|
}
|
|
1895
1895
|
};
|
|
1896
1896
|
});
|
|
@@ -1908,7 +1908,7 @@ var Pi = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers
|
|
|
1908
1908
|
function Fi(e, n, ...r) {
|
|
1909
1909
|
if (e.isUnmounted) return;
|
|
1910
1910
|
let i = e.vnode.props || t, a = r, o = n.startsWith("update:"), s = o && Pi(i, n.slice(7));
|
|
1911
|
-
s && (s.trim && (a = r.map((e) => g(e) ? e.trim() : e)), s.number && (a = r.map(
|
|
1911
|
+
s && (s.trim && (a = r.map((e) => g(e) ? e.trim() : e)), s.number && (a = r.map(oe)));
|
|
1912
1912
|
let c, l = i[c = re(n)] || i[c = re(D(n))];
|
|
1913
1913
|
!l && o && (l = i[c = re(O(n))]), l && Sn(l, e, 6, a);
|
|
1914
1914
|
let u = i[c + "Once"];
|
|
@@ -1995,7 +1995,7 @@ function Ui(e, t, n) {
|
|
|
1995
1995
|
}
|
|
1996
1996
|
function Wi(e, t, n) {
|
|
1997
1997
|
let r = e[n], i = t[n];
|
|
1998
|
-
return n === "style" && v(r) && v(i) ? !
|
|
1998
|
+
return n === "style" && v(r) && v(i) ? !be(r, i) : r !== i;
|
|
1999
1999
|
}
|
|
2000
2000
|
function Gi({ vnode: e, parent: t }, n) {
|
|
2001
2001
|
for (; t;) {
|
|
@@ -2009,10 +2009,10 @@ function Yi(e, t, n, r = !1) {
|
|
|
2009
2009
|
let i = {}, a = qi();
|
|
2010
2010
|
e.propsDefaults = /* @__PURE__ */ Object.create(null), Zi(e, t, i, a);
|
|
2011
2011
|
for (let t in e.propsOptions[0]) t in i || (i[t] = void 0);
|
|
2012
|
-
n ? e.props = r ? i : /* @__PURE__ */
|
|
2012
|
+
n ? e.props = r ? i : /* @__PURE__ */ Ht(i) : e.type.props ? e.props = i : e.props = a, e.attrs = a;
|
|
2013
2013
|
}
|
|
2014
2014
|
function Xi(e, t, n, r) {
|
|
2015
|
-
let { props: i, attrs: a, vnode: { patchFlag: o } } = e, s = /* @__PURE__ */
|
|
2015
|
+
let { props: i, attrs: a, vnode: { patchFlag: o } } = e, s = /* @__PURE__ */ N(i), [c] = e.propsOptions, l = !1;
|
|
2016
2016
|
if ((r || o > 0) && !(o & 16)) {
|
|
2017
2017
|
if (o & 8) {
|
|
2018
2018
|
let n = e.vnode.dynamicProps;
|
|
@@ -2034,7 +2034,7 @@ function Xi(e, t, n, r) {
|
|
|
2034
2034
|
for (let a in s) (!t || !u(t, a) && ((r = O(a)) === a || !u(t, r))) && (c ? n && (n[a] !== void 0 || n[r] !== void 0) && (i[a] = Qi(c, s, a, void 0, e, !0)) : delete i[a]);
|
|
2035
2035
|
if (a !== s) for (let e in a) (!t || !u(t, e)) && (delete a[e], l = !0);
|
|
2036
2036
|
}
|
|
2037
|
-
l &&
|
|
2037
|
+
l && rt(e.attrs, "set", "");
|
|
2038
2038
|
}
|
|
2039
2039
|
function Zi(e, n, r, i) {
|
|
2040
2040
|
let [a, o] = e.propsOptions, s = !1, c;
|
|
@@ -2044,7 +2044,7 @@ function Zi(e, n, r, i) {
|
|
|
2044
2044
|
a && u(a, d = D(t)) ? !o || !o.includes(d) ? r[d] = l : (c ||= {})[d] = l : Ri(e.emitsOptions, t) || (!(t in i) || l !== i[t]) && (i[t] = l, s = !0);
|
|
2045
2045
|
}
|
|
2046
2046
|
if (o) {
|
|
2047
|
-
let n = /* @__PURE__ */
|
|
2047
|
+
let n = /* @__PURE__ */ N(r), i = c || t;
|
|
2048
2048
|
for (let t = 0; t < o.length; t++) {
|
|
2049
2049
|
let s = o[t];
|
|
2050
2050
|
r[s] = Qi(a, n, s, i[s], e, !u(i, s));
|
|
@@ -2135,7 +2135,7 @@ var na = (e) => e === "_" || e === "_ctx" || e === "$stable", ra = (e) => d(e) ?
|
|
|
2135
2135
|
let r = e.slots = qi();
|
|
2136
2136
|
if (e.vnode.shapeFlag & 32) {
|
|
2137
2137
|
let e = t._;
|
|
2138
|
-
e ? (sa(r, t, n), n &&
|
|
2138
|
+
e ? (sa(r, t, n), n && ae(r, "_", e, !0)) : aa(t, r);
|
|
2139
2139
|
} else t && oa(e, t);
|
|
2140
2140
|
}, la = (e, n, r) => {
|
|
2141
2141
|
let { vnode: i, slots: a } = e, o = !0, s = t;
|
|
@@ -2149,11 +2149,11 @@ function da(e) {
|
|
|
2149
2149
|
return fa(e);
|
|
2150
2150
|
}
|
|
2151
2151
|
function fa(e, i) {
|
|
2152
|
-
let a =
|
|
2152
|
+
let a = le();
|
|
2153
2153
|
a.__VUE__ = !0;
|
|
2154
2154
|
let { insert: o, remove: s, patchProp: c, createElement: l, createText: u, createComment: d, setText: f, setElementText: p, parentNode: m, nextSibling: h, setScopeId: g = r, insertStaticContent: _ } = e, v = (e, t, n, r = null, i = null, a = null, o = void 0, s = null, c = !!t.dynamicChildren) => {
|
|
2155
2155
|
if (e === t) return;
|
|
2156
|
-
e && !Na(e, t) && (r =
|
|
2156
|
+
e && !Na(e, t) && (r = ve(e), me(e, i, a, !0), e = null), t.patchFlag === -2 && (c = !1, t.dynamicChildren = null);
|
|
2157
2157
|
let { type: l, ref: u, shapeFlag: d } = t;
|
|
2158
2158
|
switch (l) {
|
|
2159
2159
|
case Ca:
|
|
@@ -2168,7 +2168,7 @@ function fa(e, i) {
|
|
|
2168
2168
|
case W:
|
|
2169
2169
|
re(e, t, n, r, i, a, o, s, c);
|
|
2170
2170
|
break;
|
|
2171
|
-
default: d & 1 ? w(e, t, n, r, i, a, o, s, c) : d & 6 ?
|
|
2171
|
+
default: d & 1 ? w(e, t, n, r, i, a, o, s, c) : d & 6 ? k(e, t, n, r, i, a, o, s, c) : (d & 64 || d & 128) && l.process(e, t, n, r, i, a, o, s, c, xe);
|
|
2172
2172
|
}
|
|
2173
2173
|
u != null && i ? Pr(u, e && e.ref, a, t || e, !t) : u == null && e && e.ref != null && Pr(e.ref, null, a, e, !0);
|
|
2174
2174
|
}, y = (e, t, n, r) => {
|
|
@@ -2225,7 +2225,7 @@ function fa(e, i) {
|
|
|
2225
2225
|
let l = n.el = e.el, { patchFlag: u, dynamicChildren: d, dirs: f } = n;
|
|
2226
2226
|
u |= e.patchFlag & 16;
|
|
2227
2227
|
let m = e.props || t, h = n.props || t, g;
|
|
2228
|
-
if (r && ma(r, !1), (g = h.onVnodeBeforeUpdate) && Ua(g, r, n, e), f && Gn(n, e, r, "beforeUpdate"), r && ma(r, !0), (m.innerHTML && h.innerHTML == null || m.textContent && h.textContent == null) && p(l, ""), d ? O(e.dynamicChildren, d, l, r, i, pa(n, a), o) : s ||
|
|
2228
|
+
if (r && ma(r, !1), (g = h.onVnodeBeforeUpdate) && Ua(g, r, n, e), f && Gn(n, e, r, "beforeUpdate"), r && ma(r, !0), (m.innerHTML && h.innerHTML == null || m.textContent && h.textContent == null) && p(l, ""), d ? O(e.dynamicChildren, d, l, r, i, pa(n, a), o) : s || ue(e, n, l, null, r, i, pa(n, a), o, !1), u > 0) {
|
|
2229
2229
|
if (u & 16) ne(l, m, h, r, a);
|
|
2230
2230
|
else if (u & 2 && m.class !== h.class && c(l, "class", null, h.class, a), u & 4 && c(l, "style", m.style, h.style, a), u & 8) {
|
|
2231
2231
|
let e = n.dynamicProps;
|
|
@@ -2256,32 +2256,32 @@ function fa(e, i) {
|
|
|
2256
2256
|
}
|
|
2257
2257
|
}, re = (e, t, n, r, i, a, s, c, l) => {
|
|
2258
2258
|
let d = t.el = e ? e.el : u(""), f = t.anchor = e ? e.anchor : u(""), { patchFlag: p, dynamicChildren: m, slotScopeIds: h } = t;
|
|
2259
|
-
h && (c = c ? c.concat(h) : h), e == null ? (o(d, n, r), o(f, n, r), D(t.children || [], n, f, i, a, s, c, l)) : p > 0 && p & 64 && m && e.dynamicChildren && e.dynamicChildren.length === m.length ? (O(e.dynamicChildren, m, n, i, a, s, c), (t.key != null || i && t === i.subTree) && ga(e, t, !0)) :
|
|
2260
|
-
},
|
|
2261
|
-
t.slotScopeIds = s, e == null ? t.shapeFlag & 512 ? i.ctx.activate(t, n, r, o, c) :
|
|
2262
|
-
},
|
|
2259
|
+
h && (c = c ? c.concat(h) : h), e == null ? (o(d, n, r), o(f, n, r), D(t.children || [], n, f, i, a, s, c, l)) : p > 0 && p & 64 && m && e.dynamicChildren && e.dynamicChildren.length === m.length ? (O(e.dynamicChildren, m, n, i, a, s, c), (t.key != null || i && t === i.subTree) && ga(e, t, !0)) : ue(e, t, n, f, i, a, s, c, l);
|
|
2260
|
+
}, k = (e, t, n, r, i, a, o, s, c) => {
|
|
2261
|
+
t.slotScopeIds = s, e == null ? t.shapeFlag & 512 ? i.ctx.activate(t, n, r, o, c) : ae(t, n, r, i, a, o, c) : oe(e, t, c);
|
|
2262
|
+
}, ae = (e, t, n, r, i, a, o) => {
|
|
2263
2263
|
let s = e.component = Ka(e, r, i);
|
|
2264
|
-
if (Lr(e) && (s.ctx.renderer =
|
|
2265
|
-
if (i && i.registerDep(s,
|
|
2264
|
+
if (Lr(e) && (s.ctx.renderer = xe), to(s, !1, o), s.asyncDep) {
|
|
2265
|
+
if (i && i.registerDep(s, se, o), !e.el) {
|
|
2266
2266
|
let r = s.subTree = Y(wa);
|
|
2267
2267
|
b(null, r, t, n), e.placeholder = r.el;
|
|
2268
2268
|
}
|
|
2269
|
-
} else
|
|
2270
|
-
},
|
|
2269
|
+
} else se(s, e, t, n, i, a, o);
|
|
2270
|
+
}, oe = (e, t, n) => {
|
|
2271
2271
|
let r = t.component = e.component;
|
|
2272
2272
|
if (Hi(e, t, n)) if (r.asyncDep && !r.asyncResolved) {
|
|
2273
|
-
|
|
2273
|
+
ce(r, t, n);
|
|
2274
2274
|
return;
|
|
2275
2275
|
} else r.next = t, r.update();
|
|
2276
2276
|
else t.el = e.el, r.vnode = t;
|
|
2277
|
-
},
|
|
2277
|
+
}, se = (e, t, n, r, i, a, o) => {
|
|
2278
2278
|
let s = () => {
|
|
2279
2279
|
if (e.isMounted) {
|
|
2280
2280
|
let { next: t, bu: n, u: r, parent: s, vnode: c } = e;
|
|
2281
2281
|
{
|
|
2282
2282
|
let n = va(e);
|
|
2283
2283
|
if (n) {
|
|
2284
|
-
t && (t.el = c.el,
|
|
2284
|
+
t && (t.el = c.el, ce(e, t, o)), n.asyncDep.then(() => {
|
|
2285
2285
|
ua(() => {
|
|
2286
2286
|
e.isUnmounted || l();
|
|
2287
2287
|
}, i);
|
|
@@ -2290,14 +2290,14 @@ function fa(e, i) {
|
|
|
2290
2290
|
}
|
|
2291
2291
|
}
|
|
2292
2292
|
let u = t, d;
|
|
2293
|
-
ma(e, !1), t ? (t.el = c.el,
|
|
2293
|
+
ma(e, !1), t ? (t.el = c.el, ce(e, t, o)) : t = c, n && ie(n), (d = t.props && t.props.onVnodeBeforeUpdate) && Ua(d, s, t, c), ma(e, !0);
|
|
2294
2294
|
let f = zi(e), p = e.subTree;
|
|
2295
|
-
e.subTree = f, v(p, f, m(p.el),
|
|
2295
|
+
e.subTree = f, v(p, f, m(p.el), ve(p), e, i, a), t.el = f.el, u === null && Gi(e, f.el), r && ua(r, i), (d = t.props && t.props.onVnodeUpdated) && ua(() => Ua(d, s, t, c), i);
|
|
2296
2296
|
} else {
|
|
2297
2297
|
let o, { el: s, props: c } = t, { bm: l, m: u, parent: d, root: f, type: p } = e, m = Ir(t);
|
|
2298
|
-
if (ma(e, !1), l &&
|
|
2298
|
+
if (ma(e, !1), l && ie(l), !m && (o = c && c.onVnodeBeforeMount) && Ua(o, d, t), ma(e, !0), s && j) {
|
|
2299
2299
|
let t = () => {
|
|
2300
|
-
e.subTree = zi(e),
|
|
2300
|
+
e.subTree = zi(e), j(s, e.subTree, e, i, null);
|
|
2301
2301
|
};
|
|
2302
2302
|
m && p.__asyncHydrate ? p.__asyncHydrate(s, e, t) : t();
|
|
2303
2303
|
} else {
|
|
@@ -2313,35 +2313,35 @@ function fa(e, i) {
|
|
|
2313
2313
|
}
|
|
2314
2314
|
};
|
|
2315
2315
|
e.scope.on();
|
|
2316
|
-
let c = e.effect = new
|
|
2316
|
+
let c = e.effect = new Ae(s);
|
|
2317
2317
|
e.scope.off();
|
|
2318
2318
|
let l = e.update = c.run.bind(c), u = e.job = c.runIfDirty.bind(c);
|
|
2319
2319
|
u.i = e, u.id = e.uid, c.scheduler = () => Pn(u), ma(e, !0), l();
|
|
2320
|
-
},
|
|
2320
|
+
}, ce = (e, t, n) => {
|
|
2321
2321
|
t.component = e;
|
|
2322
2322
|
let r = e.vnode.props;
|
|
2323
|
-
e.vnode = t, e.next = null, Xi(e, t.props, r, n), la(e, t.children, n),
|
|
2324
|
-
},
|
|
2323
|
+
e.vnode = t, e.next = null, Xi(e, t.props, r, n), la(e, t.children, n), Ge(), Ln(e), Ke();
|
|
2324
|
+
}, ue = (e, t, n, r, i, a, o, s, c = !1) => {
|
|
2325
2325
|
let l = e && e.children, u = e ? e.shapeFlag : 0, d = t.children, { patchFlag: f, shapeFlag: m } = t;
|
|
2326
2326
|
if (f > 0) {
|
|
2327
2327
|
if (f & 128) {
|
|
2328
|
-
|
|
2328
|
+
fe(l, d, n, r, i, a, o, s, c);
|
|
2329
2329
|
return;
|
|
2330
2330
|
} else if (f & 256) {
|
|
2331
|
-
|
|
2331
|
+
de(l, d, n, r, i, a, o, s, c);
|
|
2332
2332
|
return;
|
|
2333
2333
|
}
|
|
2334
2334
|
}
|
|
2335
|
-
m & 8 ? (u & 16 &&
|
|
2336
|
-
},
|
|
2335
|
+
m & 8 ? (u & 16 && _e(l, i, a), d !== l && p(n, d)) : u & 16 ? m & 16 ? fe(l, d, n, r, i, a, o, s, c) : _e(l, i, a, !0) : (u & 8 && p(n, ""), m & 16 && D(d, n, r, i, a, o, s, c));
|
|
2336
|
+
}, de = (e, t, r, i, a, o, s, c, l) => {
|
|
2337
2337
|
e ||= n, t ||= n;
|
|
2338
2338
|
let u = e.length, d = t.length, f = Math.min(u, d), p;
|
|
2339
2339
|
for (p = 0; p < f; p++) {
|
|
2340
2340
|
let n = t[p] = l ? Ba(t[p]) : za(t[p]);
|
|
2341
2341
|
v(e[p], n, r, null, a, o, s, c, l);
|
|
2342
2342
|
}
|
|
2343
|
-
u > d ?
|
|
2344
|
-
},
|
|
2343
|
+
u > d ? _e(e, a, o, !0, !1, f) : D(t, r, i, a, o, s, c, l, f);
|
|
2344
|
+
}, fe = (e, t, r, i, a, o, s, c, l) => {
|
|
2345
2345
|
let u = 0, d = t.length, f = e.length - 1, p = d - 1;
|
|
2346
2346
|
for (; u <= f && u <= p;) {
|
|
2347
2347
|
let n = e[u], i = t[u] = l ? Ba(t[u]) : za(t[u]);
|
|
@@ -2360,7 +2360,7 @@ function fa(e, i) {
|
|
|
2360
2360
|
let e = p + 1, n = e < d ? t[e].el : i;
|
|
2361
2361
|
for (; u <= p;) v(null, t[u] = l ? Ba(t[u]) : za(t[u]), r, n, a, o, s, c, l), u++;
|
|
2362
2362
|
}
|
|
2363
|
-
} else if (u > p) for (; u <= f;)
|
|
2363
|
+
} else if (u > p) for (; u <= f;) me(e[u], a, o, !0), u++;
|
|
2364
2364
|
else {
|
|
2365
2365
|
let m = u, h = u, g = /* @__PURE__ */ new Map();
|
|
2366
2366
|
for (u = h; u <= p; u++) {
|
|
@@ -2372,7 +2372,7 @@ function fa(e, i) {
|
|
|
2372
2372
|
for (u = m; u <= f; u++) {
|
|
2373
2373
|
let n = e[u];
|
|
2374
2374
|
if (y >= b) {
|
|
2375
|
-
|
|
2375
|
+
me(n, a, o, !0);
|
|
2376
2376
|
continue;
|
|
2377
2377
|
}
|
|
2378
2378
|
let i;
|
|
@@ -2381,18 +2381,18 @@ function fa(e, i) {
|
|
|
2381
2381
|
i = _;
|
|
2382
2382
|
break;
|
|
2383
2383
|
}
|
|
2384
|
-
i === void 0 ?
|
|
2384
|
+
i === void 0 ? me(n, a, o, !0) : (C[i - h] = u + 1, i >= S ? S = i : x = !0, v(n, t[i], r, null, a, o, s, c, l), y++);
|
|
2385
2385
|
}
|
|
2386
2386
|
let w = x ? _a(C) : n;
|
|
2387
2387
|
for (_ = w.length - 1, u = b - 1; u >= 0; u--) {
|
|
2388
2388
|
let e = h + u, n = t[e], f = t[e + 1], p = e + 1 < d ? f.el || ba(f) : i;
|
|
2389
|
-
C[u] === 0 ? v(null, n, r, p, a, o, s, c, l) : x && (_ < 0 || u !== w[_] ?
|
|
2389
|
+
C[u] === 0 ? v(null, n, r, p, a, o, s, c, l) : x && (_ < 0 || u !== w[_] ? pe(n, r, p, 2) : _--);
|
|
2390
2390
|
}
|
|
2391
2391
|
}
|
|
2392
|
-
},
|
|
2392
|
+
}, pe = (e, t, n, r, i = null) => {
|
|
2393
2393
|
let { el: a, type: c, transition: l, children: u, shapeFlag: d } = e;
|
|
2394
2394
|
if (d & 6) {
|
|
2395
|
-
|
|
2395
|
+
pe(e.component.subTree, t, n, r);
|
|
2396
2396
|
return;
|
|
2397
2397
|
}
|
|
2398
2398
|
if (d & 128) {
|
|
@@ -2400,12 +2400,12 @@ function fa(e, i) {
|
|
|
2400
2400
|
return;
|
|
2401
2401
|
}
|
|
2402
2402
|
if (d & 64) {
|
|
2403
|
-
c.move(e, t, n,
|
|
2403
|
+
c.move(e, t, n, xe);
|
|
2404
2404
|
return;
|
|
2405
2405
|
}
|
|
2406
2406
|
if (c === W) {
|
|
2407
2407
|
o(a, t, n);
|
|
2408
|
-
for (let e = 0; e < u.length; e++)
|
|
2408
|
+
for (let e = 0; e < u.length; e++) pe(u[e], t, n, r);
|
|
2409
2409
|
o(e.anchor, t, n);
|
|
2410
2410
|
return;
|
|
2411
2411
|
}
|
|
@@ -2425,28 +2425,28 @@ function fa(e, i) {
|
|
|
2425
2425
|
i ? i(a, u, d) : d();
|
|
2426
2426
|
}
|
|
2427
2427
|
else o(a, t, n);
|
|
2428
|
-
},
|
|
2428
|
+
}, me = (e, t, n, r = !1, i = !1) => {
|
|
2429
2429
|
let { type: a, props: o, ref: s, children: c, dynamicChildren: l, shapeFlag: u, patchFlag: d, dirs: f, cacheIndex: p } = e;
|
|
2430
|
-
if (d === -2 && (i = !1), s != null && (
|
|
2430
|
+
if (d === -2 && (i = !1), s != null && (Ge(), Pr(s, null, n, e, !0), Ke()), p != null && (t.renderCache[p] = void 0), u & 256) {
|
|
2431
2431
|
t.ctx.deactivate(e);
|
|
2432
2432
|
return;
|
|
2433
2433
|
}
|
|
2434
2434
|
let m = u & 1 && f, h = !Ir(e), g;
|
|
2435
|
-
if (h && (g = o && o.onVnodeBeforeUnmount) && Ua(g, t, e), u & 6)
|
|
2435
|
+
if (h && (g = o && o.onVnodeBeforeUnmount) && Ua(g, t, e), u & 6) ge(e.component, n, r);
|
|
2436
2436
|
else {
|
|
2437
2437
|
if (u & 128) {
|
|
2438
2438
|
e.suspense.unmount(n, r);
|
|
2439
2439
|
return;
|
|
2440
2440
|
}
|
|
2441
|
-
m && Gn(e, null, t, "beforeUnmount"), u & 64 ? e.type.remove(e, t, n,
|
|
2441
|
+
m && Gn(e, null, t, "beforeUnmount"), u & 64 ? e.type.remove(e, t, n, xe, r) : l && !l.hasOnce && (a !== W || d > 0 && d & 64) ? _e(l, t, n, !1, !0) : (a === W && d & 384 || !i && u & 16) && _e(c, t, n), r && A(e);
|
|
2442
2442
|
}
|
|
2443
2443
|
(h && (g = o && o.onVnodeUnmounted) || m) && ua(() => {
|
|
2444
2444
|
g && Ua(g, t, e), m && Gn(e, null, t, "unmounted");
|
|
2445
2445
|
}, n);
|
|
2446
|
-
},
|
|
2446
|
+
}, A = (e) => {
|
|
2447
2447
|
let { type: t, el: n, anchor: r, transition: i } = e;
|
|
2448
2448
|
if (t === W) {
|
|
2449
|
-
|
|
2449
|
+
he(n, r);
|
|
2450
2450
|
return;
|
|
2451
2451
|
}
|
|
2452
2452
|
if (t === Ta) {
|
|
@@ -2460,41 +2460,41 @@ function fa(e, i) {
|
|
|
2460
2460
|
let { leave: t, delayLeave: r } = i, o = () => t(n, a);
|
|
2461
2461
|
r ? r(e.el, a, o) : o();
|
|
2462
2462
|
} else a();
|
|
2463
|
-
},
|
|
2463
|
+
}, he = (e, t) => {
|
|
2464
2464
|
let n;
|
|
2465
2465
|
for (; e !== t;) n = h(e), s(e), e = n;
|
|
2466
2466
|
s(t);
|
|
2467
|
-
},
|
|
2467
|
+
}, ge = (e, t, n) => {
|
|
2468
2468
|
let { bum: r, scope: i, job: a, subTree: o, um: s, m: c, a: l } = e;
|
|
2469
|
-
ya(c), ya(l), r &&
|
|
2469
|
+
ya(c), ya(l), r && ie(r), i.stop(), a && (a.flags |= 8, me(o, e, t, n)), s && ua(s, t), ua(() => {
|
|
2470
2470
|
e.isUnmounted = !0;
|
|
2471
2471
|
}, t);
|
|
2472
|
-
},
|
|
2473
|
-
for (let o = a; o < e.length; o++)
|
|
2474
|
-
},
|
|
2475
|
-
if (e.shapeFlag & 6) return
|
|
2472
|
+
}, _e = (e, t, n, r = !1, i = !1, a = 0) => {
|
|
2473
|
+
for (let o = a; o < e.length; o++) me(e[o], t, n, r, i);
|
|
2474
|
+
}, ve = (e) => {
|
|
2475
|
+
if (e.shapeFlag & 6) return ve(e.component.subTree);
|
|
2476
2476
|
if (e.shapeFlag & 128) return e.suspense.next();
|
|
2477
2477
|
let t = h(e.anchor || e.el), n = t && t[nr];
|
|
2478
2478
|
return n ? h(n) : t;
|
|
2479
|
-
},
|
|
2479
|
+
}, ye = !1, be = (e, t, n) => {
|
|
2480
2480
|
let r;
|
|
2481
|
-
e == null ? t._vnode && (
|
|
2482
|
-
},
|
|
2481
|
+
e == null ? t._vnode && (me(t._vnode, null, null, !0), r = t._vnode.component) : v(t._vnode || null, e, t, null, null, null, n), t._vnode = e, ye ||= (ye = !0, Ln(r), Rn(), !1);
|
|
2482
|
+
}, xe = {
|
|
2483
2483
|
p: v,
|
|
2484
|
-
um:
|
|
2485
|
-
m:
|
|
2486
|
-
r:
|
|
2487
|
-
mt:
|
|
2484
|
+
um: me,
|
|
2485
|
+
m: pe,
|
|
2486
|
+
r: A,
|
|
2487
|
+
mt: ae,
|
|
2488
2488
|
mc: D,
|
|
2489
|
-
pc:
|
|
2489
|
+
pc: ue,
|
|
2490
2490
|
pbc: O,
|
|
2491
|
-
n:
|
|
2491
|
+
n: ve,
|
|
2492
2492
|
o: e
|
|
2493
|
-
},
|
|
2494
|
-
return i && ([
|
|
2495
|
-
render:
|
|
2496
|
-
hydrate:
|
|
2497
|
-
createApp: Mi(
|
|
2493
|
+
}, Se, j;
|
|
2494
|
+
return i && ([Se, j] = i(xe)), {
|
|
2495
|
+
render: be,
|
|
2496
|
+
hydrate: Se,
|
|
2497
|
+
createApp: Mi(be, Se)
|
|
2498
2498
|
};
|
|
2499
2499
|
}
|
|
2500
2500
|
function pa({ type: e, props: t }, n) {
|
|
@@ -2571,7 +2571,7 @@ function Ma(e) {
|
|
|
2571
2571
|
function Na(e, t) {
|
|
2572
2572
|
return e.type === t.type && e.key === t.key;
|
|
2573
2573
|
}
|
|
2574
|
-
var Pa = ({ key: e }) => e ?? null, Fa = ({ ref: e, ref_key: t, ref_for: n }) => (typeof e == "number" && (e = "" + e), e == null ? null : g(e) || /* @__PURE__ */
|
|
2574
|
+
var Pa = ({ key: e }) => e ?? null, Fa = ({ ref: e, ref_key: t, ref_for: n }) => (typeof e == "number" && (e = "" + e), e == null ? null : g(e) || /* @__PURE__ */ $t(e) || h(e) ? {
|
|
2575
2575
|
i: Vn,
|
|
2576
2576
|
r: e,
|
|
2577
2577
|
k: t,
|
|
@@ -2618,13 +2618,13 @@ function Ia(e, t = null, n = null, r = 0, i = null, a = !1) {
|
|
|
2618
2618
|
if (fo(e) && (e = e.__vccOpts), t) {
|
|
2619
2619
|
t = La(t);
|
|
2620
2620
|
let { class: e, style: n } = t;
|
|
2621
|
-
e && !g(e) && (t.class =
|
|
2621
|
+
e && !g(e) && (t.class = A(e)), v(n) && (/* @__PURE__ */ Yt(n) && !d(n) && (n = s({}, n)), t.style = ue(n));
|
|
2622
2622
|
}
|
|
2623
2623
|
let o = g(e) ? 1 : xa(e) ? 128 : rr(e) ? 64 : v(e) ? 4 : h(e) ? 2 : 0;
|
|
2624
2624
|
return J(e, t, n, r, i, o, a, !0);
|
|
2625
2625
|
}
|
|
2626
2626
|
function La(e) {
|
|
2627
|
-
return e ? /* @__PURE__ */
|
|
2627
|
+
return e ? /* @__PURE__ */ Yt(e) || Ji(e) ? s({}, e) : e : null;
|
|
2628
2628
|
}
|
|
2629
2629
|
function Ra(e, t, n = !1, r = !1) {
|
|
2630
2630
|
let { props: i, ref: a, patchFlag: o, children: s, transition: c } = e, l = t ? Ha(i || {}, t) : i, u = {
|
|
@@ -2695,8 +2695,8 @@ function Ha(...e) {
|
|
|
2695
2695
|
let t = {};
|
|
2696
2696
|
for (let n = 0; n < e.length; n++) {
|
|
2697
2697
|
let r = e[n];
|
|
2698
|
-
for (let e in r) if (e === "class") t.class !== r.class && (t.class =
|
|
2699
|
-
else if (e === "style") t.style =
|
|
2698
|
+
for (let e in r) if (e === "class") t.class !== r.class && (t.class = A([t.class, r.class]));
|
|
2699
|
+
else if (e === "style") t.style = ue([t.style, r.style]);
|
|
2700
2700
|
else if (a(e)) {
|
|
2701
2701
|
let n = t[e], i = r[e];
|
|
2702
2702
|
i && n !== i && !(d(n) && n.includes(i)) && (t[e] = n ? [].concat(n, i) : i);
|
|
@@ -2721,7 +2721,7 @@ function Ka(e, n, r) {
|
|
|
2721
2721
|
effect: null,
|
|
2722
2722
|
update: null,
|
|
2723
2723
|
job: null,
|
|
2724
|
-
scope: new
|
|
2724
|
+
scope: new Ee(!0),
|
|
2725
2725
|
render: null,
|
|
2726
2726
|
proxy: null,
|
|
2727
2727
|
exposed: null,
|
|
@@ -2777,7 +2777,7 @@ function Ka(e, n, r) {
|
|
|
2777
2777
|
}
|
|
2778
2778
|
var qa = null, Ja = () => qa || Vn, Ya, Xa;
|
|
2779
2779
|
{
|
|
2780
|
-
let e =
|
|
2780
|
+
let e = le(), t = (t, n) => {
|
|
2781
2781
|
let r;
|
|
2782
2782
|
return (r = e[t]) || (r = e[t] = []), r.push(n), (e) => {
|
|
2783
2783
|
r.length > 1 ? r.forEach((t) => t(e)) : r[0](e);
|
|
@@ -2809,9 +2809,9 @@ function no(e, t) {
|
|
|
2809
2809
|
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, ui);
|
|
2810
2810
|
let { setup: r } = n;
|
|
2811
2811
|
if (r) {
|
|
2812
|
-
|
|
2812
|
+
Ge();
|
|
2813
2813
|
let n = e.setupContext = r.length > 1 ? co(e) : null, i = Za(e), a = xn(r, e, 0, [e.props, n]), o = y(a);
|
|
2814
|
-
if (
|
|
2814
|
+
if (Ke(), i(), (o || e.sp) && !Ir(e) && Ar(e), o) {
|
|
2815
2815
|
if (a.then(Qa, Qa), t) return a.then((n) => {
|
|
2816
2816
|
ro(e, n, t);
|
|
2817
2817
|
}).catch((t) => {
|
|
@@ -2842,16 +2842,16 @@ function oo(e, t, n) {
|
|
|
2842
2842
|
}
|
|
2843
2843
|
{
|
|
2844
2844
|
let t = Za(e);
|
|
2845
|
-
|
|
2845
|
+
Ge();
|
|
2846
2846
|
try {
|
|
2847
2847
|
gi(e);
|
|
2848
2848
|
} finally {
|
|
2849
|
-
|
|
2849
|
+
Ke(), t();
|
|
2850
2850
|
}
|
|
2851
2851
|
}
|
|
2852
2852
|
}
|
|
2853
2853
|
var so = { get(e, t) {
|
|
2854
|
-
return
|
|
2854
|
+
return nt(e, "get", ""), e[t];
|
|
2855
2855
|
} };
|
|
2856
2856
|
function co(e) {
|
|
2857
2857
|
return {
|
|
@@ -2864,7 +2864,7 @@ function co(e) {
|
|
|
2864
2864
|
};
|
|
2865
2865
|
}
|
|
2866
2866
|
function lo(e) {
|
|
2867
|
-
return e.exposed ? e.exposeProxy ||= new Proxy(on(
|
|
2867
|
+
return e.exposed ? e.exposeProxy ||= new Proxy(on(Xt(e.exposed)), {
|
|
2868
2868
|
get(t, n) {
|
|
2869
2869
|
if (n in t) return t[n];
|
|
2870
2870
|
if (n in ci) return ci[n](e);
|
|
@@ -3009,7 +3009,7 @@ function Mo(e) {
|
|
|
3009
3009
|
}
|
|
3010
3010
|
}
|
|
3011
3011
|
function No(e) {
|
|
3012
|
-
return
|
|
3012
|
+
return se(e);
|
|
3013
3013
|
}
|
|
3014
3014
|
function Po(e, t) {
|
|
3015
3015
|
t.split(/\s+/).forEach((t) => t && e.classList.add(t)), (e[To] || (e[To] = /* @__PURE__ */ new Set())).add(t);
|
|
@@ -3131,8 +3131,8 @@ function ts(e, t) {
|
|
|
3131
3131
|
return t;
|
|
3132
3132
|
}
|
|
3133
3133
|
var ns = "http://www.w3.org/1999/xlink";
|
|
3134
|
-
function rs(e, t, n, r, i, a =
|
|
3135
|
-
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(ns, t.slice(6, t.length)) : e.setAttributeNS(ns, t, n) : n == null || a && !
|
|
3134
|
+
function rs(e, t, n, r, i, a = _e(t)) {
|
|
3135
|
+
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(ns, t.slice(6, t.length)) : e.setAttributeNS(ns, t, n) : n == null || a && !ve(n) ? e.removeAttribute(t) : e.setAttribute(t, a ? "" : _(n) ? String(n) : n);
|
|
3136
3136
|
}
|
|
3137
3137
|
function is(e, t, n, r, i) {
|
|
3138
3138
|
if (t === "innerHTML" || t === "textContent") {
|
|
@@ -3148,7 +3148,7 @@ function is(e, t, n, r, i) {
|
|
|
3148
3148
|
let o = !1;
|
|
3149
3149
|
if (n === "" || n == null) {
|
|
3150
3150
|
let r = typeof e[t];
|
|
3151
|
-
r === "boolean" ? n =
|
|
3151
|
+
r === "boolean" ? n = ve(n) : n == null && r === "string" ? (n = "", o = !0) : r === "number" && (n = 0, o = !0);
|
|
3152
3152
|
}
|
|
3153
3153
|
try {
|
|
3154
3154
|
e[t] = n;
|
|
@@ -3261,7 +3261,7 @@ var xs = typeof HTMLElement < "u" ? HTMLElement : class {}, Ss = class e extends
|
|
|
3261
3261
|
let { props: n, styles: r } = e, i;
|
|
3262
3262
|
if (n && !d(n)) for (let e in n) {
|
|
3263
3263
|
let t = n[e];
|
|
3264
|
-
(t === Number || t && t.type === Number) && (e in this._props && (this._props[e] =
|
|
3264
|
+
(t === Number || t && t.type === Number) && (e in this._props && (this._props[e] = se(this._props[e])), (i ||= /* @__PURE__ */ Object.create(null))[D(e)] = !0);
|
|
3265
3265
|
}
|
|
3266
3266
|
this._numberProps = i, this._resolveProps(e), this.shadowRoot && this._applyStyles(r), this._mount(e);
|
|
3267
3267
|
}, t = this._def.__asyncLoader;
|
|
@@ -3289,7 +3289,7 @@ var xs = typeof HTMLElement < "u" ? HTMLElement : class {}, Ss = class e extends
|
|
|
3289
3289
|
_setAttr(e) {
|
|
3290
3290
|
if (e.startsWith("data-v-")) return;
|
|
3291
3291
|
let t = this.hasAttribute(e), n = t ? this.getAttribute(e) : ys, r = D(e);
|
|
3292
|
-
t && this._numberProps && this._numberProps[r] && (n =
|
|
3292
|
+
t && this._numberProps && this._numberProps[r] && (n = se(n)), this._setProp(r, n, !1, !0);
|
|
3293
3293
|
}
|
|
3294
3294
|
_getProp(e) {
|
|
3295
3295
|
return this._props[e];
|
|
@@ -3379,14 +3379,14 @@ var xs = typeof HTMLElement < "u" ? HTMLElement : class {}, Ss = class e extends
|
|
|
3379
3379
|
_removeChildStyle(e) {}
|
|
3380
3380
|
}, Cs = (e) => {
|
|
3381
3381
|
let t = e.props["onUpdate:modelValue"] || !1;
|
|
3382
|
-
return d(t) ? (e) =>
|
|
3382
|
+
return d(t) ? (e) => ie(t, e) : t;
|
|
3383
3383
|
}, ws = /* @__PURE__ */ Symbol("_assign"), Ts = {
|
|
3384
3384
|
deep: !0,
|
|
3385
3385
|
created(e, t, n) {
|
|
3386
3386
|
e[ws] = Cs(n), as(e, "change", () => {
|
|
3387
3387
|
let t = e._modelValue, n = Ds(e), r = e.checked, i = e[ws];
|
|
3388
3388
|
if (d(t)) {
|
|
3389
|
-
let e =
|
|
3389
|
+
let e = xe(t, n), a = e !== -1;
|
|
3390
3390
|
if (r && !a) i(t.concat(n));
|
|
3391
3391
|
else if (!r && a) {
|
|
3392
3392
|
let n = [...t];
|
|
@@ -3406,11 +3406,11 @@ var xs = typeof HTMLElement < "u" ? HTMLElement : class {}, Ss = class e extends
|
|
|
3406
3406
|
function Es(e, { value: t, oldValue: n }, r) {
|
|
3407
3407
|
e._modelValue = t;
|
|
3408
3408
|
let i;
|
|
3409
|
-
if (d(t)) i =
|
|
3409
|
+
if (d(t)) i = xe(t, r.props.value) > -1;
|
|
3410
3410
|
else if (p(t)) i = t.has(r.props.value);
|
|
3411
3411
|
else {
|
|
3412
3412
|
if (t === n) return;
|
|
3413
|
-
i =
|
|
3413
|
+
i = be(t, Os(e, !0));
|
|
3414
3414
|
}
|
|
3415
3415
|
e.checked !== i && (e.checked = i);
|
|
3416
3416
|
}
|
|
@@ -3522,10 +3522,10 @@ function Js() {
|
|
|
3522
3522
|
//#endregion
|
|
3523
3523
|
//#region ../../node_modules/@vueuse/shared/dist/index.js
|
|
3524
3524
|
function Ys(e, t) {
|
|
3525
|
-
return
|
|
3525
|
+
return De() ? (Oe(e, t), !0) : !1;
|
|
3526
3526
|
}
|
|
3527
3527
|
var Xs = /* @__PURE__ */ new WeakMap(), Zs = (...e) => {
|
|
3528
|
-
let t = e[0], n = Ja()?.proxy ??
|
|
3528
|
+
let t = e[0], n = Ja()?.proxy ?? De();
|
|
3529
3529
|
if (n == null && !Jn()) throw Error("injectLocal must be called in setup");
|
|
3530
3530
|
return n && Xs.has(n) && t in Xs.get(n) ? Xs.get(n)[t] : qn(...e);
|
|
3531
3531
|
}, Qs = typeof window < "u" && typeof document < "u";
|
|
@@ -3591,7 +3591,7 @@ function lc(e, t, n = {}) {
|
|
|
3591
3591
|
}, rn(t));
|
|
3592
3592
|
}
|
|
3593
3593
|
return r && (a.value = !0, Qs && l()), Ys(c), {
|
|
3594
|
-
isPending: /* @__PURE__ */
|
|
3594
|
+
isPending: /* @__PURE__ */ Wt(a),
|
|
3595
3595
|
start: l,
|
|
3596
3596
|
stop: c
|
|
3597
3597
|
};
|
|
@@ -3737,7 +3737,7 @@ function Cc(e, t = {}) {
|
|
|
3737
3737
|
} finally {
|
|
3738
3738
|
c();
|
|
3739
3739
|
}
|
|
3740
|
-
if (n) return /* @__PURE__ */
|
|
3740
|
+
if (n) return /* @__PURE__ */ N(a.value);
|
|
3741
3741
|
}
|
|
3742
3742
|
});
|
|
3743
3743
|
return l(), n ? {
|
|
@@ -3782,8 +3782,8 @@ function wc(e = {}) {
|
|
|
3782
3782
|
}
|
|
3783
3783
|
return {
|
|
3784
3784
|
isSupported: l,
|
|
3785
|
-
text: /* @__PURE__ */
|
|
3786
|
-
copied: /* @__PURE__ */
|
|
3785
|
+
text: /* @__PURE__ */ Ut(u),
|
|
3786
|
+
copied: /* @__PURE__ */ Ut(d),
|
|
3787
3787
|
copy: m
|
|
3788
3788
|
};
|
|
3789
3789
|
}
|
|
@@ -4695,7 +4695,7 @@ var Rl = { class: "g-btn--icon" }, zl = { class: "g-btn--label" }, Bl = /* @__PU
|
|
|
4695
4695
|
}), {
|
|
4696
4696
|
default: I(() => [e.icon || n.icon ? (G(), K(W, { key: 0 }, [J("span", Rl, [n.icon ? V(a.$slots, "icon", { key: 0 }) : (G(), K("span", {
|
|
4697
4697
|
key: 1,
|
|
4698
|
-
class:
|
|
4698
|
+
class: A(e.icon + " g-btn--icon-span"),
|
|
4699
4699
|
"aria-hidden": "true"
|
|
4700
4700
|
}, null, 2))]), J("span", zl, [V(a.$slots, "default")])], 64)) : V(a.$slots, "default", { key: 1 })]),
|
|
4701
4701
|
_: 3
|
|
@@ -4705,7 +4705,7 @@ var Rl = { class: "g-btn--icon" }, zl = { class: "g-btn--label" }, Bl = /* @__PU
|
|
|
4705
4705
|
"type"
|
|
4706
4706
|
]));
|
|
4707
4707
|
}
|
|
4708
|
-
}), Vl = ".g-btn{font-family:var(--il-font-sans);border:2px solid var(--ilw-color--background);background:var(--ilw-color--background);color:var(--ilw-color--heading);cursor:pointer;border-radius:var(--g-border-radius-m);justify-content:center;align-items:center;padding:12px 20px;font-size:19px;font-weight:700;line-height:20px;text-decoration:none;display:inline-flex}.g-btn:hover{color:var(--ilw-color--background);background:var(--ilw-color--heading);border-color:var(--ilw-color--background);text-decoration:underline}.g-btn:active{background:var(--ilw-color--heading-link-hover);color:var(--ilw-color--heading)}.g-btn:focus-visible{border-color:var(--ilw-color--focus--outline);color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background)}.g-btn--small{--g-accent-500:var(--il-altgeld);padding:6px 10px 7px;font-size:14px}.g-btn--large{padding:16px 24px;font-size:21px;line-height:24px}.g-btn-has-icon-class,.g-btn-has-icon-svg{gap:2px;padding:6px 20px 6px 6px}:is(.g-btn-has-icon-class,.g-btn-has-icon-svg).g-btn--small{padding:0 14px 1px 0}:is(.g-btn-has-icon-class,.g-btn-has-icon-svg).g-btn--large{padding:12px 24px 12px 10px}:is(.g-btn-has-icon-class,.g-btn-has-icon-svg):hover{text-decoration:none}:is(.g-btn-has-icon-class,.g-btn-has-icon-svg):hover .g-btn--label{text-decoration:underline}.g-btn--icon{justify-content:center;align-items:center;width:32px;height:32px;text-decoration:none;display:flex;overflow:hidden}.g-btn--icon span.g-btn--icon-span{max-width:100%;max-height:100%}.g-btn--label{display:block}.g-btn>.g-btn--icon:first-child{margin-left:-.1em}.g-btn--icon>svg,.g-btn--icon>img{flex:none;width:1em;height:1em;display:block}.g-btn--primary{--ilw-color--background:var(--g-primary-500);--ilw-color--heading:var(--g-primary-text)}.g-btn--accent{--ilw-color--background:var(--g-accent-500);--ilw-color--heading:var(--g-surface-0)}.g-btn--danger{--ilw-color--background:var(--g-danger-500);--ilw-color--heading:var(--g-danger-text)}.g-btn--secondary{--ilw-color--background:var(--g-surface-700);--ilw-color--heading:var(--g-surface-100);--ilw-color--heading-link-hover:var(--g-surface-900)}.g-btn--outlined{color:var(--ilw-color--background);background:var(--ilw-color--heading);border-color:var(--ilw-color--background)}.g-btn--outlined:hover{background:var(--ilw-color--background);color:var(--ilw-color--heading)}.g-btn--outlined:active{background:var(--ilw-color--heading-link-hover);color:var(--ilw-color--heading)}.g-btn--outlined:focus-visible{border-color:var(--ilw-color--focus--outline);color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background)}.g-btn--text{color:var(--ilw-color--background);background:0 0;border:none;padding:.25em .5em}.g-btn--text:hover{color:var(--ilw-color--heading-link-hover);text-decoration:underline}.g-btn--text:active{background:var(--ilw-color--heading-link-hover);color:var(--ilw-color--heading)}.g-btn--text:focus-visible{border-color:var(--ilw-color--focus--outline);color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background)}", $ = (e, t) => {
|
|
4708
|
+
}), Vl = ".g-btn{font-family:var(--il-font-sans);border:2px solid var(--ilw-color--background);background:var(--ilw-color--background);color:var(--ilw-color--heading);cursor:pointer;border-radius:var(--g-border-radius-m);justify-content:center;align-items:center;padding:12px 20px;font-size:19px;font-weight:700;line-height:20px;text-decoration:none;display:inline-flex}.g-btn:hover{color:var(--ilw-color--background);background:var(--ilw-color--heading);border-color:var(--ilw-color--background);text-decoration:underline}.g-btn:active{background:var(--ilw-color--heading-link-hover);color:var(--ilw-color--heading)}.g-btn:focus-visible{border-color:var(--ilw-color--focus--outline);color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background);outline-color:var(--g-primary-500)}.g-btn--small{--g-accent-500:var(--il-altgeld);padding:6px 10px 7px;font-size:14px}.g-btn--large{padding:16px 24px;font-size:21px;line-height:24px}.g-btn-has-icon-class,.g-btn-has-icon-svg{gap:2px;padding:6px 20px 6px 6px}:is(.g-btn-has-icon-class,.g-btn-has-icon-svg).g-btn--small{padding:0 14px 1px 0}:is(.g-btn-has-icon-class,.g-btn-has-icon-svg).g-btn--large{padding:12px 24px 12px 10px}:is(.g-btn-has-icon-class,.g-btn-has-icon-svg):hover{text-decoration:none}:is(.g-btn-has-icon-class,.g-btn-has-icon-svg):hover .g-btn--label{text-decoration:underline}.g-btn--icon{justify-content:center;align-items:center;width:32px;height:32px;text-decoration:none;display:flex;overflow:hidden}.g-btn--icon span.g-btn--icon-span{max-width:100%;max-height:100%}.g-btn--label{display:block}.g-btn>.g-btn--icon:first-child{margin-left:-.1em}.g-btn--icon>svg,.g-btn--icon>img{flex:none;width:1em;height:1em;display:block}.g-btn--primary{--ilw-color--background:var(--g-primary-500);--ilw-color--heading:var(--g-primary-text)}.g-btn--accent{--ilw-color--background:var(--g-accent-500);--ilw-color--heading:var(--g-surface-0)}.g-btn--danger{--ilw-color--background:var(--g-danger-500);--ilw-color--heading:var(--g-danger-text)}.g-btn--secondary{--ilw-color--background:var(--g-surface-700);--ilw-color--heading:var(--g-surface-100);--ilw-color--heading-link-hover:var(--g-surface-900)}.g-btn--outlined{color:var(--ilw-color--background);background:var(--ilw-color--heading);border-color:var(--ilw-color--background)}.g-btn--outlined:hover{background:var(--ilw-color--background);color:var(--ilw-color--heading)}.g-btn--outlined:active{background:var(--ilw-color--heading-link-hover);color:var(--ilw-color--heading)}.g-btn--outlined:focus-visible{border-color:var(--ilw-color--focus--outline);color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background)}.g-btn--text{color:var(--ilw-color--background);background:0 0;border:none;padding:.25em .5em}.g-btn--text:hover{color:var(--ilw-color--heading-link-hover);text-decoration:underline}.g-btn--text:active{background:var(--ilw-color--heading-link-hover);color:var(--ilw-color--heading)}.g-btn--text:focus-visible{border-color:var(--ilw-color--focus--outline);color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background)}", $ = (e, t) => {
|
|
4709
4709
|
let n = e.__vccOpts || e;
|
|
4710
4710
|
for (let [e, r] of t) n[e] = r;
|
|
4711
4711
|
return n;
|
|
@@ -4752,12 +4752,12 @@ var Rl = { class: "g-btn--icon" }, zl = { class: "g-btn--label" }, Bl = /* @__PU
|
|
|
4752
4752
|
"aria-describedby": "alertdialog-description-" + F(o),
|
|
4753
4753
|
ref_key: "dialog",
|
|
4754
4754
|
ref: i,
|
|
4755
|
-
style:
|
|
4755
|
+
style: ue({ zIndex: F(u) })
|
|
4756
4756
|
}, [J("div", Wl, [
|
|
4757
4757
|
J("h2", {
|
|
4758
4758
|
id: "alertdialog-label-" + F(o),
|
|
4759
4759
|
class: "g-alertdialog-label"
|
|
4760
|
-
},
|
|
4760
|
+
}, j(n.label), 9, Gl),
|
|
4761
4761
|
J("div", {
|
|
4762
4762
|
id: "alertdialog-description-" + F(o),
|
|
4763
4763
|
class: "g-alertdialog-content"
|
|
@@ -4772,14 +4772,14 @@ var Rl = { class: "g-btn--icon" }, zl = { class: "g-btn--label" }, Bl = /* @__PU
|
|
|
4772
4772
|
theme: n.buttonColor,
|
|
4773
4773
|
onClick: t[1] ||= (e) => r("confirm")
|
|
4774
4774
|
}, {
|
|
4775
|
-
default: I(() => [X(
|
|
4775
|
+
default: I(() => [X(j(n.buttonText), 1)]),
|
|
4776
4776
|
_: 1
|
|
4777
4777
|
}, 8, ["theme"])])
|
|
4778
4778
|
])], 12, Ul)]),
|
|
4779
4779
|
_: 3
|
|
4780
4780
|
})]));
|
|
4781
4781
|
}
|
|
4782
|
-
}), [["styles", [".g-alertdialog[data-v-144faf08]{background:var(--g-surface-50);border-top:8px solid var(--g-accent-500);min-width:300px;max-width:400px;height:auto;max-height:90vh;padding:2rem;position:fixed;top:50vh;left:50vw;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 0 2px #0006,0 10px 20px #0000001a}.g-alertdialog-label[data-v-144faf08]{font-family:var(--il-font-heading);color:var(--g-primary-500);margin-top:0;font-size:2rem}.g-alertdialog-content[data-v-144faf08]{color:var(--g-surface-900);margin-top:1rem;font-size:1.125rem}.g-alertdialog-actions[data-v-144faf08]{justify-content:flex-end;gap:1rem;margin-top:2rem;display:flex}.fade-enter-active[data-v-144faf08],.fade-leave-active[data-v-144faf08]{transition:opacity .2s}.fade-enter-from[data-v-144faf08],.fade-leave-to[data-v-144faf08]{opacity:0}"]], ["__scopeId", "data-v-144faf08"]]), Yl = { class: /* @__PURE__ */
|
|
4782
|
+
}), [["styles", [".g-alertdialog[data-v-144faf08]{background:var(--g-surface-50);border-top:8px solid var(--g-accent-500);min-width:300px;max-width:400px;height:auto;max-height:90vh;padding:2rem;position:fixed;top:50vh;left:50vw;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 0 2px #0006,0 10px 20px #0000001a}.g-alertdialog-label[data-v-144faf08]{font-family:var(--il-font-heading);color:var(--g-primary-500);margin-top:0;font-size:2rem}.g-alertdialog-content[data-v-144faf08]{color:var(--g-surface-900);margin-top:1rem;font-size:1.125rem}.g-alertdialog-actions[data-v-144faf08]{justify-content:flex-end;gap:1rem;margin-top:2rem;display:flex}.fade-enter-active[data-v-144faf08],.fade-leave-active[data-v-144faf08]{transition:opacity .2s}.fade-enter-from[data-v-144faf08],.fade-leave-to[data-v-144faf08]{opacity:0}"]], ["__scopeId", "data-v-144faf08"]]), Yl = { class: /* @__PURE__ */ A({ "g-app-header": !0 }) }, Xl = { class: "g-app-header__brand" }, Zl = {
|
|
4783
4783
|
class: "g-app-header__brand-text",
|
|
4784
4784
|
href: "/"
|
|
4785
4785
|
}, Ql = {
|
|
@@ -4800,7 +4800,7 @@ var Rl = { class: "g-btn--icon" }, zl = { class: "g-btn--label" }, Bl = /* @__PU
|
|
|
4800
4800
|
setup(e) {
|
|
4801
4801
|
return (t, n) => (G(), K("header", Yl, [
|
|
4802
4802
|
n[1] ||= J("div", { class: "g-app-header__background" }, [J("div", { class: "g-app-header__background-pattern" }), J("div", { class: "g-app-header__background-gradient" })], -1),
|
|
4803
|
-
J("div", Xl, [V(t.$slots, "left", {}, () => [J("a", Zl,
|
|
4803
|
+
J("div", Xl, [V(t.$slots, "left", {}, () => [J("a", Zl, j(e.brand), 1)], !0)]),
|
|
4804
4804
|
e.illinois ? (G(), K("div", Ql, [...n[0] ||= [J("svg", {
|
|
4805
4805
|
class: "g-app-header__block-i",
|
|
4806
4806
|
role: "img",
|
|
@@ -4826,7 +4826,7 @@ var Rl = { class: "g-btn--icon" }, zl = { class: "g-btn--label" }, Bl = /* @__PU
|
|
|
4826
4826
|
//#endregion
|
|
4827
4827
|
//#region src/compose/useForm.ts
|
|
4828
4828
|
function nu() {
|
|
4829
|
-
let e = /* @__PURE__ */
|
|
4829
|
+
let e = /* @__PURE__ */ Ht({}), t = /* @__PURE__ */ P(!1), n = Q(() => {
|
|
4830
4830
|
let t = {};
|
|
4831
4831
|
return Object.entries(e).forEach(([e, n]) => {
|
|
4832
4832
|
n && n.value && (t[e] = n.value.value);
|
|
@@ -4919,7 +4919,7 @@ var ou = ["id"], su = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
|
4919
4919
|
}, [J("path", {
|
|
4920
4920
|
fill: "currentColor",
|
|
4921
4921
|
d: "M320 64C334.7 64 348.2 72.1 355.2 85L571.2 485C577.9 497.4 577.6 512.4 570.4 524.5C563.2 536.6 550.1 544 536 544L104 544C89.9 544 76.8 536.6 69.6 524.5C62.4 512.4 62.1 497.4 68.8 485L284.8 85C291.8 72.1 305.3 64 320 64zM320 416C302.3 416 288 430.3 288 448C288 465.7 302.3 480 320 480C337.7 480 352 465.7 352 448C352 430.3 337.7 416 320 416zM320 224C301.8 224 287.3 239.5 288.6 257.7L296 361.7C296.9 374.2 307.4 384 319.9 384C332.5 384 342.9 374.3 343.8 361.7L351.2 257.7C352.5 239.5 338.1 224 319.8 224z"
|
|
4922
|
-
})], -1), X(" " +
|
|
4922
|
+
})], -1), X(" " + j(e), 1)]))), 128))], 8, ou)) : Z("", !0);
|
|
4923
4923
|
}
|
|
4924
4924
|
}), [["styles", [".g-form-error-messages[data-v-8d738358]{flex-direction:column;gap:.25em;margin-top:.25em;display:flex}.g-form-error-message[data-v-8d738358]{background:var(--g-surface-0);color:var(--g-danger-600);padding:.25em .5em}.g-form-error-icon[data-v-8d738358]{vertical-align:middle;height:1.2em;margin:0 .2em 0 0;padding:.2em 0;display:inline}"]], ["__scopeId", "data-v-8d738358"]]), cu = {
|
|
4925
4925
|
key: 0,
|
|
@@ -5020,17 +5020,17 @@ var ou = ["id"], su = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
|
5020
5020
|
}
|
|
5021
5021
|
return (t, n) => (G(), q(ri(p.value ? "fieldset" : "div"), Ha({ class: ["g-checkbox-group", { "g-checkbox-group--error": F(o) }] }, m.value), {
|
|
5022
5022
|
default: I(() => [
|
|
5023
|
-
p.value && e.label ? (G(), K("legend", cu, [X(
|
|
5023
|
+
p.value && e.label ? (G(), K("legend", cu, [X(j(e.label), 1), e.required ? (G(), K("span", lu, "\xA0*")) : Z("", !0)])) : !p.value && e.label ? (G(), K("div", uu, [X(j(e.label), 1), e.required ? (G(), K("span", du, "\xA0*")) : Z("", !0)])) : Z("", !0),
|
|
5024
5024
|
e.instructions ? (G(), K("div", {
|
|
5025
5025
|
key: 2,
|
|
5026
5026
|
id: f.value,
|
|
5027
5027
|
class: "g-checkbox-group__instructions"
|
|
5028
|
-
},
|
|
5028
|
+
}, j(e.instructions), 9, fu)) : Z("", !0),
|
|
5029
5029
|
J("div", pu, [(G(!0), K(W, null, B(e.options, (t, n) => (G(), K("div", {
|
|
5030
5030
|
key: t.value,
|
|
5031
|
-
class:
|
|
5031
|
+
class: A(["g-checkbox-group__option-wrapper", { "g-checkbox-group__option-wrapper--disabled": t.disabled }])
|
|
5032
5032
|
}, [J("label", {
|
|
5033
|
-
class:
|
|
5033
|
+
class: A(["g-checkbox-group__option", { "g-checkbox-group__option--checked": c(t.value) }]),
|
|
5034
5034
|
for: g(n)
|
|
5035
5035
|
}, [J("input", Ha({
|
|
5036
5036
|
id: g(n),
|
|
@@ -5040,11 +5040,11 @@ var ou = ["id"], su = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
|
5040
5040
|
checked: c(t.value),
|
|
5041
5041
|
disabled: t.disabled,
|
|
5042
5042
|
class: "g-checkbox-group__input"
|
|
5043
|
-
}, { ref_for: !0 }, _(t, n), { onChange: (e) => l(t.value, e.target.checked) }), null, 16, hu), J("span", gu,
|
|
5043
|
+
}, { ref_for: !0 }, _(t, n), { onChange: (e) => l(t.value, e.target.checked) }), null, 16, hu), J("span", gu, j(t.label), 1)], 10, mu), t.hint ? (G(), K("div", {
|
|
5044
5044
|
key: 0,
|
|
5045
5045
|
id: h(n),
|
|
5046
5046
|
class: "g-checkbox-group__hint"
|
|
5047
|
-
},
|
|
5047
|
+
}, j(t.hint), 9, _u)) : Z("", !0)], 2))), 128))]),
|
|
5048
5048
|
Y(su, {
|
|
5049
5049
|
errors: F(a),
|
|
5050
5050
|
id: d.value
|
|
@@ -5053,7 +5053,7 @@ var ou = ["id"], su = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
|
5053
5053
|
_: 1
|
|
5054
5054
|
}, 16, ["class"]));
|
|
5055
5055
|
}
|
|
5056
|
-
}), [["styles", [".g-checkbox-group[data-v-
|
|
5056
|
+
}), [["styles", [".g-checkbox-group[data-v-4ddc0ac8]{border:none;flex-direction:column;margin:0;padding:0;display:flex}.g-checkbox-group__legend[data-v-4ddc0ac8],.g-checkbox-group__label[data-v-4ddc0ac8]{float:left;width:100%;margin-bottom:.5em;padding:0;font-size:1.25em}.g-checkbox-group__required[data-v-4ddc0ac8]{color:var(--g-danger-600)}.g-checkbox-group__instructions[data-v-4ddc0ac8]{color:var(--g-surface-800);clear:both;margin:0 0 .75em .5em}.g-checkbox-group__options[data-v-4ddc0ac8]{clear:both;flex-direction:column;gap:.5em;display:flex}.g-checkbox-group__option-wrapper[data-v-4ddc0ac8]{flex-direction:column;display:flex}.g-checkbox-group__option-wrapper--disabled[data-v-4ddc0ac8]{opacity:.5;cursor:not-allowed}.g-checkbox-group__option[data-v-4ddc0ac8]{cursor:pointer;border-radius:4px;align-items:flex-start;gap:.5em;padding:.375em .5em;display:flex}.g-checkbox-group__option-wrapper--disabled .g-checkbox-group__option[data-v-4ddc0ac8]{cursor:not-allowed}.g-checkbox-group__input[data-v-4ddc0ac8]{accent-color:var(--g-primary-500);cursor:pointer;flex-shrink:0;width:1.1em;height:1.1em;margin-top:.2em}.g-checkbox-group__input[data-v-4ddc0ac8]:focus-visible{outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-checkbox-group__option-wrapper--disabled .g-checkbox-group__input[data-v-4ddc0ac8]{cursor:not-allowed}.g-checkbox-group__label-text[data-v-4ddc0ac8]{font-family:var(--il-font-sans);line-height:1.4}.g-checkbox-group__hint[data-v-4ddc0ac8]{color:var(--g-surface-700);margin-top:.125em;padding-left:2.1em;padding-right:.5em;font-size:.875em}.g-checkbox-group--error .g-checkbox-group__options[data-v-4ddc0ac8]{border-left:3px solid var(--g-danger-600);padding-left:.75em}"]], ["__scopeId", "data-v-4ddc0ac8"]]);
|
|
5057
5057
|
//#endregion
|
|
5058
5058
|
//#region src/compose/popoverPosition.ts
|
|
5059
5059
|
function yu(e, t, n, r) {
|
|
@@ -5167,7 +5167,7 @@ var Du = {
|
|
|
5167
5167
|
}, l = () => {
|
|
5168
5168
|
s.value = t.copyLabel ?? "Copy to clipboard";
|
|
5169
5169
|
};
|
|
5170
|
-
return (r, i) => (G(), K("div", Ou, [e.hideText ? Z("", !0) : (G(), K(W, { key: 0 }, [X(
|
|
5170
|
+
return (r, i) => (G(), K("div", Ou, [e.hideText ? Z("", !0) : (G(), K(W, { key: 0 }, [X(j(t.text), 1)], 64)), Wn((G(), K("button", {
|
|
5171
5171
|
type: "button",
|
|
5172
5172
|
"aria-label": "Copy",
|
|
5173
5173
|
onClick: c,
|
|
@@ -5184,7 +5184,7 @@ var Du = {
|
|
|
5184
5184
|
d: "M480 400L288 400C279.2 400 272 392.8 272 384L272 128C272 119.2 279.2 112 288 112L421.5 112C425.7 112 429.8 113.7 432.8 116.7L491.3 175.2C494.3 178.2 496 182.3 496 186.5L496 384C496 392.8 488.8 400 480 400zM288 448L480 448C515.3 448 544 419.3 544 384L544 186.5C544 169.5 537.3 153.2 525.3 141.2L466.7 82.7C454.7 70.7 438.5 64 421.5 64L288 64C252.7 64 224 92.7 224 128L224 384C224 419.3 252.7 448 288 448zM160 192C124.7 192 96 220.7 96 256L96 512C96 547.3 124.7 576 160 576L352 576C387.3 576 416 547.3 416 512L416 496L368 496L368 512C368 520.8 360.8 528 352 528L160 528C151.2 528 144 520.8 144 512L144 256C144 247.2 151.2 240 160 240L176 240L176 192L160 192z"
|
|
5185
5185
|
})], -1)]], 32)), [[F(n), s.value]])]));
|
|
5186
5186
|
}
|
|
5187
|
-
}), [["styles", [".g-clipboard-text-button[data-v-
|
|
5187
|
+
}), [["styles", [".g-clipboard-text-button[data-v-bd5d31d2]{cursor:pointer;color:var(--g-surface-0);background:var(--g-primary-500);border:1px solid var(--g-primary-500);border-radius:4px;align-items:center;margin-left:.5rem;padding:.4rem;font-size:14px;display:inline-flex}.g-clipboard-text-button .g-clipboard-svg[data-v-bd5d31d2]{display:block}.g-clipboard-text-button[data-v-bd5d31d2]:hover{color:var(--g-primary-500);background:var(--g-surface-0)}.g-clipboard-text-button[data-v-bd5d31d2]:focus{color:var(--g-primary-500);background:var(--g-info-200);outline-color:var(--g-primary-500)}.g-clipboard-text-button [data-v-bd5d31d2] span{display:block}"]], ["__scopeId", "data-v-bd5d31d2"]]), Au = ["for"], ju = ["id"], Mu = {
|
|
5188
5188
|
key: 0,
|
|
5189
5189
|
class: "g-text-input-prefix"
|
|
5190
5190
|
}, Nu = [
|
|
@@ -5277,19 +5277,19 @@ var Du = {
|
|
|
5277
5277
|
function v(e) {
|
|
5278
5278
|
(e.key === "PageUp" || e.key === "PageDown") && (p &&= (clearTimeout(p), null), m(e.target.value)), e.key === "Enter" && m(e.target.value);
|
|
5279
5279
|
}
|
|
5280
|
-
return (t, a) => (G(), K("div", { class:
|
|
5280
|
+
return (t, a) => (G(), K("div", { class: A(["g-text-input-wrap", { "g-text-input-has-error": F(u) }]) }, [
|
|
5281
5281
|
n.label ? (G(), K("label", {
|
|
5282
5282
|
key: 0,
|
|
5283
5283
|
for: c.value,
|
|
5284
5284
|
class: "g-text-input-label"
|
|
5285
|
-
},
|
|
5285
|
+
}, j(n.label), 9, Au)) : Z("", !0),
|
|
5286
5286
|
t.$slots.instructions || e.instructions ? (G(), K("div", {
|
|
5287
5287
|
key: 1,
|
|
5288
5288
|
id: "instructions-" + F(i),
|
|
5289
5289
|
class: "g-text-input-instructions"
|
|
5290
|
-
}, [V(t.$slots, "instructions", {}, () => [X(
|
|
5291
|
-
J("div", { class:
|
|
5292
|
-
n.prefix ? (G(), K("span", Mu,
|
|
5290
|
+
}, [V(t.$slots, "instructions", {}, () => [X(j(e.instructions), 1)], !0)], 8, ju)) : Z("", !0),
|
|
5291
|
+
J("div", { class: A([{ "g-text-input-field-wrapper": !0 }, `g-text-input-field-wrapper--${e.name || "nameless"}`]) }, [
|
|
5292
|
+
n.prefix ? (G(), K("span", Mu, j(n.prefix), 1)) : Z("", !0),
|
|
5293
5293
|
J("input", Ha({
|
|
5294
5294
|
value: r.value,
|
|
5295
5295
|
placeholder: n.placeholder,
|
|
@@ -5306,7 +5306,7 @@ var Du = {
|
|
|
5306
5306
|
"aria-describedby": t.$slots.instructions || e.instructions ? "instructions-" + F(i) : void 0,
|
|
5307
5307
|
"aria-errormessage": F(u) ? "error-message-" + F(i) : void 0
|
|
5308
5308
|
}, { "aria-invalid": F(u) ? "true" : "false" }), null, 16, Nu),
|
|
5309
|
-
n.suffix ? (G(), K("span", Pu,
|
|
5309
|
+
n.suffix ? (G(), K("span", Pu, j(n.suffix), 1)) : Z("", !0)
|
|
5310
5310
|
], 2),
|
|
5311
5311
|
Y(su, {
|
|
5312
5312
|
errors: F(l),
|
|
@@ -5314,7 +5314,7 @@ var Du = {
|
|
|
5314
5314
|
}, null, 8, ["errors", "id"])
|
|
5315
5315
|
], 2));
|
|
5316
5316
|
}
|
|
5317
|
-
}), [["styles", [".g-text-input-wrap[data-v-
|
|
5317
|
+
}), [["styles", [".g-text-input-wrap[data-v-6707dd23]{flex-direction:column;display:flex;position:relative}.g-text-input-label[data-v-6707dd23]{margin-bottom:.5em;font-size:1.25em}.g-text-input-instructions[data-v-6707dd23]{color:var(--g-surface-800);margin:0 0 .75em .5em}.g-text-input-field-wrapper[data-v-6707dd23]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);border-radius:4px;align-items:center;display:flex;overflow:hidden}.g-text-input-field-wrapper[data-v-6707dd23]:focus-within{outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-text-input-prefix[data-v-6707dd23],.g-text-input-suffix[data-v-6707dd23]{background:var(--g-surface-100);color:var(--g-surface-700);white-space:nowrap;font-family:var(--il-font-sans);padding:.5em}.g-text-input[data-v-6707dd23]{width:100%;color:var(--g-surface-950);font-size:1em;font-family:var(--il-font-sans);background:0 0;border:none;border-radius:0;padding:.5em}.g-text-input[data-v-6707dd23]:focus{outline:none}.g-text-input-has-error .g-text-input-field-wrapper[data-v-6707dd23]{border-color:var(--g-danger-600);background:var(--g-danger-100)}.g-text-input[data-v-6707dd23]:disabled{color:var(--g-surface-700);background:0 0}.g-text-input-field-wrapper[data-v-6707dd23]:has(.g-text-input:disabled){background:var(--g-surface-100)}"]], ["__scopeId", "data-v-6707dd23"]]), Iu = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5318
5318
|
__name: "GCurrencyInput",
|
|
5319
5319
|
props: /* @__PURE__ */ H({
|
|
5320
5320
|
label: {
|
|
@@ -5505,8 +5505,8 @@ var Du = {
|
|
|
5505
5505
|
}), L(n, (e) => {
|
|
5506
5506
|
e.start !== r.value && (r.value = e.start), e.end !== i.value && (i.value = e.end);
|
|
5507
5507
|
}, { deep: !0 }), (e, n) => (G(), K("div", Ru, [
|
|
5508
|
-
t.label ? (G(), K("div", zu,
|
|
5509
|
-
t.instructions ? (G(), K("div", Bu,
|
|
5508
|
+
t.label ? (G(), K("div", zu, j(t.label), 1)) : Z("", !0),
|
|
5509
|
+
t.instructions ? (G(), K("div", Bu, j(t.instructions), 1)) : Z("", !0),
|
|
5510
5510
|
J("div", Vu, [Y(Lu, {
|
|
5511
5511
|
modelValue: r.value,
|
|
5512
5512
|
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
@@ -5531,7 +5531,7 @@ var Du = {
|
|
|
5531
5531
|
F(a).length > 0 ? (G(), K("div", Hu, [(G(!0), K(W, null, B(F(a), (e, t) => (G(), K("div", {
|
|
5532
5532
|
key: t,
|
|
5533
5533
|
class: "g-date-range-input__error"
|
|
5534
|
-
},
|
|
5534
|
+
}, j(e), 1))), 128))])) : Z("", !0)
|
|
5535
5535
|
]));
|
|
5536
5536
|
}
|
|
5537
5537
|
}), [["styles", [".g-date-range-input[data-v-210e354e]{flex-direction:column;gap:.5rem;display:flex}.g-date-range-input__label[data-v-210e354e]{font-size:1.25em;font-weight:600}.g-date-range-input__instructions[data-v-210e354e]{color:var(--g-surface-800);margin:0 0 .25em .5em}.g-date-range-input__fields[data-v-210e354e]{flex-direction:row;align-items:flex-start;gap:1rem;display:flex}.g-date-range-input__field[data-v-210e354e]{flex:1;min-width:0}.g-date-range-input__errors[data-v-210e354e]{flex-direction:column;gap:.25em;display:flex}.g-date-range-input__error[data-v-210e354e]{background:var(--g-surface-0);color:var(--g-danger-600);padding:.25em .5em}"]], ["__scopeId", "data-v-210e354e"]]), Wu = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
@@ -5542,13 +5542,13 @@ var Du = {
|
|
|
5542
5542
|
} },
|
|
5543
5543
|
setup(e) {
|
|
5544
5544
|
let t = e;
|
|
5545
|
-
return (e, n) => (G(), K("dl", { class:
|
|
5545
|
+
return (e, n) => (G(), K("dl", { class: A(["g-detail-list", `g-detail-list--${t.variant}`]) }, [V(e.$slots, "default", {}, void 0, !0)], 2));
|
|
5546
5546
|
}
|
|
5547
5547
|
}), [["styles", [".g-detail-list[data-v-b851df7b]{margin:0}.g-detail-list--grid[data-v-b851df7b]{grid-template-columns:repeat(auto-fill, minmax(var(--g-detail-list-item-min-width,10rem), var(--g-detail-list-item-max-width,1fr)));align-items:start;gap:1.5rem 2.5rem;display:grid}.g-detail-list--grid[data-v-b851df7b] .g-detail-list-item{border-left:2px solid var(--g-accent-500);flex-direction:column;padding-left:.75rem;display:flex}.g-detail-list--grid[data-v-b851df7b] .g-detail-list-item__label{font-size:.875rem}.g-detail-list--vertical[data-v-b851df7b]{flex-direction:column;display:flex}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item{border-bottom:1px solid var(--g-surface-200);grid-template-columns:minmax(0,12rem) minmax(0,1fr);gap:.25rem 1rem;padding:.75rem 0;display:grid}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item:last-child{border-bottom:none}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item__label{align-self:start;font-size:1rem}.g-detail-list--vertical[data-v-b851df7b] .g-detail-list-item__value{text-align:right;justify-self:end}"]], ["__scopeId", "data-v-b851df7b"]]), Gu = { class: "g-detail-list-item" }, Ku = { class: "g-detail-list-item__label" }, qu = { class: "g-detail-list-item__value" }, Ju = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5548
5548
|
__name: "GDetailListItem",
|
|
5549
5549
|
props: { label: { type: String } },
|
|
5550
5550
|
setup(e) {
|
|
5551
|
-
return (t, n) => (G(), K("div", Gu, [J("dt", Ku, [V(t.$slots, "label", {}, () => [X(
|
|
5551
|
+
return (t, n) => (G(), K("div", Gu, [J("dt", Ku, [V(t.$slots, "label", {}, () => [X(j(e.label), 1)])]), J("dd", qu, [V(t.$slots, "default")])]));
|
|
5552
5552
|
}
|
|
5553
5553
|
}), [["styles", [".g-detail-list-item{margin:0}.g-detail-list-item__label{color:var(--g-primary-500);margin:0;font-weight:700}.g-detail-list-item__value{margin:0}"]]]), Yu = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5554
5554
|
__name: "GEmailInput",
|
|
@@ -5681,17 +5681,17 @@ var Du = {
|
|
|
5681
5681
|
s.value = c(n), r.value = n, o("change", n);
|
|
5682
5682
|
}
|
|
5683
5683
|
let u = Q(() => [...a.value, ...s.value]), d = Q(() => u.value.length > 0), f = Q(() => r.value.map((e) => e.name));
|
|
5684
|
-
return (t, n) => (G(), K("div", { class:
|
|
5684
|
+
return (t, n) => (G(), K("div", { class: A(["g-file-input-wrap", { "g-file-input-has-error": d.value }]) }, [
|
|
5685
5685
|
e.label ? (G(), K("label", {
|
|
5686
5686
|
key: 0,
|
|
5687
5687
|
for: F(i),
|
|
5688
5688
|
class: "g-file-input-label"
|
|
5689
|
-
}, [X(
|
|
5690
|
-
J("div", { class:
|
|
5689
|
+
}, [X(j(e.label) + " ", 1), e.required ? (G(), K("span", Zu, "*")) : Z("", !0)], 8, Xu)) : Z("", !0),
|
|
5690
|
+
J("div", { class: A(["g-file-input-box", { "g-file-input-box--disabled": e.disabled }]) }, [
|
|
5691
5691
|
e.instructions ? (G(), K("div", Qu, [J("span", {
|
|
5692
5692
|
id: "instructions-" + F(i),
|
|
5693
5693
|
class: "g-file-input-instructions"
|
|
5694
|
-
},
|
|
5694
|
+
}, j(e.instructions), 9, $u)])) : Z("", !0),
|
|
5695
5695
|
J("input", {
|
|
5696
5696
|
id: F(i),
|
|
5697
5697
|
type: "file",
|
|
@@ -5713,7 +5713,7 @@ var Du = {
|
|
|
5713
5713
|
role: "none presentation",
|
|
5714
5714
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5715
5715
|
viewBox: "0 0 640 640"
|
|
5716
|
-
}, [J("path", { d: "M192 64C156.7 64 128 92.7 128 128L128 512C128 547.3 156.7 576 192 576L448 576C483.3 576 512 547.3 512 512L512 234.5C512 217.5 505.3 201.2 493.3 189.2L386.7 82.7C374.7 70.7 358.5 64 341.5 64L192 64zM453.5 240L360 240C346.7 240 336 229.3 336 216L336 122.5L453.5 240z" })], -1), X(" " +
|
|
5716
|
+
}, [J("path", { d: "M192 64C156.7 64 128 92.7 128 128L128 512C128 547.3 156.7 576 192 576L448 576C483.3 576 512 547.3 512 512L512 234.5C512 217.5 505.3 201.2 493.3 189.2L386.7 82.7C374.7 70.7 358.5 64 341.5 64L192 64zM453.5 240L360 240C346.7 240 336 229.3 336 216L336 122.5L453.5 240z" })], -1), X(" " + j(e), 1)]))), 128))])) : Z("", !0)
|
|
5717
5717
|
], 2),
|
|
5718
5718
|
Y(su, {
|
|
5719
5719
|
errors: u.value,
|
|
@@ -5721,7 +5721,7 @@ var Du = {
|
|
|
5721
5721
|
}, null, 8, ["errors", "id"])
|
|
5722
5722
|
], 2));
|
|
5723
5723
|
}
|
|
5724
|
-
}), [["styles", [".g-file-input-wrap[data-v-
|
|
5724
|
+
}), [["styles", [".g-file-input-wrap[data-v-0c8c7f65]{flex-direction:column;display:flex;position:relative}.g-file-input-label[data-v-0c8c7f65]{margin-bottom:.5em;font-size:1.25em}.g-file-input-required[data-v-0c8c7f65]{color:var(--g-danger-600);margin-left:.2em}.g-file-input-box[data-v-0c8c7f65]{border:1px solid var(--g-primary-500);background:var(--g-surface-50);flex-direction:column;gap:.75em;max-width:360px;padding:.75em;display:flex}.g-file-input-box--disabled[data-v-0c8c7f65]{border-color:var(--g-surface-400);background:var(--g-surface-100)}.g-file-input-has-error .g-file-input-box[data-v-0c8c7f65]{border-color:var(--g-danger-600);background:var(--g-danger-100)}.g-file-input-box-header[data-v-0c8c7f65]{color:var(--g-surface-700);align-items:center;gap:.5em;display:flex}.g-file-input-upload-icon[data-v-0c8c7f65]{width:2em;height:2em;color:var(--g-primary-500);flex-shrink:0}.g-file-input-box--disabled .g-file-input-upload-icon[data-v-0c8c7f65]{color:var(--g-surface-600)}.g-file-input-instructions[data-v-0c8c7f65]{color:var(--g-surface-900);font-size:.9em}.g-file-input[data-v-0c8c7f65]{font-size:1em;font-family:var(--il-font-sans);color:var(--g-surface-950);cursor:pointer;background:0 0;border:none;width:100%;padding:0}.g-file-input[data-v-0c8c7f65]::file-selector-button{font-family:var(--il-font-sans);border:2px solid var(--g-primary-500);background:var(--g-surface-0);color:var(--g-primary-500);cursor:pointer;border-radius:var(--g-border-radius-m);justify-content:center;align-items:center;padding:12px 20px;font-size:19px;font-weight:700;line-height:20px;text-decoration:none;display:inline-flex}.g-file-input[data-v-0c8c7f65]::file-selector-button:hover{background:var(--g-primary-500);color:var(--g-surface-0)}.g-file-input[data-v-0c8c7f65]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200);border-radius:var(--g-border-radius-s)}.g-file-input[data-v-0c8c7f65]:disabled{cursor:not-allowed;color:var(--g-surface-800)}.g-file-input[data-v-0c8c7f65]:disabled::file-selector-button{background:var(--g-surface-200);color:var(--g-surface-900);border-color:var(--g-surface-200);cursor:not-allowed}.g-file-input-pills[data-v-0c8c7f65]{flex-wrap:wrap;gap:.4em;margin:0;padding:0;list-style:none;display:flex}.g-file-input-pill[data-v-0c8c7f65]{border:1px solid var(--g-primary-500);color:var(--g-surface-950);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;align-items:center;gap:.3em;max-width:24em;padding:.2em .7em;font-size:.85em;display:inline-flex;overflow:hidden}.g-file-input-pill-icon[data-v-0c8c7f65]{opacity:.7;flex-shrink:0;width:1em;height:1em}"]], ["__scopeId", "data-v-0c8c7f65"]]), rd = ["action", "method"], id = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
5725
5725
|
__name: "GForm",
|
|
5726
5726
|
props: /* @__PURE__ */ H({
|
|
5727
5727
|
action: {
|
|
@@ -5848,7 +5848,7 @@ var cd = [
|
|
|
5848
5848
|
let s = z();
|
|
5849
5849
|
return (t, n) => (G(), K("button", {
|
|
5850
5850
|
id: `${F(r)?.id ?? F(s)}-hamburger`,
|
|
5851
|
-
class:
|
|
5851
|
+
class: A(["g-hamburger-button", {
|
|
5852
5852
|
"g-hamburger-button--open": F(r)?.open?.value,
|
|
5853
5853
|
"g-hamburger-button--collapsible": F(r)?.isCollapsible?.value
|
|
5854
5854
|
}]),
|
|
@@ -5862,7 +5862,7 @@ var cd = [
|
|
|
5862
5862
|
viewBox: "0 0 51.26 51.26"
|
|
5863
5863
|
}, [J("g", { fill: "currentColor" }, [J("path", { d: "M11.6 16.52h28.06a3.24 3.24 0 1 0 0-6.48H11.6a3.24 3.24 0 0 0 0 6.48ZM39.66 22.07H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48ZM39.66 34.1H11.6a3.24 3.24 0 0 0 0 6.48h28.06a3.24 3.24 0 1 0 0-6.48Z" })])], -1)]], 42, cd));
|
|
5864
5864
|
}
|
|
5865
|
-
}), [["styles", [".g-hamburger-button svg{width:1.6rem}", ".g-hamburger-button[data-v-
|
|
5865
|
+
}), [["styles", [".g-hamburger-button svg{width:1.6rem}", ".g-hamburger-button[data-v-2ff52853]{border:2px solid var(--g-primary-500);background:var(--g-primary-500);width:34px;height:34px;color:var(--g-primary-text);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;padding:0;text-decoration:none;display:none}.g-hamburger-button[data-v-2ff52853]:hover{background:var(--g-primary-text);color:var(--g-primary-500)}.g-hamburger-button[data-v-2ff52853]:active{background:var(--g-accent-500);color:var(--g-primary-text)}.g-hamburger-button[data-v-2ff52853]:focus-visible{color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background);outline-color:var(--g-primary-500)}.g-hamburger-button--collapsible[data-v-2ff52853]{display:flex}"]], ["__scopeId", "data-v-2ff52853"]]), ud = { class: "g-history-scroller-wrapper" }, dd = {
|
|
5866
5866
|
key: 0,
|
|
5867
5867
|
class: "g-history-shadow g-history-shadow--top",
|
|
5868
5868
|
"aria-hidden": "true"
|
|
@@ -5916,7 +5916,7 @@ var cd = [
|
|
|
5916
5916
|
"aria-label": e.label,
|
|
5917
5917
|
onScroll: s
|
|
5918
5918
|
}, [Y(Hl, {
|
|
5919
|
-
class:
|
|
5919
|
+
class: A(["g-scroll-to-bottom-btn", { "scroll-to-bottom-btn--hidden": i.value }]),
|
|
5920
5920
|
size: "small",
|
|
5921
5921
|
type: "button",
|
|
5922
5922
|
onClick: l[0] ||= () => o({ focusLast: !0 }),
|
|
@@ -6000,7 +6000,7 @@ var cd = [
|
|
|
6000
6000
|
id: "modal-label-" + F(o),
|
|
6001
6001
|
class: "g-modal-label",
|
|
6002
6002
|
tabindex: "-1"
|
|
6003
|
-
},
|
|
6003
|
+
}, j(e.label), 9, vd)), J("button", {
|
|
6004
6004
|
class: "g-modal-close",
|
|
6005
6005
|
onClick: p,
|
|
6006
6006
|
"aria-label": "Close"
|
|
@@ -6019,19 +6019,330 @@ var cd = [
|
|
|
6019
6019
|
_: 3
|
|
6020
6020
|
})]));
|
|
6021
6021
|
}
|
|
6022
|
-
}), [["styles", [".g-modal[data-v-
|
|
6022
|
+
}), [["styles", [".g-modal[data-v-1b1aed31]{background:var(--g-surface-50);border-top:8px solid var(--g-accent-500);box-sizing:border-box;height:auto;max-height:90vh;padding:2rem;position:fixed;top:50vh;left:50vw;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 0 2px #0006,0 10px 20px #0000001a}.g-modal--small[data-v-1b1aed31]{width:400px;max-width:90vw}.g-modal--medium[data-v-1b1aed31]{width:600px;max-width:90vw}.g-modal--large[data-v-1b1aed31]{width:900px;max-width:90vw}.g-modal--full[data-v-1b1aed31]{border-top:none;width:100vw;max-width:none;height:100vh;max-height:none}.g-modal-header[data-v-1b1aed31]{justify-content:space-between;align-items:flex-start;display:flex}.g-modal-label[data-v-1b1aed31]{font-family:var(--il-font-heading);color:var(--g-primary-500);margin-top:0;font-size:2rem}.g-modal-close[data-v-1b1aed31]{cursor:pointer;color:var(--g-surface-600);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;margin:-1.25rem -1rem -1rem 1rem;padding:.5rem;display:flex}.g-modal-close[data-v-1b1aed31]:hover{background:var(--g-primary-500);color:var(--g-primary-text)}.g-modal-close[data-v-1b1aed31]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}"]], ["__scopeId", "data-v-1b1aed31"]]);
|
|
6023
|
+
//#endregion
|
|
6024
|
+
//#region src/compose/useSelectDropdown.ts
|
|
6025
|
+
function xd(e) {
|
|
6026
|
+
return e.map((e) => typeof e == "string" ? {
|
|
6027
|
+
label: e,
|
|
6028
|
+
value: e
|
|
6029
|
+
} : e);
|
|
6030
|
+
}
|
|
6031
|
+
function Sd({ open: e, anchorRef: t, listboxRef: n, baseId: r, activeIndex: i }) {
|
|
6032
|
+
let { push: a, pop: o, isTop: s } = Ks(r), c = /* @__PURE__ */ P("below"), l = /* @__PURE__ */ P(null), u = Q(() => {
|
|
6033
|
+
let e = {};
|
|
6034
|
+
return l.value !== null && (e.maxHeight = `${l.value}px`), c.value === "above" ? (e.top = "auto", e.bottom = "100%") : (e.top = "100%", e.bottom = "auto"), e;
|
|
6035
|
+
});
|
|
6036
|
+
function d() {
|
|
6037
|
+
if (!e.value || !t.value) return;
|
|
6038
|
+
let r = t.value.getBoundingClientRect(), i = window.innerHeight - r.bottom, a = r.top, o = n.value?.scrollHeight ?? 200;
|
|
6039
|
+
i >= Math.min(200, o) ? (c.value = "below", l.value = Math.max(0, Math.floor(i - 8))) : a > i ? (c.value = "above", l.value = Math.max(0, Math.floor(a - 8))) : (c.value = "below", l.value = Math.max(0, Math.floor(i - 8)));
|
|
6040
|
+
}
|
|
6041
|
+
let f = null;
|
|
6042
|
+
function p() {
|
|
6043
|
+
if (f) return;
|
|
6044
|
+
let e = () => d();
|
|
6045
|
+
window.addEventListener("resize", e, { passive: !0 }), window.addEventListener("scroll", e, {
|
|
6046
|
+
passive: !0,
|
|
6047
|
+
capture: !0
|
|
6048
|
+
}), f = () => {
|
|
6049
|
+
window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0), f = null;
|
|
6050
|
+
};
|
|
6051
|
+
}
|
|
6052
|
+
function m() {
|
|
6053
|
+
f && f();
|
|
6054
|
+
}
|
|
6055
|
+
L(e, (e) => {
|
|
6056
|
+
e ? (a(), p(), Mn(() => d())) : (o(), m(), c.value = "below", l.value = null);
|
|
6057
|
+
}), Jr(() => {
|
|
6058
|
+
m();
|
|
6059
|
+
});
|
|
6060
|
+
function h() {
|
|
6061
|
+
Mn(() => {
|
|
6062
|
+
let e = document.getElementById(`${r}-option-${i.value}`);
|
|
6063
|
+
e && e.scrollIntoView({ block: "nearest" });
|
|
6064
|
+
});
|
|
6065
|
+
}
|
|
6066
|
+
return {
|
|
6067
|
+
menuPlacement: c,
|
|
6068
|
+
menuStyle: u,
|
|
6069
|
+
isTop: s,
|
|
6070
|
+
scrollOptionIntoView: h
|
|
6071
|
+
};
|
|
6072
|
+
}
|
|
6073
|
+
//#endregion
|
|
6074
|
+
//#region src/components/GMultiSelect.vue?vue&type=script&setup=true&lang.ts
|
|
6075
|
+
var Cd = ["id", "for"], wd = ["id"], Td = ["aria-labelledby"], Ed = { class: "g-multiselect-chip-label" }, Dd = [
|
|
6076
|
+
"aria-label",
|
|
6077
|
+
"disabled",
|
|
6078
|
+
"onClick"
|
|
6079
|
+
], Od = [
|
|
6080
|
+
"id",
|
|
6081
|
+
"value",
|
|
6082
|
+
"placeholder",
|
|
6083
|
+
"disabled",
|
|
6084
|
+
"aria-expanded",
|
|
6085
|
+
"aria-controls",
|
|
6086
|
+
"aria-activedescendant",
|
|
6087
|
+
"aria-describedby"
|
|
6088
|
+
], kd = ["id"], Ad = [
|
|
6089
|
+
"id",
|
|
6090
|
+
"aria-selected",
|
|
6091
|
+
"onClick"
|
|
6092
|
+
], jd = {
|
|
6093
|
+
class: "g-multiselect-option-check",
|
|
6094
|
+
"aria-hidden": "true"
|
|
6095
|
+
}, Md = {
|
|
6096
|
+
key: 0,
|
|
6097
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6098
|
+
viewBox: "0 0 640 640",
|
|
6099
|
+
width: "1.25em"
|
|
6100
|
+
}, Nd = {
|
|
6101
|
+
key: 1,
|
|
6102
|
+
"aria-live": "polite",
|
|
6103
|
+
class: "g-multiselect-option g-multiselect-no-results"
|
|
6104
|
+
}, Pd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6105
|
+
__name: "GMultiSelect",
|
|
6106
|
+
props: /* @__PURE__ */ H({
|
|
6107
|
+
options: { type: Array },
|
|
6108
|
+
label: { type: String },
|
|
6109
|
+
hiddenLabel: {
|
|
6110
|
+
type: Boolean,
|
|
6111
|
+
default: !1
|
|
6112
|
+
},
|
|
6113
|
+
placeholder: { type: String },
|
|
6114
|
+
disabled: {
|
|
6115
|
+
type: Boolean,
|
|
6116
|
+
default: !1
|
|
6117
|
+
},
|
|
6118
|
+
name: { type: String },
|
|
6119
|
+
errors: {
|
|
6120
|
+
default: () => [],
|
|
6121
|
+
type: Array
|
|
6122
|
+
},
|
|
6123
|
+
instructions: { type: String },
|
|
6124
|
+
formKey: { type: String }
|
|
6125
|
+
}, {
|
|
6126
|
+
modelValue: { default: () => [] },
|
|
6127
|
+
modelModifiers: {}
|
|
6128
|
+
}),
|
|
6129
|
+
emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
|
|
6130
|
+
setup(e, { emit: t }) {
|
|
6131
|
+
let n = e, r = t, i = U(e, "modelValue"), a = z(), o = /* @__PURE__ */ P(null), s = /* @__PURE__ */ P(null), c = /* @__PURE__ */ P(null), l = /* @__PURE__ */ P(!1), u = /* @__PURE__ */ P(0), d = /* @__PURE__ */ P(""), f = /* @__PURE__ */ P(!1), { displayErrors: p, hasErrors: m } = au({
|
|
6132
|
+
name: n.name,
|
|
6133
|
+
value: i,
|
|
6134
|
+
errors: /* @__PURE__ */ dn(n, "errors"),
|
|
6135
|
+
formKey: n.formKey
|
|
6136
|
+
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Sd({
|
|
6137
|
+
open: l,
|
|
6138
|
+
anchorRef: s,
|
|
6139
|
+
listboxRef: c,
|
|
6140
|
+
baseId: a,
|
|
6141
|
+
activeIndex: u
|
|
6142
|
+
}), y = Q(() => xd(n.options)), b = Q(() => {
|
|
6143
|
+
if (!d.value) return y.value;
|
|
6144
|
+
let e = d.value.toLowerCase();
|
|
6145
|
+
return y.value.filter((t) => t.label.toLowerCase().includes(e));
|
|
6146
|
+
});
|
|
6147
|
+
function x(e) {
|
|
6148
|
+
return i.value.includes(e);
|
|
6149
|
+
}
|
|
6150
|
+
function S(e) {
|
|
6151
|
+
let t = y.value.find((t) => t.value === e);
|
|
6152
|
+
return t ? t.label : String(e);
|
|
6153
|
+
}
|
|
6154
|
+
function C() {
|
|
6155
|
+
n.disabled || (l.value = !0, u.value = 0);
|
|
6156
|
+
}
|
|
6157
|
+
function w() {
|
|
6158
|
+
l.value = !1, d.value = "";
|
|
6159
|
+
}
|
|
6160
|
+
function T(e) {
|
|
6161
|
+
let t = b.value[e];
|
|
6162
|
+
if (!t) return;
|
|
6163
|
+
let n = i.value, a = x(t.value) ? n.filter((e) => e !== t.value) : [...n, t.value];
|
|
6164
|
+
i.value = a, r("change", a), Mn(() => o.value?.focus());
|
|
6165
|
+
}
|
|
6166
|
+
function E(e) {
|
|
6167
|
+
if (n.disabled) return;
|
|
6168
|
+
let t = i.value.filter((t) => t !== e);
|
|
6169
|
+
i.value = t, r("change", t);
|
|
6170
|
+
}
|
|
6171
|
+
function ee() {
|
|
6172
|
+
n.disabled || (o.value?.focus(), l.value || C());
|
|
6173
|
+
}
|
|
6174
|
+
function D(e) {
|
|
6175
|
+
d.value = e.target.value, u.value = 0, l.value || C();
|
|
6176
|
+
}
|
|
6177
|
+
function te() {
|
|
6178
|
+
n.disabled || l.value || C();
|
|
6179
|
+
}
|
|
6180
|
+
function O(e) {
|
|
6181
|
+
if (f.value) {
|
|
6182
|
+
f.value = !1;
|
|
6183
|
+
return;
|
|
6184
|
+
}
|
|
6185
|
+
let t = e.relatedTarget;
|
|
6186
|
+
t && c.value?.contains(t) || t && s.value?.contains(t) || w();
|
|
6187
|
+
}
|
|
6188
|
+
function ne(e) {
|
|
6189
|
+
e.preventDefault();
|
|
6190
|
+
}
|
|
6191
|
+
function re() {
|
|
6192
|
+
f.value = !0;
|
|
6193
|
+
}
|
|
6194
|
+
function k(e) {
|
|
6195
|
+
if (n.disabled) return;
|
|
6196
|
+
let t = b.value.length - 1;
|
|
6197
|
+
switch (e.key) {
|
|
6198
|
+
case "ArrowDown":
|
|
6199
|
+
e.preventDefault(), l.value ? (u.value = Math.min(t, u.value + 1), v()) : C();
|
|
6200
|
+
break;
|
|
6201
|
+
case "ArrowUp":
|
|
6202
|
+
e.preventDefault(), l.value ? (u.value = Math.max(0, u.value - 1), v()) : C();
|
|
6203
|
+
break;
|
|
6204
|
+
case "Home":
|
|
6205
|
+
e.preventDefault(), u.value = 0, v();
|
|
6206
|
+
break;
|
|
6207
|
+
case "End":
|
|
6208
|
+
e.preventDefault(), u.value = t, v();
|
|
6209
|
+
break;
|
|
6210
|
+
case "Enter":
|
|
6211
|
+
e.preventDefault(), l.value && b.value.length > 0 ? T(u.value) : l.value || C();
|
|
6212
|
+
break;
|
|
6213
|
+
case " ":
|
|
6214
|
+
l.value && !d.value && (e.preventDefault(), b.value.length > 0 && T(u.value));
|
|
6215
|
+
break;
|
|
6216
|
+
case "Escape":
|
|
6217
|
+
_.value && (e.preventDefault(), setTimeout(() => w(), 0));
|
|
6218
|
+
break;
|
|
6219
|
+
case "Backspace":
|
|
6220
|
+
!d.value && i.value.length > 0 && E(i.value[i.value.length - 1]);
|
|
6221
|
+
break;
|
|
6222
|
+
}
|
|
6223
|
+
}
|
|
6224
|
+
let ie = Q(() => `${a}-input`), ae = Q(() => `${a}-label`), oe = Q(() => `${a}-instructions`), se = Q(() => `error-message-${a}`), ce = Q(() => {
|
|
6225
|
+
let e = [];
|
|
6226
|
+
return n.instructions && e.push(oe.value), m.value && e.push(se.value), e.length > 0 ? e.join(" ") : void 0;
|
|
6227
|
+
});
|
|
6228
|
+
return (t, n) => (G(), K("div", { class: A(["g-multiselect-root", {
|
|
6229
|
+
"g-multiselect-open": l.value,
|
|
6230
|
+
"g-multiselect-has-error": F(m)
|
|
6231
|
+
}]) }, [
|
|
6232
|
+
e.hiddenLabel ? Z("", !0) : (G(), K("label", {
|
|
6233
|
+
key: 0,
|
|
6234
|
+
id: ae.value,
|
|
6235
|
+
for: ie.value,
|
|
6236
|
+
class: "g-multiselect-label"
|
|
6237
|
+
}, j(e.label), 9, Cd)),
|
|
6238
|
+
e.instructions ? (G(), K("div", {
|
|
6239
|
+
key: 1,
|
|
6240
|
+
id: oe.value,
|
|
6241
|
+
class: "g-multiselect-instructions"
|
|
6242
|
+
}, j(e.instructions), 9, wd)) : Z("", !0),
|
|
6243
|
+
J("div", {
|
|
6244
|
+
ref_key: "controlRef",
|
|
6245
|
+
ref: s,
|
|
6246
|
+
class: A(["g-multiselect-control", { "g-multiselect-control--disabled": e.disabled }]),
|
|
6247
|
+
onClick: ee
|
|
6248
|
+
}, [
|
|
6249
|
+
J("ul", {
|
|
6250
|
+
class: "g-multiselect-chips",
|
|
6251
|
+
"aria-labelledby": ae.value
|
|
6252
|
+
}, [(G(!0), K(W, null, B(i.value, (t) => (G(), K("li", {
|
|
6253
|
+
key: t,
|
|
6254
|
+
class: "g-multiselect-chip"
|
|
6255
|
+
}, [J("span", Ed, j(S(t)), 1), J("button", {
|
|
6256
|
+
type: "button",
|
|
6257
|
+
class: "g-multiselect-chip-remove",
|
|
6258
|
+
"aria-label": `Remove ${S(t)}`,
|
|
6259
|
+
disabled: e.disabled,
|
|
6260
|
+
onMousedown: re,
|
|
6261
|
+
onClick: js((e) => E(t), ["stop"])
|
|
6262
|
+
}, [...n[0] ||= [J("svg", {
|
|
6263
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6264
|
+
viewBox: "0 0 51.26 51.26",
|
|
6265
|
+
width: "1em",
|
|
6266
|
+
role: "none presentation"
|
|
6267
|
+
}, [J("path", {
|
|
6268
|
+
fill: "currentColor",
|
|
6269
|
+
d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
|
|
6270
|
+
})], -1)]], 40, Dd)]))), 128))], 8, Td),
|
|
6271
|
+
J("input", Ha({
|
|
6272
|
+
ref_key: "inputRef",
|
|
6273
|
+
ref: o,
|
|
6274
|
+
type: "text",
|
|
6275
|
+
role: "combobox",
|
|
6276
|
+
class: "g-multiselect-input",
|
|
6277
|
+
id: ie.value,
|
|
6278
|
+
value: d.value,
|
|
6279
|
+
placeholder: i.value.length === 0 ? e.placeholder : void 0,
|
|
6280
|
+
disabled: e.disabled,
|
|
6281
|
+
autocomplete: "off",
|
|
6282
|
+
"aria-autocomplete": "list",
|
|
6283
|
+
"aria-expanded": l.value ? "true" : "false",
|
|
6284
|
+
"aria-haspopup": "listbox",
|
|
6285
|
+
"aria-controls": F(a) + "-listbox",
|
|
6286
|
+
"aria-activedescendant": l.value && b.value.length > 0 ? F(a) + "-option-" + u.value : void 0
|
|
6287
|
+
}, e.hiddenLabel ? { "aria-label": e.label } : void 0, {
|
|
6288
|
+
"aria-describedby": ce.value,
|
|
6289
|
+
onInput: D,
|
|
6290
|
+
onKeydown: k,
|
|
6291
|
+
onFocus: te,
|
|
6292
|
+
onBlur: O
|
|
6293
|
+
}), null, 16, Od),
|
|
6294
|
+
n[2] ||= J("svg", {
|
|
6295
|
+
class: "g-multiselect-caret",
|
|
6296
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6297
|
+
viewBox: "0 0 51.26 51.26",
|
|
6298
|
+
"aria-hidden": "true",
|
|
6299
|
+
width: "1.125em"
|
|
6300
|
+
}, [J("path", {
|
|
6301
|
+
fill: "currentColor",
|
|
6302
|
+
d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
|
|
6303
|
+
})], -1),
|
|
6304
|
+
Wn(J("div", Ha({
|
|
6305
|
+
ref_key: "listboxRef",
|
|
6306
|
+
ref: c,
|
|
6307
|
+
id: F(a) + "-listbox",
|
|
6308
|
+
role: "listbox",
|
|
6309
|
+
"aria-multiselectable": "true"
|
|
6310
|
+
}, e.hiddenLabel ? { "aria-label": e.label } : { "aria-labelledby": ae.value }, {
|
|
6311
|
+
class: ["g-multiselect-listbox", { "g-multiselect-listbox--above": F(h) === "above" }],
|
|
6312
|
+
style: F(g),
|
|
6313
|
+
tabindex: "-1"
|
|
6314
|
+
}), [b.value.length > 0 ? (G(!0), K(W, { key: 0 }, B(b.value, (e, t) => (G(), K("div", {
|
|
6315
|
+
key: e.value,
|
|
6316
|
+
id: F(a) + "-option-" + t,
|
|
6317
|
+
role: "option",
|
|
6318
|
+
class: A(["g-multiselect-option", {
|
|
6319
|
+
"g-multiselect-option--active": t === u.value,
|
|
6320
|
+
"g-multiselect-option--selected": x(e.value)
|
|
6321
|
+
}]),
|
|
6322
|
+
"aria-selected": x(e.value) ? "true" : "false",
|
|
6323
|
+
onMousedown: ne,
|
|
6324
|
+
onClick: (e) => T(t)
|
|
6325
|
+
}, [J("span", jd, [x(e.value) ? (G(), K("svg", Md, [...n[1] ||= [J("path", { d: "M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" }, null, -1)]])) : Z("", !0)]), X(" " + j(e.label), 1)], 42, Ad))), 128)) : (G(), K("div", Nd, " No results found. "))], 16, kd), [[Ko, l.value]])
|
|
6326
|
+
], 2),
|
|
6327
|
+
Y(su, {
|
|
6328
|
+
errors: F(p),
|
|
6329
|
+
id: se.value
|
|
6330
|
+
}, null, 8, ["errors", "id"])
|
|
6331
|
+
], 2));
|
|
6332
|
+
}
|
|
6333
|
+
}), [["styles", [".g-multiselect-root[data-v-b5f1ff3e]{font-size:1rem;position:relative}.g-multiselect-label[data-v-b5f1ff3e]{color:var(--g-surface-900);margin-bottom:.5em;font-weight:700}.g-multiselect-instructions[data-v-b5f1ff3e]{color:var(--g-surface-800);margin:0 0 .5em}.g-multiselect-control[data-v-b5f1ff3e]{background:var(--g-surface-0);min-height:calc(2.375em + 4px);color:var(--g-surface-900);border:2px solid var(--g-primary-500);border-radius:var(--g-border-radius-m);cursor:text;box-sizing:border-box;flex-wrap:wrap;align-items:center;gap:.375em;padding:.3em 2.25em .3em .5em;list-style:none;display:flex;position:relative}.g-multiselect-control[data-v-b5f1ff3e]:focus-within{outline:2px solid var(--g-primary-500);outline-offset:1px;box-shadow:0 0 0 2px var(--g-info-200)}.g-multiselect-control--disabled[data-v-b5f1ff3e]{cursor:not-allowed;border-color:var(--g-surface-400)}.g-multiselect-control--disabled .g-multiselect-input[data-v-b5f1ff3e]{opacity:.6;cursor:not-allowed}.g-multiselect-control--disabled .g-multiselect-caret[data-v-b5f1ff3e]{opacity:.6}.g-multiselect-has-error .g-multiselect-control[data-v-b5f1ff3e]{border-color:var(--g-danger-600);background:var(--g-danger-100)}.g-multiselect-chips[data-v-b5f1ff3e]{box-sizing:border-box;flex-wrap:wrap;gap:.375em;margin:0;padding:0;list-style:none;display:flex}.g-multiselect-chip[data-v-b5f1ff3e]{background:var(--g-primary-500);color:var(--g-primary-text);border-radius:1em;align-items:center;gap:.2em;max-width:100%;padding:.1em .4em .1em .6em;line-height:1.5;display:inline-flex}.g-multiselect-chip-label[data-v-b5f1ff3e]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.g-multiselect-chip-remove[data-v-b5f1ff3e]{color:inherit;cursor:pointer;box-sizing:border-box;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;padding:.15em;line-height:1;display:inline-flex}.g-multiselect-chip-remove[data-v-b5f1ff3e]:hover{background:#00000026}.g-multiselect-chip-remove[data-v-b5f1ff3e]:focus-visible{outline-offset:1px;outline:2px solid}.g-multiselect-chip-remove[data-v-b5f1ff3e]:disabled{cursor:not-allowed;opacity:.7}.g-multiselect-input[data-v-b5f1ff3e]{min-width:4em;font-family:var(--il-font-sans);color:var(--g-surface-900);cursor:text;background:0 0;border:none;outline:none;flex:1;padding:0;font-size:1em;line-height:1.875em}.g-multiselect-input[data-v-b5f1ff3e]:disabled{cursor:not-allowed}.g-multiselect-input[data-v-b5f1ff3e]::placeholder{color:var(--g-surface-600)}.g-multiselect-caret[data-v-b5f1ff3e]{color:var(--g-accent-700);pointer-events:none;transition:transform .15s;position:absolute;top:calc(50% - .55em);right:.5em;transform:rotate(90deg)}.g-multiselect-open .g-multiselect-caret[data-v-b5f1ff3e]{transform:rotate(-90deg)}.g-multiselect-listbox[data-v-b5f1ff3e]{z-index:1000;background-color:var(--g-surface-0);border:2px solid var(--g-surface-700);border-radius:0 0 var(--g-border-radius-m) var(--g-border-radius-m);box-sizing:border-box;width:100%;max-height:50vh;display:none;position:absolute;top:100%;left:0;overflow-y:auto;box-shadow:0 4px 4px #0003,0 1px 0 1px #0000002e}.g-multiselect-open .g-multiselect-listbox[data-v-b5f1ff3e]{display:block}.g-multiselect-listbox--above[data-v-b5f1ff3e]{border-radius:var(--g-border-radius-m) var(--g-border-radius-m) 0 0;top:auto;bottom:100%}.g-multiselect-option[data-v-b5f1ff3e]{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid #0000;align-items:center;gap:.5em;padding:.5em;display:flex}.g-multiselect-option[data-v-b5f1ff3e]:hover{color:var(--g-accent-700);border-color:var(--g-accent-700);text-decoration:underline}.g-multiselect-option--active[data-v-b5f1ff3e]{background:var(--g-primary-500);color:var(--g-primary-text)}.g-multiselect-option--active[data-v-b5f1ff3e]:hover{color:var(--g-primary-text)}.g-multiselect-option-check[data-v-b5f1ff3e]{flex-shrink:0;justify-content:center;align-items:center;width:1.25em;display:block}.g-multiselect-option-check[data-v-b5f1ff3e] svg{fill:currentColor;display:block}.g-multiselect-no-results[data-v-b5f1ff3e]{text-align:center;color:var(--g-surface-900);padding:.25em 1em;font-style:italic}"]], ["__scopeId", "data-v-b5f1ff3e"]]), Fd = {
|
|
6023
6334
|
key: 0,
|
|
6024
6335
|
class: "g-scroll-lock-overlay"
|
|
6025
|
-
},
|
|
6336
|
+
}, Id = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6026
6337
|
__name: "GOverlay",
|
|
6027
6338
|
setup(e) {
|
|
6028
6339
|
let { hasScrollLock: t } = qs();
|
|
6029
6340
|
return (e, n) => (G(), q(Oo, { name: "g-fade" }, {
|
|
6030
|
-
default: I(() => [F(t) ? (G(), K("div",
|
|
6341
|
+
default: I(() => [F(t) ? (G(), K("div", Fd)) : Z("", !0)]),
|
|
6031
6342
|
_: 1
|
|
6032
6343
|
}));
|
|
6033
6344
|
}
|
|
6034
|
-
}), [["styles", ["@layer override{body.g-scroll-lock{overflow:hidden}.g-scroll-lock-overlay{z-index:199;background:#00000040;position:fixed;inset:0}}"]]]),
|
|
6345
|
+
}), [["styles", ["@layer override{body.g-scroll-lock{overflow:hidden}.g-scroll-lock-overlay{z-index:199;background:#00000040;position:fixed;inset:0}}"]]]), Ld = { class: "g-popover-wrap" }, Rd = ["id"], zd = ["aria-labelledby", "aria-label"], Bd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6035
6346
|
__name: "GPopover",
|
|
6036
6347
|
props: {
|
|
6037
6348
|
minimal: {
|
|
@@ -6109,13 +6420,13 @@ var cd = [
|
|
|
6109
6420
|
show: y,
|
|
6110
6421
|
hide: b,
|
|
6111
6422
|
toggle: x
|
|
6112
|
-
}), (t, n) => (G(), K("div",
|
|
6423
|
+
}), (t, n) => (G(), K("div", Ld, [s.value ? (G(), K("div", {
|
|
6113
6424
|
key: 0,
|
|
6114
6425
|
ref_key: "triggerRef",
|
|
6115
6426
|
ref: c,
|
|
6116
6427
|
class: "g-popover-trigger",
|
|
6117
6428
|
id: `${F(f)}-trigger`
|
|
6118
|
-
}, [V(t.$slots, "trigger", { toggle: x }, void 0, !0)], 8,
|
|
6429
|
+
}, [V(t.$slots, "trigger", { toggle: x }, void 0, !0)], 8, Rd)) : Z("", !0), (G(), q(fr, {
|
|
6119
6430
|
to: "#modal-root",
|
|
6120
6431
|
disabled: F(d)
|
|
6121
6432
|
}, [Y(Oo, {
|
|
@@ -6126,7 +6437,7 @@ var cd = [
|
|
|
6126
6437
|
key: 0,
|
|
6127
6438
|
ref_key: "popoverRef",
|
|
6128
6439
|
ref: l,
|
|
6129
|
-
class:
|
|
6440
|
+
class: A({
|
|
6130
6441
|
"g-popover": !0,
|
|
6131
6442
|
"g-popover-above": w.value,
|
|
6132
6443
|
"g-popover-below": !w.value,
|
|
@@ -6136,7 +6447,7 @@ var cd = [
|
|
|
6136
6447
|
"aria-modal": "true",
|
|
6137
6448
|
"aria-labelledby": s.value ? `${F(f)}-trigger` : void 0,
|
|
6138
6449
|
"aria-label": s.value ? void 0 : "Popover",
|
|
6139
|
-
style:
|
|
6450
|
+
style: ue({
|
|
6140
6451
|
top: S.value.top + "px",
|
|
6141
6452
|
left: S.value.left + "px",
|
|
6142
6453
|
zIndex: F(g)
|
|
@@ -6144,8 +6455,8 @@ var cd = [
|
|
|
6144
6455
|
}, [
|
|
6145
6456
|
!T.value && !e.minimal ? (G(), K("div", {
|
|
6146
6457
|
key: 0,
|
|
6147
|
-
class:
|
|
6148
|
-
style:
|
|
6458
|
+
class: A(["g-popover-arrow", { "g-popover-arrow-above": w.value }]),
|
|
6459
|
+
style: ue(C.value),
|
|
6149
6460
|
"aria-hidden": "true"
|
|
6150
6461
|
}, null, 6)) : Z("", !0),
|
|
6151
6462
|
V(t.$slots, "default", {}, void 0, !0),
|
|
@@ -6164,11 +6475,11 @@ var cd = [
|
|
|
6164
6475
|
fill: "currentColor",
|
|
6165
6476
|
d: "m37.84 32.94-7.63-7.63 7.63-7.63a3.24 3.24 0 0 0-4.58-4.58l-7.63 7.63L18 13.1a3.24 3.24 0 0 0-4.58 4.58L21 25.31l-7.62 7.63A3.24 3.24 0 1 0 18 37.52l7.63-7.63 7.63 7.63a3.24 3.24 0 0 0 4.58-4.58Z"
|
|
6166
6477
|
})], -1)]]))
|
|
6167
|
-
], 14,
|
|
6478
|
+
], 14, zd)), [[Ko, a.value]]) : Z("", !0)]),
|
|
6168
6479
|
_: 3
|
|
6169
6480
|
})], 8, ["disabled"]))]));
|
|
6170
6481
|
}
|
|
6171
|
-
}), [["styles", [".g-popover h2{margin:0 0 .75rem;font-size:1.25rem}.g-popover p{margin:0 0 .5rem}.g-popover-trigger{display:inline-block}", ".g-popover[data-v-
|
|
6482
|
+
}), [["styles", [".g-popover h2{margin:0 0 .75rem;font-size:1.25rem}.g-popover p{margin:0 0 .5rem}.g-popover-trigger{display:inline-block}", ".g-popover[data-v-7510826c]{z-index:1000;background:var(--g-surface-0);border:1px solid var(--g-surface-200);color:var(--g-surface-900);box-shadow:var(--il-shadow);text-align:left;border-radius:4px;min-width:200px;max-width:500px;padding:1.5rem 1rem 1rem;font-size:1rem;font-weight:400;position:fixed;top:0;left:0}.g-popover.g-popover-minimal[data-v-7510826c]{min-width:0;padding:0}.g-popover-arrow[data-v-7510826c]{box-sizing:border-box;pointer-events:none;z-index:1;width:20px;height:8px;position:absolute;top:-8px;left:50%;transform:translate(-50%)}.g-popover-arrow[data-v-7510826c]:after{box-sizing:border-box;content:\"\";z-index:2;background:0 0;border-bottom:8px solid #fff;border-left:8px solid #0000;border-right:8px solid #0000;width:16px;height:8px;margin:0 auto;display:block;position:relative}.g-popover-arrow[data-v-7510826c]:before{box-sizing:border-box;content:\"\";border-left:8px solid #0000;border-right:8px solid #0000;border-bottom:8px solid var(--g-surface-200,#ccc);z-index:1;width:18px;height:9px;display:block;position:absolute;top:-1px;left:1px}.g-popover-arrow-above[data-v-7510826c]{transform:translate(-50%)rotate(180deg)}.g-popover-close[data-v-7510826c]{cursor:pointer;background:0 0;border:none;border-radius:7px;padding:.25rem;display:block;position:absolute;top:1px;right:1px}.g-popover-close[data-v-7510826c]:hover{background:var(--g-primary-500);color:var(--g-surface-0)}.g-popover-close[data-v-7510826c]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-popover-close .g-popover-close-icon[data-v-7510826c]{width:1.25rem;height:1.25rem;display:block}.g-popover-expand-enter-active[data-v-7510826c],.g-popover-expand-leave-active[data-v-7510826c]{transition:opacity .18s cubic-bezier(.4,0,.2,1),transform .18s cubic-bezier(.4,0,.2,1)}.g-popover-expand-enter-from[data-v-7510826c],.g-popover-expand-leave-to[data-v-7510826c]{opacity:0;transform:scale(.95)}.g-popover-expand-enter-to[data-v-7510826c],.g-popover-expand-leave-from[data-v-7510826c]{opacity:1;transform:scale(1)}@media (prefers-reduced-motion:reduce){.g-popover-expand-enter-active[data-v-7510826c],.g-popover-expand-leave-active[data-v-7510826c]{transition:none!important}}"]], ["__scopeId", "data-v-7510826c"]]), Vd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6172
6483
|
__name: "GTooltip",
|
|
6173
6484
|
props: { text: { type: String } },
|
|
6174
6485
|
emits: ["tooltip-hide"],
|
|
@@ -6257,21 +6568,21 @@ var cd = [
|
|
|
6257
6568
|
class: "g-tooltip-trigger"
|
|
6258
6569
|
}, [V(e.$slots, "trigger", {}, void 0, !0)], 512)) : Z("", !0)], 512));
|
|
6259
6570
|
}
|
|
6260
|
-
}), [["styles", [".g-tooltip-host[data-v-003155b3]{display:contents}.g-tooltip-trigger[data-v-003155b3]{display:inline-block}"]], ["__scopeId", "data-v-003155b3"]]),
|
|
6571
|
+
}), [["styles", [".g-tooltip-host[data-v-003155b3]{display:contents}.g-tooltip-trigger[data-v-003155b3]{display:inline-block}"]], ["__scopeId", "data-v-003155b3"]]), Hd = ["width", "height"], Ud = [
|
|
6261
6572
|
"cx",
|
|
6262
6573
|
"cy",
|
|
6263
6574
|
"r"
|
|
6264
|
-
],
|
|
6575
|
+
], Wd = [
|
|
6265
6576
|
"cx",
|
|
6266
6577
|
"cy",
|
|
6267
6578
|
"r",
|
|
6268
6579
|
"stroke-dasharray",
|
|
6269
6580
|
"stroke-dashoffset"
|
|
6270
|
-
],
|
|
6581
|
+
], Gd = [
|
|
6271
6582
|
"cx",
|
|
6272
6583
|
"cy",
|
|
6273
6584
|
"r"
|
|
6274
|
-
],
|
|
6585
|
+
], Kd = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6275
6586
|
__name: "GProgress",
|
|
6276
6587
|
props: {
|
|
6277
6588
|
label: {
|
|
@@ -6308,7 +6619,7 @@ var cd = [
|
|
|
6308
6619
|
return (e, t) => (G(), K("span", Ha({ class: "g-progress" }, o.value), [(G(), K("svg", {
|
|
6309
6620
|
width: r.value * 2 + 4,
|
|
6310
6621
|
height: r.value * 2 + 4,
|
|
6311
|
-
class:
|
|
6622
|
+
class: A(["g-progress__svg", {
|
|
6312
6623
|
"g-progress--determinate": n.value,
|
|
6313
6624
|
"g-progress--indeterminate": !n.value
|
|
6314
6625
|
}]),
|
|
@@ -6321,7 +6632,7 @@ var cd = [
|
|
|
6321
6632
|
r: r.value,
|
|
6322
6633
|
"stroke-width": 4,
|
|
6323
6634
|
fill: "none"
|
|
6324
|
-
}, null, 8,
|
|
6635
|
+
}, null, 8, Ud), n.value ? (G(), K("circle", {
|
|
6325
6636
|
key: 0,
|
|
6326
6637
|
class: "g-progress__value",
|
|
6327
6638
|
cx: r.value + 4 / 2,
|
|
@@ -6335,7 +6646,7 @@ var cd = [
|
|
|
6335
6646
|
transform: "rotate(-90deg)",
|
|
6336
6647
|
"transform-origin": "center"
|
|
6337
6648
|
}
|
|
6338
|
-
}, null, 8,
|
|
6649
|
+
}, null, 8, Wd)) : (G(), K("circle", {
|
|
6339
6650
|
key: 1,
|
|
6340
6651
|
class: "g-progress__spinner",
|
|
6341
6652
|
cx: r.value + 4 / 2,
|
|
@@ -6343,29 +6654,29 @@ var cd = [
|
|
|
6343
6654
|
r: r.value,
|
|
6344
6655
|
"stroke-width": 4,
|
|
6345
6656
|
fill: "none"
|
|
6346
|
-
}, null, 8,
|
|
6657
|
+
}, null, 8, Gd))], 10, Hd))], 16));
|
|
6347
6658
|
}
|
|
6348
|
-
}), [["styles", [".g-progress[data-v-c010c3b0]{vertical-align:middle;display:inline-block}.g-progress__svg[data-v-c010c3b0]{display:block}.g-progress__track[data-v-c010c3b0]{stroke:var(--g-surface-200)}.g-progress__value[data-v-c010c3b0]{stroke:var(--g-primary-500);transition:stroke-dashoffset .2s linear}.g-progress__spinner[data-v-c010c3b0]{transform-box:fill-box;transform-origin:50%;stroke:var(--g-primary-500);stroke-dasharray:40 80;animation:1s linear infinite g-progress-spin-c010c3b0}@media (prefers-reduced-motion:reduce){.g-progress__spinner[data-v-c010c3b0]{animation:1s infinite both g-progress-spin-blink-c010c3b0}}@keyframes g-progress-spin-c010c3b0{to{transform:rotate(360deg)}}@keyframes g-progress-spin-blink-c010c3b0{0%,to{opacity:0}50%{opacity:1}}"]], ["__scopeId", "data-v-c010c3b0"]]),
|
|
6659
|
+
}), [["styles", [".g-progress[data-v-c010c3b0]{vertical-align:middle;display:inline-block}.g-progress__svg[data-v-c010c3b0]{display:block}.g-progress__track[data-v-c010c3b0]{stroke:var(--g-surface-200)}.g-progress__value[data-v-c010c3b0]{stroke:var(--g-primary-500);transition:stroke-dashoffset .2s linear}.g-progress__spinner[data-v-c010c3b0]{transform-box:fill-box;transform-origin:50%;stroke:var(--g-primary-500);stroke-dasharray:40 80;animation:1s linear infinite g-progress-spin-c010c3b0}@media (prefers-reduced-motion:reduce){.g-progress__spinner[data-v-c010c3b0]{animation:1s infinite both g-progress-spin-blink-c010c3b0}}@keyframes g-progress-spin-c010c3b0{to{transform:rotate(360deg)}}@keyframes g-progress-spin-blink-c010c3b0{0%,to{opacity:0}50%{opacity:1}}"]], ["__scopeId", "data-v-c010c3b0"]]), qd = ["aria-label"], Jd = [
|
|
6349
6660
|
"placeholder",
|
|
6350
6661
|
"value",
|
|
6351
6662
|
"aria-expanded",
|
|
6352
6663
|
"aria-controls",
|
|
6353
6664
|
"aria-activedescendant"
|
|
6354
|
-
],
|
|
6665
|
+
], Yd = {
|
|
6355
6666
|
key: 0,
|
|
6356
6667
|
class: "g-search-dropdown"
|
|
6357
|
-
},
|
|
6668
|
+
}, Xd = {
|
|
6358
6669
|
"aria-live": "polite",
|
|
6359
6670
|
class: "g-search-result-count"
|
|
6360
|
-
},
|
|
6671
|
+
}, Zd = ["id"], Qd = ["aria-label"], $d = { class: "g-search-group-label" }, ef = [
|
|
6361
6672
|
"id",
|
|
6362
6673
|
"onMousedown",
|
|
6363
6674
|
"aria-selected"
|
|
6364
|
-
],
|
|
6675
|
+
], tf = [
|
|
6365
6676
|
"id",
|
|
6366
6677
|
"onMousedown",
|
|
6367
6678
|
"aria-selected"
|
|
6368
|
-
],
|
|
6679
|
+
], nf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6369
6680
|
__name: "GSearch",
|
|
6370
6681
|
props: /* @__PURE__ */ H({
|
|
6371
6682
|
results: { type: Array },
|
|
@@ -6452,12 +6763,12 @@ var cd = [
|
|
|
6452
6763
|
"aria-autocomplete": "list",
|
|
6453
6764
|
"aria-controls": `${F(y)}-list`,
|
|
6454
6765
|
"aria-activedescendant": c.value >= 0 ? "g-search-option-" + l.value[c.value].id : void 0
|
|
6455
|
-
}, null, 40,
|
|
6766
|
+
}, null, 40, Jd), J("button", {
|
|
6456
6767
|
type: "submit",
|
|
6457
6768
|
class: "g-search-submit",
|
|
6458
6769
|
"aria-label": "Submit search",
|
|
6459
6770
|
onKeydown: m
|
|
6460
|
-
}, [g.value ? (G(), q(
|
|
6771
|
+
}, [g.value ? (G(), q(Kd, {
|
|
6461
6772
|
key: 0,
|
|
6462
6773
|
size: "tiny"
|
|
6463
6774
|
})) : Z("", !0), t[1] ||= J("svg", {
|
|
@@ -6468,7 +6779,7 @@ var cd = [
|
|
|
6468
6779
|
}, [J("path", {
|
|
6469
6780
|
fill: "currentColor",
|
|
6470
6781
|
d: "M30 9.76A14.05 14.05 0 1 0 28.3 31l11.3 13a3.34 3.34 0 0 0 4.72-4.72L31.44 27.86A14.05 14.05 0 0 0 30 9.76ZM27.27 27a10.26 10.26 0 1 1 0-14.5 10.25 10.25 0 0 1 0 14.5Z"
|
|
6471
|
-
})], -1)], 32)], 32), _.value ? (G(), K("div",
|
|
6782
|
+
})], -1)], 32)], 32), _.value ? (G(), K("div", Yd, [J("div", Xd, [g.value ? Z("", !0) : (G(), K(W, { key: 0 }, [X(j(u.value) + " result" + j(u.value === 1 ? "" : "s"), 1)], 64))]), J("div", {
|
|
6472
6783
|
role: "listbox",
|
|
6473
6784
|
id: `${F(y)}-list`,
|
|
6474
6785
|
ref_key: "listboxRef",
|
|
@@ -6479,43 +6790,43 @@ var cd = [
|
|
|
6479
6790
|
class: "g-search-group",
|
|
6480
6791
|
role: "group",
|
|
6481
6792
|
"aria-label": t.label
|
|
6482
|
-
}, [V(e.$slots, "group", { group: t }, () => [J("div",
|
|
6793
|
+
}, [V(e.$slots, "group", { group: t }, () => [J("div", $d, j(t.label), 1)]), (G(!0), K(W, null, B(t.items, (t, n) => (G(), K("div", {
|
|
6483
6794
|
key: t.id,
|
|
6484
6795
|
id: "g-search-option-" + t.id,
|
|
6485
|
-
class:
|
|
6796
|
+
class: A(["g-search-option", { "g-search-option-active": l.value[c.value] && l.value[c.value].id === t.id }]),
|
|
6486
6797
|
role: "option",
|
|
6487
6798
|
onMousedown: js((e) => h(t), ["prevent"]),
|
|
6488
6799
|
"aria-selected": l.value[c.value] && l.value[c.value].id === t.id
|
|
6489
|
-
}, [V(e.$slots, "option", { option: t }, () => [X(
|
|
6800
|
+
}, [V(e.$slots, "option", { option: t }, () => [X(j(t.title), 1)])], 42, ef))), 128))], 8, Qd))), 128)) : u.value > 0 ? (G(!0), K(W, { key: 1 }, B(l.value, (t, n) => (G(), K("div", {
|
|
6490
6801
|
key: t.id,
|
|
6491
6802
|
id: "g-search-option-" + t.id,
|
|
6492
|
-
class:
|
|
6803
|
+
class: A(["g-search-option", { "g-search-option-active": c.value === n }]),
|
|
6493
6804
|
role: "option",
|
|
6494
6805
|
onMousedown: js((e) => h(t), ["prevent"]),
|
|
6495
6806
|
"aria-selected": c.value === n
|
|
6496
|
-
}, [V(e.$slots, "option", { option: t }, () => [X(
|
|
6807
|
+
}, [V(e.$slots, "option", { option: t }, () => [X(j(t.title), 1)])], 42, tf))), 128)) : Z("", !0)], 8, Zd)])) : Z("", !0)], 8, qd));
|
|
6497
6808
|
}
|
|
6498
|
-
}), [["styles", [".g-search{width:100%;min-width:200px;position:relative}.g-search-form{align-items:stretch;display:flex}.g-search-input{background:var(--g-surface-0);width:100%;color:var(--g-surface-900);border:2px solid var(--g-primary-500);border-top-left-radius:var(--g-border-radius-m);border-bottom-left-radius:var(--g-border-radius-m);border-right-width:1px;padding:.5rem 1rem;font-size:1rem;line-height:1.33rem}.g-search-input:focus{outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-search-submit{box-sizing:border-box;background:var(--g-surface-0);color:var(--g-accent-700);border:2px solid var(--g-primary-500);border-top-right-radius:var(--g-border-radius-m);border-bottom-right-radius:var(--g-border-radius-m);cursor:pointer;border-left-width:1px;justify-content:center;align-items:center;width:44px;padding:.2rem .5rem;font-size:1rem;display:flex}.g-search-submit:focus{color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background)}.g-search-dropdown{background:var(--g-surface-0);border:2px solid var(--g-surface-200);z-index:10;max-height:80vh;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 2px 8px #0000000d}.g-search-result-count{height:28px;color:var(--g-surface-900);background:var(--g-surface-100);padding:.2rem 1rem;font-size:.95rem}.g-search-group-label{color:var(--g-surface-900);background:var(--g-surface-100);padding:.5rem 1rem .25rem;font-weight:700}.g-search-option{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid #0000;padding:.3rem .8rem}.g-search-option:hover{text-decoration:underline}.g-search-option.g-search-option-active{background:var(--g-info-200);color:var(--g-primary-500);border:2px solid var(--g-primary-500)}.fa-spin{color:var(--g-primary-300)}@media (width<=960px){.g-search{min-width:150px}}"]]]),
|
|
6809
|
+
}), [["styles", [".g-search{width:100%;min-width:200px;position:relative}.g-search-form{align-items:stretch;display:flex}.g-search-input{background:var(--g-surface-0);width:100%;color:var(--g-surface-900);border:2px solid var(--g-primary-500);border-top-left-radius:var(--g-border-radius-m);border-bottom-left-radius:var(--g-border-radius-m);border-right-width:1px;padding:.5rem 1rem;font-size:1rem;line-height:1.33rem}.g-search-input:focus{outline:2px solid var(--g-primary-500);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-search-submit{box-sizing:border-box;background:var(--g-surface-0);color:var(--g-accent-700);border:2px solid var(--g-primary-500);border-top-right-radius:var(--g-border-radius-m);border-bottom-right-radius:var(--g-border-radius-m);cursor:pointer;border-left-width:1px;justify-content:center;align-items:center;width:44px;padding:.2rem .5rem;font-size:1rem;display:flex}.g-search-submit:focus{color:var(--ilw-color--focus--text);background:var(--ilw-color--focus--background);outline-color:var(--ilw-color--focus--outline)}.g-search-dropdown{background:var(--g-surface-0);border:2px solid var(--g-surface-200);z-index:10;max-height:80vh;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 2px 8px #0000000d}.g-search-result-count{height:28px;color:var(--g-surface-900);background:var(--g-surface-100);padding:.2rem 1rem;font-size:.95rem}.g-search-group-label{color:var(--g-surface-900);background:var(--g-surface-100);padding:.5rem 1rem .25rem;font-weight:700}.g-search-option{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid #0000;padding:.3rem .8rem}.g-search-option:hover{text-decoration:underline}.g-search-option.g-search-option-active{background:var(--g-info-200);color:var(--g-primary-500);border:2px solid var(--g-primary-500)}.fa-spin{color:var(--g-primary-300)}@media (width<=960px){.g-search{min-width:150px}}"]]]), rf = ["id"], af = { class: "g-select-input-wrap" }, of = ["id"], sf = [
|
|
6499
6810
|
"value",
|
|
6500
6811
|
"placeholder",
|
|
6501
6812
|
"disabled",
|
|
6502
6813
|
"aria-controls",
|
|
6503
6814
|
"aria-expanded",
|
|
6504
6815
|
"aria-activedescendant"
|
|
6505
|
-
],
|
|
6816
|
+
], cf = [
|
|
6506
6817
|
"id",
|
|
6507
6818
|
"aria-controls",
|
|
6508
6819
|
"aria-expanded",
|
|
6509
6820
|
"aria-activedescendant"
|
|
6510
|
-
],
|
|
6821
|
+
], lf = ["id"], uf = [
|
|
6511
6822
|
"id",
|
|
6512
6823
|
"aria-selected",
|
|
6513
6824
|
"onClick"
|
|
6514
|
-
],
|
|
6825
|
+
], df = {
|
|
6515
6826
|
key: 1,
|
|
6516
6827
|
"aria-live": "polite",
|
|
6517
6828
|
class: "g-select-combo-option g-select-option g-select-no-results"
|
|
6518
|
-
},
|
|
6829
|
+
}, ff = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6519
6830
|
__name: "GSelect",
|
|
6520
6831
|
props: /* @__PURE__ */ H({
|
|
6521
6832
|
options: { type: Array },
|
|
@@ -6526,10 +6837,7 @@ var cd = [
|
|
|
6526
6837
|
type: Boolean,
|
|
6527
6838
|
default: !1
|
|
6528
6839
|
},
|
|
6529
|
-
name: {
|
|
6530
|
-
default: void 0,
|
|
6531
|
-
type: String
|
|
6532
|
-
},
|
|
6840
|
+
name: { type: String },
|
|
6533
6841
|
searchable: {
|
|
6534
6842
|
type: Boolean,
|
|
6535
6843
|
default: !1
|
|
@@ -6543,187 +6851,134 @@ var cd = [
|
|
|
6543
6851
|
default: () => [],
|
|
6544
6852
|
type: Array
|
|
6545
6853
|
},
|
|
6546
|
-
formKey: {
|
|
6547
|
-
default: void 0,
|
|
6548
|
-
type: String
|
|
6549
|
-
}
|
|
6854
|
+
formKey: { type: String }
|
|
6550
6855
|
}, {
|
|
6551
6856
|
modelValue: {},
|
|
6552
6857
|
modelModifiers: {}
|
|
6553
6858
|
}),
|
|
6554
6859
|
emits: /* @__PURE__ */ H(["change"], ["update:modelValue"]),
|
|
6555
6860
|
setup(e, { emit: t }) {
|
|
6556
|
-
let n = e, r = t, i = U(e, "modelValue"), a = z(), o = /* @__PURE__ */ P(null), s = /* @__PURE__ */ P(null), c = /* @__PURE__ */ P(
|
|
6861
|
+
let n = e, r = t, i = U(e, "modelValue"), a = z(), o = /* @__PURE__ */ P(null), s = /* @__PURE__ */ P(null), c = /* @__PURE__ */ P(null), l = /* @__PURE__ */ P(!1), u = /* @__PURE__ */ P(0), d = /* @__PURE__ */ P(!1), f = /* @__PURE__ */ P(!1), { displayErrors: p, hasErrors: m } = au({
|
|
6557
6862
|
name: n.name,
|
|
6558
6863
|
value: i,
|
|
6559
6864
|
errors: /* @__PURE__ */ dn(n, "errors"),
|
|
6560
6865
|
formKey: n.formKey
|
|
6561
|
-
}),
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
if (
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
if (t < i && n > t) {
|
|
6573
|
-
_.value = "above", v.value = Math.max(0, Math.floor(n - 8));
|
|
6574
|
-
return;
|
|
6575
|
-
}
|
|
6576
|
-
_.value = "below", v.value = Math.max(0, Math.floor(t - 8));
|
|
6577
|
-
}
|
|
6578
|
-
let x = null;
|
|
6579
|
-
function S() {
|
|
6580
|
-
if (x) return;
|
|
6581
|
-
let e = () => {
|
|
6582
|
-
b();
|
|
6583
|
-
};
|
|
6584
|
-
window.addEventListener("resize", e, { passive: !0 }), window.addEventListener("scroll", e, {
|
|
6585
|
-
passive: !0,
|
|
6586
|
-
capture: !0
|
|
6587
|
-
}), x = () => {
|
|
6588
|
-
window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0), x = null;
|
|
6589
|
-
};
|
|
6590
|
-
}
|
|
6591
|
-
function C() {
|
|
6592
|
-
x && x();
|
|
6593
|
-
}
|
|
6594
|
-
let w = Q(() => n.options.map((e) => typeof e == "string" ? {
|
|
6595
|
-
label: e,
|
|
6596
|
-
value: e
|
|
6597
|
-
} : e)), T = /* @__PURE__ */ P(""), E = Q(() => {
|
|
6598
|
-
if (!n.searchable || !c.value || !T.value) return w.value;
|
|
6599
|
-
let e = T.value.toLowerCase();
|
|
6600
|
-
return w.value.filter((t) => t.label.toLowerCase().includes(e));
|
|
6601
|
-
}), ee = Q(() => E.value.findIndex((e) => e.value === i.value));
|
|
6866
|
+
}), { menuPlacement: h, menuStyle: g, isTop: _, scrollOptionIntoView: v } = Sd({
|
|
6867
|
+
open: l,
|
|
6868
|
+
anchorRef: o,
|
|
6869
|
+
listboxRef: s,
|
|
6870
|
+
baseId: a,
|
|
6871
|
+
activeIndex: u
|
|
6872
|
+
}), y = Q(() => xd(n.options)), b = /* @__PURE__ */ P(""), x = Q(() => {
|
|
6873
|
+
if (!n.searchable || !l.value || !b.value) return y.value;
|
|
6874
|
+
let e = b.value.toLowerCase();
|
|
6875
|
+
return y.value.filter((t) => t.label.toLowerCase().includes(e));
|
|
6876
|
+
}), S = Q(() => x.value.findIndex((e) => e.value === i.value));
|
|
6602
6877
|
L(() => i.value, (e) => {
|
|
6603
|
-
let t =
|
|
6604
|
-
t !== -1 && (
|
|
6605
|
-
}), L(c, (e) => {
|
|
6606
|
-
e ? f() : p();
|
|
6607
|
-
}), L(c, (e) => {
|
|
6608
|
-
e ? (S(), Mn(() => {
|
|
6609
|
-
b();
|
|
6610
|
-
})) : (C(), _.value = "below", v.value = null);
|
|
6878
|
+
let t = x.value.findIndex((t) => t.value === e);
|
|
6879
|
+
t !== -1 && (u.value = t);
|
|
6611
6880
|
});
|
|
6612
|
-
function
|
|
6613
|
-
if (!n.disabled && (
|
|
6614
|
-
b
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
l.value = e === -1 ? 0 : e, Mn(() => {
|
|
6619
|
-
O.value && O.value.focus();
|
|
6881
|
+
function C() {
|
|
6882
|
+
if (!n.disabled && (l.value = !0, n.searchable)) {
|
|
6883
|
+
b.value = "";
|
|
6884
|
+
let e = x.value.findIndex((e) => e.value === i.value);
|
|
6885
|
+
u.value = e === -1 ? 0 : e, Mn(() => {
|
|
6886
|
+
c.value && c.value.focus();
|
|
6620
6887
|
});
|
|
6621
6888
|
}
|
|
6622
6889
|
}
|
|
6623
|
-
function
|
|
6624
|
-
|
|
6890
|
+
function w() {
|
|
6891
|
+
l.value = !1, n.searchable && (b.value = "");
|
|
6625
6892
|
}
|
|
6626
|
-
|
|
6627
|
-
C();
|
|
6628
|
-
});
|
|
6629
|
-
let O = /* @__PURE__ */ P(null);
|
|
6630
|
-
function ne(e) {
|
|
6893
|
+
function T(e) {
|
|
6631
6894
|
if (!n.disabled && n.searchable) {
|
|
6632
|
-
if (
|
|
6633
|
-
|
|
6895
|
+
if (f.value) {
|
|
6896
|
+
f.value = !1;
|
|
6634
6897
|
return;
|
|
6635
6898
|
}
|
|
6636
|
-
|
|
6899
|
+
C();
|
|
6637
6900
|
}
|
|
6638
6901
|
}
|
|
6639
|
-
function
|
|
6902
|
+
function E(e) {
|
|
6640
6903
|
if (!n.searchable) return;
|
|
6641
|
-
|
|
6642
|
-
let t =
|
|
6643
|
-
|
|
6904
|
+
l.value || C(), b.value = e.target.value;
|
|
6905
|
+
let t = x.value.findIndex((e) => e.value === i.value);
|
|
6906
|
+
u.value = t === -1 ? 0 : t;
|
|
6644
6907
|
}
|
|
6645
|
-
function
|
|
6908
|
+
function ee(e) {
|
|
6646
6909
|
let t = e.relatedTarget;
|
|
6647
|
-
if (
|
|
6648
|
-
|
|
6910
|
+
if (d.value) {
|
|
6911
|
+
d.value = !1;
|
|
6649
6912
|
return;
|
|
6650
6913
|
}
|
|
6651
|
-
t && s.value && s.value.contains(t) || (n.searchable && (
|
|
6914
|
+
t && s.value && s.value.contains(t) || (n.searchable && (b.value = ""), w());
|
|
6652
6915
|
}
|
|
6653
|
-
function
|
|
6654
|
-
let t =
|
|
6655
|
-
t && t.value !== i.value && (i.value = t.value, r("change", t.value)),
|
|
6656
|
-
|
|
6916
|
+
function D(e) {
|
|
6917
|
+
let t = x.value[e];
|
|
6918
|
+
t && t.value !== i.value && (i.value = t.value, r("change", t.value)), f.value = !0, w(), setTimeout(() => {
|
|
6919
|
+
f.value = !1;
|
|
6657
6920
|
}, 100);
|
|
6658
6921
|
}
|
|
6659
|
-
function
|
|
6660
|
-
n.disabled || (
|
|
6922
|
+
function te() {
|
|
6923
|
+
n.disabled || (l.value ? w() : C());
|
|
6661
6924
|
}
|
|
6662
|
-
function
|
|
6925
|
+
function O(e) {
|
|
6663
6926
|
if (n.disabled) return;
|
|
6664
|
-
let t =
|
|
6665
|
-
if (!
|
|
6927
|
+
let t = x.value.length - 1;
|
|
6928
|
+
if (!l.value && [
|
|
6666
6929
|
"ArrowDown",
|
|
6667
6930
|
"ArrowUp",
|
|
6668
6931
|
"Enter",
|
|
6669
6932
|
" "
|
|
6670
6933
|
].includes(e.key)) {
|
|
6671
|
-
e.preventDefault(),
|
|
6934
|
+
e.preventDefault(), C();
|
|
6672
6935
|
return;
|
|
6673
6936
|
}
|
|
6674
6937
|
switch (e.key) {
|
|
6675
6938
|
case "ArrowDown":
|
|
6676
|
-
e.preventDefault(),
|
|
6939
|
+
e.preventDefault(), l.value ? (u.value = Math.min(t, u.value + 1), v()) : C();
|
|
6677
6940
|
break;
|
|
6678
6941
|
case "ArrowUp":
|
|
6679
|
-
e.preventDefault(),
|
|
6942
|
+
e.preventDefault(), l.value ? (u.value = Math.max(0, u.value - 1), v()) : C();
|
|
6680
6943
|
break;
|
|
6681
6944
|
case "Home":
|
|
6682
|
-
e.preventDefault(),
|
|
6945
|
+
e.preventDefault(), u.value = 0, v();
|
|
6683
6946
|
break;
|
|
6684
6947
|
case "End":
|
|
6685
|
-
e.preventDefault(),
|
|
6948
|
+
e.preventDefault(), u.value = t, v();
|
|
6686
6949
|
break;
|
|
6687
6950
|
case "Enter":
|
|
6688
6951
|
case " ":
|
|
6689
|
-
e.preventDefault(),
|
|
6952
|
+
e.preventDefault(), l.value ? D(u.value) : C();
|
|
6690
6953
|
break;
|
|
6691
6954
|
case "Escape":
|
|
6692
|
-
|
|
6693
|
-
|
|
6955
|
+
_.value && (e.preventDefault(), setTimeout(() => {
|
|
6956
|
+
w();
|
|
6694
6957
|
}, 0));
|
|
6695
6958
|
break;
|
|
6696
6959
|
}
|
|
6697
6960
|
}
|
|
6698
|
-
function
|
|
6699
|
-
|
|
6700
|
-
}
|
|
6701
|
-
function le() {
|
|
6702
|
-
u.value = !0;
|
|
6961
|
+
function ne(e) {
|
|
6962
|
+
D(e);
|
|
6703
6963
|
}
|
|
6704
|
-
function
|
|
6705
|
-
|
|
6706
|
-
let e = document.getElementById(`${a}-option-${l.value}`);
|
|
6707
|
-
e && e.scrollIntoView({ block: "nearest" });
|
|
6708
|
-
});
|
|
6964
|
+
function re() {
|
|
6965
|
+
d.value = !0;
|
|
6709
6966
|
}
|
|
6710
|
-
let
|
|
6711
|
-
function
|
|
6712
|
-
n.disabled || (i.value = null, r("change", null), n.searchable && (
|
|
6967
|
+
let k = Q(() => n.clearButton && i.value !== null && i.value !== void 0 && !n.disabled);
|
|
6968
|
+
function ie() {
|
|
6969
|
+
n.disabled || (i.value = null, r("change", null), n.searchable && (b.value = ""));
|
|
6713
6970
|
}
|
|
6714
|
-
return
|
|
6715
|
-
|
|
6716
|
-
}), (t, r) => (G(), K("div", { class: k(["g-select-root g-select-combo", {
|
|
6717
|
-
"g-select-open": c.value,
|
|
6971
|
+
return (t, r) => (G(), K("div", { class: A(["g-select-root g-select-combo", {
|
|
6972
|
+
"g-select-open": l.value,
|
|
6718
6973
|
"g-select-compact": e.compact,
|
|
6719
|
-
"g-select-has-error": F(
|
|
6974
|
+
"g-select-has-error": F(m)
|
|
6720
6975
|
}]) }, [
|
|
6721
6976
|
e.hiddenLabel ? Z("", !0) : (G(), K("div", {
|
|
6722
6977
|
key: 0,
|
|
6723
6978
|
id: F(a) + "-label",
|
|
6724
6979
|
class: "g-select-combo-label g-select-label"
|
|
6725
|
-
},
|
|
6726
|
-
J("div",
|
|
6980
|
+
}, j(n.label), 9, rf)),
|
|
6981
|
+
J("div", af, [n.searchable ? (G(), K("div", {
|
|
6727
6982
|
key: 0,
|
|
6728
6983
|
class: "g-select-combo-input g-select-control",
|
|
6729
6984
|
id: F(a)
|
|
@@ -6734,27 +6989,27 @@ var cd = [
|
|
|
6734
6989
|
type: "text",
|
|
6735
6990
|
name: "comboInput",
|
|
6736
6991
|
class: ["g-select-search-input", { "g-select-clearable": e.clearButton }],
|
|
6737
|
-
value:
|
|
6738
|
-
placeholder:
|
|
6992
|
+
value: l.value ? b.value : y.value[S.value] ? y.value[S.value].label : "",
|
|
6993
|
+
placeholder: l.value ? "" : e.placeholder,
|
|
6739
6994
|
disabled: n.disabled,
|
|
6740
|
-
onFocus:
|
|
6741
|
-
onInput:
|
|
6742
|
-
onKeydown:
|
|
6743
|
-
onBlur:
|
|
6995
|
+
onFocus: T,
|
|
6996
|
+
onInput: E,
|
|
6997
|
+
onKeydown: O,
|
|
6998
|
+
onBlur: ee,
|
|
6744
6999
|
"aria-autocomplete": "list",
|
|
6745
7000
|
"aria-controls": F(a) + "-listbox",
|
|
6746
|
-
"aria-expanded":
|
|
7001
|
+
"aria-expanded": l.value ? "true" : "false",
|
|
6747
7002
|
"aria-haspopup": "listbox",
|
|
6748
|
-
"aria-activedescendant":
|
|
7003
|
+
"aria-activedescendant": l.value ? F(a) + "-option-" + u.value : void 0
|
|
6749
7004
|
}, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": F(a) + "-label" }, {
|
|
6750
7005
|
role: "combobox",
|
|
6751
7006
|
autocomplete: "off"
|
|
6752
|
-
}), null, 16,
|
|
6753
|
-
|
|
7007
|
+
}), null, 16, sf),
|
|
7008
|
+
k.value ? (G(), K("button", {
|
|
6754
7009
|
key: 0,
|
|
6755
7010
|
type: "button",
|
|
6756
7011
|
class: "g-select-clear-btn",
|
|
6757
|
-
onClick:
|
|
7012
|
+
onClick: ie
|
|
6758
7013
|
}, [...r[0] ||= [J("svg", {
|
|
6759
7014
|
role: "img",
|
|
6760
7015
|
"aria-label": "Clear Selection",
|
|
@@ -6775,7 +7030,7 @@ var cd = [
|
|
|
6775
7030
|
fill: "currentColor",
|
|
6776
7031
|
d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
|
|
6777
7032
|
})], -1)
|
|
6778
|
-
], 8,
|
|
7033
|
+
], 8, of)) : (G(), K("div", Ha({
|
|
6779
7034
|
key: 1,
|
|
6780
7035
|
ref_key: "comboRef",
|
|
6781
7036
|
ref: o,
|
|
@@ -6783,22 +7038,22 @@ var cd = [
|
|
|
6783
7038
|
class: ["g-select-combo-button g-select-control", { "g-select-clearable": e.clearButton }],
|
|
6784
7039
|
role: "combobox",
|
|
6785
7040
|
"aria-controls": F(a) + "-listbox",
|
|
6786
|
-
"aria-expanded":
|
|
7041
|
+
"aria-expanded": l.value ? "true" : "false",
|
|
6787
7042
|
"aria-haspopup": "listbox"
|
|
6788
7043
|
}, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": F(a) + "-label" }, {
|
|
6789
|
-
"aria-activedescendant":
|
|
7044
|
+
"aria-activedescendant": l.value ? F(a) + "-option-" + u.value : void 0,
|
|
6790
7045
|
tabindex: "0",
|
|
6791
|
-
onClick:
|
|
6792
|
-
onKeydown:
|
|
6793
|
-
onFocus:
|
|
6794
|
-
onBlur:
|
|
7046
|
+
onClick: te,
|
|
7047
|
+
onKeydown: O,
|
|
7048
|
+
onFocus: T,
|
|
7049
|
+
onBlur: ee
|
|
6795
7050
|
}), [
|
|
6796
|
-
X(
|
|
6797
|
-
|
|
7051
|
+
X(j(y.value[S.value] ? y.value[S.value].label : "") + " ", 1),
|
|
7052
|
+
k.value ? (G(), K("button", {
|
|
6798
7053
|
key: 0,
|
|
6799
7054
|
type: "button",
|
|
6800
7055
|
class: "g-select-clear-btn",
|
|
6801
|
-
onClick: js(
|
|
7056
|
+
onClick: js(ie, ["stop"])
|
|
6802
7057
|
}, [...r[2] ||= [J("svg", {
|
|
6803
7058
|
role: "img",
|
|
6804
7059
|
"aria-label": "Clear Selection",
|
|
@@ -6819,43 +7074,43 @@ var cd = [
|
|
|
6819
7074
|
fill: "currentColor",
|
|
6820
7075
|
d: "M38.75 24.13a1.36 1.36 0 0 1 0 2.36l-12.44 7.18-12.43 7.18a1.36 1.36 0 0 1-2.05-1.18V11a1.36 1.36 0 0 1 2.05-1.18L26.31 17Z"
|
|
6821
7076
|
})], -1)
|
|
6822
|
-
], 16,
|
|
7077
|
+
], 16, cf)), Wn(J("div", Ha({
|
|
6823
7078
|
ref_key: "listboxRef",
|
|
6824
7079
|
ref: s,
|
|
6825
|
-
class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above":
|
|
6826
|
-
style:
|
|
7080
|
+
class: ["g-select-combo-menu g-select-list", { "g-select-combo-menu--above": F(h) === "above" }],
|
|
7081
|
+
style: F(g),
|
|
6827
7082
|
role: "listbox",
|
|
6828
7083
|
id: F(a) + "-listbox"
|
|
6829
|
-
}, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": F(a) + "-label" }, { tabindex: "-1" }), [
|
|
7084
|
+
}, e.hiddenLabel ? { "aria-label": n.label } : { "aria-labelledby": F(a) + "-label" }, { tabindex: "-1" }), [x.value.length > 0 ? (G(!0), K(W, { key: 0 }, B(x.value, (e, n) => (G(), K("div", {
|
|
6830
7085
|
key: e.value,
|
|
6831
7086
|
id: F(a) + "-option-" + n,
|
|
6832
|
-
class:
|
|
6833
|
-
"g-select-option-current": n ===
|
|
7087
|
+
class: A(["g-select-combo-option g-select-option", {
|
|
7088
|
+
"g-select-option-current": n === u.value,
|
|
6834
7089
|
"ilw-theme-blue": e.value === i.value
|
|
6835
7090
|
}]),
|
|
6836
7091
|
role: "option",
|
|
6837
7092
|
"aria-selected": e.value === i.value ? "true" : "false",
|
|
6838
|
-
onMousedown:
|
|
6839
|
-
onClick: (e) =>
|
|
7093
|
+
onMousedown: re,
|
|
7094
|
+
onClick: (e) => ne(n)
|
|
6840
7095
|
}, [V(t.$slots, "option", {
|
|
6841
7096
|
option: e,
|
|
6842
7097
|
selected: e.value === i.value,
|
|
6843
7098
|
index: n
|
|
6844
|
-
}, () => [X(
|
|
7099
|
+
}, () => [X(j(e.label), 1)], !0)], 42, uf))), 128)) : (G(), K("div", df, " No results found. "))], 16, lf), [[Ko, l.value]])]),
|
|
6845
7100
|
Y(su, {
|
|
6846
|
-
errors: F(
|
|
7101
|
+
errors: F(p),
|
|
6847
7102
|
id: "error-message-" + F(a)
|
|
6848
7103
|
}, null, 8, ["errors", "id"])
|
|
6849
7104
|
], 2));
|
|
6850
7105
|
}
|
|
6851
|
-
}), [["styles", [".g-select-root[data-v-
|
|
7106
|
+
}), [["styles", [".g-select-root[data-v-b72848f6]{font-size:1rem;position:relative}.g-select-label[data-v-b72848f6]{color:var(--g-surface-900);margin-bottom:.5em;font-weight:700}.g-select-input-wrap[data-v-b72848f6]{position:relative}.g-select-control[data-v-b72848f6]{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid var(--g-primary-500);border-radius:var(--g-border-radius-m);text-align:left;line-height:1.5;position:relative}.g-select-control:focus-visible[data-v-b72848f6]{background:var(--g-info-200);color:var(--g-primary-500);outline-color:var(--g-primary-500)}.g-select-control:focus-visible .g-select-caret[data-v-b72848f6]{color:var(--g-primary-500)}.g-select-control[data-v-b72848f6]:has(:focus-visible){outline:2px solid var(--g-primary-500);outline-offset:1px;box-shadow:0 0 0 2px var(--g-info-200)}.g-select-control[data-v-b72848f6]:disabled{opacity:.6;cursor:not-allowed}.g-select-caret[data-v-b72848f6]{color:var(--g-accent-700);pointer-events:none;line-height:1.5em;position:absolute;top:calc(50% - .55em);right:.5em;transform:rotate(90deg)}.g-select-open .g-select-caret[data-v-b72848f6]{transform:rotate(-90deg)}.g-select-combo-menu[data-v-b72848f6]{background-color:var(--g-surface-0);border:2px solid var(--g-surface-700);border-radius:0 0 var(--g-border-radius-m) var(--g-border-radius-m);box-sizing:border-box;z-index:1000;width:100%;max-height:50vh;display:none;position:absolute;top:100%;left:0;overflow-y:auto;box-shadow:0 4px 4px #0003,0 1px 0 1px #0000002e}.g-select-combo-menu--above[data-v-b72848f6]{border-radius:var(--g-border-radius-m) var(--g-border-radius-m) 0 0}.g-select-open .g-select-combo-menu[data-v-b72848f6]{display:block}.g-select-combo-option[data-v-b72848f6]{cursor:pointer;background:var(--g-surface-0);color:var(--g-surface-900);border:2px solid #0000;padding:.5em}.g-select-combo-option[data-v-b72848f6]:hover{color:var(--g-accent-700);border-color:var(--g-accent-700);text-decoration:underline}.g-select-option-current[data-v-b72848f6]{background:var(--g-primary-500);color:var(--g-primary-text)}.g-select-option-current[data-v-b72848f6]:hover{color:var(--g-primary-text)}.g-select-search-input[data-v-b72848f6]{box-sizing:border-box;width:100%;font-family:var(--il-font-sans);text-overflow:ellipsis;border:none;font-size:1em;display:block}.g-select-search-input.g-select-clearable[data-v-b72848f6]{padding-right:3.5em}.g-select-search-input[data-v-b72848f6],.g-select-combo-button[data-v-b72848f6]{box-sizing:border-box;padding:.25em 2em .25em .75em;line-height:1.875em}.g-select-combo-button[data-v-b72848f6]{min-width:8rem;min-height:calc(2.375em + 4px)}.g-select-compact[data-v-b72848f6]{font-size:.875rem}:is(.g-select-search-input,.g-select-combo-button).g-select-clearable[data-v-b72848f6]{padding-right:3em}.g-select-no-results[data-v-b72848f6]{text-align:center;color:var(--g-surface-900);padding:.25em 1em;font-style:italic}.g-select-clear-btn[data-v-b72848f6]{color:var(--g-accent-700);cursor:pointer;background:0 0;border:none;padding:.6em .3em .4em;font-size:1.25em;line-height:1;position:absolute;top:calc(50% - 1.15em);right:1.25em}.g-select-clear-btn[data-v-b72848f6]:hover{color:var(--g-accent-700)}.g-select-clear-btn[data-v-b72848f6]:focus{background:var(--g-info-200);color:var(--g-primary-500);outline-color:var(--g-primary-500)}.g-select-has-error .g-select-control[data-v-b72848f6]{border-color:var(--g-danger-600);background:var(--g-danger-100)}"]], ["__scopeId", "data-v-b72848f6"]]), pf = ["disabled"], mf = { class: "g-select-btn-legend" }, hf = { class: "g-select-btn-row" }, gf = [
|
|
6852
7107
|
"id",
|
|
6853
7108
|
"name",
|
|
6854
7109
|
"value",
|
|
6855
7110
|
"checked",
|
|
6856
7111
|
"disabled",
|
|
6857
7112
|
"onChange"
|
|
6858
|
-
],
|
|
7113
|
+
], _f = ["for"], vf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6859
7114
|
__name: "GSelectButton",
|
|
6860
7115
|
props: /* @__PURE__ */ H({
|
|
6861
7116
|
options: { type: Array },
|
|
@@ -6903,9 +7158,9 @@ var cd = [
|
|
|
6903
7158
|
!n.disabled && e !== i.value && (i.value = e, r("change", e));
|
|
6904
7159
|
}
|
|
6905
7160
|
return (e, t) => (G(), K("fieldset", {
|
|
6906
|
-
class:
|
|
7161
|
+
class: A(l.value),
|
|
6907
7162
|
disabled: n.disabled
|
|
6908
|
-
}, [J("legend",
|
|
7163
|
+
}, [J("legend", mf, j(n.label), 1), J("div", { class: A(["g-select-btn-wrapper", { "g-select-btn-has-error": F(s) }]) }, [J("div", hf, [(G(!0), K(W, null, B(c.value, (e, t) => (G(), K(W, { key: e.value }, [J("input", {
|
|
6909
7164
|
class: "g-select-btn-radio",
|
|
6910
7165
|
type: "radio",
|
|
6911
7166
|
id: `${F(a)}-${e.value}`,
|
|
@@ -6914,15 +7169,15 @@ var cd = [
|
|
|
6914
7169
|
checked: e.value === i.value,
|
|
6915
7170
|
disabled: n.disabled,
|
|
6916
7171
|
onChange: (t) => d(e.value)
|
|
6917
|
-
}, null, 40,
|
|
7172
|
+
}, null, 40, gf), J("label", {
|
|
6918
7173
|
for: `${F(a)}-${e.value}`,
|
|
6919
|
-
class:
|
|
6920
|
-
},
|
|
7174
|
+
class: A(u(e.value === i.value))
|
|
7175
|
+
}, j(e.label), 11, _f)], 64))), 128))]), Y(su, {
|
|
6921
7176
|
errors: F(o),
|
|
6922
7177
|
id: "error-message-" + F(a)
|
|
6923
|
-
}, null, 8, ["errors", "id"])], 2)], 10,
|
|
7178
|
+
}, null, 8, ["errors", "id"])], 2)], 10, pf));
|
|
6924
7179
|
}
|
|
6925
|
-
}), [["styles", [".g-select-btn-group[data-v-ebb82164]{border:none;border-radius:4px;min-width:0;margin:0;padding:0}.g-select-btn-legend[data-v-ebb82164]{color:var(--g-surface-900);margin:0 0 .5rem;padding:0;font-weight:700;display:block;position:static}.g-select-btn-row[data-v-ebb82164]{border-radius:var(--g-border-radius-m);align-items:stretch;display:flex}.g-select-btn-row[data-v-ebb82164]:has(:focus-visible){outline:2px solid var(--g-primary-500);outline-offset:2px;background:var(--ilw-color--focus--background);box-shadow:0 0 0 2px var(--ilw-color--focus--background)}.g-select-btn-group--small[data-v-ebb82164]{font-size:.875rem}.g-select-btn-group--medium[data-v-ebb82164]{font-size:1rem}.g-select-btn-group--large[data-v-ebb82164]{font-size:1.125rem}.g-select-btn-radio[data-v-ebb82164]{opacity:0;pointer-events:none;width:0;height:0;margin:0;position:absolute}.g-select-btn[data-v-ebb82164]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);color:var(--g-primary-500);cursor:pointer;border-left-width:1px;border-right-width:1px;outline:none;flex:1;justify-content:center;align-items:center;padding:.5em;font-weight:700;display:flex}.g-select-btn[data-v-ebb82164]:hover{text-decoration:underline}.g-select-btn--selected[data-v-ebb82164]{background:var(--g-primary-500);color:var(--g-surface-0)}.g-select-btn[data-v-ebb82164]:first-of-type{border-top-left-radius:var(--g-border-radius-m);border-bottom-left-radius:var(--g-border-radius-m);border-left-width:2px}.g-select-btn[data-v-ebb82164]:last-of-type{border-top-right-radius:var(--g-border-radius-m);border-bottom-right-radius:var(--g-border-radius-m);border-right-width:2px}.g-select-btn-has-error .g-select-btn-row[data-v-ebb82164]{border:2px solid var(--g-danger-600);border-radius:var(--g-border-radius-m)}.g-select-btn-has-error .g-select-btn[data-v-ebb82164]{background:var(--g-danger-100)}"]], ["__scopeId", "data-v-ebb82164"]]),
|
|
7180
|
+
}), [["styles", [".g-select-btn-group[data-v-ebb82164]{border:none;border-radius:4px;min-width:0;margin:0;padding:0}.g-select-btn-legend[data-v-ebb82164]{color:var(--g-surface-900);margin:0 0 .5rem;padding:0;font-weight:700;display:block;position:static}.g-select-btn-row[data-v-ebb82164]{border-radius:var(--g-border-radius-m);align-items:stretch;display:flex}.g-select-btn-row[data-v-ebb82164]:has(:focus-visible){outline:2px solid var(--g-primary-500);outline-offset:2px;background:var(--ilw-color--focus--background);box-shadow:0 0 0 2px var(--ilw-color--focus--background)}.g-select-btn-group--small[data-v-ebb82164]{font-size:.875rem}.g-select-btn-group--medium[data-v-ebb82164]{font-size:1rem}.g-select-btn-group--large[data-v-ebb82164]{font-size:1.125rem}.g-select-btn-radio[data-v-ebb82164]{opacity:0;pointer-events:none;width:0;height:0;margin:0;position:absolute}.g-select-btn[data-v-ebb82164]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);color:var(--g-primary-500);cursor:pointer;border-left-width:1px;border-right-width:1px;outline:none;flex:1;justify-content:center;align-items:center;padding:.5em;font-weight:700;display:flex}.g-select-btn[data-v-ebb82164]:hover{text-decoration:underline}.g-select-btn--selected[data-v-ebb82164]{background:var(--g-primary-500);color:var(--g-surface-0)}.g-select-btn[data-v-ebb82164]:first-of-type{border-top-left-radius:var(--g-border-radius-m);border-bottom-left-radius:var(--g-border-radius-m);border-left-width:2px}.g-select-btn[data-v-ebb82164]:last-of-type{border-top-right-radius:var(--g-border-radius-m);border-bottom-right-radius:var(--g-border-radius-m);border-right-width:2px}.g-select-btn-has-error .g-select-btn-row[data-v-ebb82164]{border:2px solid var(--g-danger-600);border-radius:var(--g-border-radius-m)}.g-select-btn-has-error .g-select-btn[data-v-ebb82164]{background:var(--g-danger-100)}"]], ["__scopeId", "data-v-ebb82164"]]), yf = ["id"], bf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6926
7181
|
__name: "GSidebar",
|
|
6927
7182
|
props: {
|
|
6928
7183
|
backgroundColor: {
|
|
@@ -6962,12 +7217,12 @@ var cd = [
|
|
|
6962
7217
|
return (t, c) => (G(), K("div", {
|
|
6963
7218
|
ref: "sidebar-ref",
|
|
6964
7219
|
id: `${F(n)?.id ?? F(o)}-sidebar`,
|
|
6965
|
-
class:
|
|
7220
|
+
class: A(["g-sidebar", [`g-sidebar__${e.theme}`, {
|
|
6966
7221
|
"g-sidebar--collapsible": F(n)?.isCollapsible?.value,
|
|
6967
7222
|
"g-sidebar--closed": !F(n)?.open?.value && F(n)?.isCollapsible?.value,
|
|
6968
7223
|
"g-sidebar--open": F(n)?.open?.value && F(n)?.isCollapsible?.value
|
|
6969
7224
|
}]]),
|
|
6970
|
-
style:
|
|
7225
|
+
style: ue({
|
|
6971
7226
|
backgroundImage: r.value,
|
|
6972
7227
|
backgroundColor: i.value,
|
|
6973
7228
|
"--g-sidebar-top-offset": a.value,
|
|
@@ -6975,13 +7230,13 @@ var cd = [
|
|
|
6975
7230
|
width: "var(--g-sidebar-width)"
|
|
6976
7231
|
}),
|
|
6977
7232
|
onKeydown: s
|
|
6978
|
-
}, [V(t.$slots, "default", {}, void 0, !0)], 46,
|
|
7233
|
+
}, [V(t.$slots, "default", {}, void 0, !0)], 46, yf));
|
|
6979
7234
|
}
|
|
6980
|
-
}), [["styles", [".g-sidebar[data-v-88c7169f]{box-sizing:border-box;left:0;top:var(--g-sidebar-top-offset);width:var(--g-sidebar-width,300px);background-position:top;background-size:cover;position:fixed;bottom:0;overflow-y:auto}.g-sidebar--open[data-v-88c7169f]{opacity:1;transition:opacity .1s ease-out}@media (prefers-reduced-motion:reduce){.g-sidebar--open[data-v-88c7169f]{transition:none}}.g-sidebar--closed[data-v-88c7169f]{display:none}.g-sidebar--collapsible[data-v-88c7169f]{z-index:198;height:100vh;top:0;box-shadow:0 2px 10px #0000001a,0 0 10px #0000001a}@starting-style{.g-sidebar[data-v-88c7169f]{opacity:0}}"]], ["__scopeId", "data-v-88c7169f"]]),
|
|
7235
|
+
}), [["styles", [".g-sidebar[data-v-88c7169f]{box-sizing:border-box;left:0;top:var(--g-sidebar-top-offset);width:var(--g-sidebar-width,300px);background-position:top;background-size:cover;position:fixed;bottom:0;overflow-y:auto}.g-sidebar--open[data-v-88c7169f]{opacity:1;transition:opacity .1s ease-out}@media (prefers-reduced-motion:reduce){.g-sidebar--open[data-v-88c7169f]{transition:none}}.g-sidebar--closed[data-v-88c7169f]{display:none}.g-sidebar--collapsible[data-v-88c7169f]{z-index:198;height:100vh;top:0;box-shadow:0 2px 10px #0000001a,0 0 10px #0000001a}@starting-style{.g-sidebar[data-v-88c7169f]{opacity:0}}"]], ["__scopeId", "data-v-88c7169f"]]), xf = ["id"], Sf = { class: "g-sidebar-menu__list" }, Cf = [
|
|
6981
7236
|
"href",
|
|
6982
7237
|
"aria-current",
|
|
6983
7238
|
"onClick"
|
|
6984
|
-
],
|
|
7239
|
+
], wf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
6985
7240
|
__name: "GSidebarMenu",
|
|
6986
7241
|
props: /* @__PURE__ */ H({
|
|
6987
7242
|
title: { type: String },
|
|
@@ -7035,13 +7290,13 @@ var cd = [
|
|
|
7035
7290
|
key: 0,
|
|
7036
7291
|
id: F(c),
|
|
7037
7292
|
class: "g-sidebar-menu__title"
|
|
7038
|
-
},
|
|
7293
|
+
}, j(e.title), 9, xf)) : Z("", !0),
|
|
7039
7294
|
a[0] ||= J("div", { class: "g-sidebar-menu__divider" }, null, -1),
|
|
7040
7295
|
J("div", {
|
|
7041
7296
|
class: "g-sidebar-menu__content",
|
|
7042
7297
|
ref_key: "content",
|
|
7043
7298
|
ref: i
|
|
7044
|
-
}, [J("ul",
|
|
7299
|
+
}, [J("ul", Sf, [(G(!0), K(W, null, B(e.items, (e) => (G(), K("li", {
|
|
7045
7300
|
key: e.href || e.to,
|
|
7046
7301
|
class: "g-sidebar-menu__item",
|
|
7047
7302
|
ref_for: !0,
|
|
@@ -7051,18 +7306,18 @@ var cd = [
|
|
|
7051
7306
|
class: "g-sidebar-menu__link",
|
|
7052
7307
|
to: e.to
|
|
7053
7308
|
}, {
|
|
7054
|
-
default: I(() => [X(
|
|
7309
|
+
default: I(() => [X(j(e.label), 1)]),
|
|
7055
7310
|
_: 2
|
|
7056
7311
|
}, 1032, ["to"])) : (G(), K("a", {
|
|
7057
7312
|
key: 1,
|
|
7058
|
-
class:
|
|
7313
|
+
class: A(["g-sidebar-menu__link", { "g-sidebar-menu__is-active": r.value === (e.href || "") }]),
|
|
7059
7314
|
href: e.href || e.to || "#",
|
|
7060
7315
|
"aria-current": r.value === (e.href || "") ? "location" : void 0,
|
|
7061
7316
|
onClick: (t) => s(t, e)
|
|
7062
|
-
},
|
|
7317
|
+
}, j(e.label), 11, Cf))]))), 128))])], 512)
|
|
7063
7318
|
], 16));
|
|
7064
7319
|
}
|
|
7065
|
-
}), [["styles", [".g-sidebar-menu[data-v-
|
|
7320
|
+
}), [["styles", [".g-sidebar-menu[data-v-330a0664]{box-sizing:border-box;color:var(--g-surface-0);flex-direction:column;padding-top:2rem;display:flex}.g-sidebar-menu__title[data-v-330a0664]{font-size:2rem;font-family:var(--il-font-heading);color:var(--g-surface-0);margin:2rem 2rem .5rem}.g-sidebar-menu__divider[data-v-330a0664]{background:var(--g-accent-500);flex:0 0 4px;width:60px;height:4px;margin-top:2px;margin-left:2rem}.g-sidebar-menu__content[data-v-330a0664]{margin:0}.g-sidebar-menu__list[data-v-330a0664]{margin:1rem 0 0;padding:0;list-style:none}.g-sidebar-menu__item[data-v-330a0664]{margin:0;display:block}.g-sidebar-menu__link[data-v-330a0664]{color:var(--g-surface-0);border-left:8px solid #0000;padding:.5rem calc(2rem - 8px);font-size:1.25rem;font-weight:700;text-decoration:none;display:block}.g-sidebar-menu__link[data-v-330a0664]:hover{color:var(--g-accent-500);text-decoration:underline}.g-sidebar-menu__link.g-sidebar-menu__is-active[data-v-330a0664]{background:var(--g-primary-500);border-left:8px solid var(--g-accent-500)}.g-sidebar-menu__link[data-v-330a0664]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-sidebar-menu--compact .g-sidebar-menu__link[data-v-330a0664]{padding:.1rem calc(2rem - 8px);font-size:1.125rem;font-weight:700}.g-sidebar-menu__light[data-v-330a0664]{background:var(--g-surface-50)}.g-sidebar-menu__light .g-sidebar-menu__title[data-v-330a0664],.g-sidebar-menu__light .g-sidebar-menu__link[data-v-330a0664]{color:var(--g-primary-500)}.g-sidebar-menu__light .g-sidebar-menu__link[data-v-330a0664]:hover{color:var(--g-accent-700)}.g-sidebar-menu__light .g-sidebar-menu__link.g-sidebar-menu__is-active[data-v-330a0664]{background:var(--g-accent-500);color:var(--g-surface-0);border-left:8px solid var(--g-primary-500)}.g-sidebar-menu__light .g-sidebar-menu__link[data-v-330a0664]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}"]], ["__scopeId", "data-v-330a0664"]]), Tf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7066
7321
|
__name: "GSubmitButton",
|
|
7067
7322
|
props: {
|
|
7068
7323
|
disabled: {
|
|
@@ -7090,48 +7345,48 @@ var cd = [
|
|
|
7090
7345
|
variant: t.variant,
|
|
7091
7346
|
class: "g-submit-button"
|
|
7092
7347
|
}, {
|
|
7093
|
-
default: I(() => [Wn(J("span", null,
|
|
7348
|
+
default: I(() => [Wn(J("span", null, j(t.loadingText), 513), [[Ko, s.value]]), Wn(J("span", null, [V(e.$slots, "default", {}, () => [n[0] ||= X("Submit", -1)], !0)], 512), [[Ko, !s.value]])]),
|
|
7094
7349
|
_: 3
|
|
7095
7350
|
}, 8, ["disabled", "variant"]));
|
|
7096
7351
|
}
|
|
7097
|
-
}), [["styles", [".g-submit-button[data-v-053621d8]{align-self:flex-start}"]], ["__scopeId", "data-v-053621d8"]]),
|
|
7352
|
+
}), [["styles", [".g-submit-button[data-v-053621d8]{align-self:flex-start}"]], ["__scopeId", "data-v-053621d8"]]), Ef = {
|
|
7098
7353
|
ref: "tableBodyRef",
|
|
7099
7354
|
class: "efficient-table-body"
|
|
7100
|
-
},
|
|
7355
|
+
}, Df = ["aria-rowindex"], Of = {
|
|
7101
7356
|
key: 0,
|
|
7102
7357
|
class: "table-group-checkbox"
|
|
7103
|
-
},
|
|
7358
|
+
}, kf = ["colspan"], Af = [
|
|
7104
7359
|
"aria-rowindex",
|
|
7105
7360
|
"onMousedown",
|
|
7106
7361
|
"onClick"
|
|
7107
|
-
],
|
|
7362
|
+
], jf = [
|
|
7108
7363
|
"checked",
|
|
7109
7364
|
"onClick",
|
|
7110
7365
|
"aria-label",
|
|
7111
7366
|
"name"
|
|
7112
|
-
],
|
|
7367
|
+
], Mf = ["id"], Nf = {
|
|
7113
7368
|
key: 0,
|
|
7114
7369
|
class: "editable-cell"
|
|
7115
|
-
},
|
|
7370
|
+
}, Pf = {
|
|
7116
7371
|
key: 0,
|
|
7117
7372
|
class: "cell-prefix"
|
|
7118
|
-
},
|
|
7373
|
+
}, Ff = [
|
|
7119
7374
|
"value",
|
|
7120
7375
|
"onChange",
|
|
7121
7376
|
"aria-labelledby",
|
|
7122
7377
|
"aria-invalid",
|
|
7123
7378
|
"name"
|
|
7124
|
-
],
|
|
7379
|
+
], If = ["value"], Lf = [
|
|
7125
7380
|
"value",
|
|
7126
7381
|
"onInput",
|
|
7127
7382
|
"aria-labelledby",
|
|
7128
7383
|
"aria-invalid",
|
|
7129
7384
|
"aria-errormessage",
|
|
7130
7385
|
"name"
|
|
7131
|
-
],
|
|
7386
|
+
], Rf = {
|
|
7132
7387
|
key: 3,
|
|
7133
7388
|
class: "cell-suffix"
|
|
7134
|
-
},
|
|
7389
|
+
}, zf = ["id"], Bf = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7135
7390
|
__name: "GTableBody",
|
|
7136
7391
|
props: {
|
|
7137
7392
|
data: { type: Array },
|
|
@@ -7200,14 +7455,14 @@ var cd = [
|
|
|
7200
7455
|
function m(e, t) {
|
|
7201
7456
|
if (n.changeTracker) return n.changeTracker.getError(e.key, t.key);
|
|
7202
7457
|
}
|
|
7203
|
-
return (t, n) => (G(), K("tbody",
|
|
7458
|
+
return (t, n) => (G(), K("tbody", Ef, [(G(!0), K(W, null, B(e.data, (t, r) => (G(), K(W, { key: t.key }, [e.groupBy && (r === 0 || t[e.groupBy] !== e.data[r - 1][e.groupBy]) ? (G(), K("tr", {
|
|
7204
7459
|
key: 0,
|
|
7205
7460
|
"aria-rowindex": e.startIndex + r + 2
|
|
7206
|
-
}, [e.bulkSelectionEnabled ? (G(), K("td",
|
|
7461
|
+
}, [e.bulkSelectionEnabled ? (G(), K("td", Of)) : Z("", !0), J("td", {
|
|
7207
7462
|
colspan: e.columns.length,
|
|
7208
7463
|
class: "table-group-row"
|
|
7209
|
-
}, [e.groupRender ? (G(), q(ri(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(
|
|
7210
|
-
class:
|
|
7464
|
+
}, [e.groupRender ? (G(), q(ri(e.groupRender(t[e.groupBy], t)), { key: 0 })) : (G(), K(W, { key: 1 }, [X(j(t[e.groupBy]), 1)], 64))], 8, kf)], 8, Df)) : Z("", !0), J("tr", {
|
|
7465
|
+
class: A([
|
|
7211
7466
|
"efficient-table-row",
|
|
7212
7467
|
{
|
|
7213
7468
|
"row-striped": r % 2 == 1,
|
|
@@ -7229,17 +7484,17 @@ var cd = [
|
|
|
7229
7484
|
"aria-label": `Select row ${t.key}`,
|
|
7230
7485
|
name: `row-${t.key}-checkbox`,
|
|
7231
7486
|
class: "g-bulk-select-checkbox"
|
|
7232
|
-
}, null, 8,
|
|
7487
|
+
}, null, 8, jf)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (n) => (G(), K("td", {
|
|
7233
7488
|
key: n.key,
|
|
7234
7489
|
id: d(n) ? `${e.tableId}-td-${t.key}-${String(n.key)}` : void 0,
|
|
7235
|
-
class:
|
|
7490
|
+
class: A([
|
|
7236
7491
|
n.editable ? "editable-td" : "",
|
|
7237
7492
|
f(t, n) ? "g-cell-changed" : "",
|
|
7238
7493
|
p(t, n) ? "g-cell-error" : "",
|
|
7239
7494
|
typeof n.tdClass == "function" ? n.tdClass(t) : n.tdClass
|
|
7240
7495
|
])
|
|
7241
|
-
}, [n.editable ? (G(), K("div",
|
|
7242
|
-
n.editable.prefix ? (G(), K("span",
|
|
7496
|
+
}, [n.editable ? (G(), K("div", Nf, [
|
|
7497
|
+
n.editable.prefix ? (G(), K("span", Pf, j(n.editable.prefix), 1)) : Z("", !0),
|
|
7243
7498
|
n.editable.type === "select" ? (G(), K("select", {
|
|
7244
7499
|
key: 1,
|
|
7245
7500
|
value: t[n.key],
|
|
@@ -7251,7 +7506,7 @@ var cd = [
|
|
|
7251
7506
|
}, [(G(!0), K(W, null, B(n.editable.options, (e) => (G(), K("option", {
|
|
7252
7507
|
key: e.value,
|
|
7253
7508
|
value: e.value
|
|
7254
|
-
},
|
|
7509
|
+
}, j(e.label), 9, If))), 128))], 40, Ff)) : (G(), K("input", Ha({
|
|
7255
7510
|
key: 2,
|
|
7256
7511
|
value: t[n.key]
|
|
7257
7512
|
}, { ref_for: !0 }, n.editable.inputAttributes, {
|
|
@@ -7265,30 +7520,30 @@ var cd = [
|
|
|
7265
7520
|
paddingLeft: n.editable.prefix ? "1.5rem" : void 0,
|
|
7266
7521
|
paddingRight: n.editable.suffix ? "2rem" : void 0
|
|
7267
7522
|
}
|
|
7268
|
-
}), null, 16,
|
|
7269
|
-
n.editable.suffix ? (G(), K("span",
|
|
7270
|
-
])) : n.display ? (G(), q(ri(n.display(t)), { key: 1 })) : (G(), K(W, { key: 2 }, [X(
|
|
7523
|
+
}), null, 16, Lf)),
|
|
7524
|
+
n.editable.suffix ? (G(), K("span", Rf, j(n.editable.suffix), 1)) : Z("", !0)
|
|
7525
|
+
])) : n.display ? (G(), q(ri(n.display(t)), { key: 1 })) : (G(), K(W, { key: 2 }, [X(j(t[n.key]), 1)], 64)), p(t, n) ? (G(), K("div", {
|
|
7271
7526
|
key: 3,
|
|
7272
7527
|
role: "alert",
|
|
7273
7528
|
class: "g-cell-error-message",
|
|
7274
7529
|
id: `${e.tableId}-error-${t.key}-${String(n.key)}`
|
|
7275
|
-
},
|
|
7530
|
+
}, j(m(t, n)), 9, zf)) : Z("", !0)], 10, Mf))), 128))], 42, Af)], 64))), 128))], 512));
|
|
7276
7531
|
}
|
|
7277
7532
|
}), [["styles", [".efficient-table-body th,.efficient-table-body td{padding:.4rem .2rem}.efficient-table-body td.editable-td{border-right:1px solid var(--g-surface-300);border-bottom:1px solid var(--g-surface-300);padding:0}.efficient-table-body td.editable-td:first-child,.efficient-table-body td:not(.editable-td)+td.editable-td{border-left:1px solid var(--g-surface-300)}.efficient-table-body tr:first-child td.editable-td{border-top:1px solid var(--g-surface-300)}.efficient-table-body .table-group-row{background:var(--g-surface-0);border-bottom:1px solid var(--g-accent-500);padding:1rem;font-size:1.25rem;font-weight:600}.efficient-table-body .table-group-checkbox{background:var(--g-surface-0);width:50px}.efficient-table-body .td-checkbox{text-align:center;width:50px;padding:.4rem}.efficient-table-body .g-bulk-select-checkbox{cursor:pointer;width:20px;height:20px;accent-color:var(--g-primary-500)}.row-striped{background-color:var(--g-surface-100)}.efficient-table-row.row-clickable{cursor:pointer}.efficient-table-row.row-clickable:hover{background-color:var(--ilw-color--focus--background)}.efficient-table-row.row-clickable:hover td,.efficient-table-row.row-clickable:hover a,.efficient-table-row.row-clickable:hover span,.efficient-table-row.row-clickable:hover strong{text-decoration:underline}@media (prefers-reduced-motion:reduce){.efficient-table-row.row-clickable,.efficient-table-row.row-clickable:hover{transition:none!important}}.editable-cell{width:100%;height:100%;display:block;position:relative}.editable-input{width:100%;font-size:1rem;font-family:var(--il-font-sans);box-sizing:border-box;background:0 0;border:none;border-radius:0;padding:.4rem .5rem .4rem .75rem}.editable-input:focus{outline:2px solid var(--g-primary-500);outline-offset:-2px;background:var(--g-surface-0)}.editable-select{cursor:pointer}.cell-prefix,.cell-suffix{color:var(--g-surface-600);pointer-events:none;font-size:1rem;position:absolute;top:50%;transform:translateY(-50%)}.cell-prefix{left:.5rem}.cell-suffix{right:.5rem}.g-cell-changed{background:#65c7ff4a}.g-cell-error{background:var(--g-danger-100);position:relative}.g-cell-error-message{background:var(--g-danger-500);color:var(--g-surface-0);padding:.25rem .5rem;font-size:.875rem}.g-cell-error .editable-input[aria-invalid=true]:focus{outline-color:var(--g-danger-500)}"]]]);
|
|
7278
7533
|
//#endregion
|
|
7279
7534
|
//#region src/compose/useFiltering.ts
|
|
7280
|
-
function
|
|
7535
|
+
function Vf(e) {
|
|
7281
7536
|
if (!(Array.isArray(e) && e.length === 0) && !(e === null || e === !1 || e === "")) return e;
|
|
7282
7537
|
}
|
|
7283
|
-
function
|
|
7538
|
+
function Hf(e) {
|
|
7284
7539
|
let t = {};
|
|
7285
7540
|
return Object.keys(e).forEach((n) => {
|
|
7286
7541
|
let r = e[n];
|
|
7287
7542
|
r != null && r !== "" && r !== !1 && (Array.isArray(r) ? r.length > 0 && (t[n] = r.map((e) => String(e))) : t[n] = String(r));
|
|
7288
7543
|
}), t;
|
|
7289
7544
|
}
|
|
7290
|
-
function
|
|
7291
|
-
let n = /* @__PURE__ */
|
|
7545
|
+
function Uf(e, t = {}) {
|
|
7546
|
+
let n = /* @__PURE__ */ Vt(Object.fromEntries(Object.entries(e).map(([e, t]) => [e, t]))), r = t.syncWith;
|
|
7292
7547
|
if (r) {
|
|
7293
7548
|
if (r.value) {
|
|
7294
7549
|
let t = rn(r);
|
|
@@ -7300,13 +7555,13 @@ function kf(e, t = {}) {
|
|
|
7300
7555
|
});
|
|
7301
7556
|
}
|
|
7302
7557
|
L(n, (e) => {
|
|
7303
|
-
r.value =
|
|
7558
|
+
r.value = Hf(e);
|
|
7304
7559
|
}, { deep: !0 });
|
|
7305
7560
|
}
|
|
7306
7561
|
return {
|
|
7307
7562
|
filters: n,
|
|
7308
7563
|
isFiltered: Q(() => {
|
|
7309
|
-
for (let t of Object.keys(e)) if (
|
|
7564
|
+
for (let t of Object.keys(e)) if (Vf(n[t])) return !0;
|
|
7310
7565
|
return !1;
|
|
7311
7566
|
}),
|
|
7312
7567
|
clearFilters: () => {
|
|
@@ -7316,48 +7571,48 @@ function kf(e, t = {}) {
|
|
|
7316
7571
|
},
|
|
7317
7572
|
filteredColumns: Q(() => {
|
|
7318
7573
|
let t = {};
|
|
7319
|
-
for (let r of Object.keys(e)) t[r] = !!
|
|
7574
|
+
for (let r of Object.keys(e)) t[r] = !!Vf(n[r]);
|
|
7320
7575
|
return t;
|
|
7321
7576
|
})
|
|
7322
7577
|
};
|
|
7323
7578
|
}
|
|
7324
7579
|
//#endregion
|
|
7325
7580
|
//#region src/components/GTable.vue?vue&type=script&setup=true&lang.ts
|
|
7326
|
-
var
|
|
7581
|
+
var Wf = { class: "g-table-outer-wrap" }, Gf = {
|
|
7327
7582
|
key: 0,
|
|
7328
7583
|
class: "g-table-controls"
|
|
7329
|
-
},
|
|
7584
|
+
}, Kf = { class: "g-clear-filters-wrap" }, qf = {
|
|
7330
7585
|
key: 0,
|
|
7331
7586
|
class: "pagination"
|
|
7332
|
-
},
|
|
7587
|
+
}, Jf = { class: "g-result-count" }, Yf = ["aria-label", "aria-rowcount"], Xf = { class: "g-table-head" }, Zf = { "aria-rowindex": "1" }, Qf = {
|
|
7333
7588
|
key: 0,
|
|
7334
7589
|
scope: "col",
|
|
7335
7590
|
class: "g-th g-th-checkbox"
|
|
7336
|
-
},
|
|
7591
|
+
}, $f = [
|
|
7337
7592
|
"checked",
|
|
7338
7593
|
"indeterminate",
|
|
7339
7594
|
"aria-label"
|
|
7340
|
-
],
|
|
7595
|
+
], ep = ["id", "aria-sort"], tp = { class: "th-inner" }, np = ["onClick"], rp = {
|
|
7341
7596
|
key: 0,
|
|
7342
7597
|
class: "sort-indicator"
|
|
7343
|
-
},
|
|
7598
|
+
}, ip = ["aria-label"], ap = {
|
|
7344
7599
|
key: 1,
|
|
7345
7600
|
class: "g-column-head"
|
|
7346
|
-
},
|
|
7601
|
+
}, op = ["onClick", "aria-label"], sp = { key: 1 }, cp = { class: "g-filter-toggle" }, lp = [
|
|
7347
7602
|
"onUpdate:modelValue",
|
|
7348
7603
|
"id",
|
|
7349
7604
|
"aria-describedby"
|
|
7350
|
-
],
|
|
7605
|
+
], up = ["for"], dp = ["id"], fp = {
|
|
7351
7606
|
key: 2,
|
|
7352
7607
|
class: "g-multi-select"
|
|
7353
|
-
},
|
|
7608
|
+
}, pp = [
|
|
7354
7609
|
"onUpdate:modelValue",
|
|
7355
7610
|
"id",
|
|
7356
7611
|
"value"
|
|
7357
|
-
],
|
|
7612
|
+
], mp = ["for"], hp = {
|
|
7358
7613
|
key: 1,
|
|
7359
7614
|
class: "g-bulk-actions-toolbar"
|
|
7360
|
-
},
|
|
7615
|
+
}, gp = { class: "g-selected-count" }, _p = { class: "g-bulk-actions" }, vp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7361
7616
|
__name: "GTable",
|
|
7362
7617
|
props: /* @__PURE__ */ H({
|
|
7363
7618
|
label: { type: String },
|
|
@@ -7409,7 +7664,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7409
7664
|
e.sortable && (n.value === e.key ? r.value === 1 ? r.value = -1 : r.value === -1 && (n.value = void 0, r.value = 1) : (n.value = e.key, r.value = 1));
|
|
7410
7665
|
}
|
|
7411
7666
|
let l = o.filtering;
|
|
7412
|
-
l ||=
|
|
7667
|
+
l ||= Uf({});
|
|
7413
7668
|
let { filters: u, filteredColumns: d, isFiltered: f, clearFilters: p } = l, m = Q(() => o.data.map((e) => e.key)), h = Q(() => a.value.filter((e) => m.value.includes(e))), g = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length === m.value.length), _ = Q(() => !o.bulkSelectionEnabled || o.data.length === 0 ? !1 : h.value.length > 0 && h.value.length < m.value.length), v = /* @__PURE__ */ P(null);
|
|
7414
7669
|
function y() {
|
|
7415
7670
|
if (g.value) a.value = a.value.filter((e) => !m.value.includes(e));
|
|
@@ -7435,7 +7690,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7435
7690
|
s("bulk-action", e, a.value);
|
|
7436
7691
|
}
|
|
7437
7692
|
function C(e) {
|
|
7438
|
-
let t = e.value, n = e.column.key, r = /* @__PURE__ */
|
|
7693
|
+
let t = e.value, n = e.column.key, r = /* @__PURE__ */ N(e.row[n]);
|
|
7439
7694
|
e.column.editable?.inputAttributes?.type === "number" && (t = e.value === "" ? null : Number(e.value)), e.row[n] = t, s("cell-change", {
|
|
7440
7695
|
row: e.row,
|
|
7441
7696
|
column: e.column,
|
|
@@ -7455,9 +7710,9 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7455
7710
|
let e = i.value[t.key];
|
|
7456
7711
|
i.value[t.key] = e ? [e] : [];
|
|
7457
7712
|
}
|
|
7458
|
-
}, { immediate: !0 }), (t, s) => (G(), K("div",
|
|
7459
|
-
ee.value ? (G(), K("div",
|
|
7460
|
-
J("div",
|
|
7713
|
+
}, { immediate: !0 }), (t, s) => (G(), K("div", Wf, [
|
|
7714
|
+
ee.value ? (G(), K("div", Gf, [
|
|
7715
|
+
J("div", Kf, [F(f) ? (G(), q(Hl, {
|
|
7461
7716
|
key: 0,
|
|
7462
7717
|
outlined: "",
|
|
7463
7718
|
size: "small",
|
|
@@ -7475,51 +7730,51 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7475
7730
|
})], -1), J("span", { class: "g-clear-filters-text" }, " Clear Filters ", -1)]]),
|
|
7476
7731
|
_: 1
|
|
7477
7732
|
}, 8, ["onClick"])) : Z("", !0)]),
|
|
7478
|
-
E.value ? (G(), K("div",
|
|
7479
|
-
J("span",
|
|
7733
|
+
E.value ? (G(), K("div", qf, [V(t.$slots, "pagination", {}, void 0, !0)])) : Z("", !0),
|
|
7734
|
+
J("span", Jf, j(o.resultCount || e.data.length) + " results", 1)
|
|
7480
7735
|
])) : Z("", !0),
|
|
7481
7736
|
J("table", {
|
|
7482
7737
|
class: "g-table",
|
|
7483
7738
|
ref: "tableRef",
|
|
7484
7739
|
"aria-label": e.label,
|
|
7485
7740
|
"aria-rowcount": o.resultCount || e.data.length
|
|
7486
|
-
}, [J("thead",
|
|
7741
|
+
}, [J("thead", Xf, [J("tr", Zf, [e.bulkSelectionEnabled ? (G(), K("th", Qf, [J("input", {
|
|
7487
7742
|
type: "checkbox",
|
|
7488
7743
|
checked: g.value,
|
|
7489
7744
|
indeterminate: _.value,
|
|
7490
7745
|
onChange: y,
|
|
7491
7746
|
"aria-label": g.value ? "Deselect all rows" : "Select all rows",
|
|
7492
7747
|
class: "g-bulk-select-checkbox"
|
|
7493
|
-
}, null, 40,
|
|
7748
|
+
}, null, 40, $f)])) : Z("", !0), (G(!0), K(W, null, B(e.columns, (e) => (G(), K("th", {
|
|
7494
7749
|
key: e.key,
|
|
7495
7750
|
id: `${F(w)}-th-${String(e.key)}`,
|
|
7496
7751
|
"aria-sort": n.value === e.key ? r.value === 1 ? "ascending" : "descending" : "none",
|
|
7497
|
-
class:
|
|
7752
|
+
class: A([
|
|
7498
7753
|
"g-th",
|
|
7499
7754
|
{ sorted: n.value === e.key },
|
|
7500
7755
|
{ filtered: F(d)[e.key] }
|
|
7501
7756
|
]),
|
|
7502
7757
|
scope: "col"
|
|
7503
|
-
}, [J("div",
|
|
7758
|
+
}, [J("div", tp, [e.sortable ? (G(), K("button", {
|
|
7504
7759
|
key: 0,
|
|
7505
7760
|
type: "button",
|
|
7506
7761
|
class: "g-column-head",
|
|
7507
7762
|
onClick: (t) => c(e)
|
|
7508
|
-
}, [X(
|
|
7763
|
+
}, [X(j(e.label) + " ", 1), n.value === e.key ? (G(), K("span", rp, [(G(), K("svg", {
|
|
7509
7764
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7510
7765
|
viewBox: "0 0 640 640",
|
|
7511
7766
|
height: "1.5em",
|
|
7512
7767
|
role: "img",
|
|
7513
7768
|
"aria-label": r.value === 1 ? "Sorted ascending" : "Sorted descending",
|
|
7514
|
-
style:
|
|
7769
|
+
style: ue({ transform: `rotate(${r.value === 1 ? 0 : 180}deg)` })
|
|
7515
7770
|
}, [...s[1] ||= [J("path", {
|
|
7516
7771
|
fill: "currentColor",
|
|
7517
7772
|
d: "M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z"
|
|
7518
|
-
}, null, -1)]], 12,
|
|
7773
|
+
}, null, -1)]], 12, ip))])) : Z("", !0)], 8, np)) : (G(), K("span", ap, j(e.label), 1)), e.filter ? (G(), q(Bd, { key: 2 }, {
|
|
7519
7774
|
trigger: I(({ toggle: t }) => [J("button", {
|
|
7520
7775
|
onClick: js(t, ["stop"]),
|
|
7521
7776
|
"aria-label": F(d)[e.key] ? "Column Filtered" : "Filter Column",
|
|
7522
|
-
class:
|
|
7777
|
+
class: A(["g-filter-btn", { "g-active": F(d)[e.key] }]),
|
|
7523
7778
|
type: "button"
|
|
7524
7779
|
}, [...s[2] ||= [J("svg", {
|
|
7525
7780
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7529,8 +7784,8 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7529
7784
|
}, [J("path", {
|
|
7530
7785
|
fill: "currentColor",
|
|
7531
7786
|
d: "M96 128C83.1 128 71.4 135.8 66.4 147.8C61.4 159.8 64.2 173.5 73.4 182.6L256 365.3L256 480C256 488.5 259.4 496.6 265.4 502.6L329.4 566.6C338.6 575.8 352.3 578.5 364.3 573.5C376.3 568.5 384 556.9 384 544L384 365.3L566.6 182.7C575.8 173.5 578.5 159.8 573.5 147.8C568.5 135.8 556.9 128 544 128L96 128z"
|
|
7532
|
-
})], -1)]], 10,
|
|
7533
|
-
default: I(() => [e.filter.type === "select" ? (G(), q(
|
|
7787
|
+
})], -1)]], 10, op)]),
|
|
7788
|
+
default: I(() => [e.filter.type === "select" ? (G(), q(ff, {
|
|
7534
7789
|
key: 0,
|
|
7535
7790
|
modelValue: i.value[e.key],
|
|
7536
7791
|
"onUpdate:modelValue": (t) => i.value[e.key] = t,
|
|
@@ -7543,20 +7798,20 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7543
7798
|
"modelValue",
|
|
7544
7799
|
"onUpdate:modelValue",
|
|
7545
7800
|
"options"
|
|
7546
|
-
])) : e.filter.type === "toggle" ? (G(), K("div",
|
|
7801
|
+
])) : e.filter.type === "toggle" ? (G(), K("div", sp, [J("div", cp, [
|
|
7547
7802
|
Wn(J("input", {
|
|
7548
7803
|
type: "checkbox",
|
|
7549
7804
|
"onUpdate:modelValue": (t) => i.value[e.key] = t,
|
|
7550
7805
|
id: `${F(w)}-filter-${String(e.key)}`,
|
|
7551
7806
|
"aria-describedby": e.filter.description ? `${F(w)}-filter-description-${String(e.key)}` : void 0
|
|
7552
|
-
}, null, 8,
|
|
7553
|
-
J("label", { for: `${F(w)}-filter-${String(e.key)}` },
|
|
7807
|
+
}, null, 8, lp), [[Ts, i.value[e.key]]]),
|
|
7808
|
+
J("label", { for: `${F(w)}-filter-${String(e.key)}` }, j(e.filter.label), 9, up),
|
|
7554
7809
|
e.filter.description ? (G(), K("span", {
|
|
7555
7810
|
key: 0,
|
|
7556
7811
|
class: "g-filter-description",
|
|
7557
7812
|
id: `${F(w)}-filter-description-${String(e.key)}`
|
|
7558
|
-
},
|
|
7559
|
-
])])) : e.filter.type === "multi-select" ? (G(), K("fieldset",
|
|
7813
|
+
}, j(e.filter.description), 9, dp)) : Z("", !0)
|
|
7814
|
+
])])) : e.filter.type === "multi-select" ? (G(), K("fieldset", fp, [
|
|
7560
7815
|
s[4] ||= J("legend", { class: "g-multi-select-legend" }, " Include values ", -1),
|
|
7561
7816
|
(G(!0), K(W, null, B(e.filter.options, (t) => (G(), K("div", { key: t.value }, [Wn(J("input", {
|
|
7562
7817
|
type: "checkbox",
|
|
@@ -7564,7 +7819,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7564
7819
|
id: `filter-${String(e.key)}-${t.value}`,
|
|
7565
7820
|
value: t.value,
|
|
7566
7821
|
name: "filter-multiselect"
|
|
7567
|
-
}, null, 8,
|
|
7822
|
+
}, null, 8, pp), [[Ts, i.value[e.key]]]), J("label", { for: `filter-${String(e.key)}-${t.value}` }, j(t.label), 9, mp)]))), 128)),
|
|
7568
7823
|
i.value[e.key] && i.value[e.key].length ? (G(), q(Hl, {
|
|
7569
7824
|
key: 0,
|
|
7570
7825
|
class: "clear-multiselect-btn",
|
|
@@ -7577,7 +7832,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7577
7832
|
}, 8, ["onClick"])) : Z("", !0)
|
|
7578
7833
|
])) : Z("", !0)]),
|
|
7579
7834
|
_: 2
|
|
7580
|
-
}, 1024)) : Z("", !0)])], 10,
|
|
7835
|
+
}, 1024)) : Z("", !0)])], 10, ep))), 128))])]), Y(Bf, {
|
|
7581
7836
|
data: e.data,
|
|
7582
7837
|
columns: e.columns,
|
|
7583
7838
|
"group-by": e.groupBy,
|
|
@@ -7604,21 +7859,21 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7604
7859
|
"selected-rows",
|
|
7605
7860
|
"table-id",
|
|
7606
7861
|
"change-tracker"
|
|
7607
|
-
])], 8,
|
|
7608
|
-
e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div",
|
|
7862
|
+
])], 8, Yf),
|
|
7863
|
+
e.bulkSelectionEnabled && a.value.length > 0 ? (G(), K("div", hp, [J("span", gp, j(a.value.length) + " row" + j(a.value.length === 1 ? "" : "s") + " selected", 1), J("ul", _p, [(G(!0), K(W, null, B(e.bulkActions, (e) => (G(), K("li", { key: e.id }, [Y(Hl, {
|
|
7609
7864
|
theme: e.theme || "accent",
|
|
7610
7865
|
onClick: (t) => S(e.id),
|
|
7611
7866
|
size: "small"
|
|
7612
7867
|
}, {
|
|
7613
|
-
default: I(() => [X(
|
|
7868
|
+
default: I(() => [X(j(e.label) + " " + j(a.value.length) + " row" + j(a.value.length === 1 ? "" : "s"), 1)]),
|
|
7614
7869
|
_: 2
|
|
7615
7870
|
}, 1032, ["theme", "onClick"])]))), 128))])])) : Z("", !0)
|
|
7616
7871
|
]));
|
|
7617
7872
|
}
|
|
7618
|
-
}), [["styles", [".g-table-controls[data-v-
|
|
7873
|
+
}), [["styles", [".g-table-controls[data-v-32760cb5]{height:40px;padding:2px 6px;display:flex;position:sticky;top:0;left:0}.g-table-head[data-v-32760cb5]{background:var(--g-surface-0);z-index:1;position:sticky;top:40px}.g-th[data-v-32760cb5]{text-align:left;border:0;border-bottom:2px solid var(--g-surface-900);background:var(--g-surface-0);padding:.5rem .2rem}.g-th.sorted[data-v-32760cb5]{color:var(--ilw-color--link-hover)}.g-th.filtered .g-filter-btn[data-v-32760cb5]{color:var(--ilw-color--link-hover)}.g-th .th-inner[data-v-32760cb5]{align-items:center;display:flex}.g-column-head[data-v-32760cb5]{color:currentColor;font-weight:700;font-family:var(--il-font-sans);white-space:nowrap;background:var(--g-surface-0);border:none;padding-left:4px;font-size:1rem;line-height:1.3;position:relative}.g-column-head .sort-indicator[data-v-32760cb5]{position:absolute;bottom:-1.1em;left:calc(50% - .7em)}th:first-of-type .g-column-head[data-v-32760cb5]{padding-left:0}button.g-column-head[data-v-32760cb5]{cursor:pointer;height:2rem}button.g-column-head[data-v-32760cb5]:hover{color:var(--ilw-color--link-hover);text-decoration:underline}.g-table[data-v-32760cb5]{border-spacing:0;min-width:100%}.g-filter-btn[data-v-32760cb5]{cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:2rem;height:2rem;display:inline-flex}.g-filter-btn[data-v-32760cb5]:hover{background:var(--g-primary-500);color:var(--g-primary-text)}.g-filter-btn[data-v-32760cb5]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-filter-btn.g-active[data-v-32760cb5]{border:2px solid var(--ilw-color--link-hover)}.g-clear-filters-text[data-v-32760cb5]{white-space:nowrap}@media screen and (width<=600px){.g-clear-filters-text[data-v-32760cb5]{opacity:0;width:1px;height:1px;overflow:hidden}}.g-filter-select[data-v-32760cb5]{min-width:200px}.g-table-controls[data-v-32760cb5]{background:var(--g-surface-150);justify-content:space-between;align-items:center;gap:1.5rem;padding:.2rem 1rem;display:flex}.g-table-controls .g-result-count[data-v-32760cb5]{font-size:1rem;line-height:1.2}.g-multi-select[data-v-32760cb5]{border:none;flex-direction:column;gap:.5rem;margin:0;padding:0;display:flex}.g-multi-select .clear-multiselect-btn[data-v-32760cb5]{margin-top:.5rem}.g-multi-select legend[data-v-32760cb5]{margin-bottom:.5rem;font-size:1.125rem;font-weight:700}.g-multi-select div[data-v-32760cb5]{align-items:center;gap:.5rem;display:flex}.g-multi-select div[data-v-32760cb5]:has(:focus-visible){outline:2px solid var(--g-primary-500)}.g-multi-select input[data-v-32760cb5]{width:24px;height:24px;accent-color:var(--g-primary-500);display:block}.g-multi-select label[data-v-32760cb5]{flex:1;font-size:1.125rem}.g-multi-select-legend[data-v-32760cb5]{margin:0;padding:0;font-size:1rem;line-height:1.2}.g-filter-toggle[data-v-32760cb5]{grid-template-columns:auto 1fr;grid-template-areas:\"label input\"\"description description\";align-items:center;gap:.5rem;display:grid}.g-filter-toggle input[data-v-32760cb5]{width:24px;height:24px}.g-filter-toggle label[data-v-32760cb5]{font-size:1.125rem;font-weight:700}.g-filter-toggle .g-filter-description[data-v-32760cb5]{grid-area:description}.g-th-checkbox[data-v-32760cb5]{text-align:center;width:50px}.g-bulk-select-checkbox[data-v-32760cb5]{cursor:pointer;width:20px;height:20px;accent-color:var(--g-primary-500)}.g-bulk-actions-toolbar[data-v-32760cb5]{background:var(--g-primary-500);color:var(--g-primary-text);z-index:1;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex;position:sticky;bottom:0;left:0;right:0;box-shadow:0 -2px 8px #00000026}.g-bulk-actions-toolbar ul[data-v-32760cb5]{gap:1rem;margin:0;padding:0;list-style:none;display:flex}.g-bulk-actions-toolbar li[data-v-32760cb5]{margin:0}.g-selected-count[data-v-32760cb5]{font-size:1rem;font-weight:600}.g-bulk-actions[data-v-32760cb5]{align-items:center;gap:.5rem;display:flex}"]], ["__scopeId", "data-v-32760cb5"]]), yp = {
|
|
7619
7874
|
class: "g-pagination",
|
|
7620
7875
|
"aria-label": "Pagination"
|
|
7621
|
-
},
|
|
7876
|
+
}, bp = ["disabled"], xp = ["disabled"], Sp = { class: "page-range" }, Cp = ["disabled"], wp = ["disabled"], Tp = ["value"], Ep = ["value"], Dp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7622
7877
|
__name: "GTablePagination",
|
|
7623
7878
|
props: /* @__PURE__ */ H({
|
|
7624
7879
|
start: { type: Number },
|
|
@@ -7640,7 +7895,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7640
7895
|
function d(e) {
|
|
7641
7896
|
i.value = parseInt(e.target.value, 10);
|
|
7642
7897
|
}
|
|
7643
|
-
return (e, r) => (G(), K("nav",
|
|
7898
|
+
return (e, r) => (G(), K("nav", yp, [
|
|
7644
7899
|
J("button", {
|
|
7645
7900
|
class: "first-page g-pagination-button",
|
|
7646
7901
|
disabled: l.value === 1,
|
|
@@ -7665,7 +7920,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7665
7920
|
}),
|
|
7666
7921
|
J("path", { d: "M11 7l-5 5l5 5" }),
|
|
7667
7922
|
J("path", { d: "M17 7l-5 5l5 5" })
|
|
7668
|
-
], -1)]], 8,
|
|
7923
|
+
], -1)]], 8, bp),
|
|
7669
7924
|
J("button", {
|
|
7670
7925
|
class: "prev-page g-pagination-button",
|
|
7671
7926
|
disabled: l.value === 1,
|
|
@@ -7686,8 +7941,8 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7686
7941
|
stroke: "none",
|
|
7687
7942
|
d: "M0 0h24v24H0z",
|
|
7688
7943
|
fill: "none"
|
|
7689
|
-
}), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8,
|
|
7690
|
-
J("span",
|
|
7944
|
+
}), J("path", { d: "M15 6l-6 6l6 6" })], -1)]], 8, xp),
|
|
7945
|
+
J("span", Sp, j(s.value) + " to " + j(c.value), 1),
|
|
7691
7946
|
J("button", {
|
|
7692
7947
|
class: "next-page g-pagination-button",
|
|
7693
7948
|
disabled: l.value === n.value,
|
|
@@ -7708,7 +7963,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7708
7963
|
stroke: "none",
|
|
7709
7964
|
d: "M0 0h24v24H0z",
|
|
7710
7965
|
fill: "none"
|
|
7711
|
-
}), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8,
|
|
7966
|
+
}), J("path", { d: "M9 6l6 6l-6 6" })], -1)]], 8, Cp),
|
|
7712
7967
|
J("button", {
|
|
7713
7968
|
class: "last-page g-pagination-button",
|
|
7714
7969
|
disabled: l.value === n.value,
|
|
@@ -7733,7 +7988,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7733
7988
|
}),
|
|
7734
7989
|
J("path", { d: "M7 7l5 5l-5 5" }),
|
|
7735
7990
|
J("path", { d: "M13 7l5 5l-5 5" })
|
|
7736
|
-
], -1)]], 8,
|
|
7991
|
+
], -1)]], 8, wp),
|
|
7737
7992
|
J("select", {
|
|
7738
7993
|
id: "page-size-select",
|
|
7739
7994
|
class: "page-size-select",
|
|
@@ -7747,14 +8002,14 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7747
8002
|
], (e) => (G(), K("option", {
|
|
7748
8003
|
key: e,
|
|
7749
8004
|
value: e
|
|
7750
|
-
},
|
|
8005
|
+
}, j(e), 9, Ep))), 128))], 40, Tp),
|
|
7751
8006
|
r[8] ||= J("label", {
|
|
7752
8007
|
class: "page-size-label",
|
|
7753
8008
|
for: "page-size-select"
|
|
7754
8009
|
}, "per page", -1)
|
|
7755
8010
|
]));
|
|
7756
8011
|
}
|
|
7757
|
-
}), [["styles", [".g-pagination[data-v-
|
|
8012
|
+
}), [["styles", [".g-pagination[data-v-ae2bd887]{align-items:center;gap:.1rem;font-size:1rem;display:flex}.g-pagination .g-pagination-button[data-v-ae2bd887]{color:var(--g-surface-900);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.2rem .4rem}.g-pagination .g-pagination-button:not(:disabled)[data-v-ae2bd887]:hover{background:var(--g-primary-500);color:var(--g-primary-text)}.g-pagination .g-pagination-button:not(:disabled)[data-v-ae2bd887]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-pagination button[data-v-ae2bd887]:disabled{cursor:auto;color:var(--g-surface-600)}.g-pagination .page-range[data-v-ae2bd887]{text-align:center;min-width:3rem}.g-pagination .page-size-select[data-v-ae2bd887]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);color:var(--g-surface-900);cursor:pointer;font-size:1rem;font-family:var(--il-font-sans);border-radius:.2em;margin-left:1rem;margin-right:.5rem;padding:.2em .5em}.g-pagination .page-size-select[data-v-ae2bd887]:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.page-size-label[data-v-ae2bd887]{line-height:1.2}@media (prefers-reduced-motion:reduce){.g-pagination .page-size-select[data-v-ae2bd887]{transition:none}}"]], ["__scopeId", "data-v-ae2bd887"]]), Op = { class: "popover-content" }, kp = { class: "year-dropdown" }, Ap = { class: "month-selector" }, jp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7758
8013
|
__name: "GTermSelectorControl",
|
|
7759
8014
|
props: /* @__PURE__ */ H({
|
|
7760
8015
|
termYears: {
|
|
@@ -7787,7 +8042,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7787
8042
|
emits: ["update:modelValue"],
|
|
7788
8043
|
setup(e) {
|
|
7789
8044
|
let t = U(e, "modelValue");
|
|
7790
|
-
return (n, r) => (G(), K("div",
|
|
8045
|
+
return (n, r) => (G(), K("div", Op, [J("div", kp, [Y(ff, {
|
|
7791
8046
|
modelValue: t.value.year,
|
|
7792
8047
|
"onUpdate:modelValue": r[0] ||= (e) => t.value.year = e,
|
|
7793
8048
|
options: e.termYears,
|
|
@@ -7796,7 +8051,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7796
8051
|
"modelValue",
|
|
7797
8052
|
"options",
|
|
7798
8053
|
"label"
|
|
7799
|
-
])]), J("div",
|
|
8054
|
+
])]), J("div", Ap, [Y(vf, {
|
|
7800
8055
|
modelValue: t.value.name,
|
|
7801
8056
|
"onUpdate:modelValue": r[1] ||= (e) => t.value.name = e,
|
|
7802
8057
|
options: e.termNames,
|
|
@@ -7808,10 +8063,10 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7808
8063
|
"label"
|
|
7809
8064
|
])])]));
|
|
7810
8065
|
}
|
|
7811
|
-
}), [["styles", [".year-dropdown[data-v-43c70980]{justify-content:left;margin:1rem 0;display:flex}"]], ["__scopeId", "data-v-43c70980"]]),
|
|
8066
|
+
}), [["styles", [".year-dropdown[data-v-43c70980]{justify-content:left;margin:1rem 0;display:flex}"]], ["__scopeId", "data-v-43c70980"]]), Mp = { class: "g-term-selector" }, Np = { class: "g-term-label" }, Pp = {
|
|
7812
8067
|
class: "popover-title",
|
|
7813
8068
|
tabindex: "-1"
|
|
7814
|
-
},
|
|
8069
|
+
}, Fp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7815
8070
|
__name: "GTermSelector",
|
|
7816
8071
|
props: /* @__PURE__ */ H({
|
|
7817
8072
|
title: {
|
|
@@ -7842,7 +8097,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7842
8097
|
emits: ["update:modelValue"],
|
|
7843
8098
|
setup(e) {
|
|
7844
8099
|
let t = U(e, "modelValue");
|
|
7845
|
-
return (n, r) => (G(), K("div",
|
|
8100
|
+
return (n, r) => (G(), K("div", Mp, [Y(Bd, null, {
|
|
7846
8101
|
trigger: I(({ toggle: e }) => [Y(Hl, {
|
|
7847
8102
|
class: "g-term-selector-button",
|
|
7848
8103
|
theme: "none",
|
|
@@ -7855,7 +8110,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7855
8110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7856
8111
|
viewBox: "0 0 640 640"
|
|
7857
8112
|
}, [J("path", { d: "M224 64C206.3 64 192 78.3 192 96L192 128L160 128C124.7 128 96 156.7 96 192L96 240L544 240L544 192C544 156.7 515.3 128 480 128L448 128L448 96C448 78.3 433.7 64 416 64C398.3 64 384 78.3 384 96L384 128L256 128L256 96C256 78.3 241.7 64 224 64zM96 288L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 288L96 288z" })])], -1),
|
|
7858
|
-
J("span",
|
|
8113
|
+
J("span", Np, j(t.value?.name) + " " + j(t.value?.year), 1),
|
|
7859
8114
|
r[1] ||= J("span", { class: "g-caret" }, [J("svg", {
|
|
7860
8115
|
role: "none presentation",
|
|
7861
8116
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7864,15 +8119,15 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7864
8119
|
]),
|
|
7865
8120
|
_: 1
|
|
7866
8121
|
}, 8, ["onClick"])]),
|
|
7867
|
-
default: I(() => [J("h2",
|
|
8122
|
+
default: I(() => [J("h2", Pp, j(e.title), 1), Y(jp, he(La(n.$props)), null, 16)]),
|
|
7868
8123
|
_: 1
|
|
7869
8124
|
})]));
|
|
7870
8125
|
}
|
|
7871
|
-
}), [["styles", [".popover-title[data-v-
|
|
8126
|
+
}), [["styles", [".popover-title[data-v-47e0fca1]{background:var(--g-surface-50);color:var(--g-accent-700);text-align:center;margin:-1.5rem -1rem 0;padding:.5rem 1rem;font-size:1rem;font-weight:600;display:block}.g-term-selector .g-term-selector-button[data-v-47e0fca1]{background:var(--g-surface-0);color:var(--g-primary-500);border-color:var(--g-primary-500);height:2.35rem;padding:0 8px 0 0;font-size:1rem;text-decoration:none}.g-term-selector .g-term-selector-button .g-calendar-icon[data-v-47e0fca1]{background:var(--g-primary-500);color:var(--g-surface-0);align-items:center;height:100%;padding:0 10px;display:flex}.g-term-selector .g-term-selector-button .g-calendar-icon svg[data-v-47e0fca1]{fill:currentColor;stroke:currentColor;width:1.5rem}.g-term-selector .g-term-selector-button:hover .g-term-label[data-v-47e0fca1]{text-decoration:underline}.g-term-selector .g-term-selector-button[data-v-47e0fca1]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-term-selector .g-term-selector-button .g-caret[data-v-47e0fca1]{pointer-events:none;color:var(--ilw-color--link-hover);width:20px}.g-term-label[data-v-47e0fca1]{width:120px;padding-top:2px}@media screen and (width<=1000px){.g-term-label[data-v-47e0fca1]{width:70px}}"]], ["__scopeId", "data-v-47e0fca1"]]), Ip = ["for"], Lp = {
|
|
7872
8127
|
key: 0,
|
|
7873
8128
|
class: "g-textarea-required",
|
|
7874
8129
|
"aria-hidden": "true"
|
|
7875
|
-
},
|
|
8130
|
+
}, Rp = ["id"], zp = [
|
|
7876
8131
|
"value",
|
|
7877
8132
|
"placeholder",
|
|
7878
8133
|
"disabled",
|
|
@@ -7880,11 +8135,11 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7880
8135
|
"rows",
|
|
7881
8136
|
"maxlength",
|
|
7882
8137
|
"aria-invalid"
|
|
7883
|
-
],
|
|
8138
|
+
], Bp = {
|
|
7884
8139
|
key: 2,
|
|
7885
8140
|
class: "g-textarea-char-count",
|
|
7886
8141
|
"aria-live": "polite"
|
|
7887
|
-
},
|
|
8142
|
+
}, Vp = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
7888
8143
|
inheritAttrs: !1,
|
|
7889
8144
|
__name: "GTextarea",
|
|
7890
8145
|
props: /* @__PURE__ */ H({
|
|
@@ -7976,17 +8231,17 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
7976
8231
|
m(t), n.autoGrow && p();
|
|
7977
8232
|
}, 0);
|
|
7978
8233
|
}
|
|
7979
|
-
return (t, a) => (G(), K("div", { class:
|
|
8234
|
+
return (t, a) => (G(), K("div", { class: A(["g-textarea-wrap", { "g-textarea-has-error": F(u) }]) }, [
|
|
7980
8235
|
n.label ? (G(), K("label", {
|
|
7981
8236
|
key: 0,
|
|
7982
8237
|
for: c.value,
|
|
7983
8238
|
class: "g-textarea-label"
|
|
7984
|
-
}, [X(
|
|
8239
|
+
}, [X(j(n.label), 1), n.required ? (G(), K("span", Lp, " *")) : Z("", !0)], 8, Ip)) : Z("", !0),
|
|
7985
8240
|
t.$slots.instructions || e.instructions ? (G(), K("div", {
|
|
7986
8241
|
key: 1,
|
|
7987
8242
|
id: "instructions-" + F(i),
|
|
7988
8243
|
class: "g-textarea-instructions"
|
|
7989
|
-
}, [V(t.$slots, "instructions", {}, () => [X(
|
|
8244
|
+
}, [V(t.$slots, "instructions", {}, () => [X(j(e.instructions), 1)], !0)], 8, Rp)) : Z("", !0),
|
|
7990
8245
|
J("textarea", Ha({
|
|
7991
8246
|
ref: "textareaEl",
|
|
7992
8247
|
value: r.value ?? "",
|
|
@@ -8007,36 +8262,36 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8007
8262
|
onInput: h,
|
|
8008
8263
|
onBlur: g,
|
|
8009
8264
|
onPaste: _
|
|
8010
|
-
}), null, 16,
|
|
8011
|
-
n.maxlength === void 0 ? Z("", !0) : (G(), K("div",
|
|
8265
|
+
}), null, 16, zp),
|
|
8266
|
+
n.maxlength === void 0 ? Z("", !0) : (G(), K("div", Bp, j((r.value ?? "").length) + " / " + j(n.maxlength), 1)),
|
|
8012
8267
|
Y(su, {
|
|
8013
8268
|
errors: F(l),
|
|
8014
8269
|
id: "error-message-" + F(i)
|
|
8015
8270
|
}, null, 8, ["errors", "id"])
|
|
8016
8271
|
], 2));
|
|
8017
8272
|
}
|
|
8018
|
-
}), [["styles", [".g-textarea-wrap[data-v-
|
|
8273
|
+
}), [["styles", [".g-textarea-wrap[data-v-29e2f23f]{flex-direction:column;display:flex;position:relative}.g-textarea-label[data-v-29e2f23f]{margin-bottom:.5em;font-size:1.25em}.g-textarea-required[data-v-29e2f23f]{color:var(--g-danger-600)}.g-textarea-instructions[data-v-29e2f23f]{color:var(--g-surface-800);margin:0 0 .75em .5em}.g-textarea[data-v-29e2f23f]{border:2px solid var(--g-primary-500);background:var(--g-surface-0);width:100%;color:var(--g-surface-950);font-size:1em;font-family:var(--il-font-sans);resize:vertical;box-sizing:border-box;border-radius:4px;padding:.5em}.g-textarea[data-v-29e2f23f]:focus{outline:2px solid var(--g-primary-500);box-shadow:0 0 0 2px var(--g-info-200);outline-offset:2px}.g-textarea-has-error .g-textarea[data-v-29e2f23f]{border-color:var(--g-danger-600);background:var(--g-danger-100)}.g-textarea[data-v-29e2f23f]:disabled{background:var(--g-surface-100);color:var(--g-surface-700);cursor:not-allowed}.g-textarea[readonly][data-v-29e2f23f]{background:var(--g-surface-50);color:var(--g-surface-800)}.g-textarea-char-count[data-v-29e2f23f]{color:var(--g-surface-700);text-align:right;margin-top:.25em;font-size:.875em}"]], ["__scopeId", "data-v-29e2f23f"]]), Hp = { class: "g-three-way-toggle-wrapper" }, Up = { class: "g-three-way-toggle-control" }, Wp = ["id"], Gp = [
|
|
8019
8274
|
"aria-labelledby",
|
|
8020
8275
|
"aria-describedby",
|
|
8021
8276
|
"disabled",
|
|
8022
8277
|
"aria-invalid",
|
|
8023
8278
|
"aria-errormessage"
|
|
8024
|
-
],
|
|
8279
|
+
], Kp = { key: 0 }, qp = { key: 1 }, Jp = { key: 2 }, Yp = ["for"], Xp = [
|
|
8025
8280
|
"id",
|
|
8026
8281
|
"name",
|
|
8027
8282
|
"checked",
|
|
8028
8283
|
"disabled"
|
|
8029
|
-
],
|
|
8284
|
+
], Zp = ["for"], Qp = [
|
|
8030
8285
|
"id",
|
|
8031
8286
|
"name",
|
|
8032
8287
|
"checked",
|
|
8033
8288
|
"disabled"
|
|
8034
|
-
],
|
|
8289
|
+
], $p = ["for"], em = [
|
|
8035
8290
|
"id",
|
|
8036
8291
|
"name",
|
|
8037
8292
|
"checked",
|
|
8038
8293
|
"disabled"
|
|
8039
|
-
],
|
|
8294
|
+
], tm = ["id"], nm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8040
8295
|
__name: "GThreeWayToggle",
|
|
8041
8296
|
props: /* @__PURE__ */ H({
|
|
8042
8297
|
label: { type: String },
|
|
@@ -8070,22 +8325,22 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8070
8325
|
function m(e) {
|
|
8071
8326
|
n.disabled || (e.key === "n" || e.key === "N" ? (a(!1), e.preventDefault()) : (e.key === "y" || e.key === "Y") && (a(!0), e.preventDefault()));
|
|
8072
8327
|
}
|
|
8073
|
-
return (t, n) => (G(), K("div",
|
|
8328
|
+
return (t, n) => (G(), K("div", Hp, [J("div", Up, [J("span", {
|
|
8074
8329
|
class: "g-label",
|
|
8075
8330
|
id: F(c)
|
|
8076
|
-
}, [V(t.$slots, "label", {}, () => [X(
|
|
8077
|
-
class:
|
|
8331
|
+
}, [V(t.$slots, "label", {}, () => [X(j(e.label), 1)], !0)], 8, Wp), J("fieldset", {
|
|
8332
|
+
class: A(["g-three-way-toggle", { "g-has-error": e.error }]),
|
|
8078
8333
|
role: "radiogroup",
|
|
8079
8334
|
"aria-labelledby": F(c),
|
|
8080
8335
|
"aria-describedby": e.describedby,
|
|
8081
8336
|
disabled: e.disabled,
|
|
8082
8337
|
"aria-invalid": e.error ? "true" : void 0,
|
|
8083
8338
|
"aria-errormessage": e.error ? F(c) + "-error" : void 0
|
|
8084
|
-
}, [J("div", { class:
|
|
8339
|
+
}, [J("div", { class: A(["g-toggle-track", [p.value, { "g-disabled": e.disabled }]]) }, [
|
|
8085
8340
|
J("span", {
|
|
8086
|
-
class:
|
|
8341
|
+
class: A(["g-toggle-thumb", p.value]),
|
|
8087
8342
|
"aria-hidden": "true"
|
|
8088
|
-
}, [r.value === !1 ? (G(), K("span",
|
|
8343
|
+
}, [r.value === !1 ? (G(), K("span", Kp, "NO")) : r.value === !0 ? (G(), K("span", qp, "YES")) : (G(), K("span", Jp))], 2),
|
|
8089
8344
|
J("label", {
|
|
8090
8345
|
for: F(u),
|
|
8091
8346
|
class: "g-toggle-option g-left",
|
|
@@ -8099,7 +8354,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8099
8354
|
value: "false",
|
|
8100
8355
|
disabled: e.disabled,
|
|
8101
8356
|
onChange: n[0] ||= (e) => o(!1)
|
|
8102
|
-
}, null, 40,
|
|
8357
|
+
}, null, 40, Xp), n[5] ||= J("span", { class: "ilw-sr-only" }, "No", -1)], 40, Yp),
|
|
8103
8358
|
J("label", {
|
|
8104
8359
|
for: F(d),
|
|
8105
8360
|
class: "g-toggle-option g-center",
|
|
@@ -8111,7 +8366,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8111
8366
|
checked: r.value === null,
|
|
8112
8367
|
disabled: e.disabled,
|
|
8113
8368
|
onChange: n[2] ||= (e) => o(null)
|
|
8114
|
-
}, null, 40,
|
|
8369
|
+
}, null, 40, Qp), n[6] ||= J("span", { class: "ilw-sr-only" }, "Unset", -1)], 40, Zp),
|
|
8115
8370
|
J("label", {
|
|
8116
8371
|
for: F(f),
|
|
8117
8372
|
class: "g-toggle-option g-right",
|
|
@@ -8125,29 +8380,29 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8125
8380
|
checked: r.value === !0,
|
|
8126
8381
|
disabled: e.disabled,
|
|
8127
8382
|
onChange: n[3] ||= (e) => o(!0)
|
|
8128
|
-
}, null, 40,
|
|
8129
|
-
], 2)], 10,
|
|
8383
|
+
}, null, 40, em), n[7] ||= J("span", { class: "ilw-sr-only" }, "Yes", -1)], 40, $p)
|
|
8384
|
+
], 2)], 10, Gp)]), e.error ? (G(), K("div", {
|
|
8130
8385
|
key: 0,
|
|
8131
8386
|
id: `${F(c)}-error`,
|
|
8132
8387
|
class: "g-form-error",
|
|
8133
8388
|
role: "alert",
|
|
8134
8389
|
"aria-atomic": "true"
|
|
8135
|
-
},
|
|
8390
|
+
}, j(e.error), 9, tm)) : Z("", !0)]));
|
|
8136
8391
|
}
|
|
8137
|
-
}), [["styles", [".g-three-way-toggle-control[data-v-b5b2babc]{column-gap:8px;margin-bottom:4px;display:flex}.g-three-way-toggle-control .g-label[data-v-b5b2babc]{flex:1;align-self:center;font-size:.875rem;font-weight:600;line-height:1;display:block}.g-three-way-toggle[data-v-b5b2babc]{background:0 0;border:none;border-radius:12px;width:50px;margin:0;padding:0}.g-three-way-toggle[data-v-b5b2babc]:focus-within{outline:2px solid var(--il-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-toggle-track[data-v-b5b2babc]{background:var(--g-surface-700);box-sizing:border-box;width:100%;min-width:50px;height:24px;font-family:var(--il-font-sans);border-radius:14px;display:flex;position:relative}.g-toggle-track.g-left[data-v-b5b2babc]{background:var(--il-industrial)}.g-toggle-track.g-right[data-v-b5b2babc]{background:var(--il-prairie)}.g-toggle-track.g-disabled[data-v-b5b2babc]{pointer-events:none;background:var(--g-surface-400)}.g-toggle-thumb[data-v-b5b2babc]{background:var(--g-surface-100);z-index:1;width:20px;height:20px;color:var(--g-surface-0);letter-spacing:-.5px;border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:700;transition:left .1s ease-in-out,background-color .1s ease-in-out;display:flex;position:absolute;top:2px;left:2px}.g-toggle-thumb.g-left[data-v-b5b2babc]{color:var(--il-industrial)}.g-toggle-thumb.g-right[data-v-b5b2babc]{color:var(--il-prairie);letter-spacing:-1.5px}.g-toggle-track.g-left .g-toggle-thumb[data-v-b5b2babc]{left:2px}.g-toggle-track.g-center .g-toggle-thumb[data-v-b5b2babc]{left:calc(50% - 10px)}.g-toggle-track.g-right .g-toggle-thumb[data-v-b5b2babc]{left:calc(100% - 22px)}@media (prefers-reduced-motion:reduce){.g-toggle-thumb[data-v-b5b2babc]{transition:none}}.g-toggle-option[data-v-b5b2babc]{flex:1 1 0;justify-content:center;align-items:center;height:100%;display:flex;position:relative}.g-toggle-option.g-center[data-v-b5b2babc]{flex:0 0 1%}.g-toggle-option input[type=radio][data-v-b5b2babc]{opacity:0;cursor:pointer;z-index:2;width:100%;height:100%;margin:0;position:absolute;top:0;left:0}.g-has-error .g-toggle-track[data-v-b5b2babc]{background:var(--g-danger-500)}.g-form-error[data-v-b5b2babc]{color:var(--g-danger-600);font-size:.875rem;font-weight:700}"]], ["__scopeId", "data-v-b5b2babc"]]),
|
|
8392
|
+
}), [["styles", [".g-three-way-toggle-control[data-v-b5b2babc]{column-gap:8px;margin-bottom:4px;display:flex}.g-three-way-toggle-control .g-label[data-v-b5b2babc]{flex:1;align-self:center;font-size:.875rem;font-weight:600;line-height:1;display:block}.g-three-way-toggle[data-v-b5b2babc]{background:0 0;border:none;border-radius:12px;width:50px;margin:0;padding:0}.g-three-way-toggle[data-v-b5b2babc]:focus-within{outline:2px solid var(--il-blue);outline-offset:2px;box-shadow:0 0 0 2px var(--g-info-200)}.g-toggle-track[data-v-b5b2babc]{background:var(--g-surface-700);box-sizing:border-box;width:100%;min-width:50px;height:24px;font-family:var(--il-font-sans);border-radius:14px;display:flex;position:relative}.g-toggle-track.g-left[data-v-b5b2babc]{background:var(--il-industrial)}.g-toggle-track.g-right[data-v-b5b2babc]{background:var(--il-prairie)}.g-toggle-track.g-disabled[data-v-b5b2babc]{pointer-events:none;background:var(--g-surface-400)}.g-toggle-thumb[data-v-b5b2babc]{background:var(--g-surface-100);z-index:1;width:20px;height:20px;color:var(--g-surface-0);letter-spacing:-.5px;border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:700;transition:left .1s ease-in-out,background-color .1s ease-in-out;display:flex;position:absolute;top:2px;left:2px}.g-toggle-thumb.g-left[data-v-b5b2babc]{color:var(--il-industrial)}.g-toggle-thumb.g-right[data-v-b5b2babc]{color:var(--il-prairie);letter-spacing:-1.5px}.g-toggle-track.g-left .g-toggle-thumb[data-v-b5b2babc]{left:2px}.g-toggle-track.g-center .g-toggle-thumb[data-v-b5b2babc]{left:calc(50% - 10px)}.g-toggle-track.g-right .g-toggle-thumb[data-v-b5b2babc]{left:calc(100% - 22px)}@media (prefers-reduced-motion:reduce){.g-toggle-thumb[data-v-b5b2babc]{transition:none}}.g-toggle-option[data-v-b5b2babc]{flex:1 1 0;justify-content:center;align-items:center;height:100%;display:flex;position:relative}.g-toggle-option.g-center[data-v-b5b2babc]{flex:0 0 1%}.g-toggle-option input[type=radio][data-v-b5b2babc]{opacity:0;cursor:pointer;z-index:2;width:100%;height:100%;margin:0;position:absolute;top:0;left:0}.g-has-error .g-toggle-track[data-v-b5b2babc]{background:var(--g-danger-500)}.g-form-error[data-v-b5b2babc]{color:var(--g-danger-600);font-size:.875rem;font-weight:700}"]], ["__scopeId", "data-v-b5b2babc"]]), rm = ["data-tree-item-key", "data-tree-expandable"], im = ["aria-expanded", "onClick"], am = {
|
|
8138
8393
|
key: 1,
|
|
8139
8394
|
class: "g-tree-menu__row"
|
|
8140
|
-
},
|
|
8395
|
+
}, om = [
|
|
8141
8396
|
"aria-expanded",
|
|
8142
8397
|
"aria-label",
|
|
8143
8398
|
"onClick"
|
|
8144
|
-
],
|
|
8399
|
+
], sm = ["aria-expanded", "href"], cm = {
|
|
8145
8400
|
key: 2,
|
|
8146
8401
|
class: "g-tree-menu__row g-tree-menu__row--leaf"
|
|
8147
|
-
},
|
|
8402
|
+
}, lm = ["href"], um = {
|
|
8148
8403
|
key: 2,
|
|
8149
8404
|
class: "g-tree-menu__label"
|
|
8150
|
-
},
|
|
8405
|
+
}, dm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8151
8406
|
name: "GTreeMenuList",
|
|
8152
8407
|
props: {
|
|
8153
8408
|
items: { type: Array },
|
|
@@ -8182,7 +8437,7 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8182
8437
|
"data-tree-primary": "",
|
|
8183
8438
|
onClick: (e) => c(l)
|
|
8184
8439
|
}, [(G(), K("svg", {
|
|
8185
|
-
class:
|
|
8440
|
+
class: A(["g-tree-menu__chevron", { "g-tree-menu__chevron--expanded": s(l) }]),
|
|
8186
8441
|
role: "none presentation",
|
|
8187
8442
|
viewBox: "0 0 24 24",
|
|
8188
8443
|
fill: "none",
|
|
@@ -8190,14 +8445,14 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8190
8445
|
"stroke-width": "2.5",
|
|
8191
8446
|
"stroke-linecap": "round",
|
|
8192
8447
|
"stroke-linejoin": "round"
|
|
8193
|
-
}, [...n[1] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2)), J("span", null,
|
|
8448
|
+
}, [...n[1] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2)), J("span", null, j(t.label), 1)], 8, im)) : t.children ? (G(), K("div", am, [J("button", {
|
|
8194
8449
|
class: "g-tree-menu__toggle-btn",
|
|
8195
8450
|
"aria-expanded": s(l) ? "true" : "false",
|
|
8196
8451
|
"aria-label": `${t.label} sub-menu`,
|
|
8197
8452
|
onClick: (e) => c(l),
|
|
8198
8453
|
tabindex: "-1"
|
|
8199
8454
|
}, [(G(), K("svg", {
|
|
8200
|
-
class:
|
|
8455
|
+
class: A(["g-tree-menu__chevron", { "g-tree-menu__chevron--expanded": s(l) }]),
|
|
8201
8456
|
role: "none presentation",
|
|
8202
8457
|
viewBox: "0 0 24 24",
|
|
8203
8458
|
fill: "none",
|
|
@@ -8205,14 +8460,14 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8205
8460
|
"stroke-width": "2.5",
|
|
8206
8461
|
"stroke-linecap": "round",
|
|
8207
8462
|
"stroke-linejoin": "round"
|
|
8208
|
-
}, [...n[2] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))], 8,
|
|
8463
|
+
}, [...n[2] ||= [J("polyline", { points: "9 18 15 12 9 6" }, null, -1)]], 2))], 8, om), t.to && a.value ? (G(), q(ri(a.value), {
|
|
8209
8464
|
key: 0,
|
|
8210
8465
|
class: "g-tree-menu__link",
|
|
8211
8466
|
"aria-expanded": s(l) ? "true" : "false",
|
|
8212
8467
|
to: t.to,
|
|
8213
8468
|
"data-tree-primary": ""
|
|
8214
8469
|
}, {
|
|
8215
|
-
default: I(() => [X(
|
|
8470
|
+
default: I(() => [X(j(t.label), 1)]),
|
|
8216
8471
|
_: 2
|
|
8217
8472
|
}, 1032, ["aria-expanded", "to"])) : (G(), K("a", {
|
|
8218
8473
|
key: 1,
|
|
@@ -8220,20 +8475,20 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8220
8475
|
"aria-expanded": s(l) ? "true" : "false",
|
|
8221
8476
|
href: t.href,
|
|
8222
8477
|
"data-tree-primary": ""
|
|
8223
|
-
},
|
|
8478
|
+
}, j(t.label), 9, sm))])) : (G(), K("div", cm, [t.to && a.value ? (G(), q(ri(a.value), {
|
|
8224
8479
|
key: 0,
|
|
8225
8480
|
class: "g-tree-menu__link",
|
|
8226
8481
|
to: t.to,
|
|
8227
8482
|
"data-tree-primary": ""
|
|
8228
8483
|
}, {
|
|
8229
|
-
default: I(() => [n[3] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), X(
|
|
8484
|
+
default: I(() => [n[3] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), X(j(t.label), 1)]),
|
|
8230
8485
|
_: 2
|
|
8231
8486
|
}, 1032, ["to"])) : t.href ? (G(), K("a", {
|
|
8232
8487
|
key: 1,
|
|
8233
8488
|
class: "g-tree-menu__link",
|
|
8234
8489
|
href: t.href,
|
|
8235
8490
|
"data-tree-primary": ""
|
|
8236
|
-
}, [n[4] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), X(
|
|
8491
|
+
}, [n[4] ||= J("span", { class: "g-tree-menu__spacer" }, null, -1), X(j(t.label), 1)], 8, lm)) : (G(), K("span", um, j(t.label), 1))])), t.children && s(l) ? (G(), q(i, {
|
|
8237
8492
|
key: 3,
|
|
8238
8493
|
items: t.children,
|
|
8239
8494
|
"list-type": e.listType,
|
|
@@ -8245,12 +8500,12 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8245
8500
|
"list-type",
|
|
8246
8501
|
"expanded-items",
|
|
8247
8502
|
"key-prefix"
|
|
8248
|
-
])) : Z("", !0)], 8,
|
|
8503
|
+
])) : Z("", !0)], 8, rm))), 128))]),
|
|
8249
8504
|
_: 1
|
|
8250
8505
|
});
|
|
8251
8506
|
};
|
|
8252
8507
|
}
|
|
8253
|
-
}), [["styles", [".g-tree-menu__list[data-v-
|
|
8508
|
+
}), [["styles", [".g-tree-menu__list[data-v-657b989c]{margin:0;padding:0;font-weight:700;list-style:none}.g-tree-menu__list ul[data-v-657b989c],.g-tree-menu__list ol[data-v-657b989c]{font-weight:600!important}.g-tree-menu__list .g-tree-menu__list[data-v-657b989c]{padding-left:1.25em}.g-tree-menu__item[data-v-657b989c]{margin:0;display:block}.g-tree-menu__row[data-v-657b989c]{align-items:center;display:flex}.g-tree-menu__row--toggle[data-v-657b989c]{cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;width:100%;padding:0;font-family:inherit;display:flex}.g-tree-menu__row--toggle>.g-tree-menu__chevron[data-v-657b989c]{margin-right:2px}.g-tree-menu__toggle-btn[data-v-657b989c]{cursor:pointer;box-sizing:border-box;background:0 0;border:none;border-radius:2px;flex-shrink:0;justify-content:center;align-items:center;margin-right:2px;padding:0;display:flex}.g-tree-menu__toggle-btn[data-v-657b989c]:hover{background:var(--g-primary-500);color:var(--g-surface-0)}.g-tree-menu__spacer[data-v-657b989c]{width:2em;height:2em;margin-right:2px;display:inline-block}.g-tree-menu__link[data-v-657b989c]{flex:1;align-items:center;padding:0;text-decoration:none;display:flex}.g-tree-menu__link[data-v-657b989c]:hover{text-decoration:underline}.g-tree-menu__label[data-v-657b989c]{padding:.5em;display:block}.g-tree-menu__chevron[data-v-657b989c]{box-sizing:border-box;flex-shrink:0;width:2em;height:2em;padding:.35em;transition:transform .1s;transform:rotate(0)}@media (prefers-reduced-motion:reduce){.g-tree-menu__chevron[data-v-657b989c]{transition:none}}.g-tree-menu__chevron--expanded[data-v-657b989c]{transform:rotate(90deg)}.g-tree-menu__row--toggle[data-v-657b989c]:focus-visible,.g-tree-menu__toggle-btn[data-v-657b989c]:focus-visible,.g-tree-menu__link[data-v-657b989c]:focus-visible{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}"]], ["__scopeId", "data-v-657b989c"]]), fm = ["id"], pm = { class: "g-tree-menu__content" }, mm = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8254
8509
|
__name: "GTreeMenu",
|
|
8255
8510
|
props: {
|
|
8256
8511
|
title: { type: String },
|
|
@@ -8334,9 +8589,9 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8334
8589
|
key: 0,
|
|
8335
8590
|
id: F(n),
|
|
8336
8591
|
class: "g-tree-menu__title"
|
|
8337
|
-
},
|
|
8592
|
+
}, j(e.title), 9, fm)) : Z("", !0),
|
|
8338
8593
|
o[0] ||= J("div", { class: "g-tree-menu__divider" }, null, -1),
|
|
8339
|
-
J("div",
|
|
8594
|
+
J("div", pm, [Y(dm, {
|
|
8340
8595
|
items: e.items,
|
|
8341
8596
|
"list-type": e.listType || "ul",
|
|
8342
8597
|
"expanded-items": r.value,
|
|
@@ -8349,11 +8604,11 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8349
8604
|
])])
|
|
8350
8605
|
], 16));
|
|
8351
8606
|
}
|
|
8352
|
-
}), [["styles", ["@layer base{.g-tree-menu{font-size:1.125rem}}.g-tree-menu--dark{color:var(--g-surface-0)}.g-tree-menu--dark .g-tree-menu__title{color:var(--g-surface-0)}.g-tree-menu--dark .g-tree-menu__row--toggle,.g-tree-menu--dark .g-tree-menu__toggle-btn,.g-tree-menu--dark .g-tree-menu__link{color:var(--g-surface-0)}:is(.g-tree-menu--dark .g-tree-menu__row--toggle,.g-tree-menu--dark .g-tree-menu__toggle-btn,.g-tree-menu--dark .g-tree-menu__link):hover{color:var(--g-accent-500)}.g-tree-menu--light{background:var(--g-surface-50)}.g-tree-menu--light .g-tree-menu__title{color:var(--g-primary-500)}.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link{color:var(--g-primary-500)}:is(.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link):hover{color:var(--g-accent-700)}:is(.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link):focus{color:var(--ilw-color--focus--text)}.g-tree-menu--light .g-tree-menu__toggle-btn:hover{color:var(--g-surface-0);background:var(--g-primary-500)}", ".g-tree-menu[data-v-
|
|
8607
|
+
}), [["styles", ["@layer base{.g-tree-menu{font-size:1.125rem}}.g-tree-menu--dark{color:var(--g-surface-0)}.g-tree-menu--dark .g-tree-menu__title{color:var(--g-surface-0)}.g-tree-menu--dark .g-tree-menu__row--toggle,.g-tree-menu--dark .g-tree-menu__toggle-btn,.g-tree-menu--dark .g-tree-menu__link{color:var(--g-surface-0)}:is(.g-tree-menu--dark .g-tree-menu__row--toggle,.g-tree-menu--dark .g-tree-menu__toggle-btn,.g-tree-menu--dark .g-tree-menu__link):hover{color:var(--g-accent-500)}.g-tree-menu--light{background:var(--g-surface-50)}.g-tree-menu--light .g-tree-menu__title{color:var(--g-primary-500)}.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link{color:var(--g-primary-500)}:is(.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link):hover{color:var(--g-accent-700)}:is(.g-tree-menu--light .g-tree-menu__row--toggle,.g-tree-menu--light .g-tree-menu__toggle-btn,.g-tree-menu--light .g-tree-menu__link):focus{color:var(--ilw-color--focus--text)}.g-tree-menu--light .g-tree-menu__toggle-btn:hover{color:var(--g-surface-0);background:var(--g-primary-500)}", ".g-tree-menu[data-v-277cf6db]{box-sizing:border-box;flex-direction:column;padding-top:2rem;display:flex}.g-tree-menu [data-v-277cf6db] button{font-size:inherit;font-weight:inherit}.g-tree-menu__title[data-v-277cf6db]{font-size:2rem;font-family:var(--il-font-heading);margin:2rem 2rem .5rem}.g-tree-menu__divider[data-v-277cf6db]{background:var(--g-accent-500);flex:0 0 4px;width:60px;height:4px;margin-top:2px;margin-left:2rem}.g-tree-menu__content[data-v-277cf6db]{margin-top:1rem}"]], ["__scopeId", "data-v-277cf6db"]]), hm = { class: "g-user-menu" }, gm = [
|
|
8353
8608
|
"aria-label",
|
|
8354
8609
|
"aria-expanded",
|
|
8355
8610
|
"onClick"
|
|
8356
|
-
],
|
|
8611
|
+
], _m = { class: "g-user-menu__popover" }, vm = { class: "g-user-menu__list" }, ym = /* @__PURE__ */ $(/* @__PURE__ */ R({
|
|
8357
8612
|
__name: "GUserMenu",
|
|
8358
8613
|
props: {
|
|
8359
8614
|
initials: { type: String },
|
|
@@ -8371,41 +8626,41 @@ var Af = { class: "g-table-outer-wrap" }, jf = {
|
|
|
8371
8626
|
let t = `${z()}-email`, n = /* @__PURE__ */ P(!1), r = jr("emailHeading");
|
|
8372
8627
|
Ja()?.appContext?.components?.RouterLink;
|
|
8373
8628
|
let i = di();
|
|
8374
|
-
return (a, o) => (G(), K("div",
|
|
8629
|
+
return (a, o) => (G(), K("div", hm, [Y(Bd, {
|
|
8375
8630
|
modelValue: n.value,
|
|
8376
8631
|
"onUpdate:modelValue": o[0] ||= (e) => n.value = e,
|
|
8377
8632
|
minimal: ""
|
|
8378
8633
|
}, {
|
|
8379
8634
|
trigger: I(({ toggle: t }) => [J("button", {
|
|
8380
8635
|
class: "g-user-menu__avatar",
|
|
8381
|
-
style:
|
|
8636
|
+
style: ue({ backgroundColor: e.color }),
|
|
8382
8637
|
"aria-label": e.initials + " - " + e.label,
|
|
8383
8638
|
"aria-expanded": n.value,
|
|
8384
8639
|
"aria-haspopup": "menu",
|
|
8385
8640
|
onClick: t
|
|
8386
|
-
},
|
|
8387
|
-
default: I(() => [J("div",
|
|
8641
|
+
}, j(e.initials), 13, gm)]),
|
|
8642
|
+
default: I(() => [J("div", _m, [J("h2", {
|
|
8388
8643
|
id: t,
|
|
8389
8644
|
ref_key: "emailHeading",
|
|
8390
8645
|
ref: r,
|
|
8391
8646
|
class: "g-user-menu__email",
|
|
8392
8647
|
tabindex: "-1"
|
|
8393
|
-
},
|
|
8648
|
+
}, j(e.email), 513), J("nav", {
|
|
8394
8649
|
class: "g-user-menu__nav",
|
|
8395
8650
|
"aria-labelledby": t
|
|
8396
|
-
}, [J("ul",
|
|
8651
|
+
}, [J("ul", vm, [(G(!0), K(W, null, B(i.default(), (e, t) => (G(), K("li", { key: t }, [(G(), q(ri(e)))]))), 128))])])])]),
|
|
8397
8652
|
_: 1
|
|
8398
8653
|
}, 8, ["modelValue"])]));
|
|
8399
8654
|
}
|
|
8400
|
-
}), [["styles", [".g-user-menu[data-v-
|
|
8401
|
-
|
|
8402
|
-
var
|
|
8655
|
+
}), [["styles", [".g-user-menu[data-v-cedd2d44]{display:inline-block}.g-user-menu__avatar[data-v-cedd2d44]{width:40px;height:40px;color:var(--g-surface-0);cursor:pointer;outline-color:var(--g-primary-500);border:none;border-radius:50%;justify-content:center;align-items:center;font-size:1rem;font-weight:700;transition:transform .2s,box-shadow .2s;display:inline-flex}.g-user-menu__avatar[data-v-cedd2d44]:hover{text-decoration:underline}.g-user-menu__avatar[data-v-cedd2d44]:focus-visible{outline-color:var(--g-primary-500);background-color:var(--ilw-color--focus--background)!important;color:var(--ilw-color--focus--text)!important}.g-user-menu__popover[data-v-cedd2d44]{min-width:200px}.g-user-menu__email[data-v-cedd2d44]{color:var(--g-primary-500);word-break:break-word;margin:.75rem 1rem .25rem;font-size:1rem;font-weight:400}.g-user-menu__nav[data-v-cedd2d44]{margin:0}.g-user-menu__list[data-v-cedd2d44]{flex-direction:column;align-items:stretch;gap:0;margin:0;padding:0;list-style:none;display:flex}.g-user-menu__list[data-v-cedd2d44] a,.g-user-menu__list[data-v-cedd2d44] button{box-sizing:border-box;color:var(--g-primary-500);font-size:1rem;font-weight:600;font-family:var(--il-font-sans);text-align:left;cursor:pointer;background:0 0;border:none;width:100%;padding:.75rem 1rem;text-decoration:none;display:block}.g-user-menu__list[data-v-cedd2d44] a:hover,.g-user-menu__list[data-v-cedd2d44] button:hover{color:var(--g-accent-700);text-decoration:underline}.g-user-menu__list[data-v-cedd2d44] a:focus,.g-user-menu__list[data-v-cedd2d44] button:focus{background:var(--ilw-color--focus--background);color:var(--ilw-color--focus--text);outline-color:var(--g-primary-500)}.g-user-menu__list[data-v-cedd2d44] a:active,.g-user-menu__list[data-v-cedd2d44] button:active{background-color:var(--g-accent-700);color:var(--g-surface-0)}"]], ["__scopeId", "data-v-cedd2d44"]]), bm = globalThis;
|
|
8656
|
+
bm.__GRAD_VUE_IS_WEB_COMPONENTS_BUILD__ = !0;
|
|
8657
|
+
var xm = {
|
|
8403
8658
|
shadowRoot: !1,
|
|
8404
8659
|
configureApp(e) {
|
|
8405
|
-
let t = (
|
|
8406
|
-
|
|
8660
|
+
let t = (bm.__GRAD_VUE_WC_APP_ID__ ?? 0) + 1;
|
|
8661
|
+
bm.__GRAD_VUE_WC_APP_ID__ = t, e.config.idPrefix = `g-wc-${t}-`;
|
|
8407
8662
|
}
|
|
8408
|
-
},
|
|
8663
|
+
}, Sm = [
|
|
8409
8664
|
["g-alert-dialog", Jl],
|
|
8410
8665
|
["g-app-header", tu],
|
|
8411
8666
|
["g-button", Hl],
|
|
@@ -8422,40 +8677,41 @@ var sm = {
|
|
|
8422
8677
|
["g-hamburger-menu", ld],
|
|
8423
8678
|
["g-history-scroller", md],
|
|
8424
8679
|
["g-modal", bd],
|
|
8425
|
-
["g-
|
|
8426
|
-
["g-
|
|
8427
|
-
["g-
|
|
8428
|
-
["g-
|
|
8429
|
-
["g-
|
|
8430
|
-
["g-
|
|
8431
|
-
["g-select
|
|
8432
|
-
["g-
|
|
8433
|
-
["g-sidebar
|
|
8434
|
-
["g-
|
|
8435
|
-
["g-
|
|
8436
|
-
["g-table
|
|
8437
|
-
["g-table-
|
|
8438
|
-
["g-
|
|
8439
|
-
["g-term-selector
|
|
8680
|
+
["g-multi-select", Pd],
|
|
8681
|
+
["g-overlay", Id],
|
|
8682
|
+
["g-popover", Bd],
|
|
8683
|
+
["g-tooltip", Vd],
|
|
8684
|
+
["g-progress", Kd],
|
|
8685
|
+
["g-search", nf],
|
|
8686
|
+
["g-select", ff],
|
|
8687
|
+
["g-select-button", vf],
|
|
8688
|
+
["g-sidebar", bf],
|
|
8689
|
+
["g-sidebar-menu", wf],
|
|
8690
|
+
["g-submit-button", Tf],
|
|
8691
|
+
["g-table", vp],
|
|
8692
|
+
["g-table-body", Bf],
|
|
8693
|
+
["g-table-pagination", Dp],
|
|
8694
|
+
["g-term-selector", Fp],
|
|
8695
|
+
["g-term-selector-control", jp],
|
|
8440
8696
|
["g-text-input", Fu],
|
|
8441
|
-
["g-textarea",
|
|
8442
|
-
["g-three-way-toggle",
|
|
8443
|
-
["g-tree-menu",
|
|
8444
|
-
["g-user-menu",
|
|
8445
|
-
],
|
|
8446
|
-
function
|
|
8697
|
+
["g-textarea", Vp],
|
|
8698
|
+
["g-three-way-toggle", nm],
|
|
8699
|
+
["g-tree-menu", mm],
|
|
8700
|
+
["g-user-menu", ym]
|
|
8701
|
+
], Cm = [su, dm], wm = [], Tm = /* @__PURE__ */ new Set();
|
|
8702
|
+
function Em(e) {
|
|
8447
8703
|
let t = e.__vccOpts || e;
|
|
8448
|
-
if (t.styles) for (let e of t.styles)
|
|
8704
|
+
if (t.styles) for (let e of t.styles) Tm.has(e) || (Tm.add(e), wm.push(e));
|
|
8449
8705
|
}
|
|
8450
|
-
for (let [e, t] of
|
|
8451
|
-
|
|
8452
|
-
let n = /* @__PURE__ */ bs(t,
|
|
8706
|
+
for (let [e, t] of Sm) {
|
|
8707
|
+
Em(t);
|
|
8708
|
+
let n = /* @__PURE__ */ bs(t, xm);
|
|
8453
8709
|
customElements.define(e, n);
|
|
8454
8710
|
}
|
|
8455
|
-
for (let e of
|
|
8456
|
-
if (
|
|
8711
|
+
for (let e of Cm) Em(e);
|
|
8712
|
+
if (wm.length > 0 && typeof document < "u") {
|
|
8457
8713
|
let e = document.createElement("style");
|
|
8458
|
-
e.setAttribute("data-grad-vue-elements", ""), e.textContent =
|
|
8714
|
+
e.setAttribute("data-grad-vue-elements", ""), e.textContent = wm.join("\n"), document.head.appendChild(e);
|
|
8459
8715
|
}
|
|
8460
8716
|
//#endregion
|
|
8461
8717
|
|