@aures5g/vue-component-library 3.17.0 → 3.18.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 J, readonly as Jo, getCurrentInstance as fn, onMounted as er, nextTick as tr, watch as me, reactive as it, mergeProps as z, inject as nr, defineComponent as M, computed as j, useSlots as re, openBlock as f, createElementBlock as b, normalizeClass as v, createElementVNode as m, unref as d, renderSlot as x, createBlock as I, createCommentVNode as y, toDisplayString as P, useId as or, createTextVNode as Re, resolveComponent as gn, resolveDirective as et, withDirectives as pe, resolveDynamicComponent as Qt, withCtx as Z, onUpdated as rr, defineAsyncComponent as an, createVNode as G, Fragment as
|
|
1
|
+
import { ref as J, readonly as Jo, getCurrentInstance as fn, onMounted as er, nextTick as tr, watch as me, reactive as it, mergeProps as z, inject as nr, defineComponent as M, computed as j, useSlots as re, openBlock as f, createElementBlock as b, normalizeClass as v, createElementVNode as m, unref as d, renderSlot as x, createBlock as I, createCommentVNode as y, toDisplayString as P, useId as or, createTextVNode as Re, resolveComponent as gn, resolveDirective as et, withDirectives as pe, resolveDynamicComponent as Qt, withCtx as Z, onUpdated as rr, defineAsyncComponent as an, createVNode as G, Fragment as X, renderList as te, shallowRef as ar, Transition as ir, useModel as de, mergeModels as le, useAttrs as _e, h as Jt, vModelDynamic as ln, withModifiers as qe, normalizeStyle as Ee, mergeDefaults as Vt, useTemplateRef as Pe, createSlots as Ut, vModelText as lr, Teleport as to, watchEffect as sr, withKeys as Kt, vShow as ur } from "vue";
|
|
2
2
|
import { FontAwesomeIcon as U } from "@fortawesome/vue-fontawesome";
|
|
3
3
|
import { faChevronsLeft as dr, faCheck as Rt, faCopy as cr, faSquareMinus as pr, faSquareCheck as fr, faXmark as $t, faExclamationCircle as gr, faArrowLeft as mr, faChevronUp as br, faChevronDown as hr, faCircleSortUp as vr, faCircleSortDown as yr } from "@awesome.me/kit-bccbe657bb/icons/sharp/solid";
|
|
4
4
|
import { faAaaLogoShort as $r, faAaaAutoSymbol as St, faKupujemeAutaLogoShort as wr, faAaaAutoDiskontSymbol as mn, faMototechnaSymbol as _t, faAutosplatkySymbol as xr } from "@awesome.me/kit-bccbe657bb/icons/kit/custom";
|
|
@@ -298,7 +298,7 @@ var wn = Xr(), qr = Object.defineProperty, Qr = Object.defineProperties, Jr = Ob
|
|
|
298
298
|
for (var o in t) fo.call(t, o) && e.indexOf(o) < 0 && (n[o] = t[o]);
|
|
299
299
|
if (t != null && jt) for (var o of jt(t)) e.indexOf(o) < 0 && go.call(t, o) && (n[o] = t[o]);
|
|
300
300
|
return n;
|
|
301
|
-
}, ea = io(),
|
|
301
|
+
}, ea = io(), ne = ea, tn = /{([^}]*)}/g, ta = /(\d+\s+[\+\-\*\/]\s+\d+)/g, na = /var\([^)]+\)/g;
|
|
302
302
|
function oa(t) {
|
|
303
303
|
return Se(t) && t.hasOwnProperty("$value") && t.hasOwnProperty("$type") ? t.$value : t;
|
|
304
304
|
}
|
|
@@ -426,7 +426,7 @@ var fe = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
426
426
|
var a, i, s, l, u, c, p;
|
|
427
427
|
let { preset: g, options: h } = e, w, E, O, L, B, N, S;
|
|
428
428
|
if (W(g) && h.transform !== "strict") {
|
|
429
|
-
let { primitive: C, semantic: V, extend: k } = g,
|
|
429
|
+
let { primitive: C, semantic: V, extend: k } = g, q = V || {}, { colorScheme: A } = q, _ = we(q, ["colorScheme"]), $ = k || {}, { colorScheme: T } = $, H = we($, ["colorScheme"]), ee = A || {}, { dark: ye } = ee, Fe = we(ee, ["dark"]), Ne = T || {}, { dark: ze } = Ne, He = we(Ne, ["dark"]), $e = W(C) ? this._toVariables({ primitive: C }, h) : {}, be = W(_) ? this._toVariables({ semantic: _ }, h) : {}, Be = W(Fe) ? this._toVariables({ light: Fe }, h) : {}, xt = W(ye) ? this._toVariables({ dark: ye }, h) : {}, We = W(H) ? this._toVariables({ semantic: H }, h) : {}, cn = W(He) ? this._toVariables({ light: He }, h) : {}, pn = W(ze) ? this._toVariables({ dark: ze }, h) : {}, [No, Bo] = [(a = $e.declarations) != null ? a : "", $e.tokens], [Mo, jo] = [(i = be.declarations) != null ? i : "", be.tokens || []], [Vo, Uo] = [(s = Be.declarations) != null ? s : "", Be.tokens || []], [Ro, Fo] = [(l = xt.declarations) != null ? l : "", xt.tokens || []], [zo, Ho] = [(u = We.declarations) != null ? u : "", We.tokens || []], [Wo, Ko] = [(c = cn.declarations) != null ? c : "", cn.tokens || []], [Go, Yo] = [(p = pn.declarations) != null ? p : "", pn.tokens || []];
|
|
430
430
|
w = this.transformCSS(t, No, "light", "variable", h, o, r), E = Bo;
|
|
431
431
|
let Zo = this.transformCSS(t, `${Mo}${Vo}`, "light", "variable", h, o, r), Xo = this.transformCSS(t, `${Ro}`, "dark", "variable", h, o, r);
|
|
432
432
|
O = `${Zo}${Xo}`, L = [.../* @__PURE__ */ new Set([...jo, ...Uo, ...Fo])];
|
|
@@ -438,7 +438,7 @@ var fe = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
438
438
|
var s, l, u;
|
|
439
439
|
let c, p, g;
|
|
440
440
|
if (W(e) && n.transform !== "strict") {
|
|
441
|
-
let h = t.replace("-directive", ""), w = e, { colorScheme: E, extend: O, css: L } = w, B = we(w, ["colorScheme", "extend", "css"]), N = O || {}, { colorScheme: S } = N, C = we(N, ["colorScheme"]), V = E || {}, { dark: k } = V,
|
|
441
|
+
let h = t.replace("-directive", ""), w = e, { colorScheme: E, extend: O, css: L } = w, B = we(w, ["colorScheme", "extend", "css"]), N = O || {}, { colorScheme: S } = N, C = we(N, ["colorScheme"]), V = E || {}, { dark: k } = V, q = we(V, ["dark"]), A = S || {}, { dark: _ } = A, $ = we(A, ["dark"]), T = W(B) ? this._toVariables({ [h]: ge(ge({}, B), C) }, n) : {}, H = W(q) ? this._toVariables({ [h]: ge(ge({}, q), $) }, n) : {}, ee = W(k) ? this._toVariables({ [h]: ge(ge({}, k), _) }, n) : {}, [ye, Fe] = [(s = T.declarations) != null ? s : "", T.tokens || []], [Ne, ze] = [(l = H.declarations) != null ? l : "", H.tokens || []], [He, $e] = [(u = ee.declarations) != null ? u : "", ee.tokens || []], be = this.transformCSS(h, `${ye}${Ne}`, "light", "variable", n, r, a, i), Be = this.transformCSS(h, He, "dark", "variable", n, r, a, i);
|
|
442
442
|
c = `${be}${Be}`, p = [.../* @__PURE__ */ new Set([...Fe, ...ze, ...$e])], g = se(L, { dt: Ue });
|
|
443
443
|
}
|
|
444
444
|
return { css: c, tokens: p, style: g };
|
|
@@ -512,15 +512,15 @@ var fe = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
512
512
|
}, getTheme() {
|
|
513
513
|
return this.theme;
|
|
514
514
|
}, setTheme(t) {
|
|
515
|
-
this.update({ theme: t }),
|
|
515
|
+
this.update({ theme: t }), ne.emit("theme:change", t);
|
|
516
516
|
}, getPreset() {
|
|
517
517
|
return this.preset;
|
|
518
518
|
}, setPreset(t) {
|
|
519
|
-
this._theme = Yt(ge({}, this.theme), { preset: t }), this._tokens = fe.createTokens(t, this.defaults), this.clearLoadedStyleNames(),
|
|
519
|
+
this._theme = Yt(ge({}, this.theme), { preset: t }), this._tokens = fe.createTokens(t, this.defaults), this.clearLoadedStyleNames(), ne.emit("preset:change", t), ne.emit("theme:change", this.theme);
|
|
520
520
|
}, getOptions() {
|
|
521
521
|
return this.options;
|
|
522
522
|
}, setOptions(t) {
|
|
523
|
-
this._theme = Yt(ge({}, this.theme), { options: t }), this.clearLoadedStyleNames(),
|
|
523
|
+
this._theme = Yt(ge({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ne.emit("options:change", t), ne.emit("theme:change", this.theme);
|
|
524
524
|
}, getLayerNames() {
|
|
525
525
|
return [...this._layerNames];
|
|
526
526
|
}, setLayerNames(t) {
|
|
@@ -561,8 +561,8 @@ var fe = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
|
|
|
561
561
|
}, onStyleUpdated(t) {
|
|
562
562
|
this._loadingStyles.add(t);
|
|
563
563
|
}, onStyleLoaded(t, { name: e }) {
|
|
564
|
-
this._loadingStyles.size && (this._loadingStyles.delete(e),
|
|
565
|
-
} },
|
|
564
|
+
this._loadingStyles.size && (this._loadingStyles.delete(e), ne.emit(`theme:${e}:load`, t), !this._loadingStyles.size && ne.emit("theme:load"));
|
|
565
|
+
} }, oe = {
|
|
566
566
|
STARTS_WITH: "startsWith",
|
|
567
567
|
CONTAINS: "contains",
|
|
568
568
|
NOT_CONTAINS: "notContains",
|
|
@@ -753,7 +753,7 @@ function fa(t) {
|
|
|
753
753
|
}
|
|
754
754
|
var ga = 0;
|
|
755
755
|
function ma(t) {
|
|
756
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = J(!1), o = J(t), r = J(null), a = Gr() ? window.document : void 0, i = e.document, s = i === void 0 ? a : i, l = e.immediate, u = l === void 0 ? !0 : l, c = e.manual, p = c === void 0 ? !1 : c, g = e.name, h = g === void 0 ? "style_".concat(++ga) : g, w = e.id, E = w === void 0 ? void 0 : w, O = e.media, L = O === void 0 ? void 0 : O, B = e.nonce, N = B === void 0 ? void 0 : B, S = e.first, C = S === void 0 ? !1 : S, V = e.onMounted, k = V === void 0 ? void 0 : V,
|
|
756
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = J(!1), o = J(t), r = J(null), a = Gr() ? window.document : void 0, i = e.document, s = i === void 0 ? a : i, l = e.immediate, u = l === void 0 ? !0 : l, c = e.manual, p = c === void 0 ? !1 : c, g = e.name, h = g === void 0 ? "style_".concat(++ga) : g, w = e.id, E = w === void 0 ? void 0 : w, O = e.media, L = O === void 0 ? void 0 : O, B = e.nonce, N = B === void 0 ? void 0 : B, S = e.first, C = S === void 0 ? !1 : S, V = e.onMounted, k = V === void 0 ? void 0 : V, q = e.onUpdated, A = q === void 0 ? void 0 : q, _ = e.onLoad, $ = _ === void 0 ? void 0 : _, T = e.props, H = T === void 0 ? {} : T, ee = function() {
|
|
757
757
|
}, ye = function(ze) {
|
|
758
758
|
var He = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
759
759
|
if (s) {
|
|
@@ -1147,9 +1147,9 @@ var Ea = {
|
|
|
1147
1147
|
}
|
|
1148
1148
|
},
|
|
1149
1149
|
filterMatchModeOptions: {
|
|
1150
|
-
text: [
|
|
1151
|
-
numeric: [
|
|
1152
|
-
date: [
|
|
1150
|
+
text: [oe.STARTS_WITH, oe.CONTAINS, oe.NOT_CONTAINS, oe.ENDS_WITH, oe.EQUALS, oe.NOT_EQUALS],
|
|
1151
|
+
numeric: [oe.EQUALS, oe.NOT_EQUALS, oe.LESS_THAN, oe.LESS_THAN_OR_EQUAL_TO, oe.GREATER_THAN, oe.GREATER_THAN_OR_EQUAL_TO],
|
|
1152
|
+
date: [oe.DATE_IS, oe.DATE_IS_NOT, oe.DATE_BEFORE, oe.DATE_AFTER]
|
|
1153
1153
|
},
|
|
1154
1154
|
zIndex: {
|
|
1155
1155
|
modal: 1100,
|
|
@@ -1176,7 +1176,7 @@ function La(t, e) {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
var Xe = [];
|
|
1178
1178
|
function Pa() {
|
|
1179
|
-
|
|
1179
|
+
ne.clear(), Xe.forEach(function(t) {
|
|
1180
1180
|
return t?.();
|
|
1181
1181
|
}), Xe = [];
|
|
1182
1182
|
}
|
|
@@ -1198,7 +1198,7 @@ function Aa(t, e) {
|
|
|
1198
1198
|
}, L), O), K.setLoadedStyleName("common");
|
|
1199
1199
|
}
|
|
1200
1200
|
};
|
|
1201
|
-
|
|
1201
|
+
ne.on("theme:change", function(l) {
|
|
1202
1202
|
n.value || (t.config.globalProperties.$primevue.config.theme = l, n.value = !0);
|
|
1203
1203
|
});
|
|
1204
1204
|
var r = me(e.config, function(l, u) {
|
|
@@ -1520,11 +1520,11 @@ var D = {
|
|
|
1520
1520
|
_themeChangeListener: function() {
|
|
1521
1521
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
|
|
1522
1522
|
};
|
|
1523
|
-
Ie.clearLoadedStyleNames(),
|
|
1523
|
+
Ie.clearLoadedStyleNames(), ne.on("theme:change", e);
|
|
1524
1524
|
},
|
|
1525
1525
|
_removeThemeListeners: function() {
|
|
1526
1526
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1527
|
-
|
|
1527
|
+
ne.off("theme:change", e.$loadStyles), e.$loadStyles = void 0;
|
|
1528
1528
|
},
|
|
1529
1529
|
_hook: function(e, n, o, r, a, i) {
|
|
1530
1530
|
var s, l, u = "on".concat(Rr(n)), c = D._getConfig(r, a), p = o?.$instance, g = D._usePT(p, D._getPT(r == null || (s = r.value) === null || s === void 0 ? void 0 : s.pt, e), D._getOptionValue, "hooks.".concat(u)), h = D._useDefaultPT(p, c == null || (l = c.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], D._getOptionValue, "hooks.".concat(u)), w = {
|
|
@@ -2076,7 +2076,7 @@ const vo = {
|
|
|
2076
2076
|
TEXT: "text",
|
|
2077
2077
|
ELEVATED: "elevated",
|
|
2078
2078
|
TONAL: "tonal"
|
|
2079
|
-
},
|
|
2079
|
+
}, Q = {
|
|
2080
2080
|
LIGHT: "light",
|
|
2081
2081
|
DARK: "dark",
|
|
2082
2082
|
PRIMARY: "primary",
|
|
@@ -2088,27 +2088,27 @@ const vo = {
|
|
|
2088
2088
|
label: { default: "" },
|
|
2089
2089
|
leadingIcon: { default: void 0 },
|
|
2090
2090
|
trailingIcon: { default: void 0 },
|
|
2091
|
-
placement: { default:
|
|
2091
|
+
placement: { default: Q.LIGHT }
|
|
2092
2092
|
},
|
|
2093
2093
|
setup(t) {
|
|
2094
2094
|
const e = t, n = j(
|
|
2095
2095
|
() => ({
|
|
2096
2096
|
[ke.FILLED]: {
|
|
2097
2097
|
root: [
|
|
2098
|
-
e.placement ===
|
|
2098
|
+
e.placement === Q.LIGHT ? "bg-primary text-on-primary disabled:bg-on-surface/12 disabled:text-on-surface" : "bg-surface-container-lowest enabled:mix-blend-lighten disabled:bg-surface-container-lowest/12 disabled:text-surface-container-lowest",
|
|
2099
2099
|
"eh:shadow-1"
|
|
2100
2100
|
],
|
|
2101
2101
|
state: [
|
|
2102
|
-
e.placement ===
|
|
2102
|
+
e.placement === Q.LIGHT ? "group-hover/button:group-enabled/button:bg-on-primary/8" : "group-hover/button:group-enabled/button:bg-on-surface-variant/8"
|
|
2103
2103
|
]
|
|
2104
2104
|
},
|
|
2105
2105
|
[ke.OUTLINED]: {
|
|
2106
2106
|
root: [
|
|
2107
2107
|
"border",
|
|
2108
|
-
e.placement ===
|
|
2108
|
+
e.placement === Q.LIGHT ? "border-outline text-primary disabled:border-on-surface/12 disabled:text-on-surface" : "border-surface-container-lowest/16 text-surface-container-lowest"
|
|
2109
2109
|
],
|
|
2110
2110
|
state: [
|
|
2111
|
-
e.placement ===
|
|
2111
|
+
e.placement === Q.LIGHT ? "group-hover/button:group-enabled/button:bg-primary/8" : "group-hover/button:group-enabled/button:bg-surface-container-lowest/8"
|
|
2112
2112
|
]
|
|
2113
2113
|
},
|
|
2114
2114
|
[ke.TEXT]: {
|
|
@@ -2298,14 +2298,14 @@ var zt = {
|
|
|
2298
2298
|
isUnstyled: {
|
|
2299
2299
|
immediate: !0,
|
|
2300
2300
|
handler: function(e) {
|
|
2301
|
-
|
|
2301
|
+
ne.off("theme:change", this._loadCoreStyles), e || (this._loadCoreStyles(), this._themeChangeListener(this._loadCoreStyles));
|
|
2302
2302
|
}
|
|
2303
2303
|
},
|
|
2304
2304
|
dt: {
|
|
2305
2305
|
immediate: !0,
|
|
2306
2306
|
handler: function(e, n) {
|
|
2307
2307
|
var o = this;
|
|
2308
|
-
|
|
2308
|
+
ne.off("theme:change", this._themeScopedListener), e ? (this._loadScopedThemeStyles(e), this._themeScopedListener = function() {
|
|
2309
2309
|
return o._loadScopedThemeStyles(e);
|
|
2310
2310
|
}, this._themeChangeListener(this._themeScopedListener)) : this._unloadScopedThemeStyles();
|
|
2311
2311
|
}
|
|
@@ -2419,10 +2419,10 @@ var zt = {
|
|
|
2419
2419
|
_themeChangeListener: function() {
|
|
2420
2420
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
|
|
2421
2421
|
};
|
|
2422
|
-
Ie.clearLoadedStyleNames(),
|
|
2422
|
+
Ie.clearLoadedStyleNames(), ne.on("theme:change", e);
|
|
2423
2423
|
},
|
|
2424
2424
|
_removeThemeListeners: function() {
|
|
2425
|
-
|
|
2425
|
+
ne.off("theme:change", this._loadCoreStyles), ne.off("theme:change", this._load), ne.off("theme:change", this._themeScopedListener);
|
|
2426
2426
|
},
|
|
2427
2427
|
_getHostInstance: function(e) {
|
|
2428
2428
|
return e ? this.$options.hostName ? e.$.type.name === this.$options.hostName ? e : this._getHostInstance(e.$parentInstance) : e.$parentInstance : void 0;
|
|
@@ -4135,7 +4135,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4135
4135
|
expandedRoutes: { default: () => [] }
|
|
4136
4136
|
},
|
|
4137
4137
|
setup(t) {
|
|
4138
|
-
const e = an(() => Promise.resolve().then(() =>
|
|
4138
|
+
const e = an(() => Promise.resolve().then(() => Hc).then((V) => V.UIBadge)), n = t, { isNavbarExpandedByDefault: o, isMenuOpen: r, onToggle: a, navbarClasses: i } = el(
|
|
4139
4139
|
n.expandedRoutes
|
|
4140
4140
|
), { menuCategories: s, onCategoryClick: l, menuCategoryClasses: u } = tl(
|
|
4141
4141
|
n.mainMenuItems,
|
|
@@ -4153,7 +4153,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4153
4153
|
blurFloatingMenu: N
|
|
4154
4154
|
} = nl(n.mainMenuItems, s), { getCategoryLinkComponent: S, getCategoryLinkProps: C } = ol();
|
|
4155
4155
|
return (V, k) => {
|
|
4156
|
-
const
|
|
4156
|
+
const q = et("tooltip");
|
|
4157
4157
|
return f(), b("div", {
|
|
4158
4158
|
ref_key: "navbarRef",
|
|
4159
4159
|
ref: g,
|
|
@@ -4178,7 +4178,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4178
4178
|
_: 1
|
|
4179
4179
|
}, 8, ["to"])),
|
|
4180
4180
|
m("ul", sl, [
|
|
4181
|
-
(f(!0), b(
|
|
4181
|
+
(f(!0), b(X, null, te(t.mainMenuItems, (A, _) => (f(), b("li", {
|
|
4182
4182
|
key: A.name,
|
|
4183
4183
|
ref_for: !0,
|
|
4184
4184
|
ref_key: "menuItemRefs",
|
|
@@ -4216,7 +4216,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4216
4216
|
_: 2
|
|
4217
4217
|
}, 1040, ["class"])),
|
|
4218
4218
|
d(s)[A.name] ? (f(), b("ul", fl, [
|
|
4219
|
-
(f(!0), b(
|
|
4219
|
+
(f(!0), b(X, null, te(A.subMenuItems, ($) => (f(), b("li", {
|
|
4220
4220
|
key: $.name,
|
|
4221
4221
|
class: "hover:bg-on-surface/16"
|
|
4222
4222
|
}, [
|
|
@@ -4244,7 +4244,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4244
4244
|
]),
|
|
4245
4245
|
_: 2
|
|
4246
4246
|
}, 1032, ["to"])), [
|
|
4247
|
-
[
|
|
4247
|
+
[q, {
|
|
4248
4248
|
value: $.title,
|
|
4249
4249
|
disabled: d(r) || !d(s)[A.name],
|
|
4250
4250
|
position: "right",
|
|
@@ -4276,7 +4276,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4276
4276
|
])
|
|
4277
4277
|
]),
|
|
4278
4278
|
(d(w).subMenuItems || []).length > 0 ? (f(), b("hr", $l)) : y("", !0),
|
|
4279
|
-
(f(!0), b(
|
|
4279
|
+
(f(!0), b(X, null, te(d(w).subMenuItems, (A) => (f(), b("li", {
|
|
4280
4280
|
key: A.name,
|
|
4281
4281
|
class: "hover:bg-on-surface/8 h-[40px] flex items-center"
|
|
4282
4282
|
}, [
|
|
@@ -4304,7 +4304,7 @@ const rl = { class: "h-[28px] min-w-[28px] p-[6px] box-content bg-surface-contai
|
|
|
4304
4304
|
]),
|
|
4305
4305
|
_: 2
|
|
4306
4306
|
}, 1032, ["to"])), [
|
|
4307
|
-
[
|
|
4307
|
+
[q, {
|
|
4308
4308
|
value: A.title,
|
|
4309
4309
|
disabled: d(r) || !d(s)[d(w).name],
|
|
4310
4310
|
position: "right",
|
|
@@ -4517,7 +4517,7 @@ const El = {
|
|
|
4517
4517
|
emits: ["update:modelValue"],
|
|
4518
4518
|
setup(t) {
|
|
4519
4519
|
const e = de(t, "modelValue");
|
|
4520
|
-
return (n, o) => (f(), b(
|
|
4520
|
+
return (n, o) => (f(), b(X, null, [
|
|
4521
4521
|
m("div", Rl, [
|
|
4522
4522
|
m("div", Fl, [
|
|
4523
4523
|
m("div", {
|
|
@@ -4526,7 +4526,7 @@ const El = {
|
|
|
4526
4526
|
"h-[0.125rem] w-[anchor-size(width)] left-[anchor(left)]": t.type === "secondary"
|
|
4527
4527
|
}])
|
|
4528
4528
|
}, null, 2),
|
|
4529
|
-
(f(!0), b(
|
|
4529
|
+
(f(!0), b(X, null, te(t.tabs, (r, a) => (f(), b("div", {
|
|
4530
4530
|
key: r.value,
|
|
4531
4531
|
class: v(["inline-flex items-center justify-center px-[1rem] truncate min-w-min grow @min-[1rem]:bg-primary", {
|
|
4532
4532
|
"scrollable:ml-[3.25rem]": a === 0,
|
|
@@ -4576,28 +4576,28 @@ const El = {
|
|
|
4576
4576
|
props: {
|
|
4577
4577
|
color: {},
|
|
4578
4578
|
size: { default: Dt.X40 },
|
|
4579
|
-
placement: { default:
|
|
4579
|
+
placement: { default: Q.LIGHT },
|
|
4580
4580
|
icon: { default: void 0 },
|
|
4581
4581
|
badge: { type: [Boolean, Number, String], default: !1 }
|
|
4582
4582
|
},
|
|
4583
4583
|
setup(t) {
|
|
4584
4584
|
const e = an(() => import("./UIBadge-CC6Xl4yz.js")), n = t, o = {
|
|
4585
|
-
[
|
|
4585
|
+
[Q.LIGHT]: {
|
|
4586
4586
|
root: "text-on-secondary-container disabled:text-on-surface",
|
|
4587
4587
|
container: "bg-secondary-container group-disabled/button:bg-on-surface/12",
|
|
4588
4588
|
state: "group-enabled/button:group-hover/button:bg-on-secondary-container/8"
|
|
4589
4589
|
},
|
|
4590
|
-
[
|
|
4590
|
+
[Q.DARK]: {
|
|
4591
4591
|
root: "text-on-surface-variant disabled:text-surface-container-lowest",
|
|
4592
4592
|
container: "bg-surface-container-lowest/84 group-disabled/button:bg-surface-container-lowest/12",
|
|
4593
4593
|
state: "group-enabled/button:group-hover/button:bg-on-surface/16"
|
|
4594
4594
|
},
|
|
4595
|
-
[
|
|
4595
|
+
[Q.PRIMARY]: {
|
|
4596
4596
|
root: "text-primary disabled:text-on-primary",
|
|
4597
4597
|
container: "bg-primary-container group-disabled/button:bg-on-primary/12",
|
|
4598
4598
|
state: "group-enabled/button:group-hover/button:bg-on-primary-container/8"
|
|
4599
4599
|
},
|
|
4600
|
-
[
|
|
4600
|
+
[Q.ERROR]: {
|
|
4601
4601
|
root: "text-error disabled:text-on-error",
|
|
4602
4602
|
container: "bg-error-container group-disabled/button:bg-on-error/12",
|
|
4603
4603
|
state: "group-enabled/button:group-hover/button:bg-on-error-container/8"
|
|
@@ -4605,13 +4605,13 @@ const El = {
|
|
|
4605
4605
|
}, r = j(
|
|
4606
4606
|
() => ({
|
|
4607
4607
|
[Ke.STANDARD]: {
|
|
4608
|
-
root: n.placement ===
|
|
4608
|
+
root: n.placement === Q.LIGHT ? "text-on-surface-variant" : "text-surface-container-lowest",
|
|
4609
4609
|
container: {
|
|
4610
|
-
"group-enabled/button:group-hover/button:bg-surface-container-lowest/8": n.placement !==
|
|
4610
|
+
"group-enabled/button:group-hover/button:bg-surface-container-lowest/8": n.placement !== Q.LIGHT
|
|
4611
4611
|
},
|
|
4612
4612
|
state: [
|
|
4613
4613
|
{
|
|
4614
|
-
"group-enabled/button:group-hover/button:bg-on-surface-variant/8": n.placement ===
|
|
4614
|
+
"group-enabled/button:group-hover/button:bg-on-surface-variant/8": n.placement === Q.LIGHT
|
|
4615
4615
|
}
|
|
4616
4616
|
]
|
|
4617
4617
|
},
|
|
@@ -4627,21 +4627,21 @@ const El = {
|
|
|
4627
4627
|
},
|
|
4628
4628
|
[Ke.FILLED]: {
|
|
4629
4629
|
root: [
|
|
4630
|
-
n.placement ===
|
|
4630
|
+
n.placement === Q.LIGHT ? "text-on-primary disabled:text-on-surface" : "text-on-surface-container-lowest disabled:text-surface-container-lowest enabled:mix-blend-lighten"
|
|
4631
4631
|
],
|
|
4632
4632
|
container: [
|
|
4633
|
-
n.placement ===
|
|
4633
|
+
n.placement === Q.LIGHT ? "bg-primary group-disabled/button:bg-on-surface/12" : "bg-surface-container-lowest group-disabled/button:bg-surface-container-lowest/16"
|
|
4634
4634
|
],
|
|
4635
|
-
state: n.placement ===
|
|
4635
|
+
state: n.placement === Q.LIGHT ? "group-enabled/button:group-hover/button:bg-on-primary/8" : "group-enabled/button:group-hover/button:bg-on-surface-variant/8"
|
|
4636
4636
|
},
|
|
4637
4637
|
[Ke.TONAL]: o[n.placement] || null,
|
|
4638
4638
|
[Ke.OUTLINED]: {
|
|
4639
|
-
root: n.placement ===
|
|
4639
|
+
root: n.placement === Q.LIGHT ? "text-on-surface-variant disabled:text-on-surface" : "text-surface-container-lowest",
|
|
4640
4640
|
container: [
|
|
4641
4641
|
"border",
|
|
4642
|
-
n.placement ===
|
|
4642
|
+
n.placement === Q.LIGHT ? "border-outline group-disabled/button:border-on-surface/12" : "border-surface-container-lowest/16 group-disabled/button:border-surface-container-lowest/12"
|
|
4643
4643
|
],
|
|
4644
|
-
state: n.placement ===
|
|
4644
|
+
state: n.placement === Q.LIGHT ? "group-enabled/button:group-hover/button:bg-on-surface-variant/8" : "group-enabled/button:group-hover/button:bg-surface-container-lowest/8"
|
|
4645
4645
|
}
|
|
4646
4646
|
})
|
|
4647
4647
|
), a = j(() => r.value[n.color]), i = j(() => Kl[n.size]);
|
|
@@ -5569,7 +5569,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5569
5569
|
}),
|
|
5570
5570
|
s.tags || t.tags && t.tags.length > 0 ? (f(), b("div", Fs, [
|
|
5571
5571
|
x(w.$slots, "tags", {}, () => [
|
|
5572
|
-
(f(!0), b(
|
|
5572
|
+
(f(!0), b(X, null, te(t.tags, (O, L) => (f(), I(d(o), {
|
|
5573
5573
|
key: `${O}-${L}`,
|
|
5574
5574
|
size: "sm",
|
|
5575
5575
|
label: O
|
|
@@ -5969,7 +5969,7 @@ const qn = "h-[2.5rem] w-[2.5rem] text-[1.25rem] rounded-full relative flex just
|
|
|
5969
5969
|
class: v(["inline-flex items-center shrink-0 w-0 overflow-hidden transition-all [interpolate-size:allow-keywords]", { "w-fit overflow-visible": e.value }])
|
|
5970
5970
|
}, [
|
|
5971
5971
|
m("div", Mu, [
|
|
5972
|
-
(f(!0), b(
|
|
5972
|
+
(f(!0), b(X, null, te(i.value, ([u, c]) => (f(), b("div", {
|
|
5973
5973
|
key: u,
|
|
5974
5974
|
class: "rounded-full border border-(--acbs-color-neutral-90) -m-[1px] hover:border-[2px] hover:border-primary hover:-m-[2px] p-[0.25rem] bg-surface-container-lowest",
|
|
5975
5975
|
onClick: (p) => a(u)
|
|
@@ -6427,7 +6427,7 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, gd = {
|
|
|
6427
6427
|
$.preventDefault(), c.value = i(T), O.value?.blur();
|
|
6428
6428
|
}
|
|
6429
6429
|
const k = J(-1);
|
|
6430
|
-
function
|
|
6430
|
+
function q($) {
|
|
6431
6431
|
$.preventDefault(), $.stopPropagation();
|
|
6432
6432
|
let T = k.value;
|
|
6433
6433
|
$.code === "ArrowDown" ? T = T >= C.value.length - 1 ? C.value.length - 1 : T + 1 : $.code === "ArrowUp" && (T = T <= 0 ? 0 : T - 1), k.value = T;
|
|
@@ -6445,11 +6445,11 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, gd = {
|
|
|
6445
6445
|
break;
|
|
6446
6446
|
case "ArrowDown":
|
|
6447
6447
|
case "ArrowUp":
|
|
6448
|
-
|
|
6448
|
+
q($);
|
|
6449
6449
|
break;
|
|
6450
6450
|
}
|
|
6451
6451
|
}
|
|
6452
|
-
return ($, T) => (f(), b(
|
|
6452
|
+
return ($, T) => (f(), b(X, null, [
|
|
6453
6453
|
G(dn, z({ ref: "formFieldWrapper" }, n, {
|
|
6454
6454
|
"trailing-icon": d(Ir),
|
|
6455
6455
|
onFocusInput: L
|
|
@@ -6502,7 +6502,7 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, gd = {
|
|
|
6502
6502
|
class: "absolute top-[calc(anchor(bottom)+0.25rem)] left-[anchor(left)] bg-surface-container-low py-[0.5rem] w-[anchor-size(width)] rounded-extra-small shadow-2 max-h-[15rem] overflow-auto z-10"
|
|
6503
6503
|
}, [
|
|
6504
6504
|
x($.$slots, "action", {}, () => [
|
|
6505
|
-
t.actionLabel ? (f(), b(
|
|
6505
|
+
t.actionLabel ? (f(), b(X, { key: 0 }, [
|
|
6506
6506
|
m("li", {
|
|
6507
6507
|
class: "p-[0.5rem] gap-[0.5rem] text-body-large flex cursor-pointer hover:bg-on-surface/8",
|
|
6508
6508
|
onMousedown: T[2] || (T[2] = qe((H) => o("action"), ["prevent", "stop"]))
|
|
@@ -6527,7 +6527,7 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, gd = {
|
|
|
6527
6527
|
], -1))
|
|
6528
6528
|
], 64)) : y("", !0)
|
|
6529
6529
|
]),
|
|
6530
|
-
(f(!0), b(
|
|
6530
|
+
(f(!0), b(X, null, te(C.value, (H, ee) => (f(), b("li", {
|
|
6531
6531
|
key: u(H, ee),
|
|
6532
6532
|
class: v(["p-[0.5rem] gap-[0.5rem] text-body-large flex cursor-pointer hover:bg-on-surface/8", { "bg-on-surface/8": k.value === ee }]),
|
|
6533
6533
|
onMousedown: (ye) => V(ye, H)
|
|
@@ -6979,7 +6979,7 @@ const pd = { class: "size-[1.5rem]" }, fd = { class: "truncate" }, gd = {
|
|
|
6979
6979
|
return r === 0 ? "start" : r > 0 && r < e.items.length - 1 ? "middle" : "end";
|
|
6980
6980
|
}
|
|
6981
6981
|
return (r, a) => (f(), b("div", qd, [
|
|
6982
|
-
(f(!0), b(
|
|
6982
|
+
(f(!0), b(X, null, te(t.items, (i, s) => (f(), I(Xd, {
|
|
6983
6983
|
key: i.value,
|
|
6984
6984
|
modelValue: n.value,
|
|
6985
6985
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => n.value = l),
|
|
@@ -7146,22 +7146,25 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7146
7146
|
ref: "wrapper",
|
|
7147
7147
|
class: "flex flex-wrap gap-y-[0.75rem] relative",
|
|
7148
7148
|
role: "table"
|
|
7149
|
-
}, hc = { class: "flex" }, vc = {
|
|
7149
|
+
}, hc = { class: "flex" }, vc = ["data-cy"], yc = {
|
|
7150
7150
|
key: 1,
|
|
7151
7151
|
class: "grow text-title-medium text-(--acbs-color-primary-10) truncate"
|
|
7152
|
-
},
|
|
7152
|
+
}, $c = {
|
|
7153
7153
|
key: 2,
|
|
7154
7154
|
class: "hidden group-hover:inline-flex"
|
|
7155
|
-
},
|
|
7155
|
+
}, wc = {
|
|
7156
7156
|
key: 1,
|
|
7157
7157
|
class: "relative"
|
|
7158
|
-
},
|
|
7158
|
+
}, xc = ["onMousedown"], Sc = {
|
|
7159
7159
|
key: 0,
|
|
7160
7160
|
class: "flex"
|
|
7161
|
-
},
|
|
7161
|
+
}, _c = {
|
|
7162
7162
|
key: 0,
|
|
7163
7163
|
ref: "filterOverlay"
|
|
7164
|
-
},
|
|
7164
|
+
}, kc = { class: "grow truncate" }, Tc = {
|
|
7165
|
+
key: 0,
|
|
7166
|
+
class: "flex flex-col gap-[0.75rem] lg:gap-[2.5rem] animate-pulse"
|
|
7167
|
+
}, Cc = ["aria-rowindex", "onClick", "onDblclick", "onKeyup"], Oc = { class: "text-[#7994B9] font-[400]" }, Ec = ["data-cy"], Ic = { class: "flex min-w-0" }, Lc = /* @__PURE__ */ M({
|
|
7165
7168
|
__name: "UITable",
|
|
7166
7169
|
props: /* @__PURE__ */ le({
|
|
7167
7170
|
fields: {},
|
|
@@ -7169,7 +7172,8 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7169
7172
|
dataKey: {},
|
|
7170
7173
|
mode: {},
|
|
7171
7174
|
activeFilters: {},
|
|
7172
|
-
getRowClass: { type: Function }
|
|
7175
|
+
getRowClass: { type: Function },
|
|
7176
|
+
isLoading: { type: Boolean }
|
|
7173
7177
|
}, {
|
|
7174
7178
|
sort: {
|
|
7175
7179
|
default: null
|
|
@@ -7201,7 +7205,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7201
7205
|
return me(
|
|
7202
7206
|
() => n.fields,
|
|
7203
7207
|
(k) => {
|
|
7204
|
-
C.features = [], C.list = [], k.forEach(({ cellClasses:
|
|
7208
|
+
C.features = [], C.list = [], k.forEach(({ cellClasses: q, ...A }) => {
|
|
7205
7209
|
const _ = A;
|
|
7206
7210
|
if (_.placement === Ye.FEATURE) {
|
|
7207
7211
|
C.features.push(_);
|
|
@@ -7218,7 +7222,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7218
7222
|
});
|
|
7219
7223
|
},
|
|
7220
7224
|
{ immediate: !0 }
|
|
7221
|
-
), (k,
|
|
7225
|
+
), (k, q) => {
|
|
7222
7226
|
const A = et("overflow-tooltip");
|
|
7223
7227
|
return f(), b("div", bc, [
|
|
7224
7228
|
S.value ? y("", !0) : (f(), b("div", {
|
|
@@ -7229,7 +7233,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7229
7233
|
}])
|
|
7230
7234
|
}, [
|
|
7231
7235
|
m("div", hc, [
|
|
7232
|
-
(f(!0), b(
|
|
7236
|
+
(f(!0), b(X, null, te(t.fields, (_, $) => (f(), b("div", {
|
|
7233
7237
|
key: `header-cell-${_.name}`,
|
|
7234
7238
|
class: v(["py-[0.25rem] pl-[0.25rem] relative grow w-(--col-width) min-w-(--col-min-width)", {
|
|
7235
7239
|
"pr-[0.25rem]": $ === t.fields.length - 1
|
|
@@ -7237,7 +7241,8 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7237
7241
|
style: Ee({
|
|
7238
7242
|
...d(g)(_.name),
|
|
7239
7243
|
"anchor-name": `--header-cell-${_.name}`
|
|
7240
|
-
})
|
|
7244
|
+
}),
|
|
7245
|
+
"data-cy": `table-header-${_.name}`
|
|
7241
7246
|
}, [
|
|
7242
7247
|
m("div", {
|
|
7243
7248
|
class: v(["py-[0.25rem] pl-[0.75rem] pr-[0.5rem] bg-surface-container flex items-center min-h-[3rem] gap-[0.625rem] hover:shadow-1 group", {
|
|
@@ -7250,7 +7255,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7250
7255
|
_.icon ? (f(), I(d(U), {
|
|
7251
7256
|
key: 0,
|
|
7252
7257
|
icon: _.icon
|
|
7253
|
-
}, null, 8, ["icon"])) : pe((f(), b("span",
|
|
7258
|
+
}, null, 8, ["icon"])) : pe((f(), b("span", yc, [
|
|
7254
7259
|
Re(P(_.header), 1)
|
|
7255
7260
|
])), [
|
|
7256
7261
|
[
|
|
@@ -7260,23 +7265,25 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7260
7265
|
{ top: !0 }
|
|
7261
7266
|
]
|
|
7262
7267
|
]),
|
|
7263
|
-
_.isSortable || _.hasHeaderFilter ? (f(), b("div",
|
|
7268
|
+
_.isSortable || _.hasHeaderFilter ? (f(), b("div", $c, [
|
|
7264
7269
|
_.isSortable ? (f(), I(d(Je), {
|
|
7265
7270
|
key: 0,
|
|
7266
7271
|
icon: u.value?.field === _.name ? u.value.direction === d(Et).ASC ? d(vr) : d(yr) : d(Lr),
|
|
7267
7272
|
class: v({ "text-primary": u.value?.field === _.name }),
|
|
7268
7273
|
color: "standard",
|
|
7269
7274
|
size: "32x32",
|
|
7275
|
+
"data-cy": `table-sort-${_.name}`,
|
|
7270
7276
|
onClick: (T) => h(_.name)
|
|
7271
|
-
}, null, 8, ["icon", "class", "onClick"])) : y("", !0),
|
|
7272
|
-
_.hasHeaderFilter ? (f(), b("div",
|
|
7277
|
+
}, null, 8, ["icon", "class", "data-cy", "onClick"])) : y("", !0),
|
|
7278
|
+
_.hasHeaderFilter ? (f(), b("div", wc, [
|
|
7273
7279
|
G(d(Je), {
|
|
7274
7280
|
icon: d(Pr),
|
|
7275
7281
|
color: "standard",
|
|
7276
7282
|
size: "32x32",
|
|
7277
7283
|
badge: t.activeFilters.includes(_.name),
|
|
7284
|
+
"data-cy": `table-filter-header-${_.name}`,
|
|
7278
7285
|
onClick: (T) => d(l)(_.name, T)
|
|
7279
|
-
}, null, 8, ["icon", "badge", "onClick"])
|
|
7286
|
+
}, null, 8, ["icon", "badge", "data-cy", "onClick"])
|
|
7280
7287
|
])) : y("", !0)
|
|
7281
7288
|
])) : y("", !0)
|
|
7282
7289
|
], 2),
|
|
@@ -7284,11 +7291,11 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7284
7291
|
key: 0,
|
|
7285
7292
|
class: v(["absolute top-0 h-full w-[2rem] cursor-col-resize z-99", $ === t.fields.length - 1 ? "right-0" : "-right-[1rem]"]),
|
|
7286
7293
|
onMousedown: (T) => d(p)(T, _.name)
|
|
7287
|
-
}, null, 42,
|
|
7288
|
-
],
|
|
7294
|
+
}, null, 42, xc)) : y("", !0)
|
|
7295
|
+
], 14, vc))), 128))
|
|
7289
7296
|
]),
|
|
7290
|
-
r.filter ? (f(), b("div",
|
|
7291
|
-
(f(!0), b(
|
|
7297
|
+
r.filter ? (f(), b("div", Sc, [
|
|
7298
|
+
(f(!0), b(X, null, te(t.fields, (_, $) => (f(), b("div", {
|
|
7292
7299
|
key: `filter-${_.name}`,
|
|
7293
7300
|
class: "has-[>*]:py-[0.25rem] has-[>*]:pl-[0.25rem] grow w-(--col-width) min-w-(--col-min-width)",
|
|
7294
7301
|
style: Ee(d(g)(_.name))
|
|
@@ -7300,14 +7307,14 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7300
7307
|
], 4))), 128))
|
|
7301
7308
|
])) : y("", !0),
|
|
7302
7309
|
(f(), I(to, { to: "body" }, [
|
|
7303
|
-
d(i) ? (f(), b("div",
|
|
7310
|
+
d(i) ? (f(), b("div", _c, [
|
|
7304
7311
|
m("div", {
|
|
7305
7312
|
class: "after:absolute after:left-0 after:-bottom-[0.5rem] after:w-full after:h-[1rem] after:z-20 z-15 after:bg-surface-container-high absolute left-[anchor(left)] top-[anchor(top)] w-[anchor-size(width)] h-[anchor-size(height)] shadow-1 bg-surface-container-high rounded-t text-title-medium flex items-center gap-[0.625rem] py-[0.25rem] pr-[0.5rem] pl-[0.75rem]",
|
|
7306
7313
|
style: Ee({
|
|
7307
7314
|
"position-anchor": `--header-cell-${d(i)}`
|
|
7308
7315
|
})
|
|
7309
7316
|
}, [
|
|
7310
|
-
m("span",
|
|
7317
|
+
m("span", kc, P(t.fields.find((_) => _.name === d(i))?.header), 1),
|
|
7311
7318
|
G(d(Je), {
|
|
7312
7319
|
class: "shrink-0",
|
|
7313
7320
|
color: "tonal",
|
|
@@ -7336,9 +7343,15 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7336
7343
|
"rounded-extra-small": t.mode === "divider-only",
|
|
7337
7344
|
"bg-surface": t.mode !== "in-container"
|
|
7338
7345
|
}]),
|
|
7339
|
-
onKeydown:
|
|
7346
|
+
onKeydown: q[1] || (q[1] = (_) => d(O)(_))
|
|
7340
7347
|
}, [
|
|
7341
|
-
|
|
7348
|
+
t.isLoading ? (f(), b("div", Tc, [
|
|
7349
|
+
(f(), b(X, null, te(3, (_) => m("div", {
|
|
7350
|
+
key: _,
|
|
7351
|
+
class: "h-[14rem] rounded-[0.75rem] lg:rounded-none lg:h-[2.5rem] bg-outline-variant w-full",
|
|
7352
|
+
"data-cy": "skeleton-loader"
|
|
7353
|
+
})), 64))
|
|
7354
|
+
])) : (f(!0), b(X, { key: 1 }, te(t.items, (_, $) => (f(), b("div", {
|
|
7342
7355
|
key: `table-row-${_[t.dataKey]}`,
|
|
7343
7356
|
ref_for: !0,
|
|
7344
7357
|
ref: "rows",
|
|
@@ -7352,7 +7365,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7352
7365
|
Kt(qe((T) => o("rowClick", { originalEvent: T, data: _, index: $ }), ["stop", "prevent"]), ["enter"]),
|
|
7353
7366
|
Kt(qe((T) => o("rowSelect", { originalEvent: T, data: _, index: $ }), ["stop", "prevent"]), ["space"])
|
|
7354
7367
|
],
|
|
7355
|
-
onKeydown:
|
|
7368
|
+
onKeydown: q[0] || (q[0] = Kt(qe(() => {
|
|
7356
7369
|
}, ["stop", "prevent"]), ["space"]))
|
|
7357
7370
|
}, [
|
|
7358
7371
|
S.value ? (f(), I(mc, {
|
|
@@ -7360,11 +7373,11 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7360
7373
|
"show-collapse-button": V.value
|
|
7361
7374
|
}, Ut({
|
|
7362
7375
|
list: Z(({ showCollapsed: T }) => [
|
|
7363
|
-
(f(!0), b(
|
|
7376
|
+
(f(!0), b(X, null, te(C.list, (H, ee) => pe((f(), b("div", {
|
|
7364
7377
|
key: `table-cell-${_[t.dataKey]}-${H.name}`,
|
|
7365
7378
|
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]"
|
|
7366
7379
|
}, [
|
|
7367
|
-
m("span",
|
|
7380
|
+
m("span", Oc, P(H.header), 1),
|
|
7368
7381
|
x(k.$slots, "list", {
|
|
7369
7382
|
field: H.name,
|
|
7370
7383
|
rowIndex: $,
|
|
@@ -7402,7 +7415,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7402
7415
|
r.feature ? {
|
|
7403
7416
|
name: "feature",
|
|
7404
7417
|
fn: Z(() => [
|
|
7405
|
-
(f(!0), b(
|
|
7418
|
+
(f(!0), b(X, null, te(C.features, (T, H) => x(k.$slots, "feature", {
|
|
7406
7419
|
key: `table-feature-${_[t.dataKey]}-${T.name}`,
|
|
7407
7420
|
field: T.name,
|
|
7408
7421
|
rowIndex: $,
|
|
@@ -7415,7 +7428,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7415
7428
|
r.cardMajor ? {
|
|
7416
7429
|
name: "major",
|
|
7417
7430
|
fn: Z(() => [
|
|
7418
|
-
(f(!0), b(
|
|
7431
|
+
(f(!0), b(X, null, te(C.majors, (T, H) => x(k.$slots, "cardMajor", {
|
|
7419
7432
|
key: `table-major-${_[t.dataKey]}-${T.name}`,
|
|
7420
7433
|
field: T.name,
|
|
7421
7434
|
rowIndex: $,
|
|
@@ -7435,13 +7448,14 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7435
7448
|
]),
|
|
7436
7449
|
key: "4"
|
|
7437
7450
|
} : void 0
|
|
7438
|
-
]), 1032, ["show-collapse-button"])) : (f(!0), b(
|
|
7451
|
+
]), 1032, ["show-collapse-button"])) : (f(!0), b(X, { key: 1 }, te(t.fields, (T, H) => (f(), b("div", {
|
|
7439
7452
|
key: `table-cell-${_[t.dataKey]}-${T.name}`,
|
|
7440
7453
|
class: v(["px-[1rem] overflow-hidden whitespace-nowrap flex items-center grow w-(--col-width) min-w-(--col-min-width)", T.cellClasses]),
|
|
7441
7454
|
role: "cell",
|
|
7442
|
-
style: Ee(d(g)(T.name))
|
|
7455
|
+
style: Ee(d(g)(T.name)),
|
|
7456
|
+
"data-cy": `${T.name}-cell`
|
|
7443
7457
|
}, [
|
|
7444
|
-
m("div",
|
|
7458
|
+
m("div", Ic, [
|
|
7445
7459
|
x(k.$slots, "cell", {
|
|
7446
7460
|
field: T.name,
|
|
7447
7461
|
rowIndex: $,
|
|
@@ -7451,24 +7465,24 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7451
7465
|
m("div", null, P(_[T.name]), 1)
|
|
7452
7466
|
])
|
|
7453
7467
|
])
|
|
7454
|
-
],
|
|
7455
|
-
], 42,
|
|
7468
|
+
], 14, Ec))), 128))
|
|
7469
|
+
], 42, Cc))), 128))
|
|
7456
7470
|
], 34)
|
|
7457
7471
|
], 512);
|
|
7458
7472
|
};
|
|
7459
7473
|
}
|
|
7460
|
-
}),
|
|
7474
|
+
}), Pc = {
|
|
7461
7475
|
key: 0,
|
|
7462
7476
|
class: "px-[2rem] pt-[0.5rem] pb-[0.75rem] flex justify-end text-label-large text-on-surface-variant"
|
|
7463
|
-
},
|
|
7477
|
+
}, Ac = { class: "flex flex-col" }, Dc = /* @__PURE__ */ M({
|
|
7464
7478
|
__name: "UILabelValueList",
|
|
7465
7479
|
props: {
|
|
7466
7480
|
title: {}
|
|
7467
7481
|
},
|
|
7468
7482
|
setup(t) {
|
|
7469
7483
|
return (e, n) => (f(), b("div", null, [
|
|
7470
|
-
t.title ? (f(), b("div",
|
|
7471
|
-
m("div",
|
|
7484
|
+
t.title ? (f(), b("div", Pc, P(t.title), 1)) : y("", !0),
|
|
7485
|
+
m("div", Ac, [
|
|
7472
7486
|
n[0] || (n[0] = m("div", { class: "flex" }, [
|
|
7473
7487
|
m("div", { class: "w-(--acbs-label-column-width,7rem)" }),
|
|
7474
7488
|
m("div", { class: "h-[0.5rem] rounded-t-small bg-surface-container-low grow" })
|
|
@@ -7481,30 +7495,30 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7481
7495
|
])
|
|
7482
7496
|
]));
|
|
7483
7497
|
}
|
|
7484
|
-
}),
|
|
7498
|
+
}), Nc = { class: "flex text-label-medium" }, Bc = { class: "w-(--acbs-label-column-width,7rem) shrink-0 grow-0 px-[1rem] py-[0.5rem] text-on-surface-variant overflow-ellipsis overflow-hidden" }, Mc = { class: "bg-surface-container-low grow px-[1rem] py-[0.5rem] text-on-surface overflow-ellipsis overflow-hidden" }, jc = /* @__PURE__ */ M({
|
|
7485
7499
|
__name: "UILabelValue",
|
|
7486
7500
|
props: {
|
|
7487
7501
|
label: {},
|
|
7488
7502
|
value: {}
|
|
7489
7503
|
},
|
|
7490
7504
|
setup(t) {
|
|
7491
|
-
return (e, n) => (f(), b("div",
|
|
7492
|
-
m("div",
|
|
7505
|
+
return (e, n) => (f(), b("div", Nc, [
|
|
7506
|
+
m("div", Bc, [
|
|
7493
7507
|
x(e.$slots, "label", {}, () => [
|
|
7494
7508
|
Re(P(t.label), 1)
|
|
7495
7509
|
])
|
|
7496
7510
|
]),
|
|
7497
|
-
m("div",
|
|
7511
|
+
m("div", Mc, [
|
|
7498
7512
|
x(e.$slots, "value", {}, () => [
|
|
7499
7513
|
Re(P(t.value), 1)
|
|
7500
7514
|
])
|
|
7501
7515
|
])
|
|
7502
7516
|
]));
|
|
7503
7517
|
}
|
|
7504
|
-
}),
|
|
7518
|
+
}), Vc = { class: "py-[0.5rem] rounded-extra-small shadow-2 bg-surface-container-low flex flex-col" }, Uc = {
|
|
7505
7519
|
key: 0,
|
|
7506
7520
|
class: "px-[1.5rem] py-[0.5rem] text-title-large text-on-surface"
|
|
7507
|
-
},
|
|
7521
|
+
}, Rc = ["disabled", "onClick"], Fc = { class: "grow text-left" }, zc = /* @__PURE__ */ M({
|
|
7508
7522
|
__name: "UIMenu",
|
|
7509
7523
|
props: /* @__PURE__ */ le({
|
|
7510
7524
|
title: {},
|
|
@@ -7517,13 +7531,13 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7517
7531
|
emits: ["update:modelValue"],
|
|
7518
7532
|
setup(t) {
|
|
7519
7533
|
const e = de(t, "modelValue");
|
|
7520
|
-
return (n, o) => (f(), b("div",
|
|
7521
|
-
t.title ? (f(), b("div",
|
|
7534
|
+
return (n, o) => (f(), b("div", Vc, [
|
|
7535
|
+
t.title ? (f(), b("div", Uc, P(t.title), 1)) : y("", !0),
|
|
7522
7536
|
t.title ? (f(), I(Ht, {
|
|
7523
7537
|
key: 1,
|
|
7524
7538
|
class: "my-[0.62rem]"
|
|
7525
7539
|
})) : y("", !0),
|
|
7526
|
-
(f(!0), b(
|
|
7540
|
+
(f(!0), b(X, null, te(t.items, (r) => (f(), b("button", {
|
|
7527
7541
|
key: r.value,
|
|
7528
7542
|
class: v(["px-[0.75rem] text-body-large text-on-surface flex items-center gap-[0.75rem] hover:bg-on-surface/8 disabled:opacity-38 not-disabled:cursor-pointer", {
|
|
7529
7543
|
"bg-surface-container-highest": e.value === r.value,
|
|
@@ -7538,15 +7552,15 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7538
7552
|
key: 0,
|
|
7539
7553
|
icon: r.leadingIcon
|
|
7540
7554
|
}, null, 8, ["icon"])) : y("", !0),
|
|
7541
|
-
m("span",
|
|
7555
|
+
m("span", Fc, P(r.label), 1),
|
|
7542
7556
|
r.trailingIcon ? (f(), I(d(U), {
|
|
7543
7557
|
key: 1,
|
|
7544
7558
|
icon: r.trailingIcon
|
|
7545
7559
|
}, null, 8, ["icon"])) : y("", !0)
|
|
7546
|
-
], 10,
|
|
7560
|
+
], 10, Rc))), 128))
|
|
7547
7561
|
]));
|
|
7548
7562
|
}
|
|
7549
|
-
}),
|
|
7563
|
+
}), Hc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7550
7564
|
__proto__: null,
|
|
7551
7565
|
ACBSPlugin: ui,
|
|
7552
7566
|
OverflowTooltip: vo,
|
|
@@ -7564,12 +7578,12 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7564
7578
|
UIInfoStrip: Ed,
|
|
7565
7579
|
UIInfoStripSecondaryBox: Ad,
|
|
7566
7580
|
UIInputChip: Ls,
|
|
7567
|
-
UILabelValue:
|
|
7568
|
-
UILabelValueList:
|
|
7581
|
+
UILabelValue: jc,
|
|
7582
|
+
UILabelValueList: Dc,
|
|
7569
7583
|
UILanguagePicker: Fu,
|
|
7570
7584
|
UIList: mu,
|
|
7571
7585
|
UIListItem: gu,
|
|
7572
|
-
UIMenu:
|
|
7586
|
+
UIMenu: zc,
|
|
7573
7587
|
UINavbar: kl,
|
|
7574
7588
|
UIPersonList: Vd,
|
|
7575
7589
|
UIRadioButton: Os,
|
|
@@ -7577,7 +7591,7 @@ const ic = { class: "flex flex-col pb-[1rem]" }, lc = {
|
|
|
7577
7591
|
UISegmentedButton: Qd,
|
|
7578
7592
|
UISnackbar: iu,
|
|
7579
7593
|
UISwitch: cd,
|
|
7580
|
-
UITable:
|
|
7594
|
+
UITable: Lc,
|
|
7581
7595
|
UITabs: Wl,
|
|
7582
7596
|
UITag: rt,
|
|
7583
7597
|
UITextArea: qs,
|
|
@@ -7603,12 +7617,12 @@ export {
|
|
|
7603
7617
|
Ed as UIInfoStrip,
|
|
7604
7618
|
Ad as UIInfoStripSecondaryBox,
|
|
7605
7619
|
Ls as UIInputChip,
|
|
7606
|
-
|
|
7607
|
-
|
|
7620
|
+
jc as UILabelValue,
|
|
7621
|
+
Dc as UILabelValueList,
|
|
7608
7622
|
Fu as UILanguagePicker,
|
|
7609
7623
|
mu as UIList,
|
|
7610
7624
|
gu as UIListItem,
|
|
7611
|
-
|
|
7625
|
+
zc as UIMenu,
|
|
7612
7626
|
kl as UINavbar,
|
|
7613
7627
|
Vd as UIPersonList,
|
|
7614
7628
|
Os as UIRadioButton,
|
|
@@ -7616,7 +7630,7 @@ export {
|
|
|
7616
7630
|
Qd as UISegmentedButton,
|
|
7617
7631
|
iu as UISnackbar,
|
|
7618
7632
|
cd as UISwitch,
|
|
7619
|
-
|
|
7633
|
+
Lc as UITable,
|
|
7620
7634
|
Wl as UITabs,
|
|
7621
7635
|
rt as UITag,
|
|
7622
7636
|
qs as UITextArea,
|