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,292 @@
1
+ import { useToggleScope as oe } from "../../composables/toggleScope.mjs";
2
+ import { ref as U, watch as z, onScopeDispose as ee, computed as X, nextTick as ne } from "vue";
3
+ import { anchorToPoint as Y, getOffset as ae } from "./util/point.mjs";
4
+ import { Box as I, getTargetBox as le, getElementBox as se, getOverflow as G } from "../../util/box.mjs";
5
+ import { isFixedPosition as fe } from "../../util/isFixedPosition.mjs";
6
+ import { parseAnchor as J, flipSide as N, flipAlign as k, flipCorner as K, getAxis as Q } from "../../util/anchor.mjs";
7
+ import { destructComputed as ce, CircularBuffer as ue, convertToUnit as F, clamp as Z } from "../../util/helpers.mjs";
8
+ import { getScrollParents as ve } from "../../util/getScrollParent.mjs";
9
+ import { propsFactory as he } from "../../util/propsFactory.mjs";
10
+ import { IN_BROWSER as me } from "../../util/globals.mjs";
11
+ import { deepEqual as T } from "../../util/deepEqual.mjs";
12
+ import { consoleError as ge } from "../../util/console.mjs";
13
+ import { nullifyTransforms as ye } from "../../util/animation.mjs";
14
+ const te = {
15
+ static: xe,
16
+ // specific viewport position, usually centered
17
+ connected: be
18
+ // connected to a certain element
19
+ }, We = he({
20
+ locationStrategy: {
21
+ type: [String, Function],
22
+ default: "static",
23
+ validator: (e) => typeof e == "function" || e in te
24
+ },
25
+ location: {
26
+ type: String,
27
+ default: "bottom"
28
+ },
29
+ origin: {
30
+ type: String,
31
+ default: "auto"
32
+ },
33
+ offset: [Number, String, Array],
34
+ stickToTarget: Boolean,
35
+ viewportMargin: {
36
+ type: [Number, String],
37
+ default: 12
38
+ }
39
+ }, "VOverlay-location-strategies");
40
+ function ze(e, o) {
41
+ const h = U({}), a = U();
42
+ me && oe(() => !!(o.isActive.value && e.locationStrategy), (m) => {
43
+ var l, R;
44
+ z(() => e.locationStrategy, m), ee(() => {
45
+ window.removeEventListener("resize", E), visualViewport == null || visualViewport.removeEventListener("resize", M), visualViewport == null || visualViewport.removeEventListener("scroll", p), a.value = void 0;
46
+ }), window.addEventListener("resize", E, {
47
+ passive: !0
48
+ }), visualViewport == null || visualViewport.addEventListener("resize", M, {
49
+ passive: !0
50
+ }), visualViewport == null || visualViewport.addEventListener("scroll", p, {
51
+ passive: !0
52
+ }), typeof e.locationStrategy == "function" ? a.value = (l = e.locationStrategy(o, e, h)) == null ? void 0 : l.updateLocation : a.value = (R = te[e.locationStrategy](o, e, h)) == null ? void 0 : R.updateLocation;
53
+ });
54
+ function E(m) {
55
+ var l;
56
+ (l = a.value) == null || l.call(a, m);
57
+ }
58
+ function M(m) {
59
+ var l;
60
+ (l = a.value) == null || l.call(a, m);
61
+ }
62
+ function p(m) {
63
+ var l;
64
+ (l = a.value) == null || l.call(a, m);
65
+ }
66
+ return {
67
+ contentStyles: h,
68
+ updateLocation: a
69
+ };
70
+ }
71
+ function xe() {
72
+ }
73
+ function de(e, o) {
74
+ const h = ye(e);
75
+ return o ? h.x += parseFloat(e.style.right || 0) : h.x -= parseFloat(e.style.left || 0), h.y -= parseFloat(e.style.top || 0), h;
76
+ }
77
+ function be(e, o, h) {
78
+ (Array.isArray(e.target.value) || fe(e.target.value)) && Object.assign(h.value, {
79
+ position: "fixed",
80
+ top: 0,
81
+ [e.isRtl.value ? "right" : "left"]: 0
82
+ });
83
+ const {
84
+ preferredAnchor: E,
85
+ preferredOrigin: M
86
+ } = ce(() => {
87
+ const t = J(o.location, e.isRtl.value), r = o.origin === "overlap" ? t : o.origin === "auto" ? N(t) : J(o.origin, e.isRtl.value);
88
+ return t.side === r.side && t.align === k(r).align ? {
89
+ preferredAnchor: K(t),
90
+ preferredOrigin: K(r)
91
+ } : {
92
+ preferredAnchor: t,
93
+ preferredOrigin: r
94
+ };
95
+ }), [p, m, l, R] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((t) => X(() => {
96
+ const r = parseFloat(o[t]);
97
+ return isNaN(r) ? 1 / 0 : r;
98
+ })), x = X(() => {
99
+ if (Array.isArray(o.offset))
100
+ return o.offset;
101
+ if (typeof o.offset == "string") {
102
+ const t = o.offset.split(" ").map(parseFloat);
103
+ return t.length < 2 && t.push(0), t;
104
+ }
105
+ return typeof o.offset == "number" ? [o.offset, 0] : [0, 0];
106
+ });
107
+ let H = !1, C = -1;
108
+ const L = new ue(4), O = new ResizeObserver(() => {
109
+ if (!H)
110
+ return;
111
+ if (requestAnimationFrame((r) => {
112
+ r !== C && L.clear(), requestAnimationFrame((s) => {
113
+ C = s;
114
+ });
115
+ }), L.isFull) {
116
+ const r = L.values();
117
+ if (T(r.at(-1), r.at(-3)) && !T(r.at(-1), r.at(-2)))
118
+ return;
119
+ }
120
+ const t = w();
121
+ t && L.push(t.flipped);
122
+ });
123
+ let y = new I({
124
+ x: 0,
125
+ y: 0,
126
+ width: 0,
127
+ height: 0
128
+ });
129
+ z(e.target, (t, r) => {
130
+ r && !Array.isArray(r) && O.unobserve(r), Array.isArray(t) ? T(t, r) || w() : t && O.observe(t);
131
+ }, {
132
+ immediate: !0
133
+ }), z(e.contentEl, (t, r) => {
134
+ r && O.unobserve(r), t && O.observe(t);
135
+ }, {
136
+ immediate: !0
137
+ }), ee(() => {
138
+ O.disconnect();
139
+ });
140
+ function w() {
141
+ if (H = !1, requestAnimationFrame(() => H = !0), !e.target.value || !e.contentEl.value)
142
+ return;
143
+ (Array.isArray(e.target.value) || e.target.value.offsetParent || e.target.value.getClientRects().length) && (y = le(e.target.value));
144
+ const t = de(e.contentEl.value, e.isRtl.value), r = ve(e.contentEl.value), s = Number(o.viewportMargin);
145
+ r.length || (r.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (t.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), t.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
146
+ const f = r.reduce((n, c) => {
147
+ const i = se(c);
148
+ return n ? new I({
149
+ x: Math.max(n.left, i.left),
150
+ y: Math.max(n.top, i.top),
151
+ width: Math.min(n.right, i.right) - Math.max(n.left, i.left),
152
+ height: Math.min(n.bottom, i.bottom) - Math.max(n.top, i.top)
153
+ }) : i;
154
+ }, void 0);
155
+ o.stickToTarget ? (f.x += Math.min(s, y.x), f.y += Math.min(s, y.y), f.width = Math.max(f.width - s * 2, y.x + y.width - s), f.height = Math.max(f.height - s * 2, y.y + y.height - s)) : (f.x += s, f.y += s, f.width -= s * 2, f.height -= s * 2);
156
+ let g = {
157
+ anchor: E.value,
158
+ origin: M.value
159
+ };
160
+ function j(n) {
161
+ const c = new I(t), i = Y(n.anchor, y), u = Y(n.origin, c);
162
+ let {
163
+ x: d,
164
+ y: b
165
+ } = ae(i, u);
166
+ switch (n.anchor.side) {
167
+ case "top":
168
+ b -= x.value[0];
169
+ break;
170
+ case "bottom":
171
+ b += x.value[0];
172
+ break;
173
+ case "left":
174
+ d -= x.value[0];
175
+ break;
176
+ case "right":
177
+ d += x.value[0];
178
+ break;
179
+ }
180
+ switch (n.anchor.align) {
181
+ case "top":
182
+ b -= x.value[1];
183
+ break;
184
+ case "bottom":
185
+ b += x.value[1];
186
+ break;
187
+ case "left":
188
+ d -= x.value[1];
189
+ break;
190
+ case "right":
191
+ d += x.value[1];
192
+ break;
193
+ }
194
+ return c.x += d, c.y += b, c.width = Math.min(c.width, l.value), c.height = Math.min(c.height, R.value), {
195
+ overflows: G(c, f),
196
+ x: d,
197
+ y: b
198
+ };
199
+ }
200
+ let A = 0, P = 0;
201
+ const B = {
202
+ x: 0,
203
+ y: 0
204
+ }, V = {
205
+ x: !1,
206
+ y: !1
207
+ };
208
+ let ie = -1;
209
+ for (; ; ) {
210
+ if (ie++ > 10) {
211
+ ge("Infinite loop detected in connectedLocationStrategy");
212
+ break;
213
+ }
214
+ const {
215
+ x: n,
216
+ y: c,
217
+ overflows: i
218
+ } = j(g);
219
+ A += n, P += c, t.x += n, t.y += c;
220
+ {
221
+ const u = Q(g.anchor), d = i.x.before || i.x.after, b = i.y.before || i.y.after;
222
+ let q = !1;
223
+ if (["x", "y"].forEach((v) => {
224
+ if (v === "x" && d && !V.x || v === "y" && b && !V.y) {
225
+ const S = {
226
+ anchor: {
227
+ ...g.anchor
228
+ },
229
+ origin: {
230
+ ...g.origin
231
+ }
232
+ }, D = v === "x" ? u === "y" ? k : N : u === "y" ? N : k;
233
+ S.anchor = D(S.anchor), S.origin = D(S.origin);
234
+ const {
235
+ overflows: W
236
+ } = j(S);
237
+ (W[v].before <= i[v].before && W[v].after <= i[v].after || W[v].before + W[v].after < (i[v].before + i[v].after) / 2) && (g = S, q = V[v] = !0);
238
+ }
239
+ }), q)
240
+ continue;
241
+ }
242
+ i.x.before && (A += i.x.before, t.x += i.x.before), i.x.after && (A -= i.x.after, t.x -= i.x.after), i.y.before && (P += i.y.before, t.y += i.y.before), i.y.after && (P -= i.y.after, t.y -= i.y.after);
243
+ {
244
+ const u = G(t, f);
245
+ B.x = f.width - u.x.before - u.x.after, B.y = f.height - u.y.before - u.y.after, A += u.x.before, t.x += u.x.before, P += u.y.before, t.y += u.y.before;
246
+ }
247
+ break;
248
+ }
249
+ const re = Q(g.anchor);
250
+ return Object.assign(h.value, {
251
+ "--v-overlay-anchor-origin": `${g.anchor.side} ${g.anchor.align}`,
252
+ transformOrigin: `${g.origin.side} ${g.origin.align}`,
253
+ // transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
254
+ top: F($(P)),
255
+ left: e.isRtl.value ? void 0 : F($(A)),
256
+ right: e.isRtl.value ? F($(-A)) : void 0,
257
+ minWidth: F(re === "y" ? Math.min(p.value, y.width) : p.value),
258
+ maxWidth: F(_(Z(B.x, p.value === 1 / 0 ? 0 : p.value, l.value))),
259
+ maxHeight: F(_(Z(B.y, m.value === 1 / 0 ? 0 : m.value, R.value)))
260
+ }), {
261
+ available: B,
262
+ contentBox: t,
263
+ flipped: V
264
+ };
265
+ }
266
+ return z(() => [E.value, M.value, o.offset, o.minWidth, o.minHeight, o.maxWidth, o.maxHeight], () => w()), ne(() => {
267
+ const t = w();
268
+ if (!t)
269
+ return;
270
+ const {
271
+ available: r,
272
+ contentBox: s
273
+ } = t;
274
+ s.height > r.y && requestAnimationFrame(() => {
275
+ w(), requestAnimationFrame(() => {
276
+ w();
277
+ });
278
+ });
279
+ }), {
280
+ updateLocation: w
281
+ };
282
+ }
283
+ function $(e) {
284
+ return Math.round(e * devicePixelRatio) / devicePixelRatio;
285
+ }
286
+ function _(e) {
287
+ return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
288
+ }
289
+ export {
290
+ We as makeLocationStrategyProps,
291
+ ze as useLocationStrategies
292
+ };
@@ -0,0 +1,15 @@
1
+ let n = !0;
2
+ const t = [];
3
+ function f(e) {
4
+ !n || t.length ? (t.push(e), r()) : (n = !1, e(), r());
5
+ }
6
+ let a = -1;
7
+ function r() {
8
+ cancelAnimationFrame(a), a = requestAnimationFrame(() => {
9
+ const e = t.shift();
10
+ e && e(), t.length ? r() : n = !0;
11
+ });
12
+ }
13
+ export {
14
+ f as requestNewFrame
15
+ };
@@ -0,0 +1,91 @@
1
+ import { watchEffect as g, effectScope as P, onScopeDispose as y } from "vue";
2
+ import { requestNewFrame as h } from "./requestNewFrame.mjs";
3
+ import { getScrollParents as v, hasScrollbar as k } from "../../util/getScrollParent.mjs";
4
+ import { propsFactory as E } from "../../util/propsFactory.mjs";
5
+ import { IN_BROWSER as w } from "../../util/globals.mjs";
6
+ import { convertToUnit as m } from "../../util/helpers.mjs";
7
+ const u = {
8
+ none: null,
9
+ close: F,
10
+ block: L,
11
+ reposition: A
12
+ }, W = E({
13
+ scrollStrategy: {
14
+ type: [String, Function],
15
+ default: "block",
16
+ validator: (e) => typeof e == "function" || e in u
17
+ }
18
+ }, "VOverlay-scroll-strategies");
19
+ function V(e, r) {
20
+ if (!w)
21
+ return;
22
+ let t;
23
+ g(async () => {
24
+ t == null || t.stop(), r.isActive.value && e.scrollStrategy && (t = P(), await new Promise((l) => setTimeout(l)), t.active && t.run(() => {
25
+ var l;
26
+ typeof e.scrollStrategy == "function" ? e.scrollStrategy(r, e, t) : (l = u[e.scrollStrategy]) == null || l.call(u, r, e, t);
27
+ }));
28
+ }), y(() => {
29
+ t == null || t.stop();
30
+ });
31
+ }
32
+ function F(e) {
33
+ function r(t) {
34
+ e.isActive.value = !1;
35
+ }
36
+ b(d(e.target.value, e.contentEl.value), r);
37
+ }
38
+ function L(e, r) {
39
+ var c;
40
+ const t = (c = e.root.value) == null ? void 0 : c.offsetParent, l = d(e.target.value, e.contentEl.value), s = [.../* @__PURE__ */ new Set([...v(l, r.contained ? t : void 0), ...v(e.contentEl.value, r.contained ? t : void 0)])].filter((o) => !o.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, n = ((o) => k(o) && o)(t || document.documentElement);
41
+ n && e.root.value.classList.add("v-overlay--scroll-blocked"), s.forEach((o, p) => {
42
+ o.style.setProperty("--v-body-scroll-x", m(-o.scrollLeft)), o.style.setProperty("--v-body-scroll-y", m(-o.scrollTop)), o !== document.documentElement && o.style.setProperty("--v-scrollbar-offset", m(a)), o.classList.add("v-overlay-scroll-blocked");
43
+ }), y(() => {
44
+ s.forEach((o, p) => {
45
+ const i = parseFloat(o.style.getPropertyValue("--v-body-scroll-x")), f = parseFloat(o.style.getPropertyValue("--v-body-scroll-y")), S = o.style.scrollBehavior;
46
+ o.style.scrollBehavior = "auto", o.style.removeProperty("--v-body-scroll-x"), o.style.removeProperty("--v-body-scroll-y"), o.style.removeProperty("--v-scrollbar-offset"), o.classList.remove("v-overlay-scroll-blocked"), o.scrollLeft = -i, o.scrollTop = -f, o.style.scrollBehavior = S;
47
+ }), n && e.root.value.classList.remove("v-overlay--scroll-blocked");
48
+ });
49
+ }
50
+ function A(e, r, t) {
51
+ let l = !1, s = -1, a = -1;
52
+ function n(c) {
53
+ h(() => {
54
+ var i, f;
55
+ const o = performance.now();
56
+ (f = (i = e.updateLocation).value) == null || f.call(i, c), l = (performance.now() - o) / (1e3 / 60) > 2;
57
+ });
58
+ }
59
+ a = (typeof requestIdleCallback > "u" ? (c) => c() : requestIdleCallback)(() => {
60
+ t.run(() => {
61
+ b(d(e.target.value, e.contentEl.value), (c) => {
62
+ l ? (cancelAnimationFrame(s), s = requestAnimationFrame(() => {
63
+ s = requestAnimationFrame(() => {
64
+ n(c);
65
+ });
66
+ })) : n(c);
67
+ });
68
+ });
69
+ }), y(() => {
70
+ typeof cancelIdleCallback < "u" && cancelIdleCallback(a), cancelAnimationFrame(s);
71
+ });
72
+ }
73
+ function d(e, r) {
74
+ return Array.isArray(e) ? document.elementsFromPoint(...e).find((t) => !(r != null && r.contains(t))) : e ?? r;
75
+ }
76
+ function b(e, r) {
77
+ const t = [document, ...v(e)];
78
+ t.forEach((l) => {
79
+ l.addEventListener("scroll", r, {
80
+ passive: !0
81
+ });
82
+ }), y(() => {
83
+ t.forEach((l) => {
84
+ l.removeEventListener("scroll", r);
85
+ });
86
+ });
87
+ }
88
+ export {
89
+ W as makeScrollStrategyProps,
90
+ V as useScrollStrategies
91
+ };
@@ -0,0 +1,179 @@
1
+ import { VMenuSymbol as R } from "../VMenu/shared.mjs";
2
+ import { makeDelayProps as _, useDelay as j } from "../../composables/delay.mjs";
3
+ import { ref as b, computed as m, inject as w, watch as y, watchEffect as x, nextTick as F, effectScope as $, onScopeDispose as H, mergeProps as M } from "vue";
4
+ import { bindProps as I, unbindProps as q } from "../../util/bindProps.mjs";
5
+ import { propsFactory as L } from "../../util/propsFactory.mjs";
6
+ import { getCurrentInstance as W } from "../../util/getCurrentInstance.mjs";
7
+ import { templateRef as A, matchesSelector as X } from "../../util/helpers.mjs";
8
+ import { IN_BROWSER as Y } from "../../util/globals.mjs";
9
+ const te = L({
10
+ target: [String, Object],
11
+ activator: [String, Object],
12
+ activatorProps: {
13
+ type: Object,
14
+ default: () => ({})
15
+ },
16
+ openOnClick: {
17
+ type: Boolean,
18
+ default: void 0
19
+ },
20
+ openOnHover: Boolean,
21
+ openOnFocus: {
22
+ type: Boolean,
23
+ default: void 0
24
+ },
25
+ closeOnContentClick: Boolean,
26
+ ..._()
27
+ }, "VOverlay-activator");
28
+ function ne(t, f) {
29
+ let {
30
+ isActive: o,
31
+ isTop: s,
32
+ contentEl: v
33
+ } = f;
34
+ const u = W("useActivator"), i = b();
35
+ let r = !1, n = !1, a = !0;
36
+ const l = m(() => t.openOnFocus || t.openOnFocus == null && t.openOnHover), B = m(() => t.openOnClick || t.openOnClick == null && !t.openOnHover && !l.value), {
37
+ runOpenDelay: d,
38
+ runCloseDelay: O
39
+ } = j(t, (e) => {
40
+ e === (t.openOnHover && r || l.value && n) && !(t.openOnHover && o.value && !s.value) && (o.value !== e && (a = !0), o.value = e);
41
+ }), E = b(), p = {
42
+ onClick: (e) => {
43
+ e.stopPropagation(), i.value = e.currentTarget || e.target, o.value || (E.value = [e.clientX, e.clientY]), o.value = !o.value;
44
+ },
45
+ onMouseenter: (e) => {
46
+ r = !0, i.value = e.currentTarget || e.target, d();
47
+ },
48
+ onMouseleave: (e) => {
49
+ r = !1, O();
50
+ },
51
+ onFocus: (e) => {
52
+ X(e.target, ":focus-visible") !== !1 && (n = !0, e.stopPropagation(), i.value = e.currentTarget || e.target, d());
53
+ },
54
+ onBlur: (e) => {
55
+ n = !1, e.stopPropagation(), O({
56
+ minDelay: 1
57
+ });
58
+ }
59
+ }, k = m(() => {
60
+ const e = {};
61
+ return B.value && (e.onClick = p.onClick), t.openOnHover && (e.onMouseenter = p.onMouseenter, e.onMouseleave = p.onMouseleave), l.value && (e.onFocus = p.onFocus, e.onBlur = p.onBlur), e;
62
+ }), D = m(() => {
63
+ const e = {};
64
+ if (t.openOnHover && (e.onMouseenter = () => {
65
+ r = !0, d();
66
+ }, e.onMouseleave = () => {
67
+ r = !1, O();
68
+ }), l.value && (e.onFocusin = (c) => {
69
+ c.target.matches(":focus-visible") && (n = !0, d());
70
+ }, e.onFocusout = () => {
71
+ n = !1, O({
72
+ minDelay: 1
73
+ });
74
+ }), t.closeOnContentClick) {
75
+ const c = w(R, null);
76
+ e.onClick = () => {
77
+ o.value = !1, c == null || c.closeParents();
78
+ };
79
+ }
80
+ return e;
81
+ }), S = m(() => {
82
+ const e = {};
83
+ return t.openOnHover && (e.onMouseenter = () => {
84
+ a && (r = !0, a = !1, d());
85
+ }, e.onMouseleave = () => {
86
+ r = !1, O();
87
+ }), e;
88
+ });
89
+ y(s, (e) => {
90
+ var c;
91
+ e && (t.openOnHover && !r && (!l.value || !n) || l.value && !n && (!t.openOnHover || !r)) && !((c = v.value) != null && c.contains(document.activeElement)) && (o.value = !1);
92
+ }), y(o, (e) => {
93
+ e || setTimeout(() => {
94
+ E.value = void 0;
95
+ });
96
+ }, {
97
+ flush: "post"
98
+ });
99
+ const P = A();
100
+ x(() => {
101
+ P.value && F(() => {
102
+ i.value = P.el;
103
+ });
104
+ });
105
+ const C = A(), h = m(() => t.target === "cursor" && E.value ? E.value : C.value ? C.el : T(t.target, u) || i.value), N = m(() => Array.isArray(h.value) ? void 0 : h.value);
106
+ let g;
107
+ return y(() => !!t.activator, (e) => {
108
+ e && Y ? (g = $(), g.run(() => {
109
+ z(t, u, {
110
+ activatorEl: i,
111
+ activatorEvents: k
112
+ });
113
+ })) : g && g.stop();
114
+ }, {
115
+ flush: "post",
116
+ immediate: !0
117
+ }), H(() => {
118
+ g == null || g.stop();
119
+ }), {
120
+ activatorEl: i,
121
+ activatorRef: P,
122
+ target: h,
123
+ targetEl: N,
124
+ targetRef: C,
125
+ activatorEvents: k,
126
+ contentEvents: D,
127
+ scrimEvents: S
128
+ };
129
+ }
130
+ function z(t, f, o) {
131
+ let {
132
+ activatorEl: s,
133
+ activatorEvents: v
134
+ } = o;
135
+ y(() => t.activator, (n, a) => {
136
+ if (a && n !== a) {
137
+ const l = r(a);
138
+ l && i(l);
139
+ }
140
+ n && F(() => u());
141
+ }, {
142
+ immediate: !0
143
+ }), y(() => t.activatorProps, () => {
144
+ u();
145
+ }), H(() => {
146
+ i();
147
+ });
148
+ function u() {
149
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : r(), a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : t.activatorProps;
150
+ n && I(n, M(v.value, a));
151
+ }
152
+ function i() {
153
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : r(), a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : t.activatorProps;
154
+ n && q(n, M(v.value, a));
155
+ }
156
+ function r() {
157
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : t.activator;
158
+ const a = T(n, f);
159
+ return s.value = (a == null ? void 0 : a.nodeType) === Node.ELEMENT_NODE ? a : void 0, s.value;
160
+ }
161
+ }
162
+ function T(t, f) {
163
+ var s, v;
164
+ if (!t)
165
+ return;
166
+ let o;
167
+ if (t === "parent") {
168
+ let u = (v = (s = f == null ? void 0 : f.proxy) == null ? void 0 : s.$el) == null ? void 0 : v.parentNode;
169
+ for (; u != null && u.hasAttribute("data-no-activator"); )
170
+ u = u.parentNode;
171
+ o = u;
172
+ } else
173
+ typeof t == "string" ? o = document.querySelector(t) : "$el" in t ? o = t.$el : o = t;
174
+ return o;
175
+ }
176
+ export {
177
+ te as makeActivatorProps,
178
+ ne as useActivator
179
+ };
@@ -0,0 +1,42 @@
1
+ function h(e, t) {
2
+ return {
3
+ x: e.x + t.x,
4
+ y: e.y + t.y
5
+ };
6
+ }
7
+ function d(e, t) {
8
+ return {
9
+ x: e.x - t.x,
10
+ y: e.y - t.y
11
+ };
12
+ }
13
+ function g(e, t) {
14
+ if (e.side === "top" || e.side === "bottom") {
15
+ const {
16
+ side: n,
17
+ align: i
18
+ } = e, r = i === "left" ? 0 : i === "center" ? t.width / 2 : i === "right" ? t.width : i, s = n === "top" ? 0 : n === "bottom" ? t.height : n;
19
+ return h({
20
+ x: r,
21
+ y: s
22
+ }, t);
23
+ } else if (e.side === "left" || e.side === "right") {
24
+ const {
25
+ side: n,
26
+ align: i
27
+ } = e, r = n === "left" ? 0 : n === "right" ? t.width : n, s = i === "top" ? 0 : i === "center" ? t.height / 2 : i === "bottom" ? t.height : i;
28
+ return h({
29
+ x: r,
30
+ y: s
31
+ }, t);
32
+ }
33
+ return h({
34
+ x: t.width / 2,
35
+ y: t.height / 2
36
+ }, t);
37
+ }
38
+ export {
39
+ g as anchorToPoint,
40
+ h as elementToViewport,
41
+ d as getOffset
42
+ };