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,315 @@
|
|
|
1
|
+
import { shallowRef as W, computed as g, toRef as c, createVNode as m, normalizeClass as S, normalizeStyle as q, createElementVNode as b, mergeProps as P, nextTick as A } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VPagination.sass.mjs";
|
|
3
|
+
import { makeBorderProps as G } from "../../composables/border.mjs";
|
|
4
|
+
import { makeComponentProps as O } from "../../composables/component.mjs";
|
|
5
|
+
import { provideDefaults as R } from "../../composables/defaults.mjs";
|
|
6
|
+
import { makeDensityProps as X } from "../../composables/density.mjs";
|
|
7
|
+
import { makeElevationProps as j } from "../../composables/elevation.mjs";
|
|
8
|
+
import { IconValue as x } from "../../composables/icons.mjs";
|
|
9
|
+
import { useLocale as H, useRtl as J } from "../../composables/locale.mjs";
|
|
10
|
+
import { useProxiedModel as Q } from "../../composables/proxiedModel.mjs";
|
|
11
|
+
import { useRefs as U } from "../../composables/refs.mjs";
|
|
12
|
+
import { useResizeObserver as Y } from "../../composables/resizeObserver.mjs";
|
|
13
|
+
import { makeRoundedProps as Z } from "../../composables/rounded.mjs";
|
|
14
|
+
import { makeSizeProps as ee } from "../../composables/size.mjs";
|
|
15
|
+
import { makeTagProps as ae } from "../../composables/tag.mjs";
|
|
16
|
+
import { makeThemeProps as te, provideTheme as ie } from "../../composables/theme.mjs";
|
|
17
|
+
import { makeVariantProps as le } from "../../composables/variant.mjs";
|
|
18
|
+
import { useDisplay as ne } from "../../composables/display.mjs";
|
|
19
|
+
import { VBtn as h } from "../VBtn/VBtn.mjs";
|
|
20
|
+
import { propsFactory as re } from "../../util/propsFactory.mjs";
|
|
21
|
+
import { genericComponent as oe } from "../../util/defineComponent.mjs";
|
|
22
|
+
import { createRange as k, keyValues as N } from "../../util/helpers.mjs";
|
|
23
|
+
import { useRender as se } from "../../util/useRender.mjs";
|
|
24
|
+
const ue = re({
|
|
25
|
+
activeColor: String,
|
|
26
|
+
start: {
|
|
27
|
+
type: [Number, String],
|
|
28
|
+
default: 1
|
|
29
|
+
},
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: Number,
|
|
32
|
+
default: (e) => e.start
|
|
33
|
+
},
|
|
34
|
+
disabled: Boolean,
|
|
35
|
+
length: {
|
|
36
|
+
type: [Number, String],
|
|
37
|
+
default: 1,
|
|
38
|
+
validator: (e) => e % 1 === 0
|
|
39
|
+
},
|
|
40
|
+
totalVisible: [Number, String],
|
|
41
|
+
firstIcon: {
|
|
42
|
+
type: x,
|
|
43
|
+
default: "$first"
|
|
44
|
+
},
|
|
45
|
+
prevIcon: {
|
|
46
|
+
type: x,
|
|
47
|
+
default: "$prev"
|
|
48
|
+
},
|
|
49
|
+
nextIcon: {
|
|
50
|
+
type: x,
|
|
51
|
+
default: "$next"
|
|
52
|
+
},
|
|
53
|
+
lastIcon: {
|
|
54
|
+
type: x,
|
|
55
|
+
default: "$last"
|
|
56
|
+
},
|
|
57
|
+
ariaLabel: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: "$vuetify.pagination.ariaLabel.root"
|
|
60
|
+
},
|
|
61
|
+
pageAriaLabel: {
|
|
62
|
+
type: String,
|
|
63
|
+
default: "$vuetify.pagination.ariaLabel.page"
|
|
64
|
+
},
|
|
65
|
+
currentPageAriaLabel: {
|
|
66
|
+
type: String,
|
|
67
|
+
default: "$vuetify.pagination.ariaLabel.currentPage"
|
|
68
|
+
},
|
|
69
|
+
firstAriaLabel: {
|
|
70
|
+
type: String,
|
|
71
|
+
default: "$vuetify.pagination.ariaLabel.first"
|
|
72
|
+
},
|
|
73
|
+
previousAriaLabel: {
|
|
74
|
+
type: String,
|
|
75
|
+
default: "$vuetify.pagination.ariaLabel.previous"
|
|
76
|
+
},
|
|
77
|
+
nextAriaLabel: {
|
|
78
|
+
type: String,
|
|
79
|
+
default: "$vuetify.pagination.ariaLabel.next"
|
|
80
|
+
},
|
|
81
|
+
lastAriaLabel: {
|
|
82
|
+
type: String,
|
|
83
|
+
default: "$vuetify.pagination.ariaLabel.last"
|
|
84
|
+
},
|
|
85
|
+
ellipsis: {
|
|
86
|
+
type: String,
|
|
87
|
+
default: "..."
|
|
88
|
+
},
|
|
89
|
+
showFirstLastPage: Boolean,
|
|
90
|
+
...G(),
|
|
91
|
+
...O(),
|
|
92
|
+
...X(),
|
|
93
|
+
...j(),
|
|
94
|
+
...Z(),
|
|
95
|
+
...ee(),
|
|
96
|
+
...ae({
|
|
97
|
+
tag: "nav"
|
|
98
|
+
}),
|
|
99
|
+
...te(),
|
|
100
|
+
...le({
|
|
101
|
+
variant: "text"
|
|
102
|
+
})
|
|
103
|
+
}, "VPagination"), Ce = oe()({
|
|
104
|
+
name: "VPagination",
|
|
105
|
+
props: ue(),
|
|
106
|
+
emits: {
|
|
107
|
+
"update:modelValue": (e) => !0,
|
|
108
|
+
first: (e) => !0,
|
|
109
|
+
prev: (e) => !0,
|
|
110
|
+
next: (e) => !0,
|
|
111
|
+
last: (e) => !0
|
|
112
|
+
},
|
|
113
|
+
setup(e, $) {
|
|
114
|
+
let {
|
|
115
|
+
slots: s,
|
|
116
|
+
emit: B
|
|
117
|
+
} = $;
|
|
118
|
+
const l = Q(e, "modelValue"), {
|
|
119
|
+
t: d,
|
|
120
|
+
n: C
|
|
121
|
+
} = H(), {
|
|
122
|
+
isRtl: L
|
|
123
|
+
} = J(), {
|
|
124
|
+
themeClasses: w
|
|
125
|
+
} = ie(e), {
|
|
126
|
+
width: F
|
|
127
|
+
} = ne(), V = W(-1);
|
|
128
|
+
R(void 0, {
|
|
129
|
+
scoped: !0
|
|
130
|
+
});
|
|
131
|
+
const {
|
|
132
|
+
resizeRef: M
|
|
133
|
+
} = Y((a) => {
|
|
134
|
+
if (!a.length)
|
|
135
|
+
return;
|
|
136
|
+
const {
|
|
137
|
+
target: t,
|
|
138
|
+
contentRect: i
|
|
139
|
+
} = a[0], o = t.querySelector(".v-pagination__list > *");
|
|
140
|
+
if (!o)
|
|
141
|
+
return;
|
|
142
|
+
const u = i.width, p = o.offsetWidth + parseFloat(getComputedStyle(o).marginRight) * 2;
|
|
143
|
+
V.value = _(u, p);
|
|
144
|
+
}), n = g(() => parseInt(e.length, 10)), r = g(() => parseInt(e.start, 10)), v = g(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : V.value >= 0 ? V.value : _(F.value, 58));
|
|
145
|
+
function _(a, t) {
|
|
146
|
+
const i = e.showFirstLastPage ? 5 : 3;
|
|
147
|
+
return Math.max(0, Math.floor(
|
|
148
|
+
// Round to two decimal places to avoid floating point errors
|
|
149
|
+
Number(((a - t * i) / t).toFixed(2))
|
|
150
|
+
));
|
|
151
|
+
}
|
|
152
|
+
const z = g(() => {
|
|
153
|
+
if (n.value <= 0 || isNaN(n.value) || n.value > Number.MAX_SAFE_INTEGER)
|
|
154
|
+
return [];
|
|
155
|
+
if (v.value <= 0)
|
|
156
|
+
return [];
|
|
157
|
+
if (v.value === 1)
|
|
158
|
+
return [l.value];
|
|
159
|
+
if (n.value <= v.value)
|
|
160
|
+
return k(n.value, r.value);
|
|
161
|
+
const a = v.value % 2 === 0, t = a ? v.value / 2 : Math.floor(v.value / 2), i = a ? t : t + 1, o = n.value - t;
|
|
162
|
+
if (i - l.value >= 0)
|
|
163
|
+
return [...k(Math.max(1, v.value - 1), r.value), e.ellipsis, n.value];
|
|
164
|
+
if (l.value - o >= (a ? 1 : 0)) {
|
|
165
|
+
const u = v.value - 1, p = n.value - u + r.value;
|
|
166
|
+
return [r.value, e.ellipsis, ...k(u, p)];
|
|
167
|
+
} else {
|
|
168
|
+
const u = Math.max(1, v.value - 2), p = u === 1 ? l.value : l.value - Math.ceil(u / 2) + r.value;
|
|
169
|
+
return [r.value, e.ellipsis, ...k(u, p), e.ellipsis, n.value];
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
function y(a, t, i) {
|
|
173
|
+
a.preventDefault(), l.value = t, i && B(i, t);
|
|
174
|
+
}
|
|
175
|
+
const {
|
|
176
|
+
refs: D,
|
|
177
|
+
updateRef: E
|
|
178
|
+
} = U();
|
|
179
|
+
R({
|
|
180
|
+
VPaginationBtn: {
|
|
181
|
+
color: c(() => e.color),
|
|
182
|
+
border: c(() => e.border),
|
|
183
|
+
density: c(() => e.density),
|
|
184
|
+
size: c(() => e.size),
|
|
185
|
+
variant: c(() => e.variant),
|
|
186
|
+
rounded: c(() => e.rounded),
|
|
187
|
+
elevation: c(() => e.elevation)
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
const T = g(() => z.value.map((a, t) => {
|
|
191
|
+
const i = (o) => E(o, t);
|
|
192
|
+
if (typeof a == "string")
|
|
193
|
+
return {
|
|
194
|
+
isActive: !1,
|
|
195
|
+
key: `ellipsis-${t}`,
|
|
196
|
+
page: a,
|
|
197
|
+
props: {
|
|
198
|
+
ref: i,
|
|
199
|
+
ellipsis: !0,
|
|
200
|
+
icon: !0,
|
|
201
|
+
disabled: !0
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
{
|
|
205
|
+
const o = a === l.value;
|
|
206
|
+
return {
|
|
207
|
+
isActive: o,
|
|
208
|
+
key: a,
|
|
209
|
+
page: C(a),
|
|
210
|
+
props: {
|
|
211
|
+
ref: i,
|
|
212
|
+
ellipsis: !1,
|
|
213
|
+
icon: !0,
|
|
214
|
+
disabled: !!e.disabled || Number(e.length) < 2,
|
|
215
|
+
color: o ? e.activeColor : e.color,
|
|
216
|
+
"aria-current": o,
|
|
217
|
+
"aria-label": d(o ? e.currentPageAriaLabel : e.pageAriaLabel, a),
|
|
218
|
+
onClick: (u) => y(u, a)
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
})), f = g(() => {
|
|
223
|
+
const a = !!e.disabled || l.value <= r.value, t = !!e.disabled || l.value >= r.value + n.value - 1;
|
|
224
|
+
return {
|
|
225
|
+
first: e.showFirstLastPage ? {
|
|
226
|
+
icon: L.value ? e.lastIcon : e.firstIcon,
|
|
227
|
+
onClick: (i) => y(i, r.value, "first"),
|
|
228
|
+
disabled: a,
|
|
229
|
+
"aria-label": d(e.firstAriaLabel),
|
|
230
|
+
"aria-disabled": a
|
|
231
|
+
} : void 0,
|
|
232
|
+
prev: {
|
|
233
|
+
icon: L.value ? e.nextIcon : e.prevIcon,
|
|
234
|
+
onClick: (i) => y(i, l.value - 1, "prev"),
|
|
235
|
+
disabled: a,
|
|
236
|
+
"aria-label": d(e.previousAriaLabel),
|
|
237
|
+
"aria-disabled": a
|
|
238
|
+
},
|
|
239
|
+
next: {
|
|
240
|
+
icon: L.value ? e.prevIcon : e.nextIcon,
|
|
241
|
+
onClick: (i) => y(i, l.value + 1, "next"),
|
|
242
|
+
disabled: t,
|
|
243
|
+
"aria-label": d(e.nextAriaLabel),
|
|
244
|
+
"aria-disabled": t
|
|
245
|
+
},
|
|
246
|
+
last: e.showFirstLastPage ? {
|
|
247
|
+
icon: L.value ? e.firstIcon : e.lastIcon,
|
|
248
|
+
onClick: (i) => y(i, r.value + n.value - 1, "last"),
|
|
249
|
+
disabled: t,
|
|
250
|
+
"aria-label": d(e.lastAriaLabel),
|
|
251
|
+
"aria-disabled": t
|
|
252
|
+
} : void 0
|
|
253
|
+
};
|
|
254
|
+
});
|
|
255
|
+
function I() {
|
|
256
|
+
var t;
|
|
257
|
+
const a = l.value - r.value;
|
|
258
|
+
(t = D.value[a]) == null || t.$el.focus();
|
|
259
|
+
}
|
|
260
|
+
function K(a) {
|
|
261
|
+
a.key === N.left && !e.disabled && l.value > Number(e.start) ? (l.value = l.value - 1, A(I)) : a.key === N.right && !e.disabled && l.value < r.value + n.value - 1 && (l.value = l.value + 1, A(I));
|
|
262
|
+
}
|
|
263
|
+
return se(() => m(e.tag, {
|
|
264
|
+
ref: M,
|
|
265
|
+
class: S(["v-pagination", w.value, e.class]),
|
|
266
|
+
style: q(e.style),
|
|
267
|
+
role: "navigation",
|
|
268
|
+
"aria-label": d(e.ariaLabel),
|
|
269
|
+
onKeydown: K,
|
|
270
|
+
"data-test": "v-pagination-root"
|
|
271
|
+
}, {
|
|
272
|
+
default: () => [b("ul", {
|
|
273
|
+
class: "v-pagination__list"
|
|
274
|
+
}, [e.showFirstLastPage && b("li", {
|
|
275
|
+
key: "first",
|
|
276
|
+
class: "v-pagination__first",
|
|
277
|
+
"data-test": "v-pagination-first"
|
|
278
|
+
}, [s.first ? s.first(f.value.first) : m(h, P({
|
|
279
|
+
_as: "VPaginationBtn"
|
|
280
|
+
}, f.value.first), null)]), b("li", {
|
|
281
|
+
key: "prev",
|
|
282
|
+
class: "v-pagination__prev",
|
|
283
|
+
"data-test": "v-pagination-prev"
|
|
284
|
+
}, [s.prev ? s.prev(f.value.prev) : m(h, P({
|
|
285
|
+
_as: "VPaginationBtn"
|
|
286
|
+
}, f.value.prev), null)]), T.value.map((a, t) => b("li", {
|
|
287
|
+
key: a.key,
|
|
288
|
+
class: S(["v-pagination__item", {
|
|
289
|
+
"v-pagination__item--is-active": a.isActive
|
|
290
|
+
}]),
|
|
291
|
+
"data-test": "v-pagination-item"
|
|
292
|
+
}, [s.item ? s.item(a) : m(h, P({
|
|
293
|
+
_as: "VPaginationBtn"
|
|
294
|
+
}, a.props), {
|
|
295
|
+
default: () => [a.page]
|
|
296
|
+
})])), b("li", {
|
|
297
|
+
key: "next",
|
|
298
|
+
class: "v-pagination__next",
|
|
299
|
+
"data-test": "v-pagination-next"
|
|
300
|
+
}, [s.next ? s.next(f.value.next) : m(h, P({
|
|
301
|
+
_as: "VPaginationBtn"
|
|
302
|
+
}, f.value.next), null)]), e.showFirstLastPage && b("li", {
|
|
303
|
+
key: "last",
|
|
304
|
+
class: "v-pagination__last",
|
|
305
|
+
"data-test": "v-pagination-last"
|
|
306
|
+
}, [s.last ? s.last(f.value.last) : m(h, P({
|
|
307
|
+
_as: "VPaginationBtn"
|
|
308
|
+
}, f.value.last), null)])])]
|
|
309
|
+
})), {};
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
export {
|
|
313
|
+
Ce as VPagination,
|
|
314
|
+
ue as makeVPaginationProps
|
|
315
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { ref as I, toRef as r, computed as M, watchEffect as O, createVNode as A, normalizeClass as C, normalizeStyle as h, createElementVNode as n } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VProgressCircular.sass.mjs";
|
|
3
|
+
import { useTextColor as y } from "../../composables/color.mjs";
|
|
4
|
+
import { makeComponentProps as D } from "../../composables/component.mjs";
|
|
5
|
+
import { useIntersectionObserver as F } from "../../composables/intersectionObserver.mjs";
|
|
6
|
+
import { useResizeObserver as U } from "../../composables/resizeObserver.mjs";
|
|
7
|
+
import { makeRevealProps as $, useReveal as B } from "../../composables/reveal.mjs";
|
|
8
|
+
import { makeSizeProps as G, useSize as L } from "../../composables/size.mjs";
|
|
9
|
+
import { makeTagProps as W } from "../../composables/tag.mjs";
|
|
10
|
+
import { makeThemeProps as j, provideTheme as q } from "../../composables/theme.mjs";
|
|
11
|
+
import { propsFactory as H } from "../../util/propsFactory.mjs";
|
|
12
|
+
import { genericComponent as J } from "../../util/defineComponent.mjs";
|
|
13
|
+
import { clamp as K, convertToUnit as k } from "../../util/helpers.mjs";
|
|
14
|
+
import { useRender as Q } from "../../util/useRender.mjs";
|
|
15
|
+
import { PREFERS_REDUCED_MOTION as X } from "../../util/globals.mjs";
|
|
16
|
+
const Y = H({
|
|
17
|
+
bgColor: String,
|
|
18
|
+
color: String,
|
|
19
|
+
indeterminate: [Boolean, String],
|
|
20
|
+
rounded: Boolean,
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: [Number, String],
|
|
23
|
+
default: 0
|
|
24
|
+
},
|
|
25
|
+
rotate: {
|
|
26
|
+
type: [Number, String],
|
|
27
|
+
default: 0
|
|
28
|
+
},
|
|
29
|
+
width: {
|
|
30
|
+
type: [Number, String],
|
|
31
|
+
default: 4
|
|
32
|
+
},
|
|
33
|
+
...D(),
|
|
34
|
+
...$(),
|
|
35
|
+
...G(),
|
|
36
|
+
...W({
|
|
37
|
+
tag: "div"
|
|
38
|
+
}),
|
|
39
|
+
...j()
|
|
40
|
+
}, "VProgressCircular"), fe = J()({
|
|
41
|
+
name: "VProgressCircular",
|
|
42
|
+
props: Y(),
|
|
43
|
+
setup(e, S) {
|
|
44
|
+
let {
|
|
45
|
+
slots: m
|
|
46
|
+
} = S;
|
|
47
|
+
const o = 20, t = 2 * Math.PI * o, i = I(), {
|
|
48
|
+
themeClasses: b
|
|
49
|
+
} = q(e), {
|
|
50
|
+
sizeClasses: p,
|
|
51
|
+
sizeStyles: v
|
|
52
|
+
} = L(e), {
|
|
53
|
+
textColorClasses: R,
|
|
54
|
+
textColorStyles: w
|
|
55
|
+
} = y(() => e.color), {
|
|
56
|
+
textColorClasses: x,
|
|
57
|
+
textColorStyles: N
|
|
58
|
+
} = y(() => e.bgColor), {
|
|
59
|
+
intersectionRef: P,
|
|
60
|
+
isIntersecting: z
|
|
61
|
+
} = F(), {
|
|
62
|
+
resizeRef: _,
|
|
63
|
+
contentRect: d
|
|
64
|
+
} = U(), {
|
|
65
|
+
state: f,
|
|
66
|
+
duration: E
|
|
67
|
+
} = B(e), a = r(() => f.value === "initial" ? 0 : K(parseFloat(e.modelValue), 0, 100)), u = r(() => Number(e.width)), g = r(() => v.value ? Number(e.size) : d.value ? d.value.width : Math.max(u.value, 32)), c = r(() => o / (1 - u.value / g.value) * 2), s = r(() => u.value / g.value * c.value), V = r(() => {
|
|
68
|
+
const l = (100 - a.value) / 100 * t;
|
|
69
|
+
return e.rounded && a.value > 0 && a.value < 100 ? k(Math.min(t - 0.01, l + s.value)) : k(l);
|
|
70
|
+
}), T = M(() => {
|
|
71
|
+
const l = Number(e.rotate);
|
|
72
|
+
return e.rounded ? l + s.value / 2 / t * 360 : l;
|
|
73
|
+
});
|
|
74
|
+
return O(() => {
|
|
75
|
+
P.value = i.value, _.value = i.value;
|
|
76
|
+
}), Q(() => A(e.tag, {
|
|
77
|
+
ref: i,
|
|
78
|
+
class: C(["v-progress-circular", {
|
|
79
|
+
"v-progress-circular--indeterminate": !!e.indeterminate,
|
|
80
|
+
"v-progress-circular--visible": z.value,
|
|
81
|
+
"v-progress-circular--disable-shrink": e.indeterminate && (e.indeterminate === "disable-shrink" || X()),
|
|
82
|
+
"v-progress-circular--revealing": ["initial", "pending"].includes(f.value)
|
|
83
|
+
}, b.value, p.value, R.value, e.class]),
|
|
84
|
+
style: h([v.value, w.value, {
|
|
85
|
+
"--progress-reveal-duration": `${E.value}ms`
|
|
86
|
+
}, e.style]),
|
|
87
|
+
role: "progressbar",
|
|
88
|
+
"aria-valuemin": "0",
|
|
89
|
+
"aria-valuemax": "100",
|
|
90
|
+
"aria-valuenow": e.indeterminate ? void 0 : a.value
|
|
91
|
+
}, {
|
|
92
|
+
default: () => [n("svg", {
|
|
93
|
+
style: {
|
|
94
|
+
transform: `rotate(calc(-90deg + ${T.value}deg))`
|
|
95
|
+
},
|
|
96
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
97
|
+
viewBox: `0 0 ${c.value} ${c.value}`
|
|
98
|
+
}, [n("circle", {
|
|
99
|
+
class: C(["v-progress-circular__underlay", x.value]),
|
|
100
|
+
style: h(N.value),
|
|
101
|
+
fill: "transparent",
|
|
102
|
+
cx: "50%",
|
|
103
|
+
cy: "50%",
|
|
104
|
+
r: o,
|
|
105
|
+
"stroke-width": s.value,
|
|
106
|
+
"stroke-dasharray": t,
|
|
107
|
+
"stroke-dashoffset": 0
|
|
108
|
+
}, null), n("circle", {
|
|
109
|
+
class: "v-progress-circular__overlay",
|
|
110
|
+
fill: "transparent",
|
|
111
|
+
cx: "50%",
|
|
112
|
+
cy: "50%",
|
|
113
|
+
r: o,
|
|
114
|
+
"stroke-width": s.value,
|
|
115
|
+
"stroke-dasharray": t,
|
|
116
|
+
"stroke-dashoffset": V.value,
|
|
117
|
+
"stroke-linecap": e.rounded ? "round" : void 0
|
|
118
|
+
}, null)]), m.default && n("div", {
|
|
119
|
+
class: "v-progress-circular__content"
|
|
120
|
+
}, [m.default({
|
|
121
|
+
value: a.value
|
|
122
|
+
})])]
|
|
123
|
+
})), {};
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
export {
|
|
127
|
+
fe as VProgressCircular,
|
|
128
|
+
Y as makeVProgressCircularProps
|
|
129
|
+
};
|
package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { ref as G, computed as t, shallowRef as H, watchEffect as V, createVNode as P, normalizeClass as n, normalizeStyle as s, createElementVNode as l, Transition as J } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VProgressLinear.sass.mjs";
|
|
3
|
+
import { useTextColor as K, useBackgroundColor as h } from "../../composables/color.mjs";
|
|
4
|
+
import { makeComponentProps as Q } from "../../composables/component.mjs";
|
|
5
|
+
import { useIntersectionObserver as Y } from "../../composables/intersectionObserver.mjs";
|
|
6
|
+
import { useRtl as Z } from "../../composables/locale.mjs";
|
|
7
|
+
import { makeLocationProps as ee, useLocation as ae } from "../../composables/location.mjs";
|
|
8
|
+
import { useProxiedModel as te } from "../../composables/proxiedModel.mjs";
|
|
9
|
+
import { useResizeObserver as re } from "../../composables/resizeObserver.mjs";
|
|
10
|
+
import { makeRoundedProps as le, useRounded as oe } from "../../composables/rounded.mjs";
|
|
11
|
+
import { makeTagProps as ne } from "../../composables/tag.mjs";
|
|
12
|
+
import { makeThemeProps as se, provideTheme as ie } from "../../composables/theme.mjs";
|
|
13
|
+
import { useToggleScope as ue } from "../../composables/toggleScope.mjs";
|
|
14
|
+
import { makeChunksProps as ce, useChunks as ve } from "./chunks.mjs";
|
|
15
|
+
import { propsFactory as de } from "../../util/propsFactory.mjs";
|
|
16
|
+
import { genericComponent as me } from "../../util/defineComponent.mjs";
|
|
17
|
+
import { clamp as R, convertToUnit as a } from "../../util/helpers.mjs";
|
|
18
|
+
import { useRender as fe } from "../../util/useRender.mjs";
|
|
19
|
+
const ge = de({
|
|
20
|
+
absolute: Boolean,
|
|
21
|
+
active: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !0
|
|
24
|
+
},
|
|
25
|
+
bgColor: String,
|
|
26
|
+
bgOpacity: [Number, String],
|
|
27
|
+
bufferValue: {
|
|
28
|
+
type: [Number, String],
|
|
29
|
+
default: 0
|
|
30
|
+
},
|
|
31
|
+
bufferColor: String,
|
|
32
|
+
bufferOpacity: [Number, String],
|
|
33
|
+
clickable: Boolean,
|
|
34
|
+
color: String,
|
|
35
|
+
height: {
|
|
36
|
+
type: [Number, String],
|
|
37
|
+
default: 4
|
|
38
|
+
},
|
|
39
|
+
indeterminate: Boolean,
|
|
40
|
+
max: {
|
|
41
|
+
type: [Number, String],
|
|
42
|
+
default: 100
|
|
43
|
+
},
|
|
44
|
+
modelValue: {
|
|
45
|
+
type: [Number, String],
|
|
46
|
+
default: 0
|
|
47
|
+
},
|
|
48
|
+
opacity: [Number, String],
|
|
49
|
+
reverse: Boolean,
|
|
50
|
+
stream: Boolean,
|
|
51
|
+
striped: Boolean,
|
|
52
|
+
roundedBar: Boolean,
|
|
53
|
+
...ce(),
|
|
54
|
+
...Q(),
|
|
55
|
+
...ee({
|
|
56
|
+
location: "top"
|
|
57
|
+
}),
|
|
58
|
+
...le(),
|
|
59
|
+
...ne(),
|
|
60
|
+
...se()
|
|
61
|
+
}, "VProgressLinear"), ze = me()({
|
|
62
|
+
name: "VProgressLinear",
|
|
63
|
+
props: ge(),
|
|
64
|
+
emits: {
|
|
65
|
+
"update:modelValue": (e) => !0
|
|
66
|
+
},
|
|
67
|
+
setup(e, p) {
|
|
68
|
+
let {
|
|
69
|
+
slots: y
|
|
70
|
+
} = p;
|
|
71
|
+
const v = G(), d = te(e, "modelValue"), {
|
|
72
|
+
isRtl: x,
|
|
73
|
+
rtlClasses: w
|
|
74
|
+
} = Z(), {
|
|
75
|
+
themeClasses: F
|
|
76
|
+
} = ie(e), {
|
|
77
|
+
locationStyles: N
|
|
78
|
+
} = ae(e), {
|
|
79
|
+
textColorClasses: T,
|
|
80
|
+
textColorStyles: O
|
|
81
|
+
} = K(() => e.color), {
|
|
82
|
+
backgroundColorClasses: z,
|
|
83
|
+
backgroundColorStyles: L
|
|
84
|
+
} = h(() => e.bgColor || e.color), {
|
|
85
|
+
backgroundColorClasses: M,
|
|
86
|
+
backgroundColorStyles: W
|
|
87
|
+
} = h(() => e.bufferColor || e.bgColor || e.color), {
|
|
88
|
+
backgroundColorClasses: k,
|
|
89
|
+
backgroundColorStyles: S
|
|
90
|
+
} = h(() => e.color), {
|
|
91
|
+
roundedClasses: E
|
|
92
|
+
} = oe(e), {
|
|
93
|
+
intersectionRef: m,
|
|
94
|
+
isIntersecting: I
|
|
95
|
+
} = Y(), i = t(() => parseFloat(e.max)), o = t(() => parseFloat(e.height)), u = t(() => R(parseFloat(e.bufferValue) / i.value * 100, 0, 100)), f = t(() => R(parseFloat(d.value) / i.value * 100, 0, 100)), c = t(() => x.value !== e.reverse), X = t(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), _ = H(0), {
|
|
96
|
+
hasChunks: g,
|
|
97
|
+
chunksMaskStyles: $,
|
|
98
|
+
snapValueToChunk: B
|
|
99
|
+
} = ve(e, _);
|
|
100
|
+
ue(g, () => {
|
|
101
|
+
const {
|
|
102
|
+
resizeRef: r
|
|
103
|
+
} = re((b) => _.value = b[0].contentRect.width);
|
|
104
|
+
V(() => r.value = v.value);
|
|
105
|
+
});
|
|
106
|
+
const U = t(() => g.value ? B(u.value) : u.value), j = t(() => g.value ? B(f.value) : f.value);
|
|
107
|
+
function q(r) {
|
|
108
|
+
if (!m.value)
|
|
109
|
+
return;
|
|
110
|
+
const {
|
|
111
|
+
left: b,
|
|
112
|
+
right: A,
|
|
113
|
+
width: C
|
|
114
|
+
} = m.value.getBoundingClientRect(), D = c.value ? C - r.clientX + (A - C) : r.clientX - b;
|
|
115
|
+
d.value = Math.round(D / C * i.value);
|
|
116
|
+
}
|
|
117
|
+
return V(() => {
|
|
118
|
+
m.value = v.value;
|
|
119
|
+
}), fe(() => P(e.tag, {
|
|
120
|
+
ref: v,
|
|
121
|
+
class: n(["v-progress-linear", {
|
|
122
|
+
"v-progress-linear--absolute": e.absolute,
|
|
123
|
+
"v-progress-linear--active": e.active && I.value,
|
|
124
|
+
"v-progress-linear--reverse": c.value,
|
|
125
|
+
"v-progress-linear--rounded": e.rounded,
|
|
126
|
+
"v-progress-linear--rounded-bar": e.roundedBar,
|
|
127
|
+
"v-progress-linear--striped": e.striped,
|
|
128
|
+
"v-progress-linear--clickable": e.clickable
|
|
129
|
+
}, E.value, F.value, w.value, e.class]),
|
|
130
|
+
style: s([{
|
|
131
|
+
bottom: e.location === "bottom" ? 0 : void 0,
|
|
132
|
+
top: e.location === "top" ? 0 : void 0,
|
|
133
|
+
height: e.active ? a(o.value) : 0,
|
|
134
|
+
"--v-progress-linear-height": a(o.value),
|
|
135
|
+
...e.absolute ? N.value : {}
|
|
136
|
+
}, $.value, e.style]),
|
|
137
|
+
role: "progressbar",
|
|
138
|
+
"aria-hidden": e.active ? "false" : "true",
|
|
139
|
+
"aria-valuemin": "0",
|
|
140
|
+
"aria-valuemax": e.max,
|
|
141
|
+
"aria-valuenow": e.indeterminate ? void 0 : Math.min(parseFloat(d.value), i.value),
|
|
142
|
+
onClick: e.clickable && q
|
|
143
|
+
}, {
|
|
144
|
+
default: () => [e.stream && l("div", {
|
|
145
|
+
key: "stream",
|
|
146
|
+
class: n(["v-progress-linear__stream", T.value]),
|
|
147
|
+
style: {
|
|
148
|
+
...O.value,
|
|
149
|
+
[c.value ? "left" : "right"]: a(-o.value),
|
|
150
|
+
borderTop: `${a(o.value / 2)} dotted`,
|
|
151
|
+
opacity: parseFloat(e.bufferOpacity),
|
|
152
|
+
top: `calc(50% - ${a(o.value / 4)})`,
|
|
153
|
+
width: a(100 - u.value, "%"),
|
|
154
|
+
"--v-progress-linear-stream-to": a(o.value * (c.value ? 1 : -1))
|
|
155
|
+
}
|
|
156
|
+
}, null), l("div", {
|
|
157
|
+
class: n(["v-progress-linear__background", z.value]),
|
|
158
|
+
style: s([L.value, {
|
|
159
|
+
opacity: parseFloat(e.bgOpacity),
|
|
160
|
+
width: e.stream ? 0 : void 0
|
|
161
|
+
}])
|
|
162
|
+
}, null), l("div", {
|
|
163
|
+
class: n(["v-progress-linear__buffer", M.value]),
|
|
164
|
+
style: s([W.value, {
|
|
165
|
+
opacity: parseFloat(e.bufferOpacity),
|
|
166
|
+
width: a(U.value, "%")
|
|
167
|
+
}])
|
|
168
|
+
}, null), P(J, {
|
|
169
|
+
name: X.value
|
|
170
|
+
}, {
|
|
171
|
+
default: () => [e.indeterminate ? l("div", {
|
|
172
|
+
class: "v-progress-linear__indeterminate"
|
|
173
|
+
}, [["long", "short"].map((r) => l("div", {
|
|
174
|
+
key: r,
|
|
175
|
+
class: n(["v-progress-linear__indeterminate", r, k.value]),
|
|
176
|
+
style: s(S.value)
|
|
177
|
+
}, null))]) : l("div", {
|
|
178
|
+
class: n(["v-progress-linear__determinate", k.value]),
|
|
179
|
+
style: s([S.value, {
|
|
180
|
+
width: a(j.value, "%")
|
|
181
|
+
}])
|
|
182
|
+
}, null)]
|
|
183
|
+
}), y.default && l("div", {
|
|
184
|
+
class: "v-progress-linear__content"
|
|
185
|
+
}, [y.default({
|
|
186
|
+
value: f.value,
|
|
187
|
+
buffer: u.value
|
|
188
|
+
})])]
|
|
189
|
+
})), {};
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
export {
|
|
193
|
+
ze as VProgressLinear,
|
|
194
|
+
ge as makeVProgressLinearProps
|
|
195
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { toRef as h, computed as k, toValue as l } from "vue";
|
|
2
|
+
import { propsFactory as p } from "../../util/propsFactory.mjs";
|
|
3
|
+
import { convertToUnit as s, clamp as v } from "../../util/helpers.mjs";
|
|
4
|
+
const g = p({
|
|
5
|
+
chunkCount: {
|
|
6
|
+
type: [Number, String],
|
|
7
|
+
default: null
|
|
8
|
+
},
|
|
9
|
+
chunkWidth: {
|
|
10
|
+
type: [Number, String],
|
|
11
|
+
default: null
|
|
12
|
+
},
|
|
13
|
+
chunkGap: {
|
|
14
|
+
type: [Number, String],
|
|
15
|
+
default: 4
|
|
16
|
+
}
|
|
17
|
+
}, "chunks");
|
|
18
|
+
function N(t, c) {
|
|
19
|
+
const r = h(() => !!t.chunkCount || !!t.chunkWidth), o = k(() => {
|
|
20
|
+
const e = l(c);
|
|
21
|
+
if (!e)
|
|
22
|
+
return 0;
|
|
23
|
+
if (!t.chunkCount)
|
|
24
|
+
return Number(t.chunkWidth);
|
|
25
|
+
const n = Number(t.chunkCount);
|
|
26
|
+
return (e - Number(t.chunkGap) * (n - 1)) / n;
|
|
27
|
+
}), u = h(() => Number(t.chunkGap)), m = k(() => {
|
|
28
|
+
if (!r.value)
|
|
29
|
+
return {};
|
|
30
|
+
const e = s(u.value), n = s(o.value);
|
|
31
|
+
return {
|
|
32
|
+
maskRepeat: "repeat-x",
|
|
33
|
+
maskImage: `linear-gradient(90deg, #000, #000 ${n}, transparent ${n}, transparent)`,
|
|
34
|
+
maskSize: `calc(${n} + ${e}) 100%`
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
function f(e) {
|
|
38
|
+
const n = l(c);
|
|
39
|
+
if (!n)
|
|
40
|
+
return e;
|
|
41
|
+
const a = 100 * u.value / n, i = 100 * (o.value + u.value) / n, d = Math.floor((e + a) / i);
|
|
42
|
+
return v(0, d * i - a / 2, 100);
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
hasChunks: r,
|
|
46
|
+
chunksMaskStyles: m,
|
|
47
|
+
snapValueToChunk: f
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
g as makeChunksProps,
|
|
52
|
+
N as useChunks
|
|
53
|
+
};
|