bt-core-app 2.2.10 → 2.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/VAlert.sass.mjs +1 -0
- package/dist/_virtual/VAvatar.sass.mjs +1 -0
- package/dist/_virtual/VBtn.sass.mjs +1 -0
- package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
- package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
- package/dist/_virtual/VCard.sass.mjs +1 -0
- package/dist/_virtual/VCheckbox.sass.mjs +1 -0
- package/dist/_virtual/VChip.sass.mjs +1 -0
- package/dist/_virtual/VChipGroup.sass.mjs +1 -0
- package/dist/_virtual/VColorPicker.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
- package/dist/_virtual/VCombobox.sass.mjs +1 -0
- package/dist/_virtual/VContainer.sass.mjs +1 -0
- package/dist/_virtual/VCounter.sass.mjs +1 -0
- package/dist/_virtual/VDialog.sass.mjs +1 -0
- package/dist/_virtual/VDivider.sass.mjs +1 -0
- package/dist/_virtual/VField.sass.mjs +1 -0
- package/dist/_virtual/VGrid.sass.mjs +1 -0
- package/dist/_virtual/VIcon.sass.mjs +1 -0
- package/dist/_virtual/VImg.sass.mjs +1 -0
- package/dist/_virtual/VInput.sass.mjs +1 -0
- package/dist/_virtual/VLabel.sass.mjs +1 -0
- package/dist/_virtual/VList.sass.mjs +1 -0
- package/dist/_virtual/VListItem.sass.mjs +1 -0
- package/dist/_virtual/VMenu.sass.mjs +1 -0
- package/dist/_virtual/VMessages.sass.mjs +1 -0
- package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
- package/dist/_virtual/VOverlay.sass.mjs +1 -0
- package/dist/_virtual/VPagination.sass.mjs +1 -0
- package/dist/_virtual/VPicker.sass.mjs +1 -0
- package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
- package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
- package/dist/_virtual/VRating.sass.mjs +1 -0
- package/dist/_virtual/VResponsive.sass.mjs +1 -0
- package/dist/_virtual/VRipple.sass.mjs +1 -0
- package/dist/_virtual/VSelect.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
- package/dist/_virtual/VSheet.sass.mjs +1 -0
- package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
- package/dist/_virtual/VSlider.sass.mjs +1 -0
- package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
- package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
- package/dist/_virtual/VSpacer.sass.mjs +1 -0
- package/dist/_virtual/VSwitch.sass.mjs +1 -0
- package/dist/_virtual/VTab.sass.mjs +1 -0
- package/dist/_virtual/VTable.sass.mjs +1 -0
- package/dist/_virtual/VTabs.sass.mjs +1 -0
- package/dist/_virtual/VTextField.sass.mjs +1 -0
- package/dist/_virtual/VTextarea.sass.mjs +1 -0
- package/dist/_virtual/VToolbar.sass.mjs +1 -0
- package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
- package/dist/_virtual/VWindow.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +120 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +224 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +8 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +408 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
- package/dist/components/BT-Assistant-Menu.vue.mjs +420 -407
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +52 -52
- package/dist/components/BT-Blade-Item.vue.mjs +110 -100
- package/dist/components/BT-Blade-Items.vue.mjs +1 -1
- package/dist/components/BT-Blade-Items.vue2.mjs +411 -399
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +641 -626
- package/dist/components/BT-Blade.vue.mjs +201 -192
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +144 -142
- package/dist/components/BT-Col.vue.mjs +17 -19
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
- package/dist/components/BT-Cron.vue.mjs +264 -249
- package/dist/components/BT-Date-Select.vue.mjs +46 -47
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
- package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
- package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
- package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
- package/dist/components/BT-Dialog-Select.vue.mjs +96 -85
- package/dist/components/BT-Divider.vue.mjs +20 -21
- package/dist/components/BT-Drag-Counter.vue.mjs +1 -1
- package/dist/components/BT-Drag-Counter.vue2.mjs +89 -89
- package/dist/components/BT-Entity.vue.mjs +82 -82
- package/dist/components/BT-Error.vue.mjs +26 -27
- package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
- package/dist/components/BT-Field-Date.vue.mjs +87 -84
- package/dist/components/BT-Field-Entity.vue.mjs +20 -16
- package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
- package/dist/components/BT-Field-Select.vue.mjs +32 -34
- package/dist/components/BT-Field-String.vue.mjs +54 -52
- package/dist/components/BT-Field-Switch.vue.mjs +44 -43
- package/dist/components/BT-Field-Tags.vue.mjs +57 -55
- package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
- package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
- package/dist/components/BT-Field.vue.mjs +39 -38
- package/dist/components/BT-Form-Builder.vue.mjs +346 -325
- package/dist/components/BT-Form-Field.vue.mjs +88 -81
- package/dist/components/BT-Form.vue.mjs +280 -269
- package/dist/components/BT-Header-Option.vue.mjs +21 -19
- package/dist/components/BT-Image-Select.vue.mjs +186 -177
- package/dist/components/BT-Json.vue.mjs +29 -30
- package/dist/components/BT-Loader.vue.mjs +32 -31
- package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
- package/dist/components/BT-Number.vue.mjs +1 -1
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +147 -144
- package/dist/components/BT-Select-List-Box.vue.mjs +287 -276
- package/dist/components/BT-Select-Simple.vue.mjs +21 -23
- package/dist/components/BT-Select.vue.mjs +36 -37
- package/dist/components/BT-Signature-Overlay.vue.mjs +113 -112
- package/dist/components/BT-Signature.vue.mjs +96 -96
- package/dist/components/BT-Slider.vue.mjs +109 -103
- package/dist/components/BT-Square-Check.vue.mjs +65 -65
- package/dist/components/BT-Status-Item.vue.mjs +18 -16
- package/dist/components/BT-Tags.vue.mjs +21 -22
- package/dist/components/BT-Tour.vue.mjs +69 -65
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { useId as p, computed as a, toRef as e, toValue as c } from "vue";
|
|
2
|
+
import { propsFactory as s } from "../util/propsFactory.mjs";
|
|
3
|
+
const f = s({
|
|
4
|
+
closeText: {
|
|
5
|
+
type: String,
|
|
6
|
+
default: "$vuetify.close"
|
|
7
|
+
},
|
|
8
|
+
openText: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "$vuetify.open"
|
|
11
|
+
}
|
|
12
|
+
}, "autocomplete");
|
|
13
|
+
function l(i, o) {
|
|
14
|
+
const n = p(), t = a(() => `menu-${n}`), r = e(() => c(o)), u = e(() => t.value);
|
|
15
|
+
return {
|
|
16
|
+
menuId: t,
|
|
17
|
+
ariaExpanded: r,
|
|
18
|
+
ariaControls: u
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
f as makeMenuActivatorProps,
|
|
23
|
+
l as useMenuActivator
|
|
24
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { toRaw as o } from "vue";
|
|
2
|
+
import { wrapInArray as u } from "../../util/helpers.mjs";
|
|
3
|
+
const l = (s) => {
|
|
4
|
+
const a = {
|
|
5
|
+
activate: (i) => {
|
|
6
|
+
let {
|
|
7
|
+
id: r,
|
|
8
|
+
value: e,
|
|
9
|
+
activated: t
|
|
10
|
+
} = i;
|
|
11
|
+
return r = o(r), s && !e && t.size === 1 && t.has(r) || (e ? t.add(r) : t.delete(r)), t;
|
|
12
|
+
},
|
|
13
|
+
in: (i, r, e) => {
|
|
14
|
+
let t = /* @__PURE__ */ new Set();
|
|
15
|
+
if (i != null)
|
|
16
|
+
for (const n of u(i))
|
|
17
|
+
t = a.activate({
|
|
18
|
+
id: n,
|
|
19
|
+
value: !0,
|
|
20
|
+
activated: new Set(t),
|
|
21
|
+
children: r,
|
|
22
|
+
parents: e
|
|
23
|
+
});
|
|
24
|
+
return t;
|
|
25
|
+
},
|
|
26
|
+
out: (i) => Array.from(i)
|
|
27
|
+
};
|
|
28
|
+
return a;
|
|
29
|
+
}, d = (s) => {
|
|
30
|
+
const a = l(s);
|
|
31
|
+
return {
|
|
32
|
+
activate: (r) => {
|
|
33
|
+
let {
|
|
34
|
+
activated: e,
|
|
35
|
+
id: t,
|
|
36
|
+
...n
|
|
37
|
+
} = r;
|
|
38
|
+
t = o(t);
|
|
39
|
+
const c = e.has(t) ? /* @__PURE__ */ new Set([t]) : /* @__PURE__ */ new Set();
|
|
40
|
+
return a.activate({
|
|
41
|
+
...n,
|
|
42
|
+
id: t,
|
|
43
|
+
activated: c
|
|
44
|
+
});
|
|
45
|
+
},
|
|
46
|
+
in: (r, e, t) => {
|
|
47
|
+
let n = /* @__PURE__ */ new Set();
|
|
48
|
+
if (r != null) {
|
|
49
|
+
const c = u(r);
|
|
50
|
+
c.length && (n = a.in(c.slice(0, 1), e, t));
|
|
51
|
+
}
|
|
52
|
+
return n;
|
|
53
|
+
},
|
|
54
|
+
out: (r, e, t) => a.out(r, e, t)
|
|
55
|
+
};
|
|
56
|
+
}, y = (s) => {
|
|
57
|
+
const a = l(s);
|
|
58
|
+
return {
|
|
59
|
+
activate: (r) => {
|
|
60
|
+
let {
|
|
61
|
+
id: e,
|
|
62
|
+
activated: t,
|
|
63
|
+
children: n,
|
|
64
|
+
...c
|
|
65
|
+
} = r;
|
|
66
|
+
return e = o(e), n.has(e) ? t : a.activate({
|
|
67
|
+
id: e,
|
|
68
|
+
activated: t,
|
|
69
|
+
children: n,
|
|
70
|
+
...c
|
|
71
|
+
});
|
|
72
|
+
},
|
|
73
|
+
in: a.in,
|
|
74
|
+
out: a.out
|
|
75
|
+
};
|
|
76
|
+
}, S = (s) => {
|
|
77
|
+
const a = d(s);
|
|
78
|
+
return {
|
|
79
|
+
activate: (r) => {
|
|
80
|
+
let {
|
|
81
|
+
id: e,
|
|
82
|
+
activated: t,
|
|
83
|
+
children: n,
|
|
84
|
+
...c
|
|
85
|
+
} = r;
|
|
86
|
+
return e = o(e), n.has(e) ? t : a.activate({
|
|
87
|
+
id: e,
|
|
88
|
+
activated: t,
|
|
89
|
+
children: n,
|
|
90
|
+
...c
|
|
91
|
+
});
|
|
92
|
+
},
|
|
93
|
+
in: a.in,
|
|
94
|
+
out: a.out
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export {
|
|
98
|
+
l as independentActiveStrategy,
|
|
99
|
+
d as independentSingleActiveStrategy,
|
|
100
|
+
y as leafActiveStrategy,
|
|
101
|
+
S as leafSingleActiveStrategy
|
|
102
|
+
};
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
import { useProxiedModel as G } from "../proxiedModel.mjs";
|
|
2
|
+
import { shallowRef as b, ref as s, computed as v, onBeforeUnmount as E, watch as x, toValue as m, toRaw as j, toRef as R, provide as U, inject as I, onBeforeMount as H, nextTick as F } from "vue";
|
|
3
|
+
import { independentSingleActiveStrategy as J, independentActiveStrategy as K, leafSingleActiveStrategy as Q, leafActiveStrategy as W } from "./activeStrategies.mjs";
|
|
4
|
+
import { multipleOpenStrategy as X, singleOpenStrategy as Y, listOpenStrategy as Z } from "./openStrategies.mjs";
|
|
5
|
+
import { classicSelectStrategy as ee, branchSelectStrategy as te, trunkSelectStrategy as ae, independentSingleSelectStrategy as ne, independentSelectStrategy as le, leafSelectStrategy as re, leafSingleSelectStrategy as oe } from "./selectStrategies.mjs";
|
|
6
|
+
import { throttle as ce } from "../../util/throttle.mjs";
|
|
7
|
+
import { propsFactory as ie } from "../../util/propsFactory.mjs";
|
|
8
|
+
import { getCurrentInstance as ue } from "../../util/getCurrentInstance.mjs";
|
|
9
|
+
import { consoleError as se } from "../../util/console.mjs";
|
|
10
|
+
const A = Symbol.for("vuetify:nested"), L = {
|
|
11
|
+
id: b(),
|
|
12
|
+
root: {
|
|
13
|
+
itemsRegistration: s("render"),
|
|
14
|
+
register: () => null,
|
|
15
|
+
unregister: () => null,
|
|
16
|
+
updateDisabled: () => null,
|
|
17
|
+
children: s(/* @__PURE__ */ new Map()),
|
|
18
|
+
parents: s(/* @__PURE__ */ new Map()),
|
|
19
|
+
disabled: s(/* @__PURE__ */ new Set()),
|
|
20
|
+
open: () => null,
|
|
21
|
+
openOnSelect: () => null,
|
|
22
|
+
activate: () => null,
|
|
23
|
+
select: () => null,
|
|
24
|
+
activatable: s(!1),
|
|
25
|
+
scrollToActive: s(!1),
|
|
26
|
+
selectable: s(!1),
|
|
27
|
+
opened: s(/* @__PURE__ */ new Set()),
|
|
28
|
+
activated: s(/* @__PURE__ */ new Set()),
|
|
29
|
+
selected: s(/* @__PURE__ */ new Map()),
|
|
30
|
+
selectedValues: s([]),
|
|
31
|
+
getPath: () => []
|
|
32
|
+
}
|
|
33
|
+
}, we = ie({
|
|
34
|
+
activatable: Boolean,
|
|
35
|
+
selectable: Boolean,
|
|
36
|
+
activeStrategy: [String, Function, Object],
|
|
37
|
+
selectStrategy: [String, Function, Object],
|
|
38
|
+
openStrategy: [String, Object],
|
|
39
|
+
opened: null,
|
|
40
|
+
activated: null,
|
|
41
|
+
selected: null,
|
|
42
|
+
mandatory: Boolean,
|
|
43
|
+
itemsRegistration: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: "render"
|
|
46
|
+
}
|
|
47
|
+
}, "nested"), be = (t, h) => {
|
|
48
|
+
let {
|
|
49
|
+
items: S,
|
|
50
|
+
returnObject: l,
|
|
51
|
+
scrollToActive: k
|
|
52
|
+
} = h, i = !1;
|
|
53
|
+
const c = b(/* @__PURE__ */ new Map()), n = b(/* @__PURE__ */ new Map()), u = b(/* @__PURE__ */ new Set()), p = G(t, "opened", t.opened, (e) => new Set(Array.isArray(e) ? e.map((a) => j(a)) : e), (e) => [...e.values()]), V = v(() => {
|
|
54
|
+
if (typeof t.activeStrategy == "object")
|
|
55
|
+
return t.activeStrategy;
|
|
56
|
+
if (typeof t.activeStrategy == "function")
|
|
57
|
+
return t.activeStrategy(t.mandatory);
|
|
58
|
+
switch (t.activeStrategy) {
|
|
59
|
+
case "leaf":
|
|
60
|
+
return W(t.mandatory);
|
|
61
|
+
case "single-leaf":
|
|
62
|
+
return Q(t.mandatory);
|
|
63
|
+
case "independent":
|
|
64
|
+
return K(t.mandatory);
|
|
65
|
+
case "single-independent":
|
|
66
|
+
default:
|
|
67
|
+
return J(t.mandatory);
|
|
68
|
+
}
|
|
69
|
+
}), N = v(() => {
|
|
70
|
+
if (typeof t.selectStrategy == "object")
|
|
71
|
+
return t.selectStrategy;
|
|
72
|
+
if (typeof t.selectStrategy == "function")
|
|
73
|
+
return t.selectStrategy(t.mandatory);
|
|
74
|
+
switch (t.selectStrategy) {
|
|
75
|
+
case "single-leaf":
|
|
76
|
+
return oe(t.mandatory);
|
|
77
|
+
case "leaf":
|
|
78
|
+
return re(t.mandatory);
|
|
79
|
+
case "independent":
|
|
80
|
+
return le(t.mandatory);
|
|
81
|
+
case "single-independent":
|
|
82
|
+
return ne(t.mandatory);
|
|
83
|
+
case "trunk":
|
|
84
|
+
return ae(t.mandatory);
|
|
85
|
+
case "branch":
|
|
86
|
+
return te(t.mandatory);
|
|
87
|
+
case "classic":
|
|
88
|
+
default:
|
|
89
|
+
return ee(t.mandatory);
|
|
90
|
+
}
|
|
91
|
+
}), _ = v(() => {
|
|
92
|
+
if (typeof t.openStrategy == "object")
|
|
93
|
+
return t.openStrategy;
|
|
94
|
+
switch (t.openStrategy) {
|
|
95
|
+
case "list":
|
|
96
|
+
return Z;
|
|
97
|
+
case "single":
|
|
98
|
+
return Y;
|
|
99
|
+
case "multiple":
|
|
100
|
+
default:
|
|
101
|
+
return X;
|
|
102
|
+
}
|
|
103
|
+
}), g = G(t, "activated", t.activated, (e) => V.value.in(e, c.value, n.value), (e) => V.value.out(e, c.value, n.value)), w = G(t, "selected", t.selected, (e) => N.value.in(e, c.value, n.value, u.value), (e) => N.value.out(e, c.value, n.value));
|
|
104
|
+
E(() => {
|
|
105
|
+
i = !0;
|
|
106
|
+
});
|
|
107
|
+
function y(e) {
|
|
108
|
+
const a = [];
|
|
109
|
+
let r = j(e);
|
|
110
|
+
for (; r !== void 0; )
|
|
111
|
+
a.unshift(r), r = n.value.get(r);
|
|
112
|
+
return a;
|
|
113
|
+
}
|
|
114
|
+
const P = ue("nested"), T = /* @__PURE__ */ new Set(), z = ce(() => {
|
|
115
|
+
F(() => {
|
|
116
|
+
c.value = new Map(c.value), n.value = new Map(n.value);
|
|
117
|
+
});
|
|
118
|
+
}, 100);
|
|
119
|
+
x(() => [S.value, m(l)], () => {
|
|
120
|
+
t.itemsRegistration === "props" && q();
|
|
121
|
+
}, {
|
|
122
|
+
immediate: !0
|
|
123
|
+
});
|
|
124
|
+
function q() {
|
|
125
|
+
const e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), o = m(l) ? (f) => j(f.raw) : (f) => f.value, d = [...S.value];
|
|
126
|
+
let O = 0;
|
|
127
|
+
for (; O < d.length; ) {
|
|
128
|
+
const f = d[O++], B = o(f);
|
|
129
|
+
if (f.children) {
|
|
130
|
+
const D = [];
|
|
131
|
+
for (const $ of f.children) {
|
|
132
|
+
const C = o($);
|
|
133
|
+
e.set(C, B), D.push(C), d.push($);
|
|
134
|
+
}
|
|
135
|
+
a.set(B, D);
|
|
136
|
+
}
|
|
137
|
+
f.props.disabled && r.add(B);
|
|
138
|
+
}
|
|
139
|
+
c.value = a, n.value = e, u.value = r;
|
|
140
|
+
}
|
|
141
|
+
const M = {
|
|
142
|
+
id: b(),
|
|
143
|
+
root: {
|
|
144
|
+
opened: p,
|
|
145
|
+
activatable: R(() => t.activatable),
|
|
146
|
+
scrollToActive: R(() => m(k)),
|
|
147
|
+
selectable: R(() => t.selectable),
|
|
148
|
+
activated: g,
|
|
149
|
+
selected: w,
|
|
150
|
+
selectedValues: v(() => {
|
|
151
|
+
const e = [];
|
|
152
|
+
for (const [a, r] of w.value.entries())
|
|
153
|
+
r === "on" && e.push(a);
|
|
154
|
+
return e;
|
|
155
|
+
}),
|
|
156
|
+
itemsRegistration: R(() => t.itemsRegistration),
|
|
157
|
+
register: (e, a, r, o) => {
|
|
158
|
+
if (T.has(e)) {
|
|
159
|
+
const d = y(e).map(String).join(" -> "), O = y(a).concat(e).map(String).join(" -> ");
|
|
160
|
+
se(`Multiple nodes with the same ID
|
|
161
|
+
${d}
|
|
162
|
+
${O}`);
|
|
163
|
+
return;
|
|
164
|
+
} else
|
|
165
|
+
T.add(e);
|
|
166
|
+
a && e !== a && n.value.set(e, a), r && u.value.add(e), o && c.value.set(e, []), a != null && c.value.set(a, [...c.value.get(a) || [], e]), z();
|
|
167
|
+
},
|
|
168
|
+
unregister: (e) => {
|
|
169
|
+
if (i)
|
|
170
|
+
return;
|
|
171
|
+
T.delete(e), c.value.delete(e), u.value.delete(e);
|
|
172
|
+
const a = n.value.get(e);
|
|
173
|
+
if (a) {
|
|
174
|
+
const r = c.value.get(a) ?? [];
|
|
175
|
+
c.value.set(a, r.filter((o) => o !== e));
|
|
176
|
+
}
|
|
177
|
+
n.value.delete(e), z();
|
|
178
|
+
},
|
|
179
|
+
updateDisabled: (e, a) => {
|
|
180
|
+
a ? u.value.add(e) : u.value.delete(e);
|
|
181
|
+
},
|
|
182
|
+
open: (e, a, r) => {
|
|
183
|
+
P.emit("click:open", {
|
|
184
|
+
id: e,
|
|
185
|
+
value: a,
|
|
186
|
+
path: y(e),
|
|
187
|
+
event: r
|
|
188
|
+
});
|
|
189
|
+
const o = _.value.open({
|
|
190
|
+
id: e,
|
|
191
|
+
value: a,
|
|
192
|
+
opened: new Set(p.value),
|
|
193
|
+
children: c.value,
|
|
194
|
+
parents: n.value,
|
|
195
|
+
event: r
|
|
196
|
+
});
|
|
197
|
+
o && (p.value = o);
|
|
198
|
+
},
|
|
199
|
+
openOnSelect: (e, a, r) => {
|
|
200
|
+
const o = _.value.select({
|
|
201
|
+
id: e,
|
|
202
|
+
value: a,
|
|
203
|
+
selected: new Map(w.value),
|
|
204
|
+
opened: new Set(p.value),
|
|
205
|
+
children: c.value,
|
|
206
|
+
parents: n.value,
|
|
207
|
+
event: r
|
|
208
|
+
});
|
|
209
|
+
o && (p.value = o);
|
|
210
|
+
},
|
|
211
|
+
select: (e, a, r) => {
|
|
212
|
+
P.emit("click:select", {
|
|
213
|
+
id: e,
|
|
214
|
+
value: a,
|
|
215
|
+
path: y(e),
|
|
216
|
+
event: r
|
|
217
|
+
});
|
|
218
|
+
const o = N.value.select({
|
|
219
|
+
id: e,
|
|
220
|
+
value: a,
|
|
221
|
+
selected: new Map(w.value),
|
|
222
|
+
children: c.value,
|
|
223
|
+
parents: n.value,
|
|
224
|
+
disabled: u.value,
|
|
225
|
+
event: r
|
|
226
|
+
});
|
|
227
|
+
o && (w.value = o), M.root.openOnSelect(e, a, r);
|
|
228
|
+
},
|
|
229
|
+
activate: (e, a, r) => {
|
|
230
|
+
if (!t.activatable)
|
|
231
|
+
return M.root.select(e, !0, r);
|
|
232
|
+
P.emit("click:activate", {
|
|
233
|
+
id: e,
|
|
234
|
+
value: a,
|
|
235
|
+
path: y(e),
|
|
236
|
+
event: r
|
|
237
|
+
});
|
|
238
|
+
const o = V.value.activate({
|
|
239
|
+
id: e,
|
|
240
|
+
value: a,
|
|
241
|
+
activated: new Set(g.value),
|
|
242
|
+
children: c.value,
|
|
243
|
+
parents: n.value,
|
|
244
|
+
event: r
|
|
245
|
+
});
|
|
246
|
+
if (o.size !== g.value.size)
|
|
247
|
+
g.value = o;
|
|
248
|
+
else {
|
|
249
|
+
for (const d of o)
|
|
250
|
+
if (!g.value.has(d)) {
|
|
251
|
+
g.value = o;
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
for (const d of g.value)
|
|
255
|
+
if (!o.has(d)) {
|
|
256
|
+
g.value = o;
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
children: c,
|
|
262
|
+
parents: n,
|
|
263
|
+
disabled: u,
|
|
264
|
+
getPath: y
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
return U(A, M), M.root;
|
|
268
|
+
}, Ae = (t, h, S) => {
|
|
269
|
+
const l = I(A, L), k = Symbol("nested item"), i = v(() => {
|
|
270
|
+
const n = j(m(t));
|
|
271
|
+
return n !== void 0 ? n : k;
|
|
272
|
+
}), c = {
|
|
273
|
+
...l,
|
|
274
|
+
id: i,
|
|
275
|
+
open: (n, u) => l.root.open(i.value, n, u),
|
|
276
|
+
openOnSelect: (n, u) => l.root.openOnSelect(i.value, n, u),
|
|
277
|
+
isOpen: v(() => l.root.opened.value.has(i.value)),
|
|
278
|
+
parent: v(() => l.root.parents.value.get(i.value)),
|
|
279
|
+
activate: (n, u) => l.root.activate(i.value, n, u),
|
|
280
|
+
isActivated: v(() => l.root.activated.value.has(i.value)),
|
|
281
|
+
scrollToActive: l.root.scrollToActive,
|
|
282
|
+
select: (n, u) => l.root.select(i.value, n, u),
|
|
283
|
+
isSelected: v(() => l.root.selected.value.get(i.value) === "on"),
|
|
284
|
+
isIndeterminate: v(() => l.root.selected.value.get(i.value) === "indeterminate"),
|
|
285
|
+
isLeaf: v(() => !l.root.children.value.get(i.value)),
|
|
286
|
+
isGroupActivator: l.isGroupActivator
|
|
287
|
+
};
|
|
288
|
+
return H(() => {
|
|
289
|
+
l.isGroupActivator || l.root.itemsRegistration.value === "props" || F(() => {
|
|
290
|
+
l.root.register(i.value, l.id.value, m(h), S);
|
|
291
|
+
});
|
|
292
|
+
}), E(() => {
|
|
293
|
+
l.isGroupActivator || l.root.itemsRegistration.value === "props" || l.root.unregister(i.value);
|
|
294
|
+
}), x(i, (n, u) => {
|
|
295
|
+
l.isGroupActivator || l.root.itemsRegistration.value === "props" || (l.root.unregister(u), F(() => {
|
|
296
|
+
l.root.register(n, l.id.value, m(h), S);
|
|
297
|
+
}));
|
|
298
|
+
}), x(() => m(h), (n) => {
|
|
299
|
+
l.root.updateDisabled(i.value, n);
|
|
300
|
+
}), S && U(A, c), c;
|
|
301
|
+
}, Me = () => {
|
|
302
|
+
const t = I(A, L);
|
|
303
|
+
U(A, {
|
|
304
|
+
...t,
|
|
305
|
+
isGroupActivator: !0
|
|
306
|
+
});
|
|
307
|
+
};
|
|
308
|
+
export {
|
|
309
|
+
A as VNestedSymbol,
|
|
310
|
+
L as emptyNested,
|
|
311
|
+
we as makeNestedProps,
|
|
312
|
+
be as useNested,
|
|
313
|
+
Me as useNestedGroupActivator,
|
|
314
|
+
Ae as useNestedItem
|
|
315
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const s = {
|
|
2
|
+
open: (p) => {
|
|
3
|
+
let {
|
|
4
|
+
id: t,
|
|
5
|
+
value: a,
|
|
6
|
+
opened: n,
|
|
7
|
+
parents: r
|
|
8
|
+
} = p;
|
|
9
|
+
if (a) {
|
|
10
|
+
const e = /* @__PURE__ */ new Set();
|
|
11
|
+
e.add(t);
|
|
12
|
+
let l = r.get(t);
|
|
13
|
+
for (; l != null; )
|
|
14
|
+
e.add(l), l = r.get(l);
|
|
15
|
+
return e;
|
|
16
|
+
} else
|
|
17
|
+
return n.delete(t), n;
|
|
18
|
+
},
|
|
19
|
+
select: () => null
|
|
20
|
+
}, d = {
|
|
21
|
+
open: (p) => {
|
|
22
|
+
let {
|
|
23
|
+
id: t,
|
|
24
|
+
value: a,
|
|
25
|
+
opened: n,
|
|
26
|
+
parents: r
|
|
27
|
+
} = p;
|
|
28
|
+
if (a) {
|
|
29
|
+
let e = r.get(t);
|
|
30
|
+
for (n.add(t); e != null && e !== t; )
|
|
31
|
+
n.add(e), e = r.get(e);
|
|
32
|
+
return n;
|
|
33
|
+
} else
|
|
34
|
+
n.delete(t);
|
|
35
|
+
return n;
|
|
36
|
+
},
|
|
37
|
+
select: () => null
|
|
38
|
+
}, u = {
|
|
39
|
+
open: d.open,
|
|
40
|
+
select: (p) => {
|
|
41
|
+
let {
|
|
42
|
+
id: t,
|
|
43
|
+
value: a,
|
|
44
|
+
opened: n,
|
|
45
|
+
parents: r
|
|
46
|
+
} = p;
|
|
47
|
+
if (!a)
|
|
48
|
+
return n;
|
|
49
|
+
const e = [];
|
|
50
|
+
let l = r.get(t);
|
|
51
|
+
for (; l != null; )
|
|
52
|
+
e.push(l), l = r.get(l);
|
|
53
|
+
return new Set(e);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
export {
|
|
57
|
+
u as listOpenStrategy,
|
|
58
|
+
d as multipleOpenStrategy,
|
|
59
|
+
s as singleOpenStrategy
|
|
60
|
+
};
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { toRaw as u } from "vue";
|
|
2
|
+
const S = (a) => {
|
|
3
|
+
const s = {
|
|
4
|
+
select: (c) => {
|
|
5
|
+
let {
|
|
6
|
+
id: t,
|
|
7
|
+
value: n,
|
|
8
|
+
selected: e
|
|
9
|
+
} = c;
|
|
10
|
+
if (t = u(t), a && !n) {
|
|
11
|
+
const r = Array.from(e.entries()).reduce((o, l) => {
|
|
12
|
+
let [d, y] = l;
|
|
13
|
+
return y === "on" && o.push(d), o;
|
|
14
|
+
}, []);
|
|
15
|
+
if (r.length === 1 && r[0] === t)
|
|
16
|
+
return e;
|
|
17
|
+
}
|
|
18
|
+
return e.set(t, n ? "on" : "off"), e;
|
|
19
|
+
},
|
|
20
|
+
in: (c, t, n, e) => {
|
|
21
|
+
const r = /* @__PURE__ */ new Map();
|
|
22
|
+
for (const o of c || [])
|
|
23
|
+
s.select({
|
|
24
|
+
id: o,
|
|
25
|
+
value: !0,
|
|
26
|
+
selected: r,
|
|
27
|
+
children: t,
|
|
28
|
+
parents: n,
|
|
29
|
+
disabled: e
|
|
30
|
+
});
|
|
31
|
+
return r;
|
|
32
|
+
},
|
|
33
|
+
out: (c) => {
|
|
34
|
+
const t = [];
|
|
35
|
+
for (const [n, e] of c.entries())
|
|
36
|
+
e === "on" && t.push(n);
|
|
37
|
+
return t;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
return s;
|
|
41
|
+
}, k = (a) => {
|
|
42
|
+
const s = S(a);
|
|
43
|
+
return {
|
|
44
|
+
select: (t) => {
|
|
45
|
+
let {
|
|
46
|
+
selected: n,
|
|
47
|
+
id: e,
|
|
48
|
+
...r
|
|
49
|
+
} = t;
|
|
50
|
+
e = u(e);
|
|
51
|
+
const o = n.has(e) ? /* @__PURE__ */ new Map([[e, n.get(e)]]) : /* @__PURE__ */ new Map();
|
|
52
|
+
return s.select({
|
|
53
|
+
...r,
|
|
54
|
+
id: e,
|
|
55
|
+
selected: o
|
|
56
|
+
});
|
|
57
|
+
},
|
|
58
|
+
in: (t, n, e, r) => t != null && t.length ? s.in(t.slice(0, 1), n, e, r) : /* @__PURE__ */ new Map(),
|
|
59
|
+
out: (t, n, e) => s.out(t, n, e)
|
|
60
|
+
};
|
|
61
|
+
}, v = (a) => {
|
|
62
|
+
const s = S(a);
|
|
63
|
+
return {
|
|
64
|
+
select: (t) => {
|
|
65
|
+
let {
|
|
66
|
+
id: n,
|
|
67
|
+
selected: e,
|
|
68
|
+
children: r,
|
|
69
|
+
...o
|
|
70
|
+
} = t;
|
|
71
|
+
return n = u(n), r.has(n) ? e : s.select({
|
|
72
|
+
id: n,
|
|
73
|
+
selected: e,
|
|
74
|
+
children: r,
|
|
75
|
+
...o
|
|
76
|
+
});
|
|
77
|
+
},
|
|
78
|
+
in: s.in,
|
|
79
|
+
out: s.out
|
|
80
|
+
};
|
|
81
|
+
}, b = (a) => {
|
|
82
|
+
const s = k(a);
|
|
83
|
+
return {
|
|
84
|
+
select: (t) => {
|
|
85
|
+
let {
|
|
86
|
+
id: n,
|
|
87
|
+
selected: e,
|
|
88
|
+
children: r,
|
|
89
|
+
...o
|
|
90
|
+
} = t;
|
|
91
|
+
return n = u(n), r.has(n) ? e : s.select({
|
|
92
|
+
id: n,
|
|
93
|
+
selected: e,
|
|
94
|
+
children: r,
|
|
95
|
+
...o
|
|
96
|
+
});
|
|
97
|
+
},
|
|
98
|
+
in: s.in,
|
|
99
|
+
out: s.out
|
|
100
|
+
};
|
|
101
|
+
}, m = (a) => {
|
|
102
|
+
const s = {
|
|
103
|
+
select: (c) => {
|
|
104
|
+
let {
|
|
105
|
+
id: t,
|
|
106
|
+
value: n,
|
|
107
|
+
selected: e,
|
|
108
|
+
children: r,
|
|
109
|
+
parents: o,
|
|
110
|
+
disabled: l
|
|
111
|
+
} = c;
|
|
112
|
+
t = u(t);
|
|
113
|
+
const d = new Map(e), y = [t];
|
|
114
|
+
for (; y.length; ) {
|
|
115
|
+
const i = y.shift();
|
|
116
|
+
l.has(i) || e.set(u(i), n ? "on" : "off"), r.has(i) && y.push(...r.get(i));
|
|
117
|
+
}
|
|
118
|
+
let h = u(o.get(t));
|
|
119
|
+
for (; h; ) {
|
|
120
|
+
let i = !0, f = !0;
|
|
121
|
+
for (const p of r.get(h)) {
|
|
122
|
+
const g = u(p);
|
|
123
|
+
if (!l.has(g) && (e.get(g) !== "on" && (i = !1), e.has(g) && e.get(g) !== "off" && (f = !1), !i && !f))
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
e.set(h, i ? "on" : f ? "off" : "indeterminate"), h = u(o.get(h));
|
|
127
|
+
}
|
|
128
|
+
return a && !n && Array.from(e.entries()).reduce((f, p) => {
|
|
129
|
+
let [g, w] = p;
|
|
130
|
+
return w === "on" && f.push(g), f;
|
|
131
|
+
}, []).length === 0 ? d : e;
|
|
132
|
+
},
|
|
133
|
+
in: (c, t, n) => {
|
|
134
|
+
let e = /* @__PURE__ */ new Map();
|
|
135
|
+
for (const r of c || [])
|
|
136
|
+
e = s.select({
|
|
137
|
+
id: r,
|
|
138
|
+
value: !0,
|
|
139
|
+
selected: e,
|
|
140
|
+
children: t,
|
|
141
|
+
parents: n,
|
|
142
|
+
disabled: /* @__PURE__ */ new Set()
|
|
143
|
+
});
|
|
144
|
+
return e;
|
|
145
|
+
},
|
|
146
|
+
out: (c, t) => {
|
|
147
|
+
const n = [];
|
|
148
|
+
for (const [e, r] of c.entries())
|
|
149
|
+
r === "on" && !t.has(e) && n.push(e);
|
|
150
|
+
return n;
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
return s;
|
|
154
|
+
}, A = (a) => {
|
|
155
|
+
const s = m(a);
|
|
156
|
+
return {
|
|
157
|
+
select: s.select,
|
|
158
|
+
in: s.in,
|
|
159
|
+
out: (t, n, e) => {
|
|
160
|
+
const r = [];
|
|
161
|
+
for (const [o, l] of t.entries())
|
|
162
|
+
if (l === "on") {
|
|
163
|
+
if (e.has(o)) {
|
|
164
|
+
const d = e.get(o);
|
|
165
|
+
if (t.get(d) === "on")
|
|
166
|
+
continue;
|
|
167
|
+
}
|
|
168
|
+
r.push(o);
|
|
169
|
+
}
|
|
170
|
+
return r;
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
}, x = (a) => {
|
|
174
|
+
const c = {
|
|
175
|
+
select: m(a).select,
|
|
176
|
+
in: (t, n, e, r) => {
|
|
177
|
+
let o = /* @__PURE__ */ new Map();
|
|
178
|
+
for (const l of t || [])
|
|
179
|
+
n.has(l) || (o = c.select({
|
|
180
|
+
id: l,
|
|
181
|
+
value: !0,
|
|
182
|
+
selected: o,
|
|
183
|
+
children: n,
|
|
184
|
+
parents: e,
|
|
185
|
+
disabled: r
|
|
186
|
+
}));
|
|
187
|
+
return o;
|
|
188
|
+
},
|
|
189
|
+
out: (t) => {
|
|
190
|
+
const n = [];
|
|
191
|
+
for (const [e, r] of t.entries())
|
|
192
|
+
(r === "on" || r === "indeterminate") && n.push(e);
|
|
193
|
+
return n;
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
return c;
|
|
197
|
+
};
|
|
198
|
+
export {
|
|
199
|
+
x as branchSelectStrategy,
|
|
200
|
+
m as classicSelectStrategy,
|
|
201
|
+
S as independentSelectStrategy,
|
|
202
|
+
k as independentSingleSelectStrategy,
|
|
203
|
+
v as leafSelectStrategy,
|
|
204
|
+
b as leafSingleSelectStrategy,
|
|
205
|
+
A as trunkSelectStrategy
|
|
206
|
+
};
|