bt-core-app 2.2.9 → 2.2.10
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/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +45 -70
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +40 -73
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +4 -12
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +6 -13
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +28 -408
- package/dist/components/BT-Assistant-Menu.vue.mjs +407 -420
- 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 +100 -110
- package/dist/components/BT-Blade-Items.vue.mjs +1 -1
- package/dist/components/BT-Blade-Items.vue2.mjs +399 -411
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +626 -641
- package/dist/components/BT-Blade.vue.mjs +192 -201
- package/dist/components/BT-Btn.vue.mjs +25 -23
- package/dist/components/BT-Camera-Overlay.vue.mjs +142 -144
- package/dist/components/BT-Col.vue.mjs +19 -17
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +49 -51
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +173 -180
- package/dist/components/BT-Cron.vue.mjs +249 -264
- package/dist/components/BT-Date-Select.vue.mjs +47 -46
- 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 +19 -22
- package/dist/components/BT-Dialog-Number.vue.mjs +121 -125
- package/dist/components/BT-Dialog-Select.vue.mjs +85 -96
- package/dist/components/BT-Divider.vue.mjs +21 -20
- 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 +27 -26
- package/dist/components/BT-Field-Checkbox.vue.mjs +31 -30
- package/dist/components/BT-Field-Date.vue.mjs +84 -87
- package/dist/components/BT-Field-Entity.vue.mjs +16 -20
- package/dist/components/BT-Field-Select-Simple.vue.mjs +26 -24
- package/dist/components/BT-Field-Select.vue.mjs +34 -32
- package/dist/components/BT-Field-String.vue.mjs +52 -54
- package/dist/components/BT-Field-Switch.vue.mjs +43 -44
- package/dist/components/BT-Field-Tags.vue.mjs +55 -57
- package/dist/components/BT-Field-Textarea.vue.mjs +43 -44
- package/dist/components/BT-Field-Trigger.vue.mjs +270 -276
- package/dist/components/BT-Field.vue.mjs +38 -39
- package/dist/components/BT-Form-Builder.vue.mjs +325 -346
- package/dist/components/BT-Form-Field.vue.mjs +81 -88
- package/dist/components/BT-Form.vue.mjs +269 -280
- package/dist/components/BT-Header-Option.vue.mjs +19 -21
- package/dist/components/BT-Image-Select.vue.mjs +177 -186
- package/dist/components/BT-Json.vue.mjs +30 -29
- package/dist/components/BT-Loader.vue.mjs +31 -32
- package/dist/components/BT-Nav-Sidebar.vue.mjs +124 -130
- package/dist/components/BT-Number.vue.mjs +1 -1
- package/dist/components/BT-Number.vue2.mjs +19 -17
- package/dist/components/BT-Numpad.vue.mjs +144 -147
- package/dist/components/BT-Select-List-Box.vue.mjs +276 -287
- package/dist/components/BT-Select-Simple.vue.mjs +23 -21
- package/dist/components/BT-Select.vue.mjs +37 -36
- package/dist/components/BT-Signature-Overlay.vue.mjs +112 -113
- package/dist/components/BT-Signature.vue.mjs +96 -96
- package/dist/components/BT-Slider.vue.mjs +103 -109
- package/dist/components/BT-Square-Check.vue.mjs +65 -65
- package/dist/components/BT-Status-Item.vue.mjs +16 -18
- package/dist/components/BT-Tags.vue.mjs +22 -21
- package/dist/components/BT-Tour.vue.mjs +65 -69
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/_virtual/VAlert.sass.mjs +0 -1
- package/dist/_virtual/VAvatar.sass.mjs +0 -1
- package/dist/_virtual/VBtn.sass.mjs +0 -1
- package/dist/_virtual/VBtnGroup.sass.mjs +0 -1
- package/dist/_virtual/VBtnToggle.sass.mjs +0 -1
- package/dist/_virtual/VCard.sass.mjs +0 -1
- package/dist/_virtual/VCheckbox.sass.mjs +0 -1
- package/dist/_virtual/VChip.sass.mjs +0 -1
- package/dist/_virtual/VChipGroup.sass.mjs +0 -1
- package/dist/_virtual/VColorPicker.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerEdit.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerPreview.sass.mjs +0 -1
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +0 -1
- package/dist/_virtual/VCombobox.sass.mjs +0 -1
- package/dist/_virtual/VContainer.sass.mjs +0 -1
- package/dist/_virtual/VCounter.sass.mjs +0 -1
- package/dist/_virtual/VDialog.sass.mjs +0 -1
- package/dist/_virtual/VDivider.sass.mjs +0 -1
- package/dist/_virtual/VField.sass.mjs +0 -1
- package/dist/_virtual/VGrid.sass.mjs +0 -1
- package/dist/_virtual/VIcon.sass.mjs +0 -1
- package/dist/_virtual/VImg.sass.mjs +0 -1
- package/dist/_virtual/VInput.sass.mjs +0 -1
- package/dist/_virtual/VLabel.sass.mjs +0 -1
- package/dist/_virtual/VList.sass.mjs +0 -1
- package/dist/_virtual/VListItem.sass.mjs +0 -1
- package/dist/_virtual/VMenu.sass.mjs +0 -1
- package/dist/_virtual/VMessages.sass.mjs +0 -1
- package/dist/_virtual/VNavigationDrawer.sass.mjs +0 -1
- package/dist/_virtual/VOverlay.sass.mjs +0 -1
- package/dist/_virtual/VPagination.sass.mjs +0 -1
- package/dist/_virtual/VPicker.sass.mjs +0 -1
- package/dist/_virtual/VProgressCircular.sass.mjs +0 -1
- package/dist/_virtual/VProgressLinear.sass.mjs +0 -1
- package/dist/_virtual/VRating.sass.mjs +0 -1
- package/dist/_virtual/VResponsive.sass.mjs +0 -1
- package/dist/_virtual/VRipple.sass.mjs +0 -1
- package/dist/_virtual/VSelect.sass.mjs +0 -1
- package/dist/_virtual/VSelectionControl.sass.mjs +0 -1
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +0 -1
- package/dist/_virtual/VSheet.sass.mjs +0 -1
- package/dist/_virtual/VSlideGroup.sass.mjs +0 -1
- package/dist/_virtual/VSlider.sass.mjs +0 -1
- package/dist/_virtual/VSliderThumb.sass.mjs +0 -1
- package/dist/_virtual/VSliderTrack.sass.mjs +0 -1
- package/dist/_virtual/VSpacer.sass.mjs +0 -1
- package/dist/_virtual/VSwitch.sass.mjs +0 -1
- package/dist/_virtual/VTab.sass.mjs +0 -1
- package/dist/_virtual/VTable.sass.mjs +0 -1
- package/dist/_virtual/VTabs.sass.mjs +0 -1
- package/dist/_virtual/VTextField.sass.mjs +0 -1
- package/dist/_virtual/VTextarea.sass.mjs +0 -1
- package/dist/_virtual/VToolbar.sass.mjs +0 -1
- package/dist/_virtual/VVirtualScroll.sass.mjs +0 -1
- package/dist/_virtual/VWindow.sass.mjs +0 -1
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +0 -196
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +0 -92
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +0 -220
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +0 -68
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +0 -57
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +0 -180
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +0 -32
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +0 -118
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +0 -74
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +0 -263
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +0 -87
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +0 -161
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +0 -166
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +0 -97
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +0 -123
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +0 -72
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +0 -193
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +0 -501
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +0 -51
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +0 -39
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +0 -103
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +0 -82
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +0 -295
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +0 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +0 -98
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +0 -41
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +0 -104
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +0 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +0 -41
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +0 -77
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +0 -248
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +0 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +0 -154
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +0 -36
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +0 -281
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +0 -104
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +0 -129
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +0 -312
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +0 -50
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +0 -38
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +0 -132
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +0 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +0 -55
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +0 -247
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +0 -44
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +0 -100
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +0 -291
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +0 -292
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +0 -15
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +0 -91
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +0 -179
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +0 -42
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +0 -315
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +0 -129
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +0 -195
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +0 -217
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +0 -56
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +0 -475
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +0 -57
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +0 -183
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +0 -106
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +0 -61
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +0 -287
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +0 -54
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +0 -159
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +0 -176
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +0 -109
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +0 -242
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +0 -172
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +0 -66
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +0 -126
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +0 -153
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +0 -48
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +0 -29
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +0 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +0 -204
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +0 -258
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +0 -167
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +0 -38
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +0 -37
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +0 -106
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +0 -47
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +0 -211
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +0 -93
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +0 -113
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +0 -136
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +0 -52
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +0 -22
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +0 -14
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +0 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +0 -69
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +0 -11
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +0 -34
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +0 -20
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +0 -23
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +0 -32
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +0 -25
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +0 -125
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +0 -31
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +0 -54
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +0 -97
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +0 -112
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +0 -78
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +0 -86
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +0 -169
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +0 -20
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +0 -24
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +0 -43
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +0 -120
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +0 -38
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +0 -22
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +0 -49
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +0 -24
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +0 -102
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +0 -315
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +0 -60
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +0 -206
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +0 -22
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +0 -35
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +0 -15
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +0 -26
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +0 -30
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +0 -97
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +0 -12
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +0 -16
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +0 -27
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +0 -17
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +0 -39
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +0 -10
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +0 -21
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +0 -32
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +0 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +0 -73
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +0 -34
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +0 -139
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +0 -164
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +0 -62
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +0 -41
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +0 -183
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +0 -89
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +0 -77
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +0 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +0 -15
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +0 -53
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +0 -44
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +0 -36
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +0 -73
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +0 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +0 -16
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +0 -224
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +0 -31
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +0 -37
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +0 -14
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +0 -23
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +0 -34
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +0 -8
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +0 -11
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +0 -25
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +0 -8
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePresets as
|
|
3
|
-
import { useBlade as
|
|
4
|
-
import { useNavBack as
|
|
5
|
-
import { useSpring as
|
|
6
|
-
import { useDisplay as
|
|
7
|
-
import { useComponentConfig as
|
|
8
|
-
|
|
9
|
-
import { VToolbarTitle as re } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs";
|
|
10
|
-
import { VListSubheader as ne } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs";
|
|
11
|
-
import { VAlert as se } from "../bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs";
|
|
12
|
-
import { VOverlay as de } from "../bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs";
|
|
13
|
-
import { VProgressCircular as ue } from "../bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs";
|
|
14
|
-
import { VCard as D } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
|
|
15
|
-
import { VSlideYTransition as N } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
|
|
16
|
-
import { VBtn as T } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
17
|
-
import { VMenu as fe } from "../bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs";
|
|
18
|
-
import { VList as pe } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
|
|
19
|
-
import { VCardText as ve } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs";
|
|
20
|
-
const We = /* @__PURE__ */ J({
|
|
1
|
+
import { defineComponent as le, computed as i, ref as c, provide as M, watch as oe, onMounted as ae, resolveComponent as a, openBlock as f, createBlock as m, normalizeClass as ne, unref as g, normalizeStyle as ie, withCtx as l, createVNode as r, renderSlot as u, createCommentVNode as n, createTextVNode as S, toDisplayString as B, mergeProps as re, createElementVNode as se } from "vue";
|
|
2
|
+
import { usePresets as de } from "../composables/presets.mjs";
|
|
3
|
+
import { useBlade as ue } from "../composables/blade.mjs";
|
|
4
|
+
import { useNavBack as ve } from "../composables/navigation.mjs";
|
|
5
|
+
import { useSpring as pe } from "../bt-core/core/node_modules/vue-use-spring/dist/index.mjs";
|
|
6
|
+
import { useDisplay as fe } from "vuetify";
|
|
7
|
+
import { useComponentConfig as me } from "../composables/component-config.mjs";
|
|
8
|
+
const ke = /* @__PURE__ */ le({
|
|
21
9
|
__name: "BT-Blade",
|
|
22
10
|
props: {
|
|
23
11
|
bordered: { type: Boolean },
|
|
@@ -58,8 +46,8 @@ const We = /* @__PURE__ */ J({
|
|
|
58
46
|
useResizing: { type: Boolean }
|
|
59
47
|
},
|
|
60
48
|
emits: ["close", "titled"],
|
|
61
|
-
setup(
|
|
62
|
-
const t =
|
|
49
|
+
setup(H, { emit: P }) {
|
|
50
|
+
const t = H, T = P, k = de(t.preset), s = i(() => {
|
|
63
51
|
if (t.width == "grow")
|
|
64
52
|
return "grow";
|
|
65
53
|
if (t.width == "auto")
|
|
@@ -71,207 +59,210 @@ const We = /* @__PURE__ */ J({
|
|
|
71
59
|
return "auto";
|
|
72
60
|
}
|
|
73
61
|
return "number";
|
|
74
|
-
}),
|
|
62
|
+
}), z = i(() => t.bladeName == null || !!t.bladeStartShowing), $ = i(() => z.value ? typeof t.width == "number" ? t.width : 400 : 0), y = c(!z.value);
|
|
75
63
|
let w = 0;
|
|
76
|
-
const d =
|
|
77
|
-
{ width:
|
|
64
|
+
const d = pe(
|
|
65
|
+
{ width: $.value },
|
|
78
66
|
{ precision: 0.1, mass: 1, friction: 26, tension: 250 },
|
|
79
67
|
{ onRest() {
|
|
80
|
-
|
|
68
|
+
v.value = !1;
|
|
81
69
|
} }
|
|
82
|
-
), { xs: U } =
|
|
70
|
+
), { xs: U } = fe(), v = c(!1), h = c(null), _ = c(null), { navBack: E } = ve();
|
|
83
71
|
function I() {
|
|
84
72
|
var e = t.getNavBack ?? (() => {
|
|
85
73
|
}), o = e() ?? E;
|
|
86
74
|
o();
|
|
87
75
|
}
|
|
88
|
-
const p =
|
|
76
|
+
const p = ue({
|
|
89
77
|
...t,
|
|
90
|
-
blade:
|
|
91
|
-
handle:
|
|
78
|
+
blade: h,
|
|
79
|
+
handle: _,
|
|
92
80
|
onClose: () => {
|
|
93
|
-
y.value || (
|
|
81
|
+
y.value || (h.value != null && (w = parseInt(window.getComputedStyle(h.value.$el).getPropertyValue("width"))), (s.value == "auto" || s.value == "percent" || s.value == "grow") && (d.width = w), v.value = !0, y.value = !0, d.width = 0);
|
|
94
82
|
},
|
|
95
83
|
onUpdate: () => {
|
|
96
|
-
d.width == 0 && (typeof t.width == "number" ? d.width = t.width : w > 0 ? d.width = w : d.width =
|
|
84
|
+
d.width == 0 && (typeof t.width == "number" ? d.width = t.width : w > 0 ? d.width = w : d.width = $.value != 0 ? $.value : 400, v.value = !0, y.value = !1);
|
|
97
85
|
}
|
|
98
|
-
}), { editVariant: R, viewVariant: j } =
|
|
99
|
-
|
|
100
|
-
const L =
|
|
101
|
-
const e =
|
|
86
|
+
}), { editVariant: R, viewVariant: j } = me();
|
|
87
|
+
M("isMobile", p.isMobile), M("editVariant", t.editVariant ?? R ?? "outlined"), M("viewVariant", t.viewVariant ?? j ?? "list-item");
|
|
88
|
+
const L = i(() => t.loadingMsg != null), G = i(() => !!(k.hideBladeControls ?? t.hideBladeControls) || !t.bladeName), q = i(() => !!(k.hideNavigation ?? t.hideNavigation) || p.variant.value != "page"), A = i(() => {
|
|
89
|
+
const e = k.noMargins ?? t.noMargins;
|
|
102
90
|
return e ?? U.value;
|
|
103
|
-
}), O =
|
|
91
|
+
}), O = i(() => {
|
|
104
92
|
if (t.toolbarVariant != "inverted")
|
|
105
93
|
return t.bordered || t.variant == "inline" ? "transparent" : "primary";
|
|
106
|
-
}),
|
|
94
|
+
}), C = c(!1), F = i(() => {
|
|
107
95
|
var e = "";
|
|
108
|
-
return
|
|
109
|
-
}),
|
|
96
|
+
return A.value ? e = "" : (t.bordered && !y.value || p.variant.value == "page") && (e = "ma-2"), t.bordered && !y.value && (e = `${e} border-thin pa-1`), t.bladeName != null && s.value == "grow" && (e = `${e} flex-grow-1`), e;
|
|
97
|
+
}), J = i(() => {
|
|
110
98
|
var e = t.opacity != null ? `opacity: ${t.opacity};` : "";
|
|
111
|
-
return t.maxWidth != null && (e = `${e} max-width: ${t.maxWidth};`), t.bladeName != null ?
|
|
99
|
+
return t.maxWidth != null && (e = `${e} max-width: ${t.maxWidth};`), t.bladeName != null ? v.value ? `${e} width: ${d.width}px;` : y.value ? `${e} width: 0px;` : s.value == "grow" ? e : s.value == "number" ? `${e} width: ${d.width}px;` : s.value == "auto" ? e : `${e} width: calc(${t.width});` : e;
|
|
112
100
|
});
|
|
113
|
-
return
|
|
114
|
-
|
|
115
|
-
}),
|
|
116
|
-
(s.value == "percent" || s.value == "auto") &&
|
|
117
|
-
}), (e, o) =>
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
size: e.size,
|
|
145
|
-
title: "Back",
|
|
146
|
-
onClick: o[0] || (o[0] = () => I())
|
|
147
|
-
}, null, 8, ["size"])),
|
|
148
|
-
e.showOnlyTitleLeft ? i("", !0) : u(e.$slots, "blade-toolbar-left", { key: 1 }),
|
|
149
|
-
u(e.$slots, "blade-title-left"),
|
|
150
|
-
u(e.$slots, "blade-label", {}, () => [
|
|
151
|
-
!e.showOnlyTitleLeft && e.label != null && e.variant != "inline" ? (v(), m(l(re), {
|
|
101
|
+
return oe(() => t.errorMsg, (e) => {
|
|
102
|
+
C.value = e != null;
|
|
103
|
+
}), ae(() => {
|
|
104
|
+
(s.value == "percent" || s.value == "auto") && h.value != null && (d.width = parseInt(window.getComputedStyle(h.value.$el).getPropertyValue("width")));
|
|
105
|
+
}), (e, o) => {
|
|
106
|
+
const V = a("v-btn"), K = a("v-toolbar-title"), Q = a("v-list-subheader"), X = a("v-list"), Y = a("v-menu"), W = a("v-toolbar"), N = a("v-slide-y-transition"), Z = a("v-alert"), x = a("v-progress-circular"), ee = a("v-card-text"), D = a("v-card"), te = a("v-overlay");
|
|
107
|
+
return v.value || !y.value ? (f(), m(D, {
|
|
108
|
+
class: ne(F.value),
|
|
109
|
+
color: e.transparent ? "transparent" : void 0,
|
|
110
|
+
density: e.density,
|
|
111
|
+
flat: e.flat ?? (g(p).variant.value == "inline" || g(p).variant.value == "pure"),
|
|
112
|
+
key: "1",
|
|
113
|
+
"min-height": e.minHeight,
|
|
114
|
+
ref_key: "blade",
|
|
115
|
+
ref: h,
|
|
116
|
+
style: ie(J.value)
|
|
117
|
+
}, {
|
|
118
|
+
default: l(() => [
|
|
119
|
+
r(N, { "hide-on-leave": "" }, {
|
|
120
|
+
default: l(() => [
|
|
121
|
+
!v.value && !e.hideToolbar && e.variant != "pure" ? (f(), m(W, {
|
|
122
|
+
key: 0,
|
|
123
|
+
class: "overflow-x-auto",
|
|
124
|
+
color: O.value,
|
|
125
|
+
density: e.density,
|
|
126
|
+
ref_key: "handle",
|
|
127
|
+
ref: _
|
|
128
|
+
}, {
|
|
129
|
+
default: l(() => [
|
|
130
|
+
u(e.$slots, "blade-toolbar", {}, () => [
|
|
131
|
+
q.value ? n("", !0) : (f(), m(V, {
|
|
152
132
|
key: 0,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
133
|
+
icon: "$arrow-left",
|
|
134
|
+
size: e.size,
|
|
135
|
+
title: "Back",
|
|
136
|
+
onClick: o[0] || (o[0] = () => I())
|
|
137
|
+
}, null, 8, ["size"])),
|
|
138
|
+
e.showOnlyTitleLeft ? n("", !0) : u(e.$slots, "blade-toolbar-left", { key: 1 }),
|
|
139
|
+
u(e.$slots, "blade-title-left"),
|
|
140
|
+
u(e.$slots, "blade-label", {}, () => [
|
|
141
|
+
!e.showOnlyTitleLeft && e.label != null && e.variant != "inline" ? (f(), m(K, {
|
|
142
|
+
key: 0,
|
|
143
|
+
onClick: o[1] || (o[1] = (b) => T("titled"))
|
|
144
|
+
}, {
|
|
145
|
+
default: l(() => [
|
|
146
|
+
S(B(e.label), 1)
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
})) : !e.showOnlyTitleLeft && e.label != null ? (f(), m(Q, {
|
|
150
|
+
key: 1,
|
|
151
|
+
class: "text-truncate",
|
|
152
|
+
onClick: o[2] || (o[2] = (b) => T("titled"))
|
|
153
|
+
}, {
|
|
154
|
+
default: l(() => [
|
|
155
|
+
S(B(e.label), 1)
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
})) : n("", !0)
|
|
159
|
+
]),
|
|
160
|
+
e.showOnlyTitleLeft ? n("", !0) : u(e.$slots, "blade-title-right", { key: 2 })
|
|
161
|
+
])
|
|
162
|
+
]),
|
|
163
|
+
append: l(() => [
|
|
164
|
+
e.showOnlyTitleLeft ? n("", !0) : u(e.$slots, "blade-toolbar-right", { key: 0 }),
|
|
165
|
+
!G.value && !e.showOnlyTitleLeft ? (f(), m(V, {
|
|
166
|
+
icon: "$close",
|
|
167
|
+
key: "6.1",
|
|
168
|
+
size: e.size,
|
|
169
|
+
title: "Close",
|
|
170
|
+
onClick: o[3] || (o[3] = () => g(p).closeBlade({ bladeName: e.bladeName, mode: "remove" }))
|
|
171
|
+
}, null, 8, ["size"])) : n("", !0),
|
|
172
|
+
!e.hideToolbarSettings && !e.showOnlyTitleLeft ? (f(), m(Y, {
|
|
173
|
+
"close-on-content-click": !1,
|
|
174
|
+
density: e.density,
|
|
175
|
+
key: "7"
|
|
176
|
+
}, {
|
|
177
|
+
activator: l(({ props: b }) => [
|
|
178
|
+
r(V, re({
|
|
179
|
+
icon: "$cog",
|
|
180
|
+
size: e.size
|
|
181
|
+
}, b), null, 16, ["size"])
|
|
182
|
+
]),
|
|
183
|
+
default: l(() => [
|
|
184
|
+
r(X, { density: e.density }, {
|
|
185
|
+
default: l(() => [
|
|
186
|
+
u(e.$slots, "blade-settings")
|
|
187
|
+
]),
|
|
188
|
+
_: 3
|
|
189
|
+
}, 8, ["density"])
|
|
190
|
+
]),
|
|
191
|
+
_: 3
|
|
192
|
+
}, 8, ["density"])) : n("", !0)
|
|
193
|
+
]),
|
|
194
|
+
_: 3
|
|
195
|
+
}, 8, ["color", "density"])) : n("", !0)
|
|
196
|
+
]),
|
|
197
|
+
_: 3
|
|
198
|
+
}),
|
|
199
|
+
r(N, { "hide-on-leave": "" }, {
|
|
200
|
+
default: l(() => [
|
|
201
|
+
!v.value && !e.hideSubtoolbar && e.variant != "pure" ? (f(), m(W, {
|
|
202
|
+
key: 0,
|
|
203
|
+
color: O.value,
|
|
204
|
+
density: e.density,
|
|
205
|
+
tile: ""
|
|
206
|
+
}, {
|
|
207
|
+
default: l(() => [
|
|
208
|
+
u(e.$slots, "subtoolbar")
|
|
209
|
+
]),
|
|
210
|
+
_: 3
|
|
211
|
+
}, 8, ["color", "density"])) : n("", !0)
|
|
212
|
+
]),
|
|
213
|
+
_: 3
|
|
214
|
+
}),
|
|
215
|
+
r(N, null, {
|
|
216
|
+
default: l(() => [
|
|
217
|
+
r(Z, {
|
|
218
|
+
closable: "",
|
|
219
|
+
color: "red-lighten-1",
|
|
220
|
+
title: "Error",
|
|
221
|
+
modelValue: C.value,
|
|
222
|
+
"onUpdate:modelValue": o[4] || (o[4] = (b) => C.value = b)
|
|
223
|
+
}, {
|
|
224
|
+
default: l(() => [
|
|
225
|
+
S(B(e.errorMsg), 1)
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
}, 8, ["modelValue"])
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
}),
|
|
232
|
+
v.value ? n("", !0) : u(e.$slots, "content", {
|
|
233
|
+
key: 0,
|
|
234
|
+
isMobile: g(p).isMobile.value,
|
|
235
|
+
bladeData: g(p).bladeData
|
|
236
|
+
}),
|
|
237
|
+
r(te, {
|
|
238
|
+
modelValue: L.value,
|
|
239
|
+
"onUpdate:modelValue": o[5] || (o[5] = (b) => L.value = b),
|
|
240
|
+
class: "align-center justify-center text-center overlay",
|
|
241
|
+
contained: "",
|
|
242
|
+
persistent: ""
|
|
243
|
+
}, {
|
|
244
|
+
default: l(() => [
|
|
245
|
+
r(D, null, {
|
|
246
|
+
default: l(() => [
|
|
247
|
+
r(ee, null, {
|
|
248
|
+
default: l(() => [
|
|
249
|
+
r(x, { indeterminate: "" }),
|
|
250
|
+
se("p", null, B(e.loadingMsg), 1)
|
|
251
|
+
]),
|
|
252
|
+
_: 1
|
|
253
|
+
})
|
|
254
|
+
]),
|
|
255
|
+
_: 1
|
|
256
|
+
})
|
|
257
|
+
]),
|
|
258
|
+
_: 1
|
|
259
|
+
}, 8, ["modelValue"])
|
|
260
|
+
]),
|
|
261
|
+
_: 3
|
|
262
|
+
}, 8, ["class", "color", "density", "flat", "min-height", "style"])) : n("", !0);
|
|
263
|
+
};
|
|
273
264
|
}
|
|
274
265
|
});
|
|
275
266
|
export {
|
|
276
|
-
|
|
267
|
+
ke as default
|
|
277
268
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent as E, computed as
|
|
2
|
-
import { usePresets as
|
|
3
|
-
import { useBackgroundTask as
|
|
4
|
-
import { VBtn as S } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
1
|
+
import { defineComponent as E, computed as i, inject as s, ref as a, resolveComponent as B, openBlock as N, createElementBlock as b, createVNode as C, mergeProps as I, withModifiers as T, createTextVNode as h, toDisplayString as y, unref as A } from "vue";
|
|
2
|
+
import { usePresets as S } from "../composables/presets.mjs";
|
|
3
|
+
import { useBackgroundTask as V } from "../composables/background-tasks.mjs";
|
|
5
4
|
const D = /* @__PURE__ */ E({
|
|
6
5
|
__name: "BT-Btn",
|
|
7
6
|
props: {
|
|
@@ -14,26 +13,29 @@ const D = /* @__PURE__ */ E({
|
|
|
14
13
|
variant: { default: void 0 }
|
|
15
14
|
},
|
|
16
15
|
emits: ["click"],
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
let
|
|
20
|
-
e.taskActionName != null && (
|
|
21
|
-
const
|
|
22
|
-
async function
|
|
23
|
-
|
|
16
|
+
setup(l, { emit: c }) {
|
|
17
|
+
const r = c, e = l, o = S(e.preset);
|
|
18
|
+
let t;
|
|
19
|
+
e.taskActionName != null && (t = V(e.taskActionName));
|
|
20
|
+
const u = i(() => e.icon ?? o.icon), d = i(() => e.color ?? o.color), m = s("isEditing", () => a(!1), !0), v = i(() => e.isEditing ?? o.isEditing ?? m.value), p = i(() => (t == null ? void 0 : t.task.value) != null && t.task.value.isFinished), f = s("size", () => a(e.size ?? "small"), !0), g = i(() => e.size ?? o.size ?? f.value), k = i(() => e.variant ?? o.variant);
|
|
21
|
+
async function z(n) {
|
|
22
|
+
t != null ? await t.startTask() : r("click", n);
|
|
24
23
|
}
|
|
25
|
-
return (n,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
24
|
+
return (n, w) => {
|
|
25
|
+
const _ = B("v-btn");
|
|
26
|
+
return N(), b("div", null, [
|
|
27
|
+
C(_, I(n.$attrs, {
|
|
28
|
+
onClick: T(z, ["stop"]),
|
|
29
|
+
color: d.value,
|
|
30
|
+
disabled: !v.value,
|
|
31
|
+
icon: u.value,
|
|
32
|
+
loading: p.value,
|
|
33
|
+
size: g.value,
|
|
34
|
+
variant: k.value
|
|
35
|
+
}), null, 16, ["color", "disabled", "icon", "loading", "size", "variant"]),
|
|
36
|
+
h(" " + y(A(t)), 1)
|
|
37
|
+
]);
|
|
38
|
+
};
|
|
37
39
|
}
|
|
38
40
|
});
|
|
39
41
|
export {
|