@vanjana/vue-ui 0.1.97 → 0.1.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/components/amount-bar.vue.d.ts +8 -0
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/stories/components/amount-bar.stories.d.ts +38 -0
- package/dist/vanjana-vue-ui.es.js +404 -376
- package/dist/vanjana-vue-ui.umd.js +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { createElementBlock as g, openBlock as f, createElementVNode as x, renderSlot as M, defineComponent as T, computed as E, normalizeClass as
|
|
2
|
-
import { useRouter as
|
|
3
|
-
const
|
|
1
|
+
import { createElementBlock as g, openBlock as f, createElementVNode as x, renderSlot as M, defineComponent as T, computed as E, normalizeClass as z, createBlock as j, createCommentVNode as L, createTextVNode as Ue, unref as S, toDisplayString as D, useSlots as Ut, ref as C, onMounted as De, nextTick as me, onBeforeUnmount as Re, watch as X, resolveComponent as K, createVNode as O, normalizeStyle as G, Fragment as Z, renderList as ge, mergeModels as ee, useModel as ve, withModifiers as N, Teleport as Pe, Transition as Oe, withCtx as W, createSlots as rt, resolveDynamicComponent as Wt, mergeProps as gn, shallowRef as bn, getCurrentScope as yn, onScopeDispose as wn, shallowReadonly as Ve, render as $t, resolveDirective as Nt, withDirectives as ct, withKeys as lt, provide as _n, inject as Kt, vModelText as xn, toRef as nt, normalizeProps as kn, guardReactiveProps as Vn, TransitionGroup as En, isRef as Cn, createApp as Ln, h as $n } from "vue";
|
|
2
|
+
import { useRouter as Sn, useRoute as Rn } from "vue-router";
|
|
3
|
+
const B = (e, n) => {
|
|
4
4
|
const t = e.__vccOpts || e;
|
|
5
5
|
for (const [o, l] of n)
|
|
6
6
|
t[o] = l;
|
|
7
7
|
return t;
|
|
8
|
-
}, Tn = {}, An = { class: "button-bar" }, On = { class: "left" },
|
|
9
|
-
function
|
|
8
|
+
}, Tn = {}, An = { class: "button-bar" }, On = { class: "left" }, Bn = { class: "right" };
|
|
9
|
+
function Dn(e, n) {
|
|
10
10
|
return f(), g("div", An, [
|
|
11
11
|
x("div", On, [
|
|
12
12
|
M(e.$slots, "left", {}, void 0, !0)
|
|
13
13
|
]),
|
|
14
|
-
x("div",
|
|
14
|
+
x("div", Bn, [
|
|
15
15
|
M(e.$slots, "default", {}, void 0, !0)
|
|
16
16
|
])
|
|
17
17
|
]);
|
|
18
18
|
}
|
|
19
|
-
const Pn = /* @__PURE__ */
|
|
20
|
-
var F = /* @__PURE__ */ ((e) => (e.HOME = "fa-regular fa-house", e.DASHBOARD = "fa-solid fa-gauge", e.MENU = "fa-solid fa-bars", e.DOT_MENU = "fa-solid fa-ellipsis-vertical", e.BACK = "fa-regular fa-hand-point-left", e.LOGOUT = "fa-solid fa-right-from-bracket", e.CHEVRON_LEFT = "fa-solid fa-chevron-left", e.CHEVRON_RIGHT = "fa-solid fa-chevron-right", e.CHEVRON_UP = "fa-solid fa-chevron-up", e.CHEVRON_DOWN = "fa-solid fa-chevron-down", e.PREVIOUS = "fa-solid fa-angle-left", e.FIRST = "fa-solid fa-angles-left", e.NEXT = "fa-solid fa-angle-right", e.LAST = "fa-solid fa-angles-right", e.USER = "fa-regular fa-user-circle", e.CHARACTER = "fa-solid fa-person", e.SETTINGS = "fa-solid fa-gear", e.ADD = "fa-regular fa-plus", e.EDIT = "fa-solid fa-pen", e.REMOVE = "fa-regular fa-trash-can", e.DELETE = "fa-regular fa-trash-can", e.SHARE = "fa-solid fa-share-nodes", e.SORT = "fa-regular fa-arrow-up-arrow-down", e.CLOSE = "fa-regular fa-circle-xmark", e.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", e.PROJECT = "fa-regular fa-folder-open", e.FOLDER = "fa-regular fa-folder", e.FILE_TEXT = "fa-regular fa-file-lines", e.UPLOAD = "fa-solid fa-cloud-arrow-up", e.DOWNLOAD = "fa-solid fa-cloud-arrow-down", e.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", e.SEARCH = "fa-solid fa-magnifying-glass", e.MESSAGE_SQUARE = "fa-regular fa-message", e.MAIL = "fa-regular fa-envelope", e.SHOPPING_BAG = "fa-regular fa-bag-shopping", e.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(F || {}),
|
|
21
|
-
const
|
|
19
|
+
const Pn = /* @__PURE__ */ B(Tn, [["render", Dn], ["__scopeId", "data-v-45a6ed1a"]]);
|
|
20
|
+
var F = /* @__PURE__ */ ((e) => (e.HOME = "fa-regular fa-house", e.DASHBOARD = "fa-solid fa-gauge", e.MENU = "fa-solid fa-bars", e.DOT_MENU = "fa-solid fa-ellipsis-vertical", e.BACK = "fa-regular fa-hand-point-left", e.LOGOUT = "fa-solid fa-right-from-bracket", e.CHEVRON_LEFT = "fa-solid fa-chevron-left", e.CHEVRON_RIGHT = "fa-solid fa-chevron-right", e.CHEVRON_UP = "fa-solid fa-chevron-up", e.CHEVRON_DOWN = "fa-solid fa-chevron-down", e.PREVIOUS = "fa-solid fa-angle-left", e.FIRST = "fa-solid fa-angles-left", e.NEXT = "fa-solid fa-angle-right", e.LAST = "fa-solid fa-angles-right", e.USER = "fa-regular fa-user-circle", e.CHARACTER = "fa-solid fa-person", e.SETTINGS = "fa-solid fa-gear", e.ADD = "fa-regular fa-plus", e.EDIT = "fa-solid fa-pen", e.REMOVE = "fa-regular fa-trash-can", e.DELETE = "fa-regular fa-trash-can", e.SHARE = "fa-solid fa-share-nodes", e.SORT = "fa-regular fa-arrow-up-arrow-down", e.CLOSE = "fa-regular fa-circle-xmark", e.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", e.PROJECT = "fa-regular fa-folder-open", e.FOLDER = "fa-regular fa-folder", e.FILE_TEXT = "fa-regular fa-file-lines", e.UPLOAD = "fa-solid fa-cloud-arrow-up", e.DOWNLOAD = "fa-solid fa-cloud-arrow-down", e.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", e.SEARCH = "fa-solid fa-magnifying-glass", e.MESSAGE_SQUARE = "fa-regular fa-message", e.MAIL = "fa-regular fa-envelope", e.SHOPPING_BAG = "fa-regular fa-bag-shopping", e.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(F || {}), q = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(q || {});
|
|
21
|
+
const be = /* @__PURE__ */ T({
|
|
22
22
|
__name: "icon",
|
|
23
23
|
props: {
|
|
24
24
|
icon: {},
|
|
25
25
|
size: {}
|
|
26
26
|
},
|
|
27
27
|
setup(e) {
|
|
28
|
-
const n = e, t =
|
|
28
|
+
const n = e, t = q.M, o = E(() => `${n.icon} ${n.size ?? t}`);
|
|
29
29
|
return (l, a) => (f(), g("i", {
|
|
30
|
-
class:
|
|
30
|
+
class: z(o.value)
|
|
31
31
|
}, null, 2));
|
|
32
32
|
}
|
|
33
33
|
}), Mn = ["disabled"], jn = /* @__PURE__ */ T({
|
|
@@ -41,20 +41,20 @@ const ge = /* @__PURE__ */ T({
|
|
|
41
41
|
disabled: { type: Boolean }
|
|
42
42
|
},
|
|
43
43
|
setup(e) {
|
|
44
|
-
const n = e, t =
|
|
44
|
+
const n = e, t = q.S, o = E(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary"), l = E(() => !n.label && !!n.icon);
|
|
45
45
|
return (a, i) => (f(), g("button", {
|
|
46
|
-
class:
|
|
46
|
+
class: z(["button", o.value, { "icon-only": l.value }]),
|
|
47
47
|
disabled: e.disabled
|
|
48
48
|
}, [
|
|
49
|
-
e.icon ? (f(), j(
|
|
49
|
+
e.icon ? (f(), j(be, {
|
|
50
50
|
key: 0,
|
|
51
51
|
icon: e.icon,
|
|
52
|
-
size:
|
|
52
|
+
size: S(t)
|
|
53
53
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
54
|
-
Ue(" " +
|
|
54
|
+
Ue(" " + D(e.label), 1)
|
|
55
55
|
], 10, Mn));
|
|
56
56
|
}
|
|
57
|
-
}), ut = /* @__PURE__ */
|
|
57
|
+
}), ut = /* @__PURE__ */ B(jn, [["__scopeId", "data-v-f31c33cf"]]), Fn = {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: "header-actions"
|
|
60
60
|
}, zn = { key: 0 }, In = /* @__PURE__ */ T({
|
|
@@ -66,23 +66,23 @@ const ge = /* @__PURE__ */ T({
|
|
|
66
66
|
setup(e) {
|
|
67
67
|
const n = Ut();
|
|
68
68
|
return (t, o) => (f(), g("div", {
|
|
69
|
-
class:
|
|
69
|
+
class: z(["card", { scrollable: e.scrollable }])
|
|
70
70
|
}, [
|
|
71
71
|
x("header", null, [
|
|
72
|
-
x("h3", null,
|
|
73
|
-
|
|
72
|
+
x("h3", null, D(e.header), 1),
|
|
73
|
+
S(n).headerActions ? (f(), g("span", Fn, [
|
|
74
74
|
M(t.$slots, "headerActions", {}, void 0, !0)
|
|
75
75
|
])) : L("", !0)
|
|
76
76
|
]),
|
|
77
77
|
x("main", null, [
|
|
78
78
|
M(t.$slots, "default", {}, void 0, !0)
|
|
79
79
|
]),
|
|
80
|
-
|
|
80
|
+
S(n).footer ? (f(), g("footer", zn, [
|
|
81
81
|
M(t.$slots, "footer", {}, void 0, !0)
|
|
82
82
|
])) : L("", !0)
|
|
83
83
|
], 2));
|
|
84
84
|
}
|
|
85
|
-
}), at = /* @__PURE__ */
|
|
85
|
+
}), at = /* @__PURE__ */ B(In, [["__scopeId", "data-v-ec6ab562"]]), Hn = ["aria-label"], Un = {
|
|
86
86
|
key: 0,
|
|
87
87
|
class: "carousel-indicators"
|
|
88
88
|
}, Wn = /* @__PURE__ */ T({
|
|
@@ -101,11 +101,11 @@ const ge = /* @__PURE__ */ T({
|
|
|
101
101
|
const p = C(0), _ = C(!1);
|
|
102
102
|
let h = null, y = null;
|
|
103
103
|
const w = C(null), b = C(null), $ = () => {
|
|
104
|
-
p.value = s.value ? s.value.children.length : 0, p.value === 0 ? c.value = 0 : c.value >= p.value && (c.value = l ? 0 : p.value - 1),
|
|
105
|
-
}, P = E(() => d.value > 0 ? { transform: `translateX(${-c.value * d.value + v.value}px)` } : { transform: `translateX(-${c.value * 100}%)` }),
|
|
106
|
-
s.value && Array.from(s.value.children).forEach((
|
|
104
|
+
p.value = s.value ? s.value.children.length : 0, p.value === 0 ? c.value = 0 : c.value >= p.value && (c.value = l ? 0 : p.value - 1), I();
|
|
105
|
+
}, P = E(() => d.value > 0 ? { transform: `translateX(${-c.value * d.value + v.value}px)` } : { transform: `translateX(-${c.value * 100}%)` }), I = () => {
|
|
106
|
+
s.value && Array.from(s.value.children).forEach((R, ye) => {
|
|
107
107
|
try {
|
|
108
|
-
|
|
108
|
+
ye === c.value ? R.removeAttribute("aria-hidden") : R.setAttribute("aria-hidden", "true");
|
|
109
109
|
} catch {
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -119,76 +119,76 @@ const ge = /* @__PURE__ */ T({
|
|
|
119
119
|
p.value !== 0 && (c.value <= 0 ? c.value = l ? p.value - 1 : 0 : c.value--);
|
|
120
120
|
}, H = () => {
|
|
121
121
|
p.value !== 0 && (c.value >= p.value - 1 ? c.value = l ? 0 : p.value - 1 : c.value++);
|
|
122
|
-
}, U = (
|
|
123
|
-
|
|
122
|
+
}, U = (R) => {
|
|
123
|
+
R < 0 || R >= p.value || (c.value = R);
|
|
124
124
|
}, ce = () => {
|
|
125
125
|
_.value = !0, a && V();
|
|
126
126
|
}, ue = () => {
|
|
127
127
|
_.value = !1, k();
|
|
128
|
-
}, de = (
|
|
129
|
-
|
|
128
|
+
}, de = (R) => {
|
|
129
|
+
R.key === "ArrowLeft" ? A() : R.key === "ArrowRight" && H();
|
|
130
130
|
};
|
|
131
131
|
let ke = 0, te = 0;
|
|
132
|
-
const ae = (
|
|
133
|
-
ke =
|
|
134
|
-
},
|
|
135
|
-
te =
|
|
132
|
+
const ae = (R) => {
|
|
133
|
+
ke = R.touches[0].clientX, te = 0;
|
|
134
|
+
}, Y = (R) => {
|
|
135
|
+
te = R.touches[0].clientX - ke;
|
|
136
136
|
}, ne = () => {
|
|
137
137
|
te > 50 ? A() : te < -50 && H(), te = 0;
|
|
138
138
|
};
|
|
139
139
|
let Ie = 0;
|
|
140
|
-
const kt = (
|
|
141
|
-
if (
|
|
142
|
-
m = !0, Ie =
|
|
140
|
+
const kt = (R) => {
|
|
141
|
+
if (R.isPrimary !== !1 && !(R.pointerType === "mouse" && R.button !== 0)) {
|
|
142
|
+
m = !0, Ie = R.clientX, v.value = 0, V();
|
|
143
143
|
try {
|
|
144
|
-
|
|
144
|
+
R.target?.setPointerCapture?.(R.pointerId);
|
|
145
145
|
} catch {
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
}, Vt = (
|
|
149
|
-
m && (v.value =
|
|
148
|
+
}, Vt = (R) => {
|
|
149
|
+
m && (v.value = R.clientX - Ie, R.preventDefault());
|
|
150
150
|
}, Et = () => {
|
|
151
151
|
if (!m) return;
|
|
152
152
|
m = !1;
|
|
153
|
-
const
|
|
154
|
-
v.value >
|
|
155
|
-
}, Ct = (
|
|
153
|
+
const R = Math.max(50, d.value * 0.15);
|
|
154
|
+
v.value > R ? A() : v.value < -R && H(), v.value = 0, k();
|
|
155
|
+
}, Ct = (R) => {
|
|
156
156
|
try {
|
|
157
|
-
|
|
157
|
+
R.target?.releasePointerCapture?.(R.pointerId);
|
|
158
158
|
} catch {
|
|
159
159
|
}
|
|
160
160
|
Et();
|
|
161
161
|
}, Lt = () => Et();
|
|
162
|
-
return
|
|
162
|
+
return De(() => {
|
|
163
163
|
me(() => {
|
|
164
|
-
if ($(), s.value && (y = new MutationObserver($), y.observe(s.value, { childList: !0 }), s.value.addEventListener("touchstart", ae, { passive: !0 }), s.value.addEventListener("touchmove",
|
|
165
|
-
const
|
|
164
|
+
if ($(), s.value && (y = new MutationObserver($), y.observe(s.value, { childList: !0 }), s.value.addEventListener("touchstart", ae, { passive: !0 }), s.value.addEventListener("touchmove", Y, { passive: !0 }), s.value.addEventListener("touchend", ne)), u.value) {
|
|
165
|
+
const R = () => {
|
|
166
166
|
d.value = u.value ? u.value.clientWidth : 0;
|
|
167
167
|
};
|
|
168
|
-
|
|
169
|
-
const
|
|
170
|
-
if (
|
|
171
|
-
const
|
|
172
|
-
|
|
168
|
+
R();
|
|
169
|
+
const ye = window.ResizeObserver;
|
|
170
|
+
if (ye && u.value) {
|
|
171
|
+
const we = new ye(() => R());
|
|
172
|
+
we.observe(u.value), w.value = we;
|
|
173
173
|
} else
|
|
174
|
-
window.addEventListener("resize",
|
|
174
|
+
window.addEventListener("resize", R), b.value = R;
|
|
175
175
|
u.value && (u.value.addEventListener("pointerdown", kt), u.value.addEventListener("pointermove", Vt), u.value.addEventListener("pointerup", Ct), u.value.addEventListener("pointercancel", Lt));
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
I(), k();
|
|
178
178
|
});
|
|
179
|
-
}),
|
|
180
|
-
V(), y && s.value && y.disconnect(), s.value && (s.value.removeEventListener("touchstart", ae), s.value.removeEventListener("touchmove",
|
|
179
|
+
}), Re(() => {
|
|
180
|
+
V(), y && s.value && y.disconnect(), s.value && (s.value.removeEventListener("touchstart", ae), s.value.removeEventListener("touchmove", Y), s.value.removeEventListener("touchend", ne)), u.value && (w.value && w.value.disconnect && w.value.disconnect(), b.value && window.removeEventListener("resize", b.value), u.value.removeEventListener("pointerdown", kt), u.value.removeEventListener("pointermove", Vt), u.value.removeEventListener("pointerup", Ct), u.value.removeEventListener("pointercancel", Lt));
|
|
181
181
|
}), X([c, () => p.value], () => {
|
|
182
|
-
|
|
182
|
+
I();
|
|
183
183
|
}), X([() => _.value, c], () => {
|
|
184
184
|
k();
|
|
185
|
-
}), (
|
|
186
|
-
const
|
|
185
|
+
}), (R, ye) => {
|
|
186
|
+
const we = K("VjButton");
|
|
187
187
|
return f(), g("div", {
|
|
188
188
|
class: "carousel",
|
|
189
189
|
role: "region",
|
|
190
190
|
"aria-roledescription": "carousel",
|
|
191
|
-
"aria-label":
|
|
191
|
+
"aria-label": S(r),
|
|
192
192
|
tabindex: "0",
|
|
193
193
|
onKeydown: de,
|
|
194
194
|
onMouseenter: ce,
|
|
@@ -203,30 +203,30 @@ const ge = /* @__PURE__ */ T({
|
|
|
203
203
|
class: "carousel-track",
|
|
204
204
|
ref_key: "track",
|
|
205
205
|
ref: s,
|
|
206
|
-
style:
|
|
206
|
+
style: G(P.value)
|
|
207
207
|
}, [
|
|
208
|
-
M(
|
|
208
|
+
M(R.$slots, "default", {}, void 0, !0)
|
|
209
209
|
], 4)
|
|
210
210
|
], 512),
|
|
211
|
-
O(
|
|
211
|
+
O(we, {
|
|
212
212
|
class: "carousel-btn prev",
|
|
213
|
-
icon:
|
|
213
|
+
icon: S(F).PREVIOUS,
|
|
214
214
|
onClick: A,
|
|
215
215
|
type: "button",
|
|
216
216
|
"aria-label": "Previous slide"
|
|
217
217
|
}, null, 8, ["icon"]),
|
|
218
|
-
O(
|
|
218
|
+
O(we, {
|
|
219
219
|
class: "carousel-btn next",
|
|
220
|
-
icon:
|
|
220
|
+
icon: S(F).NEXT,
|
|
221
221
|
onClick: H,
|
|
222
222
|
type: "button",
|
|
223
223
|
"aria-label": "Next slide"
|
|
224
224
|
}, null, 8, ["icon"]),
|
|
225
225
|
p.value > 1 ? (f(), g("div", Un, [
|
|
226
|
-
(f(!0), g(Z, null,
|
|
226
|
+
(f(!0), g(Z, null, ge(p.value, (Te) => (f(), j(we, {
|
|
227
227
|
key: Te - 1,
|
|
228
|
-
class:
|
|
229
|
-
onClick: (
|
|
228
|
+
class: z(["indicator", { active: Te - 1 === c.value }]),
|
|
229
|
+
onClick: (Ai) => U(Te - 1),
|
|
230
230
|
"aria-current": Te - 1 === c.value,
|
|
231
231
|
"aria-label": `Go to slide ${Te}`,
|
|
232
232
|
type: "button"
|
|
@@ -235,7 +235,7 @@ const ge = /* @__PURE__ */ T({
|
|
|
235
235
|
], 40, Hn);
|
|
236
236
|
};
|
|
237
237
|
}
|
|
238
|
-
}),
|
|
238
|
+
}), Di = /* @__PURE__ */ B(Wn, [["__scopeId", "data-v-232abca2"]]), Nn = { class: "checkbox" }, Kn = ["checked", "disabled"], Xn = {
|
|
239
239
|
key: 0,
|
|
240
240
|
class: "checkbox-label"
|
|
241
241
|
}, Gn = /* @__PURE__ */ T({
|
|
@@ -278,10 +278,10 @@ const ge = /* @__PURE__ */ T({
|
|
|
278
278
|
})
|
|
279
279
|
])
|
|
280
280
|
], -1)),
|
|
281
|
-
e.label ? (f(), g("span", Xn,
|
|
281
|
+
e.label ? (f(), g("span", Xn, D(e.label), 1)) : L("", !0)
|
|
282
282
|
]));
|
|
283
283
|
}
|
|
284
|
-
}), qn = /* @__PURE__ */
|
|
284
|
+
}), qn = /* @__PURE__ */ B(Gn, [["__scopeId", "data-v-d44b45ff"]]), Yn = { class: "radio" }, Jn = ["checked", "disabled"], Qn = {
|
|
285
285
|
key: 0,
|
|
286
286
|
class: "radio-label"
|
|
287
287
|
}, Zn = /* @__PURE__ */ T({
|
|
@@ -313,10 +313,10 @@ const ge = /* @__PURE__ */ T({
|
|
|
313
313
|
"aria-hidden": "true"
|
|
314
314
|
})
|
|
315
315
|
], -1)),
|
|
316
|
-
e.label ? (f(), g("span", Qn,
|
|
316
|
+
e.label ? (f(), g("span", Qn, D(e.label), 1)) : L("", !0)
|
|
317
317
|
]));
|
|
318
318
|
}
|
|
319
|
-
}),
|
|
319
|
+
}), Pi = /* @__PURE__ */ B(Zn, [["__scopeId", "data-v-f9e4bb65"]]), eo = { class: "chip__label" }, to = /* @__PURE__ */ T({
|
|
320
320
|
__name: "chip",
|
|
321
321
|
props: /* @__PURE__ */ ee({
|
|
322
322
|
label: {},
|
|
@@ -335,26 +335,26 @@ const ge = /* @__PURE__ */ T({
|
|
|
335
335
|
l("dismiss", o.value);
|
|
336
336
|
};
|
|
337
337
|
return (c, s) => (f(), g("div", {
|
|
338
|
-
class:
|
|
339
|
-
style:
|
|
338
|
+
class: z(["chip", { "chip--dismissable": S(a) }]),
|
|
339
|
+
style: G(i.value),
|
|
340
340
|
onClick: s[0] || (s[0] = (u) => c.$emit("click"))
|
|
341
341
|
}, [
|
|
342
|
-
x("span", eo,
|
|
343
|
-
|
|
342
|
+
x("span", eo, D(e.label), 1),
|
|
343
|
+
S(a) ? (f(), g("button", {
|
|
344
344
|
key: 0,
|
|
345
345
|
class: "chip__close",
|
|
346
346
|
type: "button",
|
|
347
347
|
onClick: N(r, ["stop"]),
|
|
348
348
|
"aria-label": "Dismiss"
|
|
349
349
|
}, [
|
|
350
|
-
O(
|
|
351
|
-
icon:
|
|
352
|
-
size:
|
|
350
|
+
O(be, {
|
|
351
|
+
icon: S(F).CLOSE,
|
|
352
|
+
size: S(q).S
|
|
353
353
|
}, null, 8, ["icon", "size"])
|
|
354
354
|
])) : L("", !0)
|
|
355
355
|
], 6));
|
|
356
356
|
}
|
|
357
|
-
}), Xt = /* @__PURE__ */
|
|
357
|
+
}), Xt = /* @__PURE__ */ B(to, [["__scopeId", "data-v-c2014a3b"]]), no = { class: "chip-group" }, oo = {
|
|
358
358
|
key: 0,
|
|
359
359
|
class: "chip-group__label"
|
|
360
360
|
}, lo = { class: "chip-group__container" }, ao = ["onDragover", "onDrop"], io = ["onDragstart", "onDragover", "onDragenter", "onDrop"], so = ["onDragover", "onDrop"], ro = {
|
|
@@ -408,9 +408,9 @@ const ge = /* @__PURE__ */ T({
|
|
|
408
408
|
o("update:items", w), o("dismiss", y, h);
|
|
409
409
|
}
|
|
410
410
|
return (h, y) => (f(), g("div", no, [
|
|
411
|
-
e.label ? (f(), g("label", oo,
|
|
411
|
+
e.label ? (f(), g("label", oo, D(e.label), 1)) : L("", !0),
|
|
412
412
|
x("div", lo, [
|
|
413
|
-
(f(!0), g(Z, null,
|
|
413
|
+
(f(!0), g(Z, null, ge(e.items, (w, b) => (f(), g(Z, {
|
|
414
414
|
key: i(w, b)
|
|
415
415
|
}, [
|
|
416
416
|
v(b, "before") ? (f(), g("div", {
|
|
@@ -420,7 +420,7 @@ const ge = /* @__PURE__ */ T({
|
|
|
420
420
|
onDrop: ($) => m(b, $)
|
|
421
421
|
}, null, 40, ao)) : L("", !0),
|
|
422
422
|
x("div", {
|
|
423
|
-
class:
|
|
423
|
+
class: z(["chip-group__item", { "chip-group__item--dragging": l.value === b }]),
|
|
424
424
|
draggable: "true",
|
|
425
425
|
onDragstart: ($) => c(b, $),
|
|
426
426
|
onDragover: N(($) => s(b, $), ["prevent"]),
|
|
@@ -445,10 +445,10 @@ const ge = /* @__PURE__ */ T({
|
|
|
445
445
|
}, null, 40, so)) : L("", !0)
|
|
446
446
|
], 64))), 128))
|
|
447
447
|
]),
|
|
448
|
-
e.hint ? (f(), g("div", ro,
|
|
448
|
+
e.hint ? (f(), g("div", ro, D(e.hint), 1)) : L("", !0)
|
|
449
449
|
]));
|
|
450
450
|
}
|
|
451
|
-
}), Gt = /* @__PURE__ */
|
|
451
|
+
}), Gt = /* @__PURE__ */ B(co, [["__scopeId", "data-v-66199d19"]]), uo = { class: "dialog-content" }, fo = { key: 1 }, vo = { class: "dialog-footer" }, mo = /* @__PURE__ */ T({
|
|
452
452
|
__name: "dialog",
|
|
453
453
|
props: {
|
|
454
454
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -481,9 +481,9 @@ const ge = /* @__PURE__ */ T({
|
|
|
481
481
|
}, s = (u) => {
|
|
482
482
|
u.key === "Escape" && t.closeOnEscape && l.value && a();
|
|
483
483
|
};
|
|
484
|
-
return
|
|
484
|
+
return De(() => {
|
|
485
485
|
document.addEventListener("keydown", s);
|
|
486
|
-
}),
|
|
486
|
+
}), Re(() => {
|
|
487
487
|
document.removeEventListener("keydown", s);
|
|
488
488
|
}), (u, d) => {
|
|
489
489
|
const v = K("VjIcon"), m = K("VjButton"), p = K("VjCard");
|
|
@@ -509,15 +509,15 @@ const ge = /* @__PURE__ */ T({
|
|
|
509
509
|
}, rt({
|
|
510
510
|
headerActions: W(() => [
|
|
511
511
|
O(v, {
|
|
512
|
-
icon:
|
|
513
|
-
size:
|
|
512
|
+
icon: S(F).CLOSE,
|
|
513
|
+
size: S(q).S,
|
|
514
514
|
class: "dialog-close",
|
|
515
515
|
onClick: a
|
|
516
516
|
}, null, 8, ["icon", "size"])
|
|
517
517
|
]),
|
|
518
518
|
default: W(() => [
|
|
519
519
|
x("div", uo, [
|
|
520
|
-
e.component ? (f(), j(Wt(e.component), gn({ key: 0 }, e.componentProps, { onClose: a }), null, 16)) : e.message ? (f(), g("div", fo,
|
|
520
|
+
e.component ? (f(), j(Wt(e.component), gn({ key: 0 }, e.componentProps, { onClose: a }), null, 16)) : e.message ? (f(), g("div", fo, D(e.message), 1)) : M(u.$slots, "default", { key: 2 }, void 0, !0)
|
|
521
521
|
])
|
|
522
522
|
]),
|
|
523
523
|
_: 2
|
|
@@ -555,7 +555,7 @@ const ge = /* @__PURE__ */ T({
|
|
|
555
555
|
]);
|
|
556
556
|
};
|
|
557
557
|
}
|
|
558
|
-
}), dt = /* @__PURE__ */
|
|
558
|
+
}), dt = /* @__PURE__ */ B(mo, [["__scopeId", "data-v-6af510b3"]]), po = { class: "vj-chip-selector" }, ho = { class: "options-grid" }, go = ["onClick"], bo = {
|
|
559
559
|
key: 0,
|
|
560
560
|
class: "no-options"
|
|
561
561
|
}, yo = /* @__PURE__ */ T({
|
|
@@ -601,7 +601,7 @@ const ge = /* @__PURE__ */ T({
|
|
|
601
601
|
type: "button",
|
|
602
602
|
class: "add-button",
|
|
603
603
|
onClick: u[1] || (u[1] = (d) => a.value = !0)
|
|
604
|
-
},
|
|
604
|
+
}, D(e.addButtonText), 1),
|
|
605
605
|
O(dt, {
|
|
606
606
|
modelValue: a.value,
|
|
607
607
|
"onUpdate:modelValue": u[2] || (u[2] = (d) => a.value = d),
|
|
@@ -610,12 +610,12 @@ const ge = /* @__PURE__ */ T({
|
|
|
610
610
|
}, {
|
|
611
611
|
default: W(() => [
|
|
612
612
|
x("div", ho, [
|
|
613
|
-
(f(!0), g(Z, null,
|
|
613
|
+
(f(!0), g(Z, null, ge(i.value, (d) => (f(), g("button", {
|
|
614
614
|
key: d.value,
|
|
615
615
|
type: "button",
|
|
616
616
|
class: "option-btn",
|
|
617
617
|
onClick: (v) => c(d.value)
|
|
618
|
-
}, "+ " +
|
|
618
|
+
}, "+ " + D(d.label), 9, go))), 128))
|
|
619
619
|
]),
|
|
620
620
|
i.value.length === 0 ? (f(), g("div", bo, "All options already selected")) : L("", !0)
|
|
621
621
|
]),
|
|
@@ -623,7 +623,7 @@ const ge = /* @__PURE__ */ T({
|
|
|
623
623
|
}, 8, ["modelValue", "title"])
|
|
624
624
|
]));
|
|
625
625
|
}
|
|
626
|
-
}), wo = /* @__PURE__ */
|
|
626
|
+
}), wo = /* @__PURE__ */ B(yo, [["__scopeId", "data-v-f2e1b880"]]), $e = Math.min, J = Math.max, We = Math.round, He = Math.floor, ie = (e) => ({
|
|
627
627
|
x: e,
|
|
628
628
|
y: e
|
|
629
629
|
}), _o = {
|
|
@@ -635,7 +635,7 @@ const ge = /* @__PURE__ */ T({
|
|
|
635
635
|
start: "end",
|
|
636
636
|
end: "start"
|
|
637
637
|
};
|
|
638
|
-
function
|
|
638
|
+
function St(e, n, t) {
|
|
639
639
|
return J(e, $e(n, t));
|
|
640
640
|
}
|
|
641
641
|
function Me(e, n) {
|
|
@@ -673,12 +673,12 @@ function Eo(e) {
|
|
|
673
673
|
function it(e) {
|
|
674
674
|
return e.replace(/start|end/g, (n) => xo[n]);
|
|
675
675
|
}
|
|
676
|
-
const
|
|
676
|
+
const Rt = ["left", "right"], Tt = ["right", "left"], Co = ["top", "bottom"], Lo = ["bottom", "top"];
|
|
677
677
|
function $o(e, n, t) {
|
|
678
678
|
switch (e) {
|
|
679
679
|
case "top":
|
|
680
680
|
case "bottom":
|
|
681
|
-
return t ? n ? Tt :
|
|
681
|
+
return t ? n ? Tt : Rt : n ? Rt : Tt;
|
|
682
682
|
case "left":
|
|
683
683
|
case "right":
|
|
684
684
|
return n ? Co : Lo;
|
|
@@ -686,7 +686,7 @@ function $o(e, n, t) {
|
|
|
686
686
|
return [];
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function So(e, n, t, o) {
|
|
690
690
|
const l = je(e);
|
|
691
691
|
let a = $o(pe(e), t === "start", o);
|
|
692
692
|
return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(it)))), a;
|
|
@@ -694,7 +694,7 @@ function Ro(e, n, t, o) {
|
|
|
694
694
|
function Ne(e) {
|
|
695
695
|
return e.replace(/left|right|bottom|top/g, (n) => _o[n]);
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function Ro(e) {
|
|
698
698
|
return {
|
|
699
699
|
top: 0,
|
|
700
700
|
right: 0,
|
|
@@ -704,7 +704,7 @@ function So(e) {
|
|
|
704
704
|
};
|
|
705
705
|
}
|
|
706
706
|
function To(e) {
|
|
707
|
-
return typeof e != "number" ?
|
|
707
|
+
return typeof e != "number" ? Ro(e) : {
|
|
708
708
|
top: e,
|
|
709
709
|
right: e,
|
|
710
710
|
bottom: e,
|
|
@@ -907,8 +907,8 @@ const Oo = function(e) {
|
|
|
907
907
|
} = Me(e, n);
|
|
908
908
|
if ((t = a.arrow) != null && t.alignmentOffset)
|
|
909
909
|
return {};
|
|
910
|
-
const y = pe(l), w = fe(r), b = pe(r) === r, $ = await (c.isRTL == null ? void 0 : c.isRTL(s.floating)), P = v || (b || !_ ? [Ne(r)] : Eo(r)),
|
|
911
|
-
!v &&
|
|
910
|
+
const y = pe(l), w = fe(r), b = pe(r) === r, $ = await (c.isRTL == null ? void 0 : c.isRTL(s.floating)), P = v || (b || !_ ? [Ne(r)] : Eo(r)), I = p !== "none";
|
|
911
|
+
!v && I && P.push(...So(r, _, p, $));
|
|
912
912
|
const k = [r, ...P], V = await ft(n, h), A = [];
|
|
913
913
|
let H = ((o = a.flip) == null ? void 0 : o.overflows) || [];
|
|
914
914
|
if (u && A.push(V[y]), d) {
|
|
@@ -923,7 +923,7 @@ const Oo = function(e) {
|
|
|
923
923
|
const de = (((U = a.flip) == null ? void 0 : U.index) || 0) + 1, ke = k[de];
|
|
924
924
|
if (ke && (!(d === "alignment" ? w !== fe(ke) : !1) || // We leave the current main axis only if every placement on that axis
|
|
925
925
|
// overflows the main axis.
|
|
926
|
-
H.every((
|
|
926
|
+
H.every((Y) => fe(Y.placement) === w ? Y.overflows[0] > 0 : !0)))
|
|
927
927
|
return {
|
|
928
928
|
data: {
|
|
929
929
|
index: de,
|
|
@@ -933,20 +933,20 @@ const Oo = function(e) {
|
|
|
933
933
|
placement: ke
|
|
934
934
|
}
|
|
935
935
|
};
|
|
936
|
-
let te = (ce = H.filter((ae) => ae.overflows[0] <= 0).sort((ae,
|
|
936
|
+
let te = (ce = H.filter((ae) => ae.overflows[0] <= 0).sort((ae, Y) => ae.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : ce.placement;
|
|
937
937
|
if (!te)
|
|
938
938
|
switch (m) {
|
|
939
939
|
case "bestFit": {
|
|
940
940
|
var ue;
|
|
941
|
-
const ae = (ue = H.filter((
|
|
942
|
-
if (
|
|
943
|
-
const ne = fe(
|
|
941
|
+
const ae = (ue = H.filter((Y) => {
|
|
942
|
+
if (I) {
|
|
943
|
+
const ne = fe(Y.placement);
|
|
944
944
|
return ne === w || // Create a bias to the `y` side axis due to horizontal
|
|
945
945
|
// reading directions favoring greater width.
|
|
946
946
|
ne === "y";
|
|
947
947
|
}
|
|
948
948
|
return !0;
|
|
949
|
-
}).map((
|
|
949
|
+
}).map((Y) => [Y.placement, Y.overflows.filter((ne) => ne > 0).reduce((ne, Ie) => ne + Ie, 0)]).sort((Y, ne) => Y[1] - ne[1])[0]) == null ? void 0 : ue[0];
|
|
950
950
|
ae && (te = ae);
|
|
951
951
|
break;
|
|
952
952
|
}
|
|
@@ -964,13 +964,13 @@ const Oo = function(e) {
|
|
|
964
964
|
return {};
|
|
965
965
|
}
|
|
966
966
|
};
|
|
967
|
-
},
|
|
968
|
-
async function
|
|
967
|
+
}, Bo = /* @__PURE__ */ new Set(["left", "top"]);
|
|
968
|
+
async function Do(e, n) {
|
|
969
969
|
const {
|
|
970
970
|
placement: t,
|
|
971
971
|
platform: o,
|
|
972
972
|
elements: l
|
|
973
|
-
} = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), r = je(t), c = fe(t) === "y", s =
|
|
973
|
+
} = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), r = je(t), c = fe(t) === "y", s = Bo.has(i) ? -1 : 1, u = a && c ? -1 : 1, d = Me(n, e);
|
|
974
974
|
let {
|
|
975
975
|
mainAxis: v,
|
|
976
976
|
crossAxis: m,
|
|
@@ -1003,7 +1003,7 @@ const Po = function(e) {
|
|
|
1003
1003
|
y: a,
|
|
1004
1004
|
placement: i,
|
|
1005
1005
|
middlewareData: r
|
|
1006
|
-
} = n, c = await
|
|
1006
|
+
} = n, c = await Do(n, e);
|
|
1007
1007
|
return i === ((t = r.offset) == null ? void 0 : t.placement) && (o = r.arrow) != null && o.alignmentOffset ? {} : {
|
|
1008
1008
|
x: l + c.x,
|
|
1009
1009
|
y: a + c.y,
|
|
@@ -1046,11 +1046,11 @@ const Po = function(e) {
|
|
|
1046
1046
|
let m = s[v], p = s[d];
|
|
1047
1047
|
if (a) {
|
|
1048
1048
|
const h = v === "y" ? "top" : "left", y = v === "y" ? "bottom" : "right", w = m + u[h], b = m - u[y];
|
|
1049
|
-
m =
|
|
1049
|
+
m = St(w, m, b);
|
|
1050
1050
|
}
|
|
1051
1051
|
if (i) {
|
|
1052
1052
|
const h = d === "y" ? "top" : "left", y = d === "y" ? "bottom" : "right", w = p + u[h], b = p - u[y];
|
|
1053
|
-
p =
|
|
1053
|
+
p = St(w, p, b);
|
|
1054
1054
|
}
|
|
1055
1055
|
const _ = r.fn({
|
|
1056
1056
|
...n,
|
|
@@ -1091,9 +1091,9 @@ const Po = function(e) {
|
|
|
1091
1091
|
} = a.floating;
|
|
1092
1092
|
let h, y;
|
|
1093
1093
|
d === "top" || d === "bottom" ? (h = d, y = v === (await (i.isRTL == null ? void 0 : i.isRTL(r.floating)) ? "start" : "end") ? "left" : "right") : (y = d, h = v === "end" ? "top" : "bottom");
|
|
1094
|
-
const w = _ - u.top - u.bottom, b = p - u.left - u.right, $ = $e(_ - u[h], w), P = $e(p - u[y], b),
|
|
1094
|
+
const w = _ - u.top - u.bottom, b = p - u.left - u.right, $ = $e(_ - u[h], w), P = $e(p - u[y], b), I = !n.middlewareData.shift;
|
|
1095
1095
|
let k = $, V = P;
|
|
1096
|
-
if ((t = n.middlewareData.shift) != null && t.enabled.x && (V = b), (o = n.middlewareData.shift) != null && o.enabled.y && (k = w),
|
|
1096
|
+
if ((t = n.middlewareData.shift) != null && t.enabled.x && (V = b), (o = n.middlewareData.shift) != null && o.enabled.y && (k = w), I && !v) {
|
|
1097
1097
|
const H = J(u.left, 0), U = J(u.right, 0), ce = J(u.top, 0), ue = J(u.bottom, 0);
|
|
1098
1098
|
m ? V = p - 2 * (H !== 0 || U !== 0 ? H + U : J(u.left, u.right)) : k = _ - 2 * (ce !== 0 || ue !== 0 ? ce + ue : J(u.top, u.bottom));
|
|
1099
1099
|
}
|
|
@@ -1168,7 +1168,7 @@ function mt(e) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
function Ko(e) {
|
|
1170
1170
|
let n = he(e);
|
|
1171
|
-
for (; se(n) && !
|
|
1171
|
+
for (; se(n) && !Se(n); ) {
|
|
1172
1172
|
if (mt(n))
|
|
1173
1173
|
return n;
|
|
1174
1174
|
if (qe(n))
|
|
@@ -1181,7 +1181,7 @@ function pt() {
|
|
|
1181
1181
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
1182
1182
|
}
|
|
1183
1183
|
const Xo = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
1184
|
-
function
|
|
1184
|
+
function Se(e) {
|
|
1185
1185
|
return Xo.has(xe(e));
|
|
1186
1186
|
}
|
|
1187
1187
|
function le(e) {
|
|
@@ -1210,17 +1210,17 @@ function he(e) {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
function Qt(e) {
|
|
1212
1212
|
const n = he(e);
|
|
1213
|
-
return
|
|
1213
|
+
return Se(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : se(n) && Fe(n) ? n : Qt(n);
|
|
1214
1214
|
}
|
|
1215
|
-
function
|
|
1215
|
+
function Be(e, n, t) {
|
|
1216
1216
|
var o;
|
|
1217
1217
|
n === void 0 && (n = []), t === void 0 && (t = !0);
|
|
1218
1218
|
const l = Qt(e), a = l === ((o = e.ownerDocument) == null ? void 0 : o.body), i = Q(l);
|
|
1219
1219
|
if (a) {
|
|
1220
1220
|
const r = st(i);
|
|
1221
|
-
return n.concat(i, i.visualViewport || [], Fe(l) ? l : [], r && t ?
|
|
1221
|
+
return n.concat(i, i.visualViewport || [], Fe(l) ? l : [], r && t ? Be(r) : []);
|
|
1222
1222
|
}
|
|
1223
|
-
return n.concat(l,
|
|
1223
|
+
return n.concat(l, Be(l, [], t));
|
|
1224
1224
|
}
|
|
1225
1225
|
function st(e) {
|
|
1226
1226
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
@@ -1264,7 +1264,7 @@ function en(e) {
|
|
|
1264
1264
|
function qo(e, n, t) {
|
|
1265
1265
|
return n === void 0 && (n = !1), !t || n && t !== Q(e) ? !1 : n;
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function _e(e, n, t, o) {
|
|
1268
1268
|
n === void 0 && (n = !1), t === void 0 && (t = !1);
|
|
1269
1269
|
const l = e.getBoundingClientRect(), a = ht(e);
|
|
1270
1270
|
let i = ie(1);
|
|
@@ -1288,7 +1288,7 @@ function we(e, n, t, o) {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
function Je(e, n) {
|
|
1290
1290
|
const t = Ye(e).scrollLeft;
|
|
1291
|
-
return n ? n.left + t :
|
|
1291
|
+
return n ? n.left + t : _e(re(e)).left + t;
|
|
1292
1292
|
}
|
|
1293
1293
|
function tn(e, n) {
|
|
1294
1294
|
const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Je(e, t), l = t.top + n.scrollTop;
|
|
@@ -1313,7 +1313,7 @@ function Yo(e) {
|
|
|
1313
1313
|
}, s = ie(1);
|
|
1314
1314
|
const u = ie(0), d = se(o);
|
|
1315
1315
|
if ((d || !d && !a) && ((xe(o) !== "body" || Fe(i)) && (c = Ye(o)), se(o))) {
|
|
1316
|
-
const m =
|
|
1316
|
+
const m = _e(o);
|
|
1317
1317
|
s = Ce(o), u.x = m.x + o.clientLeft, u.y = m.y + o.clientTop;
|
|
1318
1318
|
}
|
|
1319
1319
|
const v = i && !d && !a ? tn(i, c) : ie(0);
|
|
@@ -1338,7 +1338,7 @@ function Qo(e) {
|
|
|
1338
1338
|
y: r
|
|
1339
1339
|
};
|
|
1340
1340
|
}
|
|
1341
|
-
const
|
|
1341
|
+
const Bt = 25;
|
|
1342
1342
|
function Zo(e, n) {
|
|
1343
1343
|
const t = Q(e), o = re(e), l = t.visualViewport;
|
|
1344
1344
|
let a = o.clientWidth, i = o.clientHeight, r = 0, c = 0;
|
|
@@ -1350,8 +1350,8 @@ function Zo(e, n) {
|
|
|
1350
1350
|
const s = Je(o);
|
|
1351
1351
|
if (s <= 0) {
|
|
1352
1352
|
const u = o.ownerDocument, d = u.body, v = getComputedStyle(d), m = u.compatMode === "CSS1Compat" && parseFloat(v.marginLeft) + parseFloat(v.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - m);
|
|
1353
|
-
p <=
|
|
1354
|
-
} else s <=
|
|
1353
|
+
p <= Bt && (a -= p);
|
|
1354
|
+
} else s <= Bt && (a += s);
|
|
1355
1355
|
return {
|
|
1356
1356
|
width: a,
|
|
1357
1357
|
height: i,
|
|
@@ -1361,7 +1361,7 @@ function Zo(e, n) {
|
|
|
1361
1361
|
}
|
|
1362
1362
|
const el = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
1363
1363
|
function tl(e, n) {
|
|
1364
|
-
const t =
|
|
1364
|
+
const t = _e(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, a = se(e) ? Ce(e) : ie(1), i = e.clientWidth * a.x, r = e.clientHeight * a.y, c = l * a.x, s = o * a.y;
|
|
1365
1365
|
return {
|
|
1366
1366
|
width: i,
|
|
1367
1367
|
height: r,
|
|
@@ -1369,7 +1369,7 @@ function tl(e, n) {
|
|
|
1369
1369
|
y: s
|
|
1370
1370
|
};
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function Dt(e, n, t) {
|
|
1373
1373
|
let o;
|
|
1374
1374
|
if (n === "viewport")
|
|
1375
1375
|
o = Zo(e, t);
|
|
@@ -1390,16 +1390,16 @@ function Bt(e, n, t) {
|
|
|
1390
1390
|
}
|
|
1391
1391
|
function nn(e, n) {
|
|
1392
1392
|
const t = he(e);
|
|
1393
|
-
return t === n || !oe(t) ||
|
|
1393
|
+
return t === n || !oe(t) || Se(t) ? !1 : le(t).position === "fixed" || nn(t, n);
|
|
1394
1394
|
}
|
|
1395
1395
|
function nl(e, n) {
|
|
1396
1396
|
const t = n.get(e);
|
|
1397
1397
|
if (t)
|
|
1398
1398
|
return t;
|
|
1399
|
-
let o =
|
|
1399
|
+
let o = Be(e, [], !1).filter((r) => oe(r) && xe(r) !== "body"), l = null;
|
|
1400
1400
|
const a = le(e).position === "fixed";
|
|
1401
1401
|
let i = a ? he(e) : e;
|
|
1402
|
-
for (; oe(i) && !
|
|
1402
|
+
for (; oe(i) && !Se(i); ) {
|
|
1403
1403
|
const r = le(i), c = mt(i);
|
|
1404
1404
|
!c && r.position === "fixed" && (l = null), (a ? !c && !l : !c && r.position === "static" && !!l && el.has(l.position) || Fe(i) && !c && nn(e, i)) ? o = o.filter((u) => u !== i) : l = r, i = he(i);
|
|
1405
1405
|
}
|
|
@@ -1413,9 +1413,9 @@ function ol(e) {
|
|
|
1413
1413
|
strategy: l
|
|
1414
1414
|
} = e;
|
|
1415
1415
|
const i = [...t === "clippingAncestors" ? qe(n) ? [] : nl(n, this._c) : [].concat(t), o], r = i[0], c = i.reduce((s, u) => {
|
|
1416
|
-
const d =
|
|
1416
|
+
const d = Dt(n, u, l);
|
|
1417
1417
|
return s.top = J(d.top, s.top), s.right = $e(d.right, s.right), s.bottom = $e(d.bottom, s.bottom), s.left = J(d.left, s.left), s;
|
|
1418
|
-
},
|
|
1418
|
+
}, Dt(n, r, l));
|
|
1419
1419
|
return {
|
|
1420
1420
|
width: c.right - c.left,
|
|
1421
1421
|
height: c.bottom - c.top,
|
|
@@ -1434,7 +1434,7 @@ function ll(e) {
|
|
|
1434
1434
|
};
|
|
1435
1435
|
}
|
|
1436
1436
|
function al(e, n, t) {
|
|
1437
|
-
const o = se(n), l = re(n), a = t === "fixed", i =
|
|
1437
|
+
const o = se(n), l = re(n), a = t === "fixed", i = _e(e, !0, a, n);
|
|
1438
1438
|
let r = {
|
|
1439
1439
|
scrollLeft: 0,
|
|
1440
1440
|
scrollTop: 0
|
|
@@ -1445,7 +1445,7 @@ function al(e, n, t) {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
if (o || !o && !a)
|
|
1447
1447
|
if ((xe(n) !== "body" || Fe(l)) && (r = Ye(n)), o) {
|
|
1448
|
-
const m =
|
|
1448
|
+
const m = _e(n, !0, a, n);
|
|
1449
1449
|
c.x = m.x + n.clientLeft, c.y = m.y + n.clientTop;
|
|
1450
1450
|
} else l && s();
|
|
1451
1451
|
a && !o && l && s();
|
|
@@ -1474,7 +1474,7 @@ function on(e, n) {
|
|
|
1474
1474
|
return t;
|
|
1475
1475
|
if (!se(e)) {
|
|
1476
1476
|
let l = he(e);
|
|
1477
|
-
for (; l && !
|
|
1477
|
+
for (; l && !Se(l); ) {
|
|
1478
1478
|
if (oe(l) && !ot(l))
|
|
1479
1479
|
return l;
|
|
1480
1480
|
l = he(l);
|
|
@@ -1484,7 +1484,7 @@ function on(e, n) {
|
|
|
1484
1484
|
let o = Pt(e, n);
|
|
1485
1485
|
for (; o && Io(o) && ot(o); )
|
|
1486
1486
|
o = Pt(o, n);
|
|
1487
|
-
return o &&
|
|
1487
|
+
return o && Se(o) && ot(o) && !mt(o) ? t : o || Ko(e) || t;
|
|
1488
1488
|
}
|
|
1489
1489
|
const il = async function(e) {
|
|
1490
1490
|
const n = this.getOffsetParent || on, t = this.getDimensions, o = await t(e.floating);
|
|
@@ -1538,8 +1538,8 @@ function cl(e, n) {
|
|
|
1538
1538
|
threshold: J(0, $e(1, c)) || 1
|
|
1539
1539
|
};
|
|
1540
1540
|
let $ = !0;
|
|
1541
|
-
function P(
|
|
1542
|
-
const k =
|
|
1541
|
+
function P(I) {
|
|
1542
|
+
const k = I[0].intersectionRatio;
|
|
1543
1543
|
if (k !== c) {
|
|
1544
1544
|
if (!$)
|
|
1545
1545
|
return i();
|
|
@@ -1570,7 +1570,7 @@ function Qe(e, n, t, o) {
|
|
|
1570
1570
|
elementResize: i = typeof ResizeObserver == "function",
|
|
1571
1571
|
layoutShift: r = typeof IntersectionObserver == "function",
|
|
1572
1572
|
animationFrame: c = !1
|
|
1573
|
-
} = o, s = ht(e), u = l || a ? [...s ?
|
|
1573
|
+
} = o, s = ht(e), u = l || a ? [...s ? Be(s) : [], ...Be(n)] : [];
|
|
1574
1574
|
u.forEach((y) => {
|
|
1575
1575
|
l && y.addEventListener("scroll", t, {
|
|
1576
1576
|
passive: !0
|
|
@@ -1585,10 +1585,10 @@ function Qe(e, n, t, o) {
|
|
|
1585
1585
|
(b = m) == null || b.observe(n);
|
|
1586
1586
|
})), t();
|
|
1587
1587
|
}), s && !c && m.observe(s), m.observe(n));
|
|
1588
|
-
let p, _ = c ?
|
|
1588
|
+
let p, _ = c ? _e(e) : null;
|
|
1589
1589
|
c && h();
|
|
1590
1590
|
function h() {
|
|
1591
|
-
const y =
|
|
1591
|
+
const y = _e(e);
|
|
1592
1592
|
_ && !ln(_, y) && t(), _ = y, p = requestAnimationFrame(h);
|
|
1593
1593
|
}
|
|
1594
1594
|
return t(), () => {
|
|
@@ -1622,7 +1622,7 @@ function Mt(e) {
|
|
|
1622
1622
|
return e;
|
|
1623
1623
|
}
|
|
1624
1624
|
function Ae(e) {
|
|
1625
|
-
return typeof e == "function" ? e() :
|
|
1625
|
+
return typeof e == "function" ? e() : S(e);
|
|
1626
1626
|
}
|
|
1627
1627
|
function sn(e) {
|
|
1628
1628
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
@@ -1692,14 +1692,14 @@ function gt(e, n, t) {
|
|
|
1692
1692
|
return;
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1695
|
+
function I() {
|
|
1696
1696
|
l.value || (h.value = !1);
|
|
1697
1697
|
}
|
|
1698
1698
|
return X([a, i, r, l], b, {
|
|
1699
1699
|
flush: "sync"
|
|
1700
1700
|
}), X([s, u], P, {
|
|
1701
1701
|
flush: "sync"
|
|
1702
|
-
}), X(l,
|
|
1702
|
+
}), X(l, I, {
|
|
1703
1703
|
flush: "sync"
|
|
1704
1704
|
}), yn() && wn($), {
|
|
1705
1705
|
x: Ve(d),
|
|
@@ -1735,7 +1735,7 @@ const fl = /* @__PURE__ */ T({
|
|
|
1735
1735
|
const v = K("VjButton"), m = K("VjMenu");
|
|
1736
1736
|
return f(), g(Z, null, [
|
|
1737
1737
|
x("div", {
|
|
1738
|
-
class:
|
|
1738
|
+
class: z(["dot-menu-container", u.$attrs.class])
|
|
1739
1739
|
}, [
|
|
1740
1740
|
O(v, {
|
|
1741
1741
|
ref_key: "buttonRef",
|
|
@@ -1751,10 +1751,10 @@ const fl = /* @__PURE__ */ T({
|
|
|
1751
1751
|
key: 0,
|
|
1752
1752
|
ref_key: "floatingRef",
|
|
1753
1753
|
ref: l,
|
|
1754
|
-
style:
|
|
1754
|
+
style: G(S(i)),
|
|
1755
1755
|
class: "menu-dropdown",
|
|
1756
1756
|
onClose: c,
|
|
1757
|
-
|
|
1757
|
+
onClickCapture: s
|
|
1758
1758
|
}, {
|
|
1759
1759
|
default: W(() => [
|
|
1760
1760
|
M(u.$slots, "default", {}, void 0, !0)
|
|
@@ -1775,7 +1775,7 @@ const fl = /* @__PURE__ */ T({
|
|
|
1775
1775
|
], 64);
|
|
1776
1776
|
};
|
|
1777
1777
|
}
|
|
1778
|
-
}), vl = /* @__PURE__ */
|
|
1778
|
+
}), vl = /* @__PURE__ */ B(fl, [["__scopeId", "data-v-3c400bfd"]]), ml = /* @__PURE__ */ T({
|
|
1779
1779
|
__name: "link-button",
|
|
1780
1780
|
props: {
|
|
1781
1781
|
label: {},
|
|
@@ -1787,27 +1787,27 @@ const fl = /* @__PURE__ */ T({
|
|
|
1787
1787
|
disabled: { type: Boolean }
|
|
1788
1788
|
},
|
|
1789
1789
|
setup(e) {
|
|
1790
|
-
const n = e, t =
|
|
1790
|
+
const n = e, t = q.S, o = E(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
|
|
1791
1791
|
return (l, a) => {
|
|
1792
1792
|
const i = K("router-link");
|
|
1793
1793
|
return f(), j(i, {
|
|
1794
1794
|
to: e.to,
|
|
1795
|
-
class:
|
|
1795
|
+
class: z(["button", o.value]),
|
|
1796
1796
|
disabled: e.disabled
|
|
1797
1797
|
}, {
|
|
1798
1798
|
default: W(() => [
|
|
1799
|
-
e.icon ? (f(), j(
|
|
1799
|
+
e.icon ? (f(), j(be, {
|
|
1800
1800
|
key: 0,
|
|
1801
1801
|
icon: e.icon,
|
|
1802
|
-
size:
|
|
1802
|
+
size: S(t)
|
|
1803
1803
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
1804
|
-
Ue(" " +
|
|
1804
|
+
Ue(" " + D(e.label), 1)
|
|
1805
1805
|
]),
|
|
1806
1806
|
_: 1
|
|
1807
1807
|
}, 8, ["to", "class", "disabled"]);
|
|
1808
1808
|
};
|
|
1809
1809
|
}
|
|
1810
|
-
}), pl = /* @__PURE__ */
|
|
1810
|
+
}), pl = /* @__PURE__ */ B(ml, [["__scopeId", "data-v-bd3cf2f5"]]), hl = ["disabled"], gl = { class: "menu-action--icon" }, bl = /* @__PURE__ */ T({
|
|
1811
1811
|
__name: "menu-action",
|
|
1812
1812
|
props: {
|
|
1813
1813
|
label: {},
|
|
@@ -1815,28 +1815,28 @@ const fl = /* @__PURE__ */ T({
|
|
|
1815
1815
|
disabled: { type: Boolean }
|
|
1816
1816
|
},
|
|
1817
1817
|
setup(e) {
|
|
1818
|
-
const n =
|
|
1818
|
+
const n = q.S;
|
|
1819
1819
|
return (t, o) => (f(), g("button", {
|
|
1820
1820
|
class: "menu-action button tertiary",
|
|
1821
1821
|
disabled: e.disabled
|
|
1822
1822
|
}, [
|
|
1823
1823
|
x("span", gl, [
|
|
1824
|
-
e.icon ? (f(), j(
|
|
1824
|
+
e.icon ? (f(), j(be, {
|
|
1825
1825
|
key: 0,
|
|
1826
1826
|
icon: e.icon,
|
|
1827
|
-
size:
|
|
1827
|
+
size: S(n)
|
|
1828
1828
|
}, null, 8, ["icon", "size"])) : L("", !0)
|
|
1829
1829
|
]),
|
|
1830
|
-
x("span", null,
|
|
1830
|
+
x("span", null, D(e.label), 1)
|
|
1831
1831
|
], 8, hl));
|
|
1832
1832
|
}
|
|
1833
|
-
}), yl = /* @__PURE__ */
|
|
1833
|
+
}), yl = /* @__PURE__ */ B(bl, [["__scopeId", "data-v-07850995"]]), wl = {}, _l = { class: "menu" };
|
|
1834
1834
|
function xl(e, n) {
|
|
1835
1835
|
return f(), g("div", _l, [
|
|
1836
1836
|
M(e.$slots, "default", {}, void 0, !0)
|
|
1837
1837
|
]);
|
|
1838
1838
|
}
|
|
1839
|
-
const kl = /* @__PURE__ */
|
|
1839
|
+
const kl = /* @__PURE__ */ B(wl, [["render", xl], ["__scopeId", "data-v-259fec08"]]), Vl = {
|
|
1840
1840
|
mounted(e) {
|
|
1841
1841
|
e.classList.add("compact");
|
|
1842
1842
|
},
|
|
@@ -1952,11 +1952,11 @@ const Ee = bt.instance, Ll = {
|
|
|
1952
1952
|
const n = e, t = n.__resize_cb;
|
|
1953
1953
|
t && Ee.unobserve(e, t), delete n.__resize_cb, delete n.__resize_breakpoints;
|
|
1954
1954
|
}
|
|
1955
|
-
}, $l = {},
|
|
1956
|
-
function
|
|
1957
|
-
return f(), g("div",
|
|
1955
|
+
}, $l = {}, Sl = { class: "spinner" };
|
|
1956
|
+
function Rl(e, n) {
|
|
1957
|
+
return f(), g("div", Sl);
|
|
1958
1958
|
}
|
|
1959
|
-
const cn = /* @__PURE__ */
|
|
1959
|
+
const cn = /* @__PURE__ */ B($l, [["render", Rl], ["__scopeId", "data-v-b957fb82"]]), Tl = 200, Al = 120;
|
|
1960
1960
|
function Ft(e, n) {
|
|
1961
1961
|
const t = n.querySelector(".vj-loading-inner");
|
|
1962
1962
|
if (!t) return;
|
|
@@ -2019,7 +2019,7 @@ const Ol = {
|
|
|
2019
2019
|
}
|
|
2020
2020
|
o && o.parentElement === e && e.removeChild(o), l !== void 0 && (e.style.position = l), n.__vjLoading = void 0;
|
|
2021
2021
|
}
|
|
2022
|
-
},
|
|
2022
|
+
}, Bl = (e) => {
|
|
2023
2023
|
const n = document.createElement("div");
|
|
2024
2024
|
return n.className = "vj-tooltip", n.setAttribute("role", "tooltip"), n.style.position = "absolute", n.style.top = "0", n.style.left = "0", n.style.pointerEvents = "none", n.style.zIndex = "10000", n.textContent = e, n;
|
|
2025
2025
|
};
|
|
@@ -2031,7 +2031,7 @@ function zt(e) {
|
|
|
2031
2031
|
}
|
|
2032
2032
|
const un = {
|
|
2033
2033
|
mounted(e, n) {
|
|
2034
|
-
const t = zt(n), o =
|
|
2034
|
+
const t = zt(n), o = Bl(t.content);
|
|
2035
2035
|
document.body.appendChild(o);
|
|
2036
2036
|
const l = { tooltip: o, cleanup: void 0, showTimer: null, hideTimer: null }, a = async () => {
|
|
2037
2037
|
const m = await an(e, o, {
|
|
@@ -2083,7 +2083,7 @@ const un = {
|
|
|
2083
2083
|
n.tooltip && n.tooltip.parentElement && n.tooltip.parentElement.removeChild(n.tooltip), n.onPointerEnter && e.removeEventListener("pointerenter", n.onPointerEnter), n.onPointerLeave && e.removeEventListener("pointerleave", n.onPointerLeave), n.onFocus && e.removeEventListener("focus", n.onFocus), n.onBlur && e.removeEventListener("blur", n.onBlur), n.onPointerDown && e.removeEventListener("pointerdown", n.onPointerDown), n.docHandler && document.removeEventListener("pointerdown", n.docHandler), e.__vjTooltip = void 0;
|
|
2084
2084
|
}
|
|
2085
2085
|
}
|
|
2086
|
-
},
|
|
2086
|
+
}, Dl = { class: "notification__icon" }, Pl = { class: "notification__message" }, Ml = { class: "notification__title" }, jl = { class: "notification__text" }, Fl = /* @__PURE__ */ T({
|
|
2087
2087
|
__name: "notification",
|
|
2088
2088
|
props: {
|
|
2089
2089
|
type: {},
|
|
@@ -2107,25 +2107,25 @@ const un = {
|
|
|
2107
2107
|
o("close");
|
|
2108
2108
|
};
|
|
2109
2109
|
return (i, r) => (f(), g("div", {
|
|
2110
|
-
class:
|
|
2110
|
+
class: z(["notification", `notification--${e.type}`]),
|
|
2111
2111
|
onClick: a
|
|
2112
2112
|
}, [
|
|
2113
|
-
x("div",
|
|
2114
|
-
O(
|
|
2113
|
+
x("div", Dl, [
|
|
2114
|
+
O(be, { icon: l.value }, null, 8, ["icon"])
|
|
2115
2115
|
]),
|
|
2116
2116
|
x("div", Pl, [
|
|
2117
|
-
x("div", Ml,
|
|
2118
|
-
x("div", jl,
|
|
2117
|
+
x("div", Ml, D(e.title), 1),
|
|
2118
|
+
x("div", jl, D(e.message), 1)
|
|
2119
2119
|
]),
|
|
2120
2120
|
O(ut, {
|
|
2121
2121
|
class: "notification__close compact",
|
|
2122
|
-
icon:
|
|
2122
|
+
icon: S(F).CLOSE,
|
|
2123
2123
|
onClick: N(a, ["stop"]),
|
|
2124
2124
|
tertiary: ""
|
|
2125
2125
|
}, null, 8, ["icon"])
|
|
2126
2126
|
], 2));
|
|
2127
2127
|
}
|
|
2128
|
-
}), yt = /* @__PURE__ */
|
|
2128
|
+
}), yt = /* @__PURE__ */ B(Fl, [["__scopeId", "data-v-ca4451c0"]]), zl = { class: "page" }, Il = { class: "header-left" }, Hl = { class: "header-titles" }, Ul = { key: 0 }, Wl = { class: "header-actions" }, Nl = {
|
|
2129
2129
|
key: 0,
|
|
2130
2130
|
class: "page-error"
|
|
2131
2131
|
}, Kl = {
|
|
@@ -2157,13 +2157,13 @@ const un = {
|
|
|
2157
2157
|
e.backLabel ? (f(), j(c, {
|
|
2158
2158
|
key: 0,
|
|
2159
2159
|
tertiary: "",
|
|
2160
|
-
icon:
|
|
2160
|
+
icon: S(F).BACK,
|
|
2161
2161
|
onClick: r[0] || (r[0] = (u) => i.$emit("back")),
|
|
2162
2162
|
size: "small"
|
|
2163
2163
|
}, null, 8, ["icon"])) : L("", !0),
|
|
2164
2164
|
x("div", Hl, [
|
|
2165
|
-
x("h1", null,
|
|
2166
|
-
e.subTitle ? (f(), g("h2", Ul,
|
|
2165
|
+
x("h1", null, D(e.title), 1),
|
|
2166
|
+
e.subTitle ? (f(), g("h2", Ul, D(e.subTitle), 1)) : L("", !0)
|
|
2167
2167
|
])
|
|
2168
2168
|
]),
|
|
2169
2169
|
x("div", Wl, [
|
|
@@ -2171,7 +2171,7 @@ const un = {
|
|
|
2171
2171
|
])
|
|
2172
2172
|
]),
|
|
2173
2173
|
x("main", {
|
|
2174
|
-
class:
|
|
2174
|
+
class: z({ scrollable: e.scrollable })
|
|
2175
2175
|
}, [
|
|
2176
2176
|
a.value ? (f(), g("div", Nl, [
|
|
2177
2177
|
M(i.$slots, "error", {}, () => [
|
|
@@ -2200,7 +2200,7 @@ const un = {
|
|
|
2200
2200
|
]);
|
|
2201
2201
|
};
|
|
2202
2202
|
}
|
|
2203
|
-
}), Jl = /* @__PURE__ */
|
|
2203
|
+
}), Jl = /* @__PURE__ */ B(Yl, [["__scopeId", "data-v-3e724555"]]), Ql = {
|
|
2204
2204
|
class: "paginator-info",
|
|
2205
2205
|
"aria-live": "polite"
|
|
2206
2206
|
}, Zl = /* @__PURE__ */ T({
|
|
@@ -2232,7 +2232,7 @@ const un = {
|
|
|
2232
2232
|
O(b, {
|
|
2233
2233
|
tertiary: "",
|
|
2234
2234
|
class: "paginator-btn",
|
|
2235
|
-
icon:
|
|
2235
|
+
icon: S(F).FIRST,
|
|
2236
2236
|
disabled: c.value,
|
|
2237
2237
|
onClick: m,
|
|
2238
2238
|
"aria-label": "First page"
|
|
@@ -2240,7 +2240,7 @@ const un = {
|
|
|
2240
2240
|
O(b, {
|
|
2241
2241
|
tertiary: "",
|
|
2242
2242
|
class: "paginator-btn",
|
|
2243
|
-
icon:
|
|
2243
|
+
icon: S(F).PREVIOUS,
|
|
2244
2244
|
disabled: c.value,
|
|
2245
2245
|
onClick: p,
|
|
2246
2246
|
"aria-label": "Previous page"
|
|
@@ -2250,12 +2250,12 @@ const un = {
|
|
|
2250
2250
|
totalPages: a.value,
|
|
2251
2251
|
goTo: v
|
|
2252
2252
|
}, () => [
|
|
2253
|
-
x("div", Ql,
|
|
2253
|
+
x("div", Ql, D(u.value) + " " + D(r.value) + " " + D(d.value) + " " + D(a.value), 1)
|
|
2254
2254
|
], !0),
|
|
2255
2255
|
O(b, {
|
|
2256
2256
|
tertiary: "",
|
|
2257
2257
|
class: "paginator-btn",
|
|
2258
|
-
icon:
|
|
2258
|
+
icon: S(F).NEXT,
|
|
2259
2259
|
disabled: s.value,
|
|
2260
2260
|
onClick: _,
|
|
2261
2261
|
"aria-label": "Next page"
|
|
@@ -2263,7 +2263,7 @@ const un = {
|
|
|
2263
2263
|
O(b, {
|
|
2264
2264
|
tertiary: "",
|
|
2265
2265
|
class: "paginator-btn",
|
|
2266
|
-
icon:
|
|
2266
|
+
icon: S(F).LAST,
|
|
2267
2267
|
disabled: s.value,
|
|
2268
2268
|
onClick: h,
|
|
2269
2269
|
"aria-label": "Last page"
|
|
@@ -2271,7 +2271,7 @@ const un = {
|
|
|
2271
2271
|
], 32);
|
|
2272
2272
|
};
|
|
2273
2273
|
}
|
|
2274
|
-
}), ea = /* @__PURE__ */
|
|
2274
|
+
}), ea = /* @__PURE__ */ B(Zl, [["__scopeId", "data-v-b6fa8efe"]]), ta = { class: "search-field" }, na = ["value", "placeholder"], oa = /* @__PURE__ */ T({
|
|
2275
2275
|
__name: "search-field",
|
|
2276
2276
|
props: /* @__PURE__ */ ee({
|
|
2277
2277
|
placeholder: { default: "Search..." }
|
|
@@ -2290,8 +2290,8 @@ const un = {
|
|
|
2290
2290
|
const r = K("VjIcon");
|
|
2291
2291
|
return f(), g("div", ta, [
|
|
2292
2292
|
O(r, {
|
|
2293
|
-
icon:
|
|
2294
|
-
size:
|
|
2293
|
+
icon: S(F).SEARCH,
|
|
2294
|
+
size: S(q).S
|
|
2295
2295
|
}, null, 8, ["icon", "size"]),
|
|
2296
2296
|
x("input", {
|
|
2297
2297
|
value: n.value,
|
|
@@ -2300,25 +2300,25 @@ const un = {
|
|
|
2300
2300
|
placeholder: e.placeholder
|
|
2301
2301
|
}, null, 40, na),
|
|
2302
2302
|
O(r, {
|
|
2303
|
-
class:
|
|
2304
|
-
icon:
|
|
2305
|
-
size:
|
|
2303
|
+
class: z(["reset", { invisible: l.value }]),
|
|
2304
|
+
icon: S(F).CLOSE,
|
|
2305
|
+
size: S(q).S,
|
|
2306
2306
|
onClick: o
|
|
2307
2307
|
}, null, 8, ["class", "icon", "size"])
|
|
2308
2308
|
]);
|
|
2309
2309
|
};
|
|
2310
2310
|
}
|
|
2311
|
-
}), la = /* @__PURE__ */
|
|
2311
|
+
}), la = /* @__PURE__ */ B(oa, [["__scopeId", "data-v-2771c8ed"]]), aa = /* @__PURE__ */ T({
|
|
2312
2312
|
__name: "separator",
|
|
2313
2313
|
props: {
|
|
2314
2314
|
vertical: { type: Boolean }
|
|
2315
2315
|
},
|
|
2316
2316
|
setup(e) {
|
|
2317
2317
|
return (n, t) => (f(), g("div", {
|
|
2318
|
-
class:
|
|
2318
|
+
class: z(["separator", { vertical: e.vertical }])
|
|
2319
2319
|
}, null, 2));
|
|
2320
2320
|
}
|
|
2321
|
-
}), ia = /* @__PURE__ */
|
|
2321
|
+
}), ia = /* @__PURE__ */ B(aa, [["__scopeId", "data-v-e354bb4e"]]), sa = { class: "tab-view" }, ra = {
|
|
2322
2322
|
ref: "headerRef",
|
|
2323
2323
|
class: "tab-view-header"
|
|
2324
2324
|
}, ca = ["onClick"], ua = { class: "tab-view-content" }, da = /* @__PURE__ */ T({
|
|
@@ -2359,17 +2359,17 @@ const un = {
|
|
|
2359
2359
|
registerTab: r
|
|
2360
2360
|
}), (s, u) => (f(), g("div", sa, [
|
|
2361
2361
|
x("div", ra, [
|
|
2362
|
-
(f(!0), g(Z, null,
|
|
2362
|
+
(f(!0), g(Z, null, ge(t.value, (d, v) => (f(), g("div", {
|
|
2363
2363
|
key: d.name,
|
|
2364
2364
|
ref_for: !0,
|
|
2365
2365
|
ref: (m) => a(m, v),
|
|
2366
|
-
class:
|
|
2366
|
+
class: z(["tab-button", { active: n.value === d.name }]),
|
|
2367
2367
|
onClick: (m) => c(d.name)
|
|
2368
|
-
},
|
|
2368
|
+
}, D(d.label), 11, ca))), 128)),
|
|
2369
2369
|
u[0] || (u[0] = x("div", { class: "tab-line" }, null, -1)),
|
|
2370
2370
|
x("div", {
|
|
2371
2371
|
class: "tab-indicator",
|
|
2372
|
-
style:
|
|
2372
|
+
style: G(l.value)
|
|
2373
2373
|
}, null, 4)
|
|
2374
2374
|
], 512),
|
|
2375
2375
|
x("div", ua, [
|
|
@@ -2377,7 +2377,7 @@ const un = {
|
|
|
2377
2377
|
])
|
|
2378
2378
|
]));
|
|
2379
2379
|
}
|
|
2380
|
-
}), fa = /* @__PURE__ */
|
|
2380
|
+
}), fa = /* @__PURE__ */ B(da, [["__scopeId", "data-v-3d4ee454"]]), va = {
|
|
2381
2381
|
key: 0,
|
|
2382
2382
|
class: "tab"
|
|
2383
2383
|
}, ma = /* @__PURE__ */ T({
|
|
@@ -2388,7 +2388,7 @@ const un = {
|
|
|
2388
2388
|
},
|
|
2389
2389
|
setup(e) {
|
|
2390
2390
|
const n = e, t = Kt("tabView"), o = E(() => t?.activeTab() === n.name);
|
|
2391
|
-
return
|
|
2391
|
+
return De(() => {
|
|
2392
2392
|
t?.registerTab(n.name, n.label);
|
|
2393
2393
|
}), (l, a) => o.value ? (f(), g("div", va, [
|
|
2394
2394
|
M(l.$slots, "default")
|
|
@@ -2416,7 +2416,7 @@ const un = {
|
|
|
2416
2416
|
a.value = l.value, i.value = !1;
|
|
2417
2417
|
}
|
|
2418
2418
|
return (m, p) => (f(), g("span", {
|
|
2419
|
-
class:
|
|
2419
|
+
class: z(["vj-editable-label", { editing: i.value }]),
|
|
2420
2420
|
onMouseenter: p[1] || (p[1] = (_) => r.value = !0),
|
|
2421
2421
|
onMouseleave: p[2] || (p[2] = (_) => r.value = !1)
|
|
2422
2422
|
}, [
|
|
@@ -2438,20 +2438,20 @@ const un = {
|
|
|
2438
2438
|
class: "label-text",
|
|
2439
2439
|
onClick: u,
|
|
2440
2440
|
title: "Click to edit"
|
|
2441
|
-
},
|
|
2441
|
+
}, D(l.value), 1),
|
|
2442
2442
|
r.value || s.value ? (f(), g("span", {
|
|
2443
2443
|
key: 0,
|
|
2444
2444
|
class: "edit-icon",
|
|
2445
2445
|
onClick: N(u, ["stop"])
|
|
2446
2446
|
}, [
|
|
2447
|
-
O(
|
|
2448
|
-
icon:
|
|
2447
|
+
O(be, {
|
|
2448
|
+
icon: S(F).EDIT
|
|
2449
2449
|
}, null, 8, ["icon"])
|
|
2450
2450
|
])) : L("", !0)
|
|
2451
2451
|
], 64))
|
|
2452
2452
|
], 34));
|
|
2453
2453
|
}
|
|
2454
|
-
}),
|
|
2454
|
+
}), Mi = /* @__PURE__ */ B(ha, [["__scopeId", "data-v-cdc52c5b"]]), ga = "200% 200%", ba = /* @__PURE__ */ T({
|
|
2455
2455
|
__name: "skeleton",
|
|
2456
2456
|
props: {
|
|
2457
2457
|
width: {},
|
|
@@ -2462,7 +2462,7 @@ const un = {
|
|
|
2462
2462
|
const n = e, t = E(() => n.width ?? "100%"), o = E(() => n.height ?? "16px"), l = E(() => n.borderRadius ?? "4px");
|
|
2463
2463
|
return (a, i) => (f(), g("div", {
|
|
2464
2464
|
class: "vj-skeleton",
|
|
2465
|
-
style:
|
|
2465
|
+
style: G({
|
|
2466
2466
|
width: t.value,
|
|
2467
2467
|
height: o.value,
|
|
2468
2468
|
borderRadius: l.value,
|
|
@@ -2471,14 +2471,41 @@ const un = {
|
|
|
2471
2471
|
"aria-hidden": "true"
|
|
2472
2472
|
}, null, 4));
|
|
2473
2473
|
}
|
|
2474
|
-
}), ya = /* @__PURE__ */
|
|
2474
|
+
}), ya = /* @__PURE__ */ B(ba, [["__scopeId", "data-v-ac05e016"]]), wa = /* @__PURE__ */ T({
|
|
2475
|
+
__name: "amount-bar",
|
|
2476
|
+
props: {
|
|
2477
|
+
amount: {},
|
|
2478
|
+
maxAmount: {},
|
|
2479
|
+
segments: {}
|
|
2480
|
+
},
|
|
2481
|
+
setup(e) {
|
|
2482
|
+
const n = e, t = E(() => n.amount / n.maxAmount * 100), o = (a) => {
|
|
2483
|
+
if (!n.segments) return !1;
|
|
2484
|
+
const i = 100 / n.segments, r = a * i;
|
|
2485
|
+
return t.value > r;
|
|
2486
|
+
}, l = (a) => (160 - a / (n.segments - 1 || 1) * 160).toString();
|
|
2487
|
+
return (a, i) => (f(), g("div", {
|
|
2488
|
+
class: z(["amount-bar", { "amount-bar--segmented": e.segments }])
|
|
2489
|
+
}, [
|
|
2490
|
+
e.segments ? (f(!0), g(Z, { key: 0 }, ge(Array.from({ length: e.segments }), (r, c) => (f(), g("div", {
|
|
2491
|
+
key: c,
|
|
2492
|
+
class: z(["amount-bar__segment", { "amount-bar__segment--filled": o(c) }]),
|
|
2493
|
+
style: G({ "--segment-hue": l(c) })
|
|
2494
|
+
}, null, 6))), 128)) : (f(), g("div", {
|
|
2495
|
+
key: 1,
|
|
2496
|
+
class: "amount-bar__fill",
|
|
2497
|
+
style: G({ width: `${e.amount / e.maxAmount * 100}%` })
|
|
2498
|
+
}, null, 4))
|
|
2499
|
+
], 2));
|
|
2500
|
+
}
|
|
2501
|
+
}), _a = /* @__PURE__ */ B(wa, [["__scopeId", "data-v-f85c6d8c"]]), dn = {
|
|
2475
2502
|
form: {
|
|
2476
2503
|
labelPosition: "inline",
|
|
2477
2504
|
appearance: "bordered"
|
|
2478
2505
|
}
|
|
2479
2506
|
};
|
|
2480
2507
|
let Xe = {};
|
|
2481
|
-
function
|
|
2508
|
+
function ji(e) {
|
|
2482
2509
|
Xe = {
|
|
2483
2510
|
...Xe,
|
|
2484
2511
|
...e,
|
|
@@ -2496,18 +2523,18 @@ function It() {
|
|
|
2496
2523
|
}
|
|
2497
2524
|
};
|
|
2498
2525
|
}
|
|
2499
|
-
function
|
|
2526
|
+
function Fi() {
|
|
2500
2527
|
Xe = {};
|
|
2501
2528
|
}
|
|
2502
|
-
const
|
|
2529
|
+
const xa = ["data-colspan", "data-newline"], ka = ["for"], Va = { class: "form-field__wrapper" }, Ea = ["for"], Ca = {
|
|
2503
2530
|
key: 1,
|
|
2504
2531
|
class: "form-field__error"
|
|
2505
|
-
},
|
|
2532
|
+
}, La = {
|
|
2506
2533
|
key: 2,
|
|
2507
2534
|
class: "form-field__help",
|
|
2508
2535
|
type: "button",
|
|
2509
2536
|
"aria-label": "Hilfe"
|
|
2510
|
-
},
|
|
2537
|
+
}, $a = /* @__PURE__ */ T({
|
|
2511
2538
|
directives: { tooltip: un },
|
|
2512
2539
|
__name: "form-field",
|
|
2513
2540
|
props: {
|
|
@@ -2550,7 +2577,7 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2550
2577
|
return (p, _) => {
|
|
2551
2578
|
const h = K("VjIcon"), y = Nt("tooltip");
|
|
2552
2579
|
return f(), g("div", {
|
|
2553
|
-
class:
|
|
2580
|
+
class: z([
|
|
2554
2581
|
"form-field",
|
|
2555
2582
|
`form-field--${r.value}`,
|
|
2556
2583
|
`form-field--${c.value}`,
|
|
@@ -2560,14 +2587,14 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2560
2587
|
]),
|
|
2561
2588
|
"data-colspan": t.spanRow ? void 0 : t.colspan,
|
|
2562
2589
|
"data-newline": t.spanRow || t.newLine ? "true" : void 0,
|
|
2563
|
-
style:
|
|
2590
|
+
style: G(t.spanRow ? { gridColumn: "1 / -1" } : void 0)
|
|
2564
2591
|
}, [
|
|
2565
2592
|
e.label && r.value === "outline" ? (f(), g("label", {
|
|
2566
2593
|
key: 0,
|
|
2567
2594
|
for: i.value,
|
|
2568
2595
|
class: "form-field__label-outline"
|
|
2569
|
-
},
|
|
2570
|
-
x("div",
|
|
2596
|
+
}, D(e.label), 9, ka)) : L("", !0),
|
|
2597
|
+
x("div", Va, [
|
|
2571
2598
|
M(p.$slots, "control", {
|
|
2572
2599
|
id: i.value,
|
|
2573
2600
|
value: l.value,
|
|
@@ -2580,21 +2607,21 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2580
2607
|
e.label && r.value === "inline" ? (f(), g("label", {
|
|
2581
2608
|
key: 0,
|
|
2582
2609
|
for: i.value,
|
|
2583
|
-
class:
|
|
2584
|
-
},
|
|
2610
|
+
class: z(["form-field__label", { "form-field__label--float": s.value }])
|
|
2611
|
+
}, D(e.label), 11, Ea)) : L("", !0)
|
|
2585
2612
|
]),
|
|
2586
|
-
e.error ? (f(), g("div",
|
|
2587
|
-
t.helpText ? ct((f(), g("button",
|
|
2613
|
+
e.error ? (f(), g("div", Ca, D(e.error), 1)) : L("", !0),
|
|
2614
|
+
t.helpText ? ct((f(), g("button", La, [
|
|
2588
2615
|
O(h, {
|
|
2589
|
-
icon:
|
|
2616
|
+
icon: S(F).HELP
|
|
2590
2617
|
}, null, 8, ["icon"])
|
|
2591
2618
|
])), [
|
|
2592
2619
|
[y, t.helpText]
|
|
2593
2620
|
]) : L("", !0)
|
|
2594
|
-
], 14,
|
|
2621
|
+
], 14, xa);
|
|
2595
2622
|
};
|
|
2596
2623
|
}
|
|
2597
|
-
}), ze = /* @__PURE__ */
|
|
2624
|
+
}), ze = /* @__PURE__ */ B($a, [["__scopeId", "data-v-19959d5e"]]), Sa = /* @__PURE__ */ T({
|
|
2598
2625
|
__name: "form-layout",
|
|
2599
2626
|
props: {
|
|
2600
2627
|
columns: { type: Number, default: 4 },
|
|
@@ -2610,11 +2637,11 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2610
2637
|
s !== null && s !== "false" ? i.style.gridColumn = "1 / -1" : i.style.gridColumn = `span ${c}`;
|
|
2611
2638
|
});
|
|
2612
2639
|
}
|
|
2613
|
-
return
|
|
2640
|
+
return De(() => {
|
|
2614
2641
|
me(() => {
|
|
2615
2642
|
l(), t.value && (o = new MutationObserver(() => l()), o.observe(t.value, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["data-colspan", "data-newline"] }));
|
|
2616
2643
|
});
|
|
2617
|
-
}),
|
|
2644
|
+
}), Re(() => {
|
|
2618
2645
|
o?.disconnect();
|
|
2619
2646
|
}), X(
|
|
2620
2647
|
() => n.columns,
|
|
@@ -2626,30 +2653,30 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2626
2653
|
ref_key: "container",
|
|
2627
2654
|
ref: t,
|
|
2628
2655
|
class: "form-layout",
|
|
2629
|
-
style:
|
|
2656
|
+
style: G({ gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`, gap: e.gap })
|
|
2630
2657
|
}, [
|
|
2631
2658
|
M(a.$slots, "default", {}, void 0, !0)
|
|
2632
2659
|
], 4));
|
|
2633
2660
|
}
|
|
2634
|
-
}),
|
|
2661
|
+
}), Ra = /* @__PURE__ */ B(Sa, [["__scopeId", "data-v-96f62ab7"]]), Ta = {
|
|
2635
2662
|
key: 0,
|
|
2636
2663
|
class: "form-section__title",
|
|
2637
2664
|
"data-newline": ""
|
|
2638
|
-
},
|
|
2665
|
+
}, Aa = /* @__PURE__ */ T({
|
|
2639
2666
|
__name: "form-section",
|
|
2640
2667
|
props: {
|
|
2641
2668
|
title: {}
|
|
2642
2669
|
},
|
|
2643
2670
|
setup(e) {
|
|
2644
2671
|
return (n, t) => (f(), g(Z, null, [
|
|
2645
|
-
e.title ? (f(), g("h3",
|
|
2672
|
+
e.title ? (f(), g("h3", Ta, D(e.title), 1)) : L("", !0),
|
|
2646
2673
|
M(n.$slots, "default", {}, void 0, !0)
|
|
2647
2674
|
], 64));
|
|
2648
2675
|
}
|
|
2649
|
-
}),
|
|
2676
|
+
}), Oa = /* @__PURE__ */ B(Aa, [["__scopeId", "data-v-69cff1d0"]]), Ba = ["id", "disabled"], Da = { class: "select-value" }, Pa = {
|
|
2650
2677
|
key: 1,
|
|
2651
2678
|
class: "select-placeholder"
|
|
2652
|
-
},
|
|
2679
|
+
}, Ma = { class: "select-options" }, ja = ["onClick", "onMouseenter"], Fa = /* @__PURE__ */ T({
|
|
2653
2680
|
inheritAttrs: !1,
|
|
2654
2681
|
__name: "select",
|
|
2655
2682
|
props: /* @__PURE__ */ ee({
|
|
@@ -2693,9 +2720,9 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2693
2720
|
}, w = (b) => {
|
|
2694
2721
|
l.value && i.value && !i.value.contains(b.target) && _();
|
|
2695
2722
|
};
|
|
2696
|
-
return
|
|
2723
|
+
return De(() => {
|
|
2697
2724
|
document.addEventListener("click", w);
|
|
2698
|
-
}),
|
|
2725
|
+
}), Re(() => {
|
|
2699
2726
|
document.removeEventListener("click", w);
|
|
2700
2727
|
}), X(l, (b) => {
|
|
2701
2728
|
b && v.value && (a.value = t.options.findIndex(($) => m($)));
|
|
@@ -2708,7 +2735,7 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2708
2735
|
x("div", {
|
|
2709
2736
|
ref_key: "selectRef",
|
|
2710
2737
|
ref: i,
|
|
2711
|
-
class:
|
|
2738
|
+
class: z(["select", b.$attrs.class])
|
|
2712
2739
|
}, [
|
|
2713
2740
|
x("button", {
|
|
2714
2741
|
ref_key: "buttonRef",
|
|
@@ -2722,53 +2749,53 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2722
2749
|
t.icon ? (f(), j(P, {
|
|
2723
2750
|
key: 0,
|
|
2724
2751
|
icon: t.icon,
|
|
2725
|
-
size:
|
|
2752
|
+
size: S(q).S,
|
|
2726
2753
|
class: "select-icon-left"
|
|
2727
2754
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
2728
|
-
x("span",
|
|
2755
|
+
x("span", Da, [
|
|
2729
2756
|
v.value ? M(b.$slots, "selected", {
|
|
2730
2757
|
key: 0,
|
|
2731
2758
|
option: v.value
|
|
2732
2759
|
}, () => [
|
|
2733
|
-
Ue(
|
|
2734
|
-
], !0) : (f(), g("span",
|
|
2760
|
+
Ue(D(u(v.value)), 1)
|
|
2761
|
+
], !0) : (f(), g("span", Pa, D(e.placeholder), 1))
|
|
2735
2762
|
]),
|
|
2736
2763
|
t.clearable && v.value && !e.disabled ? (f(), j(P, {
|
|
2737
2764
|
key: 1,
|
|
2738
|
-
icon:
|
|
2739
|
-
size:
|
|
2765
|
+
icon: S(F).CLOSE,
|
|
2766
|
+
size: S(q).S,
|
|
2740
2767
|
class: "select-clear-icon",
|
|
2741
2768
|
onClick: N(y, ["stop"])
|
|
2742
2769
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
2743
2770
|
O(P, {
|
|
2744
|
-
icon:
|
|
2745
|
-
size:
|
|
2746
|
-
class:
|
|
2771
|
+
icon: S(F).CHEVRON_DOWN,
|
|
2772
|
+
size: S(q).S,
|
|
2773
|
+
class: z(["select-icon-right", { open: l.value }])
|
|
2747
2774
|
}, null, 8, ["icon", "size", "class"])
|
|
2748
|
-
], 8,
|
|
2775
|
+
], 8, Ba),
|
|
2749
2776
|
O(Oe, { name: "dropdown" }, {
|
|
2750
2777
|
default: W(() => [
|
|
2751
2778
|
l.value ? (f(), g("div", {
|
|
2752
2779
|
key: 0,
|
|
2753
2780
|
ref_key: "floatingRef",
|
|
2754
2781
|
ref: c,
|
|
2755
|
-
style:
|
|
2782
|
+
style: G(S(s)),
|
|
2756
2783
|
class: "select-dropdown"
|
|
2757
2784
|
}, [
|
|
2758
|
-
x("div",
|
|
2759
|
-
(f(!0), g(Z, null,
|
|
2760
|
-
key: String(d(
|
|
2761
|
-
class:
|
|
2762
|
-
onClick: (V) => h(
|
|
2785
|
+
x("div", Ma, [
|
|
2786
|
+
(f(!0), g(Z, null, ge(e.options, (I, k) => (f(), g("div", {
|
|
2787
|
+
key: String(d(I)),
|
|
2788
|
+
class: z(["select-option", { selected: m(I), highlighted: a.value === k }]),
|
|
2789
|
+
onClick: (V) => h(I),
|
|
2763
2790
|
onMouseenter: (V) => a.value = k
|
|
2764
2791
|
}, [
|
|
2765
2792
|
M(b.$slots, "option", {
|
|
2766
|
-
option:
|
|
2767
|
-
selected: m(
|
|
2793
|
+
option: I,
|
|
2794
|
+
selected: m(I)
|
|
2768
2795
|
}, () => [
|
|
2769
|
-
Ue(
|
|
2796
|
+
Ue(D(u(I)), 1)
|
|
2770
2797
|
], !0)
|
|
2771
|
-
], 42,
|
|
2798
|
+
], 42, ja))), 128))
|
|
2772
2799
|
])
|
|
2773
2800
|
], 4)) : L("", !0)
|
|
2774
2801
|
]),
|
|
@@ -2785,7 +2812,7 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2785
2812
|
], 64);
|
|
2786
2813
|
};
|
|
2787
2814
|
}
|
|
2788
|
-
}), fn = /* @__PURE__ */
|
|
2815
|
+
}), fn = /* @__PURE__ */ B(Fa, [["__scopeId", "data-v-fc22f0e9"]]), za = /* @__PURE__ */ T({
|
|
2789
2816
|
__name: "input-select",
|
|
2790
2817
|
props: {
|
|
2791
2818
|
modelValue: {},
|
|
@@ -2863,7 +2890,7 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2863
2890
|
_: 3
|
|
2864
2891
|
}, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
|
|
2865
2892
|
}
|
|
2866
|
-
}),
|
|
2893
|
+
}), Ia = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], Ha = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], Ua = /* @__PURE__ */ T({
|
|
2867
2894
|
__name: "slider",
|
|
2868
2895
|
props: {
|
|
2869
2896
|
modelValue: { default: void 0 },
|
|
@@ -2932,12 +2959,12 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2932
2959
|
}, P = () => {
|
|
2933
2960
|
t.range ? (o("update:modelValue", [c.value, s.value]), o("change", [c.value, s.value])) : (o("update:modelValue", c.value), o("change", c.value));
|
|
2934
2961
|
};
|
|
2935
|
-
|
|
2962
|
+
Re(() => {
|
|
2936
2963
|
window.removeEventListener("pointermove", w), window.removeEventListener("pointerup", y);
|
|
2937
2964
|
}), X([() => t.min, () => t.max], () => {
|
|
2938
2965
|
c.value = r(c.value, t.min, t.max), s.value = r(s.value, t.min, t.max);
|
|
2939
2966
|
});
|
|
2940
|
-
const
|
|
2967
|
+
const I = E(() => t.range);
|
|
2941
2968
|
return me(() => {
|
|
2942
2969
|
t.modelValue === void 0 && (t.range ? o("update:modelValue", [c.value, s.value]) : o("update:modelValue", c.value));
|
|
2943
2970
|
}), (k, V) => (f(), g("div", {
|
|
@@ -2953,36 +2980,36 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2953
2980
|
}, [
|
|
2954
2981
|
x("div", {
|
|
2955
2982
|
class: "range",
|
|
2956
|
-
style:
|
|
2983
|
+
style: G(m.value)
|
|
2957
2984
|
}, null, 4),
|
|
2958
2985
|
a.value ? (f(), g("div", {
|
|
2959
2986
|
key: 0,
|
|
2960
2987
|
class: "tooltip",
|
|
2961
|
-
style:
|
|
2962
|
-
},
|
|
2988
|
+
style: G({ left: d.value.left })
|
|
2989
|
+
}, D(c.value), 5)) : L("", !0),
|
|
2963
2990
|
x("button", {
|
|
2964
2991
|
class: "handle low",
|
|
2965
|
-
style:
|
|
2992
|
+
style: G(d.value),
|
|
2966
2993
|
"aria-valuemin": e.min,
|
|
2967
2994
|
"aria-valuemax": e.max,
|
|
2968
2995
|
"aria-valuenow": c.value,
|
|
2969
|
-
"aria-label":
|
|
2996
|
+
"aria-label": I.value ? "Lower value" : "Value",
|
|
2970
2997
|
onPointerdown: V[0] || (V[0] = N((A) => h("low", A), ["prevent"])),
|
|
2971
2998
|
onFocus: V[1] || (V[1] = (A) => a.value = !0),
|
|
2972
2999
|
onBlur: V[2] || (V[2] = (A) => a.value = !1),
|
|
2973
3000
|
onKeydown: V[3] || (V[3] = N((A) => $("low", A), ["stop", "prevent"])),
|
|
2974
3001
|
role: "slider",
|
|
2975
3002
|
tabindex: "0"
|
|
2976
|
-
}, null, 44,
|
|
2977
|
-
|
|
3003
|
+
}, null, 44, Ia),
|
|
3004
|
+
I.value && i.value ? (f(), g("div", {
|
|
2978
3005
|
key: 1,
|
|
2979
3006
|
class: "tooltip",
|
|
2980
|
-
style:
|
|
2981
|
-
},
|
|
2982
|
-
|
|
3007
|
+
style: G({ left: v.value.left })
|
|
3008
|
+
}, D(s.value), 5)) : L("", !0),
|
|
3009
|
+
I.value ? (f(), g("button", {
|
|
2983
3010
|
key: 2,
|
|
2984
3011
|
class: "handle high",
|
|
2985
|
-
style:
|
|
3012
|
+
style: G(v.value),
|
|
2986
3013
|
"aria-valuemin": e.min,
|
|
2987
3014
|
"aria-valuemax": e.max,
|
|
2988
3015
|
"aria-valuenow": s.value,
|
|
@@ -2993,11 +3020,11 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
2993
3020
|
onKeydown: V[7] || (V[7] = N((A) => $("high", A), ["stop", "prevent"])),
|
|
2994
3021
|
role: "slider",
|
|
2995
3022
|
tabindex: "0"
|
|
2996
|
-
}, null, 44,
|
|
3023
|
+
}, null, 44, Ha)) : L("", !0)
|
|
2997
3024
|
], 512)
|
|
2998
3025
|
], 32));
|
|
2999
3026
|
}
|
|
3000
|
-
}),
|
|
3027
|
+
}), Wa = /* @__PURE__ */ B(Ua, [["__scopeId", "data-v-d47c7475"]]), Na = ["onFocusin", "onFocusout"], Ka = /* @__PURE__ */ T({
|
|
3001
3028
|
__name: "input-slider",
|
|
3002
3029
|
props: {
|
|
3003
3030
|
modelValue: {},
|
|
@@ -3040,7 +3067,7 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3040
3067
|
onFocusin: v,
|
|
3041
3068
|
onFocusout: m
|
|
3042
3069
|
}, [
|
|
3043
|
-
O(
|
|
3070
|
+
O(Wa, {
|
|
3044
3071
|
id: s,
|
|
3045
3072
|
modelValue: a.value,
|
|
3046
3073
|
"onUpdate:modelValue": c[0] || (c[0] = (p) => a.value = p),
|
|
@@ -3050,12 +3077,12 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3050
3077
|
range: !1,
|
|
3051
3078
|
disabled: u
|
|
3052
3079
|
}, null, 8, ["id", "modelValue", "min", "max", "step", "disabled"])
|
|
3053
|
-
], 40,
|
|
3080
|
+
], 40, Na)
|
|
3054
3081
|
]),
|
|
3055
3082
|
_: 1
|
|
3056
3083
|
}, 8, ["modelValue", "label", "id", "disabled", "colspan", "newLine", "spanRow", "error"]));
|
|
3057
3084
|
}
|
|
3058
|
-
}),
|
|
3085
|
+
}), Xa = /* @__PURE__ */ B(Ka, [["__scopeId", "data-v-051e6d17"]]), Ga = { class: "textarea" }, qa = ["value", "placeholder", "disabled", "rows"], Ya = /* @__PURE__ */ T({
|
|
3059
3086
|
__name: "textarea",
|
|
3060
3087
|
props: /* @__PURE__ */ ee({
|
|
3061
3088
|
icon: {},
|
|
@@ -3080,11 +3107,11 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3080
3107
|
}, c = E(() => !o.value);
|
|
3081
3108
|
return (s, u) => {
|
|
3082
3109
|
const d = K("VjIcon");
|
|
3083
|
-
return f(), g("div",
|
|
3110
|
+
return f(), g("div", Ga, [
|
|
3084
3111
|
e.icon ? (f(), j(d, {
|
|
3085
3112
|
key: 0,
|
|
3086
3113
|
icon: e.icon,
|
|
3087
|
-
size:
|
|
3114
|
+
size: S(q).S,
|
|
3088
3115
|
class: "textarea-icon"
|
|
3089
3116
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
3090
3117
|
x("textarea", {
|
|
@@ -3095,18 +3122,18 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3095
3122
|
placeholder: e.placeholder,
|
|
3096
3123
|
disabled: e.disabled,
|
|
3097
3124
|
rows: e.rows
|
|
3098
|
-
}, null, 40,
|
|
3125
|
+
}, null, 40, qa),
|
|
3099
3126
|
e.clearable && !e.disabled ? (f(), j(d, {
|
|
3100
3127
|
key: 1,
|
|
3101
|
-
class:
|
|
3102
|
-
icon:
|
|
3103
|
-
size:
|
|
3128
|
+
class: z(["clear-icon", { invisible: c.value }]),
|
|
3129
|
+
icon: S(F).CLOSE,
|
|
3130
|
+
size: S(q).S,
|
|
3104
3131
|
onClick: a
|
|
3105
3132
|
}, null, 8, ["class", "icon", "size"])) : L("", !0)
|
|
3106
3133
|
]);
|
|
3107
3134
|
};
|
|
3108
3135
|
}
|
|
3109
|
-
}), vn = /* @__PURE__ */
|
|
3136
|
+
}), vn = /* @__PURE__ */ B(Ya, [["__scopeId", "data-v-2ea43716"]]), Ja = /* @__PURE__ */ T({
|
|
3110
3137
|
__name: "input-text-area",
|
|
3111
3138
|
props: {
|
|
3112
3139
|
modelValue: {},
|
|
@@ -3169,7 +3196,7 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3169
3196
|
_: 1
|
|
3170
3197
|
}, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "labelPosition", "error", "helpText", "appearance"]));
|
|
3171
3198
|
}
|
|
3172
|
-
}),
|
|
3199
|
+
}), Qa = { class: "input" }, Za = ["value", "type", "placeholder", "disabled"], ei = /* @__PURE__ */ T({
|
|
3173
3200
|
__name: "input",
|
|
3174
3201
|
props: /* @__PURE__ */ ee({
|
|
3175
3202
|
icon: {},
|
|
@@ -3194,11 +3221,11 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3194
3221
|
}, c = E(() => !o.value);
|
|
3195
3222
|
return (s, u) => {
|
|
3196
3223
|
const d = K("VjIcon");
|
|
3197
|
-
return f(), g("div",
|
|
3224
|
+
return f(), g("div", Qa, [
|
|
3198
3225
|
e.icon ? (f(), j(d, {
|
|
3199
3226
|
key: 0,
|
|
3200
3227
|
icon: e.icon,
|
|
3201
|
-
size:
|
|
3228
|
+
size: S(q).S
|
|
3202
3229
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
3203
3230
|
x("input", {
|
|
3204
3231
|
value: o.value,
|
|
@@ -3208,18 +3235,18 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3208
3235
|
type: e.type,
|
|
3209
3236
|
placeholder: e.placeholder,
|
|
3210
3237
|
disabled: e.disabled
|
|
3211
|
-
}, null, 40,
|
|
3238
|
+
}, null, 40, Za),
|
|
3212
3239
|
e.clearable && !e.disabled ? (f(), j(d, {
|
|
3213
3240
|
key: 1,
|
|
3214
|
-
class:
|
|
3215
|
-
icon:
|
|
3216
|
-
size:
|
|
3241
|
+
class: z(["clear-icon", { invisible: c.value }]),
|
|
3242
|
+
icon: S(F).CLOSE,
|
|
3243
|
+
size: S(q).S,
|
|
3217
3244
|
onClick: a
|
|
3218
3245
|
}, null, 8, ["class", "icon", "size"])) : L("", !0)
|
|
3219
3246
|
]);
|
|
3220
3247
|
};
|
|
3221
3248
|
}
|
|
3222
|
-
}), mn = /* @__PURE__ */
|
|
3249
|
+
}), mn = /* @__PURE__ */ B(ei, [["__scopeId", "data-v-3187d49c"]]), ti = /* @__PURE__ */ T({
|
|
3223
3250
|
__name: "input-text",
|
|
3224
3251
|
props: {
|
|
3225
3252
|
modelValue: {},
|
|
@@ -3279,10 +3306,10 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3279
3306
|
_: 1
|
|
3280
3307
|
}, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
|
|
3281
3308
|
}
|
|
3282
|
-
}),
|
|
3309
|
+
}), ni = { class: "shell-navigation-item" }, oi = { class: "shell-navigation-item-label" }, li = {
|
|
3283
3310
|
key: 1,
|
|
3284
3311
|
class: "shell-navigation-item-link"
|
|
3285
|
-
},
|
|
3312
|
+
}, ai = ["aria-expanded"], ii = { class: "shell-navigation-item-label" }, si = /* @__PURE__ */ T({
|
|
3286
3313
|
__name: "shell-navigation-item",
|
|
3287
3314
|
props: {
|
|
3288
3315
|
label: {},
|
|
@@ -3308,11 +3335,11 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3308
3335
|
};
|
|
3309
3336
|
return X(o, (v) => {
|
|
3310
3337
|
v ? (window.addEventListener("keydown", u), window.addEventListener("pointerdown", d)) : (window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d));
|
|
3311
|
-
}),
|
|
3338
|
+
}), Re(() => {
|
|
3312
3339
|
window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d);
|
|
3313
3340
|
}), (v, m) => {
|
|
3314
3341
|
const p = K("VjIcon"), _ = K("RouterLink"), h = K("VjMenu");
|
|
3315
|
-
return f(), g("li",
|
|
3342
|
+
return f(), g("li", ni, [
|
|
3316
3343
|
e.to ? (f(), j(_, {
|
|
3317
3344
|
key: 0,
|
|
3318
3345
|
to: e.to,
|
|
@@ -3323,10 +3350,10 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3323
3350
|
icon: e.icon,
|
|
3324
3351
|
class: "shell-navigation-item-icon"
|
|
3325
3352
|
}, null, 8, ["icon"]),
|
|
3326
|
-
x("label",
|
|
3353
|
+
x("label", oi, D(e.label), 1)
|
|
3327
3354
|
]),
|
|
3328
3355
|
_: 1
|
|
3329
|
-
}, 8, ["to"])) : (f(), g("div",
|
|
3356
|
+
}, 8, ["to"])) : (f(), g("div", li, [
|
|
3330
3357
|
x("button", {
|
|
3331
3358
|
ref_key: "buttonRef",
|
|
3332
3359
|
ref: l,
|
|
@@ -3339,15 +3366,15 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3339
3366
|
icon: e.icon,
|
|
3340
3367
|
class: "shell-navigation-item-icon"
|
|
3341
3368
|
}, null, 8, ["icon"]),
|
|
3342
|
-
x("label",
|
|
3343
|
-
], 8,
|
|
3369
|
+
x("label", ii, D(e.label), 1)
|
|
3370
|
+
], 8, ai),
|
|
3344
3371
|
O(Oe, { name: "menu" }, {
|
|
3345
3372
|
default: W(() => [
|
|
3346
3373
|
o.value ? (f(), j(h, {
|
|
3347
3374
|
key: 0,
|
|
3348
3375
|
ref_key: "floatingRef",
|
|
3349
3376
|
ref: a,
|
|
3350
|
-
style:
|
|
3377
|
+
style: G(S(i)),
|
|
3351
3378
|
class: "shell-navigation-item-menu",
|
|
3352
3379
|
onClose: c,
|
|
3353
3380
|
onClick: N(s, ["stop"])
|
|
@@ -3371,39 +3398,39 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3371
3398
|
]);
|
|
3372
3399
|
};
|
|
3373
3400
|
}
|
|
3374
|
-
}),
|
|
3401
|
+
}), ri = /* @__PURE__ */ B(si, [["__scopeId", "data-v-3a50d1c2"]]), ci = { class: "navigation-top" }, ui = {
|
|
3375
3402
|
key: 0,
|
|
3376
3403
|
class: "navigation-bottom"
|
|
3377
|
-
},
|
|
3404
|
+
}, di = /* @__PURE__ */ T({
|
|
3378
3405
|
__name: "shell-navigation",
|
|
3379
3406
|
setup(e) {
|
|
3380
|
-
const n = Kt(
|
|
3407
|
+
const n = Kt(xi, Vi()), t = E(() => n.showLabels);
|
|
3381
3408
|
return (o, l) => {
|
|
3382
3409
|
const a = K("VjShellNavigationItem");
|
|
3383
3410
|
return f(), g("nav", {
|
|
3384
|
-
class:
|
|
3411
|
+
class: z(["shell-navigation", { "with-labels": t.value }])
|
|
3385
3412
|
}, [
|
|
3386
|
-
x("ul",
|
|
3387
|
-
|
|
3413
|
+
x("ul", ci, [
|
|
3414
|
+
S(n).hasParent && S(n).backRoute.value ? (f(), j(a, {
|
|
3388
3415
|
key: 0,
|
|
3389
|
-
to:
|
|
3416
|
+
to: S(n).backRoute.value,
|
|
3390
3417
|
label: "BACK",
|
|
3391
|
-
icon:
|
|
3418
|
+
icon: S(F).HOME
|
|
3392
3419
|
}, null, 8, ["to", "icon"])) : L("", !0),
|
|
3393
|
-
(f(!0), g(Z, null,
|
|
3420
|
+
(f(!0), g(Z, null, ge(S(n).childRoutes.value, (i) => (f(), j(a, {
|
|
3394
3421
|
key: i.name,
|
|
3395
3422
|
to: { name: i.name },
|
|
3396
3423
|
label: i.meta.label,
|
|
3397
|
-
icon: i.meta.icon ??
|
|
3424
|
+
icon: i.meta.icon ?? S(F).HOME
|
|
3398
3425
|
}, null, 8, ["to", "label", "icon"]))), 128))
|
|
3399
3426
|
]),
|
|
3400
|
-
o.$slots.fixed ? (f(), g("ul",
|
|
3427
|
+
o.$slots.fixed ? (f(), g("ul", ui, [
|
|
3401
3428
|
M(o.$slots, "fixed", {}, void 0, !0)
|
|
3402
3429
|
])) : L("", !0)
|
|
3403
3430
|
], 2);
|
|
3404
3431
|
};
|
|
3405
3432
|
}
|
|
3406
|
-
}), pn = /* @__PURE__ */
|
|
3433
|
+
}), pn = /* @__PURE__ */ B(di, [["__scopeId", "data-v-306cfc22"]]), fi = { class: "shell" }, vi = { class: "shell-title" }, mi = ["src"], pi = { class: "header-actions" }, hi = /* @__PURE__ */ T({
|
|
3407
3434
|
__name: "shell",
|
|
3408
3435
|
props: {
|
|
3409
3436
|
title: {},
|
|
@@ -3411,30 +3438,30 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3411
3438
|
showNavigation: { type: Boolean }
|
|
3412
3439
|
},
|
|
3413
3440
|
setup(e) {
|
|
3414
|
-
const n =
|
|
3441
|
+
const n = Si(), t = nt(n, "asideComponent"), o = nt(n, "hasAside"), l = nt(n, "asideData"), a = E(() => {
|
|
3415
3442
|
const i = l.value;
|
|
3416
3443
|
return i && typeof i == "object" ? i : {};
|
|
3417
3444
|
});
|
|
3418
3445
|
return (i, r) => {
|
|
3419
3446
|
const c = K("router-view");
|
|
3420
|
-
return f(), g("div",
|
|
3447
|
+
return f(), g("div", fi, [
|
|
3421
3448
|
x("header", null, [
|
|
3422
|
-
x("span",
|
|
3449
|
+
x("span", vi, [
|
|
3423
3450
|
e.icon ? (f(), g("img", {
|
|
3424
3451
|
key: 0,
|
|
3425
3452
|
src: e.icon,
|
|
3426
3453
|
alt: "Shell Icon"
|
|
3427
|
-
}, null, 8,
|
|
3428
|
-
x("h1", null,
|
|
3454
|
+
}, null, 8, mi)) : L("", !0),
|
|
3455
|
+
x("h1", null, D(e.title), 1)
|
|
3429
3456
|
]),
|
|
3430
|
-
x("div",
|
|
3457
|
+
x("div", pi, [
|
|
3431
3458
|
M(i.$slots, "header-actions", {}, void 0, !0)
|
|
3432
3459
|
])
|
|
3433
3460
|
]),
|
|
3434
3461
|
x("div", {
|
|
3435
|
-
class:
|
|
3462
|
+
class: z(["shell-content", { "with-navigation": e.showNavigation }])
|
|
3436
3463
|
}, [
|
|
3437
|
-
e.showNavigation ? (f(), j(
|
|
3464
|
+
e.showNavigation ? (f(), j(S(pn), { key: 0 }, rt({ _: 2 }, [
|
|
3438
3465
|
i.$slots?.["navigation-fixed"] ? {
|
|
3439
3466
|
name: "fixed",
|
|
3440
3467
|
fn: W(() => [
|
|
@@ -3449,7 +3476,7 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3449
3476
|
], !0)
|
|
3450
3477
|
]),
|
|
3451
3478
|
x("aside", {
|
|
3452
|
-
class:
|
|
3479
|
+
class: z({ "aside-visible": o.value })
|
|
3453
3480
|
}, [
|
|
3454
3481
|
(f(), j(Wt(t.value), kn(Vn(a.value)), null, 16))
|
|
3455
3482
|
], 2)
|
|
@@ -3458,8 +3485,8 @@ const wa = ["data-colspan", "data-newline"], _a = ["for"], xa = { class: "form-f
|
|
|
3458
3485
|
]);
|
|
3459
3486
|
};
|
|
3460
3487
|
}
|
|
3461
|
-
}),
|
|
3462
|
-
class
|
|
3488
|
+
}), gi = /* @__PURE__ */ B(hi, [["__scopeId", "data-v-4dfd0097"]]);
|
|
3489
|
+
class bi {
|
|
3463
3490
|
notifications = C([]);
|
|
3464
3491
|
notificationIdCounter = 0;
|
|
3465
3492
|
/**
|
|
@@ -3525,15 +3552,15 @@ class hi {
|
|
|
3525
3552
|
this.notifications.value = [];
|
|
3526
3553
|
}
|
|
3527
3554
|
}
|
|
3528
|
-
const Ht = new
|
|
3555
|
+
const Ht = new bi(), yi = { class: "notifications" }, wi = /* @__PURE__ */ T({
|
|
3529
3556
|
__name: "notifications",
|
|
3530
3557
|
setup(e) {
|
|
3531
3558
|
const n = Ht.getNotifications(), t = (o) => Ht.remove(o);
|
|
3532
3559
|
return (o, l) => (f(), j(Pe, { to: "body" }, [
|
|
3533
|
-
x("div",
|
|
3560
|
+
x("div", yi, [
|
|
3534
3561
|
O(En, { name: "notification" }, {
|
|
3535
3562
|
default: W(() => [
|
|
3536
|
-
(f(!0), g(Z, null,
|
|
3563
|
+
(f(!0), g(Z, null, ge(S(n), (a) => (f(), j(yt, {
|
|
3537
3564
|
key: a.id,
|
|
3538
3565
|
type: a.type,
|
|
3539
3566
|
title: a.title,
|
|
@@ -3546,12 +3573,12 @@ const Ht = new hi(), gi = { class: "notifications" }, bi = /* @__PURE__ */ T({
|
|
|
3546
3573
|
])
|
|
3547
3574
|
]));
|
|
3548
3575
|
}
|
|
3549
|
-
}),
|
|
3550
|
-
function
|
|
3576
|
+
}), _i = /* @__PURE__ */ B(wi, [["__scopeId", "data-v-543c499f"]]), xi = "navigationProvider";
|
|
3577
|
+
function ki(e) {
|
|
3551
3578
|
return !!e.meta && "icon" in e.meta && "label" in e.meta;
|
|
3552
3579
|
}
|
|
3553
|
-
const
|
|
3554
|
-
const e =
|
|
3580
|
+
const Vi = () => {
|
|
3581
|
+
const e = Sn(), n = Rn(), t = !0, o = E(() => {
|
|
3555
3582
|
const u = e.getRoutes();
|
|
3556
3583
|
return u.filter((d) => d.path !== "/" && !u.some((v) => v.children?.some((m) => m.name === d.name)));
|
|
3557
3584
|
}), l = E(() => {
|
|
@@ -3566,7 +3593,7 @@ const xi = () => {
|
|
|
3566
3593
|
return d ? { name: d.name } : { path: "/" };
|
|
3567
3594
|
}), s = E(() => {
|
|
3568
3595
|
let u = [];
|
|
3569
|
-
return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : a.value?.children?.length ? u = a.value.children : u = o.value, u.filter(
|
|
3596
|
+
return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : a.value?.children?.length ? u = a.value.children : u = o.value, u.filter(ki);
|
|
3570
3597
|
});
|
|
3571
3598
|
return {
|
|
3572
3599
|
hasParent: i,
|
|
@@ -3574,7 +3601,7 @@ const xi = () => {
|
|
|
3574
3601
|
childRoutes: s,
|
|
3575
3602
|
showLabels: t
|
|
3576
3603
|
};
|
|
3577
|
-
},
|
|
3604
|
+
}, zi = (e, n = !0, t = void 0) => {
|
|
3578
3605
|
const o = Cn(e) ? e : C(e), l = !!t, a = C(t || null);
|
|
3579
3606
|
return {
|
|
3580
3607
|
hasParent: l,
|
|
@@ -3586,9 +3613,9 @@ const xi = () => {
|
|
|
3586
3613
|
let Le = [];
|
|
3587
3614
|
const hn = (e) => (Le.push(e), () => {
|
|
3588
3615
|
Le = Le.filter((n) => n !== e);
|
|
3589
|
-
}),
|
|
3616
|
+
}), Ei = (e, n) => (Le = [], _t.value = e, xt.value = n ?? null, wt.value = !0, {
|
|
3590
3617
|
onClose: (t) => hn(t)
|
|
3591
|
-
}),
|
|
3618
|
+
}), Ci = (e) => {
|
|
3592
3619
|
try {
|
|
3593
3620
|
Le.forEach((n) => {
|
|
3594
3621
|
try {
|
|
@@ -3598,18 +3625,18 @@ const hn = (e) => (Le.push(e), () => {
|
|
|
3598
3625
|
}
|
|
3599
3626
|
});
|
|
3600
3627
|
} finally {
|
|
3601
|
-
wt.value = !1, setTimeout(
|
|
3628
|
+
wt.value = !1, setTimeout(Li, 1e3);
|
|
3602
3629
|
}
|
|
3603
|
-
},
|
|
3630
|
+
}, Li = () => {
|
|
3604
3631
|
Le = [], _t.value = null, xt.value = null;
|
|
3605
|
-
},
|
|
3632
|
+
}, $i = {
|
|
3606
3633
|
asideComponent: _t,
|
|
3607
3634
|
asideData: xt,
|
|
3608
|
-
showAside:
|
|
3609
|
-
closeAside:
|
|
3635
|
+
showAside: Ei,
|
|
3636
|
+
closeAside: Ci,
|
|
3610
3637
|
onAsideClose: hn,
|
|
3611
3638
|
hasAside: wt
|
|
3612
|
-
},
|
|
3639
|
+
}, Si = () => $i, Ii = (e, n) => {
|
|
3613
3640
|
let t = null;
|
|
3614
3641
|
return (...l) => {
|
|
3615
3642
|
t && clearTimeout(t), t = setTimeout(() => {
|
|
@@ -3617,7 +3644,7 @@ const hn = (e) => (Le.push(e), () => {
|
|
|
3617
3644
|
}, n);
|
|
3618
3645
|
};
|
|
3619
3646
|
};
|
|
3620
|
-
class
|
|
3647
|
+
class Ri {
|
|
3621
3648
|
containerElement = null;
|
|
3622
3649
|
apps = [];
|
|
3623
3650
|
ensureContainer() {
|
|
@@ -3659,7 +3686,7 @@ class $i {
|
|
|
3659
3686
|
});
|
|
3660
3687
|
}
|
|
3661
3688
|
});
|
|
3662
|
-
r.component("VjCard", at), r.component("VjIcon",
|
|
3689
|
+
r.component("VjCard", at), r.component("VjIcon", be), r.component("VjButton", ut), r.mount(l), this.apps.push({ app: r, element: l });
|
|
3663
3690
|
});
|
|
3664
3691
|
}
|
|
3665
3692
|
confirm(n) {
|
|
@@ -3687,11 +3714,11 @@ class $i {
|
|
|
3687
3714
|
}), this.apps = [];
|
|
3688
3715
|
}
|
|
3689
3716
|
}
|
|
3690
|
-
const
|
|
3691
|
-
function
|
|
3692
|
-
return
|
|
3717
|
+
const Ti = new Ri();
|
|
3718
|
+
function Hi() {
|
|
3719
|
+
return Ti;
|
|
3693
3720
|
}
|
|
3694
|
-
const
|
|
3721
|
+
const Ui = () => {
|
|
3695
3722
|
const e = C(!1), n = C(null), t = () => {
|
|
3696
3723
|
n.value = null;
|
|
3697
3724
|
};
|
|
@@ -3731,69 +3758,70 @@ const Ii = () => {
|
|
|
3731
3758
|
return new o(a, i);
|
|
3732
3759
|
}
|
|
3733
3760
|
return { run: l, running: e, error: n, clearError: t };
|
|
3734
|
-
},
|
|
3761
|
+
}, Wi = {
|
|
3735
3762
|
install(e) {
|
|
3736
|
-
e.component("VjButton", ut), e.component("VjButtonBar", Pn), e.component("VjCard", at), e.component("VjChip", Xt), e.component("VjChipGroup", Gt), e.component("VjChipSelector", wo), e.component("VjCarousel", at), e.component("VjCheckbox", qn), e.component("VjDotMenu", vl), e.component("VjDialog", dt), e.component("VjIcon",
|
|
3763
|
+
e.component("VjAmountBar", _a), e.component("VjButton", ut), e.component("VjButtonBar", Pn), e.component("VjCard", at), e.component("VjChip", Xt), e.component("VjChipGroup", Gt), e.component("VjChipSelector", wo), e.component("VjCarousel", at), e.component("VjCheckbox", qn), e.component("VjDotMenu", vl), e.component("VjDialog", dt), e.component("VjIcon", be), e.component("VjLinkButton", pl), e.component("VjMenu", kl), e.component("VjMenuAction", yl), e.component("VjPage", Jl), e.component("VjPaginator", ea), e.component("VjTab", ma), e.component("VjTabView", fa), e.component("VjSkeleton", ya), e.component("VjSpinner", cn), e.component("VjNotifications", _i), e.component("VjNotification", yt), e.component("VjInput", mn), e.component("VjSelect", fn), e.component("VjTextArea", vn), e.component("VjFormField", ze), e.component("VjFormLayout", Ra), e.component("VjFormSection", Oa), e.component("VjInputText", ti), e.component("VjInputTextArea", Ja), e.component("VjInputSelect", za), e.component("VjInputSlider", Xa), e.component("VjShellNavigation", pn), e.component("VjShellNavigationItem", ri), e.component("VjShell", gi), e.component("VjSearchField", la), e.component("VjSeparator", ia), e.directive("focus", Cl), e.directive("resize", Ll), e.directive("compact", Vl), e.directive("tooltip", un);
|
|
3737
3764
|
}
|
|
3738
3765
|
};
|
|
3739
3766
|
export {
|
|
3767
|
+
_a as AmountBar,
|
|
3740
3768
|
ut as Button,
|
|
3741
3769
|
Pn as ButtonBar,
|
|
3742
3770
|
at as Card,
|
|
3743
|
-
|
|
3771
|
+
Di as Carousel,
|
|
3744
3772
|
qn as Checkbox,
|
|
3745
3773
|
Xt as Chip,
|
|
3746
3774
|
Gt as ChipGroup,
|
|
3747
3775
|
wo as ChipSelector,
|
|
3748
3776
|
dt as Dialog,
|
|
3749
3777
|
vl as DotMenu,
|
|
3750
|
-
|
|
3778
|
+
Mi as EditableLabel,
|
|
3751
3779
|
Cl as FocusFirstDirective,
|
|
3752
3780
|
ze as FormField,
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3781
|
+
Ra as FormLayout,
|
|
3782
|
+
Oa as FormSection,
|
|
3783
|
+
be as Icon,
|
|
3756
3784
|
F as IconNames,
|
|
3757
|
-
|
|
3785
|
+
q as IconSize,
|
|
3758
3786
|
mn as Input,
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3787
|
+
za as InputSelect,
|
|
3788
|
+
Xa as InputSlider,
|
|
3789
|
+
ti as InputText,
|
|
3790
|
+
Ja as InputTextArea,
|
|
3763
3791
|
pl as LinkButton,
|
|
3764
3792
|
Ol as LoadingDirective,
|
|
3765
3793
|
kl as Menu,
|
|
3766
3794
|
yl as MenuAction,
|
|
3767
3795
|
yt as NotificationComponent,
|
|
3768
|
-
|
|
3796
|
+
_i as Notifications,
|
|
3769
3797
|
Jl as Page,
|
|
3770
3798
|
ea as Paginator,
|
|
3771
|
-
|
|
3799
|
+
Pi as Radio,
|
|
3772
3800
|
Ll as ResizeDirective,
|
|
3773
3801
|
la as SearchField,
|
|
3774
3802
|
fn as Select,
|
|
3775
3803
|
ia as Separator,
|
|
3776
|
-
|
|
3804
|
+
gi as Shell,
|
|
3777
3805
|
pn as ShellNavigation,
|
|
3778
|
-
|
|
3806
|
+
ri as ShellNavigationItem,
|
|
3779
3807
|
ya as Skeleton,
|
|
3780
3808
|
cn as Spinner,
|
|
3781
3809
|
ma as Tab,
|
|
3782
3810
|
fa as TabView,
|
|
3783
3811
|
vn as TextArea,
|
|
3784
3812
|
un as TooltipDirective,
|
|
3785
|
-
|
|
3786
|
-
|
|
3813
|
+
Wi as VjComponents,
|
|
3814
|
+
xi as VjNavigationProviderKey,
|
|
3787
3815
|
Vl as compactDirective,
|
|
3788
|
-
|
|
3789
|
-
|
|
3816
|
+
ji as configureVueUI,
|
|
3817
|
+
Ti as dialogService,
|
|
3790
3818
|
It as getVueUIConfig,
|
|
3791
3819
|
Ht as notificationService,
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3820
|
+
Fi as resetVueUIConfig,
|
|
3821
|
+
Si as useAsideService,
|
|
3822
|
+
Ii as useDebounce,
|
|
3823
|
+
Hi as useDialog,
|
|
3824
|
+
Ui as useFlow,
|
|
3825
|
+
Vi as useRouterNavigationProvider,
|
|
3826
|
+
zi as useStaticNavigationProvider
|
|
3799
3827
|
};
|