bt-core-app 2.2.8 → 2.2.10

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 (298) hide show
  1. package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +45 -70
  2. package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +40 -73
  3. package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +4 -12
  4. package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +6 -13
  5. package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +28 -408
  6. package/dist/components/BT-Assistant-Menu.vue.mjs +407 -420
  7. package/dist/components/BT-Avatar.vue.mjs +31 -31
  8. package/dist/components/BT-Background-Task.vue.mjs +52 -52
  9. package/dist/components/BT-Blade-Item.vue.mjs +100 -110
  10. package/dist/components/BT-Blade-Items.vue.mjs +1 -1
  11. package/dist/components/BT-Blade-Items.vue2.mjs +399 -411
  12. package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
  13. package/dist/components/BT-Blade-Steps.vue2.mjs +626 -641
  14. package/dist/components/BT-Blade.vue.mjs +192 -201
  15. package/dist/components/BT-Btn.vue.mjs +25 -23
  16. package/dist/components/BT-Camera-Overlay.vue.mjs +142 -144
  17. package/dist/components/BT-Col.vue.mjs +19 -17
  18. package/dist/components/BT-Color-Picker-Menu.vue.mjs +49 -51
  19. package/dist/components/BT-Cosmetics-Menu.vue.mjs +173 -180
  20. package/dist/components/BT-Cron.vue.mjs +249 -264
  21. package/dist/components/BT-Date-Select.vue.mjs +47 -47
  22. package/dist/components/BT-Date.vue.d.ts +0 -1
  23. package/dist/components/BT-Date.vue.mjs +8 -9
  24. package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
  25. package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
  26. package/dist/components/BT-Dialog-Date.vue.mjs +19 -22
  27. package/dist/components/BT-Dialog-Number.vue.mjs +121 -125
  28. package/dist/components/BT-Dialog-Select.vue.mjs +85 -96
  29. package/dist/components/BT-Divider.vue.mjs +21 -20
  30. package/dist/components/BT-Drag-Counter.vue.mjs +1 -1
  31. package/dist/components/BT-Drag-Counter.vue2.mjs +89 -89
  32. package/dist/components/BT-Entity.vue.mjs +82 -82
  33. package/dist/components/BT-Error.vue.mjs +27 -26
  34. package/dist/components/BT-Field-Checkbox.vue.mjs +31 -30
  35. package/dist/components/BT-Field-Date.vue.d.ts +0 -1
  36. package/dist/components/BT-Field-Date.vue.mjs +84 -88
  37. package/dist/components/BT-Field-Entity.vue.mjs +16 -20
  38. package/dist/components/BT-Field-Select-Simple.vue.mjs +26 -24
  39. package/dist/components/BT-Field-Select.vue.mjs +34 -32
  40. package/dist/components/BT-Field-String.vue.mjs +52 -54
  41. package/dist/components/BT-Field-Switch.vue.mjs +43 -44
  42. package/dist/components/BT-Field-Tags.vue.mjs +55 -57
  43. package/dist/components/BT-Field-Textarea.vue.mjs +43 -44
  44. package/dist/components/BT-Field-Trigger.vue.mjs +270 -276
  45. package/dist/components/BT-Field.vue.mjs +38 -39
  46. package/dist/components/BT-Form-Builder.vue.mjs +325 -346
  47. package/dist/components/BT-Form-Field.vue.mjs +81 -88
  48. package/dist/components/BT-Form.vue.mjs +269 -280
  49. package/dist/components/BT-Header-Option.vue.mjs +19 -21
  50. package/dist/components/BT-Image-Select.vue.mjs +177 -186
  51. package/dist/components/BT-Json.vue.mjs +30 -29
  52. package/dist/components/BT-Loader.vue.mjs +31 -32
  53. package/dist/components/BT-Nav-Sidebar.vue.mjs +124 -130
  54. package/dist/components/BT-Number.vue.mjs +1 -1
  55. package/dist/components/BT-Number.vue2.mjs +19 -17
  56. package/dist/components/BT-Numpad.vue.mjs +144 -147
  57. package/dist/components/BT-Select-List-Box.vue.mjs +276 -287
  58. package/dist/components/BT-Select-Simple.vue.mjs +23 -21
  59. package/dist/components/BT-Select.vue.mjs +37 -36
  60. package/dist/components/BT-Signature-Overlay.vue.mjs +112 -113
  61. package/dist/components/BT-Signature.vue.mjs +96 -96
  62. package/dist/components/BT-Slider.vue.mjs +103 -109
  63. package/dist/components/BT-Square-Check.vue.mjs +65 -65
  64. package/dist/components/BT-Status-Item.vue.mjs +16 -18
  65. package/dist/components/BT-Tags.vue.mjs +22 -21
  66. package/dist/components/BT-Tour.vue.mjs +65 -69
  67. package/dist/style.css +1 -1
  68. package/package.json +1 -1
  69. package/dist/_virtual/VAlert.sass.mjs +0 -1
  70. package/dist/_virtual/VAvatar.sass.mjs +0 -1
  71. package/dist/_virtual/VBtn.sass.mjs +0 -1
  72. package/dist/_virtual/VBtnGroup.sass.mjs +0 -1
  73. package/dist/_virtual/VBtnToggle.sass.mjs +0 -1
  74. package/dist/_virtual/VCard.sass.mjs +0 -1
  75. package/dist/_virtual/VCheckbox.sass.mjs +0 -1
  76. package/dist/_virtual/VChip.sass.mjs +0 -1
  77. package/dist/_virtual/VChipGroup.sass.mjs +0 -1
  78. package/dist/_virtual/VColorPicker.sass.mjs +0 -1
  79. package/dist/_virtual/VColorPickerCanvas.sass.mjs +0 -1
  80. package/dist/_virtual/VColorPickerEdit.sass.mjs +0 -1
  81. package/dist/_virtual/VColorPickerPreview.sass.mjs +0 -1
  82. package/dist/_virtual/VColorPickerSwatches.sass.mjs +0 -1
  83. package/dist/_virtual/VCombobox.sass.mjs +0 -1
  84. package/dist/_virtual/VContainer.sass.mjs +0 -1
  85. package/dist/_virtual/VCounter.sass.mjs +0 -1
  86. package/dist/_virtual/VDialog.sass.mjs +0 -1
  87. package/dist/_virtual/VDivider.sass.mjs +0 -1
  88. package/dist/_virtual/VField.sass.mjs +0 -1
  89. package/dist/_virtual/VGrid.sass.mjs +0 -1
  90. package/dist/_virtual/VIcon.sass.mjs +0 -1
  91. package/dist/_virtual/VImg.sass.mjs +0 -1
  92. package/dist/_virtual/VInput.sass.mjs +0 -1
  93. package/dist/_virtual/VLabel.sass.mjs +0 -1
  94. package/dist/_virtual/VList.sass.mjs +0 -1
  95. package/dist/_virtual/VListItem.sass.mjs +0 -1
  96. package/dist/_virtual/VMenu.sass.mjs +0 -1
  97. package/dist/_virtual/VMessages.sass.mjs +0 -1
  98. package/dist/_virtual/VNavigationDrawer.sass.mjs +0 -1
  99. package/dist/_virtual/VOverlay.sass.mjs +0 -1
  100. package/dist/_virtual/VPagination.sass.mjs +0 -1
  101. package/dist/_virtual/VPicker.sass.mjs +0 -1
  102. package/dist/_virtual/VProgressCircular.sass.mjs +0 -1
  103. package/dist/_virtual/VProgressLinear.sass.mjs +0 -1
  104. package/dist/_virtual/VRating.sass.mjs +0 -1
  105. package/dist/_virtual/VResponsive.sass.mjs +0 -1
  106. package/dist/_virtual/VRipple.sass.mjs +0 -1
  107. package/dist/_virtual/VSelect.sass.mjs +0 -1
  108. package/dist/_virtual/VSelectionControl.sass.mjs +0 -1
  109. package/dist/_virtual/VSelectionControlGroup.sass.mjs +0 -1
  110. package/dist/_virtual/VSheet.sass.mjs +0 -1
  111. package/dist/_virtual/VSlideGroup.sass.mjs +0 -1
  112. package/dist/_virtual/VSlider.sass.mjs +0 -1
  113. package/dist/_virtual/VSliderThumb.sass.mjs +0 -1
  114. package/dist/_virtual/VSliderTrack.sass.mjs +0 -1
  115. package/dist/_virtual/VSpacer.sass.mjs +0 -1
  116. package/dist/_virtual/VSwitch.sass.mjs +0 -1
  117. package/dist/_virtual/VTab.sass.mjs +0 -1
  118. package/dist/_virtual/VTable.sass.mjs +0 -1
  119. package/dist/_virtual/VTabs.sass.mjs +0 -1
  120. package/dist/_virtual/VTextField.sass.mjs +0 -1
  121. package/dist/_virtual/VTextarea.sass.mjs +0 -1
  122. package/dist/_virtual/VToolbar.sass.mjs +0 -1
  123. package/dist/_virtual/VVirtualScroll.sass.mjs +0 -1
  124. package/dist/_virtual/VWindow.sass.mjs +0 -1
  125. package/dist/bt-core/core/node_modules/@vuepic/vue-datepicker/dist/main.css.mjs +0 -1
  126. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +0 -196
  127. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +0 -5
  128. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +0 -92
  129. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +0 -220
  130. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +0 -68
  131. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +0 -57
  132. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +0 -180
  133. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +0 -32
  134. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +0 -118
  135. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +0 -29
  136. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +0 -29
  137. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +0 -5
  138. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +0 -74
  139. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +0 -53
  140. package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +0 -263
  141. package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +0 -87
  142. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +0 -161
  143. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +0 -166
  144. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +0 -97
  145. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +0 -123
  146. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +0 -72
  147. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +0 -193
  148. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +0 -501
  149. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +0 -51
  150. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +0 -39
  151. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +0 -103
  152. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +0 -82
  153. package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +0 -295
  154. package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +0 -28
  155. package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +0 -53
  156. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +0 -98
  157. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +0 -41
  158. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +0 -104
  159. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +0 -6
  160. package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +0 -41
  161. package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +0 -77
  162. package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +0 -248
  163. package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +0 -40
  164. package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +0 -154
  165. package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +0 -36
  166. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +0 -281
  167. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +0 -104
  168. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +0 -129
  169. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +0 -312
  170. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +0 -29
  171. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +0 -5
  172. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +0 -50
  173. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +0 -38
  174. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +0 -132
  175. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +0 -4
  176. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +0 -55
  177. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +0 -247
  178. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +0 -44
  179. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +0 -100
  180. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +0 -291
  181. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +0 -292
  182. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +0 -15
  183. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +0 -91
  184. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +0 -179
  185. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +0 -42
  186. package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +0 -315
  187. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +0 -129
  188. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +0 -195
  189. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +0 -53
  190. package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +0 -217
  191. package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +0 -56
  192. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +0 -475
  193. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +0 -57
  194. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +0 -183
  195. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +0 -106
  196. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +0 -61
  197. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +0 -287
  198. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +0 -54
  199. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +0 -159
  200. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +0 -176
  201. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +0 -109
  202. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +0 -242
  203. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +0 -172
  204. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +0 -66
  205. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +0 -126
  206. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +0 -153
  207. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +0 -48
  208. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +0 -29
  209. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +0 -4
  210. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +0 -204
  211. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +0 -258
  212. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +0 -167
  213. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +0 -38
  214. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +0 -37
  215. package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +0 -106
  216. package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +0 -47
  217. package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +0 -211
  218. package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +0 -93
  219. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +0 -113
  220. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +0 -136
  221. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +0 -52
  222. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +0 -22
  223. package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +0 -21
  224. package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +0 -14
  225. package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +0 -19
  226. package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +0 -69
  227. package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +0 -11
  228. package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +0 -34
  229. package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +0 -20
  230. package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +0 -23
  231. package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +0 -32
  232. package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +0 -25
  233. package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +0 -125
  234. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +0 -31
  235. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +0 -54
  236. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +0 -97
  237. package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +0 -112
  238. package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +0 -78
  239. package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +0 -86
  240. package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +0 -169
  241. package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +0 -20
  242. package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +0 -21
  243. package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +0 -24
  244. package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +0 -43
  245. package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +0 -21
  246. package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +0 -120
  247. package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +0 -38
  248. package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +0 -22
  249. package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +0 -49
  250. package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +0 -24
  251. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +0 -102
  252. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +0 -315
  253. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +0 -60
  254. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +0 -206
  255. package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +0 -22
  256. package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +0 -35
  257. package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +0 -15
  258. package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +0 -26
  259. package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +0 -21
  260. package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +0 -30
  261. package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +0 -97
  262. package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +0 -12
  263. package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +0 -16
  264. package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +0 -27
  265. package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +0 -17
  266. package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +0 -39
  267. package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +0 -10
  268. package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +0 -21
  269. package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +0 -32
  270. package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +0 -19
  271. package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +0 -73
  272. package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +0 -34
  273. package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +0 -139
  274. package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +0 -53
  275. package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +0 -164
  276. package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +0 -62
  277. package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +0 -41
  278. package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +0 -183
  279. package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +0 -89
  280. package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +0 -77
  281. package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +0 -5
  282. package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +0 -15
  283. package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +0 -53
  284. package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +0 -44
  285. package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +0 -36
  286. package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +0 -73
  287. package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +0 -19
  288. package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +0 -16
  289. package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +0 -224
  290. package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +0 -31
  291. package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +0 -37
  292. package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +0 -14
  293. package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +0 -23
  294. package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +0 -34
  295. package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +0 -8
  296. package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +0 -11
  297. package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +0 -25
  298. package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +0 -8
