bt-core-app 2.2.5 → 2.2.7

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 +20 -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 +52 -52
  125. package/dist/components/BT-Blade-Item.vue.mjs +110 -100
  126. package/dist/components/BT-Blade-Items.vue.mjs +2 -2
  127. package/dist/components/BT-Blade-Items.vue2.mjs +411 -399
  128. package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
  129. package/dist/components/BT-Blade-Steps.vue2.mjs +641 -626
  130. package/dist/components/BT-Blade.vue.mjs +190 -192
  131. package/dist/components/BT-Btn.vue.mjs +23 -25
  132. package/dist/components/BT-Camera-Overlay.vue.mjs +144 -142
  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 +264 -249
  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 +96 -85
  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 +89 -89
  146. package/dist/components/BT-Entity.vue.mjs +82 -82
  147. package/dist/components/BT-Error.vue.mjs +26 -27
  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 +346 -325
  160. package/dist/components/BT-Form-Field.vue.mjs +88 -81
  161. package/dist/components/BT-Form.vue.mjs +280 -269
  162. package/dist/components/BT-Header-Option.vue.mjs +21 -19
  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 +147 -144
  170. package/dist/components/BT-Select-List-Box.vue.mjs +287 -276
  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 +113 -112
  174. package/dist/components/BT-Signature.vue.mjs +96 -96
  175. package/dist/components/BT-Slider.vue.mjs +109 -103
  176. package/dist/components/BT-Square-Check.vue.mjs +65 -65
  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 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+
@@ -1,15 +1,14 @@
1
1
  import { createVNode as a, mergeProps as c } from "vue";
