bt-core-app 2.2.10 → 2.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/VAlert.sass.mjs +1 -0
- package/dist/_virtual/VAvatar.sass.mjs +1 -0
- package/dist/_virtual/VBtn.sass.mjs +1 -0
- package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
- package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
- package/dist/_virtual/VCard.sass.mjs +1 -0
- package/dist/_virtual/VCheckbox.sass.mjs +1 -0
- package/dist/_virtual/VChip.sass.mjs +1 -0
- package/dist/_virtual/VChipGroup.sass.mjs +1 -0
- package/dist/_virtual/VColorPicker.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
- package/dist/_virtual/VCombobox.sass.mjs +1 -0
- package/dist/_virtual/VContainer.sass.mjs +1 -0
- package/dist/_virtual/VCounter.sass.mjs +1 -0
- package/dist/_virtual/VDialog.sass.mjs +1 -0
- package/dist/_virtual/VDivider.sass.mjs +1 -0
- package/dist/_virtual/VField.sass.mjs +1 -0
- package/dist/_virtual/VGrid.sass.mjs +1 -0
- package/dist/_virtual/VIcon.sass.mjs +1 -0
- package/dist/_virtual/VImg.sass.mjs +1 -0
- package/dist/_virtual/VInput.sass.mjs +1 -0
- package/dist/_virtual/VLabel.sass.mjs +1 -0
- package/dist/_virtual/VList.sass.mjs +1 -0
- package/dist/_virtual/VListItem.sass.mjs +1 -0
- package/dist/_virtual/VMenu.sass.mjs +1 -0
- package/dist/_virtual/VMessages.sass.mjs +1 -0
- package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
- package/dist/_virtual/VOverlay.sass.mjs +1 -0
- package/dist/_virtual/VPagination.sass.mjs +1 -0
- package/dist/_virtual/VPicker.sass.mjs +1 -0
- package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
- package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
- package/dist/_virtual/VRating.sass.mjs +1 -0
- package/dist/_virtual/VResponsive.sass.mjs +1 -0
- package/dist/_virtual/VRipple.sass.mjs +1 -0
- package/dist/_virtual/VSelect.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
- package/dist/_virtual/VSheet.sass.mjs +1 -0
- package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
- package/dist/_virtual/VSlider.sass.mjs +1 -0
- package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
- package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
- package/dist/_virtual/VSpacer.sass.mjs +1 -0
- package/dist/_virtual/VSwitch.sass.mjs +1 -0
- package/dist/_virtual/VTab.sass.mjs +1 -0
- package/dist/_virtual/VTable.sass.mjs +1 -0
- package/dist/_virtual/VTabs.sass.mjs +1 -0
- package/dist/_virtual/VTextField.sass.mjs +1 -0
- package/dist/_virtual/VTextarea.sass.mjs +1 -0
- package/dist/_virtual/VToolbar.sass.mjs +1 -0
- package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
- package/dist/_virtual/VWindow.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +120 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +224 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +8 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +408 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
- package/dist/components/BT-Assistant-Menu.vue.mjs +420 -407
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +52 -52
- package/dist/components/BT-Blade-Item.vue.mjs +110 -100
- package/dist/components/BT-Blade-Items.vue.mjs +1 -1
- package/dist/components/BT-Blade-Items.vue2.mjs +411 -399
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +641 -626
- package/dist/components/BT-Blade.vue.mjs +201 -192
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +144 -142
- package/dist/components/BT-Col.vue.mjs +17 -19
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
- package/dist/components/BT-Cron.vue.mjs +264 -249
- package/dist/components/BT-Date-Select.vue.mjs +46 -47
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
- package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
- package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
- package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
- package/dist/components/BT-Dialog-Select.vue.mjs +96 -85
- package/dist/components/BT-Divider.vue.mjs +20 -21
- package/dist/components/BT-Drag-Counter.vue.mjs +1 -1
- package/dist/components/BT-Drag-Counter.vue2.mjs +89 -89
- package/dist/components/BT-Entity.vue.mjs +82 -82
- package/dist/components/BT-Error.vue.mjs +26 -27
- package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
- package/dist/components/BT-Field-Date.vue.mjs +87 -84
- package/dist/components/BT-Field-Entity.vue.mjs +20 -16
- package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
- package/dist/components/BT-Field-Select.vue.mjs +32 -34
- package/dist/components/BT-Field-String.vue.mjs +54 -52
- package/dist/components/BT-Field-Switch.vue.mjs +44 -43
- package/dist/components/BT-Field-Tags.vue.mjs +57 -55
- package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
- package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
- package/dist/components/BT-Field.vue.mjs +39 -38
- package/dist/components/BT-Form-Builder.vue.mjs +346 -325
- package/dist/components/BT-Form-Field.vue.mjs +88 -81
- package/dist/components/BT-Form.vue.mjs +280 -269
- package/dist/components/BT-Header-Option.vue.mjs +21 -19
- package/dist/components/BT-Image-Select.vue.mjs +186 -177
- package/dist/components/BT-Json.vue.mjs +29 -30
- package/dist/components/BT-Loader.vue.mjs +32 -31
- package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
- package/dist/components/BT-Number.vue.mjs +1 -1
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +147 -144
- package/dist/components/BT-Select-List-Box.vue.mjs +287 -276
- package/dist/components/BT-Select-Simple.vue.mjs +21 -23
- package/dist/components/BT-Select.vue.mjs +36 -37
- package/dist/components/BT-Signature-Overlay.vue.mjs +113 -112
- package/dist/components/BT-Signature.vue.mjs +96 -96
- package/dist/components/BT-Slider.vue.mjs +109 -103
- package/dist/components/BT-Square-Check.vue.mjs +65 -65
- package/dist/components/BT-Status-Item.vue.mjs +18 -16
- package/dist/components/BT-Tags.vue.mjs +21 -22
- package/dist/components/BT-Tour.vue.mjs +69 -65
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { ref as C, computed as P, watch as V, onBeforeMount as S, createVNode as a, mergeProps as b, createElementVNode as s, Fragment as w } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VColorPicker.sass.mjs";
|
|
3
|
+
import { VColorPickerCanvas as g } from "./VColorPickerCanvas.mjs";
|
|
4
|
+
import { VColorPickerEdit as p } from "./VColorPickerEdit.mjs";
|
|
5
|
+
import { makeVColorPickerPreviewProps as B, VColorPickerPreview as H } from "./VColorPickerPreview.mjs";
|
|
6
|
+
import { VColorPickerSwatches as x } from "./VColorPickerSwatches.mjs";
|
|
7
|
+
import { makeVPickerProps as D, VPicker as h } from "../../labs/VPicker/VPicker.mjs";
|
|
8
|
+
import { provideDefaults as I } from "../../composables/defaults.mjs";
|
|
9
|
+
import { useProxiedModel as y } from "../../composables/proxiedModel.mjs";
|
|
10
|
+
import { modes as m, nullColor as A, extractColor as E } from "./util/index.mjs";
|
|
11
|
+
import { useRtl as N } from "../../composables/locale.mjs";
|
|
12
|
+
import { propsFactory as U } from "../../util/propsFactory.mjs";
|
|
13
|
+
import { pick as j } from "../../util/helpers.mjs";
|
|
14
|
+
import { defineComponent as M } from "../../util/defineComponent.mjs";
|
|
15
|
+
import { useRender as O } from "../../util/useRender.mjs";
|
|
16
|
+
import { HSVtoCSS as z, RGBtoHSV as F, parseColor as R } from "../../util/colorUtils.mjs";
|
|
17
|
+
import { consoleWarn as W } from "../../util/console.mjs";
|
|
18
|
+
const _ = U({
|
|
19
|
+
canvasHeight: {
|
|
20
|
+
type: [String, Number],
|
|
21
|
+
default: 150
|
|
22
|
+
},
|
|
23
|
+
disabled: Boolean,
|
|
24
|
+
dotSize: {
|
|
25
|
+
type: [Number, String],
|
|
26
|
+
default: 10
|
|
27
|
+
},
|
|
28
|
+
hideCanvas: Boolean,
|
|
29
|
+
hideSliders: Boolean,
|
|
30
|
+
hideInputs: Boolean,
|
|
31
|
+
mode: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: "rgba",
|
|
34
|
+
validator: (e) => Object.keys(m).includes(e)
|
|
35
|
+
},
|
|
36
|
+
modes: {
|
|
37
|
+
type: Array,
|
|
38
|
+
default: () => Object.keys(m),
|
|
39
|
+
validator: (e) => Array.isArray(e) && e.every((n) => Object.keys(m).includes(n))
|
|
40
|
+
},
|
|
41
|
+
showSwatches: Boolean,
|
|
42
|
+
readonly: Boolean,
|
|
43
|
+
swatches: Array,
|
|
44
|
+
swatchesMaxHeight: {
|
|
45
|
+
type: [Number, String],
|
|
46
|
+
default: 150
|
|
47
|
+
},
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: [Object, String]
|
|
50
|
+
},
|
|
51
|
+
...D({
|
|
52
|
+
hideHeader: !0
|
|
53
|
+
}),
|
|
54
|
+
...j(B(), ["hideEyeDropper", "eyeDropperIcon"])
|
|
55
|
+
}, "VColorPicker"), de = M({
|
|
56
|
+
name: "VColorPicker",
|
|
57
|
+
props: _(),
|
|
58
|
+
emits: {
|
|
59
|
+
"update:modelValue": (e) => !0,
|
|
60
|
+
"update:mode": (e) => !0
|
|
61
|
+
},
|
|
62
|
+
setup(e, n) {
|
|
63
|
+
let {
|
|
64
|
+
slots: f
|
|
65
|
+
} = n;
|
|
66
|
+
const r = y(e, "mode"), u = C(null), l = y(e, "modelValue", void 0, (o) => {
|
|
67
|
+
if (o == null || o === "")
|
|
68
|
+
return null;
|
|
69
|
+
let i;
|
|
70
|
+
try {
|
|
71
|
+
i = F(R(o));
|
|
72
|
+
} catch (k) {
|
|
73
|
+
return W(k), null;
|
|
74
|
+
}
|
|
75
|
+
return i;
|
|
76
|
+
}, (o) => o ? E(o, e.modelValue) : null), t = P(() => l.value ? {
|
|
77
|
+
...l.value,
|
|
78
|
+
h: u.value ?? l.value.h
|
|
79
|
+
} : null), {
|
|
80
|
+
rtlClasses: v
|
|
81
|
+
} = N();
|
|
82
|
+
let c = !0;
|
|
83
|
+
V(l, (o) => {
|
|
84
|
+
if (!c) {
|
|
85
|
+
c = !0;
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
o && (u.value = o.h);
|
|
89
|
+
}, {
|
|
90
|
+
immediate: !0
|
|
91
|
+
});
|
|
92
|
+
const d = (o) => {
|
|
93
|
+
c = !1, u.value = o.h, l.value = o;
|
|
94
|
+
};
|
|
95
|
+
return S(() => {
|
|
96
|
+
e.modes.includes(r.value) || (r.value = e.modes[0]);
|
|
97
|
+
}), I({
|
|
98
|
+
VSlider: {
|
|
99
|
+
color: void 0,
|
|
100
|
+
trackColor: void 0,
|
|
101
|
+
trackFillColor: void 0
|
|
102
|
+
}
|
|
103
|
+
}), O(() => {
|
|
104
|
+
const o = h.filterProps(e);
|
|
105
|
+
return a(h, b(o, {
|
|
106
|
+
class: ["v-color-picker", v.value, e.class],
|
|
107
|
+
style: [{
|
|
108
|
+
"--v-color-picker-color-hsv": z({
|
|
109
|
+
...t.value ?? A,
|
|
110
|
+
a: 1
|
|
111
|
+
})
|
|
112
|
+
}, e.style]
|
|
113
|
+
}), {
|
|
114
|
+
...f,
|
|
115
|
+
default: () => s(w, null, [!e.hideCanvas && a(g, {
|
|
116
|
+
key: "canvas",
|
|
117
|
+
color: t.value,
|
|
118
|
+
"onUpdate:color": d,
|
|
119
|
+
disabled: e.disabled,
|
|
120
|
+
readonly: e.readonly,
|
|
121
|
+
dotSize: e.dotSize,
|
|
122
|
+
width: e.width,
|
|
123
|
+
height: e.canvasHeight
|
|
124
|
+
}, null), (!e.hideSliders || !e.hideInputs) && s("div", {
|
|
125
|
+
key: "controls",
|
|
126
|
+
class: "v-color-picker__controls"
|
|
127
|
+
}, [!e.hideSliders && a(H, {
|
|
128
|
+
key: "preview",
|
|
129
|
+
color: t.value,
|
|
130
|
+
"onUpdate:color": d,
|
|
131
|
+
hideAlpha: !r.value.endsWith("a"),
|
|
132
|
+
disabled: e.disabled,
|
|
133
|
+
readonly: e.readonly,
|
|
134
|
+
hideEyeDropper: e.hideEyeDropper,
|
|
135
|
+
eyeDropperIcon: e.eyeDropperIcon
|
|
136
|
+
}, null), !e.hideInputs && a(p, {
|
|
137
|
+
key: "edit",
|
|
138
|
+
modes: e.modes,
|
|
139
|
+
mode: r.value,
|
|
140
|
+
"onUpdate:mode": (i) => r.value = i,
|
|
141
|
+
color: t.value,
|
|
142
|
+
"onUpdate:color": d,
|
|
143
|
+
disabled: e.disabled,
|
|
144
|
+
readonly: e.readonly
|
|
145
|
+
}, null)]), e.showSwatches && a(x, {
|
|
146
|
+
key: "swatches",
|
|
147
|
+
color: t.value,
|
|
148
|
+
"onUpdate:color": d,
|
|
149
|
+
maxHeight: e.swatchesMaxHeight,
|
|
150
|
+
swatches: e.swatches,
|
|
151
|
+
disabled: e.disabled,
|
|
152
|
+
readonly: e.readonly
|
|
153
|
+
}, null)])
|
|
154
|
+
});
|
|
155
|
+
}), {};
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
export {
|
|
159
|
+
de as VColorPicker,
|
|
160
|
+
_ as makeVColorPickerProps
|
|
161
|
+
};
|
package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { shallowRef as y, ref as P, toRef as N, computed as E, watch as g, onMounted as B, createElementVNode as C, normalizeClass as L, normalizeStyle as R } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VColorPickerCanvas.sass.mjs";
|
|
3
|
+
import { makeComponentProps as D } from "../../composables/component.mjs";
|
|
4
|
+
import { useResizeObserver as F } from "../../composables/resizeObserver.mjs";
|
|
5
|
+
import { clamp as h, convertToUnit as m, getEventCoordinates as I } from "../../util/helpers.mjs";
|
|
6
|
+
import { propsFactory as V } from "../../util/propsFactory.mjs";
|
|
7
|
+
import { defineComponent as $ } from "../../util/defineComponent.mjs";
|
|
8
|
+
import { useRender as O } from "../../util/useRender.mjs";
|
|
9
|
+
const T = V({
|
|
10
|
+
color: {
|
|
11
|
+
type: Object
|
|
12
|
+
},
|
|
13
|
+
disabled: Boolean,
|
|
14
|
+
readonly: Boolean,
|
|
15
|
+
dotSize: {
|
|
16
|
+
type: [Number, String],
|
|
17
|
+
default: 10
|
|
18
|
+
},
|
|
19
|
+
height: {
|
|
20
|
+
type: [Number, String],
|
|
21
|
+
default: 150
|
|
22
|
+
},
|
|
23
|
+
width: {
|
|
24
|
+
type: [Number, String],
|
|
25
|
+
default: 300
|
|
26
|
+
},
|
|
27
|
+
...D()
|
|
28
|
+
}, "VColorPickerCanvas"), J = $({
|
|
29
|
+
name: "VColorPickerCanvas",
|
|
30
|
+
props: T(),
|
|
31
|
+
emits: {
|
|
32
|
+
"update:color": (t) => !0,
|
|
33
|
+
"update:position": (t) => !0
|
|
34
|
+
},
|
|
35
|
+
setup(t, b) {
|
|
36
|
+
let {
|
|
37
|
+
emit: k
|
|
38
|
+
} = b;
|
|
39
|
+
const f = y(!1), r = P(), l = y(parseFloat(t.width)), u = y(parseFloat(t.height)), d = P({
|
|
40
|
+
x: 0,
|
|
41
|
+
y: 0
|
|
42
|
+
}), S = N(() => !t.disabled && !t.readonly), c = E({
|
|
43
|
+
get: () => d.value,
|
|
44
|
+
set(e) {
|
|
45
|
+
var a, i;
|
|
46
|
+
if (!r.value)
|
|
47
|
+
return;
|
|
48
|
+
const {
|
|
49
|
+
x: o,
|
|
50
|
+
y: n
|
|
51
|
+
} = e;
|
|
52
|
+
d.value = e, k("update:color", {
|
|
53
|
+
h: ((a = t.color) == null ? void 0 : a.h) ?? 0,
|
|
54
|
+
s: h(o, 0, l.value) / l.value,
|
|
55
|
+
v: 1 - h(n, 0, u.value) / u.value,
|
|
56
|
+
a: ((i = t.color) == null ? void 0 : i.a) ?? 1
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}), z = E(() => {
|
|
60
|
+
const {
|
|
61
|
+
x: e,
|
|
62
|
+
y: o
|
|
63
|
+
} = c.value, n = parseInt(t.dotSize, 10) / 2;
|
|
64
|
+
return {
|
|
65
|
+
width: m(t.dotSize),
|
|
66
|
+
height: m(t.dotSize),
|
|
67
|
+
transform: `translate(${m(e - n)}, ${m(o - n)})`
|
|
68
|
+
};
|
|
69
|
+
}), {
|
|
70
|
+
resizeRef: p
|
|
71
|
+
} = F((e) => {
|
|
72
|
+
var a;
|
|
73
|
+
if (!((a = p.el) != null && a.offsetParent))
|
|
74
|
+
return;
|
|
75
|
+
const {
|
|
76
|
+
width: o,
|
|
77
|
+
height: n
|
|
78
|
+
} = e[0].contentRect;
|
|
79
|
+
l.value = Math.round(o), u.value = Math.round(n);
|
|
80
|
+
});
|
|
81
|
+
function M(e, o, n) {
|
|
82
|
+
const {
|
|
83
|
+
left: a,
|
|
84
|
+
top: i,
|
|
85
|
+
width: _,
|
|
86
|
+
height: G
|
|
87
|
+
} = n;
|
|
88
|
+
c.value = {
|
|
89
|
+
x: h(e - a, 0, _),
|
|
90
|
+
y: h(o - i, 0, G)
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function x(e) {
|
|
94
|
+
e.type === "mousedown" && e.preventDefault(), S.value && (s(e), window.addEventListener("mousemove", s), window.addEventListener("mouseup", v), window.addEventListener("touchmove", s), window.addEventListener("touchend", v));
|
|
95
|
+
}
|
|
96
|
+
function s(e) {
|
|
97
|
+
if (!S.value || !r.value)
|
|
98
|
+
return;
|
|
99
|
+
f.value = !0;
|
|
100
|
+
const o = I(e);
|
|
101
|
+
M(o.clientX, o.clientY, r.value.getBoundingClientRect());
|
|
102
|
+
}
|
|
103
|
+
function v() {
|
|
104
|
+
window.removeEventListener("mousemove", s), window.removeEventListener("mouseup", v), window.removeEventListener("touchmove", s), window.removeEventListener("touchend", v);
|
|
105
|
+
}
|
|
106
|
+
function w() {
|
|
107
|
+
var i;
|
|
108
|
+
if (!r.value)
|
|
109
|
+
return;
|
|
110
|
+
const e = r.value, o = e.getContext("2d");
|
|
111
|
+
if (!o)
|
|
112
|
+
return;
|
|
113
|
+
const n = o.createLinearGradient(0, 0, e.width, 0);
|
|
114
|
+
n.addColorStop(0, "hsla(0, 0%, 100%, 1)"), n.addColorStop(1, `hsla(${((i = t.color) == null ? void 0 : i.h) ?? 0}, 100%, 50%, 1)`), o.fillStyle = n, o.fillRect(0, 0, e.width, e.height);
|
|
115
|
+
const a = o.createLinearGradient(0, 0, 0, e.height);
|
|
116
|
+
a.addColorStop(0, "hsla(0, 0%, 0%, 0)"), a.addColorStop(1, "hsla(0, 0%, 0%, 1)"), o.fillStyle = a, o.fillRect(0, 0, e.width, e.height);
|
|
117
|
+
}
|
|
118
|
+
return g(() => {
|
|
119
|
+
var e;
|
|
120
|
+
return (e = t.color) == null ? void 0 : e.h;
|
|
121
|
+
}, w, {
|
|
122
|
+
immediate: !0
|
|
123
|
+
}), g(() => [l.value, u.value], (e, o) => {
|
|
124
|
+
w(), d.value = {
|
|
125
|
+
x: c.value.x * e[0] / o[0],
|
|
126
|
+
y: c.value.y * e[1] / o[1]
|
|
127
|
+
};
|
|
128
|
+
}, {
|
|
129
|
+
flush: "post"
|
|
130
|
+
}), g(() => t.color, () => {
|
|
131
|
+
if (f.value) {
|
|
132
|
+
f.value = !1;
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
d.value = t.color ? {
|
|
136
|
+
x: t.color.s * l.value,
|
|
137
|
+
y: (1 - t.color.v) * u.value
|
|
138
|
+
} : {
|
|
139
|
+
x: 0,
|
|
140
|
+
y: 0
|
|
141
|
+
};
|
|
142
|
+
}, {
|
|
143
|
+
deep: !0,
|
|
144
|
+
immediate: !0
|
|
145
|
+
}), B(() => w()), O(() => C("div", {
|
|
146
|
+
ref: p,
|
|
147
|
+
class: L(["v-color-picker-canvas", t.class]),
|
|
148
|
+
style: R(t.style),
|
|
149
|
+
onMousedown: x,
|
|
150
|
+
onTouchstartPassive: x
|
|
151
|
+
}, [C("canvas", {
|
|
152
|
+
ref: r,
|
|
153
|
+
width: l.value,
|
|
154
|
+
height: u.value
|
|
155
|
+
}, null), t.color && C("div", {
|
|
156
|
+
class: L(["v-color-picker-canvas__dot", {
|
|
157
|
+
"v-color-picker-canvas__dot--disabled": t.disabled
|
|
158
|
+
}]),
|
|
159
|
+
style: R(z.value)
|
|
160
|
+
}, null)])), {};
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
export {
|
|
164
|
+
J as VColorPickerCanvas,
|
|
165
|
+
T as makeVColorPickerCanvasProps
|
|
166
|
+
};
|
package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { computed as s, createElementVNode as i, normalizeClass as C, normalizeStyle as g, createVNode as p, normalizeProps as V, guardReactiveProps as E } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VColorPickerEdit.sass.mjs";
|
|
3
|
+
import { makeComponentProps as h } from "../../composables/component.mjs";
|
|
4
|
+
import { useLocale as j } from "../../composables/locale.mjs";
|
|
5
|
+
import { modes as m, nullColor as z } from "./util/index.mjs";
|
|
6
|
+
import { VBtn as L } from "../VBtn/VBtn.mjs";
|
|
7
|
+
import { propsFactory as O } from "../../util/propsFactory.mjs";
|
|
8
|
+
import { defineComponent as $ } from "../../util/defineComponent.mjs";
|
|
9
|
+
import { useRender as x } from "../../util/useRender.mjs";
|
|
10
|
+
const A = (e) => {
|
|
11
|
+
let {
|
|
12
|
+
label: t,
|
|
13
|
+
...a
|
|
14
|
+
} = e;
|
|
15
|
+
return i("div", {
|
|
16
|
+
class: "v-color-picker-edit__input"
|
|
17
|
+
}, [i("input", V(E(a)), null), i("span", null, [t])]);
|
|
18
|
+
}, B = O({
|
|
19
|
+
color: Object,
|
|
20
|
+
disabled: Boolean,
|
|
21
|
+
readonly: Boolean,
|
|
22
|
+
mode: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: "rgba",
|
|
25
|
+
validator: (e) => Object.keys(m).includes(e)
|
|
26
|
+
},
|
|
27
|
+
modes: {
|
|
28
|
+
type: Array,
|
|
29
|
+
default: () => Object.keys(m),
|
|
30
|
+
validator: (e) => Array.isArray(e) && e.every((t) => Object.keys(m).includes(t))
|
|
31
|
+
},
|
|
32
|
+
...h()
|
|
33
|
+
}, "VColorPickerEdit"), w = $({
|
|
34
|
+
name: "VColorPickerEdit",
|
|
35
|
+
props: B(),
|
|
36
|
+
emits: {
|
|
37
|
+
"update:color": (e) => !0,
|
|
38
|
+
"update:mode": (e) => !0
|
|
39
|
+
},
|
|
40
|
+
setup(e, t) {
|
|
41
|
+
let {
|
|
42
|
+
emit: a
|
|
43
|
+
} = t;
|
|
44
|
+
const {
|
|
45
|
+
t: d
|
|
46
|
+
} = j(), l = s(() => e.modes.map((o) => ({
|
|
47
|
+
...m[o],
|
|
48
|
+
name: o
|
|
49
|
+
}))), f = s(() => {
|
|
50
|
+
var n;
|
|
51
|
+
const o = l.value.find((c) => c.name === e.mode);
|
|
52
|
+
if (!o)
|
|
53
|
+
return [];
|
|
54
|
+
const r = e.color ? o.to(e.color) : null;
|
|
55
|
+
return (n = o.inputs) == null ? void 0 : n.map((c) => {
|
|
56
|
+
let {
|
|
57
|
+
getValue: v,
|
|
58
|
+
getColor: y,
|
|
59
|
+
localeKey: b,
|
|
60
|
+
...k
|
|
61
|
+
} = c;
|
|
62
|
+
return {
|
|
63
|
+
...o.inputProps,
|
|
64
|
+
...k,
|
|
65
|
+
ariaLabel: d(`$vuetify.colorPicker.ariaLabel.${b}`),
|
|
66
|
+
disabled: e.disabled,
|
|
67
|
+
readonly: e.readonly,
|
|
68
|
+
value: r && v(r),
|
|
69
|
+
onChange: (P) => {
|
|
70
|
+
const u = P.target;
|
|
71
|
+
u && a("update:color", o.from(y(r ?? o.to(z), u.value)));
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
return x(() => {
|
|
77
|
+
var o;
|
|
78
|
+
return i("div", {
|
|
79
|
+
class: C(["v-color-picker-edit", e.class]),
|
|
80
|
+
style: g(e.style)
|
|
81
|
+
}, [(o = f.value) == null ? void 0 : o.map((r) => p(A, r, null)), l.value.length > 1 && p(L, {
|
|
82
|
+
icon: "$unfold",
|
|
83
|
+
size: "x-small",
|
|
84
|
+
variant: "plain",
|
|
85
|
+
"aria-label": d("$vuetify.colorPicker.ariaLabel.changeFormat"),
|
|
86
|
+
onClick: () => {
|
|
87
|
+
const r = l.value.findIndex((n) => n.name === e.mode);
|
|
88
|
+
a("update:mode", l.value[(r + 1) % l.value.length].name);
|
|
89
|
+
}
|
|
90
|
+
}, null)]);
|
|
91
|
+
}), {};
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
export {
|
|
95
|
+
w as VColorPickerEdit,
|
|
96
|
+
B as makeVColorPickerEditProps
|
|
97
|
+
};
|
package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { toRef as y, onUnmounted as k, createElementVNode as l, normalizeClass as b, normalizeStyle as h, createVNode as n } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VColorPickerPreview.sass.mjs";
|
|
3
|
+
import { makeComponentProps as f } from "../../composables/component.mjs";
|
|
4
|
+
import { IconValue as w } from "../../composables/icons.mjs";
|
|
5
|
+
import { useLocale as P } from "../../composables/locale.mjs";
|
|
6
|
+
import { nullColor as a } from "./util/index.mjs";
|
|
7
|
+
import { SUPPORTS_EYE_DROPPER as m } from "../../util/globals.mjs";
|
|
8
|
+
import { VBtn as V } from "../VBtn/VBtn.mjs";
|
|
9
|
+
import { HSVtoCSS as _, RGBtoHSV as C, parseColor as S } from "../../util/colorUtils.mjs";
|
|
10
|
+
import { VSlider as p } from "../VSlider/VSlider.mjs";
|
|
11
|
+
import { propsFactory as D } from "../../util/propsFactory.mjs";
|
|
12
|
+
import { defineComponent as E } from "../../util/defineComponent.mjs";
|
|
13
|
+
import { useRender as B } from "../../util/useRender.mjs";
|
|
14
|
+
const R = D({
|
|
15
|
+
color: {
|
|
16
|
+
type: Object
|
|
17
|
+
},
|
|
18
|
+
disabled: Boolean,
|
|
19
|
+
readonly: Boolean,
|
|
20
|
+
hideAlpha: Boolean,
|
|
21
|
+
hideEyeDropper: Boolean,
|
|
22
|
+
eyeDropperIcon: {
|
|
23
|
+
type: w,
|
|
24
|
+
default: "$eyeDropper"
|
|
25
|
+
},
|
|
26
|
+
...f()
|
|
27
|
+
}, "VColorPickerPreview"), j = E({
|
|
28
|
+
name: "VColorPickerPreview",
|
|
29
|
+
props: R(),
|
|
30
|
+
emits: {
|
|
31
|
+
"update:color": (e) => !0
|
|
32
|
+
},
|
|
33
|
+
setup(e, s) {
|
|
34
|
+
let {
|
|
35
|
+
emit: t
|
|
36
|
+
} = s;
|
|
37
|
+
const {
|
|
38
|
+
t: c
|
|
39
|
+
} = P(), d = new AbortController(), u = y(() => !e.disabled && !e.readonly);
|
|
40
|
+
k(() => d.abort());
|
|
41
|
+
async function v() {
|
|
42
|
+
if (!m || !u.value)
|
|
43
|
+
return;
|
|
44
|
+
const i = new window.EyeDropper();
|
|
45
|
+
try {
|
|
46
|
+
const o = await i.open({
|
|
47
|
+
signal: d.signal
|
|
48
|
+
}), r = C(S(o.sRGBHex));
|
|
49
|
+
t("update:color", {
|
|
50
|
+
...e.color ?? a,
|
|
51
|
+
...r
|
|
52
|
+
});
|
|
53
|
+
} catch {
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return B(() => {
|
|
57
|
+
var i, o;
|
|
58
|
+
return l("div", {
|
|
59
|
+
class: b(["v-color-picker-preview", {
|
|
60
|
+
"v-color-picker-preview--hide-alpha": e.hideAlpha
|
|
61
|
+
}, e.class]),
|
|
62
|
+
style: h(e.style)
|
|
63
|
+
}, [m && !e.hideEyeDropper && l("div", {
|
|
64
|
+
class: "v-color-picker-preview__eye-dropper",
|
|
65
|
+
key: "eyeDropper"
|
|
66
|
+
}, [n(V, {
|
|
67
|
+
"aria-label": c("$vuetify.colorPicker.ariaLabel.eyedropper"),
|
|
68
|
+
density: "comfortable",
|
|
69
|
+
disabled: e.disabled,
|
|
70
|
+
readonly: e.readonly,
|
|
71
|
+
icon: e.eyeDropperIcon,
|
|
72
|
+
variant: "plain",
|
|
73
|
+
onClick: v
|
|
74
|
+
}, null)]), l("div", {
|
|
75
|
+
class: "v-color-picker-preview__dot"
|
|
76
|
+
}, [l("div", {
|
|
77
|
+
style: {
|
|
78
|
+
background: _(e.color ?? a)
|
|
79
|
+
}
|
|
80
|
+
}, null)]), l("div", {
|
|
81
|
+
class: "v-color-picker-preview__sliders"
|
|
82
|
+
}, [n(p, {
|
|
83
|
+
class: "v-color-picker-preview__track v-color-picker-preview__hue",
|
|
84
|
+
"aria-label": c("$vuetify.colorPicker.ariaLabel.hueSlider"),
|
|
85
|
+
modelValue: (i = e.color) == null ? void 0 : i.h,
|
|
86
|
+
"onUpdate:modelValue": (r) => t("update:color", {
|
|
87
|
+
...e.color ?? a,
|
|
88
|
+
h: r
|
|
89
|
+
}),
|
|
90
|
+
step: 1,
|
|
91
|
+
min: 0,
|
|
92
|
+
max: 360,
|
|
93
|
+
disabled: e.disabled,
|
|
94
|
+
readonly: e.readonly,
|
|
95
|
+
thumbSize: 14,
|
|
96
|
+
trackSize: 8,
|
|
97
|
+
trackFillColor: "white",
|
|
98
|
+
hideDetails: !0
|
|
99
|
+
}, null), !e.hideAlpha && n(p, {
|
|
100
|
+
class: "v-color-picker-preview__track v-color-picker-preview__alpha",
|
|
101
|
+
"aria-label": c("$vuetify.colorPicker.ariaLabel.alphaSlider"),
|
|
102
|
+
modelValue: ((o = e.color) == null ? void 0 : o.a) ?? 1,
|
|
103
|
+
"onUpdate:modelValue": (r) => t("update:color", {
|
|
104
|
+
...e.color ?? a,
|
|
105
|
+
a: r
|
|
106
|
+
}),
|
|
107
|
+
step: 0.01,
|
|
108
|
+
min: 0,
|
|
109
|
+
max: 1,
|
|
110
|
+
disabled: e.disabled,
|
|
111
|
+
readonly: e.readonly,
|
|
112
|
+
thumbSize: 14,
|
|
113
|
+
trackSize: 8,
|
|
114
|
+
trackFillColor: "white",
|
|
115
|
+
hideDetails: !0
|
|
116
|
+
}, null)])]);
|
|
117
|
+
}), {};
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
export {
|
|
121
|
+
j as VColorPickerPreview,
|
|
122
|
+
R as makeVColorPickerPreviewProps
|
|
123
|
+
};
|
package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { toRef as h, createElementVNode as t, normalizeClass as n, normalizeStyle as u, createVNode as k } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VColorPickerSwatches.sass.mjs";
|
|
3
|
+
import { makeComponentProps as p } from "../../composables/component.mjs";
|
|
4
|
+
import f from "../../util/colors.mjs";
|
|
5
|
+
import { VIcon as w } from "../VIcon/VIcon.mjs";
|
|
6
|
+
import { parseColor as b, RGBtoHSV as C, getContrast as g, RGBtoCSS as v } from "../../util/colorUtils.mjs";
|
|
7
|
+
import { propsFactory as y } from "../../util/propsFactory.mjs";
|
|
8
|
+
import { defineComponent as S } from "../../util/defineComponent.mjs";
|
|
9
|
+
import { useRender as V } from "../../util/useRender.mjs";
|
|
10
|
+
import { convertToUnit as F } from "../../util/helpers.mjs";
|
|
11
|
+
import { deepEqual as P } from "../../util/deepEqual.mjs";
|
|
12
|
+
const _ = y({
|
|
13
|
+
swatches: {
|
|
14
|
+
type: Array,
|
|
15
|
+
default: () => x(f)
|
|
16
|
+
},
|
|
17
|
+
disabled: Boolean,
|
|
18
|
+
readonly: Boolean,
|
|
19
|
+
color: Object,
|
|
20
|
+
maxHeight: [Number, String],
|
|
21
|
+
...p()
|
|
22
|
+
}, "VColorPickerSwatches");
|
|
23
|
+
function x(o) {
|
|
24
|
+
return Object.keys(o).map((a) => {
|
|
25
|
+
const e = o[a];
|
|
26
|
+
return e.base ? [e.base, e.darken4, e.darken3, e.darken2, e.darken1, e.lighten1, e.lighten2, e.lighten3, e.lighten4, e.lighten5] : [e.black, e.white, e.transparent];
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
const A = S({
|
|
30
|
+
name: "VColorPickerSwatches",
|
|
31
|
+
props: _(),
|
|
32
|
+
emits: {
|
|
33
|
+
"update:color": (o) => !0
|
|
34
|
+
},
|
|
35
|
+
setup(o, a) {
|
|
36
|
+
let {
|
|
37
|
+
emit: e
|
|
38
|
+
} = a;
|
|
39
|
+
const s = h(() => !o.disabled && !o.readonly);
|
|
40
|
+
function m(r) {
|
|
41
|
+
!s.value || !r || e("update:color", r);
|
|
42
|
+
}
|
|
43
|
+
return V(() => t("div", {
|
|
44
|
+
class: n(["v-color-picker-swatches", o.class]),
|
|
45
|
+
style: u([{
|
|
46
|
+
maxHeight: F(o.maxHeight)
|
|
47
|
+
}, o.style])
|
|
48
|
+
}, [t("div", null, [o.swatches.map((r) => t("div", {
|
|
49
|
+
class: "v-color-picker-swatches__swatch"
|
|
50
|
+
}, [r.map((c) => {
|
|
51
|
+
const l = b(c), i = C(l), d = v(l);
|
|
52
|
+
return t("div", {
|
|
53
|
+
class: n(["v-color-picker-swatches__color", {
|
|
54
|
+
"v-color-picker-swatches__color--disabled": o.disabled
|
|
55
|
+
}]),
|
|
56
|
+
onClick: () => m(i)
|
|
57
|
+
}, [t("div", {
|
|
58
|
+
style: {
|
|
59
|
+
background: d
|
|
60
|
+
}
|
|
61
|
+
}, [o.color && P(o.color, i) ? k(w, {
|
|
62
|
+
size: "x-small",
|
|
63
|
+
icon: "$success",
|
|
64
|
+
color: g(c, "#FFFFFF") > 2 ? "white" : "black"
|
|
65
|
+
}, null) : void 0])]);
|
|
66
|
+
})]))])])), {};
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
export {
|
|
70
|
+
A as VColorPickerSwatches,
|
|
71
|
+
_ as makeVColorPickerSwatchesProps
|
|
72
|
+
};
|