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,315 +0,0 @@
1
- import { useProxiedModel as G } from "../proxiedModel.mjs";
2
- import { shallowRef as b, ref as s, computed as v, onBeforeUnmount as E, watch as x, toValue as m, toRaw as j, toRef as R, provide as U, inject as I, onBeforeMount as H, nextTick as F } from "vue";
3
- import { independentSingleActiveStrategy as J, independentActiveStrategy as K, leafSingleActiveStrategy as Q, leafActiveStrategy as W } from "./activeStrategies.mjs";
4
- import { multipleOpenStrategy as X, singleOpenStrategy as Y, listOpenStrategy as Z } from "./openStrategies.mjs";
5
- import { classicSelectStrategy as ee, branchSelectStrategy as te, trunkSelectStrategy as ae, independentSingleSelectStrategy as ne, independentSelectStrategy as le, leafSelectStrategy as re, leafSingleSelectStrategy as oe } from "./selectStrategies.mjs";
6
- import { throttle as ce } from "../../util/throttle.mjs";
7
- import { propsFactory as ie } from "../../util/propsFactory.mjs";
8
- import { getCurrentInstance as ue } from "../../util/getCurrentInstance.mjs";
9
- import { consoleError as se } from "../../util/console.mjs";
10
- const A = Symbol.for("vuetify:nested"), L = {
11
- id: b(),
12
- root: {
13
- itemsRegistration: s("render"),
14
- register: () => null,
15
- unregister: () => null,
16
- updateDisabled: () => null,
17
- children: s(/* @__PURE__ */ new Map()),
18
- parents: s(/* @__PURE__ */ new Map()),
19
- disabled: s(/* @__PURE__ */ new Set()),
20
- open: () => null,
21
- openOnSelect: () => null,
22
- activate: () => null,
23
- select: () => null,
24
- activatable: s(!1),
25
- scrollToActive: s(!1),
26
- selectable: s(!1),
27
- opened: s(/* @__PURE__ */ new Set()),
28
- activated: s(/* @__PURE__ */ new Set()),
29
- selected: s(/* @__PURE__ */ new Map()),
30
- selectedValues: s([]),
31
- getPath: () => []
32
- }
33
- }, we = ie({
34
- activatable: Boolean,
35
- selectable: Boolean,
36
- activeStrategy: [String, Function, Object],
37
- selectStrategy: [String, Function, Object],
38
- openStrategy: [String, Object],
39
- opened: null,
40
- activated: null,
41
- selected: null,
42
- mandatory: Boolean,
43
- itemsRegistration: {
44
- type: String,
45
- default: "render"
46
- }
47
- }, "nested"), be = (t, h) => {
48
- let {
49
- items: S,
50
- returnObject: l,
51
- scrollToActive: k
52
- } = h, i = !1;
53
- const c = b(/* @__PURE__ */ new Map()), n = b(/* @__PURE__ */ new Map()), u = b(/* @__PURE__ */ new Set()), p = G(t, "opened", t.opened, (e) => new Set(Array.isArray(e) ? e.map((a) => j(a)) : e), (e) => [...e.values()]), V = v(() => {
54
- if (typeof t.activeStrategy == "object")
55
- return t.activeStrategy;
56
- if (typeof t.activeStrategy == "function")
57
- return t.activeStrategy(t.mandatory);
58
- switch (t.activeStrategy) {
59
- case "leaf":
60
- return W(t.mandatory);
61
- case "single-leaf":
62
- return Q(t.mandatory);
63
- case "independent":
64
- return K(t.mandatory);
65
- case "single-independent":
66
- default:
67
- return J(t.mandatory);
68
- }
69
- }), N = v(() => {
70
- if (typeof t.selectStrategy == "object")
71
- return t.selectStrategy;
72
- if (typeof t.selectStrategy == "function")
73
- return t.selectStrategy(t.mandatory);
74
- switch (t.selectStrategy) {
75
- case "single-leaf":
76
- return oe(t.mandatory);
77
- case "leaf":
78
- return re(t.mandatory);
79
- case "independent":
80
- return le(t.mandatory);
81
- case "single-independent":
82
- return ne(t.mandatory);
83
- case "trunk":
84
- return ae(t.mandatory);
85
- case "branch":
86
- return te(t.mandatory);
87
- case "classic":
88
- default:
89
- return ee(t.mandatory);
90
- }
91
- }), _ = v(() => {
92
- if (typeof t.openStrategy == "object")
93
- return t.openStrategy;
94
- switch (t.openStrategy) {
95
- case "list":
96
- return Z;
97
- case "single":
98
- return Y;
99
- case "multiple":
100
- default:
101
- return X;
102
- }
103
- }), g = G(t, "activated", t.activated, (e) => V.value.in(e, c.value, n.value), (e) => V.value.out(e, c.value, n.value)), w = G(t, "selected", t.selected, (e) => N.value.in(e, c.value, n.value, u.value), (e) => N.value.out(e, c.value, n.value));
104
- E(() => {
105
- i = !0;
106
- });
107
- function y(e) {
108
- const a = [];
109
- let r = j(e);
110
- for (; r !== void 0; )
111
- a.unshift(r), r = n.value.get(r);
112
- return a;
113
- }
114
- const P = ue("nested"), T = /* @__PURE__ */ new Set(), z = ce(() => {
115
- F(() => {
116
- c.value = new Map(c.value), n.value = new Map(n.value);
117
- });
118
- }, 100);
119
- x(() => [S.value, m(l)], () => {
120
- t.itemsRegistration === "props" && q();
121
- }, {
122
- immediate: !0
123
- });
124
- function q() {
125
- const e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), o = m(l) ? (f) => j(f.raw) : (f) => f.value, d = [...S.value];
126
- let O = 0;
127
- for (; O < d.length; ) {
128
- const f = d[O++], B = o(f);
129
- if (f.children) {
130
- const D = [];
131
- for (const $ of f.children) {
132
- const C = o($);
133
- e.set(C, B), D.push(C), d.push($);
134
- }
135
- a.set(B, D);
136
- }
137
- f.props.disabled && r.add(B);
138
- }
139
- c.value = a, n.value = e, u.value = r;
140
- }
141
- const M = {
142
- id: b(),
143
- root: {
144
- opened: p,
145
- activatable: R(() => t.activatable),
146
- scrollToActive: R(() => m(k)),
147
- selectable: R(() => t.selectable),
148
- activated: g,
149
- selected: w,
150
- selectedValues: v(() => {
151
- const e = [];
152
- for (const [a, r] of w.value.entries())
153
- r === "on" && e.push(a);
154
- return e;
155
- }),
156
- itemsRegistration: R(() => t.itemsRegistration),
157
- register: (e, a, r, o) => {
158
- if (T.has(e)) {
159
- const d = y(e).map(String).join(" -> "), O = y(a).concat(e).map(String).join(" -> ");
160
- se(`Multiple nodes with the same ID
161
- ${d}
162
- ${O}`);
163
- return;
164
- } else
165
- T.add(e);
166
- a && e !== a && n.value.set(e, a), r && u.value.add(e), o && c.value.set(e, []), a != null && c.value.set(a, [...c.value.get(a) || [], e]), z();
167
- },
168
- unregister: (e) => {
169
- if (i)
170
- return;
171
- T.delete(e), c.value.delete(e), u.value.delete(e);
172
- const a = n.value.get(e);
173
- if (a) {
174
- const r = c.value.get(a) ?? [];
175
- c.value.set(a, r.filter((o) => o !== e));
176
- }
177
- n.value.delete(e), z();
178
- },
179
- updateDisabled: (e, a) => {
180
- a ? u.value.add(e) : u.value.delete(e);
181
- },
182
- open: (e, a, r) => {
183
- P.emit("click:open", {
184
- id: e,
185
- value: a,
186
- path: y(e),
187
- event: r
188
- });
189
- const o = _.value.open({
190
- id: e,
191
- value: a,
192
- opened: new Set(p.value),
193
- children: c.value,
194
- parents: n.value,
195
- event: r
196
- });
197
- o && (p.value = o);
198
- },
199
- openOnSelect: (e, a, r) => {
200
- const o = _.value.select({
201
- id: e,
202
- value: a,
203
- selected: new Map(w.value),
204
- opened: new Set(p.value),
205
- children: c.value,
206
- parents: n.value,
207
- event: r
208
- });
209
- o && (p.value = o);
210
- },
211
- select: (e, a, r) => {
212
- P.emit("click:select", {
213
- id: e,
214
- value: a,
215
- path: y(e),
216
- event: r
217
- });
218
- const o = N.value.select({
219
- id: e,
220
- value: a,
221
- selected: new Map(w.value),
222
- children: c.value,
223
- parents: n.value,
224
- disabled: u.value,
225
- event: r
226
- });
227
- o && (w.value = o), M.root.openOnSelect(e, a, r);
228
- },
229
- activate: (e, a, r) => {
230
- if (!t.activatable)
231
- return M.root.select(e, !0, r);
232
- P.emit("click:activate", {
233
- id: e,
234
- value: a,
235
- path: y(e),
236
- event: r
237
- });
238
- const o = V.value.activate({
239
- id: e,
240
- value: a,
241
- activated: new Set(g.value),
242
- children: c.value,
243
- parents: n.value,
244
- event: r
245
- });
246
- if (o.size !== g.value.size)
247
- g.value = o;
248
- else {
249
- for (const d of o)
250
- if (!g.value.has(d)) {
251
- g.value = o;
252
- return;
253
- }
254
- for (const d of g.value)
255
- if (!o.has(d)) {
256
- g.value = o;
257
- return;
258
- }
259
- }
260
- },
261
- children: c,
262
- parents: n,
263
- disabled: u,
264
- getPath: y
265
- }
266
- };
267
- return U(A, M), M.root;
268
- }, Ae = (t, h, S) => {
269
- const l = I(A, L), k = Symbol("nested item"), i = v(() => {
270
- const n = j(m(t));
271
- return n !== void 0 ? n : k;
272
- }), c = {
273
- ...l,
274
- id: i,
275
- open: (n, u) => l.root.open(i.value, n, u),
276
- openOnSelect: (n, u) => l.root.openOnSelect(i.value, n, u),
277
- isOpen: v(() => l.root.opened.value.has(i.value)),
278
- parent: v(() => l.root.parents.value.get(i.value)),
279
- activate: (n, u) => l.root.activate(i.value, n, u),
280
- isActivated: v(() => l.root.activated.value.has(i.value)),
281
- scrollToActive: l.root.scrollToActive,
282
- select: (n, u) => l.root.select(i.value, n, u),
283
- isSelected: v(() => l.root.selected.value.get(i.value) === "on"),
284
- isIndeterminate: v(() => l.root.selected.value.get(i.value) === "indeterminate"),
285
- isLeaf: v(() => !l.root.children.value.get(i.value)),
286
- isGroupActivator: l.isGroupActivator
287
- };
288
- return H(() => {
289
- l.isGroupActivator || l.root.itemsRegistration.value === "props" || F(() => {
290
- l.root.register(i.value, l.id.value, m(h), S);
291
- });
292
- }), E(() => {
293
- l.isGroupActivator || l.root.itemsRegistration.value === "props" || l.root.unregister(i.value);
294
- }), x(i, (n, u) => {
295
- l.isGroupActivator || l.root.itemsRegistration.value === "props" || (l.root.unregister(u), F(() => {
296
- l.root.register(n, l.id.value, m(h), S);
297
- }));
298
- }), x(() => m(h), (n) => {
299
- l.root.updateDisabled(i.value, n);
300
- }), S && U(A, c), c;
301
- }, Me = () => {
302
- const t = I(A, L);
303
- U(A, {
304
- ...t,
305
- isGroupActivator: !0
306
- });
307
- };
308
- export {
309
- A as VNestedSymbol,
310
- L as emptyNested,
311
- we as makeNestedProps,
312
- be as useNested,
313
- Me as useNestedGroupActivator,
314
- Ae as useNestedItem
315
- };
@@ -1,60 +0,0 @@
1
- const s = {
2
- open: (p) => {
3
- let {
4
- id: t,
5
- value: a,
6
- opened: n,
7
- parents: r
8
- } = p;
9
- if (a) {
10
- const e = /* @__PURE__ */ new Set();
11
- e.add(t);
12
- let l = r.get(t);
13
- for (; l != null; )
14
- e.add(l), l = r.get(l);
15
- return e;
16
- } else
17
- return n.delete(t), n;
18
- },
19
- select: () => null
20
- }, d = {
21
- open: (p) => {
22
- let {
23
- id: t,
24
- value: a,
25
- opened: n,
26
- parents: r
27
- } = p;
28
- if (a) {
29
- let e = r.get(t);
30
- for (n.add(t); e != null && e !== t; )
31
- n.add(e), e = r.get(e);
32
- return n;
33
- } else
34
- n.delete(t);
35
- return n;
36
- },
37
- select: () => null
38
- }, u = {
39
- open: d.open,
40
- select: (p) => {
41
- let {
42
- id: t,
43
- value: a,
44
- opened: n,
45
- parents: r
46
- } = p;
47
- if (!a)
48
- return n;
49
- const e = [];
50
- let l = r.get(t);
51
- for (; l != null; )
52
- e.push(l), l = r.get(l);
53
- return new Set(e);
54
- }
55
- };
56
- export {
57
- u as listOpenStrategy,
58
- d as multipleOpenStrategy,
59
- s as singleOpenStrategy
60
- };
@@ -1,206 +0,0 @@
1
- import { toRaw as u } from "vue";
2
- const S = (a) => {
3
- const s = {
4
- select: (c) => {
5
- let {
6
- id: t,
7
- value: n,
8
- selected: e
9
- } = c;
10
- if (t = u(t), a && !n) {
11
- const r = Array.from(e.entries()).reduce((o, l) => {
12
- let [d, y] = l;
13
- return y === "on" && o.push(d), o;
14
- }, []);
15
- if (r.length === 1 && r[0] === t)
16
- return e;
17
- }
18
- return e.set(t, n ? "on" : "off"), e;
19
- },
20
- in: (c, t, n, e) => {
21
- const r = /* @__PURE__ */ new Map();
22
- for (const o of c || [])
23
- s.select({
24
- id: o,
25
- value: !0,
26
- selected: r,
27
- children: t,
28
- parents: n,
29
- disabled: e
30
- });
31
- return r;
32
- },
33
- out: (c) => {
34
- const t = [];
35
- for (const [n, e] of c.entries())
36
- e === "on" && t.push(n);
37
- return t;
38
- }
39
- };
40
- return s;
41
- }, k = (a) => {
42
- const s = S(a);
43
- return {
44
- select: (t) => {
45
- let {
46
- selected: n,
47
- id: e,
48
- ...r
49
- } = t;
50
- e = u(e);
51
- const o = n.has(e) ? /* @__PURE__ */ new Map([[e, n.get(e)]]) : /* @__PURE__ */ new Map();
52
- return s.select({
53
- ...r,
54
- id: e,
55
- selected: o
56
- });
57
- },
58
- in: (t, n, e, r) => t != null && t.length ? s.in(t.slice(0, 1), n, e, r) : /* @__PURE__ */ new Map(),
59
- out: (t, n, e) => s.out(t, n, e)
60
- };
61
- }, v = (a) => {
62
- const s = S(a);
63
- return {
64
- select: (t) => {
65
- let {
66
- id: n,
67
- selected: e,
68
- children: r,
69
- ...o
70
- } = t;
71
- return n = u(n), r.has(n) ? e : s.select({
72
- id: n,
73
- selected: e,
74
- children: r,
75
- ...o
76
- });
77
- },
78
- in: s.in,
79
- out: s.out
80
- };
81
- }, b = (a) => {
82
- const s = k(a);
83
- return {
84
- select: (t) => {
85
- let {
86
- id: n,
87
- selected: e,
88
- children: r,
89
- ...o
90
- } = t;
91
- return n = u(n), r.has(n) ? e : s.select({
92
- id: n,
93
- selected: e,
94
- children: r,
95
- ...o
96
- });
97
- },
98
- in: s.in,
99
- out: s.out
100
- };
101
- }, m = (a) => {
102
- const s = {
103
- select: (c) => {
104
- let {
105
- id: t,
106
- value: n,
107
- selected: e,
108
- children: r,
109
- parents: o,
110
- disabled: l
111
- } = c;
112
- t = u(t);
113
- const d = new Map(e), y = [t];
114
- for (; y.length; ) {
115
- const i = y.shift();
116
- l.has(i) || e.set(u(i), n ? "on" : "off"), r.has(i) && y.push(...r.get(i));
117
- }
118
- let h = u(o.get(t));
119
- for (; h; ) {
120
- let i = !0, f = !0;
121
- for (const p of r.get(h)) {
122
- const g = u(p);
123
- if (!l.has(g) && (e.get(g) !== "on" && (i = !1), e.has(g) && e.get(g) !== "off" && (f = !1), !i && !f))
124
- break;
125
- }
126
- e.set(h, i ? "on" : f ? "off" : "indeterminate"), h = u(o.get(h));
127
- }
128
- return a && !n && Array.from(e.entries()).reduce((f, p) => {
129
- let [g, w] = p;
130
- return w === "on" && f.push(g), f;
131
- }, []).length === 0 ? d : e;
132
- },
133
- in: (c, t, n) => {
134
- let e = /* @__PURE__ */ new Map();
135
- for (const r of c || [])
136
- e = s.select({
137
- id: r,
138
- value: !0,
139
- selected: e,
140
- children: t,
141
- parents: n,
142
- disabled: /* @__PURE__ */ new Set()
143
- });
144
- return e;
145
- },
146
- out: (c, t) => {
147
- const n = [];
148
- for (const [e, r] of c.entries())
149
- r === "on" && !t.has(e) && n.push(e);
150
- return n;
151
- }
152
- };
153
- return s;
154
- }, A = (a) => {
155
- const s = m(a);
156
- return {
157
- select: s.select,
158
- in: s.in,
159
- out: (t, n, e) => {
160
- const r = [];
161
- for (const [o, l] of t.entries())
162
- if (l === "on") {
163
- if (e.has(o)) {
164
- const d = e.get(o);
165
- if (t.get(d) === "on")
166
- continue;
167
- }
168
- r.push(o);
169
- }
170
- return r;
171
- }
172
- };
173
- }, x = (a) => {
174
- const c = {
175
- select: m(a).select,
176
- in: (t, n, e, r) => {
177
- let o = /* @__PURE__ */ new Map();
178
- for (const l of t || [])
179
- n.has(l) || (o = c.select({
180
- id: l,
181
- value: !0,
182
- selected: o,
183
- children: n,
184
- parents: e,
185
- disabled: r
186
- }));
187
- return o;
188
- },
189
- out: (t) => {
190
- const n = [];
191
- for (const [e, r] of t.entries())
192
- (r === "on" || r === "indeterminate") && n.push(e);
193
- return n;
194
- }
195
- };
196
- return c;
197
- };
198
- export {
199
- x as branchSelectStrategy,
200
- m as classicSelectStrategy,
201
- S as independentSelectStrategy,
202
- k as independentSingleSelectStrategy,
203
- v as leafSelectStrategy,
204
- b as leafSingleSelectStrategy,
205
- A as trunkSelectStrategy
206
- };
@@ -1,22 +0,0 @@
1
- import { toRef as i } from "vue";
2
- import { propsFactory as n } from "../util/propsFactory.mjs";
3
- import { getCurrentInstanceName as e } from "../util/getCurrentInstance.mjs";
4
- const s = ["static", "relative", "fixed", "absolute", "sticky"], m = n({
5
- position: {
6
- type: String,
7
- validator: (
8
- /* istanbul ignore next */
9
- (t) => s.includes(t)
10
- )
11
- }
12
- }, "position");
13
- function c(t) {
14
- let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e();
15
- return {
16
- positionClasses: i(() => t.position ? `${o}--${t.position}` : void 0)
17
- };
18
- }
19
- export {
20
- m as makePositionProps,
21
- c as usePosition
22
- };
@@ -1,35 +0,0 @@
1
- import { useToggleScope as g } from "./toggleScope.mjs";
2
- import { ref as h, computed as l, toRaw as P, watch as b } from "vue";
3
- import { toKebabCase as w } from "../util/helpers.mjs";
4
- import { getCurrentInstance as O } from "../util/getCurrentInstance.mjs";
5
- function K(o, t, i) {
6
- let c = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (e) => e, f = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (e) => e;
7
- const n = O("useProxiedModel"), r = h(o[t] !== void 0 ? o[t] : i), d = w(t), s = d !== t ? l(() => {
8
- var e, a, u, v;
9
- return o[t], !!(((e = n.vnode.props) != null && e.hasOwnProperty(t) || (a = n.vnode.props) != null && a.hasOwnProperty(d)) && ((u = n.vnode.props) != null && u.hasOwnProperty(`onUpdate:${t}`) || (v = n.vnode.props) != null && v.hasOwnProperty(`onUpdate:${d}`)));
10
- }) : l(() => {
11
- var e, a;
12
- return o[t], !!((e = n.vnode.props) != null && e.hasOwnProperty(t) && ((a = n.vnode.props) != null && a.hasOwnProperty(`onUpdate:${t}`)));
13
- });
14
- g(() => !s.value, () => {
15
- b(() => o[t], (e) => {
16
- r.value = e;
17
- });
18
- });
19
- const m = l({
20
- get() {
21
- const e = o[t];
22
- return c(s.value ? e : r.value);
23
- },
24
- set(e) {
25
- const a = f(e), u = P(s.value ? o[t] : r.value);
26
- u === a || c(u) === e || (r.value = a, n == null || n.emit(`update:${t}`, a));
27
- }
28
- });
29
- return Object.defineProperty(m, "externalValue", {
30
- get: () => s.value ? o[t] : r.value
31
- }), m;
32
- }
33
- export {
34
- K as useProxiedModel
35
- };
@@ -1,15 +0,0 @@
1
- import { ref as t, onBeforeUpdate as n } from "vue";
2
- function a() {
3
- const e = t([]);
4
- n(() => e.value = []);
5
- function f(o, r) {
6
- e.value[r] = o;
7
- }
8
- return {
9
- refs: e,
10
- updateRef: f
11
- };
12
- }
13
- export {
14
- a as useRefs
15
- };
@@ -1,26 +0,0 @@
1
- import { ref as i, onBeforeUnmount as u, watch as m, readonly as R } from "vue";
2
- import { IN_BROWSER as c } from "../util/globals.mjs";
3
- import { templateRef as g } from "../util/helpers.mjs";
4
- function h(o) {
5
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
6
- const r = g(), t = i();
7
- if (c) {
8
- const n = new ResizeObserver((e) => {
9
- o == null || o(e, n), e.length && (s === "content" ? t.value = e[0].contentRect : t.value = e[0].target.getBoundingClientRect());
10
- });
11
- u(() => {
12
- n.disconnect();
13
- }), m(() => r.el, (e, f) => {
14
- f && (n.unobserve(f), t.value = void 0), e && n.observe(e);
15
- }, {
16
- flush: "post"
17
- });
18
- }
19
- return {
20
- resizeRef: r,
21
- contentRect: R(t)
22
- };
23
- }
24
- export {
25
- h as useResizeObserver
26
- };
@@ -1,21 +0,0 @@
1
- import { toRef as n, shallowRef as i, onMounted as l } from "vue";
2
- import { propsFactory as r } from "../util/propsFactory.mjs";
3
- const m = r({
4
- reveal: {
5
- type: [Boolean, Object],
6
- default: !1
7
- }
8
- }, "reveal");
9
- function v(e) {
10
- const o = n(() => typeof e.reveal == "object" ? Math.max(0, Number(e.reveal.duration ?? 900)) : 900), a = i(e.reveal ? "initial" : "disabled");
11
- return l(async () => {
12
- e.reveal && (a.value = "initial", await new Promise((t) => requestAnimationFrame(t)), a.value = "pending", await new Promise((t) => setTimeout(t, o.value)), a.value = "done");
13
- }), {
14
- duration: o,
15
- state: a
16
- };
17
- }
18
- export {
19
- m as makeRevealProps,
20
- v as useReveal
21
- };