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,54 +0,0 @@
1
- import { toValue as f } from "vue";
2
- import { focusableChildren as G } from "../util/helpers.mjs";
3
- function x(l) {
4
- let {
5
- groups: r,
6
- onLeave: p
7
- } = l;
8
- function d(n) {
9
- var o;
10
- return n.type === "list" ? (o = n.contentRef.value) == null ? void 0 : o.$el : n.contentRef.value;
11
- }
12
- function g(n) {
13
- const o = d(n);
14
- return o ? G(o) : [];
15
- }
16
- function m(n) {
17
- var c;
18
- const o = n.target, s = n.shiftKey ? "backward" : "forward", i = r.map(g), a = r.map((t) => {
19
- var e;
20
- return t.type === "list" ? (e = t.contentRef.value) == null ? void 0 : e.$el : t.contentRef.value;
21
- }).findIndex((t) => t == null ? void 0 : t.contains(o)), u = y(i, a, s, o);
22
- if (u === null) {
23
- const t = r[a], e = i[a];
24
- (t.type === "list" || (s === "forward" ? e.at(-1) === n.target : e.at(0) === n.target)) && p();
25
- } else {
26
- n.preventDefault(), n.stopImmediatePropagation();
27
- const t = r[u];
28
- if (t.type === "list" && f(t.displayItemsCount) > 0)
29
- (c = t.contentRef.value) == null || c.focus(0);
30
- else {
31
- const e = s === "forward";
32
- i[u].at(e ? 0 : -1).focus();
33
- }
34
- }
35
- }
36
- function y(n, o, s, i) {
37
- const a = r[o], u = n[o];
38
- if (a.type !== "list" && !(s === "forward" ? u.at(-1) === i : u.at(0) === i))
39
- return null;
40
- const c = s === "forward" ? 1 : -1;
41
- for (let t = o + c; t >= 0 && t < r.length; t += c) {
42
- const e = r[t];
43
- if (n[t].length > 0 || e.type === "list" && f(e.displayItemsCount) > 0)
44
- return t;
45
- }
46
- return null;
47
- }
48
- return {
49
- onTabKeydown: m
50
- };
51
- }
52
- export {
53
- x as useFocusGroups
54
- };
@@ -1,97 +0,0 @@
1
- import { toRef as h, watch as L, onScopeDispose as k, nextTick as g, toValue as F } from "vue";
2
- import { propsFactory as K } from "../util/propsFactory.mjs";
3
- import { IN_BROWSER as D } from "../util/globals.mjs";
4
- import { focusableChildren as E } from "../util/helpers.mjs";
5
- const O = K({
6
- retainFocus: Boolean,
7
- captureFocus: Boolean,
8
- /** @deprecated */
9
- disableInitialFocus: Boolean
10
- }, "focusTrap"), y = /* @__PURE__ */ new Map();
11
- let b = 0;
12
- function T(n) {
13
- const f = document.activeElement;
14
- if (n.key !== "Tab" || !f)
15
- return;
16
- const c = Array.from(y.values()).filter((o) => {
17
- var v;
18
- let {
19
- isActive: d,
20
- contentEl: i
21
- } = o;
22
- return d.value && ((v = i.value) == null ? void 0 : v.contains(f));
23
- }).map((o) => o.contentEl.value);
24
- let m, u = f.parentElement;
25
- for (; u; ) {
26
- if (c.includes(u)) {
27
- m = u;
28
- break;
29
- }
30
- u = u.parentElement;
31
- }
32
- if (!m)
33
- return;
34
- const e = E(m).filter((o) => o.tabIndex >= 0);
35
- if (!e.length)
36
- return;
37
- const s = document.activeElement;
38
- if (e.length === 1 && e[0].classList.contains("v-list") && e[0].contains(s)) {
39
- n.preventDefault();
40
- return;
41
- }
42
- const a = e[0], r = e[e.length - 1];
43
- n.shiftKey && (s === a || a.classList.contains("v-list") && a.contains(s)) && (n.preventDefault(), r.focus()), !n.shiftKey && (s === r || r.classList.contains("v-list") && r.contains(s)) && (n.preventDefault(), a.focus());
44
- }
45
- function P(n, f) {
46
- let {
47
- isActive: c,
48
- localTop: m,
49
- activatorEl: u,
50
- contentEl: e
51
- } = f;
52
- const s = Symbol("trap");
53
- let a = !1, r = -1;
54
- async function o() {
55
- a = !0, r = window.setTimeout(() => {
56
- a = !1;
57
- }, 100);
58
- }
59
- async function d(t) {
60
- var w;
61
- const p = t.relatedTarget, l = t.target;
62
- document.removeEventListener("pointerdown", o), document.removeEventListener("keydown", i), await g(), c.value && !a && p !== l && e.value && // We're the menu without open submenus or overlays
63
- F(m) && // It isn't the document or the container body
64
- ![document, e.value].includes(l) && // It isn't inside the container body
65
- !e.value.contains(l) && ((w = E(e.value)[0]) == null || w.focus());
66
- }
67
- function i(t) {
68
- if (t.key === "Tab" && (document.removeEventListener("keydown", i), c.value && e.value && t.target && !e.value.contains(t.target))) {
69
- const p = E(document.documentElement);
70
- if (t.shiftKey && t.target === p.at(0) || !t.shiftKey && t.target === p.at(-1)) {
71
- const l = E(e.value);
72
- l.length > 0 && (t.preventDefault(), l[0].focus());
73
- }
74
- }
75
- }
76
- const v = h(() => c.value && n.captureFocus && !n.disableInitialFocus);
77
- D && (L(() => n.retainFocus, (t) => {
78
- t ? y.set(s, {
79
- isActive: c,
80
- contentEl: e
81
- }) : y.delete(s);
82
- }, {
83
- immediate: !0
84
- }), L(v, (t) => {
85
- t ? (document.addEventListener("pointerdown", o), document.addEventListener("focusin", d, {
86
- once: !0
87
- }), document.addEventListener("keydown", i)) : (document.removeEventListener("pointerdown", o), document.removeEventListener("focusin", d), document.removeEventListener("keydown", i));
88
- }, {
89
- immediate: !0
90
- }), b++ < 1 && document.addEventListener("keydown", T)), k(() => {
91
- y.delete(s), clearTimeout(r), document.removeEventListener("pointerdown", o), document.removeEventListener("focusin", d), document.removeEventListener("keydown", i), --b < 1 && document.removeEventListener("keydown", T);
92
- });
93
- }
94
- export {
95
- O as makeFocusTrapProps,
96
- P as useFocusTrap
97
- };
@@ -1,112 +0,0 @@
1
- import { useProxiedModel as M } from "./proxiedModel.mjs";
2
- import { toRef as d, shallowRef as R, ref as c, watch as w, provide as B, markRaw as D, inject as k, computed as m } from "vue";
3
- import { propsFactory as E } from "../util/propsFactory.mjs";
4
- import { consoleWarn as O } from "../util/console.mjs";
5
- const y = Symbol.for("vuetify:form"), K = E({
6
- disabled: Boolean,
7
- fastFail: Boolean,
8
- readonly: Boolean,
9
- modelValue: {
10
- type: Boolean,
11
- default: null
12
- },
13
- validateOn: {
14
- type: String,
15
- default: "input"
16
- }
17
- }, "form");
18
- function W(i) {
19
- const s = M(i, "modelValue"), f = d(() => i.disabled), v = d(() => i.readonly), n = R(!1), l = c([]), o = c([]);
20
- async function g() {
21
- const e = [];
22
- let a = !0;
23
- o.value = [], n.value = !0;
24
- for (const r of l.value) {
25
- const t = await r.validate();
26
- if (t.length > 0 && (a = !1, e.push({
27
- id: r.id,
28
- errorMessages: t
29
- })), !a && i.fastFail)
30
- break;
31
- }
32
- return o.value = e, n.value = !1, {
33
- valid: a,
34
- errors: o.value
35
- };
36
- }
37
- function V() {
38
- l.value.forEach((e) => e.reset());
39
- }
40
- function h() {
41
- l.value.forEach((e) => e.resetValidation());
42
- }
43
- return w(l, () => {
44
- let e = 0, a = 0;
45
- const r = [];
46
- for (const t of l.value)
47
- t.isValid === !1 ? (a++, r.push({
48
- id: t.id,
49
- errorMessages: t.errorMessages
50
- })) : t.isValid === !0 && e++;
51
- o.value = r, s.value = a > 0 ? !1 : e === l.value.length ? !0 : null;
52
- }, {
53
- deep: !0,
54
- flush: "post"
55
- }), B(y, {
56
- register: (e) => {
57
- let {
58
- id: a,
59
- vm: r,
60
- validate: t,
61
- reset: u,
62
- resetValidation: b
63
- } = e;
64
- l.value.some((F) => F.id === a) && O(`Duplicate input name "${a}"`), l.value.push({
65
- id: a,
66
- validate: t,
67
- reset: u,
68
- resetValidation: b,
69
- vm: D(r),
70
- isValid: null,
71
- errorMessages: []
72
- });
73
- },
74
- unregister: (e) => {
75
- l.value = l.value.filter((a) => a.id !== e);
76
- },
77
- update: (e, a, r) => {
78
- const t = l.value.find((u) => u.id === e);
79
- t && (t.isValid = a, t.errorMessages = r);
80
- },
81
- isDisabled: f,
82
- isReadonly: v,
83
- isValidating: n,
84
- isValid: s,
85
- items: l,
86
- validateOn: d(() => i.validateOn)
87
- }), {
88
- errors: o,
89
- isDisabled: f,
90
- isReadonly: v,
91
- isValidating: n,
92
- isValid: s,
93
- items: l,
94
- validate: g,
95
- reset: V,
96
- resetValidation: h
97
- };
98
- }
99
- function $(i) {
100
- const s = k(y, null);
101
- return {
102
- ...s,
103
- isReadonly: m(() => !!((i == null ? void 0 : i.readonly) ?? (s == null ? void 0 : s.isReadonly.value))),
104
- isDisabled: m(() => !!((i == null ? void 0 : i.disabled) ?? (s == null ? void 0 : s.isDisabled.value)))
105
- };
106
- }
107
- export {
108
- y as FormKey,
109
- W as createForm,
110
- K as makeFormProps,
111
- $ as useForm
112
- };
@@ -1,78 +0,0 @@
1
- const h = Symbol("Forwarded refs");
2
- function p(c, u) {
3
- let r = c;
4
- for (; r; ) {
5
- const n = Reflect.getOwnPropertyDescriptor(r, u);
6
- if (n)
7
- return n;
8
- r = Object.getPrototypeOf(r);
9
- }
10
- }
11
- function R(c) {
12
- for (var u = arguments.length, r = new Array(u > 1 ? u - 1 : 0), n = 1; n < u; n++)
13
- r[n - 1] = arguments[n];
14
- return c[h] = r, new Proxy(c, {
15
- get(s, t) {
16
- if (Reflect.has(s, t))
17
- return Reflect.get(s, t);
18
- if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
19
- for (const e of r)
20
- if (e.value && Reflect.has(e.value, t)) {
21
- const f = Reflect.get(e.value, t);
22
- return typeof f == "function" ? f.bind(e.value) : f;
23
- }
24
- }
25
- },
26
- has(s, t) {
27
- if (Reflect.has(s, t))
28
- return !0;
29
- if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
30
- return !1;
31
- for (const e of r)
32
- if (e.value && Reflect.has(e.value, t))
33
- return !0;
34
- return !1;
35
- },
36
- set(s, t, e) {
37
- if (Reflect.has(s, t))
38
- return Reflect.set(s, t, e);
39
- if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
40
- return !1;
41
- for (const f of r)
42
- if (f.value && Reflect.has(f.value, t))
43
- return Reflect.set(f.value, t, e);
44
- return !1;
45
- },
46
- getOwnPropertyDescriptor(s, t) {
47
- var f;
48
- const e = Reflect.getOwnPropertyDescriptor(s, t);
49
- if (e)
50
- return e;
51
- if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
52
- for (const o of r) {
53
- if (!o.value)
54
- continue;
55
- const i = p(o.value, t) ?? ("_" in o.value ? p((f = o.value._) == null ? void 0 : f.setupState, t) : void 0);
56
- if (i)
57
- return i;
58
- }
59
- for (const o of r) {
60
- const i = o.value && o.value[h];
61
- if (!i)
62
- continue;
63
- const l = i.slice();
64
- for (; l.length; ) {
65
- const a = l.shift(), v = p(a.value, t);
66
- if (v)
67
- return v;
68
- const d = a.value && a.value[h];
69
- d && l.push(...d);
70
- }
71
- }
72
- }
73
- }
74
- });
75
- }
76
- export {
77
- R as forwardRefs
78
- };
@@ -1,86 +0,0 @@
1
- import { inject as R, toRef as S } from "vue";
2
- import { useRtl as v } from "./locale.mjs";
3
- import { easingPatterns as C } from "../util/easing.mjs";
4
- import { mergeDeep as g, clamp as b, refElement as H } from "../util/helpers.mjs";
5
- import { PREFERS_REDUCED_MOTION as L } from "../util/globals.mjs";
6
- import { consoleWarn as W } from "../util/console.mjs";
7
- const D = Symbol.for("vuetify:goto");
8
- function I() {
9
- return {
10
- container: void 0,
11
- duration: 300,
12
- layout: !1,
13
- offset: 0,
14
- easing: "easeInOutCubic",
15
- patterns: C
16
- };
17
- }
18
- function M(t) {
19
- return E(t) ?? (document.scrollingElement || document.body);
20
- }
21
- function E(t) {
22
- return typeof t == "string" ? document.querySelector(t) : H(t);
23
- }
24
- function y(t, f, r) {
25
- if (typeof t == "number")
26
- return f && r ? -t : t;
27
- let e = E(t), o = 0;
28
- for (; e; )
29
- o += f ? e.offsetLeft : e.offsetTop, e = e.offsetParent;
30
- return o;
31
- }
32
- async function h(t, f, r, e) {
33
- const o = r ? "scrollLeft" : "scrollTop", n = g((e == null ? void 0 : e.options) ?? I(), f), s = e == null ? void 0 : e.rtl.value, a = (typeof t == "number" ? t : E(t)) ?? 0, i = n.container === "parent" && a instanceof HTMLElement ? a.parentElement : M(n.container), l = L() ? n.patterns.instant : typeof n.easing == "function" ? n.easing : n.patterns[n.easing];
34
- if (!l)
35
- throw new TypeError(`Easing function "${n.easing}" not found.`);
36
- let c;
37
- if (typeof a == "number")
38
- c = y(a, r, s);
39
- else if (c = y(a, r, s) - y(i, r, s), n.layout) {
40
- const u = window.getComputedStyle(a).getPropertyValue("--v-layout-top");
41
- u && (c -= parseInt(u, 10));
42
- }
43
- c += n.offset, c = T(i, c, !!s, !!r);
44
- const m = i[o] ?? 0;
45
- if (c === m)
46
- return Promise.resolve(c);
47
- const O = performance.now();
48
- return new Promise((p) => requestAnimationFrame(function u(P) {
49
- const d = (P - O) / n.duration, w = Math.floor(m + (c - m) * l(b(d, 0, 1)));
50
- if (i[o] = w, d >= 1 && Math.abs(w - i[o]) < 10)
51
- return p(c);
52
- if (d > 2)
53
- return W("Scroll target is not reachable"), p(i[o]);
54
- requestAnimationFrame(u);
55
- }));
56
- }
57
- function N() {
58
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
59
- const f = R(D), {
60
- isRtl: r
61
- } = v();
62
- if (!f)
63
- throw new Error("[Vuetify] Could not find injected goto instance");
64
- const e = {
65
- ...f,
66
- // can be set via VLocaleProvider
67
- rtl: S(() => f.rtl.value || r.value)
68
- };
69
- async function o(n, s) {
70
- return h(n, g(t, s), !1, e);
71
- }
72
- return o.horizontal = async (n, s) => h(n, g(t, s), !0, e), o;
73
- }
74
- function T(t, f, r, e) {
75
- const {
76
- scrollWidth: o,
77
- scrollHeight: n
78
- } = t, [s, a] = t === document.scrollingElement ? [window.innerWidth, window.innerHeight] : [t.offsetWidth, t.offsetHeight];
79
- let i, l;
80
- return e ? r ? (i = -(o - s), l = 0) : (i = 0, l = o - s) : (i = 0, l = n + -a), b(f, i, l);
81
- }
82
- export {
83
- D as GoToSymbol,
84
- h as scrollTo,
85
- N as useGoTo
86
- };
@@ -1,169 +0,0 @@
1
- import { useProxiedModel as G } from "./proxiedModel.mjs";
2
- import { useId as E, provide as b, inject as A, toRef as x, computed as g, onBeforeUnmount as w, watch as B, reactive as P, onMounted as k, onUpdated as M, unref as U } from "vue";
3
- import { deepEqual as $ } from "../util/deepEqual.mjs";
4
- import { wrapInArray as q, findChildrenWithProvide as F } from "../util/helpers.mjs";
5
- import { propsFactory as y } from "../util/propsFactory.mjs";
6
- import { getCurrentInstance as C } from "../util/getCurrentInstance.mjs";
7
- import { consoleWarn as W } from "../util/console.mjs";
8
- const Q = y({
9
- modelValue: {
10
- type: null,
11
- default: void 0
12
- },
13
- multiple: Boolean,
14
- mandatory: [Boolean, String],
15
- max: Number,
16
- selectedClass: String,
17
- disabled: Boolean
18
- }, "group"), X = y({
19
- value: null,
20
- disabled: Boolean,
21
- selectedClass: String
22
- }, "group-item");
23
- function Y(s, o) {
24
- let d = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
25
- const n = C("useGroupItem");
26
- if (!n)
27
- throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");
28
- const t = E();
29
- b(Symbol.for(`${o.description}:id`), t);
30
- const i = A(o, null);
31
- if (!i) {
32
- if (!d)
33
- return i;
34
- throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`);
35
- }
36
- const m = x(() => s.value), p = g(() => !!(i.disabled.value || s.disabled));
37
- function h() {
38
- i == null || i.register({
39
- id: t,
40
- value: m,
41
- disabled: p
42
- }, n);
43
- }
44
- function v() {
45
- i == null || i.unregister(t);
46
- }
47
- h(), w(() => v());
48
- const f = g(() => i.isSelected(t)), I = g(() => i.items.value[0].id === t), e = g(() => i.items.value[i.items.value.length - 1].id === t), l = g(() => f.value && [i.selectedClass.value, s.selectedClass]);
49
- return B(f, (r) => {
50
- n.emit("group:selected", {
51
- value: r
52
- });
53
- }, {
54
- flush: "sync"
55
- }), {
56
- id: t,
57
- isSelected: f,
58
- isFirst: I,
59
- isLast: e,
60
- toggle: () => i.select(t, !f.value),
61
- select: (r) => i.select(t, r),
62
- selectedClass: l,
63
- value: m,
64
- disabled: p,
65
- group: i,
66
- register: h,
67
- unregister: v
68
- };
69
- }
70
- function Z(s, o) {
71
- let d = !1;
72
- const n = P([]), t = G(s, "modelValue", [], (e) => e === void 0 ? [] : S(n, e === null ? [null] : q(e)), (e) => {
73
- const l = N(n, e);
74
- return s.multiple ? l : l[0];
75
- }), i = C("useGroup");
76
- function m(e, l) {
77
- const r = e, u = Symbol.for(`${o.description}:id`), a = F(u, i == null ? void 0 : i.vnode).indexOf(l);
78
- U(r.value) === void 0 && (r.value = a, r.useIndexAsValue = !0), a > -1 ? n.splice(a, 0, r) : n.push(r);
79
- }
80
- function p(e) {
81
- if (d)
82
- return;
83
- h();
84
- const l = n.findIndex((r) => r.id === e);
85
- n.splice(l, 1);
86
- }
87
- function h() {
88
- const e = n.find((l) => !l.disabled);
89
- e && s.mandatory === "force" && !t.value.length && (t.value = [e.id]);
90
- }
91
- k(() => {
92
- h();
93
- }), w(() => {
94
- d = !0;
95
- }), M(() => {
96
- for (let e = 0; e < n.length; e++)
97
- n[e].useIndexAsValue && (n[e].value = e);
98
- });
99
- function v(e, l) {
100
- const r = n.find((u) => u.id === e);
101
- if (!(l && (r != null && r.disabled)))
102
- if (s.multiple) {
103
- const u = t.value.slice(), c = u.findIndex((V) => V === e), a = ~c;
104
- if (l = l ?? !a, a && s.mandatory && u.length <= 1 || !a && s.max != null && u.length + 1 > s.max)
105
- return;
106
- c < 0 && l ? u.push(e) : c >= 0 && !l && u.splice(c, 1), t.value = u;
107
- } else {
108
- const u = t.value.includes(e);
109
- if (s.mandatory && u || !u && !l)
110
- return;
111
- t.value = l ?? !u ? [e] : [];
112
- }
113
- }
114
- function f(e) {
115
- if (s.multiple && W('This method is not supported when using "multiple" prop'), t.value.length) {
116
- const l = t.value[0], r = n.findIndex((a) => a.id === l);
117
- let u = (r + e) % n.length, c = n[u];
118
- for (; c.disabled && u !== r; )
119
- u = (u + e) % n.length, c = n[u];
120
- if (c.disabled)
121
- return;
122
- t.value = [n[u].id];
123
- } else {
124
- const l = n.find((r) => !r.disabled);
125
- l && (t.value = [l.id]);
126
- }
127
- }
128
- const I = {
129
- register: m,
130
- unregister: p,
131
- selected: t,
132
- select: v,
133
- disabled: x(() => s.disabled),
134
- prev: () => f(n.length - 1),
135
- next: () => f(1),
136
- isSelected: (e) => t.value.includes(e),
137
- selectedClass: x(() => s.selectedClass),
138
- items: x(() => n),
139
- getItemIndex: (e) => L(n, e)
140
- };
141
- return b(o, I), I;
142
- }
143
- function L(s, o) {
144
- const d = S(s, [o]);
145
- return d.length ? s.findIndex((n) => n.id === d[0]) : -1;
146
- }
147
- function S(s, o) {
148
- const d = [];
149
- return o.forEach((n) => {
150
- const t = s.find((m) => $(n, m.value)), i = s[n];
151
- (t == null ? void 0 : t.value) !== void 0 ? d.push(t.id) : i != null && i.useIndexAsValue && d.push(i.id);
152
- }), d;
153
- }
154
- function N(s, o) {
155
- const d = [];
156
- return o.forEach((n) => {
157
- const t = s.findIndex((i) => i.id === n);
158
- if (~t) {
159
- const i = s[t];
160
- d.push(i.value !== void 0 ? i.value : t);
161
- }
162
- }), d;
163
- }
164
- export {
165
- X as makeGroupItemProps,
166
- Q as makeGroupProps,
167
- Z as useGroup,
168
- Y as useGroupItem
169
- };
@@ -1,20 +0,0 @@
1
- import { useDisplay as t } from "./display.mjs";
2
- import { shallowRef as r, onMounted as s } from "vue";
3
- import { IN_BROWSER as n } from "../util/globals.mjs";
4
- function l() {
5
- if (!n)
6
- return r(!1);
7
- const {
8
- ssr: o
9
- } = t();
10
- if (o) {
11
- const e = r(!1);
12
- return s(() => {
13
- e.value = !0;
14
- }), e;
15
- } else
16
- return r(!0);
17
- }
18
- export {
19
- l as useHydration
20
- };
@@ -1,21 +0,0 @@
1
- import { computed as c } from "vue";
2
- import { propsFactory as t } from "../util/propsFactory.mjs";
3
- const S = t({
4
- iconSize: [Number, String],
5
- iconSizes: {
6
- type: Array,
7
- default: () => [["x-small", 10], ["small", 16], ["default", 24], ["large", 28], ["x-large", 32]]
8
- }
9
- }, "iconSize");
10
- function z(i, n) {
11
- return {
12
- iconSize: c(() => {
13
- const o = new Map(i.iconSizes), e = i.iconSize ?? n() ?? "default";
14
- return o.has(e) ? o.get(e) : e;
15
- })
16
- };
17
- }
18
- export {
19
- S as makeIconSizeProps,
20
- z as useIconSizes
21
- };
@@ -1,24 +0,0 @@
1
- import { ref as f, shallowRef as v, onScopeDispose as p, watch as I } from "vue";
2
- import { SUPPORTS_INTERSECTION as c } from "../util/globals.mjs";
3
- function O(o, i) {
4
- const t = f(), r = v(!1);
5
- if (c) {
6
- const s = new IntersectionObserver((e) => {
7
- o == null || o(e, s), r.value = !!e.find((n) => n.isIntersecting);
8
- }, i);
9
- p(() => {
10
- s.disconnect();
11
- }), I(t, (e, n) => {
12
- n && (s.unobserve(n), r.value = !1), e && s.observe(e);
13
- }, {
14
- flush: "post"
15
- });
16
- }
17
- return {
18
- intersectionRef: t,
19
- isIntersecting: r
20
- };
21
- }
22
- export {
23
- O as useIntersectionObserver
24
- };