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,125 @@
|
|
|
1
|
+
import { shallowRef as j, computed as A, unref as F, watchEffect as S, createElementVNode as b, normalizeClass as w, Fragment as x } from "vue";
|
|
2
|
+
import { propsFactory as C } from "../util/propsFactory.mjs";
|
|
3
|
+
import { wrapInArray as v, getPropertyFromItem as E } from "../util/helpers.mjs";
|
|
4
|
+
const $ = (t, r, e) => {
|
|
5
|
+
if (t == null || r == null)
|
|
6
|
+
return -1;
|
|
7
|
+
if (!r.length)
|
|
8
|
+
return 0;
|
|
9
|
+
t = t.toString().toLocaleLowerCase(), r = r.toString().toLocaleLowerCase();
|
|
10
|
+
const l = [];
|
|
11
|
+
let n = t.indexOf(r);
|
|
12
|
+
for (; ~n; )
|
|
13
|
+
l.push([n, n + r.length]), n = t.indexOf(r, n + r.length);
|
|
14
|
+
return l.length ? l : -1;
|
|
15
|
+
};
|
|
16
|
+
function I(t, r) {
|
|
17
|
+
if (!(t == null || typeof t == "boolean" || t === -1))
|
|
18
|
+
return typeof t == "number" ? [[t, t + r.length]] : Array.isArray(t[0]) ? t : [t];
|
|
19
|
+
}
|
|
20
|
+
const N = C({
|
|
21
|
+
customFilter: Function,
|
|
22
|
+
customKeyFilter: Object,
|
|
23
|
+
filterKeys: [Array, String],
|
|
24
|
+
filterMode: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "intersection"
|
|
27
|
+
},
|
|
28
|
+
noFilter: Boolean
|
|
29
|
+
}, "filter");
|
|
30
|
+
function P(t, r, e) {
|
|
31
|
+
var c, M;
|
|
32
|
+
const l = [], n = (e == null ? void 0 : e.default) ?? $, i = e != null && e.filterKeys ? v(e.filterKeys) : !1, u = Object.keys((e == null ? void 0 : e.customKeyFilter) ?? {}).length;
|
|
33
|
+
if (!(t != null && t.length))
|
|
34
|
+
return l;
|
|
35
|
+
let a = [];
|
|
36
|
+
e:
|
|
37
|
+
for (let d = 0; d < t.length; d++) {
|
|
38
|
+
const [f, m = f] = v(t[d]), h = {}, g = {};
|
|
39
|
+
let s = -1;
|
|
40
|
+
if ((r || u > 0) && !(e != null && e.noFilter)) {
|
|
41
|
+
let k = !1;
|
|
42
|
+
if (typeof f == "object") {
|
|
43
|
+
if (f.type === "divider" || f.type === "subheader") {
|
|
44
|
+
(((c = a.at(-1)) == null ? void 0 : c.type) !== "divider" || f.type !== "subheader") && (a = []), a.push({
|
|
45
|
+
index: d,
|
|
46
|
+
matches: {},
|
|
47
|
+
type: f.type
|
|
48
|
+
});
|
|
49
|
+
continue;
|
|
50
|
+
}
|
|
51
|
+
const O = i || Object.keys(m);
|
|
52
|
+
k = O.length === u;
|
|
53
|
+
for (const K of O) {
|
|
54
|
+
const L = E(m, K), o = (M = e == null ? void 0 : e.customKeyFilter) == null ? void 0 : M[K];
|
|
55
|
+
if (s = o ? o(L, r, f) : n(L, r, f), s !== -1 && s !== !1)
|
|
56
|
+
o ? h[K] = I(s, r) : g[K] = I(s, r);
|
|
57
|
+
else if ((e == null ? void 0 : e.filterMode) === "every")
|
|
58
|
+
continue e;
|
|
59
|
+
}
|
|
60
|
+
} else
|
|
61
|
+
s = n(f, r, f), s !== -1 && s !== !1 && (g.title = I(s, r));
|
|
62
|
+
const y = Object.keys(g).length, _ = Object.keys(h).length;
|
|
63
|
+
if (!y && !_ || (e == null ? void 0 : e.filterMode) === "union" && _ !== u && !y || (e == null ? void 0 : e.filterMode) === "intersection" && (_ !== u || !y && u > 0 && !k))
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
a.length && (l.push(...a), a = []), l.push({
|
|
67
|
+
index: d,
|
|
68
|
+
matches: {
|
|
69
|
+
...g,
|
|
70
|
+
...h
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return l;
|
|
75
|
+
}
|
|
76
|
+
function Q(t, r, e, l) {
|
|
77
|
+
const n = j([]), i = j(/* @__PURE__ */ new Map()), u = A(() => l != null && l.transform ? F(r).map((c) => [c, l.transform(c)]) : F(r));
|
|
78
|
+
S(() => {
|
|
79
|
+
const c = typeof e == "function" ? e() : F(e), M = typeof c != "string" && typeof c != "number" ? "" : String(c), d = P(u.value, M, {
|
|
80
|
+
customKeyFilter: {
|
|
81
|
+
...t.customKeyFilter,
|
|
82
|
+
...F(l == null ? void 0 : l.customKeyFilter)
|
|
83
|
+
},
|
|
84
|
+
default: t.customFilter,
|
|
85
|
+
filterKeys: t.filterKeys,
|
|
86
|
+
filterMode: t.filterMode,
|
|
87
|
+
noFilter: t.noFilter
|
|
88
|
+
}), f = F(r), m = [], h = /* @__PURE__ */ new Map();
|
|
89
|
+
d.forEach((g) => {
|
|
90
|
+
let {
|
|
91
|
+
index: s,
|
|
92
|
+
matches: k
|
|
93
|
+
} = g;
|
|
94
|
+
const y = f[s];
|
|
95
|
+
m.push(y), h.set(y.value, k);
|
|
96
|
+
}), n.value = m, i.value = h;
|
|
97
|
+
});
|
|
98
|
+
function a(c) {
|
|
99
|
+
return i.value.get(c.value);
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
filteredItems: n,
|
|
103
|
+
filteredMatches: i,
|
|
104
|
+
getMatches: a
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function V(t, r, e) {
|
|
108
|
+
return e == null || !e.length ? r : e.map((l, n) => {
|
|
109
|
+
const i = n === 0 ? 0 : e[n - 1][1], u = [b("span", {
|
|
110
|
+
class: w(`${t}__unmask`)
|
|
111
|
+
}, [r.slice(i, l[0])]), b("span", {
|
|
112
|
+
class: w(`${t}__mask`)
|
|
113
|
+
}, [r.slice(l[0], l[1])])];
|
|
114
|
+
return n === e.length - 1 && u.push(b("span", {
|
|
115
|
+
class: w(`${t}__unmask`)
|
|
116
|
+
}, [r.slice(l[1])])), b(x, null, [u]);
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
export {
|
|
120
|
+
$ as defaultFilter,
|
|
121
|
+
P as filterItems,
|
|
122
|
+
V as highlightResult,
|
|
123
|
+
N as makeFilterProps,
|
|
124
|
+
Q as useFilter
|
|
125
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useProxiedModel as n } from "./proxiedModel.mjs";
|
|
2
|
+
import { toRef as c } from "vue";
|
|
3
|
+
import { getCurrentInstanceName as f } from "../util/getCurrentInstance.mjs";
|
|
4
|
+
import { propsFactory as m } from "../util/propsFactory.mjs";
|
|
5
|
+
import { EventProp as a } from "../util/helpers.mjs";
|
|
6
|
+
const v = m({
|
|
7
|
+
focused: Boolean,
|
|
8
|
+
"onUpdate:focused": a()
|
|
9
|
+
}, "focus");
|
|
10
|
+
function F(e) {
|
|
11
|
+
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : f();
|
|
12
|
+
const o = n(e, "focused"), t = c(() => ({
|
|
13
|
+
[`${r}--focused`]: o.value
|
|
14
|
+
}));
|
|
15
|
+
function u() {
|
|
16
|
+
o.value = !0;
|
|
17
|
+
}
|
|
18
|
+
function s() {
|
|
19
|
+
o.value = !1;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
focusClasses: t,
|
|
23
|
+
isFocused: o,
|
|
24
|
+
focus: u,
|
|
25
|
+
blur: s
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
v as makeFocusProps,
|
|
30
|
+
F as useFocus
|
|
31
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { toValue as f } from "vue";
|
|
2
|
+
import { focusableChildren as G } from "../util/helpers.mjs";
|
|
3
|
+
function x(l) {
|
|
4
|
+
let {
|
|
5
|
+
groups: r,
|
|
6
|
+
onLeave: p
|
|
7
|
+
} = l;
|
|
8
|
+
function d(n) {
|
|
9
|
+
var o;
|
|
10
|
+
return n.type === "list" ? (o = n.contentRef.value) == null ? void 0 : o.$el : n.contentRef.value;
|
|
11
|
+
}
|
|
12
|
+
function g(n) {
|
|
13
|
+
const o = d(n);
|
|
14
|
+
return o ? G(o) : [];
|
|
15
|
+
}
|
|
16
|
+
function m(n) {
|
|
17
|
+
var c;
|
|
18
|
+
const o = n.target, s = n.shiftKey ? "backward" : "forward", i = r.map(g), a = r.map((t) => {
|
|
19
|
+
var e;
|
|
20
|
+
return t.type === "list" ? (e = t.contentRef.value) == null ? void 0 : e.$el : t.contentRef.value;
|
|
21
|
+
}).findIndex((t) => t == null ? void 0 : t.contains(o)), u = y(i, a, s, o);
|
|
22
|
+
if (u === null) {
|
|
23
|
+
const t = r[a], e = i[a];
|
|
24
|
+
(t.type === "list" || (s === "forward" ? e.at(-1) === n.target : e.at(0) === n.target)) && p();
|
|
25
|
+
} else {
|
|
26
|
+
n.preventDefault(), n.stopImmediatePropagation();
|
|
27
|
+
const t = r[u];
|
|
28
|
+
if (t.type === "list" && f(t.displayItemsCount) > 0)
|
|
29
|
+
(c = t.contentRef.value) == null || c.focus(0);
|
|
30
|
+
else {
|
|
31
|
+
const e = s === "forward";
|
|
32
|
+
i[u].at(e ? 0 : -1).focus();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function y(n, o, s, i) {
|
|
37
|
+
const a = r[o], u = n[o];
|
|
38
|
+
if (a.type !== "list" && !(s === "forward" ? u.at(-1) === i : u.at(0) === i))
|
|
39
|
+
return null;
|
|
40
|
+
const c = s === "forward" ? 1 : -1;
|
|
41
|
+
for (let t = o + c; t >= 0 && t < r.length; t += c) {
|
|
42
|
+
const e = r[t];
|
|
43
|
+
if (n[t].length > 0 || e.type === "list" && f(e.displayItemsCount) > 0)
|
|
44
|
+
return t;
|
|
45
|
+
}
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
onTabKeydown: m
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
x as useFocusGroups
|
|
54
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { toRef as h, watch as L, onScopeDispose as k, nextTick as g, toValue as F } from "vue";
|
|
2
|
+
import { propsFactory as K } from "../util/propsFactory.mjs";
|
|
3
|
+
import { IN_BROWSER as D } from "../util/globals.mjs";
|
|
4
|
+
import { focusableChildren as E } from "../util/helpers.mjs";
|
|
5
|
+
const O = K({
|
|
6
|
+
retainFocus: Boolean,
|
|
7
|
+
captureFocus: Boolean,
|
|
8
|
+
/** @deprecated */
|
|
9
|
+
disableInitialFocus: Boolean
|
|
10
|
+
}, "focusTrap"), y = /* @__PURE__ */ new Map();
|
|
11
|
+
let b = 0;
|
|
12
|
+
function T(n) {
|
|
13
|
+
const f = document.activeElement;
|
|
14
|
+
if (n.key !== "Tab" || !f)
|
|
15
|
+
return;
|
|
16
|
+
const c = Array.from(y.values()).filter((o) => {
|
|
17
|
+
var v;
|
|
18
|
+
let {
|
|
19
|
+
isActive: d,
|
|
20
|
+
contentEl: i
|
|
21
|
+
} = o;
|
|
22
|
+
return d.value && ((v = i.value) == null ? void 0 : v.contains(f));
|
|
23
|
+
}).map((o) => o.contentEl.value);
|
|
24
|
+
let m, u = f.parentElement;
|
|
25
|
+
for (; u; ) {
|
|
26
|
+
if (c.includes(u)) {
|
|
27
|
+
m = u;
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
u = u.parentElement;
|
|
31
|
+
}
|
|
32
|
+
if (!m)
|
|
33
|
+
return;
|
|
34
|
+
const e = E(m).filter((o) => o.tabIndex >= 0);
|
|
35
|
+
if (!e.length)
|
|
36
|
+
return;
|
|
37
|
+
const s = document.activeElement;
|
|
38
|
+
if (e.length === 1 && e[0].classList.contains("v-list") && e[0].contains(s)) {
|
|
39
|
+
n.preventDefault();
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const a = e[0], r = e[e.length - 1];
|
|
43
|
+
n.shiftKey && (s === a || a.classList.contains("v-list") && a.contains(s)) && (n.preventDefault(), r.focus()), !n.shiftKey && (s === r || r.classList.contains("v-list") && r.contains(s)) && (n.preventDefault(), a.focus());
|
|
44
|
+
}
|
|
45
|
+
function P(n, f) {
|
|
46
|
+
let {
|
|
47
|
+
isActive: c,
|
|
48
|
+
localTop: m,
|
|
49
|
+
activatorEl: u,
|
|
50
|
+
contentEl: e
|
|
51
|
+
} = f;
|
|
52
|
+
const s = Symbol("trap");
|
|
53
|
+
let a = !1, r = -1;
|
|
54
|
+
async function o() {
|
|
55
|
+
a = !0, r = window.setTimeout(() => {
|
|
56
|
+
a = !1;
|
|
57
|
+
}, 100);
|
|
58
|
+
}
|
|
59
|
+
async function d(t) {
|
|
60
|
+
var w;
|
|
61
|
+
const p = t.relatedTarget, l = t.target;
|
|
62
|
+
document.removeEventListener("pointerdown", o), document.removeEventListener("keydown", i), await g(), c.value && !a && p !== l && e.value && // We're the menu without open submenus or overlays
|
|
63
|
+
F(m) && // It isn't the document or the container body
|
|
64
|
+
![document, e.value].includes(l) && // It isn't inside the container body
|
|
65
|
+
!e.value.contains(l) && ((w = E(e.value)[0]) == null || w.focus());
|
|
66
|
+
}
|
|
67
|
+
function i(t) {
|
|
68
|
+
if (t.key === "Tab" && (document.removeEventListener("keydown", i), c.value && e.value && t.target && !e.value.contains(t.target))) {
|
|
69
|
+
const p = E(document.documentElement);
|
|
70
|
+
if (t.shiftKey && t.target === p.at(0) || !t.shiftKey && t.target === p.at(-1)) {
|
|
71
|
+
const l = E(e.value);
|
|
72
|
+
l.length > 0 && (t.preventDefault(), l[0].focus());
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
const v = h(() => c.value && n.captureFocus && !n.disableInitialFocus);
|
|
77
|
+
D && (L(() => n.retainFocus, (t) => {
|
|
78
|
+
t ? y.set(s, {
|
|
79
|
+
isActive: c,
|
|
80
|
+
contentEl: e
|
|
81
|
+
}) : y.delete(s);
|
|
82
|
+
}, {
|
|
83
|
+
immediate: !0
|
|
84
|
+
}), L(v, (t) => {
|
|
85
|
+
t ? (document.addEventListener("pointerdown", o), document.addEventListener("focusin", d, {
|
|
86
|
+
once: !0
|
|
87
|
+
}), document.addEventListener("keydown", i)) : (document.removeEventListener("pointerdown", o), document.removeEventListener("focusin", d), document.removeEventListener("keydown", i));
|
|
88
|
+
}, {
|
|
89
|
+
immediate: !0
|
|
90
|
+
}), b++ < 1 && document.addEventListener("keydown", T)), k(() => {
|
|
91
|
+
y.delete(s), clearTimeout(r), document.removeEventListener("pointerdown", o), document.removeEventListener("focusin", d), document.removeEventListener("keydown", i), --b < 1 && document.removeEventListener("keydown", T);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
export {
|
|
95
|
+
O as makeFocusTrapProps,
|
|
96
|
+
P as useFocusTrap
|
|
97
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { useProxiedModel as M } from "./proxiedModel.mjs";
|
|
2
|
+
import { toRef as d, shallowRef as R, ref as c, watch as w, provide as B, markRaw as D, inject as k, computed as m } from "vue";
|
|
3
|
+
import { propsFactory as E } from "../util/propsFactory.mjs";
|
|
4
|
+
import { consoleWarn as O } from "../util/console.mjs";
|
|
5
|
+
const y = Symbol.for("vuetify:form"), K = E({
|
|
6
|
+
disabled: Boolean,
|
|
7
|
+
fastFail: Boolean,
|
|
8
|
+
readonly: Boolean,
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: null
|
|
12
|
+
},
|
|
13
|
+
validateOn: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "input"
|
|
16
|
+
}
|
|
17
|
+
}, "form");
|
|
18
|
+
function W(i) {
|
|
19
|
+
const s = M(i, "modelValue"), f = d(() => i.disabled), v = d(() => i.readonly), n = R(!1), l = c([]), o = c([]);
|
|
20
|
+
async function g() {
|
|
21
|
+
const e = [];
|
|
22
|
+
let a = !0;
|
|
23
|
+
o.value = [], n.value = !0;
|
|
24
|
+
for (const r of l.value) {
|
|
25
|
+
const t = await r.validate();
|
|
26
|
+
if (t.length > 0 && (a = !1, e.push({
|
|
27
|
+
id: r.id,
|
|
28
|
+
errorMessages: t
|
|
29
|
+
})), !a && i.fastFail)
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
return o.value = e, n.value = !1, {
|
|
33
|
+
valid: a,
|
|
34
|
+
errors: o.value
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function V() {
|
|
38
|
+
l.value.forEach((e) => e.reset());
|
|
39
|
+
}
|
|
40
|
+
function h() {
|
|
41
|
+
l.value.forEach((e) => e.resetValidation());
|
|
42
|
+
}
|
|
43
|
+
return w(l, () => {
|
|
44
|
+
let e = 0, a = 0;
|
|
45
|
+
const r = [];
|
|
46
|
+
for (const t of l.value)
|
|
47
|
+
t.isValid === !1 ? (a++, r.push({
|
|
48
|
+
id: t.id,
|
|
49
|
+
errorMessages: t.errorMessages
|
|
50
|
+
})) : t.isValid === !0 && e++;
|
|
51
|
+
o.value = r, s.value = a > 0 ? !1 : e === l.value.length ? !0 : null;
|
|
52
|
+
}, {
|
|
53
|
+
deep: !0,
|
|
54
|
+
flush: "post"
|
|
55
|
+
}), B(y, {
|
|
56
|
+
register: (e) => {
|
|
57
|
+
let {
|
|
58
|
+
id: a,
|
|
59
|
+
vm: r,
|
|
60
|
+
validate: t,
|
|
61
|
+
reset: u,
|
|
62
|
+
resetValidation: b
|
|
63
|
+
} = e;
|
|
64
|
+
l.value.some((F) => F.id === a) && O(`Duplicate input name "${a}"`), l.value.push({
|
|
65
|
+
id: a,
|
|
66
|
+
validate: t,
|
|
67
|
+
reset: u,
|
|
68
|
+
resetValidation: b,
|
|
69
|
+
vm: D(r),
|
|
70
|
+
isValid: null,
|
|
71
|
+
errorMessages: []
|
|
72
|
+
});
|
|
73
|
+
},
|
|
74
|
+
unregister: (e) => {
|
|
75
|
+
l.value = l.value.filter((a) => a.id !== e);
|
|
76
|
+
},
|
|
77
|
+
update: (e, a, r) => {
|
|
78
|
+
const t = l.value.find((u) => u.id === e);
|
|
79
|
+
t && (t.isValid = a, t.errorMessages = r);
|
|
80
|
+
},
|
|
81
|
+
isDisabled: f,
|
|
82
|
+
isReadonly: v,
|
|
83
|
+
isValidating: n,
|
|
84
|
+
isValid: s,
|
|
85
|
+
items: l,
|
|
86
|
+
validateOn: d(() => i.validateOn)
|
|
87
|
+
}), {
|
|
88
|
+
errors: o,
|
|
89
|
+
isDisabled: f,
|
|
90
|
+
isReadonly: v,
|
|
91
|
+
isValidating: n,
|
|
92
|
+
isValid: s,
|
|
93
|
+
items: l,
|
|
94
|
+
validate: g,
|
|
95
|
+
reset: V,
|
|
96
|
+
resetValidation: h
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
function $(i) {
|
|
100
|
+
const s = k(y, null);
|
|
101
|
+
return {
|
|
102
|
+
...s,
|
|
103
|
+
isReadonly: m(() => !!((i == null ? void 0 : i.readonly) ?? (s == null ? void 0 : s.isReadonly.value))),
|
|
104
|
+
isDisabled: m(() => !!((i == null ? void 0 : i.disabled) ?? (s == null ? void 0 : s.isDisabled.value)))
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
export {
|
|
108
|
+
y as FormKey,
|
|
109
|
+
W as createForm,
|
|
110
|
+
K as makeFormProps,
|
|
111
|
+
$ as useForm
|
|
112
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
const h = Symbol("Forwarded refs");
|
|
2
|
+
function p(c, u) {
|
|
3
|
+
let r = c;
|
|
4
|
+
for (; r; ) {
|
|
5
|
+
const n = Reflect.getOwnPropertyDescriptor(r, u);
|
|
6
|
+
if (n)
|
|
7
|
+
return n;
|
|
8
|
+
r = Object.getPrototypeOf(r);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
function R(c) {
|
|
12
|
+
for (var u = arguments.length, r = new Array(u > 1 ? u - 1 : 0), n = 1; n < u; n++)
|
|
13
|
+
r[n - 1] = arguments[n];
|
|
14
|
+
return c[h] = r, new Proxy(c, {
|
|
15
|
+
get(s, t) {
|
|
16
|
+
if (Reflect.has(s, t))
|
|
17
|
+
return Reflect.get(s, t);
|
|
18
|
+
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
19
|
+
for (const e of r)
|
|
20
|
+
if (e.value && Reflect.has(e.value, t)) {
|
|
21
|
+
const f = Reflect.get(e.value, t);
|
|
22
|
+
return typeof f == "function" ? f.bind(e.value) : f;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
has(s, t) {
|
|
27
|
+
if (Reflect.has(s, t))
|
|
28
|
+
return !0;
|
|
29
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
30
|
+
return !1;
|
|
31
|
+
for (const e of r)
|
|
32
|
+
if (e.value && Reflect.has(e.value, t))
|
|
33
|
+
return !0;
|
|
34
|
+
return !1;
|
|
35
|
+
},
|
|
36
|
+
set(s, t, e) {
|
|
37
|
+
if (Reflect.has(s, t))
|
|
38
|
+
return Reflect.set(s, t, e);
|
|
39
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
40
|
+
return !1;
|
|
41
|
+
for (const f of r)
|
|
42
|
+
if (f.value && Reflect.has(f.value, t))
|
|
43
|
+
return Reflect.set(f.value, t, e);
|
|
44
|
+
return !1;
|
|
45
|
+
},
|
|
46
|
+
getOwnPropertyDescriptor(s, t) {
|
|
47
|
+
var f;
|
|
48
|
+
const e = Reflect.getOwnPropertyDescriptor(s, t);
|
|
49
|
+
if (e)
|
|
50
|
+
return e;
|
|
51
|
+
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
52
|
+
for (const o of r) {
|
|
53
|
+
if (!o.value)
|
|
54
|
+
continue;
|
|
55
|
+
const i = p(o.value, t) ?? ("_" in o.value ? p((f = o.value._) == null ? void 0 : f.setupState, t) : void 0);
|
|
56
|
+
if (i)
|
|
57
|
+
return i;
|
|
58
|
+
}
|
|
59
|
+
for (const o of r) {
|
|
60
|
+
const i = o.value && o.value[h];
|
|
61
|
+
if (!i)
|
|
62
|
+
continue;
|
|
63
|
+
const l = i.slice();
|
|
64
|
+
for (; l.length; ) {
|
|
65
|
+
const a = l.shift(), v = p(a.value, t);
|
|
66
|
+
if (v)
|
|
67
|
+
return v;
|
|
68
|
+
const d = a.value && a.value[h];
|
|
69
|
+
d && l.push(...d);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
export {
|
|
77
|
+
R as forwardRefs
|
|
78
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { inject as R, toRef as S } from "vue";
|
|
2
|
+
import { useRtl as v } from "./locale.mjs";
|
|
3
|
+
import { easingPatterns as C } from "../util/easing.mjs";
|
|
4
|
+
import { mergeDeep as g, clamp as b, refElement as H } from "../util/helpers.mjs";
|
|
5
|
+
import { PREFERS_REDUCED_MOTION as L } from "../util/globals.mjs";
|
|
6
|
+
import { consoleWarn as W } from "../util/console.mjs";
|
|
7
|
+
const D = Symbol.for("vuetify:goto");
|
|
8
|
+
function I() {
|
|
9
|
+
return {
|
|
10
|
+
container: void 0,
|
|
11
|
+
duration: 300,
|
|
12
|
+
layout: !1,
|
|
13
|
+
offset: 0,
|
|
14
|
+
easing: "easeInOutCubic",
|
|
15
|
+
patterns: C
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function M(t) {
|
|
19
|
+
return E(t) ?? (document.scrollingElement || document.body);
|
|
20
|
+
}
|
|
21
|
+
function E(t) {
|
|
22
|
+
return typeof t == "string" ? document.querySelector(t) : H(t);
|
|
23
|
+
}
|
|
24
|
+
function y(t, f, r) {
|
|
25
|
+
if (typeof t == "number")
|
|
26
|
+
return f && r ? -t : t;
|
|
27
|
+
let e = E(t), o = 0;
|
|
28
|
+
for (; e; )
|
|
29
|
+
o += f ? e.offsetLeft : e.offsetTop, e = e.offsetParent;
|
|
30
|
+
return o;
|
|
31
|
+
}
|
|
32
|
+
async function h(t, f, r, e) {
|
|
33
|
+
const o = r ? "scrollLeft" : "scrollTop", n = g((e == null ? void 0 : e.options) ?? I(), f), s = e == null ? void 0 : e.rtl.value, a = (typeof t == "number" ? t : E(t)) ?? 0, i = n.container === "parent" && a instanceof HTMLElement ? a.parentElement : M(n.container), l = L() ? n.patterns.instant : typeof n.easing == "function" ? n.easing : n.patterns[n.easing];
|
|
34
|
+
if (!l)
|
|
35
|
+
throw new TypeError(`Easing function "${n.easing}" not found.`);
|
|
36
|
+
let c;
|
|
37
|
+
if (typeof a == "number")
|
|
38
|
+
c = y(a, r, s);
|
|
39
|
+
else if (c = y(a, r, s) - y(i, r, s), n.layout) {
|
|
40
|
+
const u = window.getComputedStyle(a).getPropertyValue("--v-layout-top");
|
|
41
|
+
u && (c -= parseInt(u, 10));
|
|
42
|
+
}
|
|
43
|
+
c += n.offset, c = T(i, c, !!s, !!r);
|
|
44
|
+
const m = i[o] ?? 0;
|
|
45
|
+
if (c === m)
|
|
46
|
+
return Promise.resolve(c);
|
|
47
|
+
const O = performance.now();
|
|
48
|
+
return new Promise((p) => requestAnimationFrame(function u(P) {
|
|
49
|
+
const d = (P - O) / n.duration, w = Math.floor(m + (c - m) * l(b(d, 0, 1)));
|
|
50
|
+
if (i[o] = w, d >= 1 && Math.abs(w - i[o]) < 10)
|
|
51
|
+
return p(c);
|
|
52
|
+
if (d > 2)
|
|
53
|
+
return W("Scroll target is not reachable"), p(i[o]);
|
|
54
|
+
requestAnimationFrame(u);
|
|
55
|
+
}));
|
|
56
|
+
}
|
|
57
|
+
function N() {
|
|
58
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
59
|
+
const f = R(D), {
|
|
60
|
+
isRtl: r
|
|
61
|
+
} = v();
|
|
62
|
+
if (!f)
|
|
63
|
+
throw new Error("[Vuetify] Could not find injected goto instance");
|
|
64
|
+
const e = {
|
|
65
|
+
...f,
|
|
66
|
+
// can be set via VLocaleProvider
|
|
67
|
+
rtl: S(() => f.rtl.value || r.value)
|
|
68
|
+
};
|
|
69
|
+
async function o(n, s) {
|
|
70
|
+
return h(n, g(t, s), !1, e);
|
|
71
|
+
}
|
|
72
|
+
return o.horizontal = async (n, s) => h(n, g(t, s), !0, e), o;
|
|
73
|
+
}
|
|
74
|
+
function T(t, f, r, e) {
|
|
75
|
+
const {
|
|
76
|
+
scrollWidth: o,
|
|
77
|
+
scrollHeight: n
|
|
78
|
+
} = t, [s, a] = t === document.scrollingElement ? [window.innerWidth, window.innerHeight] : [t.offsetWidth, t.offsetHeight];
|
|
79
|
+
let i, l;
|
|
80
|
+
return e ? r ? (i = -(o - s), l = 0) : (i = 0, l = o - s) : (i = 0, l = n + -a), b(f, i, l);
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
D as GoToSymbol,
|
|
84
|
+
h as scrollTo,
|
|
85
|
+
N as useGoTo
|
|
86
|
+
};
|