sprintify-ui 0.10.65 → 0.10.67
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/README.md +266 -266
- package/dist/{BaseCkeditor-D6D4FPEb.js → BaseCkeditor-B4PbYw6a.js} +2 -2
- package/dist/sprintify-ui.es.js +4435 -4557
- package/dist/style.css +3 -3
- package/dist/tailwindcss/button.js +260 -260
- package/dist/tailwindcss/index.js +21 -21
- package/dist/tailwindcss/input.js +22 -22
- package/dist/tailwindcss/overlay.js +12 -12
- package/dist/tailwindcss/table.js +91 -91
- package/dist/tailwindcss/theme.js +52 -52
- package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
- package/dist/types/components/BaseActionItem.vue.d.ts +7 -10
- package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
- package/dist/types/components/BaseAlert.vue.d.ts +24 -11
- package/dist/types/components/BaseApp.vue.d.ts +14 -12
- package/dist/types/components/BaseAssign.vue.d.ts +1 -1
- package/dist/types/components/BaseAutocomplete.vue.d.ts +665 -455
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +119 -24
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +1033 -412
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/BaseBadge.vue.d.ts +23 -11
- package/dist/types/components/BaseBelongsTo.vue.d.ts +998 -411
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +754 -371
- package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
- package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
- package/dist/types/components/BaseButton.vue.d.ts +78 -16
- package/dist/types/components/BaseButtonGroup.vue.d.ts +166 -15
- package/dist/types/components/BaseCard.vue.d.ts +26 -12
- package/dist/types/components/BaseCardRow.vue.d.ts +20 -11
- package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseClipboard.vue.d.ts +45 -13
- package/dist/types/components/BaseCollapse.vue.d.ts +41 -20
- package/dist/types/components/BaseContainer.vue.d.ts +16 -11
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCropper.vue.d.ts +55 -30
- package/dist/types/components/BaseDataIterator.vue.d.ts +43 -42
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +15 -12
- package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +19 -10
- package/dist/types/components/BaseDataTable.vue.d.ts +2090 -738
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +576 -100
- package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
- package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
- package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +16 -15
- package/dist/types/components/BaseDialog.vue.d.ts +114 -413
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +55 -13
- package/dist/types/components/BaseDraggable.vue.d.ts +25 -16
- package/dist/types/components/BaseDropdown.vue.d.ts +155 -17
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +131 -16
- package/dist/types/components/BaseField.vue.d.ts +103 -12
- package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
- package/dist/types/components/BaseFilePicker.vue.d.ts +35 -16
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +87 -42
- package/dist/types/components/BaseFileUploader.vue.d.ts +195 -29
- package/dist/types/components/BaseForm.vue.d.ts +161 -20
- package/dist/types/components/BaseGantt.vue.d.ts +1130 -409
- package/dist/types/components/BaseHasMany.vue.d.ts +590 -347
- package/dist/types/components/BaseHasManyFetch.vue.d.ts +602 -251
- package/dist/types/components/BaseHeader.vue.d.ts +1 -1
- package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
- package/dist/types/components/BaseInputError.vue.d.ts +23 -11
- package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +124 -16
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +115 -13
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +69 -22
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +120 -10
- package/dist/types/components/BaseLazy.vue.d.ts +20 -15
- package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +234 -34
- package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMenu.vue.d.ts +233 -30
- package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
- package/dist/types/components/BaseModalCenter.vue.d.ts +88 -12
- package/dist/types/components/BaseModalSide.vue.d.ts +85 -12
- package/dist/types/components/BaseNavbar.vue.d.ts +88 -22
- package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
- package/dist/types/components/BasePagination.vue.d.ts +1 -1
- package/dist/types/components/BaseRadioGroup.vue.d.ts +113 -13
- package/dist/types/components/BaseReadMore.vue.d.ts +31 -12
- package/dist/types/components/BaseRichText.vue.d.ts +1 -1
- package/dist/types/components/BaseSelect.vue.d.ts +149 -12
- package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
- package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -12
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +22 -13
- package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
- package/dist/types/components/BaseStepper.vue.d.ts +1 -1
- package/dist/types/components/BaseSwitch.vue.d.ts +122 -13
- package/dist/types/components/BaseSystemAlert.vue.d.ts +58 -11
- package/dist/types/components/BaseTabItem.vue.d.ts +35 -18
- package/dist/types/components/BaseTable.vue.d.ts +29 -14
- package/dist/types/components/BaseTableBody.vue.d.ts +9 -12
- package/dist/types/components/BaseTableCell.vue.d.ts +40 -15
- package/dist/types/components/BaseTableColumn.vue.d.ts +3 -3
- package/dist/types/components/BaseTableHead.vue.d.ts +14 -12
- package/dist/types/components/BaseTableHeader.vue.d.ts +46 -17
- package/dist/types/components/BaseTableRow.vue.d.ts +40 -13
- package/dist/types/components/BaseTabs.vue.d.ts +21 -15
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +602 -203
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +807 -348
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
- package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
- package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
- package/dist/types/components/BaseToast.vue.d.ts +1 -1
- package/dist/types/components/BaseTooltip.vue.d.ts +41 -15
- package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
- package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
- package/dist/types/stories/PageShow.vue.d.ts +1 -1
- package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
- package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
- package/package.json +135 -135
- package/src/assets/base-cropper.css +61 -61
- package/src/assets/base-date-picker.css +4 -4
- package/src/assets/base-rich-text.css +270 -270
- package/src/assets/base-spinner.css +18 -18
- package/src/assets/base-tabs.css +4 -4
- package/src/assets/base-time-picker.css +9 -9
- package/src/assets/flatpickr.css +247 -247
- package/src/assets/form.css +6 -6
- package/src/assets/google-pac.css +25 -25
- package/src/assets/main.css +56 -56
- package/src/assets/tailwind.css +2 -2
- package/src/changelog.mdx +6 -6
- package/src/components/BaseActionButtons.vue +76 -76
- package/src/components/BaseActionItem.vue +80 -80
- package/src/components/BaseActionItemButton.vue +75 -75
- package/src/components/BaseAddressForm.stories.js +114 -114
- package/src/components/BaseAddressForm.vue +382 -382
- package/src/components/BaseAlert.stories.js +75 -75
- package/src/components/BaseAlert.vue +101 -101
- package/src/components/BaseApp.vue +16 -16
- package/src/components/BaseAppDialogs.vue +126 -126
- package/src/components/BaseAppSnackbars.vue +40 -40
- package/src/components/BaseAssign.mdx +98 -98
- package/src/components/BaseAssign.stories.js +78 -78
- package/src/components/BaseAssign.vue +366 -366
- package/src/components/BaseAutocomplete.stories.js +243 -243
- package/src/components/BaseAutocomplete.vue +603 -603
- package/src/components/BaseAutocompleteDrawer.vue +386 -386
- package/src/components/BaseAutocompleteFetch.stories.js +224 -224
- package/src/components/BaseAutocompleteFetch.vue +314 -314
- package/src/components/BaseAvatar.stories.js +39 -39
- package/src/components/BaseAvatar.vue +164 -164
- package/src/components/BaseAvatarGroup.stories.js +71 -71
- package/src/components/BaseAvatarGroup.vue +148 -148
- package/src/components/BaseBadge.stories.js +132 -130
- package/src/components/BaseBadge.vue +118 -97
- package/src/components/BaseBelongsTo.stories.js +220 -220
- package/src/components/BaseBelongsTo.vue +164 -164
- package/src/components/BaseBelongsToFetch.stories.js +223 -223
- package/src/components/BaseBelongsToFetch.vue +213 -213
- package/src/components/BaseBoolean.stories.js +35 -35
- package/src/components/BaseBoolean.vue +26 -26
- package/src/components/BaseBreadcrumbs.stories.js +50 -50
- package/src/components/BaseBreadcrumbs.vue +109 -109
- package/src/components/BaseButton.stories.js +126 -126
- package/src/components/BaseButton.vue +279 -279
- package/src/components/BaseButtonGroup.stories.js +114 -114
- package/src/components/BaseButtonGroup.vue +193 -193
- package/src/components/BaseCard.stories.js +63 -63
- package/src/components/BaseCard.vue +49 -49
- package/src/components/BaseCardRow.vue +53 -53
- package/src/components/BaseCharacterCounter.stories.js +30 -30
- package/src/components/BaseCharacterCounter.vue +64 -64
- package/src/components/BaseCkeditor.vue +154 -154
- package/src/components/BaseClipboard.stories.js +55 -55
- package/src/components/BaseClipboard.vue +105 -105
- package/src/components/BaseCollapse.stories.js +168 -168
- package/src/components/BaseCollapse.vue +98 -98
- package/src/components/BaseColor.stories.js +66 -66
- package/src/components/BaseColor.vue +155 -155
- package/src/components/BaseContainer.stories.js +34 -34
- package/src/components/BaseContainer.vue +64 -64
- package/src/components/BaseCounter.stories.js +47 -47
- package/src/components/BaseCounter.vue +83 -83
- package/src/components/BaseCropper.stories.js +113 -113
- package/src/components/BaseCropper.vue +390 -390
- package/src/components/BaseCropperModal.stories.js +54 -54
- package/src/components/BaseCropperModal.vue +143 -143
- package/src/components/BaseDataIterator.stories.js +292 -292
- package/src/components/BaseDataIterator.vue +986 -986
- package/src/components/BaseDataIteratorSectionBox.vue +36 -36
- package/src/components/BaseDataIteratorSectionButton.vue +42 -42
- package/src/components/BaseDataIteratorSectionColumns.vue +150 -150
- package/src/components/BaseDataIteratorSectionModal.vue +41 -41
- package/src/components/BaseDataTable.stories.js +393 -393
- package/src/components/BaseDataTable.vue +966 -966
- package/src/components/BaseDataTableRowAction.vue +70 -70
- package/src/components/BaseDataTableTemplate.vue +831 -838
- package/src/components/BaseDatePicker.stories.js +166 -166
- package/src/components/BaseDatePicker.vue +372 -372
- package/src/components/BaseDateSelect.stories.js +68 -68
- package/src/components/BaseDateSelect.vue +222 -222
- package/src/components/BaseDescriptionList.stories.js +35 -35
- package/src/components/BaseDescriptionList.vue +13 -13
- package/src/components/BaseDescriptionListItem.vue +47 -47
- package/src/components/BaseDialog.stories.js +95 -95
- package/src/components/BaseDialog.vue +221 -221
- package/src/components/BaseDisplayRelativeTime.stories.js +47 -47
- package/src/components/BaseDisplayRelativeTime.vue +126 -126
- package/src/components/BaseDraggable.stories.js +34 -34
- package/src/components/BaseDraggable.vue +111 -111
- package/src/components/BaseDropdown.stories.js +164 -164
- package/src/components/BaseDropdown.vue +74 -74
- package/src/components/BaseDropdownAutocomplete.stories.js +208 -208
- package/src/components/BaseDropdownAutocomplete.vue +203 -203
- package/src/components/BaseField.vue +151 -151
- package/src/components/BaseFieldI18n.stories.js +37 -37
- package/src/components/BaseFieldI18n.vue +170 -170
- package/src/components/BaseFilePicker.stories.js +84 -84
- package/src/components/BaseFilePicker.vue +163 -163
- package/src/components/BaseFilePickerCrop.stories.js +135 -135
- package/src/components/BaseFilePickerCrop.vue +130 -130
- package/src/components/BaseFileUploader.stories.js +101 -101
- package/src/components/BaseFileUploader.vue +185 -185
- package/src/components/BaseForm.mdx +87 -87
- package/src/components/BaseForm.stories.js +133 -133
- package/src/components/BaseForm.vue +372 -372
- package/src/components/BaseGantt.stories.js +145 -145
- package/src/components/BaseGantt.vue +384 -384
- package/src/components/BaseHasMany.stories.js +211 -211
- package/src/components/BaseHasMany.vue +135 -135
- package/src/components/BaseHasManyFetch.stories.js +278 -278
- package/src/components/BaseHasManyFetch.vue +222 -222
- package/src/components/BaseHeader.stories.js +137 -137
- package/src/components/BaseHeader.vue +141 -141
- package/src/components/BaseIconPicker.stories.js +22 -22
- package/src/components/BaseIconPicker.vue +225 -225
- package/src/components/BaseInput.stories.js +202 -202
- package/src/components/BaseInput.vue +402 -402
- package/src/components/BaseInputError.vue +39 -39
- package/src/components/BaseInputLabel.stories.js +36 -36
- package/src/components/BaseInputLabel.vue +83 -83
- package/src/components/BaseInputPercent.stories.js +66 -66
- package/src/components/BaseInputPercent.vue +139 -139
- package/src/components/BaseJsonReader.stories.js +120 -120
- package/src/components/BaseJsonReader.vue +51 -51
- package/src/components/BaseJsonReaderItem.vue +119 -119
- package/src/components/BaseLayoutNotificationDropdown.vue +153 -153
- package/src/components/BaseLayoutNotificationItem.vue +53 -53
- package/src/components/BaseLayoutNotificationItemContent.vue +41 -41
- package/src/components/BaseLayoutSidebar.vue +300 -300
- package/src/components/BaseLayoutSidebarConfigurable.stories.js +217 -217
- package/src/components/BaseLayoutSidebarConfigurable.vue +202 -202
- package/src/components/BaseLayoutStacked.vue +78 -78
- package/src/components/BaseLayoutStackedConfigurable.stories.js +181 -181
- package/src/components/BaseLayoutStackedConfigurable.vue +196 -196
- package/src/components/BaseLazy.stories.js +59 -59
- package/src/components/BaseLazy.vue +80 -80
- package/src/components/BaseLoadingCover.stories.js +55 -55
- package/src/components/BaseLoadingCover.vue +101 -101
- package/src/components/BaseMediaGallery.vue +96 -96
- package/src/components/BaseMediaGalleryItem.vue +101 -101
- package/src/components/BaseMediaItem.stories.js +41 -41
- package/src/components/BaseMediaItem.vue +80 -80
- package/src/components/BaseMediaLibrary.stories.js +267 -267
- package/src/components/BaseMediaLibrary.vue +357 -357
- package/src/components/BaseMediaList.vue +67 -67
- package/src/components/BaseMediaListItem.vue +213 -213
- package/src/components/BaseMediaPictures.vue +64 -64
- package/src/components/BaseMediaPicturesItem.vue +100 -100
- package/src/components/BaseMediaPreview.stories.js +72 -72
- package/src/components/BaseMediaPreview.vue +106 -106
- package/src/components/BaseMenu.stories.js +134 -134
- package/src/components/BaseMenu.vue +187 -187
- package/src/components/BaseMenuItem.vue +177 -177
- package/src/components/BaseModalCenter.stories.js +68 -68
- package/src/components/BaseModalCenter.vue +128 -128
- package/src/components/BaseModalSide.stories.js +61 -61
- package/src/components/BaseModalSide.vue +130 -130
- package/src/components/BaseNavbar.stories.js +152 -152
- package/src/components/BaseNavbar.vue +191 -191
- package/src/components/BaseNavbarItem.vue +108 -108
- package/src/components/BaseNavbarItemContent.vue +124 -124
- package/src/components/BaseNavbarSideItem.vue +187 -187
- package/src/components/BaseNavbarSideItemContent.vue +126 -126
- package/src/components/BasePagination.stories.js +35 -35
- package/src/components/BasePagination.vue +266 -266
- package/src/components/BasePanel.stories.js +56 -56
- package/src/components/BasePanel.vue +42 -42
- package/src/components/BasePassword.stories.js +80 -80
- package/src/components/BasePassword.vue +87 -87
- package/src/components/BaseProgressCircle.stories.js +27 -27
- package/src/components/BaseProgressCircle.vue +80 -80
- package/src/components/BaseRadioGroup.stories.js +87 -87
- package/src/components/BaseRadioGroup.vue +124 -124
- package/src/components/BaseReadMore.stories.js +30 -30
- package/src/components/BaseReadMore.vue +73 -73
- package/src/components/BaseRichText.stories.js +90 -90
- package/src/components/BaseRichText.vue +87 -87
- package/src/components/BaseScrollColumn.vue +128 -128
- package/src/components/BaseSelect.stories.js +151 -151
- package/src/components/BaseSelect.vue +241 -241
- package/src/components/BaseShortcut.stories.js +100 -100
- package/src/components/BaseShortcut.vue +114 -114
- package/src/components/BaseSideNavigation.stories.js +85 -85
- package/src/components/BaseSideNavigation.vue +32 -32
- package/src/components/BaseSideNavigationItem.vue +99 -99
- package/src/components/BaseSkeleton.stories.js +36 -36
- package/src/components/BaseSkeleton.vue +40 -40
- package/src/components/BaseStatistic.stories.js +51 -51
- package/src/components/BaseStatistic.vue +98 -98
- package/src/components/BaseStepper.stories.js +94 -94
- package/src/components/BaseStepper.vue +72 -72
- package/src/components/BaseStepperItem.stories.js +65 -65
- package/src/components/BaseStepperItem.vue +149 -149
- package/src/components/BaseSwitch.stories.js +133 -133
- package/src/components/BaseSwitch.vue +228 -226
- package/src/components/BaseSystemAlert.stories.js +63 -63
- package/src/components/BaseSystemAlert.vue +89 -89
- package/src/components/BaseTabItem.vue +192 -192
- package/src/components/BaseTable.stories.js +214 -214
- package/src/components/BaseTable.vue +111 -111
- package/src/components/BaseTableBody.vue +14 -14
- package/src/components/BaseTableCell.vue +204 -204
- package/src/components/BaseTableColumn.vue +140 -140
- package/src/components/BaseTableHead.vue +38 -38
- package/src/components/BaseTableHeader.vue +139 -139
- package/src/components/BaseTableRow.vue +197 -197
- package/src/components/BaseTabs.stories.js +165 -165
- package/src/components/BaseTabs.vue +203 -203
- package/src/components/BaseTagAutocomplete.stories.js +271 -271
- package/src/components/BaseTagAutocomplete.vue +565 -565
- package/src/components/BaseTagAutocompleteFetch.stories.js +211 -211
- package/src/components/BaseTagAutocompleteFetch.vue +237 -237
- package/src/components/BaseTextarea.stories.js +81 -81
- package/src/components/BaseTextarea.vue +138 -138
- package/src/components/BaseTextareaAutoresize.stories.js +125 -125
- package/src/components/BaseTextareaAutoresize.vue +187 -187
- package/src/components/BaseTimePicker.stories.js +68 -68
- package/src/components/BaseTimePicker.vue +379 -379
- package/src/components/BaseTimeline.stories.js +55 -55
- package/src/components/BaseTimeline.vue +38 -38
- package/src/components/BaseTimelineItem.stories.js +77 -77
- package/src/components/BaseTimelineItem.vue +90 -90
- package/src/components/BaseToast.stories.js +50 -50
- package/src/components/BaseToast.vue +43 -43
- package/src/components/BaseTooltip.stories.js +65 -65
- package/src/components/BaseTooltip.vue +93 -93
- package/src/components/BaseUniqueCode.stories.js +36 -36
- package/src/components/BaseUniqueCode.vue +183 -183
- package/src/components/SlotComponent.ts +37 -37
- package/src/components/index.ts +222 -222
- package/src/composables/breakpoints.ts +94 -94
- package/src/composables/clickOutside.ts +80 -80
- package/src/composables/field.ts +156 -156
- package/src/composables/hasOptions.ts +86 -86
- package/src/composables/inputSize.ts +35 -35
- package/src/composables/isLastColumn.ts +30 -30
- package/src/composables/mediaQuery.ts +42 -42
- package/src/composables/modal.ts +73 -73
- package/src/composables/paginatedData.ts +76 -76
- package/src/composables/tooltip.ts +84 -84
- package/src/constants/MyConstants.ts +1 -1
- package/src/constants/index.ts +5 -5
- package/src/env.d.ts +15 -15
- package/src/i18n/index.ts +60 -60
- package/src/index.ts +138 -138
- package/src/lang/en.json +101 -101
- package/src/lang/fr.json +101 -101
- package/src/services/gantt/format.ts +133 -133
- package/src/services/gantt/timescale.ts +250 -250
- package/src/services/gantt/types.ts +81 -81
- package/src/services/table/classes.ts +37 -37
- package/src/services/table/customKeyActions.ts +2 -2
- package/src/services/table/types.ts +27 -27
- package/src/stores/dialogs.ts +48 -48
- package/src/stores/i18n.ts +14 -14
- package/src/stores/snackbars.ts +47 -47
- package/src/stores/systemAlerts.ts +32 -32
- package/src/stories/InputSizes.stories.js +21 -21
- package/src/stories/List.stories.js +136 -136
- package/src/stories/PageInputSizes.vue +228 -228
- package/src/stories/PageShow.vue +423 -423
- package/src/stories/Show.stories.js +21 -21
- package/src/svg/BaseEmptyState.vue +38 -38
- package/src/svg/BaseSpinnerLarge.vue +40 -40
- package/src/svg/BaseSpinnerSmall.vue +13 -13
- package/src/types/Color.ts +9 -9
- package/src/types/Country.ts +4 -4
- package/src/types/ImagePickerResult.ts +5 -5
- package/src/types/Media.ts +10 -10
- package/src/types/Notification.ts +11 -11
- package/src/types/Region.ts +5 -5
- package/src/types/Status.ts +5 -5
- package/src/types/StepperItem.ts +8 -8
- package/src/types/ToolbarOption.ts +1 -1
- package/src/types/UploadedFile.ts +11 -11
- package/src/types/User.ts +7 -7
- package/src/types/index.ts +302 -302
- package/src/utils/blob.ts +30 -30
- package/src/utils/colors.ts +239 -239
- package/src/utils/cropper/avatar.ts +33 -33
- package/src/utils/cropper/cover.ts +41 -41
- package/src/utils/cropper/presetInterface.ts +16 -16
- package/src/utils/cropper/presets.ts +7 -7
- package/src/utils/deepIncludes.ts +76 -76
- package/src/utils/fileSizeFormat.ts +15 -15
- package/src/utils/fileValidations.ts +26 -26
- package/src/utils/getApiData.ts +11 -11
- package/src/utils/index.ts +18 -18
- package/src/utils/resizeImageFromURI.ts +118 -118
- package/src/utils/scrollPreventer.ts +11 -11
- package/src/utils/sizeBehaviors.ts +3 -3
- package/src/utils/sizes.ts +38 -38
- package/src/utils/slots.ts +12 -12
- package/src/utils/storage.ts +36 -36
- package/src/utils/toHumanList.ts +20 -20
- package/src/utils/uuid.ts +7 -7
|
@@ -1,15 +1,210 @@
|
|
|
1
1
|
import { RawOption } from '@/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
+
import BaseTagAutocomplete from './BaseTagAutocomplete.vue';
|
|
3
4
|
import { Size } from '@/utils/sizes';
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
declare const tagAutocompleteFetch: import("vue").Ref<({
|
|
6
|
+
$: import("vue").ComponentInternalInstance;
|
|
7
|
+
$data: {};
|
|
8
|
+
$props: Partial<{
|
|
9
|
+
required: boolean;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
hasError: boolean;
|
|
13
|
+
max: number;
|
|
14
|
+
focusOnMount: boolean;
|
|
15
|
+
queryKey: string;
|
|
16
|
+
}> & Omit<{
|
|
17
|
+
readonly required: boolean;
|
|
18
|
+
readonly disabled: boolean;
|
|
19
|
+
readonly modelValue: RawOption[] | null;
|
|
20
|
+
readonly hasError: boolean;
|
|
21
|
+
readonly url: string;
|
|
22
|
+
readonly labelKey: string | ((option: RawOption) => string);
|
|
23
|
+
readonly valueKey: string | ((option: RawOption) => string);
|
|
24
|
+
readonly focusOnMount: boolean;
|
|
25
|
+
readonly queryKey: string;
|
|
26
|
+
readonly placeholder?: string | undefined;
|
|
27
|
+
readonly max?: number | undefined;
|
|
28
|
+
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey">;
|
|
33
|
+
$attrs: {
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
};
|
|
36
|
+
$refs: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
};
|
|
39
|
+
$slots: Readonly<{
|
|
40
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
43
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
44
|
+
$host: Element | null;
|
|
45
|
+
$emit: ((event: "focus", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
|
|
46
|
+
$el: any;
|
|
47
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
modelValue: {
|
|
49
|
+
required: true;
|
|
50
|
+
type: PropType<RawOption[] | null>;
|
|
51
|
+
};
|
|
52
|
+
url: {
|
|
53
|
+
required: true;
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
};
|
|
56
|
+
labelKey: {
|
|
57
|
+
required: true;
|
|
58
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
59
|
+
};
|
|
60
|
+
valueKey: {
|
|
61
|
+
required: true;
|
|
62
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
63
|
+
};
|
|
64
|
+
placeholder: {
|
|
65
|
+
default: undefined;
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
};
|
|
68
|
+
required: {
|
|
69
|
+
default: boolean;
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
};
|
|
72
|
+
disabled: {
|
|
73
|
+
default: boolean;
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
};
|
|
76
|
+
max: {
|
|
77
|
+
default: undefined;
|
|
78
|
+
type: NumberConstructor;
|
|
79
|
+
};
|
|
80
|
+
queryKey: {
|
|
81
|
+
default: string;
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
};
|
|
84
|
+
hasError: {
|
|
85
|
+
default: boolean;
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
};
|
|
88
|
+
focusOnMount: {
|
|
89
|
+
default: boolean;
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
};
|
|
92
|
+
}>> & Readonly<{
|
|
93
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
onTyping?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
}>, {
|
|
98
|
+
focus: () => void | undefined;
|
|
99
|
+
blur: () => void | undefined;
|
|
100
|
+
open: () => void | undefined;
|
|
101
|
+
close: () => void | undefined;
|
|
102
|
+
setKeywords: (input: string) => void | undefined;
|
|
103
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
104
|
+
focus: (...args: any[]) => void;
|
|
105
|
+
"update:modelValue": (...args: any[]) => void;
|
|
106
|
+
scrollBottom: (...args: any[]) => void;
|
|
107
|
+
typing: (...args: any[]) => void;
|
|
108
|
+
}, string, {
|
|
109
|
+
required: boolean;
|
|
110
|
+
disabled: boolean;
|
|
111
|
+
placeholder: string;
|
|
112
|
+
hasError: boolean;
|
|
113
|
+
max: number;
|
|
114
|
+
focusOnMount: boolean;
|
|
115
|
+
queryKey: string;
|
|
116
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
117
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
118
|
+
created?: (() => void) | (() => void)[];
|
|
119
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
120
|
+
mounted?: (() => void) | (() => void)[];
|
|
121
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
122
|
+
updated?: (() => void) | (() => void)[];
|
|
123
|
+
activated?: (() => void) | (() => void)[];
|
|
124
|
+
deactivated?: (() => void) | (() => void)[];
|
|
125
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
126
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
127
|
+
destroyed?: (() => void) | (() => void)[];
|
|
128
|
+
unmounted?: (() => void) | (() => void)[];
|
|
129
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
130
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
131
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
132
|
+
};
|
|
133
|
+
$forceUpdate: () => void;
|
|
134
|
+
$nextTick: typeof import("vue").nextTick;
|
|
135
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
136
|
+
} & Readonly<{
|
|
137
|
+
required: boolean;
|
|
138
|
+
disabled: boolean;
|
|
139
|
+
placeholder: string;
|
|
140
|
+
hasError: boolean;
|
|
141
|
+
max: number;
|
|
142
|
+
focusOnMount: boolean;
|
|
143
|
+
queryKey: string;
|
|
144
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
145
|
+
modelValue: {
|
|
146
|
+
required: true;
|
|
147
|
+
type: PropType<RawOption[] | null>;
|
|
148
|
+
};
|
|
149
|
+
url: {
|
|
150
|
+
required: true;
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
};
|
|
153
|
+
labelKey: {
|
|
154
|
+
required: true;
|
|
155
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
156
|
+
};
|
|
157
|
+
valueKey: {
|
|
158
|
+
required: true;
|
|
159
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
160
|
+
};
|
|
161
|
+
placeholder: {
|
|
162
|
+
default: undefined;
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
};
|
|
165
|
+
required: {
|
|
166
|
+
default: boolean;
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
};
|
|
169
|
+
disabled: {
|
|
170
|
+
default: boolean;
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
};
|
|
173
|
+
max: {
|
|
174
|
+
default: undefined;
|
|
175
|
+
type: NumberConstructor;
|
|
176
|
+
};
|
|
177
|
+
queryKey: {
|
|
178
|
+
default: string;
|
|
179
|
+
type: StringConstructor;
|
|
180
|
+
};
|
|
181
|
+
hasError: {
|
|
182
|
+
default: boolean;
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
};
|
|
185
|
+
focusOnMount: {
|
|
186
|
+
default: boolean;
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
};
|
|
189
|
+
}>> & Readonly<{
|
|
190
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
193
|
+
onTyping?: ((...args: any[]) => any) | undefined;
|
|
194
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey")> & import("vue").ShallowUnwrapRef<{
|
|
195
|
+
focus: () => void | undefined;
|
|
196
|
+
blur: () => void | undefined;
|
|
197
|
+
open: () => void | undefined;
|
|
198
|
+
close: () => void | undefined;
|
|
199
|
+
setKeywords: (input: string) => void | undefined;
|
|
200
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
201
|
+
$slots: {
|
|
202
|
+
items?: ((props: {
|
|
8
203
|
items: import("@/types").NormalizedOption[];
|
|
9
204
|
removeOption: (option: import("@/types").NormalizedOption) => void;
|
|
10
205
|
disabled: boolean;
|
|
11
|
-
})
|
|
12
|
-
option
|
|
206
|
+
}) => any) | undefined;
|
|
207
|
+
option?: ((props: {
|
|
13
208
|
focus: () => void;
|
|
14
209
|
blur: () => void;
|
|
15
210
|
open: () => void;
|
|
@@ -20,359 +215,407 @@ declare function __VLS_template(): {
|
|
|
20
215
|
label: string;
|
|
21
216
|
selected: boolean;
|
|
22
217
|
active: boolean;
|
|
23
|
-
})
|
|
24
|
-
|
|
218
|
+
}) => any) | undefined;
|
|
219
|
+
footer?: ((props: {
|
|
220
|
+
keywords: string;
|
|
25
221
|
focus: () => void;
|
|
26
222
|
blur: () => void;
|
|
27
223
|
open: () => void;
|
|
28
224
|
close: () => void;
|
|
29
|
-
|
|
30
|
-
})
|
|
31
|
-
|
|
225
|
+
options: import("@/types").NormalizedOption[];
|
|
226
|
+
}) => any) | undefined;
|
|
227
|
+
empty?: ((props: {
|
|
228
|
+
firstSearch: boolean;
|
|
32
229
|
focus: () => void;
|
|
33
230
|
blur: () => void;
|
|
34
231
|
open: () => void;
|
|
35
232
|
close: () => void;
|
|
36
233
|
keywords: import("vue").ComputedRef<string>;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
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
|
-
|
|
234
|
+
}) => any) | undefined;
|
|
235
|
+
};
|
|
236
|
+
}) | null, ({
|
|
237
|
+
$: import("vue").ComponentInternalInstance;
|
|
238
|
+
$data: {};
|
|
239
|
+
$props: Partial<{
|
|
240
|
+
required: boolean;
|
|
241
|
+
disabled: boolean;
|
|
242
|
+
placeholder: string;
|
|
243
|
+
hasError: boolean;
|
|
244
|
+
max: number;
|
|
245
|
+
focusOnMount: boolean;
|
|
246
|
+
queryKey: string;
|
|
247
|
+
}> & Omit<{
|
|
248
|
+
readonly required: boolean;
|
|
249
|
+
readonly disabled: boolean;
|
|
250
|
+
readonly modelValue: RawOption[] | null;
|
|
251
|
+
readonly hasError: boolean;
|
|
252
|
+
readonly url: string;
|
|
253
|
+
readonly labelKey: string | ((option: RawOption) => string);
|
|
254
|
+
readonly valueKey: string | ((option: RawOption) => string);
|
|
255
|
+
readonly focusOnMount: boolean;
|
|
256
|
+
readonly queryKey: string;
|
|
257
|
+
readonly placeholder?: string | undefined;
|
|
258
|
+
readonly max?: number | undefined;
|
|
259
|
+
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
260
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
261
|
+
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
262
|
+
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
263
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey">;
|
|
264
|
+
$attrs: {
|
|
265
|
+
[x: string]: unknown;
|
|
266
|
+
};
|
|
267
|
+
$refs: {
|
|
268
|
+
[x: string]: unknown;
|
|
269
|
+
};
|
|
270
|
+
$slots: Readonly<{
|
|
271
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
272
|
+
}>;
|
|
273
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
274
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
275
|
+
$host: Element | null;
|
|
276
|
+
$emit: ((event: "focus", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
|
|
277
|
+
$el: any;
|
|
278
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
279
|
+
modelValue: {
|
|
280
|
+
required: true;
|
|
281
|
+
type: PropType<RawOption[] | null>;
|
|
282
|
+
};
|
|
283
|
+
url: {
|
|
284
|
+
required: true;
|
|
285
|
+
type: StringConstructor;
|
|
286
|
+
};
|
|
287
|
+
labelKey: {
|
|
288
|
+
required: true;
|
|
289
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
290
|
+
};
|
|
291
|
+
valueKey: {
|
|
292
|
+
required: true;
|
|
293
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
294
|
+
};
|
|
295
|
+
placeholder: {
|
|
296
|
+
default: undefined;
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
};
|
|
299
|
+
required: {
|
|
300
|
+
default: boolean;
|
|
301
|
+
type: BooleanConstructor;
|
|
302
|
+
};
|
|
303
|
+
disabled: {
|
|
304
|
+
default: boolean;
|
|
305
|
+
type: BooleanConstructor;
|
|
306
|
+
};
|
|
307
|
+
max: {
|
|
308
|
+
default: undefined;
|
|
309
|
+
type: NumberConstructor;
|
|
310
|
+
};
|
|
311
|
+
queryKey: {
|
|
312
|
+
default: string;
|
|
313
|
+
type: StringConstructor;
|
|
314
|
+
};
|
|
315
|
+
hasError: {
|
|
316
|
+
default: boolean;
|
|
317
|
+
type: BooleanConstructor;
|
|
318
|
+
};
|
|
319
|
+
focusOnMount: {
|
|
320
|
+
default: boolean;
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
};
|
|
323
|
+
}>> & Readonly<{
|
|
324
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
325
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
326
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
327
|
+
onTyping?: ((...args: any[]) => any) | undefined;
|
|
328
|
+
}>, {
|
|
329
|
+
focus: () => void | undefined;
|
|
330
|
+
blur: () => void | undefined;
|
|
331
|
+
open: () => void | undefined;
|
|
332
|
+
close: () => void | undefined;
|
|
333
|
+
setKeywords: (input: string) => void | undefined;
|
|
334
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
335
|
+
focus: (...args: any[]) => void;
|
|
336
|
+
"update:modelValue": (...args: any[]) => void;
|
|
337
|
+
scrollBottom: (...args: any[]) => void;
|
|
338
|
+
typing: (...args: any[]) => void;
|
|
339
|
+
}, string, {
|
|
340
|
+
required: boolean;
|
|
341
|
+
disabled: boolean;
|
|
342
|
+
placeholder: string;
|
|
343
|
+
hasError: boolean;
|
|
344
|
+
max: number;
|
|
345
|
+
focusOnMount: boolean;
|
|
346
|
+
queryKey: string;
|
|
347
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
348
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
349
|
+
created?: (() => void) | (() => void)[];
|
|
350
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
351
|
+
mounted?: (() => void) | (() => void)[];
|
|
352
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
353
|
+
updated?: (() => void) | (() => void)[];
|
|
354
|
+
activated?: (() => void) | (() => void)[];
|
|
355
|
+
deactivated?: (() => void) | (() => void)[];
|
|
356
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
357
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
358
|
+
destroyed?: (() => void) | (() => void)[];
|
|
359
|
+
unmounted?: (() => void) | (() => void)[];
|
|
360
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
361
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
362
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
363
|
+
};
|
|
364
|
+
$forceUpdate: () => void;
|
|
365
|
+
$nextTick: typeof import("vue").nextTick;
|
|
366
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
367
|
+
} & Readonly<{
|
|
368
|
+
required: boolean;
|
|
369
|
+
disabled: boolean;
|
|
370
|
+
placeholder: string;
|
|
371
|
+
hasError: boolean;
|
|
372
|
+
max: number;
|
|
373
|
+
focusOnMount: boolean;
|
|
374
|
+
queryKey: string;
|
|
375
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
376
|
+
modelValue: {
|
|
377
|
+
required: true;
|
|
378
|
+
type: PropType<RawOption[] | null>;
|
|
379
|
+
};
|
|
380
|
+
url: {
|
|
381
|
+
required: true;
|
|
382
|
+
type: StringConstructor;
|
|
383
|
+
};
|
|
384
|
+
labelKey: {
|
|
385
|
+
required: true;
|
|
386
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
387
|
+
};
|
|
388
|
+
valueKey: {
|
|
389
|
+
required: true;
|
|
390
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
391
|
+
};
|
|
392
|
+
placeholder: {
|
|
393
|
+
default: undefined;
|
|
394
|
+
type: StringConstructor;
|
|
395
|
+
};
|
|
396
|
+
required: {
|
|
397
|
+
default: boolean;
|
|
398
|
+
type: BooleanConstructor;
|
|
399
|
+
};
|
|
400
|
+
disabled: {
|
|
401
|
+
default: boolean;
|
|
402
|
+
type: BooleanConstructor;
|
|
403
|
+
};
|
|
404
|
+
max: {
|
|
405
|
+
default: undefined;
|
|
406
|
+
type: NumberConstructor;
|
|
407
|
+
};
|
|
408
|
+
queryKey: {
|
|
409
|
+
default: string;
|
|
410
|
+
type: StringConstructor;
|
|
411
|
+
};
|
|
412
|
+
hasError: {
|
|
413
|
+
default: boolean;
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
};
|
|
416
|
+
focusOnMount: {
|
|
417
|
+
default: boolean;
|
|
418
|
+
type: BooleanConstructor;
|
|
419
|
+
};
|
|
420
|
+
}>> & Readonly<{
|
|
421
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
422
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
423
|
+
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
424
|
+
onTyping?: ((...args: any[]) => any) | undefined;
|
|
425
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey")> & import("vue").ShallowUnwrapRef<{
|
|
426
|
+
focus: () => void | undefined;
|
|
427
|
+
blur: () => void | undefined;
|
|
428
|
+
open: () => void | undefined;
|
|
429
|
+
close: () => void | undefined;
|
|
430
|
+
setKeywords: (input: string) => void | undefined;
|
|
431
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
432
|
+
$slots: {
|
|
433
|
+
items?: ((props: {
|
|
434
|
+
items: import("@/types").NormalizedOption[];
|
|
435
|
+
removeOption: (option: import("@/types").NormalizedOption) => void;
|
|
236
436
|
disabled: boolean;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
options: {
|
|
253
|
-
required: true;
|
|
254
|
-
type: PropType<RawOption[]>;
|
|
255
|
-
};
|
|
256
|
-
labelKey: {
|
|
257
|
-
required: true;
|
|
258
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
259
|
-
};
|
|
260
|
-
valueKey: {
|
|
261
|
-
required: true;
|
|
262
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
263
|
-
};
|
|
264
|
-
name: {
|
|
265
|
-
default: undefined;
|
|
266
|
-
type: StringConstructor;
|
|
267
|
-
};
|
|
268
|
-
placeholder: {
|
|
269
|
-
default: undefined;
|
|
270
|
-
type: StringConstructor;
|
|
271
|
-
};
|
|
272
|
-
loading: {
|
|
273
|
-
default: boolean;
|
|
274
|
-
type: BooleanConstructor;
|
|
275
|
-
};
|
|
276
|
-
loadingBottom: {
|
|
277
|
-
default: boolean;
|
|
278
|
-
type: BooleanConstructor;
|
|
279
|
-
};
|
|
280
|
-
required: {
|
|
281
|
-
default: undefined;
|
|
282
|
-
type: BooleanConstructor;
|
|
283
|
-
};
|
|
284
|
-
disabled: {
|
|
285
|
-
default: boolean;
|
|
286
|
-
type: BooleanConstructor;
|
|
287
|
-
};
|
|
288
|
-
max: {
|
|
289
|
-
default: undefined;
|
|
290
|
-
type: NumberConstructor;
|
|
291
|
-
};
|
|
292
|
-
filter: {
|
|
293
|
-
default: undefined;
|
|
294
|
-
type: PropType<(option: import("@/types").NormalizedOption) => boolean>;
|
|
295
|
-
};
|
|
296
|
-
hasError: {
|
|
297
|
-
default: boolean;
|
|
298
|
-
type: BooleanConstructor;
|
|
299
|
-
};
|
|
300
|
-
inline: {
|
|
301
|
-
default: boolean;
|
|
302
|
-
type: BooleanConstructor;
|
|
303
|
-
};
|
|
304
|
-
size: {
|
|
305
|
-
default: undefined;
|
|
306
|
-
type: PropType<Size>;
|
|
307
|
-
};
|
|
308
|
-
dropdownShow: {
|
|
309
|
-
default: string;
|
|
310
|
-
type: PropType<"focus" | "always">;
|
|
311
|
-
};
|
|
312
|
-
focusOnMount: {
|
|
313
|
-
default: boolean;
|
|
314
|
-
type: BooleanConstructor;
|
|
315
|
-
};
|
|
316
|
-
twContainer: {
|
|
317
|
-
default: string;
|
|
318
|
-
type: PropType<string | string[]>;
|
|
319
|
-
};
|
|
320
|
-
visibleFocus: {
|
|
321
|
-
default: boolean;
|
|
322
|
-
type: BooleanConstructor;
|
|
323
|
-
};
|
|
324
|
-
}>> & Readonly<{
|
|
325
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
326
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
327
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
328
|
-
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
329
|
-
onTyping?: ((...args: any[]) => any) | undefined;
|
|
330
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "size" | "required" | "inline" | "disabled" | "name" | "placeholder" | "hasError" | "max" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "focusOnMount" | "twContainer")> & import("vue").ShallowUnwrapRef<{
|
|
437
|
+
}) => any) | undefined;
|
|
438
|
+
option?: ((props: {
|
|
439
|
+
focus: () => void;
|
|
440
|
+
blur: () => void;
|
|
441
|
+
open: () => void;
|
|
442
|
+
close: () => void;
|
|
443
|
+
keywords: import("vue").ComputedRef<string>;
|
|
444
|
+
option: RawOption | null;
|
|
445
|
+
value: import("@/types").OptionValue;
|
|
446
|
+
label: string;
|
|
447
|
+
selected: boolean;
|
|
448
|
+
active: boolean;
|
|
449
|
+
}) => any) | undefined;
|
|
450
|
+
footer?: ((props: {
|
|
451
|
+
keywords: string;
|
|
331
452
|
focus: () => void;
|
|
332
453
|
blur: () => void;
|
|
454
|
+
open: () => void;
|
|
333
455
|
close: () => void;
|
|
456
|
+
options: import("@/types").NormalizedOption[];
|
|
457
|
+
}) => any) | undefined;
|
|
458
|
+
empty?: ((props: {
|
|
459
|
+
firstSearch: boolean;
|
|
460
|
+
focus: () => void;
|
|
461
|
+
blur: () => void;
|
|
334
462
|
open: () => void;
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}) | null;
|
|
372
|
-
};
|
|
373
|
-
rootEl: HTMLDivElement;
|
|
463
|
+
close: () => void;
|
|
464
|
+
keywords: import("vue").ComputedRef<string>;
|
|
465
|
+
}) => any) | undefined;
|
|
466
|
+
};
|
|
467
|
+
}) | null>;
|
|
468
|
+
declare const models: import("vue").ComputedRef<RawOption[]>;
|
|
469
|
+
declare function onUpdate(newModels: RawOption[]): void;
|
|
470
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
471
|
+
declare var __VLS_10: {
|
|
472
|
+
items: import("@/types").NormalizedOption[];
|
|
473
|
+
removeOption: (option: import("@/types").NormalizedOption) => void;
|
|
474
|
+
disabled: boolean;
|
|
475
|
+
}, __VLS_12: {
|
|
476
|
+
focus: () => void;
|
|
477
|
+
blur: () => void;
|
|
478
|
+
open: () => void;
|
|
479
|
+
close: () => void;
|
|
480
|
+
keywords: import("vue").ComputedRef<string>;
|
|
481
|
+
option: RawOption | null;
|
|
482
|
+
value: import("@/types").OptionValue;
|
|
483
|
+
label: string;
|
|
484
|
+
selected: boolean;
|
|
485
|
+
active: boolean;
|
|
486
|
+
}, __VLS_14: {
|
|
487
|
+
focus: () => void;
|
|
488
|
+
blur: () => void;
|
|
489
|
+
open: () => void;
|
|
490
|
+
close: () => void;
|
|
491
|
+
keywords: import("vue").ComputedRef<string>;
|
|
492
|
+
}, __VLS_16: {
|
|
493
|
+
focus: () => void;
|
|
494
|
+
blur: () => void;
|
|
495
|
+
open: () => void;
|
|
496
|
+
close: () => void;
|
|
497
|
+
keywords: import("vue").ComputedRef<string>;
|
|
498
|
+
options: import("@/types").NormalizedOption[];
|
|
374
499
|
};
|
|
375
|
-
type
|
|
500
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
501
|
+
items?: (props: typeof __VLS_10) => any;
|
|
502
|
+
} & {
|
|
503
|
+
option?: (props: typeof __VLS_12) => any;
|
|
504
|
+
} & {
|
|
505
|
+
empty?: (props: typeof __VLS_14) => any;
|
|
506
|
+
} & {
|
|
507
|
+
footer?: (props: typeof __VLS_16) => any;
|
|
508
|
+
}>;
|
|
509
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
510
|
+
modelValue: {
|
|
511
|
+
default: undefined;
|
|
512
|
+
type: PropType<string[] | string | number | null | undefined>;
|
|
513
|
+
};
|
|
514
|
+
options: {
|
|
515
|
+
required: true;
|
|
516
|
+
type: PropType<RawOption[]>;
|
|
517
|
+
};
|
|
518
|
+
primaryKey: {
|
|
519
|
+
default: string;
|
|
520
|
+
type: StringConstructor;
|
|
521
|
+
};
|
|
522
|
+
field: {
|
|
523
|
+
required: true;
|
|
524
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
525
|
+
};
|
|
526
|
+
required: {
|
|
527
|
+
default: boolean;
|
|
528
|
+
type: BooleanConstructor;
|
|
529
|
+
};
|
|
530
|
+
disabled: {
|
|
531
|
+
default: boolean;
|
|
532
|
+
type: BooleanConstructor;
|
|
533
|
+
};
|
|
534
|
+
name: {
|
|
535
|
+
default: undefined;
|
|
536
|
+
type: StringConstructor;
|
|
537
|
+
};
|
|
538
|
+
placeholder: {
|
|
539
|
+
default: undefined;
|
|
540
|
+
type: StringConstructor;
|
|
541
|
+
};
|
|
542
|
+
size: {
|
|
543
|
+
default: undefined;
|
|
544
|
+
type: PropType<Size>;
|
|
545
|
+
};
|
|
546
|
+
max: {
|
|
547
|
+
default: undefined;
|
|
548
|
+
type: NumberConstructor;
|
|
549
|
+
};
|
|
550
|
+
hasError: {
|
|
551
|
+
default: boolean;
|
|
552
|
+
type: BooleanConstructor;
|
|
553
|
+
};
|
|
554
|
+
}>, {
|
|
555
|
+
BaseTagAutocomplete: typeof BaseTagAutocomplete;
|
|
556
|
+
tagAutocompleteFetch: typeof tagAutocompleteFetch;
|
|
557
|
+
models: typeof models;
|
|
558
|
+
onUpdate: typeof onUpdate;
|
|
559
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
560
|
+
"update:modelValue": (...args: any[]) => void;
|
|
561
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
562
|
+
modelValue: {
|
|
563
|
+
default: undefined;
|
|
564
|
+
type: PropType<string[] | string | number | null | undefined>;
|
|
565
|
+
};
|
|
566
|
+
options: {
|
|
567
|
+
required: true;
|
|
568
|
+
type: PropType<RawOption[]>;
|
|
569
|
+
};
|
|
570
|
+
primaryKey: {
|
|
571
|
+
default: string;
|
|
572
|
+
type: StringConstructor;
|
|
573
|
+
};
|
|
574
|
+
field: {
|
|
575
|
+
required: true;
|
|
576
|
+
type: PropType<string | ((option: RawOption) => string)>;
|
|
577
|
+
};
|
|
578
|
+
required: {
|
|
579
|
+
default: boolean;
|
|
580
|
+
type: BooleanConstructor;
|
|
581
|
+
};
|
|
582
|
+
disabled: {
|
|
583
|
+
default: boolean;
|
|
584
|
+
type: BooleanConstructor;
|
|
585
|
+
};
|
|
586
|
+
name: {
|
|
587
|
+
default: undefined;
|
|
588
|
+
type: StringConstructor;
|
|
589
|
+
};
|
|
590
|
+
placeholder: {
|
|
591
|
+
default: undefined;
|
|
592
|
+
type: StringConstructor;
|
|
593
|
+
};
|
|
594
|
+
size: {
|
|
595
|
+
default: undefined;
|
|
596
|
+
type: PropType<Size>;
|
|
597
|
+
};
|
|
598
|
+
max: {
|
|
599
|
+
default: undefined;
|
|
600
|
+
type: NumberConstructor;
|
|
601
|
+
};
|
|
602
|
+
hasError: {
|
|
603
|
+
default: boolean;
|
|
604
|
+
type: BooleanConstructor;
|
|
605
|
+
};
|
|
606
|
+
}>> & Readonly<{
|
|
607
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
608
|
+
}>, {
|
|
609
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
610
|
+
required: boolean;
|
|
611
|
+
disabled: boolean;
|
|
612
|
+
name: string;
|
|
613
|
+
modelValue: string | number | string[] | null | undefined;
|
|
614
|
+
placeholder: string;
|
|
615
|
+
hasError: boolean;
|
|
616
|
+
max: number;
|
|
617
|
+
primaryKey: string;
|
|
618
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
376
619
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
377
620
|
modelValue: {
|
|
378
621
|
default: undefined;
|
|
@@ -483,10 +726,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
483
726
|
hasError: boolean;
|
|
484
727
|
max: number;
|
|
485
728
|
primaryKey: string;
|
|
486
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
487
|
-
declare const _default:
|
|
729
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
730
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
488
731
|
export default _default;
|
|
489
|
-
type
|
|
732
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
490
733
|
new (): {
|
|
491
734
|
$slots: S;
|
|
492
735
|
};
|