vuetify 3.10.2 → 3.10.4

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 (226) hide show
  1. package/dist/json/attributes.json +3585 -3581
  2. package/dist/json/importMap-labs.json +22 -22
  3. package/dist/json/importMap.json +136 -136
  4. package/dist/json/tags.json +1 -0
  5. package/dist/json/web-types.json +6506 -6482
  6. package/dist/vuetify-labs.cjs +124 -92
  7. package/dist/vuetify-labs.css +4941 -4941
  8. package/dist/vuetify-labs.d.ts +1375 -1363
  9. package/dist/vuetify-labs.esm.js +125 -93
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +124 -92
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.cjs +116 -87
  14. package/dist/vuetify.cjs.map +1 -1
  15. package/dist/vuetify.css +6491 -6491
  16. package/dist/vuetify.d.ts +1120 -1108
  17. package/dist/vuetify.esm.js +116 -87
  18. package/dist/vuetify.esm.js.map +1 -1
  19. package/dist/vuetify.js +116 -87
  20. package/dist/vuetify.js.map +1 -1
  21. package/dist/vuetify.min.css +2 -2
  22. package/dist/vuetify.min.js +1435 -1428
  23. package/dist/vuetify.min.js.map +1 -1
  24. package/lib/components/VAlert/VAlert.d.ts +3 -3
  25. package/lib/components/VAlert/VAlertTitle.d.ts +3 -3
  26. package/lib/components/VApp/VApp.d.ts +3 -3
  27. package/lib/components/VAppBar/VAppBar.d.ts +3 -3
  28. package/lib/components/VAppBar/VAppBarNavIcon.d.ts +6 -6
  29. package/lib/components/VAppBar/VAppBarTitle.d.ts +3 -3
  30. package/lib/components/VAutocomplete/VAutocomplete.d.ts +116 -116
  31. package/lib/components/VAutocomplete/VAutocomplete.js +1 -1
  32. package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
  33. package/lib/components/VAvatar/VAvatar.d.ts +3 -3
  34. package/lib/components/VBadge/VBadge.d.ts +3 -3
  35. package/lib/components/VBanner/VBanner.d.ts +3 -3
  36. package/lib/components/VBanner/VBannerActions.d.ts +3 -3
  37. package/lib/components/VBanner/VBannerText.d.ts +3 -3
  38. package/lib/components/VBottomNavigation/VBottomNavigation.d.ts +3 -3
  39. package/lib/components/VBottomSheet/VBottomSheet.d.ts +3 -3
  40. package/lib/components/VBreadcrumbs/VBreadcrumbs.d.ts +3 -3
  41. package/lib/components/VBreadcrumbs/VBreadcrumbsDivider.d.ts +3 -3
  42. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.d.ts +3 -3
  43. package/lib/components/VBtn/VBtn.d.ts +6 -6
  44. package/lib/components/VBtn/VBtn.js +5 -5
  45. package/lib/components/VBtn/VBtn.js.map +1 -1
  46. package/lib/components/VBtnGroup/VBtnGroup.d.ts +3 -3
  47. package/lib/components/VBtnToggle/VBtnToggle.d.ts +3 -3
  48. package/lib/components/VCard/VCard.d.ts +6 -6
  49. package/lib/components/VCard/VCard.js +2 -2
  50. package/lib/components/VCard/VCard.js.map +1 -1
  51. package/lib/components/VCard/VCardActions.d.ts +3 -3
  52. package/lib/components/VCard/VCardItem.d.ts +3 -3
  53. package/lib/components/VCard/VCardSubtitle.d.ts +3 -3
  54. package/lib/components/VCard/VCardText.d.ts +3 -3
  55. package/lib/components/VCard/VCardTitle.d.ts +3 -3
  56. package/lib/components/VCarousel/VCarousel.d.ts +3 -3
  57. package/lib/components/VCarousel/VCarouselItem.d.ts +3 -3
  58. package/lib/components/VCheckbox/VCheckbox.d.ts +15 -15
  59. package/lib/components/VCheckbox/VCheckboxBtn.d.ts +6 -6
  60. package/lib/components/VChip/VChip.d.ts +6 -6
  61. package/lib/components/VChip/VChip.js +15 -4
  62. package/lib/components/VChip/VChip.js.map +1 -1
  63. package/lib/components/VChipGroup/VChipGroup.d.ts +3 -3
  64. package/lib/components/VCode/index.d.ts +3 -3
  65. package/lib/components/VCombobox/VCombobox.d.ts +129 -116
  66. package/lib/components/VCombobox/VCombobox.js +8 -25
  67. package/lib/components/VCombobox/VCombobox.js.map +1 -1
  68. package/lib/components/VCounter/VCounter.d.ts +3 -3
  69. package/lib/components/VDataIterator/VDataIterator.d.ts +9 -9
  70. package/lib/components/VDataTable/VDataTable.d.ts +3 -3
  71. package/lib/components/VDataTable/VDataTableServer.d.ts +3 -3
  72. package/lib/components/VDataTable/VDataTableVirtual.d.ts +6 -6
  73. package/lib/components/VDataTable/composables/expand.js +8 -8
  74. package/lib/components/VDataTable/composables/expand.js.map +1 -1
  75. package/lib/components/VDatePicker/VDatePicker.d.ts +3 -3
  76. package/lib/components/VDialog/VDialog.d.ts +12 -12
  77. package/lib/components/VDialog/VDialog.js +29 -11
  78. package/lib/components/VDialog/VDialog.js.map +1 -1
  79. package/lib/components/VDialog/__test__/VDialog.spec.browser.js +41 -0
  80. package/lib/components/VDialog/__test__/VDialog.spec.browser.js.map +1 -1
  81. package/lib/components/VDivider/VDivider.d.ts +3 -3
  82. package/lib/components/VEmptyState/VEmptyState.d.ts +6 -6
  83. package/lib/components/VExpansionPanel/VExpansionPanel.d.ts +6 -6
  84. package/lib/components/VExpansionPanel/VExpansionPanelText.d.ts +3 -3
  85. package/lib/components/VExpansionPanel/VExpansionPanelTitle.d.ts +6 -6
  86. package/lib/components/VExpansionPanel/VExpansionPanels.d.ts +6 -6
  87. package/lib/components/VFab/VFab.d.ts +6 -6
  88. package/lib/components/VField/VField.d.ts +3 -3
  89. package/lib/components/VField/VFieldLabel.d.ts +3 -3
  90. package/lib/components/VFileInput/VFileInput.d.ts +12 -12
  91. package/lib/components/VFileInput/VFileInput.js +2 -1
  92. package/lib/components/VFileInput/VFileInput.js.map +1 -1
  93. package/lib/components/VFooter/VFooter.d.ts +3 -3
  94. package/lib/components/VForm/VForm.d.ts +6 -6
  95. package/lib/components/VGrid/VCol.d.ts +3 -3
  96. package/lib/components/VGrid/VContainer.d.ts +3 -3
  97. package/lib/components/VGrid/VRow.d.ts +3 -3
  98. package/lib/components/VGrid/VSpacer.d.ts +3 -3
  99. package/lib/components/VIcon/VIcon.d.ts +3 -3
  100. package/lib/components/VImg/VImg.d.ts +3 -3
  101. package/lib/components/VInput/VInput.d.ts +3 -3
  102. package/lib/components/VItemGroup/VItemGroup.d.ts +3 -3
  103. package/lib/components/VKbd/VKbd.d.ts +3 -3
  104. package/lib/components/VLabel/VLabel.d.ts +3 -3
  105. package/lib/components/VLayout/VLayout.d.ts +3 -3
  106. package/lib/components/VLayout/VLayoutItem.d.ts +3 -3
  107. package/lib/components/VLazy/VLazy.d.ts +3 -3
  108. package/lib/components/VList/VList.d.ts +11 -11
  109. package/lib/components/VList/VList.js.map +1 -1
  110. package/lib/components/VList/VListGroup.d.ts +3 -3
  111. package/lib/components/VList/VListImg.d.ts +3 -3
  112. package/lib/components/VList/VListItem.d.ts +6 -6
  113. package/lib/components/VList/VListItem.js +2 -2
  114. package/lib/components/VList/VListItem.js.map +1 -1
  115. package/lib/components/VList/VListItemAction.d.ts +3 -3
  116. package/lib/components/VList/VListItemMedia.d.ts +3 -3
  117. package/lib/components/VList/VListItemSubtitle.d.ts +3 -3
  118. package/lib/components/VList/VListItemTitle.d.ts +3 -3
  119. package/lib/components/VList/VListSubheader.d.ts +3 -3
  120. package/lib/components/VLocaleProvider/VLocaleProvider.d.ts +3 -3
  121. package/lib/components/VMain/VMain.d.ts +3 -3
  122. package/lib/components/VMenu/VMenu.d.ts +15 -15
  123. package/lib/components/VMessages/VMessages.d.ts +3 -3
  124. package/lib/components/VNavigationDrawer/VNavigationDrawer.d.ts +3 -3
  125. package/lib/components/VNumberInput/VNumberInput.d.ts +66 -66
  126. package/lib/components/VNumberInput/VNumberInput.js +1 -0
  127. package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
  128. package/lib/components/VOtpInput/VOtpInput.d.ts +3 -3
  129. package/lib/components/VOverlay/VOverlay.d.ts +3 -3
  130. package/lib/components/VPagination/VPagination.d.ts +3 -3
  131. package/lib/components/VParallax/VParallax.d.ts +3 -3
  132. package/lib/components/VProgressCircular/VProgressCircular.d.ts +3 -3
  133. package/lib/components/VProgressLinear/VProgressLinear.d.ts +3 -3
  134. package/lib/components/VRadio/VRadio.d.ts +6 -6
  135. package/lib/components/VRadioGroup/VRadioGroup.d.ts +15 -15
  136. package/lib/components/VRangeSlider/VRangeSlider.d.ts +12 -12
  137. package/lib/components/VRating/VRating.d.ts +3 -3
  138. package/lib/components/VResponsive/VResponsive.d.ts +3 -3
  139. package/lib/components/VSelect/VSelect.d.ts +140 -140
  140. package/lib/components/VSelectionControl/VSelectionControl.d.ts +6 -6
  141. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.d.ts +6 -6
  142. package/lib/components/VSheet/VSheet.d.ts +3 -3
  143. package/lib/components/VSlideGroup/VSlideGroup.d.ts +3 -3
  144. package/lib/components/VSlider/VSlider.d.ts +12 -12
  145. package/lib/components/VSlider/VSliderThumb.d.ts +6 -6
  146. package/lib/components/VSlider/VSliderTrack.d.ts +3 -3
  147. package/lib/components/VSnackbar/VSnackbar.d.ts +12 -12
  148. package/lib/components/VSnackbarQueue/VSnackbarQueue.d.ts +3 -3
  149. package/lib/components/VSpeedDial/VSpeedDial.d.ts +9 -9
  150. package/lib/components/VStepper/VStepper.d.ts +3 -3
  151. package/lib/components/VStepper/VStepperHeader.d.ts +3 -3
  152. package/lib/components/VStepper/VStepperItem.d.ts +3 -3
  153. package/lib/components/VStepper/VStepperWindow.d.ts +3 -3
  154. package/lib/components/VStepper/VStepperWindowItem.d.ts +3 -3
  155. package/lib/components/VSwitch/VSwitch.d.ts +15 -15
  156. package/lib/components/VSwitch/VSwitch.js +2 -2
  157. package/lib/components/VSwitch/VSwitch.js.map +1 -1
  158. package/lib/components/VSystemBar/VSystemBar.d.ts +3 -3
  159. package/lib/components/VTable/VTable.d.ts +3 -3
  160. package/lib/components/VTabs/VTab.d.ts +24 -24
  161. package/lib/components/VTabs/VTabs.d.ts +3 -3
  162. package/lib/components/VTabs/VTabsWindow.d.ts +3 -3
  163. package/lib/components/VTabs/VTabsWindowItem.d.ts +3 -3
  164. package/lib/components/VTextField/VTextField.d.ts +21 -21
  165. package/lib/components/VTextarea/VTextarea.d.ts +12 -12
  166. package/lib/components/VThemeProvider/VThemeProvider.d.ts +3 -3
  167. package/lib/components/VTimePicker/VTimePicker.d.ts +3 -3
  168. package/lib/components/VTimeline/VTimeline.d.ts +3 -3
  169. package/lib/components/VTimeline/VTimelineDivider.d.ts +3 -3
  170. package/lib/components/VTimeline/VTimelineItem.d.ts +3 -3
  171. package/lib/components/VToolbar/VToolbar.d.ts +3 -3
  172. package/lib/components/VToolbar/VToolbarItems.d.ts +3 -3
  173. package/lib/components/VToolbar/VToolbarTitle.d.ts +3 -3
  174. package/lib/components/VTooltip/VTooltip.d.ts +15 -15
  175. package/lib/components/VTreeview/VTreeview.d.ts +26 -26
  176. package/lib/components/VTreeview/VTreeviewChildren.js +1 -1
  177. package/lib/components/VTreeview/VTreeviewChildren.js.map +1 -1
  178. package/lib/components/VTreeview/VTreeviewGroup.d.ts +3 -3
  179. package/lib/components/VTreeview/VTreeviewItem.d.ts +24 -24
  180. package/lib/components/VVirtualScroll/VVirtualScroll.d.ts +6 -6
  181. package/lib/components/VVirtualScroll/VVirtualScrollItem.d.ts +3 -3
  182. package/lib/components/VWindow/VWindow.d.ts +3 -3
  183. package/lib/components/VWindow/VWindowItem.d.ts +3 -3
  184. package/lib/components/transitions/createTransition.d.ts +6 -6
  185. package/lib/components/transitions/index.d.ts +78 -78
  186. package/lib/composables/goto.js +2 -2
  187. package/lib/composables/goto.js.map +1 -1
  188. package/lib/composables/group.d.ts +2 -0
  189. package/lib/composables/group.js +15 -9
  190. package/lib/composables/group.js.map +1 -1
  191. package/lib/composables/router.d.ts +2 -0
  192. package/lib/composables/router.js +6 -1
  193. package/lib/composables/router.js.map +1 -1
  194. package/lib/entry-bundler.js +1 -1
  195. package/lib/framework.d.ts +63 -63
  196. package/lib/framework.js +1 -1
  197. package/lib/labs/VCalendar/VCalendar.js +7 -4
  198. package/lib/labs/VCalendar/VCalendar.js.map +1 -1
  199. package/lib/labs/VCalendar/composables/calendarWithEvents.js +7 -4
  200. package/lib/labs/VCalendar/composables/calendarWithEvents.js.map +1 -1
  201. package/lib/labs/VColorInput/VColorInput.d.ts +6 -6
  202. package/lib/labs/VDateInput/VDateInput.d.ts +66 -66
  203. package/lib/labs/VFileUpload/VFileUpload.d.ts +3 -3
  204. package/lib/labs/VFileUpload/VFileUpload.js +2 -1
  205. package/lib/labs/VFileUpload/VFileUpload.js.map +1 -1
  206. package/lib/labs/VFileUpload/VFileUploadItem.d.ts +6 -6
  207. package/lib/labs/VHotkey/VHotkey.d.ts +3 -3
  208. package/lib/labs/VIconBtn/VIconBtn.d.ts +3 -3
  209. package/lib/labs/VMaskInput/VMaskInput.d.ts +66 -66
  210. package/lib/labs/VPicker/VPicker.d.ts +3 -3
  211. package/lib/labs/VPicker/VPickerTitle.d.ts +3 -3
  212. package/lib/labs/VPie/VPieTooltip.d.ts +3 -3
  213. package/lib/labs/VStepperVertical/VStepperVertical.d.ts +6 -6
  214. package/lib/labs/VStepperVertical/VStepperVerticalItem.d.ts +6 -6
  215. package/lib/labs/VVideo/VVideo.d.ts +87 -87
  216. package/lib/labs/VVideo/VVideoControls.d.ts +40 -40
  217. package/lib/labs/VVideo/VVideoVolume.d.ts +33 -33
  218. package/lib/util/animation.js +1 -1
  219. package/lib/util/animation.js.map +1 -1
  220. package/lib/util/box.d.ts +1 -1
  221. package/lib/util/box.js +19 -14
  222. package/lib/util/box.js.map +1 -1
  223. package/lib/util/createSimpleFunctional.d.ts +3 -3
  224. package/lib/util/events.js +2 -2
  225. package/lib/util/events.js.map +1 -1
  226. package/package.json +9 -9
