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,30 +0,0 @@
|
|
|
1
|
-
import { computed as s, isRef as o } from "vue";
|
|
2
|
-
import { getCurrentInstanceName as a } from "../util/getCurrentInstance.mjs";
|
|
3
|
-
import { propsFactory as l } from "../util/propsFactory.mjs";
|
|
4
|
-
const g = l({
|
|
5
|
-
rounded: {
|
|
6
|
-
type: [Boolean, Number, String],
|
|
7
|
-
default: void 0
|
|
8
|
-
},
|
|
9
|
-
tile: Boolean
|
|
10
|
-
}, "rounded");
|
|
11
|
-
function p(n) {
|
|
12
|
-
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : a();
|
|
13
|
-
return {
|
|
14
|
-
roundedClasses: s(() => {
|
|
15
|
-
const e = o(n) ? n.value : n.rounded, u = o(n) ? !1 : n.tile, t = [];
|
|
16
|
-
if (u || e === !1)
|
|
17
|
-
t.push("rounded-0");
|
|
18
|
-
else if (e === !0 || e === "")
|
|
19
|
-
t.push(`${r}--rounded`);
|
|
20
|
-
else if (typeof e == "string" || e === 0)
|
|
21
|
-
for (const d of String(e).split(" "))
|
|
22
|
-
t.push(`rounded-${d}`);
|
|
23
|
-
return t;
|
|
24
|
-
})
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
g as makeRoundedProps,
|
|
29
|
-
p as useRounded
|
|
30
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { resolveDynamicComponent as L, toRef as n, computed as s, reactive as R, nextTick as g, onScopeDispose as b } from "vue";
|
|
2
|
-
import { hasEvent as h } from "../util/helpers.mjs";
|
|
3
|
-
import { getCurrentInstance as E } from "../util/getCurrentInstance.mjs";
|
|
4
|
-
import { deepEqual as y } from "../util/deepEqual.mjs";
|
|
5
|
-
import { propsFactory as x } from "../util/propsFactory.mjs";
|
|
6
|
-
import { IN_BROWSER as w } from "../util/globals.mjs";
|
|
7
|
-
function B() {
|
|
8
|
-
const e = E("useRoute");
|
|
9
|
-
return s(() => {
|
|
10
|
-
var u;
|
|
11
|
-
return (u = e == null ? void 0 : e.proxy) == null ? void 0 : u.$route;
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function D() {
|
|
15
|
-
var e, u;
|
|
16
|
-
return (u = (e = E("useRouter")) == null ? void 0 : e.proxy) == null ? void 0 : u.$router;
|
|
17
|
-
}
|
|
18
|
-
function I(e, u) {
|
|
19
|
-
const o = L("RouterLink"), i = n(() => !!(e.href || e.to)), r = s(() => (i == null ? void 0 : i.value) || h(u, "click") || h(e, "click"));
|
|
20
|
-
if (typeof o == "string" || !("useLink" in o)) {
|
|
21
|
-
const t = n(() => e.href);
|
|
22
|
-
return {
|
|
23
|
-
isLink: i,
|
|
24
|
-
isRouterLink: n(() => !1),
|
|
25
|
-
isClickable: r,
|
|
26
|
-
href: t,
|
|
27
|
-
linkProps: R({
|
|
28
|
-
href: t
|
|
29
|
-
}),
|
|
30
|
-
route: n(() => {
|
|
31
|
-
}),
|
|
32
|
-
navigate: n(() => {
|
|
33
|
-
})
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
const f = o.useLink({
|
|
37
|
-
to: n(() => e.to || ""),
|
|
38
|
-
replace: n(() => e.replace)
|
|
39
|
-
}), a = s(() => e.to ? f : void 0), c = B(), l = s(() => {
|
|
40
|
-
var t, m, k;
|
|
41
|
-
return a.value ? e.exact ? c.value ? ((k = a.value.isExactActive) == null ? void 0 : k.value) && y(a.value.route.value.query, c.value.query) : ((m = a.value.isExactActive) == null ? void 0 : m.value) ?? !1 : ((t = a.value.isActive) == null ? void 0 : t.value) ?? !1 : !1;
|
|
42
|
-
}), d = s(() => {
|
|
43
|
-
var t;
|
|
44
|
-
return e.to ? (t = a.value) == null ? void 0 : t.route.value.href : e.href;
|
|
45
|
-
}), p = n(() => !!e.to);
|
|
46
|
-
return {
|
|
47
|
-
isLink: i,
|
|
48
|
-
isRouterLink: p,
|
|
49
|
-
isClickable: r,
|
|
50
|
-
isActive: l,
|
|
51
|
-
route: n(() => {
|
|
52
|
-
var t;
|
|
53
|
-
return (t = a.value) == null ? void 0 : t.route.value;
|
|
54
|
-
}),
|
|
55
|
-
navigate: n(() => {
|
|
56
|
-
var t;
|
|
57
|
-
return (t = a.value) == null ? void 0 : t.navigate;
|
|
58
|
-
}),
|
|
59
|
-
href: d,
|
|
60
|
-
linkProps: R({
|
|
61
|
-
href: d,
|
|
62
|
-
"aria-current": n(() => l.value ? "page" : void 0),
|
|
63
|
-
"aria-disabled": n(() => e.disabled && i.value ? "true" : void 0),
|
|
64
|
-
tabindex: n(() => e.disabled && i.value ? "-1" : void 0)
|
|
65
|
-
})
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
const O = x({
|
|
69
|
-
href: String,
|
|
70
|
-
replace: Boolean,
|
|
71
|
-
to: [String, Object],
|
|
72
|
-
exact: Boolean
|
|
73
|
-
}, "router");
|
|
74
|
-
let v = !1;
|
|
75
|
-
function $(e, u) {
|
|
76
|
-
let o = !1, i, r;
|
|
77
|
-
w && (e != null && e.beforeEach) && (g(() => {
|
|
78
|
-
window.addEventListener("popstate", f), i = e.beforeEach((a, c, l) => {
|
|
79
|
-
v ? o ? u(l) : l() : setTimeout(() => o ? u(l) : l()), v = !0;
|
|
80
|
-
}), r = e == null ? void 0 : e.afterEach(() => {
|
|
81
|
-
v = !1;
|
|
82
|
-
});
|
|
83
|
-
}), b(() => {
|
|
84
|
-
window.removeEventListener("popstate", f), i == null || i(), r == null || r();
|
|
85
|
-
}));
|
|
86
|
-
function f(a) {
|
|
87
|
-
var c;
|
|
88
|
-
(c = a.state) != null && c.replaced || (o = !0, setTimeout(() => o = !1));
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export {
|
|
92
|
-
O as makeRouterProps,
|
|
93
|
-
$ as useBackButton,
|
|
94
|
-
I as useLink,
|
|
95
|
-
B as useRoute,
|
|
96
|
-
D as useRouter
|
|
97
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { watch as u, nextTick as n } from "vue";
|
|
2
|
-
function m(i, t) {
|
|
3
|
-
u(() => {
|
|
4
|
-
var e;
|
|
5
|
-
return (e = i.isActive) == null ? void 0 : e.value;
|
|
6
|
-
}, (e) => {
|
|
7
|
-
i.isLink.value && e != null && t && n(() => {
|
|
8
|
-
t(e);
|
|
9
|
-
});
|
|
10
|
-
}, {
|
|
11
|
-
immediate: !0
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
m as useSelectLink
|
|
16
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { destructComputed as l, includes as o, convertToUnit as r } from "../util/helpers.mjs";
|
|
2
|
-
import { propsFactory as a } from "../util/propsFactory.mjs";
|
|
3
|
-
import { getCurrentInstanceName as m } from "../util/getCurrentInstance.mjs";
|
|
4
|
-
const u = ["x-small", "small", "default", "large", "x-large"], z = a({
|
|
5
|
-
size: {
|
|
6
|
-
type: [String, Number],
|
|
7
|
-
default: "default"
|
|
8
|
-
}
|
|
9
|
-
}, "size");
|
|
10
|
-
function c(i) {
|
|
11
|
-
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : m();
|
|
12
|
-
return l(() => {
|
|
13
|
-
const e = i.size;
|
|
14
|
-
let t, s;
|
|
15
|
-
return o(u, e) ? t = `${n}--size-${e}` : e && (s = {
|
|
16
|
-
width: r(e),
|
|
17
|
-
height: r(e)
|
|
18
|
-
}), {
|
|
19
|
-
sizeClasses: t,
|
|
20
|
-
sizeStyles: s
|
|
21
|
-
};
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
z as makeSizeProps,
|
|
26
|
-
c as useSize
|
|
27
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { shallowRef as t, onMounted as e, toRef as n, readonly as s } from "vue";
|
|
2
|
-
function a() {
|
|
3
|
-
const o = t(!1);
|
|
4
|
-
return e(() => {
|
|
5
|
-
window.requestAnimationFrame(() => {
|
|
6
|
-
o.value = !0;
|
|
7
|
-
});
|
|
8
|
-
}), {
|
|
9
|
-
ssrBootStyles: n(() => o.value ? void 0 : {
|
|
10
|
-
transition: "none !important"
|
|
11
|
-
}),
|
|
12
|
-
isBooted: s(o)
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
a as useSsrBoot
|
|
17
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { useToggleScope as g } from "./toggleScope.mjs";
|
|
2
|
-
import { reactive as v, inject as y, provide as T, shallowRef as d, toValue as r, watchEffect as x, toRef as f, readonly as C, onScopeDispose as w, toRaw as I } from "vue";
|
|
3
|
-
import { getCurrentInstance as R } from "../util/getCurrentInstance.mjs";
|
|
4
|
-
const m = Symbol.for("vuetify:stack"), c = v([]);
|
|
5
|
-
function _(p, s, S) {
|
|
6
|
-
const t = R("useStack"), n = !S, e = y(m, void 0), l = v({
|
|
7
|
-
activeChildren: /* @__PURE__ */ new Set()
|
|
8
|
-
});
|
|
9
|
-
T(m, l);
|
|
10
|
-
const a = d(Number(r(s)));
|
|
11
|
-
g(p, () => {
|
|
12
|
-
var o;
|
|
13
|
-
const i = (o = c.at(-1)) == null ? void 0 : o[1];
|
|
14
|
-
a.value = i ? i + 10 : Number(r(s)), n && c.push([t.uid, a.value]), e == null || e.activeChildren.add(t.uid), w(() => {
|
|
15
|
-
if (n) {
|
|
16
|
-
const b = I(c).findIndex((h) => h[0] === t.uid);
|
|
17
|
-
c.splice(b, 1);
|
|
18
|
-
}
|
|
19
|
-
e == null || e.activeChildren.delete(t.uid);
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
const u = d(!0);
|
|
23
|
-
n && x(() => {
|
|
24
|
-
var o;
|
|
25
|
-
const i = ((o = c.at(-1)) == null ? void 0 : o[0]) === t.uid;
|
|
26
|
-
setTimeout(() => u.value = i);
|
|
27
|
-
});
|
|
28
|
-
const k = f(() => !l.activeChildren.size);
|
|
29
|
-
return {
|
|
30
|
-
globalTop: C(u),
|
|
31
|
-
localTop: k,
|
|
32
|
-
stackStyles: f(() => ({
|
|
33
|
-
zIndex: a.value
|
|
34
|
-
}))
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export {
|
|
38
|
-
_ as useStack
|
|
39
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { computed as a, warn as c } from "vue";
|
|
2
|
-
import { IN_BROWSER as l } from "../util/globals.mjs";
|
|
3
|
-
function m(n) {
|
|
4
|
-
return {
|
|
5
|
-
teleportTarget: a(() => {
|
|
6
|
-
const e = n();
|
|
7
|
-
if (e === !0 || !l)
|
|
8
|
-
return;
|
|
9
|
-
const r = e === !1 ? document.body : typeof e == "string" ? document.querySelector(e) : e;
|
|
10
|
-
if (r == null) {
|
|
11
|
-
c(`Unable to locate target ${e}`);
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
let t = [...r.children].find((o) => o.matches(".v-overlay-container"));
|
|
15
|
-
return t || (t = document.createElement("div"), t.className = "v-overlay-container", r.appendChild(t)), t;
|
|
16
|
-
})
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
m as useTeleport
|
|
21
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { inject as i, toRef as o, provide as c } from "vue";
|
|
2
|
-
import { propsFactory as f } from "../util/propsFactory.mjs";
|
|
3
|
-
import { getCurrentInstance as h } from "../util/getCurrentInstance.mjs";
|
|
4
|
-
const r = Symbol.for("vuetify:theme"), d = f({
|
|
5
|
-
theme: String
|
|
6
|
-
}, "theme");
|
|
7
|
-
function v(t) {
|
|
8
|
-
h("provideTheme");
|
|
9
|
-
const e = i(r, null);
|
|
10
|
-
if (!e)
|
|
11
|
-
throw new Error("Could not find Vuetify theme injection");
|
|
12
|
-
const n = o(() => t.theme ?? e.name.value), u = o(() => e.themes.value[n.value]), s = o(() => e.isDisabled ? void 0 : `${e.prefix}theme--${n.value}`), m = {
|
|
13
|
-
...e,
|
|
14
|
-
name: n,
|
|
15
|
-
current: u,
|
|
16
|
-
themeClasses: s
|
|
17
|
-
};
|
|
18
|
-
return c(r, m), m;
|
|
19
|
-
}
|
|
20
|
-
function T() {
|
|
21
|
-
h("useTheme");
|
|
22
|
-
const t = i(r, null);
|
|
23
|
-
if (!t)
|
|
24
|
-
throw new Error("Could not find Vuetify theme injection");
|
|
25
|
-
return t;
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
r as ThemeSymbol,
|
|
29
|
-
d as makeThemeProps,
|
|
30
|
-
v as provideTheme,
|
|
31
|
-
T as useTheme
|
|
32
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { watch as f, onScopeDispose as r, effectScope as u } from "vue";
|
|
2
|
-
function m(n, e) {
|
|
3
|
-
let t;
|
|
4
|
-
function o() {
|
|
5
|
-
t = u(), t.run(() => e.length ? e(() => {
|
|
6
|
-
t == null || t.stop(), o();
|
|
7
|
-
}) : e());
|
|
8
|
-
}
|
|
9
|
-
f(n, (i) => {
|
|
10
|
-
i && !t ? o() : i || (t == null || t.stop(), t = void 0);
|
|
11
|
-
}, {
|
|
12
|
-
immediate: !0
|
|
13
|
-
}), r(() => {
|
|
14
|
-
t == null || t.stop();
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
m as useToggleScope
|
|
19
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { CircularBuffer as b } from "../util/helpers.mjs";
|
|
2
|
-
const v = 100, w = 20;
|
|
3
|
-
function y(t) {
|
|
4
|
-
return (t < 0 ? -1 : 1) * Math.sqrt(Math.abs(t)) * 1.41421356237;
|
|
5
|
-
}
|
|
6
|
-
function l(t) {
|
|
7
|
-
if (t.length < 2)
|
|
8
|
-
return 0;
|
|
9
|
-
if (t.length === 2)
|
|
10
|
-
return t[1].t === t[0].t ? 0 : (t[1].d - t[0].d) / (t[1].t - t[0].t);
|
|
11
|
-
let c = 0;
|
|
12
|
-
for (let n = t.length - 1; n > 0; n--) {
|
|
13
|
-
if (t[n].t === t[n - 1].t)
|
|
14
|
-
continue;
|
|
15
|
-
const f = y(c), r = (t[n].d - t[n - 1].d) / (t[n].t - t[n - 1].t);
|
|
16
|
-
c += (r - f) * Math.abs(r), n === t.length - 1 && (c *= 0.5);
|
|
17
|
-
}
|
|
18
|
-
return y(c) * 1e3;
|
|
19
|
-
}
|
|
20
|
-
function T() {
|
|
21
|
-
const t = {};
|
|
22
|
-
function c(r) {
|
|
23
|
-
Array.from(r.changedTouches).forEach((o) => {
|
|
24
|
-
(t[o.identifier] ?? (t[o.identifier] = new b(w))).push([r.timeStamp, o]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function n(r) {
|
|
28
|
-
Array.from(r.changedTouches).forEach((o) => {
|
|
29
|
-
delete t[o.identifier];
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
function f(r) {
|
|
33
|
-
var g;
|
|
34
|
-
const o = (g = t[r]) == null ? void 0 : g.values().reverse();
|
|
35
|
-
if (!o)
|
|
36
|
-
throw new Error(`No samples for touch id ${r}`);
|
|
37
|
-
const d = o[0], a = [], s = [];
|
|
38
|
-
for (const e of o) {
|
|
39
|
-
if (d[0] - e[0] > v)
|
|
40
|
-
break;
|
|
41
|
-
a.push({
|
|
42
|
-
t: e[0],
|
|
43
|
-
d: e[1].clientX
|
|
44
|
-
}), s.push({
|
|
45
|
-
t: e[0],
|
|
46
|
-
d: e[1].clientY
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
x: l(a),
|
|
51
|
-
y: l(s),
|
|
52
|
-
get direction() {
|
|
53
|
-
const {
|
|
54
|
-
x: e,
|
|
55
|
-
y: h
|
|
56
|
-
} = this, [i, u] = [Math.abs(e), Math.abs(h)];
|
|
57
|
-
return i > u && e >= 0 ? "right" : i > u && e <= 0 ? "left" : u > i && h >= 0 ? "down" : u > i && h <= 0 ? "up" : M();
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
addMovement: c,
|
|
63
|
-
endTouch: n,
|
|
64
|
-
getVelocity: f
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function M() {
|
|
68
|
-
throw new Error();
|
|
69
|
-
}
|
|
70
|
-
export {
|
|
71
|
-
l as calculateImpulseVelocity,
|
|
72
|
-
T as useVelocity
|
|
73
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { mergeProps as e, h as f, TransitionGroup as u, Transition as d } from "vue";
|
|
2
|
-
import { isObject as a, onlyDefinedProps as P } from "../util/helpers.mjs";
|
|
3
|
-
import { propsFactory as y } from "../util/propsFactory.mjs";
|
|
4
|
-
const h = y({
|
|
5
|
-
transition: {
|
|
6
|
-
type: null,
|
|
7
|
-
default: "fade-transition",
|
|
8
|
-
validator: (t) => t !== !0
|
|
9
|
-
}
|
|
10
|
-
}, "transition"), j = (t, p) => {
|
|
11
|
-
let {
|
|
12
|
-
slots: m
|
|
13
|
-
} = p;
|
|
14
|
-
const {
|
|
15
|
-
transition: o,
|
|
16
|
-
disabled: n,
|
|
17
|
-
group: i,
|
|
18
|
-
...s
|
|
19
|
-
} = t, {
|
|
20
|
-
component: l = i ? u : d,
|
|
21
|
-
...c
|
|
22
|
-
} = a(o) ? o : {};
|
|
23
|
-
let r;
|
|
24
|
-
return a(o) ? r = e(c, P({
|
|
25
|
-
disabled: n,
|
|
26
|
-
group: i
|
|
27
|
-
}), s) : r = e({
|
|
28
|
-
name: n || !o ? "" : o
|
|
29
|
-
}, s), f(l, r, m);
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
j as MaybeTransition,
|
|
33
|
-
h as makeTransitionProps
|
|
34
|
-
};
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { makeFocusProps as $ } from "./focus.mjs";
|
|
2
|
-
import { useForm as k } from "./form.mjs";
|
|
3
|
-
import { useProxiedModel as D } from "./proxiedModel.mjs";
|
|
4
|
-
import { useToggleScope as x } from "./toggleScope.mjs";
|
|
5
|
-
import { useId as E, computed as i, ref as N, shallowRef as z, unref as O, onBeforeMount as P, onBeforeUnmount as A, onMounted as C, watch as h, nextTick as F } from "vue";
|
|
6
|
-
import { useRules as T } from "../labs/rules/rules.mjs";
|
|
7
|
-
import { propsFactory as U } from "../util/propsFactory.mjs";
|
|
8
|
-
import { getCurrentInstanceName as j, getCurrentInstance as q } from "../util/getCurrentInstance.mjs";
|
|
9
|
-
import { wrapInArray as M } from "../util/helpers.mjs";
|
|
10
|
-
const _ = U({
|
|
11
|
-
disabled: {
|
|
12
|
-
type: Boolean,
|
|
13
|
-
default: null
|
|
14
|
-
},
|
|
15
|
-
error: Boolean,
|
|
16
|
-
errorMessages: {
|
|
17
|
-
type: [Array, String],
|
|
18
|
-
default: () => []
|
|
19
|
-
},
|
|
20
|
-
maxErrors: {
|
|
21
|
-
type: [Number, String],
|
|
22
|
-
default: 1
|
|
23
|
-
},
|
|
24
|
-
name: String,
|
|
25
|
-
label: String,
|
|
26
|
-
readonly: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: null
|
|
29
|
-
},
|
|
30
|
-
rules: {
|
|
31
|
-
type: Array,
|
|
32
|
-
default: () => []
|
|
33
|
-
},
|
|
34
|
-
modelValue: null,
|
|
35
|
-
validateOn: String,
|
|
36
|
-
validationValue: null,
|
|
37
|
-
...$()
|
|
38
|
-
}, "validation");
|
|
39
|
-
function ee(a) {
|
|
40
|
-
let f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : j(), S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : E();
|
|
41
|
-
const c = D(a, "modelValue"), d = i(() => a.validationValue === void 0 ? c.value : a.validationValue), l = k(a), I = T(() => a.rules), u = N([]), g = z(!0), V = i(() => !!(M(c.value === "" ? null : c.value).length || M(d.value === "" ? null : d.value).length)), m = i(() => {
|
|
42
|
-
var e;
|
|
43
|
-
return (e = a.errorMessages) != null && e.length ? M(a.errorMessages).concat(u.value).slice(0, Math.max(0, Number(a.maxErrors))) : u.value;
|
|
44
|
-
}), t = i(() => {
|
|
45
|
-
var o;
|
|
46
|
-
let e = (a.validateOn ?? ((o = l.validateOn) == null ? void 0 : o.value)) || "input";
|
|
47
|
-
e === "lazy" && (e = "input lazy"), e === "eager" && (e = "input eager");
|
|
48
|
-
const n = new Set((e == null ? void 0 : e.split(" ")) ?? []);
|
|
49
|
-
return {
|
|
50
|
-
input: n.has("input"),
|
|
51
|
-
blur: n.has("blur") || n.has("input") || n.has("invalid-input"),
|
|
52
|
-
invalidInput: n.has("invalid-input"),
|
|
53
|
-
lazy: n.has("lazy"),
|
|
54
|
-
eager: n.has("eager")
|
|
55
|
-
};
|
|
56
|
-
}), s = i(() => {
|
|
57
|
-
var e;
|
|
58
|
-
return a.error || (e = a.errorMessages) != null && e.length ? !1 : a.rules.length ? g.value ? u.value.length || t.value.lazy ? null : !0 : !u.value.length : !0;
|
|
59
|
-
}), b = z(!1), R = i(() => ({
|
|
60
|
-
[`${f}--error`]: s.value === !1,
|
|
61
|
-
[`${f}--dirty`]: V.value,
|
|
62
|
-
[`${f}--disabled`]: l.isDisabled.value,
|
|
63
|
-
[`${f}--readonly`]: l.isReadonly.value
|
|
64
|
-
})), B = q("validation"), y = i(() => a.name ?? O(S));
|
|
65
|
-
P(() => {
|
|
66
|
-
var e;
|
|
67
|
-
(e = l.register) == null || e.call(l, {
|
|
68
|
-
id: y.value,
|
|
69
|
-
vm: B,
|
|
70
|
-
validate: r,
|
|
71
|
-
reset: p,
|
|
72
|
-
resetValidation: w
|
|
73
|
-
});
|
|
74
|
-
}), A(() => {
|
|
75
|
-
var e;
|
|
76
|
-
(e = l.unregister) == null || e.call(l, y.value);
|
|
77
|
-
}), C(async () => {
|
|
78
|
-
var e;
|
|
79
|
-
t.value.lazy || await r(!t.value.eager), (e = l.update) == null || e.call(l, y.value, s.value, m.value);
|
|
80
|
-
}), x(() => t.value.input || t.value.invalidInput && s.value === !1, () => {
|
|
81
|
-
h(d, () => {
|
|
82
|
-
if (d.value != null)
|
|
83
|
-
r();
|
|
84
|
-
else if (a.focused) {
|
|
85
|
-
const e = h(() => a.focused, (n) => {
|
|
86
|
-
n || r(), e();
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
}), x(() => t.value.blur, () => {
|
|
91
|
-
h(() => a.focused, (e) => {
|
|
92
|
-
e || r();
|
|
93
|
-
});
|
|
94
|
-
}), h([s, m], () => {
|
|
95
|
-
var e;
|
|
96
|
-
(e = l.update) == null || e.call(l, y.value, s.value, m.value);
|
|
97
|
-
});
|
|
98
|
-
async function p() {
|
|
99
|
-
c.value = null, await F(), await w();
|
|
100
|
-
}
|
|
101
|
-
async function w() {
|
|
102
|
-
g.value = !0, t.value.lazy ? u.value = [] : await r(!t.value.eager);
|
|
103
|
-
}
|
|
104
|
-
async function r() {
|
|
105
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
106
|
-
const n = [];
|
|
107
|
-
b.value = !0;
|
|
108
|
-
for (const o of I.value) {
|
|
109
|
-
if (n.length >= Number(a.maxErrors ?? 1))
|
|
110
|
-
break;
|
|
111
|
-
const v = await (typeof o == "function" ? o : () => o)(d.value);
|
|
112
|
-
if (v !== !0) {
|
|
113
|
-
if (v !== !1 && typeof v != "string") {
|
|
114
|
-
console.warn(`${v} is not a valid value. Rule functions must return boolean true or a string.`);
|
|
115
|
-
continue;
|
|
116
|
-
}
|
|
117
|
-
n.push(v || "");
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
return u.value = n, b.value = !1, g.value = e, u.value;
|
|
121
|
-
}
|
|
122
|
-
return {
|
|
123
|
-
errorMessages: m,
|
|
124
|
-
isDirty: V,
|
|
125
|
-
isDisabled: l.isDisabled,
|
|
126
|
-
isReadonly: l.isReadonly,
|
|
127
|
-
isPristine: g,
|
|
128
|
-
isValid: s,
|
|
129
|
-
isValidating: b,
|
|
130
|
-
reset: p,
|
|
131
|
-
resetValidation: w,
|
|
132
|
-
validate: r,
|
|
133
|
-
validationClasses: R
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
export {
|
|
137
|
-
_ as makeValidationProps,
|
|
138
|
-
ee as useValidation
|
|
139
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { createElementVNode as n, Fragment as c, normalizeClass as r, toRef as m, toValue as l } from "vue";
|
|
2
|
-
import { useColor as d } from "./color.mjs";
|
|
3
|
-
import { propsFactory as v } from "../util/propsFactory.mjs";
|
|
4
|
-
import { getCurrentInstanceName as f } from "../util/getCurrentInstance.mjs";
|
|
5
|
-
const g = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
|
|
6
|
-
function k(t, e) {
|
|
7
|
-
return n(c, null, [t && n("span", {
|
|
8
|
-
key: "overlay",
|
|
9
|
-
class: r(`${e}__overlay`)
|
|
10
|
-
}, null), n("span", {
|
|
11
|
-
key: "underlay",
|
|
12
|
-
class: r(`${e}__underlay`)
|
|
13
|
-
}, null)]);
|
|
14
|
-
}
|
|
15
|
-
const _ = v({
|
|
16
|
-
color: String,
|
|
17
|
-
variant: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "elevated",
|
|
20
|
-
validator: (t) => g.includes(t)
|
|
21
|
-
}
|
|
22
|
-
}, "variant");
|
|
23
|
-
function $(t) {
|
|
24
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : f();
|
|
25
|
-
const o = m(() => {
|
|
26
|
-
const {
|
|
27
|
-
variant: a
|
|
28
|
-
} = l(t);
|
|
29
|
-
return `${e}--variant-${a}`;
|
|
30
|
-
}), {
|
|
31
|
-
colorClasses: s,
|
|
32
|
-
colorStyles: i
|
|
33
|
-
} = d(() => {
|
|
34
|
-
const {
|
|
35
|
-
variant: a,
|
|
36
|
-
color: u
|
|
37
|
-
} = l(t);
|
|
38
|
-
return {
|
|
39
|
-
[["elevated", "flat"].includes(a) ? "background" : "text"]: u
|
|
40
|
-
};
|
|
41
|
-
});
|
|
42
|
-
return {
|
|
43
|
-
colorClasses: s,
|
|
44
|
-
colorStyles: i,
|
|
45
|
-
variantClasses: o
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
export {
|
|
49
|
-
g as allowedVariants,
|
|
50
|
-
k as genOverlays,
|
|
51
|
-
_ as makeVariantProps,
|
|
52
|
-
$ as useVariant
|
|
53
|
-
};
|