bt-core-app 2.2.10 → 2.2.11

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 (294) hide show
  1. package/dist/_virtual/VAlert.sass.mjs +1 -0
  2. package/dist/_virtual/VAvatar.sass.mjs +1 -0
  3. package/dist/_virtual/VBtn.sass.mjs +1 -0
  4. package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
  5. package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
  6. package/dist/_virtual/VCard.sass.mjs +1 -0
  7. package/dist/_virtual/VCheckbox.sass.mjs +1 -0
  8. package/dist/_virtual/VChip.sass.mjs +1 -0
  9. package/dist/_virtual/VChipGroup.sass.mjs +1 -0
  10. package/dist/_virtual/VColorPicker.sass.mjs +1 -0
  11. package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
  12. package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
  13. package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
  14. package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
  15. package/dist/_virtual/VCombobox.sass.mjs +1 -0
  16. package/dist/_virtual/VContainer.sass.mjs +1 -0
  17. package/dist/_virtual/VCounter.sass.mjs +1 -0
  18. package/dist/_virtual/VDialog.sass.mjs +1 -0
  19. package/dist/_virtual/VDivider.sass.mjs +1 -0
  20. package/dist/_virtual/VField.sass.mjs +1 -0
  21. package/dist/_virtual/VGrid.sass.mjs +1 -0
  22. package/dist/_virtual/VIcon.sass.mjs +1 -0
  23. package/dist/_virtual/VImg.sass.mjs +1 -0
  24. package/dist/_virtual/VInput.sass.mjs +1 -0
  25. package/dist/_virtual/VLabel.sass.mjs +1 -0
  26. package/dist/_virtual/VList.sass.mjs +1 -0
  27. package/dist/_virtual/VListItem.sass.mjs +1 -0
  28. package/dist/_virtual/VMenu.sass.mjs +1 -0
  29. package/dist/_virtual/VMessages.sass.mjs +1 -0
  30. package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
  31. package/dist/_virtual/VOverlay.sass.mjs +1 -0
  32. package/dist/_virtual/VPagination.sass.mjs +1 -0
  33. package/dist/_virtual/VPicker.sass.mjs +1 -0
  34. package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
  35. package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
  36. package/dist/_virtual/VRating.sass.mjs +1 -0
  37. package/dist/_virtual/VResponsive.sass.mjs +1 -0
  38. package/dist/_virtual/VRipple.sass.mjs +1 -0
  39. package/dist/_virtual/VSelect.sass.mjs +1 -0
  40. package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
  41. package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
  42. package/dist/_virtual/VSheet.sass.mjs +1 -0
  43. package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
  44. package/dist/_virtual/VSlider.sass.mjs +1 -0
  45. package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
  46. package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
  47. package/dist/_virtual/VSpacer.sass.mjs +1 -0
  48. package/dist/_virtual/VSwitch.sass.mjs +1 -0
  49. package/dist/_virtual/VTab.sass.mjs +1 -0
  50. package/dist/_virtual/VTable.sass.mjs +1 -0
  51. package/dist/_virtual/VTabs.sass.mjs +1 -0
  52. package/dist/_virtual/VTextField.sass.mjs +1 -0
  53. package/dist/_virtual/VTextarea.sass.mjs +1 -0
  54. package/dist/_virtual/VToolbar.sass.mjs +1 -0
  55. package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
  56. package/dist/_virtual/VWindow.sass.mjs +1 -0
  57. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
  58. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
  59. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
  60. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
  61. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
  62. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
  63. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
  64. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
  65. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
  66. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
  67. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
  68. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
  69. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
  70. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
  71. package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
  72. package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
  73. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
  74. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
  75. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
  76. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
  77. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
  78. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
  79. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
  80. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
  81. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
  82. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
  83. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
  84. package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
  85. package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
  86. package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
  87. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
  88. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
  89. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
  90. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
  91. package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
  92. package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
  93. package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
  94. package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
  95. package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
  96. package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
  97. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
  98. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
  99. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
  100. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
  101. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
  102. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
  103. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
  104. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
  105. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
  106. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
  107. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
  108. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
  109. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
  110. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
  111. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
  112. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
  113. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
  114. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
  115. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
  116. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
  117. package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
  118. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
  119. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
  120. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
  121. package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
  122. package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
  123. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
  124. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
  125. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
  126. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
  127. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
  128. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
  129. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
  130. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
  131. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
  132. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
  133. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
  134. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
  135. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
  136. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
  137. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
  138. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
  139. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
  140. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
  141. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
  142. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
  143. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
  144. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
  145. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
  146. package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
  147. package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
  148. package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
  149. package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
  150. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
  151. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
  152. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
  153. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +22 -0
  154. package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
  155. package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
  156. package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
  157. package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
  158. package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
  159. package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
  160. package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
  161. package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
  162. package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
  163. package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +32 -0
  164. package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
  165. package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
  166. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
  167. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
  168. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
  169. package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
  170. package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
  171. package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
  172. package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
  173. package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
  174. package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
  175. package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
  176. package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
  177. package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
  178. package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
  179. package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +120 -0
  180. package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
  181. package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
  182. package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
  183. package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
  184. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
  185. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
  186. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
  187. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
  188. package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
  189. package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
  190. package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
  191. package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
  192. package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
  193. package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
  194. package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
  195. package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
  196. package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
  197. package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
  198. package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
  199. package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
  200. package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
  201. package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
  202. package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
  203. package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
  204. package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
  205. package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
  206. package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
  207. package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
  208. package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
  209. package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
  210. package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
  211. package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
  212. package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
  213. package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
  214. package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
  215. package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
  216. package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
  217. package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
  218. package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
  219. package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
  220. package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
  221. package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
  222. package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +224 -0
  223. package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
  224. package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
  225. package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
  226. package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
  227. package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +23 -0
  228. package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
  229. package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
  230. package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +8 -0
  231. package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +408 -28
  232. package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
  233. package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
  234. package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
  235. package/dist/components/BT-Assistant-Menu.vue.mjs +420 -407
  236. package/dist/components/BT-Avatar.vue.mjs +31 -31
  237. package/dist/components/BT-Background-Task.vue.mjs +52 -52
  238. package/dist/components/BT-Blade-Item.vue.mjs +110 -100
  239. package/dist/components/BT-Blade-Items.vue.mjs +1 -1
  240. package/dist/components/BT-Blade-Items.vue2.mjs +411 -399
  241. package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
  242. package/dist/components/BT-Blade-Steps.vue2.mjs +641 -626
  243. package/dist/components/BT-Blade.vue.mjs +201 -192
  244. package/dist/components/BT-Btn.vue.mjs +23 -25
  245. package/dist/components/BT-Camera-Overlay.vue.mjs +144 -142
  246. package/dist/components/BT-Col.vue.mjs +17 -19
  247. package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
  248. package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
  249. package/dist/components/BT-Cron.vue.mjs +264 -249
  250. package/dist/components/BT-Date-Select.vue.mjs +46 -47
  251. package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
  252. package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
  253. package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
  254. package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
  255. package/dist/components/BT-Dialog-Select.vue.mjs +96 -85
  256. package/dist/components/BT-Divider.vue.mjs +20 -21
  257. package/dist/components/BT-Drag-Counter.vue.mjs +1 -1
  258. package/dist/components/BT-Drag-Counter.vue2.mjs +89 -89
  259. package/dist/components/BT-Entity.vue.mjs +82 -82
  260. package/dist/components/BT-Error.vue.mjs +26 -27
  261. package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
  262. package/dist/components/BT-Field-Date.vue.mjs +87 -84
  263. package/dist/components/BT-Field-Entity.vue.mjs +20 -16
  264. package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
  265. package/dist/components/BT-Field-Select.vue.mjs +32 -34
  266. package/dist/components/BT-Field-String.vue.mjs +54 -52
  267. package/dist/components/BT-Field-Switch.vue.mjs +44 -43
  268. package/dist/components/BT-Field-Tags.vue.mjs +57 -55
  269. package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
  270. package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
  271. package/dist/components/BT-Field.vue.mjs +39 -38
  272. package/dist/components/BT-Form-Builder.vue.mjs +346 -325
  273. package/dist/components/BT-Form-Field.vue.mjs +88 -81
  274. package/dist/components/BT-Form.vue.mjs +280 -269
  275. package/dist/components/BT-Header-Option.vue.mjs +21 -19
  276. package/dist/components/BT-Image-Select.vue.mjs +186 -177
  277. package/dist/components/BT-Json.vue.mjs +29 -30
  278. package/dist/components/BT-Loader.vue.mjs +32 -31
  279. package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
  280. package/dist/components/BT-Number.vue.mjs +1 -1
  281. package/dist/components/BT-Number.vue2.mjs +17 -19
  282. package/dist/components/BT-Numpad.vue.mjs +147 -144
  283. package/dist/components/BT-Select-List-Box.vue.mjs +287 -276
  284. package/dist/components/BT-Select-Simple.vue.mjs +21 -23
  285. package/dist/components/BT-Select.vue.mjs +36 -37
  286. package/dist/components/BT-Signature-Overlay.vue.mjs +113 -112
  287. package/dist/components/BT-Signature.vue.mjs +96 -96
  288. package/dist/components/BT-Slider.vue.mjs +109 -103
  289. package/dist/components/BT-Square-Check.vue.mjs +65 -65
  290. package/dist/components/BT-Status-Item.vue.mjs +18 -16
  291. package/dist/components/BT-Tags.vue.mjs +21 -22
  292. package/dist/components/BT-Tour.vue.mjs +69 -65
  293. package/dist/style.css +1 -1
  294. package/package.json +1 -1
@@ -0,0 +1,247 @@
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
+ };
@@ -0,0 +1,44 @@
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
+ };
@@ -0,0 +1,100 @@
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
+ };
@@ -0,0 +1,291 @@
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
+ };