bt-core-app 2.2.9 → 2.2.10

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