bt-core-app 2.2.4 → 2.2.5

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.
Files changed (126) hide show
  1. package/dist/_virtual/VAlert.sass.mjs +1 -0
  2. package/dist/_virtual/VAvatar.sass.mjs +1 -0
  3. package/dist/_virtual/VBtn.sass.mjs +1 -0
  4. package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
  5. package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
  6. package/dist/_virtual/VCard.sass.mjs +1 -0
  7. package/dist/_virtual/VDivider.sass.mjs +1 -0
  8. package/dist/_virtual/VIcon.sass.mjs +1 -0
  9. package/dist/_virtual/VImg.sass.mjs +1 -0
  10. package/dist/_virtual/VList.sass.mjs +1 -0
  11. package/dist/_virtual/VListItem.sass.mjs +1 -0
  12. package/dist/_virtual/VMenu.sass.mjs +1 -0
  13. package/dist/_virtual/VOverlay.sass.mjs +1 -0
  14. package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
  15. package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
  16. package/dist/_virtual/VResponsive.sass.mjs +1 -0
  17. package/dist/_virtual/VRipple.sass.mjs +1 -0
  18. package/dist/_virtual/VToolbar.sass.mjs +1 -0
  19. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
  20. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
  21. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
  22. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
  23. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
  24. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
  25. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
  26. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
  27. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
  28. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
  29. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
  30. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
  31. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
  32. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
  33. package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
  34. package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
  35. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
  36. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
  37. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
  38. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
  39. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
  40. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
  41. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
  42. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
  43. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
  44. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
  45. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
  46. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
  47. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
  48. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
  49. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
  50. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
  51. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
  52. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
  53. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
  54. package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
  55. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
  56. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
  57. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
  58. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
  59. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
  60. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +21 -0
  61. package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
  62. package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
  63. package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
  64. package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
  65. package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
  66. package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
  67. package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
  68. package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +23 -0
  69. package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
  70. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
  71. package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
  72. package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
  73. package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
  74. package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
  75. package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
  76. package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
  77. package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
  78. package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +33 -0
  79. package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
  80. package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
  81. package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
  82. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
  83. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
  84. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
  85. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
  86. package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
  87. package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
  88. package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
  89. package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
  90. package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
  91. package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
  92. package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
  93. package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
  94. package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
  95. package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
  96. package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
  97. package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
  98. package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
  99. package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
  100. package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
  101. package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
  102. package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
  103. package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
  104. package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
  105. package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
  106. package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
  107. package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
  108. package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
  109. package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
  110. package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
  111. package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +141 -0
  112. package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
  113. package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
  114. package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
  115. package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
  116. package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +7 -0
  117. package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
  118. package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
  119. package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +7 -0
  120. package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +301 -28
  121. package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
  122. package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
  123. package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
  124. package/dist/components/BT-Blade.vue.mjs +108 -97
  125. package/dist/style.css +1 -1
  126. package/package.json +1 -1
