bt-core-app 2.2.10 → 2.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/VAlert.sass.mjs +1 -0
- package/dist/_virtual/VAvatar.sass.mjs +1 -0
- package/dist/_virtual/VBtn.sass.mjs +1 -0
- package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
- package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
- package/dist/_virtual/VCard.sass.mjs +1 -0
- package/dist/_virtual/VCheckbox.sass.mjs +1 -0
- package/dist/_virtual/VChip.sass.mjs +1 -0
- package/dist/_virtual/VChipGroup.sass.mjs +1 -0
- package/dist/_virtual/VColorPicker.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
- package/dist/_virtual/VCombobox.sass.mjs +1 -0
- package/dist/_virtual/VContainer.sass.mjs +1 -0
- package/dist/_virtual/VCounter.sass.mjs +1 -0
- package/dist/_virtual/VDialog.sass.mjs +1 -0
- package/dist/_virtual/VDivider.sass.mjs +1 -0
- package/dist/_virtual/VField.sass.mjs +1 -0
- package/dist/_virtual/VGrid.sass.mjs +1 -0
- package/dist/_virtual/VIcon.sass.mjs +1 -0
- package/dist/_virtual/VImg.sass.mjs +1 -0
- package/dist/_virtual/VInput.sass.mjs +1 -0
- package/dist/_virtual/VLabel.sass.mjs +1 -0
- package/dist/_virtual/VList.sass.mjs +1 -0
- package/dist/_virtual/VListItem.sass.mjs +1 -0
- package/dist/_virtual/VMenu.sass.mjs +1 -0
- package/dist/_virtual/VMessages.sass.mjs +1 -0
- package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
- package/dist/_virtual/VOverlay.sass.mjs +1 -0
- package/dist/_virtual/VPagination.sass.mjs +1 -0
- package/dist/_virtual/VPicker.sass.mjs +1 -0
- package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
- package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
- package/dist/_virtual/VRating.sass.mjs +1 -0
- package/dist/_virtual/VResponsive.sass.mjs +1 -0
- package/dist/_virtual/VRipple.sass.mjs +1 -0
- package/dist/_virtual/VSelect.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
- package/dist/_virtual/VSheet.sass.mjs +1 -0
- package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
- package/dist/_virtual/VSlider.sass.mjs +1 -0
- package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
- package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
- package/dist/_virtual/VSpacer.sass.mjs +1 -0
- package/dist/_virtual/VSwitch.sass.mjs +1 -0
- package/dist/_virtual/VTab.sass.mjs +1 -0
- package/dist/_virtual/VTable.sass.mjs +1 -0
- package/dist/_virtual/VTabs.sass.mjs +1 -0
- package/dist/_virtual/VTextField.sass.mjs +1 -0
- package/dist/_virtual/VTextarea.sass.mjs +1 -0
- package/dist/_virtual/VToolbar.sass.mjs +1 -0
- package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
- package/dist/_virtual/VWindow.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +120 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +224 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +8 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +408 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
- package/dist/components/BT-Assistant-Menu.vue.mjs +420 -407
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +52 -52
- package/dist/components/BT-Blade-Item.vue.mjs +110 -100
- package/dist/components/BT-Blade-Items.vue.mjs +1 -1
- package/dist/components/BT-Blade-Items.vue2.mjs +411 -399
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +641 -626
- package/dist/components/BT-Blade.vue.mjs +201 -192
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +144 -142
- package/dist/components/BT-Col.vue.mjs +17 -19
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
- package/dist/components/BT-Cron.vue.mjs +264 -249
- package/dist/components/BT-Date-Select.vue.mjs +46 -47
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
- package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
- package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
- package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
- package/dist/components/BT-Dialog-Select.vue.mjs +96 -85
- package/dist/components/BT-Divider.vue.mjs +20 -21
- package/dist/components/BT-Drag-Counter.vue.mjs +1 -1
- package/dist/components/BT-Drag-Counter.vue2.mjs +89 -89
- package/dist/components/BT-Entity.vue.mjs +82 -82
- package/dist/components/BT-Error.vue.mjs +26 -27
- package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
- package/dist/components/BT-Field-Date.vue.mjs +87 -84
- package/dist/components/BT-Field-Entity.vue.mjs +20 -16
- package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
- package/dist/components/BT-Field-Select.vue.mjs +32 -34
- package/dist/components/BT-Field-String.vue.mjs +54 -52
- package/dist/components/BT-Field-Switch.vue.mjs +44 -43
- package/dist/components/BT-Field-Tags.vue.mjs +57 -55
- package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
- package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
- package/dist/components/BT-Field.vue.mjs +39 -38
- package/dist/components/BT-Form-Builder.vue.mjs +346 -325
- package/dist/components/BT-Form-Field.vue.mjs +88 -81
- package/dist/components/BT-Form.vue.mjs +280 -269
- package/dist/components/BT-Header-Option.vue.mjs +21 -19
- package/dist/components/BT-Image-Select.vue.mjs +186 -177
- package/dist/components/BT-Json.vue.mjs +29 -30
- package/dist/components/BT-Loader.vue.mjs +32 -31
- package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
- package/dist/components/BT-Number.vue.mjs +1 -1
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +147 -144
- package/dist/components/BT-Select-List-Box.vue.mjs +287 -276
- package/dist/components/BT-Select-Simple.vue.mjs +21 -23
- package/dist/components/BT-Select.vue.mjs +36 -37
- package/dist/components/BT-Signature-Overlay.vue.mjs +113 -112
- package/dist/components/BT-Signature.vue.mjs +96 -96
- package/dist/components/BT-Slider.vue.mjs +109 -103
- package/dist/components/BT-Square-Check.vue.mjs +65 -65
- package/dist/components/BT-Status-Item.vue.mjs +18 -16
- package/dist/components/BT-Tags.vue.mjs +21 -22
- package/dist/components/BT-Tour.vue.mjs +69 -65
- package/dist/style.css +1 -1
- package/package.json +5 -2
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as D, ref as y, computed as c, toValue as r, watch as k, onMounted as z, onUnmounted as J, openBlock as S, createBlock as x, unref as s, normalizeStyle as W, withCtx as V, renderSlot as X, createVNode as w, createCommentVNode as T } from "vue";
|
|
2
2
|
import { VueSignaturePad as j } from "../bt-core/core/node_modules/vue-signature-pad/dist/vue-signature-pad.esm.mjs";
|
|
3
3
|
import { useTheme as L } from "vuetify";
|
|
4
|
-
|
|
4
|
+
import { VCard as O } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
|
|
5
|
+
import { VSlideXReverseTransition as U } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
|
|
6
|
+
import { VBtn as _ } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
7
|
+
const Q = /* @__PURE__ */ D({
|
|
5
8
|
__name: "BT-Signature",
|
|
6
9
|
props: {
|
|
7
10
|
canEdit: { type: Boolean },
|
|
@@ -17,60 +20,60 @@ const q = /* @__PURE__ */ R({
|
|
|
17
20
|
width: { default: "100%" }
|
|
18
21
|
},
|
|
19
22
|
emits: ["change", "update:modelValue"],
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
22
|
-
const e =
|
|
23
|
+
setup($, { emit: M }) {
|
|
24
|
+
const C = M, a = $, l = y(), h = y(!1), t = y(null), R = L(), p = c(() => {
|
|
25
|
+
const e = r(t);
|
|
23
26
|
if (e != null)
|
|
24
27
|
return e.signaturePad.canvas.height / window.devicePixelRatio;
|
|
25
|
-
}),
|
|
26
|
-
const e =
|
|
28
|
+
}), g = c(() => {
|
|
29
|
+
const e = r(t);
|
|
27
30
|
if (e != null)
|
|
28
31
|
return e.signaturePad.canvas.width / window.devicePixelRatio;
|
|
29
|
-
}),
|
|
32
|
+
}), H = c(() => a.fullscreen == !0 ? `height: calc(100vh - ${a.usedHeight}px); width: ${a.width};` : `height: ${a.height}; width: ${a.width};`), d = c(() => !!a.canEdit), E = c(() => a.lineColor ?? (R.name.value == "dark" ? "white" : "black")), P = c(() => l.value != null && l.value != a.modelValue), N = c(() => ({
|
|
30
33
|
dotSize: 0.5,
|
|
31
34
|
onEnd: () => {
|
|
32
|
-
const e =
|
|
35
|
+
const e = r(t);
|
|
33
36
|
if (e != null && !e.isEmpty()) {
|
|
34
|
-
const o = e.toData(),
|
|
37
|
+
const o = e.toData(), n = [];
|
|
35
38
|
o.forEach((u) => {
|
|
36
39
|
u.points.forEach((i) => {
|
|
37
|
-
|
|
40
|
+
n.push({ x: i.x, y: i.y });
|
|
38
41
|
});
|
|
39
42
|
});
|
|
40
|
-
let
|
|
41
|
-
|
|
42
|
-
u.x -=
|
|
43
|
-
}),
|
|
44
|
-
u.y -=
|
|
45
|
-
}),
|
|
43
|
+
let m = Math.min(...n.map((u) => u.x)), v = Math.min(...n.map((u) => u.y));
|
|
44
|
+
m > 1 && n.forEach((u) => {
|
|
45
|
+
u.x -= m;
|
|
46
|
+
}), v > 1 && n.forEach((u) => {
|
|
47
|
+
u.y -= v;
|
|
48
|
+
}), l.value = JSON.stringify(n);
|
|
46
49
|
}
|
|
47
50
|
},
|
|
48
|
-
penColor:
|
|
51
|
+
penColor: E.value
|
|
49
52
|
}));
|
|
50
53
|
function f(e, o) {
|
|
51
54
|
if (e != null)
|
|
52
55
|
if (o == null)
|
|
53
56
|
e.clearSignature();
|
|
54
57
|
else {
|
|
55
|
-
const
|
|
56
|
-
|
|
58
|
+
const n = JSON.parse(o);
|
|
59
|
+
n != null && n.length > 0 && e.fromData([{ color: E.value, points: A(n) }]);
|
|
57
60
|
}
|
|
58
61
|
}
|
|
59
|
-
|
|
62
|
+
k(t, (e) => {
|
|
60
63
|
var o;
|
|
61
|
-
|
|
62
|
-
}),
|
|
64
|
+
l.value = a.modelValue, f(e, a.modelValue), d.value || (o = t.value) == null || o.lockSignaturePad();
|
|
65
|
+
}), k(() => a.refreshToggle, () => {
|
|
63
66
|
var e;
|
|
64
|
-
|
|
65
|
-
}),
|
|
67
|
+
l.value = a.modelValue, f(r(t), l.value), d.value || (e = t.value) == null || e.lockSignaturePad();
|
|
68
|
+
}), k(() => a.modelValue, (e) => {
|
|
66
69
|
var o;
|
|
67
|
-
|
|
70
|
+
l.value = e, f(r(t), e), d.value || (o = t.value) == null || o.lockSignaturePad();
|
|
68
71
|
});
|
|
69
|
-
function
|
|
70
|
-
if (p.value != null &&
|
|
71
|
-
let o = Math.max(...e.map((i) => i.y)),
|
|
72
|
-
o > p.value && (
|
|
73
|
-
let u = Math.min(
|
|
72
|
+
function A(e) {
|
|
73
|
+
if (p.value != null && g.value != null) {
|
|
74
|
+
let o = Math.max(...e.map((i) => i.y)), n = Math.max(...e.map((i) => i.x)), m = 1, v = 1;
|
|
75
|
+
o > p.value && (m = p.value / o), n > g.value && (v = g.value / n);
|
|
76
|
+
let u = Math.min(m, v);
|
|
74
77
|
if (u < 1)
|
|
75
78
|
return e.map((i) => ({
|
|
76
79
|
x: i.x * u,
|
|
@@ -79,77 +82,74 @@ const q = /* @__PURE__ */ R({
|
|
|
79
82
|
}
|
|
80
83
|
return e;
|
|
81
84
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
85
|
+
function b() {
|
|
86
|
+
C("change", l.value), C("update:modelValue", l.value), a.clearOnOk && (l.value = void 0, f(r(t), l.value));
|
|
84
87
|
}
|
|
85
|
-
function
|
|
86
|
-
const e =
|
|
87
|
-
e != null && !e.isEmpty() && e.clearSignature(),
|
|
88
|
+
function B() {
|
|
89
|
+
const e = r(t);
|
|
90
|
+
e != null && !e.isEmpty() && e.clearSignature(), l.value = void 0;
|
|
88
91
|
}
|
|
89
|
-
return
|
|
92
|
+
return z(() => {
|
|
90
93
|
var e;
|
|
91
|
-
|
|
92
|
-
}),
|
|
93
|
-
|
|
94
|
-
}), (e, o) => {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}, () => [
|
|
108
|
-
!e.hideToolbar && d.value ? (_(), k(r, {
|
|
109
|
-
key: 0,
|
|
110
|
-
class: "d-flex align-center justify-end mx-4",
|
|
111
|
-
flat: ""
|
|
112
|
-
}, {
|
|
113
|
-
default: S(() => [
|
|
114
|
-
w(s, {
|
|
115
|
-
"hide-on-leave": "",
|
|
116
|
-
group: ""
|
|
117
|
-
}, {
|
|
118
|
-
default: S(() => [
|
|
119
|
-
w(a, {
|
|
120
|
-
class: "my-3",
|
|
121
|
-
onClick: P,
|
|
122
|
-
disabled: t.value == null,
|
|
123
|
-
icon: "$eraser",
|
|
124
|
-
key: "3"
|
|
125
|
-
}, null, 8, ["disabled"]),
|
|
126
|
-
w(a, {
|
|
127
|
-
onClick: E,
|
|
128
|
-
class: "my-3",
|
|
129
|
-
disabled: !C.value,
|
|
130
|
-
icon: "$check",
|
|
131
|
-
key: "4"
|
|
132
|
-
}, null, 8, ["disabled"])
|
|
133
|
-
]),
|
|
134
|
-
_: 1
|
|
135
|
-
})
|
|
136
|
-
]),
|
|
137
|
-
_: 1
|
|
138
|
-
})) : B("", !0)
|
|
139
|
-
]),
|
|
140
|
-
m.value ? (_(), k(W(j), {
|
|
94
|
+
l.value = a.modelValue, f(r(t), l.value), d.value || (e = t.value) == null || e.lockSignaturePad(), h.value = !0;
|
|
95
|
+
}), J(() => {
|
|
96
|
+
h.value = !1;
|
|
97
|
+
}), (e, o) => (S(), x(s(O), {
|
|
98
|
+
color: e.color,
|
|
99
|
+
style: W(H.value),
|
|
100
|
+
variant: "elevated"
|
|
101
|
+
}, {
|
|
102
|
+
default: V(() => [
|
|
103
|
+
X(e.$slots, "top", {
|
|
104
|
+
apply: b,
|
|
105
|
+
canApply: P.value,
|
|
106
|
+
canEdit: d.value,
|
|
107
|
+
clear: B
|
|
108
|
+
}, () => [
|
|
109
|
+
!e.hideToolbar && d.value ? (S(), x(s(O), {
|
|
141
110
|
key: 0,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
111
|
+
class: "d-flex align-center justify-end mx-4",
|
|
112
|
+
flat: ""
|
|
113
|
+
}, {
|
|
114
|
+
default: V(() => [
|
|
115
|
+
w(s(U), {
|
|
116
|
+
"hide-on-leave": "",
|
|
117
|
+
group: ""
|
|
118
|
+
}, {
|
|
119
|
+
default: V(() => [
|
|
120
|
+
w(s(_), {
|
|
121
|
+
class: "my-3",
|
|
122
|
+
onClick: B,
|
|
123
|
+
disabled: l.value == null,
|
|
124
|
+
icon: "$eraser",
|
|
125
|
+
key: "3"
|
|
126
|
+
}, null, 8, ["disabled"]),
|
|
127
|
+
w(s(_), {
|
|
128
|
+
onClick: b,
|
|
129
|
+
class: "my-3",
|
|
130
|
+
disabled: !P.value,
|
|
131
|
+
icon: "$check",
|
|
132
|
+
key: "4"
|
|
133
|
+
}, null, 8, ["disabled"])
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
})
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
})) : T("", !0)
|
|
147
140
|
]),
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
141
|
+
h.value ? (S(), x(s(j), {
|
|
142
|
+
key: 0,
|
|
143
|
+
disabled: !d.value,
|
|
144
|
+
options: N.value,
|
|
145
|
+
ref_key: "signaturePad",
|
|
146
|
+
ref: t
|
|
147
|
+
}, null, 8, ["disabled", "options"])) : T("", !0)
|
|
148
|
+
]),
|
|
149
|
+
_: 3
|
|
150
|
+
}, 8, ["color", "style"]));
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
153
|
export {
|
|
154
|
-
|
|
154
|
+
Q as default
|
|
155
155
|
};
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRoute as
|
|
3
|
-
|
|
1
|
+
import { defineComponent as q, computed as p, ref as A, watch as y, onMounted as D, openBlock as n, createBlock as s, unref as t, normalizeStyle as O, withCtx as i, createVNode as d, createElementBlock as b, Fragment as C, renderList as S, renderSlot as v, createTextVNode as W, toDisplayString as z, createCommentVNode as E } from "vue";
|
|
2
|
+
import { useRoute as F } from "vue-router";
|
|
3
|
+
import { VWindow as M } from "../bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs";
|
|
4
|
+
import { VWindowItem as T } from "../bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs";
|
|
5
|
+
import { VList as P } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
|
|
6
|
+
import { VListItem as R } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
|
|
7
|
+
import { VSlideXTransition as U } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
|
|
8
|
+
import { VToolbar as X } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs";
|
|
9
|
+
import { VBtn as j } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
10
|
+
import { VToolbarTitle as G } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs";
|
|
11
|
+
import { VSpacer as I } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs";
|
|
12
|
+
const ae = /* @__PURE__ */ q({
|
|
4
13
|
__name: "BT-Slider",
|
|
5
14
|
props: {
|
|
6
15
|
hideHeader: { type: Boolean },
|
|
@@ -9,118 +18,115 @@ const Q = /* @__PURE__ */ z({
|
|
|
9
18
|
width: {}
|
|
10
19
|
},
|
|
11
20
|
emits: ["update:modelValue"],
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
e.slide != null &&
|
|
21
|
+
setup(B, { emit: _ }) {
|
|
22
|
+
const L = _, m = B, r = F(), H = p(() => m.width != null ? `width: ${m.width}px` : ""), a = A([]);
|
|
23
|
+
y(() => r.query, (e) => {
|
|
24
|
+
e.slide != null && k(e.slide);
|
|
16
25
|
});
|
|
17
|
-
const
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
if (typeof
|
|
21
|
-
|
|
26
|
+
const f = p(() => a.value.length > 0 ? a.value[a.value.length - 1] : 0), c = p(() => (m.options ?? []).map((o, l) => {
|
|
27
|
+
var $;
|
|
28
|
+
var u = { value: "", index: l + 1 };
|
|
29
|
+
if (typeof o == "string")
|
|
30
|
+
u.hide = !1, u.title = o, u.value = u.title.replaceAll(" ", "").toLowerCase();
|
|
22
31
|
else {
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
...
|
|
26
|
-
index:
|
|
27
|
-
value:
|
|
32
|
+
var h = o;
|
|
33
|
+
u = {
|
|
34
|
+
...h,
|
|
35
|
+
index: l + 1,
|
|
36
|
+
value: h.value ?? (($ = h.title) == null ? void 0 : $.replaceAll(" ", "").toLowerCase())
|
|
28
37
|
};
|
|
29
38
|
}
|
|
30
|
-
return
|
|
31
|
-
})), N =
|
|
32
|
-
function
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
function y(e) {
|
|
36
|
-
e == 0 ? n.value = [e] : p.value != e && (n.value.length == 0 && n.value.push(0), n.value.push(e));
|
|
39
|
+
return u;
|
|
40
|
+
})), N = p(() => c.value.filter((e) => e.hide !== !0));
|
|
41
|
+
function w() {
|
|
42
|
+
a.value.pop();
|
|
37
43
|
}
|
|
38
44
|
function V(e) {
|
|
45
|
+
e == 0 ? a.value = [e] : f.value != e && (a.value.length == 0 && a.value.push(0), a.value.push(e));
|
|
46
|
+
}
|
|
47
|
+
function k(e) {
|
|
39
48
|
if (e == null)
|
|
40
49
|
return;
|
|
41
|
-
const
|
|
42
|
-
|
|
50
|
+
const o = c.value.find((l) => l.value == e);
|
|
51
|
+
o != null && V(o.index);
|
|
43
52
|
}
|
|
44
|
-
return
|
|
45
|
-
e !=
|
|
46
|
-
}),
|
|
47
|
-
e != null &&
|
|
48
|
-
}),
|
|
49
|
-
(
|
|
50
|
-
}), (e,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
title: l.title
|
|
68
|
-
}, null, 8, ["onClick", "disabled", "title"]))), 128))
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
})
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}),
|
|
75
|
-
(s(!0), $(C, null, B(w.value, (l) => (s(), f(d, {
|
|
76
|
-
key: l.value ?? l.title,
|
|
77
|
-
value: l.index
|
|
78
|
-
}, {
|
|
79
|
-
default: u(() => [
|
|
80
|
-
h(e.$slots, `${l.value}-top`, {}, () => [
|
|
81
|
-
v(O, { "hide-on-leave": "" }, {
|
|
82
|
-
default: u(() => [
|
|
83
|
-
!e.hideHeader && !l.hideHeader ? (s(), f(D, {
|
|
84
|
-
key: 0,
|
|
85
|
-
density: "compact",
|
|
86
|
-
flat: "",
|
|
87
|
-
tile: ""
|
|
88
|
-
}, {
|
|
89
|
-
default: u(() => [
|
|
90
|
-
h(e.$slots, `${l.value}-toolbar`, {
|
|
91
|
-
back: () => k(),
|
|
92
|
-
title: l.title
|
|
93
|
-
}, () => [
|
|
94
|
-
v(m, {
|
|
95
|
-
icon: "$arrow-left",
|
|
96
|
-
onClick: k
|
|
97
|
-
}),
|
|
98
|
-
v(q, null, {
|
|
99
|
-
default: u(() => [
|
|
100
|
-
P(R(l.title), 1)
|
|
101
|
-
]),
|
|
102
|
-
_: 2
|
|
103
|
-
}, 1024),
|
|
104
|
-
v(A),
|
|
105
|
-
h(e.$slots, `${l.value}-toolbar-right`)
|
|
106
|
-
])
|
|
107
|
-
]),
|
|
108
|
-
_: 2
|
|
109
|
-
}, 1024)) : U("", !0)
|
|
110
|
-
]),
|
|
111
|
-
_: 2
|
|
112
|
-
}, 1024)
|
|
53
|
+
return y(f, (e) => {
|
|
54
|
+
e != m.modelValue && L("update:modelValue", e);
|
|
55
|
+
}), y(() => m.modelValue, (e) => {
|
|
56
|
+
e != null && f.value != e && V(e);
|
|
57
|
+
}), D(() => {
|
|
58
|
+
(r == null ? void 0 : r.query.slide) != null && k(r == null ? void 0 : r.query.slide);
|
|
59
|
+
}), (e, o) => (n(), s(t(M), {
|
|
60
|
+
modelValue: f.value,
|
|
61
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => f.value = l),
|
|
62
|
+
style: O(H.value)
|
|
63
|
+
}, {
|
|
64
|
+
default: i(() => [
|
|
65
|
+
d(t(T), null, {
|
|
66
|
+
default: i(() => [
|
|
67
|
+
d(t(P), null, {
|
|
68
|
+
default: i(() => [
|
|
69
|
+
(n(!0), b(C, null, S(N.value, (l) => (n(), s(t(R), {
|
|
70
|
+
"append-icon": "$arrow-right",
|
|
71
|
+
onClick: (u) => V(l.index),
|
|
72
|
+
disabled: l.disabled,
|
|
73
|
+
key: l.value ?? l.title,
|
|
74
|
+
title: l.title
|
|
75
|
+
}, null, 8, ["onClick", "disabled", "title"]))), 128))
|
|
113
76
|
]),
|
|
114
|
-
|
|
77
|
+
_: 1
|
|
78
|
+
})
|
|
79
|
+
]),
|
|
80
|
+
_: 1
|
|
81
|
+
}),
|
|
82
|
+
(n(!0), b(C, null, S(c.value, (l) => (n(), s(t(T), {
|
|
83
|
+
key: l.value ?? l.title,
|
|
84
|
+
value: l.index
|
|
85
|
+
}, {
|
|
86
|
+
default: i(() => [
|
|
87
|
+
v(e.$slots, `${l.value}-top`, {}, () => [
|
|
88
|
+
d(t(U), { "hide-on-leave": "" }, {
|
|
89
|
+
default: i(() => [
|
|
90
|
+
!e.hideHeader && !l.hideHeader ? (n(), s(t(X), {
|
|
91
|
+
key: 0,
|
|
92
|
+
density: "compact",
|
|
93
|
+
flat: "",
|
|
94
|
+
tile: ""
|
|
95
|
+
}, {
|
|
96
|
+
default: i(() => [
|
|
97
|
+
v(e.$slots, `${l.value}-toolbar`, {
|
|
98
|
+
back: () => w(),
|
|
99
|
+
title: l.title
|
|
100
|
+
}, () => [
|
|
101
|
+
d(t(j), {
|
|
102
|
+
icon: "$arrow-left",
|
|
103
|
+
onClick: w
|
|
104
|
+
}),
|
|
105
|
+
d(t(G), null, {
|
|
106
|
+
default: i(() => [
|
|
107
|
+
W(z(l.title), 1)
|
|
108
|
+
]),
|
|
109
|
+
_: 2
|
|
110
|
+
}, 1024),
|
|
111
|
+
d(t(I)),
|
|
112
|
+
v(e.$slots, `${l.value}-toolbar-right`)
|
|
113
|
+
])
|
|
114
|
+
]),
|
|
115
|
+
_: 2
|
|
116
|
+
}, 1024)) : E("", !0)
|
|
117
|
+
]),
|
|
118
|
+
_: 2
|
|
119
|
+
}, 1024)
|
|
115
120
|
]),
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
121
|
+
v(e.$slots, l.value)
|
|
122
|
+
]),
|
|
123
|
+
_: 2
|
|
124
|
+
}, 1032, ["value"]))), 128))
|
|
125
|
+
]),
|
|
126
|
+
_: 3
|
|
127
|
+
}, 8, ["modelValue", "style"]));
|
|
122
128
|
}
|
|
123
129
|
});
|
|
124
130
|
export {
|
|
125
|
-
|
|
131
|
+
ae as default
|
|
126
132
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as I, computed as o, inject as z, ref as C, openBlock as a, createBlock as r, unref as s, withModifiers as B, withCtx as i, renderSlot as T, createVNode as f, createElementBlock as d, toDisplayString as n, normalizeClass as c, createTextVNode as p } from "vue";
|
|
2
|
+
import { VCard as L } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
|
|
3
|
+
import { VSlideXTransition as w, VSlideYReverseTransition as E } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
|
|
4
|
+
import { VIcon as g } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
|
|
5
|
+
const $ = { key: "1" }, j = { key: "2" }, N = { key: "3" }, Y = /* @__PURE__ */ I({
|
|
3
6
|
__name: "BT-Square-Check",
|
|
4
7
|
props: {
|
|
5
8
|
disabled: { type: Boolean },
|
|
@@ -21,78 +24,75 @@ const E = { key: "1" }, $ = { key: "2" }, j = { key: "3" }, D = /* @__PURE__ */
|
|
|
21
24
|
width: { default: "100" }
|
|
22
25
|
},
|
|
23
26
|
emits: ["update:modelValue"],
|
|
24
|
-
setup(
|
|
25
|
-
const l =
|
|
27
|
+
setup(m, { emit: h }) {
|
|
28
|
+
const l = m, b = h, u = o({
|
|
26
29
|
get() {
|
|
27
30
|
return l.modelValue;
|
|
28
31
|
},
|
|
29
32
|
set(e) {
|
|
30
|
-
|
|
33
|
+
b("update:modelValue", e);
|
|
31
34
|
}
|
|
32
|
-
}),
|
|
35
|
+
}), v = z("isEditing", () => C(!1), !0), V = o(() => l.isEditing ?? v.value), t = o(() => u.value === l.trueValue), y = o(() => t.value ? l.trueLabel : l.falseLabel), S = o(() => t.value ? l.trueIcon : l.falseIcon);
|
|
33
36
|
function k() {
|
|
34
37
|
l.onToggle != null ? l.onToggle() : u.value = u.value == l.falseValue ? l.trueValue : l.falseValue;
|
|
35
38
|
}
|
|
36
|
-
return (e,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
_: 3
|
|
92
|
-
}, 8, ["disabled", "height", "ripple", "width"]);
|
|
93
|
-
};
|
|
39
|
+
return (e, q) => (a(), r(s(L), {
|
|
40
|
+
onClick: B(k, ["stop"]),
|
|
41
|
+
disabled: e.disabled || !V.value,
|
|
42
|
+
class: "d-flex flex-column align-center justify-center",
|
|
43
|
+
height: e.height,
|
|
44
|
+
ripple: e.ripple,
|
|
45
|
+
width: e.width
|
|
46
|
+
}, {
|
|
47
|
+
default: i(() => [
|
|
48
|
+
T(e.$slots, "content", {
|
|
49
|
+
icon: S.value,
|
|
50
|
+
isTrue: t.value,
|
|
51
|
+
label: y.value,
|
|
52
|
+
iconSize: e.iconSize
|
|
53
|
+
}, () => [
|
|
54
|
+
f(s(w), {
|
|
55
|
+
group: "",
|
|
56
|
+
"hide-on-leave": ""
|
|
57
|
+
}, {
|
|
58
|
+
default: i(() => [
|
|
59
|
+
e.label != null ? (a(), d("p", $, n(e.label), 1)) : t.value ? (a(), d("p", j, n(e.trueLabel), 1)) : (a(), d("p", N, n(e.falseLabel), 1))
|
|
60
|
+
]),
|
|
61
|
+
_: 1
|
|
62
|
+
}),
|
|
63
|
+
f(s(E), {
|
|
64
|
+
group: "",
|
|
65
|
+
"hide-on-leave": ""
|
|
66
|
+
}, {
|
|
67
|
+
default: i(() => [
|
|
68
|
+
t.value ? (a(), r(s(g), {
|
|
69
|
+
size: e.iconSize,
|
|
70
|
+
class: c(e.disabled ? "" : e.trueClass),
|
|
71
|
+
key: "3"
|
|
72
|
+
}, {
|
|
73
|
+
default: i(() => [
|
|
74
|
+
p(n(e.trueIcon), 1)
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["size", "class"])) : (a(), r(s(g), {
|
|
78
|
+
size: e.iconSize,
|
|
79
|
+
class: c(e.disabled ? "" : e.falseClass),
|
|
80
|
+
key: "4"
|
|
81
|
+
}, {
|
|
82
|
+
default: i(() => [
|
|
83
|
+
p(n(e.falseIcon), 1)
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}, 8, ["size", "class"]))
|
|
87
|
+
]),
|
|
88
|
+
_: 1
|
|
89
|
+
})
|
|
90
|
+
])
|
|
91
|
+
]),
|
|
92
|
+
_: 3
|
|
93
|
+
}, 8, ["disabled", "height", "ripple", "width"]));
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
96
|
export {
|
|
97
|
-
|
|
97
|
+
Y as default
|
|
98
98
|
};
|