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 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,196 @@
1
+ import { toRef as d, createVNode as o, normalizeClass as v, normalizeStyle as f, createElementVNode as n, mergeProps as y } from "vue";
2
+ import "../../../../../../../_virtual/VAlert.sass.mjs";
3
+ import { VAlertTitle as E } from "./VAlertTitle.mjs";
4
+ import { useTextColor as R } from "../../composables/color.mjs";
5
+ import { makeComponentProps as w } from "../../composables/component.mjs";
6
+ import { makeDensityProps as F, useDensity as N } from "../../composables/density.mjs";
7
+ import { makeDimensionProps as O, useDimension as j } from "../../composables/dimensions.mjs";
8
+ import { makeElevationProps as M, useElevation as q } from "../../composables/elevation.mjs";
9
+ import { IconValue as G } from "../../composables/icons.mjs";
10
+ import { makeIconSizeProps as H, useIconSizes as J } from "../../composables/iconSizes.mjs";
11
+ import { useLocale as K } from "../../composables/locale.mjs";
12
+ import { makeLocationProps as Q, useLocation as U } from "../../composables/location.mjs";
13
+ import { makePositionProps as W, usePosition as X } from "../../composables/position.mjs";
14
+ import { useProxiedModel as Y } from "../../composables/proxiedModel.mjs";
15
+ import { makeRoundedProps as Z, useRounded as ee } from "../../composables/rounded.mjs";
16
+ import { makeTagProps as te } from "../../composables/tag.mjs";
17
+ import { makeThemeProps as oe, provideTheme as le } from "../../composables/theme.mjs";
18
+ import { makeVariantProps as ne, useVariant as ae, genOverlays as re } from "../../composables/variant.mjs";
19
+ import { VIcon as ie } from "../VIcon/VIcon.mjs";
20
+ import { VDefaultsProvider as k } from "../VDefaultsProvider/VDefaultsProvider.mjs";
21
+ import { VBtn as se } from "../VBtn/VBtn.mjs";
22
+ import { propsFactory as ce } from "../../util/propsFactory.mjs";
23
+ import { genericComponent as me } from "../../util/defineComponent.mjs";
24
+ const ue = ["success", "info", "warning", "error"], de = ce({
25
+ border: {
26
+ type: [Boolean, String],
27
+ validator: (e) => typeof e == "boolean" || ["top", "end", "bottom", "start"].includes(e)
28
+ },
29
+ borderColor: String,
30
+ closable: Boolean,
31
+ closeIcon: {
32
+ type: G,
33
+ default: "$close"
34
+ },
35
+ closeLabel: {
36
+ type: String,
37
+ default: "$vuetify.close"
38
+ },
39
+ icon: {
40
+ type: [Boolean, String, Function, Object],
41
+ default: null
42
+ },
43
+ modelValue: {
44
+ type: Boolean,
45
+ default: !0
46
+ },
47
+ prominent: Boolean,
48
+ title: String,
49
+ text: String,
50
+ type: {
51
+ type: String,
52
+ validator: (e) => ue.includes(e)
53
+ },
54
+ ...w(),
55
+ ...F(),
56
+ ...O(),
57
+ ...M(),
58
+ ...H(),
59
+ ...Q(),
60
+ ...W(),
61
+ ...Z(),
62
+ ...te(),
63
+ ...oe(),
64
+ ...ne({
65
+ variant: "flat"
66
+ })
67
+ }, "VAlert"), Re = me()({
68
+ name: "VAlert",
69
+ props: de(),
70
+ emits: {
71
+ "click:close": (e) => !0,
72
+ "update:modelValue": (e) => !0
73
+ },
74
+ setup(e, b) {
75
+ let {
76
+ emit: P,
77
+ slots: t
78
+ } = b;
79
+ const i = Y(e, "modelValue"), a = d(() => {
80
+ if (e.icon !== !1)
81
+ return e.type ? e.icon ?? `$${e.type}` : e.icon;
82
+ }), {
83
+ iconSize: p
84
+ } = J(e, () => e.prominent ? 44 : void 0), {
85
+ themeClasses: C
86
+ } = le(e), {
87
+ colorClasses: V,
88
+ colorStyles: S,
89
+ variantClasses: g
90
+ } = ae(() => ({
91
+ color: e.color ?? e.type,
92
+ variant: e.variant
93
+ })), {
94
+ densityClasses: x
95
+ } = N(e), {
96
+ dimensionStyles: _
97
+ } = j(e), {
98
+ elevationClasses: z
99
+ } = q(e), {
100
+ locationStyles: I
101
+ } = U(e), {
102
+ positionClasses: B
103
+ } = X(e), {
104
+ roundedClasses: T
105
+ } = ee(e), {
106
+ textColorClasses: h,
107
+ textColorStyles: A
108
+ } = R(() => e.borderColor), {
109
+ t: D
110
+ } = K(), s = d(() => ({
111
+ "aria-label": D(e.closeLabel),
112
+ onClick(r) {
113
+ i.value = !1, P("click:close", r);
114
+ }
115
+ }));
116
+ return () => {
117
+ const r = !!(t.prepend || a.value), L = !!(t.title || e.title), $ = !!(t.close || e.closable), c = {
118
+ density: e.density,
119
+ icon: a.value,
120
+ size: e.iconSize || e.prominent ? p.value : void 0
121
+ };
122
+ return i.value && o(e.tag, {
123
+ class: v(["v-alert", e.border && {
124
+ "v-alert--border": !!e.border,
125
+ [`v-alert--border-${e.border === !0 ? "start" : e.border}`]: !0
126
+ }, {
127
+ "v-alert--prominent": e.prominent
128
+ }, C.value, V.value, x.value, z.value, B.value, T.value, g.value, e.class]),
129
+ style: f([S.value, _.value, I.value, e.style]),
130
+ role: "alert"
131
+ }, {
132
+ default: () => {
133
+ var m, u;
134
+ return [re(!1, "v-alert"), e.border && n("div", {
135
+ key: "border",
136
+ class: v(["v-alert__border", h.value]),
137
+ style: f(A.value)
138
+ }, null), r && n("div", {
139
+ key: "prepend",
140
+ class: "v-alert__prepend"
141
+ }, [t.prepend ? o(k, {
142
+ key: "prepend-defaults",
143
+ disabled: !a.value,
144
+ defaults: {
145
+ VIcon: {
146
+ ...c
147
+ }
148
+ }
149
+ }, t.prepend) : o(ie, y({
150
+ key: "prepend-icon"
151
+ }, c), null)]), n("div", {
152
+ class: "v-alert__content"
153
+ }, [L && o(E, {
154
+ key: "title"
155
+ }, {
156
+ default: () => {
157
+ var l;
158
+ return [((l = t.title) == null ? void 0 : l.call(t)) ?? e.title];
159
+ }
160
+ }), ((m = t.text) == null ? void 0 : m.call(t)) ?? e.text, (u = t.default) == null ? void 0 : u.call(t)]), t.append && n("div", {
161
+ key: "append",
162
+ class: "v-alert__append"
163
+ }, [t.append()]), $ && n("div", {
164
+ key: "close",
165
+ class: "v-alert__close"
166
+ }, [t.close ? o(k, {
167
+ key: "close-defaults",
168
+ defaults: {
169
+ VBtn: {
170
+ icon: e.closeIcon,
171
+ size: "x-small",
172
+ variant: "text"
173
+ }
174
+ }
175
+ }, {
176
+ default: () => {
177
+ var l;
178
+ return [(l = t.close) == null ? void 0 : l.call(t, {
179
+ props: s.value
180
+ })];
181
+ }
182
+ }) : o(se, y({
183
+ key: "close-btn",
184
+ icon: e.closeIcon,
185
+ size: "x-small",
186
+ variant: "text"
187
+ }, s.value), null)])];
188
+ }
189
+ });
190
+ };
191
+ }
192
+ });
193
+ export {
194
+ Re as VAlert,
195
+ de as makeVAlertProps
196
+ };
@@ -0,0 +1,5 @@
1
+ import { createSimpleFunctional as t } from "../../util/createSimpleFunctional.mjs";
2
+ const l = t("v-alert-title");
3
+ export {
4
+ l as VAlertTitle
5
+ };
@@ -0,0 +1,92 @@
1
+ import { createVNode as a, normalizeClass as f, normalizeStyle as d } from "vue";
2
+ import "../../../../../../../_virtual/VAvatar.sass.mjs";
3
+ import { makeBorderProps as g, useBorder as y } from "../../composables/border.mjs";
4
+ import { makeComponentProps as V } from "../../composables/component.mjs";
5
+ import { makeDensityProps as k, useDensity as C } from "../../composables/density.mjs";
6
+ import { IconValue as P } from "../../composables/icons.mjs";
7
+ import { makeRoundedProps as S, useRounded as z } from "../../composables/rounded.mjs";
8
+ import { makeSizeProps as I, useSize as A } from "../../composables/size.mjs";
9
+ import { makeTagProps as B } from "../../composables/tag.mjs";
10
+ import { makeThemeProps as h, provideTheme as x } from "../../composables/theme.mjs";
11
+ import { makeVariantProps as D, useVariant as R, genOverlays as T } from "../../composables/variant.mjs";
12
+ import { VImg as b } from "../VImg/VImg.mjs";
13
+ import { VIcon as p } from "../VIcon/VIcon.mjs";
14
+ import { VDefaultsProvider as F } from "../VDefaultsProvider/VDefaultsProvider.mjs";
15
+ import { propsFactory as N } from "../../util/propsFactory.mjs";
16
+ import { genericComponent as O } from "../../util/defineComponent.mjs";
17
+ import { useRender as j } from "../../util/useRender.mjs";
18
+ const q = N({
19
+ start: Boolean,
20
+ end: Boolean,
21
+ icon: P,
22
+ image: String,
23
+ text: String,
24
+ ...g(),
25
+ ...V(),
26
+ ...k(),
27
+ ...S(),
28
+ ...I(),
29
+ ...B(),
30
+ ...h(),
31
+ ...D({
32
+ variant: "flat"
33
+ })
34
+ }, "VAvatar"), ae = O()({
35
+ name: "VAvatar",
36
+ props: q(),
37
+ setup(e, o) {
38
+ let {
39
+ slots: t
40
+ } = o;
41
+ const {
42
+ themeClasses: r
43
+ } = x(e), {
44
+ borderClasses: m
45
+ } = y(e), {
46
+ colorClasses: s,
47
+ colorStyles: n,
48
+ variantClasses: l
49
+ } = R(e), {
50
+ densityClasses: i
51
+ } = C(e), {
52
+ roundedClasses: u
53
+ } = z(e), {
54
+ sizeClasses: c,
55
+ sizeStyles: v
56
+ } = A(e);
57
+ return j(() => a(e.tag, {
58
+ class: f(["v-avatar", {
59
+ "v-avatar--start": e.start,
60
+ "v-avatar--end": e.end
61
+ }, r.value, m.value, s.value, i.value, u.value, c.value, l.value, e.class]),
62
+ style: d([n.value, v.value, e.style])
63
+ }, {
64
+ default: () => [t.default ? a(F, {
65
+ key: "content-defaults",
66
+ defaults: {
67
+ VImg: {
68
+ cover: !0,
69
+ src: e.image
70
+ },
71
+ VIcon: {
72
+ icon: e.icon
73
+ }
74
+ }
75
+ }, {
76
+ default: () => [t.default()]
77
+ }) : e.image ? a(b, {
78
+ key: "image",
79
+ src: e.image,
80
+ alt: "",
81
+ cover: !0
82
+ }, null) : e.icon ? a(p, {
83
+ key: "icon",
84
+ icon: e.icon
85
+ }, null) : e.text, T(!1, "v-avatar")]
86
+ })), {};
87
+ }
88
+ });
89
+ export {
90
+ ae as VAvatar,
91
+ q as makeVAvatarProps
92
+ };
@@ -0,0 +1,220 @@
1
+ import { computed as s, toRef as P, withDirectives as F, createVNode as l, mergeProps as G, createElementVNode as r, toDisplayString as J } from "vue";
2
+ import "../../../../../../../_virtual/VBtn.sass.mjs";
3
+ import { VBtnToggleSymbol as $ } from "../VBtnToggle/VBtnToggle.mjs";
4
+ import { makeBorderProps as q, useBorder as H } from "../../composables/border.mjs";
5
+ import { makeComponentProps as M } from "../../composables/component.mjs";
6
+ import { makeDensityProps as Q, useDensity as U } from "../../composables/density.mjs";
7
+ import { makeDimensionProps as W, useDimension as X } from "../../composables/dimensions.mjs";
8
+ import { makeElevationProps as Y, useElevation as Z } from "../../composables/elevation.mjs";
9
+ import { makeGroupItemProps as p, useGroupItem as ee } from "../../composables/group.mjs";
10
+ import { IconValue as C } from "../../composables/icons.mjs";
11
+ import { makeLoaderProps as ne, useLoader as te } from "../../composables/loader.mjs";
12
+ import { makeLocationProps as ae, useLocation as oe } from "../../composables/location.mjs";
13
+ import { makePositionProps as le, usePosition as ie } from "../../composables/position.mjs";
14
+ import { makeRoundedProps as de, useRounded as ce } from "../../composables/rounded.mjs";
15
+ import { makeRouterProps as se, useLink as re } from "../../composables/router.mjs";
16
+ import { useSelectLink as ue } from "../../composables/selectLink.mjs";
17
+ import { makeSizeProps as me, useSize as ve } from "../../composables/size.mjs";
18
+ import { makeTagProps as fe } from "../../composables/tag.mjs";
19
+ import { makeThemeProps as be, provideTheme as ke } from "../../composables/theme.mjs";
20
+ import { makeVariantProps as ye, useVariant as Pe, genOverlays as Ce } from "../../composables/variant.mjs";
21
+ import ge from "../../directives/ripple/index.mjs";
22
+ import { VIcon as u } from "../VIcon/VIcon.mjs";
23
+ import { VDefaultsProvider as m } from "../VDefaultsProvider/VDefaultsProvider.mjs";
24
+ import { VProgressCircular as Ie } from "../VProgressCircular/VProgressCircular.mjs";
25
+ import { propsFactory as Se } from "../../util/propsFactory.mjs";
26
+ import { genericComponent as Be } from "../../util/defineComponent.mjs";
27
+ import { useRender as Ve } from "../../util/useRender.mjs";
28
+ const he = Se({
29
+ active: {
30
+ type: Boolean,
31
+ default: void 0
32
+ },
33
+ activeColor: String,
34
+ baseColor: String,
35
+ symbol: {
36
+ type: null,
37
+ default: $
38
+ },
39
+ flat: Boolean,
40
+ icon: [Boolean, String, Function, Object],
41
+ prependIcon: C,
42
+ appendIcon: C,
43
+ block: Boolean,
44
+ readonly: Boolean,
45
+ slim: Boolean,
46
+ stacked: Boolean,
47
+ spaced: String,
48
+ ripple: {
49
+ type: [Boolean, Object],
50
+ default: !0
51
+ },
52
+ text: {
53
+ type: [String, Number, Boolean],
54
+ default: void 0
55
+ },
56
+ ...q(),
57
+ ...M(),
58
+ ...Q(),
59
+ ...W(),
60
+ ...Y(),
61
+ ...p(),
62
+ ...ne(),
63
+ ...ae(),
64
+ ...le(),
65
+ ...de(),
66
+ ...se(),
67
+ ...me(),
68
+ ...fe({
69
+ tag: "button"
70
+ }),
71
+ ...be(),
72
+ ...ye({
73
+ variant: "elevated"
74
+ })
75
+ }, "VBtn"), pe = Be()({
76
+ name: "VBtn",
77
+ props: he(),
78
+ emits: {
79
+ "group:selected": (e) => !0
80
+ },
81
+ setup(e, g) {
82
+ let {
83
+ attrs: v,
84
+ slots: t
85
+ } = g;
86
+ const {
87
+ themeClasses: I
88
+ } = ke(e), {
89
+ borderClasses: S
90
+ } = H(e), {
91
+ densityClasses: B
92
+ } = U(e), {
93
+ dimensionStyles: V
94
+ } = X(e), {
95
+ elevationClasses: h
96
+ } = Z(e), {
97
+ loaderClasses: L
98
+ } = te(e), {
99
+ locationStyles: _
100
+ } = oe(e), {
101
+ positionClasses: D
102
+ } = ie(e), {
103
+ roundedClasses: R
104
+ } = ce(e), {
105
+ sizeClasses: A,
106
+ sizeStyles: O
107
+ } = ve(e), n = ee(e, e.symbol, !1), o = re(e, v), f = s(() => {
108
+ var a;
109
+ return e.active !== void 0 ? e.active : o.isRouterLink.value ? (a = o.isActive) == null ? void 0 : a.value : n == null ? void 0 : n.isSelected.value;
110
+ }), T = P(() => f.value ? e.activeColor ?? e.color : e.color), w = s(() => {
111
+ var i, d;
112
+ return {
113
+ color: (n == null ? void 0 : n.isSelected.value) && (!o.isLink.value || ((i = o.isActive) == null ? void 0 : i.value)) || !n || ((d = o.isActive) == null ? void 0 : d.value) ? T.value ?? e.baseColor : e.baseColor,
114
+ variant: e.variant
115
+ };
116
+ }), {
117
+ colorClasses: x,
118
+ colorStyles: z,
119
+ variantClasses: E
120
+ } = Pe(w), c = s(() => (n == null ? void 0 : n.disabled.value) || e.disabled), N = P(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), j = s(() => {
121
+ if (!(e.value === void 0 || typeof e.value == "symbol"))
122
+ return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
123
+ });
124
+ function K(a) {
125
+ var i, d;
126
+ c.value || o.isLink.value && (a.metaKey || a.ctrlKey || a.shiftKey || a.button !== 0 || v.target === "_blank") || (o.isRouterLink.value ? (d = (i = o.navigate).value) == null || d.call(i, a) : n == null || n.toggle());
127
+ }
128
+ return ue(o, n == null ? void 0 : n.select), Ve(() => {
129
+ const a = o.isLink.value ? "a" : e.tag, i = !!(e.prependIcon || t.prepend), d = !!(e.appendIcon || t.append), b = !!(e.icon && e.icon !== !0);
130
+ return F(l(a, G(o.linkProps, {
131
+ type: a === "a" ? void 0 : "button",
132
+ class: ["v-btn", n == null ? void 0 : n.selectedClass.value, {
133
+ "v-btn--active": f.value,
134
+ "v-btn--block": e.block,
135
+ "v-btn--disabled": c.value,
136
+ "v-btn--elevated": N.value,
137
+ "v-btn--flat": e.flat,
138
+ "v-btn--icon": !!e.icon,
139
+ "v-btn--loading": e.loading,
140
+ "v-btn--readonly": e.readonly,
141
+ "v-btn--slim": e.slim,
142
+ "v-btn--stacked": e.stacked
143
+ }, e.spaced ? ["v-btn--spaced", `v-btn--spaced-${e.spaced}`] : [], I.value, S.value, x.value, B.value, h.value, L.value, D.value, R.value, A.value, E.value, e.class],
144
+ style: [z.value, V.value, _.value, O.value, e.style],
145
+ "aria-busy": e.loading ? !0 : void 0,
146
+ disabled: c.value && a !== "a" || void 0,
147
+ tabindex: e.loading || e.readonly ? -1 : void 0,
148
+ onClick: K,
149
+ value: j.value
150
+ }), {
151
+ default: () => {
152
+ var k;
153
+ return [Ce(!0, "v-btn"), !e.icon && i && r("span", {
154
+ key: "prepend",
155
+ class: "v-btn__prepend"
156
+ }, [t.prepend ? l(m, {
157
+ key: "prepend-defaults",
158
+ disabled: !e.prependIcon,
159
+ defaults: {
160
+ VIcon: {
161
+ icon: e.prependIcon
162
+ }
163
+ }
164
+ }, t.prepend) : l(u, {
165
+ key: "prepend-icon",
166
+ icon: e.prependIcon
167
+ }, null)]), r("span", {
168
+ class: "v-btn__content",
169
+ "data-no-activator": ""
170
+ }, [!t.default && b ? l(u, {
171
+ key: "content-icon",
172
+ icon: e.icon
173
+ }, null) : l(m, {
174
+ key: "content-defaults",
175
+ disabled: !b,
176
+ defaults: {
177
+ VIcon: {
178
+ icon: e.icon
179
+ }
180
+ }
181
+ }, {
182
+ default: () => {
183
+ var y;
184
+ return [((y = t.default) == null ? void 0 : y.call(t)) ?? J(e.text)];
185
+ }
186
+ })]), !e.icon && d && r("span", {
187
+ key: "append",
188
+ class: "v-btn__append"
189
+ }, [t.append ? l(m, {
190
+ key: "append-defaults",
191
+ disabled: !e.appendIcon,
192
+ defaults: {
193
+ VIcon: {
194
+ icon: e.appendIcon
195
+ }
196
+ }
197
+ }, t.append) : l(u, {
198
+ key: "append-icon",
199
+ icon: e.appendIcon
200
+ }, null)]), !!e.loading && r("span", {
201
+ key: "loader",
202
+ class: "v-btn__loader"
203
+ }, [((k = t.loader) == null ? void 0 : k.call(t)) ?? l(Ie, {
204
+ color: typeof e.loading == "boolean" ? void 0 : e.loading,
205
+ indeterminate: !0,
206
+ width: "2"
207
+ }, null)])];
208
+ }
209
+ }), [[ge, !c.value && e.ripple, "", {
210
+ center: !!e.icon
211
+ }]]);
212
+ }), {
213
+ group: n
214
+ };
215
+ }
216
+ });
217
+ export {
218
+ pe as VBtn,
219
+ he as makeVBtnProps
220
+ };
@@ -0,0 +1,68 @@
1
+ import { toRef as o, createVNode as l, normalizeClass as d, normalizeStyle as u } from "vue";
2
+ import "../../../../../../../_virtual/VBtnGroup.sass.mjs";
3
+ import { makeBorderProps as v, useBorder as c } from "../../composables/border.mjs";
4
+ import { makeComponentProps as f } from "../../composables/component.mjs";
5
+ import { provideDefaults as p } from "../../composables/defaults.mjs";
6
+ import { makeDensityProps as C, useDensity as y } from "../../composables/density.mjs";
7
+ import { makeElevationProps as g, useElevation as k } from "../../composables/elevation.mjs";
8
+ import { makeRoundedProps as P, useRounded as B } from "../../composables/rounded.mjs";
9
+ import { makeTagProps as b } from "../../composables/tag.mjs";
10
+ import { makeThemeProps as h, provideTheme as V } from "../../composables/theme.mjs";
11
+ import { makeVariantProps as z } from "../../composables/variant.mjs";
12
+ import { propsFactory as G } from "../../util/propsFactory.mjs";
13
+ import { genericComponent as R } from "../../util/defineComponent.mjs";
14
+ import { useRender as D } from "../../util/useRender.mjs";
15
+ const S = G({
16
+ baseColor: String,
17
+ divided: Boolean,
18
+ direction: {
19
+ type: String,
20
+ default: "horizontal"
21
+ },
22
+ ...v(),
23
+ ...f(),
24
+ ...C(),
25
+ ...g(),
26
+ ...P(),
27
+ ...b(),
28
+ ...h(),
29
+ ...z()
30
+ }, "VBtnGroup"), L = R()({
31
+ name: "VBtnGroup",
32
+ props: S(),
33
+ setup(e, t) {
34
+ let {
35
+ slots: r
36
+ } = t;
37
+ const {
38
+ themeClasses: a
39
+ } = V(e), {
40
+ densityClasses: n
41
+ } = y(e), {
42
+ borderClasses: i
43
+ } = c(e), {
44
+ elevationClasses: m
45
+ } = k(e), {
46
+ roundedClasses: s
47
+ } = B(e);
48
+ p({
49
+ VBtn: {
50
+ height: o(() => e.direction === "horizontal" ? "auto" : null),
51
+ baseColor: o(() => e.baseColor),
52
+ color: o(() => e.color),
53
+ density: o(() => e.density),
54
+ flat: !0,
55
+ variant: o(() => e.variant)
56
+ }
57
+ }), D(() => l(e.tag, {
58
+ class: d(["v-btn-group", `v-btn-group--${e.direction}`, {
59
+ "v-btn-group--divided": e.divided
60
+ }, a.value, i.value, n.value, m.value, s.value, e.class]),
61
+ style: u(e.style)
62
+ }, r));
63
+ }
64
+ });
65
+ export {
66
+ L as VBtnGroup,
67
+ S as makeVBtnGroupProps
68
+ };