bt-core-app 2.2.5 → 2.2.6

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 (181) hide show
  1. package/dist/_virtual/VCheckbox.sass.mjs +1 -0
  2. package/dist/_virtual/VChip.sass.mjs +1 -0
  3. package/dist/_virtual/VChipGroup.sass.mjs +1 -0
  4. package/dist/_virtual/VColorPicker.sass.mjs +1 -0
  5. package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
  6. package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
  7. package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
  8. package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
  9. package/dist/_virtual/VCombobox.sass.mjs +1 -0
  10. package/dist/_virtual/VContainer.sass.mjs +1 -0
  11. package/dist/_virtual/VCounter.sass.mjs +1 -0
  12. package/dist/_virtual/VDialog.sass.mjs +1 -0
  13. package/dist/_virtual/VField.sass.mjs +1 -0
  14. package/dist/_virtual/VGrid.sass.mjs +1 -0
  15. package/dist/_virtual/VInput.sass.mjs +1 -0
  16. package/dist/_virtual/VLabel.sass.mjs +1 -0
  17. package/dist/_virtual/VMessages.sass.mjs +1 -0
  18. package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
  19. package/dist/_virtual/VPagination.sass.mjs +1 -0
  20. package/dist/_virtual/VPicker.sass.mjs +1 -0
  21. package/dist/_virtual/VRating.sass.mjs +1 -0
  22. package/dist/_virtual/VSelect.sass.mjs +1 -0
  23. package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
  24. package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
  25. package/dist/_virtual/VSheet.sass.mjs +1 -0
  26. package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
  27. package/dist/_virtual/VSlider.sass.mjs +1 -0
  28. package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
  29. package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
  30. package/dist/_virtual/VSpacer.sass.mjs +1 -0
  31. package/dist/_virtual/VSwitch.sass.mjs +1 -0
  32. package/dist/_virtual/VTab.sass.mjs +1 -0
  33. package/dist/_virtual/VTable.sass.mjs +1 -0
  34. package/dist/_virtual/VTabs.sass.mjs +1 -0
  35. package/dist/_virtual/VTextField.sass.mjs +1 -0
  36. package/dist/_virtual/VTextarea.sass.mjs +1 -0
  37. package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
  38. package/dist/_virtual/VWindow.sass.mjs +1 -0
  39. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +14 -14
  40. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
  41. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
  42. package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
  43. package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
  44. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
  45. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
  46. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
  47. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
  48. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
  49. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
  50. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
  51. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
  52. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
  53. package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
  54. package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
  55. package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
  56. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
  57. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
  58. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
  59. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
  60. package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
  61. package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
  62. package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
  63. package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
  64. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
  65. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
  66. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
  67. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
  68. package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
  69. package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
  70. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
  71. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
  72. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
  73. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
  74. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
  75. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
  76. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
  77. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
  78. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
  79. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
  80. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
  81. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
  82. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
  83. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
  84. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
  85. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
  86. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
  87. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
  88. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
  89. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
  90. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
  91. package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
  92. package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
  93. package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
  94. package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
  95. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +21 -19
  96. package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
  97. package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
  98. package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +21 -12
  99. package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
  100. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
  101. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
  102. package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
  103. package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
  104. package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +4 -4
  105. package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
  106. package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +92 -5
  107. package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
  108. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +1 -1
  109. package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
  110. package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
  111. package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
  112. package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
  113. package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
  114. package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
  115. package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
  116. package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
  117. package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
  118. package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +133 -50
  119. package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +20 -4
  120. package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +2 -1
  121. package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +248 -141
  122. package/dist/components/BT-Assistant-Menu.vue.mjs +226 -211
  123. package/dist/components/BT-Avatar.vue.mjs +31 -31
  124. package/dist/components/BT-Background-Task.vue.mjs +30 -28
  125. package/dist/components/BT-Blade-Item.vue.mjs +111 -102
  126. package/dist/components/BT-Blade-Items.vue.mjs +2 -2
  127. package/dist/components/BT-Blade-Items.vue2.mjs +413 -402
  128. package/dist/components/BT-Blade-Steps.vue.mjs +1 -1
  129. package/dist/components/BT-Blade-Steps.vue2.mjs +597 -583
  130. package/dist/components/BT-Blade.vue.mjs +19 -19
  131. package/dist/components/BT-Btn.vue.mjs +23 -25
  132. package/dist/components/BT-Camera-Overlay.vue.mjs +72 -68
  133. package/dist/components/BT-Col.vue.mjs +17 -19
  134. package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
  135. package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
  136. package/dist/components/BT-Cron.vue.mjs +249 -235
  137. package/dist/components/BT-Date-Select.vue.mjs +46 -47
  138. package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
  139. package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
  140. package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
  141. package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
  142. package/dist/components/BT-Dialog-Select.vue.mjs +107 -97
  143. package/dist/components/BT-Divider.vue.mjs +20 -21
  144. package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
  145. package/dist/components/BT-Drag-Counter.vue2.mjs +58 -56
  146. package/dist/components/BT-Entity.vue.mjs +50 -48
  147. package/dist/components/BT-Error.vue.mjs +16 -15
  148. package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
  149. package/dist/components/BT-Field-Date.vue.mjs +87 -84
  150. package/dist/components/BT-Field-Entity.vue.mjs +20 -16
  151. package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
  152. package/dist/components/BT-Field-Select.vue.mjs +32 -34
  153. package/dist/components/BT-Field-String.vue.mjs +54 -52
  154. package/dist/components/BT-Field-Switch.vue.mjs +44 -43
  155. package/dist/components/BT-Field-Tags.vue.mjs +57 -55
  156. package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
  157. package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
  158. package/dist/components/BT-Field.vue.mjs +39 -38
  159. package/dist/components/BT-Form-Builder.vue.mjs +342 -322
  160. package/dist/components/BT-Form-Field.vue.mjs +81 -75
  161. package/dist/components/BT-Form.vue.mjs +263 -253
  162. package/dist/components/BT-Header-Option.vue.mjs +10 -9
  163. package/dist/components/BT-Image-Select.vue.mjs +186 -177
  164. package/dist/components/BT-Json.vue.mjs +29 -30
  165. package/dist/components/BT-Loader.vue.mjs +32 -31
  166. package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
  167. package/dist/components/BT-Number.vue.mjs +2 -2
  168. package/dist/components/BT-Number.vue2.mjs +17 -19
  169. package/dist/components/BT-Numpad.vue.mjs +71 -66
  170. package/dist/components/BT-Select-List-Box.vue.mjs +157 -144
  171. package/dist/components/BT-Select-Simple.vue.mjs +21 -23
  172. package/dist/components/BT-Select.vue.mjs +36 -37
  173. package/dist/components/BT-Signature-Overlay.vue.mjs +63 -60
  174. package/dist/components/BT-Signature.vue.mjs +66 -64
  175. package/dist/components/BT-Slider.vue.mjs +69 -61
  176. package/dist/components/BT-Square-Check.vue.mjs +24 -22
  177. package/dist/components/BT-Status-Item.vue.mjs +18 -16
  178. package/dist/components/BT-Tags.vue.mjs +21 -22
  179. package/dist/components/BT-Tour.vue.mjs +69 -65
  180. package/dist/style.css +1 -1
  181. package/package.json +1 -1
