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,247 +0,0 @@
1
- import { ref as K, shallowRef as Q, computed as i, toRef as f, watch as v, readonly as U, createElementVNode as l, Fragment as X, createVNode as d, mergeProps as R, Transition as Y, nextTick as Z } from "vue";
2
- import "../../../../../../../_virtual/VNavigationDrawer.sass.mjs";
3
- import { useSticky as ee } from "./sticky.mjs";
4
- import { useTouch as ae } from "./touch.mjs";
5
- import { makeBorderProps as te, useBorder as oe } from "../../composables/border.mjs";
6
- import { useBackgroundColor as T } from "../../composables/color.mjs";
7
- import { makeComponentProps as re } from "../../composables/component.mjs";
8
- import { provideDefaults as ie } from "../../composables/defaults.mjs";
9
- import { makeDelayProps as le, useDelay as ne } from "../../composables/delay.mjs";
10
- import { makeDisplayProps as ue, useDisplay as se } from "../../composables/display.mjs";
11
- import { makeElevationProps as me, useElevation as ve } from "../../composables/elevation.mjs";
12
- import { makeFocusTrapProps as de, useFocusTrap as ce } from "../../composables/focusTrap.mjs";
13
- import { makeLayoutItemProps as ge, useLayoutItem as fe } from "../../composables/layout.mjs";
14
- import { useProxiedModel as ye } from "../../composables/proxiedModel.mjs";
15
- import { makeRoundedProps as he, useRounded as ke } from "../../composables/rounded.mjs";
16
- import { useRouter as we } from "../../composables/router.mjs";
17
- import { useScopeId as be } from "../../composables/scopeId.mjs";
18
- import { useSsrBoot as Se } from "../../composables/ssrBoot.mjs";
19
- import { makeTagProps as Ce } from "../../composables/tag.mjs";
20
- import { makeThemeProps as Be, provideTheme as Pe } from "../../composables/theme.mjs";
21
- import { useToggleScope as y } from "../../composables/toggleScope.mjs";
22
- import { useRtl as pe } from "../../composables/locale.mjs";
23
- import { toPhysical as Ve } from "../../util/anchor.mjs";
24
- import { VImg as De } from "../VImg/VImg.mjs";
25
- import { VDefaultsProvider as Re } from "../VDefaultsProvider/VDefaultsProvider.mjs";
26
- import { propsFactory as Te } from "../../util/propsFactory.mjs";
27
- import { omit as Ie } from "../../util/helpers.mjs";
28
- import { genericComponent as Ne } from "../../util/defineComponent.mjs";
29
- import { useRender as _e } from "../../util/useRender.mjs";
30
- const xe = ["start", "end", "left", "right", "top", "bottom"], We = Te({
31
- color: String,
32
- disableResizeWatcher: Boolean,
33
- disableRouteWatcher: Boolean,
34
- expandOnHover: Boolean,
35
- floating: Boolean,
36
- modelValue: {
37
- type: Boolean,
38
- default: null
39
- },
40
- permanent: Boolean,
41
- rail: {
42
- type: Boolean,
43
- default: null
44
- },
45
- railWidth: {
46
- type: [Number, String],
47
- default: 56
48
- },
49
- scrim: {
50
- type: [Boolean, String],
51
- default: !0
52
- },
53
- image: String,
54
- temporary: Boolean,
55
- persistent: Boolean,
56
- touchless: Boolean,
57
- width: {
58
- type: [Number, String],
59
- default: 256
60
- },
61
- location: {
62
- type: String,
63
- default: "start",
64
- validator: (e) => xe.includes(e)
65
- },
66
- sticky: Boolean,
67
- ...te(),
68
- ...re(),
69
- ...le(),
70
- ...ue({
71
- mobile: null
72
- }),
73
- ...me(),
74
- ...ge(),
75
- ...he(),
76
- ...Ie(de(), ["disableInitialFocus"]),
77
- ...Ce({
78
- tag: "nav"
79
- }),
80
- ...Be()
81
- }, "VNavigationDrawer"), ma = Ne()({
82
- name: "VNavigationDrawer",
83
- props: We(),
84
- emits: {
85
- "update:modelValue": (e) => !0,
86
- "update:rail": (e) => !0
87
- },
88
- setup(e, I) {
89
- let {
90
- attrs: N,
91
- emit: _,
92
- slots: a
93
- } = I;
94
- const {
95
- isRtl: x
96
- } = pe(), {
97
- themeClasses: W
98
- } = Pe(e), {
99
- borderClasses: H
100
- } = oe(e), {
101
- backgroundColorClasses: O,
102
- backgroundColorStyles: z
103
- } = T(() => e.color), {
104
- elevationClasses: E
105
- } = ve(e), {
106
- displayClasses: F,
107
- mobile: h
108
- } = se(e), {
109
- roundedClasses: L
110
- } = ke(e), k = we(), o = ye(e, "modelValue", null, (t) => !!t), {
111
- ssrBootStyles: M
112
- } = Se(), {
113
- scopeId: w
114
- } = be(), n = K(), u = Q(!1), {
115
- runOpenDelay: A,
116
- runCloseDelay: $
117
- } = ne(e, (t) => {
118
- u.value = t;
119
- }), c = i(() => e.rail && e.expandOnHover && u.value ? Number(e.width) : Number(e.rail ? e.railWidth : e.width)), s = i(() => Ve(e.location, x.value)), b = f(() => e.persistent), r = i(() => !e.permanent && (h.value || e.temporary)), g = i(() => e.sticky && !r.value && s.value !== "bottom");
120
- ce(e, {
121
- isActive: o,
122
- localTop: r,
123
- contentEl: n
124
- }), y(() => e.expandOnHover && e.rail != null, () => {
125
- v(u, (t) => _("update:rail", !t));
126
- }), y(() => !e.disableResizeWatcher, () => {
127
- v(r, (t) => !e.permanent && Z(() => o.value = !t));
128
- }), y(() => !e.disableRouteWatcher && !!k, () => {
129
- v(k.currentRoute, () => r.value && (o.value = !1));
130
- }), v(() => e.permanent, (t) => {
131
- t && (o.value = !0);
132
- }), e.modelValue == null && !r.value && (o.value = e.permanent || !h.value);
133
- const {
134
- isDragging: m,
135
- dragProgress: S
136
- } = ae({
137
- el: n,
138
- isActive: o,
139
- isTemporary: r,
140
- width: c,
141
- touchless: f(() => e.touchless),
142
- position: s
143
- }), j = i(() => {
144
- const t = r.value ? 0 : e.rail && e.expandOnHover ? Number(e.railWidth) : c.value;
145
- return m.value ? t * S.value : t;
146
- }), {
147
- layoutItemStyles: C,
148
- layoutItemScrimStyles: q
149
- } = fe({
150
- id: e.name,
151
- order: i(() => parseInt(e.order, 10)),
152
- position: s,
153
- layoutSize: j,
154
- elementSize: c,
155
- active: U(o),
156
- disableTransitions: f(() => m.value),
157
- absolute: i(() => (
158
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
159
- e.absolute || g.value && typeof B.value != "string"
160
- ))
161
- }), {
162
- isStuck: B,
163
- stickyStyles: G
164
- } = ee({
165
- rootEl: n,
166
- isSticky: g,
167
- layoutItemStyles: C
168
- }), P = T(() => typeof e.scrim == "string" ? e.scrim : null), J = i(() => ({
169
- ...m.value ? {
170
- opacity: S.value * 0.2,
171
- transition: "none"
172
- } : void 0,
173
- ...q.value
174
- }));
175
- return ie({
176
- VList: {
177
- bgColor: "transparent"
178
- }
179
- }), _e(() => {
180
- const t = a.image || e.image;
181
- return l(X, null, [d(e.tag, R({
182
- ref: n,
183
- onMouseenter: A,
184
- onMouseleave: $,
185
- class: ["v-navigation-drawer", `v-navigation-drawer--${s.value}`, {
186
- "v-navigation-drawer--expand-on-hover": e.expandOnHover,
187
- "v-navigation-drawer--floating": e.floating,
188
- "v-navigation-drawer--is-hovering": u.value,
189
- "v-navigation-drawer--rail": e.rail,
190
- "v-navigation-drawer--temporary": r.value,
191
- "v-navigation-drawer--persistent": b.value,
192
- "v-navigation-drawer--active": o.value,
193
- "v-navigation-drawer--sticky": g.value
194
- }, W.value, O.value, H.value, F.value, E.value, L.value, e.class],
195
- style: [z.value, C.value, M.value, G.value, e.style],
196
- inert: !o.value
197
- }, w, N), {
198
- default: () => {
199
- var p, V, D;
200
- return [t && l("div", {
201
- key: "image",
202
- class: "v-navigation-drawer__img"
203
- }, [a.image ? d(Re, {
204
- key: "image-defaults",
205
- disabled: !e.image,
206
- defaults: {
207
- VImg: {
208
- alt: "",
209
- cover: !0,
210
- height: "inherit",
211
- src: e.image
212
- }
213
- }
214
- }, a.image) : d(De, {
215
- key: "image-img",
216
- alt: "",
217
- cover: !0,
218
- height: "inherit",
219
- src: e.image
220
- }, null)]), a.prepend && l("div", {
221
- class: "v-navigation-drawer__prepend"
222
- }, [(p = a.prepend) == null ? void 0 : p.call(a)]), l("div", {
223
- class: "v-navigation-drawer__content"
224
- }, [(V = a.default) == null ? void 0 : V.call(a)]), a.append && l("div", {
225
- class: "v-navigation-drawer__append"
226
- }, [(D = a.append) == null ? void 0 : D.call(a)])];
227
- }
228
- }), d(Y, {
229
- name: "fade-transition"
230
- }, {
231
- default: () => [r.value && (m.value || o.value) && !!e.scrim && l("div", R({
232
- class: ["v-navigation-drawer__scrim", P.backgroundColorClasses.value],
233
- style: [J.value, P.backgroundColorStyles.value],
234
- onClick: () => {
235
- b.value || (o.value = !1);
236
- }
237
- }, w), null)]
238
- })]);
239
- }), {
240
- isStuck: B
241
- };
242
- }
243
- });
244
- export {
245
- ma as VNavigationDrawer,
246
- We as makeVNavigationDrawerProps
247
- };
@@ -1,44 +0,0 @@
1
- import { shallowRef as d, computed as f, onMounted as y, watch as h, onBeforeUnmount as g } from "vue";
2
- import { convertToUnit as S } from "../../util/helpers.mjs";
3
- function Y(p) {
4
- let {
5
- rootEl: s,
6
- isSticky: r,
7
- layoutItemStyles: c
8
- } = p;
9
- const e = d(!1), o = d(0), w = f(() => {
10
- const t = typeof e.value == "boolean" ? "top" : e.value;
11
- return [r.value ? {
12
- top: "auto",
13
- bottom: "auto",
14
- height: void 0
15
- } : void 0, e.value ? {
16
- [t]: S(o.value)
17
- } : {
18
- top: c.value.top
19
- }];
20
- });
21
- y(() => {
22
- h(r, (t) => {
23
- t ? window.addEventListener("scroll", i, {
24
- passive: !0
25
- }) : window.removeEventListener("scroll", i);
26
- }, {
27
- immediate: !0
28
- });
29
- }), g(() => {
30
- window.removeEventListener("scroll", i);
31
- });
32
- let v = 0;
33
- function i() {
34
- const t = v > window.scrollY ? "up" : "down", n = s.value.getBoundingClientRect(), l = parseFloat(c.value.top ?? 0), u = window.scrollY - Math.max(0, o.value - l), m = n.height + Math.max(o.value, l) - window.scrollY - window.innerHeight, a = parseFloat(getComputedStyle(s.value).getPropertyValue("--v-body-scroll-y")) || 0;
35
- n.height < window.innerHeight - l ? (e.value = "top", o.value = l) : t === "up" && e.value === "bottom" || t === "down" && e.value === "top" ? (o.value = window.scrollY + n.top - a, e.value = !0) : t === "down" && m <= 0 ? (o.value = 0, e.value = "bottom") : t === "up" && u <= 0 && (a ? e.value !== "top" && (o.value = -u + a + l, e.value = "top") : (o.value = n.top + u, e.value = "top")), v = window.scrollY;
36
- }
37
- return {
38
- isStuck: e,
39
- stickyStyles: w
40
- };
41
- }
42
- export {
43
- Y as useSticky
44
- };
@@ -1,100 +0,0 @@
1
- import { useToggleScope as S } from "../../composables/toggleScope.mjs";
2
- import { useVelocity as V } from "../../composables/touch.mjs";
3
- import { onMounted as Z, onBeforeUnmount as z, computed as X, shallowRef as T, watchEffect as A, onScopeDispose as B } from "vue";
4
- import { clamp as O } from "../../util/helpers.mjs";
5
- function q(Y) {
6
- let {
7
- el: h,
8
- isActive: f,
9
- isTemporary: H,
10
- width: a,
11
- touchless: D,
12
- position: t
13
- } = Y;
14
- Z(() => {
15
- window.addEventListener("touchstart", M, {
16
- passive: !0
17
- }), window.addEventListener("touchmove", x, {
18
- passive: !1
19
- }), window.addEventListener("touchend", L, {
20
- passive: !0
21
- });
22
- }), z(() => {
23
- window.removeEventListener("touchstart", M), window.removeEventListener("touchmove", x), window.removeEventListener("touchend", L);
24
- });
25
- const c = X(() => ["left", "right"].includes(t.value)), {
26
- addMovement: g,
27
- endTouch: W,
28
- getVelocity: $
29
- } = V();
30
- let m = !1;
31
- const v = T(!1), i = T(0), r = T(0);
32
- let p;
33
- function y(e, n) {
34
- return (t.value === "left" ? e : t.value === "right" ? document.documentElement.clientWidth - e : t.value === "top" ? e : t.value === "bottom" ? document.documentElement.clientHeight - e : d()) - (n ? a.value : 0);
35
- }
36
- function b(e) {
37
- let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
38
- const l = t.value === "left" ? (e - r.value) / a.value : t.value === "right" ? (document.documentElement.clientWidth - e - r.value) / a.value : t.value === "top" ? (e - r.value) / a.value : t.value === "bottom" ? (document.documentElement.clientHeight - e - r.value) / a.value : d();
39
- return n ? O(l) : l;
40
- }
41
- function M(e) {
42
- if (D.value)
43
- return;
44
- const n = e.changedTouches[0].clientX, l = e.changedTouches[0].clientY, o = 25, u = t.value === "left" ? n < o : t.value === "right" ? n > document.documentElement.clientWidth - o : t.value === "top" ? l < o : t.value === "bottom" ? l > document.documentElement.clientHeight - o : d(), s = f.value && (t.value === "left" ? n < a.value : t.value === "right" ? n > document.documentElement.clientWidth - a.value : t.value === "top" ? l < a.value : t.value === "bottom" ? l > document.documentElement.clientHeight - a.value : d());
45
- (u || s || f.value && H.value) && (p = [n, l], r.value = y(c.value ? n : l, f.value), i.value = b(c.value ? n : l), m = r.value > -20 && r.value < 80, W(e), g(e));
46
- }
47
- function x(e) {
48
- const n = e.changedTouches[0].clientX, l = e.changedTouches[0].clientY;
49
- if (m) {
50
- if (!e.cancelable) {
51
- m = !1;
52
- return;
53
- }
54
- const u = Math.abs(n - p[0]), s = Math.abs(l - p[1]);
55
- (c.value ? u > s && u > 3 : s > u && s > 3) ? (v.value = !0, m = !1) : (c.value ? s : u) > 3 && (m = !1);
56
- }
57
- if (!v.value)
58
- return;
59
- e.preventDefault(), g(e);
60
- const o = b(c.value ? n : l, !1);
61
- i.value = Math.max(0, Math.min(1, o)), o > 1 ? r.value = y(c.value ? n : l, !0) : o < 0 && (r.value = y(c.value ? n : l, !1));
62
- }
63
- function L(e) {
64
- if (m = !1, !v.value)
65
- return;
66
- g(e), v.value = !1;
67
- const n = $(e.changedTouches[0].identifier), l = Math.abs(n.x), o = Math.abs(n.y);
68
- (c.value ? l > o && l > 400 : o > l && o > 3) ? f.value = n.direction === ({
69
- left: "right",
70
- right: "left",
71
- top: "down",
72
- bottom: "up"
73
- }[t.value] || d()) : f.value = i.value > 0.5;
74
- }
75
- const w = X(() => v.value ? {
76
- transform: t.value === "left" ? `translateX(calc(-100% + ${i.value * a.value}px))` : t.value === "right" ? `translateX(calc(100% - ${i.value * a.value}px))` : t.value === "top" ? `translateY(calc(-100% + ${i.value * a.value}px))` : t.value === "bottom" ? `translateY(calc(100% - ${i.value * a.value}px))` : d(),
77
- transition: "none"
78
- } : void 0);
79
- return S(v, () => {
80
- var l, o;
81
- const e = ((l = h.value) == null ? void 0 : l.style.transform) ?? null, n = ((o = h.value) == null ? void 0 : o.style.transition) ?? null;
82
- A(() => {
83
- var u, s, E, P;
84
- (s = h.value) == null || s.style.setProperty("transform", ((u = w.value) == null ? void 0 : u.transform) || "none"), (P = h.value) == null || P.style.setProperty("transition", ((E = w.value) == null ? void 0 : E.transition) || null);
85
- }), B(() => {
86
- var u, s;
87
- (u = h.value) == null || u.style.setProperty("transform", e), (s = h.value) == null || s.style.setProperty("transition", n);
88
- });
89
- }), {
90
- isDragging: v,
91
- dragProgress: i,
92
- dragStyles: w
93
- };
94
- }
95
- function d() {
96
- throw new Error();
97
- }
98
- export {
99
- q as useTouch
100
- };
@@ -1,291 +0,0 @@
1
- import { ref as k, computed as te, watch as p, onBeforeUnmount as oe, createElementVNode as S, Fragment as ae, mergeProps as c, createVNode as E, Teleport as ne, withDirectives as re, vShow as le, Transition as ie } from "vue";
2
- import "../../../../../../../_virtual/VOverlay.sass.mjs";
3
- import { makeLocationStrategyProps as se, useLocationStrategies as ue } from "./locationStrategies.mjs";
4
- import { makeScrollStrategyProps as ce, useScrollStrategies as me } from "./scrollStrategies.mjs";
5
- import { makeActivatorProps as ve, useActivator as fe } from "./useActivator.mjs";
6
- import { useBackgroundColor as de } from "../../composables/color.mjs";
7
- import { makeComponentProps as ye } from "../../composables/component.mjs";
8
- import { makeDimensionProps as ge, useDimension as ke } from "../../composables/dimensions.mjs";
9
- import { makeFocusTrapProps as Se, useFocusTrap as Ee } from "../../composables/focusTrap.mjs";
10
- import { useHydration as be } from "../../composables/hydration.mjs";
11
- import { makeLazyProps as we, useLazy as Ce } from "../../composables/lazy.mjs";
12
- import { useRtl as pe } from "../../composables/locale.mjs";
13
- import { useProxiedModel as Be } from "../../composables/proxiedModel.mjs";
14
- import { useRouter as Pe, useBackButton as Te } from "../../composables/router.mjs";
15
- import { useScopeId as Le } from "../../composables/scopeId.mjs";
16
- import { useStack as he } from "../../composables/stack.mjs";
17
- import { useTeleport as Ae } from "../../composables/teleport.mjs";
18
- import { makeThemeProps as Oe, provideTheme as Ve } from "../../composables/theme.mjs";
19
- import { useToggleScope as Re } from "../../composables/toggleScope.mjs";
20
- import { makeTransitionProps as Ne, MaybeTransition as _e } from "../../composables/transition.mjs";
21
- import A from "../../directives/click-outside/index.mjs";
22
- import { getScrollParent as Ie } from "../../util/getScrollParent.mjs";
23
- import { propsFactory as Fe } from "../../util/propsFactory.mjs";
24
- import { genericComponent as xe } from "../../util/defineComponent.mjs";
25
- import { omit as ze, convertToUnit as Me } from "../../util/helpers.mjs";
26
- import { getCurrentInstance as De } from "../../util/getCurrentInstance.mjs";
27
- import { IN_BROWSER as O } from "../../util/globals.mjs";
28
- import { animate as Ke } from "../../util/animation.mjs";
29
- import { useRender as Ge } from "../../util/useRender.mjs";
30
- import { standardEasing as Ue } from "../../util/easing.mjs";
31
- function je(e) {
32
- const {
33
- modelValue: B,
34
- color: r,
35
- ...b
36
- } = e;
37
- return E(ie, {
38
- name: "fade-transition",
39
- appear: !0
40
- }, {
41
- default: () => [e.modelValue && S("div", c({
42
- class: ["v-overlay__scrim", e.color.backgroundColorClasses.value],
43
- style: e.color.backgroundColorStyles.value
44
- }, b), null)]
45
- });
46
- }
47
- const He = Fe({
48
- absolute: Boolean,
49
- attach: [Boolean, String, Object],
50
- closeOnBack: {
51
- type: Boolean,
52
- default: !0
53
- },
54
- contained: Boolean,
55
- contentClass: null,
56
- contentProps: null,
57
- disabled: Boolean,
58
- opacity: [Number, String],
59
- noClickAnimation: Boolean,
60
- modelValue: Boolean,
61
- persistent: Boolean,
62
- scrim: {
63
- type: [Boolean, String],
64
- default: !0
65
- },
66
- zIndex: {
67
- type: [Number, String],
68
- default: 2e3
69
- },
70
- ...ve(),
71
- ...ye(),
72
- ...ge(),
73
- ...we(),
74
- ...se(),
75
- ...ce(),
76
- ...Se(),
77
- ...Oe(),
78
- ...Ne()
79
- }, "VOverlay"), Ct = xe()({
80
- name: "VOverlay",
81
- directives: {
82
- vClickOutside: A
83
- },
84
- inheritAttrs: !1,
85
- props: {
86
- _disableGlobalStack: Boolean,
87
- ...ze(He(), ["disableInitialFocus"])
88
- },
89
- emits: {
90
- "click:outside": (e) => !0,
91
- "update:modelValue": (e) => !0,
92
- keydown: (e) => !0,
93
- afterEnter: () => !0,
94
- afterLeave: () => !0
95
- },
96
- setup(e, B) {
97
- let {
98
- slots: r,
99
- attrs: b,
100
- emit: i
101
- } = B;
102
- const V = De("VOverlay"), m = k(), v = k(), n = k(), P = Be(e, "modelValue"), o = te({
103
- get: () => P.value,
104
- set: (t) => {
105
- t && e.disabled || (P.value = t);
106
- }
107
- }), {
108
- themeClasses: R
109
- } = Ve(e), {
110
- rtlClasses: N,
111
- isRtl: _
112
- } = pe(), {
113
- hasContent: I,
114
- onAfterLeave: F
115
- } = Ce(e, o), x = de(() => typeof e.scrim == "string" ? e.scrim : null), {
116
- globalTop: f,
117
- localTop: d,
118
- stackStyles: z
119
- } = he(o, () => e.zIndex, e._disableGlobalStack), {
120
- activatorEl: l,
121
- activatorRef: M,
122
- target: y,
123
- targetEl: D,
124
- targetRef: K,
125
- activatorEvents: G,
126
- contentEvents: U,
127
- scrimEvents: j
128
- } = fe(e, {
129
- isActive: o,
130
- isTop: d,
131
- contentEl: n
132
- }), {
133
- teleportTarget: w
134
- } = Ae(() => {
135
- var s, u, h;
136
- const t = e.attach || e.contained;
137
- if (t)
138
- return t;
139
- const a = ((s = l == null ? void 0 : l.value) == null ? void 0 : s.getRootNode()) || ((h = (u = V.proxy) == null ? void 0 : u.$el) == null ? void 0 : h.getRootNode());
140
- return a instanceof ShadowRoot ? a : !1;
141
- }), {
142
- dimensionStyles: H
143
- } = ke(e), W = be(), {
144
- scopeId: $
145
- } = Le();
146
- p(() => e.disabled, (t) => {
147
- t && (o.value = !1);
148
- });
149
- const {
150
- contentStyles: q,
151
- updateLocation: T
152
- } = ue(e, {
153
- isRtl: _,
154
- contentEl: n,
155
- target: y,
156
- isActive: o
157
- });
158
- me(e, {
159
- root: m,
160
- contentEl: n,
161
- targetEl: D,
162
- target: y,
163
- isActive: o,
164
- updateLocation: T
165
- });
166
- function J(t) {
167
- i("click:outside", t), e.persistent ? g() : o.value = !1;
168
- }
169
- function Q(t) {
170
- return o.value && d.value && // If using scrim, only close if clicking on it rather than anything opened on top
171
- (!e.scrim || t.target === v.value || t instanceof MouseEvent && t.shadowTarget === v.value);
172
- }
173
- Ee(e, {
174
- isActive: o,
175
- localTop: d,
176
- contentEl: n,
177
- activatorEl: l
178
- }), O && p(o, (t) => {
179
- t ? window.addEventListener("keydown", C) : window.removeEventListener("keydown", C);
180
- }, {
181
- immediate: !0
182
- }), oe(() => {
183
- O && window.removeEventListener("keydown", C);
184
- });
185
- function C(t) {
186
- var a, s, u;
187
- t.key === "Escape" && f.value && ((a = n.value) != null && a.contains(document.activeElement) || i("keydown", t), e.persistent ? g() : (o.value = !1, (s = n.value) != null && s.contains(document.activeElement) && ((u = l.value) == null || u.focus())));
188
- }
189
- function X(t) {
190
- t.key === "Escape" && !f.value || i("keydown", t);
191
- }
192
- const Y = Pe();
193
- Re(() => e.closeOnBack, () => {
194
- Te(Y, (t) => {
195
- f.value && o.value ? (t(!1), e.persistent ? g() : o.value = !1) : t();
196
- });
197
- });
198
- const L = k();
199
- p(() => o.value && (e.absolute || e.contained) && w.value == null, (t) => {
200
- if (t) {
201
- const a = Ie(m.value);
202
- a && a !== document.scrollingElement && (L.value = a.scrollTop);
203
- }
204
- });
205
- function g() {
206
- e.noClickAnimation || n.value && Ke(n.value, [{
207
- transformOrigin: "center"
208
- }, {
209
- transform: "scale(1.03)"
210
- }, {
211
- transformOrigin: "center"
212
- }], {
213
- duration: 150,
214
- easing: Ue
215
- });
216
- }
217
- function Z() {
218
- i("afterEnter");
219
- }
220
- function ee() {
221
- F(), i("afterLeave");
222
- }
223
- return Ge(() => {
224
- var t;
225
- return S(ae, null, [(t = r.activator) == null ? void 0 : t.call(r, {
226
- isActive: o.value,
227
- targetRef: K,
228
- props: c({
229
- ref: M
230
- }, G.value, e.activatorProps)
231
- }), W.value && I.value && E(ne, {
232
- disabled: !w.value,
233
- to: w.value
234
- }, {
235
- default: () => [S("div", c({
236
- class: ["v-overlay", {
237
- "v-overlay--absolute": e.absolute || e.contained,
238
- "v-overlay--active": o.value,
239
- "v-overlay--contained": e.contained
240
- }, R.value, N.value, e.class],
241
- style: [z.value, {
242
- "--v-overlay-opacity": e.opacity,
243
- top: Me(L.value)
244
- }, e.style],
245
- ref: m,
246
- onKeydown: X
247
- }, $, b), [E(je, c({
248
- color: x,
249
- modelValue: o.value && !!e.scrim,
250
- ref: v
251
- }, j.value), null), E(_e, {
252
- appear: !0,
253
- persisted: !0,
254
- transition: e.transition,
255
- target: y.value,
256
- onAfterEnter: Z,
257
- onAfterLeave: ee
258
- }, {
259
- default: () => {
260
- var a;
261
- return [re(S("div", c({
262
- ref: n,
263
- class: ["v-overlay__content", e.contentClass],
264
- style: [H.value, q.value]
265
- }, U.value, e.contentProps), [(a = r.default) == null ? void 0 : a.call(r, {
266
- isActive: o
267
- })]), [[le, o.value], [A, {
268
- handler: J,
269
- closeConditional: Q,
270
- include: () => [l.value]
271
- }]])];
272
- }
273
- })])]
274
- })]);
275
- }), {
276
- activatorEl: l,
277
- scrimEl: v,
278
- target: y,
279
- animateClick: g,
280
- contentEl: n,
281
- rootEl: m,
282
- globalTop: f,
283
- localTop: d,
284
- updateLocation: T
285
- };
286
- }
287
- });
288
- export {
289
- Ct as VOverlay,
290
- He as makeVOverlayProps
291
- };