bt-core-app 2.2.8 → 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 (298) 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 -47
  22. package/dist/components/BT-Date.vue.d.ts +0 -1
  23. package/dist/components/BT-Date.vue.mjs +8 -9
  24. package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
  25. package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
  26. package/dist/components/BT-Dialog-Date.vue.mjs +19 -22
  27. package/dist/components/BT-Dialog-Number.vue.mjs +121 -125
  28. package/dist/components/BT-Dialog-Select.vue.mjs +85 -96
  29. package/dist/components/BT-Divider.vue.mjs +21 -20
  30. package/dist/components/BT-Drag-Counter.vue.mjs +1 -1
  31. package/dist/components/BT-Drag-Counter.vue2.mjs +89 -89
  32. package/dist/components/BT-Entity.vue.mjs +82 -82
  33. package/dist/components/BT-Error.vue.mjs +27 -26
  34. package/dist/components/BT-Field-Checkbox.vue.mjs +31 -30
  35. package/dist/components/BT-Field-Date.vue.d.ts +0 -1
  36. package/dist/components/BT-Field-Date.vue.mjs +84 -88
  37. package/dist/components/BT-Field-Entity.vue.mjs +16 -20
  38. package/dist/components/BT-Field-Select-Simple.vue.mjs +26 -24
  39. package/dist/components/BT-Field-Select.vue.mjs +34 -32
  40. package/dist/components/BT-Field-String.vue.mjs +52 -54
  41. package/dist/components/BT-Field-Switch.vue.mjs +43 -44
  42. package/dist/components/BT-Field-Tags.vue.mjs +55 -57
  43. package/dist/components/BT-Field-Textarea.vue.mjs +43 -44
  44. package/dist/components/BT-Field-Trigger.vue.mjs +270 -276
  45. package/dist/components/BT-Field.vue.mjs +38 -39
  46. package/dist/components/BT-Form-Builder.vue.mjs +325 -346
  47. package/dist/components/BT-Form-Field.vue.mjs +81 -88
  48. package/dist/components/BT-Form.vue.mjs +269 -280
  49. package/dist/components/BT-Header-Option.vue.mjs +19 -21
  50. package/dist/components/BT-Image-Select.vue.mjs +177 -186
  51. package/dist/components/BT-Json.vue.mjs +30 -29
  52. package/dist/components/BT-Loader.vue.mjs +31 -32
  53. package/dist/components/BT-Nav-Sidebar.vue.mjs +124 -130
  54. package/dist/components/BT-Number.vue.mjs +1 -1
  55. package/dist/components/BT-Number.vue2.mjs +19 -17
  56. package/dist/components/BT-Numpad.vue.mjs +144 -147
  57. package/dist/components/BT-Select-List-Box.vue.mjs +276 -287
  58. package/dist/components/BT-Select-Simple.vue.mjs +23 -21
  59. package/dist/components/BT-Select.vue.mjs +37 -36
  60. package/dist/components/BT-Signature-Overlay.vue.mjs +112 -113
  61. package/dist/components/BT-Signature.vue.mjs +96 -96
  62. package/dist/components/BT-Slider.vue.mjs +103 -109
  63. package/dist/components/BT-Square-Check.vue.mjs +65 -65
  64. package/dist/components/BT-Status-Item.vue.mjs +16 -18
  65. package/dist/components/BT-Tags.vue.mjs +22 -21
  66. package/dist/components/BT-Tour.vue.mjs +65 -69
  67. package/dist/style.css +1 -1
  68. package/package.json +1 -1
  69. package/dist/_virtual/VAlert.sass.mjs +0 -1
  70. package/dist/_virtual/VAvatar.sass.mjs +0 -1
  71. package/dist/_virtual/VBtn.sass.mjs +0 -1
  72. package/dist/_virtual/VBtnGroup.sass.mjs +0 -1
  73. package/dist/_virtual/VBtnToggle.sass.mjs +0 -1
  74. package/dist/_virtual/VCard.sass.mjs +0 -1
  75. package/dist/_virtual/VCheckbox.sass.mjs +0 -1
  76. package/dist/_virtual/VChip.sass.mjs +0 -1
  77. package/dist/_virtual/VChipGroup.sass.mjs +0 -1
  78. package/dist/_virtual/VColorPicker.sass.mjs +0 -1
  79. package/dist/_virtual/VColorPickerCanvas.sass.mjs +0 -1
  80. package/dist/_virtual/VColorPickerEdit.sass.mjs +0 -1
  81. package/dist/_virtual/VColorPickerPreview.sass.mjs +0 -1
  82. package/dist/_virtual/VColorPickerSwatches.sass.mjs +0 -1
  83. package/dist/_virtual/VCombobox.sass.mjs +0 -1
  84. package/dist/_virtual/VContainer.sass.mjs +0 -1
  85. package/dist/_virtual/VCounter.sass.mjs +0 -1
  86. package/dist/_virtual/VDialog.sass.mjs +0 -1
  87. package/dist/_virtual/VDivider.sass.mjs +0 -1
  88. package/dist/_virtual/VField.sass.mjs +0 -1
  89. package/dist/_virtual/VGrid.sass.mjs +0 -1
  90. package/dist/_virtual/VIcon.sass.mjs +0 -1
  91. package/dist/_virtual/VImg.sass.mjs +0 -1
  92. package/dist/_virtual/VInput.sass.mjs +0 -1
  93. package/dist/_virtual/VLabel.sass.mjs +0 -1
  94. package/dist/_virtual/VList.sass.mjs +0 -1
  95. package/dist/_virtual/VListItem.sass.mjs +0 -1
  96. package/dist/_virtual/VMenu.sass.mjs +0 -1
  97. package/dist/_virtual/VMessages.sass.mjs +0 -1
  98. package/dist/_virtual/VNavigationDrawer.sass.mjs +0 -1
  99. package/dist/_virtual/VOverlay.sass.mjs +0 -1
  100. package/dist/_virtual/VPagination.sass.mjs +0 -1
  101. package/dist/_virtual/VPicker.sass.mjs +0 -1
  102. package/dist/_virtual/VProgressCircular.sass.mjs +0 -1
  103. package/dist/_virtual/VProgressLinear.sass.mjs +0 -1
  104. package/dist/_virtual/VRating.sass.mjs +0 -1
  105. package/dist/_virtual/VResponsive.sass.mjs +0 -1
  106. package/dist/_virtual/VRipple.sass.mjs +0 -1
  107. package/dist/_virtual/VSelect.sass.mjs +0 -1
  108. package/dist/_virtual/VSelectionControl.sass.mjs +0 -1
  109. package/dist/_virtual/VSelectionControlGroup.sass.mjs +0 -1
  110. package/dist/_virtual/VSheet.sass.mjs +0 -1
  111. package/dist/_virtual/VSlideGroup.sass.mjs +0 -1
  112. package/dist/_virtual/VSlider.sass.mjs +0 -1
  113. package/dist/_virtual/VSliderThumb.sass.mjs +0 -1
  114. package/dist/_virtual/VSliderTrack.sass.mjs +0 -1
  115. package/dist/_virtual/VSpacer.sass.mjs +0 -1
  116. package/dist/_virtual/VSwitch.sass.mjs +0 -1
  117. package/dist/_virtual/VTab.sass.mjs +0 -1
  118. package/dist/_virtual/VTable.sass.mjs +0 -1
  119. package/dist/_virtual/VTabs.sass.mjs +0 -1
  120. package/dist/_virtual/VTextField.sass.mjs +0 -1
  121. package/dist/_virtual/VTextarea.sass.mjs +0 -1
  122. package/dist/_virtual/VToolbar.sass.mjs +0 -1
  123. package/dist/_virtual/VVirtualScroll.sass.mjs +0 -1
  124. package/dist/_virtual/VWindow.sass.mjs +0 -1
  125. package/dist/bt-core/core/node_modules/@vuepic/vue-datepicker/dist/main.css.mjs +0 -1
  126. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +0 -196
  127. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +0 -5
  128. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +0 -92
  129. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +0 -220
  130. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +0 -68
  131. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +0 -57
  132. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +0 -180
  133. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +0 -32
  134. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +0 -118
  135. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +0 -29
  136. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +0 -29
  137. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +0 -5
  138. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +0 -74
  139. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +0 -53
  140. package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +0 -263
  141. package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +0 -87
  142. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +0 -161
  143. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +0 -166
  144. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +0 -97
  145. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +0 -123
  146. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +0 -72
  147. package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +0 -193
  148. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +0 -501
  149. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +0 -51
  150. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +0 -39
  151. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +0 -103
  152. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +0 -82
  153. package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +0 -295
  154. package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +0 -28
  155. package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +0 -53
  156. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +0 -98
  157. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +0 -41
  158. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +0 -104
  159. package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +0 -6
  160. package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +0 -41
  161. package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +0 -77
  162. package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +0 -248
  163. package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +0 -40
  164. package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +0 -154
  165. package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +0 -36
  166. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +0 -281
  167. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +0 -104
  168. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +0 -129
  169. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +0 -312
  170. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +0 -29
  171. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +0 -5
  172. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +0 -50
  173. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +0 -38
  174. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +0 -132
  175. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +0 -4
  176. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +0 -55
  177. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +0 -247
  178. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +0 -44
  179. package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +0 -100
  180. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +0 -291
  181. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +0 -292
  182. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +0 -15
  183. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +0 -91
  184. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +0 -179
  185. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +0 -42
  186. package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +0 -315
  187. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +0 -129
  188. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +0 -195
  189. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +0 -53
  190. package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +0 -217
  191. package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +0 -56
  192. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +0 -475
  193. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +0 -57
  194. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +0 -183
  195. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +0 -106
  196. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +0 -61
  197. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +0 -287
  198. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +0 -54
  199. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +0 -159
  200. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +0 -176
  201. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +0 -109
  202. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +0 -242
  203. package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +0 -172
  204. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +0 -66
  205. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +0 -126
  206. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +0 -153
  207. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +0 -48
  208. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +0 -29
  209. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +0 -4
  210. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +0 -204
  211. package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +0 -258
  212. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +0 -167
  213. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +0 -38
  214. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +0 -37
  215. package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +0 -106
  216. package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +0 -47
  217. package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +0 -211
  218. package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +0 -93
  219. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +0 -113
  220. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +0 -136
  221. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +0 -52
  222. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +0 -22
  223. package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +0 -21
  224. package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +0 -14
  225. package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +0 -19
  226. package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +0 -69
  227. package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +0 -11
  228. package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +0 -34
  229. package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +0 -20
  230. package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +0 -23
  231. package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +0 -32
  232. package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +0 -25
  233. package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +0 -125
  234. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +0 -31
  235. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +0 -54
  236. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +0 -97
  237. package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +0 -112
  238. package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +0 -78
  239. package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +0 -86
  240. package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +0 -169
  241. package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +0 -20
  242. package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +0 -21
  243. package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +0 -24
  244. package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +0 -43
  245. package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +0 -21
  246. package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +0 -120
  247. package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +0 -38
  248. package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +0 -22
  249. package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +0 -49
  250. package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +0 -24
  251. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +0 -102
  252. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +0 -315
  253. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +0 -60
  254. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +0 -206
  255. package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +0 -22
  256. package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +0 -35
  257. package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +0 -15
  258. package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +0 -26
  259. package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +0 -21
  260. package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +0 -30
  261. package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +0 -97
  262. package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +0 -12
  263. package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +0 -16
  264. package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +0 -27
  265. package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +0 -17
  266. package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +0 -39
  267. package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +0 -10
  268. package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +0 -21
  269. package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +0 -32
  270. package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +0 -19
  271. package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +0 -73
  272. package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +0 -34
  273. package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +0 -139
  274. package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +0 -53
  275. package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +0 -164
  276. package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +0 -62
  277. package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +0 -41
  278. package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +0 -183
  279. package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +0 -89
  280. package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +0 -77
  281. package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +0 -5
  282. package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +0 -15
  283. package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +0 -53
  284. package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +0 -44
  285. package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +0 -36
  286. package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +0 -73
  287. package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +0 -19
  288. package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +0 -16
  289. package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +0 -224
  290. package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +0 -31
  291. package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +0 -37
  292. package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +0 -14
  293. package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +0 -23
  294. package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +0 -34
  295. package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +0 -8
  296. package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +0 -11
  297. package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +0 -25
  298. package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +0 -8
