bt-core-app 2.2.3 → 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.
- package/dist/_virtual/VAlert.sass.mjs +1 -0
- package/dist/_virtual/VAvatar.sass.mjs +1 -0
- package/dist/_virtual/VBtn.sass.mjs +1 -0
- package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
- package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
- package/dist/_virtual/VCard.sass.mjs +1 -0
- package/dist/_virtual/VDivider.sass.mjs +1 -0
- package/dist/_virtual/VIcon.sass.mjs +1 -0
- package/dist/_virtual/VImg.sass.mjs +1 -0
- package/dist/_virtual/VList.sass.mjs +1 -0
- package/dist/_virtual/VListItem.sass.mjs +1 -0
- package/dist/_virtual/VMenu.sass.mjs +1 -0
- package/dist/_virtual/VOverlay.sass.mjs +1 -0
- package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
- package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
- package/dist/_virtual/VResponsive.sass.mjs +1 -0
- package/dist/_virtual/VRipple.sass.mjs +1 -0
- package/dist/_virtual/VToolbar.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +33 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +141 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +7 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +7 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +301 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
- package/dist/components/BT-Blade.vue.mjs +108 -97
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { createVNode as a, mergeProps as c } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VBtnToggle.sass.mjs";
|
|
3
|
+
import { makeVBtnGroupProps as i, VBtnGroup as n } from "../VBtnGroup/VBtnGroup.mjs";
|
|
4
|
+
import { makeGroupProps as f, useGroup as d } from "../../composables/group.mjs";
|
|
5
|
+
import { propsFactory as V } from "../../util/propsFactory.mjs";
|
|
6
|
+
import { genericComponent as y } from "../../util/defineComponent.mjs";
|
|
7
|
+
import { useRender as B } from "../../util/useRender.mjs";
|
|
8
|
+
const P = Symbol.for("vuetify:v-btn-toggle"), b = V({
|
|
9
|
+
...i(),
|
|
10
|
+
...f()
|
|
11
|
+
}, "VBtnToggle");
|
|
12
|
+
y()({
|
|
13
|
+
name: "VBtnToggle",
|
|
14
|
+
props: b(),
|
|
15
|
+
emits: {
|
|
16
|
+
"update:modelValue": (e) => !0
|
|
17
|
+
},
|
|
18
|
+
setup(e, p) {
|
|
19
|
+
let {
|
|
20
|
+
slots: t
|
|
21
|
+
} = p;
|
|
22
|
+
const {
|
|
23
|
+
isSelected: s,
|
|
24
|
+
next: o,
|
|
25
|
+
prev: r,
|
|
26
|
+
select: m,
|
|
27
|
+
selected: u
|
|
28
|
+
} = d(e, P);
|
|
29
|
+
return B(() => {
|
|
30
|
+
const g = n.filterProps(e);
|
|
31
|
+
return a(n, c({
|
|
32
|
+
class: ["v-btn-toggle", e.class]
|
|
33
|
+
}, g, {
|
|
34
|
+
style: e.style
|
|
35
|
+
}), {
|
|
36
|
+
default: () => {
|
|
37
|
+
var l;
|
|
38
|
+
return [(l = t.default) == null ? void 0 : l.call(t, {
|
|
39
|
+
isSelected: s,
|
|
40
|
+
next: o,
|
|
41
|
+
prev: r,
|
|
42
|
+
select: m,
|
|
43
|
+
selected: u
|
|
44
|
+
})];
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}), {
|
|
48
|
+
next: o,
|
|
49
|
+
prev: r,
|
|
50
|
+
select: m
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
P as VBtnToggleSymbol,
|
|
56
|
+
b as makeVBtnToggleProps
|
|
57
|
+
};
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { shallowRef as w, watch as E, withDirectives as O, createVNode as n, mergeProps as _, createElementVNode as j } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VCard.sass.mjs";
|
|
3
|
+
import { VCardActions as F } from "./VCardActions.mjs";
|
|
4
|
+
import { VCardItem as H } from "./VCardItem.mjs";
|
|
5
|
+
import { VCardText as U } from "./VCardText.mjs";
|
|
6
|
+
import { makeBorderProps as q, useBorder as z } from "../../composables/border.mjs";
|
|
7
|
+
import { makeComponentProps as G } from "../../composables/component.mjs";
|
|
8
|
+
import { makeDensityProps as J, useDensity as K } from "../../composables/density.mjs";
|
|
9
|
+
import { makeDimensionProps as M, useDimension as Q } from "../../composables/dimensions.mjs";
|
|
10
|
+
import { makeElevationProps as W, useElevation as X } from "../../composables/elevation.mjs";
|
|
11
|
+
import { IconValue as m } from "../../composables/icons.mjs";
|
|
12
|
+
import { makeLoaderProps as Y, useLoader as Z, LoaderSlot as $ } from "../../composables/loader.mjs";
|
|
13
|
+
import { makeLocationProps as ee, useLocation as te } from "../../composables/location.mjs";
|
|
14
|
+
import { makePositionProps as ae, usePosition as ne } from "../../composables/position.mjs";
|
|
15
|
+
import { makeRoundedProps as ie, useRounded as oe } from "../../composables/rounded.mjs";
|
|
16
|
+
import { makeRouterProps as le, useLink as re } from "../../composables/router.mjs";
|
|
17
|
+
import { makeTagProps as de } from "../../composables/tag.mjs";
|
|
18
|
+
import { makeThemeProps as me, provideTheme as se } from "../../composables/theme.mjs";
|
|
19
|
+
import { makeVariantProps as ue, useVariant as ce, genOverlays as fe } from "../../composables/variant.mjs";
|
|
20
|
+
import s from "../../directives/ripple/index.mjs";
|
|
21
|
+
import { VImg as ve } from "../VImg/VImg.mjs";
|
|
22
|
+
import { VDefaultsProvider as ge } from "../VDefaultsProvider/VDefaultsProvider.mjs";
|
|
23
|
+
import { propsFactory as ke } from "../../util/propsFactory.mjs";
|
|
24
|
+
import { genericComponent as be } from "../../util/defineComponent.mjs";
|
|
25
|
+
import { useRender as Ce } from "../../util/useRender.mjs";
|
|
26
|
+
import { convertToUnit as pe } from "../../util/helpers.mjs";
|
|
27
|
+
const ye = ke({
|
|
28
|
+
appendAvatar: String,
|
|
29
|
+
appendIcon: m,
|
|
30
|
+
disabled: Boolean,
|
|
31
|
+
flat: Boolean,
|
|
32
|
+
hover: Boolean,
|
|
33
|
+
image: String,
|
|
34
|
+
link: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: void 0
|
|
37
|
+
},
|
|
38
|
+
prependAvatar: String,
|
|
39
|
+
prependIcon: m,
|
|
40
|
+
ripple: {
|
|
41
|
+
type: [Boolean, Object],
|
|
42
|
+
default: !0
|
|
43
|
+
},
|
|
44
|
+
subtitle: {
|
|
45
|
+
type: [String, Number, Boolean],
|
|
46
|
+
default: void 0
|
|
47
|
+
},
|
|
48
|
+
text: {
|
|
49
|
+
type: [String, Number, Boolean],
|
|
50
|
+
default: void 0
|
|
51
|
+
},
|
|
52
|
+
title: {
|
|
53
|
+
type: [String, Number, Boolean],
|
|
54
|
+
default: void 0
|
|
55
|
+
},
|
|
56
|
+
...q(),
|
|
57
|
+
...G(),
|
|
58
|
+
...J(),
|
|
59
|
+
...M(),
|
|
60
|
+
...W(),
|
|
61
|
+
...Y(),
|
|
62
|
+
...ee(),
|
|
63
|
+
...ae(),
|
|
64
|
+
...ie(),
|
|
65
|
+
...le(),
|
|
66
|
+
...de(),
|
|
67
|
+
...me(),
|
|
68
|
+
...ue({
|
|
69
|
+
variant: "elevated"
|
|
70
|
+
})
|
|
71
|
+
}, "VCard"), Me = be()({
|
|
72
|
+
name: "VCard",
|
|
73
|
+
directives: {
|
|
74
|
+
vRipple: s
|
|
75
|
+
},
|
|
76
|
+
props: ye(),
|
|
77
|
+
setup(e, u) {
|
|
78
|
+
let {
|
|
79
|
+
attrs: c,
|
|
80
|
+
slots: t
|
|
81
|
+
} = u;
|
|
82
|
+
const {
|
|
83
|
+
themeClasses: f
|
|
84
|
+
} = se(e), {
|
|
85
|
+
borderClasses: v
|
|
86
|
+
} = z(e), {
|
|
87
|
+
colorClasses: g,
|
|
88
|
+
colorStyles: k,
|
|
89
|
+
variantClasses: b
|
|
90
|
+
} = ce(e), {
|
|
91
|
+
densityClasses: C
|
|
92
|
+
} = K(e), {
|
|
93
|
+
dimensionStyles: p
|
|
94
|
+
} = Q(e), {
|
|
95
|
+
elevationClasses: y
|
|
96
|
+
} = X(e), {
|
|
97
|
+
loaderClasses: h
|
|
98
|
+
} = Z(e), {
|
|
99
|
+
locationStyles: P
|
|
100
|
+
} = te(e), {
|
|
101
|
+
positionClasses: V
|
|
102
|
+
} = ne(e), {
|
|
103
|
+
roundedClasses: I
|
|
104
|
+
} = oe(e), o = re(e, c), l = w(void 0);
|
|
105
|
+
return E(() => e.loading, (i, a) => {
|
|
106
|
+
l.value = !i && typeof a == "string" ? a : typeof i == "boolean" ? void 0 : i;
|
|
107
|
+
}, {
|
|
108
|
+
immediate: !0
|
|
109
|
+
}), Ce(() => {
|
|
110
|
+
const i = e.link !== !1 && o.isLink.value, a = !e.disabled && e.link !== !1 && (e.link || o.isClickable.value), S = i ? "a" : e.tag, x = !!(t.title || e.title != null), A = !!(t.subtitle || e.subtitle != null), B = x || A, L = !!(t.append || e.appendAvatar || e.appendIcon), T = !!(t.prepend || e.prependAvatar || e.prependIcon), D = !!(t.image || e.image), R = B || T || L, N = !!(t.text || e.text != null);
|
|
111
|
+
return O(n(S, _(o.linkProps, {
|
|
112
|
+
class: ["v-card", {
|
|
113
|
+
"v-card--disabled": e.disabled,
|
|
114
|
+
"v-card--flat": e.flat,
|
|
115
|
+
"v-card--hover": e.hover && !(e.disabled || e.flat),
|
|
116
|
+
"v-card--link": a
|
|
117
|
+
}, f.value, v.value, g.value, C.value, y.value, h.value, V.value, I.value, b.value, e.class],
|
|
118
|
+
style: [k.value, p.value, P.value, {
|
|
119
|
+
"--v-card-height": pe(e.height)
|
|
120
|
+
}, e.style],
|
|
121
|
+
onClick: a && o.navigate.value,
|
|
122
|
+
tabindex: e.disabled ? -1 : void 0
|
|
123
|
+
}), {
|
|
124
|
+
default: () => {
|
|
125
|
+
var r;
|
|
126
|
+
return [D && j("div", {
|
|
127
|
+
key: "image",
|
|
128
|
+
class: "v-card__image"
|
|
129
|
+
}, [t.image ? n(ge, {
|
|
130
|
+
key: "image-defaults",
|
|
131
|
+
disabled: !e.image,
|
|
132
|
+
defaults: {
|
|
133
|
+
VImg: {
|
|
134
|
+
cover: !0,
|
|
135
|
+
src: e.image
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}, t.image) : n(ve, {
|
|
139
|
+
key: "image-img",
|
|
140
|
+
cover: !0,
|
|
141
|
+
src: e.image
|
|
142
|
+
}, null)]), n($, {
|
|
143
|
+
name: "v-card",
|
|
144
|
+
active: !!e.loading,
|
|
145
|
+
color: l.value
|
|
146
|
+
}, {
|
|
147
|
+
default: t.loader
|
|
148
|
+
}), R && n(H, {
|
|
149
|
+
key: "item",
|
|
150
|
+
prependAvatar: e.prependAvatar,
|
|
151
|
+
prependIcon: e.prependIcon,
|
|
152
|
+
title: e.title,
|
|
153
|
+
subtitle: e.subtitle,
|
|
154
|
+
appendAvatar: e.appendAvatar,
|
|
155
|
+
appendIcon: e.appendIcon
|
|
156
|
+
}, {
|
|
157
|
+
default: t.item,
|
|
158
|
+
prepend: t.prepend,
|
|
159
|
+
title: t.title,
|
|
160
|
+
subtitle: t.subtitle,
|
|
161
|
+
append: t.append
|
|
162
|
+
}), N && n(U, {
|
|
163
|
+
key: "text"
|
|
164
|
+
}, {
|
|
165
|
+
default: () => {
|
|
166
|
+
var d;
|
|
167
|
+
return [((d = t.text) == null ? void 0 : d.call(t)) ?? e.text];
|
|
168
|
+
}
|
|
169
|
+
}), (r = t.default) == null ? void 0 : r.call(t), t.actions && n(F, null, {
|
|
170
|
+
default: t.actions
|
|
171
|
+
}), fe(a, "v-card")];
|
|
172
|
+
}
|
|
173
|
+
}), [[s, a && e.ripple]]);
|
|
174
|
+
}), {};
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
export {
|
|
178
|
+
Me as VCard,
|
|
179
|
+
ye as makeVCardProps
|
|
180
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createVNode as e, normalizeClass as s, normalizeStyle as m } from "vue";
|
|
2
|
+
import { makeComponentProps as a } from "../../composables/component.mjs";
|
|
3
|
+
import { provideDefaults as n } from "../../composables/defaults.mjs";
|
|
4
|
+
import { makeTagProps as i } from "../../composables/tag.mjs";
|
|
5
|
+
import { propsFactory as p } from "../../util/propsFactory.mjs";
|
|
6
|
+
import { genericComponent as c } from "../../util/defineComponent.mjs";
|
|
7
|
+
import { useRender as l } from "../../util/useRender.mjs";
|
|
8
|
+
const d = p({
|
|
9
|
+
...a(),
|
|
10
|
+
...i()
|
|
11
|
+
}, "VCardActions"), k = c()({
|
|
12
|
+
name: "VCardActions",
|
|
13
|
+
props: d(),
|
|
14
|
+
setup(o, r) {
|
|
15
|
+
let {
|
|
16
|
+
slots: t
|
|
17
|
+
} = r;
|
|
18
|
+
return n({
|
|
19
|
+
VBtn: {
|
|
20
|
+
slim: !0,
|
|
21
|
+
variant: "text"
|
|
22
|
+
}
|
|
23
|
+
}), l(() => e(o.tag, {
|
|
24
|
+
class: s(["v-card-actions", o.class]),
|
|
25
|
+
style: m(o.style)
|
|
26
|
+
}, t)), {};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
k as VCardActions,
|
|
31
|
+
d as makeVCardActionsProps
|
|
32
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { createVNode as n, normalizeClass as V, normalizeStyle as k, createElementVNode as d, Fragment as m, toDisplayString as p } from "vue";
|
|
2
|
+
import { VCardSubtitle as g } from "./VCardSubtitle.mjs";
|
|
3
|
+
import { VCardTitle as b } from "./VCardTitle.mjs";
|
|
4
|
+
import { makeComponentProps as C } from "../../composables/component.mjs";
|
|
5
|
+
import { makeDensityProps as S } from "../../composables/density.mjs";
|
|
6
|
+
import { IconValue as c } from "../../composables/icons.mjs";
|
|
7
|
+
import { makeTagProps as P } from "../../composables/tag.mjs";
|
|
8
|
+
import { VAvatar as o } from "../VAvatar/VAvatar.mjs";
|
|
9
|
+
import { VIcon as u } from "../VIcon/VIcon.mjs";
|
|
10
|
+
import { VDefaultsProvider as y } from "../VDefaultsProvider/VDefaultsProvider.mjs";
|
|
11
|
+
import { propsFactory as h } from "../../util/propsFactory.mjs";
|
|
12
|
+
import { genericComponent as _ } from "../../util/defineComponent.mjs";
|
|
13
|
+
import { useRender as N } from "../../util/useRender.mjs";
|
|
14
|
+
const D = h({
|
|
15
|
+
appendAvatar: String,
|
|
16
|
+
appendIcon: c,
|
|
17
|
+
prependAvatar: String,
|
|
18
|
+
prependIcon: c,
|
|
19
|
+
subtitle: {
|
|
20
|
+
type: [String, Number, Boolean],
|
|
21
|
+
default: void 0
|
|
22
|
+
},
|
|
23
|
+
title: {
|
|
24
|
+
type: [String, Number, Boolean],
|
|
25
|
+
default: void 0
|
|
26
|
+
},
|
|
27
|
+
...C(),
|
|
28
|
+
...S(),
|
|
29
|
+
...P()
|
|
30
|
+
}, "VCardItem"), J = _()({
|
|
31
|
+
name: "VCardItem",
|
|
32
|
+
props: D(),
|
|
33
|
+
setup(e, s) {
|
|
34
|
+
let {
|
|
35
|
+
slots: t
|
|
36
|
+
} = s;
|
|
37
|
+
return N(() => {
|
|
38
|
+
const i = !!(e.prependAvatar || e.prependIcon), f = !!(i || t.prepend), r = !!(e.appendAvatar || e.appendIcon), v = !!(r || t.append), I = !!(e.title != null || t.title), A = !!(e.subtitle != null || t.subtitle);
|
|
39
|
+
return n(e.tag, {
|
|
40
|
+
class: V(["v-card-item", e.class]),
|
|
41
|
+
style: k(e.style)
|
|
42
|
+
}, {
|
|
43
|
+
default: () => {
|
|
44
|
+
var l;
|
|
45
|
+
return [f && d("div", {
|
|
46
|
+
key: "prepend",
|
|
47
|
+
class: "v-card-item__prepend"
|
|
48
|
+
}, [t.prepend ? n(y, {
|
|
49
|
+
key: "prepend-defaults",
|
|
50
|
+
disabled: !i,
|
|
51
|
+
defaults: {
|
|
52
|
+
VAvatar: {
|
|
53
|
+
density: e.density,
|
|
54
|
+
image: e.prependAvatar
|
|
55
|
+
},
|
|
56
|
+
VIcon: {
|
|
57
|
+
density: e.density,
|
|
58
|
+
icon: e.prependIcon
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}, t.prepend) : d(m, null, [e.prependAvatar && n(o, {
|
|
62
|
+
key: "prepend-avatar",
|
|
63
|
+
density: e.density,
|
|
64
|
+
image: e.prependAvatar
|
|
65
|
+
}, null), e.prependIcon && n(u, {
|
|
66
|
+
key: "prepend-icon",
|
|
67
|
+
density: e.density,
|
|
68
|
+
icon: e.prependIcon
|
|
69
|
+
}, null)])]), d("div", {
|
|
70
|
+
class: "v-card-item__content"
|
|
71
|
+
}, [I && n(b, {
|
|
72
|
+
key: "title"
|
|
73
|
+
}, {
|
|
74
|
+
default: () => {
|
|
75
|
+
var a;
|
|
76
|
+
return [((a = t.title) == null ? void 0 : a.call(t)) ?? p(e.title)];
|
|
77
|
+
}
|
|
78
|
+
}), A && n(g, {
|
|
79
|
+
key: "subtitle"
|
|
80
|
+
}, {
|
|
81
|
+
default: () => {
|
|
82
|
+
var a;
|
|
83
|
+
return [((a = t.subtitle) == null ? void 0 : a.call(t)) ?? p(e.subtitle)];
|
|
84
|
+
}
|
|
85
|
+
}), (l = t.default) == null ? void 0 : l.call(t)]), v && d("div", {
|
|
86
|
+
key: "append",
|
|
87
|
+
class: "v-card-item__append"
|
|
88
|
+
}, [t.append ? n(y, {
|
|
89
|
+
key: "append-defaults",
|
|
90
|
+
disabled: !r,
|
|
91
|
+
defaults: {
|
|
92
|
+
VAvatar: {
|
|
93
|
+
density: e.density,
|
|
94
|
+
image: e.appendAvatar
|
|
95
|
+
},
|
|
96
|
+
VIcon: {
|
|
97
|
+
density: e.density,
|
|
98
|
+
icon: e.appendIcon
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}, t.append) : d(m, null, [e.appendIcon && n(u, {
|
|
102
|
+
key: "append-icon",
|
|
103
|
+
density: e.density,
|
|
104
|
+
icon: e.appendIcon
|
|
105
|
+
}, null), e.appendAvatar && n(o, {
|
|
106
|
+
key: "append-avatar",
|
|
107
|
+
density: e.density,
|
|
108
|
+
image: e.appendAvatar
|
|
109
|
+
}, null)])])];
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
}), {};
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
export {
|
|
116
|
+
J as VCardItem,
|
|
117
|
+
D as makeCardItemProps
|
|
118
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createVNode as o, normalizeClass as a, normalizeStyle as m } from "vue";
|
|
2
|
+
import { makeComponentProps as i } from "../../composables/component.mjs";
|
|
3
|
+
import { makeTagProps as s } from "../../composables/tag.mjs";
|
|
4
|
+
import { propsFactory as l } 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 = l({
|
|
8
|
+
opacity: [Number, String],
|
|
9
|
+
...i(),
|
|
10
|
+
...s()
|
|
11
|
+
}, "VCardSubtitle"), S = p()({
|
|
12
|
+
name: "VCardSubtitle",
|
|
13
|
+
props: c(),
|
|
14
|
+
setup(t, r) {
|
|
15
|
+
let {
|
|
16
|
+
slots: e
|
|
17
|
+
} = r;
|
|
18
|
+
return n(() => o(t.tag, {
|
|
19
|
+
class: a(["v-card-subtitle", t.class]),
|
|
20
|
+
style: m([{
|
|
21
|
+
"--v-card-subtitle-opacity": t.opacity
|
|
22
|
+
}, t.style])
|
|
23
|
+
}, e)), {};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
S as VCardSubtitle,
|
|
28
|
+
c as makeVCardSubtitleProps
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createVNode as o, normalizeClass as a, normalizeStyle as m } from "vue";
|
|
2
|
+
import { makeComponentProps as s } from "../../composables/component.mjs";
|
|
3
|
+
import { makeTagProps as p } from "../../composables/tag.mjs";
|
|
4
|
+
import { propsFactory as i } from "../../util/propsFactory.mjs";
|
|
5
|
+
import { genericComponent as n } from "../../util/defineComponent.mjs";
|
|
6
|
+
import { useRender as c } from "../../util/useRender.mjs";
|
|
7
|
+
const l = i({
|
|
8
|
+
opacity: [Number, String],
|
|
9
|
+
...s(),
|
|
10
|
+
...p()
|
|
11
|
+
}, "VCardText"), V = n()({
|
|
12
|
+
name: "VCardText",
|
|
13
|
+
props: l(),
|
|
14
|
+
setup(t, r) {
|
|
15
|
+
let {
|
|
16
|
+
slots: e
|
|
17
|
+
} = r;
|
|
18
|
+
return c(() => o(t.tag, {
|
|
19
|
+
class: a(["v-card-text", t.class]),
|
|
20
|
+
style: m([{
|
|
21
|
+
"--v-card-text-opacity": t.opacity
|
|
22
|
+
}, t.style])
|
|
23
|
+
}, e)), {};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
V as VCardText,
|
|
28
|
+
l as makeVCardTextProps
|
|
29
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { provideDefaults as i } from "../../composables/defaults.mjs";
|
|
2
|
+
import { toRefs as l } from "vue";
|
|
3
|
+
import { genericComponent as n } from "../../util/defineComponent.mjs";
|
|
4
|
+
import { propsFactory as m } from "../../util/propsFactory.mjs";
|
|
5
|
+
const u = m({
|
|
6
|
+
defaults: Object,
|
|
7
|
+
disabled: Boolean,
|
|
8
|
+
reset: [Number, String],
|
|
9
|
+
root: [Boolean, String],
|
|
10
|
+
scoped: Boolean
|
|
11
|
+
}, "VDefaultsProvider"), b = n(!1)({
|
|
12
|
+
name: "VDefaultsProvider",
|
|
13
|
+
props: u(),
|
|
14
|
+
setup(r, t) {
|
|
15
|
+
let {
|
|
16
|
+
slots: e
|
|
17
|
+
} = t;
|
|
18
|
+
const {
|
|
19
|
+
defaults: s,
|
|
20
|
+
disabled: a,
|
|
21
|
+
reset: p,
|
|
22
|
+
root: d,
|
|
23
|
+
scoped: f
|
|
24
|
+
} = l(r);
|
|
25
|
+
return i(s, {
|
|
26
|
+
reset: p,
|
|
27
|
+
root: d,
|
|
28
|
+
scoped: f,
|
|
29
|
+
disabled: a
|
|
30
|
+
}), () => {
|
|
31
|
+
var o;
|
|
32
|
+
return (o = e.default) == null ? void 0 : o.call(e);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export {
|
|
37
|
+
b as VDefaultsProvider,
|
|
38
|
+
u as makeVDefaultsProviderProps
|
|
39
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { computed as g, toRef as h, createElementVNode as a, normalizeClass as l, normalizeStyle as d } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VDivider.sass.mjs";
|
|
3
|
+
import { useTextColor as y } from "../../composables/color.mjs";
|
|
4
|
+
import { makeComponentProps as S } from "../../composables/component.mjs";
|
|
5
|
+
import { makeThemeProps as _, provideTheme as b } from "../../composables/theme.mjs";
|
|
6
|
+
import { propsFactory as C } from "../../util/propsFactory.mjs";
|
|
7
|
+
import { genericComponent as k } from "../../util/defineComponent.mjs";
|
|
8
|
+
import { convertToUnit as r } from "../../util/helpers.mjs";
|
|
9
|
+
import { useRender as w } from "../../util/useRender.mjs";
|
|
10
|
+
const O = ["dotted", "dashed", "solid", "double"], V = C({
|
|
11
|
+
color: String,
|
|
12
|
+
contentOffset: [Number, String, Array],
|
|
13
|
+
gradient: Boolean,
|
|
14
|
+
inset: Boolean,
|
|
15
|
+
length: [Number, String],
|
|
16
|
+
opacity: [Number, String],
|
|
17
|
+
thickness: [Number, String],
|
|
18
|
+
vertical: Boolean,
|
|
19
|
+
variant: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "solid",
|
|
22
|
+
validator: (e) => O.includes(e)
|
|
23
|
+
},
|
|
24
|
+
...S(),
|
|
25
|
+
..._()
|
|
26
|
+
}, "VDivider"), $ = k()({
|
|
27
|
+
name: "VDivider",
|
|
28
|
+
props: V(),
|
|
29
|
+
setup(e, c) {
|
|
30
|
+
let {
|
|
31
|
+
attrs: i,
|
|
32
|
+
slots: n
|
|
33
|
+
} = c;
|
|
34
|
+
const {
|
|
35
|
+
themeClasses: s
|
|
36
|
+
} = b(e), {
|
|
37
|
+
textColorClasses: v,
|
|
38
|
+
textColorStyles: m
|
|
39
|
+
} = y(() => e.color), f = g(() => {
|
|
40
|
+
const t = {};
|
|
41
|
+
return e.length && (t[e.vertical ? "height" : "width"] = r(e.length)), e.thickness && (t[e.vertical ? "borderRightWidth" : "borderTopWidth"] = r(e.thickness)), t;
|
|
42
|
+
}), u = h(() => {
|
|
43
|
+
const t = Array.isArray(e.contentOffset) ? e.contentOffset[0] : e.contentOffset, o = Array.isArray(e.contentOffset) ? e.contentOffset[1] : 0;
|
|
44
|
+
return {
|
|
45
|
+
marginBlock: e.vertical && t ? r(t) : void 0,
|
|
46
|
+
marginInline: !e.vertical && t ? r(t) : void 0,
|
|
47
|
+
transform: o ? `translate${e.vertical ? "X" : "Y"}(${r(o)})` : void 0
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
return w(() => {
|
|
51
|
+
const t = a("hr", {
|
|
52
|
+
class: l([{
|
|
53
|
+
"v-divider": !0,
|
|
54
|
+
"v-divider--gradient": e.gradient && !n.default,
|
|
55
|
+
"v-divider--inset": e.inset,
|
|
56
|
+
"v-divider--vertical": e.vertical
|
|
57
|
+
}, s.value, v.value, e.class]),
|
|
58
|
+
style: d([f.value, m.value, {
|
|
59
|
+
"--v-border-opacity": e.opacity
|
|
60
|
+
}, {
|
|
61
|
+
"border-style": e.variant
|
|
62
|
+
}, e.style]),
|
|
63
|
+
"aria-orientation": !i.role || i.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
|
|
64
|
+
role: `${i.role || "separator"}`
|
|
65
|
+
}, null);
|
|
66
|
+
return n.default ? a("div", {
|
|
67
|
+
class: l(["v-divider__wrapper", {
|
|
68
|
+
"v-divider__wrapper--gradient": e.gradient,
|
|
69
|
+
"v-divider__wrapper--inset": e.inset,
|
|
70
|
+
"v-divider__wrapper--vertical": e.vertical
|
|
71
|
+
}])
|
|
72
|
+
}, [t, a("div", {
|
|
73
|
+
class: "v-divider__content",
|
|
74
|
+
style: d(u.value)
|
|
75
|
+
}, [n.default()]), t]) : t;
|
|
76
|
+
}), {};
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
export {
|
|
80
|
+
$ as VDivider,
|
|
81
|
+
V as makeVDividerProps
|
|
82
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { shallowRef as C, Text as g, createVNode as y, normalizeClass as k, normalizeStyle as z } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VIcon.sass.mjs";
|
|
3
|
+
import { useTextColor as b } from "../../composables/color.mjs";
|
|
4
|
+
import { makeComponentProps as I } from "../../composables/component.mjs";
|
|
5
|
+
import { IconValue as S, useIcon as V } from "../../composables/icons.mjs";
|
|
6
|
+
import { makeSizeProps as x, useSize as T } from "../../composables/size.mjs";
|
|
7
|
+
import { makeTagProps as p } from "../../composables/tag.mjs";
|
|
8
|
+
import { makeThemeProps as P, useTheme as B } from "../../composables/theme.mjs";
|
|
9
|
+
import { flattenFragments as w, convertToUnit as a } from "../../util/helpers.mjs";
|
|
10
|
+
import { propsFactory as F } from "../../util/propsFactory.mjs";
|
|
11
|
+
import { genericComponent as N } from "../../util/defineComponent.mjs";
|
|
12
|
+
import { useRender as R } from "../../util/useRender.mjs";
|
|
13
|
+
const D = F({
|
|
14
|
+
color: String,
|
|
15
|
+
disabled: Boolean,
|
|
16
|
+
start: Boolean,
|
|
17
|
+
end: Boolean,
|
|
18
|
+
icon: S,
|
|
19
|
+
opacity: [String, Number],
|
|
20
|
+
...I(),
|
|
21
|
+
...x(),
|
|
22
|
+
...p({
|
|
23
|
+
tag: "i"
|
|
24
|
+
}),
|
|
25
|
+
...P()
|
|
26
|
+
}, "VIcon"), Q = N()({
|
|
27
|
+
name: "VIcon",
|
|
28
|
+
props: D(),
|
|
29
|
+
setup(e, u) {
|
|
30
|
+
let {
|
|
31
|
+
attrs: l,
|
|
32
|
+
slots: t
|
|
33
|
+
} = u;
|
|
34
|
+
const r = C(), {
|
|
35
|
+
themeClasses: f
|
|
36
|
+
} = B(), {
|
|
37
|
+
iconData: c
|
|
38
|
+
} = V(() => r.value || e.icon), {
|
|
39
|
+
sizeClasses: s
|
|
40
|
+
} = T(e), {
|
|
41
|
+
textColorClasses: v,
|
|
42
|
+
textColorStyles: h
|
|
43
|
+
} = b(() => e.color);
|
|
44
|
+
return R(() => {
|
|
45
|
+
var m, d;
|
|
46
|
+
const n = (m = t.default) == null ? void 0 : m.call(t);
|
|
47
|
+
n && (r.value = (d = w(n).filter((i) => i.type === g && i.children && typeof i.children == "string")[0]) == null ? void 0 : d.children);
|
|
48
|
+
const o = !!(l.onClick || l.onClickOnce);
|
|
49
|
+
return y(c.value.component, {
|
|
50
|
+
tag: e.tag,
|
|
51
|
+
icon: c.value.icon,
|
|
52
|
+
class: k(["v-icon", "notranslate", f.value, s.value, v.value, {
|
|
53
|
+
"v-icon--clickable": o,
|
|
54
|
+
"v-icon--disabled": e.disabled,
|
|
55
|
+
"v-icon--start": e.start,
|
|
56
|
+
"v-icon--end": e.end
|
|
57
|
+
}, e.class]),
|
|
58
|
+
style: z([{
|
|
59
|
+
"--v-icon-opacity": e.opacity
|
|
60
|
+
}, s.value ? void 0 : {
|
|
61
|
+
fontSize: a(e.size),
|
|
62
|
+
height: a(e.size),
|
|
63
|
+
width: a(e.size)
|
|
64
|
+
}, h.value, e.style]),
|
|
65
|
+
role: o ? "button" : void 0,
|
|
66
|
+
"aria-hidden": !o,
|
|
67
|
+
tabindex: o ? e.disabled ? -1 : 0 : void 0
|
|
68
|
+
}, {
|
|
69
|
+
default: () => [n]
|
|
70
|
+
});
|
|
71
|
+
}), {};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
Q as VIcon,
|
|
76
|
+
D as makeVIconProps
|
|
77
|
+
};
|