bt-core-app 2.2.10 → 2.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/VAlert.sass.mjs +1 -0
- package/dist/_virtual/VAvatar.sass.mjs +1 -0
- package/dist/_virtual/VBtn.sass.mjs +1 -0
- package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
- package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
- package/dist/_virtual/VCard.sass.mjs +1 -0
- package/dist/_virtual/VCheckbox.sass.mjs +1 -0
- package/dist/_virtual/VChip.sass.mjs +1 -0
- package/dist/_virtual/VChipGroup.sass.mjs +1 -0
- package/dist/_virtual/VColorPicker.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
- package/dist/_virtual/VCombobox.sass.mjs +1 -0
- package/dist/_virtual/VContainer.sass.mjs +1 -0
- package/dist/_virtual/VCounter.sass.mjs +1 -0
- package/dist/_virtual/VDialog.sass.mjs +1 -0
- package/dist/_virtual/VDivider.sass.mjs +1 -0
- package/dist/_virtual/VField.sass.mjs +1 -0
- package/dist/_virtual/VGrid.sass.mjs +1 -0
- package/dist/_virtual/VIcon.sass.mjs +1 -0
- package/dist/_virtual/VImg.sass.mjs +1 -0
- package/dist/_virtual/VInput.sass.mjs +1 -0
- package/dist/_virtual/VLabel.sass.mjs +1 -0
- package/dist/_virtual/VList.sass.mjs +1 -0
- package/dist/_virtual/VListItem.sass.mjs +1 -0
- package/dist/_virtual/VMenu.sass.mjs +1 -0
- package/dist/_virtual/VMessages.sass.mjs +1 -0
- package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
- package/dist/_virtual/VOverlay.sass.mjs +1 -0
- package/dist/_virtual/VPagination.sass.mjs +1 -0
- package/dist/_virtual/VPicker.sass.mjs +1 -0
- package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
- package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
- package/dist/_virtual/VRating.sass.mjs +1 -0
- package/dist/_virtual/VResponsive.sass.mjs +1 -0
- package/dist/_virtual/VRipple.sass.mjs +1 -0
- package/dist/_virtual/VSelect.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
- package/dist/_virtual/VSheet.sass.mjs +1 -0
- package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
- package/dist/_virtual/VSlider.sass.mjs +1 -0
- package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
- package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
- package/dist/_virtual/VSpacer.sass.mjs +1 -0
- package/dist/_virtual/VSwitch.sass.mjs +1 -0
- package/dist/_virtual/VTab.sass.mjs +1 -0
- package/dist/_virtual/VTable.sass.mjs +1 -0
- package/dist/_virtual/VTabs.sass.mjs +1 -0
- package/dist/_virtual/VTextField.sass.mjs +1 -0
- package/dist/_virtual/VTextarea.sass.mjs +1 -0
- package/dist/_virtual/VToolbar.sass.mjs +1 -0
- package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
- package/dist/_virtual/VWindow.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +120 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +224 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +8 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +408 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
- package/dist/components/BT-Assistant-Menu.vue.mjs +420 -407
- 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 +110 -100
- package/dist/components/BT-Blade-Items.vue.mjs +1 -1
- package/dist/components/BT-Blade-Items.vue2.mjs +411 -399
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +641 -626
- package/dist/components/BT-Blade.vue.mjs +201 -192
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +144 -142
- package/dist/components/BT-Col.vue.mjs +17 -19
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
- package/dist/components/BT-Cron.vue.mjs +264 -249
- package/dist/components/BT-Date-Select.vue.mjs +46 -47
- 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 +22 -19
- package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
- package/dist/components/BT-Dialog-Select.vue.mjs +96 -85
- package/dist/components/BT-Divider.vue.mjs +20 -21
- 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 +26 -27
- package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
- package/dist/components/BT-Field-Date.vue.mjs +87 -84
- package/dist/components/BT-Field-Entity.vue.mjs +20 -16
- package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
- package/dist/components/BT-Field-Select.vue.mjs +32 -34
- package/dist/components/BT-Field-String.vue.mjs +54 -52
- package/dist/components/BT-Field-Switch.vue.mjs +44 -43
- package/dist/components/BT-Field-Tags.vue.mjs +57 -55
- package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
- package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
- package/dist/components/BT-Field.vue.mjs +39 -38
- package/dist/components/BT-Form-Builder.vue.mjs +346 -325
- package/dist/components/BT-Form-Field.vue.mjs +88 -81
- package/dist/components/BT-Form.vue.mjs +280 -269
- package/dist/components/BT-Header-Option.vue.mjs +21 -19
- package/dist/components/BT-Image-Select.vue.mjs +186 -177
- package/dist/components/BT-Json.vue.mjs +29 -30
- package/dist/components/BT-Loader.vue.mjs +32 -31
- package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
- package/dist/components/BT-Number.vue.mjs +1 -1
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +147 -144
- package/dist/components/BT-Select-List-Box.vue.mjs +287 -276
- package/dist/components/BT-Select-Simple.vue.mjs +21 -23
- package/dist/components/BT-Select.vue.mjs +36 -37
- package/dist/components/BT-Signature-Overlay.vue.mjs +113 -112
- package/dist/components/BT-Signature.vue.mjs +96 -96
- package/dist/components/BT-Slider.vue.mjs +109 -103
- package/dist/components/BT-Square-Check.vue.mjs +65 -65
- package/dist/components/BT-Status-Item.vue.mjs +18 -16
- package/dist/components/BT-Tags.vue.mjs +21 -22
- package/dist/components/BT-Tour.vue.mjs +69 -65
- package/dist/style.css +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { useId as T, shallowRef as w, ref as U, toRef as R, createElementVNode as d, mergeProps as _, normalizeClass as B, normalizeStyle as j, withDirectives as E, Fragment as $, createVNode as N, inject as q, computed as v, nextTick as H } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VSelectionControl.sass.mjs";
|
|
3
|
+
import { makeSelectionControlGroupProps as J, VSelectionControlGroupSymbol as K } from "../VSelectionControlGroup/VSelectionControlGroup.mjs";
|
|
4
|
+
import { useTextColor as O, useBackgroundColor as Q } from "../../composables/color.mjs";
|
|
5
|
+
import { makeComponentProps as W } from "../../composables/component.mjs";
|
|
6
|
+
import { useDensity as X } from "../../composables/density.mjs";
|
|
7
|
+
import { useProxiedModel as Y } from "../../composables/proxiedModel.mjs";
|
|
8
|
+
import z from "../../directives/ripple/index.mjs";
|
|
9
|
+
import { filterInputAttrs as Z, wrapInArray as g, matchesSelector as p } from "../../util/helpers.mjs";
|
|
10
|
+
import { VIcon as ee } from "../VIcon/VIcon.mjs";
|
|
11
|
+
import { VLabel as le } from "../VLabel/VLabel.mjs";
|
|
12
|
+
import { propsFactory as te } from "../../util/propsFactory.mjs";
|
|
13
|
+
import { genericComponent as oe } from "../../util/defineComponent.mjs";
|
|
14
|
+
import { useRender as ae } from "../../util/useRender.mjs";
|
|
15
|
+
const ne = te({
|
|
16
|
+
label: String,
|
|
17
|
+
baseColor: String,
|
|
18
|
+
trueValue: null,
|
|
19
|
+
falseValue: null,
|
|
20
|
+
value: null,
|
|
21
|
+
...W(),
|
|
22
|
+
...J()
|
|
23
|
+
}, "VSelectionControl");
|
|
24
|
+
function ue(e) {
|
|
25
|
+
const r = q(K, void 0), {
|
|
26
|
+
densityClasses: k
|
|
27
|
+
} = X(e), l = Y(e, "modelValue"), o = v(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), f = v(() => e.falseValue !== void 0 ? e.falseValue : !1), s = v(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), t = v({
|
|
28
|
+
get() {
|
|
29
|
+
const i = r ? r.modelValue.value : l.value;
|
|
30
|
+
return s.value ? g(i).some((a) => e.valueComparator(a, o.value)) : e.valueComparator(i, o.value);
|
|
31
|
+
},
|
|
32
|
+
set(i) {
|
|
33
|
+
if (e.readonly)
|
|
34
|
+
return;
|
|
35
|
+
const a = i ? o.value : f.value;
|
|
36
|
+
let c = a;
|
|
37
|
+
s.value && (c = i ? [...g(l.value), a] : g(l.value).filter((n) => !e.valueComparator(n, o.value))), r ? r.modelValue.value = c : l.value = c;
|
|
38
|
+
}
|
|
39
|
+
}), {
|
|
40
|
+
textColorClasses: m,
|
|
41
|
+
textColorStyles: C
|
|
42
|
+
} = O(() => {
|
|
43
|
+
if (!(e.error || e.disabled))
|
|
44
|
+
return t.value ? e.color : e.baseColor;
|
|
45
|
+
}), {
|
|
46
|
+
backgroundColorClasses: b,
|
|
47
|
+
backgroundColorStyles: V
|
|
48
|
+
} = Q(() => t.value && !e.error && !e.disabled ? e.color : e.baseColor), S = v(() => t.value ? e.trueIcon : e.falseIcon);
|
|
49
|
+
return {
|
|
50
|
+
group: r,
|
|
51
|
+
densityClasses: k,
|
|
52
|
+
trueValue: o,
|
|
53
|
+
falseValue: f,
|
|
54
|
+
model: t,
|
|
55
|
+
textColorClasses: m,
|
|
56
|
+
textColorStyles: C,
|
|
57
|
+
backgroundColorClasses: b,
|
|
58
|
+
backgroundColorStyles: V,
|
|
59
|
+
icon: S
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
const ge = oe()({
|
|
63
|
+
name: "VSelectionControl",
|
|
64
|
+
directives: {
|
|
65
|
+
vRipple: z
|
|
66
|
+
},
|
|
67
|
+
inheritAttrs: !1,
|
|
68
|
+
props: ne(),
|
|
69
|
+
emits: {
|
|
70
|
+
"update:modelValue": (e) => !0
|
|
71
|
+
},
|
|
72
|
+
setup(e, r) {
|
|
73
|
+
let {
|
|
74
|
+
attrs: k,
|
|
75
|
+
slots: l
|
|
76
|
+
} = r;
|
|
77
|
+
const {
|
|
78
|
+
group: o,
|
|
79
|
+
densityClasses: f,
|
|
80
|
+
icon: s,
|
|
81
|
+
model: t,
|
|
82
|
+
textColorClasses: m,
|
|
83
|
+
textColorStyles: C,
|
|
84
|
+
backgroundColorClasses: b,
|
|
85
|
+
backgroundColorStyles: V,
|
|
86
|
+
trueValue: S
|
|
87
|
+
} = ue(e), i = T(), a = w(!1), c = w(!1), n = U(), y = R(() => e.id || `input-${i}`), h = R(() => !e.disabled && !e.readonly);
|
|
88
|
+
o == null || o.onForceUpdate(() => {
|
|
89
|
+
n.value && (n.value.checked = t.value);
|
|
90
|
+
});
|
|
91
|
+
function x(u) {
|
|
92
|
+
h.value && (a.value = !0, p(u.target, ":focus-visible") !== !1 && (c.value = !0));
|
|
93
|
+
}
|
|
94
|
+
function I() {
|
|
95
|
+
a.value = !1, c.value = !1;
|
|
96
|
+
}
|
|
97
|
+
function D(u) {
|
|
98
|
+
u.stopPropagation();
|
|
99
|
+
}
|
|
100
|
+
function G(u) {
|
|
101
|
+
if (!h.value) {
|
|
102
|
+
n.value && (n.value.checked = t.value);
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
e.readonly && o && H(() => o.forceUpdate()), t.value = u.target.checked;
|
|
106
|
+
}
|
|
107
|
+
return ae(() => {
|
|
108
|
+
var F, P;
|
|
109
|
+
const u = l.label ? l.label({
|
|
110
|
+
label: e.label,
|
|
111
|
+
props: {
|
|
112
|
+
for: y.value
|
|
113
|
+
}
|
|
114
|
+
}) : e.label, [L, M] = Z(k), A = d("input", _({
|
|
115
|
+
ref: n,
|
|
116
|
+
checked: t.value,
|
|
117
|
+
disabled: !!e.disabled,
|
|
118
|
+
id: y.value,
|
|
119
|
+
onBlur: I,
|
|
120
|
+
onFocus: x,
|
|
121
|
+
onInput: G,
|
|
122
|
+
"aria-disabled": !!e.disabled,
|
|
123
|
+
"aria-label": e.label,
|
|
124
|
+
type: e.type,
|
|
125
|
+
value: S.value,
|
|
126
|
+
name: e.name,
|
|
127
|
+
"aria-checked": e.type === "checkbox" ? t.value : void 0
|
|
128
|
+
}, M), null);
|
|
129
|
+
return d("div", _({
|
|
130
|
+
class: ["v-selection-control", {
|
|
131
|
+
"v-selection-control--dirty": t.value,
|
|
132
|
+
"v-selection-control--disabled": e.disabled,
|
|
133
|
+
"v-selection-control--error": e.error,
|
|
134
|
+
"v-selection-control--focused": a.value,
|
|
135
|
+
"v-selection-control--focus-visible": c.value,
|
|
136
|
+
"v-selection-control--inline": e.inline
|
|
137
|
+
}, f.value, e.class]
|
|
138
|
+
}, L, {
|
|
139
|
+
style: e.style
|
|
140
|
+
}), [d("div", {
|
|
141
|
+
class: B(["v-selection-control__wrapper", m.value]),
|
|
142
|
+
style: j(C.value)
|
|
143
|
+
}, [(F = l.default) == null ? void 0 : F.call(l, {
|
|
144
|
+
backgroundColorClasses: b,
|
|
145
|
+
backgroundColorStyles: V
|
|
146
|
+
}), E(d("div", {
|
|
147
|
+
class: B(["v-selection-control__input"])
|
|
148
|
+
}, [((P = l.input) == null ? void 0 : P.call(l, {
|
|
149
|
+
model: t,
|
|
150
|
+
textColorClasses: m,
|
|
151
|
+
textColorStyles: C,
|
|
152
|
+
backgroundColorClasses: b,
|
|
153
|
+
backgroundColorStyles: V,
|
|
154
|
+
inputNode: A,
|
|
155
|
+
icon: s.value,
|
|
156
|
+
props: {
|
|
157
|
+
onFocus: x,
|
|
158
|
+
onBlur: I,
|
|
159
|
+
id: y.value
|
|
160
|
+
}
|
|
161
|
+
})) ?? d($, null, [s.value && N(ee, {
|
|
162
|
+
key: "icon",
|
|
163
|
+
icon: s.value
|
|
164
|
+
}, null), A])]), [[z, !e.disabled && !e.readonly && e.ripple, null, {
|
|
165
|
+
center: !0,
|
|
166
|
+
circle: !0
|
|
167
|
+
}]])]), u && N(le, {
|
|
168
|
+
for: y.value,
|
|
169
|
+
onClick: D
|
|
170
|
+
}, {
|
|
171
|
+
default: () => [u]
|
|
172
|
+
})]);
|
|
173
|
+
}), {
|
|
174
|
+
isFocused: a,
|
|
175
|
+
input: n
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
export {
|
|
180
|
+
ge as VSelectionControl,
|
|
181
|
+
ne as makeVSelectionControlProps,
|
|
182
|
+
ue as useSelectionControl
|
|
183
|
+
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { useId as f, toRef as o, provide as p, onScopeDispose as s, createElementVNode as y, normalizeClass as S, normalizeStyle as g } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VSelectionControlGroup.sass.mjs";
|
|
3
|
+
import { makeComponentProps as v } from "../../composables/component.mjs";
|
|
4
|
+
import { provideDefaults as C } from "../../composables/defaults.mjs";
|
|
5
|
+
import { makeDensityProps as V } from "../../composables/density.mjs";
|
|
6
|
+
import { IconValue as a } from "../../composables/icons.mjs";
|
|
7
|
+
import { useProxiedModel as I } from "../../composables/proxiedModel.mjs";
|
|
8
|
+
import { makeThemeProps as B } from "../../composables/theme.mjs";
|
|
9
|
+
import { propsFactory as i } from "../../util/propsFactory.mjs";
|
|
10
|
+
import { deepEqual as G } from "../../util/deepEqual.mjs";
|
|
11
|
+
import { genericComponent as P } from "../../util/defineComponent.mjs";
|
|
12
|
+
import { useRender as b } from "../../util/useRender.mjs";
|
|
13
|
+
const k = Symbol.for("vuetify:selection-control-group"), T = i({
|
|
14
|
+
color: String,
|
|
15
|
+
disabled: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: null
|
|
18
|
+
},
|
|
19
|
+
defaultsTarget: String,
|
|
20
|
+
error: Boolean,
|
|
21
|
+
id: String,
|
|
22
|
+
inline: Boolean,
|
|
23
|
+
falseIcon: a,
|
|
24
|
+
trueIcon: a,
|
|
25
|
+
ripple: {
|
|
26
|
+
type: [Boolean, Object],
|
|
27
|
+
default: !0
|
|
28
|
+
},
|
|
29
|
+
multiple: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: null
|
|
32
|
+
},
|
|
33
|
+
name: String,
|
|
34
|
+
readonly: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: null
|
|
37
|
+
},
|
|
38
|
+
modelValue: null,
|
|
39
|
+
type: String,
|
|
40
|
+
valueComparator: {
|
|
41
|
+
type: Function,
|
|
42
|
+
default: G
|
|
43
|
+
},
|
|
44
|
+
...v(),
|
|
45
|
+
...V(),
|
|
46
|
+
...B()
|
|
47
|
+
}, "SelectionControlGroup"), D = i({
|
|
48
|
+
...T({
|
|
49
|
+
defaultsTarget: "VSelectionControl"
|
|
50
|
+
})
|
|
51
|
+
}, "VSelectionControlGroup");
|
|
52
|
+
P()({
|
|
53
|
+
name: "VSelectionControlGroup",
|
|
54
|
+
props: D(),
|
|
55
|
+
emits: {
|
|
56
|
+
"update:modelValue": (e) => !0
|
|
57
|
+
},
|
|
58
|
+
setup(e, u) {
|
|
59
|
+
let {
|
|
60
|
+
slots: t
|
|
61
|
+
} = u;
|
|
62
|
+
const r = I(e, "modelValue"), m = f(), d = o(() => e.id || `v-selection-control-group-${m}`), c = o(() => e.name || d.value), n = /* @__PURE__ */ new Set();
|
|
63
|
+
return p(k, {
|
|
64
|
+
modelValue: r,
|
|
65
|
+
forceUpdate: () => {
|
|
66
|
+
n.forEach((l) => l());
|
|
67
|
+
},
|
|
68
|
+
onForceUpdate: (l) => {
|
|
69
|
+
n.add(l), s(() => {
|
|
70
|
+
n.delete(l);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}), C({
|
|
74
|
+
[e.defaultsTarget]: {
|
|
75
|
+
color: o(() => e.color),
|
|
76
|
+
disabled: o(() => e.disabled),
|
|
77
|
+
density: o(() => e.density),
|
|
78
|
+
error: o(() => e.error),
|
|
79
|
+
inline: o(() => e.inline),
|
|
80
|
+
modelValue: r,
|
|
81
|
+
multiple: o(() => !!e.multiple || e.multiple == null && Array.isArray(r.value)),
|
|
82
|
+
name: c,
|
|
83
|
+
falseIcon: o(() => e.falseIcon),
|
|
84
|
+
trueIcon: o(() => e.trueIcon),
|
|
85
|
+
readonly: o(() => e.readonly),
|
|
86
|
+
ripple: o(() => e.ripple),
|
|
87
|
+
type: o(() => e.type),
|
|
88
|
+
valueComparator: o(() => e.valueComparator)
|
|
89
|
+
}
|
|
90
|
+
}), b(() => {
|
|
91
|
+
var l;
|
|
92
|
+
return y("div", {
|
|
93
|
+
class: S(["v-selection-control-group", {
|
|
94
|
+
"v-selection-control-group--inline": e.inline
|
|
95
|
+
}, e.class]),
|
|
96
|
+
style: g(e.style),
|
|
97
|
+
role: e.type === "radio" ? "radiogroup" : void 0
|
|
98
|
+
}, [(l = t.default) == null ? void 0 : l.call(t)]);
|
|
99
|
+
}), {};
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
export {
|
|
103
|
+
k as VSelectionControlGroupSymbol,
|
|
104
|
+
T as makeSelectionControlGroupProps,
|
|
105
|
+
D as makeVSelectionControlGroupProps
|
|
106
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { createVNode as d, normalizeClass as p, normalizeStyle as f } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VSheet.sass.mjs";
|
|
3
|
+
import { makeBorderProps as v, useBorder as k } from "../../composables/border.mjs";
|
|
4
|
+
import { useBackgroundColor as C } from "../../composables/color.mjs";
|
|
5
|
+
import { makeComponentProps as P } from "../../composables/component.mjs";
|
|
6
|
+
import { makeDimensionProps as S, useDimension as h } from "../../composables/dimensions.mjs";
|
|
7
|
+
import { makeElevationProps as g, useElevation as y } from "../../composables/elevation.mjs";
|
|
8
|
+
import { makeLocationProps as V, useLocation as b } from "../../composables/location.mjs";
|
|
9
|
+
import { makePositionProps as B, usePosition as R } from "../../composables/position.mjs";
|
|
10
|
+
import { makeRoundedProps as T, useRounded as z } from "../../composables/rounded.mjs";
|
|
11
|
+
import { makeTagProps as D } from "../../composables/tag.mjs";
|
|
12
|
+
import { makeThemeProps as E, provideTheme as L } from "../../composables/theme.mjs";
|
|
13
|
+
import { propsFactory as x } from "../../util/propsFactory.mjs";
|
|
14
|
+
import { genericComponent as F } from "../../util/defineComponent.mjs";
|
|
15
|
+
import { useRender as N } from "../../util/useRender.mjs";
|
|
16
|
+
const j = x({
|
|
17
|
+
color: String,
|
|
18
|
+
...v(),
|
|
19
|
+
...P(),
|
|
20
|
+
...S(),
|
|
21
|
+
...g(),
|
|
22
|
+
...V(),
|
|
23
|
+
...B(),
|
|
24
|
+
...T(),
|
|
25
|
+
...D(),
|
|
26
|
+
...E()
|
|
27
|
+
}, "VSheet"), Z = F()({
|
|
28
|
+
name: "VSheet",
|
|
29
|
+
props: j(),
|
|
30
|
+
setup(o, e) {
|
|
31
|
+
let {
|
|
32
|
+
slots: s
|
|
33
|
+
} = e;
|
|
34
|
+
const {
|
|
35
|
+
themeClasses: r
|
|
36
|
+
} = L(o), {
|
|
37
|
+
backgroundColorClasses: t,
|
|
38
|
+
backgroundColorStyles: m
|
|
39
|
+
} = C(() => o.color), {
|
|
40
|
+
borderClasses: a
|
|
41
|
+
} = k(o), {
|
|
42
|
+
dimensionStyles: n
|
|
43
|
+
} = h(o), {
|
|
44
|
+
elevationClasses: i
|
|
45
|
+
} = y(o), {
|
|
46
|
+
locationStyles: l
|
|
47
|
+
} = b(o), {
|
|
48
|
+
positionClasses: u
|
|
49
|
+
} = R(o), {
|
|
50
|
+
roundedClasses: c
|
|
51
|
+
} = z(o);
|
|
52
|
+
return N(() => d(o.tag, {
|
|
53
|
+
class: p(["v-sheet", r.value, t.value, a.value, i.value, u.value, c.value, o.class]),
|
|
54
|
+
style: f([m.value, n.value, l.value, o.style])
|
|
55
|
+
}, s)), {};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
export {
|
|
59
|
+
Z as VSheet,
|
|
60
|
+
j as makeVSheetProps
|
|
61
|
+
};
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { shallowRef as d, computed as c, watch as te, createVNode as m, normalizeClass as y, normalizeStyle as le, createElementVNode as x } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VSlideGroup.sass.mjs";
|
|
3
|
+
import { VFadeTransition as D } from "../transitions/index.mjs";
|
|
4
|
+
import { makeComponentProps as oe } from "../../composables/component.mjs";
|
|
5
|
+
import { makeDisplayProps as ne, useDisplay as re } from "../../composables/display.mjs";
|
|
6
|
+
import { useGoTo as ae } from "../../composables/goto.mjs";
|
|
7
|
+
import { makeGroupProps as se, useGroup as ie } from "../../composables/group.mjs";
|
|
8
|
+
import { IconValue as H } from "../../composables/icons.mjs";
|
|
9
|
+
import { useRtl as ue } from "../../composables/locale.mjs";
|
|
10
|
+
import { useResizeObserver as N } from "../../composables/resizeObserver.mjs";
|
|
11
|
+
import { makeTagProps as ce } from "../../composables/tag.mjs";
|
|
12
|
+
import { calculateCenteredTarget as fe, calculateUpdatedTarget as ve, getOffsetSize as de, getScrollPosition as me, getScrollSize as q, getClientSize as pe } from "./helpers.mjs";
|
|
13
|
+
import { VIcon as K } from "../VIcon/VIcon.mjs";
|
|
14
|
+
import { focusableChildren as ge } from "../../util/helpers.mjs";
|
|
15
|
+
import { propsFactory as he } from "../../util/propsFactory.mjs";
|
|
16
|
+
import { genericComponent as Se } from "../../util/defineComponent.mjs";
|
|
17
|
+
import { IN_BROWSER as L } from "../../util/globals.mjs";
|
|
18
|
+
import { useRender as ye } from "../../util/useRender.mjs";
|
|
19
|
+
const xe = Symbol.for("vuetify:v-slide-group"), be = he({
|
|
20
|
+
centerActive: Boolean,
|
|
21
|
+
scrollToActive: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !0
|
|
24
|
+
},
|
|
25
|
+
contentClass: null,
|
|
26
|
+
direction: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: "horizontal"
|
|
29
|
+
},
|
|
30
|
+
symbol: {
|
|
31
|
+
type: null,
|
|
32
|
+
default: xe
|
|
33
|
+
},
|
|
34
|
+
nextIcon: {
|
|
35
|
+
type: H,
|
|
36
|
+
default: "$next"
|
|
37
|
+
},
|
|
38
|
+
prevIcon: {
|
|
39
|
+
type: H,
|
|
40
|
+
default: "$prev"
|
|
41
|
+
},
|
|
42
|
+
showArrows: {
|
|
43
|
+
type: [Boolean, String],
|
|
44
|
+
validator: (o) => typeof o == "boolean" || ["always", "desktop", "mobile", "never"].includes(o)
|
|
45
|
+
},
|
|
46
|
+
...oe(),
|
|
47
|
+
...ne({
|
|
48
|
+
mobile: null
|
|
49
|
+
}),
|
|
50
|
+
...ce(),
|
|
51
|
+
...se({
|
|
52
|
+
selectedClass: "v-slide-group-item--active"
|
|
53
|
+
})
|
|
54
|
+
}, "VSlideGroup"), De = Se()({
|
|
55
|
+
name: "VSlideGroup",
|
|
56
|
+
props: be(),
|
|
57
|
+
emits: {
|
|
58
|
+
"update:modelValue": (o) => !0
|
|
59
|
+
},
|
|
60
|
+
setup(o, U) {
|
|
61
|
+
let {
|
|
62
|
+
slots: i
|
|
63
|
+
} = U;
|
|
64
|
+
const {
|
|
65
|
+
isRtl: u
|
|
66
|
+
} = ue(), {
|
|
67
|
+
displayClasses: $,
|
|
68
|
+
mobile: b
|
|
69
|
+
} = re(o), a = ie(o, o.symbol), p = d(!1), f = d(0), z = d(0), O = d(0), n = c(() => o.direction === "horizontal"), {
|
|
70
|
+
resizeRef: r,
|
|
71
|
+
contentRect: w
|
|
72
|
+
} = N(), {
|
|
73
|
+
resizeRef: s,
|
|
74
|
+
contentRect: k
|
|
75
|
+
} = N(), P = ae(), G = c(() => ({
|
|
76
|
+
container: r.el,
|
|
77
|
+
duration: 200,
|
|
78
|
+
easing: "easeOutQuart"
|
|
79
|
+
})), Q = c(() => a.selected.value.length ? a.items.value.findIndex((t) => t.id === a.selected.value[0]) : -1), j = c(() => a.selected.value.length ? a.items.value.findIndex((t) => t.id === a.selected.value[a.selected.value.length - 1]) : -1);
|
|
80
|
+
if (L) {
|
|
81
|
+
let t = -1;
|
|
82
|
+
te(() => [a.selected.value, w.value, k.value, n.value], () => {
|
|
83
|
+
cancelAnimationFrame(t), t = requestAnimationFrame(() => {
|
|
84
|
+
if (w.value && k.value) {
|
|
85
|
+
const e = n.value ? "width" : "height";
|
|
86
|
+
z.value = w.value[e], O.value = k.value[e], p.value = z.value + 1 < O.value;
|
|
87
|
+
}
|
|
88
|
+
if (o.scrollToActive && Q.value >= 0 && s.el) {
|
|
89
|
+
const e = s.el.children[j.value];
|
|
90
|
+
M(e, o.centerActive);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
const g = d(!1);
|
|
96
|
+
function M(t, e) {
|
|
97
|
+
let l = 0;
|
|
98
|
+
e ? l = fe({
|
|
99
|
+
containerElement: r.el,
|
|
100
|
+
isHorizontal: n.value,
|
|
101
|
+
selectedElement: t
|
|
102
|
+
}) : l = ve({
|
|
103
|
+
containerElement: r.el,
|
|
104
|
+
isHorizontal: n.value,
|
|
105
|
+
isRtl: u.value,
|
|
106
|
+
selectedElement: t
|
|
107
|
+
}), W(l);
|
|
108
|
+
}
|
|
109
|
+
function W(t) {
|
|
110
|
+
if (!L || !r.el)
|
|
111
|
+
return;
|
|
112
|
+
const e = de(n.value, r.el), l = me(n.value, u.value, r.el);
|
|
113
|
+
if (!(q(n.value, r.el) <= e || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
|
|
114
|
+
Math.abs(t - l) < 16)) {
|
|
115
|
+
if (n.value && u.value && r.el) {
|
|
116
|
+
const {
|
|
117
|
+
scrollWidth: _,
|
|
118
|
+
offsetWidth: V
|
|
119
|
+
} = r.el;
|
|
120
|
+
t = _ - V - t;
|
|
121
|
+
}
|
|
122
|
+
n.value ? P.horizontal(t, G.value) : P(t, G.value);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
function J(t) {
|
|
126
|
+
const {
|
|
127
|
+
scrollTop: e,
|
|
128
|
+
scrollLeft: l
|
|
129
|
+
} = t.target;
|
|
130
|
+
f.value = n.value ? l : e;
|
|
131
|
+
}
|
|
132
|
+
function X(t) {
|
|
133
|
+
if (g.value = !0, !(!p.value || !s.el)) {
|
|
134
|
+
for (const e of t.composedPath())
|
|
135
|
+
for (const l of s.el.children)
|
|
136
|
+
if (l === e) {
|
|
137
|
+
M(l);
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function Y(t) {
|
|
143
|
+
g.value = !1;
|
|
144
|
+
}
|
|
145
|
+
let A = !1;
|
|
146
|
+
function Z(t) {
|
|
147
|
+
var e;
|
|
148
|
+
!A && !g.value && !(t.relatedTarget && ((e = s.el) != null && e.contains(t.relatedTarget))) && v(), A = !1;
|
|
149
|
+
}
|
|
150
|
+
function B() {
|
|
151
|
+
A = !0;
|
|
152
|
+
}
|
|
153
|
+
function ee(t) {
|
|
154
|
+
if (!s.el)
|
|
155
|
+
return;
|
|
156
|
+
function e(l) {
|
|
157
|
+
t.preventDefault(), v(l);
|
|
158
|
+
}
|
|
159
|
+
n.value ? t.key === "ArrowRight" ? e(u.value ? "prev" : "next") : t.key === "ArrowLeft" && e(u.value ? "next" : "prev") : t.key === "ArrowDown" ? e("next") : t.key === "ArrowUp" && e("prev"), t.key === "Home" ? e("first") : t.key === "End" && e("last");
|
|
160
|
+
}
|
|
161
|
+
function h(t, e) {
|
|
162
|
+
if (!t)
|
|
163
|
+
return;
|
|
164
|
+
let l = t;
|
|
165
|
+
do
|
|
166
|
+
l = l == null ? void 0 : l[e === "next" ? "nextElementSibling" : "previousElementSibling"];
|
|
167
|
+
while (l != null && l.hasAttribute("disabled"));
|
|
168
|
+
return l;
|
|
169
|
+
}
|
|
170
|
+
function v(t) {
|
|
171
|
+
if (!s.el)
|
|
172
|
+
return;
|
|
173
|
+
let e;
|
|
174
|
+
if (!t)
|
|
175
|
+
e = ge(s.el)[0];
|
|
176
|
+
else if (t === "next") {
|
|
177
|
+
if (e = h(s.el.querySelector(":focus"), t), !e)
|
|
178
|
+
return v("first");
|
|
179
|
+
} else if (t === "prev") {
|
|
180
|
+
if (e = h(s.el.querySelector(":focus"), t), !e)
|
|
181
|
+
return v("last");
|
|
182
|
+
} else
|
|
183
|
+
t === "first" ? (e = s.el.firstElementChild, e != null && e.hasAttribute("disabled") && (e = h(e, "next"))) : t === "last" && (e = s.el.lastElementChild, e != null && e.hasAttribute("disabled") && (e = h(e, "prev")));
|
|
184
|
+
e && e.focus({
|
|
185
|
+
preventScroll: !0
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
function R(t) {
|
|
189
|
+
const e = n.value && u.value ? -1 : 1, l = (t === "prev" ? -e : e) * z.value;
|
|
190
|
+
let I = f.value + l;
|
|
191
|
+
if (n.value && u.value && r.el) {
|
|
192
|
+
const {
|
|
193
|
+
scrollWidth: _,
|
|
194
|
+
offsetWidth: V
|
|
195
|
+
} = r.el;
|
|
196
|
+
I += _ - V;
|
|
197
|
+
}
|
|
198
|
+
W(I);
|
|
199
|
+
}
|
|
200
|
+
const C = c(() => ({
|
|
201
|
+
next: a.next,
|
|
202
|
+
prev: a.prev,
|
|
203
|
+
select: a.select,
|
|
204
|
+
isSelected: a.isSelected
|
|
205
|
+
})), S = c(() => p.value || Math.abs(f.value) > 0), T = c(() => {
|
|
206
|
+
switch (o.showArrows) {
|
|
207
|
+
case "never":
|
|
208
|
+
return !1;
|
|
209
|
+
case "always":
|
|
210
|
+
return !0;
|
|
211
|
+
case "desktop":
|
|
212
|
+
return !b.value;
|
|
213
|
+
case !0:
|
|
214
|
+
return S.value;
|
|
215
|
+
case "mobile":
|
|
216
|
+
return b.value || S.value;
|
|
217
|
+
default:
|
|
218
|
+
return !b.value && S.value;
|
|
219
|
+
}
|
|
220
|
+
}), E = c(() => Math.abs(f.value) > 1), F = c(() => {
|
|
221
|
+
if (!r.value || !S.value)
|
|
222
|
+
return !1;
|
|
223
|
+
const t = q(n.value, r.el), e = pe(n.value, r.el);
|
|
224
|
+
return t - e - Math.abs(f.value) > 1;
|
|
225
|
+
});
|
|
226
|
+
return ye(() => m(o.tag, {
|
|
227
|
+
class: y(["v-slide-group", {
|
|
228
|
+
"v-slide-group--vertical": !n.value,
|
|
229
|
+
"v-slide-group--has-affixes": T.value,
|
|
230
|
+
"v-slide-group--is-overflowing": p.value
|
|
231
|
+
}, $.value, o.class]),
|
|
232
|
+
style: le(o.style),
|
|
233
|
+
tabindex: g.value || a.selected.value.length ? -1 : 0,
|
|
234
|
+
onFocus: Z
|
|
235
|
+
}, {
|
|
236
|
+
default: () => {
|
|
237
|
+
var t, e, l;
|
|
238
|
+
return [T.value && x("div", {
|
|
239
|
+
key: "prev",
|
|
240
|
+
class: y(["v-slide-group__prev", {
|
|
241
|
+
"v-slide-group__prev--disabled": !E.value
|
|
242
|
+
}]),
|
|
243
|
+
onMousedown: B,
|
|
244
|
+
onClick: () => E.value && R("prev")
|
|
245
|
+
}, [((t = i.prev) == null ? void 0 : t.call(i, C.value)) ?? m(D, null, {
|
|
246
|
+
default: () => [m(K, {
|
|
247
|
+
icon: u.value ? o.nextIcon : o.prevIcon
|
|
248
|
+
}, null)]
|
|
249
|
+
})]), x("div", {
|
|
250
|
+
key: "container",
|
|
251
|
+
ref: r,
|
|
252
|
+
class: y(["v-slide-group__container", o.contentClass]),
|
|
253
|
+
onScroll: J
|
|
254
|
+
}, [x("div", {
|
|
255
|
+
ref: s,
|
|
256
|
+
class: "v-slide-group__content",
|
|
257
|
+
onFocusin: X,
|
|
258
|
+
onFocusout: Y,
|
|
259
|
+
onKeydown: ee
|
|
260
|
+
}, [(e = i.default) == null ? void 0 : e.call(i, C.value)])]), T.value && x("div", {
|
|
261
|
+
key: "next",
|
|
262
|
+
class: y(["v-slide-group__next", {
|
|
263
|
+
"v-slide-group__next--disabled": !F.value
|
|
264
|
+
}]),
|
|
265
|
+
onMousedown: B,
|
|
266
|
+
onClick: () => F.value && R("next")
|
|
267
|
+
}, [((l = i.next) == null ? void 0 : l.call(i, C.value)) ?? m(D, null, {
|
|
268
|
+
default: () => [m(K, {
|
|
269
|
+
icon: u.value ? o.prevIcon : o.nextIcon
|
|
270
|
+
}, null)]
|
|
271
|
+
})])];
|
|
272
|
+
}
|
|
273
|
+
})), {
|
|
274
|
+
selected: a.selected,
|
|
275
|
+
scrollTo: R,
|
|
276
|
+
scrollOffset: f,
|
|
277
|
+
focus: v,
|
|
278
|
+
hasPrev: E,
|
|
279
|
+
hasNext: F
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
export {
|
|
284
|
+
De as VSlideGroup,
|
|
285
|
+
xe as VSlideGroupSymbol,
|
|
286
|
+
be as makeVSlideGroupProps
|
|
287
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
function h(i) {
|
|
2
|
+
let {
|
|
3
|
+
selectedElement: t,
|
|
4
|
+
containerElement: o,
|
|
5
|
+
isRtl: n,
|
|
6
|
+
isHorizontal: r
|
|
7
|
+
} = i;
|
|
8
|
+
const c = e(r, o), s = d(r, n, o), l = e(r, t), f = a(r, t), u = l * 0.4;
|
|
9
|
+
return s > f ? f - u : s + c < f + l ? f - c + l + u : s;
|
|
10
|
+
}
|
|
11
|
+
function g(i) {
|
|
12
|
+
let {
|
|
13
|
+
selectedElement: t,
|
|
14
|
+
containerElement: o,
|
|
15
|
+
isHorizontal: n
|
|
16
|
+
} = i;
|
|
17
|
+
const r = e(n, o), c = a(n, t), s = e(n, t);
|
|
18
|
+
return c - r / 2 + s / 2;
|
|
19
|
+
}
|
|
20
|
+
function S(i, t) {
|
|
21
|
+
const o = i ? "scrollWidth" : "scrollHeight";
|
|
22
|
+
return (t == null ? void 0 : t[o]) || 0;
|
|
23
|
+
}
|
|
24
|
+
function z(i, t) {
|
|
25
|
+
const o = i ? "clientWidth" : "clientHeight";
|
|
26
|
+
return (t == null ? void 0 : t[o]) || 0;
|
|
27
|
+
}
|
|
28
|
+
function d(i, t, o) {
|
|
29
|
+
if (!o)
|
|
30
|
+
return 0;
|
|
31
|
+
const {
|
|
32
|
+
scrollLeft: n,
|
|
33
|
+
offsetWidth: r,
|
|
34
|
+
scrollWidth: c
|
|
35
|
+
} = o;
|
|
36
|
+
return i ? t ? c - r + n : n : o.scrollTop;
|
|
37
|
+
}
|
|
38
|
+
function e(i, t) {
|
|
39
|
+
const o = i ? "offsetWidth" : "offsetHeight";
|
|
40
|
+
return (t == null ? void 0 : t[o]) || 0;
|
|
41
|
+
}
|
|
42
|
+
function a(i, t) {
|
|
43
|
+
const o = i ? "offsetLeft" : "offsetTop";
|
|
44
|
+
return (t == null ? void 0 : t[o]) || 0;
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
g as calculateCenteredTarget,
|
|
48
|
+
h as calculateUpdatedTarget,
|
|
49
|
+
z as getClientSize,
|
|
50
|
+
a as getOffsetPosition,
|
|
51
|
+
e as getOffsetSize,
|
|
52
|
+
d as getScrollPosition,
|
|
53
|
+
S as getScrollSize
|
|
54
|
+
};
|