@turquoisehealth/pit-viper 2.253.0 → 2.255.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.
- package/_site/assets/css/pit-viper-a11y.css +968 -61
- package/_site/assets/css/pit-viper-consumer.css +959 -53
- package/_site/assets/css/pit-viper-v2-scoped.css +787 -30
- package/_site/assets/css/pit-viper-v2.css +968 -61
- package/_site/assets/css/pit-viper.css +958 -52
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-box-plot-stats.html +4950 -0
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-empty-state-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
- package/pv-components/dist/vue/ai/components/base/PvBoxPlot/helpers.d.ts +7 -0
- package/pv-components/dist/vue/ai/components/base/PvBoxPlot/types.d.ts +33 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +5 -0
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +51 -1
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvSidebar/PvSidebar.vue.d.ts +15 -10
- package/pv-components/dist/vue/ai/components/base/PvSidebar/PvSidebarNavFlyout.vue.d.ts +9 -0
- package/pv-components/dist/vue/ai/components/base/PvSidebar/helpers.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvSidebar/types.d.ts +44 -0
- package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +47 -45
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
- package/pv-components/dist/vue/base/components/base/PvBoxPlot/helpers.d.ts +7 -0
- package/pv-components/dist/vue/base/components/base/PvBoxPlot/types.d.ts +33 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +5 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +51 -1
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvSidebar/PvSidebar.vue.d.ts +15 -10
- package/pv-components/dist/vue/base/components/base/PvSidebar/PvSidebarNavFlyout.vue.d.ts +9 -0
- package/pv-components/dist/vue/base/components/base/PvSidebar/helpers.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvSidebar/types.d.ts +44 -0
- package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +2390 -1481
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/helpers.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/types.d.ts +33 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +51 -1
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSidebar/PvSidebar.vue.d.ts +15 -10
- package/pv-components/dist/vue/visualizations/components/base/PvSidebar/PvSidebarNavFlyout.vue.d.ts +9 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSidebar/helpers.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSidebar/types.d.ts +44 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +4 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1561 -1540
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +3 -3
- package/pv-components/dist/web/components/pv-box-plot/pv-box-plot.js +6621 -0
- package/pv-components/dist/web/components/pv-button/pv-button.js +2 -2
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +376 -373
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +2 -2
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +2 -6
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +2 -2
- package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +2 -2
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +3 -3
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +2 -2
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1038 -1030
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +16 -10
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +2 -2
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +2 -2
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +3 -3
- package/pv-components/dist/web/components/pv-input/pv-input.js +0 -1
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +3 -3
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +121 -121
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +764 -756
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +5 -5
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +380 -380
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +11 -11
- package/pv-components/dist/web/components/pv-question/pv-question.js +254 -255
- package/pv-components/dist/web/components/pv-range/pv-range.js +2 -2
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +252 -252
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +2 -2
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +6 -6
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +2739 -618
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +460 -456
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +811 -806
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +880 -877
- package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +2 -6
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +2 -2
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +2 -6
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +3 -7
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2 -2
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +2 -2
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +2 -2
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +7 -7
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +18 -18
- package/pv-components/dist/web/pv-components.iife.js +14 -14
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,50 +1,341 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as e from "vue";
|
|
2
|
+
import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onBeforeUpdate as C, onMounted as w, onScopeDispose as T, onUnmounted as ee, openBlock as E, reactive as D, readonly as O, ref as k, renderList as A, renderSlot as j, resolveComponent as M, resolveDynamicComponent as te, shallowRef as N, toDisplayString as P, toHandlers as ne, toValue as F, unref as I, useModel as re, useSlots as ie, vShow as ae, watch as L, watchEffect as oe, withCtx as R, withDirectives as se, withKeys as ce } from "vue";
|
|
3
|
+
//#region \0rolldown/runtime.js
|
|
4
|
+
var le = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, de = Object.getOwnPropertyNames, fe = Object.prototype.hasOwnProperty, pe = (e, t) => {
|
|
5
|
+
let n = {};
|
|
6
|
+
for (var r in e) le(n, r, {
|
|
7
|
+
get: e[r],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
return t || le(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
11
|
+
}, z = (e, t, n, r) => {
|
|
12
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = de(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !fe.call(e, s) && s !== n && le(e, s, {
|
|
13
|
+
get: ((e) => t[e]).bind(null, s),
|
|
14
|
+
enumerable: !(r = ue(t, s)) || r.enumerable
|
|
15
|
+
});
|
|
16
|
+
return e;
|
|
17
|
+
}, me = (e, t, n) => (z(e, t, "default"), n && z(n, t, "default"));
|
|
2
18
|
//#endregion
|
|
3
|
-
//#region
|
|
4
|
-
|
|
5
|
-
|
|
19
|
+
//#region ../node_modules/.pnpm/@vueuse+shared@13.9.0_vue@3.5.32_typescript@5.9.3_/node_modules/@vueuse/shared/index.mjs
|
|
20
|
+
function B(e) {
|
|
21
|
+
return m() ? (T(e), !0) : !1;
|
|
22
|
+
}
|
|
23
|
+
var he = typeof window < "u" && typeof document < "u";
|
|
24
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
25
|
+
var V = (e) => e != null, ge = Object.prototype.toString, _e = (e) => ge.call(e) === "[object Object]", H = () => {}, ve = /* @__PURE__ */ ye();
|
|
26
|
+
function ye() {
|
|
27
|
+
return he && (window == null ? void 0 : window.navigator)?.userAgent && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || (window == null ? void 0 : window.navigator)?.maxTouchPoints > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
28
|
+
}
|
|
29
|
+
function be(e, t) {
|
|
30
|
+
function n(...n) {
|
|
31
|
+
return new Promise((r, i) => {
|
|
32
|
+
Promise.resolve(e(() => t.apply(this, n), {
|
|
33
|
+
fn: t,
|
|
34
|
+
thisArg: this,
|
|
35
|
+
args: n
|
|
36
|
+
})).then(r).catch(i);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
return n;
|
|
40
|
+
}
|
|
41
|
+
function xe(e, t = {}) {
|
|
42
|
+
let n, r, i = H, a = (e) => {
|
|
43
|
+
clearTimeout(e), i(), i = H;
|
|
44
|
+
}, o;
|
|
45
|
+
return (s) => {
|
|
46
|
+
let c = F(e), l = F(t.maxWait);
|
|
47
|
+
return n && a(n), c <= 0 || l !== void 0 && l <= 0 ? (r &&= (a(r), void 0), Promise.resolve(s())) : new Promise((e, u) => {
|
|
48
|
+
i = t.rejectOnCancel ? u : e, o = s, l && !r && (r = setTimeout(() => {
|
|
49
|
+
n && a(n), r = void 0, e(o());
|
|
50
|
+
}, l)), n = setTimeout(() => {
|
|
51
|
+
r && a(r), r = void 0, e(s());
|
|
52
|
+
}, c);
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function Se(e) {
|
|
57
|
+
return Array.isArray(e) ? e : [e];
|
|
58
|
+
}
|
|
59
|
+
function Ce(e) {
|
|
60
|
+
return e || p();
|
|
61
|
+
}
|
|
62
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
63
|
+
function we(e, t = 200, n = {}) {
|
|
64
|
+
return be(xe(t, n), e);
|
|
65
|
+
}
|
|
66
|
+
function Te(e, t = !0, n) {
|
|
67
|
+
Ce(n) ? w(e, n) : t ? e() : v(e);
|
|
68
|
+
}
|
|
69
|
+
function Ee(e, t, n) {
|
|
70
|
+
return L(e, t, {
|
|
71
|
+
...n,
|
|
72
|
+
immediate: !0
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region ../node_modules/.pnpm/@vueuse+core@13.9.0_vue@3.5.32_typescript@5.9.3_/node_modules/@vueuse/core/index.mjs
|
|
77
|
+
var De = he ? window : void 0;
|
|
78
|
+
he && window.document, he && window.navigator, he && window.location;
|
|
79
|
+
function U(e) {
|
|
80
|
+
let t = F(e);
|
|
81
|
+
return t?.$el ?? t;
|
|
82
|
+
}
|
|
83
|
+
function Oe(...e) {
|
|
84
|
+
let t = [], n = () => {
|
|
85
|
+
t.forEach((e) => e()), t.length = 0;
|
|
86
|
+
}, i = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), a = r(() => {
|
|
87
|
+
let t = Se(F(e[0])).filter((e) => e != null);
|
|
88
|
+
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
89
|
+
}), o = Ee(() => [
|
|
90
|
+
a.value?.map((e) => U(e)) ?? [De].filter((e) => e != null),
|
|
91
|
+
Se(F(a.value ? e[1] : e[0])),
|
|
92
|
+
Se(I(a.value ? e[2] : e[1])),
|
|
93
|
+
F(a.value ? e[3] : e[2])
|
|
94
|
+
], ([e, r, a, o]) => {
|
|
95
|
+
if (n(), !e?.length || !r?.length || !a?.length) return;
|
|
96
|
+
let s = _e(o) ? { ...o } : o;
|
|
97
|
+
t.push(...e.flatMap((e) => r.flatMap((t) => a.map((n) => i(e, t, n, s)))));
|
|
98
|
+
}, { flush: "post" });
|
|
99
|
+
return B(n), () => {
|
|
100
|
+
o(), n();
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
var ke = !1;
|
|
104
|
+
function Ae(e, t, n = {}) {
|
|
105
|
+
let { window: r = De, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
|
|
106
|
+
if (!r) return s ? {
|
|
107
|
+
stop: H,
|
|
108
|
+
cancel: H,
|
|
109
|
+
trigger: H
|
|
110
|
+
} : H;
|
|
111
|
+
if (ve && !ke) {
|
|
112
|
+
ke = !0;
|
|
113
|
+
let e = { passive: !0 };
|
|
114
|
+
Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", H, e)), r.document.documentElement.addEventListener("click", H, e);
|
|
115
|
+
}
|
|
116
|
+
let c = !0, l = (e) => F(i).some((t) => {
|
|
117
|
+
if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
|
|
118
|
+
{
|
|
119
|
+
let n = U(t);
|
|
120
|
+
return n && (e.target === n || e.composedPath().includes(n));
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
function u(e) {
|
|
124
|
+
let t = F(e);
|
|
125
|
+
return t && t.$.subTree.shapeFlag === 16;
|
|
126
|
+
}
|
|
127
|
+
function d(e, t) {
|
|
128
|
+
let n = F(e), r = n.$.subTree && n.$.subTree.children;
|
|
129
|
+
return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
|
|
130
|
+
}
|
|
131
|
+
let f = (n) => {
|
|
132
|
+
let r = U(e);
|
|
133
|
+
if (n.target != null && !(!(r instanceof Element) && u(e) && d(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
|
|
134
|
+
if ("detail" in n && n.detail === 0 && (c = !l(n)), !c) {
|
|
135
|
+
c = !0;
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
t(n);
|
|
139
|
+
}
|
|
140
|
+
}, p = !1, m = [
|
|
141
|
+
Oe(r, "click", (e) => {
|
|
142
|
+
p || (p = !0, setTimeout(() => {
|
|
143
|
+
p = !1;
|
|
144
|
+
}, 0), f(e));
|
|
145
|
+
}, {
|
|
146
|
+
passive: !0,
|
|
147
|
+
capture: a
|
|
148
|
+
}),
|
|
149
|
+
Oe(r, "pointerdown", (t) => {
|
|
150
|
+
let n = U(e);
|
|
151
|
+
c = !l(t) && !!(n && !t.composedPath().includes(n));
|
|
152
|
+
}, { passive: !0 }),
|
|
153
|
+
o && Oe(r, "blur", (n) => {
|
|
154
|
+
setTimeout(() => {
|
|
155
|
+
let i = U(e);
|
|
156
|
+
r.document.activeElement?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
|
|
157
|
+
}, 0);
|
|
158
|
+
}, { passive: !0 })
|
|
159
|
+
].filter(Boolean), h = () => m.forEach((e) => e());
|
|
160
|
+
return s ? {
|
|
161
|
+
stop: h,
|
|
162
|
+
cancel: () => {
|
|
163
|
+
c = !1;
|
|
164
|
+
},
|
|
165
|
+
trigger: (e) => {
|
|
166
|
+
c = !0, f(e), c = !1;
|
|
167
|
+
}
|
|
168
|
+
} : h;
|
|
169
|
+
}
|
|
170
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
171
|
+
function je() {
|
|
172
|
+
let e = N(!1), t = p();
|
|
173
|
+
return t && w(() => {
|
|
174
|
+
e.value = !0;
|
|
175
|
+
}, t), e;
|
|
176
|
+
}
|
|
177
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
178
|
+
function Me(e) {
|
|
179
|
+
let t = /* @__PURE__ */ je();
|
|
180
|
+
return r(() => (t.value, !!e()));
|
|
181
|
+
}
|
|
182
|
+
function Ne(e, t, n = {}) {
|
|
183
|
+
let { window: i = De, ...a } = n, o, s = /* @__PURE__ */ Me(() => i && "MutationObserver" in i), c = () => {
|
|
184
|
+
o &&= (o.disconnect(), void 0);
|
|
185
|
+
}, l = L(r(() => {
|
|
186
|
+
let t = Se(F(e)).map(U).filter(V);
|
|
187
|
+
return new Set(t);
|
|
188
|
+
}), (e) => {
|
|
189
|
+
c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, a)));
|
|
190
|
+
}, {
|
|
191
|
+
immediate: !0,
|
|
192
|
+
flush: "post"
|
|
193
|
+
}), u = () => o?.takeRecords(), d = () => {
|
|
194
|
+
l(), c();
|
|
195
|
+
};
|
|
196
|
+
return B(d), {
|
|
197
|
+
isSupported: s,
|
|
198
|
+
stop: d,
|
|
199
|
+
takeRecords: u
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
function Pe(e, t, n = {}) {
|
|
203
|
+
let { window: r = De, document: i = r?.document, flush: a = "sync" } = n;
|
|
204
|
+
if (!r || !i) return H;
|
|
205
|
+
let o, s = (e) => {
|
|
206
|
+
o?.(), o = e;
|
|
207
|
+
}, c = oe(() => {
|
|
208
|
+
let n = U(e);
|
|
209
|
+
if (n) {
|
|
210
|
+
let { stop: e } = Ne(i, (e) => {
|
|
211
|
+
e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
|
|
212
|
+
}, {
|
|
213
|
+
window: r,
|
|
214
|
+
childList: !0,
|
|
215
|
+
subtree: !0
|
|
216
|
+
});
|
|
217
|
+
s(e);
|
|
218
|
+
}
|
|
219
|
+
}, { flush: a }), l = () => {
|
|
220
|
+
c(), s();
|
|
221
|
+
};
|
|
222
|
+
return B(l), l;
|
|
223
|
+
}
|
|
224
|
+
function Fe(e, t, n = {}) {
|
|
225
|
+
let { window: i = De, ...a } = n, o, s = /* @__PURE__ */ Me(() => i && "ResizeObserver" in i), c = () => {
|
|
226
|
+
o &&= (o.disconnect(), void 0);
|
|
227
|
+
}, l = L(r(() => {
|
|
228
|
+
let t = F(e);
|
|
229
|
+
return Array.isArray(t) ? t.map((e) => U(e)) : [U(t)];
|
|
230
|
+
}), (e) => {
|
|
231
|
+
if (c(), s.value && i) {
|
|
232
|
+
o = new ResizeObserver(t);
|
|
233
|
+
for (let t of e) t && o.observe(t, a);
|
|
234
|
+
}
|
|
235
|
+
}, {
|
|
236
|
+
immediate: !0,
|
|
237
|
+
flush: "post"
|
|
238
|
+
}), u = () => {
|
|
239
|
+
c(), l();
|
|
240
|
+
};
|
|
241
|
+
return B(u), {
|
|
242
|
+
isSupported: s,
|
|
243
|
+
stop: u
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
function Ie(e, t = {}) {
|
|
247
|
+
let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = N(0), c = N(0), l = N(0), u = N(0), d = N(0), f = N(0), p = N(0), m = N(0);
|
|
248
|
+
function h() {
|
|
249
|
+
let t = U(e);
|
|
250
|
+
if (!t) {
|
|
251
|
+
n && (s.value = 0, c.value = 0, l.value = 0, u.value = 0, d.value = 0, f.value = 0, p.value = 0, m.value = 0);
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
let r = t.getBoundingClientRect();
|
|
255
|
+
s.value = r.height, c.value = r.bottom, l.value = r.left, u.value = r.right, d.value = r.top, f.value = r.width, p.value = r.x, m.value = r.y;
|
|
256
|
+
}
|
|
257
|
+
function g() {
|
|
258
|
+
o === "sync" ? h() : o === "next-frame" && requestAnimationFrame(() => h());
|
|
259
|
+
}
|
|
260
|
+
return Fe(e, g), L(() => U(e), (e) => !e && g()), Ne(e, g, { attributeFilter: ["style", "class"] }), i && Oe("scroll", g, {
|
|
261
|
+
capture: !0,
|
|
262
|
+
passive: !0
|
|
263
|
+
}), r && Oe("resize", g, { passive: !0 }), Te(() => {
|
|
264
|
+
a && g();
|
|
265
|
+
}), {
|
|
266
|
+
height: s,
|
|
267
|
+
bottom: c,
|
|
268
|
+
left: l,
|
|
269
|
+
right: u,
|
|
270
|
+
top: d,
|
|
271
|
+
width: f,
|
|
272
|
+
x: p,
|
|
273
|
+
y: m,
|
|
274
|
+
update: g
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
function Le(e, t = {}) {
|
|
278
|
+
let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = De } = t, s = N(!1), c, l = (e) => {
|
|
279
|
+
let t = e ? n : i;
|
|
280
|
+
c &&= (clearTimeout(c), void 0), t ? c = setTimeout(() => s.value = e, t) : s.value = e;
|
|
281
|
+
};
|
|
282
|
+
return o ? (Oe(e, "mouseenter", () => l(!0), { passive: !0 }), Oe(e, "mouseleave", () => l(!1), { passive: !0 }), a && Pe(r(() => U(e)), () => l(!1)), s) : s;
|
|
283
|
+
}
|
|
284
|
+
//#endregion
|
|
285
|
+
//#region src/components/base/PvCounterBadge/PvCounterBadge.vue?vue&type=script&setup=true&lang.ts
|
|
286
|
+
var Re = /* @__PURE__ */ d({
|
|
287
|
+
__name: "PvCounterBadge",
|
|
6
288
|
props: {
|
|
289
|
+
maxValue: {
|
|
290
|
+
default: 99,
|
|
291
|
+
type: Number
|
|
292
|
+
},
|
|
293
|
+
prefix: {
|
|
294
|
+
default: "",
|
|
295
|
+
type: String
|
|
296
|
+
},
|
|
7
297
|
size: {
|
|
8
|
-
default: "
|
|
298
|
+
default: "sm",
|
|
9
299
|
type: String
|
|
10
300
|
},
|
|
301
|
+
value: { type: Number },
|
|
11
302
|
variant: {
|
|
12
303
|
default: "primary",
|
|
13
|
-
type:
|
|
14
|
-
}
|
|
304
|
+
type: null
|
|
305
|
+
},
|
|
306
|
+
rounded: { type: Boolean }
|
|
15
307
|
},
|
|
16
308
|
setup(e) {
|
|
17
|
-
let t = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
28
|
-
return (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}, null, 6));
|
|
309
|
+
let t = e, n = r(() => t.maxValue && t.value && t.value > t.maxValue ? `${t.maxValue}+` : t.value == null ? "-" : `${t.prefix}${t.value}`), i = r(() => ({
|
|
310
|
+
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
311
|
+
"pv-badge-md pv-text-body-md": t.size == "md",
|
|
312
|
+
"pv-badge-sm pv-text-body-sm": t.size == "sm",
|
|
313
|
+
"pv-surface-brand-inverse pv-text-inverse": t.variant == "primary",
|
|
314
|
+
"pv-badge-secondary": t.variant == "secondary",
|
|
315
|
+
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
316
|
+
"pv-text-subdued": t.variant == "ghost" || t.variant == "tertiary",
|
|
317
|
+
"pv-surface": t.variant == "ghost",
|
|
318
|
+
"pv-rounded": t.rounded
|
|
319
|
+
}));
|
|
320
|
+
return (e, t) => (E(), o("div", {
|
|
321
|
+
class: y(i.value),
|
|
322
|
+
"data-testid": "pv-counter-badge"
|
|
323
|
+
}, P(n.value), 3));
|
|
33
324
|
}
|
|
34
|
-
}),
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
},
|
|
325
|
+
}), ze = ".pv-badge-md[data-v-3def68cb]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-3def68cb]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-3def68cb]{border-radius:50%}", Be = (e, t) => {
|
|
326
|
+
let n = e.__vccOpts || e;
|
|
327
|
+
for (let [e, r] of t) n[e] = r;
|
|
328
|
+
return n;
|
|
329
|
+
}, Ve = /* @__PURE__ */ Be(Re, [["styles", [ze]], ["__scopeId", "data-v-3def68cb"]]);
|
|
39
330
|
//#endregion
|
|
40
331
|
//#region src/web-components/utils.ts
|
|
41
|
-
function
|
|
42
|
-
let e =
|
|
332
|
+
function He() {
|
|
333
|
+
let e = k(!1), t = p()?.root || {};
|
|
43
334
|
return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
|
|
44
335
|
}
|
|
45
336
|
//#endregion
|
|
46
337
|
//#region src/components/base/baseProps.ts
|
|
47
|
-
var
|
|
338
|
+
var Ue = [
|
|
48
339
|
void 0,
|
|
49
340
|
10,
|
|
50
341
|
12,
|
|
@@ -52,70 +343,142 @@ var E = [
|
|
|
52
343
|
24,
|
|
53
344
|
32,
|
|
54
345
|
64
|
|
55
|
-
],
|
|
346
|
+
], We = ["xlink:href"], W = /* @__PURE__ */ d({
|
|
56
347
|
__name: "PvIcon",
|
|
57
348
|
props: {
|
|
58
349
|
name: { type: String },
|
|
59
350
|
size: { type: null }
|
|
60
351
|
},
|
|
61
352
|
setup(e) {
|
|
62
|
-
let
|
|
353
|
+
let t = e, n = He(), i = k(null), a = r(() => ({
|
|
63
354
|
"pv-icon": !0,
|
|
64
|
-
[`pv-icon-${
|
|
65
|
-
})), c =
|
|
66
|
-
return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (
|
|
355
|
+
[`pv-icon-${t.size}`]: t.size != null && Ue.includes(t.size)
|
|
356
|
+
})), c = r(() => n.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
|
|
357
|
+
return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (E(), o("svg", {
|
|
67
358
|
"data-testid": "pv-icon",
|
|
68
359
|
"aria-hidden": "true",
|
|
69
|
-
class:
|
|
70
|
-
}, [
|
|
360
|
+
class: y(a.value)
|
|
361
|
+
}, [s("use", { "xlink:href": c.value }, null, 8, We)], 2));
|
|
71
362
|
}
|
|
72
|
-
}),
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
props: {
|
|
79
|
-
maxValue: {
|
|
80
|
-
default: 99,
|
|
81
|
-
type: Number
|
|
363
|
+
}), Ge = ["open"], Ke = /* @__PURE__ */ Be(/* @__PURE__ */ d({
|
|
364
|
+
__name: "PvAccordion",
|
|
365
|
+
props: /* @__PURE__ */ g({
|
|
366
|
+
chevronPosition: {
|
|
367
|
+
default: "right",
|
|
368
|
+
type: null
|
|
82
369
|
},
|
|
83
|
-
|
|
84
|
-
default: "",
|
|
370
|
+
chevronVariant: {
|
|
371
|
+
default: "vertical",
|
|
85
372
|
type: String
|
|
86
373
|
},
|
|
374
|
+
defaultOpen: { type: Boolean },
|
|
375
|
+
counter: { type: Number },
|
|
376
|
+
enableTriggerSlot: {
|
|
377
|
+
type: Boolean,
|
|
378
|
+
default: !1
|
|
379
|
+
},
|
|
380
|
+
enableTriggerFullWidth: {
|
|
381
|
+
type: Boolean,
|
|
382
|
+
default: !1
|
|
383
|
+
},
|
|
384
|
+
header: { type: String },
|
|
385
|
+
summaryStyles: { type: Object },
|
|
386
|
+
summaryClasses: { type: Object },
|
|
387
|
+
contentStyles: { type: Object },
|
|
388
|
+
summaryAttrs: { type: Object },
|
|
389
|
+
toggleOnChevronOnly: {
|
|
390
|
+
type: Boolean,
|
|
391
|
+
default: !1
|
|
392
|
+
}
|
|
393
|
+
}, {
|
|
394
|
+
modelValue: { type: Boolean },
|
|
395
|
+
modelModifiers: {}
|
|
396
|
+
}),
|
|
397
|
+
emits: /* @__PURE__ */ g([
|
|
398
|
+
"summary-mouseenter",
|
|
399
|
+
"summary-mouseleave",
|
|
400
|
+
"summary-click"
|
|
401
|
+
], ["update:modelValue"]),
|
|
402
|
+
setup(e, { emit: n }) {
|
|
403
|
+
let c = e, l = re(e, "modelValue"), u = n;
|
|
404
|
+
c.defaultOpen !== void 0 && (l.value = c.defaultOpen);
|
|
405
|
+
let d = (e) => {
|
|
406
|
+
l.value = e.target.open;
|
|
407
|
+
}, f = (e) => {
|
|
408
|
+
e.detail !== 0 && (e.target?.closest("[data-pv-accordion-chevron]") || e.defaultPrevented || (e.preventDefault(), u("summary-click", e)));
|
|
409
|
+
}, p = r(() => c.toggleOnChevronOnly ? { click: f } : {}), m = { width: c.enableTriggerFullWidth ? "100%" : "fit-content" }, h = r(() => c.chevronVariant === "horizontal" ? c.chevronPosition === "left" ? l.value ? "chevron-down" : "chevron-right" : l.value ? "chevron-down" : "chevron-left" : l.value ? "chevron-up" : "chevron-down");
|
|
410
|
+
return (n, r) => (E(), o("details", {
|
|
411
|
+
"data-testid": "pv-accordion",
|
|
412
|
+
class: "pv-accordion",
|
|
413
|
+
open: l.value,
|
|
414
|
+
onToggle: d
|
|
415
|
+
}, [s("summary", _(e.summaryAttrs, {
|
|
416
|
+
class: ["pv-flex pv-space-between pv-relative", e.summaryClasses],
|
|
417
|
+
style: {
|
|
418
|
+
...m,
|
|
419
|
+
...e.summaryStyles
|
|
420
|
+
},
|
|
421
|
+
onMouseenter: r[0] ||= (e) => n.$emit("summary-mouseenter"),
|
|
422
|
+
onMouseleave: r[1] ||= (e) => n.$emit("summary-mouseleave")
|
|
423
|
+
}, ne(p.value, !0)), [
|
|
424
|
+
a(" Content placed before a left chevron, e.g. a tree connector that must sit in the indent column "),
|
|
425
|
+
j(n.$slots, "leading", {}, void 0, !0),
|
|
426
|
+
e.chevronPosition === "left" ? (E(), i(W, {
|
|
427
|
+
key: 0,
|
|
428
|
+
name: h.value,
|
|
429
|
+
"data-pv-accordion-chevron": ""
|
|
430
|
+
}, null, 8, ["name"])) : a("v-if", !0),
|
|
431
|
+
e.enableTriggerSlot ? j(n.$slots, "trigger", { key: 1 }, void 0, !0) : (E(), o(t, { key: 2 }, [s("span", null, P(e.header), 1), e.counter ? (E(), i(Ve, {
|
|
432
|
+
key: 0,
|
|
433
|
+
value: e.counter,
|
|
434
|
+
variant: "secondary",
|
|
435
|
+
size: "sm"
|
|
436
|
+
}, null, 8, ["value"])) : a("v-if", !0)], 64)),
|
|
437
|
+
e.chevronPosition === "right" ? (E(), i(W, {
|
|
438
|
+
key: 3,
|
|
439
|
+
name: h.value,
|
|
440
|
+
"data-pv-accordion-chevron": ""
|
|
441
|
+
}, null, 8, ["name"])) : a("v-if", !0)
|
|
442
|
+
], 16), s("div", { style: x(e.contentStyles) }, [j(n.$slots, "default", {}, void 0, !0)], 4)], 40, Ge));
|
|
443
|
+
}
|
|
444
|
+
}), [["styles", ["summary[data-v-dfa0b416]{background-image:none;padding-right:2px}"]], ["__scopeId", "data-v-dfa0b416"]]), qe = /* @__PURE__ */ d({
|
|
445
|
+
__name: "PvSpinner",
|
|
446
|
+
props: {
|
|
87
447
|
size: {
|
|
88
|
-
default: "
|
|
448
|
+
default: "lg",
|
|
89
449
|
type: String
|
|
90
450
|
},
|
|
91
|
-
value: { type: Number },
|
|
92
451
|
variant: {
|
|
93
452
|
default: "primary",
|
|
94
|
-
type:
|
|
95
|
-
}
|
|
96
|
-
rounded: { type: Boolean }
|
|
453
|
+
type: String
|
|
454
|
+
}
|
|
97
455
|
},
|
|
98
456
|
setup(e) {
|
|
99
|
-
let
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"pv-
|
|
107
|
-
"pv-
|
|
108
|
-
"pv-
|
|
109
|
-
}
|
|
110
|
-
return (
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
457
|
+
let t = {
|
|
458
|
+
xs: "0.75rem",
|
|
459
|
+
sm: "1rem",
|
|
460
|
+
md: "1.25rem",
|
|
461
|
+
lg: "1.5rem",
|
|
462
|
+
xl: "2rem"
|
|
463
|
+
}, n = {
|
|
464
|
+
primary: "pv-spinner",
|
|
465
|
+
dark: "pv-spinner-dark",
|
|
466
|
+
white: "pv-spinner-light"
|
|
467
|
+
};
|
|
468
|
+
return (r, i) => (E(), o("div", {
|
|
469
|
+
"data-testid": "pv-spinner",
|
|
470
|
+
class: y(n[e.variant]),
|
|
471
|
+
style: x({ "--size": t[e.size] })
|
|
472
|
+
}, null, 6));
|
|
114
473
|
}
|
|
115
|
-
}),
|
|
474
|
+
}), Je = ["ghost"], Ye = {
|
|
475
|
+
md: "pv-button-small",
|
|
476
|
+
lg: void 0,
|
|
477
|
+
xl: "pv-button-large"
|
|
478
|
+
}, Xe = (e) => e == null || !Ye.hasOwnProperty(e) ? null : Ye[e] || null, Ze = ["disabled", "aria-label"], Qe = {
|
|
116
479
|
key: 2,
|
|
117
480
|
"data-testid": "pv-button-label"
|
|
118
|
-
},
|
|
481
|
+
}, $e = /* @__PURE__ */ d({
|
|
119
482
|
__name: "PvButton",
|
|
120
483
|
props: {
|
|
121
484
|
variant: {
|
|
@@ -145,52 +508,1424 @@ var E = [
|
|
|
145
508
|
rightCounterBadge: { type: Number },
|
|
146
509
|
ariaLabel: { type: String }
|
|
147
510
|
},
|
|
148
|
-
setup(
|
|
149
|
-
let
|
|
511
|
+
setup(e) {
|
|
512
|
+
let n = e, s = r(() => !n.label || n.loading ? n.label || n.ariaLabel : void 0), c = r(() => {
|
|
150
513
|
let e = [];
|
|
151
|
-
|
|
152
|
-
let t =
|
|
514
|
+
n.inverse && Je.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
|
|
515
|
+
let t = Xe(n.size);
|
|
153
516
|
return t && e.push(t), e;
|
|
154
517
|
});
|
|
155
|
-
return (
|
|
518
|
+
return (n, r) => (E(), o("button", {
|
|
156
519
|
type: "button",
|
|
157
|
-
class:
|
|
158
|
-
disabled:
|
|
520
|
+
class: y(c.value),
|
|
521
|
+
disabled: e.disabled,
|
|
159
522
|
"aria-label": s.value,
|
|
160
523
|
"data-testid": "pv-button"
|
|
161
|
-
}, [
|
|
524
|
+
}, [e.loading ? (E(), i(qe, {
|
|
162
525
|
key: 0,
|
|
163
526
|
size: "sm"
|
|
164
|
-
})) : (
|
|
165
|
-
|
|
527
|
+
})) : (E(), o(t, { key: 1 }, [
|
|
528
|
+
e.leftCounterBadge ? (E(), i(Ve, {
|
|
166
529
|
key: 0,
|
|
167
|
-
value:
|
|
530
|
+
value: e.leftCounterBadge,
|
|
168
531
|
variant: "tertiary"
|
|
169
|
-
}, null, 8, ["value"])) :
|
|
170
|
-
|
|
532
|
+
}, null, 8, ["value"])) : a("v-if", !0),
|
|
533
|
+
e.leftIcon ? (E(), i(W, {
|
|
171
534
|
key: 1,
|
|
172
|
-
name:
|
|
535
|
+
name: e.leftIcon,
|
|
173
536
|
"data-testid": "pv-button-left-icon"
|
|
174
|
-
}, null, 8, ["name"])) :
|
|
175
|
-
|
|
176
|
-
|
|
537
|
+
}, null, 8, ["name"])) : a("v-if", !0),
|
|
538
|
+
e.label ? (E(), o("span", Qe, P(e.label), 1)) : a("v-if", !0),
|
|
539
|
+
e.rightCounterBadge ? (E(), i(Ve, {
|
|
177
540
|
key: 3,
|
|
178
|
-
value:
|
|
541
|
+
value: e.rightCounterBadge,
|
|
179
542
|
variant: "tertiary"
|
|
180
|
-
}, null, 8, ["value"])) :
|
|
181
|
-
|
|
543
|
+
}, null, 8, ["value"])) : a("v-if", !0),
|
|
544
|
+
e.rightIcon ? (E(), i(W, {
|
|
182
545
|
key: 4,
|
|
183
|
-
name:
|
|
546
|
+
name: e.rightIcon,
|
|
184
547
|
"data-testid": "pv-button-right-icon"
|
|
185
|
-
}, null, 8, ["name"])) :
|
|
186
|
-
], 64))], 10,
|
|
548
|
+
}, null, 8, ["name"])) : a("v-if", !0)
|
|
549
|
+
], 64))], 10, Ze));
|
|
550
|
+
}
|
|
551
|
+
}), et = Math.min, tt = Math.max, nt = Math.round, rt = (e) => ({
|
|
552
|
+
x: e,
|
|
553
|
+
y: e
|
|
554
|
+
}), it = {
|
|
555
|
+
left: "right",
|
|
556
|
+
right: "left",
|
|
557
|
+
bottom: "top",
|
|
558
|
+
top: "bottom"
|
|
559
|
+
};
|
|
560
|
+
function at(e, t) {
|
|
561
|
+
return typeof e == "function" ? e(t) : e;
|
|
562
|
+
}
|
|
563
|
+
function ot(e) {
|
|
564
|
+
return e.split("-")[0];
|
|
565
|
+
}
|
|
566
|
+
function st(e) {
|
|
567
|
+
return e.split("-")[1];
|
|
568
|
+
}
|
|
569
|
+
function ct(e) {
|
|
570
|
+
return e === "x" ? "y" : "x";
|
|
571
|
+
}
|
|
572
|
+
function lt(e) {
|
|
573
|
+
return e === "y" ? "height" : "width";
|
|
574
|
+
}
|
|
575
|
+
function ut(e) {
|
|
576
|
+
let t = e[0];
|
|
577
|
+
return t === "t" || t === "b" ? "y" : "x";
|
|
578
|
+
}
|
|
579
|
+
function dt(e) {
|
|
580
|
+
return ct(ut(e));
|
|
581
|
+
}
|
|
582
|
+
function ft(e, t, n) {
|
|
583
|
+
n === void 0 && (n = !1);
|
|
584
|
+
let r = st(e), i = dt(e), a = lt(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
585
|
+
return t.reference[a] > t.floating[a] && (o = xt(o)), [o, xt(o)];
|
|
586
|
+
}
|
|
587
|
+
function pt(e) {
|
|
588
|
+
let t = xt(e);
|
|
589
|
+
return [
|
|
590
|
+
mt(e),
|
|
591
|
+
t,
|
|
592
|
+
mt(t)
|
|
593
|
+
];
|
|
594
|
+
}
|
|
595
|
+
function mt(e) {
|
|
596
|
+
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
597
|
+
}
|
|
598
|
+
var ht = ["left", "right"], gt = ["right", "left"], _t = ["top", "bottom"], vt = ["bottom", "top"];
|
|
599
|
+
function yt(e, t, n) {
|
|
600
|
+
switch (e) {
|
|
601
|
+
case "top":
|
|
602
|
+
case "bottom": return n ? t ? gt : ht : t ? ht : gt;
|
|
603
|
+
case "left":
|
|
604
|
+
case "right": return t ? _t : vt;
|
|
605
|
+
default: return [];
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
function bt(e, t, n, r) {
|
|
609
|
+
let i = st(e), a = yt(ot(e), n === "start", r);
|
|
610
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(mt)))), a;
|
|
611
|
+
}
|
|
612
|
+
function xt(e) {
|
|
613
|
+
let t = ot(e);
|
|
614
|
+
return it[t] + e.slice(t.length);
|
|
615
|
+
}
|
|
616
|
+
function St(e) {
|
|
617
|
+
return {
|
|
618
|
+
top: 0,
|
|
619
|
+
right: 0,
|
|
620
|
+
bottom: 0,
|
|
621
|
+
left: 0,
|
|
622
|
+
...e
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
function Ct(e) {
|
|
626
|
+
return typeof e == "number" ? {
|
|
627
|
+
top: e,
|
|
628
|
+
right: e,
|
|
629
|
+
bottom: e,
|
|
630
|
+
left: e
|
|
631
|
+
} : St(e);
|
|
632
|
+
}
|
|
633
|
+
function wt(e) {
|
|
634
|
+
let { x: t, y: n, width: r, height: i } = e;
|
|
635
|
+
return {
|
|
636
|
+
width: r,
|
|
637
|
+
height: i,
|
|
638
|
+
top: n,
|
|
639
|
+
left: t,
|
|
640
|
+
right: t + r,
|
|
641
|
+
bottom: n + i,
|
|
642
|
+
x: t,
|
|
643
|
+
y: n
|
|
644
|
+
};
|
|
645
|
+
}
|
|
646
|
+
//#endregion
|
|
647
|
+
//#region ../node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
648
|
+
function Tt(e, t, n) {
|
|
649
|
+
let { reference: r, floating: i } = e, a = ut(t), o = dt(t), s = lt(o), c = ot(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
650
|
+
switch (c) {
|
|
651
|
+
case "top":
|
|
652
|
+
p = {
|
|
653
|
+
x: u,
|
|
654
|
+
y: r.y - i.height
|
|
655
|
+
};
|
|
656
|
+
break;
|
|
657
|
+
case "bottom":
|
|
658
|
+
p = {
|
|
659
|
+
x: u,
|
|
660
|
+
y: r.y + r.height
|
|
661
|
+
};
|
|
662
|
+
break;
|
|
663
|
+
case "right":
|
|
664
|
+
p = {
|
|
665
|
+
x: r.x + r.width,
|
|
666
|
+
y: d
|
|
667
|
+
};
|
|
668
|
+
break;
|
|
669
|
+
case "left":
|
|
670
|
+
p = {
|
|
671
|
+
x: r.x - i.width,
|
|
672
|
+
y: d
|
|
673
|
+
};
|
|
674
|
+
break;
|
|
675
|
+
default: p = {
|
|
676
|
+
x: r.x,
|
|
677
|
+
y: r.y
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
switch (st(t)) {
|
|
681
|
+
case "start":
|
|
682
|
+
p[o] -= f * (n && l ? -1 : 1);
|
|
683
|
+
break;
|
|
684
|
+
case "end":
|
|
685
|
+
p[o] += f * (n && l ? -1 : 1);
|
|
686
|
+
break;
|
|
687
|
+
}
|
|
688
|
+
return p;
|
|
689
|
+
}
|
|
690
|
+
async function Et(e, t) {
|
|
691
|
+
t === void 0 && (t = {});
|
|
692
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = at(t, e), p = Ct(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = wt(await i.getClippingRect({
|
|
693
|
+
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
694
|
+
boundary: c,
|
|
695
|
+
rootBoundary: l,
|
|
696
|
+
strategy: s
|
|
697
|
+
})), g = u === "floating" ? {
|
|
698
|
+
x: n,
|
|
699
|
+
y: r,
|
|
700
|
+
width: a.floating.width,
|
|
701
|
+
height: a.floating.height
|
|
702
|
+
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
703
|
+
x: 1,
|
|
704
|
+
y: 1
|
|
705
|
+
}, y = wt(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
706
|
+
elements: o,
|
|
707
|
+
rect: g,
|
|
708
|
+
offsetParent: _,
|
|
709
|
+
strategy: s
|
|
710
|
+
}) : g);
|
|
711
|
+
return {
|
|
712
|
+
top: (h.top - y.top + p.top) / v.y,
|
|
713
|
+
bottom: (y.bottom - h.bottom + p.bottom) / v.y,
|
|
714
|
+
left: (h.left - y.left + p.left) / v.x,
|
|
715
|
+
right: (y.right - h.right + p.right) / v.x
|
|
716
|
+
};
|
|
717
|
+
}
|
|
718
|
+
var Dt = 50, Ot = async (e, t, n) => {
|
|
719
|
+
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
720
|
+
...o,
|
|
721
|
+
detectOverflow: Et
|
|
722
|
+
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
723
|
+
reference: e,
|
|
724
|
+
floating: t,
|
|
725
|
+
strategy: i
|
|
726
|
+
}), { x: u, y: d } = Tt(l, r, c), f = r, p = 0, m = {};
|
|
727
|
+
for (let n = 0; n < a.length; n++) {
|
|
728
|
+
let h = a[n];
|
|
729
|
+
if (!h) continue;
|
|
730
|
+
let { name: g, fn: _ } = h, { x: v, y, data: b, reset: x } = await _({
|
|
731
|
+
x: u,
|
|
732
|
+
y: d,
|
|
733
|
+
initialPlacement: r,
|
|
734
|
+
placement: f,
|
|
735
|
+
strategy: i,
|
|
736
|
+
middlewareData: m,
|
|
737
|
+
rects: l,
|
|
738
|
+
platform: s,
|
|
739
|
+
elements: {
|
|
740
|
+
reference: e,
|
|
741
|
+
floating: t
|
|
742
|
+
}
|
|
743
|
+
});
|
|
744
|
+
u = v ?? u, d = y ?? d, m[g] = {
|
|
745
|
+
...m[g],
|
|
746
|
+
...b
|
|
747
|
+
}, x && p < Dt && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
748
|
+
reference: e,
|
|
749
|
+
floating: t,
|
|
750
|
+
strategy: i
|
|
751
|
+
}) : x.rects), {x: u, y: d} = Tt(l, f, c)), n = -1);
|
|
752
|
+
}
|
|
753
|
+
return {
|
|
754
|
+
x: u,
|
|
755
|
+
y: d,
|
|
756
|
+
placement: f,
|
|
757
|
+
strategy: i,
|
|
758
|
+
middlewareData: m
|
|
759
|
+
};
|
|
760
|
+
}, kt = function(e) {
|
|
761
|
+
return e === void 0 && (e = {}), {
|
|
762
|
+
name: "flip",
|
|
763
|
+
options: e,
|
|
764
|
+
async fn(t) {
|
|
765
|
+
var n;
|
|
766
|
+
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = at(e, t);
|
|
767
|
+
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
768
|
+
let g = ot(r), _ = ut(o), v = ot(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [xt(o)] : pt(o)), x = p !== "none";
|
|
769
|
+
!d && x && b.push(...bt(o, m, p, y));
|
|
770
|
+
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
771
|
+
if (l && w.push(C[g]), u) {
|
|
772
|
+
let e = ft(r, a, y);
|
|
773
|
+
w.push(C[e[0]], C[e[1]]);
|
|
774
|
+
}
|
|
775
|
+
if (T = [...T, {
|
|
776
|
+
placement: r,
|
|
777
|
+
overflows: w
|
|
778
|
+
}], !w.every((e) => e <= 0)) {
|
|
779
|
+
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
780
|
+
if (t && (!(u === "alignment" && _ !== ut(t)) || T.every((e) => ut(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
781
|
+
data: {
|
|
782
|
+
index: e,
|
|
783
|
+
overflows: T
|
|
784
|
+
},
|
|
785
|
+
reset: { placement: t }
|
|
786
|
+
};
|
|
787
|
+
let n = T.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
|
|
788
|
+
if (!n) switch (f) {
|
|
789
|
+
case "bestFit": {
|
|
790
|
+
let e = T.filter((e) => {
|
|
791
|
+
if (x) {
|
|
792
|
+
let t = ut(e.placement);
|
|
793
|
+
return t === _ || t === "y";
|
|
794
|
+
}
|
|
795
|
+
return !0;
|
|
796
|
+
}).map((e) => [e.placement, e.overflows.filter((e) => e > 0).reduce((e, t) => e + t, 0)]).sort((e, t) => e[1] - t[1])[0]?.[0];
|
|
797
|
+
e && (n = e);
|
|
798
|
+
break;
|
|
799
|
+
}
|
|
800
|
+
case "initialPlacement":
|
|
801
|
+
n = o;
|
|
802
|
+
break;
|
|
803
|
+
}
|
|
804
|
+
if (r !== n) return { reset: { placement: n } };
|
|
805
|
+
}
|
|
806
|
+
return {};
|
|
807
|
+
}
|
|
808
|
+
};
|
|
809
|
+
}, At = /* @__PURE__ */ new Set(["left", "top"]);
|
|
810
|
+
async function jt(e, t) {
|
|
811
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = ot(n), s = st(n), c = ut(n) === "y", l = At.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = at(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
812
|
+
mainAxis: d,
|
|
813
|
+
crossAxis: 0,
|
|
814
|
+
alignmentAxis: null
|
|
815
|
+
} : {
|
|
816
|
+
mainAxis: d.mainAxis || 0,
|
|
817
|
+
crossAxis: d.crossAxis || 0,
|
|
818
|
+
alignmentAxis: d.alignmentAxis
|
|
819
|
+
};
|
|
820
|
+
return s && typeof m == "number" && (p = s === "end" ? m * -1 : m), c ? {
|
|
821
|
+
x: p * u,
|
|
822
|
+
y: f * l
|
|
823
|
+
} : {
|
|
824
|
+
x: f * l,
|
|
825
|
+
y: p * u
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
var Mt = function(e) {
|
|
829
|
+
return e === void 0 && (e = 0), {
|
|
830
|
+
name: "offset",
|
|
831
|
+
options: e,
|
|
832
|
+
async fn(t) {
|
|
833
|
+
var n;
|
|
834
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await jt(t, e);
|
|
835
|
+
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
836
|
+
x: r + s.x,
|
|
837
|
+
y: i + s.y,
|
|
838
|
+
data: {
|
|
839
|
+
...s,
|
|
840
|
+
placement: a
|
|
841
|
+
}
|
|
842
|
+
};
|
|
843
|
+
}
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
//#endregion
|
|
847
|
+
//#region ../node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
848
|
+
function Nt() {
|
|
849
|
+
return typeof window < "u";
|
|
850
|
+
}
|
|
851
|
+
function Pt(e) {
|
|
852
|
+
return It(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
853
|
+
}
|
|
854
|
+
function G(e) {
|
|
855
|
+
var t;
|
|
856
|
+
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
857
|
+
}
|
|
858
|
+
function Ft(e) {
|
|
859
|
+
return ((It(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
860
|
+
}
|
|
861
|
+
function It(e) {
|
|
862
|
+
return Nt() ? e instanceof Node || e instanceof G(e).Node : !1;
|
|
863
|
+
}
|
|
864
|
+
function K(e) {
|
|
865
|
+
return Nt() ? e instanceof Element || e instanceof G(e).Element : !1;
|
|
866
|
+
}
|
|
867
|
+
function Lt(e) {
|
|
868
|
+
return Nt() ? e instanceof HTMLElement || e instanceof G(e).HTMLElement : !1;
|
|
869
|
+
}
|
|
870
|
+
function Rt(e) {
|
|
871
|
+
return !Nt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof G(e).ShadowRoot;
|
|
872
|
+
}
|
|
873
|
+
function zt(e) {
|
|
874
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = q(e);
|
|
875
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
876
|
+
}
|
|
877
|
+
function Bt(e) {
|
|
878
|
+
return /^(table|td|th)$/.test(Pt(e));
|
|
879
|
+
}
|
|
880
|
+
function Vt(e) {
|
|
881
|
+
try {
|
|
882
|
+
if (e.matches(":popover-open")) return !0;
|
|
883
|
+
} catch {}
|
|
884
|
+
try {
|
|
885
|
+
return e.matches(":modal");
|
|
886
|
+
} catch {
|
|
887
|
+
return !1;
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
var Ht = /transform|translate|scale|rotate|perspective|filter/, Ut = /paint|layout|strict|content/, Wt = (e) => !!e && e !== "none", Gt;
|
|
891
|
+
function Kt(e) {
|
|
892
|
+
let t = K(e) ? q(e) : e;
|
|
893
|
+
return Wt(t.transform) || Wt(t.translate) || Wt(t.scale) || Wt(t.rotate) || Wt(t.perspective) || !Jt() && (Wt(t.backdropFilter) || Wt(t.filter)) || Ht.test(t.willChange || "") || Ut.test(t.contain || "");
|
|
894
|
+
}
|
|
895
|
+
function qt(e) {
|
|
896
|
+
let t = Zt(e);
|
|
897
|
+
for (; Lt(t) && !Yt(t);) {
|
|
898
|
+
if (Kt(t)) return t;
|
|
899
|
+
if (Vt(t)) return null;
|
|
900
|
+
t = Zt(t);
|
|
901
|
+
}
|
|
902
|
+
return null;
|
|
903
|
+
}
|
|
904
|
+
function Jt() {
|
|
905
|
+
return Gt ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Gt;
|
|
906
|
+
}
|
|
907
|
+
function Yt(e) {
|
|
908
|
+
return /^(html|body|#document)$/.test(Pt(e));
|
|
909
|
+
}
|
|
910
|
+
function q(e) {
|
|
911
|
+
return G(e).getComputedStyle(e);
|
|
912
|
+
}
|
|
913
|
+
function Xt(e) {
|
|
914
|
+
return K(e) ? {
|
|
915
|
+
scrollLeft: e.scrollLeft,
|
|
916
|
+
scrollTop: e.scrollTop
|
|
917
|
+
} : {
|
|
918
|
+
scrollLeft: e.scrollX,
|
|
919
|
+
scrollTop: e.scrollY
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
function Zt(e) {
|
|
923
|
+
if (Pt(e) === "html") return e;
|
|
924
|
+
let t = e.assignedSlot || e.parentNode || Rt(e) && e.host || Ft(e);
|
|
925
|
+
return Rt(t) ? t.host : t;
|
|
926
|
+
}
|
|
927
|
+
function Qt(e) {
|
|
928
|
+
let t = Zt(e);
|
|
929
|
+
return Yt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Lt(t) && zt(t) ? t : Qt(t);
|
|
930
|
+
}
|
|
931
|
+
function $t(e, t, n) {
|
|
932
|
+
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
933
|
+
let r = Qt(e), i = r === e.ownerDocument?.body, a = G(r);
|
|
934
|
+
if (i) {
|
|
935
|
+
let e = en(a);
|
|
936
|
+
return t.concat(a, a.visualViewport || [], zt(r) ? r : [], e && n ? $t(e) : []);
|
|
937
|
+
} else return t.concat(r, $t(r, [], n));
|
|
938
|
+
}
|
|
939
|
+
function en(e) {
|
|
940
|
+
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
941
|
+
}
|
|
942
|
+
//#endregion
|
|
943
|
+
//#region ../node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
944
|
+
function tn(e) {
|
|
945
|
+
let t = q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Lt(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = nt(n) !== a || nt(r) !== o;
|
|
946
|
+
return s && (n = a, r = o), {
|
|
947
|
+
width: n,
|
|
948
|
+
height: r,
|
|
949
|
+
$: s
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
function nn(e) {
|
|
953
|
+
return K(e) ? e : e.contextElement;
|
|
954
|
+
}
|
|
955
|
+
function rn(e) {
|
|
956
|
+
let t = nn(e);
|
|
957
|
+
if (!Lt(t)) return rt(1);
|
|
958
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = tn(t), o = (a ? nt(n.width) : n.width) / r, s = (a ? nt(n.height) : n.height) / i;
|
|
959
|
+
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
960
|
+
x: o,
|
|
961
|
+
y: s
|
|
962
|
+
};
|
|
963
|
+
}
|
|
964
|
+
var an = /* @__PURE__ */ rt(0);
|
|
965
|
+
function on(e) {
|
|
966
|
+
let t = G(e);
|
|
967
|
+
return !Jt() || !t.visualViewport ? an : {
|
|
968
|
+
x: t.visualViewport.offsetLeft,
|
|
969
|
+
y: t.visualViewport.offsetTop
|
|
970
|
+
};
|
|
971
|
+
}
|
|
972
|
+
function sn(e, t, n) {
|
|
973
|
+
return t === void 0 && (t = !1), !n || t && n !== G(e) ? !1 : t;
|
|
974
|
+
}
|
|
975
|
+
function cn(e, t, n, r) {
|
|
976
|
+
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
977
|
+
let i = e.getBoundingClientRect(), a = nn(e), o = rt(1);
|
|
978
|
+
t && (r ? K(r) && (o = rn(r)) : o = rn(e));
|
|
979
|
+
let s = sn(a, n, r) ? on(a) : rt(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
980
|
+
if (a) {
|
|
981
|
+
let e = G(a), t = r && K(r) ? G(r) : r, n = e, i = en(n);
|
|
982
|
+
for (; i && r && t !== n;) {
|
|
983
|
+
let e = rn(i), t = i.getBoundingClientRect(), r = q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
984
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = G(i), i = en(n);
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
return wt({
|
|
988
|
+
width: u,
|
|
989
|
+
height: d,
|
|
990
|
+
x: c,
|
|
991
|
+
y: l
|
|
992
|
+
});
|
|
993
|
+
}
|
|
994
|
+
function ln(e, t) {
|
|
995
|
+
let n = Xt(e).scrollLeft;
|
|
996
|
+
return t ? t.left + n : cn(Ft(e)).left + n;
|
|
997
|
+
}
|
|
998
|
+
function un(e, t) {
|
|
999
|
+
let n = e.getBoundingClientRect();
|
|
1000
|
+
return {
|
|
1001
|
+
x: n.left + t.scrollLeft - ln(e, n),
|
|
1002
|
+
y: n.top + t.scrollTop
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
function dn(e) {
|
|
1006
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Ft(r), s = t ? Vt(t.floating) : !1;
|
|
1007
|
+
if (r === o || s && a) return n;
|
|
1008
|
+
let c = {
|
|
1009
|
+
scrollLeft: 0,
|
|
1010
|
+
scrollTop: 0
|
|
1011
|
+
}, l = rt(1), u = rt(0), d = Lt(r);
|
|
1012
|
+
if ((d || !d && !a) && ((Pt(r) !== "body" || zt(o)) && (c = Xt(r)), d)) {
|
|
1013
|
+
let e = cn(r);
|
|
1014
|
+
l = rn(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
1015
|
+
}
|
|
1016
|
+
let f = o && !d && !a ? un(o, c) : rt(0);
|
|
1017
|
+
return {
|
|
1018
|
+
width: n.width * l.x,
|
|
1019
|
+
height: n.height * l.y,
|
|
1020
|
+
x: n.x * l.x - c.scrollLeft * l.x + u.x + f.x,
|
|
1021
|
+
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
1022
|
+
};
|
|
1023
|
+
}
|
|
1024
|
+
function fn(e) {
|
|
1025
|
+
return Array.from(e.getClientRects());
|
|
1026
|
+
}
|
|
1027
|
+
function pn(e) {
|
|
1028
|
+
let t = Ft(e), n = Xt(e), r = e.ownerDocument.body, i = tt(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = tt(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + ln(e), s = -n.scrollTop;
|
|
1029
|
+
return q(r).direction === "rtl" && (o += tt(t.clientWidth, r.clientWidth) - i), {
|
|
1030
|
+
width: i,
|
|
1031
|
+
height: a,
|
|
1032
|
+
x: o,
|
|
1033
|
+
y: s
|
|
1034
|
+
};
|
|
1035
|
+
}
|
|
1036
|
+
var mn = 25;
|
|
1037
|
+
function hn(e, t) {
|
|
1038
|
+
let n = G(e), r = Ft(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
1039
|
+
if (i) {
|
|
1040
|
+
a = i.width, o = i.height;
|
|
1041
|
+
let e = Jt();
|
|
1042
|
+
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
1043
|
+
}
|
|
1044
|
+
let l = ln(r);
|
|
1045
|
+
if (l <= 0) {
|
|
1046
|
+
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
1047
|
+
o <= mn && (a -= o);
|
|
1048
|
+
} else l <= mn && (a += l);
|
|
1049
|
+
return {
|
|
1050
|
+
width: a,
|
|
1051
|
+
height: o,
|
|
1052
|
+
x: s,
|
|
1053
|
+
y: c
|
|
1054
|
+
};
|
|
1055
|
+
}
|
|
1056
|
+
function gn(e, t) {
|
|
1057
|
+
let n = cn(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Lt(e) ? rn(e) : rt(1);
|
|
1058
|
+
return {
|
|
1059
|
+
width: e.clientWidth * a.x,
|
|
1060
|
+
height: e.clientHeight * a.y,
|
|
1061
|
+
x: i * a.x,
|
|
1062
|
+
y: r * a.y
|
|
1063
|
+
};
|
|
1064
|
+
}
|
|
1065
|
+
function _n(e, t, n) {
|
|
1066
|
+
let r;
|
|
1067
|
+
if (t === "viewport") r = hn(e, n);
|
|
1068
|
+
else if (t === "document") r = pn(Ft(e));
|
|
1069
|
+
else if (K(t)) r = gn(t, n);
|
|
1070
|
+
else {
|
|
1071
|
+
let n = on(e);
|
|
1072
|
+
r = {
|
|
1073
|
+
x: t.x - n.x,
|
|
1074
|
+
y: t.y - n.y,
|
|
1075
|
+
width: t.width,
|
|
1076
|
+
height: t.height
|
|
1077
|
+
};
|
|
1078
|
+
}
|
|
1079
|
+
return wt(r);
|
|
1080
|
+
}
|
|
1081
|
+
function vn(e, t) {
|
|
1082
|
+
let n = Zt(e);
|
|
1083
|
+
return n === t || !K(n) || Yt(n) ? !1 : q(n).position === "fixed" || vn(n, t);
|
|
1084
|
+
}
|
|
1085
|
+
function yn(e, t) {
|
|
1086
|
+
let n = t.get(e);
|
|
1087
|
+
if (n) return n;
|
|
1088
|
+
let r = $t(e, [], !1).filter((e) => K(e) && Pt(e) !== "body"), i = null, a = q(e).position === "fixed", o = a ? Zt(e) : e;
|
|
1089
|
+
for (; K(o) && !Yt(o);) {
|
|
1090
|
+
let t = q(o), n = Kt(o);
|
|
1091
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || zt(o) && !n && vn(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Zt(o);
|
|
1092
|
+
}
|
|
1093
|
+
return t.set(e, r), r;
|
|
1094
|
+
}
|
|
1095
|
+
function bn(e) {
|
|
1096
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Vt(t) ? [] : yn(t, this._c) : [].concat(n), r], o = _n(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
1097
|
+
for (let e = 1; e < a.length; e++) {
|
|
1098
|
+
let n = _n(t, a[e], i);
|
|
1099
|
+
s = tt(n.top, s), c = et(n.right, c), l = et(n.bottom, l), u = tt(n.left, u);
|
|
1100
|
+
}
|
|
1101
|
+
return {
|
|
1102
|
+
width: c - u,
|
|
1103
|
+
height: l - s,
|
|
1104
|
+
x: u,
|
|
1105
|
+
y: s
|
|
1106
|
+
};
|
|
1107
|
+
}
|
|
1108
|
+
function xn(e) {
|
|
1109
|
+
let { width: t, height: n } = tn(e);
|
|
1110
|
+
return {
|
|
1111
|
+
width: t,
|
|
1112
|
+
height: n
|
|
1113
|
+
};
|
|
1114
|
+
}
|
|
1115
|
+
function Sn(e, t, n) {
|
|
1116
|
+
let r = Lt(t), i = Ft(t), a = n === "fixed", o = cn(e, !0, a, t), s = {
|
|
1117
|
+
scrollLeft: 0,
|
|
1118
|
+
scrollTop: 0
|
|
1119
|
+
}, c = rt(0);
|
|
1120
|
+
function l() {
|
|
1121
|
+
c.x = ln(i);
|
|
1122
|
+
}
|
|
1123
|
+
if (r || !r && !a) if ((Pt(t) !== "body" || zt(i)) && (s = Xt(t)), r) {
|
|
1124
|
+
let e = cn(t, !0, a, t);
|
|
1125
|
+
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
1126
|
+
} else i && l();
|
|
1127
|
+
a && !r && i && l();
|
|
1128
|
+
let u = i && !r && !a ? un(i, s) : rt(0);
|
|
1129
|
+
return {
|
|
1130
|
+
x: o.left + s.scrollLeft - c.x - u.x,
|
|
1131
|
+
y: o.top + s.scrollTop - c.y - u.y,
|
|
1132
|
+
width: o.width,
|
|
1133
|
+
height: o.height
|
|
1134
|
+
};
|
|
1135
|
+
}
|
|
1136
|
+
function Cn(e) {
|
|
1137
|
+
return q(e).position === "static";
|
|
1138
|
+
}
|
|
1139
|
+
function wn(e, t) {
|
|
1140
|
+
if (!Lt(e) || q(e).position === "fixed") return null;
|
|
1141
|
+
if (t) return t(e);
|
|
1142
|
+
let n = e.offsetParent;
|
|
1143
|
+
return Ft(e) === n && (n = n.ownerDocument.body), n;
|
|
1144
|
+
}
|
|
1145
|
+
function Tn(e, t) {
|
|
1146
|
+
let n = G(e);
|
|
1147
|
+
if (Vt(e)) return n;
|
|
1148
|
+
if (!Lt(e)) {
|
|
1149
|
+
let t = Zt(e);
|
|
1150
|
+
for (; t && !Yt(t);) {
|
|
1151
|
+
if (K(t) && !Cn(t)) return t;
|
|
1152
|
+
t = Zt(t);
|
|
1153
|
+
}
|
|
1154
|
+
return n;
|
|
1155
|
+
}
|
|
1156
|
+
let r = wn(e, t);
|
|
1157
|
+
for (; r && Bt(r) && Cn(r);) r = wn(r, t);
|
|
1158
|
+
return r && Yt(r) && Cn(r) && !Kt(r) ? n : r || qt(e) || n;
|
|
1159
|
+
}
|
|
1160
|
+
var En = async function(e) {
|
|
1161
|
+
let t = this.getOffsetParent || Tn, n = this.getDimensions, r = await n(e.floating);
|
|
1162
|
+
return {
|
|
1163
|
+
reference: Sn(e.reference, await t(e.floating), e.strategy),
|
|
1164
|
+
floating: {
|
|
1165
|
+
x: 0,
|
|
1166
|
+
y: 0,
|
|
1167
|
+
width: r.width,
|
|
1168
|
+
height: r.height
|
|
1169
|
+
}
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
function Dn(e) {
|
|
1173
|
+
return q(e).direction === "rtl";
|
|
1174
|
+
}
|
|
1175
|
+
var On = {
|
|
1176
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: dn,
|
|
1177
|
+
getDocumentElement: Ft,
|
|
1178
|
+
getClippingRect: bn,
|
|
1179
|
+
getOffsetParent: Tn,
|
|
1180
|
+
getElementRects: En,
|
|
1181
|
+
getClientRects: fn,
|
|
1182
|
+
getDimensions: xn,
|
|
1183
|
+
getScale: rn,
|
|
1184
|
+
isElement: K,
|
|
1185
|
+
isRTL: Dn
|
|
1186
|
+
}, kn = Mt, An = kt, jn = (e, t, n) => {
|
|
1187
|
+
let r = /* @__PURE__ */ new Map(), i = {
|
|
1188
|
+
platform: On,
|
|
1189
|
+
...n
|
|
1190
|
+
}, a = {
|
|
1191
|
+
...i.platform,
|
|
1192
|
+
_c: r
|
|
1193
|
+
};
|
|
1194
|
+
return Ot(e, t, {
|
|
1195
|
+
...i,
|
|
1196
|
+
platform: a
|
|
1197
|
+
});
|
|
1198
|
+
}, J = /* @__PURE__ */ pe({
|
|
1199
|
+
Vue: () => e,
|
|
1200
|
+
Vue2: () => void 0,
|
|
1201
|
+
del: () => Fn,
|
|
1202
|
+
install: () => Nn,
|
|
1203
|
+
isVue2: () => !1,
|
|
1204
|
+
isVue3: () => !0,
|
|
1205
|
+
set: () => Pn
|
|
1206
|
+
});
|
|
1207
|
+
import * as Mn from "vue";
|
|
1208
|
+
me(J, Mn);
|
|
1209
|
+
function Nn() {}
|
|
1210
|
+
function Pn(e, t, n) {
|
|
1211
|
+
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
|
|
1212
|
+
}
|
|
1213
|
+
function Fn(e, t) {
|
|
1214
|
+
if (Array.isArray(e)) {
|
|
1215
|
+
e.splice(t, 1);
|
|
1216
|
+
return;
|
|
1217
|
+
}
|
|
1218
|
+
delete e[t];
|
|
1219
|
+
}
|
|
1220
|
+
//#endregion
|
|
1221
|
+
//#region ../node_modules/.pnpm/@floating-ui+vue@1.1.11_vue@3.5.32_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs
|
|
1222
|
+
function In(e) {
|
|
1223
|
+
return typeof e == "object" && !!e && "$el" in e;
|
|
1224
|
+
}
|
|
1225
|
+
function Ln(e) {
|
|
1226
|
+
if (In(e)) {
|
|
1227
|
+
let t = e.$el;
|
|
1228
|
+
return It(t) && Pt(t) === "#comment" ? null : t;
|
|
187
1229
|
}
|
|
188
|
-
|
|
1230
|
+
return e;
|
|
1231
|
+
}
|
|
1232
|
+
function Rn(e) {
|
|
1233
|
+
return typeof e == "function" ? e() : (0, J.unref)(e);
|
|
1234
|
+
}
|
|
1235
|
+
function zn(e) {
|
|
1236
|
+
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1237
|
+
}
|
|
1238
|
+
function Bn(e, t) {
|
|
1239
|
+
let n = zn(e);
|
|
1240
|
+
return Math.round(t * n) / n;
|
|
1241
|
+
}
|
|
1242
|
+
function Vn(e, t, n) {
|
|
1243
|
+
n === void 0 && (n = {});
|
|
1244
|
+
let r = n.whileElementsMounted, i = (0, J.computed)(() => Rn(n.open) ?? !0), a = (0, J.computed)(() => Rn(n.middleware)), o = (0, J.computed)(() => Rn(n.placement) ?? "bottom"), s = (0, J.computed)(() => Rn(n.strategy) ?? "absolute"), c = (0, J.computed)(() => Rn(n.transform) ?? !0), l = (0, J.computed)(() => Ln(e.value)), u = (0, J.computed)(() => Ln(t.value)), d = (0, J.ref)(0), f = (0, J.ref)(0), p = (0, J.ref)(s.value), m = (0, J.ref)(o.value), h = (0, J.shallowRef)({}), g = (0, J.ref)(!1), _ = (0, J.computed)(() => {
|
|
1245
|
+
let e = {
|
|
1246
|
+
position: p.value,
|
|
1247
|
+
left: "0",
|
|
1248
|
+
top: "0"
|
|
1249
|
+
};
|
|
1250
|
+
if (!u.value) return e;
|
|
1251
|
+
let t = Bn(u.value, d.value), n = Bn(u.value, f.value);
|
|
1252
|
+
return c.value ? {
|
|
1253
|
+
...e,
|
|
1254
|
+
transform: "translate(" + t + "px, " + n + "px)",
|
|
1255
|
+
...zn(u.value) >= 1.5 && { willChange: "transform" }
|
|
1256
|
+
} : {
|
|
1257
|
+
position: p.value,
|
|
1258
|
+
left: t + "px",
|
|
1259
|
+
top: n + "px"
|
|
1260
|
+
};
|
|
1261
|
+
}), v;
|
|
1262
|
+
function y() {
|
|
1263
|
+
if (l.value == null || u.value == null) return;
|
|
1264
|
+
let e = i.value;
|
|
1265
|
+
jn(l.value, u.value, {
|
|
1266
|
+
middleware: a.value,
|
|
1267
|
+
placement: o.value,
|
|
1268
|
+
strategy: s.value
|
|
1269
|
+
}).then((t) => {
|
|
1270
|
+
d.value = t.x, f.value = t.y, p.value = t.strategy, m.value = t.placement, h.value = t.middlewareData, g.value = e !== !1;
|
|
1271
|
+
});
|
|
1272
|
+
}
|
|
1273
|
+
function b() {
|
|
1274
|
+
typeof v == "function" && (v(), v = void 0);
|
|
1275
|
+
}
|
|
1276
|
+
function x() {
|
|
1277
|
+
if (b(), r === void 0) {
|
|
1278
|
+
y();
|
|
1279
|
+
return;
|
|
1280
|
+
}
|
|
1281
|
+
if (l.value != null && u.value != null) {
|
|
1282
|
+
v = r(l.value, u.value, y);
|
|
1283
|
+
return;
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
function S() {
|
|
1287
|
+
i.value || (g.value = !1);
|
|
1288
|
+
}
|
|
1289
|
+
return (0, J.watch)([
|
|
1290
|
+
a,
|
|
1291
|
+
o,
|
|
1292
|
+
s,
|
|
1293
|
+
i
|
|
1294
|
+
], y, { flush: "sync" }), (0, J.watch)([l, u], x, { flush: "sync" }), (0, J.watch)(i, S, { flush: "sync" }), (0, J.getCurrentScope)() && (0, J.onScopeDispose)(b), {
|
|
1295
|
+
x: (0, J.shallowReadonly)(d),
|
|
1296
|
+
y: (0, J.shallowReadonly)(f),
|
|
1297
|
+
strategy: (0, J.shallowReadonly)(p),
|
|
1298
|
+
placement: (0, J.shallowReadonly)(m),
|
|
1299
|
+
middlewareData: (0, J.shallowReadonly)(h),
|
|
1300
|
+
isPositioned: (0, J.shallowReadonly)(g),
|
|
1301
|
+
floatingStyles: _,
|
|
1302
|
+
update: y
|
|
1303
|
+
};
|
|
1304
|
+
}
|
|
1305
|
+
//#endregion
|
|
1306
|
+
//#region src/composables/useSlotPresence.ts
|
|
1307
|
+
function Hn(e, t) {
|
|
1308
|
+
if (e.nodeType !== Node.TEXT_NODE) return !1;
|
|
1309
|
+
let n = e.textContent ?? "";
|
|
1310
|
+
return t ? n.length > 0 : n.trim().length > 0;
|
|
1311
|
+
}
|
|
1312
|
+
function Un(e, t, n) {
|
|
1313
|
+
let r = t === "default" ? "" : t, i = Array.from(e.childNodes);
|
|
1314
|
+
return r === "" ? i.some((e) => e.nodeType === Node.ELEMENT_NODE ? !e.hasAttribute("slot") : Hn(e, n)) : i.some((e) => e.nodeType === Node.ELEMENT_NODE ? e.getAttribute("slot") === r : !1);
|
|
1315
|
+
}
|
|
1316
|
+
function Wn(e) {
|
|
1317
|
+
if (e.shadowRoot) return null;
|
|
1318
|
+
let t = e._slots;
|
|
1319
|
+
return !t || typeof t != "object" ? null : t;
|
|
1320
|
+
}
|
|
1321
|
+
function Gn(e, t, n) {
|
|
1322
|
+
let r = e[t === "" ? "default" : t];
|
|
1323
|
+
return r ? r.some((e) => e.nodeType === Node.ELEMENT_NODE ? !0 : Hn(e, n)) : !1;
|
|
1324
|
+
}
|
|
1325
|
+
function Kn(e, t) {
|
|
1326
|
+
let n = e.shadowRoot;
|
|
1327
|
+
return n ? t === "default" || t === "" ? n.querySelector("slot:not([name])") : n.querySelector(`slot[name="${CSS.escape(t)}"]`) : null;
|
|
1328
|
+
}
|
|
1329
|
+
function qn(e, t, { useShadowSlot: n = !0, countWhitespaceTextInDefaultSlot: r = !1 } = {}) {
|
|
1330
|
+
let i = n ? Kn(e, t) : null;
|
|
1331
|
+
if (i) return i.assignedNodes({ flatten: !0 }).some((e) => e.nodeType === Node.ELEMENT_NODE ? !0 : Hn(e, r));
|
|
1332
|
+
let a = Wn(e);
|
|
1333
|
+
return a ? Gn(a, t, r) : Un(e, t, r);
|
|
1334
|
+
}
|
|
1335
|
+
function Jn(e, t = {}) {
|
|
1336
|
+
let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = He(), l = i ?? ie(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = k(d());
|
|
1337
|
+
C(() => {
|
|
1338
|
+
f.value = d();
|
|
1339
|
+
});
|
|
1340
|
+
let p = k(!1), m = null, h = null, g = () => {
|
|
1341
|
+
m &&= (m.disconnect(), null), h &&= (h.removeEventListener("slotchange", _), null);
|
|
1342
|
+
}, _ = () => {
|
|
1343
|
+
if (!c.value) {
|
|
1344
|
+
p.value = !1;
|
|
1345
|
+
return;
|
|
1346
|
+
}
|
|
1347
|
+
let t = I(n);
|
|
1348
|
+
if (!t) {
|
|
1349
|
+
p.value = !1;
|
|
1350
|
+
return;
|
|
1351
|
+
}
|
|
1352
|
+
p.value = qn(t, e, {
|
|
1353
|
+
useShadowSlot: o,
|
|
1354
|
+
countWhitespaceTextInDefaultSlot: s
|
|
1355
|
+
});
|
|
1356
|
+
}, v = () => {
|
|
1357
|
+
if (!c.value) return;
|
|
1358
|
+
g();
|
|
1359
|
+
let t = I(n);
|
|
1360
|
+
if (!t) {
|
|
1361
|
+
p.value = !1;
|
|
1362
|
+
return;
|
|
1363
|
+
}
|
|
1364
|
+
_(), o && (h = Kn(t, e), h && h.addEventListener("slotchange", _)), a && (m = new MutationObserver(() => _()), m.observe(t, {
|
|
1365
|
+
childList: !0,
|
|
1366
|
+
subtree: !1,
|
|
1367
|
+
attributes: !0,
|
|
1368
|
+
attributeFilter: ["slot"],
|
|
1369
|
+
characterData: !0
|
|
1370
|
+
}));
|
|
1371
|
+
};
|
|
1372
|
+
return w(v), S(g), L(() => I(n), () => {
|
|
1373
|
+
c.value && v();
|
|
1374
|
+
}), {
|
|
1375
|
+
present: r(() => c.value ? p.value : f.value),
|
|
1376
|
+
hasVueSlot: f,
|
|
1377
|
+
hasNativeSlot: p,
|
|
1378
|
+
refresh: _
|
|
1379
|
+
};
|
|
1380
|
+
}
|
|
1381
|
+
//#endregion
|
|
1382
|
+
//#region src/components/base/PvPopoverV2/useHoverPopoverGroup.ts
|
|
1383
|
+
var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
1384
|
+
let n = t.root.value;
|
|
1385
|
+
return n ? !!(e.root.value?.contains(n) || e.floating?.value?.contains(n) || e.hoverArea?.value?.contains(n)) : !1;
|
|
1386
|
+
}, Zn = (e) => (ee(() => Yn.delete(e)), (t) => {
|
|
1387
|
+
if (!t) {
|
|
1388
|
+
Yn.delete(e);
|
|
1389
|
+
return;
|
|
1390
|
+
}
|
|
1391
|
+
for (let t of [...Yn]) t !== e && !Xn(t, e) && t.close() && Yn.delete(t);
|
|
1392
|
+
Yn.add(e);
|
|
1393
|
+
}), Qn = ["popover"], $n = "--pv-popover-v2-anchor", er = /* @__PURE__ */ d({
|
|
1394
|
+
__name: "PvPopoverV2",
|
|
1395
|
+
props: /* @__PURE__ */ g({
|
|
1396
|
+
disableAutoPlacement: {
|
|
1397
|
+
type: Boolean,
|
|
1398
|
+
default: !1
|
|
1399
|
+
},
|
|
1400
|
+
position: {
|
|
1401
|
+
default: "bottom-left",
|
|
1402
|
+
type: String
|
|
1403
|
+
},
|
|
1404
|
+
positioningStrategy: {
|
|
1405
|
+
default: "absolute",
|
|
1406
|
+
type: String
|
|
1407
|
+
},
|
|
1408
|
+
showOnHover: {
|
|
1409
|
+
type: Boolean,
|
|
1410
|
+
default: !1
|
|
1411
|
+
},
|
|
1412
|
+
hoverTarget: { type: String },
|
|
1413
|
+
disableInteractive: {
|
|
1414
|
+
type: Boolean,
|
|
1415
|
+
default: !1
|
|
1416
|
+
},
|
|
1417
|
+
enableClickToggle: {
|
|
1418
|
+
type: Boolean,
|
|
1419
|
+
default: !1
|
|
1420
|
+
},
|
|
1421
|
+
enableGroupSync: {
|
|
1422
|
+
type: Boolean,
|
|
1423
|
+
default: !1
|
|
1424
|
+
},
|
|
1425
|
+
useTeleport: {
|
|
1426
|
+
type: Boolean,
|
|
1427
|
+
default: !1
|
|
1428
|
+
},
|
|
1429
|
+
disableClickOutsideToClose: {
|
|
1430
|
+
type: Boolean,
|
|
1431
|
+
default: !1
|
|
1432
|
+
},
|
|
1433
|
+
delay: {
|
|
1434
|
+
default: 25,
|
|
1435
|
+
type: Number
|
|
1436
|
+
},
|
|
1437
|
+
closeDelay: {
|
|
1438
|
+
default: 200,
|
|
1439
|
+
type: Number
|
|
1440
|
+
},
|
|
1441
|
+
zIndex: {
|
|
1442
|
+
default: 10,
|
|
1443
|
+
type: Number
|
|
1444
|
+
},
|
|
1445
|
+
teleportLocation: {
|
|
1446
|
+
default: "body",
|
|
1447
|
+
type: null
|
|
1448
|
+
},
|
|
1449
|
+
offset: { type: Number },
|
|
1450
|
+
ignoreClickOutsideClasses: { type: Array },
|
|
1451
|
+
disabled: {
|
|
1452
|
+
type: Boolean,
|
|
1453
|
+
default: !1
|
|
1454
|
+
},
|
|
1455
|
+
cssCustomProperties: {
|
|
1456
|
+
default: () => ({}),
|
|
1457
|
+
type: Object
|
|
1458
|
+
}
|
|
1459
|
+
}, {
|
|
1460
|
+
modelValue: { type: Boolean },
|
|
1461
|
+
modelModifiers: {}
|
|
1462
|
+
}),
|
|
1463
|
+
emits: ["update:modelValue"],
|
|
1464
|
+
setup(e) {
|
|
1465
|
+
let t = e, c = re(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = Jn("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
|
|
1466
|
+
"anchor-name: --pv-anchor",
|
|
1467
|
+
"position-area: bottom",
|
|
1468
|
+
"position-try-fallbacks: flip-block",
|
|
1469
|
+
"position-visibility: anchors-visible",
|
|
1470
|
+
`anchor-scope: ${$n}`
|
|
1471
|
+
].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C = r(() => t.hoverTarget && y.value?.closest(t.hoverTarget) || y.value), T = Le(C), D = Le(S), O = k(!1), A = k(!1), M = k(!1), te = Zn({
|
|
1472
|
+
root: _,
|
|
1473
|
+
floating: S,
|
|
1474
|
+
hoverArea: r(() => t.hoverTarget ? C.value : null),
|
|
1475
|
+
close: () => t.disableClickOutsideToClose ? !1 : (me(), !0)
|
|
1476
|
+
}), N = {
|
|
1477
|
+
"top-center": "top",
|
|
1478
|
+
"bottom-center": "bottom",
|
|
1479
|
+
"center-left": "left",
|
|
1480
|
+
"center-right": "right",
|
|
1481
|
+
"right-top": "right-start",
|
|
1482
|
+
"right-bottom": "right-end",
|
|
1483
|
+
"top-left": "top-start",
|
|
1484
|
+
"top-right": "top-end",
|
|
1485
|
+
"bottom-left": "bottom-start",
|
|
1486
|
+
"bottom-right": "bottom-end"
|
|
1487
|
+
}, P = {
|
|
1488
|
+
"top-center": {
|
|
1489
|
+
area: "top",
|
|
1490
|
+
margin: "margin-block-end"
|
|
1491
|
+
},
|
|
1492
|
+
"bottom-center": {
|
|
1493
|
+
area: "bottom",
|
|
1494
|
+
margin: "margin-block-start"
|
|
1495
|
+
},
|
|
1496
|
+
"center-left": {
|
|
1497
|
+
area: "left",
|
|
1498
|
+
margin: "margin-inline-end"
|
|
1499
|
+
},
|
|
1500
|
+
"center-right": {
|
|
1501
|
+
area: "right",
|
|
1502
|
+
margin: "margin-inline-start"
|
|
1503
|
+
},
|
|
1504
|
+
"right-top": {
|
|
1505
|
+
area: "span-bottom right",
|
|
1506
|
+
margin: "margin-inline-start"
|
|
1507
|
+
},
|
|
1508
|
+
"right-bottom": {
|
|
1509
|
+
area: "span-top right",
|
|
1510
|
+
margin: "margin-inline-start"
|
|
1511
|
+
},
|
|
1512
|
+
"top-left": {
|
|
1513
|
+
area: "top span-right",
|
|
1514
|
+
margin: "margin-block-end"
|
|
1515
|
+
},
|
|
1516
|
+
"top-right": {
|
|
1517
|
+
area: "top span-left",
|
|
1518
|
+
margin: "margin-block-end"
|
|
1519
|
+
},
|
|
1520
|
+
"bottom-left": {
|
|
1521
|
+
area: "bottom span-right",
|
|
1522
|
+
margin: "margin-block-start"
|
|
1523
|
+
},
|
|
1524
|
+
"bottom-right": {
|
|
1525
|
+
area: "bottom span-left",
|
|
1526
|
+
margin: "margin-block-start"
|
|
1527
|
+
}
|
|
1528
|
+
}, ne = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), F = r(() => ({
|
|
1529
|
+
width: "fit-content",
|
|
1530
|
+
...h ? { "anchor-scope": $n } : void 0,
|
|
1531
|
+
...t.cssCustomProperties
|
|
1532
|
+
})), ie = r(() => h ? { "anchor-name": $n } : void 0), oe = r(() => {
|
|
1533
|
+
let e = P[t.position];
|
|
1534
|
+
return {
|
|
1535
|
+
"position-anchor": $n,
|
|
1536
|
+
"position-area": e.area,
|
|
1537
|
+
"position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
|
|
1538
|
+
[e.margin]: `${t.offset ?? 0}px`
|
|
1539
|
+
};
|
|
1540
|
+
}), R = () => {}, ce = () => ({});
|
|
1541
|
+
if (!h) {
|
|
1542
|
+
let e = [];
|
|
1543
|
+
t.disableAutoPlacement || e.push(An({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(kn(t.offset));
|
|
1544
|
+
let n = Vn(b, S, {
|
|
1545
|
+
placement: N[t.position],
|
|
1546
|
+
strategy: t.positioningStrategy,
|
|
1547
|
+
middleware: e
|
|
1548
|
+
});
|
|
1549
|
+
R = n.update, ce = () => n.floatingStyles.value;
|
|
1550
|
+
let i = Ie(b), a = /* @__PURE__ */ we(() => {
|
|
1551
|
+
c.value && R();
|
|
1552
|
+
}, 5);
|
|
1553
|
+
L([
|
|
1554
|
+
i.top,
|
|
1555
|
+
i.left,
|
|
1556
|
+
i.width,
|
|
1557
|
+
i.height
|
|
1558
|
+
], a), Ae(_, () => {
|
|
1559
|
+
t.disableClickOutsideToClose || z(!1);
|
|
1560
|
+
}, { ignore: r(() => [
|
|
1561
|
+
S.value,
|
|
1562
|
+
".p-datepicker-panel",
|
|
1563
|
+
...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
|
|
1564
|
+
]) });
|
|
1565
|
+
}
|
|
1566
|
+
let le = r(() => ({
|
|
1567
|
+
...ce(),
|
|
1568
|
+
zIndex: t.zIndex
|
|
1569
|
+
})), ue, de, fe = () => {
|
|
1570
|
+
ue && clearTimeout(ue), ue = void 0;
|
|
1571
|
+
}, pe = () => {
|
|
1572
|
+
de && clearTimeout(de), de = void 0;
|
|
1573
|
+
}, z = (e) => {
|
|
1574
|
+
fe(), pe(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? ue = setTimeout(() => {
|
|
1575
|
+
c.value = !0, ue = void 0;
|
|
1576
|
+
}, t.delay) : c.value = e);
|
|
1577
|
+
}, me = () => {
|
|
1578
|
+
fe(), pe(), c.value = !1;
|
|
1579
|
+
}, B = () => {
|
|
1580
|
+
let e = S.value;
|
|
1581
|
+
!e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
1582
|
+
}, he = r(() => !!c.value && (D.value || A.value)), V = r(() => !t.showOnHover || M.value ? !1 : t.disableInteractive ? T.value || O.value : T.value || O.value || he.value);
|
|
1583
|
+
L([
|
|
1584
|
+
T,
|
|
1585
|
+
O,
|
|
1586
|
+
A
|
|
1587
|
+
], ([e, t, n]) => {
|
|
1588
|
+
!e && !t && !n && (M.value = !1);
|
|
1589
|
+
});
|
|
1590
|
+
let ge = ({ target: e }) => {
|
|
1591
|
+
O.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1592
|
+
}, _e = ({ target: e }) => {
|
|
1593
|
+
A.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1594
|
+
}, H = () => {
|
|
1595
|
+
A.value = !1;
|
|
1596
|
+
}, ve = () => {
|
|
1597
|
+
if (t.showOnHover) {
|
|
1598
|
+
if (t.disableClickOutsideToClose) return;
|
|
1599
|
+
if (!c.value && !ue && t.enableClickToggle) {
|
|
1600
|
+
M.value = !1, z(!0);
|
|
1601
|
+
return;
|
|
1602
|
+
}
|
|
1603
|
+
M.value = !0, me();
|
|
1604
|
+
return;
|
|
1605
|
+
}
|
|
1606
|
+
z(ue ? !1 : !c.value);
|
|
1607
|
+
}, ye = (e) => {
|
|
1608
|
+
let t = e.newState === "open";
|
|
1609
|
+
c.value !== t && (c.value = t);
|
|
1610
|
+
}, be = (e) => {
|
|
1611
|
+
h && ne.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), z(!1));
|
|
1612
|
+
};
|
|
1613
|
+
return L(c, async (e) => {
|
|
1614
|
+
if (t.showOnHover && t.enableGroupSync && te(!!e), !h) {
|
|
1615
|
+
e && R();
|
|
1616
|
+
return;
|
|
1617
|
+
}
|
|
1618
|
+
await v(), B();
|
|
1619
|
+
}), L(V, (e) => {
|
|
1620
|
+
if (t.showOnHover) {
|
|
1621
|
+
if (e) {
|
|
1622
|
+
z(!0);
|
|
1623
|
+
return;
|
|
1624
|
+
}
|
|
1625
|
+
fe(), t.closeDelay > 0 ? (pe(), de = setTimeout(() => {
|
|
1626
|
+
de = void 0, V.value || z(!1);
|
|
1627
|
+
}, t.closeDelay)) : z(!1);
|
|
1628
|
+
}
|
|
1629
|
+
}), L(m, (e) => {
|
|
1630
|
+
e ? h && c.value && v(B) : me();
|
|
1631
|
+
}), w(() => {
|
|
1632
|
+
b.value = y.value, g.value = !0, c.value && v(() => h ? B() : R());
|
|
1633
|
+
}), ee(() => {
|
|
1634
|
+
fe(), pe();
|
|
1635
|
+
}), L(() => t.disabled, (e) => {
|
|
1636
|
+
if (!e) {
|
|
1637
|
+
V.value && z(!0);
|
|
1638
|
+
return;
|
|
1639
|
+
}
|
|
1640
|
+
O.value &&= !1, A.value &&= !1, z(!1);
|
|
1641
|
+
}), (r, l) => (E(), o("div", {
|
|
1642
|
+
ref_key: "root",
|
|
1643
|
+
ref: _,
|
|
1644
|
+
style: x(F.value),
|
|
1645
|
+
onKeydown: be
|
|
1646
|
+
}, [s("div", {
|
|
1647
|
+
ref_key: "triggerWrapper",
|
|
1648
|
+
ref: y,
|
|
1649
|
+
style: x(ie.value),
|
|
1650
|
+
onClick: ve,
|
|
1651
|
+
onFocusin: ge,
|
|
1652
|
+
onFocusout: l[0] ||= (e) => O.value = !1
|
|
1653
|
+
}, [j(r.$slots, "trigger")], 36), g.value && I(h) && m.value ? (E(), o("div", {
|
|
1654
|
+
key: 0,
|
|
1655
|
+
ref_key: "floating",
|
|
1656
|
+
ref: S,
|
|
1657
|
+
class: "pv-floating pv-floating-native",
|
|
1658
|
+
popover: ne.value,
|
|
1659
|
+
style: x(oe.value),
|
|
1660
|
+
onToggle: ye,
|
|
1661
|
+
onFocusin: _e,
|
|
1662
|
+
onFocusout: H
|
|
1663
|
+
}, [e.disabled ? a("v-if", !0) : j(r.$slots, "content", { key: 0 })], 44, Qn)) : m.value ? (E(), i(n, {
|
|
1664
|
+
key: 1,
|
|
1665
|
+
to: e.teleportLocation,
|
|
1666
|
+
disabled: !t.useTeleport || e.disabled
|
|
1667
|
+
}, [se(s("div", {
|
|
1668
|
+
ref_key: "floating",
|
|
1669
|
+
ref: S,
|
|
1670
|
+
class: "pv-floating",
|
|
1671
|
+
style: x(le.value),
|
|
1672
|
+
onFocusin: _e,
|
|
1673
|
+
onFocusout: H
|
|
1674
|
+
}, [j(r.$slots, "content")], 36), [[ae, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1675
|
+
}
|
|
1676
|
+
}), tr = ["data-variant"], nr = /* @__PURE__ */ d({
|
|
1677
|
+
__name: "PvTooltipV2",
|
|
1678
|
+
props: {
|
|
1679
|
+
variant: {
|
|
1680
|
+
default: "dark",
|
|
1681
|
+
type: String
|
|
1682
|
+
},
|
|
1683
|
+
label: { type: String },
|
|
1684
|
+
description: { type: String },
|
|
1685
|
+
size: {
|
|
1686
|
+
default: "md",
|
|
1687
|
+
type: String
|
|
1688
|
+
},
|
|
1689
|
+
disableAutoPlacement: { type: Boolean },
|
|
1690
|
+
position: {
|
|
1691
|
+
default: "top-center",
|
|
1692
|
+
type: String
|
|
1693
|
+
},
|
|
1694
|
+
positioningStrategy: { type: String },
|
|
1695
|
+
showOnHover: {
|
|
1696
|
+
type: Boolean,
|
|
1697
|
+
default: !0
|
|
1698
|
+
},
|
|
1699
|
+
hoverTarget: { type: String },
|
|
1700
|
+
disableInteractive: {
|
|
1701
|
+
type: Boolean,
|
|
1702
|
+
default: !1
|
|
1703
|
+
},
|
|
1704
|
+
enableClickToggle: { type: Boolean },
|
|
1705
|
+
enableGroupSync: { type: Boolean },
|
|
1706
|
+
useTeleport: { type: Boolean },
|
|
1707
|
+
disableClickOutsideToClose: { type: Boolean },
|
|
1708
|
+
delay: {
|
|
1709
|
+
default: 0,
|
|
1710
|
+
type: Number
|
|
1711
|
+
},
|
|
1712
|
+
closeDelay: { type: Number },
|
|
1713
|
+
zIndex: { type: Number },
|
|
1714
|
+
teleportLocation: { type: null },
|
|
1715
|
+
offset: { type: Number },
|
|
1716
|
+
ignoreClickOutsideClasses: { type: Array },
|
|
1717
|
+
disabled: { type: Boolean },
|
|
1718
|
+
cssCustomProperties: { type: Object }
|
|
1719
|
+
},
|
|
1720
|
+
setup(e) {
|
|
1721
|
+
let t = e, n = p(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = Jn("content", { host: a }), d = r(() => a ? u.value : o.value), f = r(() => !!t.description || d.value);
|
|
1722
|
+
return (t, n) => (E(), i(er, b(h(t.$props)), c({
|
|
1723
|
+
trigger: R(() => [j(t.$slots, "trigger", {}, () => [s("p", null, P(e.label), 1)])]),
|
|
1724
|
+
_: 2
|
|
1725
|
+
}, [f.value ? {
|
|
1726
|
+
name: "content",
|
|
1727
|
+
fn: R(() => [s("div", {
|
|
1728
|
+
class: y(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
|
|
1729
|
+
role: "tooltip",
|
|
1730
|
+
"data-variant": e.variant
|
|
1731
|
+
}, [j(t.$slots, "content", {}, () => [l(P(e.description), 1)])], 10, tr)]),
|
|
1732
|
+
key: "0"
|
|
1733
|
+
} : void 0]), 1040));
|
|
1734
|
+
}
|
|
1735
|
+
}), rr = (e) => !!(e.active || e.children?.some(rr)), ir = {
|
|
1736
|
+
class: "pv-popover",
|
|
1737
|
+
style: {
|
|
1738
|
+
"--position": "static",
|
|
1739
|
+
"--height": "350px"
|
|
1740
|
+
}
|
|
1741
|
+
}, ar = {
|
|
1742
|
+
role: "list",
|
|
1743
|
+
class: "pv-popover-list"
|
|
1744
|
+
}, or = ["data-active"], sr = [
|
|
1745
|
+
"href",
|
|
1746
|
+
"role",
|
|
1747
|
+
"tabindex",
|
|
1748
|
+
"data-active",
|
|
1749
|
+
"aria-expanded"
|
|
1750
|
+
], cr = {
|
|
1751
|
+
key: 0,
|
|
1752
|
+
class: "pv-tag-purple pv-tag-sm"
|
|
1753
|
+
}, lr = ["href"], ur = {
|
|
1754
|
+
key: 0,
|
|
1755
|
+
class: "pv-tag-purple pv-tag-sm"
|
|
1756
|
+
}, dr = /* @__PURE__ */ d({
|
|
1757
|
+
name: "PvSidebarNavFlyout",
|
|
1758
|
+
__name: "PvSidebarNavFlyout",
|
|
1759
|
+
props: {
|
|
1760
|
+
items: { type: Array },
|
|
1761
|
+
disabled: { type: Boolean }
|
|
1762
|
+
},
|
|
1763
|
+
setup(e) {
|
|
1764
|
+
let n = k({});
|
|
1765
|
+
return (r, c) => {
|
|
1766
|
+
let l = M("PvSidebarNavFlyout", !0);
|
|
1767
|
+
return E(), o("div", ir, [s("ul", ar, [(E(!0), o(t, null, A(e.items, (t) => (E(), o("li", {
|
|
1768
|
+
key: t.value,
|
|
1769
|
+
"data-active": !t.children?.length && t.active || void 0
|
|
1770
|
+
}, [a(" Nested items - another flyout on the right, rendered inside this one so hovering it keeps this open.\n Not teleported: the nested surface has to stay a DOM descendant of this one for that to hold. "), t.children?.length ? (E(), i(er, {
|
|
1771
|
+
key: 0,
|
|
1772
|
+
modelValue: n.value[t.value],
|
|
1773
|
+
"onUpdate:modelValue": (e) => n.value[t.value] = e,
|
|
1774
|
+
"show-on-hover": "",
|
|
1775
|
+
"enable-group-sync": "",
|
|
1776
|
+
"enable-click-toggle": "",
|
|
1777
|
+
position: "right-top",
|
|
1778
|
+
offset: 8,
|
|
1779
|
+
disabled: e.disabled,
|
|
1780
|
+
"css-custom-properties": { width: "100%" }
|
|
1781
|
+
}, {
|
|
1782
|
+
trigger: R(() => [s("a", _({ href: t.url }, { ref_for: !0 }, t.linkAttrs, {
|
|
1783
|
+
role: t.url ? void 0 : "button",
|
|
1784
|
+
tabindex: t.url ? void 0 : 0,
|
|
1785
|
+
"data-active": I(rr)(t) || void 0,
|
|
1786
|
+
"aria-haspopup": "true",
|
|
1787
|
+
"aria-expanded": !!n.value[t.value],
|
|
1788
|
+
style: { "flex-wrap": "wrap" }
|
|
1789
|
+
}), [
|
|
1790
|
+
s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": t.external }]) }, P(t.label), 3),
|
|
1791
|
+
t.badge ? (E(), o("span", cr, P(t.badge.toUpperCase()), 1)) : a("v-if", !0),
|
|
1792
|
+
u(W, {
|
|
1793
|
+
name: "chevron-right",
|
|
1794
|
+
class: "pv-icon-16"
|
|
1795
|
+
})
|
|
1796
|
+
], 16, sr)]),
|
|
1797
|
+
content: R(() => [u(l, {
|
|
1798
|
+
items: t.children,
|
|
1799
|
+
disabled: e.disabled
|
|
1800
|
+
}, null, 8, ["items", "disabled"])]),
|
|
1801
|
+
_: 2
|
|
1802
|
+
}, 1032, [
|
|
1803
|
+
"modelValue",
|
|
1804
|
+
"onUpdate:modelValue",
|
|
1805
|
+
"disabled"
|
|
1806
|
+
])) : (E(), o("a", _({
|
|
1807
|
+
key: 1,
|
|
1808
|
+
href: t.url
|
|
1809
|
+
}, { ref_for: !0 }, t.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": t.external }]) }, P(t.label), 3), t.badge ? (E(), o("span", ur, P(t.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, lr))], 8, or))), 128))])]);
|
|
1810
|
+
};
|
|
1811
|
+
}
|
|
1812
|
+
}), fr = {
|
|
1813
|
+
key: 0,
|
|
1814
|
+
class: "sidebar-additional-header"
|
|
1815
|
+
}, pr = { class: "sidebar-header-content pv-full-width" }, mr = {
|
|
1816
|
+
key: 0,
|
|
1817
|
+
class: "pv-sidebar-nav-header"
|
|
1818
|
+
}, hr = ["aria-label", "aria-expanded"], gr = {
|
|
1819
|
+
class: "pv-flex",
|
|
1820
|
+
style: { "min-width": "0" }
|
|
1821
|
+
}, _r = {
|
|
1822
|
+
class: "pv-avatar-xs",
|
|
1823
|
+
style: {
|
|
1824
|
+
"border-radius": "4px",
|
|
1825
|
+
"flex-shrink": "0"
|
|
1826
|
+
}
|
|
1827
|
+
}, vr = ["src"], yr = { key: 1 }, br = ["title"], xr = {
|
|
1828
|
+
class: "pv-popover",
|
|
1829
|
+
style: {
|
|
1830
|
+
width: "fit-content",
|
|
1831
|
+
"max-width": "280px",
|
|
1832
|
+
"margin-top": "4px"
|
|
1833
|
+
}
|
|
1834
|
+
}, Sr = {
|
|
1835
|
+
role: "list",
|
|
1836
|
+
class: "pv-popover-list pv-flow",
|
|
1837
|
+
style: { "--flow-size": "0.25rem" },
|
|
1838
|
+
"data-testid": "pv-sidebar-org-list"
|
|
1839
|
+
}, Cr = ["data-active"], wr = ["href", "data-org-value"], Tr = {
|
|
1840
|
+
class: "pv-avatar-xs",
|
|
1841
|
+
style: { "border-radius": "4px" }
|
|
1842
|
+
}, Er = ["src"], Dr = { key: 1 }, Or = ["title"], kr = ["data-active"], Ar = ["href", "data-org-value"], jr = ["title"], Mr = { class: "pv-sidebar-nav" }, Nr = { key: 0 }, Pr = {
|
|
1843
|
+
key: 1,
|
|
1844
|
+
role: "list",
|
|
1845
|
+
class: "pv-full-width pv-flow",
|
|
1846
|
+
style: { "--flow-size": "0.25rem" }
|
|
1847
|
+
}, Fr = {
|
|
1848
|
+
key: 0,
|
|
1849
|
+
class: "pv-sidebar-nav-separator",
|
|
1850
|
+
"aria-hidden": "true"
|
|
1851
|
+
}, Ir = {
|
|
1852
|
+
class: "pv-flex pv-space-between pv-full-width",
|
|
1853
|
+
"data-sidebar-expanded-content": "",
|
|
1854
|
+
style: { "flex-wrap": "wrap" }
|
|
1855
|
+
}, Lr = {
|
|
1856
|
+
key: 0,
|
|
1857
|
+
class: "pv-tag-purple pv-tag-sm"
|
|
1858
|
+
}, Rr = ["onClick", "onKeydown"], zr = [
|
|
1859
|
+
"href",
|
|
1860
|
+
"aria-current",
|
|
1861
|
+
"title"
|
|
1862
|
+
], Br = {
|
|
1863
|
+
class: "pv-flex pv-space-between pv-full-width",
|
|
1864
|
+
"data-sidebar-expanded-content": "",
|
|
1865
|
+
style: { "flex-wrap": "wrap" }
|
|
1866
|
+
}, Vr = {
|
|
1867
|
+
key: 0,
|
|
1868
|
+
class: "pv-tag-purple pv-tag-sm"
|
|
1869
|
+
}, Hr = {
|
|
1870
|
+
class: "pv-popover",
|
|
1871
|
+
style: { "--position": "static" }
|
|
1872
|
+
}, Ur = {
|
|
1873
|
+
role: "list",
|
|
1874
|
+
class: "pv-popover-list"
|
|
1875
|
+
}, Wr = ["data-active"], Gr = ["href"], Kr = {
|
|
1876
|
+
key: 0,
|
|
1877
|
+
class: "pv-tag-purple pv-tag-sm"
|
|
1878
|
+
}, qr = ["onClick", "onAuxclick"], Jr = { "data-sidebar-expanded-content": "" }, Yr = { class: "pv-sidebar-nav-nested" }, Xr = [
|
|
1879
|
+
"href",
|
|
1880
|
+
"role",
|
|
1881
|
+
"tabindex",
|
|
1882
|
+
"aria-current",
|
|
1883
|
+
"aria-expanded",
|
|
1884
|
+
"title"
|
|
1885
|
+
], Zr = {
|
|
1886
|
+
class: "pv-flex pv-space-between pv-full-width",
|
|
1887
|
+
style: { "flex-wrap": "wrap" }
|
|
1888
|
+
}, Qr = {
|
|
1889
|
+
key: 0,
|
|
1890
|
+
class: "pv-tag-purple pv-tag-sm"
|
|
1891
|
+
}, $r = [
|
|
1892
|
+
"href",
|
|
1893
|
+
"aria-current",
|
|
1894
|
+
"title"
|
|
1895
|
+
], ei = {
|
|
1896
|
+
class: "pv-flex pv-space-between pv-full-width",
|
|
1897
|
+
style: { "flex-wrap": "wrap" }
|
|
1898
|
+
}, ti = {
|
|
1899
|
+
key: 0,
|
|
1900
|
+
class: "pv-tag-purple pv-tag-sm"
|
|
1901
|
+
}, ni = {
|
|
1902
|
+
class: "pv-sidebar-nav-footer pv-sticky",
|
|
1903
|
+
style: { "--bottom": "0" }
|
|
1904
|
+
}, ri = ["aria-expanded"], ii = { class: "pv-popover pv-text-default pv-text-body-md" }, ai = [
|
|
1905
|
+
"aria-label",
|
|
1906
|
+
"aria-expanded",
|
|
1907
|
+
"title"
|
|
1908
|
+
], oi = {
|
|
1909
|
+
class: "pv-avatar-xs",
|
|
1910
|
+
style: {
|
|
1911
|
+
"border-radius": "50%",
|
|
1912
|
+
"flex-shrink": "0"
|
|
1913
|
+
}
|
|
1914
|
+
}, si = ["src"], ci = { key: 1 }, li = {
|
|
1915
|
+
class: "pv-truncate",
|
|
1916
|
+
"data-sidebar-expanded-content": ""
|
|
1917
|
+
}, ui = {
|
|
1918
|
+
class: "pv-popover pv-text-default pv-text-body-md",
|
|
1919
|
+
style: { "--height": "750px" }
|
|
1920
|
+
}, di = { class: "content-panel" }, fi = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", pi = /* @__PURE__ */ d({
|
|
189
1921
|
__name: "PvSidebar",
|
|
190
|
-
props: /* @__PURE__ */
|
|
1922
|
+
props: /* @__PURE__ */ g({
|
|
1923
|
+
disableOrgProfileHover: { type: Boolean },
|
|
191
1924
|
disableToggle: { type: Boolean },
|
|
192
|
-
|
|
193
|
-
|
|
1925
|
+
navItems: { type: Array },
|
|
1926
|
+
organizations: { type: Array },
|
|
1927
|
+
profile: { type: Object },
|
|
1928
|
+
variant: { type: String }
|
|
194
1929
|
}, {
|
|
195
1930
|
modelValue: {
|
|
196
1931
|
type: Boolean,
|
|
@@ -198,108 +1933,494 @@ var E = [
|
|
|
198
1933
|
},
|
|
199
1934
|
modelModifiers: {}
|
|
200
1935
|
}),
|
|
201
|
-
emits: /* @__PURE__ */
|
|
202
|
-
setup(e, { emit:
|
|
203
|
-
let
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
1936
|
+
emits: /* @__PURE__ */ g(["change"], ["update:modelValue"]),
|
|
1937
|
+
setup(e, { emit: n }) {
|
|
1938
|
+
let c = e, d = p(), f = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = Jn("sidebar-additional-content", { host: f }), { present: h } = Jn("sidebar-additional-header", { host: f }), { present: g } = Jn("sidebar-help-content", { host: f }), { present: b } = Jn("sidebar-profile-content", { host: f }), C = ie(), T = k(null), ee = k(null), D = k({}), O = k(), M = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), ne = k(0), F = Ie(ee), ae = r(() => ({
|
|
1939
|
+
"--pv-sidebar-hover-panel-height": `${F.height.value}px`,
|
|
1940
|
+
"--pv-sidebar-hover-panel-left": `${F.right.value}px`,
|
|
1941
|
+
"--pv-sidebar-hover-panel-top": `${F.top.value}px`
|
|
1942
|
+
})), oe, se = (e) => e.hoverPanelSlot ? f ? (ne.value, qn(f, e.hoverPanelSlot)) : !!C[e.hoverPanelSlot] : !1, le = (e, t, n) => {
|
|
1943
|
+
n instanceof HTMLElement ? e.set(t, n) : e.delete(t);
|
|
1944
|
+
}, ue = (e) => {
|
|
1945
|
+
let t = M.get(e), n = t?.querySelector(fi);
|
|
1946
|
+
if (n) return n;
|
|
1947
|
+
for (let e of t?.querySelectorAll("slot") ?? []) for (let t of e.assignedElements({ flatten: !0 })) {
|
|
1948
|
+
if (t.matches(fi)) return t;
|
|
1949
|
+
let e = t.querySelector(fi);
|
|
1950
|
+
if (e) return e;
|
|
1951
|
+
}
|
|
1952
|
+
}, de = (e, t) => {
|
|
1953
|
+
if (e.shiftKey) return;
|
|
1954
|
+
let n = ue(t);
|
|
1955
|
+
n && (e.preventDefault(), D.value[t] = !0, v(() => n.focus()));
|
|
1956
|
+
}, fe = (e) => {
|
|
1957
|
+
O.value = e, D.value[e] = !1, v(() => {
|
|
1958
|
+
N.get(e)?.focus({ preventScroll: !0 }), v(() => O.value = void 0);
|
|
211
1959
|
});
|
|
212
|
-
},
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}, x = () => {
|
|
217
|
-
o.newVersion || (f &&= (clearTimeout(f), null), ee(), u.value = !1);
|
|
218
|
-
}, S = () => {
|
|
219
|
-
f &&= (clearTimeout(f), null), s.value = !s.value, l("change", { collapsed: s.value });
|
|
1960
|
+
}, pe = (e, t) => {
|
|
1961
|
+
e.composedPath().some((e) => e instanceof Element && e.hasAttribute("data-sidebar-nav-panel-close")) && fe(t);
|
|
1962
|
+
}, z = (e, t) => {
|
|
1963
|
+
e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), fe(t));
|
|
220
1964
|
};
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
{
|
|
225
|
-
|
|
226
|
-
"
|
|
227
|
-
|
|
1965
|
+
w(() => {
|
|
1966
|
+
f && (oe = new MutationObserver((e) => {
|
|
1967
|
+
e.some((e) => e.target === f || e.type === "attributes" && e.target.parentNode === f) && (ne.value += 1);
|
|
1968
|
+
}), oe.observe(f, {
|
|
1969
|
+
attributes: !0,
|
|
1970
|
+
attributeFilter: ["slot"],
|
|
1971
|
+
childList: !0,
|
|
1972
|
+
subtree: !0
|
|
1973
|
+
}));
|
|
1974
|
+
}), S(() => oe?.disconnect());
|
|
1975
|
+
let me = (e) => {
|
|
1976
|
+
for (let t of e) {
|
|
1977
|
+
if (t.active) return t;
|
|
1978
|
+
let e = t.entities && me(t.entities);
|
|
1979
|
+
if (e) return e;
|
|
228
1980
|
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
1981
|
+
}, B = r(() => (c.organizations && me(c.organizations)) ?? c.organizations?.[0]), he = k((() => {
|
|
1982
|
+
let e = {};
|
|
1983
|
+
return c.navItems?.forEach((t) => {
|
|
1984
|
+
rr(t) && (e[t.value] = !0);
|
|
1985
|
+
}), e;
|
|
1986
|
+
})());
|
|
1987
|
+
L(() => c.navItems, (e) => {
|
|
1988
|
+
e?.forEach((e) => {
|
|
1989
|
+
rr(e) && (he.value[e.value] = !0);
|
|
1990
|
+
});
|
|
1991
|
+
});
|
|
1992
|
+
let V = re(e, "modelValue"), ge = k(!1), _e = n, H = k(!1), ve = k(!1), ye = k(!1), be = k({}), xe = () => {
|
|
1993
|
+
H.value = !1, D.value = {}, be.value = {}, ve.value = !1, ye.value = !1;
|
|
1994
|
+
};
|
|
1995
|
+
L(H, (e) => {
|
|
1996
|
+
e && (D.value = {}, ve.value = !1, ye.value = !1);
|
|
1997
|
+
}), L(ve, (e) => {
|
|
1998
|
+
e && (H.value = !1, D.value = {}, ye.value = !1);
|
|
1999
|
+
}), L(ye, (e) => {
|
|
2000
|
+
e && (H.value = !1, D.value = {}, ve.value = !1);
|
|
2001
|
+
}), L(V, () => {
|
|
2002
|
+
xe(), ge.value = !0;
|
|
2003
|
+
});
|
|
2004
|
+
let Se = () => {
|
|
2005
|
+
V.value = !V.value, _e("change", { collapsed: V.value });
|
|
2006
|
+
}, Ce = (e) => {
|
|
2007
|
+
e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (ge.value = !1);
|
|
2008
|
+
}, we = (e) => e.some(rr), Te = (e, t) => {
|
|
2009
|
+
if (t.url) {
|
|
2010
|
+
if (e.ctrlKey || e.metaKey || e.shiftKey || e.button === 1) {
|
|
2011
|
+
window.open(t.url, "_blank", "noopener");
|
|
2012
|
+
return;
|
|
2013
|
+
}
|
|
2014
|
+
window.location.href = t.url;
|
|
2015
|
+
}
|
|
2016
|
+
};
|
|
2017
|
+
return (n, r) => (E(), o("div", {
|
|
2018
|
+
class: y(["sidebar-layout sidebar-layout-new", [e.variant && `sidebar-layout-${e.variant}`, {
|
|
2019
|
+
"is-collapsed": V.value,
|
|
2020
|
+
"is-expanded": !V.value,
|
|
2021
|
+
"is-transitioning": ge.value
|
|
2022
|
+
}]]),
|
|
2023
|
+
style: x(ae.value),
|
|
2024
|
+
onTransitionend: Ce
|
|
2025
|
+
}, [
|
|
2026
|
+
s("div", {
|
|
2027
|
+
ref_key: "sidebarPanel",
|
|
2028
|
+
ref: ee,
|
|
2029
|
+
class: "sidebar-panel"
|
|
2030
|
+
}, [s("div", null, [I(h) ? (E(), o("div", fr, [j(n.$slots, "sidebar-additional-header")])) : a("v-if", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": V.value }]]) }, [s("div", pr, [e.organizations && e.organizations.length ? (E(), o("div", mr, [u(er, {
|
|
2031
|
+
modelValue: ve.value,
|
|
2032
|
+
"onUpdate:modelValue": r[0] ||= (e) => ve.value = e,
|
|
2033
|
+
position: V.value ? "right-top" : "bottom-left",
|
|
2034
|
+
"use-teleport": !!T.value,
|
|
2035
|
+
"teleport-location": T.value ?? "body",
|
|
2036
|
+
"css-custom-properties": { width: "100%" }
|
|
2037
|
+
}, {
|
|
2038
|
+
trigger: R(() => [u(nr, {
|
|
2039
|
+
description: B.value?.label,
|
|
2040
|
+
disabled: !V.value || ge.value || ve.value,
|
|
2041
|
+
variant: "white",
|
|
2042
|
+
position: "center-right",
|
|
2043
|
+
delay: 250,
|
|
2044
|
+
offset: 4,
|
|
2045
|
+
"enable-group-sync": "",
|
|
2046
|
+
"use-teleport": !!T.value,
|
|
2047
|
+
"teleport-location": T.value ?? "body",
|
|
2048
|
+
"css-custom-properties": { width: "100%" }
|
|
2049
|
+
}, {
|
|
2050
|
+
trigger: R(() => [s("button", {
|
|
2051
|
+
type: "button",
|
|
2052
|
+
class: "pv-nav-list-item pv-full-width pv-space-between",
|
|
2053
|
+
"data-testid": "pv-sidebar-org-switcher",
|
|
2054
|
+
"aria-label": `Switch organization: ${B.value?.label}`,
|
|
2055
|
+
"aria-expanded": ve.value
|
|
2056
|
+
}, [s("div", gr, [s("span", _r, [B.value?.avatarUrl ? (E(), o("img", {
|
|
2057
|
+
key: 0,
|
|
2058
|
+
src: B.value.avatarUrl,
|
|
2059
|
+
alt: "Organization Avatar"
|
|
2060
|
+
}, null, 8, vr)) : (E(), o("span", yr, P(B.value?.label?.slice(0, 1)), 1))]), s("span", {
|
|
2061
|
+
class: "pv-text-title-lg pv-truncate",
|
|
2062
|
+
"data-sidebar-expanded-content": "",
|
|
2063
|
+
title: B.value?.label
|
|
2064
|
+
}, P(B.value?.label), 9, br)]), u(W, {
|
|
2065
|
+
name: "chevron-down",
|
|
2066
|
+
class: "pv-icon-16",
|
|
2067
|
+
"data-sidebar-expanded-content": ""
|
|
2068
|
+
})], 8, hr)]),
|
|
2069
|
+
_: 1
|
|
2070
|
+
}, 8, [
|
|
2071
|
+
"description",
|
|
2072
|
+
"disabled",
|
|
2073
|
+
"use-teleport",
|
|
2074
|
+
"teleport-location"
|
|
2075
|
+
])]),
|
|
2076
|
+
content: R(() => [s("div", xr, [s("ul", Sr, [(E(!0), o(t, null, A(e.organizations, (e) => (E(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
|
|
2077
|
+
class: "pv-flex",
|
|
2078
|
+
href: e.url,
|
|
2079
|
+
"data-testid": "pv-sidebar-org-option",
|
|
2080
|
+
"data-org-value": e.value
|
|
2081
|
+
}, [s("div", Tr, [e.avatarUrl ? (E(), o("img", {
|
|
2082
|
+
key: 0,
|
|
2083
|
+
src: e.avatarUrl,
|
|
2084
|
+
alt: "Organization Avatar"
|
|
2085
|
+
}, null, 8, Er)) : (E(), o("span", Dr, P(e.label.slice(0, 1)), 1))]), s("span", {
|
|
2086
|
+
class: "pv-truncate pv-flex-item",
|
|
2087
|
+
title: e.label
|
|
2088
|
+
}, P(e.label), 9, Or)], 8, wr)], 8, Cr), (E(!0), o(t, null, A(e.entities, (e) => (E(), o("li", {
|
|
2089
|
+
key: e.value,
|
|
2090
|
+
style: { "padding-left": "0.5rem" },
|
|
2091
|
+
"data-active": e.active || void 0
|
|
2092
|
+
}, [s("a", {
|
|
2093
|
+
class: "pv-flex pv-truncate",
|
|
2094
|
+
href: e.url,
|
|
2095
|
+
style: { "max-width": "100%" },
|
|
2096
|
+
"data-testid": "pv-sidebar-org-entity",
|
|
2097
|
+
"data-org-value": e.value
|
|
2098
|
+
}, [u(W, { name: "corner-down-right" }), s("span", {
|
|
2099
|
+
class: "pv-truncate",
|
|
2100
|
+
title: e.label
|
|
2101
|
+
}, P(e.label), 9, jr)], 8, Ar)], 8, kr))), 128))], 64))), 128))])])]),
|
|
2102
|
+
_: 1
|
|
2103
|
+
}, 8, [
|
|
2104
|
+
"modelValue",
|
|
2105
|
+
"position",
|
|
2106
|
+
"use-teleport",
|
|
2107
|
+
"teleport-location"
|
|
2108
|
+
])])) : a("v-if", !0)]), e.disableToggle ? a("v-if", !0) : (E(), i(nr, {
|
|
2109
|
+
key: 0,
|
|
2110
|
+
variant: "white",
|
|
2111
|
+
position: "center-right",
|
|
2112
|
+
delay: 1e3
|
|
2113
|
+
}, {
|
|
2114
|
+
trigger: R(() => [u($e, {
|
|
2115
|
+
class: "sidebar-toggle",
|
|
2116
|
+
"left-icon": V.value ? "panel-left-open" : "panel-left-close",
|
|
2117
|
+
"aria-label": V.value ? "Open sidebar" : "Close sidebar",
|
|
2118
|
+
variant: "ghost",
|
|
2119
|
+
onClick: Se
|
|
2120
|
+
}, null, 8, ["left-icon", "aria-label"])]),
|
|
2121
|
+
content: R(() => [l(P(V.value ? "Expand navigation" : "Collapse navigation"), 1)]),
|
|
2122
|
+
_: 1
|
|
2123
|
+
}))], 2)]), s("div", Mr, [
|
|
2124
|
+
I(m) ? (E(), o("div", Nr, [j(n.$slots, "sidebar-additional-content")])) : a("v-if", !0),
|
|
2125
|
+
e.navItems && e.navItems.length ? (E(), o("ul", Pr, [(E(!0), o(t, null, A(e.navItems, (e) => (E(), o(t, { key: e.value }, [e.separatorAtTop ? (E(), o("li", Fr)) : a("v-if", !0), s("li", null, [a(" Slotted full-height panel - available while collapsed or expanded "), se(e) ? (E(), i(er, {
|
|
2126
|
+
key: 0,
|
|
2127
|
+
modelValue: D.value[e.value],
|
|
2128
|
+
"onUpdate:modelValue": (t) => D.value[e.value] = t,
|
|
2129
|
+
"show-on-hover": "",
|
|
2130
|
+
"enable-group-sync": "",
|
|
2131
|
+
"enable-click-toggle": "",
|
|
2132
|
+
"use-teleport": !!T.value,
|
|
2133
|
+
"teleport-location": T.value ?? "body",
|
|
2134
|
+
position: "right-top",
|
|
2135
|
+
disabled: O.value === e.value,
|
|
2136
|
+
"css-custom-properties": { width: "100%" }
|
|
2137
|
+
}, {
|
|
2138
|
+
trigger: R(() => [(E(), i(te(e.url ? "a" : "button"), _({
|
|
2139
|
+
ref_for: !0,
|
|
2140
|
+
ref: (t) => le(I(N), e.value, t),
|
|
2141
|
+
class: "pv-nav-list-item",
|
|
2142
|
+
href: e.url,
|
|
2143
|
+
type: e.url ? void 0 : "button"
|
|
2144
|
+
}, { ref_for: !0 }, e.linkAttrs, {
|
|
2145
|
+
"aria-current": e.active ? "page" : void 0,
|
|
2146
|
+
"aria-expanded": !!D.value[e.value],
|
|
2147
|
+
"aria-label": V.value ? e.label : void 0,
|
|
2148
|
+
title: V.value ? void 0 : e.label,
|
|
2149
|
+
onKeydown: ce((t) => de(t, e.value), ["tab"])
|
|
2150
|
+
}), {
|
|
2151
|
+
default: R(() => [e.icon ? (E(), i(W, {
|
|
2152
|
+
key: 0,
|
|
2153
|
+
name: e.icon,
|
|
2154
|
+
class: "pv-nav-icon"
|
|
2155
|
+
}, null, 8, ["name"])) : a("v-if", !0), s("span", Ir, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", Lr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)])]),
|
|
2156
|
+
_: 2
|
|
2157
|
+
}, 1040, [
|
|
2158
|
+
"href",
|
|
2159
|
+
"type",
|
|
2160
|
+
"aria-current",
|
|
2161
|
+
"aria-expanded",
|
|
2162
|
+
"aria-label",
|
|
2163
|
+
"title",
|
|
2164
|
+
"onKeydown"
|
|
2165
|
+
]))]),
|
|
2166
|
+
content: R(() => [s("div", {
|
|
2167
|
+
ref_for: !0,
|
|
2168
|
+
ref: (t) => le(I(M), e.value, t),
|
|
2169
|
+
class: "pv-sidebar-hover-panel",
|
|
2170
|
+
onClick: (t) => pe(t, e.value),
|
|
2171
|
+
onKeydown: (t) => z(t, e.value)
|
|
2172
|
+
}, [j(n.$slots, e.hoverPanelSlot)], 40, Rr)]),
|
|
2173
|
+
_: 2
|
|
2174
|
+
}, 1032, [
|
|
2175
|
+
"modelValue",
|
|
2176
|
+
"onUpdate:modelValue",
|
|
2177
|
+
"use-teleport",
|
|
2178
|
+
"teleport-location",
|
|
2179
|
+
"disabled"
|
|
2180
|
+
])) : !e.children || e.children.length === 0 ? (E(), o(t, { key: 1 }, [a(" Leaf item - direct link with a collapsed interactive flyout "), u(er, {
|
|
2181
|
+
"show-on-hover": "",
|
|
2182
|
+
"enable-group-sync": "",
|
|
2183
|
+
"enable-click-toggle": "",
|
|
2184
|
+
"use-teleport": !!T.value,
|
|
2185
|
+
"teleport-location": T.value ?? "body",
|
|
2186
|
+
position: "right-top",
|
|
2187
|
+
disabled: !V.value,
|
|
2188
|
+
"css-custom-properties": { width: "100%" }
|
|
2189
|
+
}, {
|
|
2190
|
+
trigger: R(() => [s("a", _({
|
|
2191
|
+
class: "pv-nav-list-item",
|
|
2192
|
+
href: e.url
|
|
2193
|
+
}, { ref_for: !0 }, e.linkAttrs, {
|
|
2194
|
+
"aria-current": e.active ? "page" : void 0,
|
|
2195
|
+
title: V.value ? void 0 : e.label
|
|
2196
|
+
}), [e.icon ? (E(), i(W, {
|
|
2197
|
+
key: 0,
|
|
2198
|
+
name: e.icon,
|
|
2199
|
+
class: "pv-nav-icon"
|
|
2200
|
+
}, null, 8, ["name"])) : a("v-if", !0), s("span", Br, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", Vr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, zr)]),
|
|
2201
|
+
content: R(() => [s("div", Hr, [s("ul", Ur, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", Kr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, Gr)], 8, Wr)])])]),
|
|
2202
|
+
_: 2
|
|
2203
|
+
}, 1032, [
|
|
2204
|
+
"use-teleport",
|
|
2205
|
+
"teleport-location",
|
|
2206
|
+
"disabled"
|
|
2207
|
+
])], 2112)) : (E(), o(t, { key: 2 }, [a(" Child items - accordion with a collapsed hover flyout "), u(er, {
|
|
2208
|
+
"show-on-hover": "",
|
|
2209
|
+
"enable-group-sync": "",
|
|
2210
|
+
"enable-click-toggle": "",
|
|
2211
|
+
"use-teleport": !!T.value,
|
|
2212
|
+
"teleport-location": T.value ?? "body",
|
|
2213
|
+
position: "right-top",
|
|
2214
|
+
disabled: !V.value,
|
|
2215
|
+
"css-custom-properties": { width: "100%" }
|
|
2216
|
+
}, {
|
|
2217
|
+
trigger: R(() => [u(Ke, {
|
|
2218
|
+
modelValue: he.value[e.value],
|
|
2219
|
+
"onUpdate:modelValue": (t) => he.value[e.value] = t,
|
|
2220
|
+
"default-open": I(rr)(e),
|
|
2221
|
+
"summary-attrs": { "aria-current": we(e.children) && V.value ? "page" : void 0 },
|
|
2222
|
+
"enable-trigger-slot": "",
|
|
2223
|
+
"enable-trigger-full-width": ""
|
|
2224
|
+
}, {
|
|
2225
|
+
trigger: R(() => [s("div", {
|
|
2226
|
+
class: "pv-flex",
|
|
2227
|
+
onClick: (t) => e.children.length === 1 && Te(t, e.children[0]),
|
|
2228
|
+
onAuxclick: (t) => e.children.length === 1 && Te(t, e.children[0])
|
|
2229
|
+
}, [e.icon ? (E(), i(W, {
|
|
2230
|
+
key: 0,
|
|
2231
|
+
name: e.icon,
|
|
2232
|
+
class: "pv-nav-icon"
|
|
2233
|
+
}, null, 8, ["name"])) : a("v-if", !0), s("span", Jr, P(e.label), 1)], 40, qr)]),
|
|
2234
|
+
default: R(() => [s("div", Yr, [(E(!0), o(t, null, A(e.children, (e) => (E(), o(t, { key: e.value }, [a(" Nested items - expanded-only flyout on the right; the collapsed flyout handles its own "), e.children?.length ? (E(), i(er, {
|
|
2235
|
+
key: 0,
|
|
2236
|
+
modelValue: be.value[e.value],
|
|
2237
|
+
"onUpdate:modelValue": (t) => be.value[e.value] = t,
|
|
2238
|
+
"show-on-hover": "",
|
|
2239
|
+
"enable-group-sync": "",
|
|
2240
|
+
"enable-click-toggle": "",
|
|
2241
|
+
"use-teleport": !!T.value,
|
|
2242
|
+
"teleport-location": T.value ?? "body",
|
|
2243
|
+
position: "right-top",
|
|
2244
|
+
offset: 8,
|
|
2245
|
+
disabled: V.value,
|
|
2246
|
+
"css-custom-properties": { width: "100%" }
|
|
2247
|
+
}, {
|
|
2248
|
+
trigger: R(() => [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, {
|
|
2249
|
+
role: e.url ? void 0 : "button",
|
|
2250
|
+
tabindex: e.url ? void 0 : 0,
|
|
2251
|
+
"aria-current": I(rr)(e) ? "page" : void 0,
|
|
2252
|
+
"aria-haspopup": "true",
|
|
2253
|
+
"aria-expanded": !!be.value[e.value],
|
|
2254
|
+
title: e.label
|
|
2255
|
+
}), [s("span", Zr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", Qr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)]), u(W, {
|
|
2256
|
+
name: "chevron-right",
|
|
2257
|
+
class: "pv-icon-16"
|
|
2258
|
+
})], 16, Xr)]),
|
|
2259
|
+
content: R(() => [u(dr, {
|
|
2260
|
+
items: e.children,
|
|
2261
|
+
disabled: V.value
|
|
2262
|
+
}, null, 8, ["items", "disabled"])]),
|
|
2263
|
+
_: 2
|
|
2264
|
+
}, 1032, [
|
|
2265
|
+
"modelValue",
|
|
2266
|
+
"onUpdate:modelValue",
|
|
2267
|
+
"use-teleport",
|
|
2268
|
+
"teleport-location",
|
|
2269
|
+
"disabled"
|
|
2270
|
+
])) : (E(), o("a", _({
|
|
2271
|
+
key: 1,
|
|
2272
|
+
href: e.url
|
|
2273
|
+
}, { ref_for: !0 }, e.linkAttrs, {
|
|
2274
|
+
"aria-current": e.active ? "page" : void 0,
|
|
2275
|
+
title: e.label
|
|
2276
|
+
}), [s("span", ei, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", ti, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, $r))], 64))), 128))])]),
|
|
2277
|
+
_: 2
|
|
2278
|
+
}, 1032, [
|
|
2279
|
+
"modelValue",
|
|
2280
|
+
"onUpdate:modelValue",
|
|
2281
|
+
"default-open",
|
|
2282
|
+
"summary-attrs"
|
|
2283
|
+
])]),
|
|
2284
|
+
content: R(() => [u(dr, {
|
|
2285
|
+
items: e.children,
|
|
2286
|
+
disabled: !V.value
|
|
2287
|
+
}, null, 8, ["items", "disabled"])]),
|
|
2288
|
+
_: 2
|
|
2289
|
+
}, 1032, [
|
|
2290
|
+
"use-teleport",
|
|
2291
|
+
"teleport-location",
|
|
2292
|
+
"disabled"
|
|
2293
|
+
])], 2112))])], 64))), 128))])) : a("v-if", !0),
|
|
2294
|
+
s("div", ni, [I(g) ? (E(), i(er, {
|
|
2295
|
+
key: 0,
|
|
2296
|
+
modelValue: H.value,
|
|
2297
|
+
"onUpdate:modelValue": r[1] ||= (e) => H.value = e,
|
|
2298
|
+
position: V.value ? "right-bottom" : "top-left",
|
|
2299
|
+
"show-on-hover": V.value,
|
|
2300
|
+
"enable-group-sync": "",
|
|
2301
|
+
"enable-click-toggle": "",
|
|
2302
|
+
"use-teleport": !!T.value,
|
|
2303
|
+
"teleport-location": T.value ?? "body",
|
|
2304
|
+
offset: 4,
|
|
2305
|
+
"css-custom-properties": { width: "100%" }
|
|
2306
|
+
}, {
|
|
2307
|
+
trigger: R(() => [s("button", {
|
|
2308
|
+
type: "button",
|
|
2309
|
+
class: "pv-nav-list-item",
|
|
2310
|
+
"aria-label": "Help",
|
|
2311
|
+
"aria-expanded": H.value,
|
|
2312
|
+
title: "Help"
|
|
2313
|
+
}, [u(W, {
|
|
2314
|
+
name: "help-circle",
|
|
2315
|
+
class: "pv-icon-20 pv-nav-icon"
|
|
2316
|
+
}), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, ri)]),
|
|
2317
|
+
content: R(() => [s("div", ii, [j(n.$slots, "sidebar-help-content")])]),
|
|
2318
|
+
_: 3
|
|
2319
|
+
}, 8, [
|
|
2320
|
+
"modelValue",
|
|
2321
|
+
"position",
|
|
2322
|
+
"show-on-hover",
|
|
2323
|
+
"use-teleport",
|
|
2324
|
+
"teleport-location"
|
|
2325
|
+
])) : a("v-if", !0), I(b) && e.profile ? (E(), i(er, {
|
|
2326
|
+
key: 1,
|
|
2327
|
+
modelValue: ye.value,
|
|
2328
|
+
"onUpdate:modelValue": r[2] ||= (e) => ye.value = e,
|
|
2329
|
+
position: V.value ? "right-bottom" : "top-left",
|
|
2330
|
+
"use-teleport": !!T.value,
|
|
2331
|
+
"teleport-location": T.value ?? "body",
|
|
2332
|
+
offset: 4,
|
|
2333
|
+
"css-custom-properties": { width: "100%" }
|
|
2334
|
+
}, {
|
|
2335
|
+
trigger: R(() => [s("button", {
|
|
2336
|
+
type: "button",
|
|
2337
|
+
class: "pv-nav-list-item",
|
|
2338
|
+
"data-testid": "pv-sidebar-profile-trigger",
|
|
2339
|
+
"aria-label": e.profile.name,
|
|
2340
|
+
"aria-expanded": ye.value,
|
|
2341
|
+
title: e.profile.name
|
|
2342
|
+
}, [s("span", oi, [e.profile.avatarUrl ? (E(), o("img", {
|
|
2343
|
+
key: 0,
|
|
2344
|
+
src: e.profile.avatarUrl,
|
|
2345
|
+
alt: ""
|
|
2346
|
+
}, null, 8, si)) : (E(), o("span", ci, P(e.profile.name.slice(0, 1)), 1))]), s("span", li, P(e.profile.name), 1)], 8, ai)]),
|
|
2347
|
+
content: R(() => [s("div", ui, [j(n.$slots, "sidebar-profile-content")])]),
|
|
2348
|
+
_: 3
|
|
2349
|
+
}, 8, [
|
|
2350
|
+
"modelValue",
|
|
2351
|
+
"position",
|
|
2352
|
+
"use-teleport",
|
|
2353
|
+
"teleport-location"
|
|
2354
|
+
])) : a("v-if", !0)])
|
|
2355
|
+
])], 512),
|
|
2356
|
+
s("div", di, [j(n.$slots, "default")]),
|
|
2357
|
+
s("div", {
|
|
2358
|
+
ref_key: "popoverTeleportTarget",
|
|
2359
|
+
ref: T,
|
|
2360
|
+
class: "pv-sidebar-popover-portal"
|
|
2361
|
+
}, null, 512)
|
|
2362
|
+
], 38));
|
|
242
2363
|
}
|
|
243
|
-
}),
|
|
2364
|
+
}), mi = Object.defineProperty, hi = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, vi = (e, t, n) => t in e ? mi(e, t, {
|
|
244
2365
|
enumerable: !0,
|
|
245
2366
|
configurable: !0,
|
|
246
2367
|
writable: !0,
|
|
247
2368
|
value: n
|
|
248
|
-
}) : e[t] = n,
|
|
249
|
-
for (var n in t ||= {})
|
|
250
|
-
if (
|
|
2369
|
+
}) : e[t] = n, yi = (e, t) => {
|
|
2370
|
+
for (var n in t ||= {}) gi.call(t, n) && vi(e, n, t[n]);
|
|
2371
|
+
if (hi) for (var n of hi(t)) _i.call(t, n) && vi(e, n, t[n]);
|
|
251
2372
|
return e;
|
|
252
2373
|
};
|
|
253
|
-
function
|
|
2374
|
+
function bi(e) {
|
|
254
2375
|
return e == null || e === "" || Array.isArray(e) && e.length === 0 || !(e instanceof Date) && typeof e == "object" && Object.keys(e).length === 0;
|
|
255
2376
|
}
|
|
256
|
-
function
|
|
2377
|
+
function xi(e) {
|
|
257
2378
|
return typeof e == "function" && "call" in e && "apply" in e;
|
|
258
2379
|
}
|
|
259
|
-
function
|
|
260
|
-
return !
|
|
2380
|
+
function Y(e) {
|
|
2381
|
+
return !bi(e);
|
|
261
2382
|
}
|
|
262
|
-
function
|
|
2383
|
+
function Si(e, t = !0) {
|
|
263
2384
|
return e instanceof Object && e.constructor === Object && (t || Object.keys(e).length !== 0);
|
|
264
2385
|
}
|
|
265
|
-
function
|
|
266
|
-
let n =
|
|
2386
|
+
function Ci(e = {}, t = {}) {
|
|
2387
|
+
let n = yi({}, e);
|
|
267
2388
|
return Object.keys(t).forEach((r) => {
|
|
268
2389
|
let i = r;
|
|
269
|
-
|
|
2390
|
+
Si(t[i]) && i in e && Si(e[i]) ? n[i] = Ci(e[i], t[i]) : n[i] = t[i];
|
|
270
2391
|
}), n;
|
|
271
2392
|
}
|
|
272
|
-
function
|
|
273
|
-
return e.reduce((e, t, n) => n === 0 ? t :
|
|
2393
|
+
function wi(...e) {
|
|
2394
|
+
return e.reduce((e, t, n) => n === 0 ? t : Ci(e, t), {});
|
|
274
2395
|
}
|
|
275
|
-
function
|
|
276
|
-
return
|
|
2396
|
+
function Ti(e, ...t) {
|
|
2397
|
+
return xi(e) ? e(...t) : e;
|
|
277
2398
|
}
|
|
278
|
-
function
|
|
2399
|
+
function Ei(e, t = !0) {
|
|
279
2400
|
return typeof e == "string" && (t || e !== "");
|
|
280
2401
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
2402
|
+
function Di(e) {
|
|
2403
|
+
return Y(e) && !isNaN(e);
|
|
283
2404
|
}
|
|
284
|
-
function
|
|
2405
|
+
function Oi(e, t) {
|
|
285
2406
|
if (t) {
|
|
286
2407
|
let n = t.test(e);
|
|
287
2408
|
return t.lastIndex = 0, n;
|
|
288
2409
|
}
|
|
289
2410
|
return !1;
|
|
290
2411
|
}
|
|
291
|
-
function
|
|
292
|
-
return
|
|
2412
|
+
function ki(...e) {
|
|
2413
|
+
return wi(...e);
|
|
293
2414
|
}
|
|
294
|
-
function
|
|
2415
|
+
function Ai(e) {
|
|
295
2416
|
return e && e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g, "").replace(/ {2,}/g, " ").replace(/ ([{:}]) /g, "$1").replace(/([;,]) /g, "$1").replace(/ !/g, "!").replace(/: /g, ":").trim();
|
|
296
2417
|
}
|
|
297
|
-
function
|
|
298
|
-
return
|
|
2418
|
+
function ji(e) {
|
|
2419
|
+
return Ei(e) ? e.replace(/(_)/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase() : e;
|
|
299
2420
|
}
|
|
300
2421
|
//#endregion
|
|
301
2422
|
//#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/api/index.mjs
|
|
302
|
-
var
|
|
2423
|
+
var X = {
|
|
303
2424
|
STARTS_WITH: "startsWith",
|
|
304
2425
|
CONTAINS: "contains",
|
|
305
2426
|
NOT_CONTAINS: "notContains",
|
|
@@ -319,7 +2440,7 @@ var z = {
|
|
|
319
2440
|
};
|
|
320
2441
|
//#endregion
|
|
321
2442
|
//#region ../node_modules/.pnpm/@primeuix+utils@0.6.4/node_modules/@primeuix/utils/dist/eventbus/index.mjs
|
|
322
|
-
function
|
|
2443
|
+
function Mi() {
|
|
323
2444
|
let e = /* @__PURE__ */ new Map();
|
|
324
2445
|
return {
|
|
325
2446
|
on(t, n) {
|
|
@@ -343,21 +2464,21 @@ function ve() {
|
|
|
343
2464
|
}
|
|
344
2465
|
//#endregion
|
|
345
2466
|
//#region ../node_modules/.pnpm/@primeuix+utils@0.6.4/node_modules/@primeuix/utils/dist/dom/index.mjs
|
|
346
|
-
function
|
|
2467
|
+
function Ni(e) {
|
|
347
2468
|
if (e) {
|
|
348
2469
|
let t = e.parentNode;
|
|
349
2470
|
return t && t instanceof ShadowRoot && t.host && (t = t.host), t;
|
|
350
2471
|
}
|
|
351
2472
|
return null;
|
|
352
2473
|
}
|
|
353
|
-
function
|
|
354
|
-
return !!(e != null && e.nodeName &&
|
|
2474
|
+
function Pi(e) {
|
|
2475
|
+
return !!(e != null && e.nodeName && Ni(e));
|
|
355
2476
|
}
|
|
356
|
-
function
|
|
2477
|
+
function Fi(e) {
|
|
357
2478
|
return typeof Element < "u" ? e instanceof Element : typeof e == "object" && !!e && e.nodeType === 1 && typeof e.nodeName == "string";
|
|
358
2479
|
}
|
|
359
|
-
function
|
|
360
|
-
if (
|
|
2480
|
+
function Ii(e, t = {}) {
|
|
2481
|
+
if (Fi(e)) {
|
|
361
2482
|
let n = (t, r) => {
|
|
362
2483
|
var i;
|
|
363
2484
|
let a = (i = e?.$attrs) != null && i[t] ? [e?.$attrs?.[t]] : [];
|
|
@@ -376,70 +2497,70 @@ function Se(e, t = {}) {
|
|
|
376
2497
|
Object.entries(t).forEach(([t, r]) => {
|
|
377
2498
|
if (r != null) {
|
|
378
2499
|
let i = t.match(/^on(.+)/);
|
|
379
|
-
i ? e.addEventListener(i[1].toLowerCase(), r) : t === "p-bind" || t === "pBind" ?
|
|
2500
|
+
i ? e.addEventListener(i[1].toLowerCase(), r) : t === "p-bind" || t === "pBind" ? Ii(e, r) : (r = t === "class" ? [...new Set(n("class", r))].join(" ").trim() : t === "style" ? n("style", r).join(";").trim() : r, (e.$attrs = e.$attrs || {}) && (e.$attrs[t] = r), e.setAttribute(t, r));
|
|
380
2501
|
}
|
|
381
2502
|
});
|
|
382
2503
|
}
|
|
383
2504
|
}
|
|
384
|
-
function
|
|
2505
|
+
function Li() {
|
|
385
2506
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
386
2507
|
}
|
|
387
|
-
function
|
|
388
|
-
|
|
2508
|
+
function Ri(e, t = "", n) {
|
|
2509
|
+
Fi(e) && n != null && e.setAttribute(t, n);
|
|
389
2510
|
}
|
|
390
2511
|
//#endregion
|
|
391
2512
|
//#region ../node_modules/.pnpm/@primeuix+styled@0.7.4/node_modules/@primeuix/styled/dist/index.mjs
|
|
392
|
-
var
|
|
2513
|
+
var zi = Object.defineProperty, Bi = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Hi = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Gi = (e, t, n) => t in e ? zi(e, t, {
|
|
393
2514
|
enumerable: !0,
|
|
394
2515
|
configurable: !0,
|
|
395
2516
|
writable: !0,
|
|
396
2517
|
value: n
|
|
397
|
-
}) : e[t] = n,
|
|
398
|
-
for (var n in t ||= {})
|
|
399
|
-
if (
|
|
2518
|
+
}) : e[t] = n, Z = (e, t) => {
|
|
2519
|
+
for (var n in t ||= {}) Ui.call(t, n) && Gi(e, n, t[n]);
|
|
2520
|
+
if (Hi) for (var n of Hi(t)) Wi.call(t, n) && Gi(e, n, t[n]);
|
|
400
2521
|
return e;
|
|
401
|
-
},
|
|
2522
|
+
}, Ki = (e, t) => Bi(e, Vi(t)), qi = (e, t) => {
|
|
402
2523
|
var n = {};
|
|
403
|
-
for (var r in e)
|
|
404
|
-
if (e != null &&
|
|
2524
|
+
for (var r in e) Ui.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
2525
|
+
if (e != null && Hi) for (var r of Hi(e)) t.indexOf(r) < 0 && Wi.call(e, r) && (n[r] = e[r]);
|
|
405
2526
|
return n;
|
|
406
|
-
},
|
|
407
|
-
function
|
|
408
|
-
return
|
|
2527
|
+
}, Ji = Mi(), Yi = /{([^}]*)}/g, Xi = /(\d+\s+[\+\-\*\/]\s+\d+)/g, Zi = /var\([^)]+\)/g;
|
|
2528
|
+
function Qi(e) {
|
|
2529
|
+
return Ei(e) ? e.replace(/[A-Z]/g, (e, t) => t === 0 ? e : "." + e.toLowerCase()).toLowerCase() : e;
|
|
409
2530
|
}
|
|
410
|
-
function
|
|
411
|
-
return
|
|
2531
|
+
function $i(e) {
|
|
2532
|
+
return Si(e) && e.hasOwnProperty("$value") && e.hasOwnProperty("$type") ? e.$value : e;
|
|
412
2533
|
}
|
|
413
|
-
function
|
|
2534
|
+
function ea(e) {
|
|
414
2535
|
return e.replaceAll(/ /g, "").replace(/[^\w]/g, "-");
|
|
415
2536
|
}
|
|
416
|
-
function
|
|
417
|
-
return
|
|
2537
|
+
function ta(e = "", t = "") {
|
|
2538
|
+
return ea(`${Ei(e, !1) && Ei(t, !1) ? `${e}-` : e}${t}`);
|
|
418
2539
|
}
|
|
419
|
-
function
|
|
420
|
-
return `--${
|
|
2540
|
+
function na(e = "", t = "") {
|
|
2541
|
+
return `--${ta(e, t)}`;
|
|
421
2542
|
}
|
|
422
|
-
function
|
|
2543
|
+
function ra(e = "") {
|
|
423
2544
|
return ((e.match(/{/g) || []).length + (e.match(/}/g) || []).length) % 2 != 0;
|
|
424
2545
|
}
|
|
425
|
-
function
|
|
426
|
-
if (
|
|
2546
|
+
function ia(e, t = "", n = "", r = [], i) {
|
|
2547
|
+
if (Ei(e)) {
|
|
427
2548
|
let t = e.trim();
|
|
428
|
-
if (
|
|
429
|
-
if (
|
|
430
|
-
let e = t.replaceAll(
|
|
431
|
-
return
|
|
2549
|
+
if (ra(t)) return;
|
|
2550
|
+
if (Oi(t, Yi)) {
|
|
2551
|
+
let e = t.replaceAll(Yi, (e) => `var(${na(n, ji(e.replace(/{|}/g, "").split(".").filter((e) => !r.some((t) => Oi(e, t))).join("-")))}${Y(i) ? `, ${i}` : ""})`);
|
|
2552
|
+
return Oi(e.replace(Zi, "0"), Xi) ? `calc(${e})` : e;
|
|
432
2553
|
}
|
|
433
2554
|
return t;
|
|
434
|
-
} else if (
|
|
2555
|
+
} else if (Di(e)) return e;
|
|
435
2556
|
}
|
|
436
|
-
function
|
|
437
|
-
|
|
2557
|
+
function aa(e, t, n) {
|
|
2558
|
+
Ei(t, !1) && e.push(`${t}:${n};`);
|
|
438
2559
|
}
|
|
439
|
-
function
|
|
2560
|
+
function oa(e, t) {
|
|
440
2561
|
return e ? `${e}{${t}}` : "";
|
|
441
2562
|
}
|
|
442
|
-
function
|
|
2563
|
+
function sa(e, t) {
|
|
443
2564
|
if (e.indexOf("dt(") === -1) return e;
|
|
444
2565
|
function n(e, t) {
|
|
445
2566
|
let n = [], i = 0, a = "", o = null, s = 0;
|
|
@@ -447,7 +2568,7 @@ function Ue(e, t) {
|
|
|
447
2568
|
let c = e[i];
|
|
448
2569
|
if ((c === "\"" || c === "'" || c === "`") && e[i - 1] !== "\\" && (o = o === c ? null : c), !o && (c === "(" && s++, c === ")" && s--, (c === "," || i === e.length) && s === 0)) {
|
|
449
2570
|
let e = a.trim();
|
|
450
|
-
e.startsWith("dt(") ? n.push(
|
|
2571
|
+
e.startsWith("dt(") ? n.push(sa(e, t)) : n.push(r(e)), a = "", i++;
|
|
451
2572
|
continue;
|
|
452
2573
|
}
|
|
453
2574
|
c !== void 0 && (a += c), i++;
|
|
@@ -473,31 +2594,31 @@ function Ue(e, t) {
|
|
|
473
2594
|
}
|
|
474
2595
|
return e;
|
|
475
2596
|
}
|
|
476
|
-
var
|
|
2597
|
+
var ca = (...e) => la($.getTheme(), ...e), la = (e = {}, t, n, r) => {
|
|
477
2598
|
if (t) {
|
|
478
|
-
let { variable: i, options: a } =
|
|
479
|
-
return r === "value" ||
|
|
2599
|
+
let { variable: i, options: a } = $.defaults || {}, { prefix: o, transform: s } = e?.options || a || {}, c = Oi(t, Yi) ? t : `{${t}}`;
|
|
2600
|
+
return r === "value" || bi(r) && s === "strict" ? $.getTokenValue(t) : ia(c, void 0, o, [i.excludedKeyRegex], n);
|
|
480
2601
|
}
|
|
481
2602
|
return "";
|
|
482
2603
|
};
|
|
483
|
-
function
|
|
484
|
-
return e instanceof Array ?
|
|
2604
|
+
function ua(e, ...t) {
|
|
2605
|
+
return e instanceof Array ? sa(e.reduce((e, n, r) => e + n + (Ti(t[r], { dt: ca }) ?? ""), ""), ca) : Ti(e, { dt: ca });
|
|
485
2606
|
}
|
|
486
|
-
function
|
|
487
|
-
let n =
|
|
2607
|
+
function da(e, t = {}) {
|
|
2608
|
+
let n = $.defaults.variable, { prefix: r = n.prefix, selector: i = n.selector, excludedKeyRegex: a = n.excludedKeyRegex } = t, o = [], s = [], c = [{
|
|
488
2609
|
node: e,
|
|
489
2610
|
path: r
|
|
490
2611
|
}];
|
|
491
2612
|
for (; c.length;) {
|
|
492
2613
|
let { node: e, path: t } = c.pop();
|
|
493
2614
|
for (let n in e) {
|
|
494
|
-
let i = e[n], l =
|
|
495
|
-
if (
|
|
2615
|
+
let i = e[n], l = $i(i), u = Oi(n, a) ? ta(t) : ta(t, ji(n));
|
|
2616
|
+
if (Si(l)) c.push({
|
|
496
2617
|
node: l,
|
|
497
2618
|
path: u
|
|
498
2619
|
});
|
|
499
2620
|
else {
|
|
500
|
-
|
|
2621
|
+
aa(s, na(u), ia(l, u, r, [a]));
|
|
501
2622
|
let e = u;
|
|
502
2623
|
r && e.startsWith(r + "-") && (e = e.slice(r.length + 1)), o.push(e.replace(/-/g, "."));
|
|
503
2624
|
}
|
|
@@ -508,10 +2629,10 @@ function Ke(e, t = {}) {
|
|
|
508
2629
|
value: s,
|
|
509
2630
|
tokens: o,
|
|
510
2631
|
declarations: l,
|
|
511
|
-
css:
|
|
2632
|
+
css: oa(i, l)
|
|
512
2633
|
};
|
|
513
2634
|
}
|
|
514
|
-
var
|
|
2635
|
+
var Q = {
|
|
515
2636
|
regex: {
|
|
516
2637
|
rules: {
|
|
517
2638
|
class: {
|
|
@@ -568,21 +2689,21 @@ var K = {
|
|
|
568
2689
|
}
|
|
569
2690
|
},
|
|
570
2691
|
_toVariables(e, t) {
|
|
571
|
-
return
|
|
2692
|
+
return da(e, { prefix: t?.prefix });
|
|
572
2693
|
},
|
|
573
2694
|
getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
|
|
574
2695
|
let { preset: a, options: o } = t, s, c, l, u, d, f, p;
|
|
575
|
-
if (
|
|
576
|
-
let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme:
|
|
577
|
-
s = this.transformCSS(e, te, "light", "variable", o, r, i), c =
|
|
578
|
-
...
|
|
579
|
-
...
|
|
2696
|
+
if (Y(a) && o.transform !== "strict") {
|
|
2697
|
+
let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = qi(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = qi(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = qi(x, ["dark"]), w = y || {}, { dark: T } = w, ee = qi(w, ["dark"]), E = Y(t) ? this._toVariables({ primitive: t }, o) : {}, D = Y(_) ? this._toVariables({ semantic: _ }, o) : {}, O = Y(C) ? this._toVariables({ light: C }, o) : {}, k = Y(S) ? this._toVariables({ dark: S }, o) : {}, A = Y(b) ? this._toVariables({ semantic: b }, o) : {}, j = Y(ee) ? this._toVariables({ light: ee }, o) : {}, M = Y(T) ? this._toVariables({ dark: T }, o) : {}, [te, N] = [E.declarations ?? "", E.tokens], [P, ne] = [D.declarations ?? "", D.tokens || []], [F, I] = [O.declarations ?? "", O.tokens || []], [re, ie] = [k.declarations ?? "", k.tokens || []], [ae, L] = [A.declarations ?? "", A.tokens || []], [oe, R] = [j.declarations ?? "", j.tokens || []], [se, ce] = [M.declarations ?? "", M.tokens || []];
|
|
2698
|
+
s = this.transformCSS(e, te, "light", "variable", o, r, i), c = N, l = `${this.transformCSS(e, `${P}${F}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${re}`, "dark", "variable", o, r, i)}`, u = [...new Set([
|
|
2699
|
+
...ne,
|
|
2700
|
+
...I,
|
|
2701
|
+
...ie
|
|
2702
|
+
])], d = `${this.transformCSS(e, `${ae}${oe}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${se}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
|
|
2703
|
+
...L,
|
|
2704
|
+
...R,
|
|
580
2705
|
...ce
|
|
581
|
-
])],
|
|
582
|
-
...ue,
|
|
583
|
-
...fe,
|
|
584
|
-
...pe
|
|
585
|
-
])], p = F(a.css, { dt: G });
|
|
2706
|
+
])], p = Ti(a.css, { dt: ca });
|
|
586
2707
|
}
|
|
587
2708
|
return {
|
|
588
2709
|
primitive: {
|
|
@@ -602,17 +2723,17 @@ var K = {
|
|
|
602
2723
|
},
|
|
603
2724
|
getPreset({ name: e = "", preset: t = {}, options: n, params: r, set: i, defaults: a, selector: o }) {
|
|
604
2725
|
let s, c, l;
|
|
605
|
-
if (
|
|
606
|
-
let r = e.replace("-directive", ""), u = t, { colorScheme: d, extend: f, css: p } = u, m =
|
|
2726
|
+
if (Y(t) && n.transform !== "strict") {
|
|
2727
|
+
let r = e.replace("-directive", ""), u = t, { colorScheme: d, extend: f, css: p } = u, m = qi(u, [
|
|
607
2728
|
"colorScheme",
|
|
608
2729
|
"extend",
|
|
609
2730
|
"css"
|
|
610
|
-
]), h = f || {}, { colorScheme:
|
|
2731
|
+
]), h = f || {}, { colorScheme: g } = h, _ = qi(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = qi(v, ["dark"]), x = g || {}, { dark: S } = x, C = qi(x, ["dark"]), w = Y(m) ? this._toVariables({ [r]: Z(Z({}, m), _) }, n) : {}, T = Y(b) ? this._toVariables({ [r]: Z(Z({}, b), C) }, n) : {}, ee = Y(y) ? this._toVariables({ [r]: Z(Z({}, y), S) }, n) : {}, [E, D] = [w.declarations ?? "", w.tokens || []], [O, k] = [T.declarations ?? "", T.tokens || []], [A, j] = [ee.declarations ?? "", ee.tokens || []];
|
|
611
2732
|
s = `${this.transformCSS(r, `${E}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, A, "dark", "variable", n, i, a, o)}`, c = [...new Set([
|
|
612
2733
|
...D,
|
|
613
2734
|
...k,
|
|
614
2735
|
...j
|
|
615
|
-
])], l =
|
|
2736
|
+
])], l = Ti(p, { dt: ca });
|
|
616
2737
|
}
|
|
617
2738
|
return {
|
|
618
2739
|
css: s,
|
|
@@ -650,7 +2771,7 @@ var K = {
|
|
|
650
2771
|
},
|
|
651
2772
|
getLayerOrder(e, t = {}, n, r) {
|
|
652
2773
|
let { cssLayer: i } = t;
|
|
653
|
-
return i ? `@layer ${
|
|
2774
|
+
return i ? `@layer ${Ti(i.order || i.name || "primeui", n)}` : "";
|
|
654
2775
|
},
|
|
655
2776
|
getCommonStyleSheet({ name: e = "", theme: t = {}, params: n, props: r = {}, set: i, defaults: a }) {
|
|
656
2777
|
let o = this.getCommon({
|
|
@@ -661,8 +2782,8 @@ var K = {
|
|
|
661
2782
|
defaults: a
|
|
662
2783
|
}), s = Object.entries(r).reduce((e, [t, n]) => e.push(`${t}="${n}"`) && e, []).join(" ");
|
|
663
2784
|
return Object.entries(o || {}).reduce((e, [t, n]) => {
|
|
664
|
-
if (
|
|
665
|
-
let r =
|
|
2785
|
+
if (Si(n) && Object.hasOwn(n, "css")) {
|
|
2786
|
+
let r = Ai(n.css), i = `${t}-variables`;
|
|
666
2787
|
e.push(`<style type="text/css" data-primevue-style-id="${i}" ${s}>${r}</style>`);
|
|
667
2788
|
}
|
|
668
2789
|
return e;
|
|
@@ -676,7 +2797,7 @@ var K = {
|
|
|
676
2797
|
set: i,
|
|
677
2798
|
defaults: a
|
|
678
2799
|
}, s = (e.includes("-directive") ? this.getPresetD(o) : this.getPresetC(o))?.css, c = Object.entries(r).reduce((e, [t, n]) => e.push(`${t}="${n}"`) && e, []).join(" ");
|
|
679
|
-
return s ? `<style type="text/css" data-primevue-style-id="${e}-variables" ${c}>${
|
|
2800
|
+
return s ? `<style type="text/css" data-primevue-style-id="${e}-variables" ${c}>${Ai(s)}</style>` : "";
|
|
680
2801
|
},
|
|
681
2802
|
createTokens(e = {}, t, n = "", r = "", i = {}) {
|
|
682
2803
|
let a = function(e, t = {}, n = []) {
|
|
@@ -688,16 +2809,16 @@ var K = {
|
|
|
688
2809
|
};
|
|
689
2810
|
n.push(this.path), t.name = this.path, t.binding ||= {};
|
|
690
2811
|
let r = this.value;
|
|
691
|
-
if (typeof this.value == "string" &&
|
|
692
|
-
let i = this.value.trim().replace(
|
|
2812
|
+
if (typeof this.value == "string" && Yi.test(this.value)) {
|
|
2813
|
+
let i = this.value.trim().replace(Yi, (r) => {
|
|
693
2814
|
let i = r.slice(1, -1), a = this.tokens[i];
|
|
694
2815
|
if (!a) return console.warn(`Token not found for path: ${i}`), "__UNRESOLVED__";
|
|
695
2816
|
let o = a.computed(e, t, n);
|
|
696
2817
|
return Array.isArray(o) && o.length === 2 ? `light-dark(${o[0].value},${o[1].value})` : o?.value ?? "__UNRESOLVED__";
|
|
697
2818
|
});
|
|
698
|
-
r =
|
|
2819
|
+
r = Xi.test(i.replace(Zi, "0")) ? `calc(${i})` : i;
|
|
699
2820
|
}
|
|
700
|
-
return
|
|
2821
|
+
return bi(t.binding) && delete t.binding, n.pop(), {
|
|
701
2822
|
colorScheme: e,
|
|
702
2823
|
path: this.path,
|
|
703
2824
|
paths: t,
|
|
@@ -705,8 +2826,8 @@ var K = {
|
|
|
705
2826
|
};
|
|
706
2827
|
}, o = (e, n, r) => {
|
|
707
2828
|
Object.entries(e).forEach(([e, s]) => {
|
|
708
|
-
let c =
|
|
709
|
-
|
|
2829
|
+
let c = Oi(e, t.variable.excludedKeyRegex) ? n : n ? `${n}.${Qi(e)}` : Qi(e), l = r ? `${r}.${e}` : e;
|
|
2830
|
+
Si(s) ? o(s, c, l) : (i[c] || (i[c] = {
|
|
710
2831
|
paths: [],
|
|
711
2832
|
computed: (e, t = {}, n = []) => {
|
|
712
2833
|
if (i[c].paths.length === 1) return i[c].paths[0].computed(i[c].paths[0].scheme, t.binding, n);
|
|
@@ -728,37 +2849,37 @@ var K = {
|
|
|
728
2849
|
return o(e, n, r), i;
|
|
729
2850
|
},
|
|
730
2851
|
getTokenValue(e, t, n) {
|
|
731
|
-
let r = ((e) => e.split(".").filter((e) => !
|
|
2852
|
+
let r = ((e) => e.split(".").filter((e) => !Oi(e.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(t), i = t.includes("colorScheme.light") ? "light" : t.includes("colorScheme.dark") ? "dark" : void 0, a = [e[r]?.computed(i)].flat().filter((e) => e);
|
|
732
2853
|
return a.length === 1 ? a[0].value : a.reduce((e = {}, t) => {
|
|
733
2854
|
let n = t, { colorScheme: r } = n;
|
|
734
|
-
return e[r] =
|
|
2855
|
+
return e[r] = qi(n, ["colorScheme"]), e;
|
|
735
2856
|
}, void 0);
|
|
736
2857
|
},
|
|
737
2858
|
getSelectorRule(e, t, n, r) {
|
|
738
|
-
return n === "class" || n === "attr" ?
|
|
2859
|
+
return n === "class" || n === "attr" ? oa(Y(t) ? `${e}${t},${e} ${t}` : e, r) : oa(e, oa(t ?? ":root,:host", r));
|
|
739
2860
|
},
|
|
740
2861
|
transformCSS(e, t, n, r, i = {}, a, o, s) {
|
|
741
|
-
if (
|
|
2862
|
+
if (Y(t)) {
|
|
742
2863
|
let { cssLayer: c } = i;
|
|
743
2864
|
if (r !== "style") {
|
|
744
2865
|
let e = this.getColorSchemeOption(i, o);
|
|
745
|
-
t = n === "dark" ? e.reduce((e, { type: n, selector: r }) => (
|
|
2866
|
+
t = n === "dark" ? e.reduce((e, { type: n, selector: r }) => (Y(r) && (e += r.includes("[CSS]") ? r.replace("[CSS]", t) : this.getSelectorRule(r, s, n, t)), e), "") : oa(s ?? ":root,:host", t);
|
|
746
2867
|
}
|
|
747
2868
|
if (c) {
|
|
748
2869
|
let n = {
|
|
749
2870
|
name: "primeui",
|
|
750
2871
|
order: "primeui"
|
|
751
2872
|
};
|
|
752
|
-
|
|
2873
|
+
Si(c) && (n.name = Ti(c.name, {
|
|
753
2874
|
name: e,
|
|
754
2875
|
type: r
|
|
755
|
-
})),
|
|
2876
|
+
})), Y(n.name) && (t = oa(`@layer ${n.name}`, t), a?.layerNames(n.name));
|
|
756
2877
|
}
|
|
757
2878
|
return t;
|
|
758
2879
|
}
|
|
759
2880
|
return "";
|
|
760
2881
|
}
|
|
761
|
-
},
|
|
2882
|
+
}, $ = {
|
|
762
2883
|
defaults: {
|
|
763
2884
|
variable: {
|
|
764
2885
|
prefix: "p",
|
|
@@ -778,7 +2899,7 @@ var K = {
|
|
|
778
2899
|
_tokens: {},
|
|
779
2900
|
update(e = {}) {
|
|
780
2901
|
let { theme: t } = e;
|
|
781
|
-
t && (this._theme =
|
|
2902
|
+
t && (this._theme = Ki(Z({}, t), { options: Z(Z({}, this.defaults.options), t.options) }), this._tokens = Q.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
|
|
782
2903
|
},
|
|
783
2904
|
get theme() {
|
|
784
2905
|
return this._theme;
|
|
@@ -796,19 +2917,19 @@ var K = {
|
|
|
796
2917
|
return this.theme;
|
|
797
2918
|
},
|
|
798
2919
|
setTheme(e) {
|
|
799
|
-
this.update({ theme: e }),
|
|
2920
|
+
this.update({ theme: e }), Ji.emit("theme:change", e);
|
|
800
2921
|
},
|
|
801
2922
|
getPreset() {
|
|
802
2923
|
return this.preset;
|
|
803
2924
|
},
|
|
804
2925
|
setPreset(e) {
|
|
805
|
-
this._theme =
|
|
2926
|
+
this._theme = Ki(Z({}, this.theme), { preset: e }), this._tokens = Q.createTokens(e, this.defaults), this.clearLoadedStyleNames(), Ji.emit("preset:change", e), Ji.emit("theme:change", this.theme);
|
|
806
2927
|
},
|
|
807
2928
|
getOptions() {
|
|
808
2929
|
return this.options;
|
|
809
2930
|
},
|
|
810
2931
|
setOptions(e) {
|
|
811
|
-
this._theme =
|
|
2932
|
+
this._theme = Ki(Z({}, this.theme), { options: e }), this.clearLoadedStyleNames(), Ji.emit("options:change", e), Ji.emit("theme:change", this.theme);
|
|
812
2933
|
},
|
|
813
2934
|
getLayerNames() {
|
|
814
2935
|
return [...this._layerNames];
|
|
@@ -832,10 +2953,10 @@ var K = {
|
|
|
832
2953
|
this._loadedStyleNames.clear();
|
|
833
2954
|
},
|
|
834
2955
|
getTokenValue(e) {
|
|
835
|
-
return
|
|
2956
|
+
return Q.getTokenValue(this.tokens, e, this.defaults);
|
|
836
2957
|
},
|
|
837
2958
|
getCommon(e = "", t) {
|
|
838
|
-
return
|
|
2959
|
+
return Q.getCommon({
|
|
839
2960
|
name: e,
|
|
840
2961
|
theme: this.theme,
|
|
841
2962
|
params: t,
|
|
@@ -851,7 +2972,7 @@ var K = {
|
|
|
851
2972
|
defaults: this.defaults,
|
|
852
2973
|
set: { layerNames: this.setLayerNames.bind(this) }
|
|
853
2974
|
};
|
|
854
|
-
return
|
|
2975
|
+
return Q.getPresetC(n);
|
|
855
2976
|
},
|
|
856
2977
|
getDirective(e = "", t) {
|
|
857
2978
|
let n = {
|
|
@@ -861,7 +2982,7 @@ var K = {
|
|
|
861
2982
|
defaults: this.defaults,
|
|
862
2983
|
set: { layerNames: this.setLayerNames.bind(this) }
|
|
863
2984
|
};
|
|
864
|
-
return
|
|
2985
|
+
return Q.getPresetD(n);
|
|
865
2986
|
},
|
|
866
2987
|
getCustomPreset(e = "", t, n, r) {
|
|
867
2988
|
let i = {
|
|
@@ -873,16 +2994,16 @@ var K = {
|
|
|
873
2994
|
defaults: this.defaults,
|
|
874
2995
|
set: { layerNames: this.setLayerNames.bind(this) }
|
|
875
2996
|
};
|
|
876
|
-
return
|
|
2997
|
+
return Q.getPreset(i);
|
|
877
2998
|
},
|
|
878
2999
|
getLayerOrderCSS(e = "") {
|
|
879
|
-
return
|
|
3000
|
+
return Q.getLayerOrder(e, this.options, { names: this.getLayerNames() }, this.defaults);
|
|
880
3001
|
},
|
|
881
3002
|
transformCSS(e = "", t, n = "style", r) {
|
|
882
|
-
return
|
|
3003
|
+
return Q.transformCSS(e, t, r, n, this.options, { layerNames: this.setLayerNames.bind(this) }, this.defaults);
|
|
883
3004
|
},
|
|
884
3005
|
getCommonStyleSheet(e = "", t, n = {}) {
|
|
885
|
-
return
|
|
3006
|
+
return Q.getCommonStyleSheet({
|
|
886
3007
|
name: e,
|
|
887
3008
|
theme: this.theme,
|
|
888
3009
|
params: t,
|
|
@@ -892,7 +3013,7 @@ var K = {
|
|
|
892
3013
|
});
|
|
893
3014
|
},
|
|
894
3015
|
getStyleSheet(e, t, n = {}) {
|
|
895
|
-
return
|
|
3016
|
+
return Q.getStyleSheet({
|
|
896
3017
|
name: e,
|
|
897
3018
|
theme: this.theme,
|
|
898
3019
|
params: t,
|
|
@@ -908,20 +3029,20 @@ var K = {
|
|
|
908
3029
|
this._loadingStyles.add(e);
|
|
909
3030
|
},
|
|
910
3031
|
onStyleLoaded(e, { name: t }) {
|
|
911
|
-
this._loadingStyles.size && (this._loadingStyles.delete(t),
|
|
3032
|
+
this._loadingStyles.size && (this._loadingStyles.delete(t), Ji.emit(`theme:${t}:load`, e), !this._loadingStyles.size && Ji.emit("theme:load"));
|
|
912
3033
|
}
|
|
913
|
-
},
|
|
3034
|
+
}, fa = "\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n }\n\n .p-collapsible-enter-active {\n animation: p-animate-collapsible-expand 0.2s ease-out;\n overflow: hidden;\n }\n\n .p-collapsible-leave-active {\n animation: p-animate-collapsible-collapse 0.2s ease-out;\n overflow: hidden;\n }\n\n @keyframes p-animate-collapsible-expand {\n from {\n grid-template-rows: 0fr;\n }\n to {\n grid-template-rows: 1fr;\n }\n }\n\n @keyframes p-animate-collapsible-collapse {\n from {\n grid-template-rows: 1fr;\n }\n to {\n grid-template-rows: 0fr;\n }\n }\n\n .p-disabled,\n .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-disabled,\n .p-component:disabled {\n opacity: dt('disabled.opacity');\n }\n\n .pi {\n font-size: dt('icon.size');\n }\n\n .p-icon {\n width: dt('icon.size');\n height: dt('icon.size');\n }\n\n .p-overlay-mask {\n background: var(--px-mask-background, dt('mask.background'));\n color: dt('mask.color');\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-overlay-mask-enter-active {\n animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;\n }\n\n .p-overlay-mask-leave-active {\n animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;\n }\n\n @keyframes p-animate-overlay-mask-enter {\n from {\n background: transparent;\n }\n to {\n background: var(--px-mask-background, dt('mask.background'));\n }\n }\n @keyframes p-animate-overlay-mask-leave {\n from {\n background: var(--px-mask-background, dt('mask.background'));\n }\n to {\n background: transparent;\n }\n }\n\n .p-anchored-overlay-enter-active {\n animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);\n }\n\n .p-anchored-overlay-leave-active {\n animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);\n }\n\n @keyframes p-animate-anchored-overlay-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n\n @keyframes p-animate-anchored-overlay-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n";
|
|
914
3035
|
//#endregion
|
|
915
3036
|
//#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/usestyle/index.mjs
|
|
916
|
-
function
|
|
3037
|
+
function pa(e) {
|
|
917
3038
|
"@babel/helpers - typeof";
|
|
918
|
-
return
|
|
3039
|
+
return pa = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
919
3040
|
return typeof e;
|
|
920
3041
|
} : function(e) {
|
|
921
3042
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
922
|
-
},
|
|
3043
|
+
}, pa(e);
|
|
923
3044
|
}
|
|
924
|
-
function
|
|
3045
|
+
function ma(e, t) {
|
|
925
3046
|
var n = Object.keys(e);
|
|
926
3047
|
if (Object.getOwnPropertySymbols) {
|
|
927
3048
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -931,103 +3052,103 @@ function Je(e, t) {
|
|
|
931
3052
|
}
|
|
932
3053
|
return n;
|
|
933
3054
|
}
|
|
934
|
-
function
|
|
3055
|
+
function ha(e) {
|
|
935
3056
|
for (var t = 1; t < arguments.length; t++) {
|
|
936
3057
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
937
|
-
t % 2 ?
|
|
938
|
-
|
|
939
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
3058
|
+
t % 2 ? ma(Object(n), !0).forEach(function(t) {
|
|
3059
|
+
ga(e, t, n[t]);
|
|
3060
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ma(Object(n)).forEach(function(t) {
|
|
940
3061
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
941
3062
|
});
|
|
942
3063
|
}
|
|
943
3064
|
return e;
|
|
944
3065
|
}
|
|
945
|
-
function
|
|
946
|
-
return (t =
|
|
3066
|
+
function ga(e, t, n) {
|
|
3067
|
+
return (t = _a(t)) in e ? Object.defineProperty(e, t, {
|
|
947
3068
|
value: n,
|
|
948
3069
|
enumerable: !0,
|
|
949
3070
|
configurable: !0,
|
|
950
3071
|
writable: !0
|
|
951
3072
|
}) : e[t] = n, e;
|
|
952
3073
|
}
|
|
953
|
-
function
|
|
954
|
-
var t =
|
|
955
|
-
return
|
|
3074
|
+
function _a(e) {
|
|
3075
|
+
var t = va(e, "string");
|
|
3076
|
+
return pa(t) == "symbol" ? t : t + "";
|
|
956
3077
|
}
|
|
957
|
-
function
|
|
958
|
-
if (
|
|
3078
|
+
function va(e, t) {
|
|
3079
|
+
if (pa(e) != "object" || !e) return e;
|
|
959
3080
|
var n = e[Symbol.toPrimitive];
|
|
960
3081
|
if (n !== void 0) {
|
|
961
3082
|
var r = n.call(e, t);
|
|
962
|
-
if (
|
|
3083
|
+
if (pa(r) != "object") return r;
|
|
963
3084
|
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
964
3085
|
}
|
|
965
3086
|
return (t === "string" ? String : Number)(e);
|
|
966
3087
|
}
|
|
967
|
-
function
|
|
3088
|
+
function ya(e) {
|
|
968
3089
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
969
|
-
|
|
3090
|
+
p() && p().components ? w(e) : t ? e() : v(e);
|
|
970
3091
|
}
|
|
971
|
-
var
|
|
972
|
-
function
|
|
973
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n =
|
|
3092
|
+
var ba = 0;
|
|
3093
|
+
function xa(e) {
|
|
3094
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = k(!1), r = k(e), i = k(null), a = Li() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++ba}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, ee = t.onLoad, E = ee === void 0 ? void 0 : ee, D = t.props, A = D === void 0 ? {} : D, j = function() {}, M = function(t) {
|
|
974
3095
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
975
3096
|
if (s) {
|
|
976
|
-
var o =
|
|
977
|
-
i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e,
|
|
3097
|
+
var o = ha(ha({}, A), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
|
|
3098
|
+
i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, Ii(i.value, {
|
|
978
3099
|
type: "text/css",
|
|
979
3100
|
id: l,
|
|
980
|
-
media:
|
|
3101
|
+
media: _,
|
|
981
3102
|
nonce: u
|
|
982
|
-
}),
|
|
983
|
-
return
|
|
984
|
-
},
|
|
985
|
-
i.value.textContent = e,
|
|
3103
|
+
}), x ? s.head.prepend(i.value) : s.head.appendChild(i.value), Ri(i.value, "data-primevue-style-id", c), Ii(i.value, o), i.value.onload = function(e) {
|
|
3104
|
+
return E?.(e, { name: c });
|
|
3105
|
+
}, C?.(c)), !n.value && (j = L(r, function(e) {
|
|
3106
|
+
i.value.textContent = e, T?.(c);
|
|
986
3107
|
}, { immediate: !0 }), n.value = !0);
|
|
987
3108
|
}
|
|
988
3109
|
};
|
|
989
|
-
return l && !d &&
|
|
3110
|
+
return l && !d && ya(M), {
|
|
990
3111
|
id: h,
|
|
991
3112
|
name: p,
|
|
992
3113
|
el: i,
|
|
993
3114
|
css: r,
|
|
994
3115
|
unload: function() {
|
|
995
|
-
!s || !n.value || (
|
|
3116
|
+
!s || !n.value || (j(), Pi(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
|
|
996
3117
|
},
|
|
997
|
-
load:
|
|
998
|
-
isLoaded:
|
|
3118
|
+
load: M,
|
|
3119
|
+
isLoaded: O(n)
|
|
999
3120
|
};
|
|
1000
3121
|
}
|
|
1001
3122
|
//#endregion
|
|
1002
3123
|
//#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/base/style/index.mjs
|
|
1003
|
-
function
|
|
3124
|
+
function Sa(e) {
|
|
1004
3125
|
"@babel/helpers - typeof";
|
|
1005
|
-
return
|
|
3126
|
+
return Sa = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1006
3127
|
return typeof e;
|
|
1007
3128
|
} : function(e) {
|
|
1008
3129
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1009
|
-
},
|
|
3130
|
+
}, Sa(e);
|
|
1010
3131
|
}
|
|
1011
|
-
var
|
|
1012
|
-
function
|
|
1013
|
-
return
|
|
3132
|
+
var Ca, wa, Ta, Ea;
|
|
3133
|
+
function Da(e, t) {
|
|
3134
|
+
return Ma(e) || ja(e, t) || ka(e, t) || Oa();
|
|
1014
3135
|
}
|
|
1015
|
-
function
|
|
3136
|
+
function Oa() {
|
|
1016
3137
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1017
3138
|
}
|
|
1018
|
-
function
|
|
3139
|
+
function ka(e, t) {
|
|
1019
3140
|
if (e) {
|
|
1020
|
-
if (typeof e == "string") return
|
|
3141
|
+
if (typeof e == "string") return Aa(e, t);
|
|
1021
3142
|
var n = {}.toString.call(e).slice(8, -1);
|
|
1022
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
3143
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Aa(e, t) : void 0;
|
|
1023
3144
|
}
|
|
1024
3145
|
}
|
|
1025
|
-
function
|
|
3146
|
+
function Aa(e, t) {
|
|
1026
3147
|
(t == null || t > e.length) && (t = e.length);
|
|
1027
3148
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
1028
3149
|
return r;
|
|
1029
3150
|
}
|
|
1030
|
-
function
|
|
3151
|
+
function ja(e, t) {
|
|
1031
3152
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
1032
3153
|
if (n != null) {
|
|
1033
3154
|
var r, i, a, o, s = [], c = !0, l = !1;
|
|
@@ -1045,10 +3166,10 @@ function ut(e, t) {
|
|
|
1045
3166
|
return s;
|
|
1046
3167
|
}
|
|
1047
3168
|
}
|
|
1048
|
-
function
|
|
3169
|
+
function Ma(e) {
|
|
1049
3170
|
if (Array.isArray(e)) return e;
|
|
1050
3171
|
}
|
|
1051
|
-
function
|
|
3172
|
+
function Na(e, t) {
|
|
1052
3173
|
var n = Object.keys(e);
|
|
1053
3174
|
if (Object.getOwnPropertySymbols) {
|
|
1054
3175
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -1058,43 +3179,43 @@ function ft(e, t) {
|
|
|
1058
3179
|
}
|
|
1059
3180
|
return n;
|
|
1060
3181
|
}
|
|
1061
|
-
function
|
|
3182
|
+
function Pa(e) {
|
|
1062
3183
|
for (var t = 1; t < arguments.length; t++) {
|
|
1063
3184
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
1064
|
-
t % 2 ?
|
|
1065
|
-
|
|
1066
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
3185
|
+
t % 2 ? Na(Object(n), !0).forEach(function(t) {
|
|
3186
|
+
Fa(e, t, n[t]);
|
|
3187
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Na(Object(n)).forEach(function(t) {
|
|
1067
3188
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
1068
3189
|
});
|
|
1069
3190
|
}
|
|
1070
3191
|
return e;
|
|
1071
3192
|
}
|
|
1072
|
-
function
|
|
1073
|
-
return (t =
|
|
3193
|
+
function Fa(e, t, n) {
|
|
3194
|
+
return (t = Ia(t)) in e ? Object.defineProperty(e, t, {
|
|
1074
3195
|
value: n,
|
|
1075
3196
|
enumerable: !0,
|
|
1076
3197
|
configurable: !0,
|
|
1077
3198
|
writable: !0
|
|
1078
3199
|
}) : e[t] = n, e;
|
|
1079
3200
|
}
|
|
1080
|
-
function
|
|
1081
|
-
var t =
|
|
1082
|
-
return
|
|
3201
|
+
function Ia(e) {
|
|
3202
|
+
var t = La(e, "string");
|
|
3203
|
+
return Sa(t) == "symbol" ? t : t + "";
|
|
1083
3204
|
}
|
|
1084
|
-
function
|
|
1085
|
-
if (
|
|
3205
|
+
function La(e, t) {
|
|
3206
|
+
if (Sa(e) != "object" || !e) return e;
|
|
1086
3207
|
var n = e[Symbol.toPrimitive];
|
|
1087
3208
|
if (n !== void 0) {
|
|
1088
3209
|
var r = n.call(e, t);
|
|
1089
|
-
if (
|
|
3210
|
+
if (Sa(r) != "object") return r;
|
|
1090
3211
|
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
1091
3212
|
}
|
|
1092
3213
|
return (t === "string" ? String : Number)(e);
|
|
1093
3214
|
}
|
|
1094
|
-
function
|
|
3215
|
+
function Ra(e, t) {
|
|
1095
3216
|
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
|
|
1096
3217
|
}
|
|
1097
|
-
var
|
|
3218
|
+
var za = {
|
|
1098
3219
|
name: "base",
|
|
1099
3220
|
css: function(e) {
|
|
1100
3221
|
var t = e.dt;
|
|
@@ -1119,14 +3240,14 @@ var X = {
|
|
|
1119
3240
|
}
|
|
1120
3241
|
`;
|
|
1121
3242
|
},
|
|
1122
|
-
style:
|
|
3243
|
+
style: fa,
|
|
1123
3244
|
classes: {},
|
|
1124
3245
|
inlineStyles: {},
|
|
1125
3246
|
load: function(e) {
|
|
1126
3247
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(e) {
|
|
1127
3248
|
return e;
|
|
1128
|
-
})(
|
|
1129
|
-
return
|
|
3249
|
+
})(ua(Ca ||= Ra(["", ""]), e));
|
|
3250
|
+
return Y(n) ? xa(Ai(n), Pa({ name: this.name }, t)) : {};
|
|
1130
3251
|
},
|
|
1131
3252
|
loadCSS: function() {
|
|
1132
3253
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -1136,76 +3257,76 @@ var X = {
|
|
|
1136
3257
|
var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
1137
3258
|
return this.load(this.style, t, function() {
|
|
1138
3259
|
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
1139
|
-
return
|
|
3260
|
+
return $.transformCSS(t.name || e.name, `${r}${ua(wa ||= Ra(["", ""]), n)}`);
|
|
1140
3261
|
});
|
|
1141
3262
|
},
|
|
1142
3263
|
getCommonTheme: function(e) {
|
|
1143
|
-
return
|
|
3264
|
+
return $.getCommon(this.name, e);
|
|
1144
3265
|
},
|
|
1145
3266
|
getComponentTheme: function(e) {
|
|
1146
|
-
return
|
|
3267
|
+
return $.getComponent(this.name, e);
|
|
1147
3268
|
},
|
|
1148
3269
|
getDirectiveTheme: function(e) {
|
|
1149
|
-
return
|
|
3270
|
+
return $.getDirective(this.name, e);
|
|
1150
3271
|
},
|
|
1151
3272
|
getPresetTheme: function(e, t, n) {
|
|
1152
|
-
return
|
|
3273
|
+
return $.getCustomPreset(this.name, e, t, n);
|
|
1153
3274
|
},
|
|
1154
3275
|
getLayerOrderThemeCSS: function() {
|
|
1155
|
-
return
|
|
3276
|
+
return $.getLayerOrderCSS(this.name);
|
|
1156
3277
|
},
|
|
1157
3278
|
getStyleSheet: function() {
|
|
1158
3279
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1159
3280
|
if (this.css) {
|
|
1160
|
-
var n =
|
|
3281
|
+
var n = Ti(this.css, { dt: ca }) || "", r = Ai(ua(Ta ||= Ra([
|
|
1161
3282
|
"",
|
|
1162
3283
|
"",
|
|
1163
3284
|
""
|
|
1164
3285
|
]), n, e)), i = Object.entries(t).reduce(function(e, t) {
|
|
1165
|
-
var n =
|
|
3286
|
+
var n = Da(t, 2), r = n[0], i = n[1];
|
|
1166
3287
|
return e.push(`${r}="${i}"`) && e;
|
|
1167
3288
|
}, []).join(" ");
|
|
1168
|
-
return
|
|
3289
|
+
return Y(r) ? `<style type="text/css" data-primevue-style-id="${this.name}" ${i}>${r}</style>` : "";
|
|
1169
3290
|
}
|
|
1170
3291
|
return "";
|
|
1171
3292
|
},
|
|
1172
3293
|
getCommonThemeStyleSheet: function(e) {
|
|
1173
3294
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1174
|
-
return
|
|
3295
|
+
return $.getCommonStyleSheet(this.name, e, t);
|
|
1175
3296
|
},
|
|
1176
3297
|
getThemeStyleSheet: function(e) {
|
|
1177
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [
|
|
3298
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [$.getStyleSheet(this.name, e, t)];
|
|
1178
3299
|
if (this.style) {
|
|
1179
|
-
var r = this.name === "base" ? "global-style" : `${this.name}-style`, i =
|
|
1180
|
-
var n =
|
|
3300
|
+
var r = this.name === "base" ? "global-style" : `${this.name}-style`, i = ua(Ea ||= Ra(["", ""]), Ti(this.style, { dt: ca })), a = Ai($.transformCSS(r, i)), o = Object.entries(t).reduce(function(e, t) {
|
|
3301
|
+
var n = Da(t, 2), r = n[0], i = n[1];
|
|
1181
3302
|
return e.push(`${r}="${i}"`) && e;
|
|
1182
3303
|
}, []).join(" ");
|
|
1183
|
-
|
|
3304
|
+
Y(a) && n.push(`<style type="text/css" data-primevue-style-id="${r}" ${o}>${a}</style>`);
|
|
1184
3305
|
}
|
|
1185
3306
|
return n.join("");
|
|
1186
3307
|
},
|
|
1187
3308
|
extend: function(e) {
|
|
1188
|
-
return
|
|
3309
|
+
return Pa(Pa({}, this), {}, {
|
|
1189
3310
|
css: void 0,
|
|
1190
3311
|
style: void 0
|
|
1191
3312
|
}, e);
|
|
1192
3313
|
}
|
|
1193
3314
|
};
|
|
1194
|
-
|
|
3315
|
+
za.extend({ name: "common" }), za.extend({ name: "common" });
|
|
1195
3316
|
//#endregion
|
|
1196
3317
|
//#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/service/index.mjs
|
|
1197
|
-
var
|
|
3318
|
+
var Ba = Mi();
|
|
1198
3319
|
//#endregion
|
|
1199
3320
|
//#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/config/index.mjs
|
|
1200
|
-
function
|
|
3321
|
+
function Va(e) {
|
|
1201
3322
|
"@babel/helpers - typeof";
|
|
1202
|
-
return
|
|
3323
|
+
return Va = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1203
3324
|
return typeof e;
|
|
1204
3325
|
} : function(e) {
|
|
1205
3326
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1206
|
-
},
|
|
3327
|
+
}, Va(e);
|
|
1207
3328
|
}
|
|
1208
|
-
function
|
|
3329
|
+
function Ha(e, t) {
|
|
1209
3330
|
var n = Object.keys(e);
|
|
1210
3331
|
if (Object.getOwnPropertySymbols) {
|
|
1211
3332
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -1215,40 +3336,40 @@ function yt(e, t) {
|
|
|
1215
3336
|
}
|
|
1216
3337
|
return n;
|
|
1217
3338
|
}
|
|
1218
|
-
function
|
|
3339
|
+
function Ua(e) {
|
|
1219
3340
|
for (var t = 1; t < arguments.length; t++) {
|
|
1220
3341
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
1221
|
-
t % 2 ?
|
|
1222
|
-
|
|
1223
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
3342
|
+
t % 2 ? Ha(Object(n), !0).forEach(function(t) {
|
|
3343
|
+
Wa(e, t, n[t]);
|
|
3344
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ha(Object(n)).forEach(function(t) {
|
|
1224
3345
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
1225
3346
|
});
|
|
1226
3347
|
}
|
|
1227
3348
|
return e;
|
|
1228
3349
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return (t =
|
|
3350
|
+
function Wa(e, t, n) {
|
|
3351
|
+
return (t = Ga(t)) in e ? Object.defineProperty(e, t, {
|
|
1231
3352
|
value: n,
|
|
1232
3353
|
enumerable: !0,
|
|
1233
3354
|
configurable: !0,
|
|
1234
3355
|
writable: !0
|
|
1235
3356
|
}) : e[t] = n, e;
|
|
1236
3357
|
}
|
|
1237
|
-
function
|
|
1238
|
-
var t =
|
|
1239
|
-
return
|
|
3358
|
+
function Ga(e) {
|
|
3359
|
+
var t = Ka(e, "string");
|
|
3360
|
+
return Va(t) == "symbol" ? t : t + "";
|
|
1240
3361
|
}
|
|
1241
|
-
function
|
|
1242
|
-
if (
|
|
3362
|
+
function Ka(e, t) {
|
|
3363
|
+
if (Va(e) != "object" || !e) return e;
|
|
1243
3364
|
var n = e[Symbol.toPrimitive];
|
|
1244
3365
|
if (n !== void 0) {
|
|
1245
3366
|
var r = n.call(e, t);
|
|
1246
|
-
if (
|
|
3367
|
+
if (Va(r) != "object") return r;
|
|
1247
3368
|
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
1248
3369
|
}
|
|
1249
3370
|
return (t === "string" ? String : Number)(e);
|
|
1250
3371
|
}
|
|
1251
|
-
var
|
|
3372
|
+
var qa = {
|
|
1252
3373
|
ripple: !1,
|
|
1253
3374
|
inputStyle: null,
|
|
1254
3375
|
inputVariant: null,
|
|
@@ -1435,26 +3556,26 @@ var wt = {
|
|
|
1435
3556
|
},
|
|
1436
3557
|
filterMatchModeOptions: {
|
|
1437
3558
|
text: [
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
3559
|
+
X.STARTS_WITH,
|
|
3560
|
+
X.CONTAINS,
|
|
3561
|
+
X.NOT_CONTAINS,
|
|
3562
|
+
X.ENDS_WITH,
|
|
3563
|
+
X.EQUALS,
|
|
3564
|
+
X.NOT_EQUALS
|
|
1444
3565
|
],
|
|
1445
3566
|
numeric: [
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
3567
|
+
X.EQUALS,
|
|
3568
|
+
X.NOT_EQUALS,
|
|
3569
|
+
X.LESS_THAN,
|
|
3570
|
+
X.LESS_THAN_OR_EQUAL_TO,
|
|
3571
|
+
X.GREATER_THAN,
|
|
3572
|
+
X.GREATER_THAN_OR_EQUAL_TO
|
|
1452
3573
|
],
|
|
1453
3574
|
date: [
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
3575
|
+
X.DATE_IS,
|
|
3576
|
+
X.DATE_IS_NOT,
|
|
3577
|
+
X.DATE_BEFORE,
|
|
3578
|
+
X.DATE_AFTER
|
|
1458
3579
|
]
|
|
1459
3580
|
},
|
|
1460
3581
|
zIndex: {
|
|
@@ -1471,59 +3592,59 @@ var wt = {
|
|
|
1471
3592
|
mergeProps: !1
|
|
1472
3593
|
},
|
|
1473
3594
|
csp: { nonce: void 0 }
|
|
1474
|
-
},
|
|
1475
|
-
function
|
|
1476
|
-
var n = { config:
|
|
1477
|
-
return e.config.globalProperties.$primevue = n, e.provide(
|
|
1478
|
-
}
|
|
1479
|
-
var
|
|
1480
|
-
function
|
|
1481
|
-
|
|
3595
|
+
}, Ja = Symbol();
|
|
3596
|
+
function Ya(e, t) {
|
|
3597
|
+
var n = { config: D(t) };
|
|
3598
|
+
return e.config.globalProperties.$primevue = n, e.provide(Ja, n), Za(), Qa(e, n), n;
|
|
3599
|
+
}
|
|
3600
|
+
var Xa = [];
|
|
3601
|
+
function Za() {
|
|
3602
|
+
Ji.clear(), Xa.forEach(function(e) {
|
|
1482
3603
|
return e?.();
|
|
1483
|
-
}),
|
|
3604
|
+
}), Xa = [];
|
|
1484
3605
|
}
|
|
1485
|
-
function
|
|
1486
|
-
var n =
|
|
1487
|
-
if (t.config?.theme !== "none" &&
|
|
1488
|
-
var e, n =
|
|
1489
|
-
|
|
3606
|
+
function Qa(e, t) {
|
|
3607
|
+
var n = k(!1), r = function() {
|
|
3608
|
+
if (t.config?.theme !== "none" && !$.isStyleNameLoaded("common")) {
|
|
3609
|
+
var e, n = za.getCommonTheme?.call(za) || {}, r = n.primitive, i = n.semantic, a = n.global, o = n.style, s = { nonce: (e = t.config) == null || (e = e.csp) == null ? void 0 : e.nonce };
|
|
3610
|
+
za.load(r?.css, Ua({ name: "primitive-variables" }, s)), za.load(i?.css, Ua({ name: "semantic-variables" }, s)), za.load(a?.css, Ua({ name: "global-variables" }, s)), za.loadStyle(Ua({ name: "global-style" }, s), o), $.setLoadedStyleName("common");
|
|
1490
3611
|
}
|
|
1491
3612
|
};
|
|
1492
|
-
|
|
3613
|
+
Ji.on("theme:change", function(t) {
|
|
1493
3614
|
n.value ||= (e.config.globalProperties.$primevue.config.theme = t, !0);
|
|
1494
3615
|
});
|
|
1495
|
-
var i =
|
|
1496
|
-
|
|
3616
|
+
var i = L(t.config, function(e, t) {
|
|
3617
|
+
Ba.emit("config:change", {
|
|
1497
3618
|
newValue: e,
|
|
1498
3619
|
oldValue: t
|
|
1499
3620
|
});
|
|
1500
3621
|
}, {
|
|
1501
3622
|
immediate: !0,
|
|
1502
3623
|
deep: !0
|
|
1503
|
-
}), a =
|
|
3624
|
+
}), a = L(function() {
|
|
1504
3625
|
return t.config.ripple;
|
|
1505
3626
|
}, function(e, t) {
|
|
1506
|
-
|
|
3627
|
+
Ba.emit("config:ripple:change", {
|
|
1507
3628
|
newValue: e,
|
|
1508
3629
|
oldValue: t
|
|
1509
3630
|
});
|
|
1510
3631
|
}, {
|
|
1511
3632
|
immediate: !0,
|
|
1512
3633
|
deep: !0
|
|
1513
|
-
}), o =
|
|
3634
|
+
}), o = L(function() {
|
|
1514
3635
|
return t.config.theme;
|
|
1515
3636
|
}, function(e, i) {
|
|
1516
|
-
n.value ||
|
|
3637
|
+
n.value || $.setTheme(e), t.config.unstyled || r(), n.value = !1, Ba.emit("config:theme:change", {
|
|
1517
3638
|
newValue: e,
|
|
1518
3639
|
oldValue: i
|
|
1519
3640
|
});
|
|
1520
3641
|
}, {
|
|
1521
3642
|
immediate: !0,
|
|
1522
3643
|
deep: !1
|
|
1523
|
-
}), s =
|
|
3644
|
+
}), s = L(function() {
|
|
1524
3645
|
return t.config.unstyled;
|
|
1525
3646
|
}, function(e, n) {
|
|
1526
|
-
!e && t.config.theme && r(),
|
|
3647
|
+
!e && t.config.theme && r(), Ba.emit("config:unstyled:change", {
|
|
1527
3648
|
newValue: e,
|
|
1528
3649
|
oldValue: n
|
|
1529
3650
|
});
|
|
@@ -1531,11 +3652,11 @@ function Ot(e, t) {
|
|
|
1531
3652
|
immediate: !0,
|
|
1532
3653
|
deep: !0
|
|
1533
3654
|
});
|
|
1534
|
-
|
|
3655
|
+
Xa.push(i), Xa.push(a), Xa.push(o), Xa.push(s);
|
|
1535
3656
|
}
|
|
1536
|
-
var
|
|
1537
|
-
|
|
1538
|
-
} },
|
|
3657
|
+
var $a = { install: function(e, t) {
|
|
3658
|
+
Ya(e, ki(qa, t));
|
|
3659
|
+
} }, eo = {
|
|
1539
3660
|
root: { transitionDuration: "{transition.duration}" },
|
|
1540
3661
|
panel: {
|
|
1541
3662
|
borderWidth: "0 0 1px 0",
|
|
@@ -1584,7 +3705,7 @@ var kt = { install: function(e, t) {
|
|
|
1584
3705
|
color: "{text.color}",
|
|
1585
3706
|
padding: "0 1.125rem 1.125rem 1.125rem"
|
|
1586
3707
|
}
|
|
1587
|
-
},
|
|
3708
|
+
}, to = {
|
|
1588
3709
|
root: {
|
|
1589
3710
|
background: "{form.field.background}",
|
|
1590
3711
|
disabledBackground: "{form.field.disabled.background}",
|
|
@@ -1688,7 +3809,7 @@ var kt = { install: function(e, t) {
|
|
|
1688
3809
|
}
|
|
1689
3810
|
}
|
|
1690
3811
|
}
|
|
1691
|
-
},
|
|
3812
|
+
}, no = {
|
|
1692
3813
|
root: {
|
|
1693
3814
|
width: "2rem",
|
|
1694
3815
|
height: "2rem",
|
|
@@ -1716,7 +3837,7 @@ var kt = { install: function(e, t) {
|
|
|
1716
3837
|
icon: { size: "2rem" },
|
|
1717
3838
|
group: { offset: "-1.5rem" }
|
|
1718
3839
|
}
|
|
1719
|
-
},
|
|
3840
|
+
}, ro = {
|
|
1720
3841
|
root: {
|
|
1721
3842
|
borderRadius: "{border.radius.md}",
|
|
1722
3843
|
padding: "0 0.5rem",
|
|
@@ -1803,7 +3924,7 @@ var kt = { install: function(e, t) {
|
|
|
1803
3924
|
}
|
|
1804
3925
|
}
|
|
1805
3926
|
}
|
|
1806
|
-
},
|
|
3927
|
+
}, io = {
|
|
1807
3928
|
primitive: {
|
|
1808
3929
|
borderRadius: {
|
|
1809
3930
|
none: "0",
|
|
@@ -2449,7 +4570,7 @@ var kt = { install: function(e, t) {
|
|
|
2449
4570
|
}
|
|
2450
4571
|
}
|
|
2451
4572
|
}
|
|
2452
|
-
},
|
|
4573
|
+
}, ao = { root: { borderRadius: "{content.border.radius}" } }, oo = {
|
|
2453
4574
|
root: {
|
|
2454
4575
|
padding: "1rem",
|
|
2455
4576
|
background: "{content.background}",
|
|
@@ -2474,7 +4595,7 @@ var kt = { install: function(e, t) {
|
|
|
2474
4595
|
}
|
|
2475
4596
|
},
|
|
2476
4597
|
separator: { color: "{navigation.item.icon.color}" }
|
|
2477
|
-
},
|
|
4598
|
+
}, so = {
|
|
2478
4599
|
root: {
|
|
2479
4600
|
borderRadius: "{form.field.border.radius}",
|
|
2480
4601
|
roundedBorderRadius: "2rem",
|
|
@@ -2970,7 +5091,7 @@ var kt = { install: function(e, t) {
|
|
|
2970
5091
|
}
|
|
2971
5092
|
}
|
|
2972
5093
|
}
|
|
2973
|
-
},
|
|
5094
|
+
}, co = {
|
|
2974
5095
|
root: {
|
|
2975
5096
|
background: "{content.background}",
|
|
2976
5097
|
borderRadius: "{border.radius.xl}",
|
|
@@ -2987,7 +5108,7 @@ var kt = { install: function(e, t) {
|
|
|
2987
5108
|
fontWeight: "500"
|
|
2988
5109
|
},
|
|
2989
5110
|
subtitle: { color: "{text.muted.color}" }
|
|
2990
|
-
},
|
|
5111
|
+
}, lo = {
|
|
2991
5112
|
root: { transitionDuration: "{transition.duration}" },
|
|
2992
5113
|
content: { gap: "0.25rem" },
|
|
2993
5114
|
indicatorList: {
|
|
@@ -3018,7 +5139,7 @@ var kt = { install: function(e, t) {
|
|
|
3018
5139
|
activeBackground: "{primary.color}"
|
|
3019
5140
|
} }
|
|
3020
5141
|
}
|
|
3021
|
-
},
|
|
5142
|
+
}, uo = {
|
|
3022
5143
|
root: {
|
|
3023
5144
|
background: "{form.field.background}",
|
|
3024
5145
|
disabledBackground: "{form.field.disabled.background}",
|
|
@@ -3089,7 +5210,7 @@ var kt = { install: function(e, t) {
|
|
|
3089
5210
|
}
|
|
3090
5211
|
},
|
|
3091
5212
|
clearIcon: { color: "{form.field.icon.color}" }
|
|
3092
|
-
},
|
|
5213
|
+
}, fo = {
|
|
3093
5214
|
root: {
|
|
3094
5215
|
borderRadius: "{border.radius.sm}",
|
|
3095
5216
|
width: "1.25rem",
|
|
@@ -3134,7 +5255,7 @@ var kt = { install: function(e, t) {
|
|
|
3134
5255
|
sm: { size: "0.75rem" },
|
|
3135
5256
|
lg: { size: "1rem" }
|
|
3136
5257
|
}
|
|
3137
|
-
},
|
|
5258
|
+
}, po = {
|
|
3138
5259
|
root: {
|
|
3139
5260
|
borderRadius: "16px",
|
|
3140
5261
|
paddingX: "0.75rem",
|
|
@@ -3175,7 +5296,7 @@ var kt = { install: function(e, t) {
|
|
|
3175
5296
|
removeIcon: { color: "{surface.0}" }
|
|
3176
5297
|
}
|
|
3177
5298
|
}
|
|
3178
|
-
},
|
|
5299
|
+
}, mo = {
|
|
3179
5300
|
root: { transitionDuration: "{transition.duration}" },
|
|
3180
5301
|
preview: {
|
|
3181
5302
|
width: "1.5rem",
|
|
@@ -3209,13 +5330,13 @@ var kt = { install: function(e, t) {
|
|
|
3209
5330
|
handle: { color: "{surface.0}" }
|
|
3210
5331
|
}
|
|
3211
5332
|
}
|
|
3212
|
-
},
|
|
5333
|
+
}, ho = {
|
|
3213
5334
|
icon: {
|
|
3214
5335
|
size: "2rem",
|
|
3215
5336
|
color: "{overlay.modal.color}"
|
|
3216
5337
|
},
|
|
3217
5338
|
content: { gap: "1rem" }
|
|
3218
|
-
},
|
|
5339
|
+
}, go = {
|
|
3219
5340
|
root: {
|
|
3220
5341
|
background: "{overlay.popover.background}",
|
|
3221
5342
|
borderColor: "{overlay.popover.border.color}",
|
|
@@ -3237,7 +5358,7 @@ var kt = { install: function(e, t) {
|
|
|
3237
5358
|
gap: "0.5rem",
|
|
3238
5359
|
padding: "0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"
|
|
3239
5360
|
}
|
|
3240
|
-
},
|
|
5361
|
+
}, _o = {
|
|
3241
5362
|
root: {
|
|
3242
5363
|
background: "{content.background}",
|
|
3243
5364
|
borderColor: "{content.border.color}",
|
|
@@ -3273,7 +5394,7 @@ var kt = { install: function(e, t) {
|
|
|
3273
5394
|
activeColor: "{navigation.submenu.icon.active.color}"
|
|
3274
5395
|
},
|
|
3275
5396
|
separator: { borderColor: "{content.border.color}" }
|
|
3276
|
-
},
|
|
5397
|
+
}, vo = {
|
|
3277
5398
|
root: { transitionDuration: "{transition.duration}" },
|
|
3278
5399
|
header: {
|
|
3279
5400
|
background: "{content.background}",
|
|
@@ -3428,7 +5549,7 @@ var kt = { install: function(e, t) {
|
|
|
3428
5549
|
bodyCell: { selectedBorderColor: "{primary.900}" }
|
|
3429
5550
|
}
|
|
3430
5551
|
}
|
|
3431
|
-
},
|
|
5552
|
+
}, yo = {
|
|
3432
5553
|
root: {
|
|
3433
5554
|
borderColor: "transparent",
|
|
3434
5555
|
borderWidth: "0",
|
|
@@ -3467,7 +5588,7 @@ var kt = { install: function(e, t) {
|
|
|
3467
5588
|
borderColor: "{content.border.color}",
|
|
3468
5589
|
borderWidth: "1px 0 0 0"
|
|
3469
5590
|
}
|
|
3470
|
-
},
|
|
5591
|
+
}, bo = {
|
|
3471
5592
|
root: { transitionDuration: "{transition.duration}" },
|
|
3472
5593
|
panel: {
|
|
3473
5594
|
background: "{content.background}",
|
|
@@ -3598,7 +5719,7 @@ var kt = { install: function(e, t) {
|
|
|
3598
5719
|
}
|
|
3599
5720
|
}
|
|
3600
5721
|
}
|
|
3601
|
-
},
|
|
5722
|
+
}, xo = {
|
|
3602
5723
|
root: {
|
|
3603
5724
|
background: "{overlay.modal.background}",
|
|
3604
5725
|
borderColor: "{overlay.modal.border.color}",
|
|
@@ -3619,7 +5740,7 @@ var kt = { install: function(e, t) {
|
|
|
3619
5740
|
padding: "0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",
|
|
3620
5741
|
gap: "0.5rem"
|
|
3621
5742
|
}
|
|
3622
|
-
},
|
|
5743
|
+
}, So = {
|
|
3623
5744
|
root: { borderColor: "{content.border.color}" },
|
|
3624
5745
|
content: {
|
|
3625
5746
|
background: "{content.background}",
|
|
@@ -3635,7 +5756,7 @@ var kt = { install: function(e, t) {
|
|
|
3635
5756
|
padding: "0.5rem 0",
|
|
3636
5757
|
content: { padding: "0.5rem 0" }
|
|
3637
5758
|
}
|
|
3638
|
-
},
|
|
5759
|
+
}, Co = {
|
|
3639
5760
|
root: {
|
|
3640
5761
|
background: "rgba(255, 255, 255, 0.1)",
|
|
3641
5762
|
borderColor: "rgba(255, 255, 255, 0.2)",
|
|
@@ -3654,7 +5775,7 @@ var kt = { install: function(e, t) {
|
|
|
3654
5775
|
shadow: "{focus.ring.shadow}"
|
|
3655
5776
|
}
|
|
3656
5777
|
}
|
|
3657
|
-
},
|
|
5778
|
+
}, wo = {
|
|
3658
5779
|
root: {
|
|
3659
5780
|
background: "{overlay.modal.background}",
|
|
3660
5781
|
borderColor: "{overlay.modal.border.color}",
|
|
@@ -3668,7 +5789,7 @@ var kt = { install: function(e, t) {
|
|
|
3668
5789
|
},
|
|
3669
5790
|
content: { padding: "0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}" },
|
|
3670
5791
|
footer: { padding: "{overlay.modal.padding}" }
|
|
3671
|
-
},
|
|
5792
|
+
}, To = {
|
|
3672
5793
|
toolbar: {
|
|
3673
5794
|
background: "{content.background}",
|
|
3674
5795
|
borderColor: "{content.border.color}",
|
|
@@ -3700,7 +5821,7 @@ var kt = { install: function(e, t) {
|
|
|
3700
5821
|
color: "{content.color}",
|
|
3701
5822
|
borderRadius: "{content.border.radius}"
|
|
3702
5823
|
}
|
|
3703
|
-
},
|
|
5824
|
+
}, Eo = {
|
|
3704
5825
|
root: {
|
|
3705
5826
|
background: "{content.background}",
|
|
3706
5827
|
borderColor: "{content.border.color}",
|
|
@@ -3733,7 +5854,7 @@ var kt = { install: function(e, t) {
|
|
|
3733
5854
|
hoverColor: "{text.hover.muted.color}"
|
|
3734
5855
|
},
|
|
3735
5856
|
content: { padding: "0" }
|
|
3736
|
-
},
|
|
5857
|
+
}, Do = {
|
|
3737
5858
|
root: {
|
|
3738
5859
|
background: "{content.background}",
|
|
3739
5860
|
borderColor: "{content.border.color}",
|
|
@@ -3764,7 +5885,7 @@ var kt = { install: function(e, t) {
|
|
|
3764
5885
|
fileList: { gap: "0.5rem" },
|
|
3765
5886
|
progressbar: { height: "0.25rem" },
|
|
3766
5887
|
basic: { gap: "0.5rem" }
|
|
3767
|
-
},
|
|
5888
|
+
}, Oo = {
|
|
3768
5889
|
root: {
|
|
3769
5890
|
color: "{form.field.float.label.color}",
|
|
3770
5891
|
focusColor: "{form.field.float.label.focus.color}",
|
|
@@ -3794,7 +5915,7 @@ var kt = { install: function(e, t) {
|
|
|
3794
5915
|
padding: "0 0.125rem"
|
|
3795
5916
|
}
|
|
3796
5917
|
}
|
|
3797
|
-
},
|
|
5918
|
+
}, ko = {
|
|
3798
5919
|
root: {
|
|
3799
5920
|
borderWidth: "1px",
|
|
3800
5921
|
borderColor: "{content.border.color}",
|
|
@@ -3905,7 +6026,7 @@ var kt = { install: function(e, t) {
|
|
|
3905
6026
|
}
|
|
3906
6027
|
}
|
|
3907
6028
|
}
|
|
3908
|
-
},
|
|
6029
|
+
}, Ao = { icon: { color: "{form.field.icon.color}" } }, jo = {
|
|
3909
6030
|
root: {
|
|
3910
6031
|
color: "{form.field.float.label.color}",
|
|
3911
6032
|
focusColor: "{form.field.float.label.focus.color}",
|
|
@@ -3920,7 +6041,7 @@ var kt = { install: function(e, t) {
|
|
|
3920
6041
|
paddingTop: "1.5rem",
|
|
3921
6042
|
paddingBottom: "{form.field.padding.y}"
|
|
3922
6043
|
}
|
|
3923
|
-
},
|
|
6044
|
+
}, Mo = {
|
|
3924
6045
|
root: { transitionDuration: "{transition.duration}" },
|
|
3925
6046
|
preview: {
|
|
3926
6047
|
icon: { size: "1.5rem" },
|
|
@@ -3959,7 +6080,7 @@ var kt = { install: function(e, t) {
|
|
|
3959
6080
|
shadow: "{focus.ring.shadow}"
|
|
3960
6081
|
}
|
|
3961
6082
|
}
|
|
3962
|
-
},
|
|
6083
|
+
}, No = { handle: {
|
|
3963
6084
|
size: "15px",
|
|
3964
6085
|
hoverSize: "30px",
|
|
3965
6086
|
background: "rgba(255,255,255,0.3)",
|
|
@@ -3976,7 +6097,7 @@ var kt = { install: function(e, t) {
|
|
|
3976
6097
|
offset: "{focus.ring.offset}",
|
|
3977
6098
|
shadow: "{focus.ring.shadow}"
|
|
3978
6099
|
}
|
|
3979
|
-
} },
|
|
6100
|
+
} }, Po = {
|
|
3980
6101
|
root: {
|
|
3981
6102
|
padding: "{form.field.padding.y} {form.field.padding.x}",
|
|
3982
6103
|
borderRadius: "{content.border.radius}",
|
|
@@ -4062,7 +6183,7 @@ var kt = { install: function(e, t) {
|
|
|
4062
6183
|
}
|
|
4063
6184
|
}
|
|
4064
6185
|
}
|
|
4065
|
-
},
|
|
6186
|
+
}, Fo = {
|
|
4066
6187
|
root: {
|
|
4067
6188
|
padding: "{form.field.padding.y} {form.field.padding.x}",
|
|
4068
6189
|
borderRadius: "{content.border.radius}",
|
|
@@ -4079,7 +6200,7 @@ var kt = { install: function(e, t) {
|
|
|
4079
6200
|
hoverBackground: "{content.hover.background}",
|
|
4080
6201
|
hoverColor: "{content.hover.color}"
|
|
4081
6202
|
}
|
|
4082
|
-
},
|
|
6203
|
+
}, Io = {
|
|
4083
6204
|
root: {
|
|
4084
6205
|
background: "{form.field.background}",
|
|
4085
6206
|
disabledBackground: "{form.field.disabled.background}",
|
|
@@ -4116,14 +6237,14 @@ var kt = { install: function(e, t) {
|
|
|
4116
6237
|
color: "{surface.0}"
|
|
4117
6238
|
} }
|
|
4118
6239
|
}
|
|
4119
|
-
},
|
|
6240
|
+
}, Lo = { addon: {
|
|
4120
6241
|
background: "{form.field.background}",
|
|
4121
6242
|
borderColor: "{form.field.border.color}",
|
|
4122
6243
|
color: "{form.field.icon.color}",
|
|
4123
6244
|
borderRadius: "{form.field.border.radius}",
|
|
4124
6245
|
padding: "0.5rem",
|
|
4125
6246
|
minWidth: "2.5rem"
|
|
4126
|
-
} },
|
|
6247
|
+
} }, Ro = {
|
|
4127
6248
|
root: { transitionDuration: "{transition.duration}" },
|
|
4128
6249
|
button: {
|
|
4129
6250
|
width: "2.5rem",
|
|
@@ -4154,14 +6275,14 @@ var kt = { install: function(e, t) {
|
|
|
4154
6275
|
activeColor: "{surface.200}"
|
|
4155
6276
|
} }
|
|
4156
6277
|
}
|
|
4157
|
-
},
|
|
6278
|
+
}, zo = {
|
|
4158
6279
|
root: { gap: "0.5rem" },
|
|
4159
6280
|
input: {
|
|
4160
6281
|
width: "2.5rem",
|
|
4161
6282
|
sm: { width: "2rem" },
|
|
4162
6283
|
lg: { width: "3rem" }
|
|
4163
6284
|
}
|
|
4164
|
-
},
|
|
6285
|
+
}, Bo = { root: {
|
|
4165
6286
|
background: "{form.field.background}",
|
|
4166
6287
|
disabledBackground: "{form.field.disabled.background}",
|
|
4167
6288
|
filledBackground: "{form.field.filled.background}",
|
|
@@ -4197,7 +6318,7 @@ var kt = { install: function(e, t) {
|
|
|
4197
6318
|
paddingX: "{form.field.lg.padding.x}",
|
|
4198
6319
|
paddingY: "{form.field.lg.padding.y}"
|
|
4199
6320
|
}
|
|
4200
|
-
} },
|
|
6321
|
+
} }, Vo = {
|
|
4201
6322
|
root: {
|
|
4202
6323
|
transitionDuration: "{transition.duration}",
|
|
4203
6324
|
focusRing: {
|
|
@@ -4211,7 +6332,7 @@ var kt = { install: function(e, t) {
|
|
|
4211
6332
|
value: { background: "{primary.color}" },
|
|
4212
6333
|
range: { background: "{content.border.color}" },
|
|
4213
6334
|
text: { color: "{text.muted.color}" }
|
|
4214
|
-
},
|
|
6335
|
+
}, Ho = {
|
|
4215
6336
|
root: {
|
|
4216
6337
|
background: "{form.field.background}",
|
|
4217
6338
|
disabledBackground: "{form.field.disabled.background}",
|
|
@@ -4255,7 +6376,7 @@ var kt = { install: function(e, t) {
|
|
|
4255
6376
|
light: { option: { stripedBackground: "{surface.50}" } },
|
|
4256
6377
|
dark: { option: { stripedBackground: "{surface.900}" } }
|
|
4257
6378
|
}
|
|
4258
|
-
},
|
|
6379
|
+
}, Uo = {
|
|
4259
6380
|
root: {
|
|
4260
6381
|
background: "{content.background}",
|
|
4261
6382
|
borderColor: "{content.border.color}",
|
|
@@ -4331,7 +6452,7 @@ var kt = { install: function(e, t) {
|
|
|
4331
6452
|
shadow: "{focus.ring.shadow}"
|
|
4332
6453
|
}
|
|
4333
6454
|
}
|
|
4334
|
-
},
|
|
6455
|
+
}, Wo = {
|
|
4335
6456
|
root: {
|
|
4336
6457
|
background: "{content.background}",
|
|
4337
6458
|
borderColor: "{content.border.color}",
|
|
@@ -4363,7 +6484,7 @@ var kt = { install: function(e, t) {
|
|
|
4363
6484
|
color: "{navigation.submenu.label.color}"
|
|
4364
6485
|
},
|
|
4365
6486
|
separator: { borderColor: "{content.border.color}" }
|
|
4366
|
-
},
|
|
6487
|
+
}, Go = {
|
|
4367
6488
|
root: {
|
|
4368
6489
|
background: "{content.background}",
|
|
4369
6490
|
borderColor: "{content.border.color}",
|
|
@@ -4422,7 +6543,7 @@ var kt = { install: function(e, t) {
|
|
|
4422
6543
|
shadow: "{focus.ring.shadow}"
|
|
4423
6544
|
}
|
|
4424
6545
|
}
|
|
4425
|
-
},
|
|
6546
|
+
}, Ko = {
|
|
4426
6547
|
root: {
|
|
4427
6548
|
borderRadius: "{content.border.radius}",
|
|
4428
6549
|
borderWidth: "1px",
|
|
@@ -4684,7 +6805,7 @@ var kt = { install: function(e, t) {
|
|
|
4684
6805
|
}
|
|
4685
6806
|
}
|
|
4686
6807
|
}
|
|
4687
|
-
},
|
|
6808
|
+
}, qo = {
|
|
4688
6809
|
root: {
|
|
4689
6810
|
borderRadius: "{content.border.radius}",
|
|
4690
6811
|
gap: "1rem"
|
|
@@ -4700,7 +6821,7 @@ var kt = { install: function(e, t) {
|
|
|
4700
6821
|
verticalGap: "0.5rem",
|
|
4701
6822
|
horizontalGap: "1rem"
|
|
4702
6823
|
}
|
|
4703
|
-
},
|
|
6824
|
+
}, Jo = {
|
|
4704
6825
|
root: {
|
|
4705
6826
|
background: "{form.field.background}",
|
|
4706
6827
|
disabledBackground: "{form.field.disabled.background}",
|
|
@@ -4775,10 +6896,10 @@ var kt = { install: function(e, t) {
|
|
|
4775
6896
|
chip: { borderRadius: "{border.radius.sm}" },
|
|
4776
6897
|
clearIcon: { color: "{form.field.icon.color}" },
|
|
4777
6898
|
emptyMessage: { padding: "{list.option.padding}" }
|
|
4778
|
-
},
|
|
6899
|
+
}, Yo = {
|
|
4779
6900
|
root: { gap: "1.125rem" },
|
|
4780
6901
|
controls: { gap: "0.5rem" }
|
|
4781
|
-
},
|
|
6902
|
+
}, Xo = {
|
|
4782
6903
|
root: {
|
|
4783
6904
|
gutter: "0.75rem",
|
|
4784
6905
|
transitionDuration: "{transition.duration}"
|
|
@@ -4816,10 +6937,10 @@ var kt = { install: function(e, t) {
|
|
|
4816
6937
|
borderRadius: "{content.border.radius}",
|
|
4817
6938
|
height: "24px"
|
|
4818
6939
|
}
|
|
4819
|
-
},
|
|
6940
|
+
}, Zo = { root: { outline: {
|
|
4820
6941
|
width: "2px",
|
|
4821
6942
|
color: "{content.background}"
|
|
4822
|
-
} } },
|
|
6943
|
+
} } }, Qo = {
|
|
4823
6944
|
root: {
|
|
4824
6945
|
padding: "0.5rem 1rem",
|
|
4825
6946
|
gap: "0.25rem",
|
|
@@ -4848,7 +6969,7 @@ var kt = { install: function(e, t) {
|
|
|
4848
6969
|
},
|
|
4849
6970
|
currentPageReport: { color: "{text.muted.color}" },
|
|
4850
6971
|
jumpToPageInput: { maxWidth: "2.5rem" }
|
|
4851
|
-
},
|
|
6972
|
+
}, $o = {
|
|
4852
6973
|
root: {
|
|
4853
6974
|
background: "{content.background}",
|
|
4854
6975
|
borderColor: "{content.border.color}",
|
|
@@ -4867,7 +6988,7 @@ var kt = { install: function(e, t) {
|
|
|
4867
6988
|
title: { fontWeight: "600" },
|
|
4868
6989
|
content: { padding: "0 1.125rem 1.125rem 1.125rem" },
|
|
4869
6990
|
footer: { padding: "0 1.125rem 1.125rem 1.125rem" }
|
|
4870
|
-
},
|
|
6991
|
+
}, es = {
|
|
4871
6992
|
root: {
|
|
4872
6993
|
gap: "0.5rem",
|
|
4873
6994
|
transitionDuration: "{transition.duration}"
|
|
@@ -4905,7 +7026,7 @@ var kt = { install: function(e, t) {
|
|
|
4905
7026
|
color: "{navigation.submenu.icon.color}",
|
|
4906
7027
|
focusColor: "{navigation.submenu.icon.focus.color}"
|
|
4907
7028
|
}
|
|
4908
|
-
},
|
|
7029
|
+
}, ts = {
|
|
4909
7030
|
meter: {
|
|
4910
7031
|
background: "{content.border.color}",
|
|
4911
7032
|
borderRadius: "{content.border.radius}",
|
|
@@ -4933,10 +7054,10 @@ var kt = { install: function(e, t) {
|
|
|
4933
7054
|
strongBackground: "{green.400}"
|
|
4934
7055
|
} }
|
|
4935
7056
|
}
|
|
4936
|
-
},
|
|
7057
|
+
}, ns = {
|
|
4937
7058
|
root: { gap: "1.125rem" },
|
|
4938
7059
|
controls: { gap: "0.5rem" }
|
|
4939
|
-
},
|
|
7060
|
+
}, rs = {
|
|
4940
7061
|
root: {
|
|
4941
7062
|
background: "{overlay.popover.background}",
|
|
4942
7063
|
borderColor: "{overlay.popover.border.color}",
|
|
@@ -4947,7 +7068,7 @@ var kt = { install: function(e, t) {
|
|
|
4947
7068
|
arrowOffset: "1.25rem"
|
|
4948
7069
|
},
|
|
4949
7070
|
content: { padding: "{overlay.popover.padding}" }
|
|
4950
|
-
},
|
|
7071
|
+
}, is = {
|
|
4951
7072
|
root: {
|
|
4952
7073
|
background: "{content.border.color}",
|
|
4953
7074
|
borderRadius: "{content.border.radius}",
|
|
@@ -4959,7 +7080,7 @@ var kt = { install: function(e, t) {
|
|
|
4959
7080
|
fontSize: "0.75rem",
|
|
4960
7081
|
fontWeight: "600"
|
|
4961
7082
|
}
|
|
4962
|
-
},
|
|
7083
|
+
}, as = { colorScheme: {
|
|
4963
7084
|
light: { root: {
|
|
4964
7085
|
colorOne: "{red.500}",
|
|
4965
7086
|
colorTwo: "{blue.500}",
|
|
@@ -4972,7 +7093,7 @@ var kt = { install: function(e, t) {
|
|
|
4972
7093
|
colorThree: "{green.400}",
|
|
4973
7094
|
colorFour: "{yellow.400}"
|
|
4974
7095
|
} }
|
|
4975
|
-
} },
|
|
7096
|
+
} }, os = {
|
|
4976
7097
|
root: {
|
|
4977
7098
|
width: "1.25rem",
|
|
4978
7099
|
height: "1.25rem",
|
|
@@ -5015,7 +7136,7 @@ var kt = { install: function(e, t) {
|
|
|
5015
7136
|
sm: { size: "0.5rem" },
|
|
5016
7137
|
lg: { size: "1rem" }
|
|
5017
7138
|
}
|
|
5018
|
-
},
|
|
7139
|
+
}, ss = {
|
|
5019
7140
|
root: {
|
|
5020
7141
|
gap: "0.25rem",
|
|
5021
7142
|
transitionDuration: "{transition.duration}",
|
|
@@ -5033,10 +7154,10 @@ var kt = { install: function(e, t) {
|
|
|
5033
7154
|
hoverColor: "{primary.color}",
|
|
5034
7155
|
activeColor: "{primary.color}"
|
|
5035
7156
|
}
|
|
5036
|
-
},
|
|
7157
|
+
}, cs = { colorScheme: {
|
|
5037
7158
|
light: { root: { background: "rgba(0,0,0,0.1)" } },
|
|
5038
7159
|
dark: { root: { background: "rgba(255,255,255,0.3)" } }
|
|
5039
|
-
} },
|
|
7160
|
+
} }, ls = {
|
|
5040
7161
|
root: { transitionDuration: "{transition.duration}" },
|
|
5041
7162
|
bar: {
|
|
5042
7163
|
size: "9px",
|
|
@@ -5053,7 +7174,7 @@ var kt = { install: function(e, t) {
|
|
|
5053
7174
|
light: { bar: { background: "{surface.100}" } },
|
|
5054
7175
|
dark: { bar: { background: "{surface.800}" } }
|
|
5055
7176
|
}
|
|
5056
|
-
},
|
|
7177
|
+
}, us = {
|
|
5057
7178
|
root: {
|
|
5058
7179
|
background: "{form.field.background}",
|
|
5059
7180
|
disabledBackground: "{form.field.disabled.background}",
|
|
@@ -5131,13 +7252,13 @@ var kt = { install: function(e, t) {
|
|
|
5131
7252
|
gutterEnd: "0.375rem"
|
|
5132
7253
|
},
|
|
5133
7254
|
emptyMessage: { padding: "{list.option.padding}" }
|
|
5134
|
-
},
|
|
7255
|
+
}, ds = {
|
|
5135
7256
|
root: { borderRadius: "{form.field.border.radius}" },
|
|
5136
7257
|
colorScheme: {
|
|
5137
7258
|
light: { root: { invalidBorderColor: "{form.field.invalid.border.color}" } },
|
|
5138
7259
|
dark: { root: { invalidBorderColor: "{form.field.invalid.border.color}" } }
|
|
5139
7260
|
}
|
|
5140
|
-
},
|
|
7261
|
+
}, fs = {
|
|
5141
7262
|
root: { borderRadius: "{content.border.radius}" },
|
|
5142
7263
|
colorScheme: {
|
|
5143
7264
|
light: { root: {
|
|
@@ -5149,7 +7270,7 @@ var kt = { install: function(e, t) {
|
|
|
5149
7270
|
animationBackground: "rgba(255, 255, 255, 0.04)"
|
|
5150
7271
|
} }
|
|
5151
7272
|
}
|
|
5152
|
-
},
|
|
7273
|
+
}, ps = {
|
|
5153
7274
|
root: { transitionDuration: "{transition.duration}" },
|
|
5154
7275
|
track: {
|
|
5155
7276
|
background: "{content.border.color}",
|
|
@@ -5182,14 +7303,14 @@ var kt = { install: function(e, t) {
|
|
|
5182
7303
|
light: { handle: { content: { background: "{surface.0}" } } },
|
|
5183
7304
|
dark: { handle: { content: { background: "{surface.950}" } } }
|
|
5184
7305
|
}
|
|
5185
|
-
},
|
|
7306
|
+
}, ms = { root: {
|
|
5186
7307
|
gap: "0.5rem",
|
|
5187
7308
|
transitionDuration: "{transition.duration}"
|
|
5188
|
-
} },
|
|
7309
|
+
} }, hs = { root: {
|
|
5189
7310
|
borderRadius: "{form.field.border.radius}",
|
|
5190
7311
|
roundedBorderRadius: "2rem",
|
|
5191
7312
|
raisedShadow: "0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"
|
|
5192
|
-
} },
|
|
7313
|
+
} }, gs = {
|
|
5193
7314
|
root: {
|
|
5194
7315
|
background: "{content.background}",
|
|
5195
7316
|
borderColor: "{content.border.color}",
|
|
@@ -5209,7 +7330,7 @@ var kt = { install: function(e, t) {
|
|
|
5209
7330
|
shadow: "{focus.ring.shadow}"
|
|
5210
7331
|
}
|
|
5211
7332
|
}
|
|
5212
|
-
},
|
|
7333
|
+
}, _s = {
|
|
5213
7334
|
root: { transitionDuration: "{transition.duration}" },
|
|
5214
7335
|
separator: {
|
|
5215
7336
|
background: "{content.border.color}",
|
|
@@ -5258,7 +7379,7 @@ var kt = { install: function(e, t) {
|
|
|
5258
7379
|
padding: "0",
|
|
5259
7380
|
indent: "1rem"
|
|
5260
7381
|
}
|
|
5261
|
-
},
|
|
7382
|
+
}, vs = {
|
|
5262
7383
|
root: { transitionDuration: "{transition.duration}" },
|
|
5263
7384
|
separator: { background: "{content.border.color}" },
|
|
5264
7385
|
itemLink: {
|
|
@@ -5290,7 +7411,7 @@ var kt = { install: function(e, t) {
|
|
|
5290
7411
|
borderRadius: "50%",
|
|
5291
7412
|
shadow: "0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"
|
|
5292
7413
|
}
|
|
5293
|
-
},
|
|
7414
|
+
}, ys = {
|
|
5294
7415
|
root: { transitionDuration: "{transition.duration}" },
|
|
5295
7416
|
tablist: {
|
|
5296
7417
|
borderWidth: "0 0 1px 0",
|
|
@@ -5330,7 +7451,7 @@ var kt = { install: function(e, t) {
|
|
|
5330
7451
|
bottom: "-1px",
|
|
5331
7452
|
background: "{primary.color}"
|
|
5332
7453
|
}
|
|
5333
|
-
},
|
|
7454
|
+
}, bs = {
|
|
5334
7455
|
root: { transitionDuration: "{transition.duration}" },
|
|
5335
7456
|
tablist: {
|
|
5336
7457
|
borderWidth: "0 0 1px 0",
|
|
@@ -5394,7 +7515,7 @@ var kt = { install: function(e, t) {
|
|
|
5394
7515
|
light: { navButton: { shadow: "0px 0px 10px 50px rgba(255, 255, 255, 0.6)" } },
|
|
5395
7516
|
dark: { navButton: { shadow: "0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)" } }
|
|
5396
7517
|
}
|
|
5397
|
-
},
|
|
7518
|
+
}, xs = {
|
|
5398
7519
|
root: { transitionDuration: "{transition.duration}" },
|
|
5399
7520
|
tabList: {
|
|
5400
7521
|
background: "{content.background}",
|
|
@@ -5420,7 +7541,7 @@ var kt = { install: function(e, t) {
|
|
|
5420
7541
|
light: { navButton: { shadow: "0px 0px 10px 50px rgba(255, 255, 255, 0.6)" } },
|
|
5421
7542
|
dark: { navButton: { shadow: "0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)" } }
|
|
5422
7543
|
}
|
|
5423
|
-
},
|
|
7544
|
+
}, Ss = {
|
|
5424
7545
|
root: {
|
|
5425
7546
|
fontSize: "0.875rem",
|
|
5426
7547
|
fontWeight: "700",
|
|
@@ -5492,7 +7613,7 @@ var kt = { install: function(e, t) {
|
|
|
5492
7613
|
}
|
|
5493
7614
|
}
|
|
5494
7615
|
}
|
|
5495
|
-
},
|
|
7616
|
+
}, Cs = {
|
|
5496
7617
|
root: {
|
|
5497
7618
|
background: "{form.field.background}",
|
|
5498
7619
|
borderColor: "{form.field.border.color}",
|
|
@@ -5503,7 +7624,7 @@ var kt = { install: function(e, t) {
|
|
|
5503
7624
|
},
|
|
5504
7625
|
prompt: { gap: "0.25rem" },
|
|
5505
7626
|
commandResponse: { margin: "2px 0" }
|
|
5506
|
-
},
|
|
7627
|
+
}, ws = { root: {
|
|
5507
7628
|
background: "{form.field.background}",
|
|
5508
7629
|
disabledBackground: "{form.field.disabled.background}",
|
|
5509
7630
|
filledBackground: "{form.field.filled.background}",
|
|
@@ -5539,7 +7660,7 @@ var kt = { install: function(e, t) {
|
|
|
5539
7660
|
paddingX: "{form.field.lg.padding.x}",
|
|
5540
7661
|
paddingY: "{form.field.lg.padding.y}"
|
|
5541
7662
|
}
|
|
5542
|
-
} },
|
|
7663
|
+
} }, Ts = {
|
|
5543
7664
|
root: {
|
|
5544
7665
|
background: "{content.background}",
|
|
5545
7666
|
borderColor: "{content.border.color}",
|
|
@@ -5575,7 +7696,7 @@ var kt = { install: function(e, t) {
|
|
|
5575
7696
|
activeColor: "{navigation.submenu.icon.active.color}"
|
|
5576
7697
|
},
|
|
5577
7698
|
separator: { borderColor: "{content.border.color}" }
|
|
5578
|
-
},
|
|
7699
|
+
}, Es = {
|
|
5579
7700
|
event: { minHeight: "5rem" },
|
|
5580
7701
|
horizontal: { eventContent: { padding: "1rem 0" } },
|
|
5581
7702
|
vertical: { eventContent: { padding: "0 1rem" } },
|
|
@@ -5596,7 +7717,7 @@ var kt = { install: function(e, t) {
|
|
|
5596
7717
|
color: "{content.border.color}",
|
|
5597
7718
|
size: "2px"
|
|
5598
7719
|
}
|
|
5599
|
-
},
|
|
7720
|
+
}, Ds = {
|
|
5600
7721
|
root: {
|
|
5601
7722
|
width: "25rem",
|
|
5602
7723
|
borderRadius: "{content.border.radius}",
|
|
@@ -5804,7 +7925,7 @@ var kt = { install: function(e, t) {
|
|
|
5804
7925
|
}
|
|
5805
7926
|
}
|
|
5806
7927
|
}
|
|
5807
|
-
},
|
|
7928
|
+
}, Os = {
|
|
5808
7929
|
root: {
|
|
5809
7930
|
padding: "0.25rem",
|
|
5810
7931
|
borderRadius: "{content.border.radius}",
|
|
@@ -5877,7 +7998,7 @@ var kt = { install: function(e, t) {
|
|
|
5877
7998
|
}
|
|
5878
7999
|
}
|
|
5879
8000
|
}
|
|
5880
|
-
},
|
|
8001
|
+
}, ks = {
|
|
5881
8002
|
root: {
|
|
5882
8003
|
width: "2.5rem",
|
|
5883
8004
|
height: "1.5rem",
|
|
@@ -5946,14 +8067,14 @@ var kt = { install: function(e, t) {
|
|
|
5946
8067
|
}
|
|
5947
8068
|
}
|
|
5948
8069
|
}
|
|
5949
|
-
},
|
|
8070
|
+
}, As = { root: {
|
|
5950
8071
|
background: "{content.background}",
|
|
5951
8072
|
borderColor: "{content.border.color}",
|
|
5952
8073
|
borderRadius: "{content.border.radius}",
|
|
5953
8074
|
color: "{content.color}",
|
|
5954
8075
|
gap: "0.5rem",
|
|
5955
8076
|
padding: "0.75rem"
|
|
5956
|
-
} },
|
|
8077
|
+
} }, js = {
|
|
5957
8078
|
root: {
|
|
5958
8079
|
maxWidth: "12.5rem",
|
|
5959
8080
|
gutter: "0.25rem",
|
|
@@ -5971,7 +8092,7 @@ var kt = { install: function(e, t) {
|
|
|
5971
8092
|
color: "{surface.0}"
|
|
5972
8093
|
} }
|
|
5973
8094
|
}
|
|
5974
|
-
},
|
|
8095
|
+
}, Ms = {
|
|
5975
8096
|
root: {
|
|
5976
8097
|
background: "{content.background}",
|
|
5977
8098
|
color: "{content.color}",
|
|
@@ -6020,7 +8141,7 @@ var kt = { install: function(e, t) {
|
|
|
6020
8141
|
},
|
|
6021
8142
|
loadingIcon: { size: "2rem" },
|
|
6022
8143
|
filter: { margin: "0 0 0.5rem 0" }
|
|
6023
|
-
},
|
|
8144
|
+
}, Ns = {
|
|
6024
8145
|
root: {
|
|
6025
8146
|
background: "{form.field.background}",
|
|
6026
8147
|
disabledBackground: "{form.field.disabled.background}",
|
|
@@ -6073,7 +8194,7 @@ var kt = { install: function(e, t) {
|
|
|
6073
8194
|
emptyMessage: { padding: "{list.option.padding}" },
|
|
6074
8195
|
chip: { borderRadius: "{border.radius.sm}" },
|
|
6075
8196
|
clearIcon: { color: "{form.field.icon.color}" }
|
|
6076
|
-
},
|
|
8197
|
+
}, Ps = {
|
|
6077
8198
|
root: { transitionDuration: "{transition.duration}" },
|
|
6078
8199
|
header: {
|
|
6079
8200
|
background: "{content.background}",
|
|
@@ -6180,111 +8301,111 @@ var kt = { install: function(e, t) {
|
|
|
6180
8301
|
bodyCell: { selectedBorderColor: "{primary.900}" }
|
|
6181
8302
|
}
|
|
6182
8303
|
}
|
|
6183
|
-
},
|
|
8304
|
+
}, Fs = { loader: {
|
|
6184
8305
|
mask: {
|
|
6185
8306
|
background: "{content.background}",
|
|
6186
8307
|
color: "{text.muted.color}"
|
|
6187
8308
|
},
|
|
6188
8309
|
icon: { size: "2rem" }
|
|
6189
|
-
} },
|
|
8310
|
+
} }, Is = Object.defineProperty, Ls = Object.defineProperties, Rs = Object.getOwnPropertyDescriptors, zs = Object.getOwnPropertySymbols, Bs = Object.prototype.hasOwnProperty, Vs = Object.prototype.propertyIsEnumerable, Hs = (e, t, n) => t in e ? Is(e, t, {
|
|
6190
8311
|
enumerable: !0,
|
|
6191
8312
|
configurable: !0,
|
|
6192
8313
|
writable: !0,
|
|
6193
8314
|
value: n
|
|
6194
|
-
}) : e[t] = n,
|
|
6195
|
-
preset: (
|
|
6196
|
-
for (var n in t ||= {})
|
|
6197
|
-
if (
|
|
8315
|
+
}) : e[t] = n, Us, Ws = { theme: {
|
|
8316
|
+
preset: (Us = ((e, t) => {
|
|
8317
|
+
for (var n in t ||= {}) Bs.call(t, n) && Hs(e, n, t[n]);
|
|
8318
|
+
if (zs) for (var n of zs(t)) Vs.call(t, n) && Hs(e, n, t[n]);
|
|
6198
8319
|
return e;
|
|
6199
|
-
})({},
|
|
6200
|
-
accordion:
|
|
6201
|
-
autocomplete:
|
|
6202
|
-
avatar:
|
|
6203
|
-
badge:
|
|
6204
|
-
blockui:
|
|
6205
|
-
breadcrumb:
|
|
6206
|
-
button:
|
|
6207
|
-
card:
|
|
6208
|
-
carousel:
|
|
6209
|
-
cascadeselect:
|
|
6210
|
-
checkbox:
|
|
6211
|
-
chip:
|
|
6212
|
-
colorpicker:
|
|
6213
|
-
confirmdialog:
|
|
6214
|
-
confirmpopup:
|
|
6215
|
-
contextmenu:
|
|
6216
|
-
datatable:
|
|
6217
|
-
dataview:
|
|
6218
|
-
datepicker:
|
|
6219
|
-
dialog:
|
|
6220
|
-
divider:
|
|
6221
|
-
dock:
|
|
6222
|
-
drawer:
|
|
6223
|
-
editor:
|
|
6224
|
-
fieldset:
|
|
6225
|
-
fileupload:
|
|
6226
|
-
floatlabel:
|
|
6227
|
-
galleria:
|
|
6228
|
-
iconfield:
|
|
6229
|
-
iftalabel:
|
|
6230
|
-
image:
|
|
6231
|
-
imagecompare:
|
|
6232
|
-
inlinemessage:
|
|
6233
|
-
inplace:
|
|
6234
|
-
inputchips:
|
|
6235
|
-
inputgroup:
|
|
6236
|
-
inputnumber:
|
|
6237
|
-
inputotp:
|
|
6238
|
-
inputtext:
|
|
6239
|
-
knob:
|
|
6240
|
-
listbox:
|
|
6241
|
-
megamenu:
|
|
6242
|
-
menu:
|
|
6243
|
-
menubar:
|
|
6244
|
-
message:
|
|
6245
|
-
metergroup:
|
|
6246
|
-
multiselect:
|
|
6247
|
-
orderlist:
|
|
6248
|
-
organizationchart:
|
|
6249
|
-
overlaybadge:
|
|
6250
|
-
paginator:
|
|
6251
|
-
panel:
|
|
6252
|
-
panelmenu:
|
|
6253
|
-
password:
|
|
6254
|
-
picklist:
|
|
6255
|
-
popover:
|
|
6256
|
-
progressbar:
|
|
6257
|
-
progressspinner:
|
|
6258
|
-
radiobutton:
|
|
6259
|
-
rating:
|
|
6260
|
-
ripple:
|
|
6261
|
-
scrollpanel:
|
|
6262
|
-
select:
|
|
6263
|
-
selectbutton:
|
|
6264
|
-
skeleton:
|
|
6265
|
-
slider:
|
|
6266
|
-
speeddial:
|
|
6267
|
-
splitbutton:
|
|
6268
|
-
splitter:
|
|
6269
|
-
stepper:
|
|
6270
|
-
steps:
|
|
6271
|
-
tabmenu:
|
|
6272
|
-
tabs:
|
|
6273
|
-
tabview:
|
|
6274
|
-
tag:
|
|
6275
|
-
terminal:
|
|
6276
|
-
textarea:
|
|
6277
|
-
tieredmenu:
|
|
6278
|
-
timeline:
|
|
6279
|
-
toast:
|
|
6280
|
-
togglebutton:
|
|
6281
|
-
toggleswitch:
|
|
6282
|
-
toolbar:
|
|
6283
|
-
tooltip:
|
|
6284
|
-
tree:
|
|
6285
|
-
treeselect:
|
|
6286
|
-
treetable:
|
|
6287
|
-
virtualscroller:
|
|
8320
|
+
})({}, io), Ls(Us, Rs({ components: {
|
|
8321
|
+
accordion: eo,
|
|
8322
|
+
autocomplete: to,
|
|
8323
|
+
avatar: no,
|
|
8324
|
+
badge: ro,
|
|
8325
|
+
blockui: ao,
|
|
8326
|
+
breadcrumb: oo,
|
|
8327
|
+
button: so,
|
|
8328
|
+
card: co,
|
|
8329
|
+
carousel: lo,
|
|
8330
|
+
cascadeselect: uo,
|
|
8331
|
+
checkbox: fo,
|
|
8332
|
+
chip: po,
|
|
8333
|
+
colorpicker: mo,
|
|
8334
|
+
confirmdialog: ho,
|
|
8335
|
+
confirmpopup: go,
|
|
8336
|
+
contextmenu: _o,
|
|
8337
|
+
datatable: vo,
|
|
8338
|
+
dataview: yo,
|
|
8339
|
+
datepicker: bo,
|
|
8340
|
+
dialog: xo,
|
|
8341
|
+
divider: So,
|
|
8342
|
+
dock: Co,
|
|
8343
|
+
drawer: wo,
|
|
8344
|
+
editor: To,
|
|
8345
|
+
fieldset: Eo,
|
|
8346
|
+
fileupload: Do,
|
|
8347
|
+
floatlabel: Oo,
|
|
8348
|
+
galleria: ko,
|
|
8349
|
+
iconfield: Ao,
|
|
8350
|
+
iftalabel: jo,
|
|
8351
|
+
image: Mo,
|
|
8352
|
+
imagecompare: No,
|
|
8353
|
+
inlinemessage: Po,
|
|
8354
|
+
inplace: Fo,
|
|
8355
|
+
inputchips: Io,
|
|
8356
|
+
inputgroup: Lo,
|
|
8357
|
+
inputnumber: Ro,
|
|
8358
|
+
inputotp: zo,
|
|
8359
|
+
inputtext: Bo,
|
|
8360
|
+
knob: Vo,
|
|
8361
|
+
listbox: Ho,
|
|
8362
|
+
megamenu: Uo,
|
|
8363
|
+
menu: Wo,
|
|
8364
|
+
menubar: Go,
|
|
8365
|
+
message: Ko,
|
|
8366
|
+
metergroup: qo,
|
|
8367
|
+
multiselect: Jo,
|
|
8368
|
+
orderlist: Yo,
|
|
8369
|
+
organizationchart: Xo,
|
|
8370
|
+
overlaybadge: Zo,
|
|
8371
|
+
paginator: Qo,
|
|
8372
|
+
panel: $o,
|
|
8373
|
+
panelmenu: es,
|
|
8374
|
+
password: ts,
|
|
8375
|
+
picklist: ns,
|
|
8376
|
+
popover: rs,
|
|
8377
|
+
progressbar: is,
|
|
8378
|
+
progressspinner: as,
|
|
8379
|
+
radiobutton: os,
|
|
8380
|
+
rating: ss,
|
|
8381
|
+
ripple: cs,
|
|
8382
|
+
scrollpanel: ls,
|
|
8383
|
+
select: us,
|
|
8384
|
+
selectbutton: ds,
|
|
8385
|
+
skeleton: fs,
|
|
8386
|
+
slider: ps,
|
|
8387
|
+
speeddial: ms,
|
|
8388
|
+
splitbutton: hs,
|
|
8389
|
+
splitter: gs,
|
|
8390
|
+
stepper: _s,
|
|
8391
|
+
steps: vs,
|
|
8392
|
+
tabmenu: ys,
|
|
8393
|
+
tabs: bs,
|
|
8394
|
+
tabview: xs,
|
|
8395
|
+
tag: Ss,
|
|
8396
|
+
terminal: Cs,
|
|
8397
|
+
textarea: ws,
|
|
8398
|
+
tieredmenu: Ts,
|
|
8399
|
+
timeline: Es,
|
|
8400
|
+
toast: Ds,
|
|
8401
|
+
togglebutton: Os,
|
|
8402
|
+
toggleswitch: ks,
|
|
8403
|
+
toolbar: As,
|
|
8404
|
+
tooltip: js,
|
|
8405
|
+
tree: Ms,
|
|
8406
|
+
treeselect: Ns,
|
|
8407
|
+
treetable: Ps,
|
|
8408
|
+
virtualscroller: Fs
|
|
6288
8409
|
} }))),
|
|
6289
8410
|
options: {
|
|
6290
8411
|
darkModeSelector: "none",
|
|
@@ -6293,7 +8414,7 @@ var kt = { install: function(e, t) {
|
|
|
6293
8414
|
order: "pit-viper-v2, primevue"
|
|
6294
8415
|
}
|
|
6295
8416
|
}
|
|
6296
|
-
} },
|
|
8417
|
+
} }, Gs = new Set([
|
|
6297
8418
|
"PvIcon",
|
|
6298
8419
|
"PvPopoverMenu",
|
|
6299
8420
|
"PvPopover",
|
|
@@ -6302,11 +8423,11 @@ var kt = { install: function(e, t) {
|
|
|
6302
8423
|
"PvSidebar",
|
|
6303
8424
|
"PvSidebarV2",
|
|
6304
8425
|
"PvDatePicker"
|
|
6305
|
-
]),
|
|
6306
|
-
function
|
|
6307
|
-
return !
|
|
8426
|
+
]), Ks = new Set(["PvSkeleton", "PvDatePicker"]);
|
|
8427
|
+
function qs(e) {
|
|
8428
|
+
return !Gs.has(e);
|
|
6308
8429
|
}
|
|
6309
|
-
function
|
|
8430
|
+
function Js(e, t) {
|
|
6310
8431
|
let n = document.querySelector("link[href*=\"" + t + "\"]");
|
|
6311
8432
|
if (!e.shadowRoot) return !1;
|
|
6312
8433
|
if (n && e.shadowRoot) {
|
|
@@ -6317,53 +8438,53 @@ function wr(e, t) {
|
|
|
6317
8438
|
}
|
|
6318
8439
|
return !1;
|
|
6319
8440
|
}
|
|
6320
|
-
function
|
|
6321
|
-
if (e.shadowRoot && !
|
|
6322
|
-
if (
|
|
6323
|
-
|
|
8441
|
+
function Ys(e) {
|
|
8442
|
+
if (e.shadowRoot && !Js(e, "pit-viper-v2")) {
|
|
8443
|
+
if (Js(e, "pit-viper")) {
|
|
8444
|
+
Js(e, "pit-viper-v2-scoped");
|
|
6324
8445
|
return;
|
|
6325
8446
|
}
|
|
6326
8447
|
console.warn("No global styles found for Pit Viper components. Make sure to include pit-viper.css or pit-viper-v2.css in your project.");
|
|
6327
8448
|
}
|
|
6328
8449
|
}
|
|
6329
|
-
var
|
|
6330
|
-
function
|
|
8450
|
+
var Xs = (e) => ({ shadowRoot: qs(e) });
|
|
8451
|
+
function Zs(e, t) {
|
|
6331
8452
|
return t === null ? !1 : t === "" || t === "true" ? !0 : (t === "false" || console.warn(`Invalid boolean attribute value for "${e}": "${t}". Expected "true", "false", or empty string.`), !1);
|
|
6332
8453
|
}
|
|
6333
|
-
function
|
|
8454
|
+
function Qs(e, t) {
|
|
6334
8455
|
let n = Number(t);
|
|
6335
8456
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6336
8457
|
}
|
|
6337
|
-
var
|
|
6338
|
-
let n =
|
|
8458
|
+
var $s = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), ec = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), tc = (e) => typeof e == "object" && e && "type" in e ? e.type : e, nc = (e, t) => {
|
|
8459
|
+
let n = tc(e);
|
|
6339
8460
|
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6340
8461
|
};
|
|
6341
|
-
function
|
|
8462
|
+
function rc(e) {
|
|
6342
8463
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6343
8464
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6344
|
-
|
|
8465
|
+
nc(i, Boolean) ? t.add(e) : nc(i, Number) && !nc(i, String) ? n.add(e) : (nc(i, Object) || nc(i, Array)) && r.add(e);
|
|
6345
8466
|
}), {
|
|
6346
8467
|
booleanProps: t,
|
|
6347
8468
|
numberProps: n,
|
|
6348
8469
|
jsonProps: r
|
|
6349
8470
|
};
|
|
6350
8471
|
}
|
|
6351
|
-
function
|
|
8472
|
+
function ic(e, t) {
|
|
6352
8473
|
try {
|
|
6353
8474
|
return JSON.parse(t);
|
|
6354
8475
|
} catch (n) {
|
|
6355
8476
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6356
8477
|
}
|
|
6357
8478
|
}
|
|
6358
|
-
function
|
|
8479
|
+
function ac(e) {
|
|
6359
8480
|
let t = e.__name || e.name;
|
|
6360
8481
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6361
|
-
let n =
|
|
6362
|
-
...
|
|
6363
|
-
...
|
|
6364
|
-
e.use(
|
|
8482
|
+
let n = f(e, {
|
|
8483
|
+
...Xs(t),
|
|
8484
|
+
...Ks.has(t) && { configureApp(e) {
|
|
8485
|
+
e.use($a, Ws);
|
|
6365
8486
|
} }
|
|
6366
|
-
}), { booleanProps: r, numberProps: i, jsonProps: a } =
|
|
8487
|
+
}), { booleanProps: r, numberProps: i, jsonProps: a } = rc(e);
|
|
6367
8488
|
class o extends n {
|
|
6368
8489
|
_hiddenInput = null;
|
|
6369
8490
|
constructor() {
|
|
@@ -6379,27 +8500,27 @@ function Pr(e) {
|
|
|
6379
8500
|
let e = (e) => {
|
|
6380
8501
|
let t = this.getAttribute(e);
|
|
6381
8502
|
if (t !== null) return t;
|
|
6382
|
-
let n =
|
|
8503
|
+
let n = $s(e);
|
|
6383
8504
|
return n === e ? null : this.getAttribute(n);
|
|
6384
8505
|
};
|
|
6385
8506
|
r.forEach((t) => {
|
|
6386
8507
|
let n = e(t);
|
|
6387
|
-
n !== null && (this[t] =
|
|
8508
|
+
n !== null && (this[t] = Zs(t, n));
|
|
6388
8509
|
}), i.forEach((t) => {
|
|
6389
8510
|
let n = e(t);
|
|
6390
|
-
n !== null && (this[t] =
|
|
8511
|
+
n !== null && (this[t] = Qs(t, n));
|
|
6391
8512
|
}), a.forEach((t) => {
|
|
6392
8513
|
let n = e(t);
|
|
6393
8514
|
if (n !== null) {
|
|
6394
|
-
let e =
|
|
8515
|
+
let e = ic(t, n);
|
|
6395
8516
|
e !== null && (this[t] = e);
|
|
6396
8517
|
}
|
|
6397
8518
|
});
|
|
6398
8519
|
let t = this.getAttribute("data-json-props");
|
|
6399
8520
|
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6400
|
-
let n =
|
|
8521
|
+
let n = ec(t), r = e(n);
|
|
6401
8522
|
if (r !== null && !this[n]) {
|
|
6402
|
-
let e =
|
|
8523
|
+
let e = ic(n, r);
|
|
6403
8524
|
e !== null && (this[n] = e);
|
|
6404
8525
|
}
|
|
6405
8526
|
});
|
|
@@ -6415,23 +8536,23 @@ function Pr(e) {
|
|
|
6415
8536
|
}
|
|
6416
8537
|
}
|
|
6417
8538
|
}
|
|
6418
|
-
|
|
8539
|
+
Ys(this);
|
|
6419
8540
|
let e = this.getAttribute("name");
|
|
6420
8541
|
e && (this._hiddenInput = document.createElement("input"), this._hiddenInput.type = "hidden", this._hiddenInput.name = e, this.after(this._hiddenInput));
|
|
6421
8542
|
}
|
|
6422
8543
|
}
|
|
6423
8544
|
return o;
|
|
6424
8545
|
}
|
|
6425
|
-
function
|
|
8546
|
+
function oc(e) {
|
|
6426
8547
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6427
8548
|
}
|
|
6428
|
-
function
|
|
8549
|
+
function sc(e) {
|
|
6429
8550
|
let t = e.__name || e.name;
|
|
6430
8551
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6431
|
-
let n =
|
|
8552
|
+
let n = oc(t), r = ac(e);
|
|
6432
8553
|
customElements.get(n) || customElements.define(n, r);
|
|
6433
8554
|
}
|
|
6434
8555
|
//#endregion
|
|
6435
8556
|
//#region .build-temp-pv-sidebar.ts
|
|
6436
|
-
|
|
8557
|
+
sc(pi);
|
|
6437
8558
|
//#endregion
|