@@ -399,7 +399,7 @@ export declare const makeVDatePickerProps: <Defaults extends {
399
399
  };
400
400
  export declare const VDatePicker: {
401
401
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
402
- style: import("vue").StyleValue;
402
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
403
403
  tile: boolean;
404
404
  tag: string | import("../../util/index.js").JSXComponent;
405
405
  divided: boolean;
@@ -551,7 +551,7 @@ export declare const VDatePicker: {
551
551
  M: {};
552
552
  Defaults: {};
553
553
  }, {
554
- style: import("vue").StyleValue;
554
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
555
555
  tile: boolean;
556
556
  tag: string | import("../../util/index.js").JSXComponent;
557
557
  divided: boolean;
@@ -637,7 +637,7 @@ export declare const VDatePicker: {
637
637
  __isTeleport?: undefined;
638
638
  __isSuspense?: undefined;
639
639
  } & import("vue").ComponentOptionsBase<{
640
- style: import("vue").StyleValue;
640
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
641
641
  tile: boolean;
642
642
  tag: string | import("../../util/index.js").JSXComponent;
643
643
  divided: boolean;
@@ -853,7 +853,7 @@ export declare const makeVDialogProps: <Defaults extends {
853
853
  };
854
854
  export declare const VDialog: {
855
855
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
856
- style: import("vue").StyleValue;
856
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
857
857
  locationStrategy: "connected" | "static" | import("../../types.js").LocationStrategyFunction;
858
858
  location: import("../../util/index.js").Anchor;
859
859
  origin: "auto" | "overlap" | import("../../util/index.js").Anchor;
@@ -1030,7 +1030,7 @@ export declare const VDialog: {
1030
1030
  }> & Omit<{
1031
1031
  theme?: string | undefined;
1032
1032
  class?: any;
1033
- style: import("vue").StyleValue;
1033
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1034
1034
  $children?: {
1035
1035
  default?: ((arg: {
1036
1036
  isActive: import("vue").Ref<boolean, boolean>;
@@ -1134,7 +1134,7 @@ export declare const VDialog: {
1134
1134
  $emit: ((event: "afterEnter") => void) & ((event: "afterLeave") => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "keydown", e: KeyboardEvent) => void) & ((event: "update:modelValue", value: boolean) => void);
1135
1135
  $el: any;
1136
1136
  $options: import("vue").ComponentOptionsBase<{
1137
- style: import("vue").StyleValue;
1137
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1138
1138
  locationStrategy: "connected" | "static" | import("../../types.js").LocationStrategyFunction;
1139
1139
  location: import("../../util/index.js").Anchor;
1140
1140
  origin: "auto" | "overlap" | import("../../util/index.js").Anchor;
@@ -1312,7 +1312,7 @@ export declare const VDialog: {
1312
1312
  zIndex: string | number;
1313
1313
  _disableGlobalStack: boolean;
1314
1314
  }> & Omit<{
1315
- style: import("vue").StyleValue;
1315
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1316
1316
  locationStrategy: "connected" | "static" | import("../../types.js").LocationStrategyFunction;
1317
1317
  location: import("../../util/index.js").Anchor;
1318
1318
  origin: "auto" | "overlap" | import("../../util/index.js").Anchor;
@@ -1533,7 +1533,7 @@ export declare const VDialog: {
1533
1533
  M: {};
1534
1534
  Defaults: {};
1535
1535
  }, {
1536
- style: import("vue").StyleValue;
1536
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1537
1537
  locationStrategy: "connected" | "static" | import("../../types.js").LocationStrategyFunction;
1538
1538
  location: import("../../util/index.js").Anchor;
1539
1539
  origin: "auto" | "overlap" | import("../../util/index.js").Anchor;
@@ -1710,7 +1710,7 @@ export declare const VDialog: {
1710
1710
  }> & Omit<{
1711
1711
  theme?: string | undefined;
1712
1712
  class?: any;
1713
- style: import("vue").StyleValue;
1713
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1714
1714
  $children?: {
1715
1715
  default?: ((arg: {
1716
1716
  isActive: import("vue").Ref<boolean, boolean>;
@@ -1814,7 +1814,7 @@ export declare const VDialog: {
1814
1814
  $emit: ((event: "afterEnter") => void) & ((event: "afterLeave") => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "keydown", e: KeyboardEvent) => void) & ((event: "update:modelValue", value: boolean) => void);
1815
1815
  $el: any;
1816
1816
  $options: import("vue").ComponentOptionsBase<{
1817
- style: import("vue").StyleValue;
1817
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1818
1818
  locationStrategy: "connected" | "static" | import("../../types.js").LocationStrategyFunction;
1819
1819
  location: import("../../util/index.js").Anchor;
1820
1820
  origin: "auto" | "overlap" | import("../../util/index.js").Anchor;
@@ -1992,7 +1992,7 @@ export declare const VDialog: {
1992
1992
  zIndex: string | number;
1993
1993
  _disableGlobalStack: boolean;
1994
1994
  }> & Omit<{
1995
- style: import("vue").StyleValue;
1995
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
1996
1996
  locationStrategy: "connected" | "static" | import("../../types.js").LocationStrategyFunction;
1997
1997
  location: import("../../util/index.js").Anchor;
1998
1998
  origin: "auto" | "overlap" | import("../../util/index.js").Anchor;
@@ -2193,7 +2193,7 @@ export declare const VDialog: {
2193
2193
  __isTeleport?: undefined;
2194
2194
  __isSuspense?: undefined;
2195
2195
  } & import("vue").ComponentOptionsBase<{
2196
- style: import("vue").StyleValue;
2196
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
2197
2197
  locationStrategy: "connected" | "static" | import("../../types.js").LocationStrategyFunction;
2198
2198
  location: import("../../util/index.js").Anchor;
2199
2199
  origin: "auto" | "overlap" | import("../../util/index.js").Anchor;
@@ -2370,7 +2370,7 @@ export declare const VDialog: {
2370
2370
  }> & Omit<{
2371
2371
  theme?: string | undefined;
2372
2372
  class?: any;
2373
- style: import("vue").StyleValue;
2373
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
2374
2374
  $children?: {
2375
2375
  default?: ((arg: {
2376
2376
  isActive: import("vue").Ref<boolean, boolean>;
@@ -2474,7 +2474,7 @@ export declare const VDialog: {
2474
2474
  $emit: ((event: "afterEnter") => void) & ((event: "afterLeave") => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "keydown", e: KeyboardEvent) => void) & ((event: "update:modelValue", value: boolean) => void);
2475
2475
  $el: any;
2476
2476
  $options: import("vue").ComponentOptionsBase<{
2477
- style: import("vue").StyleValue;
2477
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
2478
2478
  locationStrategy: "connected" | "static" | import("../../types.js").LocationStrategyFunction;
2479
2479
  location: import("../../util/index.js").Anchor;
2480
2480
  origin: "auto" | "overlap" | import("../../util/index.js").Anchor;
@@ -2652,7 +2652,7 @@ export declare const VDialog: {
2652
2652
  zIndex: string | number;
2653
2653
  _disableGlobalStack: boolean;
2654
2654
  }> & Omit<{
2655
- style: import("vue").StyleValue;
2655
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
2656
2656
  locationStrategy: "connected" | "static" | import("../../types.js").LocationStrategyFunction;
2657
2657
  location: import("../../util/index.js").Anchor;
2658
2658
  origin: "auto" | "overlap" | import("../../util/index.js").Anchor;
@@ -46,10 +46,11 @@ export const VDialog = genericComponent()({
46
46
  scopeId
47
47
  } = useScopeId();
48
48
  const overlay = ref();
49
- function onFocusin(e) {
49
+ async function onFocusin(e) {
50
50
  const before = e.relatedTarget;
51
51
  const after = e.target;
52
- if (before !== after && overlay.value?.contentEl &&
52
+ await nextTick();
53
+ if (isActive.value && before !== after && overlay.value?.contentEl &&
53
54
  // We're the topmost dialog
54
55
  overlay.value?.globalTop &&
55
56
  // It isn't the document or the dialog body
@@ -57,22 +58,39 @@ export const VDialog = genericComponent()({
57
58
  // It isn't inside the dialog body
58
59
  !overlay.value.contentEl.contains(after)) {
59
60
  const focusable = focusableChildren(overlay.value.contentEl);
60
- if (!focusable.length) return;
61
- const firstElement = focusable[0];
62
- const lastElement = focusable[focusable.length - 1];
63
- if (before === firstElement) {
64
- lastElement.focus();
65
- } else {
66
- firstElement.focus();
67
- }
61
+ focusable[0]?.focus();
62
+ }
63
+ }
64
+ function onKeydown(e) {
65
+ if (e.key !== 'Tab' || !overlay.value?.contentEl) return;
66
+ const focusable = focusableChildren(overlay.value.contentEl);
67
+ if (!focusable.length) return;
68
+ const firstElement = focusable[0];
69
+ const lastElement = focusable[focusable.length - 1];
70
+ const active = document.activeElement;
71
+ if (e.shiftKey && active === firstElement) {
72
+ e.preventDefault();
73
+ lastElement.focus();
74
+ } else if (!e.shiftKey && active === lastElement) {
75
+ e.preventDefault();
76
+ firstElement.focus();
68
77
  }
69
78
  }
70
79
  onBeforeUnmount(() => {
71
80
  document.removeEventListener('focusin', onFocusin);
81
+ document.removeEventListener('keydown', onKeydown);
72
82
  });
73
83
  if (IN_BROWSER) {
74
84
  watch(() => isActive.value && props.retainFocus, val => {
75
- val ? document.addEventListener('focusin', onFocusin) : document.removeEventListener('focusin', onFocusin);
85
+ if (val) {
86
+ document.addEventListener('focusin', onFocusin, {
87
+ once: true
88
+ });
89
+ document.addEventListener('keydown', onKeydown);
90
+ } else {
91
+ document.removeEventListener('focusin', onFocusin);
92
+ document.removeEventListener('keydown', onKeydown);
93
+ }
76
94
  }, {
77
95
  immediate: true
78
96
  });
@@ -1 +1 @@
1
- {"version":3,"file":"VDialog.js","names":["VDialogTransition","VDefaultsProvider","VOverlay","makeVOverlayProps","forwardRefs","useProxiedModel","useScopeId","mergeProps","nextTick","onBeforeUnmount","ref","watch","focusableChildren","genericComponent","IN_BROWSER","propsFactory","useRender","makeVDialogProps","fullscreen","Boolean","retainFocus","type","default","scrollable","origin","scrollStrategy","transition","component","zIndex","VDialog","name","props","emits","value","afterEnter","afterLeave","setup","_ref","emit","slots","isActive","scopeId","overlay","onFocusin","e","before","relatedTarget","after","target","contentEl","globalTop","document","includes","contains","focusable","length","firstElement","lastElement","focus","removeEventListener","val","addEventListener","immediate","onAfterEnter","scrim","activeElement","preventScroll","onAfterLeave","activatorEl","overlayProps","filterProps","activatorProps","contentProps","tabindex","_createVNode","_mergeProps","class","style","$event","height","undefined","width","maxHeight","maxWidth","activator","_len","arguments","args","Array","_key"],"sources":["../../../src/components/VDialog/VDialog.tsx"],"sourcesContent":["// Styles\nimport './VDialog.sass'\n\n// Components\nimport { VDialogTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\n\n// Utilities\nimport { mergeProps, nextTick, onBeforeUnmount, ref, watch } from 'vue'\nimport { focusableChildren, genericComponent, IN_BROWSER, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\n\nexport const makeVDialogProps = propsFactory({\n fullscreen: Boolean,\n retainFocus: {\n type: Boolean,\n default: true,\n },\n scrollable: Boolean,\n\n ...makeVOverlayProps({\n origin: 'center center' as const,\n scrollStrategy: 'block' as const,\n transition: { component: VDialogTransition },\n zIndex: 2400,\n }),\n}, 'VDialog')\n\nexport const VDialog = genericComponent<OverlaySlots>()({\n name: 'VDialog',\n\n props: makeVDialogProps(),\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n afterEnter: () => true,\n afterLeave: () => true,\n },\n\n setup (props, { emit, slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const overlay = ref<VOverlay>()\n function onFocusin (e: FocusEvent) {\n const before = e.relatedTarget as HTMLElement | null\n const after = e.target as HTMLElement | null\n\n if (\n before !== after &&\n overlay.value?.contentEl &&\n // We're the topmost dialog\n overlay.value?.globalTop &&\n // It isn't the document or the dialog body\n ![document, overlay.value.contentEl].includes(after!) &&\n // It isn't inside the dialog body\n !overlay.value.contentEl.contains(after)\n ) {\n const focusable = focusableChildren(overlay.value.contentEl)\n\n if (!focusable.length) return\n\n const firstElement = focusable[0]\n const lastElement = focusable[focusable.length - 1]\n\n if (before === firstElement) {\n lastElement.focus()\n } else {\n firstElement.focus()\n }\n }\n }\n\n onBeforeUnmount(() => {\n document.removeEventListener('focusin', onFocusin)\n })\n\n if (IN_BROWSER) {\n watch(() => isActive.value && props.retainFocus, val => {\n val\n ? document.addEventListener('focusin', onFocusin)\n : document.removeEventListener('focusin', onFocusin)\n }, { immediate: true })\n }\n\n function onAfterEnter () {\n emit('afterEnter')\n if (\n (props.scrim || props.retainFocus) &&\n overlay.value?.contentEl &&\n !overlay.value.contentEl.contains(document.activeElement)\n ) {\n overlay.value.contentEl.focus({ preventScroll: true })\n }\n }\n\n function onAfterLeave () {\n emit('afterLeave')\n }\n\n watch(isActive, async val => {\n if (!val) {\n await nextTick()\n overlay.value!.activatorEl?.focus({ preventScroll: true })\n }\n })\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n const activatorProps = mergeProps({\n 'aria-haspopup': 'dialog',\n }, props.activatorProps)\n const contentProps = mergeProps({\n tabindex: -1,\n }, props.contentProps)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-dialog',\n {\n 'v-dialog--fullscreen': props.fullscreen,\n 'v-dialog--scrollable': props.scrollable,\n },\n props.class,\n ]}\n style={ props.style }\n { ...overlayProps }\n v-model={ isActive.value }\n aria-modal=\"true\"\n activatorProps={ activatorProps }\n contentProps={ contentProps }\n height={ !props.fullscreen ? props.height : undefined }\n width={ !props.fullscreen ? props.width : undefined }\n maxHeight={ !props.fullscreen ? props.maxHeight : undefined }\n maxWidth={ !props.fullscreen ? props.maxWidth : undefined }\n role=\"dialog\"\n onAfterEnter={ onAfterEnter }\n onAfterLeave={ onAfterLeave }\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => (\n <VDefaultsProvider root=\"VDialog\">\n { slots.default?.(...args) }\n </VDefaultsProvider>\n ),\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VDialog = InstanceType<typeof VDialog>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,iBAAiB;AAAA,SACjBC,QAAQ;AAAA,SACRC,iBAAiB,mCAE1B;AAAA,SACSC,WAAW;AAAA,SACXC,eAAe;AAAA,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AAQ,CAACP,KAAK,GAAA6C,MAAA;QAAA;QAAA,kBAEPP,cAAc;QAAA,gBAChBC,YAAY;QAAA,UAClB,CAACzC,KAAK,CAACb,UAAU,GAAGa,KAAK,CAACgD,MAAM,GAAGC,SAAS;QAAA,SAC7C,CAACjD,KAAK,CAACb,UAAU,GAAGa,KAAK,CAACkD,KAAK,GAAGD,SAAS;QAAA,aACvC,CAACjD,KAAK,CAACb,UAAU,GAAGa,KAAK,CAACmD,SAAS,GAAGF,SAAS;QAAA,YAChD,CAACjD,KAAK,CAACb,UAAU,GAAGa,KAAK,CAACoD,QAAQ,GAAGH,SAAS;QAAA;QAAA,gBAE1CjB,YAAY;QAAA,gBACZI;MAAY,GACtB1B,OAAO;QAGV2C,SAAS,EAAE7C,KAAK,CAAC6C,SAAS;QAC1B9D,OAAO,EAAE,SAAAA,CAAA;UAAA,SAAA+D,IAAA,GAAAC,SAAA,CAAA/B,MAAA,EAAIgC,IAAI,OAAAC,KAAA,CAAAH,IAAA,GAAAI,IAAA,MAAAA,IAAA,GAAAJ,IAAA,EAAAI,IAAA;YAAJF,IAAI,CAAAE,IAAA,IAAAH,SAAA,CAAAG,IAAA;UAAA;UAAA,OAAAf,YAAA,CAAAzE,iBAAA;YAAA;UAAA;YAAAqB,OAAA,EAAAA,CAAA,MAEXiB,KAAK,CAACjB,OAAO,GAAG,GAAGiE,IAAI,CAAC;UAAA;QAAA;MAE7B;IAIT,CAAC,CAAC;IAEF,OAAOnF,WAAW,CAAC,CAAC,CAAC,EAAEsC,OAAO,CAAC;EACjC;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VDialog.js","names":["VDialogTransition","VDefaultsProvider","VOverlay","makeVOverlayProps","forwardRefs","useProxiedModel","useScopeId","mergeProps","nextTick","onBeforeUnmount","ref","watch","focusableChildren","genericComponent","IN_BROWSER","propsFactory","useRender","makeVDialogProps","fullscreen","Boolean","retainFocus","type","default","scrollable","origin","scrollStrategy","transition","component","zIndex","VDialog","name","props","emits","value","afterEnter","afterLeave","setup","_ref","emit","slots","isActive","scopeId","overlay","onFocusin","e","before","relatedTarget","after","target","contentEl","globalTop","document","includes","contains","focusable","focus","onKeydown","key","length","firstElement","lastElement","active","activeElement","shiftKey","preventDefault","removeEventListener","val","addEventListener","once","immediate","onAfterEnter","scrim","preventScroll","onAfterLeave","activatorEl","overlayProps","filterProps","activatorProps","contentProps","tabindex","_createVNode","_mergeProps","class","style","$event","height","undefined","width","maxHeight","maxWidth","activator","_len","arguments","args","Array","_key"],"sources":["../../../src/components/VDialog/VDialog.tsx"],"sourcesContent":["// Styles\nimport './VDialog.sass'\n\n// Components\nimport { VDialogTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\n\n// Utilities\nimport { mergeProps, nextTick, onBeforeUnmount, ref, watch } from 'vue'\nimport { focusableChildren, genericComponent, IN_BROWSER, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\n\nexport const makeVDialogProps = propsFactory({\n fullscreen: Boolean,\n retainFocus: {\n type: Boolean,\n default: true,\n },\n scrollable: Boolean,\n\n ...makeVOverlayProps({\n origin: 'center center' as const,\n scrollStrategy: 'block' as const,\n transition: { component: VDialogTransition },\n zIndex: 2400,\n }),\n}, 'VDialog')\n\nexport const VDialog = genericComponent<OverlaySlots>()({\n name: 'VDialog',\n\n props: makeVDialogProps(),\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n afterEnter: () => true,\n afterLeave: () => true,\n },\n\n setup (props, { emit, slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const overlay = ref<VOverlay>()\n async function onFocusin (e: FocusEvent) {\n const before = e.relatedTarget as HTMLElement | null\n const after = e.target as HTMLElement | null\n\n await nextTick()\n\n if (\n isActive.value &&\n before !== after &&\n overlay.value?.contentEl &&\n // We're the topmost dialog\n overlay.value?.globalTop &&\n // It isn't the document or the dialog body\n ![document, overlay.value.contentEl].includes(after!) &&\n // It isn't inside the dialog body\n !overlay.value.contentEl.contains(after)\n ) {\n const focusable = focusableChildren(overlay.value.contentEl)\n focusable[0]?.focus()\n }\n }\n\n function onKeydown (e: KeyboardEvent) {\n if (e.key !== 'Tab' || !overlay.value?.contentEl) return\n\n const focusable = focusableChildren(overlay.value.contentEl)\n if (!focusable.length) return\n\n const firstElement = focusable[0]\n const lastElement = focusable[focusable.length - 1]\n const active = document.activeElement as HTMLElement | null\n\n if (e.shiftKey && active === firstElement) {\n e.preventDefault()\n lastElement.focus()\n } else if (!e.shiftKey && active === lastElement) {\n e.preventDefault()\n firstElement.focus()\n }\n }\n\n onBeforeUnmount(() => {\n document.removeEventListener('focusin', onFocusin)\n document.removeEventListener('keydown', onKeydown)\n })\n\n if (IN_BROWSER) {\n watch(() => isActive.value && props.retainFocus, val => {\n if (val) {\n document.addEventListener('focusin', onFocusin, { once: true })\n document.addEventListener('keydown', onKeydown)\n } else {\n document.removeEventListener('focusin', onFocusin)\n document.removeEventListener('keydown', onKeydown)\n }\n }, { immediate: true })\n }\n\n function onAfterEnter () {\n emit('afterEnter')\n if (\n (props.scrim || props.retainFocus) &&\n overlay.value?.contentEl &&\n !overlay.value.contentEl.contains(document.activeElement)\n ) {\n overlay.value.contentEl.focus({ preventScroll: true })\n }\n }\n\n function onAfterLeave () {\n emit('afterLeave')\n }\n\n watch(isActive, async val => {\n if (!val) {\n await nextTick()\n overlay.value!.activatorEl?.focus({ preventScroll: true })\n }\n })\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n const activatorProps = mergeProps({\n 'aria-haspopup': 'dialog',\n }, props.activatorProps)\n const contentProps = mergeProps({\n tabindex: -1,\n }, props.contentProps)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-dialog',\n {\n 'v-dialog--fullscreen': props.fullscreen,\n 'v-dialog--scrollable': props.scrollable,\n },\n props.class,\n ]}\n style={ props.style }\n { ...overlayProps }\n v-model={ isActive.value }\n aria-modal=\"true\"\n activatorProps={ activatorProps }\n contentProps={ contentProps }\n height={ !props.fullscreen ? props.height : undefined }\n width={ !props.fullscreen ? props.width : undefined }\n maxHeight={ !props.fullscreen ? props.maxHeight : undefined }\n maxWidth={ !props.fullscreen ? props.maxWidth : undefined }\n role=\"dialog\"\n onAfterEnter={ onAfterEnter }\n onAfterLeave={ onAfterLeave }\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => (\n <VDefaultsProvider root=\"VDialog\">\n { slots.default?.(...args) }\n </VDefaultsProvider>\n ),\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VDialog = InstanceType<typeof VDialog>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,iBAAiB;AAAA,SACjBC,QAAQ;AAAA,SACRC,iBAAiB,mCAE1B;AAAA,SACSC,WAAW;AAAA,SACXC,eAAe;AAAA,SACfC,UAAU,wCAEnB;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,eAAe,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC9DC,iBAAiB,EAAEC,gBAAgB,EAAEC,UAAU,EAAEC,YAAY,EAAEC,SAAS,+BAEjF;AAGA,OAAO,MAAMC,gBAAgB,GAAGF,YAAY,CAAC;EAC3CG,UAAU,EAAEC,OAAO;EACnBC,WAAW,EAAE;IACXC,IAAI,EAAEF,OAAO;IACbG,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAEJ,OAAO;EAEnB,GAAGhB,iBAAiB,CAAC;IACnBqB,MAAM,EAAE,eAAwB;IAChCC,cAAc,EAAE,OAAgB;IAChCC,UAAU,EAAE;MAAEC,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CAAC;IAEF,OAAOzF,WAAW,CAAC,CAAC,CAAC,EAAEsC,OAAO,CAAC;EACjC;AACF,CAAC,CAAC","ignoreList":[]}
@@ -46,5 +46,46 @@ describe('VDialog', () => {
46
46
  await userEvent.click(element);
47
47
  await expect.poll(() => onAfterLeave).toHaveBeenCalledTimes(1);
48
48
  });
49
+ it('should focus on the last element when shift + tab key is pressed on the first element', async () => {
50
+ const model = ref(true);
51
+ render(() => _createElementVNode("div", null, [_createVNode(VDialog, {
52
+ "modelValue": model.value,
53
+ "onUpdate:modelValue": $event => model.value = $event,
54
+ "persistent": true
55
+ }, {
56
+ default: () => [_createElementVNode("div", null, [_createElementVNode("button", {
57
+ "data-testid": "first"
58
+ }, [_createTextVNode("First")]), _createElementVNode("button", {
59
+ "data-testid": "last"
60
+ }, [_createTextVNode("Last")])])]
61
+ })]));
62
+ const first = screen.getByCSS('button[data-testid="first"]');
63
+ const last = screen.getByCSS('button[data-testid="last"]');
64
+ first.focus();
65
+ await expect.poll(() => document.activeElement).toBe(first);
66
+ await userEvent.tab({
67
+ shift: true
68
+ });
69
+ await expect.poll(() => document.activeElement).toBe(last);
70
+ });
71
+ it('should focus on the first element when Tab key is pressed on the last element', async () => {
72
+ const model = ref(true);
73
+ render(() => _createElementVNode("div", null, [_createVNode(VDialog, {
74
+ "modelValue": model.value,
75
+ "onUpdate:modelValue": $event => model.value = $event
76
+ }, {
77
+ default: () => [_createElementVNode("div", null, [_createElementVNode("button", {
78
+ "data-testid": "first"
79
+ }, [_createTextVNode("First")]), _createElementVNode("button", {
80
+ "data-testid": "last"
81
+ }, [_createTextVNode("Last")])])]
82
+ })]));
83
+ const first = screen.getByCSS('button[data-testid="first"]');
84
+ const last = screen.getByCSS('button[data-testid="last"]');
85
+ last.focus();
86
+ await expect.poll(() => document.activeElement).toBe(last);
87
+ await userEvent.tab();
88
+ await expect.poll(() => document.activeElement).toBe(first);
89
+ });
49
90
  });
50
91
  //# sourceMappingURL=VDialog.spec.browser.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VDialog.spec.browser.js","names":["VDialog","render","screen","userEvent","nextTick","ref","describe","it","model","element","_createElementVNode","_createVNode","value","$event","default","_createTextVNode","expect","queryByTestId","toBeNull","findByTestId","resolves","toBeVisible","click","poll","toBeFalsy","onAfterLeave","vi","fn","toHaveBeenCalledTimes"],"sources":["../../../../src/components/VDialog/__test__/VDialog.spec.browser.tsx"],"sourcesContent":["// Components\nimport { VDialog } from '../VDialog'\n\n// Utilities\nimport { render, screen, userEvent } from '@test'\nimport { nextTick, ref } from 'vue'\n\n// Tests\ndescribe('VDialog', () => {\n it('should render correctly', async () => {\n const model = ref(false)\n const { element } = render(() => (\n <div>\n <VDialog v-model={ model.value } data-testid=\"dialog\">\n <div data-testid=\"content\">Content</div>\n </VDialog>\n </div>\n ))\n\n expect(screen.queryByTestId('dialog')).toBeNull()\n\n model.value = true\n await nextTick()\n await expect(screen.findByTestId('dialog')).resolves.toBeVisible()\n await expect.element(await screen.findByTestId('content')).toBeVisible()\n\n await userEvent.click(element)\n await expect.poll(() => model.value).toBeFalsy()\n await expect.poll(() => screen.queryByTestId('dialog')).toBeNull()\n await expect.poll(() => screen.queryByTestId('content')).toBeNull()\n })\n\n it('should emit afterLeave', async () => {\n const model = ref(true)\n const onAfterLeave = vi.fn()\n const { element } = render(() => (\n <div>\n <VDialog v-model={ model.value } onAfterLeave={ onAfterLeave }>\n <div data-test=\"content\">Content</div>\n </VDialog>\n </div>\n ))\n\n await userEvent.click(element)\n await expect.poll(() => onAfterLeave).toHaveBeenCalledTimes(1)\n })\n})\n"],"mappings":";AAAA;AAAA,SACSA,OAAO,yBAEhB;AACA,SAASC,MAAM,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AACjD,SAASC,QAAQ,EAAEC,GAAG,QAAQ,KAAK;;AAEnC;AACAC,QAAQ,CAAC,SAAS,EAAE,MAAM;EACxBC,EAAE,CAAC,yBAAyB,EAAE,YAAY;IACxC,MAAMC,KAAK,GAA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B,MAAM;MAAElB;IAAQ,CAAC,GAAGR,MAAM,CAAC,MAAAS,mBAAA,eAAAC,YAAA,CAAAX,OAAA;MAAA,cAEJQ,KAAK,CAACI,KAAK;MAAA,uBAAAC,MAAA,IAAXL,KAAK,CAACI,KAAK,GAAAC,MAAA;MAAA,gBAAkBY;IAAY;MAAAX,OAAA,EAAAA,CAAA,MAAAJ,mBAAA;QAAA;MAAA,IAAAK,gBAAA;IAAA,IAI/D,CAAC;IAEF,MAAMZ,SAAS,CAACmB,KAAK,CAACb,OAAO,CAAC;IAC9B,MAAMO,MAAM,CAACO,IAAI,CAAC,MAAME,YAAY,CAAC,CAACG,qBAAqB,CAAC,CAAC,CAAC;EAChE,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VDialog.spec.browser.js","names":["VDialog","render","screen","userEvent","nextTick","ref","describe","it","model","element","_createElementVNode","_createVNode","value","$event","default","_createTextVNode","expect","queryByTestId","toBeNull","findByTestId","resolves","toBeVisible","click","poll","toBeFalsy","onAfterLeave","vi","fn","toHaveBeenCalledTimes","first","getByCSS","last","focus","document","activeElement","toBe","tab","shift"],"sources":["../../../../src/components/VDialog/__test__/VDialog.spec.browser.tsx"],"sourcesContent":["// Components\nimport { VDialog } from '../VDialog'\n\n// Utilities\nimport { render, screen, userEvent } from '@test'\nimport { nextTick, ref } from 'vue'\n\n// Tests\ndescribe('VDialog', () => {\n it('should render correctly', async () => {\n const model = ref(false)\n const { element } = render(() => (\n <div>\n <VDialog v-model={ model.value } data-testid=\"dialog\">\n <div data-testid=\"content\">Content</div>\n </VDialog>\n </div>\n ))\n\n expect(screen.queryByTestId('dialog')).toBeNull()\n\n model.value = true\n await nextTick()\n await expect(screen.findByTestId('dialog')).resolves.toBeVisible()\n await expect.element(await screen.findByTestId('content')).toBeVisible()\n\n await userEvent.click(element)\n await expect.poll(() => model.value).toBeFalsy()\n await expect.poll(() => screen.queryByTestId('dialog')).toBeNull()\n await expect.poll(() => screen.queryByTestId('content')).toBeNull()\n })\n\n it('should emit afterLeave', async () => {\n const model = ref(true)\n const onAfterLeave = vi.fn()\n const { element } = render(() => (\n <div>\n <VDialog v-model={ model.value } onAfterLeave={ onAfterLeave }>\n <div data-test=\"content\">Content</div>\n </VDialog>\n </div>\n ))\n\n await userEvent.click(element)\n await expect.poll(() => onAfterLeave).toHaveBeenCalledTimes(1)\n })\n\n it('should focus on the last element when shift + tab key is pressed on the first element', async () => {\n const model = ref(true)\n render(() => (\n <div>\n <VDialog v-model={ model.value } persistent>\n <div>\n <button data-testid=\"first\">First</button>\n <button data-testid=\"last\">Last</button>\n </div>\n </VDialog>\n </div>\n ))\n const first = screen.getByCSS('button[data-testid=\"first\"]')\n const last = screen.getByCSS('button[data-testid=\"last\"]')\n\n first.focus()\n await expect.poll(() => document.activeElement).toBe(first)\n\n await userEvent.tab({ shift: true })\n await expect.poll(() => document.activeElement).toBe(last)\n })\n\n it('should focus on the first element when Tab key is pressed on the last element', async () => {\n const model = ref(true)\n render(() => (\n <div>\n <VDialog v-model={ model.value }>\n <div>\n <button data-testid=\"first\">First</button>\n <button data-testid=\"last\">Last</button>\n </div>\n </VDialog>\n </div>\n ))\n const first = screen.getByCSS('button[data-testid=\"first\"]')\n const last = screen.getByCSS('button[data-testid=\"last\"]')\n\n last.focus()\n await expect.poll(() => document.activeElement).toBe(last)\n\n await userEvent.tab()\n await expect.poll(() => document.activeElement).toBe(first)\n })\n})\n"],"mappings":";AAAA;AAAA,SACSA,OAAO,yBAEhB;AACA,SAASC,MAAM,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AACjD,SAASC,QAAQ,EAAEC,GAAG,QAAQ,KAAK;;AAEnC;AACAC,QAAQ,CAAC,SAAS,EAAE,MAAM;EACxBC,EAAE,CAAC,yBAAyB,EAAE,YAAY;IACxC,MAAMC,KAAK,GAAGH,GAAG,CAAC,KAAK,CAAC;IACxB,MAAM;MAAEI;IAAQ,CAAC,GAAGR,MAAM,CAAC,MA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,CAAC,CAAC;EAEFxB,EAAE,CAAC,+EAA+E,EAAE,YAAY;IAC9F,MAAMC,KAAK,GAAGH,GAAG,CAAC,IAAI,CAAC;IACvBJ,MAAM,CAAC,MAAAS,mBAAA,eAAAC,YAAA,CAAAX,OAAA;MAAA,cAEgBQ,KAAK,CAACI,KAAK;MAAA,uBAAAC,MAAA,IAAXL,KAAK,CAACI,KAAK,GAAAC;IAAA;MAAAC,OAAA,EAAAA,CAAA,MAAAJ,mBAAA,eAAAA,mBAAA;QAAA;MAAA,IAAAK,gBAAA,aAAAL,mBAAA;QAAA;MAAA,IAAAK,gBAAA;IAAA,IAOjC,CAAC;IACF,MAAMc,KAAK,GAAG3B,MAAM,CAAC4B,QAAQ,CAAC,6BAA6B,CAAC;IAC5D,MAAMC,IAAI,GAAG7B,MAAM,CAAC4B,QAAQ,CAAC,4BAA4B,CAAC;IAE1DC,IAAI,CAACC,KAAK,CAAC,CAAC;IACZ,MAAMhB,MAAM,CAACO,IAAI,CAAC,MAAMU,QAAQ,CAACC,aAAa,CAAC,CAACC,IAAI,CAACJ,IAAI,CAAC;IAE1D,MAAM5B,SAAS,CAACiC,GAAG,CAAC,CAAC;IACrB,MAAMpB,MAAM,CAACO,IAAI,CAAC,MAAMU,QAAQ,CAACC,aAAa,CAAC,CAACC,IAAI,CAACN,KAAK,CAAC;EAC7D,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -56,7 +56,7 @@ export declare const makeVDividerProps: <Defaults extends {
56
56
  };
57
57
  export declare const VDivider: {
58
58
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
59
- style: import("vue").StyleValue;
59
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
60
60
  inset: boolean;
61
61
  vertical: boolean;
62
62
  } & {
@@ -93,7 +93,7 @@ export declare const VDivider: {
93
93
  M: {};
94
94
  Defaults: {};
95
95
  }, {
96
- style: import("vue").StyleValue;
96
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
97
97
  inset: boolean;
98
98
  vertical: boolean;
99
99
  } & {
@@ -123,7 +123,7 @@ export declare const VDivider: {
123
123
  __isTeleport?: undefined;
124
124
  __isSuspense?: undefined;
125
125
  } & import("vue").ComponentOptionsBase<{
126
- style: import("vue").StyleValue;
126
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
127
127
  inset: boolean;
128
128
  vertical: boolean;
129
129
  } & {
@@ -161,8 +161,8 @@ export declare const makeVEmptyStateProps: <Defaults extends {
161
161
  };
162
162
  export declare const VEmptyState: {
163
163
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
164
- style: import("vue").StyleValue;
165
- size: string | number | undefined;
164
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
165
+ size: string | number;
166
166
  justify: "center" | "end" | "start";
167
167
  textWidth: string | number;
168
168
  } & {
@@ -262,8 +262,8 @@ export declare const VEmptyState: {
262
262
  M: {};
263
263
  Defaults: {};
264
264
  }, {
265
- style: import("vue").StyleValue;
266
- size: string | number | undefined;
265
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
266
+ size: string | number;
267
267
  justify: "center" | "end" | "start";
268
268
  textWidth: string | number;
269
269
  } & {
@@ -335,8 +335,8 @@ export declare const VEmptyState: {
335
335
  __isTeleport?: undefined;
336
336
  __isSuspense?: undefined;
337
337
  } & import("vue").ComponentOptionsBase<{
338
- style: import("vue").StyleValue;
339
- size: string | number | undefined;
338
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
339
+ size: string | number;
340
340
  justify: "center" | "end" | "start";
341
341
  textWidth: string | number;
342
342
  } & {
@@ -203,7 +203,7 @@ export type VExpansionPanelSlots = {
203
203
  };
204
204
  export declare const VExpansionPanel: {
205
205
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
206
- style: import("vue").StyleValue;
206
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
207
207
  tile: boolean;
208
208
  tag: string | import("../../util/index.js").JSXComponent;
209
209
  disabled: boolean;
@@ -216,7 +216,7 @@ export declare const VExpansionPanel: {
216
216
  ripple: boolean | {
217
217
  class?: string | undefined;
218
218
  keys?: string[] | undefined;
219
- } | undefined;
219
+ };
220
220
  readonly: boolean;
221
221
  } & {
222
222
  class?: any;
@@ -296,7 +296,7 @@ export declare const VExpansionPanel: {
296
296
  M: {};
297
297
  Defaults: {};
298
298
  }, {
299
- style: import("vue").StyleValue;
299
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
300
300
  tile: boolean;
301
301
  tag: string | import("../../util/index.js").JSXComponent;
302
302
  disabled: boolean;
@@ -309,7 +309,7 @@ export declare const VExpansionPanel: {
309
309
  ripple: boolean | {
310
310
  class?: string | undefined;
311
311
  keys?: string[] | undefined;
312
- } | undefined;
312
+ };
313
313
  readonly: boolean;
314
314
  } & {
315
315
  class?: any;
@@ -372,7 +372,7 @@ export declare const VExpansionPanel: {
372
372
  __isTeleport?: undefined;
373
373
  __isSuspense?: undefined;
374
374
  } & import("vue").ComponentOptionsBase<{
375
- style: import("vue").StyleValue;
375
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
376
376
  tile: boolean;
377
377
  tag: string | import("../../util/index.js").JSXComponent;
378
378
  disabled: boolean;
@@ -385,7 +385,7 @@ export declare const VExpansionPanel: {
385
385
  ripple: boolean | {
386
386
  class?: string | undefined;
387
387
  keys?: string[] | undefined;
388
- } | undefined;
388
+ };
389
389
  readonly: boolean;
390
390
  } & {
391
391
  class?: any;
@@ -24,7 +24,7 @@ export declare const makeVExpansionPanelTextProps: <Defaults extends {
24
24
  };
25
25
  export declare const VExpansionPanelText: {
26
26
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
27
- style: import("vue").StyleValue;
27
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
28
28
  eager: boolean;
29
29
  } & {
30
30
  class?: any;
@@ -54,7 +54,7 @@ export declare const VExpansionPanelText: {
54
54
  M: {};
55
55
  Defaults: {};
56
56
  }, {
57
- style: import("vue").StyleValue;
57
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
58
58
  eager: boolean;
59
59
  } & {
60
60
  class?: any;
@@ -77,7 +77,7 @@ export declare const VExpansionPanelText: {
77
77
  __isTeleport?: undefined;
78
78
  __isSuspense?: undefined;
79
79
  } & import("vue").ComponentOptionsBase<{
80
- style: import("vue").StyleValue;
80
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
81
81
  eager: boolean;
82
82
  } & {
83
83
  class?: any;
@@ -139,7 +139,7 @@ export declare const makeVExpansionPanelTitleProps: <Defaults extends {
139
139
  };
140
140
  export declare const VExpansionPanelTitle: {
141
141
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
142
- style: import("vue").StyleValue;
142
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
143
143
  expandIcon: IconValue;
144
144
  collapseIcon: IconValue;
145
145
  hideActions: boolean;
@@ -148,7 +148,7 @@ export declare const VExpansionPanelTitle: {
148
148
  ripple: boolean | {
149
149
  class?: string | undefined;
150
150
  keys?: string[] | undefined;
151
- } | undefined;
151
+ };
152
152
  readonly: boolean;
153
153
  } & {
154
154
  class?: any;
@@ -200,7 +200,7 @@ export declare const VExpansionPanelTitle: {
200
200
  M: {};
201
201
  Defaults: {};
202
202
  }, {
203
- style: import("vue").StyleValue;
203
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
204
204
  expandIcon: IconValue;
205
205
  collapseIcon: IconValue;
206
206
  hideActions: boolean;
@@ -209,7 +209,7 @@ export declare const VExpansionPanelTitle: {
209
209
  ripple: boolean | {
210
210
  class?: string | undefined;
211
211
  keys?: string[] | undefined;
212
- } | undefined;
212
+ };
213
213
  readonly: boolean;
214
214
  } & {
215
215
  class?: any;
@@ -251,7 +251,7 @@ export declare const VExpansionPanelTitle: {
251
251
  __isTeleport?: undefined;
252
252
  __isSuspense?: undefined;
253
253
  } & import("vue").ComponentOptionsBase<{
254
- style: import("vue").StyleValue;
254
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
255
255
  expandIcon: IconValue;
256
256
  collapseIcon: IconValue;
257
257
  hideActions: boolean;
@@ -260,7 +260,7 @@ export declare const VExpansionPanelTitle: {
260
260
  ripple: boolean | {
261
261
  class?: string | undefined;
262
262
  keys?: string[] | undefined;
263
- } | undefined;
263
+ };
264
264
  readonly: boolean;
265
265
  } & {
266
266
  class?: any;
@@ -213,7 +213,7 @@ export declare const makeVExpansionPanelsProps: <Defaults extends {
213
213
  };
214
214
  export declare const VExpansionPanels: {
215
215
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
216
- style: import("vue").StyleValue;
216
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
217
217
  tile: boolean;
218
218
  tag: string | import("../../util/index.js").JSXComponent;
219
219
  multiple: boolean;
@@ -227,7 +227,7 @@ export declare const VExpansionPanels: {
227
227
  ripple: boolean | {
228
228
  class?: string | undefined;
229
229
  keys?: string[] | undefined;
230
- } | undefined;
230
+ };
231
231
  readonly: boolean;
232
232
  flat: boolean;
233
233
  variant: "accordion" | "default" | "inset" | "popout";
@@ -293,7 +293,7 @@ export declare const VExpansionPanels: {
293
293
  M: {};
294
294
  Defaults: {};
295
295
  }, {
296
- style: import("vue").StyleValue;
296
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
297
297
  tile: boolean;
298
298
  tag: string | import("../../util/index.js").JSXComponent;
299
299
  multiple: boolean;
@@ -307,7 +307,7 @@ export declare const VExpansionPanels: {
307
307
  ripple: boolean | {
308
308
  class?: string | undefined;
309
309
  keys?: string[] | undefined;
310
- } | undefined;
310
+ };
311
311
  readonly: boolean;
312
312
  flat: boolean;
313
313
  variant: "accordion" | "default" | "inset" | "popout";
@@ -364,7 +364,7 @@ export declare const VExpansionPanels: {
364
364
  __isTeleport?: undefined;
365
365
  __isSuspense?: undefined;
366
366
  } & import("vue").ComponentOptionsBase<{
367
- style: import("vue").StyleValue;
367
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
368
368
  tile: boolean;
369
369
  tag: string | import("../../util/index.js").JSXComponent;
370
370
  multiple: boolean;
@@ -378,7 +378,7 @@ export declare const VExpansionPanels: {
378
378
  ripple: boolean | {
379
379
  class?: string | undefined;
380
380
  keys?: string[] | undefined;
381
- } | undefined;
381
+ };
382
382
  readonly: boolean;
383
383
  flat: boolean;
384
384
  variant: "accordion" | "default" | "inset" | "popout";
@@ -415,7 +415,7 @@ export declare const makeVFabProps: <Defaults extends {
415
415
  };
416
416
  export declare const VFab: {
417
417
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<{
418
- style: import("vue").StyleValue;
418
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
419
419
  order: string | number;
420
420
  absolute: boolean;
421
421
  density: import("../../composables/density.js").Density;
@@ -436,7 +436,7 @@ export declare const VFab: {
436
436
  ripple: boolean | {
437
437
  class?: string | undefined;
438
438
  keys?: string[] | undefined;
439
- } | undefined;
439
+ };
440
440
  transition: string | boolean | (import("vue").TransitionProps & {
441
441
  component?: import("vue").Component | undefined;
442
442
  }) | null;
@@ -534,7 +534,7 @@ export declare const VFab: {
534
534
  M: {};
535
535
  Defaults: {};
536
536
  }, {
537
- style: import("vue").StyleValue;
537
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
538
538
  order: string | number;
539
539
  absolute: boolean;
540
540
  density: import("../../composables/density.js").Density;
@@ -555,7 +555,7 @@ export declare const VFab: {
555
555
  ripple: boolean | {
556
556
  class?: string | undefined;
557
557
  keys?: string[] | undefined;
558
- } | undefined;
558
+ };
559
559
  transition: string | boolean | (import("vue").TransitionProps & {
560
560
  component?: import("vue").Component | undefined;
561
561
  }) | null;
@@ -644,7 +644,7 @@ export declare const VFab: {
644
644
  __isTeleport?: undefined;
645
645
  __isSuspense?: undefined;
646
646
  } & import("vue").ComponentOptionsBase<{
647
- style: import("vue").StyleValue;
647
+ style: string | false | import("vue").StyleValue[] | import("vue").CSSProperties | null;
648
648
  order: string | number;
649
649
  absolute: boolean;
650
650
  density: import("../../composables/density.js").Density;
@@ -665,7 +665,7 @@ export declare const VFab: {
665
665
  ripple: boolean | {
666
666
  class?: string | undefined;
667
667
  keys?: string[] | undefined;
668
- } | undefined;
668
+ };
669
669
  transition: string | boolean | (import("vue").TransitionProps & {
670
670
  component?: import("vue").Component | undefined;
671
671
  }) | null;