@vanjana/vue-ui 0.1.124 → 0.1.126
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.
|
@@ -3,13 +3,15 @@ type Props = {
|
|
|
3
3
|
icon?: string;
|
|
4
4
|
showNavigation?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare var __VLS_1: {},
|
|
6
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_12: {}, __VLS_14: {};
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
|
-
|
|
8
|
+
header?: (props: typeof __VLS_1) => any;
|
|
9
9
|
} & {
|
|
10
|
-
'
|
|
10
|
+
'header-actions'?: (props: typeof __VLS_3) => any;
|
|
11
11
|
} & {
|
|
12
|
-
|
|
12
|
+
'navigation-fixed'?: (props: typeof __VLS_12) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_14) => any;
|
|
13
15
|
};
|
|
14
16
|
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -27,6 +27,8 @@ declare const meta: {
|
|
|
27
27
|
showNavigation?: boolean;
|
|
28
28
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
29
29
|
$slots: {
|
|
30
|
+
header?: (props: {}) => any;
|
|
31
|
+
} & {
|
|
30
32
|
'header-actions'?: (props: {}) => any;
|
|
31
33
|
} & {
|
|
32
34
|
'navigation-fixed'?: (props: {}) => any;
|
|
@@ -63,6 +65,8 @@ declare const meta: {
|
|
|
63
65
|
showNavigation?: boolean;
|
|
64
66
|
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
65
67
|
$slots: {
|
|
68
|
+
header?: (props: {}) => any;
|
|
69
|
+
} & {
|
|
66
70
|
'header-actions'?: (props: {}) => any;
|
|
67
71
|
} & {
|
|
68
72
|
'navigation-fixed'?: (props: {}) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as R, computed as k, createElementBlock as g, openBlock as f, normalizeClass as I, unref as $, createBlock as P, createCommentVNode as L, resolveDynamicComponent as ut, createElementVNode as _, createVNode as T, toDisplayString as O, Transition as Le, withCtx as N, renderSlot as
|
|
1
|
+
import { defineComponent as R, computed as k, createElementBlock as g, openBlock as f, normalizeClass as I, unref as $, createBlock as P, createCommentVNode as L, resolveDynamicComponent as ut, createElementVNode as _, createVNode as T, toDisplayString as O, Transition as Le, withCtx as N, renderSlot as j, createTextVNode as Ue, useSlots as Kt, ref as E, onMounted as Re, nextTick as he, onBeforeUnmount as Ae, watch as K, resolveComponent as q, normalizeStyle as G, Fragment as Q, renderList as pe, mergeModels as Y, useModel as se, withModifiers as U, provide as Xt, Teleport as Me, createSlots as dt, mergeProps as wn, shallowRef as _n, getCurrentScope as xn, onScopeDispose as kn, shallowReadonly as Ce, render as Rt, resolveDirective as qt, withDirectives as ft, withKeys as Be, inject as vt, onUnmounted as Cn, vModelText as Vn, toRef as lt, normalizeProps as En, guardReactiveProps as $n, TransitionGroup as Ln, isRef as Sn, createApp as Tn, h as Rn } from "vue";
|
|
2
2
|
import { useRouter as An, useRoute as On } from "vue-router";
|
|
3
3
|
var z = /* @__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))(z || {}), X = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(X || {});
|
|
4
4
|
class Dn {
|
|
@@ -126,7 +126,7 @@ const at = new Dn(), Bn = /* @__PURE__ */ R({
|
|
|
126
126
|
default: N(() => [
|
|
127
127
|
e.expanded ? (f(), g("div", Pn, [
|
|
128
128
|
_("div", Fn, [
|
|
129
|
-
|
|
129
|
+
j(c.$slots, "default", {}, void 0, !0)
|
|
130
130
|
])
|
|
131
131
|
])) : L("", !0)
|
|
132
132
|
]),
|
|
@@ -138,10 +138,10 @@ const at = new Dn(), Bn = /* @__PURE__ */ R({
|
|
|
138
138
|
function Kn(e, n) {
|
|
139
139
|
return f(), g("div", Wn, [
|
|
140
140
|
_("div", Un, [
|
|
141
|
-
|
|
141
|
+
j(e.$slots, "left", {}, void 0, !0)
|
|
142
142
|
]),
|
|
143
143
|
_("div", Nn, [
|
|
144
|
-
|
|
144
|
+
j(e.$slots, "default", {}, void 0, !0)
|
|
145
145
|
])
|
|
146
146
|
]);
|
|
147
147
|
}
|
|
@@ -184,18 +184,18 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
184
184
|
class: I(["card", { scrollable: e.scrollable }])
|
|
185
185
|
}, [
|
|
186
186
|
_("header", null, [
|
|
187
|
-
|
|
187
|
+
j(t.$slots, "header", {}, () => [
|
|
188
188
|
_("h3", null, O(e.header), 1),
|
|
189
189
|
$(n).headerActions ? (f(), g("span", Yn, [
|
|
190
|
-
|
|
190
|
+
j(t.$slots, "headerActions", {}, void 0, !0)
|
|
191
191
|
])) : L("", !0)
|
|
192
192
|
], !0)
|
|
193
193
|
]),
|
|
194
194
|
_("main", null, [
|
|
195
|
-
|
|
195
|
+
j(t.$slots, "default", {}, void 0, !0)
|
|
196
196
|
]),
|
|
197
197
|
$(n).footer ? (f(), g("footer", Jn, [
|
|
198
|
-
|
|
198
|
+
j(t.$slots, "footer", {}, void 0, !0)
|
|
199
199
|
])) : L("", !0)
|
|
200
200
|
], 2));
|
|
201
201
|
}
|
|
@@ -219,7 +219,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
219
219
|
let m = null, b = null;
|
|
220
220
|
const x = E(null), w = E(null), S = () => {
|
|
221
221
|
h.value = r.value ? r.value.children.length : 0, h.value === 0 ? s.value = 0 : s.value >= h.value && (s.value = l ? 0 : h.value - 1), H();
|
|
222
|
-
},
|
|
222
|
+
}, M = k(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + v.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), H = () => {
|
|
223
223
|
r.value && Array.from(r.value.children).forEach((B, ye) => {
|
|
224
224
|
try {
|
|
225
225
|
ye === s.value ? B.removeAttribute("aria-hidden") : B.setAttribute("aria-hidden", "true");
|
|
@@ -320,9 +320,9 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
320
320
|
class: "carousel-track",
|
|
321
321
|
ref_key: "track",
|
|
322
322
|
ref: r,
|
|
323
|
-
style: G(
|
|
323
|
+
style: G(M.value)
|
|
324
324
|
}, [
|
|
325
|
-
|
|
325
|
+
j(B.$slots, "default", {}, void 0, !0)
|
|
326
326
|
], 4)
|
|
327
327
|
], 512),
|
|
328
328
|
T(we, {
|
|
@@ -647,7 +647,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
647
647
|
onClose: a,
|
|
648
648
|
onConfirm: c,
|
|
649
649
|
onResolve: i
|
|
650
|
-
}), null, 16)) : e.message ? (f(), g("div", ko, O(e.message), 1)) :
|
|
650
|
+
}), null, 16)) : e.message ? (f(), g("div", ko, O(e.message), 1)) : j(d.$slots, "default", { key: 2 }, void 0, !0)
|
|
651
651
|
])
|
|
652
652
|
]),
|
|
653
653
|
_: 2
|
|
@@ -656,7 +656,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
656
656
|
name: "footer",
|
|
657
657
|
fn: N(() => [
|
|
658
658
|
_("div", Co, [
|
|
659
|
-
|
|
659
|
+
j(d.$slots, "footer", {}, () => [
|
|
660
660
|
e.showCancel ? (f(), P(h, {
|
|
661
661
|
key: 0,
|
|
662
662
|
secondary: "",
|
|
@@ -930,7 +930,7 @@ const Wo = async (e, n, t) => {
|
|
|
930
930
|
x,
|
|
931
931
|
y: w,
|
|
932
932
|
data: S,
|
|
933
|
-
reset:
|
|
933
|
+
reset: M
|
|
934
934
|
} = await b({
|
|
935
935
|
x: u,
|
|
936
936
|
y: d,
|
|
@@ -951,11 +951,11 @@ const Wo = async (e, n, t) => {
|
|
|
951
951
|
...p[m],
|
|
952
952
|
...S
|
|
953
953
|
}
|
|
954
|
-
},
|
|
954
|
+
}, M && h <= 50 && (h++, typeof M == "object" && (M.placement && (v = M.placement), M.rects && (r = M.rects === !0 ? await i.getElementRects({
|
|
955
955
|
reference: e,
|
|
956
956
|
floating: n,
|
|
957
957
|
strategy: l
|
|
958
|
-
}) :
|
|
958
|
+
}) : M.rects), {
|
|
959
959
|
x: u,
|
|
960
960
|
y: d
|
|
961
961
|
} = Bt(r, v, s)), y = -1);
|
|
@@ -1000,17 +1000,17 @@ async function pt(e, n) {
|
|
|
1000
1000
|
} : {
|
|
1001
1001
|
x: 1,
|
|
1002
1002
|
y: 1
|
|
1003
|
-
},
|
|
1003
|
+
}, M = Xe(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1004
1004
|
elements: c,
|
|
1005
1005
|
rect: x,
|
|
1006
1006
|
offsetParent: w,
|
|
1007
1007
|
strategy: s
|
|
1008
1008
|
}) : x);
|
|
1009
1009
|
return {
|
|
1010
|
-
top: (b.top -
|
|
1011
|
-
bottom: (
|
|
1012
|
-
left: (b.left -
|
|
1013
|
-
right: (
|
|
1010
|
+
top: (b.top - M.top + h.top) / S.y,
|
|
1011
|
+
bottom: (M.bottom - b.bottom + h.bottom) / S.y,
|
|
1012
|
+
left: (b.left - M.left + h.left) / S.x,
|
|
1013
|
+
right: (M.right - b.right + h.right) / S.x
|
|
1014
1014
|
};
|
|
1015
1015
|
}
|
|
1016
1016
|
const Uo = function(e) {
|
|
@@ -1037,9 +1037,9 @@ const Uo = function(e) {
|
|
|
1037
1037
|
} = Pe(e, n);
|
|
1038
1038
|
if ((t = a.arrow) != null && t.alignmentOffset)
|
|
1039
1039
|
return {};
|
|
1040
|
-
const b = ge(l), x = me(c), w = ge(c) === c, S = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)),
|
|
1041
|
-
!v && H &&
|
|
1042
|
-
const C = [c, ...
|
|
1040
|
+
const b = ge(l), x = me(c), w = ge(c) === c, S = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), M = v || (w || !y ? [Ke(c)] : jo(c)), H = h !== "none";
|
|
1041
|
+
!v && H && M.push(...zo(c, y, h, S));
|
|
1042
|
+
const C = [c, ...M], V = await pt(n, m), D = [];
|
|
1043
1043
|
let F = ((o = a.flip) == null ? void 0 : o.overflows) || [];
|
|
1044
1044
|
if (u && D.push(V[b]), d) {
|
|
1045
1045
|
const ve = Bo(l, i, S);
|
|
@@ -1221,8 +1221,8 @@ const Xo = function(e) {
|
|
|
1221
1221
|
} = a.floating;
|
|
1222
1222
|
let m, b;
|
|
1223
1223
|
d === "top" || d === "bottom" ? (m = d, b = v === (await (i.isRTL == null ? void 0 : i.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (b = d, m = v === "end" ? "top" : "bottom");
|
|
1224
|
-
const x = y - u.top - u.bottom, w = h - u.left - u.right, S = Se(y - u[m], x),
|
|
1225
|
-
let C = S, V =
|
|
1224
|
+
const x = y - u.top - u.bottom, w = h - u.left - u.right, S = Se(y - u[m], x), M = Se(h - u[b], w), H = !n.middlewareData.shift;
|
|
1225
|
+
let C = S, V = M;
|
|
1226
1226
|
if ((t = n.middlewareData.shift) != null && t.enabled.x && (V = w), (o = n.middlewareData.shift) != null && o.enabled.y && (C = x), H && !v) {
|
|
1227
1227
|
const F = Z(u.left, 0), W = Z(u.right, 0), ne = Z(u.top, 0), fe = Z(u.bottom, 0);
|
|
1228
1228
|
p ? V = h - 2 * (F !== 0 || W !== 0 ? F + W : Z(u.left, u.right)) : C = y - 2 * (ne !== 0 || fe !== 0 ? ne + fe : Z(u.top, u.bottom));
|
|
@@ -1668,7 +1668,7 @@ function wl(e, n) {
|
|
|
1668
1668
|
threshold: Z(0, Se(1, s)) || 1
|
|
1669
1669
|
};
|
|
1670
1670
|
let S = !0;
|
|
1671
|
-
function
|
|
1671
|
+
function M(H) {
|
|
1672
1672
|
const C = H[0].intersectionRatio;
|
|
1673
1673
|
if (C !== s) {
|
|
1674
1674
|
if (!S)
|
|
@@ -1680,13 +1680,13 @@ function wl(e, n) {
|
|
|
1680
1680
|
C === 1 && !rn(r, e.getBoundingClientRect()) && i(), S = !1;
|
|
1681
1681
|
}
|
|
1682
1682
|
try {
|
|
1683
|
-
t = new IntersectionObserver(
|
|
1683
|
+
t = new IntersectionObserver(M, {
|
|
1684
1684
|
...w,
|
|
1685
1685
|
// Handle <iframe>s
|
|
1686
1686
|
root: l.ownerDocument
|
|
1687
1687
|
});
|
|
1688
1688
|
} catch {
|
|
1689
|
-
t = new IntersectionObserver(
|
|
1689
|
+
t = new IntersectionObserver(M, w);
|
|
1690
1690
|
}
|
|
1691
1691
|
t.observe(e);
|
|
1692
1692
|
}
|
|
@@ -1812,7 +1812,7 @@ function wt(e, n, t) {
|
|
|
1812
1812
|
function S() {
|
|
1813
1813
|
typeof x == "function" && (x(), x = void 0);
|
|
1814
1814
|
}
|
|
1815
|
-
function
|
|
1815
|
+
function M() {
|
|
1816
1816
|
if (S(), o === void 0) {
|
|
1817
1817
|
w();
|
|
1818
1818
|
return;
|
|
@@ -1827,7 +1827,7 @@ function wt(e, n, t) {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
return K([a, i, c, l], w, {
|
|
1829
1829
|
flush: "sync"
|
|
1830
|
-
}), K([r, u],
|
|
1830
|
+
}), K([r, u], M, {
|
|
1831
1831
|
flush: "sync"
|
|
1832
1832
|
}), K(l, H, {
|
|
1833
1833
|
flush: "sync"
|
|
@@ -1887,7 +1887,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1887
1887
|
onClickCapture: r
|
|
1888
1888
|
}, {
|
|
1889
1889
|
default: N(() => [
|
|
1890
|
-
|
|
1890
|
+
j(u.$slots, "default", {}, void 0, !0)
|
|
1891
1891
|
]),
|
|
1892
1892
|
_: 3
|
|
1893
1893
|
}, 8, ["style"])) : L("", !0)
|
|
@@ -1963,7 +1963,7 @@ const kl = /* @__PURE__ */ R({
|
|
|
1963
1963
|
}), Tl = /* @__PURE__ */ A(Sl, [["__scopeId", "data-v-07850995"]]), Rl = {}, Al = { class: "menu" };
|
|
1964
1964
|
function Ol(e, n) {
|
|
1965
1965
|
return f(), g("div", Al, [
|
|
1966
|
-
|
|
1966
|
+
j(e.$slots, "default", {}, void 0, !0)
|
|
1967
1967
|
]);
|
|
1968
1968
|
}
|
|
1969
1969
|
const Dl = /* @__PURE__ */ A(Rl, [["render", Ol], ["__scopeId", "data-v-259fec08"]]), Bl = {
|
|
@@ -2241,7 +2241,7 @@ const vn = {
|
|
|
2241
2241
|
onClick: a
|
|
2242
2242
|
}, [
|
|
2243
2243
|
_("div", Kl, [
|
|
2244
|
-
|
|
2244
|
+
j(i.$slots, "default", {}, () => [
|
|
2245
2245
|
_("div", Xl, [
|
|
2246
2246
|
T(te, { icon: l.value }, null, 8, ["icon"])
|
|
2247
2247
|
]),
|
|
@@ -2303,14 +2303,14 @@ const vn = {
|
|
|
2303
2303
|
])
|
|
2304
2304
|
]),
|
|
2305
2305
|
_("div", oa, [
|
|
2306
|
-
|
|
2306
|
+
j(i.$slots, "headerActions", {}, void 0, !0)
|
|
2307
2307
|
])
|
|
2308
2308
|
]),
|
|
2309
2309
|
_("main", {
|
|
2310
2310
|
class: I({ scrollable: e.scrollable })
|
|
2311
2311
|
}, [
|
|
2312
2312
|
a.value ? (f(), g("div", la, [
|
|
2313
|
-
|
|
2313
|
+
j(i.$slots, "error", {}, () => [
|
|
2314
2314
|
T(xt, {
|
|
2315
2315
|
type: "error",
|
|
2316
2316
|
title: a.value,
|
|
@@ -2319,17 +2319,17 @@ const vn = {
|
|
|
2319
2319
|
], !0)
|
|
2320
2320
|
])) : L("", !0),
|
|
2321
2321
|
a.value ? L("", !0) : (f(), g("div", aa, [
|
|
2322
|
-
|
|
2322
|
+
j(i.$slots, "default", {}, void 0, !0)
|
|
2323
2323
|
])),
|
|
2324
2324
|
a.value ? L("", !0) : (f(), g("div", ia, [
|
|
2325
|
-
|
|
2325
|
+
j(i.$slots, "actions", {}, void 0, !0)
|
|
2326
2326
|
])),
|
|
2327
2327
|
i.$slots.flexFooter ? (f(), g("footer", sa, [
|
|
2328
|
-
|
|
2328
|
+
j(i.$slots, "flexFooter", {}, void 0, !0)
|
|
2329
2329
|
])) : L("", !0)
|
|
2330
2330
|
], 2),
|
|
2331
2331
|
i.$slots.footer ? (f(), g("footer", ra, [
|
|
2332
|
-
|
|
2332
|
+
j(i.$slots, "footer", {}, void 0, !0)
|
|
2333
2333
|
])) : L("", !0)
|
|
2334
2334
|
])), [
|
|
2335
2335
|
[r, { active: o.value, text: t.loadingMessage }]
|
|
@@ -2381,7 +2381,7 @@ const vn = {
|
|
|
2381
2381
|
onClick: h,
|
|
2382
2382
|
"aria-label": "Previous page"
|
|
2383
2383
|
}, null, 8, ["icon", "disabled"]),
|
|
2384
|
-
|
|
2384
|
+
j(b.$slots, "info", {
|
|
2385
2385
|
current: i.value,
|
|
2386
2386
|
totalPages: a.value,
|
|
2387
2387
|
goTo: v
|
|
@@ -2468,7 +2468,7 @@ const vn = {
|
|
|
2468
2468
|
return Re(() => {
|
|
2469
2469
|
t?.registerTab(n.name, n.label);
|
|
2470
2470
|
}), (l, a) => o.value ? (f(), g("div", wa, [
|
|
2471
|
-
|
|
2471
|
+
j(l.$slots, "default")
|
|
2472
2472
|
])) : L("", !0);
|
|
2473
2473
|
}
|
|
2474
2474
|
}), xa = { class: "tab-view" }, ka = {
|
|
@@ -2526,7 +2526,7 @@ const vn = {
|
|
|
2526
2526
|
}, null, 4)
|
|
2527
2527
|
], 512),
|
|
2528
2528
|
_("div", Va, [
|
|
2529
|
-
|
|
2529
|
+
j(r.$slots, "default", {}, void 0, !0)
|
|
2530
2530
|
])
|
|
2531
2531
|
]));
|
|
2532
2532
|
}
|
|
@@ -2570,9 +2570,9 @@ const vn = {
|
|
|
2570
2570
|
if (!p || d.value) return;
|
|
2571
2571
|
h = performance.now() - p;
|
|
2572
2572
|
const W = Math.max(0, o.duration - h), ne = W / o.duration * 100;
|
|
2573
|
-
r.value = ne, W > 0 ? v = requestAnimationFrame(S) :
|
|
2573
|
+
r.value = ne, W > 0 ? v = requestAnimationFrame(S) : M();
|
|
2574
2574
|
}
|
|
2575
|
-
async function
|
|
2575
|
+
async function M() {
|
|
2576
2576
|
if (!o.action) {
|
|
2577
2577
|
H();
|
|
2578
2578
|
return;
|
|
@@ -2986,7 +2986,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
2986
2986
|
class: "form-field__label-outline"
|
|
2987
2987
|
}, O(e.label), 9, ti)) : L("", !0),
|
|
2988
2988
|
_("div", ni, [
|
|
2989
|
-
|
|
2989
|
+
j(h.$slots, "control", {
|
|
2990
2990
|
id: i.value,
|
|
2991
2991
|
value: l.value,
|
|
2992
2992
|
onInput: d,
|
|
@@ -3046,7 +3046,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3046
3046
|
class: "form-layout",
|
|
3047
3047
|
style: G({ gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`, gap: e.gap })
|
|
3048
3048
|
}, [
|
|
3049
|
-
|
|
3049
|
+
j(a.$slots, "default", {}, void 0, !0)
|
|
3050
3050
|
], 4));
|
|
3051
3051
|
}
|
|
3052
3052
|
}), ri = /* @__PURE__ */ A(si, [["__scopeId", "data-v-96f62ab7"]]), ci = {
|
|
@@ -3061,7 +3061,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3061
3061
|
setup(e) {
|
|
3062
3062
|
return (n, t) => (f(), g(Q, null, [
|
|
3063
3063
|
e.title ? (f(), g("h3", ci, O(e.title), 1)) : L("", !0),
|
|
3064
|
-
|
|
3064
|
+
j(n.$slots, "default", {}, void 0, !0)
|
|
3065
3065
|
], 64));
|
|
3066
3066
|
}
|
|
3067
3067
|
}), di = /* @__PURE__ */ A(ui, [["__scopeId", "data-v-69cff1d0"]]), fi = ["id", "disabled"], vi = { class: "select-value" }, mi = {
|
|
@@ -3121,7 +3121,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3121
3121
|
focus: () => c.value?.focus(),
|
|
3122
3122
|
blur: () => c.value?.blur()
|
|
3123
3123
|
}), (w, S) => {
|
|
3124
|
-
const
|
|
3124
|
+
const M = q("VjIcon");
|
|
3125
3125
|
return f(), g(Q, null, [
|
|
3126
3126
|
_("div", {
|
|
3127
3127
|
ref_key: "selectRef",
|
|
@@ -3137,28 +3137,28 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3137
3137
|
onClick: h,
|
|
3138
3138
|
disabled: e.disabled
|
|
3139
3139
|
}, [
|
|
3140
|
-
t.icon ? (f(), P(
|
|
3140
|
+
t.icon ? (f(), P(M, {
|
|
3141
3141
|
key: 0,
|
|
3142
3142
|
icon: t.icon,
|
|
3143
3143
|
size: $(X).S,
|
|
3144
3144
|
class: "select-icon-left"
|
|
3145
3145
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
3146
3146
|
_("span", vi, [
|
|
3147
|
-
v.value ?
|
|
3147
|
+
v.value ? j(w.$slots, "selected", {
|
|
3148
3148
|
key: 0,
|
|
3149
3149
|
option: v.value
|
|
3150
3150
|
}, () => [
|
|
3151
3151
|
Ue(O(u(v.value)), 1)
|
|
3152
3152
|
], !0) : (f(), g("span", mi, O(e.placeholder), 1))
|
|
3153
3153
|
]),
|
|
3154
|
-
t.clearable && v.value && !e.disabled ? (f(), P(
|
|
3154
|
+
t.clearable && v.value && !e.disabled ? (f(), P(M, {
|
|
3155
3155
|
key: 1,
|
|
3156
3156
|
icon: $(z).CLOSE,
|
|
3157
3157
|
size: $(X).S,
|
|
3158
3158
|
class: "select-clear-icon",
|
|
3159
3159
|
onClick: U(b, ["stop"])
|
|
3160
3160
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
3161
|
-
T(
|
|
3161
|
+
T(M, {
|
|
3162
3162
|
icon: $(z).CHEVRON_DOWN,
|
|
3163
3163
|
size: $(X).S,
|
|
3164
3164
|
class: I(["select-icon-right", { open: l.value }])
|
|
@@ -3182,7 +3182,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3182
3182
|
onClick: (V) => m(H),
|
|
3183
3183
|
onMouseenter: (V) => a.value = C
|
|
3184
3184
|
}, [
|
|
3185
|
-
|
|
3185
|
+
j(w.$slots, "option", {
|
|
3186
3186
|
option: H,
|
|
3187
3187
|
selected: p(H)
|
|
3188
3188
|
}, () => [
|
|
@@ -3265,14 +3265,14 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3265
3265
|
i.$slots.selected ? {
|
|
3266
3266
|
name: "selected",
|
|
3267
3267
|
fn: N(({ option: d }) => [
|
|
3268
|
-
|
|
3268
|
+
j(i.$slots, "selected", { option: d })
|
|
3269
3269
|
]),
|
|
3270
3270
|
key: "0"
|
|
3271
3271
|
} : void 0,
|
|
3272
3272
|
i.$slots.option ? {
|
|
3273
3273
|
name: "option",
|
|
3274
3274
|
fn: N(({ option: d }) => [
|
|
3275
|
-
|
|
3275
|
+
j(i.$slots, "option", { option: d })
|
|
3276
3276
|
]),
|
|
3277
3277
|
key: "1"
|
|
3278
3278
|
} : void 0
|
|
@@ -3321,7 +3321,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3321
3321
|
C.target.releasePointerCapture(C.pointerId);
|
|
3322
3322
|
} catch {
|
|
3323
3323
|
}
|
|
3324
|
-
h = null, y = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", x), window.removeEventListener("pointerup", b),
|
|
3324
|
+
h = null, y = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", x), window.removeEventListener("pointerup", b), M();
|
|
3325
3325
|
}, x = (C) => {
|
|
3326
3326
|
if (!h || !l.value) return;
|
|
3327
3327
|
const V = l.value.getBoundingClientRect(), D = c(C.clientX - V.left, 0, V.width), F = t.min + D / V.width * (t.max - t.min), W = Math.round(F / t.step) * t.step;
|
|
@@ -3334,7 +3334,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3334
3334
|
ne <= fe ? s.value = Math.min(W, r.value) : r.value = Math.max(W, s.value);
|
|
3335
3335
|
} else
|
|
3336
3336
|
s.value = c(W, t.min, t.max);
|
|
3337
|
-
|
|
3337
|
+
M();
|
|
3338
3338
|
}, S = (C, V) => {
|
|
3339
3339
|
const D = t.step, F = V.key === "ArrowLeft" || V.key === "ArrowDown" ? -1 : V.key === "ArrowRight" || V.key === "ArrowUp" ? 1 : 0;
|
|
3340
3340
|
if (F) {
|
|
@@ -3345,9 +3345,9 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3345
3345
|
const W = c(r.value + F * D, t.range ? s.value : t.max, t.max);
|
|
3346
3346
|
r.value = W, i.value = !0, setTimeout(() => i.value = !1, 800);
|
|
3347
3347
|
}
|
|
3348
|
-
|
|
3348
|
+
M();
|
|
3349
3349
|
}
|
|
3350
|
-
},
|
|
3350
|
+
}, M = () => {
|
|
3351
3351
|
t.range ? (o("update:modelValue", [s.value, r.value]), o("change", [s.value, r.value])) : (o("update:modelValue", s.value), o("change", s.value));
|
|
3352
3352
|
};
|
|
3353
3353
|
Ae(() => {
|
|
@@ -3786,7 +3786,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3786
3786
|
onClick: U(r, ["stop"])
|
|
3787
3787
|
}, {
|
|
3788
3788
|
default: N(() => [
|
|
3789
|
-
|
|
3789
|
+
j(v.$slots, "default", {}, void 0, !0)
|
|
3790
3790
|
]),
|
|
3791
3791
|
_: 3
|
|
3792
3792
|
}, 8, ["style"])) : L("", !0)
|
|
@@ -3831,7 +3831,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3831
3831
|
}, null, 8, ["to", "label", "icon"]))), 128))
|
|
3832
3832
|
]),
|
|
3833
3833
|
o.$slots.fixed ? (f(), g("ul", Hi, [
|
|
3834
|
-
|
|
3834
|
+
j(o.$slots, "fixed", {}, void 0, !0)
|
|
3835
3835
|
])) : L("", !0)
|
|
3836
3836
|
], 2);
|
|
3837
3837
|
};
|
|
@@ -3852,17 +3852,19 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3852
3852
|
const s = q("router-view");
|
|
3853
3853
|
return f(), g("div", Ui, [
|
|
3854
3854
|
_("header", null, [
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3855
|
+
j(i.$slots, "header", {}, () => [
|
|
3856
|
+
_("span", Ni, [
|
|
3857
|
+
e.icon ? (f(), g("img", {
|
|
3858
|
+
key: 0,
|
|
3859
|
+
src: e.icon,
|
|
3860
|
+
alt: "Shell Icon"
|
|
3861
|
+
}, null, 8, Ki)) : L("", !0),
|
|
3862
|
+
_("h1", null, O(e.title), 1)
|
|
3863
|
+
]),
|
|
3864
|
+
_("div", Xi, [
|
|
3865
|
+
j(i.$slots, "header-actions", {}, void 0, !0)
|
|
3866
|
+
])
|
|
3867
|
+
], !0)
|
|
3866
3868
|
]),
|
|
3867
3869
|
_("div", {
|
|
3868
3870
|
class: I(["shell-content", { "with-navigation": e.showNavigation }])
|
|
@@ -3871,13 +3873,13 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3871
3873
|
i.$slots?.["navigation-fixed"] ? {
|
|
3872
3874
|
name: "fixed",
|
|
3873
3875
|
fn: N(() => [
|
|
3874
|
-
|
|
3876
|
+
j(i.$slots, "navigation-fixed", {}, void 0, !0)
|
|
3875
3877
|
]),
|
|
3876
3878
|
key: "0"
|
|
3877
3879
|
} : void 0
|
|
3878
3880
|
]), 1024)) : L("", !0),
|
|
3879
3881
|
_("main", null, [
|
|
3880
|
-
|
|
3882
|
+
j(i.$slots, "default", {}, () => [
|
|
3881
3883
|
T(s)
|
|
3882
3884
|
], !0)
|
|
3883
3885
|
]),
|
|
@@ -3891,7 +3893,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3891
3893
|
]);
|
|
3892
3894
|
};
|
|
3893
3895
|
}
|
|
3894
|
-
}), Gi = /* @__PURE__ */ A(qi, [["__scopeId", "data-v-
|
|
3896
|
+
}), Gi = /* @__PURE__ */ A(qi, [["__scopeId", "data-v-6a20620c"]]);
|
|
3895
3897
|
class Yi {
|
|
3896
3898
|
notifications = E([]);
|
|
3897
3899
|
notificationIdCounter = 0;
|