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,51 @@
|
|
|
1
|
+
import { toRef as r, createVNode as n, withDirectives as i, createElementVNode as m, normalizeClass as l, normalizeStyle as u, vShow as s } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VCounter.sass.mjs";
|
|
3
|
+
import { VSlideYTransition as c } from "../transitions/index.mjs";
|
|
4
|
+
import { makeComponentProps as v } from "../../composables/component.mjs";
|
|
5
|
+
import { makeTransitionProps as d, MaybeTransition as f } from "../../composables/transition.mjs";
|
|
6
|
+
import { propsFactory as x } from "../../util/propsFactory.mjs";
|
|
7
|
+
import { genericComponent as C } from "../../util/defineComponent.mjs";
|
|
8
|
+
import { useRender as V } from "../../util/useRender.mjs";
|
|
9
|
+
const y = x({
|
|
10
|
+
active: Boolean,
|
|
11
|
+
disabled: Boolean,
|
|
12
|
+
max: [Number, String],
|
|
13
|
+
value: {
|
|
14
|
+
type: [Number, String],
|
|
15
|
+
default: 0
|
|
16
|
+
},
|
|
17
|
+
...v(),
|
|
18
|
+
...d({
|
|
19
|
+
transition: {
|
|
20
|
+
component: c
|
|
21
|
+
}
|
|
22
|
+
})
|
|
23
|
+
}, "VCounter"), h = C()({
|
|
24
|
+
name: "VCounter",
|
|
25
|
+
functional: !0,
|
|
26
|
+
props: y(),
|
|
27
|
+
setup(e, o) {
|
|
28
|
+
let {
|
|
29
|
+
slots: t
|
|
30
|
+
} = o;
|
|
31
|
+
const a = r(() => e.max ? `${e.value} / ${e.max}` : String(e.value));
|
|
32
|
+
return V(() => n(f, {
|
|
33
|
+
transition: e.transition
|
|
34
|
+
}, {
|
|
35
|
+
default: () => [i(m("div", {
|
|
36
|
+
class: l(["v-counter", {
|
|
37
|
+
"text-error": e.max && !e.disabled && parseFloat(e.value) > parseFloat(e.max)
|
|
38
|
+
}, e.class]),
|
|
39
|
+
style: u(e.style)
|
|
40
|
+
}, [t.default ? t.default({
|
|
41
|
+
counter: a.value,
|
|
42
|
+
max: e.max,
|
|
43
|
+
value: e.value
|
|
44
|
+
}) : a.value]), [[s, e.active]])]
|
|
45
|
+
})), {};
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
export {
|
|
49
|
+
h as VCounter,
|
|
50
|
+
y as makeVCounterProps
|
|
51
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { provideDefaults as i } from "../../composables/defaults.mjs";
|
|
2
|
+
import { toRefs as l } from "vue";
|
|
3
|
+
import { genericComponent as n } from "../../util/defineComponent.mjs";
|
|
4
|
+
import { propsFactory as m } from "../../util/propsFactory.mjs";
|
|
5
|
+
const u = m({
|
|
6
|
+
defaults: Object,
|
|
7
|
+
disabled: Boolean,
|
|
8
|
+
reset: [Number, String],
|
|
9
|
+
root: [Boolean, String],
|
|
10
|
+
scoped: Boolean
|
|
11
|
+
}, "VDefaultsProvider"), b = n(!1)({
|
|
12
|
+
name: "VDefaultsProvider",
|
|
13
|
+
props: u(),
|
|
14
|
+
setup(r, t) {
|
|
15
|
+
let {
|
|
16
|
+
slots: e
|
|
17
|
+
} = t;
|
|
18
|
+
const {
|
|
19
|
+
defaults: s,
|
|
20
|
+
disabled: a,
|
|
21
|
+
reset: p,
|
|
22
|
+
root: d,
|
|
23
|
+
scoped: f
|
|
24
|
+
} = l(r);
|
|
25
|
+
return i(s, {
|
|
26
|
+
reset: p,
|
|
27
|
+
root: d,
|
|
28
|
+
scoped: f,
|
|
29
|
+
disabled: a
|
|
30
|
+
}), () => {
|
|
31
|
+
var o;
|
|
32
|
+
return (o = e.default) == null ? void 0 : o.call(e);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export {
|
|
37
|
+
b as VDefaultsProvider,
|
|
38
|
+
u as makeVDefaultsProviderProps
|
|
39
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { ref as x, watch as E, nextTick as p, mergeProps as c, createVNode as s } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VDialog.sass.mjs";
|
|
3
|
+
import { makeVOverlayProps as y, VOverlay as d } from "../VOverlay/VOverlay.mjs";
|
|
4
|
+
import { forwardRefs as D } from "../../composables/forwardRefs.mjs";
|
|
5
|
+
import { useProxiedModel as b } from "../../composables/proxiedModel.mjs";
|
|
6
|
+
import { useScopeId as w } from "../../composables/scopeId.mjs";
|
|
7
|
+
import { VDialogTransition as A } from "../transitions/dialog-transition.mjs";
|
|
8
|
+
import { VDefaultsProvider as F } from "../VDefaultsProvider/VDefaultsProvider.mjs";
|
|
9
|
+
import { propsFactory as I } from "../../util/propsFactory.mjs";
|
|
10
|
+
import { omit as L } from "../../util/helpers.mjs";
|
|
11
|
+
import { genericComponent as S } from "../../util/defineComponent.mjs";
|
|
12
|
+
import { useRender as B } from "../../util/useRender.mjs";
|
|
13
|
+
const H = I({
|
|
14
|
+
fullscreen: Boolean,
|
|
15
|
+
scrollable: Boolean,
|
|
16
|
+
...L(y({
|
|
17
|
+
captureFocus: !0,
|
|
18
|
+
origin: "center center",
|
|
19
|
+
scrollStrategy: "block",
|
|
20
|
+
transition: {
|
|
21
|
+
component: A
|
|
22
|
+
},
|
|
23
|
+
zIndex: 2400,
|
|
24
|
+
retainFocus: !0
|
|
25
|
+
}), ["disableInitialFocus"])
|
|
26
|
+
}, "VDialog"), G = S()({
|
|
27
|
+
name: "VDialog",
|
|
28
|
+
props: H(),
|
|
29
|
+
emits: {
|
|
30
|
+
"update:modelValue": (e) => !0,
|
|
31
|
+
afterEnter: () => !0,
|
|
32
|
+
afterLeave: () => !0
|
|
33
|
+
},
|
|
34
|
+
setup(e, v) {
|
|
35
|
+
let {
|
|
36
|
+
emit: u,
|
|
37
|
+
slots: r
|
|
38
|
+
} = v;
|
|
39
|
+
const i = b(e, "modelValue"), {
|
|
40
|
+
scopeId: g
|
|
41
|
+
} = w(), t = x();
|
|
42
|
+
function V() {
|
|
43
|
+
var o;
|
|
44
|
+
u("afterEnter"), (e.scrim || e.retainFocus) && ((o = t.value) != null && o.contentEl) && !t.value.contentEl.contains(document.activeElement) && t.value.contentEl.focus({
|
|
45
|
+
preventScroll: !0
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
function h() {
|
|
49
|
+
u("afterLeave");
|
|
50
|
+
}
|
|
51
|
+
return E(i, async (o) => {
|
|
52
|
+
var a;
|
|
53
|
+
o || (await p(), (a = t.value.activatorEl) == null || a.focus({
|
|
54
|
+
preventScroll: !0
|
|
55
|
+
}));
|
|
56
|
+
}), B(() => {
|
|
57
|
+
const o = d.filterProps(e), a = c({
|
|
58
|
+
"aria-haspopup": "dialog"
|
|
59
|
+
}, e.activatorProps), P = c({
|
|
60
|
+
tabindex: -1
|
|
61
|
+
}, e.contentProps);
|
|
62
|
+
return s(d, c({
|
|
63
|
+
ref: t,
|
|
64
|
+
class: ["v-dialog", {
|
|
65
|
+
"v-dialog--fullscreen": e.fullscreen,
|
|
66
|
+
"v-dialog--scrollable": e.scrollable
|
|
67
|
+
}, e.class],
|
|
68
|
+
style: e.style
|
|
69
|
+
}, o, {
|
|
70
|
+
modelValue: i.value,
|
|
71
|
+
"onUpdate:modelValue": (n) => i.value = n,
|
|
72
|
+
"aria-modal": "true",
|
|
73
|
+
activatorProps: a,
|
|
74
|
+
contentProps: P,
|
|
75
|
+
height: e.fullscreen ? void 0 : e.height,
|
|
76
|
+
width: e.fullscreen ? void 0 : e.width,
|
|
77
|
+
maxHeight: e.fullscreen ? void 0 : e.maxHeight,
|
|
78
|
+
maxWidth: e.fullscreen ? void 0 : e.maxWidth,
|
|
79
|
+
role: "dialog",
|
|
80
|
+
onAfterEnter: V,
|
|
81
|
+
onAfterLeave: h
|
|
82
|
+
}, g), {
|
|
83
|
+
activator: r.activator,
|
|
84
|
+
default: function() {
|
|
85
|
+
for (var n = arguments.length, f = new Array(n), l = 0; l < n; l++)
|
|
86
|
+
f[l] = arguments[l];
|
|
87
|
+
return s(F, {
|
|
88
|
+
root: "VDialog"
|
|
89
|
+
}, {
|
|
90
|
+
default: () => {
|
|
91
|
+
var m;
|
|
92
|
+
return [(m = r.default) == null ? void 0 : m.call(r, ...f)];
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}), D({}, t);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
export {
|
|
101
|
+
G as VDialog,
|
|
102
|
+
H as makeVDialogProps
|
|
103
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { computed as g, toRef as h, createElementVNode as a, normalizeClass as l, normalizeStyle as d } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VDivider.sass.mjs";
|
|
3
|
+
import { useTextColor as y } from "../../composables/color.mjs";
|
|
4
|
+
import { makeComponentProps as S } from "../../composables/component.mjs";
|
|
5
|
+
import { makeThemeProps as _, provideTheme as b } from "../../composables/theme.mjs";
|
|
6
|
+
import { propsFactory as C } from "../../util/propsFactory.mjs";
|
|
7
|
+
import { genericComponent as k } from "../../util/defineComponent.mjs";
|
|
8
|
+
import { convertToUnit as r } from "../../util/helpers.mjs";
|
|
9
|
+
import { useRender as w } from "../../util/useRender.mjs";
|
|
10
|
+
const O = ["dotted", "dashed", "solid", "double"], V = C({
|
|
11
|
+
color: String,
|
|
12
|
+
contentOffset: [Number, String, Array],
|
|
13
|
+
gradient: Boolean,
|
|
14
|
+
inset: Boolean,
|
|
15
|
+
length: [Number, String],
|
|
16
|
+
opacity: [Number, String],
|
|
17
|
+
thickness: [Number, String],
|
|
18
|
+
vertical: Boolean,
|
|
19
|
+
variant: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "solid",
|
|
22
|
+
validator: (e) => O.includes(e)
|
|
23
|
+
},
|
|
24
|
+
...S(),
|
|
25
|
+
..._()
|
|
26
|
+
}, "VDivider"), $ = k()({
|
|
27
|
+
name: "VDivider",
|
|
28
|
+
props: V(),
|
|
29
|
+
setup(e, c) {
|
|
30
|
+
let {
|
|
31
|
+
attrs: i,
|
|
32
|
+
slots: n
|
|
33
|
+
} = c;
|
|
34
|
+
const {
|
|
35
|
+
themeClasses: s
|
|
36
|
+
} = b(e), {
|
|
37
|
+
textColorClasses: v,
|
|
38
|
+
textColorStyles: m
|
|
39
|
+
} = y(() => e.color), f = g(() => {
|
|
40
|
+
const t = {};
|
|
41
|
+
return e.length && (t[e.vertical ? "height" : "width"] = r(e.length)), e.thickness && (t[e.vertical ? "borderRightWidth" : "borderTopWidth"] = r(e.thickness)), t;
|
|
42
|
+
}), u = h(() => {
|
|
43
|
+
const t = Array.isArray(e.contentOffset) ? e.contentOffset[0] : e.contentOffset, o = Array.isArray(e.contentOffset) ? e.contentOffset[1] : 0;
|
|
44
|
+
return {
|
|
45
|
+
marginBlock: e.vertical && t ? r(t) : void 0,
|
|
46
|
+
marginInline: !e.vertical && t ? r(t) : void 0,
|
|
47
|
+
transform: o ? `translate${e.vertical ? "X" : "Y"}(${r(o)})` : void 0
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
return w(() => {
|
|
51
|
+
const t = a("hr", {
|
|
52
|
+
class: l([{
|
|
53
|
+
"v-divider": !0,
|
|
54
|
+
"v-divider--gradient": e.gradient && !n.default,
|
|
55
|
+
"v-divider--inset": e.inset,
|
|
56
|
+
"v-divider--vertical": e.vertical
|
|
57
|
+
}, s.value, v.value, e.class]),
|
|
58
|
+
style: d([f.value, m.value, {
|
|
59
|
+
"--v-border-opacity": e.opacity
|
|
60
|
+
}, {
|
|
61
|
+
"border-style": e.variant
|
|
62
|
+
}, e.style]),
|
|
63
|
+
"aria-orientation": !i.role || i.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
|
|
64
|
+
role: `${i.role || "separator"}`
|
|
65
|
+
}, null);
|
|
66
|
+
return n.default ? a("div", {
|
|
67
|
+
class: l(["v-divider__wrapper", {
|
|
68
|
+
"v-divider__wrapper--gradient": e.gradient,
|
|
69
|
+
"v-divider__wrapper--inset": e.inset,
|
|
70
|
+
"v-divider__wrapper--vertical": e.vertical
|
|
71
|
+
}])
|
|
72
|
+
}, [t, a("div", {
|
|
73
|
+
class: "v-divider__content",
|
|
74
|
+
style: d(u.value)
|
|
75
|
+
}, [n.default()]), t]) : t;
|
|
76
|
+
}), {};
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
export {
|
|
80
|
+
$ as VDivider,
|
|
81
|
+
V as makeVDividerProps
|
|
82
|
+
};
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { toRef as c, useId as ne, computed as m, ref as F, watch as ae, createElementVNode as a, mergeProps as g, createVNode as o, withDirectives as te, vShow as oe, normalizeClass as ie, normalizeStyle as re, Fragment as de } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VField.sass.mjs";
|
|
3
|
+
import { VFieldLabel as p } from "./VFieldLabel.mjs";
|
|
4
|
+
import { VExpandXTransition as se } from "../transitions/index.mjs";
|
|
5
|
+
import { useInputIcon as ue } from "../VInput/InputIcon.mjs";
|
|
6
|
+
import { useBackgroundColor as ce, useTextColor as ve } from "../../composables/color.mjs";
|
|
7
|
+
import { makeComponentProps as fe } from "../../composables/component.mjs";
|
|
8
|
+
import { makeFocusProps as me, useFocus as ge } from "../../composables/focus.mjs";
|
|
9
|
+
import { IconValue as S } from "../../composables/icons.mjs";
|
|
10
|
+
import { makeLoaderProps as be, useLoader as ye, LoaderSlot as Ce } from "../../composables/loader.mjs";
|
|
11
|
+
import { useRtl as he } from "../../composables/locale.mjs";
|
|
12
|
+
import { makeRoundedProps as Ie, useRounded as _e } from "../../composables/rounded.mjs";
|
|
13
|
+
import { makeThemeProps as pe, provideTheme as ke } from "../../composables/theme.mjs";
|
|
14
|
+
import { VDefaultsProvider as Pe } from "../VDefaultsProvider/VDefaultsProvider.mjs";
|
|
15
|
+
import { propsFactory as Be } from "../../util/propsFactory.mjs";
|
|
16
|
+
import { EventProp as x, convertToUnit as Fe } from "../../util/helpers.mjs";
|
|
17
|
+
import { genericComponent as Se } from "../../util/defineComponent.mjs";
|
|
18
|
+
import { PREFERS_REDUCED_MOTION as xe } from "../../util/globals.mjs";
|
|
19
|
+
import { nullifyTransforms as Ve, animate as Re } from "../../util/animation.mjs";
|
|
20
|
+
import { standardEasing as we } from "../../util/easing.mjs";
|
|
21
|
+
import { useRender as Le } from "../../util/useRender.mjs";
|
|
22
|
+
const Ee = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], $e = Be({
|
|
23
|
+
appendInnerIcon: S,
|
|
24
|
+
bgColor: String,
|
|
25
|
+
clearable: Boolean,
|
|
26
|
+
clearIcon: {
|
|
27
|
+
type: S,
|
|
28
|
+
default: "$clear"
|
|
29
|
+
},
|
|
30
|
+
active: Boolean,
|
|
31
|
+
centerAffix: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: void 0
|
|
34
|
+
},
|
|
35
|
+
color: String,
|
|
36
|
+
baseColor: String,
|
|
37
|
+
dirty: Boolean,
|
|
38
|
+
disabled: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: null
|
|
41
|
+
},
|
|
42
|
+
glow: Boolean,
|
|
43
|
+
error: Boolean,
|
|
44
|
+
flat: Boolean,
|
|
45
|
+
iconColor: [Boolean, String],
|
|
46
|
+
label: String,
|
|
47
|
+
persistentClear: Boolean,
|
|
48
|
+
prependInnerIcon: S,
|
|
49
|
+
reverse: Boolean,
|
|
50
|
+
singleLine: Boolean,
|
|
51
|
+
variant: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: "filled",
|
|
54
|
+
validator: (e) => Ee.includes(e)
|
|
55
|
+
},
|
|
56
|
+
"onClick:clear": x(),
|
|
57
|
+
"onClick:appendInner": x(),
|
|
58
|
+
"onClick:prependInner": x(),
|
|
59
|
+
...fe(),
|
|
60
|
+
...be(),
|
|
61
|
+
...Ie(),
|
|
62
|
+
...pe()
|
|
63
|
+
}, "VField"), al = Se()({
|
|
64
|
+
name: "VField",
|
|
65
|
+
inheritAttrs: !1,
|
|
66
|
+
props: {
|
|
67
|
+
id: String,
|
|
68
|
+
details: Boolean,
|
|
69
|
+
labelId: String,
|
|
70
|
+
...me(),
|
|
71
|
+
...$e()
|
|
72
|
+
},
|
|
73
|
+
emits: {
|
|
74
|
+
"update:focused": (e) => !0,
|
|
75
|
+
"update:modelValue": (e) => !0
|
|
76
|
+
},
|
|
77
|
+
setup(e, M) {
|
|
78
|
+
let {
|
|
79
|
+
attrs: N,
|
|
80
|
+
emit: De,
|
|
81
|
+
slots: l
|
|
82
|
+
} = M;
|
|
83
|
+
const {
|
|
84
|
+
themeClasses: U
|
|
85
|
+
} = ke(e), {
|
|
86
|
+
loaderClasses: z
|
|
87
|
+
} = ye(e), {
|
|
88
|
+
focusClasses: H,
|
|
89
|
+
isFocused: k,
|
|
90
|
+
focus: b,
|
|
91
|
+
blur: y
|
|
92
|
+
} = ge(e), {
|
|
93
|
+
InputIcon: P
|
|
94
|
+
} = ue(e), {
|
|
95
|
+
roundedClasses: W
|
|
96
|
+
} = _e(e), {
|
|
97
|
+
rtlClasses: q
|
|
98
|
+
} = he(), s = c(() => e.dirty || e.active), V = c(() => !!(e.label || l.label)), v = c(() => !e.singleLine && V.value), X = ne(), u = m(() => e.id || `input-${X}`), R = c(() => e.details ? `${u.value}-messages` : void 0), w = F(), C = F(), L = F(), E = m(() => ["plain", "underlined"].includes(e.variant)), $ = m(() => e.error || e.disabled ? void 0 : s.value && k.value ? e.color : e.baseColor), h = m(() => {
|
|
99
|
+
if (!(!e.iconColor || e.glow && !k.value))
|
|
100
|
+
return e.iconColor === !0 ? $.value : e.iconColor;
|
|
101
|
+
}), {
|
|
102
|
+
backgroundColorClasses: j,
|
|
103
|
+
backgroundColorStyles: G
|
|
104
|
+
} = ce(() => e.bgColor), {
|
|
105
|
+
textColorClasses: D,
|
|
106
|
+
textColorStyles: T
|
|
107
|
+
} = ve($);
|
|
108
|
+
ae(s, (n) => {
|
|
109
|
+
if (v.value && !xe()) {
|
|
110
|
+
const i = w.value.$el, r = C.value.$el;
|
|
111
|
+
requestAnimationFrame(() => {
|
|
112
|
+
const d = Ve(i), t = r.getBoundingClientRect(), I = t.x - d.x, _ = t.y - d.y - (d.height / 2 - t.height / 2), A = t.width / 0.75, Q = Math.abs(A - d.width) > 1 ? {
|
|
113
|
+
maxWidth: Fe(A)
|
|
114
|
+
} : void 0, Y = getComputedStyle(i), O = getComputedStyle(r), Z = parseFloat(Y.transitionDuration) * 1e3 || 150, ee = parseFloat(O.getPropertyValue("--v-field-label-scale")), le = O.getPropertyValue("color");
|
|
115
|
+
i.style.visibility = "visible", r.style.visibility = "hidden", Re(i, {
|
|
116
|
+
transform: `translate(${I}px, ${_}px) scale(${ee})`,
|
|
117
|
+
color: le,
|
|
118
|
+
...Q
|
|
119
|
+
}, {
|
|
120
|
+
duration: Z,
|
|
121
|
+
easing: we,
|
|
122
|
+
direction: n ? "normal" : "reverse"
|
|
123
|
+
}).finished.then(() => {
|
|
124
|
+
i.style.removeProperty("visibility"), r.style.removeProperty("visibility");
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
}, {
|
|
129
|
+
flush: "post"
|
|
130
|
+
});
|
|
131
|
+
const f = m(() => ({
|
|
132
|
+
isActive: s,
|
|
133
|
+
isFocused: k,
|
|
134
|
+
controlRef: L,
|
|
135
|
+
iconColor: h,
|
|
136
|
+
blur: y,
|
|
137
|
+
focus: b
|
|
138
|
+
})), B = c(() => {
|
|
139
|
+
const n = !s.value;
|
|
140
|
+
return {
|
|
141
|
+
"aria-hidden": n,
|
|
142
|
+
for: n ? void 0 : u.value
|
|
143
|
+
};
|
|
144
|
+
}), J = c(() => {
|
|
145
|
+
const n = v.value && s.value;
|
|
146
|
+
return {
|
|
147
|
+
"aria-hidden": n,
|
|
148
|
+
for: n ? void 0 : u.value
|
|
149
|
+
};
|
|
150
|
+
});
|
|
151
|
+
function K(n) {
|
|
152
|
+
n.target !== document.activeElement && n.preventDefault();
|
|
153
|
+
}
|
|
154
|
+
return Le(() => {
|
|
155
|
+
var I;
|
|
156
|
+
const n = e.variant === "outlined", i = !!(l["prepend-inner"] || e.prependInnerIcon), r = !!(e.clearable || l.clear) && !e.disabled, d = !!(l["append-inner"] || e.appendInnerIcon || r), t = () => l.label ? l.label({
|
|
157
|
+
...f.value,
|
|
158
|
+
label: e.label,
|
|
159
|
+
props: {
|
|
160
|
+
for: u.value
|
|
161
|
+
}
|
|
162
|
+
}) : e.label;
|
|
163
|
+
return a("div", g({
|
|
164
|
+
class: ["v-field", {
|
|
165
|
+
"v-field--active": s.value,
|
|
166
|
+
"v-field--appended": d,
|
|
167
|
+
"v-field--center-affix": e.centerAffix ?? !E.value,
|
|
168
|
+
"v-field--disabled": e.disabled,
|
|
169
|
+
"v-field--dirty": e.dirty,
|
|
170
|
+
"v-field--error": e.error,
|
|
171
|
+
"v-field--glow": e.glow,
|
|
172
|
+
"v-field--flat": e.flat,
|
|
173
|
+
"v-field--has-background": !!e.bgColor,
|
|
174
|
+
"v-field--persistent-clear": e.persistentClear,
|
|
175
|
+
"v-field--prepended": i,
|
|
176
|
+
"v-field--reverse": e.reverse,
|
|
177
|
+
"v-field--single-line": e.singleLine,
|
|
178
|
+
"v-field--no-label": !t(),
|
|
179
|
+
[`v-field--variant-${e.variant}`]: !0
|
|
180
|
+
}, U.value, j.value, H.value, z.value, W.value, q.value, e.class],
|
|
181
|
+
style: [G.value, e.style],
|
|
182
|
+
onClick: K
|
|
183
|
+
}, N), [a("div", {
|
|
184
|
+
class: "v-field__overlay"
|
|
185
|
+
}, null), o(Ce, {
|
|
186
|
+
name: "v-field",
|
|
187
|
+
active: !!e.loading,
|
|
188
|
+
color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color
|
|
189
|
+
}, {
|
|
190
|
+
default: l.loader
|
|
191
|
+
}), i && a("div", {
|
|
192
|
+
key: "prepend",
|
|
193
|
+
class: "v-field__prepend-inner"
|
|
194
|
+
}, [l["prepend-inner"] ? l["prepend-inner"](f.value) : e.prependInnerIcon && o(P, {
|
|
195
|
+
key: "prepend-icon",
|
|
196
|
+
name: "prependInner",
|
|
197
|
+
color: h.value
|
|
198
|
+
}, null)]), a("div", {
|
|
199
|
+
class: "v-field__field",
|
|
200
|
+
"data-no-activator": ""
|
|
201
|
+
}, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && v.value && o(p, g({
|
|
202
|
+
key: "floating-label",
|
|
203
|
+
ref: C,
|
|
204
|
+
class: [D.value],
|
|
205
|
+
floating: !0
|
|
206
|
+
}, B.value, {
|
|
207
|
+
style: T.value
|
|
208
|
+
}), {
|
|
209
|
+
default: () => [t()]
|
|
210
|
+
}), V.value && o(p, g({
|
|
211
|
+
key: "label",
|
|
212
|
+
ref: w,
|
|
213
|
+
id: e.labelId
|
|
214
|
+
}, J.value), {
|
|
215
|
+
default: () => [t()]
|
|
216
|
+
}), ((I = l.default) == null ? void 0 : I.call(l, {
|
|
217
|
+
...f.value,
|
|
218
|
+
props: {
|
|
219
|
+
id: u.value,
|
|
220
|
+
class: "v-field__input",
|
|
221
|
+
"aria-describedby": R.value
|
|
222
|
+
},
|
|
223
|
+
focus: b,
|
|
224
|
+
blur: y
|
|
225
|
+
})) ?? a("div", {
|
|
226
|
+
id: u.value,
|
|
227
|
+
class: "v-field__input",
|
|
228
|
+
"aria-describedby": R.value
|
|
229
|
+
}, null)]), r && o(se, {
|
|
230
|
+
key: "clear"
|
|
231
|
+
}, {
|
|
232
|
+
default: () => [te(a("div", {
|
|
233
|
+
class: "v-field__clearable",
|
|
234
|
+
onMousedown: (_) => {
|
|
235
|
+
_.preventDefault(), _.stopPropagation();
|
|
236
|
+
}
|
|
237
|
+
}, [o(Pe, {
|
|
238
|
+
defaults: {
|
|
239
|
+
VIcon: {
|
|
240
|
+
icon: e.clearIcon
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}, {
|
|
244
|
+
default: () => [l.clear ? l.clear({
|
|
245
|
+
...f.value,
|
|
246
|
+
props: {
|
|
247
|
+
onFocus: b,
|
|
248
|
+
onBlur: y,
|
|
249
|
+
onClick: e["onClick:clear"],
|
|
250
|
+
tabindex: -1
|
|
251
|
+
}
|
|
252
|
+
}) : o(P, {
|
|
253
|
+
name: "clear",
|
|
254
|
+
onFocus: b,
|
|
255
|
+
onBlur: y,
|
|
256
|
+
tabindex: -1
|
|
257
|
+
}, null)]
|
|
258
|
+
})]), [[oe, e.dirty]])]
|
|
259
|
+
}), d && a("div", {
|
|
260
|
+
key: "append",
|
|
261
|
+
class: "v-field__append-inner"
|
|
262
|
+
}, [l["append-inner"] ? l["append-inner"](f.value) : e.appendInnerIcon && o(P, {
|
|
263
|
+
key: "append-icon",
|
|
264
|
+
name: "appendInner",
|
|
265
|
+
color: h.value
|
|
266
|
+
}, null)]), a("div", {
|
|
267
|
+
class: ie(["v-field__outline", D.value]),
|
|
268
|
+
style: re(T.value)
|
|
269
|
+
}, [n && a(de, null, [a("div", {
|
|
270
|
+
class: "v-field__outline__start"
|
|
271
|
+
}, null), v.value && a("div", {
|
|
272
|
+
class: "v-field__outline__notch"
|
|
273
|
+
}, [o(p, g({
|
|
274
|
+
ref: C,
|
|
275
|
+
floating: !0
|
|
276
|
+
}, B.value), {
|
|
277
|
+
default: () => [t()]
|
|
278
|
+
})]), a("div", {
|
|
279
|
+
class: "v-field__outline__end"
|
|
280
|
+
}, null)]), E.value && v.value && o(p, g({
|
|
281
|
+
ref: C,
|
|
282
|
+
floating: !0
|
|
283
|
+
}, B.value), {
|
|
284
|
+
default: () => [t()]
|
|
285
|
+
})])]);
|
|
286
|
+
}), {
|
|
287
|
+
controlRef: L,
|
|
288
|
+
fieldIconColor: h
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
export {
|
|
293
|
+
al as VField,
|
|
294
|
+
$e as makeVFieldProps
|
|
295
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { createVNode as r, normalizeClass as t, normalizeStyle as a } from "vue";
|
|
2
|
+
import { makeComponentProps as m } from "../../composables/component.mjs";
|
|
3
|
+
import { VLabel as i } from "../VLabel/VLabel.mjs";
|
|
4
|
+
import { propsFactory as n } from "../../util/propsFactory.mjs";
|
|
5
|
+
import { genericComponent as s } from "../../util/defineComponent.mjs";
|
|
6
|
+
import { useRender as p } from "../../util/useRender.mjs";
|
|
7
|
+
const f = n({
|
|
8
|
+
floating: Boolean,
|
|
9
|
+
...m()
|
|
10
|
+
}, "VFieldLabel"), g = s()({
|
|
11
|
+
name: "VFieldLabel",
|
|
12
|
+
props: f(),
|
|
13
|
+
setup(e, o) {
|
|
14
|
+
let {
|
|
15
|
+
slots: l
|
|
16
|
+
} = o;
|
|
17
|
+
return p(() => r(i, {
|
|
18
|
+
class: t(["v-field-label", {
|
|
19
|
+
"v-field-label--floating": e.floating
|
|
20
|
+
}, e.class]),
|
|
21
|
+
style: a(e.style)
|
|
22
|
+
}, l)), {};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
g as VFieldLabel,
|
|
27
|
+
f as makeVFieldLabelProps
|
|
28
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ref as d, createElementVNode as v, normalizeClass as b, normalizeStyle as y } from "vue";
|
|
2
|
+
import { makeComponentProps as F } from "../../composables/component.mjs";
|
|
3
|
+
import { makeFormProps as V, createForm as h } from "../../composables/form.mjs";
|
|
4
|
+
import { forwardRefs as R } from "../../composables/forwardRefs.mjs";
|
|
5
|
+
import { propsFactory as P } from "../../util/propsFactory.mjs";
|
|
6
|
+
import { genericComponent as k } from "../../util/defineComponent.mjs";
|
|
7
|
+
import { useRender as C } from "../../util/useRender.mjs";
|
|
8
|
+
const S = P({
|
|
9
|
+
...F(),
|
|
10
|
+
...V()
|
|
11
|
+
}, "VForm"), j = k()({
|
|
12
|
+
name: "VForm",
|
|
13
|
+
props: S(),
|
|
14
|
+
emits: {
|
|
15
|
+
"update:modelValue": (r) => !0,
|
|
16
|
+
submit: (r) => !0
|
|
17
|
+
},
|
|
18
|
+
setup(r, f) {
|
|
19
|
+
let {
|
|
20
|
+
slots: n,
|
|
21
|
+
emit: l
|
|
22
|
+
} = f;
|
|
23
|
+
const m = h(r), a = d();
|
|
24
|
+
function s(t) {
|
|
25
|
+
t.preventDefault(), m.reset();
|
|
26
|
+
}
|
|
27
|
+
function u(t) {
|
|
28
|
+
const o = t, e = m.validate();
|
|
29
|
+
o.then = e.then.bind(e), o.catch = e.catch.bind(e), o.finally = e.finally.bind(e), l("submit", o), o.defaultPrevented || e.then((c) => {
|
|
30
|
+
var i;
|
|
31
|
+
let {
|
|
32
|
+
valid: p
|
|
33
|
+
} = c;
|
|
34
|
+
p && ((i = a.value) == null || i.submit());
|
|
35
|
+
}), o.preventDefault();
|
|
36
|
+
}
|
|
37
|
+
return C(() => {
|
|
38
|
+
var t;
|
|
39
|
+
return v("form", {
|
|
40
|
+
ref: a,
|
|
41
|
+
class: b(["v-form", r.class]),
|
|
42
|
+
style: y(r.style),
|
|
43
|
+
novalidate: !0,
|
|
44
|
+
onReset: s,
|
|
45
|
+
onSubmit: u
|
|
46
|
+
}, [(t = n.default) == null ? void 0 : t.call(n, m)]);
|
|
47
|
+
}), R(m, a);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
export {
|
|
51
|
+
j as VForm,
|
|
52
|
+
S as makeVFormProps
|
|
53
|
+
};
|