@aures5g/vue-component-library 3.20.0 → 3.21.0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as ee, readonly as tr, getCurrentInstance as fn, onMounted as nr, nextTick as or, watch as ve, reactive as qe, mergeProps as W, inject as rr, defineComponent as D, computed as B, useSlots as ue, openBlock as c, createElementBlock as b, normalizeClass as v, createElementVNode as g, unref as u, renderSlot as $, createBlock as O, createCommentVNode as y, toDisplayString as P, useId as ar, createTextVNode as ze, resolveComponent as mn, resolveDirective as nt, withDirectives as ge, resolveDynamicComponent as st, withCtx as X, onUpdated as ir, defineAsyncComponent as et, createVNode as
|
|
1
|
+
import { ref as ee, readonly as tr, getCurrentInstance as fn, onMounted as nr, nextTick as or, watch as ve, reactive as qe, mergeProps as W, inject as rr, defineComponent as D, computed as B, useSlots as ue, openBlock as c, createElementBlock as b, normalizeClass as v, createElementVNode as g, unref as u, renderSlot as $, createBlock as O, createCommentVNode as y, toDisplayString as P, useId as ar, createTextVNode as ze, resolveComponent as mn, resolveDirective as nt, withDirectives as ge, resolveDynamicComponent as st, withCtx as X, onUpdated as ir, defineAsyncComponent as et, createVNode as z, Fragment as Q, renderList as te, shallowRef as lr, Transition as sr, useModel as re, mergeModels as ae, useAttrs as Ce, h as en, vModelDynamic as ln, withModifiers as Qe, normalizeStyle as _e, mergeDefaults as Rt, useTemplateRef as Ne, createSlots as Ft, vModelText as ur, Teleport as to, watchEffect as dr, withKeys as Zt, vShow as cr } from "vue";
|
|
2
2
|
import { FontAwesomeIcon as V } from "@fortawesome/vue-fontawesome";
|
|
3
3
|
import { faChevronsLeft as pr, faCheck as zt, faCopy as fr, faSquareMinus as no, faSquareCheck as mr, faXmark as xt, faExclamationCircle as gr, faArrowLeft as br, faChevronUp as hr, faChevronDown as vr, faCircleSortUp as yr, faCircleSortDown as wr } from "@awesome.me/kit-bccbe657bb/icons/sharp/solid";
|
|
4
4
|
import { faAaaLogoShort as $r, faAaaAutoSymbol as _t, faKupujemeAutaLogoShort as xr, faAaaAutoDiskontSymbol as gn, faMototechnaSymbol as Tt, faAutosplatkySymbol as Sr } from "@awesome.me/kit-bccbe657bb/icons/kit/custom";
|
|
@@ -391,12 +391,12 @@ function sa(t, e = {}) {
|
|
|
391
391
|
for (; l.length; ) {
|
|
392
392
|
let { node: p, path: f } = l.pop();
|
|
393
393
|
for (let m in p) {
|
|
394
|
-
let h = p[m], w = oa(h),
|
|
395
|
-
if (Te(w)) l.push({ node: w, path:
|
|
394
|
+
let h = p[m], w = oa(h), T = Je(m, a) ? on(f) : on(f, lo(m));
|
|
395
|
+
if (Te(w)) l.push({ node: w, path: T });
|
|
396
396
|
else {
|
|
397
|
-
let k = ho(
|
|
397
|
+
let k = ho(T), L = vo(w, T, o, [a]);
|
|
398
398
|
ia(s, k, L);
|
|
399
|
-
let M =
|
|
399
|
+
let M = T;
|
|
400
400
|
o && M.startsWith(o + "-") && (M = M.slice(o.length + 1)), i.push(M.replace(/-/g, "."));
|
|
401
401
|
}
|
|
402
402
|
}
|
|
@@ -424,21 +424,21 @@ var be = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
424
424
|
return sa(t, { prefix: e?.prefix });
|
|
425
425
|
}, getCommon({ name: t = "", theme: e = {}, params: n, set: o, defaults: r }) {
|
|
426
426
|
var a, i, s, l, d, p, f;
|
|
427
|
-
let { preset: m, options: h } = e, w,
|
|
427
|
+
let { preset: m, options: h } = e, w, T, k, L, M, U, x;
|
|
428
428
|
if (G(m) && h.transform !== "strict") {
|
|
429
|
-
let { primitive: I, semantic: j, extend: E } = m, se = j || {}, { colorScheme: C } = se, ie = Se(se, ["colorScheme"]), S = E || {}, { colorScheme: A } = S,
|
|
430
|
-
w = this.transformCSS(t, Mo, "light", "variable", h, o, r),
|
|
429
|
+
let { primitive: I, semantic: j, extend: E } = m, se = j || {}, { colorScheme: C } = se, ie = Se(se, ["colorScheme"]), S = E || {}, { colorScheme: A } = S, F = Se(S, ["colorScheme"]), _ = C || {}, { dark: K } = _, q = Se(_, ["dark"]), ne = A || {}, { dark: Oe } = ne, He = Se(ne, ["dark"]), xe = G(I) ? this._toVariables({ primitive: I }, h) : {}, ye = G(ie) ? this._toVariables({ semantic: ie }, h) : {}, je = G(q) ? this._toVariables({ light: q }, h) : {}, kt = G(K) ? this._toVariables({ dark: K }, h) : {}, We = G(F) ? this._toVariables({ semantic: F }, h) : {}, cn = G(He) ? this._toVariables({ light: He }, h) : {}, pn = G(Oe) ? this._toVariables({ dark: Oe }, h) : {}, [Mo, jo] = [(a = xe.declarations) != null ? a : "", xe.tokens], [Vo, Uo] = [(i = ye.declarations) != null ? i : "", ye.tokens || []], [Ro, Fo] = [(s = je.declarations) != null ? s : "", je.tokens || []], [zo, Ho] = [(l = kt.declarations) != null ? l : "", kt.tokens || []], [Wo, Ko] = [(d = We.declarations) != null ? d : "", We.tokens || []], [Go, Zo] = [(p = cn.declarations) != null ? p : "", cn.tokens || []], [Yo, Xo] = [(f = pn.declarations) != null ? f : "", pn.tokens || []];
|
|
430
|
+
w = this.transformCSS(t, Mo, "light", "variable", h, o, r), T = jo;
|
|
431
431
|
let qo = this.transformCSS(t, `${Vo}${Ro}`, "light", "variable", h, o, r), Qo = this.transformCSS(t, `${zo}`, "dark", "variable", h, o, r);
|
|
432
432
|
k = `${qo}${Qo}`, L = [.../* @__PURE__ */ new Set([...Uo, ...Fo, ...Ho])];
|
|
433
433
|
let Jo = this.transformCSS(t, `${Wo}${Go}color-scheme:light`, "light", "variable", h, o, r), er = this.transformCSS(t, `${Yo}color-scheme:dark`, "dark", "variable", h, o, r);
|
|
434
434
|
M = `${Jo}${er}`, U = [.../* @__PURE__ */ new Set([...Ko, ...Zo, ...Xo])], x = pe(m.css, { dt: Fe });
|
|
435
435
|
}
|
|
436
|
-
return { primitive: { css: w, tokens:
|
|
436
|
+
return { primitive: { css: w, tokens: T }, semantic: { css: k, tokens: L }, global: { css: M, tokens: U }, style: x };
|
|
437
437
|
}, getPreset({ name: t = "", preset: e = {}, options: n, params: o, set: r, defaults: a, selector: i }) {
|
|
438
438
|
var s, l, d;
|
|
439
439
|
let p, f, m;
|
|
440
440
|
if (G(e) && n.transform !== "strict") {
|
|
441
|
-
let h = t.replace("-directive", ""), w = e, { colorScheme:
|
|
441
|
+
let h = t.replace("-directive", ""), w = e, { colorScheme: T, extend: k, css: L } = w, M = Se(w, ["colorScheme", "extend", "css"]), U = k || {}, { colorScheme: x } = U, I = Se(U, ["colorScheme"]), j = T || {}, { dark: E } = j, se = Se(j, ["dark"]), C = x || {}, { dark: ie } = C, S = Se(C, ["dark"]), A = G(M) ? this._toVariables({ [h]: he(he({}, M), I) }, n) : {}, F = G(se) ? this._toVariables({ [h]: he(he({}, se), S) }, n) : {}, _ = G(E) ? this._toVariables({ [h]: he(he({}, E), ie) }, n) : {}, [K, q] = [(s = A.declarations) != null ? s : "", A.tokens || []], [ne, Oe] = [(l = F.declarations) != null ? l : "", F.tokens || []], [He, xe] = [(d = _.declarations) != null ? d : "", _.tokens || []], ye = this.transformCSS(h, `${K}${ne}`, "light", "variable", n, r, a, i), je = this.transformCSS(h, He, "dark", "variable", n, r, a, i);
|
|
442
442
|
p = `${ye}${je}`, f = [.../* @__PURE__ */ new Set([...q, ...Oe, ...xe])], m = pe(L, { dt: Fe });
|
|
443
443
|
}
|
|
444
444
|
return { css: p, tokens: f, style: m };
|
|
@@ -753,11 +753,11 @@ function fa(t) {
|
|
|
753
753
|
}
|
|
754
754
|
var ma = 0;
|
|
755
755
|
function ga(t) {
|
|
756
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ee(!1), o = ee(t), r = ee(null), a = Gr() ? window.document : void 0, i = e.document, s = i === void 0 ? a : i, l = e.immediate, d = l === void 0 ? !0 : l, p = e.manual, f = p === void 0 ? !1 : p, m = e.name, h = m === void 0 ? "style_".concat(++ma) : m, w = e.id,
|
|
756
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ee(!1), o = ee(t), r = ee(null), a = Gr() ? window.document : void 0, i = e.document, s = i === void 0 ? a : i, l = e.immediate, d = l === void 0 ? !0 : l, p = e.manual, f = p === void 0 ? !1 : p, m = e.name, h = m === void 0 ? "style_".concat(++ma) : m, w = e.id, T = w === void 0 ? void 0 : w, k = e.media, L = k === void 0 ? void 0 : k, M = e.nonce, U = M === void 0 ? void 0 : M, x = e.first, I = x === void 0 ? !1 : x, j = e.onMounted, E = j === void 0 ? void 0 : j, se = e.onUpdated, C = se === void 0 ? void 0 : se, ie = e.onLoad, S = ie === void 0 ? void 0 : ie, A = e.props, F = A === void 0 ? {} : A, _ = function() {
|
|
757
757
|
}, K = function(Oe) {
|
|
758
758
|
var He = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
759
759
|
if (s) {
|
|
760
|
-
var xe = kn(kn({},
|
|
760
|
+
var xe = kn(kn({}, F), He), ye = xe.name || h, je = xe.id || T, kt = xe.nonce || U;
|
|
761
761
|
r.value = s.querySelector('style[data-primevue-style-id="'.concat(ye, '"]')) || s.getElementById(je) || s.createElement("style"), r.value.isConnected || (o.value = Oe || t, jt(r.value, {
|
|
762
762
|
type: "text/css",
|
|
763
763
|
id: je,
|
|
@@ -767,17 +767,17 @@ function ga(t) {
|
|
|
767
767
|
return S?.(We, {
|
|
768
768
|
name: ye
|
|
769
769
|
});
|
|
770
|
-
}, E?.(ye)), !n.value && (
|
|
770
|
+
}, E?.(ye)), !n.value && (_ = ve(o, function(We) {
|
|
771
771
|
r.value.textContent = We, C?.(ye);
|
|
772
772
|
}, {
|
|
773
773
|
immediate: !0
|
|
774
774
|
}), n.value = !0);
|
|
775
775
|
}
|
|
776
776
|
}, q = function() {
|
|
777
|
-
!s || !n.value || (
|
|
777
|
+
!s || !n.value || (_(), fo(r.value) && s.head.removeChild(r.value), n.value = !1, r.value = null);
|
|
778
778
|
};
|
|
779
779
|
return d && !f && fa(K), {
|
|
780
|
-
id:
|
|
780
|
+
id: T,
|
|
781
781
|
name: h,
|
|
782
782
|
el: r,
|
|
783
783
|
css: o,
|
|
@@ -1184,14 +1184,14 @@ function Pa(t, e) {
|
|
|
1184
1184
|
var n = ee(!1), o = function() {
|
|
1185
1185
|
var d;
|
|
1186
1186
|
if (((d = e.config) === null || d === void 0 ? void 0 : d.theme) !== "none" && !Z.isStyleNameLoaded("common")) {
|
|
1187
|
-
var p, f, m = ((p = Y.getCommonTheme) === null || p === void 0 ? void 0 : p.call(Y)) || {}, h = m.primitive, w = m.semantic,
|
|
1187
|
+
var p, f, m = ((p = Y.getCommonTheme) === null || p === void 0 ? void 0 : p.call(Y)) || {}, h = m.primitive, w = m.semantic, T = m.global, k = m.style, L = {
|
|
1188
1188
|
nonce: (f = e.config) === null || f === void 0 || (f = f.csp) === null || f === void 0 ? void 0 : f.nonce
|
|
1189
1189
|
};
|
|
1190
1190
|
Y.load(h?.css, It({
|
|
1191
1191
|
name: "primitive-variables"
|
|
1192
1192
|
}, L)), Y.load(w?.css, It({
|
|
1193
1193
|
name: "semantic-variables"
|
|
1194
|
-
}, L)), Y.load(
|
|
1194
|
+
}, L)), Y.load(T?.css, It({
|
|
1195
1195
|
name: "global-variables"
|
|
1196
1196
|
}, L)), Y.loadStyle(It({
|
|
1197
1197
|
name: "global-style"
|
|
@@ -1427,10 +1427,10 @@ var N = {
|
|
|
1427
1427
|
return fe(M) || io(M) ? {
|
|
1428
1428
|
class: M
|
|
1429
1429
|
} : M;
|
|
1430
|
-
}, d = ((e = o.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = o.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, p = d.mergeSections, f = p === void 0 ? !0 : p, m = d.mergeProps, h = m === void 0 ? !1 : m, w = s ? N._useDefaultPT(o, o.defaultPT(), l, a, i) : void 0,
|
|
1430
|
+
}, d = ((e = o.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = o.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, p = d.mergeSections, f = p === void 0 ? !0 : p, m = d.mergeProps, h = m === void 0 ? !1 : m, w = s ? N._useDefaultPT(o, o.defaultPT(), l, a, i) : void 0, T = N._usePT(o, N._getPT(r, o.$name), l, a, H(H({}, i), {}, {
|
|
1431
1431
|
global: w || {}
|
|
1432
1432
|
})), k = N._getPTDatasets(o, a);
|
|
1433
|
-
return f || !f &&
|
|
1433
|
+
return f || !f && T ? h ? N._mergeProps(o, h, w, T, k) : H(H(H({}, w), T), k) : H(H({}, T), k);
|
|
1434
1434
|
},
|
|
1435
1435
|
_getPTDatasets: function() {
|
|
1436
1436
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = "data-pc-";
|
|
@@ -1492,8 +1492,8 @@ var N = {
|
|
|
1492
1492
|
}, a), m), Z.setLoadedStyleName("common");
|
|
1493
1493
|
}
|
|
1494
1494
|
if (!Z.isStyleNameLoaded((n = r.$style) === null || n === void 0 ? void 0 : n.name) && (o = r.$style) !== null && o !== void 0 && o.name) {
|
|
1495
|
-
var h, w,
|
|
1496
|
-
(
|
|
1495
|
+
var h, w, T, k, L = ((h = r.$style) === null || h === void 0 || (w = h.getDirectiveTheme) === null || w === void 0 ? void 0 : w.call(h)) || {}, M = L.css, U = L.style;
|
|
1496
|
+
(T = r.$style) === null || T === void 0 || T.load(M, H({
|
|
1497
1497
|
name: "".concat(r.$style.name, "-variables")
|
|
1498
1498
|
}, a)), (k = r.$style) === null || k === void 0 || k.loadStyle(H({
|
|
1499
1499
|
name: "".concat(r.$style.name, "-style")
|
|
@@ -1543,7 +1543,7 @@ var N = {
|
|
|
1543
1543
|
},
|
|
1544
1544
|
_extend: function(e) {
|
|
1545
1545
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = function(s, l, d, p, f) {
|
|
1546
|
-
var m, h, w,
|
|
1546
|
+
var m, h, w, T;
|
|
1547
1547
|
l._$instances = l._$instances || {};
|
|
1548
1548
|
var k = N._getConfig(d, p), L = l._$instances[e] || {}, M = Me(L) ? H(H({}, n), n?.methods) : {};
|
|
1549
1549
|
l._$instances[e] = H(H({}, L), {}, {
|
|
@@ -1602,7 +1602,7 @@ var N = {
|
|
|
1602
1602
|
var x, I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, E = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1603
1603
|
return j ? N._getOptionValue((x = l._$instances[e]) === null || x === void 0 || (x = x.$style) === null || x === void 0 ? void 0 : x.inlineStyles, I, H({}, E)) : void 0;
|
|
1604
1604
|
}
|
|
1605
|
-
}, M), l.$instance = l._$instances[e], (h = (w = l.$instance)[s]) === null || h === void 0 || h.call(w, l, d, p, f), l["$".concat(e)] = l.$instance, N._hook(e, s, l, d, p, f), l.$pd || (l.$pd = {}), l.$pd[e] = H(H({}, (
|
|
1605
|
+
}, M), l.$instance = l._$instances[e], (h = (w = l.$instance)[s]) === null || h === void 0 || h.call(w, l, d, p, f), l["$".concat(e)] = l.$instance, N._hook(e, s, l, d, p, f), l.$pd || (l.$pd = {}), l.$pd[e] = H(H({}, (T = l.$pd) === null || T === void 0 ? void 0 : T[e]), {}, {
|
|
1606
1606
|
name: e,
|
|
1607
1607
|
instance: l._$instances[e]
|
|
1608
1608
|
});
|
|
@@ -2321,7 +2321,7 @@ var Wt = {
|
|
|
2321
2321
|
beforeCreate: function() {
|
|
2322
2322
|
var e, n, o, r, a, i, s, l, d, p, f, m = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, h = m ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, w = m ? (o = this.pt) === null || o === void 0 || (o = o.value) === null || o === void 0 ? void 0 : o[this.$.type.name] : this.pt;
|
|
2323
2323
|
(r = w || h) === null || r === void 0 || (r = r.hooks) === null || r === void 0 || (a = r.onBeforeCreate) === null || a === void 0 || a.call(r);
|
|
2324
|
-
var
|
|
2324
|
+
var T = (i = this.$primevueConfig) === null || i === void 0 || (i = i.pt) === null || i === void 0 ? void 0 : i._usept, k = T ? (s = this.$primevue) === null || s === void 0 || (s = s.config) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s.originalValue : void 0, L = T ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.value : (d = this.$primevue) === null || d === void 0 || (d = d.config) === null || d === void 0 ? void 0 : d.pt;
|
|
2325
2325
|
(p = L || k) === null || p === void 0 || (p = p[this.$.type.name]) === null || p === void 0 || (p = p.hooks) === null || p === void 0 || (f = p.onBeforeCreate) === null || f === void 0 || f.call(p), this.$attrSelector = di(), this.uid = this.$attrs.id || this.$attrSelector.replace("pc", "pv_id_");
|
|
2326
2326
|
},
|
|
2327
2327
|
created: function() {
|
|
@@ -2393,8 +2393,8 @@ var Wt = {
|
|
|
2393
2393
|
}, this.$styleOptions), d), Z.setLoadedStyleName("common");
|
|
2394
2394
|
}
|
|
2395
2395
|
if (!Z.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (n = this.$style) !== null && n !== void 0 && n.name) {
|
|
2396
|
-
var p, f, m, h, w = ((p = this.$style) === null || p === void 0 || (f = p.getComponentTheme) === null || f === void 0 ? void 0 : f.call(p)) || {},
|
|
2397
|
-
(m = this.$style) === null || m === void 0 || m.load(
|
|
2396
|
+
var p, f, m, h, w = ((p = this.$style) === null || p === void 0 || (f = p.getComponentTheme) === null || f === void 0 ? void 0 : f.call(p)) || {}, T = w.css, k = w.style;
|
|
2397
|
+
(m = this.$style) === null || m === void 0 || m.load(T, R({
|
|
2398
2398
|
name: "".concat(this.$style.name, "-variables")
|
|
2399
2399
|
}, this.$styleOptions)), (h = this.$style) === null || h === void 0 || h.loadStyle(R({
|
|
2400
2400
|
name: "".concat(this.$style.name, "-style")
|
|
@@ -2476,8 +2476,8 @@ var Wt = {
|
|
|
2476
2476
|
} : a(e, !0);
|
|
2477
2477
|
},
|
|
2478
2478
|
_usePT: function(e, n, o, r) {
|
|
2479
|
-
var a = function(
|
|
2480
|
-
return n(
|
|
2479
|
+
var a = function(T) {
|
|
2480
|
+
return n(T, o, r);
|
|
2481
2481
|
};
|
|
2482
2482
|
if (e != null && e.hasOwnProperty("_usept")) {
|
|
2483
2483
|
var i, s = e._usept || ((i = this.$primevueConfig) === null || i === void 0 ? void 0 : i.ptOptions) || {}, l = s.mergeSections, d = l === void 0 ? !0 : l, p = s.mergeProps, f = p === void 0 ? !1 : p, m = a(e.originalValue), h = a(e.value);
|
|
@@ -4061,14 +4061,14 @@ function nl(t, e) {
|
|
|
4061
4061
|
});
|
|
4062
4062
|
}
|
|
4063
4063
|
const w = B(h);
|
|
4064
|
-
function
|
|
4064
|
+
function T() {
|
|
4065
4065
|
if (i.value === null || !a.value)
|
|
4066
4066
|
return 0;
|
|
4067
4067
|
const { top: j } = w.value[i.value];
|
|
4068
4068
|
let E = j.value - p.value;
|
|
4069
4069
|
return E + m.value > f.value && (E = f.value - m.value), E;
|
|
4070
4070
|
}
|
|
4071
|
-
const k = B(
|
|
4071
|
+
const k = B(T);
|
|
4072
4072
|
function L(j, E) {
|
|
4073
4073
|
e.value[E] || (i.value = j);
|
|
4074
4074
|
}
|
|
@@ -4149,7 +4149,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4149
4149
|
navbarRef: m,
|
|
4150
4150
|
enterFloatingTrigger: h,
|
|
4151
4151
|
activeFloatingMenu: w,
|
|
4152
|
-
floatingMenuWrapperRef:
|
|
4152
|
+
floatingMenuWrapperRef: T,
|
|
4153
4153
|
leaveFloatingTrigger: k,
|
|
4154
4154
|
resetFloatingMenu: L,
|
|
4155
4155
|
focusFloatingMenu: M,
|
|
@@ -4168,7 +4168,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4168
4168
|
}, {
|
|
4169
4169
|
default: X(() => [
|
|
4170
4170
|
g("div", rl, [
|
|
4171
|
-
|
|
4171
|
+
z(u(V), {
|
|
4172
4172
|
class: "size-[24px]",
|
|
4173
4173
|
icon: t.brandLogo
|
|
4174
4174
|
}, null, 8, ["icon"])
|
|
@@ -4202,7 +4202,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4202
4202
|
onClick: (S) => u(l)(C)
|
|
4203
4203
|
}, [
|
|
4204
4204
|
g("div", cl, [
|
|
4205
|
-
|
|
4205
|
+
z(u(V), {
|
|
4206
4206
|
class: "text-[21px] w-[20px]",
|
|
4207
4207
|
icon: C.faIcon
|
|
4208
4208
|
}, null, 8, ["icon"]),
|
|
@@ -4231,7 +4231,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4231
4231
|
default: X(() => [
|
|
4232
4232
|
g("div", ml, [
|
|
4233
4233
|
g("div", gl, [
|
|
4234
|
-
|
|
4234
|
+
z(u(V), {
|
|
4235
4235
|
class: "size-[16px]",
|
|
4236
4236
|
icon: S.faIcon
|
|
4237
4237
|
}, null, 8, ["icon"]),
|
|
@@ -4261,7 +4261,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4261
4261
|
u(w) ? (c(), b("div", {
|
|
4262
4262
|
key: 0,
|
|
4263
4263
|
ref_key: "floatingMenuWrapperRef",
|
|
4264
|
-
ref:
|
|
4264
|
+
ref: T,
|
|
4265
4265
|
class: "absolute left-full bg-surface-container-low py-sm z-99",
|
|
4266
4266
|
onMouseenter: E[1] || (E[1] = //@ts-ignore
|
|
4267
4267
|
(...C) => u(M) && u(M)(...C)),
|
|
@@ -4291,7 +4291,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4291
4291
|
default: X(() => [
|
|
4292
4292
|
g("div", $l, [
|
|
4293
4293
|
g("div", xl, [
|
|
4294
|
-
|
|
4294
|
+
z(u(V), {
|
|
4295
4295
|
class: "text-[21px] w-[20px]",
|
|
4296
4296
|
icon: C.faIcon
|
|
4297
4297
|
}, null, 8, ["icon"]),
|
|
@@ -4318,14 +4318,14 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4318
4318
|
], 2)
|
|
4319
4319
|
], 544)) : y("", !0),
|
|
4320
4320
|
u(o) ? y("", !0) : (c(), b("div", kl, [
|
|
4321
|
-
|
|
4321
|
+
z(u(Eo), {
|
|
4322
4322
|
class: "min-w-[unset] text-on-surface-variant p-[6px]",
|
|
4323
4323
|
text: "",
|
|
4324
4324
|
unstyled: "",
|
|
4325
4325
|
onClick: u(a)
|
|
4326
4326
|
}, {
|
|
4327
4327
|
default: X(() => [
|
|
4328
|
-
|
|
4328
|
+
z(u(V), {
|
|
4329
4329
|
class: "group-[.navbar--collapsed]:-rotate-180",
|
|
4330
4330
|
icon: u(pr),
|
|
4331
4331
|
"fixed-width": ""
|
|
@@ -4382,7 +4382,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4382
4382
|
}
|
|
4383
4383
|
]])
|
|
4384
4384
|
}, [
|
|
4385
|
-
|
|
4385
|
+
z(u(V), { icon: t.icon }, null, 8, ["icon"])
|
|
4386
4386
|
], 2)) : y("", !0)
|
|
4387
4387
|
]),
|
|
4388
4388
|
$(i.$slots, "label", {}, () => [
|
|
@@ -4469,7 +4469,7 @@ const El = {
|
|
|
4469
4469
|
g("span", {
|
|
4470
4470
|
class: v({ [u(Al)]: e.hiddenIcon })
|
|
4471
4471
|
}, [
|
|
4472
|
-
|
|
4472
|
+
z(sr, {
|
|
4473
4473
|
"enter-active-class": u(Pl),
|
|
4474
4474
|
"enter-from-class": u(Dl),
|
|
4475
4475
|
"enter-to-class": u(Nl),
|
|
@@ -4554,7 +4554,7 @@ const El = {
|
|
|
4554
4554
|
], 2)
|
|
4555
4555
|
], 10, zl))), 128))
|
|
4556
4556
|
]),
|
|
4557
|
-
|
|
4557
|
+
z(Kt)
|
|
4558
4558
|
]),
|
|
4559
4559
|
$(n.$slots, "default", { activeTab: e.value })
|
|
4560
4560
|
], 64));
|
|
@@ -5268,11 +5268,11 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5268
5268
|
}, u(n)), null, 16, Ts), [
|
|
5269
5269
|
[ln, r.value]
|
|
5270
5270
|
]),
|
|
5271
|
-
|
|
5271
|
+
z(u(V), {
|
|
5272
5272
|
class: "not-peer-indeterminate:peer-checked:[--fa-display:inline-block] [--fa-display:none]",
|
|
5273
5273
|
icon: t.checkedIcon
|
|
5274
5274
|
}, null, 8, ["icon"]),
|
|
5275
|
-
|
|
5275
|
+
z(u(V), {
|
|
5276
5276
|
class: "not-peer-indeterminate:not-peer-checked:[--fa-display:inline-block] [--fa-display:none]",
|
|
5277
5277
|
icon: t.uncheckedIcon
|
|
5278
5278
|
}, null, 8, ["icon"]),
|
|
@@ -5365,7 +5365,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5365
5365
|
}, [
|
|
5366
5366
|
$(d.$slots, "icon", {}, () => [
|
|
5367
5367
|
t.icon ? (c(), b("div", Is, [
|
|
5368
|
-
|
|
5368
|
+
z(u(V), {
|
|
5369
5369
|
class: v(l.value?.icon),
|
|
5370
5370
|
icon: t.icon
|
|
5371
5371
|
}, null, 8, ["class", "icon"])
|
|
@@ -5379,7 +5379,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5379
5379
|
class: "size-[1.125rem] inline-flex items-center justify-center",
|
|
5380
5380
|
onClick: p[0] || (p[0] = Qe((f) => o("close"), ["stop"]))
|
|
5381
5381
|
}, [
|
|
5382
|
-
|
|
5382
|
+
z(u(V), {
|
|
5383
5383
|
class: "text-[1rem]",
|
|
5384
5384
|
icon: u(xt)
|
|
5385
5385
|
}, null, 8, ["icon"])
|
|
@@ -5432,7 +5432,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5432
5432
|
}, [
|
|
5433
5433
|
$(l.$slots, "leadingIcon", {}, () => [
|
|
5434
5434
|
s.value ? (c(), b("div", As, [
|
|
5435
|
-
|
|
5435
|
+
z(u(V), {
|
|
5436
5436
|
class: v([i.value?.icon, o.value ? "text-on-secondary-container" : "text-primary"]),
|
|
5437
5437
|
icon: s.value
|
|
5438
5438
|
}, null, 8, ["class", "icon"])
|
|
@@ -5443,7 +5443,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5443
5443
|
]),
|
|
5444
5444
|
$(l.$slots, "trailingIcon", {}, () => [
|
|
5445
5445
|
t.trailingIcon ? (c(), b("div", Ps, [
|
|
5446
|
-
|
|
5446
|
+
z(u(V), {
|
|
5447
5447
|
class: v([
|
|
5448
5448
|
i.value?.icon,
|
|
5449
5449
|
"text-on-surface group-enabled:group-hover:text-on-surface-variant"
|
|
@@ -5504,7 +5504,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5504
5504
|
return e({
|
|
5505
5505
|
inputId: i,
|
|
5506
5506
|
anchors: m
|
|
5507
|
-
}), (w,
|
|
5507
|
+
}), (w, T) => (c(), b("div", Ns, [
|
|
5508
5508
|
d.value ? y("", !0) : (c(), b("label", {
|
|
5509
5509
|
key: 0,
|
|
5510
5510
|
for: u(i),
|
|
@@ -5540,7 +5540,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5540
5540
|
}, [
|
|
5541
5541
|
g("div", Ms, [
|
|
5542
5542
|
g("div", js, [
|
|
5543
|
-
|
|
5543
|
+
z(u(V), {
|
|
5544
5544
|
class: v(t.compact ? "text-[1rem]" : "text-[1.25rem]"),
|
|
5545
5545
|
icon: t.leadingIcon
|
|
5546
5546
|
}, null, 8, ["class", "icon"])
|
|
@@ -5589,7 +5589,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5589
5589
|
}, [
|
|
5590
5590
|
g("div", Hs, [
|
|
5591
5591
|
g("div", Ws, [
|
|
5592
|
-
|
|
5592
|
+
z(u(V), {
|
|
5593
5593
|
class: v(t.compact ? "text-[1rem]" : "text-[1.25rem]"),
|
|
5594
5594
|
icon: t.trailingIcon
|
|
5595
5595
|
}, null, 8, ["class", "icon"])
|
|
@@ -5602,7 +5602,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5602
5602
|
}, [
|
|
5603
5603
|
g("div", Ks, [
|
|
5604
5604
|
g("div", Gs, [
|
|
5605
|
-
|
|
5605
|
+
z(u(V), {
|
|
5606
5606
|
class: v(t.compact ? "text-[1rem]" : "text-[1.25rem]"),
|
|
5607
5607
|
icon: u(gr)
|
|
5608
5608
|
}, null, 8, ["class", "icon"])
|
|
@@ -5618,7 +5618,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5618
5618
|
}, [
|
|
5619
5619
|
g("span", Zs, P(t.supportText), 1),
|
|
5620
5620
|
t.required ? (c(), b("span", Ys, [
|
|
5621
|
-
|
|
5621
|
+
T[0] || (T[0] = g("span", { class: "text-danger" }, "*", -1)),
|
|
5622
5622
|
ze(" " + P(u(h).locale?.mandatory), 1)
|
|
5623
5623
|
])) : y("", !0)
|
|
5624
5624
|
], 2)) : y("", !0)
|
|
@@ -5803,7 +5803,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5803
5803
|
class: v(u(au)),
|
|
5804
5804
|
onClick: a[1] || (a[1] = (i) => o("close"))
|
|
5805
5805
|
}, [
|
|
5806
|
-
|
|
5806
|
+
z(u(V), { icon: u(xt) }, null, 8, ["icon"])
|
|
5807
5807
|
], 2)) : y("", !0)
|
|
5808
5808
|
], 2)
|
|
5809
5809
|
], 2));
|
|
@@ -5821,7 +5821,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5821
5821
|
class: v([u(su), e.multiline ? u(du) : u(uu)])
|
|
5822
5822
|
}, [
|
|
5823
5823
|
e.icon ? (c(), b("div", fu, [
|
|
5824
|
-
|
|
5824
|
+
z(u(V), {
|
|
5825
5825
|
icon: e.icon
|
|
5826
5826
|
}, null, 8, ["icon"])
|
|
5827
5827
|
])) : y("", !0),
|
|
@@ -5983,7 +5983,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5983
5983
|
}, null, 8, Vu)
|
|
5984
5984
|
], 8, ju))), 128))
|
|
5985
5985
|
]),
|
|
5986
|
-
|
|
5986
|
+
z(Kt, {
|
|
5987
5987
|
class: "w-[1.5rem] shrink-0",
|
|
5988
5988
|
"is-vertical": ""
|
|
5989
5989
|
})
|
|
@@ -6397,15 +6397,15 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, md = {
|
|
|
6397
6397
|
return ["string", "number", "symbol"].includes(typeof S);
|
|
6398
6398
|
}
|
|
6399
6399
|
function d(S, A) {
|
|
6400
|
-
const
|
|
6401
|
-
return l(
|
|
6400
|
+
const F = i(S);
|
|
6401
|
+
return l(F) ? F : A;
|
|
6402
6402
|
}
|
|
6403
6403
|
const p = re(t, "modelValue"), f = ee(""), m = ee(!1), h = B(
|
|
6404
6404
|
() => new Map(n.options.map((S) => [i(S), S]))
|
|
6405
6405
|
), w = B(() => {
|
|
6406
6406
|
const S = h.value.get(p.value);
|
|
6407
6407
|
return S ? a(S) : null;
|
|
6408
|
-
}),
|
|
6408
|
+
}), T = B({
|
|
6409
6409
|
get() {
|
|
6410
6410
|
return m.value ? f.value : w.value;
|
|
6411
6411
|
},
|
|
@@ -6453,20 +6453,20 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, md = {
|
|
|
6453
6453
|
}
|
|
6454
6454
|
}
|
|
6455
6455
|
return (S, A) => (c(), b(Q, null, [
|
|
6456
|
-
|
|
6456
|
+
z(dn, W({ ref: "formFieldWrapper" }, n, {
|
|
6457
6457
|
"trailing-icon": u(Ir),
|
|
6458
6458
|
onFocusInput: L
|
|
6459
6459
|
}), Ft({
|
|
6460
|
-
default: X((
|
|
6460
|
+
default: X((F) => [
|
|
6461
6461
|
ge(g("input", W({
|
|
6462
6462
|
ref: "input",
|
|
6463
|
-
"onUpdate:modelValue": A[0] || (A[0] = (
|
|
6464
|
-
}, { ...
|
|
6463
|
+
"onUpdate:modelValue": A[0] || (A[0] = (_) => T.value = _)
|
|
6464
|
+
}, { ...F, ...u(r) }, {
|
|
6465
6465
|
onFocus: L,
|
|
6466
6466
|
onBlur: M,
|
|
6467
|
-
onKeydown: A[1] || (A[1] = (
|
|
6467
|
+
onKeydown: A[1] || (A[1] = (_) => ie(_))
|
|
6468
6468
|
}), null, 16), [
|
|
6469
|
-
[ln,
|
|
6469
|
+
[ln, T.value]
|
|
6470
6470
|
]),
|
|
6471
6471
|
m.value && !f.value ? (c(), b("span", {
|
|
6472
6472
|
key: 0,
|
|
@@ -6508,7 +6508,7 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, md = {
|
|
|
6508
6508
|
t.actionLabel ? (c(), b(Q, { key: 0 }, [
|
|
6509
6509
|
g("li", {
|
|
6510
6510
|
class: "p-[0.5rem] gap-[0.5rem] text-body-large flex cursor-pointer hover:bg-on-surface/8",
|
|
6511
|
-
onMousedown: A[2] || (A[2] = Qe((
|
|
6511
|
+
onMousedown: A[2] || (A[2] = Qe((F) => o("action"), ["prevent", "stop"]))
|
|
6512
6512
|
}, [
|
|
6513
6513
|
g("span", pd, [
|
|
6514
6514
|
t.actionLeadingIcon ? (c(), O(u(V), {
|
|
@@ -6519,7 +6519,7 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, md = {
|
|
|
6519
6519
|
]),
|
|
6520
6520
|
g("span", fd, P(t.actionLabel), 1),
|
|
6521
6521
|
t.actionTrailingIcon ? (c(), b("span", md, [
|
|
6522
|
-
|
|
6522
|
+
z(u(V), {
|
|
6523
6523
|
class: "text-[1rem]",
|
|
6524
6524
|
icon: t.actionTrailingIcon
|
|
6525
6525
|
}, null, 8, ["icon"])
|
|
@@ -6530,19 +6530,19 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, md = {
|
|
|
6530
6530
|
], -1))
|
|
6531
6531
|
], 64)) : y("", !0)
|
|
6532
6532
|
]),
|
|
6533
|
-
(c(!0), b(Q, null, te(I.value, (
|
|
6534
|
-
key: d(
|
|
6535
|
-
class: v(["p-[0.5rem] gap-[0.5rem] text-body-large flex cursor-pointer hover:bg-on-surface/8", { "bg-on-surface/8": E.value ===
|
|
6536
|
-
onMousedown: (K) => j(K,
|
|
6533
|
+
(c(!0), b(Q, null, te(I.value, (F, _) => (c(), b("li", {
|
|
6534
|
+
key: d(F, _),
|
|
6535
|
+
class: v(["p-[0.5rem] gap-[0.5rem] text-body-large flex cursor-pointer hover:bg-on-surface/8", { "bg-on-surface/8": E.value === _ }]),
|
|
6536
|
+
onMousedown: (K) => j(K, F)
|
|
6537
6537
|
}, [
|
|
6538
6538
|
g("span", bd, [
|
|
6539
|
-
s(
|
|
6539
|
+
s(F) ? (c(), O(u(V), {
|
|
6540
6540
|
key: 0,
|
|
6541
6541
|
class: "text-[1rem]",
|
|
6542
|
-
icon: s(
|
|
6542
|
+
icon: s(F)
|
|
6543
6543
|
}, null, 8, ["icon"])) : y("", !0)
|
|
6544
6544
|
]),
|
|
6545
|
-
g("span", null, P(a(
|
|
6545
|
+
g("span", null, P(a(F)), 1)
|
|
6546
6546
|
], 42, gd))), 128))
|
|
6547
6547
|
], 4)) : y("", !0)
|
|
6548
6548
|
]))
|
|
@@ -6825,7 +6825,7 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, md = {
|
|
|
6825
6825
|
}
|
|
6826
6826
|
])
|
|
6827
6827
|
}, [
|
|
6828
|
-
|
|
6828
|
+
z(u(V), {
|
|
6829
6829
|
icon: u(Jt)[e.brand].icon,
|
|
6830
6830
|
class: v([
|
|
6831
6831
|
{
|
|
@@ -6941,7 +6941,7 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, md = {
|
|
|
6941
6941
|
])
|
|
6942
6942
|
}, [
|
|
6943
6943
|
i.value ? (c(), b("span", Zd, [
|
|
6944
|
-
|
|
6944
|
+
z(u(V), {
|
|
6945
6945
|
class: "text-[1rem]",
|
|
6946
6946
|
icon: u(zt)
|
|
6947
6947
|
}, null, 8, ["icon"])
|
|
@@ -6951,7 +6951,7 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, md = {
|
|
|
6951
6951
|
key: 0,
|
|
6952
6952
|
class: v([[i.value && s.value ? "hidden" : "inline-flex"], "size-[1.125rem] items-center justify-center"])
|
|
6953
6953
|
}, [
|
|
6954
|
-
|
|
6954
|
+
z(u(V), {
|
|
6955
6955
|
class: "text-[1rem]",
|
|
6956
6956
|
icon: t.icon
|
|
6957
6957
|
}, null, 8, ["icon"])
|
|
@@ -7206,7 +7206,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7206
7206
|
style: _e({ "--col-absolute-width": `calc(100% - ${t.isLast ? "0.5rem" : "0.25rem"})` })
|
|
7207
7207
|
}, [
|
|
7208
7208
|
t.icon ? (c(), b("span", hc, [
|
|
7209
|
-
|
|
7209
|
+
z(u(V), { icon: t.icon }, null, 8, ["icon"])
|
|
7210
7210
|
])) : ge((c(), b("span", vc, [
|
|
7211
7211
|
ze(P(t.header), 1)
|
|
7212
7212
|
])), [
|
|
@@ -7228,7 +7228,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7228
7228
|
onClick: r[0] || (r[0] = (i) => n("sort", t.name))
|
|
7229
7229
|
}, null, 8, ["icon", "class", "data-cy"])) : y("", !0),
|
|
7230
7230
|
t.hasHeaderFilter ? (c(), b("div", wc, [
|
|
7231
|
-
|
|
7231
|
+
z(u(tt), {
|
|
7232
7232
|
icon: u(Ar),
|
|
7233
7233
|
color: "standard",
|
|
7234
7234
|
size: "32x32",
|
|
@@ -7277,7 +7277,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7277
7277
|
}),
|
|
7278
7278
|
"data-cy": `table-header-${a.name}`
|
|
7279
7279
|
}, [
|
|
7280
|
-
|
|
7280
|
+
z($c, {
|
|
7281
7281
|
mode: t.mode,
|
|
7282
7282
|
"is-first": i === 0 && !t.showSelection,
|
|
7283
7283
|
"is-last": i === t.fields.length - 1,
|
|
@@ -7375,7 +7375,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7375
7375
|
() => import("./TableSelectionCheckbox-SJcj9lTW.js")
|
|
7376
7376
|
), o = et(
|
|
7377
7377
|
() => import("./TableSelectionFilter-BtwWWugM.js")
|
|
7378
|
-
), r = t, a = e, i = ue(), s = Ne("filterOverlay"), { headerFilterOverlayActive: l, handleOnClose: d, openFilterOverlay: p } = oc(s), f = re(t, "sort"), m = B(() => r.fields), h = Ne("wrapper"), { handleMousedown: w, getColumnWidth:
|
|
7378
|
+
), r = t, a = e, i = ue(), s = Ne("filterOverlay"), { headerFilterOverlayActive: l, handleOnClose: d, openFilterOverlay: p } = oc(s), f = re(t, "sort"), m = B(() => r.fields), h = Ne("wrapper"), { handleMousedown: w, getColumnWidth: T } = rc(h, m), k = Ne("rows"), L = re(t, "activeRow"), { handleUpAndDownMovement: M } = ac(k, L), x = getComputedStyle(document.documentElement).getPropertyValue("--breakpoint-lg"), I = matchMedia(`(width >= ${x})`), j = ee(!I.matches);
|
|
7379
7379
|
Mt(I, "change", (A) => {
|
|
7380
7380
|
A instanceof MediaQueryListEvent && (j.value = !A.matches);
|
|
7381
7381
|
});
|
|
@@ -7389,8 +7389,8 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7389
7389
|
ve(
|
|
7390
7390
|
m,
|
|
7391
7391
|
(A) => {
|
|
7392
|
-
E.features = [], E.list = [], A.forEach(({ cellClasses:
|
|
7393
|
-
const K =
|
|
7392
|
+
E.features = [], E.list = [], A.forEach(({ cellClasses: F, ..._ }) => {
|
|
7393
|
+
const K = _;
|
|
7394
7394
|
if (K.placement === Ze.FEATURE) {
|
|
7395
7395
|
E.features.push(K);
|
|
7396
7396
|
return;
|
|
@@ -7413,7 +7413,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7413
7413
|
function S(A) {
|
|
7414
7414
|
Array.isArray(C.value) || (C.value = []), C.value.push(A[r.dataKey]);
|
|
7415
7415
|
}
|
|
7416
|
-
return (A,
|
|
7416
|
+
return (A, F) => (c(), b("div", Ec, [
|
|
7417
7417
|
j.value ? y("", !0) : (c(), b("div", {
|
|
7418
7418
|
key: 0,
|
|
7419
7419
|
class: v(["basis-full flex-col sticky top-0 z-5", {
|
|
@@ -7429,19 +7429,20 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7429
7429
|
"rounded-tl-[0.75rem]": t.mode === "divider-only"
|
|
7430
7430
|
}])
|
|
7431
7431
|
}, [
|
|
7432
|
-
|
|
7432
|
+
z(u(V), {
|
|
7433
7433
|
icon: ie.value ? u(no) : u(ro),
|
|
7434
|
-
class: v({ "text-primary": ie.value })
|
|
7434
|
+
class: v({ "text-primary cursor-pointer": ie.value }),
|
|
7435
|
+
onClick: F[0] || (F[0] = (_) => C.value = [])
|
|
7435
7436
|
}, null, 8, ["icon", "class"])
|
|
7436
7437
|
], 2)
|
|
7437
7438
|
])) : y("", !0),
|
|
7438
|
-
|
|
7439
|
+
z(kc, {
|
|
7439
7440
|
sort: f.value,
|
|
7440
|
-
"onUpdate:sort":
|
|
7441
|
+
"onUpdate:sort": F[1] || (F[1] = (_) => f.value = _),
|
|
7441
7442
|
fields: t.fields,
|
|
7442
7443
|
mode: t.mode,
|
|
7443
7444
|
"active-filters": t.activeFilters,
|
|
7444
|
-
"get-column-width": u(
|
|
7445
|
+
"get-column-width": u(T),
|
|
7445
7446
|
"open-filter-overlay": u(p),
|
|
7446
7447
|
"handle-mousedown": u(w),
|
|
7447
7448
|
"show-selection": t.showSelection
|
|
@@ -7449,21 +7450,21 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7449
7450
|
]),
|
|
7450
7451
|
g("div", Ac, [
|
|
7451
7452
|
t.showSelection ? (c(), b("div", Pc, [
|
|
7452
|
-
|
|
7453
|
+
z(u(o), {
|
|
7453
7454
|
selection: C.value,
|
|
7454
|
-
"onUpdate:selection":
|
|
7455
|
+
"onUpdate:selection": F[2] || (F[2] = (_) => C.value = _),
|
|
7455
7456
|
"data-key": t.dataKey,
|
|
7456
7457
|
items: t.items
|
|
7457
7458
|
}, null, 8, ["selection", "data-key", "items"])
|
|
7458
7459
|
])) : y("", !0),
|
|
7459
|
-
(c(!0), b(Q, null, te(t.fields, (
|
|
7460
|
-
key: `filter-${
|
|
7460
|
+
(c(!0), b(Q, null, te(t.fields, (_, K) => (c(), b("div", {
|
|
7461
|
+
key: `filter-${_.name}`,
|
|
7461
7462
|
class: "has-[>*]:py-[0.25rem] has-[>*]:pl-[0.25rem] grow-(--col-grow) w-(--col-width) min-w-(--col-min-width)",
|
|
7462
|
-
style: _e(u(
|
|
7463
|
+
style: _e(u(T)(_.name))
|
|
7463
7464
|
}, [
|
|
7464
|
-
|
|
7465
|
+
_.filterComponent ? (c(), O(st(_.filterComponent), {
|
|
7465
7466
|
key: 0,
|
|
7466
|
-
field:
|
|
7467
|
+
field: _.name,
|
|
7467
7468
|
"col-index": K
|
|
7468
7469
|
}, null, 8, ["field", "col-index"])) : y("", !0)
|
|
7469
7470
|
], 4))), 128))
|
|
@@ -7476,8 +7477,8 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7476
7477
|
"position-anchor": `--header-cell-${u(l)}`
|
|
7477
7478
|
})
|
|
7478
7479
|
}, [
|
|
7479
|
-
g("span", Nc, P(t.fields.find((
|
|
7480
|
-
|
|
7480
|
+
g("span", Nc, P(t.fields.find((_) => _.name === u(l))?.header), 1),
|
|
7481
|
+
z(u(tt), {
|
|
7481
7482
|
class: "shrink-0",
|
|
7482
7483
|
color: "tonal",
|
|
7483
7484
|
icon: u(xt),
|
|
@@ -7505,47 +7506,47 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7505
7506
|
"rounded-extra-small": t.mode === "divider-only",
|
|
7506
7507
|
"bg-surface": t.mode !== "in-container"
|
|
7507
7508
|
}]),
|
|
7508
|
-
onKeydown:
|
|
7509
|
+
onKeydown: F[6] || (F[6] = (_) => u(M)(_))
|
|
7509
7510
|
}, [
|
|
7510
7511
|
t.isLoading ? (c(), b("div", Bc, [
|
|
7511
|
-
(c(), b(Q, null, te(3, (
|
|
7512
|
-
key:
|
|
7512
|
+
(c(), b(Q, null, te(3, (_) => g("div", {
|
|
7513
|
+
key: _,
|
|
7513
7514
|
class: "h-[14rem] rounded-[0.75rem] lg:rounded-none lg:h-[2.5rem] bg-outline-variant w-full",
|
|
7514
7515
|
"data-cy": "skeleton-loader"
|
|
7515
7516
|
})), 64))
|
|
7516
|
-
])) : (c(!0), b(Q, { key: 1 }, te(t.items, (
|
|
7517
|
-
key: `table-row-${
|
|
7517
|
+
])) : (c(!0), b(Q, { key: 1 }, te(t.items, (_, K) => (c(), b("div", {
|
|
7518
|
+
key: `table-row-${_[t.dataKey]}`,
|
|
7518
7519
|
ref_for: !0,
|
|
7519
7520
|
ref: "rows",
|
|
7520
7521
|
class: v(["lg:h-[calc(2.5rem+0.0625rem)] lg:after:h-[0.0625rem] lg:after:w-[calc(100%-2rem)] lg:after:bg-outline/12 lg:after:mx-[1rem] lg:after:absolute lg:after:bottom-0 relative flex flex-col lg:flex-row max-lg:rounded-[0.75rem] max-lg:border border-outline-variant max-lg:bg-surface max-lg:rounded hover:bg-(--row-hover-color,var(--row-default-hover-color)) hover:after:content-none focus:bg-(--row-focus-color,var(--row-default-hover-color)) focus:after:content-none outline-hidden cursor-pointer", [
|
|
7521
7522
|
{
|
|
7522
|
-
"bg-secondary-container after:content-none [--row-default-hover-color:color-mix(in_oklab,var(--color-secondary-container),rgba(from_var(--color-on-surface)_r_g_b/8%))]": Array.isArray(C.value) && C.value.includes(
|
|
7523
|
+
"bg-secondary-container after:content-none [--row-default-hover-color:color-mix(in_oklab,var(--color-secondary-container),rgba(from_var(--color-on-surface)_r_g_b/8%))]": Array.isArray(C.value) && C.value.includes(_[t.dataKey])
|
|
7523
7524
|
},
|
|
7524
|
-
t.getRowClass ? t.getRowClass(
|
|
7525
|
+
t.getRowClass ? t.getRowClass(_) : null
|
|
7525
7526
|
]]),
|
|
7526
7527
|
tabindex: "-1",
|
|
7527
7528
|
role: "row",
|
|
7528
7529
|
"aria-rowindex": K,
|
|
7529
|
-
onClick: (q) => a("rowClick", { originalEvent: q, data:
|
|
7530
|
-
onDblclick: (q) => a("rowDblclick", { originalEvent: q, data:
|
|
7530
|
+
onClick: (q) => a("rowClick", { originalEvent: q, data: _, index: K }),
|
|
7531
|
+
onDblclick: (q) => a("rowDblclick", { originalEvent: q, data: _, index: K }),
|
|
7531
7532
|
onKeyup: [
|
|
7532
|
-
Zt(Qe((q) => a("rowClick", { originalEvent: q, data:
|
|
7533
|
-
Zt(Qe((q) => S(
|
|
7533
|
+
Zt(Qe((q) => a("rowClick", { originalEvent: q, data: _, index: K }), ["stop", "prevent"]), ["enter"]),
|
|
7534
|
+
Zt(Qe((q) => S(_), ["stop", "prevent"]), ["space"])
|
|
7534
7535
|
],
|
|
7535
|
-
onKeydown:
|
|
7536
|
+
onKeydown: F[5] || (F[5] = Zt(Qe(() => {
|
|
7536
7537
|
}, ["stop", "prevent"]), ["space"]))
|
|
7537
7538
|
}, [
|
|
7538
7539
|
j.value ? (c(), O(bc, {
|
|
7539
7540
|
key: 0,
|
|
7540
|
-
id:
|
|
7541
|
+
id: _[t.dataKey],
|
|
7541
7542
|
selection: C.value,
|
|
7542
|
-
"onUpdate:selection":
|
|
7543
|
+
"onUpdate:selection": F[3] || (F[3] = (q) => C.value = q),
|
|
7543
7544
|
"show-collapse-button": se.value,
|
|
7544
7545
|
"show-selection": t.showSelection
|
|
7545
7546
|
}, Ft({
|
|
7546
7547
|
list: X(({ showCollapsed: q }) => [
|
|
7547
7548
|
(c(!0), b(Q, null, te(E.list, (ne, Oe) => ge((c(), b("div", {
|
|
7548
|
-
key: `table-cell-${
|
|
7549
|
+
key: `table-cell-${_[t.dataKey]}-${ne.name}`,
|
|
7549
7550
|
class: "flex justify-between px-[1.5rem] py-[0.25rem] gap-[0.5rem] text-[0.75rem] leading-[1.5rem] tracking-[0.09rem] text-bdazzled-blue font-[600]"
|
|
7550
7551
|
}, [
|
|
7551
7552
|
g("span", jc, P(ne.header), 1),
|
|
@@ -7553,9 +7554,9 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7553
7554
|
field: ne.name,
|
|
7554
7555
|
rowIndex: K,
|
|
7555
7556
|
colIndex: Oe,
|
|
7556
|
-
data:
|
|
7557
|
+
data: _
|
|
7557
7558
|
}, () => [
|
|
7558
|
-
g("div", null, P(
|
|
7559
|
+
g("div", null, P(_[ne.name]), 1)
|
|
7559
7560
|
])
|
|
7560
7561
|
])), [
|
|
7561
7562
|
[cr, ne.placement !== u(Ze).COLLAPSED || q]
|
|
@@ -7568,7 +7569,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7568
7569
|
fn: X(() => [
|
|
7569
7570
|
$(A.$slots, "cardTitle", {
|
|
7570
7571
|
rowIndex: K,
|
|
7571
|
-
data:
|
|
7572
|
+
data: _
|
|
7572
7573
|
})
|
|
7573
7574
|
]),
|
|
7574
7575
|
key: "0"
|
|
@@ -7578,7 +7579,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7578
7579
|
fn: X(() => [
|
|
7579
7580
|
$(A.$slots, "cardSubtitle", {
|
|
7580
7581
|
rowIndex: K,
|
|
7581
|
-
data:
|
|
7582
|
+
data: _
|
|
7582
7583
|
})
|
|
7583
7584
|
]),
|
|
7584
7585
|
key: "1"
|
|
@@ -7587,11 +7588,11 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7587
7588
|
name: "feature",
|
|
7588
7589
|
fn: X(() => [
|
|
7589
7590
|
(c(!0), b(Q, null, te(E.features, (q, ne) => $(A.$slots, "feature", {
|
|
7590
|
-
key: `table-feature-${
|
|
7591
|
+
key: `table-feature-${_[t.dataKey]}-${q.name}`,
|
|
7591
7592
|
field: q.name,
|
|
7592
7593
|
rowIndex: K,
|
|
7593
7594
|
colIndex: ne,
|
|
7594
|
-
data:
|
|
7595
|
+
data: _
|
|
7595
7596
|
})), 128))
|
|
7596
7597
|
]),
|
|
7597
7598
|
key: "2"
|
|
@@ -7600,11 +7601,11 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7600
7601
|
name: "major",
|
|
7601
7602
|
fn: X(() => [
|
|
7602
7603
|
(c(!0), b(Q, null, te(E.majors, (q, ne) => $(A.$slots, "cardMajor", {
|
|
7603
|
-
key: `table-major-${
|
|
7604
|
+
key: `table-major-${_[t.dataKey]}-${q.name}`,
|
|
7604
7605
|
field: q.name,
|
|
7605
7606
|
rowIndex: K,
|
|
7606
7607
|
colIndex: ne,
|
|
7607
|
-
data:
|
|
7608
|
+
data: _
|
|
7608
7609
|
})), 128))
|
|
7609
7610
|
]),
|
|
7610
7611
|
key: "3"
|
|
@@ -7614,7 +7615,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7614
7615
|
fn: X(() => [
|
|
7615
7616
|
$(A.$slots, "cardAction", {
|
|
7616
7617
|
rowIndex: K,
|
|
7617
|
-
data:
|
|
7618
|
+
data: _
|
|
7618
7619
|
})
|
|
7619
7620
|
]),
|
|
7620
7621
|
key: "4"
|
|
@@ -7622,19 +7623,19 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7622
7623
|
]), 1032, ["id", "selection", "show-collapse-button", "show-selection"])) : (c(), b(Q, { key: 1 }, [
|
|
7623
7624
|
t.showSelection ? (c(), b("div", Vc, [
|
|
7624
7625
|
g("div", Uc, [
|
|
7625
|
-
|
|
7626
|
+
z(u(n), {
|
|
7626
7627
|
modelValue: C.value,
|
|
7627
|
-
"onUpdate:modelValue":
|
|
7628
|
-
value:
|
|
7628
|
+
"onUpdate:modelValue": F[4] || (F[4] = (q) => C.value = q),
|
|
7629
|
+
value: _[t.dataKey]
|
|
7629
7630
|
}, null, 8, ["modelValue", "value"])
|
|
7630
7631
|
])
|
|
7631
7632
|
])) : y("", !0),
|
|
7632
|
-
|
|
7633
|
+
z(Oc, {
|
|
7633
7634
|
"data-key": t.dataKey,
|
|
7634
|
-
item:
|
|
7635
|
+
item: _,
|
|
7635
7636
|
"row-index": K,
|
|
7636
7637
|
fields: t.fields,
|
|
7637
|
-
"get-column-width": u(
|
|
7638
|
+
"get-column-width": u(T)
|
|
7638
7639
|
}, null, 8, ["data-key", "item", "row-index", "fields", "get-column-width"])
|
|
7639
7640
|
], 64))
|
|
7640
7641
|
], 42, Mc))), 128))
|