bt-core-app 2.2.4 → 2.2.6
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 +23 -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 +226 -211
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +30 -28
- package/dist/components/BT-Blade-Item.vue.mjs +111 -102
- package/dist/components/BT-Blade-Items.vue.mjs +2 -2
- package/dist/components/BT-Blade-Items.vue2.mjs +413 -402
- package/dist/components/BT-Blade-Steps.vue.mjs +1 -1
- package/dist/components/BT-Blade-Steps.vue2.mjs +597 -583
- package/dist/components/BT-Blade.vue.mjs +108 -97
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +72 -68
- 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 +249 -235
- 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 +107 -97
- package/dist/components/BT-Divider.vue.mjs +20 -21
- package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
- package/dist/components/BT-Drag-Counter.vue2.mjs +58 -56
- package/dist/components/BT-Entity.vue.mjs +50 -48
- package/dist/components/BT-Error.vue.mjs +16 -15
- 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 +342 -322
- package/dist/components/BT-Form-Field.vue.mjs +81 -75
- package/dist/components/BT-Form.vue.mjs +263 -253
- package/dist/components/BT-Header-Option.vue.mjs +10 -9
- 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 +2 -2
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +71 -66
- package/dist/components/BT-Select-List-Box.vue.mjs +157 -144
- 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 +63 -60
- package/dist/components/BT-Signature.vue.mjs +66 -64
- package/dist/components/BT-Slider.vue.mjs +69 -61
- package/dist/components/BT-Square-Check.vue.mjs +24 -22
- 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 +1 -1
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { computed as x, ref as h, createVNode as p, mergeProps as b, createElementVNode as o, Fragment as C, withDirectives as te, normalizeClass as le, cloneVNode as ne, nextTick as P } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VTextField.sass.mjs";
|
|
3
|
+
import { VCounter as oe } from "../VCounter/VCounter.mjs";
|
|
4
|
+
import { makeVFieldProps as ue, VField as T } from "../VField/VField.mjs";
|
|
5
|
+
import { makeVInputProps as ie, VInput as B } from "../VInput/VInput.mjs";
|
|
6
|
+
import { makeAutocompleteProps as ae, useAutocomplete as re } from "../../composables/autocomplete.mjs";
|
|
7
|
+
import { useAutofocus as ce } from "../../composables/autofocus.mjs";
|
|
8
|
+
import { useFocus as se } from "../../composables/focus.mjs";
|
|
9
|
+
import { forwardRefs as de } from "../../composables/forwardRefs.mjs";
|
|
10
|
+
import { useProxiedModel as fe } from "../../composables/proxiedModel.mjs";
|
|
11
|
+
import E from "../../directives/intersect/index.mjs";
|
|
12
|
+
import { propsFactory as me } from "../../util/propsFactory.mjs";
|
|
13
|
+
import { omit as M, filterInputAttrs as ve, callEvent as xe } from "../../util/helpers.mjs";
|
|
14
|
+
import { genericComponent as Ve } from "../../util/defineComponent.mjs";
|
|
15
|
+
import { useRender as ge } from "../../util/useRender.mjs";
|
|
16
|
+
const ye = ["color", "file", "time", "date", "datetime-local", "week", "month"], he = me({
|
|
17
|
+
autofocus: Boolean,
|
|
18
|
+
counter: [Boolean, Number, String],
|
|
19
|
+
counterValue: [Number, Function],
|
|
20
|
+
prefix: String,
|
|
21
|
+
placeholder: String,
|
|
22
|
+
persistentPlaceholder: Boolean,
|
|
23
|
+
persistentCounter: Boolean,
|
|
24
|
+
suffix: String,
|
|
25
|
+
role: String,
|
|
26
|
+
type: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: "text"
|
|
29
|
+
},
|
|
30
|
+
modelModifiers: Object,
|
|
31
|
+
...ae(),
|
|
32
|
+
...M(ie(), ["direction"]),
|
|
33
|
+
...ue()
|
|
34
|
+
}, "VTextField"), Be = Ve()({
|
|
35
|
+
name: "VTextField",
|
|
36
|
+
directives: {
|
|
37
|
+
vIntersect: E
|
|
38
|
+
},
|
|
39
|
+
inheritAttrs: !1,
|
|
40
|
+
props: he(),
|
|
41
|
+
emits: {
|
|
42
|
+
"click:control": (e) => !0,
|
|
43
|
+
"mousedown:control": (e) => !0,
|
|
44
|
+
"update:focused": (e) => !0,
|
|
45
|
+
"update:modelValue": (e) => !0
|
|
46
|
+
},
|
|
47
|
+
setup(e, O) {
|
|
48
|
+
let {
|
|
49
|
+
attrs: V,
|
|
50
|
+
emit: F,
|
|
51
|
+
slots: n
|
|
52
|
+
} = O;
|
|
53
|
+
const u = fe(e, "modelValue", void 0, (t) => Object.is(t, -0) ? "-0" : t), {
|
|
54
|
+
isFocused: a,
|
|
55
|
+
focus: k,
|
|
56
|
+
blur: j
|
|
57
|
+
} = se(e), {
|
|
58
|
+
onIntersect: z
|
|
59
|
+
} = ce(e), U = x(() => typeof e.counterValue == "function" ? e.counterValue(u.value) : typeof e.counterValue == "number" ? e.counterValue : (u.value ?? "").toString().length), $ = x(() => {
|
|
60
|
+
if (V.maxlength)
|
|
61
|
+
return V.maxlength;
|
|
62
|
+
if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
|
|
63
|
+
return e.counter;
|
|
64
|
+
}), _ = x(() => ["plain", "underlined"].includes(e.variant)), S = h(), A = h(), r = h(), f = re(e), q = x(() => ye.includes(e.type) || e.persistentPlaceholder || a.value || e.active);
|
|
65
|
+
function I() {
|
|
66
|
+
f.isSuppressing.value && f.update(), a.value || k(), P(() => {
|
|
67
|
+
var t;
|
|
68
|
+
r.value !== document.activeElement && ((t = r.value) == null || t.focus());
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function G(t) {
|
|
72
|
+
F("mousedown:control", t), t.target !== r.value && (I(), t.preventDefault());
|
|
73
|
+
}
|
|
74
|
+
function H(t) {
|
|
75
|
+
F("click:control", t);
|
|
76
|
+
}
|
|
77
|
+
function J(t, l) {
|
|
78
|
+
t.stopPropagation(), I(), P(() => {
|
|
79
|
+
l(), xe(e["onClick:clear"], t);
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
function K(t) {
|
|
83
|
+
var v;
|
|
84
|
+
const l = t.target;
|
|
85
|
+
if (!((v = e.modelModifiers) != null && v.trim && ["text", "search", "password", "tel", "url"].includes(e.type))) {
|
|
86
|
+
u.value = l.value;
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
const c = l.value, m = l.selectionStart, g = l.selectionEnd;
|
|
90
|
+
u.value = c, P(() => {
|
|
91
|
+
let s = 0;
|
|
92
|
+
c.trimStart().length === l.value.length && (s = c.length - l.value.length), m != null && (l.selectionStart = m - s), g != null && (l.selectionEnd = g - s);
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
return ge(() => {
|
|
96
|
+
const t = !!(n.counter || e.counter !== !1 && e.counter != null), l = !!(t || n.details), [c, m] = ve(V), {
|
|
97
|
+
modelValue: g,
|
|
98
|
+
...v
|
|
99
|
+
} = B.filterProps(e), s = T.filterProps(e);
|
|
100
|
+
return p(B, b({
|
|
101
|
+
ref: S,
|
|
102
|
+
modelValue: u.value,
|
|
103
|
+
"onUpdate:modelValue": (d) => u.value = d,
|
|
104
|
+
class: ["v-text-field", {
|
|
105
|
+
"v-text-field--prefixed": e.prefix,
|
|
106
|
+
"v-text-field--suffixed": e.suffix,
|
|
107
|
+
"v-input--plain-underlined": _.value
|
|
108
|
+
}, e.class],
|
|
109
|
+
style: e.style
|
|
110
|
+
}, c, v, {
|
|
111
|
+
centerAffix: !_.value,
|
|
112
|
+
focused: a.value
|
|
113
|
+
}), {
|
|
114
|
+
...n,
|
|
115
|
+
default: (d) => {
|
|
116
|
+
let {
|
|
117
|
+
id: i,
|
|
118
|
+
isDisabled: w,
|
|
119
|
+
isDirty: N,
|
|
120
|
+
isReadonly: L,
|
|
121
|
+
isValid: Q,
|
|
122
|
+
hasDetails: W,
|
|
123
|
+
reset: X
|
|
124
|
+
} = d;
|
|
125
|
+
return p(T, b({
|
|
126
|
+
ref: A,
|
|
127
|
+
onMousedown: G,
|
|
128
|
+
onClick: H,
|
|
129
|
+
"onClick:clear": (y) => J(y, X),
|
|
130
|
+
role: e.role
|
|
131
|
+
}, M(s, ["onClick:clear"]), {
|
|
132
|
+
id: i.value,
|
|
133
|
+
labelId: `${i.value}-label`,
|
|
134
|
+
active: q.value || N.value,
|
|
135
|
+
dirty: N.value || e.dirty,
|
|
136
|
+
disabled: w.value,
|
|
137
|
+
focused: a.value,
|
|
138
|
+
details: W.value,
|
|
139
|
+
error: Q.value === !1
|
|
140
|
+
}), {
|
|
141
|
+
...n,
|
|
142
|
+
default: (y) => {
|
|
143
|
+
let {
|
|
144
|
+
props: {
|
|
145
|
+
class: R,
|
|
146
|
+
...Y
|
|
147
|
+
},
|
|
148
|
+
controlRef: Z
|
|
149
|
+
} = y;
|
|
150
|
+
const D = o("input", b({
|
|
151
|
+
ref: (ee) => r.value = Z.value = ee,
|
|
152
|
+
value: u.value,
|
|
153
|
+
onInput: K,
|
|
154
|
+
autofocus: e.autofocus,
|
|
155
|
+
readonly: L.value,
|
|
156
|
+
disabled: w.value,
|
|
157
|
+
name: f.fieldName.value,
|
|
158
|
+
autocomplete: f.fieldAutocomplete.value,
|
|
159
|
+
placeholder: e.placeholder,
|
|
160
|
+
size: 1,
|
|
161
|
+
role: e.role,
|
|
162
|
+
type: e.type,
|
|
163
|
+
onFocus: k,
|
|
164
|
+
onBlur: j,
|
|
165
|
+
"aria-labelledby": `${i.value}-label`
|
|
166
|
+
}, Y, m), null);
|
|
167
|
+
return o(C, null, [e.prefix && o("span", {
|
|
168
|
+
class: "v-text-field__prefix"
|
|
169
|
+
}, [o("span", {
|
|
170
|
+
class: "v-text-field__prefix__text"
|
|
171
|
+
}, [e.prefix])]), te(n.default ? o("div", {
|
|
172
|
+
class: le(R),
|
|
173
|
+
"data-no-activator": ""
|
|
174
|
+
}, [n.default({
|
|
175
|
+
id: i
|
|
176
|
+
}), D]) : ne(D, {
|
|
177
|
+
class: R
|
|
178
|
+
}), [[E, z, null, {
|
|
179
|
+
once: !0
|
|
180
|
+
}]]), e.suffix && o("span", {
|
|
181
|
+
class: "v-text-field__suffix"
|
|
182
|
+
}, [o("span", {
|
|
183
|
+
class: "v-text-field__suffix__text"
|
|
184
|
+
}, [e.suffix])])]);
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
},
|
|
188
|
+
details: l ? (d) => {
|
|
189
|
+
var i;
|
|
190
|
+
return o(C, null, [(i = n.details) == null ? void 0 : i.call(n, d), t && o(C, null, [o("span", null, null), p(oe, {
|
|
191
|
+
active: e.persistentCounter || a.value,
|
|
192
|
+
value: U.value,
|
|
193
|
+
max: $.value,
|
|
194
|
+
disabled: e.disabled
|
|
195
|
+
}, n.counter)])]);
|
|
196
|
+
} : void 0
|
|
197
|
+
});
|
|
198
|
+
}), de({}, S, A, r);
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
export {
|
|
202
|
+
Be as VTextField,
|
|
203
|
+
he as makeVTextFieldProps
|
|
204
|
+
};
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { computed as C, ref as w, shallowRef as re, watchEffect as ce, onMounted as se, watch as f, onBeforeUnmount as de, nextTick as P, createVNode as H, mergeProps as A, createElementVNode as r, Fragment as M, withDirectives as U, normalizeClass as fe, vModelText as me } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VTextarea.sass.mjs";
|
|
3
|
+
import "../../../../../../../_virtual/VTextField.sass.mjs";
|
|
4
|
+
import { VCounter as ve } from "../VCounter/VCounter.mjs";
|
|
5
|
+
import { makeVFieldProps as xe, VField as $ } from "../VField/VField.mjs";
|
|
6
|
+
import { makeVInputProps as ge, VInput as O } from "../VInput/VInput.mjs";
|
|
7
|
+
import { makeAutocompleteProps as he, useAutocomplete as we } from "../../composables/autocomplete.mjs";
|
|
8
|
+
import { useAutofocus as ye } from "../../composables/autofocus.mjs";
|
|
9
|
+
import { useFocus as Ve } from "../../composables/focus.mjs";
|
|
10
|
+
import { forwardRefs as be } from "../../composables/forwardRefs.mjs";
|
|
11
|
+
import { useProxiedModel as Fe } from "../../composables/proxiedModel.mjs";
|
|
12
|
+
import W from "../../directives/intersect/index.mjs";
|
|
13
|
+
import { useDisplay as Ce } from "../../composables/display.mjs";
|
|
14
|
+
import { propsFactory as Pe } from "../../util/propsFactory.mjs";
|
|
15
|
+
import { omit as pe, convertToUnit as z, filterInputAttrs as ke, callEvent as Ie, clamp as Ne } from "../../util/helpers.mjs";
|
|
16
|
+
import { genericComponent as Re } from "../../util/defineComponent.mjs";
|
|
17
|
+
import { useRender as Se } from "../../util/useRender.mjs";
|
|
18
|
+
const He = Pe({
|
|
19
|
+
autoGrow: Boolean,
|
|
20
|
+
autofocus: Boolean,
|
|
21
|
+
counter: [Boolean, Number, String],
|
|
22
|
+
counterValue: Function,
|
|
23
|
+
prefix: String,
|
|
24
|
+
placeholder: String,
|
|
25
|
+
persistentPlaceholder: Boolean,
|
|
26
|
+
persistentCounter: Boolean,
|
|
27
|
+
noResize: Boolean,
|
|
28
|
+
rows: {
|
|
29
|
+
type: [Number, String],
|
|
30
|
+
default: 5,
|
|
31
|
+
validator: (e) => !isNaN(parseFloat(e))
|
|
32
|
+
},
|
|
33
|
+
maxHeight: {
|
|
34
|
+
type: [Number, String],
|
|
35
|
+
validator: (e) => !isNaN(parseFloat(e))
|
|
36
|
+
},
|
|
37
|
+
maxRows: {
|
|
38
|
+
type: [Number, String],
|
|
39
|
+
validator: (e) => !isNaN(parseFloat(e))
|
|
40
|
+
},
|
|
41
|
+
suffix: String,
|
|
42
|
+
modelModifiers: Object,
|
|
43
|
+
...he(),
|
|
44
|
+
...pe(ge(), ["direction"]),
|
|
45
|
+
...xe()
|
|
46
|
+
}, "VTextarea"), Le = Re()({
|
|
47
|
+
name: "VTextarea",
|
|
48
|
+
directives: {
|
|
49
|
+
vIntersect: W
|
|
50
|
+
},
|
|
51
|
+
inheritAttrs: !1,
|
|
52
|
+
props: He(),
|
|
53
|
+
emits: {
|
|
54
|
+
"click:control": (e) => !0,
|
|
55
|
+
"mousedown:control": (e) => !0,
|
|
56
|
+
"update:focused": (e) => !0,
|
|
57
|
+
"update:modelValue": (e) => !0,
|
|
58
|
+
"update:rows": (e) => !0
|
|
59
|
+
},
|
|
60
|
+
setup(e, j) {
|
|
61
|
+
let {
|
|
62
|
+
attrs: p,
|
|
63
|
+
emit: k,
|
|
64
|
+
slots: n
|
|
65
|
+
} = j;
|
|
66
|
+
const l = Fe(e, "modelValue"), {
|
|
67
|
+
isFocused: y,
|
|
68
|
+
focus: q,
|
|
69
|
+
blur: J
|
|
70
|
+
} = Ve(e), {
|
|
71
|
+
onIntersect: K
|
|
72
|
+
} = ye(e), L = C(() => typeof e.counterValue == "function" ? e.counterValue(l.value) : (l.value || "").toString().length), Q = C(() => {
|
|
73
|
+
if (p.maxlength)
|
|
74
|
+
return p.maxlength;
|
|
75
|
+
if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
|
|
76
|
+
return e.counter;
|
|
77
|
+
}), B = w(), b = w(), T = re(""), m = w(), I = w(0), {
|
|
78
|
+
platform: X
|
|
79
|
+
} = Ce(), F = we(e), Y = C(() => e.persistentPlaceholder || y.value || e.active);
|
|
80
|
+
function N() {
|
|
81
|
+
var t;
|
|
82
|
+
F.isSuppressing.value && F.update(), m.value !== document.activeElement && ((t = m.value) == null || t.focus()), y.value || q();
|
|
83
|
+
}
|
|
84
|
+
function Z(t) {
|
|
85
|
+
N(), k("click:control", t);
|
|
86
|
+
}
|
|
87
|
+
function ee(t) {
|
|
88
|
+
k("mousedown:control", t);
|
|
89
|
+
}
|
|
90
|
+
function te(t) {
|
|
91
|
+
t.stopPropagation(), N(), P(() => {
|
|
92
|
+
l.value = "", Ie(e["onClick:clear"], t);
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function ae(t) {
|
|
96
|
+
var g;
|
|
97
|
+
const a = t.target;
|
|
98
|
+
if (!((g = e.modelModifiers) != null && g.trim)) {
|
|
99
|
+
l.value = a.value;
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
const o = a.value, x = a.selectionStart, s = a.selectionEnd;
|
|
103
|
+
l.value = o, P(() => {
|
|
104
|
+
let d = 0;
|
|
105
|
+
o.trimStart().length === a.value.length && (d = o.length - a.value.length), x != null && (a.selectionStart = x - d), s != null && (a.selectionEnd = s - d);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
const v = w(), V = w(Number(e.rows)), R = C(() => ["plain", "underlined"].includes(e.variant));
|
|
109
|
+
ce(() => {
|
|
110
|
+
e.autoGrow || (V.value = Number(e.rows));
|
|
111
|
+
});
|
|
112
|
+
function c() {
|
|
113
|
+
P(() => {
|
|
114
|
+
if (!m.value)
|
|
115
|
+
return;
|
|
116
|
+
if (X.value.firefox) {
|
|
117
|
+
I.value = 12;
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
const {
|
|
121
|
+
offsetWidth: t,
|
|
122
|
+
clientWidth: a
|
|
123
|
+
} = m.value;
|
|
124
|
+
I.value = Math.max(0, t - a);
|
|
125
|
+
}), e.autoGrow && P(() => {
|
|
126
|
+
if (!v.value || !b.value)
|
|
127
|
+
return;
|
|
128
|
+
const t = getComputedStyle(v.value), a = getComputedStyle(b.value.$el), o = parseFloat(t.getPropertyValue("--v-field-padding-top")) + parseFloat(t.getPropertyValue("--v-input-padding-top")) + parseFloat(t.getPropertyValue("--v-field-padding-bottom")), x = v.value.scrollHeight, s = parseFloat(t.lineHeight), g = Math.max(parseFloat(e.rows) * s + o, parseFloat(a.getPropertyValue("--v-input-control-height"))), d = e.maxHeight ? parseFloat(e.maxHeight) : parseFloat(e.maxRows) * s + o || 1 / 0, u = Ne(x ?? 0, g, d);
|
|
129
|
+
V.value = Math.floor((u - o) / s), T.value = z(u);
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
se(c), f(l, c), f(() => e.rows, c), f(() => e.maxHeight, c), f(() => e.maxRows, c), f(() => e.density, c), f(V, (t) => {
|
|
133
|
+
k("update:rows", t);
|
|
134
|
+
});
|
|
135
|
+
let i;
|
|
136
|
+
return f(v, (t) => {
|
|
137
|
+
t ? (i = new ResizeObserver(c), i.observe(v.value)) : i == null || i.disconnect();
|
|
138
|
+
}), de(() => {
|
|
139
|
+
i == null || i.disconnect();
|
|
140
|
+
}), Se(() => {
|
|
141
|
+
const t = !!(n.counter || e.counter || e.counterValue), a = !!(t || n.details), [o, x] = ke(p), {
|
|
142
|
+
modelValue: s,
|
|
143
|
+
...g
|
|
144
|
+
} = O.filterProps(e), d = {
|
|
145
|
+
...$.filterProps(e),
|
|
146
|
+
"onClick:clear": te
|
|
147
|
+
};
|
|
148
|
+
return H(O, A({
|
|
149
|
+
ref: B,
|
|
150
|
+
modelValue: l.value,
|
|
151
|
+
"onUpdate:modelValue": (u) => l.value = u,
|
|
152
|
+
class: ["v-textarea v-text-field", {
|
|
153
|
+
"v-textarea--prefixed": e.prefix,
|
|
154
|
+
"v-textarea--suffixed": e.suffix,
|
|
155
|
+
"v-text-field--prefixed": e.prefix,
|
|
156
|
+
"v-text-field--suffixed": e.suffix,
|
|
157
|
+
"v-textarea--auto-grow": e.autoGrow,
|
|
158
|
+
"v-textarea--no-resize": e.noResize || e.autoGrow,
|
|
159
|
+
"v-input--plain-underlined": R.value
|
|
160
|
+
}, e.class],
|
|
161
|
+
style: [{
|
|
162
|
+
"--v-textarea-max-height": e.maxHeight ? z(e.maxHeight) : void 0,
|
|
163
|
+
"--v-textarea-scroll-bar-width": z(I.value)
|
|
164
|
+
}, e.style]
|
|
165
|
+
}, o, g, {
|
|
166
|
+
centerAffix: V.value === 1 && !R.value,
|
|
167
|
+
focused: y.value
|
|
168
|
+
}), {
|
|
169
|
+
...n,
|
|
170
|
+
default: (u) => {
|
|
171
|
+
let {
|
|
172
|
+
id: h,
|
|
173
|
+
isDisabled: _,
|
|
174
|
+
isDirty: D,
|
|
175
|
+
isReadonly: le,
|
|
176
|
+
isValid: oe,
|
|
177
|
+
hasDetails: ne
|
|
178
|
+
} = u;
|
|
179
|
+
return H($, A({
|
|
180
|
+
ref: b,
|
|
181
|
+
style: {
|
|
182
|
+
"--v-textarea-control-height": T.value
|
|
183
|
+
},
|
|
184
|
+
onClick: Z,
|
|
185
|
+
onMousedown: ee,
|
|
186
|
+
"onClick:prependInner": e["onClick:prependInner"],
|
|
187
|
+
"onClick:appendInner": e["onClick:appendInner"]
|
|
188
|
+
}, d, {
|
|
189
|
+
id: h.value,
|
|
190
|
+
active: Y.value || D.value,
|
|
191
|
+
labelId: `${h.value}-label`,
|
|
192
|
+
centerAffix: V.value === 1 && !R.value,
|
|
193
|
+
dirty: D.value || e.dirty,
|
|
194
|
+
disabled: _.value,
|
|
195
|
+
focused: y.value,
|
|
196
|
+
details: ne.value,
|
|
197
|
+
error: oe.value === !1
|
|
198
|
+
}), {
|
|
199
|
+
...n,
|
|
200
|
+
default: (ie) => {
|
|
201
|
+
let {
|
|
202
|
+
props: {
|
|
203
|
+
class: E,
|
|
204
|
+
...G
|
|
205
|
+
},
|
|
206
|
+
controlRef: ue
|
|
207
|
+
} = ie;
|
|
208
|
+
return r(M, null, [e.prefix && r("span", {
|
|
209
|
+
class: "v-text-field__prefix"
|
|
210
|
+
}, [e.prefix]), U(r("textarea", A({
|
|
211
|
+
ref: (S) => m.value = ue.value = S,
|
|
212
|
+
class: E,
|
|
213
|
+
value: l.value,
|
|
214
|
+
onInput: ae,
|
|
215
|
+
autofocus: e.autofocus,
|
|
216
|
+
readonly: le.value,
|
|
217
|
+
disabled: _.value,
|
|
218
|
+
placeholder: e.placeholder,
|
|
219
|
+
rows: e.rows,
|
|
220
|
+
name: F.fieldName.value,
|
|
221
|
+
autocomplete: F.fieldAutocomplete.value,
|
|
222
|
+
onFocus: N,
|
|
223
|
+
onBlur: J,
|
|
224
|
+
"aria-labelledby": `${h.value}-label`
|
|
225
|
+
}, G, x), null), [[W, {
|
|
226
|
+
handler: K
|
|
227
|
+
}, null, {
|
|
228
|
+
once: !0
|
|
229
|
+
}]]), e.autoGrow && U(r("textarea", {
|
|
230
|
+
class: fe([E, "v-textarea__sizer"]),
|
|
231
|
+
id: `${G.id}-sizer`,
|
|
232
|
+
"onUpdate:modelValue": (S) => l.value = S,
|
|
233
|
+
ref: v,
|
|
234
|
+
readonly: !0,
|
|
235
|
+
"aria-hidden": "true"
|
|
236
|
+
}, null), [[me, l.value]]), e.suffix && r("span", {
|
|
237
|
+
class: "v-text-field__suffix"
|
|
238
|
+
}, [e.suffix])]);
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
},
|
|
242
|
+
details: a ? (u) => {
|
|
243
|
+
var h;
|
|
244
|
+
return r(M, null, [(h = n.details) == null ? void 0 : h.call(n, u), t && r(M, null, [r("span", null, null), H(ve, {
|
|
245
|
+
active: e.persistentCounter || y.value,
|
|
246
|
+
value: L.value,
|
|
247
|
+
max: Q.value,
|
|
248
|
+
disabled: e.disabled
|
|
249
|
+
}, n.counter)])]);
|
|
250
|
+
} : void 0
|
|
251
|
+
});
|
|
252
|
+
}), be({}, B, b, m);
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
export {
|
|
256
|
+
Le as VTextarea,
|
|
257
|
+
He as makeVTextareaProps
|
|
258
|
+
};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { shallowRef as B, computed as v, createVNode as o, normalizeClass as N, normalizeStyle as E, createElementVNode as a } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VToolbar.sass.mjs";
|
|
3
|
+
import { VToolbarTitle as H } from "./VToolbarTitle.mjs";
|
|
4
|
+
import { VExpandTransition as I } from "../transitions/index.mjs";
|
|
5
|
+
import { makeBorderProps as R, useBorder as p } from "../../composables/border.mjs";
|
|
6
|
+
import { useBackgroundColor as D } from "../../composables/color.mjs";
|
|
7
|
+
import { makeComponentProps as w } from "../../composables/component.mjs";
|
|
8
|
+
import { provideDefaults as z } from "../../composables/defaults.mjs";
|
|
9
|
+
import { makeElevationProps as L, useElevation as $ } from "../../composables/elevation.mjs";
|
|
10
|
+
import { useRtl as F } from "../../composables/locale.mjs";
|
|
11
|
+
import { makeLocationProps as U, useLocation as j } from "../../composables/location.mjs";
|
|
12
|
+
import { makeRoundedProps as q, useRounded as A } from "../../composables/rounded.mjs";
|
|
13
|
+
import { makeTagProps as G } from "../../composables/tag.mjs";
|
|
14
|
+
import { makeThemeProps as J, provideTheme as K } from "../../composables/theme.mjs";
|
|
15
|
+
import { VImg as M } from "../VImg/VImg.mjs";
|
|
16
|
+
import { VDefaultsProvider as m } from "../VDefaultsProvider/VDefaultsProvider.mjs";
|
|
17
|
+
import { propsFactory as O } from "../../util/propsFactory.mjs";
|
|
18
|
+
import { genericComponent as Q } from "../../util/defineComponent.mjs";
|
|
19
|
+
import { useRender as W } from "../../util/useRender.mjs";
|
|
20
|
+
import { convertToUnit as l } from "../../util/helpers.mjs";
|
|
21
|
+
const X = [null, "prominent", "default", "comfortable", "compact"], Y = O({
|
|
22
|
+
absolute: Boolean,
|
|
23
|
+
collapse: Boolean,
|
|
24
|
+
collapsePosition: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "start"
|
|
27
|
+
},
|
|
28
|
+
color: String,
|
|
29
|
+
density: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: "default",
|
|
32
|
+
validator: (e) => X.includes(e)
|
|
33
|
+
},
|
|
34
|
+
extended: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: null
|
|
37
|
+
},
|
|
38
|
+
extensionHeight: {
|
|
39
|
+
type: [Number, String],
|
|
40
|
+
default: 48
|
|
41
|
+
},
|
|
42
|
+
flat: Boolean,
|
|
43
|
+
floating: Boolean,
|
|
44
|
+
height: {
|
|
45
|
+
type: [Number, String],
|
|
46
|
+
default: 64
|
|
47
|
+
},
|
|
48
|
+
image: String,
|
|
49
|
+
title: String,
|
|
50
|
+
...R(),
|
|
51
|
+
...w(),
|
|
52
|
+
...L(),
|
|
53
|
+
...U(),
|
|
54
|
+
...q(),
|
|
55
|
+
...G({
|
|
56
|
+
tag: "header"
|
|
57
|
+
}),
|
|
58
|
+
...J()
|
|
59
|
+
}, "VToolbar"), xe = Q()({
|
|
60
|
+
name: "VToolbar",
|
|
61
|
+
props: Y(),
|
|
62
|
+
setup(e, b) {
|
|
63
|
+
var d;
|
|
64
|
+
let {
|
|
65
|
+
slots: t
|
|
66
|
+
} = b;
|
|
67
|
+
const {
|
|
68
|
+
backgroundColorClasses: h,
|
|
69
|
+
backgroundColorStyles: y
|
|
70
|
+
} = D(() => e.color), {
|
|
71
|
+
borderClasses: x
|
|
72
|
+
} = p(e), {
|
|
73
|
+
elevationClasses: k
|
|
74
|
+
} = $(e), {
|
|
75
|
+
locationStyles: T
|
|
76
|
+
} = j(e), {
|
|
77
|
+
roundedClasses: V
|
|
78
|
+
} = A(e), {
|
|
79
|
+
themeClasses: C
|
|
80
|
+
} = K(e), {
|
|
81
|
+
rtlClasses: P
|
|
82
|
+
} = F(), n = B(e.extended === null ? !!((d = t.extension) != null && d.call(t)) : e.extended), i = v(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), r = v(() => n.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
|
|
83
|
+
return z({
|
|
84
|
+
VBtn: {
|
|
85
|
+
variant: "text"
|
|
86
|
+
}
|
|
87
|
+
}), W(() => {
|
|
88
|
+
var u;
|
|
89
|
+
const S = !!(e.title || t.title), _ = !!(t.image || e.image), s = (u = t.extension) == null ? void 0 : u.call(t);
|
|
90
|
+
return n.value = e.extended === null ? !!s : e.extended, o(e.tag, {
|
|
91
|
+
class: N(["v-toolbar", `v-toolbar--collapse-${e.collapsePosition}`, {
|
|
92
|
+
"v-toolbar--absolute": e.absolute,
|
|
93
|
+
"v-toolbar--collapse": e.collapse,
|
|
94
|
+
"v-toolbar--flat": e.flat,
|
|
95
|
+
"v-toolbar--floating": e.floating,
|
|
96
|
+
[`v-toolbar--density-${e.density}`]: !0
|
|
97
|
+
}, h.value, x.value, k.value, V.value, C.value, P.value, e.class]),
|
|
98
|
+
style: E([y.value, T.value, e.style])
|
|
99
|
+
}, {
|
|
100
|
+
default: () => [_ && a("div", {
|
|
101
|
+
key: "image",
|
|
102
|
+
class: "v-toolbar__image"
|
|
103
|
+
}, [t.image ? o(m, {
|
|
104
|
+
key: "image-defaults",
|
|
105
|
+
disabled: !e.image,
|
|
106
|
+
defaults: {
|
|
107
|
+
VImg: {
|
|
108
|
+
cover: !0,
|
|
109
|
+
src: e.image
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}, t.image) : o(M, {
|
|
113
|
+
key: "image-img",
|
|
114
|
+
cover: !0,
|
|
115
|
+
src: e.image
|
|
116
|
+
}, null)]), o(m, {
|
|
117
|
+
defaults: {
|
|
118
|
+
VTabs: {
|
|
119
|
+
height: l(i.value)
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}, {
|
|
123
|
+
default: () => {
|
|
124
|
+
var c, f, g;
|
|
125
|
+
return [a("div", {
|
|
126
|
+
class: "v-toolbar__content",
|
|
127
|
+
style: {
|
|
128
|
+
height: l(i.value)
|
|
129
|
+
}
|
|
130
|
+
}, [t.prepend && a("div", {
|
|
131
|
+
class: "v-toolbar__prepend"
|
|
132
|
+
}, [(c = t.prepend) == null ? void 0 : c.call(t)]), S && o(H, {
|
|
133
|
+
key: "title",
|
|
134
|
+
text: e.title
|
|
135
|
+
}, {
|
|
136
|
+
text: t.title
|
|
137
|
+
}), (f = t.default) == null ? void 0 : f.call(t), t.append && a("div", {
|
|
138
|
+
class: "v-toolbar__append"
|
|
139
|
+
}, [(g = t.append) == null ? void 0 : g.call(t)])])];
|
|
140
|
+
}
|
|
141
|
+
}), o(m, {
|
|
142
|
+
defaults: {
|
|
143
|
+
VTabs: {
|
|
144
|
+
height: l(r.value)
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}, {
|
|
148
|
+
default: () => [o(I, null, {
|
|
149
|
+
default: () => [n.value && a("div", {
|
|
150
|
+
class: "v-toolbar__extension",
|
|
151
|
+
style: {
|
|
152
|
+
height: l(r.value)
|
|
153
|
+
}
|
|
154
|
+
}, [s])]
|
|
155
|
+
})]
|
|
156
|
+
})]
|
|
157
|
+
});
|
|
158
|
+
}), {
|
|
159
|
+
contentHeight: i,
|
|
160
|
+
extensionHeight: r
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
export {
|
|
165
|
+
xe as VToolbar,
|
|
166
|
+
Y as makeVToolbarProps
|
|
167
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { toRef as e, createElementVNode as a, normalizeClass as i, normalizeStyle as n } from "vue";
|
|
2
|
+
import { makeComponentProps as l } from "../../composables/component.mjs";
|
|
3
|
+
import { provideDefaults as s } from "../../composables/defaults.mjs";
|
|
4
|
+
import { makeVariantProps as p } from "../../composables/variant.mjs";
|
|
5
|
+
import { propsFactory as f } from "../../util/propsFactory.mjs";
|
|
6
|
+
import { genericComponent as c } from "../../util/defineComponent.mjs";
|
|
7
|
+
import { useRender as V } from "../../util/useRender.mjs";
|
|
8
|
+
const v = f({
|
|
9
|
+
...l(),
|
|
10
|
+
...p({
|
|
11
|
+
variant: "text"
|
|
12
|
+
})
|
|
13
|
+
}, "VToolbarItems"), k = c()({
|
|
14
|
+
name: "VToolbarItems",
|
|
15
|
+
props: v(),
|
|
16
|
+
setup(o, m) {
|
|
17
|
+
let {
|
|
18
|
+
slots: r
|
|
19
|
+
} = m;
|
|
20
|
+
return s({
|
|
21
|
+
VBtn: {
|
|
22
|
+
color: e(() => o.color),
|
|
23
|
+
height: "inherit",
|
|
24
|
+
variant: e(() => o.variant)
|
|
25
|
+
}
|
|
26
|
+
}), V(() => {
|
|
27
|
+
var t;
|
|
28
|
+
return a("div", {
|
|
29
|
+
class: i(["v-toolbar-items", o.class]),
|
|
30
|
+
style: n(o.style)
|
|
31
|
+
}, [(t = r.default) == null ? void 0 : t.call(r)]);
|
|
32
|
+
}), {};
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
k as VToolbarItems,
|
|
37
|
+
v as makeVToolbarItemsProps
|
|
38
|
+
};
|