@vuetify/nightly 3.7.4-next.2024-11-06 → 3.7.5-dev.2024-12-03

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 (219) hide show
  1. package/dist/json/attributes.json +3034 -3026
  2. package/dist/json/importMap-labs.json +14 -14
  3. package/dist/json/importMap.json +138 -138
  4. package/dist/json/tags.json +2 -0
  5. package/dist/json/web-types.json +5538 -5520
  6. package/dist/vuetify-labs.css +25130 -23413
  7. package/dist/vuetify-labs.d.ts +162 -156
  8. package/dist/vuetify-labs.esm.js +89 -71
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +89 -71
  11. package/dist/vuetify-labs.min.css +4 -3
  12. package/dist/vuetify.css +24211 -22491
  13. package/dist/vuetify.d.ts +146 -140
  14. package/dist/vuetify.esm.js +78 -61
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +78 -61
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +4 -3
  19. package/dist/vuetify.min.js +40 -40
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAlert/VAlert.css +215 -207
  22. package/lib/components/VApp/VApp.css +15 -16
  23. package/lib/components/VAppBar/VAppBar.css +12 -14
  24. package/lib/components/VAutocomplete/VAutocomplete.css +85 -86
  25. package/lib/components/VAutocomplete/VAutocomplete.mjs +4 -4
  26. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  27. package/lib/components/VAutocomplete/index.d.mts +16 -16
  28. package/lib/components/VAvatar/VAvatar.css +106 -108
  29. package/lib/components/VBadge/VBadge.css +77 -73
  30. package/lib/components/VBadge/VBadge.sass +4 -0
  31. package/lib/components/VBanner/VBanner.css +166 -161
  32. package/lib/components/VBottomNavigation/VBottomNavigation.css +63 -64
  33. package/lib/components/VBottomSheet/VBottomSheet.css +31 -34
  34. package/lib/components/VBreadcrumbs/VBreadcrumbs.css +57 -54
  35. package/lib/components/VBtn/VBtn.css +408 -385
  36. package/lib/components/VBtn/VBtn.sass +4 -4
  37. package/lib/components/VBtnGroup/VBtnGroup.css +64 -63
  38. package/lib/components/VBtnToggle/VBtnToggle.css +14 -16
  39. package/lib/components/VCard/VCard.css +302 -294
  40. package/lib/components/VCarousel/VCarousel.css +65 -63
  41. package/lib/components/VCarousel/VCarousel.sass +1 -1
  42. package/lib/components/VCheckbox/VCheckbox.css +5 -7
  43. package/lib/components/VChip/VChip.css +411 -378
  44. package/lib/components/VChip/VChip.mjs +18 -10
  45. package/lib/components/VChip/VChip.mjs.map +1 -1
  46. package/lib/components/VChip/index.d.mts +13 -8
  47. package/lib/components/VChipGroup/VChipGroup.css +18 -19
  48. package/lib/components/VChipGroup/VChipGroup.mjs +2 -0
  49. package/lib/components/VChipGroup/VChipGroup.mjs.map +1 -1
  50. package/lib/components/VChipGroup/index.d.mts +5 -0
  51. package/lib/components/VCode/VCode.css +8 -10
  52. package/lib/components/VColorPicker/VColorPicker.css +22 -22
  53. package/lib/components/VColorPicker/VColorPickerCanvas.css +22 -24
  54. package/lib/components/VColorPicker/VColorPickerEdit.css +28 -29
  55. package/lib/components/VColorPicker/VColorPickerPreview.css +67 -69
  56. package/lib/components/VColorPicker/VColorPickerPreview.sass +2 -4
  57. package/lib/components/VColorPicker/VColorPickerSwatches.css +34 -34
  58. package/lib/components/VCombobox/VCombobox.css +85 -86
  59. package/lib/components/VCombobox/VCombobox.mjs +4 -4
  60. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  61. package/lib/components/VCombobox/index.d.mts +16 -16
  62. package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
  63. package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
  64. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +1 -1
  65. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
  66. package/lib/components/VConfirmEdit/index.d.mts +3 -7
  67. package/lib/components/VCounter/VCounter.css +5 -7
  68. package/lib/components/VDataTable/VDataTable.css +186 -189
  69. package/lib/components/VDataTable/VDataTable.sass +10 -20
  70. package/lib/components/VDataTable/VDataTableFooter.css +31 -33
  71. package/lib/components/VDatePicker/VDatePicker.css +6 -8
  72. package/lib/components/VDatePicker/VDatePickerControls.css +56 -54
  73. package/lib/components/VDatePicker/VDatePickerHeader.css +60 -56
  74. package/lib/components/VDatePicker/VDatePickerHeader.mjs +2 -1
  75. package/lib/components/VDatePicker/VDatePickerHeader.mjs.map +1 -1
  76. package/lib/components/VDatePicker/VDatePickerMonth.css +55 -51
  77. package/lib/components/VDatePicker/VDatePickerMonths.css +19 -20
  78. package/lib/components/VDatePicker/VDatePickerYears.css +15 -16
  79. package/lib/components/VDatePicker/index.d.mts +5 -5
  80. package/lib/components/VDialog/VDialog.css +95 -95
  81. package/lib/components/VDivider/VDivider.css +52 -52
  82. package/lib/components/VEmptyState/VEmptyState.css +67 -62
  83. package/lib/components/VExpansionPanel/VExpansionPanel.css +209 -203
  84. package/lib/components/VExpansionPanel/VExpansionPanel.sass +25 -27
  85. package/lib/components/VFab/VFab.css +69 -74
  86. package/lib/components/VFab/VFab.sass +4 -5
  87. package/lib/components/VField/VField.css +579 -539
  88. package/lib/components/VField/VField.mjs +2 -1
  89. package/lib/components/VField/VField.mjs.map +1 -1
  90. package/lib/components/VFileInput/VFileInput.css +29 -31
  91. package/lib/components/VFooter/VFooter.css +36 -38
  92. package/lib/components/VGrid/VGrid.css +592 -565
  93. package/lib/components/VIcon/VIcon.css +52 -51
  94. package/lib/components/VImg/VImg.css +51 -50
  95. package/lib/components/VInfiniteScroll/VInfiniteScroll.css +37 -36
  96. package/lib/components/VInput/VInput.css +142 -131
  97. package/lib/components/VItemGroup/VItemGroup.css +5 -7
  98. package/lib/components/VKbd/VKbd.css +11 -13
  99. package/lib/components/VLabel/VLabel.css +15 -16
  100. package/lib/components/VLayout/VLayout.css +8 -10
  101. package/lib/components/VLayout/VLayoutItem.css +7 -8
  102. package/lib/components/VList/VList.css +108 -104
  103. package/lib/components/VList/VList.mjs +3 -2
  104. package/lib/components/VList/VList.mjs.map +1 -1
  105. package/lib/components/VList/VList.sass +1 -1
  106. package/lib/components/VList/VListItem.css +452 -440
  107. package/lib/components/VList/VListItem.mjs +3 -2
  108. package/lib/components/VList/VListItem.mjs.map +1 -1
  109. package/lib/components/VList/VListItem.sass +1 -2
  110. package/lib/components/VList/index.d.mts +10 -10
  111. package/lib/components/VLocaleProvider/VLocaleProvider.css +2 -4
  112. package/lib/components/VMain/VMain.css +30 -32
  113. package/lib/components/VMenu/VMenu.css +19 -21
  114. package/lib/components/VMessages/VMessages.css +15 -17
  115. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +108 -106
  116. package/lib/components/VOtpInput/VOtpInput.css +58 -56
  117. package/lib/components/VOverlay/VOverlay.css +63 -60
  118. package/lib/components/VOverlay/VOverlay.sass +13 -14
  119. package/lib/components/VPagination/VPagination.css +8 -10
  120. package/lib/components/VParallax/VParallax.css +6 -8
  121. package/lib/components/VProgressCircular/VProgressCircular.css +101 -95
  122. package/lib/components/VProgressLinear/VProgressLinear.css +222 -209
  123. package/lib/components/VRadioGroup/VRadioGroup.css +12 -14
  124. package/lib/components/VRating/VRating.css +53 -52
  125. package/lib/components/VResponsive/VResponsive.css +26 -25
  126. package/lib/components/VSelect/VSelect.css +52 -54
  127. package/lib/components/VSelect/VSelect.mjs +3 -3
  128. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  129. package/lib/components/VSelect/index.d.mts +16 -16
  130. package/lib/components/VSelectionControl/VSelectionControl.css +102 -100
  131. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +8 -10
  132. package/lib/components/VSheet/VSheet.css +36 -38
  133. package/lib/components/VSkeletonLoader/VSkeletonLoader.css +224 -225
  134. package/lib/components/VSlideGroup/VSlideGroup.css +55 -53
  135. package/lib/components/VSlider/VSlider.css +57 -53
  136. package/lib/components/VSlider/VSliderThumb.css +153 -142
  137. package/lib/components/VSlider/VSliderTrack.css +174 -155
  138. package/lib/components/VSnackbar/VSnackbar.css +140 -140
  139. package/lib/components/VSpeedDial/VSpeedDial.css +41 -43
  140. package/lib/components/VStepper/VStepper.css +56 -55
  141. package/lib/components/VStepper/VStepper.mjs +5 -4
  142. package/lib/components/VStepper/VStepper.mjs.map +1 -1
  143. package/lib/components/VStepper/VStepperItem.css +115 -112
  144. package/lib/components/VStepper/VStepperItem.mjs +5 -4
  145. package/lib/components/VStepper/VStepperItem.mjs.map +1 -1
  146. package/lib/components/VStepper/index.d.mts +51 -45
  147. package/lib/components/VSwitch/VSwitch.css +139 -129
  148. package/lib/components/VSystemBar/VSystemBar.css +43 -45
  149. package/lib/components/VTable/VTable.css +141 -140
  150. package/lib/components/VTable/VTable.sass +2 -4
  151. package/lib/components/VTabs/VTab.css +29 -30
  152. package/lib/components/VTabs/VTabs.css +65 -59
  153. package/lib/components/VTextField/VTextField.css +68 -65
  154. package/lib/components/VTextarea/VTextarea.css +39 -47
  155. package/lib/components/VTextarea/VTextarea.sass +2 -4
  156. package/lib/components/VThemeProvider/VThemeProvider.css +3 -5
  157. package/lib/components/VTimeline/VTimeline.css +418 -379
  158. package/lib/components/VToolbar/VToolbar.css +143 -136
  159. package/lib/components/VTooltip/VTooltip.css +21 -25
  160. package/lib/components/VTooltip/VTooltip.sass +6 -8
  161. package/lib/components/VVirtualScroll/VVirtualScroll.css +9 -11
  162. package/lib/components/VWindow/VWindow.css +70 -73
  163. package/lib/components/index.d.mts +98 -92
  164. package/lib/composables/form.mjs +7 -2
  165. package/lib/composables/form.mjs.map +1 -1
  166. package/lib/composables/theme.mjs +4 -4
  167. package/lib/composables/theme.mjs.map +1 -1
  168. package/lib/composables/validation.mjs +10 -12
  169. package/lib/composables/validation.mjs.map +1 -1
  170. package/lib/directives/ripple/VRipple.css +36 -38
  171. package/lib/entry-bundler.mjs +1 -1
  172. package/lib/entry-bundler.mjs.map +1 -1
  173. package/lib/framework.mjs +1 -1
  174. package/lib/framework.mjs.map +1 -1
  175. package/lib/index.d.mts +48 -48
  176. package/lib/labs/VCalendar/VCalendar.css +225 -219
  177. package/lib/labs/VCalendar/VCalendarDay.css +32 -33
  178. package/lib/labs/VCalendar/VCalendarHeader.css +13 -13
  179. package/lib/labs/VCalendar/VCalendarInterval.css +42 -43
  180. package/lib/labs/VCalendar/VCalendarIntervalEvent.css +5 -7
  181. package/lib/labs/VCalendar/VCalendarMonthDay.css +58 -61
  182. package/lib/labs/VCalendar/VCalendarMonthDay.sass +2 -3
  183. package/lib/labs/VDateInput/VDateInput.mjs +1 -1
  184. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
  185. package/lib/labs/VNumberInput/VNumberInput.css +38 -40
  186. package/lib/labs/VNumberInput/VNumberInput.mjs +7 -5
  187. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  188. package/lib/labs/VPicker/VPicker.css +57 -53
  189. package/lib/labs/VStepperVertical/index.d.mts +44 -44
  190. package/lib/labs/VTimePicker/VTimePicker.css +7 -9
  191. package/lib/labs/VTimePicker/VTimePickerClock.css +129 -126
  192. package/lib/labs/VTimePicker/VTimePickerControls.css +103 -102
  193. package/lib/labs/VTreeview/VTreeviewItem.css +15 -17
  194. package/lib/labs/VTreeview/VTreeviewItem.mjs +3 -4
  195. package/lib/labs/VTreeview/VTreeviewItem.mjs.map +1 -1
  196. package/lib/labs/VTreeview/VTreeviewItem.sass +1 -2
  197. package/lib/labs/VTreeview/index.d.mts +20 -20
  198. package/lib/labs/components.d.mts +64 -64
  199. package/lib/locale/fr.mjs +1 -1
  200. package/lib/locale/fr.mjs.map +1 -1
  201. package/lib/styles/elements/_global.sass +1 -1
  202. package/lib/styles/generic/_colors.scss +3 -3
  203. package/lib/styles/generic/_layers.scss +1 -13
  204. package/lib/styles/generic/_transitions.scss +32 -32
  205. package/lib/styles/main.css +16139 -14666
  206. package/lib/styles/settings/_utilities.scss +5 -0
  207. package/lib/styles/settings/_variables.scss +2 -1
  208. package/lib/styles/tools/_bootable.sass +3 -0
  209. package/lib/styles/tools/_border.sass +4 -4
  210. package/lib/styles/tools/_display.sass +10 -0
  211. package/lib/styles/tools/_elevation.sass +2 -2
  212. package/lib/styles/tools/_index.sass +2 -0
  213. package/lib/styles/tools/_layer.scss +2 -4
  214. package/lib/styles/tools/_position.sass +2 -2
  215. package/lib/styles/tools/_radius.sass +10 -0
  216. package/lib/styles/tools/_rounded.sass +2 -2
  217. package/lib/styles/tools/_utilities.sass +5 -1
  218. package/lib/styles/utilities/_elevation.scss +1 -1
  219. package/package.json +1 -1