2
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({
3
+ import { makeVBtnGroupProps as i, VBtnGroup as l } from "../VBtnGroup/VBtnGroup.mjs";
4
+ import { makeGroupProps as f, useGroup as V } from "../../composables/group.mjs";
5
+ import { propsFactory as d } from "../../util/propsFactory.mjs";
6
+ import { genericComponent as B } from "../../util/defineComponent.mjs";
7
+ import { useRender as y } from "../../util/useRender.mjs";
8
+ const P = Symbol.for("vuetify:v-btn-toggle"), b = d({
9
9
  ...i(),
10
10
  ...f()
11
- }, "VBtnToggle");
12
- y()({
11
+ }, "VBtnToggle"), F = B()({
13
12
  name: "VBtnToggle",
14
13
  props: b(),
15
14
  emits: {
@@ -25,17 +24,17 @@ y()({
25
24
  prev: r,
26
25
  select: m,
27
26
  selected: u
28
- } = d(e, P);
29
- return B(() => {
30
- const g = n.filterProps(e);
31
- return a(n, c({
27
+ } = V(e, P);
28
+ return y(() => {
29
+ const g = l.filterProps(e);
30
+ return a(l, c({
32
31
  class: ["v-btn-toggle", e.class]
33
32
  }, g, {
34
33
  style: e.style
35
34
  }), {
36
35
  default: () => {
37
- var l;
38
- return [(l = t.default) == null ? void 0 : l.call(t, {
36
+ var n;
37
+ return [(n = t.default) == null ? void 0 : n.call(t, {
39
38
  isSelected: s,
40
39
  next: o,
41
40
  prev: r,
@@ -52,6 +51,7 @@ y()({
52
51
  }
53
52
  });
54
53
  export {
54
+ F as VBtnToggle,
55
55
  P as VBtnToggleSymbol,
56
56
  b as makeVBtnToggleProps
57
57
  };
@@ -0,0 +1,74 @@
1
+ import { ref as F, useId as R, createVNode as l, mergeProps as u } from "vue";
2
+ import "../../../../../../../_virtual/VCheckbox.sass.mjs";
3
+ import { makeVCheckboxBtnProps as g, VCheckboxBtn as a } from "./VCheckboxBtn.mjs";
4
+ import { makeVInputProps as B, VInput as i } from "../VInput/VInput.mjs";
5
+ import { useFocus as U } from "../../composables/focus.mjs";
6
+ import { forwardRefs as w } from "../../composables/forwardRefs.mjs";
7
+ import { useProxiedModel as D } from "../../composables/proxiedModel.mjs";
8
+ import { propsFactory as M } from "../../util/propsFactory.mjs";
9
+ import { omit as d, filterInputAttrs as N } from "../../util/helpers.mjs";
10
+ import { genericComponent as $ } from "../../util/defineComponent.mjs";
11
+ import { useRender as j } from "../../util/useRender.mjs";
12
+ const q = M({
13
+ ...d(B(), ["direction"]),
14
+ ...d(g(), ["inline"])
15
+ }, "VCheckbox"), W = $()({
16
+ name: "VCheckbox",
17
+ inheritAttrs: !1,
18
+ props: q(),
19
+ emits: {
20
+ "update:modelValue": (e) => !0,
21
+ "update:focused": (e) => !0
22
+ },
23
+ setup(e, m) {
24
+ let {
25
+ attrs: c,
26
+ slots: r
27
+ } = m;
28
+ const o = D(e, "modelValue"), {
29
+ isFocused: n,
30
+ focus: f,
31
+ blur: p
32
+ } = U(e), s = F(), V = R();
33
+ return j(() => {
34
+ const [b, k] = N(c), v = i.filterProps(e), x = a.filterProps(e);
35
+ return l(i, u({
36
+ ref: s,
37
+ class: ["v-checkbox", e.class]
38
+ }, b, v, {
39
+ modelValue: o.value,
40
+ "onUpdate:modelValue": (t) => o.value = t,
41
+ id: e.id || `checkbox-${V}`,
42
+ focused: n.value,
43
+ style: e.style
44
+ }), {
45
+ ...r,
46
+ default: (t) => {
47
+ let {
48
+ id: h,
49
+ messagesId: P,
50
+ isDisabled: C,
51
+ isReadonly: y,
52
+ isValid: I
53
+ } = t;
54
+ return l(a, u(x, {
55
+ id: h.value,
56
+ "aria-describedby": P.value,
57
+ disabled: C.value,
58
+ readonly: y.value
59
+ }, k, {
60
+ error: I.value === !1,
61
+ modelValue: o.value,
62
+ "onUpdate:modelValue": (A) => o.value = A,
63
+ onFocus: f,
64
+ onBlur: p
65
+ }), r);
66
+ }
67
+ });
68
+ }), w({}, s);
69
+ }
70
+ });
71
+ export {
72
+ W as VCheckbox,
73
+ q as makeVCheckboxProps
74
+ };
@@ -0,0 +1,53 @@
1
+ import { toRef as r, createVNode as f, mergeProps as v } from "vue";
2
+ import { makeVSelectionControlProps as I, VSelectionControl as a } from "../VSelectionControl/VSelectionControl.mjs";
3
+ import { IconValue as V } from "../../composables/icons.mjs";
4
+ import { useProxiedModel as c } from "../../composables/proxiedModel.mjs";
5
+ import { propsFactory as k } from "../../util/propsFactory.mjs";
6
+ import { genericComponent as x } from "../../util/defineComponent.mjs";
7
+ import { useRender as h } from "../../util/useRender.mjs";
8
+ import { omit as b } from "../../util/helpers.mjs";
9
+ const p = k({
10
+ indeterminate: Boolean,
11
+ indeterminateIcon: {
12
+ type: V,
13
+ default: "$checkboxIndeterminate"
14
+ },
15
+ ...I({
16
+ falseIcon: "$checkboxOff",
17
+ trueIcon: "$checkboxOn"
18
+ })
19
+ }, "VCheckboxBtn"), S = x()({
20
+ name: "VCheckboxBtn",
21
+ props: p(),
22
+ emits: {
23
+ "update:modelValue": (e) => !0,
24
+ "update:indeterminate": (e) => !0
25
+ },
26
+ setup(e, l) {
27
+ let {
28
+ slots: m
29
+ } = l;
30
+ const o = c(e, "indeterminate"), t = c(e, "modelValue");
31
+ function i(n) {
32
+ o.value && (o.value = !1);
33
+ }
34
+ const u = r(() => o.value ? e.indeterminateIcon : e.falseIcon), d = r(() => o.value ? e.indeterminateIcon : e.trueIcon);
35
+ return h(() => {
36
+ const n = b(a.filterProps(e), ["modelValue"]);
37
+ return f(a, v(n, {
38
+ modelValue: t.value,
39
+ "onUpdate:modelValue": [(s) => t.value = s, i],
40
+ class: ["v-checkbox-btn", e.class],
41
+ style: e.style,
42
+ type: "checkbox",
43
+ falseIcon: u.value,
44
+ trueIcon: d.value,
45
+ "aria-checked": o.value ? "mixed" : void 0
46
+ }), m);
47
+ }), {};
48
+ }
49
+ });
50
+ export {
51
+ S as VCheckboxBtn,
52
+ p as makeVCheckboxBtnProps
53
+ };
@@ -0,0 +1,263 @@
1
+ import { toRef as I, computed as q, watch as H, withDirectives as V, createVNode as n, mergeProps as g, createElementVNode as i, vShow as J, Fragment as P, toDisplayString as Q } from "vue";
2
+ import "../../../../../../../_virtual/VChip.sass.mjs";
3
+ import { VExpandXTransition as U } from "../transitions/index.mjs";
4
+ import { VChipGroupSymbol as W } from "../VChipGroup/VChipGroup.mjs";
5
+ import { VSlideGroupSymbol as Y } from "../VSlideGroup/VSlideGroup.mjs";
6
+ import { makeBorderProps as Z, useBorder as ee } from "../../composables/border.mjs";
7
+ import { makeComponentProps as ae } from "../../composables/component.mjs";
8
+ import { makeDensityProps as le, useDensity as te } from "../../composables/density.mjs";
9
+ import { makeElevationProps as ne, useElevation as ie } from "../../composables/elevation.mjs";
10
+ import { makeGroupItemProps as oe, useGroupItem as S } from "../../composables/group.mjs";
11
+ import { IconValue as u } from "../../composables/icons.mjs";
12
+ import { useLocale as ce } from "../../composables/locale.mjs";
13
+ import { useProxiedModel as se } from "../../composables/proxiedModel.mjs";
14
+ import { makeRoundedProps as re, useRounded as de } from "../../composables/rounded.mjs";
15
+ import { makeRouterProps as ue, useLink as me } from "../../composables/router.mjs";
16
+ import { makeSizeProps as ve, useSize as fe } from "../../composables/size.mjs";
17
+ import { makeTagProps as ke } from "../../composables/tag.mjs";
18
+ import { makeThemeProps as pe, provideTheme as ye } from "../../composables/theme.mjs";
19
+ import { makeVariantProps as be, useVariant as Ce, genOverlays as he } from "../../composables/variant.mjs";
20
+ import A from "../../directives/ripple/index.mjs";
21
+ import { VIcon as m } from "../VIcon/VIcon.mjs";
22
+ import { VDefaultsProvider as v } from "../VDefaultsProvider/VDefaultsProvider.mjs";
23
+ import { VAvatar as B } from "../VAvatar/VAvatar.mjs";
24
+ import { propsFactory as Ie } from "../../util/propsFactory.mjs";
25
+ import { EventProp as _ } from "../../util/helpers.mjs";
26
+ import { genericComponent as Ve } from "../../util/defineComponent.mjs";
27
+ const ge = Ie({
28
+ activeClass: String,
29
+ appendAvatar: String,
30
+ appendIcon: u,
31
+ baseColor: String,
32
+ closable: Boolean,
33
+ closeIcon: {
34
+ type: u,
35
+ default: "$delete"
36
+ },
37
+ closeLabel: {
38
+ type: String,
39
+ default: "$vuetify.close"
40
+ },
41
+ draggable: Boolean,
42
+ filter: Boolean,
43
+ filterIcon: {
44
+ type: u,
45
+ default: "$complete"
46
+ },
47
+ label: Boolean,
48
+ link: {
49
+ type: Boolean,
50
+ default: void 0
51
+ },
52
+ pill: Boolean,
53
+ prependAvatar: String,
54
+ prependIcon: u,
55
+ ripple: {
56
+ type: [Boolean, Object],
57
+ default: !0
58
+ },
59
+ text: {
60
+ type: [String, Number, Boolean],
61
+ default: void 0
62
+ },
63
+ modelValue: {
64
+ type: Boolean,
65
+ default: !0
66
+ },
67
+ onClick: _(),
68
+ onClickOnce: _(),
69
+ ...Z(),
70
+ ...ae(),
71
+ ...le(),
72
+ ...ne(),
73
+ ...oe(),
74
+ ...re(),
75
+ ...ue(),
76
+ ...ve(),
77
+ ...ke({
78
+ tag: "span"
79
+ }),
80
+ ...pe(),
81
+ ...be({
82
+ variant: "tonal"
83
+ })
84
+ }, "VChip"), Ue = Ve()({
85
+ name: "VChip",
86
+ directives: {
87
+ vRipple: A
88
+ },
89
+ props: ge(),
90
+ emits: {
91
+ "click:close": (e) => !0,
92
+ "update:modelValue": (e) => !0,
93
+ "group:selected": (e) => !0,
94
+ click: (e) => !0
95
+ },
96
+ setup(e, x) {
97
+ let {
98
+ attrs: D,
99
+ emit: k,
100
+ slots: t
101
+ } = x;
102
+ const {
103
+ t: w
104
+ } = ce(), {
105
+ borderClasses: L
106
+ } = ee(e), {
107
+ densityClasses: E
108
+ } = te(e), {
109
+ elevationClasses: z
110
+ } = ie(e), {
111
+ roundedClasses: R
112
+ } = de(e), {
113
+ sizeClasses: T
114
+ } = fe(e), {
115
+ themeClasses: $
116
+ } = ye(e), f = se(e, "modelValue"), a = S(e, W, !1), o = S(e, Y, !1), c = me(e, D), F = I(() => e.link !== !1 && c.isLink.value), s = q(() => !e.disabled && e.link !== !1 && (!!a || e.link || c.isClickable.value)), M = I(() => ({
117
+ "aria-label": w(e.closeLabel),
118
+ disabled: e.disabled,
119
+ onClick(l) {
120
+ l.preventDefault(), l.stopPropagation(), f.value = !1, k("click:close", l);
121
+ }
122
+ }));
123
+ H(f, (l) => {
124
+ l ? (a == null || a.register(), o == null || o.register()) : (a == null || a.unregister(), o == null || o.unregister());
125
+ });
126
+ const {
127
+ colorClasses: N,
128
+ colorStyles: O,
129
+ variantClasses: K
130
+ } = Ce(() => ({
131
+ color: !a || a.isSelected.value ? e.color ?? e.baseColor : e.baseColor,
132
+ variant: e.variant
133
+ }));
134
+ function p(l) {
135
+ var r, d;
136
+ k("click", l), s.value && ((d = (r = c.navigate).value) == null || d.call(r, l), a == null || a.toggle());
137
+ }
138
+ function j(l) {
139
+ (l.key === "Enter" || l.key === " ") && (l.preventDefault(), p(l));
140
+ }
141
+ return () => {
142
+ var C;
143
+ const l = c.isLink.value ? "a" : e.tag, r = !!(e.appendIcon || e.appendAvatar), d = !!(r || t.append), G = !!(t.close || e.closable), y = !!(t.filter || e.filter) && a, b = !!(e.prependIcon || e.prependAvatar), X = !!(b || t.prepend);
144
+ return f.value && V(n(l, g(c.linkProps, {
145
+ class: ["v-chip", {
146
+ "v-chip--disabled": e.disabled,
147
+ "v-chip--label": e.label,
148
+ "v-chip--link": s.value,
149
+ "v-chip--filter": y,
150
+ "v-chip--pill": e.pill,
151
+ [`${e.activeClass}`]: e.activeClass && ((C = c.isActive) == null ? void 0 : C.value)
152
+ }, $.value, L.value, N.value, E.value, z.value, R.value, T.value, K.value, a == null ? void 0 : a.selectedClass.value, e.class],
153
+ style: [O.value, e.style],
154
+ disabled: e.disabled || void 0,
155
+ draggable: e.draggable,
156
+ tabindex: s.value ? 0 : void 0,
157
+ onClick: p,
158
+ onKeydown: s.value && !F.value && j
159
+ }), {
160
+ default: () => {
161
+ var h;
162
+ return [he(s.value, "v-chip"), y && n(U, {
163
+ key: "filter"
164
+ }, {
165
+ default: () => [V(i("div", {
166
+ class: "v-chip__filter"
167
+ }, [t.filter ? n(v, {
168
+ key: "filter-defaults",
169
+ disabled: !e.filterIcon,
170
+ defaults: {
171
+ VIcon: {
172
+ icon: e.filterIcon
173
+ }
174
+ }
175
+ }, t.filter) : n(m, {
176
+ key: "filter-icon",
177
+ icon: e.filterIcon
178
+ }, null)]), [[J, a.isSelected.value]])]
179
+ }), X && i("div", {
180
+ key: "prepend",
181
+ class: "v-chip__prepend"
182
+ }, [t.prepend ? n(v, {
183
+ key: "prepend-defaults",
184
+ disabled: !b,
185
+ defaults: {
186
+ VAvatar: {
187
+ image: e.prependAvatar,
188
+ start: !0
189
+ },
190
+ VIcon: {
191
+ icon: e.prependIcon,
192
+ start: !0
193
+ }
194
+ }
195
+ }, t.prepend) : i(P, null, [e.prependIcon && n(m, {
196
+ key: "prepend-icon",
197
+ icon: e.prependIcon,
198
+ start: !0
199
+ }, null), e.prependAvatar && n(B, {
200
+ key: "prepend-avatar",
201
+ image: e.prependAvatar,
202
+ start: !0
203
+ }, null)])]), i("div", {
204
+ class: "v-chip__content",
205
+ "data-no-activator": ""
206
+ }, [((h = t.default) == null ? void 0 : h.call(t, {
207
+ isSelected: a == null ? void 0 : a.isSelected.value,
208
+ selectedClass: a == null ? void 0 : a.selectedClass.value,
209
+ select: a == null ? void 0 : a.select,
210
+ toggle: a == null ? void 0 : a.toggle,
211
+ value: a == null ? void 0 : a.value.value,
212
+ disabled: e.disabled
213
+ })) ?? Q(e.text)]), d && i("div", {
214
+ key: "append",
215
+ class: "v-chip__append"
216
+ }, [t.append ? n(v, {
217
+ key: "append-defaults",
218
+ disabled: !r,
219
+ defaults: {
220
+ VAvatar: {
221
+ end: !0,
222
+ image: e.appendAvatar
223
+ },
224
+ VIcon: {
225
+ end: !0,
226
+ icon: e.appendIcon
227
+ }
228
+ }
229
+ }, t.append) : i(P, null, [e.appendIcon && n(m, {
230
+ key: "append-icon",
231
+ end: !0,
232
+ icon: e.appendIcon
233
+ }, null), e.appendAvatar && n(B, {
234
+ key: "append-avatar",
235
+ end: !0,
236
+ image: e.appendAvatar
237
+ }, null)])]), G && i("button", g({
238
+ key: "close",
239
+ class: "v-chip__close",
240
+ type: "button",
241
+ "data-testid": "close-chip"
242
+ }, M.value), [t.close ? n(v, {
243
+ key: "close-defaults",
244
+ defaults: {
245
+ VIcon: {
246
+ icon: e.closeIcon,
247
+ size: "x-small"
248
+ }
249
+ }
250
+ }, t.close) : n(m, {
251
+ key: "close-icon",
252
+ icon: e.closeIcon,
253
+ size: "x-small"
254
+ }, null)])];
255
+ }
256
+ }), [[A, s.value && e.ripple, null]]);
257
+ };
258
+ }
259
+ });
260
+ export {
261
+ Ue as VChip,
262
+ ge as makeVChipProps
263
+ };
@@ -0,0 +1,87 @@
1
+ import { toRef as o, createVNode as f, mergeProps as d } from "vue";
2
+ import "../../../../../../../_virtual/VChipGroup.sass.mjs";
3
+ import { makeVSlideGroupProps as v, VSlideGroup as l } from "../VSlideGroup/VSlideGroup.mjs";
4
+ import { makeComponentProps as C } from "../../composables/component.mjs";
5
+ import { provideDefaults as h } from "../../composables/defaults.mjs";
6
+ import { makeGroupProps as V, useGroup as G } from "../../composables/group.mjs";
7
+ import { makeTagProps as P } from "../../composables/tag.mjs";
8
+ import { makeThemeProps as b, provideTheme as g } from "../../composables/theme.mjs";
9
+ import { makeVariantProps as k } from "../../composables/variant.mjs";
10
+ import { propsFactory as y } from "../../util/propsFactory.mjs";
11
+ import { deepEqual as S } from "../../util/deepEqual.mjs";
12
+ import { genericComponent as T } from "../../util/defineComponent.mjs";
13
+ import { useRender as x } from "../../util/useRender.mjs";
14
+ const B = Symbol.for("vuetify:v-chip-group"), F = y({
15
+ baseColor: String,
16
+ column: Boolean,
17
+ filter: Boolean,
18
+ valueComparator: {
19
+ type: Function,
20
+ default: S
21
+ },
22
+ ...v({
23
+ scrollToActive: !1
24
+ }),
25
+ ...C(),
26
+ ...V({
27
+ selectedClass: "v-chip--selected"
28
+ }),
29
+ ...P(),
30
+ ...b(),
31
+ ...k({
32
+ variant: "tonal"
33
+ })
34
+ }, "VChipGroup"), L = T()({
35
+ name: "VChipGroup",
36
+ props: F(),
37
+ emits: {
38
+ "update:modelValue": (e) => !0
39
+ },
40
+ setup(e, m) {
41
+ let {
42
+ slots: r
43
+ } = m;
44
+ const {
45
+ themeClasses: a
46
+ } = g(e), {
47
+ isSelected: i,
48
+ select: p,
49
+ next: s,
50
+ prev: u,
51
+ selected: c
52
+ } = G(e, B);
53
+ return h({
54
+ VChip: {
55
+ baseColor: o(() => e.baseColor),
56
+ color: o(() => e.color),
57
+ disabled: o(() => e.disabled),
58
+ filter: o(() => e.filter),
59
+ variant: o(() => e.variant)
60
+ }
61
+ }), x(() => {
62
+ const n = l.filterProps(e);
63
+ return f(l, d(n, {
64
+ class: ["v-chip-group", {
65
+ "v-chip-group--column": e.column
66
+ }, a.value, e.class],
67
+ style: e.style
68
+ }), {
69
+ default: () => {
70
+ var t;
71
+ return [(t = r.default) == null ? void 0 : t.call(r, {
72
+ isSelected: i,
73
+ select: p,
74
+ next: s,
75
+ prev: u,
76
+ selected: c.value
77
+ })];
78
+ }
79
+ });
80
+ }), {};
81
+ }
82
+ });
83
+ export {
84
+ L as VChipGroup,
85
+ B as VChipGroupSymbol,
86
+ F as makeVChipGroupProps
87
+ };