bt-core-app 2.2.10 → 2.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/VAlert.sass.mjs +1 -0
- package/dist/_virtual/VAvatar.sass.mjs +1 -0
- package/dist/_virtual/VBtn.sass.mjs +1 -0
- package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
- package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
- package/dist/_virtual/VCard.sass.mjs +1 -0
- package/dist/_virtual/VCheckbox.sass.mjs +1 -0
- package/dist/_virtual/VChip.sass.mjs +1 -0
- package/dist/_virtual/VChipGroup.sass.mjs +1 -0
- package/dist/_virtual/VColorPicker.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
- package/dist/_virtual/VCombobox.sass.mjs +1 -0
- package/dist/_virtual/VContainer.sass.mjs +1 -0
- package/dist/_virtual/VCounter.sass.mjs +1 -0
- package/dist/_virtual/VDialog.sass.mjs +1 -0
- package/dist/_virtual/VDivider.sass.mjs +1 -0
- package/dist/_virtual/VField.sass.mjs +1 -0
- package/dist/_virtual/VGrid.sass.mjs +1 -0
- package/dist/_virtual/VIcon.sass.mjs +1 -0
- package/dist/_virtual/VImg.sass.mjs +1 -0
- package/dist/_virtual/VInput.sass.mjs +1 -0
- package/dist/_virtual/VLabel.sass.mjs +1 -0
- package/dist/_virtual/VList.sass.mjs +1 -0
- package/dist/_virtual/VListItem.sass.mjs +1 -0
- package/dist/_virtual/VMenu.sass.mjs +1 -0
- package/dist/_virtual/VMessages.sass.mjs +1 -0
- package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
- package/dist/_virtual/VOverlay.sass.mjs +1 -0
- package/dist/_virtual/VPagination.sass.mjs +1 -0
- package/dist/_virtual/VPicker.sass.mjs +1 -0
- package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
- package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
- package/dist/_virtual/VRating.sass.mjs +1 -0
- package/dist/_virtual/VResponsive.sass.mjs +1 -0
- package/dist/_virtual/VRipple.sass.mjs +1 -0
- package/dist/_virtual/VSelect.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
- package/dist/_virtual/VSheet.sass.mjs +1 -0
- package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
- package/dist/_virtual/VSlider.sass.mjs +1 -0
- package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
- package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
- package/dist/_virtual/VSpacer.sass.mjs +1 -0
- package/dist/_virtual/VSwitch.sass.mjs +1 -0
- package/dist/_virtual/VTab.sass.mjs +1 -0
- package/dist/_virtual/VTable.sass.mjs +1 -0
- package/dist/_virtual/VTabs.sass.mjs +1 -0
- package/dist/_virtual/VTextField.sass.mjs +1 -0
- package/dist/_virtual/VTextarea.sass.mjs +1 -0
- package/dist/_virtual/VToolbar.sass.mjs +1 -0
- package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
- package/dist/_virtual/VWindow.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +120 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +224 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +8 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +408 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
- package/dist/components/BT-Assistant-Menu.vue.mjs +420 -407
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +52 -52
- package/dist/components/BT-Blade-Item.vue.mjs +110 -100
- package/dist/components/BT-Blade-Items.vue.mjs +1 -1
- package/dist/components/BT-Blade-Items.vue2.mjs +411 -399
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +641 -626
- package/dist/components/BT-Blade.vue.mjs +201 -192
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +144 -142
- package/dist/components/BT-Col.vue.mjs +17 -19
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
- package/dist/components/BT-Cron.vue.mjs +264 -249
- package/dist/components/BT-Date-Select.vue.mjs +46 -47
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
- package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
- package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
- package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
- package/dist/components/BT-Dialog-Select.vue.mjs +96 -85
- package/dist/components/BT-Divider.vue.mjs +20 -21
- package/dist/components/BT-Drag-Counter.vue.mjs +1 -1
- package/dist/components/BT-Drag-Counter.vue2.mjs +89 -89
- package/dist/components/BT-Entity.vue.mjs +82 -82
- package/dist/components/BT-Error.vue.mjs +26 -27
- package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
- package/dist/components/BT-Field-Date.vue.mjs +87 -84
- package/dist/components/BT-Field-Entity.vue.mjs +20 -16
- package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
- package/dist/components/BT-Field-Select.vue.mjs +32 -34
- package/dist/components/BT-Field-String.vue.mjs +54 -52
- package/dist/components/BT-Field-Switch.vue.mjs +44 -43
- package/dist/components/BT-Field-Tags.vue.mjs +57 -55
- package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
- package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
- package/dist/components/BT-Field.vue.mjs +39 -38
- package/dist/components/BT-Form-Builder.vue.mjs +346 -325
- package/dist/components/BT-Form-Field.vue.mjs +88 -81
- package/dist/components/BT-Form.vue.mjs +280 -269
- package/dist/components/BT-Header-Option.vue.mjs +21 -19
- package/dist/components/BT-Image-Select.vue.mjs +186 -177
- package/dist/components/BT-Json.vue.mjs +29 -30
- package/dist/components/BT-Loader.vue.mjs +32 -31
- package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
- package/dist/components/BT-Number.vue.mjs +1 -1
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +147 -144
- package/dist/components/BT-Select-List-Box.vue.mjs +287 -276
- package/dist/components/BT-Select-Simple.vue.mjs +21 -23
- package/dist/components/BT-Select.vue.mjs +36 -37
- package/dist/components/BT-Signature-Overlay.vue.mjs +113 -112
- package/dist/components/BT-Signature.vue.mjs +96 -96
- package/dist/components/BT-Slider.vue.mjs +109 -103
- package/dist/components/BT-Square-Check.vue.mjs +65 -65
- package/dist/components/BT-Status-Item.vue.mjs +18 -16
- package/dist/components/BT-Tags.vue.mjs +21 -22
- package/dist/components/BT-Tour.vue.mjs +69 -65
- package/dist/style.css +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { ref as me, computed as o, toRef as f, watch as V, onBeforeMount as fe, nextTick as ke, withDirectives as ye, createVNode as r, mergeProps as be, createElementVNode as v, Fragment as L, toDisplayString as N } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VListItem.sass.mjs";
|
|
3
|
+
import { VListItemSubtitle as ge } from "./VListItemSubtitle.mjs";
|
|
4
|
+
import { VListItemTitle as Ae } from "./VListItemTitle.mjs";
|
|
5
|
+
import { useList as Ie } from "./list.mjs";
|
|
6
|
+
import { makeBorderProps as pe, useBorder as Ce } from "../../composables/border.mjs";
|
|
7
|
+
import { makeComponentProps as Pe } from "../../composables/component.mjs";
|
|
8
|
+
import { makeDensityProps as Ve, useDensity as he } from "../../composables/density.mjs";
|
|
9
|
+
import { makeDimensionProps as Se, useDimension as Te } from "../../composables/dimensions.mjs";
|
|
10
|
+
import { makeElevationProps as xe, useElevation as Be } from "../../composables/elevation.mjs";
|
|
11
|
+
import { IconValue as D } from "../../composables/icons.mjs";
|
|
12
|
+
import { useNestedItem as Ee } from "../../composables/nested/nested.mjs";
|
|
13
|
+
import { makeRoundedProps as Le, useRounded as Ne } from "../../composables/rounded.mjs";
|
|
14
|
+
import { makeRouterProps as De, useLink as _e } from "../../composables/router.mjs";
|
|
15
|
+
import { makeTagProps as Re } from "../../composables/tag.mjs";
|
|
16
|
+
import { makeThemeProps as we, provideTheme as Oe } from "../../composables/theme.mjs";
|
|
17
|
+
import { makeVariantProps as Me, useVariant as $e, genOverlays as Ge } from "../../composables/variant.mjs";
|
|
18
|
+
import _ from "../../directives/ripple/index.mjs";
|
|
19
|
+
import { VAvatar as R } from "../VAvatar/VAvatar.mjs";
|
|
20
|
+
import { VIcon as w } from "../VIcon/VIcon.mjs";
|
|
21
|
+
import { VDefaultsProvider as O } from "../VDefaultsProvider/VDefaultsProvider.mjs";
|
|
22
|
+
import { propsFactory as Ue } from "../../util/propsFactory.mjs";
|
|
23
|
+
import { EventProp as M, convertToUnit as Fe } from "../../util/helpers.mjs";
|
|
24
|
+
import { genericComponent as Ke } from "../../util/defineComponent.mjs";
|
|
25
|
+
import { useRender as Xe } from "../../util/useRender.mjs";
|
|
26
|
+
import { deprecate as je } from "../../util/console.mjs";
|
|
27
|
+
const He = Ue({
|
|
28
|
+
active: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: void 0
|
|
31
|
+
},
|
|
32
|
+
activeClass: String,
|
|
33
|
+
/* @deprecated */
|
|
34
|
+
activeColor: String,
|
|
35
|
+
appendAvatar: String,
|
|
36
|
+
appendIcon: D,
|
|
37
|
+
baseColor: String,
|
|
38
|
+
disabled: Boolean,
|
|
39
|
+
lines: [Boolean, String],
|
|
40
|
+
link: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: void 0
|
|
43
|
+
},
|
|
44
|
+
nav: Boolean,
|
|
45
|
+
prependAvatar: String,
|
|
46
|
+
prependIcon: D,
|
|
47
|
+
ripple: {
|
|
48
|
+
type: [Boolean, Object],
|
|
49
|
+
default: !0
|
|
50
|
+
},
|
|
51
|
+
slim: Boolean,
|
|
52
|
+
prependGap: [Number, String],
|
|
53
|
+
subtitle: {
|
|
54
|
+
type: [String, Number, Boolean],
|
|
55
|
+
default: void 0
|
|
56
|
+
},
|
|
57
|
+
title: {
|
|
58
|
+
type: [String, Number, Boolean],
|
|
59
|
+
default: void 0
|
|
60
|
+
},
|
|
61
|
+
value: null,
|
|
62
|
+
index: Number,
|
|
63
|
+
tabindex: [Number, String],
|
|
64
|
+
onClick: M(),
|
|
65
|
+
onClickOnce: M(),
|
|
66
|
+
...pe(),
|
|
67
|
+
...Pe(),
|
|
68
|
+
...Ve(),
|
|
69
|
+
...Se(),
|
|
70
|
+
...xe(),
|
|
71
|
+
...Le(),
|
|
72
|
+
...De(),
|
|
73
|
+
...Re(),
|
|
74
|
+
...we(),
|
|
75
|
+
...Me({
|
|
76
|
+
variant: "text"
|
|
77
|
+
})
|
|
78
|
+
}, "VListItem"), It = Ke()({
|
|
79
|
+
name: "VListItem",
|
|
80
|
+
directives: {
|
|
81
|
+
vRipple: _
|
|
82
|
+
},
|
|
83
|
+
props: He(),
|
|
84
|
+
emits: {
|
|
85
|
+
click: (e) => !0
|
|
86
|
+
},
|
|
87
|
+
setup(e, $) {
|
|
88
|
+
let {
|
|
89
|
+
attrs: G,
|
|
90
|
+
slots: a,
|
|
91
|
+
emit: U
|
|
92
|
+
} = $;
|
|
93
|
+
const d = _e(e, G), A = me(), F = o(() => e.value === void 0 ? d.href.value : e.value), {
|
|
94
|
+
activate: h,
|
|
95
|
+
isActivated: k,
|
|
96
|
+
select: y,
|
|
97
|
+
isOpen: K,
|
|
98
|
+
isSelected: s,
|
|
99
|
+
isIndeterminate: X,
|
|
100
|
+
isGroupActivator: S,
|
|
101
|
+
root: u,
|
|
102
|
+
parent: T,
|
|
103
|
+
openOnSelect: j,
|
|
104
|
+
scrollToActive: H,
|
|
105
|
+
id: q
|
|
106
|
+
} = Ee(F, () => e.disabled, !1), i = Ie(), c = o(() => {
|
|
107
|
+
var t;
|
|
108
|
+
return e.active !== !1 && (e.active || ((t = d.isActive) == null ? void 0 : t.value) || (u.activatable.value ? k.value : s.value));
|
|
109
|
+
}), b = f(() => e.link !== !1 && d.isLink.value), I = o(() => !!i && (u.selectable.value || u.activatable.value || e.value != null)), m = o(() => !e.disabled && e.link !== !1 && (e.link || d.isClickable.value || I.value)), x = o(() => i && i.navigationStrategy.value === "track" && e.index !== void 0 && i.trackingIndex.value === e.index), z = o(() => i ? b.value ? "link" : I.value ? "option" : "listitem" : void 0), J = o(() => {
|
|
110
|
+
if (I.value)
|
|
111
|
+
return u.activatable.value ? k.value : u.selectable.value ? s.value : c.value;
|
|
112
|
+
}), Q = f(() => e.rounded || e.nav), W = f(() => e.color ?? e.activeColor), Y = f(() => ({
|
|
113
|
+
color: c.value ? W.value ?? e.baseColor : e.baseColor,
|
|
114
|
+
variant: e.variant
|
|
115
|
+
}));
|
|
116
|
+
V(() => {
|
|
117
|
+
var t;
|
|
118
|
+
return (t = d.isActive) == null ? void 0 : t.value;
|
|
119
|
+
}, (t) => {
|
|
120
|
+
t && B();
|
|
121
|
+
}), V(k, (t) => {
|
|
122
|
+
var n;
|
|
123
|
+
!t || !H || (n = A.value) == null || n.scrollIntoView({
|
|
124
|
+
block: "nearest",
|
|
125
|
+
behavior: "instant"
|
|
126
|
+
});
|
|
127
|
+
}), V(x, (t) => {
|
|
128
|
+
var n;
|
|
129
|
+
t && ((n = A.value) == null || n.scrollIntoView({
|
|
130
|
+
block: "nearest",
|
|
131
|
+
behavior: "instant"
|
|
132
|
+
}));
|
|
133
|
+
}), fe(() => {
|
|
134
|
+
var t;
|
|
135
|
+
(t = d.isActive) != null && t.value && ke(() => B());
|
|
136
|
+
});
|
|
137
|
+
function B() {
|
|
138
|
+
T.value != null && u.open(T.value, !0), j(!0);
|
|
139
|
+
}
|
|
140
|
+
const {
|
|
141
|
+
themeClasses: Z
|
|
142
|
+
} = Oe(e), {
|
|
143
|
+
borderClasses: ee
|
|
144
|
+
} = Ce(e), {
|
|
145
|
+
colorClasses: te,
|
|
146
|
+
colorStyles: ae,
|
|
147
|
+
variantClasses: ie
|
|
148
|
+
} = $e(Y), {
|
|
149
|
+
densityClasses: ne
|
|
150
|
+
} = he(e), {
|
|
151
|
+
dimensionStyles: le
|
|
152
|
+
} = Te(e), {
|
|
153
|
+
elevationClasses: de
|
|
154
|
+
} = Be(e), {
|
|
155
|
+
roundedClasses: ue
|
|
156
|
+
} = Ne(Q), re = f(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), oe = f(() => e.ripple !== void 0 && e.ripple && (i != null && i.filterable) ? {
|
|
157
|
+
keys: ["Enter"]
|
|
158
|
+
} : e.ripple), p = o(() => ({
|
|
159
|
+
isActive: c.value,
|
|
160
|
+
select: y,
|
|
161
|
+
isOpen: K.value,
|
|
162
|
+
isSelected: s.value,
|
|
163
|
+
isIndeterminate: X.value,
|
|
164
|
+
isDisabled: e.disabled
|
|
165
|
+
}));
|
|
166
|
+
function ve(t) {
|
|
167
|
+
var n, g, C;
|
|
168
|
+
U("click", t), !["INPUT", "TEXTAREA"].includes((n = t.target) == null ? void 0 : n.tagName) && m.value && ((C = (g = d.navigate).value) == null || C.call(g, t), !S && (u.activatable.value ? h(!k.value, t) : (u.selectable.value || e.value != null && !b.value) && y(!s.value, t)));
|
|
169
|
+
}
|
|
170
|
+
function se(t) {
|
|
171
|
+
const n = t.target;
|
|
172
|
+
["INPUT", "TEXTAREA"].includes(n.tagName) || (t.key === "Enter" || t.key === " " && !(i != null && i.filterable)) && (t.preventDefault(), t.stopPropagation(), t.target.dispatchEvent(new MouseEvent("click", t)));
|
|
173
|
+
}
|
|
174
|
+
return Xe(() => {
|
|
175
|
+
const t = b.value ? "a" : e.tag, n = a.title || e.title != null, g = a.subtitle || e.subtitle != null, ce = !!(!!(e.appendAvatar || e.appendIcon) || a.append), P = !!(!!(e.prependAvatar || e.prependIcon) || a.prepend);
|
|
176
|
+
return i == null || i.updateHasPrepend(P), e.activeColor && je("active-color", ["color", "base-color"]), ye(r(t, be(d.linkProps, {
|
|
177
|
+
ref: A,
|
|
178
|
+
id: e.index !== void 0 && i ? `v-list-item-${i.uid}-${e.index}` : void 0,
|
|
179
|
+
class: ["v-list-item", {
|
|
180
|
+
"v-list-item--active": c.value,
|
|
181
|
+
"v-list-item--disabled": e.disabled,
|
|
182
|
+
"v-list-item--link": m.value,
|
|
183
|
+
"v-list-item--nav": e.nav,
|
|
184
|
+
"v-list-item--prepend": !P && (i == null ? void 0 : i.hasPrepend.value),
|
|
185
|
+
"v-list-item--slim": e.slim,
|
|
186
|
+
"v-list-item--focus-visible": x.value,
|
|
187
|
+
[`${e.activeClass}`]: e.activeClass && c.value
|
|
188
|
+
}, Z.value, ee.value, te.value, ne.value, de.value, re.value, ue.value, ie.value, e.class],
|
|
189
|
+
style: [{
|
|
190
|
+
"--v-list-prepend-gap": Fe(e.prependGap)
|
|
191
|
+
}, ae.value, le.value, e.style],
|
|
192
|
+
tabindex: e.tabindex ?? (m.value ? i ? -2 : 0 : void 0),
|
|
193
|
+
"aria-selected": J.value,
|
|
194
|
+
role: z.value,
|
|
195
|
+
onClick: ve,
|
|
196
|
+
onKeydown: m.value && !b.value && se
|
|
197
|
+
}), {
|
|
198
|
+
default: () => {
|
|
199
|
+
var E;
|
|
200
|
+
return [Ge(m.value || c.value, "v-list-item"), P && v("div", {
|
|
201
|
+
key: "prepend",
|
|
202
|
+
class: "v-list-item__prepend"
|
|
203
|
+
}, [a.prepend ? r(O, {
|
|
204
|
+
key: "prepend-defaults",
|
|
205
|
+
defaults: {
|
|
206
|
+
VAvatar: {
|
|
207
|
+
density: e.density,
|
|
208
|
+
image: e.prependAvatar
|
|
209
|
+
},
|
|
210
|
+
VIcon: {
|
|
211
|
+
density: e.density,
|
|
212
|
+
icon: e.prependIcon
|
|
213
|
+
},
|
|
214
|
+
VListItemAction: {
|
|
215
|
+
start: !0
|
|
216
|
+
},
|
|
217
|
+
VCheckboxBtn: {
|
|
218
|
+
density: e.density
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}, {
|
|
222
|
+
default: () => {
|
|
223
|
+
var l;
|
|
224
|
+
return [(l = a.prepend) == null ? void 0 : l.call(a, p.value)];
|
|
225
|
+
}
|
|
226
|
+
}) : v(L, null, [e.prependAvatar && r(R, {
|
|
227
|
+
key: "prepend-avatar",
|
|
228
|
+
density: e.density,
|
|
229
|
+
image: e.prependAvatar
|
|
230
|
+
}, null), e.prependIcon && r(w, {
|
|
231
|
+
key: "prepend-icon",
|
|
232
|
+
density: e.density,
|
|
233
|
+
icon: e.prependIcon
|
|
234
|
+
}, null)]), v("div", {
|
|
235
|
+
class: "v-list-item__spacer"
|
|
236
|
+
}, null)]), v("div", {
|
|
237
|
+
class: "v-list-item__content",
|
|
238
|
+
"data-no-activator": ""
|
|
239
|
+
}, [n && r(Ae, {
|
|
240
|
+
key: "title"
|
|
241
|
+
}, {
|
|
242
|
+
default: () => {
|
|
243
|
+
var l;
|
|
244
|
+
return [((l = a.title) == null ? void 0 : l.call(a, {
|
|
245
|
+
title: e.title
|
|
246
|
+
})) ?? N(e.title)];
|
|
247
|
+
}
|
|
248
|
+
}), g && r(ge, {
|
|
249
|
+
key: "subtitle"
|
|
250
|
+
}, {
|
|
251
|
+
default: () => {
|
|
252
|
+
var l;
|
|
253
|
+
return [((l = a.subtitle) == null ? void 0 : l.call(a, {
|
|
254
|
+
subtitle: e.subtitle
|
|
255
|
+
})) ?? N(e.subtitle)];
|
|
256
|
+
}
|
|
257
|
+
}), (E = a.default) == null ? void 0 : E.call(a, p.value)]), ce && v("div", {
|
|
258
|
+
key: "append",
|
|
259
|
+
class: "v-list-item__append"
|
|
260
|
+
}, [a.append ? r(O, {
|
|
261
|
+
key: "append-defaults",
|
|
262
|
+
defaults: {
|
|
263
|
+
VAvatar: {
|
|
264
|
+
density: e.density,
|
|
265
|
+
image: e.appendAvatar
|
|
266
|
+
},
|
|
267
|
+
VIcon: {
|
|
268
|
+
density: e.density,
|
|
269
|
+
icon: e.appendIcon
|
|
270
|
+
},
|
|
271
|
+
VListItemAction: {
|
|
272
|
+
end: !0
|
|
273
|
+
},
|
|
274
|
+
VCheckboxBtn: {
|
|
275
|
+
density: e.density
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}, {
|
|
279
|
+
default: () => {
|
|
280
|
+
var l;
|
|
281
|
+
return [(l = a.append) == null ? void 0 : l.call(a, p.value)];
|
|
282
|
+
}
|
|
283
|
+
}) : v(L, null, [e.appendIcon && r(w, {
|
|
284
|
+
key: "append-icon",
|
|
285
|
+
density: e.density,
|
|
286
|
+
icon: e.appendIcon
|
|
287
|
+
}, null), e.appendAvatar && r(R, {
|
|
288
|
+
key: "append-avatar",
|
|
289
|
+
density: e.density,
|
|
290
|
+
image: e.appendAvatar
|
|
291
|
+
}, null)]), v("div", {
|
|
292
|
+
class: "v-list-item__spacer"
|
|
293
|
+
}, null)])];
|
|
294
|
+
}
|
|
295
|
+
}), [[_, m.value && oe.value]]);
|
|
296
|
+
}), {
|
|
297
|
+
activate: h,
|
|
298
|
+
isActivated: k,
|
|
299
|
+
isGroupActivator: S,
|
|
300
|
+
isSelected: s,
|
|
301
|
+
list: i,
|
|
302
|
+
select: y,
|
|
303
|
+
root: u,
|
|
304
|
+
id: q,
|
|
305
|
+
link: d
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
export {
|
|
310
|
+
It as VListItem,
|
|
311
|
+
He as makeVListItemProps
|
|
312
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createVNode as i, normalizeClass as m, normalizeStyle as r } from "vue";
|
|
2
|
+
import { makeComponentProps as s } from "../../composables/component.mjs";
|
|
3
|
+
import { makeTagProps as l } from "../../composables/tag.mjs";
|
|
4
|
+
import { propsFactory as a } from "../../util/propsFactory.mjs";
|
|
5
|
+
import { genericComponent as p } from "../../util/defineComponent.mjs";
|
|
6
|
+
import { useRender as n } from "../../util/useRender.mjs";
|
|
7
|
+
const c = a({
|
|
8
|
+
opacity: [Number, String],
|
|
9
|
+
...s(),
|
|
10
|
+
...l()
|
|
11
|
+
}, "VListItemSubtitle"), g = p()({
|
|
12
|
+
name: "VListItemSubtitle",
|
|
13
|
+
props: c(),
|
|
14
|
+
setup(t, e) {
|
|
15
|
+
let {
|
|
16
|
+
slots: o
|
|
17
|
+
} = e;
|
|
18
|
+
return n(() => i(t.tag, {
|
|
19
|
+
class: m(["v-list-item-subtitle", t.class]),
|
|
20
|
+
style: r([{
|
|
21
|
+
"--v-list-item-subtitle-opacity": t.opacity
|
|
22
|
+
}, t.style])
|
|
23
|
+
}, o)), {};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
g as VListItemSubtitle,
|
|
28
|
+
c as makeVListItemSubtitleProps
|
|
29
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { createVNode as l, normalizeClass as m, normalizeStyle as n, createElementVNode as u } from "vue";
|
|
2
|
+
import { useTextColor as c } from "../../composables/color.mjs";
|
|
3
|
+
import { makeComponentProps as d } from "../../composables/component.mjs";
|
|
4
|
+
import { makeTagProps as f } from "../../composables/tag.mjs";
|
|
5
|
+
import { propsFactory as h } from "../../util/propsFactory.mjs";
|
|
6
|
+
import { genericComponent as b } from "../../util/defineComponent.mjs";
|
|
7
|
+
import { useRender as y } from "../../util/useRender.mjs";
|
|
8
|
+
const S = h({
|
|
9
|
+
color: String,
|
|
10
|
+
inset: Boolean,
|
|
11
|
+
sticky: Boolean,
|
|
12
|
+
title: String,
|
|
13
|
+
...d(),
|
|
14
|
+
...f()
|
|
15
|
+
}, "VListSubheader"), L = b()({
|
|
16
|
+
name: "VListSubheader",
|
|
17
|
+
props: S(),
|
|
18
|
+
setup(e, r) {
|
|
19
|
+
let {
|
|
20
|
+
slots: t
|
|
21
|
+
} = r;
|
|
22
|
+
const {
|
|
23
|
+
textColorClasses: s,
|
|
24
|
+
textColorStyles: a
|
|
25
|
+
} = c(() => e.color);
|
|
26
|
+
return y(() => {
|
|
27
|
+
const i = !!(t.default || e.title);
|
|
28
|
+
return l(e.tag, {
|
|
29
|
+
class: m(["v-list-subheader", {
|
|
30
|
+
"v-list-subheader--inset": e.inset,
|
|
31
|
+
"v-list-subheader--sticky": e.sticky
|
|
32
|
+
}, s.value, e.class]),
|
|
33
|
+
style: n([{
|
|
34
|
+
textColorStyles: a
|
|
35
|
+
}, e.style])
|
|
36
|
+
}, {
|
|
37
|
+
default: () => {
|
|
38
|
+
var o;
|
|
39
|
+
return [i && u("div", {
|
|
40
|
+
class: "v-list-subheader__text"
|
|
41
|
+
}, [((o = t.default) == null ? void 0 : o.call(t)) ?? e.title])];
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}), {};
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
L as VListSubheader,
|
|
49
|
+
S as makeVListSubheaderProps
|
|
50
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { inject as r, shallowRef as t, useId as f, provide as g } from "vue";
|
|
2
|
+
const n = Symbol.for("vuetify:list");
|
|
3
|
+
function p() {
|
|
4
|
+
let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
5
|
+
filterable: !1
|
|
6
|
+
};
|
|
7
|
+
const e = r(n, {
|
|
8
|
+
filterable: !1,
|
|
9
|
+
hasPrepend: t(!1),
|
|
10
|
+
updateHasPrepend: () => null,
|
|
11
|
+
trackingIndex: t(-1),
|
|
12
|
+
navigationStrategy: t("focus"),
|
|
13
|
+
uid: ""
|
|
14
|
+
}), {
|
|
15
|
+
filterable: l,
|
|
16
|
+
trackingIndex: o = e.trackingIndex,
|
|
17
|
+
navigationStrategy: u = e.navigationStrategy,
|
|
18
|
+
uid: d = e.uid || f()
|
|
19
|
+
} = s, a = {
|
|
20
|
+
filterable: e.filterable || l,
|
|
21
|
+
hasPrepend: t(!1),
|
|
22
|
+
updateHasPrepend: (i) => {
|
|
23
|
+
i && (a.hasPrepend.value = i);
|
|
24
|
+
},
|
|
25
|
+
trackingIndex: o,
|
|
26
|
+
navigationStrategy: u,
|
|
27
|
+
uid: d
|
|
28
|
+
};
|
|
29
|
+
return g(n, a), e;
|
|
30
|
+
}
|
|
31
|
+
function b() {
|
|
32
|
+
return r(n, null);
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
n as ListKey,
|
|
36
|
+
p as createList,
|
|
37
|
+
b as useList
|
|
38
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { useId as D, toRef as x, ref as R, inject as M, shallowRef as I, provide as T, onBeforeUnmount as S, onDeactivated as L, watch as K, computed as O, mergeProps as w, createVNode as p } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VMenu.sass.mjs";
|
|
3
|
+
import { makeVOverlayProps as U, VOverlay as A } from "../VOverlay/VOverlay.mjs";
|
|
4
|
+
import { forwardRefs as F } from "../../composables/forwardRefs.mjs";
|
|
5
|
+
import { useRtl as B } from "../../composables/locale.mjs";
|
|
6
|
+
import { useProxiedModel as H } from "../../composables/proxiedModel.mjs";
|
|
7
|
+
import { useScopeId as N } from "../../composables/scopeId.mjs";
|
|
8
|
+
import { VMenuSymbol as k } from "./shared.mjs";
|
|
9
|
+
import { VDialogTransition as j } from "../transitions/dialog-transition.mjs";
|
|
10
|
+
import { omit as z, isClickInsideElement as $, focusChild as v, getNextElement as q, focusableChildren as G } from "../../util/helpers.mjs";
|
|
11
|
+
import { VDefaultsProvider as J } from "../VDefaultsProvider/VDefaultsProvider.mjs";
|
|
12
|
+
import { propsFactory as Q } from "../../util/propsFactory.mjs";
|
|
13
|
+
import { genericComponent as W } from "../../util/defineComponent.mjs";
|
|
14
|
+
import { useRender as X } from "../../util/useRender.mjs";
|
|
15
|
+
const Y = Q({
|
|
16
|
+
// TODO
|
|
17
|
+
// disableKeys: Boolean,
|
|
18
|
+
id: String,
|
|
19
|
+
submenu: Boolean,
|
|
20
|
+
...z(U({
|
|
21
|
+
captureFocus: !0,
|
|
22
|
+
closeDelay: 250,
|
|
23
|
+
closeOnContentClick: !0,
|
|
24
|
+
locationStrategy: "connected",
|
|
25
|
+
location: void 0,
|
|
26
|
+
openDelay: 300,
|
|
27
|
+
scrim: !1,
|
|
28
|
+
scrollStrategy: "reposition",
|
|
29
|
+
transition: {
|
|
30
|
+
component: j
|
|
31
|
+
}
|
|
32
|
+
}), ["absolute"])
|
|
33
|
+
}, "VMenu"), de = W()({
|
|
34
|
+
name: "VMenu",
|
|
35
|
+
props: Y(),
|
|
36
|
+
emits: {
|
|
37
|
+
"update:modelValue": (t) => !0
|
|
38
|
+
},
|
|
39
|
+
setup(t, E) {
|
|
40
|
+
let {
|
|
41
|
+
slots: s
|
|
42
|
+
} = E;
|
|
43
|
+
const r = H(t, "modelValue"), {
|
|
44
|
+
scopeId: P
|
|
45
|
+
} = N(), {
|
|
46
|
+
isRtl: c
|
|
47
|
+
} = B(), d = D(), f = x(() => t.id || `v-menu-${d}`), a = R(), o = M(k, null), m = I(/* @__PURE__ */ new Set());
|
|
48
|
+
T(k, {
|
|
49
|
+
register() {
|
|
50
|
+
m.value.add(d);
|
|
51
|
+
},
|
|
52
|
+
unregister() {
|
|
53
|
+
m.value.delete(d);
|
|
54
|
+
},
|
|
55
|
+
closeParents(e) {
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
var n;
|
|
58
|
+
!m.value.size && !t.persistent && (e == null || (n = a.value) != null && n.contentEl && !$(e, a.value.contentEl)) && (r.value = !1, o == null || o.closeParents());
|
|
59
|
+
}, 40);
|
|
60
|
+
}
|
|
61
|
+
}), S(() => o == null ? void 0 : o.unregister()), L(() => r.value = !1), K(r, (e) => {
|
|
62
|
+
e ? o == null || o.register() : o == null || o.unregister();
|
|
63
|
+
}, {
|
|
64
|
+
immediate: !0
|
|
65
|
+
});
|
|
66
|
+
function V(e) {
|
|
67
|
+
o == null || o.closeParents(e);
|
|
68
|
+
}
|
|
69
|
+
function b(e) {
|
|
70
|
+
var n, l, i, u, g;
|
|
71
|
+
if (!t.disabled)
|
|
72
|
+
if (e.key === "Tab" || e.key === "Enter" && !t.closeOnContentClick) {
|
|
73
|
+
if (e.key === "Enter" && (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement && e.target.closest("form")))
|
|
74
|
+
return;
|
|
75
|
+
e.key === "Enter" && e.preventDefault(), !q(G((n = a.value) == null ? void 0 : n.contentEl, !1), e.shiftKey ? "prev" : "next", (C) => C.tabIndex >= 0) && !t.retainFocus && (r.value = !1, (i = (l = a.value) == null ? void 0 : l.activatorEl) == null || i.focus());
|
|
76
|
+
} else
|
|
77
|
+
t.submenu && e.key === (c.value ? "ArrowRight" : "ArrowLeft") && (r.value = !1, (g = (u = a.value) == null ? void 0 : u.activatorEl) == null || g.focus());
|
|
78
|
+
}
|
|
79
|
+
function y(e) {
|
|
80
|
+
var l;
|
|
81
|
+
if (t.disabled)
|
|
82
|
+
return;
|
|
83
|
+
const n = (l = a.value) == null ? void 0 : l.contentEl;
|
|
84
|
+
n && r.value ? e.key === "ArrowDown" ? (e.preventDefault(), e.stopImmediatePropagation(), v(n, "next")) : e.key === "ArrowUp" ? (e.preventDefault(), e.stopImmediatePropagation(), v(n, "prev")) : t.submenu && (e.key === (c.value ? "ArrowRight" : "ArrowLeft") ? r.value = !1 : e.key === (c.value ? "ArrowLeft" : "ArrowRight") && (e.preventDefault(), v(n, "first"))) : (t.submenu ? e.key === (c.value ? "ArrowLeft" : "ArrowRight") : ["ArrowDown", "ArrowUp"].includes(e.key)) && (r.value = !0, e.preventDefault(), setTimeout(() => setTimeout(() => y(e))));
|
|
85
|
+
}
|
|
86
|
+
const h = O(() => w({
|
|
87
|
+
"aria-haspopup": "menu",
|
|
88
|
+
"aria-expanded": String(r.value),
|
|
89
|
+
"aria-controls": f.value,
|
|
90
|
+
"aria-owns": f.value,
|
|
91
|
+
onKeydown: y
|
|
92
|
+
}, t.activatorProps));
|
|
93
|
+
return X(() => {
|
|
94
|
+
const e = A.filterProps(t);
|
|
95
|
+
return p(A, w({
|
|
96
|
+
ref: a,
|
|
97
|
+
id: f.value,
|
|
98
|
+
class: ["v-menu", t.class],
|
|
99
|
+
style: t.style
|
|
100
|
+
}, e, {
|
|
101
|
+
modelValue: r.value,
|
|
102
|
+
"onUpdate:modelValue": (n) => r.value = n,
|
|
103
|
+
absolute: !0,
|
|
104
|
+
activatorProps: h.value,
|
|
105
|
+
location: t.location ?? (t.submenu ? "end" : "bottom"),
|
|
106
|
+
"onClick:outside": V,
|
|
107
|
+
onKeydown: b
|
|
108
|
+
}, P), {
|
|
109
|
+
activator: s.activator,
|
|
110
|
+
default: function() {
|
|
111
|
+
for (var n = arguments.length, l = new Array(n), i = 0; i < n; i++)
|
|
112
|
+
l[i] = arguments[i];
|
|
113
|
+
return p(J, {
|
|
114
|
+
root: "VMenu"
|
|
115
|
+
}, {
|
|
116
|
+
default: () => {
|
|
117
|
+
var u;
|
|
118
|
+
return [(u = s.default) == null ? void 0 : u.call(s, ...l)];
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}), F({
|
|
124
|
+
id: f,
|
|
125
|
+
ΨopenChildren: m
|
|
126
|
+
}, a);
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
export {
|
|
130
|
+
de as VMenu,
|
|
131
|
+
Y as makeVMenuProps
|
|
132
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { computed as i, createVNode as l, normalizeClass as c, normalizeStyle as p, createElementVNode as g } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VMessages.sass.mjs";
|
|
3
|
+
import { VSlideYTransition as u } from "../transitions/index.mjs";
|
|
4
|
+
import { useTextColor as f } from "../../composables/color.mjs";
|
|
5
|
+
import { makeComponentProps as v } from "../../composables/component.mjs";
|
|
6
|
+
import { makeTransitionProps as y, MaybeTransition as d } from "../../composables/transition.mjs";
|
|
7
|
+
import { propsFactory as C } from "../../util/propsFactory.mjs";
|
|
8
|
+
import { genericComponent as V } from "../../util/defineComponent.mjs";
|
|
9
|
+
import { wrapInArray as M } from "../../util/helpers.mjs";
|
|
10
|
+
import { useRender as S } from "../../util/useRender.mjs";
|
|
11
|
+
const k = C({
|
|
12
|
+
active: Boolean,
|
|
13
|
+
color: String,
|
|
14
|
+
messages: {
|
|
15
|
+
type: [Array, String],
|
|
16
|
+
default: () => []
|
|
17
|
+
},
|
|
18
|
+
...v(),
|
|
19
|
+
...y({
|
|
20
|
+
transition: {
|
|
21
|
+
component: u,
|
|
22
|
+
leaveAbsolute: !0,
|
|
23
|
+
group: !0
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
}, "VMessages"), B = V()({
|
|
27
|
+
name: "VMessages",
|
|
28
|
+
props: k(),
|
|
29
|
+
setup(e, r) {
|
|
30
|
+
let {
|
|
31
|
+
slots: s
|
|
32
|
+
} = r;
|
|
33
|
+
const o = i(() => M(e.messages)), {
|
|
34
|
+
textColorClasses: a,
|
|
35
|
+
textColorStyles: m
|
|
36
|
+
} = f(() => e.color);
|
|
37
|
+
return S(() => l(d, {
|
|
38
|
+
transition: e.transition,
|
|
39
|
+
tag: "div",
|
|
40
|
+
class: c(["v-messages", a.value, e.class]),
|
|
41
|
+
style: p([m.value, e.style])
|
|
42
|
+
}, {
|
|
43
|
+
default: () => [e.active && o.value.map((t, n) => g("div", {
|
|
44
|
+
class: "v-messages__message",
|
|
45
|
+
key: `${n}-${o.value}`
|
|
46
|
+
}, [s.message ? s.message({
|
|
47
|
+
message: t
|
|
48
|
+
}) : t]))]
|
|
49
|
+
})), {};
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
B as VMessages,
|
|
54
|
+
k as makeVMessagesProps
|
|
55
|
+
};
|