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,10 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as R, ref as g, computed as v, toValue as c, watch as y, onMounted as A, onUnmounted as D, resolveComponent as x, openBlock as _, createBlock as k, normalizeStyle as z, withCtx as S, renderSlot as J, createVNode as w, createCommentVNode as B, unref as W } 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
|
-
|
|
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({
|
|
4
|
+
const q = /* @__PURE__ */ R({
|
|
8
5
|
__name: "BT-Signature",
|
|
9
6
|
props: {
|
|
10
7
|
canEdit: { type: Boolean },
|
|
@@ -20,60 +17,60 @@ const Q = /* @__PURE__ */ D({
|
|
|
20
17
|
width: { default: "100%" }
|
|
21
18
|
},
|
|
22
19
|
emits: ["change", "update:modelValue"],
|
|
23
|
-
setup(
|
|
24
|
-
const
|
|
25
|
-
const e =
|
|
20
|
+
setup(O, { emit: T }) {
|
|
21
|
+
const V = T, l = O, t = g(), m = g(!1), n = g(null), $ = L(), p = v(() => {
|
|
22
|
+
const e = c(n);
|
|
26
23
|
if (e != null)
|
|
27
24
|
return e.signaturePad.canvas.height / window.devicePixelRatio;
|
|
28
|
-
}),
|
|
29
|
-
const e =
|
|
25
|
+
}), h = v(() => {
|
|
26
|
+
const e = c(n);
|
|
30
27
|
if (e != null)
|
|
31
28
|
return e.signaturePad.canvas.width / window.devicePixelRatio;
|
|
32
|
-
}),
|
|
29
|
+
}), M = v(() => l.fullscreen == !0 ? `height: calc(100vh - ${l.usedHeight}px); width: ${l.width};` : `height: ${l.height}; width: ${l.width};`), d = v(() => !!l.canEdit), b = v(() => l.lineColor ?? ($.name.value == "dark" ? "white" : "black")), C = v(() => t.value != null && t.value != l.modelValue), H = v(() => ({
|
|
33
30
|
dotSize: 0.5,
|
|
34
31
|
onEnd: () => {
|
|
35
|
-
const e =
|
|
32
|
+
const e = c(n);
|
|
36
33
|
if (e != null && !e.isEmpty()) {
|
|
37
|
-
const o = e.toData(),
|
|
34
|
+
const o = e.toData(), a = [];
|
|
38
35
|
o.forEach((u) => {
|
|
39
36
|
u.points.forEach((i) => {
|
|
40
|
-
|
|
37
|
+
a.push({ x: i.x, y: i.y });
|
|
41
38
|
});
|
|
42
39
|
});
|
|
43
|
-
let
|
|
44
|
-
|
|
45
|
-
u.x -=
|
|
46
|
-
}),
|
|
47
|
-
u.y -=
|
|
48
|
-
}),
|
|
40
|
+
let s = Math.min(...a.map((u) => u.x)), r = Math.min(...a.map((u) => u.y));
|
|
41
|
+
s > 1 && a.forEach((u) => {
|
|
42
|
+
u.x -= s;
|
|
43
|
+
}), r > 1 && a.forEach((u) => {
|
|
44
|
+
u.y -= r;
|
|
45
|
+
}), t.value = JSON.stringify(a);
|
|
49
46
|
}
|
|
50
47
|
},
|
|
51
|
-
penColor:
|
|
48
|
+
penColor: b.value
|
|
52
49
|
}));
|
|
53
50
|
function f(e, o) {
|
|
54
51
|
if (e != null)
|
|
55
52
|
if (o == null)
|
|
56
53
|
e.clearSignature();
|
|
57
54
|
else {
|
|
58
|
-
const
|
|
59
|
-
|
|
55
|
+
const a = JSON.parse(o);
|
|
56
|
+
a != null && a.length > 0 && e.fromData([{ color: b.value, points: N(a) }]);
|
|
60
57
|
}
|
|
61
58
|
}
|
|
62
|
-
|
|
59
|
+
y(n, (e) => {
|
|
63
60
|
var o;
|
|
64
|
-
|
|
65
|
-
}),
|
|
61
|
+
t.value = l.modelValue, f(e, l.modelValue), d.value || (o = n.value) == null || o.lockSignaturePad();
|
|
62
|
+
}), y(() => l.refreshToggle, () => {
|
|
66
63
|
var e;
|
|
67
|
-
|
|
68
|
-
}),
|
|
64
|
+
t.value = l.modelValue, f(c(n), t.value), d.value || (e = n.value) == null || e.lockSignaturePad();
|
|
65
|
+
}), y(() => l.modelValue, (e) => {
|
|
69
66
|
var o;
|
|
70
|
-
|
|
67
|
+
t.value = e, f(c(n), e), d.value || (o = n.value) == null || o.lockSignaturePad();
|
|
71
68
|
});
|
|
72
|
-
function
|
|
73
|
-
if (p.value != null &&
|
|
74
|
-
let o = Math.max(...e.map((i) => i.y)),
|
|
75
|
-
o > p.value && (
|
|
76
|
-
let u = Math.min(
|
|
69
|
+
function N(e) {
|
|
70
|
+
if (p.value != null && h.value != null) {
|
|
71
|
+
let o = Math.max(...e.map((i) => i.y)), a = Math.max(...e.map((i) => i.x)), s = 1, r = 1;
|
|
72
|
+
o > p.value && (s = p.value / o), a > h.value && (r = h.value / a);
|
|
73
|
+
let u = Math.min(s, r);
|
|
77
74
|
if (u < 1)
|
|
78
75
|
return e.map((i) => ({
|
|
79
76
|
x: i.x * u,
|
|
@@ -82,74 +79,77 @@ const Q = /* @__PURE__ */ D({
|
|
|
82
79
|
}
|
|
83
80
|
return e;
|
|
84
81
|
}
|
|
85
|
-
function
|
|
86
|
-
|
|
82
|
+
function E() {
|
|
83
|
+
V("change", t.value), V("update:modelValue", t.value), l.clearOnOk && (t.value = void 0, f(c(n), t.value));
|
|
87
84
|
}
|
|
88
|
-
function
|
|
89
|
-
const e =
|
|
90
|
-
e != null && !e.isEmpty() && e.clearSignature(),
|
|
85
|
+
function P() {
|
|
86
|
+
const e = c(n);
|
|
87
|
+
e != null && !e.isEmpty() && e.clearSignature(), t.value = void 0;
|
|
91
88
|
}
|
|
92
|
-
return
|
|
89
|
+
return A(() => {
|
|
93
90
|
var e;
|
|
94
|
-
|
|
95
|
-
}),
|
|
96
|
-
|
|
97
|
-
}), (e, o) =>
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
91
|
+
t.value = l.modelValue, f(c(n), t.value), d.value || (e = n.value) == null || e.lockSignaturePad(), m.value = !0;
|
|
92
|
+
}), D(() => {
|
|
93
|
+
m.value = !1;
|
|
94
|
+
}), (e, o) => {
|
|
95
|
+
const a = x("v-btn"), s = x("v-slide-x-reverse-transition"), r = x("v-card");
|
|
96
|
+
return _(), k(r, {
|
|
97
|
+
color: e.color,
|
|
98
|
+
style: z(M.value),
|
|
99
|
+
variant: "elevated"
|
|
100
|
+
}, {
|
|
101
|
+
default: S(() => [
|
|
102
|
+
J(e.$slots, "top", {
|
|
103
|
+
apply: E,
|
|
104
|
+
canApply: C.value,
|
|
105
|
+
canEdit: d.value,
|
|
106
|
+
clear: P
|
|
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), {
|
|
110
141
|
key: 0,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
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)
|
|
142
|
+
disabled: !d.value,
|
|
143
|
+
options: H.value,
|
|
144
|
+
ref_key: "signaturePad",
|
|
145
|
+
ref: n
|
|
146
|
+
}, null, 8, ["disabled", "options"])) : B("", !0)
|
|
140
147
|
]),
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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"]));
|
|
148
|
+
_: 3
|
|
149
|
+
}, 8, ["color", "style"]);
|
|
150
|
+
};
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
153
|
export {
|
|
154
|
-
|
|
154
|
+
q as default
|
|
155
155
|
};
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRoute as
|
|
3
|
-
|
|
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({
|
|
1
|
+
import { defineComponent as z, computed as _, ref as E, watch as b, onMounted as F, resolveComponent as o, openBlock as s, createBlock as f, normalizeStyle as M, withCtx as u, createVNode as v, createElementBlock as $, Fragment as C, renderList as B, renderSlot as h, createTextVNode as P, toDisplayString as R, createCommentVNode as U } from "vue";
|
|
2
|
+
import { useRoute as j } from "vue-router";
|
|
3
|
+
const Q = /* @__PURE__ */ z({
|
|
13
4
|
__name: "BT-Slider",
|
|
14
5
|
props: {
|
|
15
6
|
hideHeader: { type: Boolean },
|
|
@@ -18,115 +9,118 @@ const ae = /* @__PURE__ */ q({
|
|
|
18
9
|
width: {}
|
|
19
10
|
},
|
|
20
11
|
emits: ["update:modelValue"],
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
e.slide != null &&
|
|
12
|
+
setup(S, { emit: T }) {
|
|
13
|
+
const H = T, c = S, i = j(), L = _(() => c.width != null ? `width: ${c.width}px` : ""), n = E([]);
|
|
14
|
+
b(() => i.query, (e) => {
|
|
15
|
+
e.slide != null && V(e.slide);
|
|
25
16
|
});
|
|
26
|
-
const
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
if (typeof
|
|
30
|
-
|
|
17
|
+
const p = _(() => n.value.length > 0 ? n.value[n.value.length - 1] : 0), w = _(() => (c.options ?? []).map((t, r) => {
|
|
18
|
+
var m;
|
|
19
|
+
var a = { value: "", index: r + 1 };
|
|
20
|
+
if (typeof t == "string")
|
|
21
|
+
a.hide = !1, a.title = t, a.value = a.title.replaceAll(" ", "").toLowerCase();
|
|
31
22
|
else {
|
|
32
|
-
var
|
|
33
|
-
|
|
34
|
-
...
|
|
35
|
-
index:
|
|
36
|
-
value:
|
|
23
|
+
var d = t;
|
|
24
|
+
a = {
|
|
25
|
+
...d,
|
|
26
|
+
index: r + 1,
|
|
27
|
+
value: d.value ?? ((m = d.title) == null ? void 0 : m.replaceAll(" ", "").toLowerCase())
|
|
37
28
|
};
|
|
38
29
|
}
|
|
39
|
-
return
|
|
40
|
-
})), N =
|
|
41
|
-
function
|
|
42
|
-
|
|
30
|
+
return a;
|
|
31
|
+
})), N = _(() => w.value.filter((e) => e.hide !== !0));
|
|
32
|
+
function k() {
|
|
33
|
+
n.value.pop();
|
|
43
34
|
}
|
|
44
|
-
function
|
|
45
|
-
e == 0 ?
|
|
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));
|
|
46
37
|
}
|
|
47
|
-
function
|
|
38
|
+
function V(e) {
|
|
48
39
|
if (e == null)
|
|
49
40
|
return;
|
|
50
|
-
const
|
|
51
|
-
|
|
41
|
+
const t = w.value.find((r) => r.value == e);
|
|
42
|
+
t != null && y(t.index);
|
|
52
43
|
}
|
|
53
|
-
return
|
|
54
|
-
e !=
|
|
55
|
-
}),
|
|
56
|
-
e != null &&
|
|
57
|
-
}),
|
|
58
|
-
(
|
|
59
|
-
}), (e,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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)
|
|
44
|
+
return b(p, (e) => {
|
|
45
|
+
e != c.modelValue && H("update:modelValue", e);
|
|
46
|
+
}), b(() => c.modelValue, (e) => {
|
|
47
|
+
e != null && p.value != e && y(e);
|
|
48
|
+
}), F(() => {
|
|
49
|
+
(i == null ? void 0 : i.query.slide) != null && V(i == null ? void 0 : i.query.slide);
|
|
50
|
+
}), (e, t) => {
|
|
51
|
+
const r = o("v-list-item"), a = o("v-list"), d = o("v-window-item"), m = o("v-btn"), q = o("v-toolbar-title"), A = o("v-spacer"), D = o("v-toolbar"), O = o("v-slide-x-transition"), x = o("v-window");
|
|
52
|
+
return s(), f(x, {
|
|
53
|
+
modelValue: p.value,
|
|
54
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => p.value = l),
|
|
55
|
+
style: M(L.value)
|
|
56
|
+
}, {
|
|
57
|
+
default: u(() => [
|
|
58
|
+
v(d, null, {
|
|
59
|
+
default: u(() => [
|
|
60
|
+
v(a, null, {
|
|
61
|
+
default: u(() => [
|
|
62
|
+
(s(!0), $(C, null, B(N.value, (l) => (s(), f(r, {
|
|
63
|
+
"append-icon": "$arrow-right",
|
|
64
|
+
onClick: (G) => y(l.index),
|
|
65
|
+
disabled: l.disabled,
|
|
66
|
+
key: l.value ?? l.title,
|
|
67
|
+
title: l.title
|
|
68
|
+
}, null, 8, ["onClick", "disabled", "title"]))), 128))
|
|
117
69
|
]),
|
|
118
|
-
_:
|
|
119
|
-
}
|
|
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)
|
|
113
|
+
]),
|
|
114
|
+
h(e.$slots, l.value)
|
|
120
115
|
]),
|
|
121
|
-
|
|
122
|
-
]),
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
])
|
|
126
|
-
|
|
127
|
-
}, 8, ["modelValue", "style"]));
|
|
116
|
+
_: 2
|
|
117
|
+
}, 1032, ["value"]))), 128))
|
|
118
|
+
]),
|
|
119
|
+
_: 3
|
|
120
|
+
}, 8, ["modelValue", "style"]);
|
|
121
|
+
};
|
|
128
122
|
}
|
|
129
123
|
});
|
|
130
124
|
export {
|
|
131
|
-
|
|
125
|
+
Q as default
|
|
132
126
|
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
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({
|
|
1
|
+
import { defineComponent as S, computed as o, inject as B, ref as L, resolveComponent as i, openBlock as a, createBlock as d, withModifiers as T, withCtx as s, renderSlot as w, createVNode as f, createElementBlock as r, toDisplayString as n, normalizeClass as p, createTextVNode as v } from "vue";
|
|
2
|
+
const E = { key: "1" }, $ = { key: "2" }, j = { key: "3" }, D = /* @__PURE__ */ S({
|
|
6
3
|
__name: "BT-Square-Check",
|
|
7
4
|
props: {
|
|
8
5
|
disabled: { type: Boolean },
|
|
@@ -24,75 +21,78 @@ const $ = { key: "1" }, j = { key: "2" }, N = { key: "3" }, Y = /* @__PURE__ */
|
|
|
24
21
|
width: { default: "100" }
|
|
25
22
|
},
|
|
26
23
|
emits: ["update:modelValue"],
|
|
27
|
-
setup(
|
|
28
|
-
const l =
|
|
24
|
+
setup(g, { emit: h }) {
|
|
25
|
+
const l = g, m = h, u = o({
|
|
29
26
|
get() {
|
|
30
27
|
return l.modelValue;
|
|
31
28
|
},
|
|
32
29
|
set(e) {
|
|
33
|
-
|
|
30
|
+
m("update:modelValue", e);
|
|
34
31
|
}
|
|
35
|
-
}),
|
|
32
|
+
}), b = B("isEditing", () => L(!1), !0), _ = o(() => l.isEditing ?? b.value), t = o(() => u.value === l.trueValue), y = o(() => t.value ? l.trueLabel : l.falseLabel), V = o(() => t.value ? l.trueIcon : l.falseIcon);
|
|
36
33
|
function k() {
|
|
37
34
|
l.onToggle != null ? l.onToggle() : u.value = u.value == l.falseValue ? l.trueValue : l.falseValue;
|
|
38
35
|
}
|
|
39
|
-
return (e,
|
|
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
|
-
|
|
92
|
-
|
|
93
|
-
|
|
36
|
+
return (e, N) => {
|
|
37
|
+
const z = i("v-slide-x-transition"), c = i("v-icon"), C = i("v-slide-y-reverse-transition"), I = i("v-card");
|
|
38
|
+
return a(), d(I, {
|
|
39
|
+
onClick: T(k, ["stop"]),
|
|
40
|
+
disabled: e.disabled || !_.value,
|
|
41
|
+
class: "d-flex flex-column align-center justify-center",
|
|
42
|
+
height: e.height,
|
|
43
|
+
ripple: e.ripple,
|
|
44
|
+
width: e.width
|
|
45
|
+
}, {
|
|
46
|
+
default: s(() => [
|
|
47
|
+
w(e.$slots, "content", {
|
|
48
|
+
icon: V.value,
|
|
49
|
+
isTrue: t.value,
|
|
50
|
+
label: y.value,
|
|
51
|
+
iconSize: e.iconSize
|
|
52
|
+
}, () => [
|
|
53
|
+
f(z, {
|
|
54
|
+
group: "",
|
|
55
|
+
"hide-on-leave": ""
|
|
56
|
+
}, {
|
|
57
|
+
default: s(() => [
|
|
58
|
+
e.label != null ? (a(), r("p", E, n(e.label), 1)) : t.value ? (a(), r("p", $, n(e.trueLabel), 1)) : (a(), r("p", j, n(e.falseLabel), 1))
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
}),
|
|
62
|
+
f(C, {
|
|
63
|
+
group: "",
|
|
64
|
+
"hide-on-leave": ""
|
|
65
|
+
}, {
|
|
66
|
+
default: s(() => [
|
|
67
|
+
t.value ? (a(), d(c, {
|
|
68
|
+
size: e.iconSize,
|
|
69
|
+
class: p(e.disabled ? "" : e.trueClass),
|
|
70
|
+
key: "3"
|
|
71
|
+
}, {
|
|
72
|
+
default: s(() => [
|
|
73
|
+
v(n(e.trueIcon), 1)
|
|
74
|
+
]),
|
|
75
|
+
_: 1
|
|
76
|
+
}, 8, ["size", "class"])) : (a(), d(c, {
|
|
77
|
+
size: e.iconSize,
|
|
78
|
+
class: p(e.disabled ? "" : e.falseClass),
|
|
79
|
+
key: "4"
|
|
80
|
+
}, {
|
|
81
|
+
default: s(() => [
|
|
82
|
+
v(n(e.falseIcon), 1)
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}, 8, ["size", "class"]))
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
})
|
|
89
|
+
])
|
|
90
|
+
]),
|
|
91
|
+
_: 3
|
|
92
|
+
}, 8, ["disabled", "height", "ripple", "width"]);
|
|
93
|
+
};
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
96
|
export {
|
|
97
|
-
|
|
97
|
+
D as default
|
|
98
98
|
};
|