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,98 @@
|
|
|
1
|
+
import "../../../../../../../_virtual/VGrid.sass.mjs";
|
|
2
|
+
import { makeComponentProps as y } from "../../composables/component.mjs";
|
|
3
|
+
import { breakpoints as a } from "../../composables/display.mjs";
|
|
4
|
+
import { makeTagProps as S } from "../../composables/tag.mjs";
|
|
5
|
+
import { capitalize as u, computed as C, h as k } from "vue";
|
|
6
|
+
import { propsFactory as N } from "../../util/propsFactory.mjs";
|
|
7
|
+
import { genericComponent as h } from "../../util/defineComponent.mjs";
|
|
8
|
+
const i = a.reduce((e, r) => (e[r] = {
|
|
9
|
+
type: [Boolean, String, Number],
|
|
10
|
+
default: !1
|
|
11
|
+
}, e), {}), m = a.reduce((e, r) => {
|
|
12
|
+
const t = "offset" + u(r);
|
|
13
|
+
return e[t] = {
|
|
14
|
+
type: [String, Number],
|
|
15
|
+
default: null
|
|
16
|
+
}, e;
|
|
17
|
+
}, {}), d = a.reduce((e, r) => {
|
|
18
|
+
const t = "order" + u(r);
|
|
19
|
+
return e[t] = {
|
|
20
|
+
type: [String, Number],
|
|
21
|
+
default: null
|
|
22
|
+
}, e;
|
|
23
|
+
}, {}), f = {
|
|
24
|
+
col: Object.keys(i),
|
|
25
|
+
offset: Object.keys(m),
|
|
26
|
+
order: Object.keys(d)
|
|
27
|
+
};
|
|
28
|
+
function L(e, r, t) {
|
|
29
|
+
let n = e;
|
|
30
|
+
if (!(t == null || t === !1)) {
|
|
31
|
+
if (r) {
|
|
32
|
+
const o = r.replace(e, "");
|
|
33
|
+
n += `-${o}`;
|
|
34
|
+
}
|
|
35
|
+
return e === "col" && (n = "v-" + n), e === "col" && (t === "" || t === !0) || (n += `-${t}`), n.toLowerCase();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
const P = ["auto", "start", "end", "center", "baseline", "stretch"], $ = N({
|
|
39
|
+
cols: {
|
|
40
|
+
type: [Boolean, String, Number],
|
|
41
|
+
default: !1
|
|
42
|
+
},
|
|
43
|
+
...i,
|
|
44
|
+
offset: {
|
|
45
|
+
type: [String, Number],
|
|
46
|
+
default: null
|
|
47
|
+
},
|
|
48
|
+
...m,
|
|
49
|
+
order: {
|
|
50
|
+
type: [String, Number],
|
|
51
|
+
default: null
|
|
52
|
+
},
|
|
53
|
+
...d,
|
|
54
|
+
alignSelf: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: null,
|
|
57
|
+
validator: (e) => P.includes(e)
|
|
58
|
+
},
|
|
59
|
+
...y(),
|
|
60
|
+
...S()
|
|
61
|
+
}, "VCol"), A = h()({
|
|
62
|
+
name: "VCol",
|
|
63
|
+
props: $(),
|
|
64
|
+
setup(e, r) {
|
|
65
|
+
let {
|
|
66
|
+
slots: t
|
|
67
|
+
} = r;
|
|
68
|
+
const n = C(() => {
|
|
69
|
+
const o = [];
|
|
70
|
+
let s;
|
|
71
|
+
for (s in f)
|
|
72
|
+
f[s].forEach((l) => {
|
|
73
|
+
const g = e[l], c = L(s, l, g);
|
|
74
|
+
c && o.push(c);
|
|
75
|
+
});
|
|
76
|
+
const b = o.some((l) => l.startsWith("v-col-"));
|
|
77
|
+
return o.push({
|
|
78
|
+
// Default to .v-col if no other col-{bp}-* classes generated nor `cols` specified.
|
|
79
|
+
"v-col": !b || !e.cols,
|
|
80
|
+
[`v-col-${e.cols}`]: e.cols,
|
|
81
|
+
[`offset-${e.offset}`]: e.offset,
|
|
82
|
+
[`order-${e.order}`]: e.order,
|
|
83
|
+
[`align-self-${e.alignSelf}`]: e.alignSelf
|
|
84
|
+
}), o;
|
|
85
|
+
});
|
|
86
|
+
return () => {
|
|
87
|
+
var o;
|
|
88
|
+
return k(e.tag, {
|
|
89
|
+
class: [n.value, e.class],
|
|
90
|
+
style: e.style
|
|
91
|
+
}, (o = t.default) == null ? void 0 : o.call(t));
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
export {
|
|
96
|
+
A as VCol,
|
|
97
|
+
$ as makeVColProps
|
|
98
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { createVNode as m, normalizeClass as s, normalizeStyle as i } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VContainer.sass.mjs";
|
|
3
|
+
import { makeComponentProps as a } from "../../composables/component.mjs";
|
|
4
|
+
import { makeDimensionProps as l, useDimension as p } from "../../composables/dimensions.mjs";
|
|
5
|
+
import { useRtl as f } from "../../composables/locale.mjs";
|
|
6
|
+
import { makeTagProps as c } from "../../composables/tag.mjs";
|
|
7
|
+
import { propsFactory as u } from "../../util/propsFactory.mjs";
|
|
8
|
+
import { genericComponent as C } from "../../util/defineComponent.mjs";
|
|
9
|
+
import { useRender as d } from "../../util/useRender.mjs";
|
|
10
|
+
const y = u({
|
|
11
|
+
fluid: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: !1
|
|
14
|
+
},
|
|
15
|
+
...a(),
|
|
16
|
+
...l(),
|
|
17
|
+
...c()
|
|
18
|
+
}, "VContainer"), x = C()({
|
|
19
|
+
name: "VContainer",
|
|
20
|
+
props: y(),
|
|
21
|
+
setup(o, e) {
|
|
22
|
+
let {
|
|
23
|
+
slots: t
|
|
24
|
+
} = e;
|
|
25
|
+
const {
|
|
26
|
+
rtlClasses: r
|
|
27
|
+
} = f(), {
|
|
28
|
+
dimensionStyles: n
|
|
29
|
+
} = p(o);
|
|
30
|
+
return d(() => m(o.tag, {
|
|
31
|
+
class: s(["v-container", {
|
|
32
|
+
"v-container--fluid": o.fluid
|
|
33
|
+
}, r.value, o.class]),
|
|
34
|
+
style: i([n.value, o.style])
|
|
35
|
+
}, t)), {};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
x as VContainer,
|
|
40
|
+
y as makeVContainerProps
|
|
41
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import "../../../../../../../_virtual/VGrid.sass.mjs";
|
|
2
|
+
import { makeComponentProps as v } from "../../composables/component.mjs";
|
|
3
|
+
import { breakpoints as S } from "../../composables/display.mjs";
|
|
4
|
+
import { makeTagProps as k } from "../../composables/tag.mjs";
|
|
5
|
+
import { computed as w, h as V, capitalize as b } from "vue";
|
|
6
|
+
import { propsFactory as L } from "../../util/propsFactory.mjs";
|
|
7
|
+
import { genericComponent as N } from "../../util/defineComponent.mjs";
|
|
8
|
+
const i = ["start", "end", "center"], f = ["space-between", "space-around", "space-evenly"];
|
|
9
|
+
function s(t, o) {
|
|
10
|
+
return S.reduce((e, a) => {
|
|
11
|
+
const n = t + b(a);
|
|
12
|
+
return e[n] = o(), e;
|
|
13
|
+
}, {});
|
|
14
|
+
}
|
|
15
|
+
const P = [...i, "baseline", "stretch"], g = (t) => P.includes(t), d = s("align", () => ({
|
|
16
|
+
type: String,
|
|
17
|
+
default: null,
|
|
18
|
+
validator: g
|
|
19
|
+
})), A = [...i, ...f], y = (t) => A.includes(t), m = s("justify", () => ({
|
|
20
|
+
type: String,
|
|
21
|
+
default: null,
|
|
22
|
+
validator: y
|
|
23
|
+
})), E = [...i, ...f, "stretch"], p = (t) => E.includes(t), C = s("alignContent", () => ({
|
|
24
|
+
type: String,
|
|
25
|
+
default: null,
|
|
26
|
+
validator: p
|
|
27
|
+
})), u = {
|
|
28
|
+
align: Object.keys(d),
|
|
29
|
+
justify: Object.keys(m),
|
|
30
|
+
alignContent: Object.keys(C)
|
|
31
|
+
}, h = {
|
|
32
|
+
align: "align",
|
|
33
|
+
justify: "justify",
|
|
34
|
+
alignContent: "align-content"
|
|
35
|
+
};
|
|
36
|
+
function G(t, o, e) {
|
|
37
|
+
let a = h[t];
|
|
38
|
+
if (e != null) {
|
|
39
|
+
if (o) {
|
|
40
|
+
const n = o.replace(t, "");
|
|
41
|
+
a += `-${n}`;
|
|
42
|
+
}
|
|
43
|
+
return a += `-${e}`, a.toLowerCase();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
const R = L({
|
|
47
|
+
dense: Boolean,
|
|
48
|
+
noGutters: Boolean,
|
|
49
|
+
align: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: null,
|
|
52
|
+
validator: g
|
|
53
|
+
},
|
|
54
|
+
...d,
|
|
55
|
+
justify: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: null,
|
|
58
|
+
validator: y
|
|
59
|
+
},
|
|
60
|
+
...m,
|
|
61
|
+
alignContent: {
|
|
62
|
+
type: String,
|
|
63
|
+
default: null,
|
|
64
|
+
validator: p
|
|
65
|
+
},
|
|
66
|
+
...C,
|
|
67
|
+
...v(),
|
|
68
|
+
...k()
|
|
69
|
+
}, "VRow"), x = N()({
|
|
70
|
+
name: "VRow",
|
|
71
|
+
props: R(),
|
|
72
|
+
setup(t, o) {
|
|
73
|
+
let {
|
|
74
|
+
slots: e
|
|
75
|
+
} = o;
|
|
76
|
+
const a = w(() => {
|
|
77
|
+
const n = [];
|
|
78
|
+
let l;
|
|
79
|
+
for (l in u)
|
|
80
|
+
u[l].forEach((r) => {
|
|
81
|
+
const j = t[r], c = G(l, r, j);
|
|
82
|
+
c && n.push(c);
|
|
83
|
+
});
|
|
84
|
+
return n.push({
|
|
85
|
+
"v-row--no-gutters": t.noGutters,
|
|
86
|
+
"v-row--dense": t.dense,
|
|
87
|
+
[`align-${t.align}`]: t.align,
|
|
88
|
+
[`justify-${t.justify}`]: t.justify,
|
|
89
|
+
[`align-content-${t.alignContent}`]: t.alignContent
|
|
90
|
+
}), n;
|
|
91
|
+
});
|
|
92
|
+
return () => {
|
|
93
|
+
var n;
|
|
94
|
+
return V(t.tag, {
|
|
95
|
+
class: ["v-row", a.value, t.class],
|
|
96
|
+
style: t.style
|
|
97
|
+
}, (n = e.default) == null ? void 0 : n.call(e));
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
export {
|
|
102
|
+
x as VRow,
|
|
103
|
+
R as makeVRowProps
|
|
104
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { makeDelayProps as u, useDelay as m } from "../../composables/delay.mjs";
|
|
2
|
+
import { useProxiedModel as s } from "../../composables/proxiedModel.mjs";
|
|
3
|
+
import { propsFactory as p } from "../../util/propsFactory.mjs";
|
|
4
|
+
import { genericComponent as i } from "../../util/defineComponent.mjs";
|
|
5
|
+
const d = p({
|
|
6
|
+
disabled: Boolean,
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
default: null
|
|
10
|
+
},
|
|
11
|
+
...u()
|
|
12
|
+
}, "VHover"), y = i()({
|
|
13
|
+
name: "VHover",
|
|
14
|
+
props: d(),
|
|
15
|
+
emits: {
|
|
16
|
+
"update:modelValue": (e) => !0
|
|
17
|
+
},
|
|
18
|
+
setup(e, a) {
|
|
19
|
+
let {
|
|
20
|
+
slots: r
|
|
21
|
+
} = a;
|
|
22
|
+
const l = s(e, "modelValue"), {
|
|
23
|
+
runOpenDelay: n,
|
|
24
|
+
runCloseDelay: t
|
|
25
|
+
} = m(e, (o) => !e.disabled && (l.value = o));
|
|
26
|
+
return () => {
|
|
27
|
+
var o;
|
|
28
|
+
return (o = r.default) == null ? void 0 : o.call(r, {
|
|
29
|
+
isHovering: l.value,
|
|
30
|
+
props: {
|
|
31
|
+
onMouseenter: n,
|
|
32
|
+
onMouseleave: t
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
y as VHover,
|
|
40
|
+
d as makeVHoverProps
|
|
41
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { shallowRef as C, Text as g, createVNode as y, normalizeClass as k, normalizeStyle as z } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VIcon.sass.mjs";
|
|
3
|
+
import { useTextColor as b } from "../../composables/color.mjs";
|
|
4
|
+
import { makeComponentProps as I } from "../../composables/component.mjs";
|
|
5
|
+
import { IconValue as S, useIcon as V } from "../../composables/icons.mjs";
|
|
6
|
+
import { makeSizeProps as x, useSize as T } from "../../composables/size.mjs";
|
|
7
|
+
import { makeTagProps as p } from "../../composables/tag.mjs";
|
|
8
|
+
import { makeThemeProps as P, useTheme as B } from "../../composables/theme.mjs";
|
|
9
|
+
import { flattenFragments as w, convertToUnit as a } from "../../util/helpers.mjs";
|
|
10
|
+
import { propsFactory as F } from "../../util/propsFactory.mjs";
|
|
11
|
+
import { genericComponent as N } from "../../util/defineComponent.mjs";
|
|
12
|
+
import { useRender as R } from "../../util/useRender.mjs";
|
|
13
|
+
const D = F({
|
|
14
|
+
color: String,
|
|
15
|
+
disabled: Boolean,
|
|
16
|
+
start: Boolean,
|
|
17
|
+
end: Boolean,
|
|
18
|
+
icon: S,
|
|
19
|
+
opacity: [String, Number],
|
|
20
|
+
...I(),
|
|
21
|
+
...x(),
|
|
22
|
+
...p({
|
|
23
|
+
tag: "i"
|
|
24
|
+
}),
|
|
25
|
+
...P()
|
|
26
|
+
}, "VIcon"), Q = N()({
|
|
27
|
+
name: "VIcon",
|
|
28
|
+
props: D(),
|
|
29
|
+
setup(e, u) {
|
|
30
|
+
let {
|
|
31
|
+
attrs: l,
|
|
32
|
+
slots: t
|
|
33
|
+
} = u;
|
|
34
|
+
const r = C(), {
|
|
35
|
+
themeClasses: f
|
|
36
|
+
} = B(), {
|
|
37
|
+
iconData: c
|
|
38
|
+
} = V(() => r.value || e.icon), {
|
|
39
|
+
sizeClasses: s
|
|
40
|
+
} = T(e), {
|
|
41
|
+
textColorClasses: v,
|
|
42
|
+
textColorStyles: h
|
|
43
|
+
} = b(() => e.color);
|
|
44
|
+
return R(() => {
|
|
45
|
+
var m, d;
|
|
46
|
+
const n = (m = t.default) == null ? void 0 : m.call(t);
|
|
47
|
+
n && (r.value = (d = w(n).filter((i) => i.type === g && i.children && typeof i.children == "string")[0]) == null ? void 0 : d.children);
|
|
48
|
+
const o = !!(l.onClick || l.onClickOnce);
|
|
49
|
+
return y(c.value.component, {
|
|
50
|
+
tag: e.tag,
|
|
51
|
+
icon: c.value.icon,
|
|
52
|
+
class: k(["v-icon", "notranslate", f.value, s.value, v.value, {
|
|
53
|
+
"v-icon--clickable": o,
|
|
54
|
+
"v-icon--disabled": e.disabled,
|
|
55
|
+
"v-icon--start": e.start,
|
|
56
|
+
"v-icon--end": e.end
|
|
57
|
+
}, e.class]),
|
|
58
|
+
style: z([{
|
|
59
|
+
"--v-icon-opacity": e.opacity
|
|
60
|
+
}, s.value ? void 0 : {
|
|
61
|
+
fontSize: a(e.size),
|
|
62
|
+
height: a(e.size),
|
|
63
|
+
width: a(e.size)
|
|
64
|
+
}, h.value, e.style]),
|
|
65
|
+
role: o ? "button" : void 0,
|
|
66
|
+
"aria-hidden": !o,
|
|
67
|
+
tabindex: o ? e.disabled ? -1 : 0 : void 0
|
|
68
|
+
}, {
|
|
69
|
+
default: () => [n]
|
|
70
|
+
});
|
|
71
|
+
}), {};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
Q as VIcon,
|
|
76
|
+
D as makeVIconProps
|
|
77
|
+
};
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { shallowRef as g, ref as L, computed as V, watch as b, onBeforeMount as D, nextTick as $, onBeforeUnmount as G, toRef as J, withDirectives as B, createVNode as i, mergeProps as K, createElementVNode as c, Fragment as Q, normalizeClass as U, vShow as X } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VImg.sass.mjs";
|
|
3
|
+
import { makeVResponsiveProps as Y, VResponsive as N } from "../VResponsive/VResponsive.mjs";
|
|
4
|
+
import { useBackgroundColor as Z } from "../../composables/color.mjs";
|
|
5
|
+
import { makeComponentProps as p } from "../../composables/component.mjs";
|
|
6
|
+
import { makeRoundedProps as ee, useRounded as re } from "../../composables/rounded.mjs";
|
|
7
|
+
import { makeTransitionProps as te, MaybeTransition as S } from "../../composables/transition.mjs";
|
|
8
|
+
import W from "../../directives/intersect/index.mjs";
|
|
9
|
+
import { propsFactory as ae } from "../../util/propsFactory.mjs";
|
|
10
|
+
import { genericComponent as ne } from "../../util/defineComponent.mjs";
|
|
11
|
+
import { getCurrentInstance as le } from "../../util/getCurrentInstance.mjs";
|
|
12
|
+
import { SUPPORTS_INTERSECTION as ie } from "../../util/globals.mjs";
|
|
13
|
+
import { useRender as oe } from "../../util/useRender.mjs";
|
|
14
|
+
import { convertToUnit as ue } from "../../util/helpers.mjs";
|
|
15
|
+
const ce = ae({
|
|
16
|
+
absolute: Boolean,
|
|
17
|
+
alt: String,
|
|
18
|
+
cover: Boolean,
|
|
19
|
+
color: String,
|
|
20
|
+
draggable: {
|
|
21
|
+
type: [Boolean, String],
|
|
22
|
+
default: void 0
|
|
23
|
+
},
|
|
24
|
+
eager: Boolean,
|
|
25
|
+
gradient: String,
|
|
26
|
+
imageClass: null,
|
|
27
|
+
lazySrc: String,
|
|
28
|
+
options: {
|
|
29
|
+
type: Object,
|
|
30
|
+
// For more information on types, navigate to:
|
|
31
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
|
|
32
|
+
default: () => ({
|
|
33
|
+
root: void 0,
|
|
34
|
+
rootMargin: void 0,
|
|
35
|
+
threshold: void 0
|
|
36
|
+
})
|
|
37
|
+
},
|
|
38
|
+
sizes: String,
|
|
39
|
+
src: {
|
|
40
|
+
type: [String, Object],
|
|
41
|
+
default: ""
|
|
42
|
+
},
|
|
43
|
+
crossorigin: String,
|
|
44
|
+
referrerpolicy: String,
|
|
45
|
+
srcset: String,
|
|
46
|
+
position: String,
|
|
47
|
+
...Y(),
|
|
48
|
+
...p(),
|
|
49
|
+
...ee(),
|
|
50
|
+
...te()
|
|
51
|
+
}, "VImg"), Ie = ne()({
|
|
52
|
+
name: "VImg",
|
|
53
|
+
directives: {
|
|
54
|
+
vIntersect: W
|
|
55
|
+
},
|
|
56
|
+
props: ce(),
|
|
57
|
+
emits: {
|
|
58
|
+
loadstart: (e) => !0,
|
|
59
|
+
load: (e) => !0,
|
|
60
|
+
error: (e) => !0
|
|
61
|
+
},
|
|
62
|
+
setup(e, j) {
|
|
63
|
+
let {
|
|
64
|
+
emit: _,
|
|
65
|
+
slots: o
|
|
66
|
+
} = j;
|
|
67
|
+
const {
|
|
68
|
+
backgroundColorClasses: E,
|
|
69
|
+
backgroundColorStyles: F
|
|
70
|
+
} = Z(() => e.color), {
|
|
71
|
+
roundedClasses: O
|
|
72
|
+
} = re(e), v = le("VImg"), z = g(""), n = L(), a = g(e.eager ? "loading" : "idle"), s = g(), f = g(), l = V(() => e.src && typeof e.src == "object" ? {
|
|
73
|
+
src: e.src.src,
|
|
74
|
+
srcset: e.srcset || e.src.srcset,
|
|
75
|
+
lazySrc: e.lazySrc || e.src.lazySrc,
|
|
76
|
+
aspect: Number(e.aspectRatio || e.src.aspect || 0)
|
|
77
|
+
} : {
|
|
78
|
+
src: e.src,
|
|
79
|
+
srcset: e.srcset,
|
|
80
|
+
lazySrc: e.lazySrc,
|
|
81
|
+
aspect: Number(e.aspectRatio || 0)
|
|
82
|
+
}), m = V(() => l.value.aspect || s.value / f.value || 0);
|
|
83
|
+
b(() => e.src, () => {
|
|
84
|
+
y(a.value !== "idle");
|
|
85
|
+
}), b(m, (r, t) => {
|
|
86
|
+
!r && t && n.value && d(n.value);
|
|
87
|
+
}), D(() => y());
|
|
88
|
+
function y(r) {
|
|
89
|
+
if (!(e.eager && r) && !(ie && !r && !e.eager)) {
|
|
90
|
+
if (a.value = "loading", l.value.lazySrc) {
|
|
91
|
+
const t = new Image();
|
|
92
|
+
t.src = l.value.lazySrc, d(t, null);
|
|
93
|
+
}
|
|
94
|
+
l.value.src && $(() => {
|
|
95
|
+
var t;
|
|
96
|
+
_("loadstart", ((t = n.value) == null ? void 0 : t.currentSrc) || l.value.src), setTimeout(() => {
|
|
97
|
+
var u;
|
|
98
|
+
if (!v.isUnmounted)
|
|
99
|
+
if ((u = n.value) != null && u.complete) {
|
|
100
|
+
if (n.value.naturalWidth || R(), a.value === "error")
|
|
101
|
+
return;
|
|
102
|
+
m.value || d(n.value, null), a.value === "loading" && C();
|
|
103
|
+
} else
|
|
104
|
+
m.value || d(n.value), I();
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function C() {
|
|
110
|
+
var r;
|
|
111
|
+
v.isUnmounted || (I(), d(n.value), a.value = "loaded", _("load", ((r = n.value) == null ? void 0 : r.currentSrc) || l.value.src));
|
|
112
|
+
}
|
|
113
|
+
function R() {
|
|
114
|
+
var r;
|
|
115
|
+
v.isUnmounted || (a.value = "error", _("error", ((r = n.value) == null ? void 0 : r.currentSrc) || l.value.src));
|
|
116
|
+
}
|
|
117
|
+
function I() {
|
|
118
|
+
const r = n.value;
|
|
119
|
+
r && (z.value = r.currentSrc || r.src);
|
|
120
|
+
}
|
|
121
|
+
let h = -1;
|
|
122
|
+
G(() => {
|
|
123
|
+
clearTimeout(h);
|
|
124
|
+
});
|
|
125
|
+
function d(r) {
|
|
126
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
|
127
|
+
const u = () => {
|
|
128
|
+
if (clearTimeout(h), v.isUnmounted)
|
|
129
|
+
return;
|
|
130
|
+
const {
|
|
131
|
+
naturalHeight: T,
|
|
132
|
+
naturalWidth: k
|
|
133
|
+
} = r;
|
|
134
|
+
T || k ? (s.value = k, f.value = T) : !r.complete && a.value === "loading" && t != null ? h = window.setTimeout(u, t) : (r.currentSrc.endsWith(".svg") || r.currentSrc.startsWith("data:image/svg+xml")) && (s.value = 1, f.value = 1);
|
|
135
|
+
};
|
|
136
|
+
u();
|
|
137
|
+
}
|
|
138
|
+
const P = J(() => ({
|
|
139
|
+
"v-img__img--cover": e.cover,
|
|
140
|
+
"v-img__img--contain": !e.cover
|
|
141
|
+
})), x = () => {
|
|
142
|
+
var u;
|
|
143
|
+
if (!l.value.src || a.value === "idle")
|
|
144
|
+
return null;
|
|
145
|
+
const r = c("img", {
|
|
146
|
+
class: U(["v-img__img", P.value, e.imageClass]),
|
|
147
|
+
style: {
|
|
148
|
+
objectPosition: e.position
|
|
149
|
+
},
|
|
150
|
+
crossorigin: e.crossorigin,
|
|
151
|
+
src: l.value.src,
|
|
152
|
+
srcset: l.value.srcset,
|
|
153
|
+
alt: e.alt,
|
|
154
|
+
referrerpolicy: e.referrerpolicy,
|
|
155
|
+
draggable: e.draggable,
|
|
156
|
+
sizes: e.sizes,
|
|
157
|
+
ref: n,
|
|
158
|
+
onLoad: C,
|
|
159
|
+
onError: R
|
|
160
|
+
}, null), t = (u = o.sources) == null ? void 0 : u.call(o);
|
|
161
|
+
return i(S, {
|
|
162
|
+
transition: e.transition,
|
|
163
|
+
appear: !0
|
|
164
|
+
}, {
|
|
165
|
+
default: () => [B(t ? c("picture", {
|
|
166
|
+
class: "v-img__picture"
|
|
167
|
+
}, [t, r]) : r, [[X, a.value === "loaded"]])]
|
|
168
|
+
});
|
|
169
|
+
}, H = () => i(S, {
|
|
170
|
+
transition: e.transition
|
|
171
|
+
}, {
|
|
172
|
+
default: () => [l.value.lazySrc && a.value !== "loaded" && c("img", {
|
|
173
|
+
class: U(["v-img__img", "v-img__img--preload", P.value]),
|
|
174
|
+
style: {
|
|
175
|
+
objectPosition: e.position
|
|
176
|
+
},
|
|
177
|
+
crossorigin: e.crossorigin,
|
|
178
|
+
src: l.value.lazySrc,
|
|
179
|
+
alt: e.alt,
|
|
180
|
+
referrerpolicy: e.referrerpolicy,
|
|
181
|
+
draggable: e.draggable
|
|
182
|
+
}, null)]
|
|
183
|
+
}), M = () => o.placeholder ? i(S, {
|
|
184
|
+
transition: e.transition,
|
|
185
|
+
appear: !0
|
|
186
|
+
}, {
|
|
187
|
+
default: () => [(a.value === "loading" || a.value === "error" && !o.error) && c("div", {
|
|
188
|
+
class: "v-img__placeholder"
|
|
189
|
+
}, [o.placeholder()])]
|
|
190
|
+
}) : null, q = () => o.error ? i(S, {
|
|
191
|
+
transition: e.transition,
|
|
192
|
+
appear: !0
|
|
193
|
+
}, {
|
|
194
|
+
default: () => [a.value === "error" && c("div", {
|
|
195
|
+
class: "v-img__error"
|
|
196
|
+
}, [o.error()])]
|
|
197
|
+
}) : null, A = () => e.gradient ? c("div", {
|
|
198
|
+
class: "v-img__gradient",
|
|
199
|
+
style: {
|
|
200
|
+
backgroundImage: `linear-gradient(${e.gradient})`
|
|
201
|
+
}
|
|
202
|
+
}, null) : null, w = g(!1);
|
|
203
|
+
{
|
|
204
|
+
const r = b(m, (t) => {
|
|
205
|
+
t && (requestAnimationFrame(() => {
|
|
206
|
+
requestAnimationFrame(() => {
|
|
207
|
+
w.value = !0;
|
|
208
|
+
});
|
|
209
|
+
}), r());
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
return oe(() => {
|
|
213
|
+
const r = N.filterProps(e);
|
|
214
|
+
return B(i(N, K({
|
|
215
|
+
class: ["v-img", {
|
|
216
|
+
"v-img--absolute": e.absolute,
|
|
217
|
+
"v-img--booting": !w.value,
|
|
218
|
+
"v-img--fit-content": e.width === "fit-content"
|
|
219
|
+
}, E.value, O.value, e.class],
|
|
220
|
+
style: [{
|
|
221
|
+
width: ue(e.width === "auto" ? s.value : e.width)
|
|
222
|
+
}, F.value, e.style]
|
|
223
|
+
}, r, {
|
|
224
|
+
aspectRatio: m.value,
|
|
225
|
+
"aria-label": e.alt,
|
|
226
|
+
role: e.alt ? "img" : void 0
|
|
227
|
+
}), {
|
|
228
|
+
additional: () => c(Q, null, [i(x, null, null), i(H, null, null), i(A, null, null), i(M, null, null), i(q, null, null)]),
|
|
229
|
+
default: o.default
|
|
230
|
+
}), [[W, {
|
|
231
|
+
handler: y,
|
|
232
|
+
options: e.options
|
|
233
|
+
}, null, {
|
|
234
|
+
once: !0
|
|
235
|
+
}]]);
|
|
236
|
+
}), {
|
|
237
|
+
currentSrc: z,
|
|
238
|
+
image: n,
|
|
239
|
+
state: a,
|
|
240
|
+
naturalWidth: s,
|
|
241
|
+
naturalHeight: f
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
export {
|
|
246
|
+
Ie as VImg,
|
|
247
|
+
ce as makeVImgProps
|
|
248
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { createVNode as f, mergeProps as m } from "vue";
|
|
2
|
+
import { useLocale as s } from "../../composables/locale.mjs";
|
|
3
|
+
import { VIcon as I } from "../VIcon/VIcon.mjs";
|
|
4
|
+
import { callEvent as y } from "../../util/helpers.mjs";
|
|
5
|
+
function b(e) {
|
|
6
|
+
const {
|
|
7
|
+
t: c
|
|
8
|
+
} = s();
|
|
9
|
+
function p(i) {
|
|
10
|
+
let {
|
|
11
|
+
name: o,
|
|
12
|
+
color: l,
|
|
13
|
+
...a
|
|
14
|
+
} = i;
|
|
15
|
+
const r = {
|
|
16
|
+
prepend: "prependAction",
|
|
17
|
+
prependInner: "prependAction",
|
|
18
|
+
append: "appendAction",
|
|
19
|
+
appendInner: "appendAction",
|
|
20
|
+
clear: "clear"
|
|
21
|
+
}[o], t = e[`onClick:${o}`];
|
|
22
|
+
function u(n) {
|
|
23
|
+
n.key !== "Enter" && n.key !== " " || (n.preventDefault(), n.stopPropagation(), y(t, new PointerEvent("click", n)));
|
|
24
|
+
}
|
|
25
|
+
const d = t && r ? c(`$vuetify.input.${r}`, e.label ?? "") : void 0;
|
|
26
|
+
return f(I, m({
|
|
27
|
+
icon: e[`${o}Icon`],
|
|
28
|
+
"aria-label": d,
|
|
29
|
+
onClick: t,
|
|
30
|
+
onKeydown: u,
|
|
31
|
+
color: l
|
|
32
|
+
}, a), null);
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
InputIcon: p
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
b as useInputIcon
|
|
40
|
+
};
|