bt-core-app 2.2.4 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/VAlert.sass.mjs +1 -0
- package/dist/_virtual/VAvatar.sass.mjs +1 -0
- package/dist/_virtual/VBtn.sass.mjs +1 -0
- package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
- package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
- package/dist/_virtual/VCard.sass.mjs +1 -0
- package/dist/_virtual/VCheckbox.sass.mjs +1 -0
- package/dist/_virtual/VChip.sass.mjs +1 -0
- package/dist/_virtual/VChipGroup.sass.mjs +1 -0
- package/dist/_virtual/VColorPicker.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
- package/dist/_virtual/VCombobox.sass.mjs +1 -0
- package/dist/_virtual/VContainer.sass.mjs +1 -0
- package/dist/_virtual/VCounter.sass.mjs +1 -0
- package/dist/_virtual/VDialog.sass.mjs +1 -0
- package/dist/_virtual/VDivider.sass.mjs +1 -0
- package/dist/_virtual/VField.sass.mjs +1 -0
- package/dist/_virtual/VGrid.sass.mjs +1 -0
- package/dist/_virtual/VIcon.sass.mjs +1 -0
- package/dist/_virtual/VImg.sass.mjs +1 -0
- package/dist/_virtual/VInput.sass.mjs +1 -0
- package/dist/_virtual/VLabel.sass.mjs +1 -0
- package/dist/_virtual/VList.sass.mjs +1 -0
- package/dist/_virtual/VListItem.sass.mjs +1 -0
- package/dist/_virtual/VMenu.sass.mjs +1 -0
- package/dist/_virtual/VMessages.sass.mjs +1 -0
- package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
- package/dist/_virtual/VOverlay.sass.mjs +1 -0
- package/dist/_virtual/VPagination.sass.mjs +1 -0
- package/dist/_virtual/VPicker.sass.mjs +1 -0
- package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
- package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
- package/dist/_virtual/VRating.sass.mjs +1 -0
- package/dist/_virtual/VResponsive.sass.mjs +1 -0
- package/dist/_virtual/VRipple.sass.mjs +1 -0
- package/dist/_virtual/VSelect.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
- package/dist/_virtual/VSheet.sass.mjs +1 -0
- package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
- package/dist/_virtual/VSlider.sass.mjs +1 -0
- package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
- package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
- package/dist/_virtual/VSpacer.sass.mjs +1 -0
- package/dist/_virtual/VSwitch.sass.mjs +1 -0
- package/dist/_virtual/VTab.sass.mjs +1 -0
- package/dist/_virtual/VTable.sass.mjs +1 -0
- package/dist/_virtual/VTabs.sass.mjs +1 -0
- package/dist/_virtual/VTextField.sass.mjs +1 -0
- package/dist/_virtual/VTextarea.sass.mjs +1 -0
- package/dist/_virtual/VToolbar.sass.mjs +1 -0
- package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
- package/dist/_virtual/VWindow.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +120 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +224 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +8 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +408 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
- package/dist/components/BT-Assistant-Menu.vue.mjs +226 -211
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +30 -28
- package/dist/components/BT-Blade-Item.vue.mjs +111 -102
- package/dist/components/BT-Blade-Items.vue.mjs +2 -2
- package/dist/components/BT-Blade-Items.vue2.mjs +413 -402
- package/dist/components/BT-Blade-Steps.vue.mjs +1 -1
- package/dist/components/BT-Blade-Steps.vue2.mjs +597 -583
- package/dist/components/BT-Blade.vue.mjs +108 -97
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +72 -68
- package/dist/components/BT-Col.vue.mjs +17 -19
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
- package/dist/components/BT-Cron.vue.mjs +249 -235
- package/dist/components/BT-Date-Select.vue.mjs +46 -47
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
- package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
- package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
- package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
- package/dist/components/BT-Dialog-Select.vue.mjs +107 -97
- package/dist/components/BT-Divider.vue.mjs +20 -21
- package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
- package/dist/components/BT-Drag-Counter.vue2.mjs +58 -56
- package/dist/components/BT-Entity.vue.mjs +50 -48
- package/dist/components/BT-Error.vue.mjs +16 -15
- package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
- package/dist/components/BT-Field-Date.vue.mjs +87 -84
- package/dist/components/BT-Field-Entity.vue.mjs +20 -16
- package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
- package/dist/components/BT-Field-Select.vue.mjs +32 -34
- package/dist/components/BT-Field-String.vue.mjs +54 -52
- package/dist/components/BT-Field-Switch.vue.mjs +44 -43
- package/dist/components/BT-Field-Tags.vue.mjs +57 -55
- package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
- package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
- package/dist/components/BT-Field.vue.mjs +39 -38
- package/dist/components/BT-Form-Builder.vue.mjs +342 -322
- package/dist/components/BT-Form-Field.vue.mjs +81 -75
- package/dist/components/BT-Form.vue.mjs +263 -253
- package/dist/components/BT-Header-Option.vue.mjs +10 -9
- package/dist/components/BT-Image-Select.vue.mjs +186 -177
- package/dist/components/BT-Json.vue.mjs +29 -30
- package/dist/components/BT-Loader.vue.mjs +32 -31
- package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
- package/dist/components/BT-Number.vue.mjs +2 -2
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +71 -66
- package/dist/components/BT-Select-List-Box.vue.mjs +157 -144
- package/dist/components/BT-Select-Simple.vue.mjs +21 -23
- package/dist/components/BT-Select.vue.mjs +36 -37
- package/dist/components/BT-Signature-Overlay.vue.mjs +63 -60
- package/dist/components/BT-Signature.vue.mjs +66 -64
- package/dist/components/BT-Slider.vue.mjs +69 -61
- package/dist/components/BT-Square-Check.vue.mjs +24 -22
- package/dist/components/BT-Status-Item.vue.mjs +18 -16
- package/dist/components/BT-Tags.vue.mjs +21 -22
- package/dist/components/BT-Tour.vue.mjs +69 -65
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { useId as N, computed as o, toRef as l, createElementVNode as t, normalizeClass as T, normalizeStyle as W, createVNode as u } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VInput.sass.mjs";
|
|
3
|
+
import { useInputIcon as F } from "./InputIcon.mjs";
|
|
4
|
+
import { VMessages as j } from "../VMessages/VMessages.mjs";
|
|
5
|
+
import { makeComponentProps as q } from "../../composables/component.mjs";
|
|
6
|
+
import { makeDensityProps as G, useDensity as J } from "../../composables/density.mjs";
|
|
7
|
+
import { makeDimensionProps as K, useDimension as L } from "../../composables/dimensions.mjs";
|
|
8
|
+
import { IconValue as S } from "../../composables/icons.mjs";
|
|
9
|
+
import { useRtl as O } from "../../composables/locale.mjs";
|
|
10
|
+
import { makeThemeProps as Q, provideTheme as U } from "../../composables/theme.mjs";
|
|
11
|
+
import { makeValidationProps as X, useValidation as Y } from "../../composables/validation.mjs";
|
|
12
|
+
import { EventProp as D, pick as Z } from "../../util/helpers.mjs";
|
|
13
|
+
import { propsFactory as ee } from "../../util/propsFactory.mjs";
|
|
14
|
+
import { genericComponent as ne } from "../../util/defineComponent.mjs";
|
|
15
|
+
import { useRender as te } from "../../util/useRender.mjs";
|
|
16
|
+
const ie = ee({
|
|
17
|
+
id: String,
|
|
18
|
+
appendIcon: S,
|
|
19
|
+
baseColor: String,
|
|
20
|
+
centerAffix: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !0
|
|
23
|
+
},
|
|
24
|
+
color: String,
|
|
25
|
+
glow: Boolean,
|
|
26
|
+
iconColor: [Boolean, String],
|
|
27
|
+
prependIcon: S,
|
|
28
|
+
hideDetails: [Boolean, String],
|
|
29
|
+
hideSpinButtons: Boolean,
|
|
30
|
+
hint: String,
|
|
31
|
+
persistentHint: Boolean,
|
|
32
|
+
messages: {
|
|
33
|
+
type: [Array, String],
|
|
34
|
+
default: () => []
|
|
35
|
+
},
|
|
36
|
+
direction: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "horizontal",
|
|
39
|
+
validator: (e) => ["horizontal", "vertical"].includes(e)
|
|
40
|
+
},
|
|
41
|
+
"onClick:prepend": D(),
|
|
42
|
+
"onClick:append": D(),
|
|
43
|
+
...q(),
|
|
44
|
+
...G(),
|
|
45
|
+
...Z(K(), ["maxWidth", "minWidth", "width"]),
|
|
46
|
+
...Q(),
|
|
47
|
+
...X()
|
|
48
|
+
}, "VInput"), Ve = ne()({
|
|
49
|
+
name: "VInput",
|
|
50
|
+
props: {
|
|
51
|
+
...ie()
|
|
52
|
+
},
|
|
53
|
+
emits: {
|
|
54
|
+
"update:modelValue": (e) => !0
|
|
55
|
+
},
|
|
56
|
+
setup(e, P) {
|
|
57
|
+
let {
|
|
58
|
+
attrs: ae,
|
|
59
|
+
slots: n,
|
|
60
|
+
emit: oe
|
|
61
|
+
} = P;
|
|
62
|
+
const {
|
|
63
|
+
densityClasses: B
|
|
64
|
+
} = J(e), {
|
|
65
|
+
dimensionStyles: _
|
|
66
|
+
} = L(e), {
|
|
67
|
+
themeClasses: b
|
|
68
|
+
} = U(e), {
|
|
69
|
+
rtlClasses: x
|
|
70
|
+
} = O(), {
|
|
71
|
+
InputIcon: c
|
|
72
|
+
} = F(e), w = N(), s = o(() => e.id || `input-${w}`), {
|
|
73
|
+
errorMessages: r,
|
|
74
|
+
isDirty: z,
|
|
75
|
+
isDisabled: A,
|
|
76
|
+
isReadonly: M,
|
|
77
|
+
isPristine: m,
|
|
78
|
+
isValid: v,
|
|
79
|
+
isValidating: R,
|
|
80
|
+
reset: p,
|
|
81
|
+
resetValidation: f,
|
|
82
|
+
validate: g,
|
|
83
|
+
validationClasses: $
|
|
84
|
+
} = Y(e, "v-input", s), h = o(() => {
|
|
85
|
+
var a;
|
|
86
|
+
return (a = e.errorMessages) != null && a.length || !m.value && r.value.length ? r.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages;
|
|
87
|
+
}), y = l(() => h.value.length > 0), d = l(() => !e.hideDetails || e.hideDetails === "auto" && (y.value || !!n.details)), I = o(() => d.value ? `${s.value}-messages` : void 0), i = o(() => ({
|
|
88
|
+
id: s,
|
|
89
|
+
messagesId: I,
|
|
90
|
+
isDirty: z,
|
|
91
|
+
isDisabled: A,
|
|
92
|
+
isReadonly: M,
|
|
93
|
+
isPristine: m,
|
|
94
|
+
isValid: v,
|
|
95
|
+
isValidating: R,
|
|
96
|
+
hasDetails: d,
|
|
97
|
+
reset: p,
|
|
98
|
+
resetValidation: f,
|
|
99
|
+
validate: g
|
|
100
|
+
})), E = l(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), C = l(() => {
|
|
101
|
+
if (e.iconColor)
|
|
102
|
+
return e.iconColor === !0 ? E.value : e.iconColor;
|
|
103
|
+
});
|
|
104
|
+
return te(() => {
|
|
105
|
+
var V, k;
|
|
106
|
+
const a = !!(n.prepend || e.prependIcon), H = !!(n.append || e.appendIcon);
|
|
107
|
+
return t("div", {
|
|
108
|
+
class: T(["v-input", `v-input--${e.direction}`, {
|
|
109
|
+
"v-input--center-affix": e.centerAffix,
|
|
110
|
+
"v-input--focused": e.focused,
|
|
111
|
+
"v-input--glow": e.glow,
|
|
112
|
+
"v-input--hide-spin-buttons": e.hideSpinButtons
|
|
113
|
+
}, B.value, b.value, x.value, $.value, e.class]),
|
|
114
|
+
style: W([_.value, e.style])
|
|
115
|
+
}, [a && t("div", {
|
|
116
|
+
key: "prepend",
|
|
117
|
+
class: "v-input__prepend"
|
|
118
|
+
}, [n.prepend ? n.prepend(i.value) : e.prependIcon && u(c, {
|
|
119
|
+
key: "prepend-icon",
|
|
120
|
+
name: "prepend",
|
|
121
|
+
color: C.value
|
|
122
|
+
}, null)]), n.default && t("div", {
|
|
123
|
+
class: "v-input__control"
|
|
124
|
+
}, [(V = n.default) == null ? void 0 : V.call(n, i.value)]), H && t("div", {
|
|
125
|
+
key: "append",
|
|
126
|
+
class: "v-input__append"
|
|
127
|
+
}, [n.append ? n.append(i.value) : e.appendIcon && u(c, {
|
|
128
|
+
key: "append-icon",
|
|
129
|
+
name: "append",
|
|
130
|
+
color: C.value
|
|
131
|
+
}, null)]), d.value && t("div", {
|
|
132
|
+
id: I.value,
|
|
133
|
+
class: "v-input__details",
|
|
134
|
+
role: "alert",
|
|
135
|
+
"aria-live": "polite"
|
|
136
|
+
}, [u(j, {
|
|
137
|
+
active: y.value,
|
|
138
|
+
messages: h.value
|
|
139
|
+
}, {
|
|
140
|
+
message: n.message
|
|
141
|
+
}), (k = n.details) == null ? void 0 : k.call(n, i.value)])]);
|
|
142
|
+
}), {
|
|
143
|
+
reset: p,
|
|
144
|
+
resetValidation: f,
|
|
145
|
+
validate: g,
|
|
146
|
+
isValid: v,
|
|
147
|
+
errorMessages: r
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
export {
|
|
152
|
+
Ve as VInput,
|
|
153
|
+
ie as makeVInputProps
|
|
154
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createElementVNode as l, normalizeClass as m, normalizeStyle as a } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VLabel.sass.mjs";
|
|
3
|
+
import { makeComponentProps as n } from "../../composables/component.mjs";
|
|
4
|
+
import { makeThemeProps as i } from "../../composables/theme.mjs";
|
|
5
|
+
import { EventProp as c } from "../../util/helpers.mjs";
|
|
6
|
+
import { propsFactory as p } from "../../util/propsFactory.mjs";
|
|
7
|
+
import { genericComponent as s } from "../../util/defineComponent.mjs";
|
|
8
|
+
import { useRender as b } from "../../util/useRender.mjs";
|
|
9
|
+
const f = p({
|
|
10
|
+
text: String,
|
|
11
|
+
onClick: c(),
|
|
12
|
+
...n(),
|
|
13
|
+
...i()
|
|
14
|
+
}, "VLabel"), v = s()({
|
|
15
|
+
name: "VLabel",
|
|
16
|
+
props: f(),
|
|
17
|
+
setup(e, r) {
|
|
18
|
+
let {
|
|
19
|
+
slots: o
|
|
20
|
+
} = r;
|
|
21
|
+
return b(() => {
|
|
22
|
+
var t;
|
|
23
|
+
return l("label", {
|
|
24
|
+
class: m(["v-label", {
|
|
25
|
+
"v-label--clickable": !!e.onClick
|
|
26
|
+
}, e.class]),
|
|
27
|
+
style: a(e.style),
|
|
28
|
+
onClick: e.onClick
|
|
29
|
+
}, [e.text, (t = o.default) == null ? void 0 : t.call(o)]);
|
|
30
|
+
}), {};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
v as VLabel,
|
|
35
|
+
f as makeVLabelProps
|
|
36
|
+
};
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { toRef as a, useId as Y, watch as Z, shallowRef as p, ref as ee, computed as te, createVNode as N, normalizeClass as ne, normalizeStyle as ae } from "vue";
|
|
2
|
+
import "../../../../../../../_virtual/VList.sass.mjs";
|
|
3
|
+
import { VListChildren as ie } from "./VListChildren.mjs";
|
|
4
|
+
import { createList as oe } from "./list.mjs";
|
|
5
|
+
import { makeBorderProps as le, useBorder as re } from "../../composables/border.mjs";
|
|
6
|
+
import { useBackgroundColor as se } from "../../composables/color.mjs";
|
|
7
|
+
import { makeComponentProps as ue } from "../../composables/component.mjs";
|
|
8
|
+
import { provideDefaults as ce } from "../../composables/defaults.mjs";
|
|
9
|
+
import { makeDensityProps as de, useDensity as me } from "../../composables/density.mjs";
|
|
10
|
+
import { makeDimensionProps as ve, useDimension as fe } from "../../composables/dimensions.mjs";
|
|
11
|
+
import { makeElevationProps as ge, useElevation as ye } from "../../composables/elevation.mjs";
|
|
12
|
+
import { IconValue as V } from "../../composables/icons.mjs";
|
|
13
|
+
import { makeItemsProps as be } from "../../composables/list-items.mjs";
|
|
14
|
+
import { makeNestedProps as ke, useNested as Ce } from "../../composables/nested/nested.mjs";
|
|
15
|
+
import { useProxiedModel as Se } from "../../composables/proxiedModel.mjs";
|
|
16
|
+
import { makeRoundedProps as xe, useRounded as Ie } from "../../composables/rounded.mjs";
|
|
17
|
+
import { makeTagProps as he } from "../../composables/tag.mjs";
|
|
18
|
+
import { makeThemeProps as Pe, provideTheme as we } from "../../composables/theme.mjs";
|
|
19
|
+
import { makeVariantProps as Te } from "../../composables/variant.mjs";
|
|
20
|
+
import { EventProp as C, focusChild as Ne, convertToUnit as B, isPrimitive as F, getPropertyFromItem as v, omit as Ve } from "../../util/helpers.mjs";
|
|
21
|
+
import { propsFactory as Be } from "../../util/propsFactory.mjs";
|
|
22
|
+
import { genericComponent as Fe } from "../../util/defineComponent.mjs";
|
|
23
|
+
import { useRender as Le } from "../../util/useRender.mjs";
|
|
24
|
+
const De = /* @__PURE__ */ new Set(["item", "divider", "subheader"]);
|
|
25
|
+
function Ee(e, i) {
|
|
26
|
+
const s = F(i) ? i : v(i, e.itemTitle), c = F(i) ? i : v(i, e.itemValue, void 0), y = v(i, e.itemChildren), r = e.itemProps === !0 ? Ve(i, ["children"]) : v(i, e.itemProps);
|
|
27
|
+
let u = v(i, e.itemType, "item");
|
|
28
|
+
De.has(u) || (u = "item");
|
|
29
|
+
const d = {
|
|
30
|
+
title: s,
|
|
31
|
+
value: c,
|
|
32
|
+
...r
|
|
33
|
+
};
|
|
34
|
+
return {
|
|
35
|
+
type: u,
|
|
36
|
+
title: d.title,
|
|
37
|
+
value: d.value,
|
|
38
|
+
props: d,
|
|
39
|
+
children: u === "item" && y ? L(e, y) : void 0,
|
|
40
|
+
raw: i
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function L(e, i) {
|
|
44
|
+
const s = [];
|
|
45
|
+
for (const c of i)
|
|
46
|
+
s.push(Ee(e, c));
|
|
47
|
+
return s;
|
|
48
|
+
}
|
|
49
|
+
function Re(e) {
|
|
50
|
+
return {
|
|
51
|
+
items: te(() => L(e, e.items))
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
const Ae = Be({
|
|
55
|
+
baseColor: String,
|
|
56
|
+
/* @deprecated */
|
|
57
|
+
activeColor: String,
|
|
58
|
+
activeClass: String,
|
|
59
|
+
bgColor: String,
|
|
60
|
+
disabled: Boolean,
|
|
61
|
+
filterable: Boolean,
|
|
62
|
+
expandIcon: V,
|
|
63
|
+
collapseIcon: V,
|
|
64
|
+
lines: {
|
|
65
|
+
type: [Boolean, String],
|
|
66
|
+
default: "one"
|
|
67
|
+
},
|
|
68
|
+
slim: Boolean,
|
|
69
|
+
prependGap: [Number, String],
|
|
70
|
+
indent: [Number, String],
|
|
71
|
+
nav: Boolean,
|
|
72
|
+
navigationStrategy: {
|
|
73
|
+
type: String,
|
|
74
|
+
default: "focus"
|
|
75
|
+
},
|
|
76
|
+
navigationIndex: Number,
|
|
77
|
+
"onClick:open": C(),
|
|
78
|
+
"onClick:select": C(),
|
|
79
|
+
"onUpdate:opened": C(),
|
|
80
|
+
...ke({
|
|
81
|
+
selectStrategy: "single-leaf",
|
|
82
|
+
openStrategy: "list"
|
|
83
|
+
}),
|
|
84
|
+
...le(),
|
|
85
|
+
...ue(),
|
|
86
|
+
...de(),
|
|
87
|
+
...ve(),
|
|
88
|
+
...ge(),
|
|
89
|
+
...be(),
|
|
90
|
+
...xe(),
|
|
91
|
+
...he(),
|
|
92
|
+
...Pe(),
|
|
93
|
+
...Te({
|
|
94
|
+
variant: "text"
|
|
95
|
+
})
|
|
96
|
+
}, "VList"), ot = Fe()({
|
|
97
|
+
name: "VList",
|
|
98
|
+
props: Ae(),
|
|
99
|
+
emits: {
|
|
100
|
+
"update:selected": (e) => !0,
|
|
101
|
+
"update:activated": (e) => !0,
|
|
102
|
+
"update:opened": (e) => !0,
|
|
103
|
+
"update:navigationIndex": (e) => !0,
|
|
104
|
+
"click:open": (e) => !0,
|
|
105
|
+
"click:activate": (e) => !0,
|
|
106
|
+
"click:select": (e) => !0
|
|
107
|
+
},
|
|
108
|
+
setup(e, i) {
|
|
109
|
+
let {
|
|
110
|
+
attrs: s,
|
|
111
|
+
slots: c,
|
|
112
|
+
emit: y
|
|
113
|
+
} = i;
|
|
114
|
+
const {
|
|
115
|
+
items: r
|
|
116
|
+
} = Re(e), {
|
|
117
|
+
themeClasses: u
|
|
118
|
+
} = we(e), {
|
|
119
|
+
backgroundColorClasses: d,
|
|
120
|
+
backgroundColorStyles: D
|
|
121
|
+
} = se(() => e.bgColor), {
|
|
122
|
+
borderClasses: E
|
|
123
|
+
} = re(e), {
|
|
124
|
+
densityClasses: R
|
|
125
|
+
} = me(e), {
|
|
126
|
+
dimensionStyles: A
|
|
127
|
+
} = fe(e), {
|
|
128
|
+
elevationClasses: G
|
|
129
|
+
} = ye(e), {
|
|
130
|
+
roundedClasses: M
|
|
131
|
+
} = Ie(e), {
|
|
132
|
+
children: j,
|
|
133
|
+
open: O,
|
|
134
|
+
parents: U,
|
|
135
|
+
select: $,
|
|
136
|
+
getPath: z
|
|
137
|
+
} = Ce(e, {
|
|
138
|
+
items: r,
|
|
139
|
+
returnObject: a(() => e.returnObject),
|
|
140
|
+
scrollToActive: a(() => e.navigationStrategy === "track")
|
|
141
|
+
}), H = a(() => e.lines ? `v-list--${e.lines}-line` : void 0), S = a(() => e.activeColor), x = a(() => e.baseColor), I = a(() => e.color), h = a(() => e.selectable || e.activatable), l = Se(e, "navigationIndex", -1, (t) => t ?? -1), P = Y();
|
|
142
|
+
oe({
|
|
143
|
+
filterable: e.filterable,
|
|
144
|
+
trackingIndex: l,
|
|
145
|
+
navigationStrategy: a(() => e.navigationStrategy),
|
|
146
|
+
uid: P
|
|
147
|
+
}), Z(r, () => {
|
|
148
|
+
e.navigationStrategy === "track" && (l.value = -1);
|
|
149
|
+
}), ce({
|
|
150
|
+
VListGroup: {
|
|
151
|
+
activeColor: S,
|
|
152
|
+
baseColor: x,
|
|
153
|
+
color: I,
|
|
154
|
+
expandIcon: a(() => e.expandIcon),
|
|
155
|
+
collapseIcon: a(() => e.collapseIcon)
|
|
156
|
+
},
|
|
157
|
+
VListItem: {
|
|
158
|
+
activeClass: a(() => e.activeClass),
|
|
159
|
+
activeColor: S,
|
|
160
|
+
baseColor: x,
|
|
161
|
+
color: I,
|
|
162
|
+
density: a(() => e.density),
|
|
163
|
+
disabled: a(() => e.disabled),
|
|
164
|
+
lines: a(() => e.lines),
|
|
165
|
+
nav: a(() => e.nav),
|
|
166
|
+
slim: a(() => e.slim),
|
|
167
|
+
variant: a(() => e.variant),
|
|
168
|
+
tabindex: a(() => e.navigationStrategy === "track" ? -1 : void 0)
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
const f = p(!1), m = ee();
|
|
172
|
+
function K(t) {
|
|
173
|
+
f.value = !0;
|
|
174
|
+
}
|
|
175
|
+
function W(t) {
|
|
176
|
+
f.value = !1;
|
|
177
|
+
}
|
|
178
|
+
function X(t) {
|
|
179
|
+
var o;
|
|
180
|
+
e.navigationStrategy === "track" ? ~l.value || (l.value = w("first")) : !f.value && !(t.relatedTarget && ((o = m.value) != null && o.contains(t.relatedTarget))) && b();
|
|
181
|
+
}
|
|
182
|
+
function _() {
|
|
183
|
+
e.navigationStrategy === "track" && (l.value = -1);
|
|
184
|
+
}
|
|
185
|
+
function q(t) {
|
|
186
|
+
switch (t) {
|
|
187
|
+
case "ArrowDown":
|
|
188
|
+
return "next";
|
|
189
|
+
case "ArrowUp":
|
|
190
|
+
return "prev";
|
|
191
|
+
case "Home":
|
|
192
|
+
return "first";
|
|
193
|
+
case "End":
|
|
194
|
+
return "last";
|
|
195
|
+
default:
|
|
196
|
+
return null;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
function w(t) {
|
|
200
|
+
const o = r.value.length;
|
|
201
|
+
if (o === 0)
|
|
202
|
+
return -1;
|
|
203
|
+
let n;
|
|
204
|
+
t === "first" ? n = 0 : t === "last" ? n = o - 1 : (n = l.value + (t === "next" ? 1 : -1), n < 0 && (n = o - 1), n >= o && (n = 0));
|
|
205
|
+
const g = n;
|
|
206
|
+
let T = 0;
|
|
207
|
+
for (; T < o; ) {
|
|
208
|
+
const k = r.value[n];
|
|
209
|
+
if (k && k.type !== "divider" && k.type !== "subheader")
|
|
210
|
+
return n;
|
|
211
|
+
if (n += t === "next" || t === "first" ? 1 : -1, n < 0 && (n = o - 1), n >= o && (n = 0), n === g)
|
|
212
|
+
return -1;
|
|
213
|
+
T++;
|
|
214
|
+
}
|
|
215
|
+
return -1;
|
|
216
|
+
}
|
|
217
|
+
function J(t) {
|
|
218
|
+
const o = t.target;
|
|
219
|
+
if (!m.value || o.tagName === "INPUT" && ["Home", "End"].includes(t.key) || o.tagName === "TEXTAREA")
|
|
220
|
+
return;
|
|
221
|
+
const n = q(t.key);
|
|
222
|
+
if (n !== null)
|
|
223
|
+
if (t.preventDefault(), e.navigationStrategy === "track") {
|
|
224
|
+
const g = w(n);
|
|
225
|
+
g !== -1 && (l.value = g);
|
|
226
|
+
} else
|
|
227
|
+
b(n);
|
|
228
|
+
}
|
|
229
|
+
function Q(t) {
|
|
230
|
+
f.value = !0;
|
|
231
|
+
}
|
|
232
|
+
function b(t) {
|
|
233
|
+
if (m.value)
|
|
234
|
+
return Ne(m.value, t);
|
|
235
|
+
}
|
|
236
|
+
return Le(() => {
|
|
237
|
+
const t = e.indent ?? (e.prependGap ? Number(e.prependGap) + 24 : void 0), o = h.value ? s.ariaMultiselectable ?? !String(e.selectStrategy).startsWith("single-") : void 0;
|
|
238
|
+
return N(e.tag, {
|
|
239
|
+
ref: m,
|
|
240
|
+
class: ne(["v-list", {
|
|
241
|
+
"v-list--disabled": e.disabled,
|
|
242
|
+
"v-list--nav": e.nav,
|
|
243
|
+
"v-list--slim": e.slim
|
|
244
|
+
}, u.value, d.value, E.value, R.value, G.value, H.value, M.value, e.class]),
|
|
245
|
+
style: ae([{
|
|
246
|
+
"--v-list-indent": B(t),
|
|
247
|
+
"--v-list-group-prepend": t ? "0px" : void 0,
|
|
248
|
+
"--v-list-prepend-gap": B(e.prependGap)
|
|
249
|
+
}, D.value, A.value, e.style]),
|
|
250
|
+
tabindex: e.disabled ? -1 : 0,
|
|
251
|
+
role: h.value ? "listbox" : "list",
|
|
252
|
+
"aria-activedescendant": e.navigationStrategy === "track" && l.value >= 0 ? `v-list-item-${P}-${l.value}` : void 0,
|
|
253
|
+
"aria-multiselectable": o,
|
|
254
|
+
onFocusin: K,
|
|
255
|
+
onFocusout: W,
|
|
256
|
+
onFocus: X,
|
|
257
|
+
onBlur: _,
|
|
258
|
+
onKeydown: J,
|
|
259
|
+
onMousedown: Q
|
|
260
|
+
}, {
|
|
261
|
+
default: () => [N(ie, {
|
|
262
|
+
items: r.value,
|
|
263
|
+
returnObject: e.returnObject
|
|
264
|
+
}, c)]
|
|
265
|
+
});
|
|
266
|
+
}), {
|
|
267
|
+
open: O,
|
|
268
|
+
select: $,
|
|
269
|
+
focus: b,
|
|
270
|
+
children: j,
|
|
271
|
+
parents: U,
|
|
272
|
+
getPath: z,
|
|
273
|
+
navigationIndex: l
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
export {
|
|
278
|
+
ot as VList,
|
|
279
|
+
Ae as makeVListProps,
|
|
280
|
+
Re as useListItems
|
|
281
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { createVNode as p, mergeProps as d } from "vue";
|
|
2
|
+
import { VListGroup as V } from "./VListGroup.mjs";
|
|
3
|
+
import { VListItem as L } from "./VListItem.mjs";
|
|
4
|
+
import { VListSubheader as C } from "./VListSubheader.mjs";
|
|
5
|
+
import { createList as I } from "./list.mjs";
|
|
6
|
+
import { VDivider as y } from "../VDivider/VDivider.mjs";
|
|
7
|
+
import { genericComponent as P } from "../../util/defineComponent.mjs";
|
|
8
|
+
import { propsFactory as g } from "../../util/propsFactory.mjs";
|
|
9
|
+
const w = g({
|
|
10
|
+
items: Array,
|
|
11
|
+
returnObject: Boolean
|
|
12
|
+
}, "VListChildren"), G = P()({
|
|
13
|
+
name: "VListChildren",
|
|
14
|
+
props: w(),
|
|
15
|
+
setup(u, s) {
|
|
16
|
+
let {
|
|
17
|
+
slots: e
|
|
18
|
+
} = s;
|
|
19
|
+
return I(), () => {
|
|
20
|
+
var m, o;
|
|
21
|
+
return ((m = e.default) == null ? void 0 : m.call(e)) ?? ((o = u.items) == null ? void 0 : o.map((j, a) => {
|
|
22
|
+
var b, v;
|
|
23
|
+
let {
|
|
24
|
+
children: l,
|
|
25
|
+
props: r,
|
|
26
|
+
type: c,
|
|
27
|
+
raw: n
|
|
28
|
+
} = j;
|
|
29
|
+
if (c === "divider")
|
|
30
|
+
return ((b = e.divider) == null ? void 0 : b.call(e, {
|
|
31
|
+
props: r
|
|
32
|
+
})) ?? p(y, r, null);
|
|
33
|
+
if (c === "subheader")
|
|
34
|
+
return ((v = e.subheader) == null ? void 0 : v.call(e, {
|
|
35
|
+
props: r
|
|
36
|
+
})) ?? p(C, r, null);
|
|
37
|
+
const f = {
|
|
38
|
+
subtitle: e.subtitle ? (i) => {
|
|
39
|
+
var t;
|
|
40
|
+
return (t = e.subtitle) == null ? void 0 : t.call(e, {
|
|
41
|
+
...i,
|
|
42
|
+
item: n
|
|
43
|
+
});
|
|
44
|
+
} : void 0,
|
|
45
|
+
prepend: e.prepend ? (i) => {
|
|
46
|
+
var t;
|
|
47
|
+
return (t = e.prepend) == null ? void 0 : t.call(e, {
|
|
48
|
+
...i,
|
|
49
|
+
item: n
|
|
50
|
+
});
|
|
51
|
+
} : void 0,
|
|
52
|
+
append: e.append ? (i) => {
|
|
53
|
+
var t;
|
|
54
|
+
return (t = e.append) == null ? void 0 : t.call(e, {
|
|
55
|
+
...i,
|
|
56
|
+
item: n
|
|
57
|
+
});
|
|
58
|
+
} : void 0,
|
|
59
|
+
title: e.title ? (i) => {
|
|
60
|
+
var t;
|
|
61
|
+
return (t = e.title) == null ? void 0 : t.call(e, {
|
|
62
|
+
...i,
|
|
63
|
+
item: n
|
|
64
|
+
});
|
|
65
|
+
} : void 0
|
|
66
|
+
}, O = V.filterProps(r);
|
|
67
|
+
return l ? p(V, d(O, {
|
|
68
|
+
value: u.returnObject ? n : r == null ? void 0 : r.value,
|
|
69
|
+
rawId: r == null ? void 0 : r.value
|
|
70
|
+
}), {
|
|
71
|
+
activator: (i) => {
|
|
72
|
+
let {
|
|
73
|
+
props: t
|
|
74
|
+
} = i;
|
|
75
|
+
const h = d(r, t, {
|
|
76
|
+
value: u.returnObject ? n : r.value
|
|
77
|
+
});
|
|
78
|
+
return e.header ? e.header({
|
|
79
|
+
props: h
|
|
80
|
+
}) : p(L, d(h, {
|
|
81
|
+
index: a
|
|
82
|
+
}), f);
|
|
83
|
+
},
|
|
84
|
+
default: () => p(G, {
|
|
85
|
+
items: l,
|
|
86
|
+
returnObject: u.returnObject
|
|
87
|
+
}, e)
|
|
88
|
+
}) : e.item ? e.item({
|
|
89
|
+
props: {
|
|
90
|
+
...r,
|
|
91
|
+
index: a
|
|
92
|
+
}
|
|
93
|
+
}) : p(L, d(r, {
|
|
94
|
+
index: a,
|
|
95
|
+
value: u.returnObject ? n : r.value
|
|
96
|
+
}), f);
|
|
97
|
+
}));
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
export {
|
|
102
|
+
G as VListChildren,
|
|
103
|
+
w as makeVListChildrenProps
|
|
104
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { computed as l, inject as y, toRef as S, createVNode as i, normalizeClass as L, normalizeStyle as N, withDirectives as _, createElementVNode as v, vShow as G } from "vue";
|
|
2
|
+
import { VExpandTransition as P } from "../transitions/index.mjs";
|
|
3
|
+
import { useList as T } from "./list.mjs";
|
|
4
|
+
import { makeComponentProps as h } from "../../composables/component.mjs";
|
|
5
|
+
import { IconValue as n } from "../../composables/icons.mjs";
|
|
6
|
+
import { useNestedGroupActivator as x, useNestedItem as A, VNestedSymbol as B } from "../../composables/nested/nested.mjs";
|
|
7
|
+
import { useSsrBoot as k } from "../../composables/ssrBoot.mjs";
|
|
8
|
+
import { makeTagProps as w } from "../../composables/tag.mjs";
|
|
9
|
+
import { MaybeTransition as E } from "../../composables/transition.mjs";
|
|
10
|
+
import { VDefaultsProvider as R } from "../VDefaultsProvider/VDefaultsProvider.mjs";
|
|
11
|
+
import { defineComponent as D, genericComponent as $ } from "../../util/defineComponent.mjs";
|
|
12
|
+
import { propsFactory as z } from "../../util/propsFactory.mjs";
|
|
13
|
+
import { useRender as O } from "../../util/useRender.mjs";
|
|
14
|
+
const j = D({
|
|
15
|
+
name: "VListGroupActivator",
|
|
16
|
+
setup(e, u) {
|
|
17
|
+
let {
|
|
18
|
+
slots: o
|
|
19
|
+
} = u;
|
|
20
|
+
return x(), () => {
|
|
21
|
+
var t;
|
|
22
|
+
return (t = o.default) == null ? void 0 : t.call(o);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
}), F = z({
|
|
26
|
+
/* @deprecated */
|
|
27
|
+
activeColor: String,
|
|
28
|
+
baseColor: String,
|
|
29
|
+
color: String,
|
|
30
|
+
collapseIcon: {
|
|
31
|
+
type: n,
|
|
32
|
+
default: "$collapse"
|
|
33
|
+
},
|
|
34
|
+
disabled: Boolean,
|
|
35
|
+
expandIcon: {
|
|
36
|
+
type: n,
|
|
37
|
+
default: "$expand"
|
|
38
|
+
},
|
|
39
|
+
rawId: [String, Number],
|
|
40
|
+
prependIcon: n,
|
|
41
|
+
appendIcon: n,
|
|
42
|
+
fluid: Boolean,
|
|
43
|
+
subgroup: Boolean,
|
|
44
|
+
title: String,
|
|
45
|
+
value: null,
|
|
46
|
+
...h(),
|
|
47
|
+
...w()
|
|
48
|
+
}, "VListGroup"), te = $()({
|
|
49
|
+
name: "VListGroup",
|
|
50
|
+
props: F(),
|
|
51
|
+
setup(e, u) {
|
|
52
|
+
let {
|
|
53
|
+
slots: o
|
|
54
|
+
} = u;
|
|
55
|
+
const {
|
|
56
|
+
isOpen: t,
|
|
57
|
+
open: p,
|
|
58
|
+
id: f
|
|
59
|
+
} = A(() => e.value, () => e.disabled, !0), s = l(() => `v-list-group--id-${String(e.rawId ?? f.value)}`), d = T(), {
|
|
60
|
+
isBooted: g
|
|
61
|
+
} = k(), c = y(B), b = S(() => {
|
|
62
|
+
var a;
|
|
63
|
+
return ((a = c == null ? void 0 : c.root) == null ? void 0 : a.itemsRegistration.value) === "render";
|
|
64
|
+
});
|
|
65
|
+
function I(a) {
|
|
66
|
+
var r;
|
|
67
|
+
["INPUT", "TEXTAREA"].includes((r = a.target) == null ? void 0 : r.tagName) || p(!t.value, a);
|
|
68
|
+
}
|
|
69
|
+
const V = l(() => ({
|
|
70
|
+
onClick: I,
|
|
71
|
+
class: "v-list-group__header",
|
|
72
|
+
id: s.value
|
|
73
|
+
})), m = l(() => t.value ? e.collapseIcon : e.expandIcon), C = l(() => ({
|
|
74
|
+
VListItem: {
|
|
75
|
+
activeColor: e.activeColor,
|
|
76
|
+
baseColor: e.baseColor,
|
|
77
|
+
color: e.color,
|
|
78
|
+
prependIcon: e.prependIcon || e.subgroup && m.value,
|
|
79
|
+
appendIcon: e.appendIcon || !e.subgroup && m.value,
|
|
80
|
+
title: e.title,
|
|
81
|
+
value: e.value
|
|
82
|
+
}
|
|
83
|
+
}));
|
|
84
|
+
return O(() => i(e.tag, {
|
|
85
|
+
class: L(["v-list-group", {
|
|
86
|
+
"v-list-group--prepend": d == null ? void 0 : d.hasPrepend.value,
|
|
87
|
+
"v-list-group--fluid": e.fluid,
|
|
88
|
+
"v-list-group--subgroup": e.subgroup,
|
|
89
|
+
"v-list-group--open": t.value
|
|
90
|
+
}, e.class]),
|
|
91
|
+
style: N(e.style)
|
|
92
|
+
}, {
|
|
93
|
+
default: () => [o.activator && i(R, {
|
|
94
|
+
defaults: C.value
|
|
95
|
+
}, {
|
|
96
|
+
default: () => [i(j, null, {
|
|
97
|
+
default: () => [o.activator({
|
|
98
|
+
props: V.value,
|
|
99
|
+
isOpen: t.value
|
|
100
|
+
})]
|
|
101
|
+
})]
|
|
102
|
+
}), i(E, {
|
|
103
|
+
transition: {
|
|
104
|
+
component: P
|
|
105
|
+
},
|
|
106
|
+
disabled: !g.value
|
|
107
|
+
}, {
|
|
108
|
+
default: () => {
|
|
109
|
+
var a, r;
|
|
110
|
+
return [b.value ? _(v("div", {
|
|
111
|
+
class: "v-list-group__items",
|
|
112
|
+
role: "group",
|
|
113
|
+
"aria-labelledby": s.value
|
|
114
|
+
}, [(a = o.default) == null ? void 0 : a.call(o)]), [[G, t.value]]) : t.value && v("div", {
|
|
115
|
+
class: "v-list-group__items",
|
|
116
|
+
role: "group",
|
|
117
|
+
"aria-labelledby": s.value
|
|
118
|
+
}, [(r = o.default) == null ? void 0 : r.call(o)])];
|
|
119
|
+
}
|
|
120
|
+
})]
|
|
121
|
+
})), {
|
|
122
|
+
isOpen: t
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
export {
|
|
127
|
+
te as VListGroup,
|
|
128
|
+
F as makeVListGroupProps
|
|
129
|
+
};
|