@amirjalili1374/ui-kit 1.3.7 → 1.3.8
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/components/layout/AppSidebar.vue.d.ts +3 -38
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/ui-kit.cjs.js +2 -2
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +146 -210
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -12595,8 +12595,8 @@ const _hoisted_1$b = { class: "ca-item-title" };
|
|
|
12595
12595
|
const _hoisted_2$6 = { class: "ca-item-subtitle" };
|
|
12596
12596
|
const _hoisted_3$6 = { class: "ca-group-tooltip" };
|
|
12597
12597
|
const _hoisted_4$4 = { class: "ca-group-tooltip-header" };
|
|
12598
|
-
const _hoisted_5$
|
|
12599
|
-
const _hoisted_6$
|
|
12598
|
+
const _hoisted_5$3 = { class: "ca-group-count" };
|
|
12599
|
+
const _hoisted_6$2 = { class: "ca-group-members" };
|
|
12600
12600
|
const _hoisted_7$2 = { class: "ca-item-title" };
|
|
12601
12601
|
const _hoisted_8$2 = { class: "ca-item-subtitle" };
|
|
12602
12602
|
const _hoisted_9$2 = { class: "ca-chip-title" };
|
|
@@ -12749,9 +12749,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
12749
12749
|
createElementVNode("div", _hoisted_3$6, [
|
|
12750
12750
|
createElementVNode("div", _hoisted_4$4, [
|
|
12751
12751
|
createElementVNode("strong", null, toDisplayString(resolveTitle(item.raw ?? item)), 1),
|
|
12752
|
-
createElementVNode("span", _hoisted_5$
|
|
12752
|
+
createElementVNode("span", _hoisted_5$3, toDisplayString(getGroupMembers(item.raw ?? item).length) + " آیتم", 1)
|
|
12753
12753
|
]),
|
|
12754
|
-
createElementVNode("div", _hoisted_6$
|
|
12754
|
+
createElementVNode("div", _hoisted_6$2, [
|
|
12755
12755
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupMembers(item.raw ?? item), (member, idx) => {
|
|
12756
12756
|
return openBlock(), createElementBlock("div", {
|
|
12757
12757
|
key: `${resolveValue(member)}-${idx}`,
|
|
@@ -16666,11 +16666,11 @@ const _hoisted_4$3 = {
|
|
|
16666
16666
|
key: 3,
|
|
16667
16667
|
class: "selection-actions"
|
|
16668
16668
|
};
|
|
16669
|
-
const _hoisted_5$
|
|
16669
|
+
const _hoisted_5$2 = {
|
|
16670
16670
|
key: 0,
|
|
16671
16671
|
class: "selected-actions"
|
|
16672
16672
|
};
|
|
16673
|
-
const _hoisted_6$
|
|
16673
|
+
const _hoisted_6$1 = {
|
|
16674
16674
|
key: 0,
|
|
16675
16675
|
class: "me-1"
|
|
16676
16676
|
};
|
|
@@ -17601,7 +17601,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
17601
17601
|
appear: ""
|
|
17602
17602
|
}, {
|
|
17603
17603
|
default: withCtx(() => [
|
|
17604
|
-
props.bulkMode && hasValidSelection.value || props.enableGroupDelete && hasSelection.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
17604
|
+
props.bulkMode && hasValidSelection.value || props.enableGroupDelete && hasSelection.value ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
|
|
17605
17605
|
props.enableGroupDelete ? (openBlock(), createBlock(VBtn, {
|
|
17606
17606
|
key: 0,
|
|
17607
17607
|
color: "red",
|
|
@@ -17716,7 +17716,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
17716
17716
|
onClick: ($event) => button.onClick(item)
|
|
17717
17717
|
}, {
|
|
17718
17718
|
default: withCtx(() => [
|
|
17719
|
-
button.icon ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
17719
|
+
button.icon ? (openBlock(), createElementBlock("span", _hoisted_6$1, toDisplayString(button.icon), 1)) : createCommentVNode("", true),
|
|
17720
17720
|
createTextVNode(" " + toDisplayString(button.label), 1)
|
|
17721
17721
|
]),
|
|
17722
17722
|
_: 2
|
|
@@ -19106,8 +19106,8 @@ const _hoisted_4$2 = {
|
|
|
19106
19106
|
key: 0,
|
|
19107
19107
|
class: "zoom-controls"
|
|
19108
19108
|
};
|
|
19109
|
-
const _hoisted_5$
|
|
19110
|
-
const _hoisted_6
|
|
19109
|
+
const _hoisted_5$1 = { class: "zoom-level" };
|
|
19110
|
+
const _hoisted_6 = {
|
|
19111
19111
|
key: 1,
|
|
19112
19112
|
class: "navigation-controls"
|
|
19113
19113
|
};
|
|
@@ -19368,7 +19368,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent$1({
|
|
|
19368
19368
|
]),
|
|
19369
19369
|
_: 1
|
|
19370
19370
|
}, 8, ["disabled"]),
|
|
19371
|
-
createElementVNode("span", _hoisted_5$
|
|
19371
|
+
createElementVNode("span", _hoisted_5$1, toDisplayString(Math.round(zoom.value * 100)) + "%", 1),
|
|
19372
19372
|
createVNode(VBtn, {
|
|
19373
19373
|
size: "small",
|
|
19374
19374
|
variant: "text",
|
|
@@ -19399,7 +19399,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent$1({
|
|
|
19399
19399
|
_: 1
|
|
19400
19400
|
})
|
|
19401
19401
|
])) : createCommentVNode("", true),
|
|
19402
|
-
__props.showNavigationControls ? (openBlock(), createElementBlock("div", _hoisted_6
|
|
19402
|
+
__props.showNavigationControls ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
19403
19403
|
createVNode(VBtn, {
|
|
19404
19404
|
size: "small",
|
|
19405
19405
|
variant: "text",
|
|
@@ -38334,24 +38334,18 @@ const VNavigationDrawer = genericComponent()({
|
|
|
38334
38334
|
}
|
|
38335
38335
|
});
|
|
38336
38336
|
const _hoisted_1$2 = { class: "logo d-flex align-center pa-4" };
|
|
38337
|
-
const _hoisted_2$1 =
|
|
38338
|
-
|
|
38339
|
-
|
|
38340
|
-
};
|
|
38341
|
-
const _hoisted_3$1 = ["innerHTML"];
|
|
38342
|
-
const _hoisted_4$1 = ["src"];
|
|
38343
|
-
const _hoisted_5$1 = {
|
|
38344
|
-
key: 3,
|
|
38337
|
+
const _hoisted_2$1 = ["src"];
|
|
38338
|
+
const _hoisted_3$1 = {
|
|
38339
|
+
key: 1,
|
|
38345
38340
|
class: "logo-text text-h6 ms-2"
|
|
38346
38341
|
};
|
|
38347
|
-
const
|
|
38342
|
+
const _hoisted_4$1 = ["src"];
|
|
38348
38343
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
38349
38344
|
__name: "AppSidebar",
|
|
38350
38345
|
props: {
|
|
38351
38346
|
menuItems: { default: () => [] },
|
|
38352
38347
|
logo: {},
|
|
38353
38348
|
logoLight: {},
|
|
38354
|
-
logoSvg: {},
|
|
38355
38349
|
logoText: {},
|
|
38356
38350
|
miniSidebar: { type: Boolean, default: false },
|
|
38357
38351
|
permanent: { type: Boolean, default: true },
|
|
@@ -38359,11 +38353,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
38359
38353
|
rail: { type: Boolean, default: false },
|
|
38360
38354
|
location: { default: "left" },
|
|
38361
38355
|
width: { default: 265 },
|
|
38362
|
-
railWidth: { default: 75 }
|
|
38363
|
-
containerClass: { default: "" },
|
|
38364
|
-
hideDefaultLogo: { type: Boolean, default: false },
|
|
38365
|
-
debugBorders: { type: Boolean, default: false },
|
|
38366
|
-
preset: { default: "default" }
|
|
38356
|
+
railWidth: { default: 75 }
|
|
38367
38357
|
},
|
|
38368
38358
|
setup(__props) {
|
|
38369
38359
|
const props = __props;
|
|
@@ -38371,19 +38361,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
38371
38361
|
const route = useRoute$1();
|
|
38372
38362
|
const router = useRouter$1();
|
|
38373
38363
|
const isMini = computed(() => props.miniSidebar || customizer.mini_sidebar);
|
|
38374
|
-
const isLogoSvgString = computed(() => typeof props.logoSvg === "string" && !!props.logoSvg);
|
|
38375
|
-
const isLogoSvgComponent = computed(() => typeof props.logoSvg !== "string" && !!props.logoSvg);
|
|
38376
38364
|
const drawer = computed({
|
|
38377
38365
|
get: () => customizer.Sidebar_drawer,
|
|
38378
38366
|
set: (val2) => customizer.SET_SIDEBAR_DRAWER(val2)
|
|
38379
38367
|
});
|
|
38380
|
-
const resolvedLocation = computed(() => props.preset === "right-mini" ? "right" : props.location);
|
|
38381
|
-
const resolvedMini = computed(() => props.preset === "right-mini" ? true : isMini.value);
|
|
38382
|
-
const resolvedPermanent = computed(() => props.preset === "right-mini" ? true : props.permanent);
|
|
38383
|
-
const resolvedTemporary = computed(() => props.preset === "right-mini" ? false : props.temporary);
|
|
38384
|
-
const resolvedRailWidth = computed(() => props.preset === "right-mini" ? props.railWidth ?? 80 : props.railWidth);
|
|
38385
38368
|
const navigationDrawerWidth = computed(
|
|
38386
|
-
() =>
|
|
38369
|
+
() => isMini.value ? props.railWidth : props.width
|
|
38387
38370
|
);
|
|
38388
38371
|
const handleClick = (item) => {
|
|
38389
38372
|
if (item.disabled) return;
|
|
@@ -38402,58 +38385,33 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
38402
38385
|
return openBlock(), createBlock(VNavigationDrawer, {
|
|
38403
38386
|
modelValue: drawer.value,
|
|
38404
38387
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => drawer.value = $event),
|
|
38405
|
-
permanent:
|
|
38406
|
-
temporary:
|
|
38407
|
-
rail: __props.rail ||
|
|
38388
|
+
permanent: __props.permanent && !__props.temporary,
|
|
38389
|
+
temporary: __props.temporary,
|
|
38390
|
+
rail: __props.rail || isMini.value && !expandOnHover.value,
|
|
38408
38391
|
"expand-on-hover": expandOnHover.value,
|
|
38409
|
-
location:
|
|
38392
|
+
location: __props.location,
|
|
38410
38393
|
width: navigationDrawerWidth.value,
|
|
38411
|
-
class: normalizeClass([[
|
|
38412
|
-
"app-sidebar leftSidebar",
|
|
38413
|
-
{
|
|
38414
|
-
"mini-sidebar": resolvedMini.value,
|
|
38415
|
-
"debug-borders": __props.debugBorders,
|
|
38416
|
-
"rightSidebar": resolvedLocation.value === "right",
|
|
38417
|
-
"sidebar-closed": !drawer.value
|
|
38418
|
-
},
|
|
38419
|
-
__props.containerClass
|
|
38420
|
-
], "border-0"])
|
|
38394
|
+
class: normalizeClass([["leftSidebar", { "mini-sidebar": isMini.value }], "border-0"])
|
|
38421
38395
|
}, {
|
|
38422
38396
|
default: withCtx(() => [
|
|
38423
38397
|
createElementVNode("div", _hoisted_1$2, [
|
|
38424
|
-
|
|
38425
|
-
|
|
38426
|
-
|
|
38427
|
-
|
|
38428
|
-
|
|
38429
|
-
|
|
38430
|
-
|
|
38431
|
-
|
|
38432
|
-
|
|
38433
|
-
|
|
38434
|
-
|
|
38435
|
-
|
|
38436
|
-
|
|
38437
|
-
|
|
38438
|
-
|
|
38439
|
-
|
|
38440
|
-
|
|
38441
|
-
src: unref(customizer).themeMode === "dark" && __props.logoLight ? __props.logoLight : __props.logo,
|
|
38442
|
-
alt: "Logo",
|
|
38443
|
-
class: "logo-img",
|
|
38444
|
-
style: { "max-height": "40px", "max-width": "100%" }
|
|
38445
|
-
}, null, 8, _hoisted_4$1)) : createCommentVNode("", true),
|
|
38446
|
-
__props.logoText && !isMini.value ? (openBlock(), createElementBlock("span", _hoisted_5$1, toDisplayString(__props.logoText), 1)) : createCommentVNode("", true),
|
|
38447
|
-
!__props.logoSvg && __props.logo && isMini.value ? (openBlock(), createElementBlock("img", {
|
|
38448
|
-
key: 4,
|
|
38449
|
-
src: unref(customizer).themeMode === "dark" && __props.logoLight ? __props.logoLight : __props.logo,
|
|
38450
|
-
alt: "Logo",
|
|
38451
|
-
class: "logo-img-mini",
|
|
38452
|
-
style: { "height": "40px", "width": "40px", "object-fit": "contain" }
|
|
38453
|
-
}, null, 8, _hoisted_6)) : createCommentVNode("", true)
|
|
38454
|
-
], 64)) : (openBlock(), createBlock(VSpacer, { key: 1 }))
|
|
38455
|
-
])) : createCommentVNode("", true)
|
|
38456
|
-
], true)
|
|
38398
|
+
__props.logo || __props.logoText ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
38399
|
+
__props.logo && !isMini.value ? (openBlock(), createElementBlock("img", {
|
|
38400
|
+
key: 0,
|
|
38401
|
+
src: unref(customizer).themeMode === "dark" && __props.logoLight ? __props.logoLight : __props.logo,
|
|
38402
|
+
alt: "Logo",
|
|
38403
|
+
class: "logo-img",
|
|
38404
|
+
style: { "max-height": "40px", "max-width": "100%" }
|
|
38405
|
+
}, null, 8, _hoisted_2$1)) : createCommentVNode("", true),
|
|
38406
|
+
__props.logoText && !isMini.value ? (openBlock(), createElementBlock("span", _hoisted_3$1, toDisplayString(__props.logoText), 1)) : createCommentVNode("", true),
|
|
38407
|
+
__props.logo && isMini.value ? (openBlock(), createElementBlock("img", {
|
|
38408
|
+
key: 2,
|
|
38409
|
+
src: unref(customizer).themeMode === "dark" && __props.logoLight ? __props.logoLight : __props.logo,
|
|
38410
|
+
alt: "Logo",
|
|
38411
|
+
class: "logo-img-mini",
|
|
38412
|
+
style: { "height": "40px", "width": "40px", "object-fit": "contain" }
|
|
38413
|
+
}, null, 8, _hoisted_4$1)) : createCommentVNode("", true)
|
|
38414
|
+
], 64)) : (openBlock(), createBlock(VSpacer, { key: 1 }))
|
|
38457
38415
|
]),
|
|
38458
38416
|
createVNode(VDivider),
|
|
38459
38417
|
createVNode(unref(C), {
|
|
@@ -38461,167 +38419,145 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
38461
38419
|
options: { wheelSpeed: 1, swipeEasing: true, suppressScrollX: true }
|
|
38462
38420
|
}, {
|
|
38463
38421
|
default: withCtx(() => [
|
|
38464
|
-
|
|
38465
|
-
|
|
38466
|
-
|
|
38467
|
-
|
|
38468
|
-
|
|
38469
|
-
|
|
38470
|
-
|
|
38471
|
-
|
|
38472
|
-
|
|
38473
|
-
|
|
38474
|
-
|
|
38475
|
-
|
|
38476
|
-
item.
|
|
38477
|
-
|
|
38478
|
-
|
|
38479
|
-
|
|
38480
|
-
|
|
38481
|
-
|
|
38482
|
-
|
|
38483
|
-
|
|
38484
|
-
|
|
38485
|
-
|
|
38486
|
-
|
|
38487
|
-
|
|
38488
|
-
|
|
38489
|
-
|
|
38490
|
-
|
|
38491
|
-
|
|
38422
|
+
createVNode(VList, {
|
|
38423
|
+
lines: false,
|
|
38424
|
+
class: "pa-0"
|
|
38425
|
+
}, {
|
|
38426
|
+
default: withCtx(() => [
|
|
38427
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.menuItems, (item, index2) => {
|
|
38428
|
+
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
38429
|
+
item.divider ? (openBlock(), createBlock(VDivider, {
|
|
38430
|
+
key: 0,
|
|
38431
|
+
class: "my-2"
|
|
38432
|
+
})) : item.items && item.items.length > 0 ? (openBlock(), createBlock(VListGroup, {
|
|
38433
|
+
key: 1,
|
|
38434
|
+
value: item.items.some((child) => isActive(child))
|
|
38435
|
+
}, {
|
|
38436
|
+
activator: withCtx(({ props: groupProps }) => [
|
|
38437
|
+
createVNode(VListItem, mergeProps({ ref_for: true }, groupProps, {
|
|
38438
|
+
disabled: item.disabled,
|
|
38439
|
+
"prepend-icon": item.icon
|
|
38440
|
+
}), createSlots({
|
|
38441
|
+
default: withCtx(() => [
|
|
38442
|
+
createVNode(VListItemTitle, null, {
|
|
38443
|
+
default: withCtx(() => [
|
|
38444
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
38445
|
+
]),
|
|
38446
|
+
_: 2
|
|
38447
|
+
}, 1024)
|
|
38448
|
+
]),
|
|
38449
|
+
_: 2
|
|
38450
|
+
}, [
|
|
38451
|
+
item.chip ? {
|
|
38452
|
+
name: "append",
|
|
38453
|
+
fn: withCtx(() => [
|
|
38454
|
+
createVNode(VChip, {
|
|
38455
|
+
color: item.chip.color || "primary",
|
|
38456
|
+
size: "small",
|
|
38457
|
+
class: "ms-2"
|
|
38458
|
+
}, {
|
|
38459
|
+
default: withCtx(() => [
|
|
38460
|
+
createTextVNode(toDisplayString(item.chip.content), 1)
|
|
38461
|
+
]),
|
|
38462
|
+
_: 2
|
|
38463
|
+
}, 1032, ["color"])
|
|
38492
38464
|
]),
|
|
38465
|
+
key: "0"
|
|
38466
|
+
} : void 0
|
|
38467
|
+
]), 1040, ["disabled", "prepend-icon"])
|
|
38468
|
+
]),
|
|
38469
|
+
default: withCtx(() => [
|
|
38470
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (child, childIndex) => {
|
|
38471
|
+
return openBlock(), createBlock(VListItem, {
|
|
38472
|
+
key: childIndex,
|
|
38473
|
+
to: child.to,
|
|
38474
|
+
href: child.href,
|
|
38475
|
+
disabled: child.disabled,
|
|
38476
|
+
active: isActive(child),
|
|
38477
|
+
"prepend-icon": child.icon,
|
|
38478
|
+
onClick: ($event) => handleClick(child)
|
|
38479
|
+
}, createSlots({
|
|
38493
38480
|
default: withCtx(() => [
|
|
38494
38481
|
createVNode(VListItemTitle, null, {
|
|
38495
38482
|
default: withCtx(() => [
|
|
38496
|
-
createTextVNode(toDisplayString(
|
|
38483
|
+
createTextVNode(toDisplayString(child.title), 1)
|
|
38497
38484
|
]),
|
|
38498
38485
|
_: 2
|
|
38499
38486
|
}, 1024)
|
|
38500
38487
|
]),
|
|
38501
38488
|
_: 2
|
|
38502
38489
|
}, [
|
|
38503
|
-
|
|
38490
|
+
child.chip ? {
|
|
38504
38491
|
name: "append",
|
|
38505
38492
|
fn: withCtx(() => [
|
|
38506
38493
|
createVNode(VChip, {
|
|
38507
|
-
color:
|
|
38494
|
+
color: child.chip.color || "primary",
|
|
38508
38495
|
size: "small",
|
|
38509
38496
|
class: "ms-2"
|
|
38510
38497
|
}, {
|
|
38511
38498
|
default: withCtx(() => [
|
|
38512
|
-
createTextVNode(toDisplayString(
|
|
38499
|
+
createTextVNode(toDisplayString(child.chip.content), 1)
|
|
38513
38500
|
]),
|
|
38514
38501
|
_: 2
|
|
38515
38502
|
}, 1032, ["color"])
|
|
38516
38503
|
]),
|
|
38517
38504
|
key: "0"
|
|
38518
38505
|
} : void 0
|
|
38519
|
-
]),
|
|
38520
|
-
|
|
38521
|
-
|
|
38522
|
-
|
|
38523
|
-
|
|
38524
|
-
|
|
38525
|
-
|
|
38526
|
-
|
|
38527
|
-
|
|
38528
|
-
|
|
38529
|
-
|
|
38530
|
-
|
|
38531
|
-
|
|
38532
|
-
|
|
38533
|
-
|
|
38534
|
-
|
|
38535
|
-
|
|
38536
|
-
|
|
38537
|
-
|
|
38538
|
-
|
|
38539
|
-
|
|
38540
|
-
|
|
38541
|
-
|
|
38542
|
-
|
|
38543
|
-
|
|
38544
|
-
|
|
38545
|
-
|
|
38546
|
-
|
|
38547
|
-
|
|
38548
|
-
|
|
38549
|
-
|
|
38550
|
-
createVNode(VChip, {
|
|
38551
|
-
color: child.chip.color || "primary",
|
|
38552
|
-
size: "small",
|
|
38553
|
-
class: "ms-2"
|
|
38554
|
-
}, {
|
|
38555
|
-
default: withCtx(() => [
|
|
38556
|
-
createTextVNode(toDisplayString(child.chip.content), 1)
|
|
38557
|
-
]),
|
|
38558
|
-
_: 2
|
|
38559
|
-
}, 1032, ["color"])
|
|
38560
|
-
]),
|
|
38561
|
-
key: "0"
|
|
38562
|
-
} : void 0
|
|
38563
|
-
]), 1032, ["to", "href", "disabled", "active", "onClick"]);
|
|
38564
|
-
}), 128))
|
|
38565
|
-
]),
|
|
38566
|
-
_: 2
|
|
38567
|
-
}, 1032, ["value"])) : (openBlock(), createBlock(VListItem, {
|
|
38568
|
-
key: 2,
|
|
38569
|
-
to: item.to,
|
|
38570
|
-
href: item.href,
|
|
38571
|
-
disabled: item.disabled,
|
|
38572
|
-
active: isActive(item),
|
|
38573
|
-
onClick: ($event) => handleClick(item)
|
|
38574
|
-
}, createSlots({
|
|
38575
|
-
prepend: withCtx(() => [
|
|
38576
|
-
typeof item.icon === "string" ? (openBlock(), createBlock(VIcon, {
|
|
38577
|
-
key: 0,
|
|
38578
|
-
icon: item.icon
|
|
38579
|
-
}, null, 8, ["icon"])) : item.icon ? (openBlock(), createBlock(resolveDynamicComponent(item.icon), { key: 1 })) : createCommentVNode("", true)
|
|
38580
|
-
]),
|
|
38581
|
-
default: withCtx(() => [
|
|
38582
|
-
createVNode(VListItemTitle, null, {
|
|
38506
|
+
]), 1032, ["to", "href", "disabled", "active", "prepend-icon", "onClick"]);
|
|
38507
|
+
}), 128))
|
|
38508
|
+
]),
|
|
38509
|
+
_: 2
|
|
38510
|
+
}, 1032, ["value"])) : (openBlock(), createBlock(VListItem, {
|
|
38511
|
+
key: 2,
|
|
38512
|
+
to: item.to,
|
|
38513
|
+
href: item.href,
|
|
38514
|
+
disabled: item.disabled,
|
|
38515
|
+
active: isActive(item),
|
|
38516
|
+
"prepend-icon": item.icon,
|
|
38517
|
+
onClick: ($event) => handleClick(item)
|
|
38518
|
+
}, createSlots({
|
|
38519
|
+
default: withCtx(() => [
|
|
38520
|
+
createVNode(VListItemTitle, null, {
|
|
38521
|
+
default: withCtx(() => [
|
|
38522
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
38523
|
+
]),
|
|
38524
|
+
_: 2
|
|
38525
|
+
}, 1024)
|
|
38526
|
+
]),
|
|
38527
|
+
_: 2
|
|
38528
|
+
}, [
|
|
38529
|
+
item.chip ? {
|
|
38530
|
+
name: "append",
|
|
38531
|
+
fn: withCtx(() => [
|
|
38532
|
+
createVNode(VChip, {
|
|
38533
|
+
color: item.chip.color || "primary",
|
|
38534
|
+
size: "small",
|
|
38535
|
+
class: "ms-2"
|
|
38536
|
+
}, {
|
|
38583
38537
|
default: withCtx(() => [
|
|
38584
|
-
createTextVNode(toDisplayString(item.
|
|
38538
|
+
createTextVNode(toDisplayString(item.chip.content), 1)
|
|
38585
38539
|
]),
|
|
38586
38540
|
_: 2
|
|
38587
|
-
},
|
|
38541
|
+
}, 1032, ["color"])
|
|
38588
38542
|
]),
|
|
38589
|
-
|
|
38590
|
-
}
|
|
38591
|
-
|
|
38592
|
-
|
|
38593
|
-
|
|
38594
|
-
|
|
38595
|
-
|
|
38596
|
-
|
|
38597
|
-
class: "ms-2"
|
|
38598
|
-
}, {
|
|
38599
|
-
default: withCtx(() => [
|
|
38600
|
-
createTextVNode(toDisplayString(item.chip.content), 1)
|
|
38601
|
-
]),
|
|
38602
|
-
_: 2
|
|
38603
|
-
}, 1032, ["color"])
|
|
38604
|
-
]),
|
|
38605
|
-
key: "0"
|
|
38606
|
-
} : void 0
|
|
38607
|
-
]), 1032, ["to", "href", "disabled", "active", "onClick"]))
|
|
38608
|
-
], 64);
|
|
38609
|
-
}), 128))
|
|
38610
|
-
]),
|
|
38611
|
-
_: 1
|
|
38612
|
-
})
|
|
38613
|
-
], true)
|
|
38543
|
+
key: "0"
|
|
38544
|
+
} : void 0
|
|
38545
|
+
]), 1032, ["to", "href", "disabled", "active", "prepend-icon", "onClick"]))
|
|
38546
|
+
], 64);
|
|
38547
|
+
}), 128))
|
|
38548
|
+
]),
|
|
38549
|
+
_: 1
|
|
38550
|
+
})
|
|
38614
38551
|
]),
|
|
38615
|
-
_:
|
|
38616
|
-
})
|
|
38617
|
-
renderSlot(_ctx.$slots, "bottom", {}, void 0, true)
|
|
38552
|
+
_: 1
|
|
38553
|
+
})
|
|
38618
38554
|
]),
|
|
38619
|
-
_:
|
|
38555
|
+
_: 1
|
|
38620
38556
|
}, 8, ["modelValue", "permanent", "temporary", "rail", "expand-on-hover", "location", "width", "class"]);
|
|
38621
38557
|
};
|
|
38622
38558
|
}
|
|
38623
38559
|
});
|
|
38624
|
-
const AppSidebar = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-
|
|
38560
|
+
const AppSidebar = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-b3040226"]]);
|
|
38625
38561
|
const makeVToolbarTitleProps = propsFactory({
|
|
38626
38562
|
text: String,
|
|
38627
38563
|
...makeComponentProps(),
|