@@ -0,0 +1,104 @@
1
+ import "../../../../../../../_virtual/VGrid.sass.mjs";
2
+ import { makeComponentProps as v } from "../../composables/component.mjs";
3
+ import { breakpoints as S } from "../../composables/display.mjs";
4
+ import { makeTagProps as k } from "../../composables/tag.mjs";
5
+ import { computed as w, h as V, capitalize as b } from "vue";
6
+ import { propsFactory as L } from "../../util/propsFactory.mjs";
7
+ import { genericComponent as N } from "../../util/defineComponent.mjs";
8
+ const i = ["start", "end", "center"], f = ["space-between", "space-around", "space-evenly"];
9
+ function s(t, o) {
10
+ return S.reduce((e, a) => {
11
+ const n = t + b(a);
12
+ return e[n] = o(), e;
13
+ }, {});
14
+ }
15
+ const P = [...i, "baseline", "stretch"], g = (t) => P.includes(t), d = s("align", () => ({
16
+ type: String,
17
+ default: null,
18
+ validator: g
19
+ })), A = [...i, ...f], y = (t) => A.includes(t), m = s("justify", () => ({
20
+ type: String,
21
+ default: null,
22
+ validator: y
23
+ })), E = [...i, ...f, "stretch"], p = (t) => E.includes(t), C = s("alignContent", () => ({
24
+ type: String,
25
+ default: null,
26
+ validator: p
27
+ })), u = {
28
+ align: Object.keys(d),
29
+ justify: Object.keys(m),
30
+ alignContent: Object.keys(C)
31
+ }, h = {
32
+ align: "align",
33
+ justify: "justify",
34
+ alignContent: "align-content"
35
+ };
36
+ function G(t, o, e) {
37
+ let a = h[t];
38
+ if (e != null) {
39
+ if (o) {
40
+ const n = o.replace(t, "");
41
+ a += `-${n}`;
42
+ }
43
+ return a += `-${e}`, a.toLowerCase();
44
+ }
45
+ }
46
+ const R = L({
47
+ dense: Boolean,
48
+ noGutters: Boolean,
49
+ align: {
50
+ type: String,
51
+ default: null,
52
+ validator: g
53
+ },
54
+ ...d,
55
+ justify: {
56
+ type: String,
57
+ default: null,
58
+ validator: y
59
+ },
60
+ ...m,
61
+ alignContent: {
62
+ type: String,
63
+ default: null,
64
+ validator: p
65
+ },
66
+ ...C,
67
+ ...v(),
68
+ ...k()
69
+ }, "VRow"), x = N()({
70
+ name: "VRow",
71
+ props: R(),
72
+ setup(t, o) {
73
+ let {
74
+ slots: e
75
+ } = o;
76
+ const a = w(() => {
77
+ const n = [];
78
+ let l;
79
+ for (l in u)
80
+ u[l].forEach((r) => {
81
+ const j = t[r], c = G(l, r, j);
82
+ c && n.push(c);
83
+ });
84
+ return n.push({
85
+ "v-row--no-gutters": t.noGutters,
86
+ "v-row--dense": t.dense,
87
+ [`align-${t.align}`]: t.align,
88
+ [`justify-${t.justify}`]: t.justify,
89
+ [`align-content-${t.alignContent}`]: t.alignContent
90
+ }), n;
91
+ });
92
+ return () => {
93
+ var n;
94
+ return V(t.tag, {
95
+ class: ["v-row", a.value, t.class],
96
+ style: t.style
97
+ }, (n = e.default) == null ? void 0 : n.call(e));
98
+ };
99
+ }
100
+ });
101
+ export {
102
+ x as VRow,
103
+ R as makeVRowProps
104
+ };
@@ -0,0 +1,6 @@
1
+ import "../../../../../../../_virtual/VSpacer.sass.mjs";
2
+ import { createSimpleFunctional as r } from "../../util/createSimpleFunctional.mjs";
3
+ const c = r("v-spacer", "div", "VSpacer");
4
+ export {
5
+ c as VSpacer
6
+ };
@@ -0,0 +1,41 @@
1
+ import { makeDelayProps as u, useDelay as m } from "../../composables/delay.mjs";
2
+ import { useProxiedModel as s } from "../../composables/proxiedModel.mjs";
3
+ import { propsFactory as p } from "../../util/propsFactory.mjs";
4
+ import { genericComponent as i } from "../../util/defineComponent.mjs";
5
+ const d = p({
6
+ disabled: Boolean,
7
+ modelValue: {
8
+ type: Boolean,
9
+ default: null
10
+ },
11
+ ...u()
12
+ }, "VHover"), y = i()({
13
+ name: "VHover",
14
+ props: d(),
15
+ emits: {
16
+ "update:modelValue": (e) => !0
17
+ },
18
+ setup(e, a) {
19
+ let {
20
+ slots: r
21
+ } = a;
22
+ const l = s(e, "modelValue"), {
23
+ runOpenDelay: n,
24
+ runCloseDelay: t
25
+ } = m(e, (o) => !e.disabled && (l.value = o));
26
+ return () => {
27
+ var o;
28
+ return (o = r.default) == null ? void 0 : o.call(r, {
29
+ isHovering: l.value,
30
+ props: {
31
+ onMouseenter: n,
32
+ onMouseleave: t
33
+ }
34
+ });
35
+ };
36
+ }
37
+ });
38
+ export {
39
+ y as VHover,
40
+ d as makeVHoverProps
41
+ };
@@ -0,0 +1,40 @@
1
+ import { createVNode as f, mergeProps as m } from "vue";
2
+ import { useLocale as s } from "../../composables/locale.mjs";
3
+ import { VIcon as I } from "../VIcon/VIcon.mjs";
4
+ import { callEvent as y } from "../../util/helpers.mjs";
5
+ function b(e) {
6
+ const {
7
+ t: c
8
+ } = s();
9
+ function p(i) {
10
+ let {
11
+ name: o,
12
+ color: l,
13
+ ...a
14
+ } = i;
15
+ const r = {
16
+ prepend: "prependAction",
17
+ prependInner: "prependAction",
18
+ append: "appendAction",
19
+ appendInner: "appendAction",
20
+ clear: "clear"
21
+ }[o], t = e[`onClick:${o}`];
22
+ function u(n) {
23
+ n.key !== "Enter" && n.key !== " " || (n.preventDefault(), n.stopPropagation(), y(t, new PointerEvent("click", n)));
24
+ }
25
+ const d = t && r ? c(`$vuetify.input.${r}`, e.label ?? "") : void 0;
26
+ return f(I, m({
27
+ icon: e[`${o}Icon`],
28
+ "aria-label": d,
29
+ onClick: t,
30
+ onKeydown: u,
31
+ color: l
32
+ }, a), null);
33
+ }
34
+ return {
35
+ InputIcon: p
36
+ };
37
+ }
38
+ export {
39
+ b as useInputIcon
40
+ };
@@ -0,0 +1,154 @@
1
+ import { useId as N, computed as o, toRef as l, createElementVNode as t, normalizeClass as T, normalizeStyle as W, createVNode as u } from "vue";
2
+ import "../../../../../../../_virtual/VInput.sass.mjs";
3
+ import { useInputIcon as F } from "./InputIcon.mjs";
4
+ import { VMessages as j } from "../VMessages/VMessages.mjs";
5
+ import { makeComponentProps as q } from "../../composables/component.mjs";
6
+ import { makeDensityProps as G, useDensity as J } from "../../composables/density.mjs";
7
+ import { makeDimensionProps as K, useDimension as L } from "../../composables/dimensions.mjs";
8
+ import { IconValue as S } from "../../composables/icons.mjs";
9
+ import { useRtl as O } from "../../composables/locale.mjs";
10
+ import { makeThemeProps as Q, provideTheme as U } from "../../composables/theme.mjs";
11
+ import { makeValidationProps as X, useValidation as Y } from "../../composables/validation.mjs";
12
+ import { EventProp as D, pick as Z } from "../../util/helpers.mjs";
13
+ import { propsFactory as ee } from "../../util/propsFactory.mjs";
14
+ import { genericComponent as ne } from "../../util/defineComponent.mjs";
15
+ import { useRender as te } from "../../util/useRender.mjs";
16
+ const ie = ee({
17
+ id: String,
18
+ appendIcon: S,
19
+ baseColor: String,
20
+ centerAffix: {
21
+ type: Boolean,
22
+ default: !0
23
+ },
24
+ color: String,
25
+ glow: Boolean,
26
+ iconColor: [Boolean, String],
27
+ prependIcon: S,
28
+ hideDetails: [Boolean, String],
29
+ hideSpinButtons: Boolean,
30
+ hint: String,
31
+ persistentHint: Boolean,
32
+ messages: {
33
+ type: [Array, String],
34
+ default: () => []
35
+ },
36
+ direction: {
37
+ type: String,
38
+ default: "horizontal",
39
+ validator: (e) => ["horizontal", "vertical"].includes(e)
40
+ },
41
+ "onClick:prepend": D(),
42
+ "onClick:append": D(),
43
+ ...q(),
44
+ ...G(),
45
+ ...Z(K(), ["maxWidth", "minWidth", "width"]),
46
+ ...Q(),
47
+ ...X()
48
+ }, "VInput"), Ve = ne()({
49
+ name: "VInput",
50
+ props: {
51
+ ...ie()
52
+ },
53
+ emits: {
54
+ "update:modelValue": (e) => !0
55
+ },
56
+ setup(e, P) {
57
+ let {
58
+ attrs: ae,
59
+ slots: n,
60
+ emit: oe
61
+ } = P;
62
+ const {
63
+ densityClasses: B
64
+ } = J(e), {
65
+ dimensionStyles: _
66
+ } = L(e), {
67
+ themeClasses: b
68
+ } = U(e), {
69
+ rtlClasses: x
70
+ } = O(), {
71
+ InputIcon: c
72
+ } = F(e), w = N(), s = o(() => e.id || `input-${w}`), {
73
+ errorMessages: r,
74
+ isDirty: z,
75
+ isDisabled: A,
76
+ isReadonly: M,
77
+ isPristine: m,
78
+ isValid: v,
79
+ isValidating: R,
80
+ reset: p,
81
+ resetValidation: f,
82
+ validate: g,
83
+ validationClasses: $
84
+ } = Y(e, "v-input", s), h = o(() => {
85
+ var a;
86
+ return (a = e.errorMessages) != null && a.length || !m.value && r.value.length ? r.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages;
87
+ }), y = l(() => h.value.length > 0), d = l(() => !e.hideDetails || e.hideDetails === "auto" && (y.value || !!n.details)), I = o(() => d.value ? `${s.value}-messages` : void 0), i = o(() => ({
88
+ id: s,
89
+ messagesId: I,
90
+ isDirty: z,
91
+ isDisabled: A,
92
+ isReadonly: M,
93
+ isPristine: m,
94
+ isValid: v,
95
+ isValidating: R,
96
+ hasDetails: d,
97
+ reset: p,
98
+ resetValidation: f,
99
+ validate: g
100
+ })), E = l(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), C = l(() => {
101
+ if (e.iconColor)
102
+ return e.iconColor === !0 ? E.value : e.iconColor;
103
+ });
104
+ return te(() => {
105
+ var V, k;
106
+ const a = !!(n.prepend || e.prependIcon), H = !!(n.append || e.appendIcon);
107
+ return t("div", {
108
+ class: T(["v-input", `v-input--${e.direction}`, {
109
+ "v-input--center-affix": e.centerAffix,
110
+ "v-input--focused": e.focused,
111
+ "v-input--glow": e.glow,
112
+ "v-input--hide-spin-buttons": e.hideSpinButtons
113
+ }, B.value, b.value, x.value, $.value, e.class]),
114
+ style: W([_.value, e.style])
115
+ }, [a && t("div", {
116
+ key: "prepend",
117
+ class: "v-input__prepend"
118
+ }, [n.prepend ? n.prepend(i.value) : e.prependIcon && u(c, {
119
+ key: "prepend-icon",
120
+ name: "prepend",
121
+ color: C.value
122
+ }, null)]), n.default && t("div", {
123
+ class: "v-input__control"
124
+ }, [(V = n.default) == null ? void 0 : V.call(n, i.value)]), H && t("div", {
125
+ key: "append",
126
+ class: "v-input__append"
127
+ }, [n.append ? n.append(i.value) : e.appendIcon && u(c, {
128
+ key: "append-icon",
129
+ name: "append",
130
+ color: C.value
131
+ }, null)]), d.value && t("div", {
132
+ id: I.value,
133
+ class: "v-input__details",
134
+ role: "alert",
135
+ "aria-live": "polite"
136
+ }, [u(j, {
137
+ active: y.value,
138
+ messages: h.value
139
+ }, {
140
+ message: n.message
141
+ }), (k = n.details) == null ? void 0 : k.call(n, i.value)])]);
142
+ }), {
143
+ reset: p,
144
+ resetValidation: f,
145
+ validate: g,
146
+ isValid: v,
147
+ errorMessages: r
148
+ };
149
+ }
150
+ });
151
+ export {
152
+ Ve as VInput,
153
+ ie as makeVInputProps
154
+ };
@@ -0,0 +1,36 @@
1
+ import { createElementVNode as l, normalizeClass as m, normalizeStyle as a } from "vue";
2
+ import "../../../../../../../_virtual/VLabel.sass.mjs";
3
+ import { makeComponentProps as n } from "../../composables/component.mjs";
4
+ import { makeThemeProps as i } from "../../composables/theme.mjs";
5
+ import { EventProp as c } from "../../util/helpers.mjs";
6
+ import { propsFactory as p } from "../../util/propsFactory.mjs";
7
+ import { genericComponent as s } from "../../util/defineComponent.mjs";
8
+ import { useRender as b } from "../../util/useRender.mjs";
9
+ const f = p({
10
+ text: String,
11
+ onClick: c(),
12
+ ...n(),
13
+ ...i()
14
+ }, "VLabel"), v = s()({
15
+ name: "VLabel",
16
+ props: f(),
17
+ setup(e, r) {
18
+ let {
19
+ slots: o
20
+ } = r;
21
+ return b(() => {
22
+ var t;
23
+ return l("label", {
24
+ class: m(["v-label", {
25
+ "v-label--clickable": !!e.onClick
26
+ }, e.class]),
27
+ style: a(e.style),
28
+ onClick: e.onClick
29
+ }, [e.text, (t = o.default) == null ? void 0 : t.call(o)]);
30
+ }), {};
31
+ }
32
+ });
33
+ export {
34
+ v as VLabel,
35
+ f as makeVLabelProps
36
+ };
@@ -0,0 +1,55 @@
1
+ import { computed as i, createVNode as l, normalizeClass as c, normalizeStyle as p, createElementVNode as g } from "vue";
2
+ import "../../../../../../../_virtual/VMessages.sass.mjs";
3
+ import { VSlideYTransition as u } from "../transitions/index.mjs";
4
+ import { useTextColor as f } from "../../composables/color.mjs";
5
+ import { makeComponentProps as v } from "../../composables/component.mjs";
6
+ import { makeTransitionProps as y, MaybeTransition as d } from "../../composables/transition.mjs";
7
+ import { propsFactory as C } from "../../util/propsFactory.mjs";
8
+ import { genericComponent as V } from "../../util/defineComponent.mjs";
9
+ import { wrapInArray as M } from "../../util/helpers.mjs";
10
+ import { useRender as S } from "../../util/useRender.mjs";
11
+ const k = C({
12
+ active: Boolean,
13
+ color: String,
14
+ messages: {
15
+ type: [Array, String],
16
+ default: () => []
17
+ },
18
+ ...v(),
19
+ ...y({
20
+ transition: {
21
+ component: u,
22
+ leaveAbsolute: !0,
23
+ group: !0
24
+ }
25
+ })
26
+ }, "VMessages"), B = V()({
27
+ name: "VMessages",
28
+ props: k(),
29
+ setup(e, r) {
30
+ let {
31
+ slots: s
32
+ } = r;
33
+ const o = i(() => M(e.messages)), {
34
+ textColorClasses: a,
35
+ textColorStyles: m
36
+ } = f(() => e.color);
37
+ return S(() => l(d, {
38
+ transition: e.transition,
39
+ tag: "div",
40
+ class: c(["v-messages", a.value, e.class]),
41
+ style: p([m.value, e.style])
42
+ }, {
43
+ default: () => [e.active && o.value.map((t, n) => g("div", {
44
+ class: "v-messages__message",
45
+ key: `${n}-${o.value}`
46
+ }, [s.message ? s.message({
47
+ message: t
48
+ }) : t]))]
49
+ })), {};
50
+ }
51
+ });
52
+ export {
53
+ B as VMessages,
54
+ k as makeVMessagesProps
55
+ };
@@ -0,0 +1,247 @@
1
+ import { ref as K, shallowRef as Q, computed as i, toRef as f, watch as v, readonly as U, createElementVNode as l, Fragment as X, createVNode as d, mergeProps as R, Transition as Y, nextTick as Z } from "vue";
2
+ import "../../../../../../../_virtual/VNavigationDrawer.sass.mjs";
3
+ import { useSticky as ee } from "./sticky.mjs";
4
+ import { useTouch as ae } from "./touch.mjs";
5
+ import { makeBorderProps as te, useBorder as oe } from "../../composables/border.mjs";
6
+ import { useBackgroundColor as T } from "../../composables/color.mjs";
7
+ import { makeComponentProps as re } from "../../composables/component.mjs";
8
+ import { provideDefaults as ie } from "../../composables/defaults.mjs";
9
+ import { makeDelayProps as le, useDelay as ne } from "../../composables/delay.mjs";
10
+ import { makeDisplayProps as ue, useDisplay as se } from "../../composables/display.mjs";
11
+ import { makeElevationProps as me, useElevation as ve } from "../../composables/elevation.mjs";
12
+ import { makeFocusTrapProps as de, useFocusTrap as ce } from "../../composables/focusTrap.mjs";
13
+ import { makeLayoutItemProps as ge, useLayoutItem as fe } from "../../composables/layout.mjs";
14
+ import { useProxiedModel as ye } from "../../composables/proxiedModel.mjs";
15
+ import { makeRoundedProps as he, useRounded as ke } from "../../composables/rounded.mjs";
16
+ import { useRouter as we } from "../../composables/router.mjs";
17
+ import { useScopeId as be } from "../../composables/scopeId.mjs";
18
+ import { useSsrBoot as Se } from "../../composables/ssrBoot.mjs";
19
+ import { makeTagProps as Ce } from "../../composables/tag.mjs";
20
+ import { makeThemeProps as Be, provideTheme as Pe } from "../../composables/theme.mjs";
21
+ import { useToggleScope as y } from "../../composables/toggleScope.mjs";
22
+ import { useRtl as pe } from "../../composables/locale.mjs";
23
+ import { toPhysical as Ve } from "../../util/anchor.mjs";
24
+ import { VImg as De } from "../VImg/VImg.mjs";
25
+ import { VDefaultsProvider as Re } from "../VDefaultsProvider/VDefaultsProvider.mjs";
26
+ import { propsFactory as Te } from "../../util/propsFactory.mjs";
27
+ import { omit as Ie } from "../../util/helpers.mjs";
28
+ import { genericComponent as Ne } from "../../util/defineComponent.mjs";
29
+ import { useRender as _e } from "../../util/useRender.mjs";
30
+ const xe = ["start", "end", "left", "right", "top", "bottom"], We = Te({
31
+ color: String,
32
+ disableResizeWatcher: Boolean,
33
+ disableRouteWatcher: Boolean,
34
+ expandOnHover: Boolean,
35
+ floating: Boolean,
36
+ modelValue: {
37
+ type: Boolean,
38
+ default: null
39
+ },
40
+ permanent: Boolean,
41
+ rail: {
42
+ type: Boolean,
43
+ default: null
44
+ },
45
+ railWidth: {
46
+ type: [Number, String],
47
+ default: 56
48
+ },
49
+ scrim: {
50
+ type: [Boolean, String],
51
+ default: !0
52
+ },
53
+ image: String,
54
+ temporary: Boolean,
55
+ persistent: Boolean,
56
+ touchless: Boolean,
57
+ width: {
58
+ type: [Number, String],
59
+ default: 256
60
+ },
61
+ location: {
62
+ type: String,
63
+ default: "start",
64
+ validator: (e) => xe.includes(e)
65
+ },
66
+ sticky: Boolean,
67
+ ...te(),
68
+ ...re(),
69
+ ...le(),
70
+ ...ue({
71
+ mobile: null
72
+ }),
73
+ ...me(),
74
+ ...ge(),
75
+ ...he(),
76
+ ...Ie(de(), ["disableInitialFocus"]),
77
+ ...Ce({
78
+ tag: "nav"
79
+ }),
80
+ ...Be()
81
+ }, "VNavigationDrawer"), ma = Ne()({
82
+ name: "VNavigationDrawer",
83
+ props: We(),
84
+ emits: {
85
+ "update:modelValue": (e) => !0,
86
+ "update:rail": (e) => !0
87
+ },
88
+ setup(e, I) {
89
+ let {
90
+ attrs: N,
91
+ emit: _,
92
+ slots: a
93
+ } = I;
94
+ const {
95
+ isRtl: x
96
+ } = pe(), {
97
+ themeClasses: W
98
+ } = Pe(e), {
99
+ borderClasses: H
100
+ } = oe(e), {
101
+ backgroundColorClasses: O,
102
+ backgroundColorStyles: z
103
+ } = T(() => e.color), {
104
+ elevationClasses: E
105
+ } = ve(e), {
106
+ displayClasses: F,
107
+ mobile: h
108
+ } = se(e), {
109
+ roundedClasses: L
110
+ } = ke(e), k = we(), o = ye(e, "modelValue", null, (t) => !!t), {
111
+ ssrBootStyles: M
112
+ } = Se(), {
113
+ scopeId: w
114
+ } = be(), n = K(), u = Q(!1), {
115
+ runOpenDelay: A,
116
+ runCloseDelay: $
117
+ } = ne(e, (t) => {
118
+ u.value = t;
119
+ }), c = i(() => e.rail && e.expandOnHover && u.value ? Number(e.width) : Number(e.rail ? e.railWidth : e.width)), s = i(() => Ve(e.location, x.value)), b = f(() => e.persistent), r = i(() => !e.permanent && (h.value || e.temporary)), g = i(() => e.sticky && !r.value && s.value !== "bottom");
120
+ ce(e, {
121
+ isActive: o,
122
+ localTop: r,
123
+ contentEl: n
124
+ }), y(() => e.expandOnHover && e.rail != null, () => {
125
+ v(u, (t) => _("update:rail", !t));
126
+ }), y(() => !e.disableResizeWatcher, () => {
127
+ v(r, (t) => !e.permanent && Z(() => o.value = !t));
128
+ }), y(() => !e.disableRouteWatcher && !!k, () => {
129
+ v(k.currentRoute, () => r.value && (o.value = !1));
130
+ }), v(() => e.permanent, (t) => {
131
+ t && (o.value = !0);
132
+ }), e.modelValue == null && !r.value && (o.value = e.permanent || !h.value);
133
+ const {
134
+ isDragging: m,
135
+ dragProgress: S
136
+ } = ae({
137
+ el: n,
138
+ isActive: o,
139
+ isTemporary: r,
140
+ width: c,
141
+ touchless: f(() => e.touchless),
142
+ position: s
143
+ }), j = i(() => {
144
+ const t = r.value ? 0 : e.rail && e.expandOnHover ? Number(e.railWidth) : c.value;
145
+ return m.value ? t * S.value : t;
146
+ }), {
147
+ layoutItemStyles: C,
148
+ layoutItemScrimStyles: q
149
+ } = fe({
150
+ id: e.name,
151
+ order: i(() => parseInt(e.order, 10)),
152
+ position: s,
153
+ layoutSize: j,
154
+ elementSize: c,
155
+ active: U(o),
156
+ disableTransitions: f(() => m.value),
157
+ absolute: i(() => (
158
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
159
+ e.absolute || g.value && typeof B.value != "string"
160
+ ))
161
+ }), {
162
+ isStuck: B,
163
+ stickyStyles: G
164
+ } = ee({
165
+ rootEl: n,
166
+ isSticky: g,
167
+ layoutItemStyles: C
168
+ }), P = T(() => typeof e.scrim == "string" ? e.scrim : null), J = i(() => ({
169
+ ...m.value ? {
170
+ opacity: S.value * 0.2,
171
+ transition: "none"
172
+ } : void 0,
173
+ ...q.value
174
+ }));
175
+ return ie({
176
+ VList: {
177
+ bgColor: "transparent"
178
+ }
179
+ }), _e(() => {
180
+ const t = a.image || e.image;
181
+ return l(X, null, [d(e.tag, R({
182
+ ref: n,
183
+ onMouseenter: A,
184
+ onMouseleave: $,
185
+ class: ["v-navigation-drawer", `v-navigation-drawer--${s.value}`, {
186
+ "v-navigation-drawer--expand-on-hover": e.expandOnHover,
187
+ "v-navigation-drawer--floating": e.floating,
188
+ "v-navigation-drawer--is-hovering": u.value,
189
+ "v-navigation-drawer--rail": e.rail,
190
+ "v-navigation-drawer--temporary": r.value,
191
+ "v-navigation-drawer--persistent": b.value,
192
+ "v-navigation-drawer--active": o.value,
193
+ "v-navigation-drawer--sticky": g.value
194
+ }, W.value, O.value, H.value, F.value, E.value, L.value, e.class],
195
+ style: [z.value, C.value, M.value, G.value, e.style],
196
+ inert: !o.value
197
+ }, w, N), {
198
+ default: () => {
199
+ var p, V, D;
200
+ return [t && l("div", {
201
+ key: "image",
202
+ class: "v-navigation-drawer__img"
203
+ }, [a.image ? d(Re, {
204
+ key: "image-defaults",
205
+ disabled: !e.image,
206
+ defaults: {
207
+ VImg: {
208
+ alt: "",
209
+ cover: !0,
210
+ height: "inherit",
211
+ src: e.image
212
+ }
213
+ }
214
+ }, a.image) : d(De, {
215
+ key: "image-img",
216
+ alt: "",
217
+ cover: !0,
218
+ height: "inherit",
219
+ src: e.image
220
+ }, null)]), a.prepend && l("div", {
221
+ class: "v-navigation-drawer__prepend"
222
+ }, [(p = a.prepend) == null ? void 0 : p.call(a)]), l("div", {
223
+ class: "v-navigation-drawer__content"
224
+ }, [(V = a.default) == null ? void 0 : V.call(a)]), a.append && l("div", {
225
+ class: "v-navigation-drawer__append"
226
+ }, [(D = a.append) == null ? void 0 : D.call(a)])];
227
+ }
228
+ }), d(Y, {
229
+ name: "fade-transition"
230
+ }, {
231
+ default: () => [r.value && (m.value || o.value) && !!e.scrim && l("div", R({
232
+ class: ["v-navigation-drawer__scrim", P.backgroundColorClasses.value],
233
+ style: [J.value, P.backgroundColorStyles.value],
234
+ onClick: () => {
235
+ b.value || (o.value = !1);
236
+ }
237
+ }, w), null)]
238
+ })]);
239
+ }), {
240
+ isStuck: B
241
+ };
242
+ }
243
+ });
244
+ export {
245
+ ma as VNavigationDrawer,
246
+ We as makeVNavigationDrawerProps
247
+ };