@@ -1,475 +0,0 @@
1
- import { ref as D, computed as R, shallowRef as Be, toRef as Te, watch as te, createVNode as s, mergeProps as V, createElementVNode as h, Fragment as K, createTextVNode as Ee, nextTick as Fe } from "vue";
2
- import "../../../../../../../_virtual/VSelect.sass.mjs";
3
- import { useInputIcon as Me } from "../VInput/InputIcon.mjs";
4
- import { makeVTextFieldProps as Oe, VTextField as le } from "../VTextField/VTextField.mjs";
5
- import { useScrolling as Ne } from "./useScrolling.mjs";
6
- import { useFocusGroups as _e } from "../../composables/focusGroups.mjs";
7
- import { useAutocomplete as Ke } from "../../composables/autocomplete.mjs";
8
- import { makeFilterProps as $e, useFilter as Ue, highlightResult as ze } from "../../composables/filter.mjs";
9
- import { useForm as He } from "../../composables/form.mjs";
10
- import { forwardRefs as je } from "../../composables/forwardRefs.mjs";
11
- import { IconValue as qe } from "../../composables/icons.mjs";
12
- import { makeItemsProps as We, useItems as Ge } from "../../composables/list-items.mjs";
13
- import { useLocale as Ye } from "../../composables/locale.mjs";
14
- import { makeMenuActivatorProps as Je, useMenuActivator as Qe } from "../../composables/menuActivator.mjs";
15
- import { useProxiedModel as $ } from "../../composables/proxiedModel.mjs";
16
- import { makeTransitionProps as Xe } from "../../composables/transition.mjs";
17
- import { VDialogTransition as Ze } from "../transitions/dialog-transition.mjs";
18
- import { VMenu as et } from "../VMenu/VMenu.mjs";
19
- import { VSheet as tt } from "../VSheet/VSheet.mjs";
20
- import { VList as lt } from "../VList/VList.mjs";
21
- import { VListItem as ne } from "../VList/VListItem.mjs";
22
- import { VVirtualScroll as nt } from "../VVirtualScroll/VVirtualScroll.mjs";
23
- import { omit as at, camelizeProps as ot, ensureValidVNode as ut, wrapInArray as rt, checkPrintable as ae, matchesSelector as oe } from "../../util/helpers.mjs";
24
- import { VDivider as it } from "../VDivider/VDivider.mjs";
25
- import { VListSubheader as st } from "../VList/VListSubheader.mjs";
26
- import { VCheckboxBtn as ct } from "../VCheckbox/VCheckboxBtn.mjs";
27
- import { VAvatar as dt } from "../VAvatar/VAvatar.mjs";
28
- import { VIcon as ue } from "../VIcon/VIcon.mjs";
29
- import { VChip as re } from "../VChip/VChip.mjs";
30
- import { VDefaultsProvider as ft } from "../VDefaultsProvider/VDefaultsProvider.mjs";
31
- import { propsFactory as ie } from "../../util/propsFactory.mjs";
32
- import { genericComponent as mt } from "../../util/defineComponent.mjs";
33
- import { deepEqual as U } from "../../util/deepEqual.mjs";
34
- import { IN_BROWSER as vt } from "../../util/globals.mjs";
35
- import { useRender as pt } from "../../util/useRender.mjs";
36
- const ht = ie({
37
- chips: Boolean,
38
- closableChips: Boolean,
39
- eager: Boolean,
40
- hideNoData: Boolean,
41
- hideSelected: Boolean,
42
- listProps: {
43
- type: Object
44
- },
45
- menu: Boolean,
46
- menuIcon: {
47
- type: qe,
48
- default: "$dropdown"
49
- },
50
- menuProps: {
51
- type: Object
52
- },
53
- multiple: Boolean,
54
- noDataText: {
55
- type: String,
56
- default: "$vuetify.noDataText"
57
- },
58
- openOnClear: Boolean,
59
- itemColor: String,
60
- noAutoScroll: Boolean,
61
- ...Je(),
62
- ...We({
63
- itemChildren: !1
64
- })
65
- }, "Select"), yt = ie({
66
- search: String,
67
- ...$e({
68
- filterKeys: ["title"]
69
- }),
70
- ...ht(),
71
- ...at(Oe({
72
- modelValue: null,
73
- role: "combobox"
74
- }), ["validationValue", "dirty"]),
75
- ...Xe({
76
- transition: {
77
- component: Ze
78
- }
79
- })
80
- }, "VSelect"), Zt = mt()({
81
- name: "VSelect",
82
- props: yt(),
83
- emits: {
84
- "update:focused": (t) => !0,
85
- "update:modelValue": (t) => !0,
86
- "update:menu": (t) => !0,
87
- "update:search": (t) => !0
88
- },
89
- setup(t, se) {
90
- let {
91
- slots: l
92
- } = se;
93
- const {
94
- t: ce
95
- } = Ye(), m = D(), z = D(), H = D(), j = D(), M = D(), {
96
- items: A,
97
- transformIn: de,
98
- transformOut: fe
99
- } = Ge(t), S = $(t, "search", ""), {
100
- filteredItems: O,
101
- getMatches: me
102
- } = Ue(t, A, () => S.value), u = $(t, "modelValue", [], (e) => de(e === null ? [null] : rt(e)), (e) => {
103
- const a = fe(e);
104
- return t.multiple ? a : a[0] ?? null;
105
- }), ve = R(() => typeof t.counterValue == "function" ? t.counterValue(u.value) : typeof t.counterValue == "number" ? t.counterValue : u.value.length), L = He(t), pe = Ke(t), q = R(() => u.value.map((e) => e.value)), b = Be(!1), W = Te(() => t.closableChips && !L.isReadonly.value && !L.isDisabled.value), {
106
- InputIcon: he
107
- } = Me(t);
108
- let g = "", B = 0, G;
109
- const y = R(() => {
110
- const e = S.value ? O.value : A.value;
111
- return t.hideSelected ? e.filter((a) => !u.value.some((r) => (t.valueComparator || U)(r, a))) : e;
112
- }), N = R(() => t.hideNoData && !y.value.length || L.isReadonly.value || L.isDisabled.value), _ = $(t, "menu"), i = R({
113
- get: () => _.value,
114
- set: (e) => {
115
- var a;
116
- _.value && !e && ((a = z.value) != null && a.ΨopenChildren.size) || e && N.value || (_.value = e);
117
- }
118
- }), {
119
- menuId: ye,
120
- ariaExpanded: Ve,
121
- ariaControls: ge
122
- } = Qe(t, i), ke = R(() => {
123
- var e;
124
- return {
125
- ...t.menuProps,
126
- activatorProps: {
127
- ...((e = t.menuProps) == null ? void 0 : e.activatorProps) || {},
128
- "aria-haspopup": "listbox"
129
- // Set aria-haspopup to 'listbox'
130
- }
131
- };
132
- }), C = D(), be = Ne(C, m), {
133
- onTabKeydown: Ce
134
- } = _e({
135
- groups: [{
136
- type: "element",
137
- contentRef: H
138
- }, {
139
- type: "list",
140
- contentRef: C,
141
- displayItemsCount: () => y.value.length
142
- }, {
143
- type: "element",
144
- contentRef: j
145
- }],
146
- onLeave: () => {
147
- var e;
148
- i.value = !1, (e = m.value) == null || e.focus();
149
- }
150
- });
151
- function Y(e) {
152
- t.openOnClear && (i.value = !0);
153
- }
154
- function Ie() {
155
- N.value || (i.value = !i.value);
156
- }
157
- function Pe(e) {
158
- var a;
159
- e.key === "Tab" && Ce(e), (a = C.value) != null && a.$el.contains(e.target) && ae(e) && J(e);
160
- }
161
- function J(e) {
162
- var f, p, x;
163
- if (!e.key || L.isReadonly.value)
164
- return;
165
- if (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && e.preventDefault(), ["Enter", "ArrowDown", " "].includes(e.key) && (i.value = !0), ["Escape", "Tab"].includes(e.key) && (i.value = !1), t.clearable && e.key === "Backspace") {
166
- e.preventDefault(), u.value = [], Y();
167
- return;
168
- }
169
- e.key === "Home" ? (f = C.value) == null || f.focus("first") : e.key === "End" && ((p = C.value) == null || p.focus("last"));
170
- const a = 1e3;
171
- if (!ae(e))
172
- return;
173
- const r = performance.now();
174
- r - G > a && (g = "", B = 0), g += e.key.toLowerCase(), G = r;
175
- const I = y.value;
176
- function k() {
177
- let n = P();
178
- return n || g.at(-1) === g.at(-2) && (g = g.slice(0, -1), B++, n = P(), n) || (B = 0, n = P(), n) ? n : (g = e.key.toLowerCase(), P());
179
- }
180
- function P() {
181
- for (let n = B; n < I.length; n++) {
182
- const c = I[n];
183
- if (c.title.toLowerCase().startsWith(g))
184
- return [c, n];
185
- }
186
- }
187
- const v = k();
188
- if (!v)
189
- return;
190
- const [w, o] = v;
191
- B = o, (x = C.value) == null || x.focus(o), t.multiple || (u.value = [w]);
192
- }
193
- function T(e) {
194
- let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
195
- if (!e.props.disabled)
196
- if (t.multiple) {
197
- const r = u.value.findIndex((k) => (t.valueComparator || U)(k.value, e.value)), I = a ?? !~r;
198
- if (~r) {
199
- const k = I ? [...u.value, e] : [...u.value];
200
- k.splice(r, 1), u.value = k;
201
- } else
202
- I && (u.value = [...u.value, e]);
203
- } else {
204
- const r = a !== !1;
205
- u.value = r ? [e] : [], Fe(() => {
206
- i.value = !1;
207
- });
208
- }
209
- }
210
- function we(e) {
211
- var r;
212
- const a = e.target;
213
- (r = m.value) != null && r.$el.contains(a) || (i.value = !1);
214
- }
215
- function xe() {
216
- var e;
217
- t.eager && ((e = M.value) == null || e.calculateVisibleItems());
218
- }
219
- function Se() {
220
- var e;
221
- S.value = "", b.value && ((e = m.value) == null || e.focus());
222
- }
223
- function De(e) {
224
- b.value = !0;
225
- }
226
- function Re(e) {
227
- if (e == null)
228
- u.value = [];
229
- else if (oe(m.value, ":autofill") || oe(m.value, ":-webkit-autofill")) {
230
- const a = A.value.find((r) => r.title === e);
231
- a && T(a);
232
- } else
233
- m.value && (m.value.value = "");
234
- }
235
- return te(i, () => {
236
- if (!t.hideSelected && i.value && u.value.length) {
237
- const e = y.value.findIndex((a) => u.value.some((r) => (t.valueComparator || U)(r.value, a.value)));
238
- vt && !t.noAutoScroll && window.requestAnimationFrame(() => {
239
- var a;
240
- e >= 0 && ((a = M.value) == null || a.scrollToIndex(e));
241
- });
242
- }
243
- }), te(A, (e, a) => {
244
- i.value || b.value && t.hideNoData && !a.length && e.length && (i.value = !0);
245
- }), pt(() => {
246
- const e = !!(t.chips || l.chip), a = !!(!t.hideNoData || y.value.length || l["prepend-item"] || l["append-item"] || l["no-data"]), r = u.value.length > 0, I = le.filterProps(t), k = r || !b.value && t.label && !t.persistentPlaceholder ? void 0 : t.placeholder, P = {
247
- search: S,
248
- filteredItems: O.value
249
- };
250
- return s(le, V({
251
- ref: m
252
- }, I, {
253
- modelValue: u.value.map((v) => v.props.title).join(", "),
254
- name: void 0,
255
- "onUpdate:modelValue": Re,
256
- focused: b.value,
257
- "onUpdate:focused": (v) => b.value = v,
258
- validationValue: u.externalValue,
259
- counterValue: ve.value,
260
- dirty: r,
261
- class: ["v-select", {
262
- "v-select--active-menu": i.value,
263
- "v-select--chips": !!t.chips,
264
- [`v-select--${t.multiple ? "multiple" : "single"}`]: !0,
265
- "v-select--selected": u.value.length,
266
- "v-select--selection-slot": !!l.selection
267
- }, t.class],
268
- style: t.style,
269
- inputmode: "none",
270
- placeholder: k,
271
- "onClick:clear": Y,
272
- "onMousedown:control": Ie,
273
- onBlur: we,
274
- onKeydown: J,
275
- "aria-expanded": Ve.value,
276
- "aria-controls": ge.value
277
- }), {
278
- ...l,
279
- default: (v) => {
280
- let {
281
- id: w
282
- } = v;
283
- return h(K, null, [h("select", {
284
- hidden: !0,
285
- multiple: t.multiple,
286
- name: pe.fieldName.value
287
- }, [A.value.map((o) => h("option", {
288
- key: o.value,
289
- value: o.value,
290
- selected: q.value.includes(o.value)
291
- }, null))]), s(et, V({
292
- id: ye.value,
293
- ref: z,
294
- modelValue: i.value,
295
- "onUpdate:modelValue": (o) => i.value = o,
296
- activator: "parent",
297
- contentClass: "v-select__content",
298
- disabled: N.value,
299
- eager: t.eager,
300
- maxHeight: 310,
301
- openOnClick: !1,
302
- closeOnContentClick: !1,
303
- transition: t.transition,
304
- onAfterEnter: xe,
305
- onAfterLeave: Se
306
- }, ke.value), {
307
- default: () => [s(tt, {
308
- onFocusin: De,
309
- onKeydown: Pe
310
- }, {
311
- default: () => [l["menu-header"] && h("header", {
312
- ref: H
313
- }, [l["menu-header"](P)]), a && s(lt, V({
314
- key: "select-list",
315
- ref: C,
316
- selected: q.value,
317
- selectStrategy: t.multiple ? "independent" : "single-independent",
318
- tabindex: "-1",
319
- selectable: !!y.value.length,
320
- "aria-live": "polite",
321
- "aria-labelledby": `${w.value}-label`,
322
- "aria-multiselectable": t.multiple,
323
- color: t.itemColor ?? t.color
324
- }, be, t.listProps), {
325
- default: () => {
326
- var o, f, p;
327
- return [(o = l["prepend-item"]) == null ? void 0 : o.call(l), !y.value.length && !t.hideNoData && (((f = l["no-data"]) == null ? void 0 : f.call(l)) ?? s(ne, {
328
- key: "no-data",
329
- title: ce(t.noDataText)
330
- }, null)), s(nt, {
331
- ref: M,
332
- renderless: !0,
333
- items: y.value,
334
- itemKey: "value"
335
- }, {
336
- default: (x) => {
337
- var X, Z, ee;
338
- let {
339
- item: n,
340
- index: c,
341
- itemRef: d
342
- } = x;
343
- const E = ot(n.props), Q = V(n.props, {
344
- ref: d,
345
- key: n.value,
346
- onClick: () => T(n, null),
347
- "aria-posinset": c + 1,
348
- "aria-setsize": y.value.length
349
- });
350
- return n.type === "divider" ? ((X = l.divider) == null ? void 0 : X.call(l, {
351
- props: n.raw,
352
- index: c
353
- })) ?? s(it, V(n.props, {
354
- key: `divider-${c}`
355
- }), null) : n.type === "subheader" ? ((Z = l.subheader) == null ? void 0 : Z.call(l, {
356
- props: n.raw,
357
- index: c
358
- })) ?? s(st, V(n.props, {
359
- key: `subheader-${c}`
360
- }), null) : ((ee = l.item) == null ? void 0 : ee.call(l, {
361
- item: n,
362
- index: c,
363
- props: Q
364
- })) ?? s(ne, V(Q, {
365
- role: "option"
366
- }), {
367
- prepend: (F) => {
368
- let {
369
- isSelected: Ae
370
- } = F;
371
- return h(K, null, [t.multiple && !t.hideSelected ? s(ct, {
372
- key: n.value,
373
- modelValue: Ae,
374
- ripple: !1,
375
- tabindex: "-1",
376
- "aria-hidden": !0,
377
- onClick: (Le) => Le.preventDefault()
378
- }, null) : void 0, E.prependAvatar && s(dt, {
379
- image: E.prependAvatar
380
- }, null), E.prependIcon && s(ue, {
381
- icon: E.prependIcon
382
- }, null)]);
383
- },
384
- title: () => {
385
- var F;
386
- return S.value ? ze("v-select", n.title, (F = me(n)) == null ? void 0 : F.title) : n.title;
387
- }
388
- });
389
- }
390
- }), (p = l["append-item"]) == null ? void 0 : p.call(l)];
391
- }
392
- }), l["menu-footer"] && h("footer", {
393
- ref: j
394
- }, [l["menu-footer"](P)])]
395
- })]
396
- }), u.value.map((o, f) => {
397
- function p(d) {
398
- d.stopPropagation(), d.preventDefault(), T(o, !1);
399
- }
400
- const x = V(re.filterProps(o.props), {
401
- "onClick:close": p,
402
- onKeydown(d) {
403
- d.key !== "Enter" && d.key !== " " || (d.preventDefault(), d.stopPropagation(), p(d));
404
- },
405
- onMousedown(d) {
406
- d.preventDefault(), d.stopPropagation();
407
- },
408
- modelValue: !0,
409
- "onUpdate:modelValue": void 0
410
- }), n = e ? !!l.chip : !!l.selection, c = n ? ut(e ? l.chip({
411
- item: o,
412
- index: f,
413
- props: x
414
- }) : l.selection({
415
- item: o,
416
- index: f
417
- })) : void 0;
418
- if (!(n && !c))
419
- return h("div", {
420
- key: o.value,
421
- class: "v-select__selection"
422
- }, [e ? l.chip ? s(ft, {
423
- key: "chip-defaults",
424
- defaults: {
425
- VChip: {
426
- closable: W.value,
427
- size: "small",
428
- text: o.title
429
- }
430
- }
431
- }, {
432
- default: () => [c]
433
- }) : s(re, V({
434
- key: "chip",
435
- closable: W.value,
436
- size: "small",
437
- text: o.title,
438
- disabled: o.props.disabled
439
- }, x), null) : c ?? h("span", {
440
- class: "v-select__selection-text"
441
- }, [o.title, t.multiple && f < u.value.length - 1 && h("span", {
442
- class: "v-select__selection-comma"
443
- }, [Ee(",")])])]);
444
- })]);
445
- },
446
- "append-inner": function() {
447
- var f, p;
448
- for (var v = arguments.length, w = new Array(v), o = 0; o < v; o++)
449
- w[o] = arguments[o];
450
- return h(K, null, [(f = l["append-inner"]) == null ? void 0 : f.call(l, ...w), t.menuIcon ? s(ue, {
451
- class: "v-select__menu-icon",
452
- color: (p = m.value) == null ? void 0 : p.fieldIconColor,
453
- icon: t.menuIcon,
454
- "aria-hidden": !0
455
- }, null) : void 0, t.appendInnerIcon && s(he, {
456
- key: "append-icon",
457
- name: "appendInner",
458
- color: w[0].iconColor.value
459
- }, null)]);
460
- }
461
- });
462
- }), je({
463
- isFocused: b,
464
- menu: i,
465
- search: S,
466
- filteredItems: O,
467
- select: T
468
- }, m);
469
- }
470
- });
471
- export {
472
- Zt as VSelect,
473
- ht as makeSelectProps,
474
- yt as makeVSelectProps
475
- };
@@ -1,57 +0,0 @@
1
- import { shallowRef as w, watch as d } from "vue";
2
- function p(c, u) {
3
- const t = w(!1);
4
- let i;
5
- function m(e) {
6
- cancelAnimationFrame(i), t.value = !0, i = requestAnimationFrame(() => {
7
- i = requestAnimationFrame(() => {
8
- t.value = !1;
9
- });
10
- });
11
- }
12
- async function f() {
13
- await new Promise((e) => requestAnimationFrame(e)), await new Promise((e) => requestAnimationFrame(e)), await new Promise((e) => requestAnimationFrame(e)), await new Promise((e) => {
14
- if (t.value) {
15
- const o = d(t, () => {
16
- o(), e();
17
- });
18
- } else
19
- e();
20
- });
21
- }
22
- async function g(e) {
23
- var l, s;
24
- if (e.key === "Tab" && ((l = u.value) == null || l.focus()), !["PageDown", "PageUp", "Home", "End"].includes(e.key))
25
- return;
26
- const o = (s = c.value) == null ? void 0 : s.$el;
27
- if (!o)
28
- return;
29
- (e.key === "Home" || e.key === "End") && o.scrollTo({
30
- top: e.key === "Home" ? 0 : o.scrollHeight,
31
- behavior: "smooth"
32
- }), await f();
33
- const a = o.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");
34
- if (e.key === "PageDown" || e.key === "Home") {
35
- const r = o.getBoundingClientRect().top;
36
- for (const n of a)
37
- if (n.getBoundingClientRect().top >= r) {
38
- n.focus();
39
- break;
40
- }
41
- } else {
42
- const r = o.getBoundingClientRect().bottom;
43
- for (const n of [...a].reverse())
44
- if (n.getBoundingClientRect().bottom <= r) {
45
- n.focus();
46
- break;
47
- }
48
- }
49
- }
50
- return {
51
- onScrollPassive: m,
52
- onKeydown: g
53
- };
54
- }
55
- export {
56
- p as useScrolling
57
- };