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.
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 +4 -4
@@ -0,0 +1,206 @@
1
+ import { toRaw as u } from "vue";
2
+ const S = (a) => {
3
+ const s = {
4
+ select: (c) => {
5
+ let {
6
+ id: t,
7
+ value: n,
8
+ selected: e
9
+ } = c;
10
+ if (t = u(t), a && !n) {
11
+ const r = Array.from(e.entries()).reduce((o, l) => {
12
+ let [d, y] = l;
13
+ return y === "on" && o.push(d), o;
14
+ }, []);
15
+ if (r.length === 1 && r[0] === t)
16
+ return e;
17
+ }
18
+ return e.set(t, n ? "on" : "off"), e;
19
+ },
20
+ in: (c, t, n, e) => {
21
+ const r = /* @__PURE__ */ new Map();
22
+ for (const o of c || [])
23
+ s.select({
24
+ id: o,
25
+ value: !0,
26
+ selected: r,
27
+ children: t,
28
+ parents: n,
29
+ disabled: e
30
+ });
31
+ return r;
32
+ },
33
+ out: (c) => {
34
+ const t = [];
35
+ for (const [n, e] of c.entries())
36
+ e === "on" && t.push(n);
37
+ return t;
38
+ }
39
+ };
40
+ return s;
41
+ }, k = (a) => {
42
+ const s = S(a);
43
+ return {
44
+ select: (t) => {
45
+ let {
46
+ selected: n,
47
+ id: e,
48
+ ...r
49
+ } = t;
50
+ e = u(e);
51
+ const o = n.has(e) ? /* @__PURE__ */ new Map([[e, n.get(e)]]) : /* @__PURE__ */ new Map();
52
+ return s.select({
53
+ ...r,
54
+ id: e,
55
+ selected: o
56
+ });
57
+ },
58
+ in: (t, n, e, r) => t != null && t.length ? s.in(t.slice(0, 1), n, e, r) : /* @__PURE__ */ new Map(),
59
+ out: (t, n, e) => s.out(t, n, e)
60
+ };
61
+ }, v = (a) => {
62
+ const s = S(a);
63
+ return {
64
+ select: (t) => {
65
+ let {
66
+ id: n,
67
+ selected: e,
68
+ children: r,
69
+ ...o
70
+ } = t;
71
+ return n = u(n), r.has(n) ? e : s.select({
72
+ id: n,
73
+ selected: e,
74
+ children: r,
75
+ ...o
76
+ });
77
+ },
78
+ in: s.in,
79
+ out: s.out
80
+ };
81
+ }, b = (a) => {
82
+ const s = k(a);
83
+ return {
84
+ select: (t) => {
85
+ let {
86
+ id: n,
87
+ selected: e,
88
+ children: r,
89
+ ...o
90
+ } = t;
91
+ return n = u(n), r.has(n) ? e : s.select({
92
+ id: n,
93
+ selected: e,
94
+ children: r,
95
+ ...o
96
+ });
97
+ },
98
+ in: s.in,
99
+ out: s.out
100
+ };
101
+ }, m = (a) => {
102
+ const s = {
103
+ select: (c) => {
104
+ let {
105
+ id: t,
106
+ value: n,
107
+ selected: e,
108
+ children: r,
109
+ parents: o,
110
+ disabled: l
111
+ } = c;
112
+ t = u(t);
113
+ const d = new Map(e), y = [t];
114
+ for (; y.length; ) {
115
+ const i = y.shift();
116
+ l.has(i) || e.set(u(i), n ? "on" : "off"), r.has(i) && y.push(...r.get(i));
117
+ }
118
+ let h = u(o.get(t));
119
+ for (; h; ) {
120
+ let i = !0, f = !0;
121
+ for (const p of r.get(h)) {
122
+ const g = u(p);
123
+ if (!l.has(g) && (e.get(g) !== "on" && (i = !1), e.has(g) && e.get(g) !== "off" && (f = !1), !i && !f))
124
+ break;
125
+ }
126
+ e.set(h, i ? "on" : f ? "off" : "indeterminate"), h = u(o.get(h));
127
+ }
128
+ return a && !n && Array.from(e.entries()).reduce((f, p) => {
129
+ let [g, w] = p;
130
+ return w === "on" && f.push(g), f;
131
+ }, []).length === 0 ? d : e;
132
+ },
133
+ in: (c, t, n) => {
134
+ let e = /* @__PURE__ */ new Map();
135
+ for (const r of c || [])
136
+ e = s.select({
137
+ id: r,
138
+ value: !0,
139
+ selected: e,
140
+ children: t,
141
+ parents: n,
142
+ disabled: /* @__PURE__ */ new Set()
143
+ });
144
+ return e;
145
+ },
146
+ out: (c, t) => {
147
+ const n = [];
148
+ for (const [e, r] of c.entries())
149
+ r === "on" && !t.has(e) && n.push(e);
150
+ return n;
151
+ }
152
+ };
153
+ return s;
154
+ }, A = (a) => {
155
+ const s = m(a);
156
+ return {
157
+ select: s.select,
158
+ in: s.in,
159
+ out: (t, n, e) => {
160
+ const r = [];
161
+ for (const [o, l] of t.entries())
162
+ if (l === "on") {
163
+ if (e.has(o)) {
164
+ const d = e.get(o);
165
+ if (t.get(d) === "on")
166
+ continue;
167
+ }
168
+ r.push(o);
169
+ }
170
+ return r;
171
+ }
172
+ };
173
+ }, x = (a) => {
174
+ const c = {
175
+ select: m(a).select,
176
+ in: (t, n, e, r) => {
177
+ let o = /* @__PURE__ */ new Map();
178
+ for (const l of t || [])
179
+ n.has(l) || (o = c.select({
180
+ id: l,
181
+ value: !0,
182
+ selected: o,
183
+ children: n,
184
+ parents: e,
185
+ disabled: r
186
+ }));
187
+ return o;
188
+ },
189
+ out: (t) => {
190
+ const n = [];
191
+ for (const [e, r] of t.entries())
192
+ (r === "on" || r === "indeterminate") && n.push(e);
193
+ return n;
194
+ }
195
+ };
196
+ return c;
197
+ };
198
+ export {
199
+ x as branchSelectStrategy,
200
+ m as classicSelectStrategy,
201
+ S as independentSelectStrategy,
202
+ k as independentSingleSelectStrategy,
203
+ v as leafSelectStrategy,
204
+ b as leafSingleSelectStrategy,
205
+ A as trunkSelectStrategy
206
+ };
@@ -0,0 +1,22 @@
1
+ import { toRef as i } from "vue";
2
+ import { propsFactory as n } from "../util/propsFactory.mjs";
3
+ import { getCurrentInstanceName as e } from "../util/getCurrentInstance.mjs";
4
+ const s = ["static", "relative", "fixed", "absolute", "sticky"], m = n({
5
+ position: {
6
+ type: String,
7
+ validator: (
8
+ /* istanbul ignore next */
9
+ (t) => s.includes(t)
10
+ )
11
+ }
12
+ }, "position");
13
+ function c(t) {
14
+ let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e();
15
+ return {
16
+ positionClasses: i(() => t.position ? `${o}--${t.position}` : void 0)
17
+ };
18
+ }
19
+ export {
20
+ m as makePositionProps,
21
+ c as usePosition
22
+ };
@@ -0,0 +1,35 @@
1
+ import { useToggleScope as g } from "./toggleScope.mjs";
2
+ import { ref as h, computed as l, toRaw as P, watch as b } from "vue";
3
+ import { toKebabCase as w } from "../util/helpers.mjs";
4
+ import { getCurrentInstance as O } from "../util/getCurrentInstance.mjs";
5
+ function K(o, t, i) {
6
+ let c = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (e) => e, f = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (e) => e;
7
+ const n = O("useProxiedModel"), r = h(o[t] !== void 0 ? o[t] : i), d = w(t), s = d !== t ? l(() => {
8
+ var e, a, u, v;
9
+ return o[t], !!(((e = n.vnode.props) != null && e.hasOwnProperty(t) || (a = n.vnode.props) != null && a.hasOwnProperty(d)) && ((u = n.vnode.props) != null && u.hasOwnProperty(`onUpdate:${t}`) || (v = n.vnode.props) != null && v.hasOwnProperty(`onUpdate:${d}`)));
10
+ }) : l(() => {
11
+ var e, a;
12
+ return o[t], !!((e = n.vnode.props) != null && e.hasOwnProperty(t) && ((a = n.vnode.props) != null && a.hasOwnProperty(`onUpdate:${t}`)));
13
+ });
14
+ g(() => !s.value, () => {
15
+ b(() => o[t], (e) => {
16
+ r.value = e;
17
+ });
18
+ });
19
+ const m = l({
20
+ get() {
21
+ const e = o[t];
22
+ return c(s.value ? e : r.value);
23
+ },
24
+ set(e) {
25
+ const a = f(e), u = P(s.value ? o[t] : r.value);
26
+ u === a || c(u) === e || (r.value = a, n == null || n.emit(`update:${t}`, a));
27
+ }
28
+ });
29
+ return Object.defineProperty(m, "externalValue", {
30
+ get: () => s.value ? o[t] : r.value
31
+ }), m;
32
+ }
33
+ export {
34
+ K as useProxiedModel
35
+ };
@@ -0,0 +1,26 @@
1
+ import { ref as i, onBeforeUnmount as u, watch as m, readonly as R } from "vue";
2
+ import { IN_BROWSER as c } from "../util/globals.mjs";
3
+ import { templateRef as g } from "../util/helpers.mjs";
4
+ function h(o) {
5
+ let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
6
+ const r = g(), t = i();
7
+ if (c) {
8
+ const n = new ResizeObserver((e) => {
9
+ o == null || o(e, n), e.length && (s === "content" ? t.value = e[0].contentRect : t.value = e[0].target.getBoundingClientRect());
10
+ });
11
+ u(() => {
12
+ n.disconnect();
13
+ }), m(() => r.el, (e, f) => {
14
+ f && (n.unobserve(f), t.value = void 0), e && n.observe(e);
15
+ }, {
16
+ flush: "post"
17
+ });
18
+ }
19
+ return {
20
+ resizeRef: r,
21
+ contentRect: R(t)
22
+ };
23
+ }
24
+ export {
25
+ h as useResizeObserver
26
+ };
@@ -0,0 +1,21 @@
1
+ import { toRef as n, shallowRef as i, onMounted as l } from "vue";
2
+ import { propsFactory as r } from "../util/propsFactory.mjs";
3
+ const m = r({
4
+ reveal: {
5
+ type: [Boolean, Object],
6
+ default: !1
7
+ }
8
+ }, "reveal");
9
+ function v(e) {
10
+ const o = n(() => typeof e.reveal == "object" ? Math.max(0, Number(e.reveal.duration ?? 900)) : 900), a = i(e.reveal ? "initial" : "disabled");
11
+ return l(async () => {
12
+ e.reveal && (a.value = "initial", await new Promise((t) => requestAnimationFrame(t)), a.value = "pending", await new Promise((t) => setTimeout(t, o.value)), a.value = "done");
13
+ }), {
14
+ duration: o,
15
+ state: a
16
+ };
17
+ }
18
+ export {
19
+ m as makeRevealProps,
20
+ v as useReveal
21
+ };
@@ -0,0 +1,30 @@
1
+ import { computed as s, isRef as o } from "vue";
2
+ import { getCurrentInstanceName as a } from "../util/getCurrentInstance.mjs";
3
+ import { propsFactory as l } from "../util/propsFactory.mjs";
4
+ const g = l({
5
+ rounded: {
6
+ type: [Boolean, Number, String],
7
+ default: void 0
8
+ },
9
+ tile: Boolean
10
+ }, "rounded");
11
+ function p(n) {
12
+ let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : a();
13
+ return {
14
+ roundedClasses: s(() => {
15
+ const e = o(n) ? n.value : n.rounded, u = o(n) ? !1 : n.tile, t = [];
16
+ if (u || e === !1)
17
+ t.push("rounded-0");
18
+ else if (e === !0 || e === "")
19
+ t.push(`${r}--rounded`);
20
+ else if (typeof e == "string" || e === 0)
21
+ for (const d of String(e).split(" "))
22
+ t.push(`rounded-${d}`);
23
+ return t;
24
+ })
25
+ };
26
+ }
27
+ export {
28
+ g as makeRoundedProps,
29
+ p as useRounded
30
+ };
@@ -0,0 +1,97 @@
1
+ import { resolveDynamicComponent as L, toRef as n, computed as s, reactive as R, nextTick as g, onScopeDispose as b } from "vue";
2
+ import { hasEvent as h } from "../util/helpers.mjs";
3
+ import { getCurrentInstance as E } from "../util/getCurrentInstance.mjs";
4
+ import { deepEqual as y } from "../util/deepEqual.mjs";
5
+ import { propsFactory as x } from "../util/propsFactory.mjs";
6
+ import { IN_BROWSER as w } from "../util/globals.mjs";
7
+ function B() {
8
+ const e = E("useRoute");
9
+ return s(() => {
10
+ var u;
11
+ return (u = e == null ? void 0 : e.proxy) == null ? void 0 : u.$route;
12
+ });
13
+ }
14
+ function D() {
15
+ var e, u;
16
+ return (u = (e = E("useRouter")) == null ? void 0 : e.proxy) == null ? void 0 : u.$router;
17
+ }
18
+ function I(e, u) {
19
+ const o = L("RouterLink"), i = n(() => !!(e.href || e.to)), r = s(() => (i == null ? void 0 : i.value) || h(u, "click") || h(e, "click"));
20
+ if (typeof o == "string" || !("useLink" in o)) {
21
+ const t = n(() => e.href);
22
+ return {
23
+ isLink: i,
24
+ isRouterLink: n(() => !1),
25
+ isClickable: r,
26
+ href: t,
27
+ linkProps: R({
28
+ href: t
29
+ }),
30
+ route: n(() => {
31
+ }),
32
+ navigate: n(() => {
33
+ })
34
+ };
35
+ }
36
+ const f = o.useLink({
37
+ to: n(() => e.to || ""),
38
+ replace: n(() => e.replace)
39
+ }), a = s(() => e.to ? f : void 0), c = B(), l = s(() => {
40
+ var t, m, k;
41
+ return a.value ? e.exact ? c.value ? ((k = a.value.isExactActive) == null ? void 0 : k.value) && y(a.value.route.value.query, c.value.query) : ((m = a.value.isExactActive) == null ? void 0 : m.value) ?? !1 : ((t = a.value.isActive) == null ? void 0 : t.value) ?? !1 : !1;
42
+ }), d = s(() => {
43
+ var t;
44
+ return e.to ? (t = a.value) == null ? void 0 : t.route.value.href : e.href;
45
+ }), p = n(() => !!e.to);
46
+ return {
47
+ isLink: i,
48
+ isRouterLink: p,
49
+ isClickable: r,
50
+ isActive: l,
51
+ route: n(() => {
52
+ var t;
53
+ return (t = a.value) == null ? void 0 : t.route.value;
54
+ }),
55
+ navigate: n(() => {
56
+ var t;
57
+ return (t = a.value) == null ? void 0 : t.navigate;
58
+ }),
59
+ href: d,
60
+ linkProps: R({
61
+ href: d,
62
+ "aria-current": n(() => l.value ? "page" : void 0),
63
+ "aria-disabled": n(() => e.disabled && i.value ? "true" : void 0),
64
+ tabindex: n(() => e.disabled && i.value ? "-1" : void 0)
65
+ })
66
+ };
67
+ }
68
+ const O = x({
69
+ href: String,
70
+ replace: Boolean,
71
+ to: [String, Object],
72
+ exact: Boolean
73
+ }, "router");
74
+ let v = !1;
75
+ function $(e, u) {
76
+ let o = !1, i, r;
77
+ w && (e != null && e.beforeEach) && (g(() => {
78
+ window.addEventListener("popstate", f), i = e.beforeEach((a, c, l) => {
79
+ v ? o ? u(l) : l() : setTimeout(() => o ? u(l) : l()), v = !0;
80
+ }), r = e == null ? void 0 : e.afterEach(() => {
81
+ v = !1;
82
+ });
83
+ }), b(() => {
84
+ window.removeEventListener("popstate", f), i == null || i(), r == null || r();
85
+ }));
86
+ function f(a) {
87
+ var c;
88
+ (c = a.state) != null && c.replaced || (o = !0, setTimeout(() => o = !1));
89
+ }
90
+ }
91
+ export {
92
+ O as makeRouterProps,
93
+ $ as useBackButton,
94
+ I as useLink,
95
+ B as useRoute,
96
+ D as useRouter
97
+ };
@@ -0,0 +1,12 @@
1
+ import { getCurrentInstance as o } from "../util/getCurrentInstance.mjs";
2
+ function t() {
3
+ const e = o("useScopeId").vnode.scopeId;
4
+ return {
5
+ scopeId: e ? {
6
+ [e]: ""
7
+ } : void 0
8
+ };
9
+ }
10
+ export {
11
+ t as useScopeId
12
+ };
@@ -0,0 +1,16 @@
1
+ import { watch as u, nextTick as n } from "vue";
2
+ function m(i, t) {
3
+ u(() => {
4
+ var e;
5
+ return (e = i.isActive) == null ? void 0 : e.value;
6
+ }, (e) => {
7
+ i.isLink.value && e != null && t && n(() => {
8
+ t(e);
9
+ });
10
+ }, {
11
+ immediate: !0
12
+ });
13
+ }
14
+ export {
15
+ m as useSelectLink
16
+ };
@@ -0,0 +1,27 @@
1
+ import { destructComputed as l, includes as o, convertToUnit as r } from "../util/helpers.mjs";
2
+ import { propsFactory as a } from "../util/propsFactory.mjs";
3
+ import { getCurrentInstanceName as m } from "../util/getCurrentInstance.mjs";
4
+ const u = ["x-small", "small", "default", "large", "x-large"], z = a({
5
+ size: {
6
+ type: [String, Number],
7
+ default: "default"
8
+ }
9
+ }, "size");
10
+ function c(i) {
11
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : m();
12
+ return l(() => {
13
+ const e = i.size;
14
+ let t, s;
15
+ return o(u, e) ? t = `${n}--size-${e}` : e && (s = {
16
+ width: r(e),
17
+ height: r(e)
18
+ }), {
19
+ sizeClasses: t,
20
+ sizeStyles: s
21
+ };
22
+ });
23
+ }
24
+ export {
25
+ z as makeSizeProps,
26
+ c as useSize
27
+ };
@@ -0,0 +1,17 @@
1
+ import { shallowRef as t, onMounted as e, toRef as n, readonly as s } from "vue";
2
+ function a() {
3
+ const o = t(!1);
4
+ return e(() => {
5
+ window.requestAnimationFrame(() => {
6
+ o.value = !0;
7
+ });
8
+ }), {
9
+ ssrBootStyles: n(() => o.value ? void 0 : {
10
+ transition: "none !important"
11
+ }),
12
+ isBooted: s(o)
13
+ };
14
+ }
15
+ export {
16
+ a as useSsrBoot
17
+ };
@@ -0,0 +1,39 @@
1
+ import { useToggleScope as g } from "./toggleScope.mjs";
2
+ import { reactive as v, inject as y, provide as T, shallowRef as d, toValue as r, watchEffect as x, toRef as f, readonly as C, onScopeDispose as w, toRaw as I } from "vue";
3
+ import { getCurrentInstance as R } from "../util/getCurrentInstance.mjs";
4
+ const m = Symbol.for("vuetify:stack"), c = v([]);
5
+ function _(p, s, S) {
6
+ const t = R("useStack"), n = !S, e = y(m, void 0), l = v({
7
+ activeChildren: /* @__PURE__ */ new Set()
8
+ });
9
+ T(m, l);
10
+ const a = d(Number(r(s)));
11
+ g(p, () => {
12
+ var o;
13
+ const i = (o = c.at(-1)) == null ? void 0 : o[1];
14
+ a.value = i ? i + 10 : Number(r(s)), n && c.push([t.uid, a.value]), e == null || e.activeChildren.add(t.uid), w(() => {
15
+ if (n) {
16
+ const b = I(c).findIndex((h) => h[0] === t.uid);
17
+ c.splice(b, 1);
18
+ }
19
+ e == null || e.activeChildren.delete(t.uid);
20
+ });
21
+ });
22
+ const u = d(!0);
23
+ n && x(() => {
24
+ var o;
25
+ const i = ((o = c.at(-1)) == null ? void 0 : o[0]) === t.uid;
26
+ setTimeout(() => u.value = i);
27
+ });
28
+ const k = f(() => !l.activeChildren.size);
29
+ return {
30
+ globalTop: C(u),
31
+ localTop: k,
32
+ stackStyles: f(() => ({
33
+ zIndex: a.value
34
+ }))
35
+ };
36
+ }
37
+ export {
38
+ _ as useStack
39
+ };
@@ -0,0 +1,10 @@
1
+ import { propsFactory as t } from "../util/propsFactory.mjs";
2
+ const r = t({
3
+ tag: {
4
+ type: [String, Object, Function],
5
+ default: "div"
6
+ }
7
+ }, "tag");
8
+ export {
9
+ r as makeTagProps
10
+ };
@@ -0,0 +1,21 @@
1
+ import { computed as a, warn as c } from "vue";
2
+ import { IN_BROWSER as l } from "../util/globals.mjs";
3
+ function m(n) {
4
+ return {
5
+ teleportTarget: a(() => {
6
+ const e = n();
7
+ if (e === !0 || !l)
8
+ return;
9
+ const r = e === !1 ? document.body : typeof e == "string" ? document.querySelector(e) : e;
10
+ if (r == null) {
11
+ c(`Unable to locate target ${e}`);
12
+ return;
13
+ }
14
+ let t = [...r.children].find((o) => o.matches(".v-overlay-container"));
15
+ return t || (t = document.createElement("div"), t.className = "v-overlay-container", r.appendChild(t)), t;
16
+ })
17
+ };
18
+ }
19
+ export {
20
+ m as useTeleport
21
+ };
@@ -0,0 +1,32 @@
1
+ import { inject as i, toRef as o, provide as c } from "vue";
2
+ import { propsFactory as f } from "../util/propsFactory.mjs";
3
+ import { getCurrentInstance as h } from "../util/getCurrentInstance.mjs";
4
+ const r = Symbol.for("vuetify:theme"), d = f({
5
+ theme: String
6
+ }, "theme");
7
+ function v(t) {
8
+ h("provideTheme");
9
+ const e = i(r, null);
10
+ if (!e)
11
+ throw new Error("Could not find Vuetify theme injection");
12
+ const n = o(() => t.theme ?? e.name.value), u = o(() => e.themes.value[n.value]), s = o(() => e.isDisabled ? void 0 : `${e.prefix}theme--${n.value}`), m = {
13
+ ...e,
14
+ name: n,
15
+ current: u,
16
+ themeClasses: s
17
+ };
18
+ return c(r, m), m;
19
+ }
20
+ function T() {
21
+ h("useTheme");
22
+ const t = i(r, null);
23
+ if (!t)
24
+ throw new Error("Could not find Vuetify theme injection");
25
+ return t;
26
+ }
27
+ export {
28
+ r as ThemeSymbol,
29
+ d as makeThemeProps,
30
+ v as provideTheme,
31
+ T as useTheme
32
+ };
@@ -0,0 +1,19 @@
1
+ import { watch as f, onScopeDispose as r, effectScope as u } from "vue";
2
+ function m(n, e) {
3
+ let t;
4
+ function o() {
5
+ t = u(), t.run(() => e.length ? e(() => {
6
+ t == null || t.stop(), o();
7
+ }) : e());
8
+ }
9
+ f(n, (i) => {
10
+ i && !t ? o() : i || (t == null || t.stop(), t = void 0);
11
+ }, {
12
+ immediate: !0
13
+ }), r(() => {
14
+ t == null || t.stop();
15
+ });
16
+ }
17
+ export {
18
+ m as useToggleScope
19
+ };
@@ -0,0 +1,34 @@
1
+ import { mergeProps as e, h as f, TransitionGroup as u, Transition as d } from "vue";
2
+ import { isObject as a, onlyDefinedProps as P } from "../util/helpers.mjs";
3
+ import { propsFactory as y } from "../util/propsFactory.mjs";
4
+ const h = y({
5
+ transition: {
6
+ type: null,
7
+ default: "fade-transition",
8
+ validator: (t) => t !== !0
9
+ }
10
+ }, "transition"), j = (t, p) => {
11
+ let {
12
+ slots: m
13
+ } = p;
14
+ const {
15
+ transition: o,
16
+ disabled: n,
17
+ group: i,
18
+ ...s
19
+ } = t, {
20
+ component: l = i ? u : d,
21
+ ...c
22
+ } = a(o) ? o : {};
23
+ let r;
24
+ return a(o) ? r = e(c, P({
25
+ disabled: n,
26
+ group: i
27
+ }), s) : r = e({
28
+ name: n || !o ? "" : o
29
+ }, s), f(l, r, m);
30
+ };
31
+ export {
32
+ j as MaybeTransition,
33
+ h as makeTransitionProps
34
+ };