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.
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +45 -70
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +40 -73
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +4 -12
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +6 -13
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +28 -408
- package/dist/components/BT-Assistant-Menu.vue.mjs +407 -420
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +52 -52
- package/dist/components/BT-Blade-Item.vue.mjs +100 -110
- package/dist/components/BT-Blade-Items.vue.mjs +1 -1
- package/dist/components/BT-Blade-Items.vue2.mjs +399 -411
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +626 -641
- package/dist/components/BT-Blade.vue.mjs +192 -201
- package/dist/components/BT-Btn.vue.mjs +25 -23
- package/dist/components/BT-Camera-Overlay.vue.mjs +142 -144
- package/dist/components/BT-Col.vue.mjs +19 -17
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +49 -51
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +173 -180
- package/dist/components/BT-Cron.vue.mjs +249 -264
- package/dist/components/BT-Date-Select.vue.mjs +47 -46
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
- package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
- package/dist/components/BT-Dialog-Date.vue.mjs +19 -22
- package/dist/components/BT-Dialog-Number.vue.mjs +121 -125
- package/dist/components/BT-Dialog-Select.vue.mjs +85 -96
- package/dist/components/BT-Divider.vue.mjs +21 -20
- package/dist/components/BT-Drag-Counter.vue.mjs +1 -1
- package/dist/components/BT-Drag-Counter.vue2.mjs +89 -89
- package/dist/components/BT-Entity.vue.mjs +82 -82
- package/dist/components/BT-Error.vue.mjs +27 -26
- package/dist/components/BT-Field-Checkbox.vue.mjs +31 -30
- package/dist/components/BT-Field-Date.vue.mjs +84 -87
- package/dist/components/BT-Field-Entity.vue.mjs +16 -20
- package/dist/components/BT-Field-Select-Simple.vue.mjs +26 -24
- package/dist/components/BT-Field-Select.vue.mjs +34 -32
- package/dist/components/BT-Field-String.vue.mjs +52 -54
- package/dist/components/BT-Field-Switch.vue.mjs +43 -44
- package/dist/components/BT-Field-Tags.vue.mjs +55 -57
- package/dist/components/BT-Field-Textarea.vue.mjs +43 -44
- package/dist/components/BT-Field-Trigger.vue.mjs +270 -276
- package/dist/components/BT-Field.vue.mjs +38 -39
- package/dist/components/BT-Form-Builder.vue.mjs +325 -346
- package/dist/components/BT-Form-Field.vue.mjs +81 -88
- package/dist/components/BT-Form.vue.mjs +269 -280
- package/dist/components/BT-Header-Option.vue.mjs +19 -21
- package/dist/components/BT-Image-Select.vue.mjs +177 -186
- package/dist/components/BT-Json.vue.mjs +30 -29
- package/dist/components/BT-Loader.vue.mjs +31 -32
- package/dist/components/BT-Nav-Sidebar.vue.mjs +124 -130
- package/dist/components/BT-Number.vue.mjs +1 -1
- package/dist/components/BT-Number.vue2.mjs +19 -17
- package/dist/components/BT-Numpad.vue.mjs +144 -147
- package/dist/components/BT-Select-List-Box.vue.mjs +276 -287
- package/dist/components/BT-Select-Simple.vue.mjs +23 -21
- package/dist/components/BT-Select.vue.mjs +37 -36
- package/dist/components/BT-Signature-Overlay.vue.mjs +112 -113
- package/dist/components/BT-Signature.vue.mjs +96 -96
- package/dist/components/BT-Slider.vue.mjs +103 -109
- package/dist/components/BT-Square-Check.vue.mjs +65 -65
- package/dist/components/BT-Status-Item.vue.mjs +16 -18
- package/dist/components/BT-Tags.vue.mjs +22 -21
- package/dist/components/BT-Tour.vue.mjs +65 -69
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/_virtual/VAlert.sass.mjs +0 -1
- package/dist/_virtual/VAvatar.sass.mjs +0 -1
- package/dist/_virtual/VBtn.sass.mjs +0 -1
- package/dist/_virtual/VBtnGroup.sass.mjs +0 -1
- package/dist/_virtual/VBtnToggle.sass.mjs +0 -1
- package/dist/_virtual/VCard.sass.mjs +0 -1
- package/dist/_virtual/VCheckbox.sass.mjs +0 -1
- package/dist/_virtual/VChip.sass.mjs +0 -1
- package/dist/_virtual/VChipGroup.sass.mjs +0 -1
- package/dist/_virtual/VColorPicker.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerEdit.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerPreview.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +0 -1
- package/dist/_virtual/VCombobox.sass.mjs +0 -1
- package/dist/_virtual/VContainer.sass.mjs +0 -1
- package/dist/_virtual/VCounter.sass.mjs +0 -1
- package/dist/_virtual/VDialog.sass.mjs +0 -1
- package/dist/_virtual/VDivider.sass.mjs +0 -1
- package/dist/_virtual/VField.sass.mjs +0 -1
- package/dist/_virtual/VGrid.sass.mjs +0 -1
- package/dist/_virtual/VIcon.sass.mjs +0 -1
- package/dist/_virtual/VImg.sass.mjs +0 -1
- package/dist/_virtual/VInput.sass.mjs +0 -1
- package/dist/_virtual/VLabel.sass.mjs +0 -1
- package/dist/_virtual/VList.sass.mjs +0 -1
- package/dist/_virtual/VListItem.sass.mjs +0 -1
- package/dist/_virtual/VMenu.sass.mjs +0 -1
- package/dist/_virtual/VMessages.sass.mjs +0 -1
- package/dist/_virtual/VNavigationDrawer.sass.mjs +0 -1
- package/dist/_virtual/VOverlay.sass.mjs +0 -1
- package/dist/_virtual/VPagination.sass.mjs +0 -1
- package/dist/_virtual/VPicker.sass.mjs +0 -1
- package/dist/_virtual/VProgressCircular.sass.mjs +0 -1
- package/dist/_virtual/VProgressLinear.sass.mjs +0 -1
- package/dist/_virtual/VRating.sass.mjs +0 -1
- package/dist/_virtual/VResponsive.sass.mjs +0 -1
- package/dist/_virtual/VRipple.sass.mjs +0 -1
- package/dist/_virtual/VSelect.sass.mjs +0 -1
- package/dist/_virtual/VSelectionControl.sass.mjs +0 -1
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +0 -1
- package/dist/_virtual/VSheet.sass.mjs +0 -1
- package/dist/_virtual/VSlideGroup.sass.mjs +0 -1
- package/dist/_virtual/VSlider.sass.mjs +0 -1
- package/dist/_virtual/VSliderThumb.sass.mjs +0 -1
- package/dist/_virtual/VSliderTrack.sass.mjs +0 -1
- package/dist/_virtual/VSpacer.sass.mjs +0 -1
- package/dist/_virtual/VSwitch.sass.mjs +0 -1
- package/dist/_virtual/VTab.sass.mjs +0 -1
- package/dist/_virtual/VTable.sass.mjs +0 -1
- package/dist/_virtual/VTabs.sass.mjs +0 -1
- package/dist/_virtual/VTextField.sass.mjs +0 -1
- package/dist/_virtual/VTextarea.sass.mjs +0 -1
- package/dist/_virtual/VToolbar.sass.mjs +0 -1
- package/dist/_virtual/VVirtualScroll.sass.mjs +0 -1
- package/dist/_virtual/VWindow.sass.mjs +0 -1
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +0 -196
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +0 -92
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +0 -220
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +0 -68
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +0 -57
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +0 -180
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +0 -32
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +0 -118
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +0 -74
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +0 -263
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +0 -87
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +0 -161
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +0 -166
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +0 -97
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +0 -123
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +0 -72
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +0 -193
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +0 -501
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +0 -51
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +0 -39
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +0 -103
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +0 -82
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +0 -295
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +0 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +0 -98
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +0 -41
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +0 -104
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +0 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +0 -41
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +0 -77
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +0 -248
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +0 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +0 -154
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +0 -36
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +0 -281
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +0 -104
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +0 -129
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +0 -312
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +0 -50
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +0 -38
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +0 -132
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +0 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +0 -55
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +0 -247
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +0 -44
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +0 -100
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +0 -291
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +0 -292
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +0 -15
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +0 -91
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +0 -179
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +0 -42
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +0 -315
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +0 -129
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +0 -195
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +0 -217
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +0 -56
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +0 -475
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +0 -57
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +0 -183
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +0 -106
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +0 -61
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +0 -287
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +0 -54
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +0 -159
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +0 -176
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +0 -109
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +0 -242
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +0 -172
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +0 -66
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +0 -126
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +0 -153
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +0 -48
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +0 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +0 -204
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +0 -258
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +0 -167
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +0 -38
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +0 -37
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +0 -106
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +0 -47
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +0 -211
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +0 -93
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +0 -113
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +0 -136
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +0 -52
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +0 -22
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +0 -14
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +0 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +0 -69
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +0 -11
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +0 -34
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +0 -20
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +0 -23
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +0 -32
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +0 -25
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +0 -125
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +0 -31
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +0 -54
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +0 -97
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +0 -112
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +0 -78
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +0 -86
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +0 -169
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +0 -20
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +0 -24
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +0 -43
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +0 -120
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +0 -38
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +0 -22
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +0 -49
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +0 -24
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +0 -102
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +0 -315
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +0 -60
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +0 -206
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +0 -22
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +0 -35
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +0 -15
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +0 -26
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +0 -30
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +0 -97
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +0 -12
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +0 -16
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +0 -27
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +0 -17
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +0 -39
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +0 -10
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +0 -32
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +0 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +0 -73
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +0 -34
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +0 -139
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +0 -164
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +0 -62
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +0 -41
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +0 -183
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +0 -89
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +0 -77
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +0 -15
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +0 -44
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +0 -36
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +0 -73
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +0 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +0 -16
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +0 -224
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +0 -31
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +0 -37
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +0 -14
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +0 -23
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +0 -34
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +0 -8
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +0 -11
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +0 -25
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +0 -8
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { ref as k, computed as B, createVNode as m, mergeProps as y, createElementVNode as p, Fragment as U } from "vue";
|
|
2
|
-
import "../../../../../../../_virtual/VSlider.sass.mjs";
|
|
3
|
-
import { VSliderThumb as j } from "./VSliderThumb.mjs";
|
|
4
|
-
import { VSliderTrack as q } from "./VSliderTrack.mjs";
|
|
5
|
-
import { makeVInputProps as z, VInput as P } from "../VInput/VInput.mjs";
|
|
6
|
-
import { makeSliderProps as D, useSteps as G, useSlider as H } from "./slider.mjs";
|
|
7
|
-
import { makeFocusProps as J, useFocus as O } from "../../composables/focus.mjs";
|
|
8
|
-
import { forwardRefs as Q } from "../../composables/forwardRefs.mjs";
|
|
9
|
-
import { useRtl as W } from "../../composables/locale.mjs";
|
|
10
|
-
import { useProxiedModel as X } from "../../composables/proxiedModel.mjs";
|
|
11
|
-
import { VLabel as Y } from "../VLabel/VLabel.mjs";
|
|
12
|
-
import { propsFactory as Z } from "../../util/propsFactory.mjs";
|
|
13
|
-
import { genericComponent as ee } from "../../util/defineComponent.mjs";
|
|
14
|
-
import { useRender as le } from "../../util/useRender.mjs";
|
|
15
|
-
import { filterInputAttrs as ae } from "../../util/helpers.mjs";
|
|
16
|
-
const te = Z({
|
|
17
|
-
...J(),
|
|
18
|
-
...D(),
|
|
19
|
-
...z(),
|
|
20
|
-
modelValue: {
|
|
21
|
-
type: [Number, String],
|
|
22
|
-
default: 0
|
|
23
|
-
}
|
|
24
|
-
}, "VSlider"), he = ee()({
|
|
25
|
-
name: "VSlider",
|
|
26
|
-
inheritAttrs: !1,
|
|
27
|
-
props: te(),
|
|
28
|
-
emits: {
|
|
29
|
-
"update:focused": (e) => !0,
|
|
30
|
-
"update:modelValue": (e) => !0,
|
|
31
|
-
start: (e) => !0,
|
|
32
|
-
end: (e) => !0
|
|
33
|
-
},
|
|
34
|
-
setup(e, g) {
|
|
35
|
-
let {
|
|
36
|
-
slots: a,
|
|
37
|
-
emit: b,
|
|
38
|
-
attrs: x
|
|
39
|
-
} = g;
|
|
40
|
-
const v = k(), V = k(), {
|
|
41
|
-
rtlClasses: F
|
|
42
|
-
} = W(), c = G(e), t = X(e, "modelValue", void 0, (l) => c.roundValue(l ?? c.min.value)), {
|
|
43
|
-
min: R,
|
|
44
|
-
max: A,
|
|
45
|
-
mousePressed: T,
|
|
46
|
-
roundValue: S,
|
|
47
|
-
onSliderMousedown: C,
|
|
48
|
-
onSliderTouchstart: I,
|
|
49
|
-
trackContainerRef: M,
|
|
50
|
-
position: _,
|
|
51
|
-
hasLabels: w,
|
|
52
|
-
disabled: u,
|
|
53
|
-
readonly: r,
|
|
54
|
-
noKeyboard: N
|
|
55
|
-
} = H({
|
|
56
|
-
props: e,
|
|
57
|
-
steps: c,
|
|
58
|
-
onSliderStart: () => {
|
|
59
|
-
!u.value && !r.value && b("start", t.value);
|
|
60
|
-
},
|
|
61
|
-
onSliderEnd: (l) => {
|
|
62
|
-
let {
|
|
63
|
-
value: o
|
|
64
|
-
} = l;
|
|
65
|
-
const i = S(o);
|
|
66
|
-
!u.value && !r.value && (t.value = i), b("end", i);
|
|
67
|
-
},
|
|
68
|
-
onSliderMove: (l) => {
|
|
69
|
-
let {
|
|
70
|
-
value: o
|
|
71
|
-
} = l;
|
|
72
|
-
!u.value && !r.value && (t.value = S(o));
|
|
73
|
-
},
|
|
74
|
-
getActiveThumb: () => {
|
|
75
|
-
var l;
|
|
76
|
-
return (l = v.value) == null ? void 0 : l.$el;
|
|
77
|
-
}
|
|
78
|
-
}), {
|
|
79
|
-
isFocused: f,
|
|
80
|
-
focus: E,
|
|
81
|
-
blur: K
|
|
82
|
-
} = O(e), h = B(() => _(t.value));
|
|
83
|
-
return le(() => {
|
|
84
|
-
const l = P.filterProps(e), [o, i] = ae(x), L = !!(e.label || a.label || a.prepend);
|
|
85
|
-
return m(P, y({
|
|
86
|
-
ref: V,
|
|
87
|
-
class: ["v-slider", {
|
|
88
|
-
"v-slider--has-labels": !!a["tick-label"] || w.value,
|
|
89
|
-
"v-slider--focused": f.value,
|
|
90
|
-
"v-slider--pressed": T.value,
|
|
91
|
-
"v-slider--disabled": u.value
|
|
92
|
-
}, F.value, e.class],
|
|
93
|
-
style: e.style
|
|
94
|
-
}, l, o, {
|
|
95
|
-
focused: f.value
|
|
96
|
-
}), {
|
|
97
|
-
...a,
|
|
98
|
-
prepend: L ? (n) => {
|
|
99
|
-
var d, s;
|
|
100
|
-
return p(U, null, [((d = a.label) == null ? void 0 : d.call(a, n)) ?? (e.label ? m(Y, {
|
|
101
|
-
id: n.id.value,
|
|
102
|
-
class: "v-slider__label",
|
|
103
|
-
text: e.label
|
|
104
|
-
}, null) : void 0), (s = a.prepend) == null ? void 0 : s.call(a, n)]);
|
|
105
|
-
} : void 0,
|
|
106
|
-
default: (n) => {
|
|
107
|
-
let {
|
|
108
|
-
id: d,
|
|
109
|
-
messagesId: s
|
|
110
|
-
} = n;
|
|
111
|
-
return p("div", {
|
|
112
|
-
class: "v-slider__container",
|
|
113
|
-
onMousedown: r.value ? void 0 : C,
|
|
114
|
-
onTouchstartPassive: r.value ? void 0 : I
|
|
115
|
-
}, [p("input", {
|
|
116
|
-
id: d.value,
|
|
117
|
-
name: e.name || d.value,
|
|
118
|
-
disabled: u.value,
|
|
119
|
-
readonly: r.value,
|
|
120
|
-
tabindex: "-1",
|
|
121
|
-
value: t.value
|
|
122
|
-
}, null), m(q, {
|
|
123
|
-
ref: M,
|
|
124
|
-
start: 0,
|
|
125
|
-
stop: h.value
|
|
126
|
-
}, {
|
|
127
|
-
"tick-label": a["tick-label"]
|
|
128
|
-
}), m(j, y({
|
|
129
|
-
ref: v,
|
|
130
|
-
"aria-describedby": s.value,
|
|
131
|
-
focused: f.value,
|
|
132
|
-
noKeyboard: N.value,
|
|
133
|
-
min: R.value,
|
|
134
|
-
max: A.value,
|
|
135
|
-
modelValue: t.value,
|
|
136
|
-
"onUpdate:modelValue": ($) => t.value = $,
|
|
137
|
-
position: h.value,
|
|
138
|
-
elevation: e.elevation,
|
|
139
|
-
onFocus: E,
|
|
140
|
-
onBlur: K,
|
|
141
|
-
ripple: e.ripple,
|
|
142
|
-
name: e.name
|
|
143
|
-
}, i), {
|
|
144
|
-
"thumb-label": a["thumb-label"]
|
|
145
|
-
})]);
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
}), Q({
|
|
149
|
-
focus: () => {
|
|
150
|
-
var l;
|
|
151
|
-
return (l = v.value) == null ? void 0 : l.$el.focus();
|
|
152
|
-
}
|
|
153
|
-
}, V);
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
export {
|
|
157
|
-
he as VSlider,
|
|
158
|
-
te as makeVSliderProps
|
|
159
|
-
};
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { inject as re, shallowRef as q, computed as z, watch as ae, createElementVNode as r, normalizeClass as m, normalizeStyle as v, withDirectives as B, createVNode as ie, vShow as ue } from "vue";
|
|
2
|
-
import "../../../../../../../_virtual/VSliderThumb.sass.mjs";
|
|
3
|
-
import { VSliderSymbol as se } from "./slider.mjs";
|
|
4
|
-
import { VScaleTransition as ne } from "../transitions/index.mjs";
|
|
5
|
-
import { useTextColor as de, useBackgroundColor as me } from "../../composables/color.mjs";
|
|
6
|
-
import { makeComponentProps as ve } from "../../composables/component.mjs";
|
|
7
|
-
import { useElevation as ce } from "../../composables/elevation.mjs";
|
|
8
|
-
import { useRtl as fe } from "../../composables/locale.mjs";
|
|
9
|
-
import E from "../../directives/ripple/index.mjs";
|
|
10
|
-
import { convertToUnit as M, keyValues as be } from "../../util/helpers.mjs";
|
|
11
|
-
import { propsFactory as ye } from "../../util/propsFactory.mjs";
|
|
12
|
-
import { genericComponent as he } from "../../util/defineComponent.mjs";
|
|
13
|
-
import { useRender as pe } from "../../util/useRender.mjs";
|
|
14
|
-
const Ve = ye({
|
|
15
|
-
focused: Boolean,
|
|
16
|
-
max: {
|
|
17
|
-
type: Number,
|
|
18
|
-
required: !0
|
|
19
|
-
},
|
|
20
|
-
min: {
|
|
21
|
-
type: Number,
|
|
22
|
-
required: !0
|
|
23
|
-
},
|
|
24
|
-
modelValue: {
|
|
25
|
-
type: Number,
|
|
26
|
-
required: !0
|
|
27
|
-
},
|
|
28
|
-
position: {
|
|
29
|
-
type: Number,
|
|
30
|
-
required: !0
|
|
31
|
-
},
|
|
32
|
-
ripple: {
|
|
33
|
-
type: [Boolean, Object],
|
|
34
|
-
default: !0
|
|
35
|
-
},
|
|
36
|
-
name: String,
|
|
37
|
-
noKeyboard: Boolean,
|
|
38
|
-
...ve()
|
|
39
|
-
}, "VSliderThumb"), ze = he()({
|
|
40
|
-
name: "VSliderThumb",
|
|
41
|
-
directives: {
|
|
42
|
-
vRipple: E
|
|
43
|
-
},
|
|
44
|
-
props: Ve(),
|
|
45
|
-
emits: {
|
|
46
|
-
"update:modelValue": (e) => !0
|
|
47
|
-
},
|
|
48
|
-
setup(e, F) {
|
|
49
|
-
let {
|
|
50
|
-
slots: c,
|
|
51
|
-
emit: L
|
|
52
|
-
} = F;
|
|
53
|
-
const w = re(se), {
|
|
54
|
-
isRtl: C,
|
|
55
|
-
rtlClasses: j
|
|
56
|
-
} = fe();
|
|
57
|
-
if (!w)
|
|
58
|
-
throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");
|
|
59
|
-
const {
|
|
60
|
-
min: f,
|
|
61
|
-
max: i,
|
|
62
|
-
thumbColor: D,
|
|
63
|
-
thumbLabelColor: H,
|
|
64
|
-
step: b,
|
|
65
|
-
disabled: y,
|
|
66
|
-
thumbSize: I,
|
|
67
|
-
thumbLabel: h,
|
|
68
|
-
direction: O,
|
|
69
|
-
isReversed: U,
|
|
70
|
-
vertical: A,
|
|
71
|
-
readonly: g,
|
|
72
|
-
elevation: G,
|
|
73
|
-
mousePressed: J,
|
|
74
|
-
decimals: Q,
|
|
75
|
-
indexFromEnd: S
|
|
76
|
-
} = w, p = q(!1), u = q(!1), W = z(() => y.value ? void 0 : G.value), {
|
|
77
|
-
elevationClasses: X
|
|
78
|
-
} = ce(W), {
|
|
79
|
-
textColorClasses: k,
|
|
80
|
-
textColorStyles: x
|
|
81
|
-
} = de(D), {
|
|
82
|
-
backgroundColorClasses: Y,
|
|
83
|
-
backgroundColorStyles: Z
|
|
84
|
-
} = me(H), {
|
|
85
|
-
pageup: $,
|
|
86
|
-
pagedown: _,
|
|
87
|
-
end: K,
|
|
88
|
-
home: N,
|
|
89
|
-
left: s,
|
|
90
|
-
right: n,
|
|
91
|
-
down: V,
|
|
92
|
-
up: a
|
|
93
|
-
} = be, ee = [$, _, K, N, s, n, V, a], le = z(() => b.value ? [1, 2, 3] : [1, 5, 10]);
|
|
94
|
-
function te(l, t) {
|
|
95
|
-
if (e.noKeyboard || y.value || !ee.includes(l.key))
|
|
96
|
-
return;
|
|
97
|
-
l.preventDefault();
|
|
98
|
-
const o = b.value || 0.1, d = (i.value - f.value) / o;
|
|
99
|
-
if ([s, n, V, a].includes(l.key)) {
|
|
100
|
-
const R = (A.value ? [C.value ? s : n, U.value ? V : a] : S.value !== C.value ? [s, a] : [n, a]).includes(l.key) ? 1 : -1, P = l.shiftKey ? 2 : l.ctrlKey ? 1 : 0;
|
|
101
|
-
R === -1 && t === i.value && !P && !Number.isInteger(d) ? t = t - d % 1 * o : t = t + R * o * le.value[P];
|
|
102
|
-
} else if (l.key === N)
|
|
103
|
-
t = f.value;
|
|
104
|
-
else if (l.key === K)
|
|
105
|
-
t = i.value;
|
|
106
|
-
else {
|
|
107
|
-
const T = l.key === _ ? 1 : -1;
|
|
108
|
-
t = t - T * o * (d > 100 ? d / 10 : 10);
|
|
109
|
-
}
|
|
110
|
-
return Math.max(e.min, Math.min(e.max, t));
|
|
111
|
-
}
|
|
112
|
-
function oe(l) {
|
|
113
|
-
const t = te(l, e.modelValue);
|
|
114
|
-
t != null && (u.value = !1, L("update:modelValue", t));
|
|
115
|
-
}
|
|
116
|
-
return ae(() => e.focused, (l) => {
|
|
117
|
-
l && (u.value = !1);
|
|
118
|
-
}), pe(() => {
|
|
119
|
-
const l = M(S.value ? 100 - e.position : e.position, "%"), t = h.value === "always" || h.value === !0 && e.focused || h.value === "hover" && (p.value || e.focused && !u.value);
|
|
120
|
-
return r("div", {
|
|
121
|
-
class: m(["v-slider-thumb", {
|
|
122
|
-
"v-slider-thumb--focused": e.focused,
|
|
123
|
-
"v-slider-thumb--pressed": e.focused && J.value
|
|
124
|
-
}, e.class, j.value]),
|
|
125
|
-
style: v([{
|
|
126
|
-
"--v-slider-thumb-position": l,
|
|
127
|
-
"--v-slider-thumb-size": M(I.value)
|
|
128
|
-
}, e.style]),
|
|
129
|
-
role: "slider",
|
|
130
|
-
tabindex: y.value ? -1 : 0,
|
|
131
|
-
"aria-label": e.name,
|
|
132
|
-
"aria-valuemin": f.value,
|
|
133
|
-
"aria-valuemax": i.value,
|
|
134
|
-
"aria-valuenow": e.modelValue,
|
|
135
|
-
"aria-readonly": !!g.value,
|
|
136
|
-
"aria-orientation": O.value,
|
|
137
|
-
onKeydown: g.value ? void 0 : oe,
|
|
138
|
-
onMouseenter: () => {
|
|
139
|
-
p.value = !0;
|
|
140
|
-
},
|
|
141
|
-
onMouseleave: () => {
|
|
142
|
-
p.value = !1, u.value = !0;
|
|
143
|
-
}
|
|
144
|
-
}, [r("div", {
|
|
145
|
-
class: m(["v-slider-thumb__surface", k.value, X.value]),
|
|
146
|
-
style: v(x.value)
|
|
147
|
-
}, null), B(r("div", {
|
|
148
|
-
class: m(["v-slider-thumb__ripple", k.value]),
|
|
149
|
-
style: v(x.value)
|
|
150
|
-
}, null), [[E, e.ripple, null, {
|
|
151
|
-
circle: !0,
|
|
152
|
-
center: !0
|
|
153
|
-
}]]), ie(ne, {
|
|
154
|
-
origin: "bottom center"
|
|
155
|
-
}, {
|
|
156
|
-
default: () => {
|
|
157
|
-
var o;
|
|
158
|
-
return [B(r("div", {
|
|
159
|
-
class: "v-slider-thumb__label-container"
|
|
160
|
-
}, [r("div", {
|
|
161
|
-
class: m(["v-slider-thumb__label", Y.value]),
|
|
162
|
-
style: v(Z.value)
|
|
163
|
-
}, [r("div", null, [((o = c["thumb-label"]) == null ? void 0 : o.call(c, {
|
|
164
|
-
modelValue: e.modelValue
|
|
165
|
-
})) ?? e.modelValue.toFixed(b.value ? Q.value : 1)]), r("div", {
|
|
166
|
-
class: "v-slider-thumb__label-wedge"
|
|
167
|
-
}, null)])]), [[ue, t]])];
|
|
168
|
-
}
|
|
169
|
-
})]);
|
|
170
|
-
}), {};
|
|
171
|
-
}
|
|
172
|
-
});
|
|
173
|
-
export {
|
|
174
|
-
ze as VSliderThumb,
|
|
175
|
-
Ve as makeVSliderThumbProps
|
|
176
|
-
};
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { inject as $, computed as l, createElementVNode as t, normalizeClass as a, normalizeStyle as j } from "vue";
|
|
2
|
-
import "../../../../../../../_virtual/VSliderTrack.sass.mjs";
|
|
3
|
-
import { VSliderSymbol as B } from "./slider.mjs";
|
|
4
|
-
import { useBackgroundColor as _ } from "../../composables/color.mjs";
|
|
5
|
-
import { makeComponentProps as U } from "../../composables/component.mjs";
|
|
6
|
-
import { useRounded as W } from "../../composables/rounded.mjs";
|
|
7
|
-
import { propsFactory as A } from "../../util/propsFactory.mjs";
|
|
8
|
-
import { genericComponent as G } from "../../util/defineComponent.mjs";
|
|
9
|
-
import { convertToUnit as s } from "../../util/helpers.mjs";
|
|
10
|
-
import { useRender as H } from "../../util/useRender.mjs";
|
|
11
|
-
const I = A({
|
|
12
|
-
start: {
|
|
13
|
-
type: Number,
|
|
14
|
-
required: !0
|
|
15
|
-
},
|
|
16
|
-
stop: {
|
|
17
|
-
type: Number,
|
|
18
|
-
required: !0
|
|
19
|
-
},
|
|
20
|
-
...U()
|
|
21
|
-
}, "VSliderTrack"), le = G()({
|
|
22
|
-
name: "VSliderTrack",
|
|
23
|
-
props: I(),
|
|
24
|
-
emits: {},
|
|
25
|
-
setup(r, C) {
|
|
26
|
-
let {
|
|
27
|
-
slots: o
|
|
28
|
-
} = C;
|
|
29
|
-
const n = $(B);
|
|
30
|
-
if (!n)
|
|
31
|
-
throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");
|
|
32
|
-
const {
|
|
33
|
-
color: b,
|
|
34
|
-
parsedTicks: v,
|
|
35
|
-
rounded: f,
|
|
36
|
-
showTicks: i,
|
|
37
|
-
tickSize: S,
|
|
38
|
-
trackColor: g,
|
|
39
|
-
trackFillColor: d,
|
|
40
|
-
trackSize: T,
|
|
41
|
-
vertical: c,
|
|
42
|
-
min: k,
|
|
43
|
-
max: m,
|
|
44
|
-
indexFromEnd: V
|
|
45
|
-
} = n, {
|
|
46
|
-
roundedClasses: h
|
|
47
|
-
} = W(f), {
|
|
48
|
-
backgroundColorClasses: w,
|
|
49
|
-
backgroundColorStyles: F
|
|
50
|
-
} = _(d), {
|
|
51
|
-
backgroundColorClasses: z,
|
|
52
|
-
backgroundColorStyles: x
|
|
53
|
-
} = _(g), u = l(() => `inset-${c.value ? "block" : "inline"}-${V.value ? "end" : "start"}`), p = l(() => c.value ? "height" : "width"), E = l(() => ({
|
|
54
|
-
[u.value]: "0%",
|
|
55
|
-
[p.value]: "100%"
|
|
56
|
-
})), N = l(() => r.stop - r.start), q = l(() => ({
|
|
57
|
-
[u.value]: s(r.start, "%"),
|
|
58
|
-
[p.value]: s(N.value, "%")
|
|
59
|
-
})), D = l(() => i.value ? (c.value ? v.value.slice().reverse() : v.value).map((e, P) => {
|
|
60
|
-
var y;
|
|
61
|
-
const R = e.value !== k.value && e.value !== m.value ? s(e.position, "%") : void 0;
|
|
62
|
-
return t("div", {
|
|
63
|
-
key: e.value,
|
|
64
|
-
class: a(["v-slider-track__tick", {
|
|
65
|
-
"v-slider-track__tick--filled": e.position >= r.start && e.position <= r.stop,
|
|
66
|
-
"v-slider-track__tick--first": e.value === k.value,
|
|
67
|
-
"v-slider-track__tick--last": e.value === m.value
|
|
68
|
-
}]),
|
|
69
|
-
style: {
|
|
70
|
-
[u.value]: R
|
|
71
|
-
}
|
|
72
|
-
}, [(e.label || o["tick-label"]) && t("div", {
|
|
73
|
-
class: "v-slider-track__tick-label"
|
|
74
|
-
}, [((y = o["tick-label"]) == null ? void 0 : y.call(o, {
|
|
75
|
-
tick: e,
|
|
76
|
-
index: P
|
|
77
|
-
})) ?? e.label])]);
|
|
78
|
-
}) : []);
|
|
79
|
-
return H(() => t("div", {
|
|
80
|
-
class: a(["v-slider-track", h.value, r.class]),
|
|
81
|
-
style: j([{
|
|
82
|
-
"--v-slider-track-size": s(T.value),
|
|
83
|
-
"--v-slider-tick-size": s(S.value)
|
|
84
|
-
}, r.style])
|
|
85
|
-
}, [t("div", {
|
|
86
|
-
class: a(["v-slider-track__background", z.value, {
|
|
87
|
-
"v-slider-track__background--opacity": !!b.value || !d.value
|
|
88
|
-
}]),
|
|
89
|
-
style: {
|
|
90
|
-
...E.value,
|
|
91
|
-
...x.value
|
|
92
|
-
}
|
|
93
|
-
}, null), t("div", {
|
|
94
|
-
class: a(["v-slider-track__fill", w.value]),
|
|
95
|
-
style: {
|
|
96
|
-
...q.value,
|
|
97
|
-
...F.value
|
|
98
|
-
}
|
|
99
|
-
}, null), i.value && t("div", {
|
|
100
|
-
class: a(["v-slider-track__ticks", {
|
|
101
|
-
"v-slider-track__ticks--always-show": i.value === "always"
|
|
102
|
-
}])
|
|
103
|
-
}, [D.value])])), {};
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
export {
|
|
107
|
-
le as VSliderTrack,
|
|
108
|
-
I as makeVSliderTrackProps
|
|
109
|
-
};
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import { makeElevationProps as le } from "../../composables/elevation.mjs";
|
|
2
|
-
import { useForm as ie } from "../../composables/form.mjs";
|
|
3
|
-
import { useRtl as se } from "../../composables/locale.mjs";
|
|
4
|
-
import { makeRoundedProps as ue } from "../../composables/rounded.mjs";
|
|
5
|
-
import { computed as r, toRef as u, shallowRef as K, ref as j, onScopeDispose as ce, provide as de, nextTick as ve } from "vue";
|
|
6
|
-
import { getDecimals as X, createRange as me, clamp as z } from "../../util/helpers.mjs";
|
|
7
|
-
import { propsFactory as fe } from "../../util/propsFactory.mjs";
|
|
8
|
-
const pe = Symbol.for("vuetify:v-slider");
|
|
9
|
-
function he(o, e, i) {
|
|
10
|
-
const a = i === "vertical", l = e.getBoundingClientRect(), m = "touches" in o ? o.touches[0] : o;
|
|
11
|
-
return a ? m.clientY - (l.top + l.height / 2) : m.clientX - (l.left + l.width / 2);
|
|
12
|
-
}
|
|
13
|
-
function be(o, e) {
|
|
14
|
-
return "touches" in o && o.touches.length ? o.touches[0][e] : "changedTouches" in o && o.changedTouches.length ? o.changedTouches[0][e] : o[e];
|
|
15
|
-
}
|
|
16
|
-
const Ee = fe({
|
|
17
|
-
disabled: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
default: null
|
|
20
|
-
},
|
|
21
|
-
error: Boolean,
|
|
22
|
-
readonly: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: null
|
|
25
|
-
},
|
|
26
|
-
max: {
|
|
27
|
-
type: [Number, String],
|
|
28
|
-
default: 100
|
|
29
|
-
},
|
|
30
|
-
min: {
|
|
31
|
-
type: [Number, String],
|
|
32
|
-
default: 0
|
|
33
|
-
},
|
|
34
|
-
step: {
|
|
35
|
-
type: [Number, String],
|
|
36
|
-
default: 0
|
|
37
|
-
},
|
|
38
|
-
thumbColor: String,
|
|
39
|
-
thumbLabel: {
|
|
40
|
-
type: [Boolean, String],
|
|
41
|
-
default: void 0,
|
|
42
|
-
validator: (o) => typeof o == "boolean" || o === "always" || o === "hover"
|
|
43
|
-
},
|
|
44
|
-
thumbSize: {
|
|
45
|
-
type: [Number, String],
|
|
46
|
-
default: 20
|
|
47
|
-
},
|
|
48
|
-
showTicks: {
|
|
49
|
-
type: [Boolean, String],
|
|
50
|
-
default: !1,
|
|
51
|
-
validator: (o) => typeof o == "boolean" || o === "always"
|
|
52
|
-
},
|
|
53
|
-
ticks: {
|
|
54
|
-
type: [Array, Object]
|
|
55
|
-
},
|
|
56
|
-
tickSize: {
|
|
57
|
-
type: [Number, String],
|
|
58
|
-
default: 2
|
|
59
|
-
},
|
|
60
|
-
color: String,
|
|
61
|
-
trackColor: String,
|
|
62
|
-
trackFillColor: String,
|
|
63
|
-
trackSize: {
|
|
64
|
-
type: [Number, String],
|
|
65
|
-
default: 4
|
|
66
|
-
},
|
|
67
|
-
direction: {
|
|
68
|
-
type: String,
|
|
69
|
-
default: "horizontal",
|
|
70
|
-
validator: (o) => ["vertical", "horizontal"].includes(o)
|
|
71
|
-
},
|
|
72
|
-
reverse: Boolean,
|
|
73
|
-
noKeyboard: Boolean,
|
|
74
|
-
...ue(),
|
|
75
|
-
...le({
|
|
76
|
-
elevation: 2
|
|
77
|
-
}),
|
|
78
|
-
ripple: {
|
|
79
|
-
type: Boolean,
|
|
80
|
-
default: !0
|
|
81
|
-
}
|
|
82
|
-
}, "Slider"), Fe = (o) => {
|
|
83
|
-
const e = r(() => parseFloat(o.min)), i = r(() => parseFloat(o.max)), a = r(() => Number(o.step) > 0 ? parseFloat(o.step) : 0), l = r(() => Math.max(X(a.value), X(e.value)));
|
|
84
|
-
function m(f) {
|
|
85
|
-
if (f = parseFloat(f), a.value <= 0)
|
|
86
|
-
return f;
|
|
87
|
-
const s = z(f, e.value, i.value), S = e.value % a.value;
|
|
88
|
-
let c = Math.round((s - S) / a.value) * a.value + S;
|
|
89
|
-
return s > c && c + a.value > i.value && (c = i.value), parseFloat(Math.min(c, i.value).toFixed(l.value));
|
|
90
|
-
}
|
|
91
|
-
return {
|
|
92
|
-
min: e,
|
|
93
|
-
max: i,
|
|
94
|
-
step: a,
|
|
95
|
-
decimals: l,
|
|
96
|
-
roundValue: m
|
|
97
|
-
};
|
|
98
|
-
}, Te = (o) => {
|
|
99
|
-
let {
|
|
100
|
-
props: e,
|
|
101
|
-
steps: i,
|
|
102
|
-
onSliderStart: a,
|
|
103
|
-
onSliderMove: l,
|
|
104
|
-
onSliderEnd: m,
|
|
105
|
-
getActiveThumb: f
|
|
106
|
-
} = o;
|
|
107
|
-
const s = ie(e), {
|
|
108
|
-
isRtl: S
|
|
109
|
-
} = se(), c = u(() => e.reverse), B = r(() => e.direction === "vertical"), L = r(() => B.value !== c.value), {
|
|
110
|
-
min: d,
|
|
111
|
-
max: g,
|
|
112
|
-
step: C,
|
|
113
|
-
decimals: Y,
|
|
114
|
-
roundValue: M
|
|
115
|
-
} = i, U = r(() => parseInt(e.thumbSize, 10)), $ = r(() => parseInt(e.tickSize, 10)), q = r(() => parseInt(e.trackSize, 10)), E = r(() => (g.value - d.value) / C.value), G = r(() => e.error || s.isDisabled.value ? void 0 : e.thumbColor ?? e.color), H = r(() => e.error || s.isDisabled.value ? void 0 : e.thumbColor), J = r(() => e.error || s.isDisabled.value ? void 0 : e.trackColor ?? e.color), Q = r(() => e.error || s.isDisabled.value ? void 0 : e.trackFillColor ?? e.color), F = K(!1), b = K(0), x = j(), p = j();
|
|
116
|
-
function k(t) {
|
|
117
|
-
var V;
|
|
118
|
-
const n = (V = x.value) == null ? void 0 : V.$el;
|
|
119
|
-
if (!n)
|
|
120
|
-
return;
|
|
121
|
-
const v = e.direction === "vertical", ee = v ? "top" : "left", te = v ? "height" : "width", oe = v ? "clientY" : "clientX", {
|
|
122
|
-
[ee]: ne,
|
|
123
|
-
[te]: re
|
|
124
|
-
} = n.getBoundingClientRect(), ae = be(t, oe);
|
|
125
|
-
let R = z((ae - ne - b.value) / re) || 0;
|
|
126
|
-
return (v ? L.value : L.value !== S.value) && (R = 1 - R), M(d.value + R * (g.value - d.value));
|
|
127
|
-
}
|
|
128
|
-
const D = (t) => {
|
|
129
|
-
const n = k(t);
|
|
130
|
-
n != null && m({
|
|
131
|
-
value: n
|
|
132
|
-
}), F.value = !1, b.value = 0;
|
|
133
|
-
}, N = (t) => {
|
|
134
|
-
const n = k(t);
|
|
135
|
-
p.value = f(t), p.value && (F.value = !0, p.value.contains(t.target) ? b.value = he(t, p.value, e.direction) : (b.value = 0, n != null && l({
|
|
136
|
-
value: n
|
|
137
|
-
})), n != null && a({
|
|
138
|
-
value: n
|
|
139
|
-
}), ve(() => {
|
|
140
|
-
var v;
|
|
141
|
-
return (v = p.value) == null ? void 0 : v.focus();
|
|
142
|
-
}));
|
|
143
|
-
}, y = {
|
|
144
|
-
passive: !0,
|
|
145
|
-
capture: !0
|
|
146
|
-
};
|
|
147
|
-
function h(t) {
|
|
148
|
-
const n = k(t);
|
|
149
|
-
n != null && l({
|
|
150
|
-
value: n
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
function T(t) {
|
|
154
|
-
t.stopPropagation(), t.preventDefault(), D(t), window.removeEventListener("mousemove", h, y), window.removeEventListener("mouseup", T);
|
|
155
|
-
}
|
|
156
|
-
function P(t) {
|
|
157
|
-
var n;
|
|
158
|
-
D(t), window.removeEventListener("touchmove", h, y), (n = t.target) == null || n.removeEventListener("touchend", P);
|
|
159
|
-
}
|
|
160
|
-
function W(t) {
|
|
161
|
-
var n;
|
|
162
|
-
N(t), window.addEventListener("touchmove", h, y), (n = t.target) == null || n.addEventListener("touchend", P, {
|
|
163
|
-
passive: !1
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
function Z(t) {
|
|
167
|
-
t.button === 0 && (t.preventDefault(), N(t), window.addEventListener("mousemove", h, y), window.addEventListener("mouseup", T, {
|
|
168
|
-
passive: !1
|
|
169
|
-
}));
|
|
170
|
-
}
|
|
171
|
-
ce(() => {
|
|
172
|
-
window.removeEventListener("touchmove", h), window.removeEventListener("mousemove", h), window.removeEventListener("mouseup", T);
|
|
173
|
-
});
|
|
174
|
-
const w = (t) => {
|
|
175
|
-
const n = (t - d.value) / (g.value - d.value) * 100;
|
|
176
|
-
return z(isNaN(n) ? 0 : n, 0, 100);
|
|
177
|
-
}, O = u(() => e.showTicks), A = r(() => O.value ? e.ticks ? Array.isArray(e.ticks) ? e.ticks.map((t) => ({
|
|
178
|
-
value: t,
|
|
179
|
-
position: w(t),
|
|
180
|
-
label: t.toString()
|
|
181
|
-
})) : Object.keys(e.ticks).map((t) => ({
|
|
182
|
-
value: parseFloat(t),
|
|
183
|
-
position: w(parseFloat(t)),
|
|
184
|
-
label: e.ticks[t]
|
|
185
|
-
})) : E.value !== 1 / 0 ? me(E.value + 1).map((t) => {
|
|
186
|
-
const n = d.value + t * C.value;
|
|
187
|
-
return {
|
|
188
|
-
value: n,
|
|
189
|
-
position: w(n)
|
|
190
|
-
};
|
|
191
|
-
}) : [] : []), _ = r(() => A.value.some((t) => {
|
|
192
|
-
let {
|
|
193
|
-
label: n
|
|
194
|
-
} = t;
|
|
195
|
-
return !!n;
|
|
196
|
-
})), I = {
|
|
197
|
-
activeThumbRef: p,
|
|
198
|
-
color: u(() => e.color),
|
|
199
|
-
decimals: Y,
|
|
200
|
-
disabled: s.isDisabled,
|
|
201
|
-
direction: u(() => e.direction),
|
|
202
|
-
elevation: u(() => e.elevation),
|
|
203
|
-
hasLabels: _,
|
|
204
|
-
isReversed: c,
|
|
205
|
-
indexFromEnd: L,
|
|
206
|
-
min: d,
|
|
207
|
-
max: g,
|
|
208
|
-
mousePressed: F,
|
|
209
|
-
noKeyboard: u(() => e.noKeyboard),
|
|
210
|
-
numTicks: E,
|
|
211
|
-
onSliderMousedown: Z,
|
|
212
|
-
onSliderTouchstart: W,
|
|
213
|
-
parsedTicks: A,
|
|
214
|
-
parseMouseMove: k,
|
|
215
|
-
position: w,
|
|
216
|
-
readonly: s.isReadonly,
|
|
217
|
-
rounded: u(() => e.rounded),
|
|
218
|
-
roundValue: M,
|
|
219
|
-
showTicks: O,
|
|
220
|
-
startOffset: b,
|
|
221
|
-
step: C,
|
|
222
|
-
thumbSize: U,
|
|
223
|
-
thumbColor: G,
|
|
224
|
-
thumbLabelColor: H,
|
|
225
|
-
thumbLabel: u(() => e.thumbLabel),
|
|
226
|
-
ticks: u(() => e.ticks),
|
|
227
|
-
tickSize: $,
|
|
228
|
-
trackColor: J,
|
|
229
|
-
trackContainerRef: x,
|
|
230
|
-
trackFillColor: Q,
|
|
231
|
-
trackSize: q,
|
|
232
|
-
vertical: B
|
|
233
|
-
};
|
|
234
|
-
return de(pe, I), I;
|
|
235
|
-
};
|
|
236
|
-
export {
|
|
237
|
-
pe as VSliderSymbol,
|
|
238
|
-
he as getOffset,
|
|
239
|
-
Ee as makeSliderProps,
|
|
240
|
-
Te as useSlider,
|
|
241
|
-
Fe as useSteps
|
|
242
|
-
};
|