bt-core-app 2.2.9 → 2.2.10
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/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +45 -70
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +40 -73
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +4 -12
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +6 -13
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +28 -408
- package/dist/components/BT-Assistant-Menu.vue.mjs +407 -420
- 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 +100 -110
- package/dist/components/BT-Blade-Items.vue.mjs +1 -1
- package/dist/components/BT-Blade-Items.vue2.mjs +399 -411
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +626 -641
- package/dist/components/BT-Blade.vue.mjs +192 -201
- package/dist/components/BT-Btn.vue.mjs +25 -23
- package/dist/components/BT-Camera-Overlay.vue.mjs +142 -144
- package/dist/components/BT-Col.vue.mjs +19 -17
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +49 -51
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +173 -180
- package/dist/components/BT-Cron.vue.mjs +249 -264
- package/dist/components/BT-Date-Select.vue.mjs +47 -46
- 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 +19 -22
- package/dist/components/BT-Dialog-Number.vue.mjs +121 -125
- package/dist/components/BT-Dialog-Select.vue.mjs +85 -96
- package/dist/components/BT-Divider.vue.mjs +21 -20
- 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 +27 -26
- package/dist/components/BT-Field-Checkbox.vue.mjs +31 -30
- package/dist/components/BT-Field-Date.vue.mjs +84 -87
- package/dist/components/BT-Field-Entity.vue.mjs +16 -20
- package/dist/components/BT-Field-Select-Simple.vue.mjs +26 -24
- package/dist/components/BT-Field-Select.vue.mjs +34 -32
- package/dist/components/BT-Field-String.vue.mjs +52 -54
- package/dist/components/BT-Field-Switch.vue.mjs +43 -44
- package/dist/components/BT-Field-Tags.vue.mjs +55 -57
- package/dist/components/BT-Field-Textarea.vue.mjs +43 -44
- package/dist/components/BT-Field-Trigger.vue.mjs +270 -276
- package/dist/components/BT-Field.vue.mjs +38 -39
- package/dist/components/BT-Form-Builder.vue.mjs +325 -346
- package/dist/components/BT-Form-Field.vue.mjs +81 -88
- package/dist/components/BT-Form.vue.mjs +269 -280
- package/dist/components/BT-Header-Option.vue.mjs +19 -21
- package/dist/components/BT-Image-Select.vue.mjs +177 -186
- package/dist/components/BT-Json.vue.mjs +30 -29
- package/dist/components/BT-Loader.vue.mjs +31 -32
- package/dist/components/BT-Nav-Sidebar.vue.mjs +124 -130
- package/dist/components/BT-Number.vue.mjs +1 -1
- package/dist/components/BT-Number.vue2.mjs +19 -17
- package/dist/components/BT-Numpad.vue.mjs +144 -147
- package/dist/components/BT-Select-List-Box.vue.mjs +276 -287
- package/dist/components/BT-Select-Simple.vue.mjs +23 -21
- package/dist/components/BT-Select.vue.mjs +37 -36
- package/dist/components/BT-Signature-Overlay.vue.mjs +112 -113
- package/dist/components/BT-Signature.vue.mjs +96 -96
- package/dist/components/BT-Slider.vue.mjs +103 -109
- package/dist/components/BT-Square-Check.vue.mjs +65 -65
- package/dist/components/BT-Status-Item.vue.mjs +16 -18
- package/dist/components/BT-Tags.vue.mjs +22 -21
- package/dist/components/BT-Tour.vue.mjs +65 -69
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/_virtual/VAlert.sass.mjs +0 -1
- package/dist/_virtual/VAvatar.sass.mjs +0 -1
- package/dist/_virtual/VBtn.sass.mjs +0 -1
- package/dist/_virtual/VBtnGroup.sass.mjs +0 -1
- package/dist/_virtual/VBtnToggle.sass.mjs +0 -1
- package/dist/_virtual/VCard.sass.mjs +0 -1
- package/dist/_virtual/VCheckbox.sass.mjs +0 -1
- package/dist/_virtual/VChip.sass.mjs +0 -1
- package/dist/_virtual/VChipGroup.sass.mjs +0 -1
- package/dist/_virtual/VColorPicker.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerEdit.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerPreview.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +0 -1
- package/dist/_virtual/VCombobox.sass.mjs +0 -1
- package/dist/_virtual/VContainer.sass.mjs +0 -1
- package/dist/_virtual/VCounter.sass.mjs +0 -1
- package/dist/_virtual/VDialog.sass.mjs +0 -1
- package/dist/_virtual/VDivider.sass.mjs +0 -1
- package/dist/_virtual/VField.sass.mjs +0 -1
- package/dist/_virtual/VGrid.sass.mjs +0 -1
- package/dist/_virtual/VIcon.sass.mjs +0 -1
- package/dist/_virtual/VImg.sass.mjs +0 -1
- package/dist/_virtual/VInput.sass.mjs +0 -1
- package/dist/_virtual/VLabel.sass.mjs +0 -1
- package/dist/_virtual/VList.sass.mjs +0 -1
- package/dist/_virtual/VListItem.sass.mjs +0 -1
- package/dist/_virtual/VMenu.sass.mjs +0 -1
- package/dist/_virtual/VMessages.sass.mjs +0 -1
- package/dist/_virtual/VNavigationDrawer.sass.mjs +0 -1
- package/dist/_virtual/VOverlay.sass.mjs +0 -1
- package/dist/_virtual/VPagination.sass.mjs +0 -1
- package/dist/_virtual/VPicker.sass.mjs +0 -1
- package/dist/_virtual/VProgressCircular.sass.mjs +0 -1
- package/dist/_virtual/VProgressLinear.sass.mjs +0 -1
- package/dist/_virtual/VRating.sass.mjs +0 -1
- package/dist/_virtual/VResponsive.sass.mjs +0 -1
- package/dist/_virtual/VRipple.sass.mjs +0 -1
- package/dist/_virtual/VSelect.sass.mjs +0 -1
- package/dist/_virtual/VSelectionControl.sass.mjs +0 -1
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +0 -1
- package/dist/_virtual/VSheet.sass.mjs +0 -1
- package/dist/_virtual/VSlideGroup.sass.mjs +0 -1
- package/dist/_virtual/VSlider.sass.mjs +0 -1
- package/dist/_virtual/VSliderThumb.sass.mjs +0 -1
- package/dist/_virtual/VSliderTrack.sass.mjs +0 -1
- package/dist/_virtual/VSpacer.sass.mjs +0 -1
- package/dist/_virtual/VSwitch.sass.mjs +0 -1
- package/dist/_virtual/VTab.sass.mjs +0 -1
- package/dist/_virtual/VTable.sass.mjs +0 -1
- package/dist/_virtual/VTabs.sass.mjs +0 -1
- package/dist/_virtual/VTextField.sass.mjs +0 -1
- package/dist/_virtual/VTextarea.sass.mjs +0 -1
- package/dist/_virtual/VToolbar.sass.mjs +0 -1
- package/dist/_virtual/VVirtualScroll.sass.mjs +0 -1
- package/dist/_virtual/VWindow.sass.mjs +0 -1
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +0 -196
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +0 -92
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +0 -220
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +0 -68
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +0 -57
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +0 -180
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +0 -32
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +0 -118
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +0 -74
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +0 -263
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +0 -87
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +0 -161
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +0 -166
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +0 -97
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +0 -123
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +0 -72
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +0 -193
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +0 -501
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +0 -51
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +0 -39
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +0 -103
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +0 -82
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +0 -295
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +0 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +0 -98
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +0 -41
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +0 -104
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +0 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +0 -41
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +0 -77
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +0 -248
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +0 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +0 -154
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +0 -36
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +0 -281
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +0 -104
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +0 -129
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +0 -312
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +0 -50
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +0 -38
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +0 -132
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +0 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +0 -55
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +0 -247
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +0 -44
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +0 -100
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +0 -291
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +0 -292
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +0 -15
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +0 -91
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +0 -179
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +0 -42
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +0 -315
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +0 -129
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +0 -195
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +0 -217
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +0 -56
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +0 -475
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +0 -57
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +0 -183
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +0 -106
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +0 -61
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +0 -287
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +0 -54
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +0 -159
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +0 -176
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +0 -109
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +0 -242
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +0 -172
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +0 -66
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +0 -126
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +0 -153
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +0 -48
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +0 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +0 -204
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +0 -258
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +0 -167
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +0 -38
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +0 -37
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +0 -106
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +0 -47
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +0 -211
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +0 -93
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +0 -113
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +0 -136
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +0 -52
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +0 -22
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +0 -14
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +0 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +0 -69
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +0 -11
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +0 -34
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +0 -20
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +0 -23
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +0 -32
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +0 -25
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +0 -125
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +0 -31
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +0 -54
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +0 -97
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +0 -112
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +0 -78
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +0 -86
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +0 -169
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +0 -20
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +0 -24
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +0 -43
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +0 -120
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +0 -38
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +0 -22
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +0 -49
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +0 -24
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +0 -102
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +0 -315
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +0 -60
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +0 -206
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +0 -22
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +0 -35
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +0 -15
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +0 -26
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +0 -30
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +0 -97
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +0 -12
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +0 -16
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +0 -27
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +0 -17
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +0 -39
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +0 -10
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +0 -32
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +0 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +0 -73
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +0 -34
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +0 -139
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +0 -164
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +0 -62
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +0 -41
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +0 -183
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +0 -89
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +0 -77
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +0 -15
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +0 -44
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +0 -36
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +0 -73
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +0 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +0 -16
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +0 -224
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +0 -31
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +0 -37
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +0 -14
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +0 -23
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +0 -34
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +0 -8
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +0 -11
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +0 -25
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +0 -8
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import { toRef as I, computed as q, watch as H, withDirectives as V, createVNode as n, mergeProps as g, createElementVNode as i, vShow as J, Fragment as P, toDisplayString as Q } from "vue";
|
|
2
|
-
import "../../../../../../../_virtual/VChip.sass.mjs";
|
|
3
|
-
import { VExpandXTransition as U } from "../transitions/index.mjs";
|
|
4
|
-
import { VChipGroupSymbol as W } from "../VChipGroup/VChipGroup.mjs";
|
|
5
|
-
import { VSlideGroupSymbol as Y } from "../VSlideGroup/VSlideGroup.mjs";
|
|
6
|
-
import { makeBorderProps as Z, useBorder as ee } from "../../composables/border.mjs";
|
|
7
|
-
import { makeComponentProps as ae } from "../../composables/component.mjs";
|
|
8
|
-
import { makeDensityProps as le, useDensity as te } from "../../composables/density.mjs";
|
|
9
|
-
import { makeElevationProps as ne, useElevation as ie } from "../../composables/elevation.mjs";
|
|
10
|
-
import { makeGroupItemProps as oe, useGroupItem as S } from "../../composables/group.mjs";
|
|
11
|
-
import { IconValue as u } from "../../composables/icons.mjs";
|
|
12
|
-
import { useLocale as ce } from "../../composables/locale.mjs";
|
|
13
|
-
import { useProxiedModel as se } from "../../composables/proxiedModel.mjs";
|
|
14
|
-
import { makeRoundedProps as re, useRounded as de } from "../../composables/rounded.mjs";
|
|
15
|
-
import { makeRouterProps as ue, useLink as me } from "../../composables/router.mjs";
|
|
16
|
-
import { makeSizeProps as ve, useSize as fe } from "../../composables/size.mjs";
|
|
17
|
-
import { makeTagProps as ke } from "../../composables/tag.mjs";
|
|
18
|
-
import { makeThemeProps as pe, provideTheme as ye } from "../../composables/theme.mjs";
|
|
19
|
-
import { makeVariantProps as be, useVariant as Ce, genOverlays as he } from "../../composables/variant.mjs";
|
|
20
|
-
import A from "../../directives/ripple/index.mjs";
|
|
21
|
-
import { VIcon as m } from "../VIcon/VIcon.mjs";
|
|
22
|
-
import { VDefaultsProvider as v } from "../VDefaultsProvider/VDefaultsProvider.mjs";
|
|
23
|
-
import { VAvatar as B } from "../VAvatar/VAvatar.mjs";
|
|
24
|
-
import { propsFactory as Ie } from "../../util/propsFactory.mjs";
|
|
25
|
-
import { EventProp as _ } from "../../util/helpers.mjs";
|
|
26
|
-
import { genericComponent as Ve } from "../../util/defineComponent.mjs";
|
|
27
|
-
const ge = Ie({
|
|
28
|
-
activeClass: String,
|
|
29
|
-
appendAvatar: String,
|
|
30
|
-
appendIcon: u,
|
|
31
|
-
baseColor: String,
|
|
32
|
-
closable: Boolean,
|
|
33
|
-
closeIcon: {
|
|
34
|
-
type: u,
|
|
35
|
-
default: "$delete"
|
|
36
|
-
},
|
|
37
|
-
closeLabel: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: "$vuetify.close"
|
|
40
|
-
},
|
|
41
|
-
draggable: Boolean,
|
|
42
|
-
filter: Boolean,
|
|
43
|
-
filterIcon: {
|
|
44
|
-
type: u,
|
|
45
|
-
default: "$complete"
|
|
46
|
-
},
|
|
47
|
-
label: Boolean,
|
|
48
|
-
link: {
|
|
49
|
-
type: Boolean,
|
|
50
|
-
default: void 0
|
|
51
|
-
},
|
|
52
|
-
pill: Boolean,
|
|
53
|
-
prependAvatar: String,
|
|
54
|
-
prependIcon: u,
|
|
55
|
-
ripple: {
|
|
56
|
-
type: [Boolean, Object],
|
|
57
|
-
default: !0
|
|
58
|
-
},
|
|
59
|
-
text: {
|
|
60
|
-
type: [String, Number, Boolean],
|
|
61
|
-
default: void 0
|
|
62
|
-
},
|
|
63
|
-
modelValue: {
|
|
64
|
-
type: Boolean,
|
|
65
|
-
default: !0
|
|
66
|
-
},
|
|
67
|
-
onClick: _(),
|
|
68
|
-
onClickOnce: _(),
|
|
69
|
-
...Z(),
|
|
70
|
-
...ae(),
|
|
71
|
-
...le(),
|
|
72
|
-
...ne(),
|
|
73
|
-
...oe(),
|
|
74
|
-
...re(),
|
|
75
|
-
...ue(),
|
|
76
|
-
...ve(),
|
|
77
|
-
...ke({
|
|
78
|
-
tag: "span"
|
|
79
|
-
}),
|
|
80
|
-
...pe(),
|
|
81
|
-
...be({
|
|
82
|
-
variant: "tonal"
|
|
83
|
-
})
|
|
84
|
-
}, "VChip"), Ue = Ve()({
|
|
85
|
-
name: "VChip",
|
|
86
|
-
directives: {
|
|
87
|
-
vRipple: A
|
|
88
|
-
},
|
|
89
|
-
props: ge(),
|
|
90
|
-
emits: {
|
|
91
|
-
"click:close": (e) => !0,
|
|
92
|
-
"update:modelValue": (e) => !0,
|
|
93
|
-
"group:selected": (e) => !0,
|
|
94
|
-
click: (e) => !0
|
|
95
|
-
},
|
|
96
|
-
setup(e, x) {
|
|
97
|
-
let {
|
|
98
|
-
attrs: D,
|
|
99
|
-
emit: k,
|
|
100
|
-
slots: t
|
|
101
|
-
} = x;
|
|
102
|
-
const {
|
|
103
|
-
t: w
|
|
104
|
-
} = ce(), {
|
|
105
|
-
borderClasses: L
|
|
106
|
-
} = ee(e), {
|
|
107
|
-
densityClasses: E
|
|
108
|
-
} = te(e), {
|
|
109
|
-
elevationClasses: z
|
|
110
|
-
} = ie(e), {
|
|
111
|
-
roundedClasses: R
|
|
112
|
-
} = de(e), {
|
|
113
|
-
sizeClasses: T
|
|
114
|
-
} = fe(e), {
|
|
115
|
-
themeClasses: $
|
|
116
|
-
} = ye(e), f = se(e, "modelValue"), a = S(e, W, !1), o = S(e, Y, !1), c = me(e, D), F = I(() => e.link !== !1 && c.isLink.value), s = q(() => !e.disabled && e.link !== !1 && (!!a || e.link || c.isClickable.value)), M = I(() => ({
|
|
117
|
-
"aria-label": w(e.closeLabel),
|
|
118
|
-
disabled: e.disabled,
|
|
119
|
-
onClick(l) {
|
|
120
|
-
l.preventDefault(), l.stopPropagation(), f.value = !1, k("click:close", l);
|
|
121
|
-
}
|
|
122
|
-
}));
|
|
123
|
-
H(f, (l) => {
|
|
124
|
-
l ? (a == null || a.register(), o == null || o.register()) : (a == null || a.unregister(), o == null || o.unregister());
|
|
125
|
-
});
|
|
126
|
-
const {
|
|
127
|
-
colorClasses: N,
|
|
128
|
-
colorStyles: O,
|
|
129
|
-
variantClasses: K
|
|
130
|
-
} = Ce(() => ({
|
|
131
|
-
color: !a || a.isSelected.value ? e.color ?? e.baseColor : e.baseColor,
|
|
132
|
-
variant: e.variant
|
|
133
|
-
}));
|
|
134
|
-
function p(l) {
|
|
135
|
-
var r, d;
|
|
136
|
-
k("click", l), s.value && ((d = (r = c.navigate).value) == null || d.call(r, l), a == null || a.toggle());
|
|
137
|
-
}
|
|
138
|
-
function j(l) {
|
|
139
|
-
(l.key === "Enter" || l.key === " ") && (l.preventDefault(), p(l));
|
|
140
|
-
}
|
|
141
|
-
return () => {
|
|
142
|
-
var C;
|
|
143
|
-
const l = c.isLink.value ? "a" : e.tag, r = !!(e.appendIcon || e.appendAvatar), d = !!(r || t.append), G = !!(t.close || e.closable), y = !!(t.filter || e.filter) && a, b = !!(e.prependIcon || e.prependAvatar), X = !!(b || t.prepend);
|
|
144
|
-
return f.value && V(n(l, g(c.linkProps, {
|
|
145
|
-
class: ["v-chip", {
|
|
146
|
-
"v-chip--disabled": e.disabled,
|
|
147
|
-
"v-chip--label": e.label,
|
|
148
|
-
"v-chip--link": s.value,
|
|
149
|
-
"v-chip--filter": y,
|
|
150
|
-
"v-chip--pill": e.pill,
|
|
151
|
-
[`${e.activeClass}`]: e.activeClass && ((C = c.isActive) == null ? void 0 : C.value)
|
|
152
|
-
}, $.value, L.value, N.value, E.value, z.value, R.value, T.value, K.value, a == null ? void 0 : a.selectedClass.value, e.class],
|
|
153
|
-
style: [O.value, e.style],
|
|
154
|
-
disabled: e.disabled || void 0,
|
|
155
|
-
draggable: e.draggable,
|
|
156
|
-
tabindex: s.value ? 0 : void 0,
|
|
157
|
-
onClick: p,
|
|
158
|
-
onKeydown: s.value && !F.value && j
|
|
159
|
-
}), {
|
|
160
|
-
default: () => {
|
|
161
|
-
var h;
|
|
162
|
-
return [he(s.value, "v-chip"), y && n(U, {
|
|
163
|
-
key: "filter"
|
|
164
|
-
}, {
|
|
165
|
-
default: () => [V(i("div", {
|
|
166
|
-
class: "v-chip__filter"
|
|
167
|
-
}, [t.filter ? n(v, {
|
|
168
|
-
key: "filter-defaults",
|
|
169
|
-
disabled: !e.filterIcon,
|
|
170
|
-
defaults: {
|
|
171
|
-
VIcon: {
|
|
172
|
-
icon: e.filterIcon
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}, t.filter) : n(m, {
|
|
176
|
-
key: "filter-icon",
|
|
177
|
-
icon: e.filterIcon
|
|
178
|
-
}, null)]), [[J, a.isSelected.value]])]
|
|
179
|
-
}), X && i("div", {
|
|
180
|
-
key: "prepend",
|
|
181
|
-
class: "v-chip__prepend"
|
|
182
|
-
}, [t.prepend ? n(v, {
|
|
183
|
-
key: "prepend-defaults",
|
|
184
|
-
disabled: !b,
|
|
185
|
-
defaults: {
|
|
186
|
-
VAvatar: {
|
|
187
|
-
image: e.prependAvatar,
|
|
188
|
-
start: !0
|
|
189
|
-
},
|
|
190
|
-
VIcon: {
|
|
191
|
-
icon: e.prependIcon,
|
|
192
|
-
start: !0
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}, t.prepend) : i(P, null, [e.prependIcon && n(m, {
|
|
196
|
-
key: "prepend-icon",
|
|
197
|
-
icon: e.prependIcon,
|
|
198
|
-
start: !0
|
|
199
|
-
}, null), e.prependAvatar && n(B, {
|
|
200
|
-
key: "prepend-avatar",
|
|
201
|
-
image: e.prependAvatar,
|
|
202
|
-
start: !0
|
|
203
|
-
}, null)])]), i("div", {
|
|
204
|
-
class: "v-chip__content",
|
|
205
|
-
"data-no-activator": ""
|
|
206
|
-
}, [((h = t.default) == null ? void 0 : h.call(t, {
|
|
207
|
-
isSelected: a == null ? void 0 : a.isSelected.value,
|
|
208
|
-
selectedClass: a == null ? void 0 : a.selectedClass.value,
|
|
209
|
-
select: a == null ? void 0 : a.select,
|
|
210
|
-
toggle: a == null ? void 0 : a.toggle,
|
|
211
|
-
value: a == null ? void 0 : a.value.value,
|
|
212
|
-
disabled: e.disabled
|
|
213
|
-
})) ?? Q(e.text)]), d && i("div", {
|
|
214
|
-
key: "append",
|
|
215
|
-
class: "v-chip__append"
|
|
216
|
-
}, [t.append ? n(v, {
|
|
217
|
-
key: "append-defaults",
|
|
218
|
-
disabled: !r,
|
|
219
|
-
defaults: {
|
|
220
|
-
VAvatar: {
|
|
221
|
-
end: !0,
|
|
222
|
-
image: e.appendAvatar
|
|
223
|
-
},
|
|
224
|
-
VIcon: {
|
|
225
|
-
end: !0,
|
|
226
|
-
icon: e.appendIcon
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}, t.append) : i(P, null, [e.appendIcon && n(m, {
|
|
230
|
-
key: "append-icon",
|
|
231
|
-
end: !0,
|
|
232
|
-
icon: e.appendIcon
|
|
233
|
-
}, null), e.appendAvatar && n(B, {
|
|
234
|
-
key: "append-avatar",
|
|
235
|
-
end: !0,
|
|
236
|
-
image: e.appendAvatar
|
|
237
|
-
}, null)])]), G && i("button", g({
|
|
238
|
-
key: "close",
|
|
239
|
-
class: "v-chip__close",
|
|
240
|
-
type: "button",
|
|
241
|
-
"data-testid": "close-chip"
|
|
242
|
-
}, M.value), [t.close ? n(v, {
|
|
243
|
-
key: "close-defaults",
|
|
244
|
-
defaults: {
|
|
245
|
-
VIcon: {
|
|
246
|
-
icon: e.closeIcon,
|
|
247
|
-
size: "x-small"
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}, t.close) : n(m, {
|
|
251
|
-
key: "close-icon",
|
|
252
|
-
icon: e.closeIcon,
|
|
253
|
-
size: "x-small"
|
|
254
|
-
}, null)])];
|
|
255
|
-
}
|
|
256
|
-
}), [[A, s.value && e.ripple, null]]);
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
});
|
|
260
|
-
export {
|
|
261
|
-
Ue as VChip,
|
|
262
|
-
ge as makeVChipProps
|
|
263
|
-
};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { toRef as o, createVNode as f, mergeProps as d } from "vue";
|
|
2
|
-
import "../../../../../../../_virtual/VChipGroup.sass.mjs";
|
|
3
|
-
import { makeVSlideGroupProps as v, VSlideGroup as l } from "../VSlideGroup/VSlideGroup.mjs";
|
|
4
|
-
import { makeComponentProps as C } from "../../composables/component.mjs";
|
|
5
|
-
import { provideDefaults as h } from "../../composables/defaults.mjs";
|
|
6
|
-
import { makeGroupProps as V, useGroup as G } from "../../composables/group.mjs";
|
|
7
|
-
import { makeTagProps as P } from "../../composables/tag.mjs";
|
|
8
|
-
import { makeThemeProps as b, provideTheme as g } from "../../composables/theme.mjs";
|
|
9
|
-
import { makeVariantProps as k } from "../../composables/variant.mjs";
|
|
10
|
-
import { propsFactory as y } from "../../util/propsFactory.mjs";
|
|
11
|
-
import { deepEqual as S } from "../../util/deepEqual.mjs";
|
|
12
|
-
import { genericComponent as T } from "../../util/defineComponent.mjs";
|
|
13
|
-
import { useRender as x } from "../../util/useRender.mjs";
|
|
14
|
-
const B = Symbol.for("vuetify:v-chip-group"), F = y({
|
|
15
|
-
baseColor: String,
|
|
16
|
-
column: Boolean,
|
|
17
|
-
filter: Boolean,
|
|
18
|
-
valueComparator: {
|
|
19
|
-
type: Function,
|
|
20
|
-
default: S
|
|
21
|
-
},
|
|
22
|
-
...v({
|
|
23
|
-
scrollToActive: !1
|
|
24
|
-
}),
|
|
25
|
-
...C(),
|
|
26
|
-
...V({
|
|
27
|
-
selectedClass: "v-chip--selected"
|
|
28
|
-
}),
|
|
29
|
-
...P(),
|
|
30
|
-
...b(),
|
|
31
|
-
...k({
|
|
32
|
-
variant: "tonal"
|
|
33
|
-
})
|
|
34
|
-
}, "VChipGroup"), L = T()({
|
|
35
|
-
name: "VChipGroup",
|
|
36
|
-
props: F(),
|
|
37
|
-
emits: {
|
|
38
|
-
"update:modelValue": (e) => !0
|
|
39
|
-
},
|
|
40
|
-
setup(e, m) {
|
|
41
|
-
let {
|
|
42
|
-
slots: r
|
|
43
|
-
} = m;
|
|
44
|
-
const {
|
|
45
|
-
themeClasses: a
|
|
46
|
-
} = g(e), {
|
|
47
|
-
isSelected: i,
|
|
48
|
-
select: p,
|
|
49
|
-
next: s,
|
|
50
|
-
prev: u,
|
|
51
|
-
selected: c
|
|
52
|
-
} = G(e, B);
|
|
53
|
-
return h({
|
|
54
|
-
VChip: {
|
|
55
|
-
baseColor: o(() => e.baseColor),
|
|
56
|
-
color: o(() => e.color),
|
|
57
|
-
disabled: o(() => e.disabled),
|
|
58
|
-
filter: o(() => e.filter),
|
|
59
|
-
variant: o(() => e.variant)
|
|
60
|
-
}
|
|
61
|
-
}), x(() => {
|
|
62
|
-
const n = l.filterProps(e);
|
|
63
|
-
return f(l, d(n, {
|
|
64
|
-
class: ["v-chip-group", {
|
|
65
|
-
"v-chip-group--column": e.column
|
|
66
|
-
}, a.value, e.class],
|
|
67
|
-
style: e.style
|
|
68
|
-
}), {
|
|
69
|
-
default: () => {
|
|
70
|
-
var t;
|
|
71
|
-
return [(t = r.default) == null ? void 0 : t.call(r, {
|
|
72
|
-
isSelected: i,
|
|
73
|
-
select: p,
|
|
74
|
-
next: s,
|
|
75
|
-
prev: u,
|
|
76
|
-
selected: c.value
|
|
77
|
-
})];
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
}), {};
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
export {
|
|
84
|
-
L as VChipGroup,
|
|
85
|
-
B as VChipGroupSymbol,
|
|
86
|
-
F as makeVChipGroupProps
|
|
87
|
-
};
|
|
@@ -1,161 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
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
|
-
};
|