bt-core-app 2.2.10 → 2.2.12

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 +5 -2
@@ -0,0 +1,139 @@
1
+ import { makeFocusProps as $ } from "./focus.mjs";
2
+ import { useForm as k } from "./form.mjs";
3
+ import { useProxiedModel as D } from "./proxiedModel.mjs";
4
+ import { useToggleScope as x } from "./toggleScope.mjs";
5
+ import { useId as E, computed as i, ref as N, shallowRef as z, unref as O, onBeforeMount as P, onBeforeUnmount as A, onMounted as C, watch as h, nextTick as F } from "vue";
6
+ import { useRules as T } from "../labs/rules/rules.mjs";
7
+ import { propsFactory as U } from "../util/propsFactory.mjs";
8
+ import { getCurrentInstanceName as j, getCurrentInstance as q } from "../util/getCurrentInstance.mjs";
9
+ import { wrapInArray as M } from "../util/helpers.mjs";
10
+ const _ = U({
11
+ disabled: {
12
+ type: Boolean,
13
+ default: null
14
+ },
15
+ error: Boolean,
16
+ errorMessages: {
17
+ type: [Array, String],
18
+ default: () => []
19
+ },
20
+ maxErrors: {
21
+ type: [Number, String],
22
+ default: 1
23
+ },
24
+ name: String,
25
+ label: String,
26
+ readonly: {
27
+ type: Boolean,
28
+ default: null
29
+ },
30
+ rules: {
31
+ type: Array,
32
+ default: () => []
33
+ },
34
+ modelValue: null,
35
+ validateOn: String,
36
+ validationValue: null,
37
+ ...$()
38
+ }, "validation");
39
+ function ee(a) {
40
+ let f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : j(), S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : E();
41
+ const c = D(a, "modelValue"), d = i(() => a.validationValue === void 0 ? c.value : a.validationValue), l = k(a), I = T(() => a.rules), u = N([]), g = z(!0), V = i(() => !!(M(c.value === "" ? null : c.value).length || M(d.value === "" ? null : d.value).length)), m = i(() => {
42
+ var e;
43
+ return (e = a.errorMessages) != null && e.length ? M(a.errorMessages).concat(u.value).slice(0, Math.max(0, Number(a.maxErrors))) : u.value;
44
+ }), t = i(() => {
45
+ var o;
46
+ let e = (a.validateOn ?? ((o = l.validateOn) == null ? void 0 : o.value)) || "input";
47
+ e === "lazy" && (e = "input lazy"), e === "eager" && (e = "input eager");
48
+ const n = new Set((e == null ? void 0 : e.split(" ")) ?? []);
49
+ return {
50
+ input: n.has("input"),
51
+ blur: n.has("blur") || n.has("input") || n.has("invalid-input"),
52
+ invalidInput: n.has("invalid-input"),
53
+ lazy: n.has("lazy"),
54
+ eager: n.has("eager")
55
+ };
56
+ }), s = i(() => {
57
+ var e;
58
+ return a.error || (e = a.errorMessages) != null && e.length ? !1 : a.rules.length ? g.value ? u.value.length || t.value.lazy ? null : !0 : !u.value.length : !0;
59
+ }), b = z(!1), R = i(() => ({
60
+ [`${f}--error`]: s.value === !1,
61
+ [`${f}--dirty`]: V.value,
62
+ [`${f}--disabled`]: l.isDisabled.value,
63
+ [`${f}--readonly`]: l.isReadonly.value
64
+ })), B = q("validation"), y = i(() => a.name ?? O(S));
65
+ P(() => {
66
+ var e;
67
+ (e = l.register) == null || e.call(l, {
68
+ id: y.value,
69
+ vm: B,
70
+ validate: r,
71
+ reset: p,
72
+ resetValidation: w
73
+ });
74
+ }), A(() => {
75
+ var e;
76
+ (e = l.unregister) == null || e.call(l, y.value);
77
+ }), C(async () => {
78
+ var e;
79
+ t.value.lazy || await r(!t.value.eager), (e = l.update) == null || e.call(l, y.value, s.value, m.value);
80
+ }), x(() => t.value.input || t.value.invalidInput && s.value === !1, () => {
81
+ h(d, () => {
82
+ if (d.value != null)
83
+ r();
84
+ else if (a.focused) {
85
+ const e = h(() => a.focused, (n) => {
86
+ n || r(), e();
87
+ });
88
+ }
89
+ });
90
+ }), x(() => t.value.blur, () => {
91
+ h(() => a.focused, (e) => {
92
+ e || r();
93
+ });
94
+ }), h([s, m], () => {
95
+ var e;
96
+ (e = l.update) == null || e.call(l, y.value, s.value, m.value);
97
+ });
98
+ async function p() {
99
+ c.value = null, await F(), await w();
100
+ }
101
+ async function w() {
102
+ g.value = !0, t.value.lazy ? u.value = [] : await r(!t.value.eager);
103
+ }
104
+ async function r() {
105
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
106
+ const n = [];
107
+ b.value = !0;
108
+ for (const o of I.value) {
109
+ if (n.length >= Number(a.maxErrors ?? 1))
110
+ break;
111
+ const v = await (typeof o == "function" ? o : () => o)(d.value);
112
+ if (v !== !0) {
113
+ if (v !== !1 && typeof v != "string") {
114
+ console.warn(`${v} is not a valid value. Rule functions must return boolean true or a string.`);
115
+ continue;
116
+ }
117
+ n.push(v || "");
118
+ }
119
+ }
120
+ return u.value = n, b.value = !1, g.value = e, u.value;
121
+ }
122
+ return {
123
+ errorMessages: m,
124
+ isDirty: V,
125
+ isDisabled: l.isDisabled,
126
+ isReadonly: l.isReadonly,
127
+ isPristine: g,
128
+ isValid: s,
129
+ isValidating: b,
130
+ reset: p,
131
+ resetValidation: w,
132
+ validate: r,
133
+ validationClasses: R
134
+ };
135
+ }
136
+ export {
137
+ _ as makeValidationProps,
138
+ ee as useValidation
139
+ };
@@ -0,0 +1,53 @@
1
+ import { createElementVNode as n, Fragment as c, normalizeClass as r, toRef as m, toValue as l } from "vue";
2
+ import { useColor as d } from "./color.mjs";
3
+ import { propsFactory as v } from "../util/propsFactory.mjs";
4
+ import { getCurrentInstanceName as f } from "../util/getCurrentInstance.mjs";
5
+ const g = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
6
+ function k(t, e) {
7
+ return n(c, null, [t && n("span", {
8
+ key: "overlay",
9
+ class: r(`${e}__overlay`)
10
+ }, null), n("span", {
11
+ key: "underlay",
12
+ class: r(`${e}__underlay`)
13
+ }, null)]);
14
+ }
15
+ const _ = v({
16
+ color: String,
17
+ variant: {
18
+ type: String,
19
+ default: "elevated",
20
+ validator: (t) => g.includes(t)
21
+ }
22
+ }, "variant");
23
+ function $(t) {
24
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : f();
25
+ const o = m(() => {
26
+ const {
27
+ variant: a
28
+ } = l(t);
29
+ return `${e}--variant-${a}`;
30
+ }), {
31
+ colorClasses: s,
32
+ colorStyles: i
33
+ } = d(() => {
34
+ const {
35
+ variant: a,
36
+ color: u
37
+ } = l(t);
38
+ return {
39
+ [["elevated", "flat"].includes(a) ? "background" : "text"]: u
40
+ };
41
+ });
42
+ return {
43
+ colorClasses: s,
44
+ colorStyles: i,
45
+ variantClasses: o
46
+ };
47
+ }
48
+ export {
49
+ g as allowedVariants,
50
+ k as genOverlays,
51
+ _ as makeVariantProps,
52
+ $ as useVariant
53
+ };
@@ -0,0 +1,164 @@
1
+ import { useDisplay as Y } from "./display.mjs";
2
+ import { useResizeObserver as Z } from "./resizeObserver.mjs";
3
+ import { shallowRef as g, watchEffect as _, ref as q, computed as x, watch as H, onScopeDispose as $, nextTick as ee } from "vue";
4
+ import { clamp as P, getPropertyFromItem as te, debounce as le } from "../util/helpers.mjs";
5
+ import { propsFactory as ne } from "../util/propsFactory.mjs";
6
+ import { IN_BROWSER as oe } from "../util/globals.mjs";
7
+ const ae = -1, re = 1, k = 100, pe = ne({
8
+ itemHeight: {
9
+ type: [Number, String],
10
+ default: null
11
+ },
12
+ itemKey: {
13
+ type: [String, Array, Function],
14
+ default: null
15
+ },
16
+ height: [Number, String]
17
+ }, "virtual");
18
+ function ge(i, l) {
19
+ const s = Y(), o = g(0);
20
+ _(() => {
21
+ o.value = parseFloat(i.itemHeight || 0);
22
+ });
23
+ const a = g(0), r = g(Math.ceil(
24
+ // Assume 16px items filling the entire screen height if
25
+ // not provided. This is probably incorrect but it minimises
26
+ // the chance of ending up with empty space at the bottom.
27
+ // The default value is set here to avoid poisoning getSize()
28
+ (parseInt(i.height) || s.height.value) / (o.value || 16)
29
+ ) || 1), d = g(0), z = g(0), c = q(), p = q();
30
+ let b = 0;
31
+ const {
32
+ resizeRef: B,
33
+ contentRect: K
34
+ } = Z();
35
+ _(() => {
36
+ B.value = c.value;
37
+ });
38
+ const y = x(() => {
39
+ var e;
40
+ return c.value === document.documentElement ? s.height.value : ((e = K.value) == null ? void 0 : e.height) || parseInt(i.height) || 0;
41
+ }), U = x(() => !!(c.value && p.value && y.value && o.value));
42
+ let I = Array.from({
43
+ length: l.value.length
44
+ }), v = Array.from({
45
+ length: l.value.length
46
+ });
47
+ const F = g(0);
48
+ let O = -1;
49
+ function W(e) {
50
+ return I[e] || o.value;
51
+ }
52
+ const R = le(() => {
53
+ const e = performance.now();
54
+ v[0] = 0;
55
+ const t = l.value.length;
56
+ for (let n = 1; n <= t; n++)
57
+ v[n] = (v[n - 1] || 0) + W(n - 1);
58
+ F.value = Math.max(F.value, performance.now() - e);
59
+ }, F), C = H(U, (e) => {
60
+ e && (C(), b = p.value.offsetTop, R.immediate(), m(), ~O && ee(() => {
61
+ oe && window.requestAnimationFrame(() => {
62
+ N(O), O = -1;
63
+ });
64
+ }));
65
+ });
66
+ $(() => {
67
+ R.clear();
68
+ });
69
+ function X(e, t) {
70
+ const n = I[e], u = o.value;
71
+ o.value = u ? Math.min(o.value, t) : t, (n !== t || u !== o.value) && (I[e] = t, R());
72
+ }
73
+ function f(e) {
74
+ e = P(e, 0, l.value.length);
75
+ const t = Math.floor(e), n = e % 1, u = t + 1, T = v[t] || 0, h = v[u] || T;
76
+ return T + (h - T) * n;
77
+ }
78
+ function D(e) {
79
+ return ue(v, e);
80
+ }
81
+ let S = 0, w = 0, A = 0;
82
+ H(y, (e, t) => {
83
+ m(), e < t && requestAnimationFrame(() => {
84
+ w = 0, m();
85
+ });
86
+ });
87
+ let M = -1;
88
+ function j() {
89
+ if (!c.value || !p.value)
90
+ return;
91
+ const e = c.value.scrollTop, t = performance.now();
92
+ t - A > 500 ? (w = Math.sign(e - S), b = p.value.offsetTop) : w = e - S, S = e, A = t, window.clearTimeout(M), M = window.setTimeout(V, 500), m();
93
+ }
94
+ function V() {
95
+ !c.value || !p.value || (w = 0, A = 0, window.clearTimeout(M), m());
96
+ }
97
+ let E = -1;
98
+ function m() {
99
+ cancelAnimationFrame(E), E = requestAnimationFrame(G);
100
+ }
101
+ function G() {
102
+ if (!c.value || !y.value || !o.value)
103
+ return;
104
+ const e = S - b, t = Math.sign(w), n = Math.max(0, e - k), u = P(D(n), 0, l.value.length), T = e + y.value + k, h = P(D(T) + 1, u + 1, l.value.length);
105
+ if (
106
+ // Only update the side we're scrolling towards,
107
+ // the other side will be updated incidentally
108
+ (t !== ae || u < a.value) && (t !== re || h > r.value)
109
+ ) {
110
+ const L = f(a.value) - f(u), Q = f(h) - f(r.value);
111
+ Math.max(L, Q) > k ? (a.value = u, r.value = h) : (u <= 0 && (a.value = u), h >= l.value.length && (r.value = h));
112
+ }
113
+ d.value = f(a.value), z.value = f(l.value.length) - f(r.value);
114
+ }
115
+ function N(e) {
116
+ const t = f(e);
117
+ !c.value || e && !t ? O = e : c.value.scrollTop = t;
118
+ }
119
+ const J = x(() => l.value.slice(a.value, r.value).map((e, t) => {
120
+ const n = t + a.value;
121
+ return {
122
+ raw: e,
123
+ index: n,
124
+ key: te(e, i.itemKey, n)
125
+ };
126
+ }));
127
+ return H(l, () => {
128
+ I = Array.from({
129
+ length: l.value.length
130
+ }), v = Array.from({
131
+ length: l.value.length
132
+ }), R.immediate(), m();
133
+ }, {
134
+ deep: 1
135
+ }), {
136
+ calculateVisibleItems: m,
137
+ containerRef: c,
138
+ markerRef: p,
139
+ computedItems: J,
140
+ paddingTop: d,
141
+ paddingBottom: z,
142
+ scrollToIndex: N,
143
+ handleScroll: j,
144
+ handleScrollend: V,
145
+ handleItemResize: X
146
+ };
147
+ }
148
+ function ue(i, l) {
149
+ let s = i.length - 1, o = 0, a = 0, r = null, d = -1;
150
+ if (i[s] < l)
151
+ return s;
152
+ for (; o <= s; )
153
+ if (a = o + s >> 1, r = i[a], r > l)
154
+ s = a - 1;
155
+ else if (r < l)
156
+ d = a, o = a + 1;
157
+ else
158
+ return r === l ? a : o;
159
+ return d;
160
+ }
161
+ export {
162
+ pe as makeVirtualProps,
163
+ ge as useVirtual
164
+ };
@@ -0,0 +1,62 @@
1
+ import { attachedRoot as i } from "../../util/dom.mjs";
2
+ function r() {
3
+ return !0;
4
+ }
5
+ function a(t, o, e) {
6
+ if (!t || d(t, e) === !1)
7
+ return !1;
8
+ const c = i(o);
9
+ if (typeof ShadowRoot < "u" && c instanceof ShadowRoot && c.host === t.target)
10
+ return !1;
11
+ const s = (typeof e.value == "object" && e.value.include || (() => []))();
12
+ return s.push(o), !s.some((u) => u == null ? void 0 : u.contains(t.target));
13
+ }
14
+ function d(t, o) {
15
+ return (typeof o.value == "object" && o.value.closeConditional || r)(t);
16
+ }
17
+ function f(t, o, e) {
18
+ const c = typeof e.value == "function" ? e.value : e.value.handler;
19
+ t.shadowTarget = t.target, o._clickOutside.lastMousedownWasOutside && a(t, o, e) && setTimeout(() => {
20
+ d(t, e) && c && c(t);
21
+ }, 0);
22
+ }
23
+ function n(t, o) {
24
+ const e = i(t);
25
+ o(document), typeof ShadowRoot < "u" && e instanceof ShadowRoot && o(e);
26
+ }
27
+ const l = {
28
+ // [data-app] may not be found
29
+ // if using bind, inserted makes
30
+ // sure that the root element is
31
+ // available, iOS does not support
32
+ // clicks on body
33
+ mounted(t, o) {
34
+ const e = (s) => f(s, t, o), c = (s) => {
35
+ t._clickOutside.lastMousedownWasOutside = a(s, t, o);
36
+ };
37
+ n(t, (s) => {
38
+ s.addEventListener("click", e, !0), s.addEventListener("mousedown", c, !0);
39
+ }), t._clickOutside || (t._clickOutside = {
40
+ lastMousedownWasOutside: !1
41
+ }), t._clickOutside[o.instance.$.uid] = {
42
+ onClick: e,
43
+ onMousedown: c
44
+ };
45
+ },
46
+ beforeUnmount(t, o) {
47
+ t._clickOutside && (n(t, (e) => {
48
+ var u;
49
+ if (!e || !((u = t._clickOutside) != null && u[o.instance.$.uid]))
50
+ return;
51
+ const {
52
+ onClick: c,
53
+ onMousedown: s
54
+ } = t._clickOutside[o.instance.$.uid];
55
+ e.removeEventListener("click", c, !0), e.removeEventListener("mousedown", s, !0);
56
+ }), delete t._clickOutside[o.instance.$.uid]);
57
+ }
58
+ }, k = l;
59
+ export {
60
+ l as ClickOutside,
61
+ k as default
62
+ };
@@ -0,0 +1,41 @@
1
+ import { SUPPORTS_INTERSECTION as _ } from "../../util/globals.mjs";
2
+ function f(e, t) {
3
+ if (!_)
4
+ return;
5
+ const s = t.modifiers || {}, n = t.value, {
6
+ handler: u,
7
+ options: d
8
+ } = typeof n == "object" ? n : {
9
+ handler: n,
10
+ options: {}
11
+ }, c = new IntersectionObserver(function() {
12
+ var v;
13
+ let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], m = arguments.length > 1 ? arguments[1] : void 0;
14
+ const r = (v = e._observe) == null ? void 0 : v[t.instance.$.uid];
15
+ if (!r)
16
+ return;
17
+ const o = a.some((b) => b.isIntersecting);
18
+ u && (!s.quiet || r.init) && (!s.once || o || r.init) && u(o, a, m), o && s.once ? i(e, t) : r.init = !0;
19
+ }, d);
20
+ e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
21
+ init: !1,
22
+ observer: c
23
+ }, c.observe(e);
24
+ }
25
+ function i(e, t) {
26
+ var n;
27
+ const s = (n = e._observe) == null ? void 0 : n[t.instance.$.uid];
28
+ s && (s.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
29
+ }
30
+ const I = {
31
+ mounted: f,
32
+ unmounted: i,
33
+ updated: (e, t) => {
34
+ var s;
35
+ (s = e._observe) != null && s[t.instance.$.uid] && (i(e, t), f(e, t));
36
+ }
37
+ }, $ = I;
38
+ export {
39
+ I as Intersect,
40
+ $ as default
41
+ };
@@ -0,0 +1,183 @@
1
+ import "../../../../../../../_virtual/VRipple.sass.mjs";
2
+ import { isObject as R } from "../../util/helpers.mjs";
3
+ const E = Symbol("rippleStop"), S = 80;
4
+ function y(e, t) {
5
+ e.style.transform = t, e.style.webkitTransform = t;
6
+ }
7
+ function L(e) {
8
+ return e.constructor.name === "TouchEvent";
9
+ }
10
+ function T(e) {
11
+ return e.constructor.name === "KeyboardEvent";
12
+ }
13
+ const x = function(e, t) {
14
+ var u;
15
+ let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = 0, r = 0;
16
+ if (!T(e)) {
17
+ const d = t.getBoundingClientRect(), l = L(e) ? e.touches[e.touches.length - 1] : e;
18
+ s = l.clientX - d.left, r = l.clientY - d.top;
19
+ }
20
+ let n = 0, o = 0.3;
21
+ (u = t._ripple) != null && u.circle ? (o = 0.15, n = t.clientWidth / 2, n = i.center ? n : n + Math.sqrt((s - n) ** 2 + (r - n) ** 2) / 4) : n = Math.sqrt(t.clientWidth ** 2 + t.clientHeight ** 2) / 2;
22
+ const p = `${(t.clientWidth - n * 2) / 2}px`, c = `${(t.clientHeight - n * 2) / 2}px`, _ = i.center ? p : `${s - n}px`, w = i.center ? c : `${r - n}px`;
23
+ return {
24
+ radius: n,
25
+ scale: o,
26
+ x: _,
27
+ y: w,
28
+ centerX: p,
29
+ centerY: c
30
+ };
31
+ }, f = {
32
+ /* eslint-disable max-statements */
33
+ show(e, t) {
34
+ var l;
35
+ let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
36
+ if (!((l = t == null ? void 0 : t._ripple) != null && l.enabled))
37
+ return;
38
+ const s = document.createElement("span"), r = document.createElement("span");
39
+ s.appendChild(r), s.className = "v-ripple__container", i.class && (s.className += ` ${i.class}`);
40
+ const {
41
+ radius: n,
42
+ scale: o,
43
+ x: p,
44
+ y: c,
45
+ centerX: _,
46
+ centerY: w
47
+ } = x(e, t, i), u = `${n * 2}px`;
48
+ r.className = "v-ripple__animation", r.style.width = u, r.style.height = u, t.appendChild(s);
49
+ const d = window.getComputedStyle(t);
50
+ d && d.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), r.classList.add("v-ripple__animation--enter"), r.classList.add("v-ripple__animation--visible"), y(r, `translate(${p}, ${c}) scale3d(${o},${o},${o})`), r.dataset.activated = String(performance.now()), requestAnimationFrame(() => {
51
+ requestAnimationFrame(() => {
52
+ r.classList.remove("v-ripple__animation--enter"), r.classList.add("v-ripple__animation--in"), y(r, `translate(${_}, ${w}) scale3d(1,1,1)`);
53
+ });
54
+ });
55
+ },
56
+ hide(e) {
57
+ var n;
58
+ if (!((n = e == null ? void 0 : e._ripple) != null && n.enabled))
59
+ return;
60
+ const t = e.getElementsByClassName("v-ripple__animation");
61
+ if (t.length === 0)
62
+ return;
63
+ const i = Array.from(t).findLast((o) => !o.dataset.isHiding);
64
+ if (i)
65
+ i.dataset.isHiding = "true";
66
+ else
67
+ return;
68
+ const s = performance.now() - Number(i.dataset.activated), r = Math.max(250 - s, 0);
69
+ setTimeout(() => {
70
+ i.classList.remove("v-ripple__animation--in"), i.classList.add("v-ripple__animation--out"), setTimeout(() => {
71
+ var p;
72
+ e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((p = i.parentNode) == null ? void 0 : p.parentNode) === e && e.removeChild(i.parentNode);
73
+ }, 300);
74
+ }, r);
75
+ }
76
+ };
77
+ function g(e) {
78
+ return typeof e > "u" || !!e;
79
+ }
80
+ function m(e) {
81
+ const t = {}, i = e.currentTarget;
82
+ if (!(!(i != null && i._ripple) || i._ripple.touched || e[E])) {
83
+ if (e[E] = !0, L(e))
84
+ i._ripple.touched = !0, i._ripple.isTouch = !0;
85
+ else if (i._ripple.isTouch)
86
+ return;
87
+ if (t.center = i._ripple.centered || T(e), i._ripple.class && (t.class = i._ripple.class), L(e)) {
88
+ if (i._ripple.showTimerCommit)
89
+ return;
90
+ i._ripple.showTimerCommit = () => {
91
+ f.show(e, i, t);
92
+ }, i._ripple.showTimer = window.setTimeout(() => {
93
+ var s;
94
+ (s = i == null ? void 0 : i._ripple) != null && s.showTimerCommit && (i._ripple.showTimerCommit(), i._ripple.showTimerCommit = null);
95
+ }, S);
96
+ } else
97
+ f.show(e, i, t);
98
+ }
99
+ }
100
+ function h(e) {
101
+ e[E] = !0;
102
+ }
103
+ function a(e) {
104
+ const t = e.currentTarget;
105
+ if (t != null && t._ripple) {
106
+ if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) {
107
+ t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, t._ripple.showTimer = window.setTimeout(() => {
108
+ a(e);
109
+ });
110
+ return;
111
+ }
112
+ window.setTimeout(() => {
113
+ t._ripple && (t._ripple.touched = !1);
114
+ }), f.hide(t);
115
+ }
116
+ }
117
+ function C(e) {
118
+ const t = e.currentTarget;
119
+ t != null && t._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer));
120
+ }
121
+ let v = !1;
122
+ function N(e, t) {
123
+ !v && t.includes(e.key) && (v = !0, m(e));
124
+ }
125
+ function b(e) {
126
+ v = !1, a(e);
127
+ }
128
+ function k(e) {
129
+ v && (v = !1, a(e));
130
+ }
131
+ function $(e, t, i) {
132
+ const {
133
+ value: s,
134
+ modifiers: r
135
+ } = t, n = g(s);
136
+ n || f.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = n, e._ripple.centered = r.center, e._ripple.circle = r.circle;
137
+ const o = R(s) ? s : {};
138
+ o.class && (e._ripple.class = o.class);
139
+ const p = o.keys ?? ["Enter", "Space"];
140
+ if (e._ripple.keyDownHandler = (c) => N(c, p), n && !i) {
141
+ if (r.stop) {
142
+ e.addEventListener("touchstart", h, {
143
+ passive: !0
144
+ }), e.addEventListener("mousedown", h);
145
+ return;
146
+ }
147
+ e.addEventListener("touchstart", m, {
148
+ passive: !0
149
+ }), e.addEventListener("touchend", a, {
150
+ passive: !0
151
+ }), e.addEventListener("touchmove", C, {
152
+ passive: !0
153
+ }), e.addEventListener("touchcancel", a), e.addEventListener("mousedown", m), e.addEventListener("mouseup", a), e.addEventListener("mouseleave", a), e.addEventListener("keydown", e._ripple.keyDownHandler), e.addEventListener("keyup", b), e.addEventListener("blur", k), e.addEventListener("dragstart", a, {
154
+ passive: !0
155
+ });
156
+ } else
157
+ !n && i && H(e);
158
+ }
159
+ function H(e) {
160
+ var t;
161
+ e.removeEventListener("touchstart", h), e.removeEventListener("mousedown", h), e.removeEventListener("touchstart", m), e.removeEventListener("touchend", a), e.removeEventListener("touchmove", C), e.removeEventListener("touchcancel", a), e.removeEventListener("mousedown", m), e.removeEventListener("mouseup", a), e.removeEventListener("mouseleave", a), (t = e._ripple) != null && t.keyDownHandler && e.removeEventListener("keydown", e._ripple.keyDownHandler), e.removeEventListener("keyup", b), e.removeEventListener("blur", k), e.removeEventListener("dragstart", a);
162
+ }
163
+ function P(e, t) {
164
+ $(e, t, !1);
165
+ }
166
+ function D(e) {
167
+ H(e), delete e._ripple;
168
+ }
169
+ function Y(e, t) {
170
+ if (t.value === t.oldValue)
171
+ return;
172
+ const i = g(t.oldValue);
173
+ $(e, t, i);
174
+ }
175
+ const q = {
176
+ mounted: P,
177
+ unmounted: D,
178
+ updated: Y
179
+ }, B = q;
180
+ export {
181
+ q as Ripple,
182
+ B as default
183
+ };