@@ -1,315 +0,0 @@
1
- import { shallowRef as W, computed as g, toRef as c, createVNode as m, normalizeClass as S, normalizeStyle as q, createElementVNode as b, mergeProps as P, nextTick as A } from "vue";
2
- import "../../../../../../../_virtual/VPagination.sass.mjs";
3
- import { makeBorderProps as G } from "../../composables/border.mjs";
4
- import { makeComponentProps as O } from "../../composables/component.mjs";
5
- import { provideDefaults as R } from "../../composables/defaults.mjs";
6
- import { makeDensityProps as X } from "../../composables/density.mjs";
7
- import { makeElevationProps as j } from "../../composables/elevation.mjs";
8
- import { IconValue as x } from "../../composables/icons.mjs";
9
- import { useLocale as H, useRtl as J } from "../../composables/locale.mjs";
10
- import { useProxiedModel as Q } from "../../composables/proxiedModel.mjs";
11
- import { useRefs as U } from "../../composables/refs.mjs";
12
- import { useResizeObserver as Y } from "../../composables/resizeObserver.mjs";
13
- import { makeRoundedProps as Z } from "../../composables/rounded.mjs";
14
- import { makeSizeProps as ee } from "../../composables/size.mjs";
15
- import { makeTagProps as ae } from "../../composables/tag.mjs";
16
- import { makeThemeProps as te, provideTheme as ie } from "../../composables/theme.mjs";
17
- import { makeVariantProps as le } from "../../composables/variant.mjs";
18
- import { useDisplay as ne } from "../../composables/display.mjs";
19
- import { VBtn as h } from "../VBtn/VBtn.mjs";
20
- import { propsFactory as re } from "../../util/propsFactory.mjs";
21
- import { genericComponent as oe } from "../../util/defineComponent.mjs";
22
- import { createRange as k, keyValues as N } from "../../util/helpers.mjs";
23
- import { useRender as se } from "../../util/useRender.mjs";
24
- const ue = re({
25
- activeColor: String,
26
- start: {
27
- type: [Number, String],
28
- default: 1
29
- },
30
- modelValue: {
31
- type: Number,
32
- default: (e) => e.start
33
- },
34
- disabled: Boolean,
35
- length: {
36
- type: [Number, String],
37
- default: 1,
38
- validator: (e) => e % 1 === 0
39
- },
40
- totalVisible: [Number, String],
41
- firstIcon: {
42
- type: x,
43
- default: "$first"
44
- },
45
- prevIcon: {
46
- type: x,
47
- default: "$prev"
48
- },
49
- nextIcon: {
50
- type: x,
51
- default: "$next"
52
- },
53
- lastIcon: {
54
- type: x,
55
- default: "$last"
56
- },
57
- ariaLabel: {
58
- type: String,
59
- default: "$vuetify.pagination.ariaLabel.root"
60
- },
61
- pageAriaLabel: {
62
- type: String,
63
- default: "$vuetify.pagination.ariaLabel.page"
64
- },
65
- currentPageAriaLabel: {
66
- type: String,
67
- default: "$vuetify.pagination.ariaLabel.currentPage"
68
- },
69
- firstAriaLabel: {
70
- type: String,
71
- default: "$vuetify.pagination.ariaLabel.first"
72
- },
73
- previousAriaLabel: {
74
- type: String,
75
- default: "$vuetify.pagination.ariaLabel.previous"
76
- },
77
- nextAriaLabel: {
78
- type: String,
79
- default: "$vuetify.pagination.ariaLabel.next"
80
- },
81
- lastAriaLabel: {
82
- type: String,
83
- default: "$vuetify.pagination.ariaLabel.last"
84
- },
85
- ellipsis: {
86
- type: String,
87
- default: "..."
88
- },
89
- showFirstLastPage: Boolean,
90
- ...G(),
91
- ...O(),
92
- ...X(),
93
- ...j(),
94
- ...Z(),
95
- ...ee(),
96
- ...ae({
97
- tag: "nav"
98
- }),
99
- ...te(),
100
- ...le({
101
- variant: "text"
102
- })
103
- }, "VPagination"), Ce = oe()({
104
- name: "VPagination",
105
- props: ue(),
106
- emits: {
107
- "update:modelValue": (e) => !0,
108
- first: (e) => !0,
109
- prev: (e) => !0,
110
- next: (e) => !0,
111
- last: (e) => !0
112
- },
113
- setup(e, $) {
114
- let {
115
- slots: s,
116
- emit: B
117
- } = $;
118
- const l = Q(e, "modelValue"), {
119
- t: d,
120
- n: C
121
- } = H(), {
122
- isRtl: L
123
- } = J(), {
124
- themeClasses: w
125
- } = ie(e), {
126
- width: F
127
- } = ne(), V = W(-1);
128
- R(void 0, {
129
- scoped: !0
130
- });
131
- const {
132
- resizeRef: M
133
- } = Y((a) => {
134
- if (!a.length)
135
- return;
136
- const {
137
- target: t,
138
- contentRect: i
139
- } = a[0], o = t.querySelector(".v-pagination__list > *");
140
- if (!o)
141
- return;
142
- const u = i.width, p = o.offsetWidth + parseFloat(getComputedStyle(o).marginRight) * 2;
143
- V.value = _(u, p);
144
- }), n = g(() => parseInt(e.length, 10)), r = g(() => parseInt(e.start, 10)), v = g(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : V.value >= 0 ? V.value : _(F.value, 58));
145
- function _(a, t) {
146
- const i = e.showFirstLastPage ? 5 : 3;
147
- return Math.max(0, Math.floor(
148
- // Round to two decimal places to avoid floating point errors
149
- Number(((a - t * i) / t).toFixed(2))
150
- ));
151
- }
152
- const z = g(() => {
153
- if (n.value <= 0 || isNaN(n.value) || n.value > Number.MAX_SAFE_INTEGER)
154
- return [];
155
- if (v.value <= 0)
156
- return [];
157
- if (v.value === 1)
158
- return [l.value];
159
- if (n.value <= v.value)
160
- return k(n.value, r.value);
161
- const a = v.value % 2 === 0, t = a ? v.value / 2 : Math.floor(v.value / 2), i = a ? t : t + 1, o = n.value - t;
162
- if (i - l.value >= 0)
163
- return [...k(Math.max(1, v.value - 1), r.value), e.ellipsis, n.value];
164
- if (l.value - o >= (a ? 1 : 0)) {
165
- const u = v.value - 1, p = n.value - u + r.value;
166
- return [r.value, e.ellipsis, ...k(u, p)];
167
- } else {
168
- const u = Math.max(1, v.value - 2), p = u === 1 ? l.value : l.value - Math.ceil(u / 2) + r.value;
169
- return [r.value, e.ellipsis, ...k(u, p), e.ellipsis, n.value];
170
- }
171
- });
172
- function y(a, t, i) {
173
- a.preventDefault(), l.value = t, i && B(i, t);
174
- }
175
- const {
176
- refs: D,
177
- updateRef: E
178
- } = U();
179
- R({
180
- VPaginationBtn: {
181
- color: c(() => e.color),
182
- border: c(() => e.border),
183
- density: c(() => e.density),
184
- size: c(() => e.size),
185
- variant: c(() => e.variant),
186
- rounded: c(() => e.rounded),
187
- elevation: c(() => e.elevation)
188
- }
189
- });
190
- const T = g(() => z.value.map((a, t) => {
191
- const i = (o) => E(o, t);
192
- if (typeof a == "string")
193
- return {
194
- isActive: !1,
195
- key: `ellipsis-${t}`,
196
- page: a,
197
- props: {
198
- ref: i,
199
- ellipsis: !0,
200
- icon: !0,
201
- disabled: !0
202
- }
203
- };
204
- {
205
- const o = a === l.value;
206
- return {
207
- isActive: o,
208
- key: a,
209
- page: C(a),
210
- props: {
211
- ref: i,
212
- ellipsis: !1,
213
- icon: !0,
214
- disabled: !!e.disabled || Number(e.length) < 2,
215
- color: o ? e.activeColor : e.color,
216
- "aria-current": o,
217
- "aria-label": d(o ? e.currentPageAriaLabel : e.pageAriaLabel, a),
218
- onClick: (u) => y(u, a)
219
- }
220
- };
221
- }
222
- })), f = g(() => {
223
- const a = !!e.disabled || l.value <= r.value, t = !!e.disabled || l.value >= r.value + n.value - 1;
224
- return {
225
- first: e.showFirstLastPage ? {
226
- icon: L.value ? e.lastIcon : e.firstIcon,
227
- onClick: (i) => y(i, r.value, "first"),
228
- disabled: a,
229
- "aria-label": d(e.firstAriaLabel),
230
- "aria-disabled": a
231
- } : void 0,
232
- prev: {
233
- icon: L.value ? e.nextIcon : e.prevIcon,
234
- onClick: (i) => y(i, l.value - 1, "prev"),
235
- disabled: a,
236
- "aria-label": d(e.previousAriaLabel),
237
- "aria-disabled": a
238
- },
239
- next: {
240
- icon: L.value ? e.prevIcon : e.nextIcon,
241
- onClick: (i) => y(i, l.value + 1, "next"),
242
- disabled: t,
243
- "aria-label": d(e.nextAriaLabel),
244
- "aria-disabled": t
245
- },
246
- last: e.showFirstLastPage ? {
247
- icon: L.value ? e.firstIcon : e.lastIcon,
248
- onClick: (i) => y(i, r.value + n.value - 1, "last"),
249
- disabled: t,
250
- "aria-label": d(e.lastAriaLabel),
251
- "aria-disabled": t
252
- } : void 0
253
- };
254
- });
255
- function I() {
256
- var t;
257
- const a = l.value - r.value;
258
- (t = D.value[a]) == null || t.$el.focus();
259
- }
260
- function K(a) {
261
- a.key === N.left && !e.disabled && l.value > Number(e.start) ? (l.value = l.value - 1, A(I)) : a.key === N.right && !e.disabled && l.value < r.value + n.value - 1 && (l.value = l.value + 1, A(I));
262
- }
263
- return se(() => m(e.tag, {
264
- ref: M,
265
- class: S(["v-pagination", w.value, e.class]),
266
- style: q(e.style),
267
- role: "navigation",
268
- "aria-label": d(e.ariaLabel),
269
- onKeydown: K,
270
- "data-test": "v-pagination-root"
271
- }, {
272
- default: () => [b("ul", {
273
- class: "v-pagination__list"
274
- }, [e.showFirstLastPage && b("li", {
275
- key: "first",
276
- class: "v-pagination__first",
277
- "data-test": "v-pagination-first"
278
- }, [s.first ? s.first(f.value.first) : m(h, P({
279
- _as: "VPaginationBtn"
280
- }, f.value.first), null)]), b("li", {
281
- key: "prev",
282
- class: "v-pagination__prev",
283
- "data-test": "v-pagination-prev"
284
- }, [s.prev ? s.prev(f.value.prev) : m(h, P({
285
- _as: "VPaginationBtn"
286
- }, f.value.prev), null)]), T.value.map((a, t) => b("li", {
287
- key: a.key,
288
- class: S(["v-pagination__item", {
289
- "v-pagination__item--is-active": a.isActive
290
- }]),
291
- "data-test": "v-pagination-item"
292
- }, [s.item ? s.item(a) : m(h, P({
293
- _as: "VPaginationBtn"
294
- }, a.props), {
295
- default: () => [a.page]
296
- })])), b("li", {
297
- key: "next",
298
- class: "v-pagination__next",
299
- "data-test": "v-pagination-next"
300
- }, [s.next ? s.next(f.value.next) : m(h, P({
301
- _as: "VPaginationBtn"
302
- }, f.value.next), null)]), e.showFirstLastPage && b("li", {
303
- key: "last",
304
- class: "v-pagination__last",
305
- "data-test": "v-pagination-last"
306
- }, [s.last ? s.last(f.value.last) : m(h, P({
307
- _as: "VPaginationBtn"
308
- }, f.value.last), null)])])]
309
- })), {};
310
- }
311
- });
312
- export {
313
- Ce as VPagination,
314
- ue as makeVPaginationProps
315
- };
@@ -1,129 +0,0 @@
1
- import { ref as I, toRef as r, computed as M, watchEffect as O, createVNode as A, normalizeClass as C, normalizeStyle as h, createElementVNode as n } from "vue";
2
- import "../../../../../../../_virtual/VProgressCircular.sass.mjs";
3
- import { useTextColor as y } from "../../composables/color.mjs";
4
- import { makeComponentProps as D } from "../../composables/component.mjs";
5
- import { useIntersectionObserver as F } from "../../composables/intersectionObserver.mjs";
6
- import { useResizeObserver as U } from "../../composables/resizeObserver.mjs";
7
- import { makeRevealProps as $, useReveal as B } from "../../composables/reveal.mjs";
8
- import { makeSizeProps as G, useSize as L } from "../../composables/size.mjs";
9
- import { makeTagProps as W } from "../../composables/tag.mjs";
10
- import { makeThemeProps as j, provideTheme as q } from "../../composables/theme.mjs";
11
- import { propsFactory as H } from "../../util/propsFactory.mjs";
12
- import { genericComponent as J } from "../../util/defineComponent.mjs";
13
- import { clamp as K, convertToUnit as k } from "../../util/helpers.mjs";
14
- import { useRender as Q } from "../../util/useRender.mjs";
15
- import { PREFERS_REDUCED_MOTION as X } from "../../util/globals.mjs";
16
- const Y = H({
17
- bgColor: String,
18
- color: String,
19
- indeterminate: [Boolean, String],
20
- rounded: Boolean,
21
- modelValue: {
22
- type: [Number, String],
23
- default: 0
24
- },
25
- rotate: {
26
- type: [Number, String],
27
- default: 0
28
- },
29
- width: {
30
- type: [Number, String],
31
- default: 4
32
- },
33
- ...D(),
34
- ...$(),
35
- ...G(),
36
- ...W({
37
- tag: "div"
38
- }),
39
- ...j()
40
- }, "VProgressCircular"), fe = J()({
41
- name: "VProgressCircular",
42
- props: Y(),
43
- setup(e, S) {
44
- let {
45
- slots: m
46
- } = S;
47
- const o = 20, t = 2 * Math.PI * o, i = I(), {
48
- themeClasses: b
49
- } = q(e), {
50
- sizeClasses: p,
51
- sizeStyles: v
52
- } = L(e), {
53
- textColorClasses: R,
54
- textColorStyles: w
55
- } = y(() => e.color), {
56
- textColorClasses: x,
57
- textColorStyles: N
58
- } = y(() => e.bgColor), {
59
- intersectionRef: P,
60
- isIntersecting: z
61
- } = F(), {
62
- resizeRef: _,
63
- contentRect: d
64
- } = U(), {
65
- state: f,
66
- duration: E
67
- } = B(e), a = r(() => f.value === "initial" ? 0 : K(parseFloat(e.modelValue), 0, 100)), u = r(() => Number(e.width)), g = r(() => v.value ? Number(e.size) : d.value ? d.value.width : Math.max(u.value, 32)), c = r(() => o / (1 - u.value / g.value) * 2), s = r(() => u.value / g.value * c.value), V = r(() => {
68
- const l = (100 - a.value) / 100 * t;
69
- return e.rounded && a.value > 0 && a.value < 100 ? k(Math.min(t - 0.01, l + s.value)) : k(l);
70
- }), T = M(() => {
71
- const l = Number(e.rotate);
72
- return e.rounded ? l + s.value / 2 / t * 360 : l;
73
- });
74
- return O(() => {
75
- P.value = i.value, _.value = i.value;
76
- }), Q(() => A(e.tag, {
77
- ref: i,
78
- class: C(["v-progress-circular", {
79
- "v-progress-circular--indeterminate": !!e.indeterminate,
80
- "v-progress-circular--visible": z.value,
81
- "v-progress-circular--disable-shrink": e.indeterminate && (e.indeterminate === "disable-shrink" || X()),
82
- "v-progress-circular--revealing": ["initial", "pending"].includes(f.value)
83
- }, b.value, p.value, R.value, e.class]),
84
- style: h([v.value, w.value, {
85
- "--progress-reveal-duration": `${E.value}ms`
86
- }, e.style]),
87
- role: "progressbar",
88
- "aria-valuemin": "0",
89
- "aria-valuemax": "100",
90
- "aria-valuenow": e.indeterminate ? void 0 : a.value
91
- }, {
92
- default: () => [n("svg", {
93
- style: {
94
- transform: `rotate(calc(-90deg + ${T.value}deg))`
95
- },
96
- xmlns: "http://www.w3.org/2000/svg",
97
- viewBox: `0 0 ${c.value} ${c.value}`
98
- }, [n("circle", {
99
- class: C(["v-progress-circular__underlay", x.value]),
100
- style: h(N.value),
101
- fill: "transparent",
102
- cx: "50%",
103
- cy: "50%",
104
- r: o,
105
- "stroke-width": s.value,
106
- "stroke-dasharray": t,
107
- "stroke-dashoffset": 0
108
- }, null), n("circle", {
109
- class: "v-progress-circular__overlay",
110
- fill: "transparent",
111
- cx: "50%",
112
- cy: "50%",
113
- r: o,
114
- "stroke-width": s.value,
115
- "stroke-dasharray": t,
116
- "stroke-dashoffset": V.value,
117
- "stroke-linecap": e.rounded ? "round" : void 0
118
- }, null)]), m.default && n("div", {
119
- class: "v-progress-circular__content"
120
- }, [m.default({
121
- value: a.value
122
- })])]
123
- })), {};
124
- }
125
- });
126
- export {
127
- fe as VProgressCircular,
128
- Y as makeVProgressCircularProps
129
- };
@@ -1,195 +0,0 @@
1
- import { ref as G, computed as t, shallowRef as H, watchEffect as V, createVNode as P, normalizeClass as n, normalizeStyle as s, createElementVNode as l, Transition as J } from "vue";
2
- import "../../../../../../../_virtual/VProgressLinear.sass.mjs";
3
- import { useTextColor as K, useBackgroundColor as h } from "../../composables/color.mjs";
4
- import { makeComponentProps as Q } from "../../composables/component.mjs";
5
- import { useIntersectionObserver as Y } from "../../composables/intersectionObserver.mjs";
6
- import { useRtl as Z } from "../../composables/locale.mjs";
7
- import { makeLocationProps as ee, useLocation as ae } from "../../composables/location.mjs";
8
- import { useProxiedModel as te } from "../../composables/proxiedModel.mjs";
9
- import { useResizeObserver as re } from "../../composables/resizeObserver.mjs";
10
- import { makeRoundedProps as le, useRounded as oe } from "../../composables/rounded.mjs";
11
- import { makeTagProps as ne } from "../../composables/tag.mjs";
12
- import { makeThemeProps as se, provideTheme as ie } from "../../composables/theme.mjs";
13
- import { useToggleScope as ue } from "../../composables/toggleScope.mjs";
14
- import { makeChunksProps as ce, useChunks as ve } from "./chunks.mjs";
15
- import { propsFactory as de } from "../../util/propsFactory.mjs";
16
- import { genericComponent as me } from "../../util/defineComponent.mjs";
17
- import { clamp as R, convertToUnit as a } from "../../util/helpers.mjs";
18
- import { useRender as fe } from "../../util/useRender.mjs";
19
- const ge = de({
20
- absolute: Boolean,
21
- active: {
22
- type: Boolean,
23
- default: !0
24
- },
25
- bgColor: String,
26
- bgOpacity: [Number, String],
27
- bufferValue: {
28
- type: [Number, String],
29
- default: 0
30
- },
31
- bufferColor: String,
32
- bufferOpacity: [Number, String],
33
- clickable: Boolean,
34
- color: String,
35
- height: {
36
- type: [Number, String],
37
- default: 4
38
- },
39
- indeterminate: Boolean,
40
- max: {
41
- type: [Number, String],
42
- default: 100
43
- },
44
- modelValue: {
45
- type: [Number, String],
46
- default: 0
47
- },
48
- opacity: [Number, String],
49
- reverse: Boolean,
50
- stream: Boolean,
51
- striped: Boolean,
52
- roundedBar: Boolean,
53
- ...ce(),
54
- ...Q(),
55
- ...ee({
56
- location: "top"
57
- }),
58
- ...le(),
59
- ...ne(),
60
- ...se()
61
- }, "VProgressLinear"), ze = me()({
62
- name: "VProgressLinear",
63
- props: ge(),
64
- emits: {
65
- "update:modelValue": (e) => !0
66
- },
67
- setup(e, p) {
68
- let {
69
- slots: y
70
- } = p;
71
- const v = G(), d = te(e, "modelValue"), {
72
- isRtl: x,
73
- rtlClasses: w
74
- } = Z(), {
75
- themeClasses: F
76
- } = ie(e), {
77
- locationStyles: N
78
- } = ae(e), {
79
- textColorClasses: T,
80
- textColorStyles: O
81
- } = K(() => e.color), {
82
- backgroundColorClasses: z,
83
- backgroundColorStyles: L
84
- } = h(() => e.bgColor || e.color), {
85
- backgroundColorClasses: M,
86
- backgroundColorStyles: W
87
- } = h(() => e.bufferColor || e.bgColor || e.color), {
88
- backgroundColorClasses: k,
89
- backgroundColorStyles: S
90
- } = h(() => e.color), {
91
- roundedClasses: E
92
- } = oe(e), {
93
- intersectionRef: m,
94
- isIntersecting: I
95
- } = Y(), i = t(() => parseFloat(e.max)), o = t(() => parseFloat(e.height)), u = t(() => R(parseFloat(e.bufferValue) / i.value * 100, 0, 100)), f = t(() => R(parseFloat(d.value) / i.value * 100, 0, 100)), c = t(() => x.value !== e.reverse), X = t(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), _ = H(0), {
96
- hasChunks: g,
97
- chunksMaskStyles: $,
98
- snapValueToChunk: B
99
- } = ve(e, _);
100
- ue(g, () => {
101
- const {
102
- resizeRef: r
103
- } = re((b) => _.value = b[0].contentRect.width);
104
- V(() => r.value = v.value);
105
- });
106
- const U = t(() => g.value ? B(u.value) : u.value), j = t(() => g.value ? B(f.value) : f.value);
107
- function q(r) {
108
- if (!m.value)
109
- return;
110
- const {
111
- left: b,
112
- right: A,
113
- width: C
114
- } = m.value.getBoundingClientRect(), D = c.value ? C - r.clientX + (A - C) : r.clientX - b;
115
- d.value = Math.round(D / C * i.value);
116
- }
117
- return V(() => {
118
- m.value = v.value;
119
- }), fe(() => P(e.tag, {
120
- ref: v,
121
- class: n(["v-progress-linear", {
122
- "v-progress-linear--absolute": e.absolute,
123
- "v-progress-linear--active": e.active && I.value,
124
- "v-progress-linear--reverse": c.value,
125
- "v-progress-linear--rounded": e.rounded,
126
- "v-progress-linear--rounded-bar": e.roundedBar,
127
- "v-progress-linear--striped": e.striped,
128
- "v-progress-linear--clickable": e.clickable
129
- }, E.value, F.value, w.value, e.class]),
130
- style: s([{
131
- bottom: e.location === "bottom" ? 0 : void 0,
132
- top: e.location === "top" ? 0 : void 0,
133
- height: e.active ? a(o.value) : 0,
134
- "--v-progress-linear-height": a(o.value),
135
- ...e.absolute ? N.value : {}
136
- }, $.value, e.style]),
137
- role: "progressbar",
138
- "aria-hidden": e.active ? "false" : "true",
139
- "aria-valuemin": "0",
140
- "aria-valuemax": e.max,
141
- "aria-valuenow": e.indeterminate ? void 0 : Math.min(parseFloat(d.value), i.value),
142
- onClick: e.clickable && q
143
- }, {
144
- default: () => [e.stream && l("div", {
145
- key: "stream",
146
- class: n(["v-progress-linear__stream", T.value]),
147
- style: {
148
- ...O.value,
149
- [c.value ? "left" : "right"]: a(-o.value),
150
- borderTop: `${a(o.value / 2)} dotted`,
151
- opacity: parseFloat(e.bufferOpacity),
152
- top: `calc(50% - ${a(o.value / 4)})`,
153
- width: a(100 - u.value, "%"),
154
- "--v-progress-linear-stream-to": a(o.value * (c.value ? 1 : -1))
155
- }
156
- }, null), l("div", {
157
- class: n(["v-progress-linear__background", z.value]),
158
- style: s([L.value, {
159
- opacity: parseFloat(e.bgOpacity),
160
- width: e.stream ? 0 : void 0
161
- }])
162
- }, null), l("div", {
163
- class: n(["v-progress-linear__buffer", M.value]),
164
- style: s([W.value, {
165
- opacity: parseFloat(e.bufferOpacity),
166
- width: a(U.value, "%")
167
- }])
168
- }, null), P(J, {
169
- name: X.value
170
- }, {
171
- default: () => [e.indeterminate ? l("div", {
172
- class: "v-progress-linear__indeterminate"
173
- }, [["long", "short"].map((r) => l("div", {
174
- key: r,
175
- class: n(["v-progress-linear__indeterminate", r, k.value]),
176
- style: s(S.value)
177
- }, null))]) : l("div", {
178
- class: n(["v-progress-linear__determinate", k.value]),
179
- style: s([S.value, {
180
- width: a(j.value, "%")
181
- }])
182
- }, null)]
183
- }), y.default && l("div", {
184
- class: "v-progress-linear__content"
185
- }, [y.default({
186
- value: f.value,
187
- buffer: u.value
188
- })])]
189
- })), {};
190
- }
191
- });
192
- export {
193
- ze as VProgressLinear,
194
- ge as makeVProgressLinearProps
195
- };
@@ -1,53 +0,0 @@
1
- import { toRef as h, computed as k, toValue as l } from "vue";
2
- import { propsFactory as p } from "../../util/propsFactory.mjs";
3
- import { convertToUnit as s, clamp as v } from "../../util/helpers.mjs";
4
- const g = p({
5
- chunkCount: {
6
- type: [Number, String],
7
- default: null
8
- },
9
- chunkWidth: {
10
- type: [Number, String],
11
- default: null
12
- },
13
- chunkGap: {
14
- type: [Number, String],
15
- default: 4
16
- }
17
- }, "chunks");
18
- function N(t, c) {
19
- const r = h(() => !!t.chunkCount || !!t.chunkWidth), o = k(() => {
20
- const e = l(c);
21
- if (!e)
22
- return 0;
23
- if (!t.chunkCount)
24
- return Number(t.chunkWidth);
25
- const n = Number(t.chunkCount);
26
- return (e - Number(t.chunkGap) * (n - 1)) / n;
27
- }), u = h(() => Number(t.chunkGap)), m = k(() => {
28
- if (!r.value)
29
- return {};
30
- const e = s(u.value), n = s(o.value);
31
- return {
32
- maskRepeat: "repeat-x",
33
- maskImage: `linear-gradient(90deg, #000, #000 ${n}, transparent ${n}, transparent)`,
34
- maskSize: `calc(${n} + ${e}) 100%`
35
- };
36
- });
37
- function f(e) {
38
- const n = l(c);
39
- if (!n)
40
- return e;
41
- const a = 100 * u.value / n, i = 100 * (o.value + u.value) / n, d = Math.floor((e + a) / i);
42
- return v(0, d * i - a / 2, 100);
43
- }
44
- return {
45
- hasChunks: r,
46
- chunksMaskStyles: m,
47
- snapValueToChunk: f
48
- };
49
- }
50
- export {
51
- g as makeChunksProps,
52
- N as useChunks
53
- };