@vanjana/vue-ui 0.1.128 → 0.1.129
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/theme-light.css +1 -1
- package/dist/types/components/page.vue.d.ts +1 -1
- package/dist/types/components/step-flow.vue.d.ts +16 -0
- package/dist/types/stories/components/page.stories.d.ts +7 -6
- package/dist/types/stories/components/step-flow.stories.d.ts +31 -0
- package/dist/vanjana-vue-ui.es.js +175 -172
- package/dist/vanjana-vue-ui.umd.js +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
- package/themes/common/_mixins.scss +4 -1
- package/themes/common/components/_page.scss +16 -5
|
@@ -345,7 +345,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
345
345
|
(f(!0), g(Q, null, pe(h.value, (Oe) => (f(), P(we, {
|
|
346
346
|
key: Oe - 1,
|
|
347
347
|
class: I(["indicator", { active: Oe - 1 === r.value }]),
|
|
348
|
-
onClick: (
|
|
348
|
+
onClick: (ds) => W(Oe - 1),
|
|
349
349
|
"aria-current": Oe - 1 === r.value,
|
|
350
350
|
"aria-label": `Go to slide ${Oe}`,
|
|
351
351
|
type: "button"
|
|
@@ -354,7 +354,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
354
354
|
], 40, Zn);
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
}),
|
|
357
|
+
}), ms = /* @__PURE__ */ A(to, [["__scopeId", "data-v-232abca2"]]), no = { class: "checkbox" }, oo = ["checked", "disabled"], lo = {
|
|
358
358
|
key: 0,
|
|
359
359
|
class: "checkbox-label"
|
|
360
360
|
}, ao = /* @__PURE__ */ R({
|
|
@@ -435,7 +435,7 @@ const Xn = /* @__PURE__ */ A(Hn, [["render", Kn], ["__scopeId", "data-v-45a6ed1a
|
|
|
435
435
|
e.label ? (f(), g("span", co, O(e.label), 1)) : L("", !0)
|
|
436
436
|
]));
|
|
437
437
|
}
|
|
438
|
-
}),
|
|
438
|
+
}), ps = /* @__PURE__ */ A(uo, [["__scopeId", "data-v-f9e4bb65"]]), fo = { class: "chip__label" }, vo = /* @__PURE__ */ R({
|
|
439
439
|
__name: "chip",
|
|
440
440
|
props: /* @__PURE__ */ G({
|
|
441
441
|
label: {},
|
|
@@ -2263,16 +2263,19 @@ const vn = {
|
|
|
2263
2263
|
])
|
|
2264
2264
|
], 2));
|
|
2265
2265
|
}
|
|
2266
|
-
}), xt = /* @__PURE__ */ A(Ql, [["__scopeId", "data-v-f9ee0c98"]]), Zl = { class: "page" }, ea = {
|
|
2266
|
+
}), xt = /* @__PURE__ */ A(Ql, [["__scopeId", "data-v-f9ee0c98"]]), Zl = { class: "page" }, ea = {
|
|
2267
|
+
key: 0,
|
|
2268
|
+
class: "page-header"
|
|
2269
|
+
}, ta = { class: "header-left" }, na = { class: "header-titles" }, oa = { key: 0 }, la = { class: "header-actions" }, aa = {
|
|
2267
2270
|
key: 0,
|
|
2268
2271
|
class: "page-error"
|
|
2269
|
-
},
|
|
2272
|
+
}, ia = {
|
|
2270
2273
|
key: 1,
|
|
2271
2274
|
class: "contents"
|
|
2272
|
-
},
|
|
2275
|
+
}, sa = {
|
|
2273
2276
|
key: 2,
|
|
2274
2277
|
class: "actions"
|
|
2275
|
-
},
|
|
2278
|
+
}, ra = { key: 3 }, ca = { key: 1 }, ua = /* @__PURE__ */ R({
|
|
2276
2279
|
directives: { loading: Ul },
|
|
2277
2280
|
__name: "page",
|
|
2278
2281
|
props: {
|
|
@@ -2290,8 +2293,8 @@ const vn = {
|
|
|
2290
2293
|
return (a, c) => {
|
|
2291
2294
|
const r = q("VjButton"), s = qt("loading");
|
|
2292
2295
|
return ft((f(), g("div", Zl, [
|
|
2293
|
-
|
|
2294
|
-
_("div",
|
|
2296
|
+
e.title || e.subTitle || e.backLabel || a.$slots.headerActions ? (f(), g("header", ea, [
|
|
2297
|
+
_("div", ta, [
|
|
2295
2298
|
e.backLabel ? (f(), P(r, {
|
|
2296
2299
|
key: 0,
|
|
2297
2300
|
tertiary: "",
|
|
@@ -2299,19 +2302,19 @@ const vn = {
|
|
|
2299
2302
|
onClick: c[0] || (c[0] = (u) => a.$emit("back")),
|
|
2300
2303
|
size: "small"
|
|
2301
2304
|
}, null, 8, ["icon"])) : L("", !0),
|
|
2302
|
-
_("div",
|
|
2305
|
+
_("div", na, [
|
|
2303
2306
|
_("h1", null, O(e.title), 1),
|
|
2304
|
-
e.subTitle ? (f(), g("h2",
|
|
2307
|
+
e.subTitle ? (f(), g("h2", oa, O(e.subTitle), 1)) : L("", !0)
|
|
2305
2308
|
])
|
|
2306
2309
|
]),
|
|
2307
|
-
_("div",
|
|
2310
|
+
_("div", la, [
|
|
2308
2311
|
M(a.$slots, "headerActions", {}, void 0, !0)
|
|
2309
2312
|
])
|
|
2310
|
-
]),
|
|
2313
|
+
])) : L("", !0),
|
|
2311
2314
|
_("main", {
|
|
2312
2315
|
class: I({ scrollable: e.scrollable })
|
|
2313
2316
|
}, [
|
|
2314
|
-
i.value ? (f(), g("div",
|
|
2317
|
+
i.value ? (f(), g("div", aa, [
|
|
2315
2318
|
M(a.$slots, "error", {}, () => [
|
|
2316
2319
|
T(xt, {
|
|
2317
2320
|
type: "error",
|
|
@@ -2320,17 +2323,17 @@ const vn = {
|
|
|
2320
2323
|
}, null, 8, ["title", "message"])
|
|
2321
2324
|
], !0)
|
|
2322
2325
|
])) : L("", !0),
|
|
2323
|
-
i.value ? L("", !0) : (f(), g("div",
|
|
2326
|
+
i.value ? L("", !0) : (f(), g("div", ia, [
|
|
2324
2327
|
M(a.$slots, "default", {}, void 0, !0)
|
|
2325
2328
|
])),
|
|
2326
|
-
i.value ? L("", !0) : (f(), g("div",
|
|
2329
|
+
i.value ? L("", !0) : (f(), g("div", sa, [
|
|
2327
2330
|
M(a.$slots, "actions", {}, void 0, !0)
|
|
2328
2331
|
])),
|
|
2329
|
-
a.$slots.flexFooter ? (f(), g("footer",
|
|
2332
|
+
a.$slots.flexFooter ? (f(), g("footer", ra, [
|
|
2330
2333
|
M(a.$slots, "flexFooter", {}, void 0, !0)
|
|
2331
2334
|
])) : L("", !0)
|
|
2332
2335
|
], 2),
|
|
2333
|
-
a.$slots.footer ? (f(), g("footer",
|
|
2336
|
+
a.$slots.footer ? (f(), g("footer", ca, [
|
|
2334
2337
|
M(a.$slots, "footer", {}, void 0, !0)
|
|
2335
2338
|
])) : L("", !0)
|
|
2336
2339
|
])), [
|
|
@@ -2338,10 +2341,10 @@ const vn = {
|
|
|
2338
2341
|
]);
|
|
2339
2342
|
};
|
|
2340
2343
|
}
|
|
2341
|
-
}),
|
|
2344
|
+
}), da = /* @__PURE__ */ A(ua, [["__scopeId", "data-v-1f4253d2"]]), fa = {
|
|
2342
2345
|
class: "paginator-info",
|
|
2343
2346
|
"aria-live": "polite"
|
|
2344
|
-
},
|
|
2347
|
+
}, va = /* @__PURE__ */ R({
|
|
2345
2348
|
__name: "paginator",
|
|
2346
2349
|
props: /* @__PURE__ */ G({
|
|
2347
2350
|
totalItems: {},
|
|
@@ -2388,7 +2391,7 @@ const vn = {
|
|
|
2388
2391
|
totalPages: i.value,
|
|
2389
2392
|
goTo: v
|
|
2390
2393
|
}, () => [
|
|
2391
|
-
_("div",
|
|
2394
|
+
_("div", fa, O(u.value) + " " + O(c.value) + " " + O(d.value) + " " + O(i.value), 1)
|
|
2392
2395
|
], !0),
|
|
2393
2396
|
T(w, {
|
|
2394
2397
|
tertiary: "",
|
|
@@ -2409,7 +2412,7 @@ const vn = {
|
|
|
2409
2412
|
], 32);
|
|
2410
2413
|
};
|
|
2411
2414
|
}
|
|
2412
|
-
}),
|
|
2415
|
+
}), ma = /* @__PURE__ */ A(va, [["__scopeId", "data-v-b6fa8efe"]]), pa = { class: "search-field" }, ha = ["value", "placeholder"], ga = /* @__PURE__ */ R({
|
|
2413
2416
|
__name: "search-field",
|
|
2414
2417
|
props: /* @__PURE__ */ G({
|
|
2415
2418
|
placeholder: { default: "Search..." }
|
|
@@ -2426,7 +2429,7 @@ const vn = {
|
|
|
2426
2429
|
}, l = k(() => !n.value);
|
|
2427
2430
|
return (i, a) => {
|
|
2428
2431
|
const c = q("VjIcon");
|
|
2429
|
-
return f(), g("div",
|
|
2432
|
+
return f(), g("div", pa, [
|
|
2430
2433
|
T(c, {
|
|
2431
2434
|
icon: $(z).SEARCH,
|
|
2432
2435
|
size: $(X).S
|
|
@@ -2436,7 +2439,7 @@ const vn = {
|
|
|
2436
2439
|
onInput: t,
|
|
2437
2440
|
type: "text",
|
|
2438
2441
|
placeholder: e.placeholder
|
|
2439
|
-
}, null, 40,
|
|
2442
|
+
}, null, 40, ha),
|
|
2440
2443
|
T(c, {
|
|
2441
2444
|
class: I(["reset", { invisible: l.value }]),
|
|
2442
2445
|
icon: $(z).CLOSE,
|
|
@@ -2446,7 +2449,7 @@ const vn = {
|
|
|
2446
2449
|
]);
|
|
2447
2450
|
};
|
|
2448
2451
|
}
|
|
2449
|
-
}),
|
|
2452
|
+
}), ba = /* @__PURE__ */ A(ga, [["__scopeId", "data-v-2771c8ed"]]), ya = /* @__PURE__ */ R({
|
|
2450
2453
|
__name: "separator",
|
|
2451
2454
|
props: {
|
|
2452
2455
|
vertical: { type: Boolean }
|
|
@@ -2456,10 +2459,10 @@ const vn = {
|
|
|
2456
2459
|
class: I(["separator", { vertical: e.vertical }])
|
|
2457
2460
|
}, null, 2));
|
|
2458
2461
|
}
|
|
2459
|
-
}),
|
|
2462
|
+
}), wa = /* @__PURE__ */ A(ya, [["__scopeId", "data-v-e354bb4e"]]), _a = {
|
|
2460
2463
|
key: 0,
|
|
2461
2464
|
class: "tab"
|
|
2462
|
-
},
|
|
2465
|
+
}, xa = /* @__PURE__ */ R({
|
|
2463
2466
|
__name: "tab",
|
|
2464
2467
|
props: {
|
|
2465
2468
|
name: {},
|
|
@@ -2469,14 +2472,14 @@ const vn = {
|
|
|
2469
2472
|
const n = e, t = vt("tabView"), o = k(() => t?.activeTab() === n.name);
|
|
2470
2473
|
return Re(() => {
|
|
2471
2474
|
t?.registerTab(n.name, n.label);
|
|
2472
|
-
}), (l, i) => o.value ? (f(), g("div",
|
|
2475
|
+
}), (l, i) => o.value ? (f(), g("div", _a, [
|
|
2473
2476
|
M(l.$slots, "default")
|
|
2474
2477
|
])) : L("", !0);
|
|
2475
2478
|
}
|
|
2476
|
-
}),
|
|
2479
|
+
}), ka = { class: "tab-view" }, Va = {
|
|
2477
2480
|
ref: "headerRef",
|
|
2478
2481
|
class: "tab-view-header"
|
|
2479
|
-
},
|
|
2482
|
+
}, Ca = ["onClick"], Ea = { class: "tab-view-content" }, $a = /* @__PURE__ */ R({
|
|
2480
2483
|
__name: "tab-view",
|
|
2481
2484
|
props: {
|
|
2482
2485
|
modelValue: {},
|
|
@@ -2512,27 +2515,27 @@ const vn = {
|
|
|
2512
2515
|
}), Xt("tabView", {
|
|
2513
2516
|
activeTab: () => n.value,
|
|
2514
2517
|
registerTab: c
|
|
2515
|
-
}), (s, u) => (f(), g("div",
|
|
2516
|
-
_("div",
|
|
2518
|
+
}), (s, u) => (f(), g("div", ka, [
|
|
2519
|
+
_("div", Va, [
|
|
2517
2520
|
(f(!0), g(Q, null, pe(t.value, (d, v) => (f(), g("div", {
|
|
2518
2521
|
key: d.name,
|
|
2519
2522
|
ref_for: !0,
|
|
2520
2523
|
ref: (p) => i(p, v),
|
|
2521
2524
|
class: I(["tab-button", { active: n.value === d.name }]),
|
|
2522
2525
|
onClick: (p) => r(d.name)
|
|
2523
|
-
}, O(d.label), 11,
|
|
2526
|
+
}, O(d.label), 11, Ca))), 128)),
|
|
2524
2527
|
u[0] || (u[0] = _("div", { class: "tab-line" }, null, -1)),
|
|
2525
2528
|
_("div", {
|
|
2526
2529
|
class: "tab-indicator",
|
|
2527
2530
|
style: Y(l.value)
|
|
2528
2531
|
}, null, 4)
|
|
2529
2532
|
], 512),
|
|
2530
|
-
_("div",
|
|
2533
|
+
_("div", Ea, [
|
|
2531
2534
|
M(s.$slots, "default", {}, void 0, !0)
|
|
2532
2535
|
])
|
|
2533
2536
|
]));
|
|
2534
2537
|
}
|
|
2535
|
-
}),
|
|
2538
|
+
}), La = /* @__PURE__ */ A($a, [["__scopeId", "data-v-3d4ee454"]]), Sa = ["width", "height", "role", "tabindex", "aria-label", "onKeydown"], Ta = ["cx", "cy", "r", "stroke-width"], Ra = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Aa = ["transform"], Oa = ["x", "y", "width", "height", "rx"], Da = ["x", "y", "width", "height", "rx"], Ba = /* @__PURE__ */ R({
|
|
2536
2539
|
__name: "timer",
|
|
2537
2540
|
props: {
|
|
2538
2541
|
duration: { default: 5e3 },
|
|
@@ -2632,7 +2635,7 @@ const vn = {
|
|
|
2632
2635
|
"stroke-width": a.value,
|
|
2633
2636
|
class: "vj-timer__outer-ring",
|
|
2634
2637
|
fill: "none"
|
|
2635
|
-
}, null, 8,
|
|
2638
|
+
}, null, 8, Ta),
|
|
2636
2639
|
_("circle", {
|
|
2637
2640
|
cx: i.value / 2,
|
|
2638
2641
|
cy: i.value / 2,
|
|
@@ -2642,7 +2645,7 @@ const vn = {
|
|
|
2642
2645
|
"stroke-dashoffset": b.value,
|
|
2643
2646
|
class: "vj-timer__progress-ring",
|
|
2644
2647
|
fill: "none"
|
|
2645
|
-
}, null, 8,
|
|
2648
|
+
}, null, 8, Ra),
|
|
2646
2649
|
d.value ? (f(), g("g", {
|
|
2647
2650
|
key: 0,
|
|
2648
2651
|
class: "vj-timer__pause-icon",
|
|
@@ -2655,7 +2658,7 @@ const vn = {
|
|
|
2655
2658
|
height: i.value * 0.3,
|
|
2656
2659
|
rx: i.value * 0.015,
|
|
2657
2660
|
class: "vj-timer__pause-bar"
|
|
2658
|
-
}, null, 8,
|
|
2661
|
+
}, null, 8, Oa),
|
|
2659
2662
|
_("rect", {
|
|
2660
2663
|
x: i.value * 0.04,
|
|
2661
2664
|
y: -i.value * 0.15,
|
|
@@ -2663,11 +2666,11 @@ const vn = {
|
|
|
2663
2666
|
height: i.value * 0.3,
|
|
2664
2667
|
rx: i.value * 0.015,
|
|
2665
2668
|
class: "vj-timer__pause-bar"
|
|
2666
|
-
}, null, 8,
|
|
2667
|
-
], 8,
|
|
2668
|
-
], 42,
|
|
2669
|
+
}, null, 8, Da)
|
|
2670
|
+
], 8, Aa)) : L("", !0)
|
|
2671
|
+
], 42, Sa));
|
|
2669
2672
|
}
|
|
2670
|
-
}),
|
|
2673
|
+
}), Ma = /* @__PURE__ */ A(Ba, [["__scopeId", "data-v-49a33853"]]), ja = ["onKeydown"], Pa = /* @__PURE__ */ R({
|
|
2671
2674
|
__name: "editable-label",
|
|
2672
2675
|
props: {
|
|
2673
2676
|
modelValue: {},
|
|
@@ -2704,7 +2707,7 @@ const vn = {
|
|
|
2704
2707
|
Be(U(v, ["prevent"]), ["esc"])
|
|
2705
2708
|
],
|
|
2706
2709
|
onBlur: d
|
|
2707
|
-
}, null, 40,
|
|
2710
|
+
}, null, 40, ja)), [
|
|
2708
2711
|
[Cn, i.value]
|
|
2709
2712
|
]) : (f(), g(Q, { key: 0 }, [
|
|
2710
2713
|
_("span", {
|
|
@@ -2724,7 +2727,7 @@ const vn = {
|
|
|
2724
2727
|
], 64))
|
|
2725
2728
|
], 34));
|
|
2726
2729
|
}
|
|
2727
|
-
}),
|
|
2730
|
+
}), hs = /* @__PURE__ */ A(Pa, [["__scopeId", "data-v-cdc52c5b"]]), Fa = "200% 200%", za = /* @__PURE__ */ R({
|
|
2728
2731
|
__name: "skeleton",
|
|
2729
2732
|
props: {
|
|
2730
2733
|
width: {},
|
|
@@ -2739,12 +2742,12 @@ const vn = {
|
|
|
2739
2742
|
width: t.value,
|
|
2740
2743
|
height: o.value,
|
|
2741
2744
|
borderRadius: l.value,
|
|
2742
|
-
backgroundSize:
|
|
2745
|
+
backgroundSize: Fa
|
|
2743
2746
|
}),
|
|
2744
2747
|
"aria-hidden": "true"
|
|
2745
2748
|
}, null, 4));
|
|
2746
2749
|
}
|
|
2747
|
-
}),
|
|
2750
|
+
}), Ia = /* @__PURE__ */ A(za, [["__scopeId", "data-v-ac05e016"]]), Ha = /* @__PURE__ */ R({
|
|
2748
2751
|
__name: "amount-bar",
|
|
2749
2752
|
props: {
|
|
2750
2753
|
amount: {},
|
|
@@ -2779,10 +2782,10 @@ const vn = {
|
|
|
2779
2782
|
}, null, 4))
|
|
2780
2783
|
], 2));
|
|
2781
2784
|
}
|
|
2782
|
-
}),
|
|
2785
|
+
}), Wa = /* @__PURE__ */ A(Ha, [["__scopeId", "data-v-7e89d03f"]]), Ua = ["multiple", "accept", "disabled"], Na = { class: "upload-text" }, Ka = { class: "upload-title" }, Xa = { class: "upload-subtitle" }, qa = {
|
|
2783
2786
|
key: 0,
|
|
2784
2787
|
class: "upload-files"
|
|
2785
|
-
},
|
|
2788
|
+
}, Ga = { class: "file-info" }, Ya = { class: "file-details" }, Ja = { class: "file-name" }, Qa = { class: "file-size" }, Za = /* @__PURE__ */ R({
|
|
2786
2789
|
__name: "upload",
|
|
2787
2790
|
props: /* @__PURE__ */ G({
|
|
2788
2791
|
multiple: { type: Boolean, default: !0 },
|
|
@@ -2841,7 +2844,7 @@ const vn = {
|
|
|
2841
2844
|
onDragover: s,
|
|
2842
2845
|
onDragleave: u,
|
|
2843
2846
|
onDrop: d
|
|
2844
|
-
}, null, 40,
|
|
2847
|
+
}, null, 40, Ua),
|
|
2845
2848
|
_("div", {
|
|
2846
2849
|
class: "upload-content",
|
|
2847
2850
|
onClick: m[1] || (m[1] = (b) => i.value?.click()),
|
|
@@ -2854,9 +2857,9 @@ const vn = {
|
|
|
2854
2857
|
size: $(X).L,
|
|
2855
2858
|
class: "upload-icon"
|
|
2856
2859
|
}, null, 8, ["icon", "size"]),
|
|
2857
|
-
_("div",
|
|
2858
|
-
_("p",
|
|
2859
|
-
_("p",
|
|
2860
|
+
_("div", Na, [
|
|
2861
|
+
_("p", Ka, O(c.value ? e.dropText : e.uploadText), 1),
|
|
2862
|
+
_("p", Xa, O(e.subtitleText), 1)
|
|
2860
2863
|
]),
|
|
2861
2864
|
T(Ge, {
|
|
2862
2865
|
label: e.browseText,
|
|
@@ -2865,19 +2868,19 @@ const vn = {
|
|
|
2865
2868
|
onClick: m[0] || (m[0] = U((b) => i.value?.click(), ["stop"]))
|
|
2866
2869
|
}, null, 8, ["label", "disabled"])
|
|
2867
2870
|
], 32),
|
|
2868
|
-
l.value.length > 0 ? (f(), g("div",
|
|
2871
|
+
l.value.length > 0 ? (f(), g("div", qa, [
|
|
2869
2872
|
(f(!0), g(Q, null, pe(l.value, (b, x) => (f(), g("div", {
|
|
2870
2873
|
key: x,
|
|
2871
2874
|
class: "upload-file-item"
|
|
2872
2875
|
}, [
|
|
2873
|
-
_("div",
|
|
2876
|
+
_("div", Ga, [
|
|
2874
2877
|
T(te, {
|
|
2875
2878
|
icon: $(z).ATTACHMENT,
|
|
2876
2879
|
size: $(X).S
|
|
2877
2880
|
}, null, 8, ["icon", "size"]),
|
|
2878
|
-
_("div",
|
|
2879
|
-
_("p",
|
|
2880
|
-
_("p",
|
|
2881
|
+
_("div", Ya, [
|
|
2882
|
+
_("p", Ja, O(b.name), 1),
|
|
2883
|
+
_("p", Qa, O(h(b.size)), 1)
|
|
2881
2884
|
])
|
|
2882
2885
|
]),
|
|
2883
2886
|
e.disabled ? L("", !0) : (f(), P(te, {
|
|
@@ -2891,14 +2894,14 @@ const vn = {
|
|
|
2891
2894
|
])) : L("", !0)
|
|
2892
2895
|
], 2));
|
|
2893
2896
|
}
|
|
2894
|
-
}),
|
|
2897
|
+
}), ei = /* @__PURE__ */ A(Za, [["__scopeId", "data-v-2f7be5e5"]]), mn = {
|
|
2895
2898
|
form: {
|
|
2896
2899
|
labelPosition: "inline",
|
|
2897
2900
|
appearance: "bordered"
|
|
2898
2901
|
}
|
|
2899
2902
|
};
|
|
2900
2903
|
let qe = {};
|
|
2901
|
-
function
|
|
2904
|
+
function gs(e) {
|
|
2902
2905
|
qe = {
|
|
2903
2906
|
...qe,
|
|
2904
2907
|
...e,
|
|
@@ -2916,18 +2919,18 @@ function Ut() {
|
|
|
2916
2919
|
}
|
|
2917
2920
|
};
|
|
2918
2921
|
}
|
|
2919
|
-
function
|
|
2922
|
+
function bs() {
|
|
2920
2923
|
qe = {};
|
|
2921
2924
|
}
|
|
2922
|
-
const
|
|
2925
|
+
const ti = ["data-colspan", "data-newline"], ni = ["for"], oi = { class: "form-field__wrapper" }, li = ["for"], ai = {
|
|
2923
2926
|
key: 1,
|
|
2924
2927
|
class: "form-field__error"
|
|
2925
|
-
},
|
|
2928
|
+
}, ii = {
|
|
2926
2929
|
key: 2,
|
|
2927
2930
|
class: "form-field__help",
|
|
2928
2931
|
type: "button",
|
|
2929
2932
|
"aria-label": "Hilfe"
|
|
2930
|
-
},
|
|
2933
|
+
}, si = /* @__PURE__ */ R({
|
|
2931
2934
|
directives: { tooltip: vn },
|
|
2932
2935
|
__name: "form-field",
|
|
2933
2936
|
props: {
|
|
@@ -2986,8 +2989,8 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
2986
2989
|
key: 0,
|
|
2987
2990
|
for: a.value,
|
|
2988
2991
|
class: "form-field__label-outline"
|
|
2989
|
-
}, O(e.label), 9,
|
|
2990
|
-
_("div",
|
|
2992
|
+
}, O(e.label), 9, ni)) : L("", !0),
|
|
2993
|
+
_("div", oi, [
|
|
2991
2994
|
M(h.$slots, "control", {
|
|
2992
2995
|
id: a.value,
|
|
2993
2996
|
value: l.value,
|
|
@@ -3001,20 +3004,20 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3001
3004
|
key: 0,
|
|
3002
3005
|
for: a.value,
|
|
3003
3006
|
class: I(["form-field__label", { "form-field__label--float": s.value }])
|
|
3004
|
-
}, O(e.label), 11,
|
|
3007
|
+
}, O(e.label), 11, li)) : L("", !0)
|
|
3005
3008
|
]),
|
|
3006
|
-
e.error ? (f(), g("div",
|
|
3007
|
-
t.helpText ? ft((f(), g("button",
|
|
3009
|
+
e.error ? (f(), g("div", ai, O(e.error), 1)) : L("", !0),
|
|
3010
|
+
t.helpText ? ft((f(), g("button", ii, [
|
|
3008
3011
|
T(m, {
|
|
3009
3012
|
icon: $(z).HELP
|
|
3010
3013
|
}, null, 8, ["icon"])
|
|
3011
3014
|
])), [
|
|
3012
3015
|
[b, t.helpText]
|
|
3013
3016
|
]) : L("", !0)
|
|
3014
|
-
], 14,
|
|
3017
|
+
], 14, ti);
|
|
3015
3018
|
};
|
|
3016
3019
|
}
|
|
3017
|
-
}), Ie = /* @__PURE__ */ A(
|
|
3020
|
+
}), Ie = /* @__PURE__ */ A(si, [["__scopeId", "data-v-19959d5e"]]), ri = /* @__PURE__ */ R({
|
|
3018
3021
|
__name: "form-layout",
|
|
3019
3022
|
props: {
|
|
3020
3023
|
columns: { type: Number, default: 4 },
|
|
@@ -3051,25 +3054,25 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3051
3054
|
M(i.$slots, "default", {}, void 0, !0)
|
|
3052
3055
|
], 4));
|
|
3053
3056
|
}
|
|
3054
|
-
}),
|
|
3057
|
+
}), ci = /* @__PURE__ */ A(ri, [["__scopeId", "data-v-96f62ab7"]]), ui = {
|
|
3055
3058
|
key: 0,
|
|
3056
3059
|
class: "form-section__title",
|
|
3057
3060
|
"data-newline": ""
|
|
3058
|
-
},
|
|
3061
|
+
}, di = /* @__PURE__ */ R({
|
|
3059
3062
|
__name: "form-section",
|
|
3060
3063
|
props: {
|
|
3061
3064
|
title: {}
|
|
3062
3065
|
},
|
|
3063
3066
|
setup(e) {
|
|
3064
3067
|
return (n, t) => (f(), g(Q, null, [
|
|
3065
|
-
e.title ? (f(), g("h3",
|
|
3068
|
+
e.title ? (f(), g("h3", ui, O(e.title), 1)) : L("", !0),
|
|
3066
3069
|
M(n.$slots, "default", {}, void 0, !0)
|
|
3067
3070
|
], 64));
|
|
3068
3071
|
}
|
|
3069
|
-
}),
|
|
3072
|
+
}), fi = /* @__PURE__ */ A(di, [["__scopeId", "data-v-69cff1d0"]]), vi = ["id", "disabled"], mi = { class: "select-value" }, pi = {
|
|
3070
3073
|
key: 1,
|
|
3071
3074
|
class: "select-placeholder"
|
|
3072
|
-
},
|
|
3075
|
+
}, hi = { class: "select-options" }, gi = ["onClick", "onMouseenter"], bi = /* @__PURE__ */ R({
|
|
3073
3076
|
inheritAttrs: !1,
|
|
3074
3077
|
__name: "select",
|
|
3075
3078
|
props: /* @__PURE__ */ G({
|
|
@@ -3145,13 +3148,13 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3145
3148
|
size: $(X).S,
|
|
3146
3149
|
class: "select-icon-left"
|
|
3147
3150
|
}, null, 8, ["icon", "size"])) : L("", !0),
|
|
3148
|
-
_("span",
|
|
3151
|
+
_("span", mi, [
|
|
3149
3152
|
v.value ? M(w.$slots, "selected", {
|
|
3150
3153
|
key: 0,
|
|
3151
3154
|
option: v.value
|
|
3152
3155
|
}, () => [
|
|
3153
3156
|
Ue(O(u(v.value)), 1)
|
|
3154
|
-
], !0) : (f(), g("span",
|
|
3157
|
+
], !0) : (f(), g("span", pi, O(e.placeholder), 1))
|
|
3155
3158
|
]),
|
|
3156
3159
|
t.clearable && v.value && !e.disabled ? (f(), P(j, {
|
|
3157
3160
|
key: 1,
|
|
@@ -3165,7 +3168,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3165
3168
|
size: $(X).S,
|
|
3166
3169
|
class: I(["select-icon-right", { open: l.value }])
|
|
3167
3170
|
}, null, 8, ["icon", "size", "class"])
|
|
3168
|
-
], 8,
|
|
3171
|
+
], 8, vi)
|
|
3169
3172
|
], 2),
|
|
3170
3173
|
(f(), P(je, { to: "body" }, [
|
|
3171
3174
|
T(Le, { name: "dropdown" }, {
|
|
@@ -3177,7 +3180,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3177
3180
|
style: Y($(s)),
|
|
3178
3181
|
class: "select-dropdown"
|
|
3179
3182
|
}, [
|
|
3180
|
-
_("div",
|
|
3183
|
+
_("div", hi, [
|
|
3181
3184
|
(f(!0), g(Q, null, pe(e.options, (H, V) => (f(), g("div", {
|
|
3182
3185
|
key: String(d(H)),
|
|
3183
3186
|
class: I(["select-option", { selected: p(H), highlighted: i.value === V }]),
|
|
@@ -3190,7 +3193,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3190
3193
|
}, () => [
|
|
3191
3194
|
Ue(O(u(H)), 1)
|
|
3192
3195
|
], !0)
|
|
3193
|
-
], 42,
|
|
3196
|
+
], 42, gi))), 128))
|
|
3194
3197
|
])
|
|
3195
3198
|
], 4)) : L("", !0)
|
|
3196
3199
|
]),
|
|
@@ -3205,7 +3208,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3205
3208
|
], 64);
|
|
3206
3209
|
};
|
|
3207
3210
|
}
|
|
3208
|
-
}), pn = /* @__PURE__ */ A(
|
|
3211
|
+
}), pn = /* @__PURE__ */ A(bi, [["__scopeId", "data-v-f33ae75c"]]), yi = /* @__PURE__ */ R({
|
|
3209
3212
|
__name: "input-select",
|
|
3210
3213
|
props: {
|
|
3211
3214
|
modelValue: {},
|
|
@@ -3283,7 +3286,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3283
3286
|
_: 3
|
|
3284
3287
|
}, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
|
|
3285
3288
|
}
|
|
3286
|
-
}),
|
|
3289
|
+
}), wi = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], _i = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], xi = /* @__PURE__ */ R({
|
|
3287
3290
|
__name: "slider",
|
|
3288
3291
|
props: {
|
|
3289
3292
|
modelValue: { default: void 0 },
|
|
@@ -3393,7 +3396,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3393
3396
|
onKeydown: C[3] || (C[3] = U((D) => S("low", D), ["stop", "prevent"])),
|
|
3394
3397
|
role: "slider",
|
|
3395
3398
|
tabindex: "0"
|
|
3396
|
-
}, null, 44,
|
|
3399
|
+
}, null, 44, wi),
|
|
3397
3400
|
H.value && a.value ? (f(), g("div", {
|
|
3398
3401
|
key: 1,
|
|
3399
3402
|
class: "tooltip",
|
|
@@ -3413,11 +3416,11 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3413
3416
|
onKeydown: C[7] || (C[7] = U((D) => S("high", D), ["stop", "prevent"])),
|
|
3414
3417
|
role: "slider",
|
|
3415
3418
|
tabindex: "0"
|
|
3416
|
-
}, null, 44,
|
|
3419
|
+
}, null, 44, _i)) : L("", !0)
|
|
3417
3420
|
], 512)
|
|
3418
3421
|
], 32));
|
|
3419
3422
|
}
|
|
3420
|
-
}),
|
|
3423
|
+
}), ki = /* @__PURE__ */ A(xi, [["__scopeId", "data-v-d47c7475"]]), Vi = ["onFocusin", "onFocusout"], Ci = /* @__PURE__ */ R({
|
|
3421
3424
|
__name: "input-slider",
|
|
3422
3425
|
props: /* @__PURE__ */ G({
|
|
3423
3426
|
modelValue: {},
|
|
@@ -3472,7 +3475,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3472
3475
|
onFocusin: p,
|
|
3473
3476
|
onFocusout: h
|
|
3474
3477
|
}, [
|
|
3475
|
-
T(
|
|
3478
|
+
T(ki, {
|
|
3476
3479
|
id: u,
|
|
3477
3480
|
modelValue: a.value,
|
|
3478
3481
|
"onUpdate:modelValue": [
|
|
@@ -3485,12 +3488,12 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3485
3488
|
range: !1,
|
|
3486
3489
|
disabled: d
|
|
3487
3490
|
}, null, 8, ["id", "modelValue", "min", "max", "step", "disabled"])
|
|
3488
|
-
], 40,
|
|
3491
|
+
], 40, Vi)
|
|
3489
3492
|
]),
|
|
3490
3493
|
_: 1
|
|
3491
3494
|
}, 8, ["modelValue", "label", "id", "disabled", "colspan", "newLine", "spanRow", "error"]));
|
|
3492
3495
|
}
|
|
3493
|
-
}),
|
|
3496
|
+
}), Ei = /* @__PURE__ */ A(Ci, [["__scopeId", "data-v-8f16d318"]]), $i = { class: "textarea" }, Li = ["value", "placeholder", "disabled", "rows"], Si = /* @__PURE__ */ R({
|
|
3494
3497
|
__name: "textarea",
|
|
3495
3498
|
props: /* @__PURE__ */ G({
|
|
3496
3499
|
icon: {},
|
|
@@ -3515,7 +3518,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3515
3518
|
}, r = k(() => !o.value);
|
|
3516
3519
|
return (s, u) => {
|
|
3517
3520
|
const d = q("VjIcon");
|
|
3518
|
-
return f(), g("div",
|
|
3521
|
+
return f(), g("div", $i, [
|
|
3519
3522
|
e.icon ? (f(), P(d, {
|
|
3520
3523
|
key: 0,
|
|
3521
3524
|
icon: e.icon,
|
|
@@ -3530,7 +3533,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3530
3533
|
placeholder: e.placeholder,
|
|
3531
3534
|
disabled: e.disabled,
|
|
3532
3535
|
rows: e.rows
|
|
3533
|
-
}, null, 40,
|
|
3536
|
+
}, null, 40, Li),
|
|
3534
3537
|
e.clearable && !e.disabled ? (f(), P(d, {
|
|
3535
3538
|
key: 1,
|
|
3536
3539
|
class: I(["clear-icon", { invisible: r.value }]),
|
|
@@ -3541,7 +3544,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3541
3544
|
]);
|
|
3542
3545
|
};
|
|
3543
3546
|
}
|
|
3544
|
-
}), hn = /* @__PURE__ */ A(
|
|
3547
|
+
}), hn = /* @__PURE__ */ A(Si, [["__scopeId", "data-v-2ea43716"]]), Ti = /* @__PURE__ */ R({
|
|
3545
3548
|
__name: "input-text-area",
|
|
3546
3549
|
props: {
|
|
3547
3550
|
modelValue: {},
|
|
@@ -3604,7 +3607,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3604
3607
|
_: 1
|
|
3605
3608
|
}, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "labelPosition", "error", "helpText", "appearance"]));
|
|
3606
3609
|
}
|
|
3607
|
-
}),
|
|
3610
|
+
}), Ri = { class: "input" }, Ai = ["value", "type", "placeholder", "disabled"], Oi = /* @__PURE__ */ R({
|
|
3608
3611
|
__name: "input",
|
|
3609
3612
|
props: /* @__PURE__ */ G({
|
|
3610
3613
|
icon: {},
|
|
@@ -3629,7 +3632,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3629
3632
|
}, r = k(() => !o.value);
|
|
3630
3633
|
return (s, u) => {
|
|
3631
3634
|
const d = q("VjIcon");
|
|
3632
|
-
return f(), g("div",
|
|
3635
|
+
return f(), g("div", Ri, [
|
|
3633
3636
|
e.icon ? (f(), P(d, {
|
|
3634
3637
|
key: 0,
|
|
3635
3638
|
icon: e.icon,
|
|
@@ -3643,7 +3646,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3643
3646
|
type: e.type,
|
|
3644
3647
|
placeholder: e.placeholder,
|
|
3645
3648
|
disabled: e.disabled
|
|
3646
|
-
}, null, 40,
|
|
3649
|
+
}, null, 40, Ai),
|
|
3647
3650
|
e.clearable && !e.disabled ? (f(), P(d, {
|
|
3648
3651
|
key: 1,
|
|
3649
3652
|
class: I(["clear-icon", { invisible: r.value }]),
|
|
@@ -3654,7 +3657,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3654
3657
|
]);
|
|
3655
3658
|
};
|
|
3656
3659
|
}
|
|
3657
|
-
}), gn = /* @__PURE__ */ A(
|
|
3660
|
+
}), gn = /* @__PURE__ */ A(Oi, [["__scopeId", "data-v-3187d49c"]]), Di = /* @__PURE__ */ R({
|
|
3658
3661
|
__name: "input-text",
|
|
3659
3662
|
props: {
|
|
3660
3663
|
modelValue: {},
|
|
@@ -3714,10 +3717,10 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3714
3717
|
_: 1
|
|
3715
3718
|
}, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
|
|
3716
3719
|
}
|
|
3717
|
-
}),
|
|
3720
|
+
}), Bi = { class: "shell-navigation-item" }, Mi = { class: "shell-navigation-item-label" }, ji = {
|
|
3718
3721
|
key: 1,
|
|
3719
3722
|
class: "shell-navigation-item-link"
|
|
3720
|
-
},
|
|
3723
|
+
}, Pi = ["aria-expanded"], Fi = { class: "shell-navigation-item-label" }, zi = /* @__PURE__ */ R({
|
|
3721
3724
|
__name: "shell-navigation-item",
|
|
3722
3725
|
props: {
|
|
3723
3726
|
label: {},
|
|
@@ -3747,7 +3750,7 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3747
3750
|
window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d);
|
|
3748
3751
|
}), (v, p) => {
|
|
3749
3752
|
const h = q("VjIcon"), y = q("RouterLink"), m = q("VjMenu");
|
|
3750
|
-
return f(), g("li",
|
|
3753
|
+
return f(), g("li", Bi, [
|
|
3751
3754
|
e.to ? (f(), P(y, {
|
|
3752
3755
|
key: 0,
|
|
3753
3756
|
to: e.to,
|
|
@@ -3758,10 +3761,10 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3758
3761
|
icon: e.icon,
|
|
3759
3762
|
class: "shell-navigation-item-icon"
|
|
3760
3763
|
}, null, 8, ["icon"]),
|
|
3761
|
-
_("label",
|
|
3764
|
+
_("label", Mi, O(e.label), 1)
|
|
3762
3765
|
]),
|
|
3763
3766
|
_: 1
|
|
3764
|
-
}, 8, ["to"])) : (f(), g("div",
|
|
3767
|
+
}, 8, ["to"])) : (f(), g("div", ji, [
|
|
3765
3768
|
_("button", {
|
|
3766
3769
|
ref_key: "buttonRef",
|
|
3767
3770
|
ref: l,
|
|
@@ -3774,8 +3777,8 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3774
3777
|
icon: e.icon,
|
|
3775
3778
|
class: "shell-navigation-item-icon"
|
|
3776
3779
|
}, null, 8, ["icon"]),
|
|
3777
|
-
_("label",
|
|
3778
|
-
], 8,
|
|
3780
|
+
_("label", Fi, O(e.label), 1)
|
|
3781
|
+
], 8, Pi),
|
|
3779
3782
|
T(Le, { name: "menu" }, {
|
|
3780
3783
|
default: N(() => [
|
|
3781
3784
|
o.value ? (f(), P(m, {
|
|
@@ -3806,19 +3809,19 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3806
3809
|
]);
|
|
3807
3810
|
};
|
|
3808
3811
|
}
|
|
3809
|
-
}),
|
|
3812
|
+
}), Ii = /* @__PURE__ */ A(zi, [["__scopeId", "data-v-3a50d1c2"]]), Hi = { class: "navigation-top" }, Wi = {
|
|
3810
3813
|
key: 0,
|
|
3811
3814
|
class: "navigation-bottom"
|
|
3812
|
-
},
|
|
3815
|
+
}, Ui = /* @__PURE__ */ R({
|
|
3813
3816
|
__name: "shell-navigation",
|
|
3814
3817
|
setup(e) {
|
|
3815
|
-
const n = vt(
|
|
3818
|
+
const n = vt(ts, os()), t = k(() => n.showLabels);
|
|
3816
3819
|
return (o, l) => {
|
|
3817
3820
|
const i = q("VjShellNavigationItem");
|
|
3818
3821
|
return f(), g("nav", {
|
|
3819
3822
|
class: I(["shell-navigation", { "with-labels": t.value }])
|
|
3820
3823
|
}, [
|
|
3821
|
-
_("ul",
|
|
3824
|
+
_("ul", Hi, [
|
|
3822
3825
|
$(n).hasParent && $(n).backRoute.value ? (f(), P(i, {
|
|
3823
3826
|
key: 0,
|
|
3824
3827
|
to: $(n).backRoute.value,
|
|
@@ -3832,13 +3835,13 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3832
3835
|
icon: a.meta.icon ?? $(z).HOME
|
|
3833
3836
|
}, null, 8, ["to", "label", "icon"]))), 128))
|
|
3834
3837
|
]),
|
|
3835
|
-
o.$slots.fixed ? (f(), g("ul",
|
|
3838
|
+
o.$slots.fixed ? (f(), g("ul", Wi, [
|
|
3836
3839
|
M(o.$slots, "fixed", {}, void 0, !0)
|
|
3837
3840
|
])) : L("", !0)
|
|
3838
3841
|
], 2);
|
|
3839
3842
|
};
|
|
3840
3843
|
}
|
|
3841
|
-
}), bn = /* @__PURE__ */ A(
|
|
3844
|
+
}), bn = /* @__PURE__ */ A(Ui, [["__scopeId", "data-v-306cfc22"]]), Ni = { class: "shell" }, Ki = { class: "shell-title" }, Xi = ["src"], qi = { class: "header-actions" }, Gi = /* @__PURE__ */ R({
|
|
3842
3845
|
__name: "shell",
|
|
3843
3846
|
props: {
|
|
3844
3847
|
title: {},
|
|
@@ -3846,24 +3849,24 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3846
3849
|
showNavigation: { type: Boolean }
|
|
3847
3850
|
},
|
|
3848
3851
|
setup(e) {
|
|
3849
|
-
const n =
|
|
3852
|
+
const n = rs(), t = lt(n, "asideComponent"), o = lt(n, "hasAside"), l = lt(n, "asideData"), i = k(() => {
|
|
3850
3853
|
const a = l.value;
|
|
3851
3854
|
return a && typeof a == "object" ? a : {};
|
|
3852
3855
|
});
|
|
3853
3856
|
return (a, c) => {
|
|
3854
3857
|
const r = q("router-view");
|
|
3855
|
-
return f(), g("div",
|
|
3858
|
+
return f(), g("div", Ni, [
|
|
3856
3859
|
_("header", null, [
|
|
3857
3860
|
M(a.$slots, "header", {}, () => [
|
|
3858
|
-
_("span",
|
|
3861
|
+
_("span", Ki, [
|
|
3859
3862
|
e.icon ? (f(), g("img", {
|
|
3860
3863
|
key: 0,
|
|
3861
3864
|
src: e.icon,
|
|
3862
3865
|
alt: "Shell Icon"
|
|
3863
|
-
}, null, 8,
|
|
3866
|
+
}, null, 8, Xi)) : L("", !0),
|
|
3864
3867
|
_("h1", null, O(e.title), 1)
|
|
3865
3868
|
]),
|
|
3866
|
-
_("div",
|
|
3869
|
+
_("div", qi, [
|
|
3867
3870
|
M(a.$slots, "header-actions", {}, void 0, !0)
|
|
3868
3871
|
])
|
|
3869
3872
|
], !0)
|
|
@@ -3895,8 +3898,8 @@ const ei = ["data-colspan", "data-newline"], ti = ["for"], ni = { class: "form-f
|
|
|
3895
3898
|
]);
|
|
3896
3899
|
};
|
|
3897
3900
|
}
|
|
3898
|
-
}),
|
|
3899
|
-
class
|
|
3901
|
+
}), Yi = /* @__PURE__ */ A(Gi, [["__scopeId", "data-v-6a20620c"]]);
|
|
3902
|
+
class Ji {
|
|
3900
3903
|
notifications = E([]);
|
|
3901
3904
|
notificationIdCounter = 0;
|
|
3902
3905
|
/**
|
|
@@ -3962,12 +3965,12 @@ class Yi {
|
|
|
3962
3965
|
this.notifications.value = [];
|
|
3963
3966
|
}
|
|
3964
3967
|
}
|
|
3965
|
-
const Nt = new
|
|
3968
|
+
const Nt = new Ji(), Qi = { class: "notifications" }, Zi = /* @__PURE__ */ R({
|
|
3966
3969
|
__name: "notifications",
|
|
3967
3970
|
setup(e) {
|
|
3968
3971
|
const n = Nt.getNotifications(), t = (o) => Nt.remove(o);
|
|
3969
3972
|
return (o, l) => (f(), P(je, { to: "body" }, [
|
|
3970
|
-
_("div",
|
|
3973
|
+
_("div", Qi, [
|
|
3971
3974
|
T(Ln, { name: "notification" }, {
|
|
3972
3975
|
default: N(() => [
|
|
3973
3976
|
(f(!0), g(Q, null, pe($(n), (i) => (f(), P(xt, {
|
|
@@ -3983,11 +3986,11 @@ const Nt = new Yi(), Ji = { class: "notifications" }, Qi = /* @__PURE__ */ R({
|
|
|
3983
3986
|
])
|
|
3984
3987
|
]));
|
|
3985
3988
|
}
|
|
3986
|
-
}),
|
|
3987
|
-
function
|
|
3989
|
+
}), es = /* @__PURE__ */ A(Zi, [["__scopeId", "data-v-543c499f"]]), ts = "navigationProvider";
|
|
3990
|
+
function ns(e) {
|
|
3988
3991
|
return !!e.meta && "icon" in e.meta && "label" in e.meta;
|
|
3989
3992
|
}
|
|
3990
|
-
const
|
|
3993
|
+
const os = () => {
|
|
3991
3994
|
const e = An(), n = On(), t = !0, o = k(() => {
|
|
3992
3995
|
const u = e.getRoutes();
|
|
3993
3996
|
return u.filter((d) => d.path !== "/" && !u.some((v) => v.children?.some((p) => p.name === d.name)));
|
|
@@ -4003,7 +4006,7 @@ const ns = () => {
|
|
|
4003
4006
|
return d ? { name: d.name } : { path: "/" };
|
|
4004
4007
|
}), s = k(() => {
|
|
4005
4008
|
let u = [];
|
|
4006
|
-
return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : i.value?.children?.length ? u = i.value.children : u = o.value, u.filter(
|
|
4009
|
+
return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : i.value?.children?.length ? u = i.value.children : u = o.value, u.filter(ns);
|
|
4007
4010
|
});
|
|
4008
4011
|
return {
|
|
4009
4012
|
hasParent: a,
|
|
@@ -4011,7 +4014,7 @@ const ns = () => {
|
|
|
4011
4014
|
childRoutes: s,
|
|
4012
4015
|
showLabels: t
|
|
4013
4016
|
};
|
|
4014
|
-
},
|
|
4017
|
+
}, ys = (e, n = !0, t = void 0) => {
|
|
4015
4018
|
const o = Sn(e) ? e : E(e), l = !!t, i = E(t || null);
|
|
4016
4019
|
return {
|
|
4017
4020
|
hasParent: l,
|
|
@@ -4023,9 +4026,9 @@ const ns = () => {
|
|
|
4023
4026
|
let $e = [];
|
|
4024
4027
|
const yn = (e) => ($e.push(e), () => {
|
|
4025
4028
|
$e = $e.filter((n) => n !== e);
|
|
4026
|
-
}),
|
|
4029
|
+
}), ls = (e, n) => ($e = [], Vt.value = e, Ct.value = n ?? null, kt.value = !0, {
|
|
4027
4030
|
onClose: (t) => yn(t)
|
|
4028
|
-
}),
|
|
4031
|
+
}), as = (e) => {
|
|
4029
4032
|
try {
|
|
4030
4033
|
$e.forEach((n) => {
|
|
4031
4034
|
try {
|
|
@@ -4035,18 +4038,18 @@ const yn = (e) => ($e.push(e), () => {
|
|
|
4035
4038
|
}
|
|
4036
4039
|
});
|
|
4037
4040
|
} finally {
|
|
4038
|
-
kt.value = !1, setTimeout(
|
|
4041
|
+
kt.value = !1, setTimeout(is, 1e3);
|
|
4039
4042
|
}
|
|
4040
|
-
},
|
|
4043
|
+
}, is = () => {
|
|
4041
4044
|
$e = [], Vt.value = null, Ct.value = null;
|
|
4042
|
-
},
|
|
4045
|
+
}, ss = {
|
|
4043
4046
|
asideComponent: Vt,
|
|
4044
4047
|
asideData: Ct,
|
|
4045
|
-
showAside:
|
|
4046
|
-
closeAside:
|
|
4048
|
+
showAside: ls,
|
|
4049
|
+
closeAside: as,
|
|
4047
4050
|
onAsideClose: yn,
|
|
4048
4051
|
hasAside: kt
|
|
4049
|
-
},
|
|
4052
|
+
}, rs = () => ss, ws = (e, n) => {
|
|
4050
4053
|
let t = null;
|
|
4051
4054
|
return (...l) => {
|
|
4052
4055
|
t && clearTimeout(t), t = setTimeout(() => {
|
|
@@ -4054,7 +4057,7 @@ const yn = (e) => ($e.push(e), () => {
|
|
|
4054
4057
|
}, n);
|
|
4055
4058
|
};
|
|
4056
4059
|
};
|
|
4057
|
-
class
|
|
4060
|
+
class cs {
|
|
4058
4061
|
containerElement = null;
|
|
4059
4062
|
apps = [];
|
|
4060
4063
|
mainApp = null;
|
|
@@ -4134,17 +4137,17 @@ class rs {
|
|
|
4134
4137
|
}), this.apps = [];
|
|
4135
4138
|
}
|
|
4136
4139
|
}
|
|
4137
|
-
const
|
|
4138
|
-
function ws() {
|
|
4139
|
-
return cs;
|
|
4140
|
-
}
|
|
4140
|
+
const us = new cs();
|
|
4141
4141
|
function _s() {
|
|
4142
|
+
return us;
|
|
4143
|
+
}
|
|
4144
|
+
function xs() {
|
|
4142
4145
|
const e = vt(Jt, null);
|
|
4143
4146
|
if (!e)
|
|
4144
4147
|
throw new Error("useDialogController must be used inside a dialog component.");
|
|
4145
4148
|
return e;
|
|
4146
4149
|
}
|
|
4147
|
-
const
|
|
4150
|
+
const ks = () => {
|
|
4148
4151
|
const e = E(!1), n = E(null), t = () => {
|
|
4149
4152
|
n.value = null;
|
|
4150
4153
|
};
|
|
@@ -4184,76 +4187,76 @@ const xs = () => {
|
|
|
4184
4187
|
return new o(i, a);
|
|
4185
4188
|
}
|
|
4186
4189
|
return { run: l, running: e, error: n, clearError: t };
|
|
4187
|
-
},
|
|
4190
|
+
}, Vs = {
|
|
4188
4191
|
install(e) {
|
|
4189
|
-
e.component("VjAccordion", In), e.component("VjAmountBar",
|
|
4192
|
+
e.component("VjAccordion", In), e.component("VjAmountBar", Wa), e.component("VjButton", Ge), e.component("VjButtonBar", Xn), e.component("VjCard", st), e.component("VjChip", Gt), e.component("VjChipGroup", Yt), e.component("VjChipSelector", Ro), e.component("VjCarousel", st), e.component("VjCheckbox", io), e.component("VjDotMenu", Vl), e.component("VjDialog", mt), e.component("VjIcon", te), e.component("VjLinkButton", El), e.component("VjMenu", Dl), e.component("VjMenuAction", Tl), e.component("VjPage", da), e.component("VjPaginator", ma), e.component("VjTab", xa), e.component("VjTabView", La), e.component("VjTimer", Ma), e.component("VjSkeleton", Ia), e.component("VjSpinner", fn), e.component("VjNotifications", es), e.component("VjNotification", xt), e.component("VjUpload", ei), e.component("VjInput", gn), e.component("VjSelect", pn), e.component("VjTextArea", hn), e.component("VjFormField", Ie), e.component("VjFormLayout", ci), e.component("VjFormSection", fi), e.component("VjInputText", Di), e.component("VjInputTextArea", Ti), e.component("VjInputSelect", yi), e.component("VjInputSlider", Ei), e.component("VjShellNavigation", bn), e.component("VjShellNavigationItem", Ii), e.component("VjShell", Yi), e.component("VjSearchField", ba), e.component("VjSeparator", wa), e.directive("focus", jl), e.directive("resize", Pl), e.directive("compact", Bl), e.directive("tooltip", vn);
|
|
4190
4193
|
}
|
|
4191
4194
|
};
|
|
4192
4195
|
export {
|
|
4193
4196
|
In as Accordion,
|
|
4194
|
-
|
|
4197
|
+
Wa as AmountBar,
|
|
4195
4198
|
Ge as Button,
|
|
4196
4199
|
Xn as ButtonBar,
|
|
4197
4200
|
st as Card,
|
|
4198
|
-
|
|
4201
|
+
ms as Carousel,
|
|
4199
4202
|
io as Checkbox,
|
|
4200
4203
|
Gt as Chip,
|
|
4201
4204
|
Yt as ChipGroup,
|
|
4202
4205
|
Ro as ChipSelector,
|
|
4203
4206
|
mt as Dialog,
|
|
4204
4207
|
Vl as DotMenu,
|
|
4205
|
-
|
|
4208
|
+
hs as EditableLabel,
|
|
4206
4209
|
jl as FocusFirstDirective,
|
|
4207
4210
|
Ie as FormField,
|
|
4208
|
-
|
|
4209
|
-
|
|
4211
|
+
ci as FormLayout,
|
|
4212
|
+
fi as FormSection,
|
|
4210
4213
|
te as Icon,
|
|
4211
4214
|
z as IconNames,
|
|
4212
4215
|
X as IconSize,
|
|
4213
4216
|
gn as Input,
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4217
|
+
yi as InputSelect,
|
|
4218
|
+
Ei as InputSlider,
|
|
4219
|
+
Di as InputText,
|
|
4220
|
+
Ti as InputTextArea,
|
|
4218
4221
|
El as LinkButton,
|
|
4219
4222
|
Ul as LoadingDirective,
|
|
4220
4223
|
Dl as Menu,
|
|
4221
4224
|
Tl as MenuAction,
|
|
4222
4225
|
xt as NotificationComponent,
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4226
|
+
es as Notifications,
|
|
4227
|
+
da as Page,
|
|
4228
|
+
ma as Paginator,
|
|
4229
|
+
ps as Radio,
|
|
4227
4230
|
Pl as ResizeDirective,
|
|
4228
|
-
|
|
4231
|
+
ba as SearchField,
|
|
4229
4232
|
pn as Select,
|
|
4230
|
-
|
|
4231
|
-
|
|
4233
|
+
wa as Separator,
|
|
4234
|
+
Yi as Shell,
|
|
4232
4235
|
bn as ShellNavigation,
|
|
4233
|
-
|
|
4234
|
-
|
|
4236
|
+
Ii as ShellNavigationItem,
|
|
4237
|
+
Ia as Skeleton,
|
|
4235
4238
|
fn as Spinner,
|
|
4236
|
-
|
|
4237
|
-
|
|
4239
|
+
xa as Tab,
|
|
4240
|
+
La as TabView,
|
|
4238
4241
|
hn as TextArea,
|
|
4239
|
-
|
|
4242
|
+
Ma as Timer,
|
|
4240
4243
|
vn as TooltipDirective,
|
|
4241
|
-
|
|
4242
|
-
|
|
4244
|
+
ei as Upload,
|
|
4245
|
+
Vs as VjComponents,
|
|
4243
4246
|
Jt as VjDialogControllerKey,
|
|
4244
|
-
|
|
4247
|
+
ts as VjNavigationProviderKey,
|
|
4245
4248
|
Bl as compactDirective,
|
|
4246
|
-
|
|
4247
|
-
|
|
4249
|
+
gs as configureVueUI,
|
|
4250
|
+
us as dialogService,
|
|
4248
4251
|
Ut as getVueUIConfig,
|
|
4249
4252
|
at as iconRegistry,
|
|
4250
4253
|
Nt as notificationService,
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4254
|
+
bs as resetVueUIConfig,
|
|
4255
|
+
rs as useAsideService,
|
|
4256
|
+
ws as useDebounce,
|
|
4257
|
+
_s as useDialog,
|
|
4258
|
+
xs as useDialogController,
|
|
4259
|
+
ks as useFlow,
|
|
4260
|
+
os as useRouterNavigationProvider,
|
|
4261
|
+
ys as useStaticNavigationProvider
|
|
4259
4262
|
};
|