@@ -1,55 +1,53 @@
1
- @layer vuetify.components {
2
- .v-select .v-field .v-text-field__prefix,
3
- .v-select .v-field .v-text-field__suffix,
4
- .v-select .v-field .v-field__input, .v-select .v-field.v-field {
5
- cursor: pointer;
6
- }
7
- .v-select .v-field .v-field__input > input {
8
- align-self: flex-start;
9
- opacity: 1;
10
- flex: 0 0;
11
- position: absolute;
12
- width: 100%;
13
- transition: none;
14
- pointer-events: none;
15
- caret-color: transparent;
16
- }
17
- .v-select .v-field--dirty .v-select__selection {
18
- margin-inline-end: 2px;
19
- }
20
- .v-select .v-select__selection-text {
21
- overflow: hidden;
22
- text-overflow: ellipsis;
23
- white-space: nowrap;
24
- }
25
- .v-select__content {
26
- overflow: hidden;
27
- }
28
- .v-select__content {
29
- box-shadow: 0px 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 4px 5px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 10px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
30
- }
31
- .v-select__content {
32
- border-radius: 4px;
33
- }
34
- .v-select__selection {
35
- display: inline-flex;
36
- align-items: center;
37
- letter-spacing: inherit;
38
- line-height: inherit;
39
- max-width: 100%;
40
- }
41
- .v-select .v-select__selection:first-child {
42
- margin-inline-start: 0;
43
- }
44
- .v-select--selected .v-field .v-field__input > input {
45
- opacity: 0;
46
- }
47
- .v-select__menu-icon {
48
- margin-inline-start: 4px;
49
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
50
- }
51
- .v-select--active-menu .v-select__menu-icon {
52
- opacity: var(--v-high-emphasis-opacity);
53
- transform: rotate(180deg);
54
- }
1
+ .v-select .v-field .v-text-field__prefix,
2
+ .v-select .v-field .v-text-field__suffix,
3
+ .v-select .v-field .v-field__input, .v-select .v-field.v-field {
4
+ cursor: pointer;
5
+ }
6
+ .v-select .v-field .v-field__input > input {
7
+ align-self: flex-start;
8
+ opacity: 1;
9
+ flex: 0 0;
10
+ position: absolute;
11
+ width: 100%;
12
+ transition: none;
13
+ pointer-events: none;
14
+ caret-color: transparent;
15
+ }
16
+ .v-select .v-field--dirty .v-select__selection {
17
+ margin-inline-end: 2px;
18
+ }
19
+ .v-select .v-select__selection-text {
20
+ overflow: hidden;
21
+ text-overflow: ellipsis;
22
+ white-space: nowrap;
23
+ }
24
+ .v-select__content {
25
+ overflow: hidden;
26
+ }
27
+ .v-select__content {
28
+ box-shadow: 0px 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 4px 5px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 10px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
29
+ }
30
+ .v-select__content {
31
+ border-radius: 4px;
32
+ }
33
+ .v-select__selection {
34
+ display: inline-flex;
35
+ align-items: center;
36
+ letter-spacing: inherit;
37
+ line-height: inherit;
38
+ max-width: 100%;
39
+ }
40
+ .v-select .v-select__selection:first-child {
41
+ margin-inline-start: 0;
42
+ }
43
+ .v-select--selected .v-field .v-field__input > input {
44
+ opacity: 0;
45
+ }
46
+ .v-select__menu-icon {
47
+ margin-inline-start: 4px;
48
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
49
+ }
50
+ .v-select--active-menu .v-select__menu-icon {
51
+ opacity: var(--v-high-emphasis-opacity);
52
+ transform: rotate(180deg);
55
53
  }
@@ -109,7 +109,7 @@ export const VSelect = genericComponent()({
109
109
  const counterValue = computed(() => {
110
110
  return typeof props.counterValue === 'function' ? props.counterValue(model.value) : typeof props.counterValue === 'number' ? props.counterValue : model.value.length;
111
111
  });
112
- const form = useForm();
112
+ const form = useForm(props);
113
113
  const selectedValues = computed(() => model.value.map(selection => selection.value));
114
114
  const isFocused = shallowRef(false);
115
115
  const label = computed(() => menu.value ? props.closeText : props.openText);
@@ -121,7 +121,7 @@ export const VSelect = genericComponent()({
121
121
  }
122
122
  return items.value;
123
123
  });
124
- const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || props.readonly || form?.isReadonly.value);
124
+ const menuDisabled = computed(() => props.hideNoData && !displayItems.value.length || form.isReadonly.value || form.isDisabled.value);
125
125
  const computedMenuProps = computed(() => {
126
126
  return {
127
127
  ...props.menuProps,
@@ -148,7 +148,7 @@ export const VSelect = genericComponent()({
148
148
  }
149
149
  }
150
150
  function onKeydown(e) {
151
- if (!e.key || props.readonly || form?.isReadonly.value) return;
151
+ if (!e.key || form.isReadonly.value) return;
152
152
  if (['Enter', ' ', 'ArrowDown', 'ArrowUp', 'Home', 'End'].includes(e.key)) {
153
153
  e.preventDefault();
154
154
  }
@@ -1 +1 @@
1
- {"version":3,"file":"VSelect.mjs","names":["VDialogTransition","VAvatar","VCheckboxBtn","VChip","VDefaultsProvider","VIcon","VList","VListItem","VMenu","makeVTextFieldProps","VTextField","VVirtualScroll","useScrolling","useForm","forwardRefs","IconValue","makeItemsProps","useItems","useLocale","useProxiedModel","makeTransitionProps","computed","mergeProps","nextTick","ref","shallowRef","watch","checkPrintable","ensureValidVNode","genericComponent","IN_BROWSER","matchesSelector","omit","propsFactory","useRender","wrapInArray","makeSelectProps","chips","Boolean","closableChips","closeText","type","String","default","openText","eager","hideNoData","hideSelected","listProps","Object","menu","menuIcon","menuProps","multiple","noDataText","openOnClear","itemColor","itemChildren","makeVSelectProps","modelValue","role","transition","component","VSelect","name","props","emits","focused","value","ue","setup","_ref","slots","t","vTextFieldRef","vMenuRef","vVirtualScrollRef","_menu","get","set","v","ΨopenChildren","size","items","transformIn","transformOut","model","transformed","counterValue","length","form","selectedValues","map","selection","isFocused","label","keyboardLookupPrefix","keyboardLookupLastTime","displayItems","filter","item","some","s","valueComparator","menuDisabled","readonly","isReadonly","computedMenuProps","activatorProps","listRef","listEvents","onClear","e","onMousedownControl","onListKeydown","onKeydown","key","includes","preventDefault","focus","KEYBOARD_LOOKUP_THRESHOLD","now","performance","toLowerCase","find","title","startsWith","undefined","index","indexOf","window","requestAnimationFrame","scrollToIndex","select","arguments","disabled","findIndex","add","splice","onBlur","$el","contains","relatedTarget","onAfterEnter","calculateVisibleItems","onAfterLeave","onFocusin","onModelUpdate","newVal","oldVal","hasChips","chip","hasList","isDirty","textFieldProps","filterProps","placeholder","persistentPlaceholder","_createVNode","_mergeProps","join","$event","externalValue","class","style","_Fragment","color","_ref2","itemRef","itemProps","onClick","prepend","_ref3","isSelected","prependAvatar","prependIcon","onChipClose","stopPropagation","slotProps","onMousedown","hasSlot","slotContent","closable","text","_createTextVNode","append-inner","_len","args","Array","_key"],"sources":["../../../src/components/VSelect/VSelect.tsx"],"sourcesContent":["// Styles\nimport './VSelect.sass'\n\n// Components\nimport { VDialogTransition } from '@/components/transitions'\nimport { VAvatar } from '@/components/VAvatar'\nimport { VCheckboxBtn } from '@/components/VCheckbox'\nimport { VChip } from '@/components/VChip'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\nimport { VList, VListItem } from '@/components/VList'\nimport { VMenu } from '@/components/VMenu'\nimport { makeVTextFieldProps, VTextField } from '@/components/VTextField/VTextField'\nimport { VVirtualScroll } from '@/components/VVirtualScroll'\n\n// Composables\nimport { useScrolling } from './useScrolling'\nimport { useForm } from '@/composables/form'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { IconValue } from '@/composables/icons'\nimport { makeItemsProps, useItems } from '@/composables/list-items'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeTransitionProps } from '@/composables/transition'\n\n// Utilities\nimport { computed, mergeProps, nextTick, ref, shallowRef, watch } from 'vue'\nimport {\n checkPrintable,\n ensureValidVNode,\n genericComponent,\n IN_BROWSER,\n matchesSelector,\n omit,\n propsFactory,\n useRender,\n wrapInArray,\n} from '@/util'\n\n// Types\nimport type { Component, PropType } from 'vue'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\nimport type { ListItem } from '@/composables/list-items'\nimport type { GenericProps, SelectItemKey } from '@/util'\n\ntype Primitive = string | number | boolean | symbol\n\ntype Val <T, ReturnObject extends boolean> = [T] extends [Primitive]\n ? T\n : (ReturnObject extends true ? T : any)\n\ntype Value <T, ReturnObject extends boolean, Multiple extends boolean> =\n Multiple extends true\n ? readonly Val<T, ReturnObject>[]\n : Val<T, ReturnObject> | null\n\nexport const makeSelectProps = propsFactory({\n chips: Boolean,\n closableChips: Boolean,\n closeText: {\n type: String,\n default: '$vuetify.close',\n },\n openText: {\n type: String,\n default: '$vuetify.open',\n },\n eager: Boolean,\n hideNoData: Boolean,\n hideSelected: Boolean,\n listProps: {\n type: Object as PropType<VList['$props']>,\n },\n menu: Boolean,\n menuIcon: {\n type: IconValue,\n default: '$dropdown',\n },\n menuProps: {\n type: Object as PropType<VMenu['$props']>,\n },\n multiple: Boolean,\n noDataText: {\n type: String,\n default: '$vuetify.noDataText',\n },\n openOnClear: Boolean,\n itemColor: String,\n\n ...makeItemsProps({ itemChildren: false }),\n}, 'Select')\n\nexport const makeVSelectProps = propsFactory({\n ...makeSelectProps(),\n ...omit(makeVTextFieldProps({\n modelValue: null,\n role: 'combobox',\n }), ['validationValue', 'dirty', 'appendInnerIcon']),\n ...makeTransitionProps({ transition: { component: VDialogTransition as Component } }),\n}, 'VSelect')\n\ntype ItemType<T> = T extends readonly (infer U)[] ? U : never\n\nexport const VSelect = genericComponent<new <\n T extends readonly any[],\n Item = ItemType<T>,\n ReturnObject extends boolean = false,\n Multiple extends boolean = false,\n V extends Value<Item, ReturnObject, Multiple> = Value<Item, ReturnObject, Multiple>\n>(\n props: {\n items?: T\n itemTitle?: SelectItemKey<ItemType<T>>\n itemValue?: SelectItemKey<ItemType<T>>\n itemProps?: SelectItemKey<ItemType<T>>\n returnObject?: ReturnObject\n multiple?: Multiple\n modelValue?: V | null\n 'onUpdate:modelValue'?: (value: V) => void\n },\n slots: Omit<VInputSlots & VFieldSlots, 'default'> & {\n item: { item: ListItem<Item>, index: number, props: Record<string, unknown> }\n chip: { item: ListItem<Item>, index: number, props: Record<string, unknown> }\n selection: { item: ListItem<Item>, index: number }\n 'prepend-item': never\n 'append-item': never\n 'no-data': never\n }\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VSelect',\n\n props: makeVSelectProps(),\n\n emits: {\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (value: any) => true,\n 'update:menu': (ue: boolean) => true,\n },\n\n setup (props, { slots }) {\n const { t } = useLocale()\n const vTextFieldRef = ref()\n const vMenuRef = ref<VMenu>()\n const vVirtualScrollRef = ref<VVirtualScroll>()\n const _menu = useProxiedModel(props, 'menu')\n const menu = computed({\n get: () => _menu.value,\n set: v => {\n if (_menu.value && !v && vMenuRef.value?.ΨopenChildren.size) return\n _menu.value = v\n },\n })\n const { items, transformIn, transformOut } = useItems(props)\n const model = useProxiedModel(\n props,\n 'modelValue',\n [],\n v => transformIn(v === null ? [null] : wrapInArray(v)),\n v => {\n const transformed = transformOut(v)\n return props.multiple ? transformed : (transformed[0] ?? null)\n }\n )\n const counterValue = computed(() => {\n return typeof props.counterValue === 'function' ? props.counterValue(model.value)\n : typeof props.counterValue === 'number' ? props.counterValue\n : model.value.length\n })\n const form = useForm()\n const selectedValues = computed(() => model.value.map(selection => selection.value))\n const isFocused = shallowRef(false)\n const label = computed(() => menu.value ? props.closeText : props.openText)\n\n let keyboardLookupPrefix = ''\n let keyboardLookupLastTime: number\n\n const displayItems = computed(() => {\n if (props.hideSelected) {\n return items.value.filter(item => !model.value.some(s => props.valueComparator(s, item)))\n }\n return items.value\n })\n\n const menuDisabled = computed(() => (\n (props.hideNoData && !displayItems.value.length) ||\n props.readonly || form?.isReadonly.value\n ))\n\n const computedMenuProps = computed(() => {\n return {\n ...props.menuProps,\n activatorProps: {\n ...(props.menuProps?.activatorProps || {}),\n 'aria-haspopup': 'listbox', // Set aria-haspopup to 'listbox'\n },\n }\n })\n\n const listRef = ref<VList>()\n const listEvents = useScrolling(listRef, vTextFieldRef)\n function onClear (e: MouseEvent) {\n if (props.openOnClear) {\n menu.value = true\n }\n }\n function onMousedownControl () {\n if (menuDisabled.value) return\n\n menu.value = !menu.value\n }\n function onListKeydown (e: KeyboardEvent) {\n if (checkPrintable(e)) {\n onKeydown(e)\n }\n }\n function onKeydown (e: KeyboardEvent) {\n if (!e.key || props.readonly || form?.isReadonly.value) return\n\n if (['Enter', ' ', 'ArrowDown', 'ArrowUp', 'Home', 'End'].includes(e.key)) {\n e.preventDefault()\n }\n\n if (['Enter', 'ArrowDown', ' '].includes(e.key)) {\n menu.value = true\n }\n\n if (['Escape', 'Tab'].includes(e.key)) {\n menu.value = false\n }\n\n if (e.key === 'Home') {\n listRef.value?.focus('first')\n } else if (e.key === 'End') {\n listRef.value?.focus('last')\n }\n\n // html select hotkeys\n const KEYBOARD_LOOKUP_THRESHOLD = 1000 // milliseconds\n\n if (props.multiple || !checkPrintable(e)) return\n\n const now = performance.now()\n if (now - keyboardLookupLastTime > KEYBOARD_LOOKUP_THRESHOLD) {\n keyboardLookupPrefix = ''\n }\n keyboardLookupPrefix += e.key.toLowerCase()\n keyboardLookupLastTime = now\n\n const item = items.value.find(item => item.title.toLowerCase().startsWith(keyboardLookupPrefix))\n if (item !== undefined) {\n model.value = [item]\n const index = displayItems.value.indexOf(item)\n IN_BROWSER && window.requestAnimationFrame(() => {\n index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index)\n })\n }\n }\n\n /** @param set - null means toggle */\n function select (item: ListItem, set: boolean | null = true) {\n if (item.props.disabled) return\n\n if (props.multiple) {\n const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value))\n const add = set == null ? !~index : set\n\n if (~index) {\n const value = add ? [...model.value, item] : [...model.value]\n value.splice(index, 1)\n model.value = value\n } else if (add) {\n model.value = [...model.value, item]\n }\n } else {\n const add = set !== false\n model.value = add ? [item] : []\n\n nextTick(() => {\n menu.value = false\n })\n }\n }\n function onBlur (e: FocusEvent) {\n if (!listRef.value?.$el.contains(e.relatedTarget as HTMLElement)) {\n menu.value = false\n }\n }\n function onAfterEnter () {\n if (props.eager) {\n vVirtualScrollRef.value?.calculateVisibleItems()\n }\n }\n function onAfterLeave () {\n if (isFocused.value) {\n vTextFieldRef.value?.focus()\n }\n }\n function onFocusin (e: FocusEvent) {\n isFocused.value = true\n }\n function onModelUpdate (v: any) {\n if (v == null) model.value = []\n else if (matchesSelector(vTextFieldRef.value, ':autofill') || matchesSelector(vTextFieldRef.value, ':-webkit-autofill')) {\n const item = items.value.find(item => item.title === v)\n if (item) {\n select(item)\n }\n } else if (vTextFieldRef.value) {\n vTextFieldRef.value.value = ''\n }\n }\n\n watch(menu, () => {\n if (!props.hideSelected && menu.value && model.value.length) {\n const index = displayItems.value.findIndex(\n item => model.value.some(s => props.valueComparator(s.value, item.value))\n )\n IN_BROWSER && window.requestAnimationFrame(() => {\n index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index)\n })\n }\n })\n\n watch(() => props.items, (newVal, oldVal) => {\n if (menu.value) return\n\n if (isFocused.value && !oldVal.length && newVal.length) {\n menu.value = true\n }\n })\n\n useRender(() => {\n const hasChips = !!(props.chips || slots.chip)\n const hasList = !!(\n (!props.hideNoData || displayItems.value.length) ||\n slots['prepend-item'] ||\n slots['append-item'] ||\n slots['no-data']\n )\n const isDirty = model.value.length > 0\n const textFieldProps = VTextField.filterProps(props)\n\n const placeholder = isDirty || (\n !isFocused.value &&\n props.label &&\n !props.persistentPlaceholder\n ) ? undefined : props.placeholder\n\n return (\n <VTextField\n ref={ vTextFieldRef }\n { ...textFieldProps }\n modelValue={ model.value.map(v => v.props.value).join(', ') }\n onUpdate:modelValue={ onModelUpdate }\n v-model:focused={ isFocused.value }\n validationValue={ model.externalValue }\n counterValue={ counterValue.value }\n dirty={ isDirty }\n class={[\n 'v-select',\n {\n 'v-select--active-menu': menu.value,\n 'v-select--chips': !!props.chips,\n [`v-select--${props.multiple ? 'multiple' : 'single'}`]: true,\n 'v-select--selected': model.value.length,\n 'v-select--selection-slot': !!slots.selection,\n },\n props.class,\n ]}\n style={ props.style }\n inputmode=\"none\"\n placeholder={ placeholder }\n onClick:clear={ onClear }\n onMousedown:control={ onMousedownControl }\n onBlur={ onBlur }\n onKeydown={ onKeydown }\n aria-label={ t(label.value) }\n title={ t(label.value) }\n >\n {{\n ...slots,\n default: () => (\n <>\n <VMenu\n ref={ vMenuRef }\n v-model={ menu.value }\n activator=\"parent\"\n contentClass=\"v-select__content\"\n disabled={ menuDisabled.value }\n eager={ props.eager }\n maxHeight={ 310 }\n openOnClick={ false }\n closeOnContentClick={ false }\n transition={ props.transition }\n onAfterEnter={ onAfterEnter }\n onAfterLeave={ onAfterLeave }\n { ...computedMenuProps.value }\n >\n { hasList && (\n <VList\n ref={ listRef }\n selected={ selectedValues.value }\n selectStrategy={ props.multiple ? 'independent' : 'single-independent' }\n onMousedown={ (e: MouseEvent) => e.preventDefault() }\n onKeydown={ onListKeydown }\n onFocusin={ onFocusin }\n tabindex=\"-1\"\n aria-live=\"polite\"\n color={ props.itemColor ?? props.color }\n { ...listEvents }\n { ...props.listProps }\n >\n { slots['prepend-item']?.() }\n\n { !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? (\n <VListItem title={ t(props.noDataText) } />\n ))}\n\n <VVirtualScroll ref={ vVirtualScrollRef } renderless items={ displayItems.value }>\n { ({ item, index, itemRef }) => {\n const itemProps = mergeProps(item.props, {\n ref: itemRef,\n key: index,\n onClick: () => select(item, null),\n })\n\n return slots.item?.({\n item,\n index,\n props: itemProps,\n }) ?? (\n <VListItem { ...itemProps } role=\"option\">\n {{\n prepend: ({ isSelected }) => (\n <>\n { props.multiple && !props.hideSelected ? (\n <VCheckboxBtn\n key={ item.value }\n modelValue={ isSelected }\n ripple={ false }\n tabindex=\"-1\"\n />\n ) : undefined }\n\n { item.props.prependAvatar && (\n <VAvatar image={ item.props.prependAvatar } />\n )}\n\n { item.props.prependIcon && (\n <VIcon icon={ item.props.prependIcon } />\n )}\n </>\n ),\n }}\n </VListItem>\n )\n }}\n </VVirtualScroll>\n\n { slots['append-item']?.() }\n </VList>\n )}\n </VMenu>\n\n { model.value.map((item, index) => {\n function onChipClose (e: Event) {\n e.stopPropagation()\n e.preventDefault()\n\n select(item, false)\n }\n\n const slotProps = {\n 'onClick:close': onChipClose,\n onKeydown (e: KeyboardEvent) {\n if (e.key !== 'Enter' && e.key !== ' ') return\n\n e.preventDefault()\n e.stopPropagation()\n\n onChipClose(e)\n },\n onMousedown (e: MouseEvent) {\n e.preventDefault()\n e.stopPropagation()\n },\n modelValue: true,\n 'onUpdate:modelValue': undefined,\n }\n\n const hasSlot = hasChips ? !!slots.chip : !!slots.selection\n const slotContent = hasSlot\n ? ensureValidVNode(\n hasChips\n ? slots.chip!({ item, index, props: slotProps })\n : slots.selection!({ item, index })\n )\n : undefined\n\n if (hasSlot && !slotContent) return undefined\n\n return (\n <div key={ item.value } class=\"v-select__selection\">\n { hasChips ? (\n !slots.chip ? (\n <VChip\n key=\"chip\"\n closable={ props.closableChips }\n size=\"small\"\n text={ item.title }\n disabled={ item.props.disabled }\n { ...slotProps }\n />\n ) : (\n <VDefaultsProvider\n key=\"chip-defaults\"\n defaults={{\n VChip: {\n closable: props.closableChips,\n size: 'small',\n text: item.title,\n },\n }}\n >\n { slotContent }\n </VDefaultsProvider>\n )\n ) : (\n slotContent ?? (\n <span class=\"v-select__selection-text\">\n { item.title }\n { props.multiple && (index < model.value.length - 1) && (\n <span class=\"v-select__selection-comma\">,</span>\n )}\n </span>\n )\n )}\n </div>\n )\n })}\n </>\n ),\n 'append-inner': (...args) => (\n <>\n { slots['append-inner']?.(...args) }\n { props.menuIcon ? (\n <VIcon\n class=\"v-select__menu-icon\"\n icon={ props.menuIcon }\n />\n ) : undefined }\n </>\n ),\n }}\n </VTextField>\n )\n })\n\n return forwardRefs({\n isFocused,\n menu,\n select,\n }, vTextFieldRef)\n },\n})\n\nexport type VSelect = InstanceType<typeof VSelect>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,OAAO;AAAA,SACPC,YAAY;AAAA,SACZC,KAAK;AAAA,SACLC,iBAAiB;AAAA,SACjBC,KAAK;AAAA,SACLC,KAAK,EAAEC,SAAS;AAAA,SAChBC,KAAK;AAAA,SACLC,mBAAmB,EAAEC,UAAU;AAAA,SAC/BC,cAAc,uCAEvB;AAAA,SACSC,YAAY;AAAA,SACZC,OAAO;AAAA,SACPC,WAAW;AAAA,SACXC,SAAS;AAAA,SACTC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,eAAe;AAAA,SACfC,mBAAmB,4CAE5B;AACA,SAASC,QAAQ,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAE1EC,cAAc,EACdC,gBAAgB,EAChBC,gBAAgB,EAChBC,UAAU,EACVC,eAAe,EACfC,IAAI,EACJC,YAAY,EACZC,SAAS,EACTC,WAAW,gCAGb;AAkBA,OAAO,MAAMC,eAAe,GAAGH,YAAY,CAAC;EAC1CI,KAAK,EAAEC,OAAO;EACdC,aAAa,EAAED,OAAO;EACtBE,SAAS,EAAE;IACTC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACX,CAAC;EACDC,QAAQ,EAAE;IACRH,IAAI,E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AAA1J,iBAAA;YAAA;YAAA,YAKJ;cACRD,KAAK,EAAE;gBACLmL,QAAQ,EAAErH,KAAK,CAAC1B,aAAa;gBAC7B2C,IAAI,EAAE,OAAO;gBACbqG,IAAI,EAAEnF,IAAI,CAACyB;cACb;YACF;UAAC;YAAAlF,OAAA,EAAAA,CAAA,MAEC0I,WAAW;UAAA,EAEhB,GAEDA,WAAW,IAAAvB,YAAA;YAAA;UAAA,IAEL1D,IAAI,CAACyB,KAAK,EACV5D,KAAK,CAACZ,QAAQ,IAAK2E,KAAK,GAAG1C,KAAK,CAAClB,KAAK,CAACqB,MAAM,GAAG,CAAE,IAAAqE,YAAA;YAAA;UAAA,IAAA0B,gBAAA,OAEnD,EAGN;QAGP,CAAC,CAAC,EAEL;QACD,cAAc,EAAE,SAAAC,CAAA;UAAA,SAAAC,IAAA,GAAApD,SAAA,CAAA7C,MAAA,EAAIkG,IAAI,OAAAC,KAAA,CAAAF,IAAA,GAAAG,IAAA,MAAAA,IAAA,GAAAH,IAAA,EAAAG,IAAA;YAAJF,IAAI,CAAAE,IAAA,IAAAvD,SAAA,CAAAuD,IAAA;UAAA;UAAA,OAAA/B,YAAA,CAAAO,SAAA,SAElB7F,KAAK,CAAC,cAAc,CAAC,GAAG,GAAGmH,IAAI,CAAC,EAChC1H,KAAK,CAACd,QAAQ,GAAA2G,YAAA,CAAAzJ,KAAA;YAAA;YAAA,QAGL4D,KAAK,CAACd;UAAQ,WAErB4E,SAAS;QAAA;MAEhB;IAIT,CAAC,CAAC;IAEF,OAAOjH,WAAW,CAAC;MACjBgF,SAAS;MACT5C,IAAI;MACJmF;IACF,CAAC,EAAE3D,aAAa,CAAC;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VSelect.mjs","names":["VDialogTransition","VAvatar","VCheckboxBtn","VChip","VDefaultsProvider","VIcon","VList","VListItem","VMenu","makeVTextFieldProps","VTextField","VVirtualScroll","useScrolling","useForm","forwardRefs","IconValue","makeItemsProps","useItems","useLocale","useProxiedModel","makeTransitionProps","computed","mergeProps","nextTick","ref","shallowRef","watch","checkPrintable","ensureValidVNode","genericComponent","IN_BROWSER","matchesSelector","omit","propsFactory","useRender","wrapInArray","makeSelectProps","chips","Boolean","closableChips","closeText","type","String","default","openText","eager","hideNoData","hideSelected","listProps","Object","menu","menuIcon","menuProps","multiple","noDataText","openOnClear","itemColor","itemChildren","makeVSelectProps","modelValue","role","transition","component","VSelect","name","props","emits","focused","value","ue","setup","_ref","slots","t","vTextFieldRef","vMenuRef","vVirtualScrollRef","_menu","get","set","v","ΨopenChildren","size","items","transformIn","transformOut","model","transformed","counterValue","length","form","selectedValues","map","selection","isFocused","label","keyboardLookupPrefix","keyboardLookupLastTime","displayItems","filter","item","some","s","valueComparator","menuDisabled","isReadonly","isDisabled","computedMenuProps","activatorProps","listRef","listEvents","onClear","e","onMousedownControl","onListKeydown","onKeydown","key","includes","preventDefault","focus","KEYBOARD_LOOKUP_THRESHOLD","now","performance","toLowerCase","find","title","startsWith","undefined","index","indexOf","window","requestAnimationFrame","scrollToIndex","select","arguments","disabled","findIndex","add","splice","onBlur","$el","contains","relatedTarget","onAfterEnter","calculateVisibleItems","onAfterLeave","onFocusin","onModelUpdate","newVal","oldVal","hasChips","chip","hasList","isDirty","textFieldProps","filterProps","placeholder","persistentPlaceholder","_createVNode","_mergeProps","join","$event","externalValue","class","style","_Fragment","color","_ref2","itemRef","itemProps","onClick","prepend","_ref3","isSelected","prependAvatar","prependIcon","onChipClose","stopPropagation","slotProps","onMousedown","hasSlot","slotContent","closable","text","_createTextVNode","append-inner","_len","args","Array","_key"],"sources":["../../../src/components/VSelect/VSelect.tsx"],"sourcesContent":["// Styles\nimport './VSelect.sass'\n\n// Components\nimport { VDialogTransition } from '@/components/transitions'\nimport { VAvatar } from '@/components/VAvatar'\nimport { VCheckboxBtn } from '@/components/VCheckbox'\nimport { VChip } from '@/components/VChip'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VIcon } from '@/components/VIcon'\nimport { VList, VListItem } from '@/components/VList'\nimport { VMenu } from '@/components/VMenu'\nimport { makeVTextFieldProps, VTextField } from '@/components/VTextField/VTextField'\nimport { VVirtualScroll } from '@/components/VVirtualScroll'\n\n// Composables\nimport { useScrolling } from './useScrolling'\nimport { useForm } from '@/composables/form'\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { IconValue } from '@/composables/icons'\nimport { makeItemsProps, useItems } from '@/composables/list-items'\nimport { useLocale } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { makeTransitionProps } from '@/composables/transition'\n\n// Utilities\nimport { computed, mergeProps, nextTick, ref, shallowRef, watch } from 'vue'\nimport {\n checkPrintable,\n ensureValidVNode,\n genericComponent,\n IN_BROWSER,\n matchesSelector,\n omit,\n propsFactory,\n useRender,\n wrapInArray,\n} from '@/util'\n\n// Types\nimport type { Component, PropType } from 'vue'\nimport type { VFieldSlots } from '@/components/VField/VField'\nimport type { VInputSlots } from '@/components/VInput/VInput'\nimport type { ListItem } from '@/composables/list-items'\nimport type { GenericProps, SelectItemKey } from '@/util'\n\ntype Primitive = string | number | boolean | symbol\n\ntype Val <T, ReturnObject extends boolean> = [T] extends [Primitive]\n ? T\n : (ReturnObject extends true ? T : any)\n\ntype Value <T, ReturnObject extends boolean, Multiple extends boolean> =\n Multiple extends true\n ? readonly Val<T, ReturnObject>[]\n : Val<T, ReturnObject> | null\n\nexport const makeSelectProps = propsFactory({\n chips: Boolean,\n closableChips: Boolean,\n closeText: {\n type: String,\n default: '$vuetify.close',\n },\n openText: {\n type: String,\n default: '$vuetify.open',\n },\n eager: Boolean,\n hideNoData: Boolean,\n hideSelected: Boolean,\n listProps: {\n type: Object as PropType<VList['$props']>,\n },\n menu: Boolean,\n menuIcon: {\n type: IconValue,\n default: '$dropdown',\n },\n menuProps: {\n type: Object as PropType<VMenu['$props']>,\n },\n multiple: Boolean,\n noDataText: {\n type: String,\n default: '$vuetify.noDataText',\n },\n openOnClear: Boolean,\n itemColor: String,\n\n ...makeItemsProps({ itemChildren: false }),\n}, 'Select')\n\nexport const makeVSelectProps = propsFactory({\n ...makeSelectProps(),\n ...omit(makeVTextFieldProps({\n modelValue: null,\n role: 'combobox',\n }), ['validationValue', 'dirty', 'appendInnerIcon']),\n ...makeTransitionProps({ transition: { component: VDialogTransition as Component } }),\n}, 'VSelect')\n\ntype ItemType<T> = T extends readonly (infer U)[] ? U : never\n\nexport const VSelect = genericComponent<new <\n T extends readonly any[],\n Item = ItemType<T>,\n ReturnObject extends boolean = false,\n Multiple extends boolean = false,\n V extends Value<Item, ReturnObject, Multiple> = Value<Item, ReturnObject, Multiple>\n>(\n props: {\n items?: T\n itemTitle?: SelectItemKey<ItemType<T>>\n itemValue?: SelectItemKey<ItemType<T>>\n itemProps?: SelectItemKey<ItemType<T>>\n returnObject?: ReturnObject\n multiple?: Multiple\n modelValue?: V | null\n 'onUpdate:modelValue'?: (value: V) => void\n },\n slots: Omit<VInputSlots & VFieldSlots, 'default'> & {\n item: { item: ListItem<Item>, index: number, props: Record<string, unknown> }\n chip: { item: ListItem<Item>, index: number, props: Record<string, unknown> }\n selection: { item: ListItem<Item>, index: number }\n 'prepend-item': never\n 'append-item': never\n 'no-data': never\n }\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VSelect',\n\n props: makeVSelectProps(),\n\n emits: {\n 'update:focused': (focused: boolean) => true,\n 'update:modelValue': (value: any) => true,\n 'update:menu': (ue: boolean) => true,\n },\n\n setup (props, { slots }) {\n const { t } = useLocale()\n const vTextFieldRef = ref()\n const vMenuRef = ref<VMenu>()\n const vVirtualScrollRef = ref<VVirtualScroll>()\n const _menu = useProxiedModel(props, 'menu')\n const menu = computed({\n get: () => _menu.value,\n set: v => {\n if (_menu.value && !v && vMenuRef.value?.ΨopenChildren.size) return\n _menu.value = v\n },\n })\n const { items, transformIn, transformOut } = useItems(props)\n const model = useProxiedModel(\n props,\n 'modelValue',\n [],\n v => transformIn(v === null ? [null] : wrapInArray(v)),\n v => {\n const transformed = transformOut(v)\n return props.multiple ? transformed : (transformed[0] ?? null)\n }\n )\n const counterValue = computed(() => {\n return typeof props.counterValue === 'function' ? props.counterValue(model.value)\n : typeof props.counterValue === 'number' ? props.counterValue\n : model.value.length\n })\n const form = useForm(props)\n const selectedValues = computed(() => model.value.map(selection => selection.value))\n const isFocused = shallowRef(false)\n const label = computed(() => menu.value ? props.closeText : props.openText)\n\n let keyboardLookupPrefix = ''\n let keyboardLookupLastTime: number\n\n const displayItems = computed(() => {\n if (props.hideSelected) {\n return items.value.filter(item => !model.value.some(s => props.valueComparator(s, item)))\n }\n return items.value\n })\n\n const menuDisabled = computed(() => (\n (props.hideNoData && !displayItems.value.length) ||\n form.isReadonly.value || form.isDisabled.value\n ))\n\n const computedMenuProps = computed(() => {\n return {\n ...props.menuProps,\n activatorProps: {\n ...(props.menuProps?.activatorProps || {}),\n 'aria-haspopup': 'listbox', // Set aria-haspopup to 'listbox'\n },\n }\n })\n\n const listRef = ref<VList>()\n const listEvents = useScrolling(listRef, vTextFieldRef)\n function onClear (e: MouseEvent) {\n if (props.openOnClear) {\n menu.value = true\n }\n }\n function onMousedownControl () {\n if (menuDisabled.value) return\n\n menu.value = !menu.value\n }\n function onListKeydown (e: KeyboardEvent) {\n if (checkPrintable(e)) {\n onKeydown(e)\n }\n }\n function onKeydown (e: KeyboardEvent) {\n if (!e.key || form.isReadonly.value) return\n\n if (['Enter', ' ', 'ArrowDown', 'ArrowUp', 'Home', 'End'].includes(e.key)) {\n e.preventDefault()\n }\n\n if (['Enter', 'ArrowDown', ' '].includes(e.key)) {\n menu.value = true\n }\n\n if (['Escape', 'Tab'].includes(e.key)) {\n menu.value = false\n }\n\n if (e.key === 'Home') {\n listRef.value?.focus('first')\n } else if (e.key === 'End') {\n listRef.value?.focus('last')\n }\n\n // html select hotkeys\n const KEYBOARD_LOOKUP_THRESHOLD = 1000 // milliseconds\n\n if (props.multiple || !checkPrintable(e)) return\n\n const now = performance.now()\n if (now - keyboardLookupLastTime > KEYBOARD_LOOKUP_THRESHOLD) {\n keyboardLookupPrefix = ''\n }\n keyboardLookupPrefix += e.key.toLowerCase()\n keyboardLookupLastTime = now\n\n const item = items.value.find(item => item.title.toLowerCase().startsWith(keyboardLookupPrefix))\n if (item !== undefined) {\n model.value = [item]\n const index = displayItems.value.indexOf(item)\n IN_BROWSER && window.requestAnimationFrame(() => {\n index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index)\n })\n }\n }\n\n /** @param set - null means toggle */\n function select (item: ListItem, set: boolean | null = true) {\n if (item.props.disabled) return\n\n if (props.multiple) {\n const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value))\n const add = set == null ? !~index : set\n\n if (~index) {\n const value = add ? [...model.value, item] : [...model.value]\n value.splice(index, 1)\n model.value = value\n } else if (add) {\n model.value = [...model.value, item]\n }\n } else {\n const add = set !== false\n model.value = add ? [item] : []\n\n nextTick(() => {\n menu.value = false\n })\n }\n }\n function onBlur (e: FocusEvent) {\n if (!listRef.value?.$el.contains(e.relatedTarget as HTMLElement)) {\n menu.value = false\n }\n }\n function onAfterEnter () {\n if (props.eager) {\n vVirtualScrollRef.value?.calculateVisibleItems()\n }\n }\n function onAfterLeave () {\n if (isFocused.value) {\n vTextFieldRef.value?.focus()\n }\n }\n function onFocusin (e: FocusEvent) {\n isFocused.value = true\n }\n function onModelUpdate (v: any) {\n if (v == null) model.value = []\n else if (matchesSelector(vTextFieldRef.value, ':autofill') || matchesSelector(vTextFieldRef.value, ':-webkit-autofill')) {\n const item = items.value.find(item => item.title === v)\n if (item) {\n select(item)\n }\n } else if (vTextFieldRef.value) {\n vTextFieldRef.value.value = ''\n }\n }\n\n watch(menu, () => {\n if (!props.hideSelected && menu.value && model.value.length) {\n const index = displayItems.value.findIndex(\n item => model.value.some(s => props.valueComparator(s.value, item.value))\n )\n IN_BROWSER && window.requestAnimationFrame(() => {\n index >= 0 && vVirtualScrollRef.value?.scrollToIndex(index)\n })\n }\n })\n\n watch(() => props.items, (newVal, oldVal) => {\n if (menu.value) return\n\n if (isFocused.value && !oldVal.length && newVal.length) {\n menu.value = true\n }\n })\n\n useRender(() => {\n const hasChips = !!(props.chips || slots.chip)\n const hasList = !!(\n (!props.hideNoData || displayItems.value.length) ||\n slots['prepend-item'] ||\n slots['append-item'] ||\n slots['no-data']\n )\n const isDirty = model.value.length > 0\n const textFieldProps = VTextField.filterProps(props)\n\n const placeholder = isDirty || (\n !isFocused.value &&\n props.label &&\n !props.persistentPlaceholder\n ) ? undefined : props.placeholder\n\n return (\n <VTextField\n ref={ vTextFieldRef }\n { ...textFieldProps }\n modelValue={ model.value.map(v => v.props.value).join(', ') }\n onUpdate:modelValue={ onModelUpdate }\n v-model:focused={ isFocused.value }\n validationValue={ model.externalValue }\n counterValue={ counterValue.value }\n dirty={ isDirty }\n class={[\n 'v-select',\n {\n 'v-select--active-menu': menu.value,\n 'v-select--chips': !!props.chips,\n [`v-select--${props.multiple ? 'multiple' : 'single'}`]: true,\n 'v-select--selected': model.value.length,\n 'v-select--selection-slot': !!slots.selection,\n },\n props.class,\n ]}\n style={ props.style }\n inputmode=\"none\"\n placeholder={ placeholder }\n onClick:clear={ onClear }\n onMousedown:control={ onMousedownControl }\n onBlur={ onBlur }\n onKeydown={ onKeydown }\n aria-label={ t(label.value) }\n title={ t(label.value) }\n >\n {{\n ...slots,\n default: () => (\n <>\n <VMenu\n ref={ vMenuRef }\n v-model={ menu.value }\n activator=\"parent\"\n contentClass=\"v-select__content\"\n disabled={ menuDisabled.value }\n eager={ props.eager }\n maxHeight={ 310 }\n openOnClick={ false }\n closeOnContentClick={ false }\n transition={ props.transition }\n onAfterEnter={ onAfterEnter }\n onAfterLeave={ onAfterLeave }\n { ...computedMenuProps.value }\n >\n { hasList && (\n <VList\n ref={ listRef }\n selected={ selectedValues.value }\n selectStrategy={ props.multiple ? 'independent' : 'single-independent' }\n onMousedown={ (e: MouseEvent) => e.preventDefault() }\n onKeydown={ onListKeydown }\n onFocusin={ onFocusin }\n tabindex=\"-1\"\n aria-live=\"polite\"\n color={ props.itemColor ?? props.color }\n { ...listEvents }\n { ...props.listProps }\n >\n { slots['prepend-item']?.() }\n\n { !displayItems.value.length && !props.hideNoData && (slots['no-data']?.() ?? (\n <VListItem title={ t(props.noDataText) } />\n ))}\n\n <VVirtualScroll ref={ vVirtualScrollRef } renderless items={ displayItems.value }>\n { ({ item, index, itemRef }) => {\n const itemProps = mergeProps(item.props, {\n ref: itemRef,\n key: index,\n onClick: () => select(item, null),\n })\n\n return slots.item?.({\n item,\n index,\n props: itemProps,\n }) ?? (\n <VListItem { ...itemProps } role=\"option\">\n {{\n prepend: ({ isSelected }) => (\n <>\n { props.multiple && !props.hideSelected ? (\n <VCheckboxBtn\n key={ item.value }\n modelValue={ isSelected }\n ripple={ false }\n tabindex=\"-1\"\n />\n ) : undefined }\n\n { item.props.prependAvatar && (\n <VAvatar image={ item.props.prependAvatar } />\n )}\n\n { item.props.prependIcon && (\n <VIcon icon={ item.props.prependIcon } />\n )}\n </>\n ),\n }}\n </VListItem>\n )\n }}\n </VVirtualScroll>\n\n { slots['append-item']?.() }\n </VList>\n )}\n </VMenu>\n\n { model.value.map((item, index) => {\n function onChipClose (e: Event) {\n e.stopPropagation()\n e.preventDefault()\n\n select(item, false)\n }\n\n const slotProps = {\n 'onClick:close': onChipClose,\n onKeydown (e: KeyboardEvent) {\n if (e.key !== 'Enter' && e.key !== ' ') return\n\n e.preventDefault()\n e.stopPropagation()\n\n onChipClose(e)\n },\n onMousedown (e: MouseEvent) {\n e.preventDefault()\n e.stopPropagation()\n },\n modelValue: true,\n 'onUpdate:modelValue': undefined,\n }\n\n const hasSlot = hasChips ? !!slots.chip : !!slots.selection\n const slotContent = hasSlot\n ? ensureValidVNode(\n hasChips\n ? slots.chip!({ item, index, props: slotProps })\n : slots.selection!({ item, index })\n )\n : undefined\n\n if (hasSlot && !slotContent) return undefined\n\n return (\n <div key={ item.value } class=\"v-select__selection\">\n { hasChips ? (\n !slots.chip ? (\n <VChip\n key=\"chip\"\n closable={ props.closableChips }\n size=\"small\"\n text={ item.title }\n disabled={ item.props.disabled }\n { ...slotProps }\n />\n ) : (\n <VDefaultsProvider\n key=\"chip-defaults\"\n defaults={{\n VChip: {\n closable: props.closableChips,\n size: 'small',\n text: item.title,\n },\n }}\n >\n { slotContent }\n </VDefaultsProvider>\n )\n ) : (\n slotContent ?? (\n <span class=\"v-select__selection-text\">\n { item.title }\n { props.multiple && (index < model.value.length - 1) && (\n <span class=\"v-select__selection-comma\">,</span>\n )}\n </span>\n )\n )}\n </div>\n )\n })}\n </>\n ),\n 'append-inner': (...args) => (\n <>\n { slots['append-inner']?.(...args) }\n { props.menuIcon ? (\n <VIcon\n class=\"v-select__menu-icon\"\n icon={ props.menuIcon }\n />\n ) : undefined }\n </>\n ),\n }}\n </VTextField>\n )\n })\n\n return forwardRefs({\n isFocused,\n menu,\n select,\n }, vTextFieldRef)\n },\n})\n\nexport type VSelect = InstanceType<typeof VSelect>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,OAAO;AAAA,SACPC,YAAY;AAAA,SACZC,KAAK;AAAA,SACLC,iBAAiB;AAAA,SACjBC,KAAK;AAAA,SACLC,KAAK,EAAEC,SAAS;AAAA,SAChBC,KAAK;AAAA,SACLC,mBAAmB,EAAEC,UAAU;AAAA,SAC/BC,cAAc,uCAEvB;AAAA,SACSC,YAAY;AAAA,SACZC,OAAO;AAAA,SACPC,WAAW;AAAA,SACXC,SAAS;AAAA,SACTC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,SAAS;AAAA,SACTC,eAAe;AAAA,SACfC,mBAAmB,4CAE5B;AACA,SAASC,QAAQ,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,UAAU,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAE1EC,cAAc,EACdC,gBAAgB,EAChBC,gBAAgB,EAChBC,UAAU,EACVC,eAAe,EACfC,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IAAI;MACJmF;IACF,CAAC,EAAE3D,aAAa,CAAC;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -372,8 +372,8 @@ declare const VList: {
372
372
  activeColor?: string | undefined;
373
373
  activeClass?: string | undefined;
374
374
  activeStrategy?: ActiveStrategyProp | undefined;
375
- collapseIcon?: string | undefined;
376
- expandIcon?: string | undefined;
375
+ collapseIcon?: IconValue | undefined;
376
+ expandIcon?: IconValue | undefined;
377
377
  } & {
378
378
  "onUpdate:activated"?: ((value: unknown) => any) | undefined;
379
379
  "onClick:activate"?: ((value: {
@@ -496,8 +496,8 @@ declare const VList: {
496
496
  activeColor?: string | undefined;
497
497
  activeClass?: string | undefined;
498
498
  activeStrategy?: ActiveStrategyProp | undefined;
499
- collapseIcon?: string | undefined;
500
- expandIcon?: string | undefined;
499
+ collapseIcon?: IconValue | undefined;
500
+ expandIcon?: IconValue | undefined;
501
501
  } & {
502
502
  "onUpdate:activated"?: ((value: unknown) => any) | undefined;
503
503
  "onClick:activate"?: ((value: {
@@ -572,8 +572,8 @@ declare const VList: {
572
572
  activeColor?: string | undefined;
573
573
  activeClass?: string | undefined;
574
574
  activeStrategy?: ActiveStrategyProp | undefined;
575
- collapseIcon?: string | undefined;
576
- expandIcon?: string | undefined;
575
+ collapseIcon?: IconValue | undefined;
576
+ expandIcon?: IconValue | undefined;
577
577
  } & {
578
578
  "onUpdate:activated"?: ((value: unknown) => any) | undefined;
579
579
  "onClick:activate"?: ((value: {
@@ -762,8 +762,8 @@ declare const VList: {
762
762
  activeClass: StringConstructor;
763
763
  bgColor: StringConstructor;
764
764
  disabled: BooleanConstructor;
765
- expandIcon: StringConstructor;
766
- collapseIcon: StringConstructor;
765
+ expandIcon: PropType<IconValue>;
766
+ collapseIcon: PropType<IconValue>;
767
767
  lines: {
768
768
  type: PropType<"one" | "two" | "three" | false>;
769
769
  default: string;
@@ -871,8 +871,8 @@ declare const VList: {
871
871
  activeClass: StringConstructor;
872
872
  bgColor: StringConstructor;
873
873
  disabled: BooleanConstructor;
874
- expandIcon: StringConstructor;
875
- collapseIcon: StringConstructor;
874
+ expandIcon: PropType<IconValue>;
875
+ collapseIcon: PropType<IconValue>;
876
876
  lines: {
877
877
  type: PropType<"one" | "two" | "three" | false>;
878
878
  default: string;
@@ -2887,8 +2887,8 @@ declare const VSelect: {
2887
2887
  activeColor?: string | undefined;
2888
2888
  activeClass?: string | undefined;
2889
2889
  activeStrategy?: ActiveStrategyProp | undefined;
2890
- collapseIcon?: string | undefined;
2891
- expandIcon?: string | undefined;
2890
+ collapseIcon?: IconValue | undefined;
2891
+ expandIcon?: IconValue | undefined;
2892
2892
  "onUpdate:activated"?: ((value: unknown) => any) | undefined;
2893
2893
  "onClick:activate"?: ((value: {
2894
2894
  id: unknown;
@@ -3334,8 +3334,8 @@ declare const VSelect: {
3334
3334
  activeColor?: string | undefined;
3335
3335
  activeClass?: string | undefined;
3336
3336
  activeStrategy?: ActiveStrategyProp | undefined;
3337
- collapseIcon?: string | undefined;
3338
- expandIcon?: string | undefined;
3337
+ collapseIcon?: IconValue | undefined;
3338
+ expandIcon?: IconValue | undefined;
3339
3339
  "onUpdate:activated"?: ((value: unknown) => any) | undefined;
3340
3340
  "onClick:activate"?: ((value: {
3341
3341
  id: unknown;
@@ -3742,8 +3742,8 @@ declare const VSelect: {
3742
3742
  activeColor?: string | undefined;
3743
3743
  activeClass?: string | undefined;
3744
3744
  activeStrategy?: ActiveStrategyProp | undefined;
3745
- collapseIcon?: string | undefined;
3746
- expandIcon?: string | undefined;
3745
+ collapseIcon?: IconValue | undefined;
3746
+ expandIcon?: IconValue | undefined;
3747
3747
  "onUpdate:activated"?: ((value: unknown) => any) | undefined;
3748
3748
  "onClick:activate"?: ((value: {
3749
3749
  id: unknown;
@@ -1,101 +1,103 @@
1
- @layer vuetify.components {
2
- .v-selection-control {
3
- align-items: center;
4
- contain: layout;
5
- display: flex;
6
- flex: 1 0;
7
- grid-area: control;
8
- position: relative;
9
- user-select: none;
10
- }
11
- .v-selection-control .v-label {
12
- white-space: normal;
13
- word-break: break-word;
14
- height: 100%;
15
- }
16
- .v-selection-control--disabled {
17
- opacity: var(--v-disabled-opacity);
18
- pointer-events: none;
19
- }
20
- .v-selection-control--error .v-label, .v-selection-control--disabled .v-label {
21
- opacity: 1;
22
- }
23
- .v-selection-control--error:not(.v-selection-control--disabled) .v-label {
24
- color: rgb(var(--v-theme-error));
25
- }
26
- .v-selection-control--inline {
27
- display: inline-flex;
28
- flex: 0 0 auto;
29
- min-width: 0;
30
- max-width: 100%;
31
- }
32
- .v-selection-control--inline .v-label {
33
- width: auto;
34
- }
35
- .v-selection-control--density-default {
36
- --v-selection-control-size: 40px;
37
- }
38
- .v-selection-control--density-comfortable {
39
- --v-selection-control-size: 36px;
40
- }
41
- .v-selection-control--density-compact {
42
- --v-selection-control-size: 28px;
43
- }
44
- .v-selection-control__wrapper {
45
- width: var(--v-selection-control-size);
46
- height: var(--v-selection-control-size);
47
- display: inline-flex;
48
- align-items: center;
49
- position: relative;
50
- justify-content: center;
51
- flex: none;
52
- }
53
- .v-selection-control__input {
54
- width: var(--v-selection-control-size);
55
- height: var(--v-selection-control-size);
56
- align-items: center;
57
- display: flex;
58
- flex: none;
59
- justify-content: center;
60
- position: relative;
61
- border-radius: 50%;
62
- }
63
- .v-selection-control__input input {
64
- cursor: pointer;
65
- position: absolute;
66
- left: 0;
67
- top: 0;
68
- width: 100%;
69
- height: 100%;
70
- opacity: 0;
71
- }
72
- .v-selection-control__input::before {
73
- border-radius: 100%;
74
- background-color: currentColor;
75
- opacity: 0;
76
- pointer-events: none;
77
- }
78
- .v-selection-control__input::before {
79
- content: "";
80
- position: absolute;
81
- top: 0;
82
- left: 0;
83
- width: 100%;
84
- height: 100%;
85
- }
86
- .v-selection-control__input:hover::before {
87
- opacity: calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier));
88
- }
89
- .v-selection-control__input > .v-icon {
90
- opacity: var(--v-medium-emphasis-opacity);
91
- }
92
- .v-selection-control--disabled .v-selection-control__input > .v-icon, .v-selection-control--dirty .v-selection-control__input > .v-icon, .v-selection-control--error .v-selection-control__input > .v-icon {
93
- opacity: 1;
94
- }
95
- .v-selection-control--error:not(.v-selection-control--disabled) .v-selection-control__input > .v-icon {
96
- color: rgb(var(--v-theme-error));
97
- }
98
- .v-selection-control--focus-visible .v-selection-control__input::before {
99
- opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
100
- }
1
+ .v-selection-control {
2
+ align-items: center;
3
+ contain: layout;
4
+ display: flex;
5
+ flex: 1 0;
6
+ grid-area: control;
7
+ position: relative;
8
+ user-select: none;
9
+ }
10
+ .v-selection-control .v-label {
11
+ white-space: normal;
12
+ word-break: break-word;
13
+ height: 100%;
14
+ }
15
+ .v-selection-control--disabled {
16
+ opacity: var(--v-disabled-opacity);
17
+ pointer-events: none;
18
+ }
19
+ .v-selection-control--error .v-label, .v-selection-control--disabled .v-label {
20
+ opacity: 1;
21
+ }
22
+ .v-selection-control--error:not(.v-selection-control--disabled) .v-label {
23
+ color: rgb(var(--v-theme-error));
24
+ }
25
+ .v-selection-control--inline {
26
+ display: inline-flex;
27
+ flex: 0 0 auto;
28
+ min-width: 0;
29
+ max-width: 100%;
30
+ }
31
+ .v-selection-control--inline .v-label {
32
+ width: auto;
33
+ }
34
+ .v-selection-control--density-default {
35
+ --v-selection-control-size: 40px;
36
+ }
37
+
38
+ .v-selection-control--density-comfortable {
39
+ --v-selection-control-size: 36px;
40
+ }
41
+
42
+ .v-selection-control--density-compact {
43
+ --v-selection-control-size: 28px;
44
+ }
45
+
46
+ .v-selection-control__wrapper {
47
+ width: var(--v-selection-control-size);
48
+ height: var(--v-selection-control-size);
49
+ display: inline-flex;
50
+ align-items: center;
51
+ position: relative;
52
+ justify-content: center;
53
+ flex: none;
54
+ }
55
+
56
+ .v-selection-control__input {
57
+ width: var(--v-selection-control-size);
58
+ height: var(--v-selection-control-size);
59
+ align-items: center;
60
+ display: flex;
61
+ flex: none;
62
+ justify-content: center;
63
+ position: relative;
64
+ border-radius: 50%;
65
+ }
66
+ .v-selection-control__input input {
67
+ cursor: pointer;
68
+ position: absolute;
69
+ left: 0;
70
+ top: 0;
71
+ width: 100%;
72
+ height: 100%;
73
+ opacity: 0;
74
+ }
75
+ .v-selection-control__input::before {
76
+ border-radius: 100%;
77
+ background-color: currentColor;
78
+ opacity: 0;
79
+ pointer-events: none;
80
+ }
81
+ .v-selection-control__input::before {
82
+ content: "";
83
+ position: absolute;
84
+ top: 0;
85
+ left: 0;
86
+ width: 100%;
87
+ height: 100%;
88
+ }
89
+ .v-selection-control__input:hover::before {
90
+ opacity: calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier));
91
+ }
92
+ .v-selection-control__input > .v-icon {
93
+ opacity: var(--v-medium-emphasis-opacity);
94
+ }
95
+ .v-selection-control--disabled .v-selection-control__input > .v-icon, .v-selection-control--dirty .v-selection-control__input > .v-icon, .v-selection-control--error .v-selection-control__input > .v-icon {
96
+ opacity: 1;
97
+ }
98
+ .v-selection-control--error:not(.v-selection-control--disabled) .v-selection-control__input > .v-icon {
99
+ color: rgb(var(--v-theme-error));
100
+ }
101
+ .v-selection-control--focus-visible .v-selection-control__input::before {
102
+ opacity: calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier));
101
103
  }
@@ -1,11 +1,9 @@
1
- @layer vuetify.components {
2
- .v-selection-control-group {
3
- grid-area: control;
4
- display: flex;
5
- flex-direction: column;
6
- }
7
- .v-selection-control-group--inline {
8
- flex-direction: row;
9
- flex-wrap: wrap;
10
- }
1
+ .v-selection-control-group {
2
+ grid-area: control;
3
+ display: flex;
4
+ flex-direction: column;
5
+ }
6
+ .v-selection-control-group--inline {
7
+ flex-direction: row;
8
+ flex-wrap: wrap;
11
9
  }