@@ -0,0 +1,129 @@
1
+ import { computed as l, inject as y, toRef as S, createVNode as i, normalizeClass as L, normalizeStyle as N, withDirectives as _, createElementVNode as v, vShow as G } from "vue";
2
+ import { VExpandTransition as P } from "../transitions/index.mjs";
3
+ import { useList as T } from "./list.mjs";
4
+ import { makeComponentProps as h } from "../../composables/component.mjs";
5
+ import { IconValue as n } from "../../composables/icons.mjs";
6
+ import { useNestedGroupActivator as x, useNestedItem as A, VNestedSymbol as B } from "../../composables/nested/nested.mjs";
7
+ import { useSsrBoot as k } from "../../composables/ssrBoot.mjs";
8
+ import { makeTagProps as w } from "../../composables/tag.mjs";
9
+ import { MaybeTransition as E } from "../../composables/transition.mjs";
10
+ import { VDefaultsProvider as R } from "../VDefaultsProvider/VDefaultsProvider.mjs";
11
+ import { defineComponent as D, genericComponent as $ } from "../../util/defineComponent.mjs";
12
+ import { propsFactory as z } from "../../util/propsFactory.mjs";
13
+ import { useRender as O } from "../../util/useRender.mjs";
14
+ const j = D({
15
+ name: "VListGroupActivator",
16
+ setup(e, u) {
17
+ let {
18
+ slots: o
19
+ } = u;
20
+ return x(), () => {
21
+ var t;
22
+ return (t = o.default) == null ? void 0 : t.call(o);
23
+ };
24
+ }
25
+ }), F = z({
26
+ /* @deprecated */
27
+ activeColor: String,
28
+ baseColor: String,
29
+ color: String,
30
+ collapseIcon: {
31
+ type: n,
32
+ default: "$collapse"
33
+ },
34
+ disabled: Boolean,
35
+ expandIcon: {
36
+ type: n,
37
+ default: "$expand"
38
+ },
39
+ rawId: [String, Number],
40
+ prependIcon: n,
41
+ appendIcon: n,
42
+ fluid: Boolean,
43
+ subgroup: Boolean,
44
+ title: String,
45
+ value: null,
46
+ ...h(),
47
+ ...w()
48
+ }, "VListGroup"), te = $()({
49
+ name: "VListGroup",
50
+ props: F(),
51
+ setup(e, u) {
52
+ let {
53
+ slots: o
54
+ } = u;
55
+ const {
56
+ isOpen: t,
57
+ open: p,
58
+ id: f
59
+ } = A(() => e.value, () => e.disabled, !0), s = l(() => `v-list-group--id-${String(e.rawId ?? f.value)}`), d = T(), {
60
+ isBooted: g
61
+ } = k(), c = y(B), b = S(() => {
62
+ var a;
63
+ return ((a = c == null ? void 0 : c.root) == null ? void 0 : a.itemsRegistration.value) === "render";
64
+ });
65
+ function I(a) {
66
+ var r;
67
+ ["INPUT", "TEXTAREA"].includes((r = a.target) == null ? void 0 : r.tagName) || p(!t.value, a);
68
+ }
69
+ const V = l(() => ({
70
+ onClick: I,
71
+ class: "v-list-group__header",
72
+ id: s.value
73
+ })), m = l(() => t.value ? e.collapseIcon : e.expandIcon), C = l(() => ({
74
+ VListItem: {
75
+ activeColor: e.activeColor,
76
+ baseColor: e.baseColor,
77
+ color: e.color,
78
+ prependIcon: e.prependIcon || e.subgroup && m.value,
79
+ appendIcon: e.appendIcon || !e.subgroup && m.value,
80
+ title: e.title,
81
+ value: e.value
82
+ }
83
+ }));
84
+ return O(() => i(e.tag, {
85
+ class: L(["v-list-group", {
86
+ "v-list-group--prepend": d == null ? void 0 : d.hasPrepend.value,
87
+ "v-list-group--fluid": e.fluid,
88
+ "v-list-group--subgroup": e.subgroup,
89
+ "v-list-group--open": t.value
90
+ }, e.class]),
91
+ style: N(e.style)
92
+ }, {
93
+ default: () => [o.activator && i(R, {
94
+ defaults: C.value
95
+ }, {
96
+ default: () => [i(j, null, {
97
+ default: () => [o.activator({
98
+ props: V.value,
99
+ isOpen: t.value
100
+ })]
101
+ })]
102
+ }), i(E, {
103
+ transition: {
104
+ component: P
105
+ },
106
+ disabled: !g.value
107
+ }, {
108
+ default: () => {
109
+ var a, r;
110
+ return [b.value ? _(v("div", {
111
+ class: "v-list-group__items",
112
+ role: "group",
113
+ "aria-labelledby": s.value
114
+ }, [(a = o.default) == null ? void 0 : a.call(o)]), [[G, t.value]]) : t.value && v("div", {
115
+ class: "v-list-group__items",
116
+ role: "group",
117
+ "aria-labelledby": s.value
118
+ }, [(r = o.default) == null ? void 0 : r.call(o)])];
119
+ }
120
+ })]
121
+ })), {
122
+ isOpen: t
123
+ };
124
+ }
125
+ });
126
+ export {
127
+ te as VListGroup,
128
+ F as makeVListGroupProps
129
+ };
@@ -0,0 +1,312 @@
1
+ import { ref as me, computed as o, toRef as f, watch as V, onBeforeMount as fe, nextTick as ke, withDirectives as ye, createVNode as r, mergeProps as be, createElementVNode as v, Fragment as L, toDisplayString as N } from "vue";
2
+ import "../../../../../../../_virtual/VListItem.sass.mjs";
3
+ import { VListItemSubtitle as ge } from "./VListItemSubtitle.mjs";
4
+ import { VListItemTitle as Ae } from "./VListItemTitle.mjs";
5
+ import { useList as Ie } from "./list.mjs";
6
+ import { makeBorderProps as pe, useBorder as Ce } from "../../composables/border.mjs";
7
+ import { makeComponentProps as Pe } from "../../composables/component.mjs";
8
+ import { makeDensityProps as Ve, useDensity as he } from "../../composables/density.mjs";
9
+ import { makeDimensionProps as Se, useDimension as Te } from "../../composables/dimensions.mjs";
10
+ import { makeElevationProps as xe, useElevation as Be } from "../../composables/elevation.mjs";
11
+ import { IconValue as D } from "../../composables/icons.mjs";
12
+ import { useNestedItem as Ee } from "../../composables/nested/nested.mjs";
13
+ import { makeRoundedProps as Le, useRounded as Ne } from "../../composables/rounded.mjs";
14
+ import { makeRouterProps as De, useLink as _e } from "../../composables/router.mjs";
15
+ import { makeTagProps as Re } from "../../composables/tag.mjs";
16
+ import { makeThemeProps as we, provideTheme as Oe } from "../../composables/theme.mjs";
17
+ import { makeVariantProps as Me, useVariant as $e, genOverlays as Ge } from "../../composables/variant.mjs";
18
+ import _ from "../../directives/ripple/index.mjs";
19
+ import { VAvatar as R } from "../VAvatar/VAvatar.mjs";
20
+ import { VIcon as w } from "../VIcon/VIcon.mjs";
21
+ import { VDefaultsProvider as O } from "../VDefaultsProvider/VDefaultsProvider.mjs";
22
+ import { propsFactory as Ue } from "../../util/propsFactory.mjs";
23
+ import { EventProp as M, convertToUnit as Fe } from "../../util/helpers.mjs";
24
+ import { genericComponent as Ke } from "../../util/defineComponent.mjs";
25
+ import { useRender as Xe } from "../../util/useRender.mjs";
26
+ import { deprecate as je } from "../../util/console.mjs";
27
+ const He = Ue({
28
+ active: {
29
+ type: Boolean,
30
+ default: void 0
31
+ },
32
+ activeClass: String,
33
+ /* @deprecated */
34
+ activeColor: String,
35
+ appendAvatar: String,
36
+ appendIcon: D,
37
+ baseColor: String,
38
+ disabled: Boolean,
39
+ lines: [Boolean, String],
40
+ link: {
41
+ type: Boolean,
42
+ default: void 0
43
+ },
44
+ nav: Boolean,
45
+ prependAvatar: String,
46
+ prependIcon: D,
47
+ ripple: {
48
+ type: [Boolean, Object],
49
+ default: !0
50
+ },
51
+ slim: Boolean,
52
+ prependGap: [Number, String],
53
+ subtitle: {
54
+ type: [String, Number, Boolean],
55
+ default: void 0
56
+ },
57
+ title: {
58
+ type: [String, Number, Boolean],
59
+ default: void 0
60
+ },
61
+ value: null,
62
+ index: Number,
63
+ tabindex: [Number, String],
64
+ onClick: M(),
65
+ onClickOnce: M(),
66
+ ...pe(),
67
+ ...Pe(),
68
+ ...Ve(),
69
+ ...Se(),
70
+ ...xe(),
71
+ ...Le(),
72
+ ...De(),
73
+ ...Re(),
74
+ ...we(),
75
+ ...Me({
76
+ variant: "text"
77
+ })
78
+ }, "VListItem"), It = Ke()({
79
+ name: "VListItem",
80
+ directives: {
81
+ vRipple: _
82
+ },
83
+ props: He(),
84
+ emits: {
85
+ click: (e) => !0
86
+ },
87
+ setup(e, $) {
88
+ let {
89
+ attrs: G,
90
+ slots: a,
91
+ emit: U
92
+ } = $;
93
+ const d = _e(e, G), A = me(), F = o(() => e.value === void 0 ? d.href.value : e.value), {
94
+ activate: h,
95
+ isActivated: k,
96
+ select: y,
97
+ isOpen: K,
98
+ isSelected: s,
99
+ isIndeterminate: X,
100
+ isGroupActivator: S,
101
+ root: u,
102
+ parent: T,
103
+ openOnSelect: j,
104
+ scrollToActive: H,
105
+ id: q
106
+ } = Ee(F, () => e.disabled, !1), i = Ie(), c = o(() => {
107
+ var t;
108
+ return e.active !== !1 && (e.active || ((t = d.isActive) == null ? void 0 : t.value) || (u.activatable.value ? k.value : s.value));
109
+ }), b = f(() => e.link !== !1 && d.isLink.value), I = o(() => !!i && (u.selectable.value || u.activatable.value || e.value != null)), m = o(() => !e.disabled && e.link !== !1 && (e.link || d.isClickable.value || I.value)), x = o(() => i && i.navigationStrategy.value === "track" && e.index !== void 0 && i.trackingIndex.value === e.index), z = o(() => i ? b.value ? "link" : I.value ? "option" : "listitem" : void 0), J = o(() => {
110
+ if (I.value)
111
+ return u.activatable.value ? k.value : u.selectable.value ? s.value : c.value;
112
+ }), Q = f(() => e.rounded || e.nav), W = f(() => e.color ?? e.activeColor), Y = f(() => ({
113
+ color: c.value ? W.value ?? e.baseColor : e.baseColor,
114
+ variant: e.variant
115
+ }));
116
+ V(() => {
117
+ var t;
118
+ return (t = d.isActive) == null ? void 0 : t.value;
119
+ }, (t) => {
120
+ t && B();
121
+ }), V(k, (t) => {
122
+ var n;
123
+ !t || !H || (n = A.value) == null || n.scrollIntoView({
124
+ block: "nearest",
125
+ behavior: "instant"
126
+ });
127
+ }), V(x, (t) => {
128
+ var n;
129
+ t && ((n = A.value) == null || n.scrollIntoView({
130
+ block: "nearest",
131
+ behavior: "instant"
132
+ }));
133
+ }), fe(() => {
134
+ var t;
135
+ (t = d.isActive) != null && t.value && ke(() => B());
136
+ });
137
+ function B() {
138
+ T.value != null && u.open(T.value, !0), j(!0);
139
+ }
140
+ const {
141
+ themeClasses: Z
142
+ } = Oe(e), {
143
+ borderClasses: ee
144
+ } = Ce(e), {
145
+ colorClasses: te,
146
+ colorStyles: ae,
147
+ variantClasses: ie
148
+ } = $e(Y), {
149
+ densityClasses: ne
150
+ } = he(e), {
151
+ dimensionStyles: le
152
+ } = Te(e), {
153
+ elevationClasses: de
154
+ } = Be(e), {
155
+ roundedClasses: ue
156
+ } = Ne(Q), re = f(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), oe = f(() => e.ripple !== void 0 && e.ripple && (i != null && i.filterable) ? {
157
+ keys: ["Enter"]
158
+ } : e.ripple), p = o(() => ({
159
+ isActive: c.value,
160
+ select: y,
161
+ isOpen: K.value,
162
+ isSelected: s.value,
163
+ isIndeterminate: X.value,
164
+ isDisabled: e.disabled
165
+ }));
166
+ function ve(t) {
167
+ var n, g, C;
168
+ U("click", t), !["INPUT", "TEXTAREA"].includes((n = t.target) == null ? void 0 : n.tagName) && m.value && ((C = (g = d.navigate).value) == null || C.call(g, t), !S && (u.activatable.value ? h(!k.value, t) : (u.selectable.value || e.value != null && !b.value) && y(!s.value, t)));
169
+ }
170
+ function se(t) {
171
+ const n = t.target;
172
+ ["INPUT", "TEXTAREA"].includes(n.tagName) || (t.key === "Enter" || t.key === " " && !(i != null && i.filterable)) && (t.preventDefault(), t.stopPropagation(), t.target.dispatchEvent(new MouseEvent("click", t)));
173
+ }
174
+ return Xe(() => {
175
+ const t = b.value ? "a" : e.tag, n = a.title || e.title != null, g = a.subtitle || e.subtitle != null, ce = !!(!!(e.appendAvatar || e.appendIcon) || a.append), P = !!(!!(e.prependAvatar || e.prependIcon) || a.prepend);
176
+ return i == null || i.updateHasPrepend(P), e.activeColor && je("active-color", ["color", "base-color"]), ye(r(t, be(d.linkProps, {
177
+ ref: A,
178
+ id: e.index !== void 0 && i ? `v-list-item-${i.uid}-${e.index}` : void 0,
179
+ class: ["v-list-item", {
180
+ "v-list-item--active": c.value,
181
+ "v-list-item--disabled": e.disabled,
182
+ "v-list-item--link": m.value,
183
+ "v-list-item--nav": e.nav,
184
+ "v-list-item--prepend": !P && (i == null ? void 0 : i.hasPrepend.value),
185
+ "v-list-item--slim": e.slim,
186
+ "v-list-item--focus-visible": x.value,
187
+ [`${e.activeClass}`]: e.activeClass && c.value
188
+ }, Z.value, ee.value, te.value, ne.value, de.value, re.value, ue.value, ie.value, e.class],
189
+ style: [{
190
+ "--v-list-prepend-gap": Fe(e.prependGap)
191
+ }, ae.value, le.value, e.style],
192
+ tabindex: e.tabindex ?? (m.value ? i ? -2 : 0 : void 0),
193
+ "aria-selected": J.value,
194
+ role: z.value,
195
+ onClick: ve,
196
+ onKeydown: m.value && !b.value && se
197
+ }), {
198
+ default: () => {
199
+ var E;
200
+ return [Ge(m.value || c.value, "v-list-item"), P && v("div", {
201
+ key: "prepend",
202
+ class: "v-list-item__prepend"
203
+ }, [a.prepend ? r(O, {
204
+ key: "prepend-defaults",
205
+ defaults: {
206
+ VAvatar: {
207
+ density: e.density,
208
+ image: e.prependAvatar
209
+ },
210
+ VIcon: {
211
+ density: e.density,
212
+ icon: e.prependIcon
213
+ },
214
+ VListItemAction: {
215
+ start: !0
216
+ },
217
+ VCheckboxBtn: {
218
+ density: e.density
219
+ }
220
+ }
221
+ }, {
222
+ default: () => {
223
+ var l;
224
+ return [(l = a.prepend) == null ? void 0 : l.call(a, p.value)];
225
+ }
226
+ }) : v(L, null, [e.prependAvatar && r(R, {
227
+ key: "prepend-avatar",
228
+ density: e.density,
229
+ image: e.prependAvatar
230
+ }, null), e.prependIcon && r(w, {
231
+ key: "prepend-icon",
232
+ density: e.density,
233
+ icon: e.prependIcon
234
+ }, null)]), v("div", {
235
+ class: "v-list-item__spacer"
236
+ }, null)]), v("div", {
237
+ class: "v-list-item__content",
238
+ "data-no-activator": ""
239
+ }, [n && r(Ae, {
240
+ key: "title"
241
+ }, {
242
+ default: () => {
243
+ var l;
244
+ return [((l = a.title) == null ? void 0 : l.call(a, {
245
+ title: e.title
246
+ })) ?? N(e.title)];
247
+ }
248
+ }), g && r(ge, {
249
+ key: "subtitle"
250
+ }, {
251
+ default: () => {
252
+ var l;
253
+ return [((l = a.subtitle) == null ? void 0 : l.call(a, {
254
+ subtitle: e.subtitle
255
+ })) ?? N(e.subtitle)];
256
+ }
257
+ }), (E = a.default) == null ? void 0 : E.call(a, p.value)]), ce && v("div", {
258
+ key: "append",
259
+ class: "v-list-item__append"
260
+ }, [a.append ? r(O, {
261
+ key: "append-defaults",
262
+ defaults: {
263
+ VAvatar: {
264
+ density: e.density,
265
+ image: e.appendAvatar
266
+ },
267
+ VIcon: {
268
+ density: e.density,
269
+ icon: e.appendIcon
270
+ },
271
+ VListItemAction: {
272
+ end: !0
273
+ },
274
+ VCheckboxBtn: {
275
+ density: e.density
276
+ }
277
+ }
278
+ }, {
279
+ default: () => {
280
+ var l;
281
+ return [(l = a.append) == null ? void 0 : l.call(a, p.value)];
282
+ }
283
+ }) : v(L, null, [e.appendIcon && r(w, {
284
+ key: "append-icon",
285
+ density: e.density,
286
+ icon: e.appendIcon
287
+ }, null), e.appendAvatar && r(R, {
288
+ key: "append-avatar",
289
+ density: e.density,
290
+ image: e.appendAvatar
291
+ }, null)]), v("div", {
292
+ class: "v-list-item__spacer"
293
+ }, null)])];
294
+ }
295
+ }), [[_, m.value && oe.value]]);
296
+ }), {
297
+ activate: h,
298
+ isActivated: k,
299
+ isGroupActivator: S,
300
+ isSelected: s,
301
+ list: i,
302
+ select: y,
303
+ root: u,
304
+ id: q,
305
+ link: d
306
+ };
307
+ }
308
+ });
309
+ export {
310
+ It as VListItem,
311
+ He as makeVListItemProps
312
+ };
@@ -0,0 +1,29 @@
1
+ import { createVNode as i, normalizeClass as m, normalizeStyle as r } from "vue";
2
+ import { makeComponentProps as s } from "../../composables/component.mjs";
3
+ import { makeTagProps as l } from "../../composables/tag.mjs";
4
+ import { propsFactory as a } from "../../util/propsFactory.mjs";
5
+ import { genericComponent as p } from "../../util/defineComponent.mjs";
6
+ import { useRender as n } from "../../util/useRender.mjs";
7
+ const c = a({
8
+ opacity: [Number, String],
9
+ ...s(),
10
+ ...l()
11
+ }, "VListItemSubtitle"), g = p()({
12
+ name: "VListItemSubtitle",
13
+ props: c(),
14
+ setup(t, e) {
15
+ let {
16
+ slots: o
17
+ } = e;
18
+ return n(() => i(t.tag, {
19
+ class: m(["v-list-item-subtitle", t.class]),
20
+ style: r([{
21
+ "--v-list-item-subtitle-opacity": t.opacity
22
+ }, t.style])
23
+ }, o)), {};
24
+ }
25
+ });
26
+ export {
27
+ g as VListItemSubtitle,
28
+ c as makeVListItemSubtitleProps
29
+ };
@@ -0,0 +1,5 @@
1
+ import { createSimpleFunctional as t } from "../../util/createSimpleFunctional.mjs";
2
+ const i = t("v-list-item-title");
3
+ export {
4
+ i as VListItemTitle
5
+ };
@@ -0,0 +1,50 @@
1
+ import { createVNode as l, normalizeClass as m, normalizeStyle as n, createElementVNode as u } from "vue";
2
+ import { useTextColor as c } from "../../composables/color.mjs";
3
+ import { makeComponentProps as d } from "../../composables/component.mjs";
4
+ import { makeTagProps as f } from "../../composables/tag.mjs";
5
+ import { propsFactory as h } from "../../util/propsFactory.mjs";
6
+ import { genericComponent as b } from "../../util/defineComponent.mjs";
7
+ import { useRender as y } from "../../util/useRender.mjs";
8
+ const S = h({
9
+ color: String,
10
+ inset: Boolean,
11
+ sticky: Boolean,
12
+ title: String,
13
+ ...d(),
14
+ ...f()
15
+ }, "VListSubheader"), L = b()({
16
+ name: "VListSubheader",
17
+ props: S(),
18
+ setup(e, r) {
19
+ let {
20
+ slots: t
21
+ } = r;
22
+ const {
23
+ textColorClasses: s,
24
+ textColorStyles: a
25
+ } = c(() => e.color);
26
+ return y(() => {
27
+ const i = !!(t.default || e.title);
28
+ return l(e.tag, {
29
+ class: m(["v-list-subheader", {
30
+ "v-list-subheader--inset": e.inset,
31
+ "v-list-subheader--sticky": e.sticky
32
+ }, s.value, e.class]),
33
+ style: n([{
34
+ textColorStyles: a
35
+ }, e.style])
36
+ }, {
37
+ default: () => {
38
+ var o;
39
+ return [i && u("div", {
40
+ class: "v-list-subheader__text"
41
+ }, [((o = t.default) == null ? void 0 : o.call(t)) ?? e.title])];
42
+ }
43
+ });
44
+ }), {};
45
+ }
46
+ });
47
+ export {
48
+ L as VListSubheader,
49
+ S as makeVListSubheaderProps
50
+ };
@@ -0,0 +1,38 @@
1
+ import { inject as r, shallowRef as t, useId as f, provide as g } from "vue";
2
+ const n = Symbol.for("vuetify:list");
3
+ function p() {
4
+ let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
5
+ filterable: !1
6
+ };
7
+ const e = r(n, {
8
+ filterable: !1,
9
+ hasPrepend: t(!1),
10
+ updateHasPrepend: () => null,
11
+ trackingIndex: t(-1),
12
+ navigationStrategy: t("focus"),
13
+ uid: ""
14
+ }), {
15
+ filterable: l,
16
+ trackingIndex: o = e.trackingIndex,
17
+ navigationStrategy: u = e.navigationStrategy,
18
+ uid: d = e.uid || f()
19
+ } = s, a = {
20
+ filterable: e.filterable || l,
21
+ hasPrepend: t(!1),
22
+ updateHasPrepend: (i) => {
23
+ i && (a.hasPrepend.value = i);
24
+ },
25
+ trackingIndex: o,
26
+ navigationStrategy: u,
27
+ uid: d
28
+ };
29
+ return g(n, a), e;
30
+ }
31
+ function b() {
32
+ return r(n, null);
33
+ }
34
+ export {
35
+ n as ListKey,
36
+ p as createList,
37
+ b as useList
38
+ };