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,18 +1,155 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { RawOption } from '@/types';
|
|
2
|
+
import { NormalizedOption, RawOption } from '@/types';
|
|
3
|
+
import { t } from '@/i18n';
|
|
3
4
|
import { Size } from '@/utils/sizes';
|
|
4
5
|
type SelectOption = string | number | null;
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
declare const EMPTY_VALUE_INTERNAL = "";
|
|
7
|
+
declare const select: import("vue").Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
8
|
+
declare const nameInternal: import("vue").ComputedRef<string>, requiredInternal: import("vue").ComputedRef<boolean>;
|
|
9
|
+
/**
|
|
10
|
+
* Transform to external empty NULL
|
|
11
|
+
* to internal empty ''.
|
|
12
|
+
*/
|
|
13
|
+
declare const modelValueInternal: import("vue").ComputedRef<SelectOption | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* Emit change while mutating internal empty value ''
|
|
17
|
+
* to external empty value NULL.
|
|
18
|
+
*/
|
|
19
|
+
declare function onChange(event: Event): void;
|
|
20
|
+
declare const normalizedOptions: import("vue").ComputedRef<NormalizedOption[] | undefined>;
|
|
21
|
+
declare const classes: import("vue").ComputedRef<string>;
|
|
22
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
23
|
+
declare var __VLS_1: {};
|
|
24
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
25
|
+
default?: (props: typeof __VLS_1) => any;
|
|
26
|
+
}>;
|
|
27
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
28
|
+
modelValue: {
|
|
29
|
+
default: undefined;
|
|
30
|
+
type: PropType<SelectOption | undefined>;
|
|
9
31
|
};
|
|
10
|
-
|
|
11
|
-
|
|
32
|
+
name: {
|
|
33
|
+
default: undefined;
|
|
34
|
+
type: StringConstructor;
|
|
12
35
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type
|
|
36
|
+
class: {
|
|
37
|
+
default: string;
|
|
38
|
+
type: PropType<string | string[]>;
|
|
39
|
+
};
|
|
40
|
+
size: {
|
|
41
|
+
default: undefined;
|
|
42
|
+
type: PropType<Size>;
|
|
43
|
+
};
|
|
44
|
+
placeholder: {
|
|
45
|
+
default: string;
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
default: boolean;
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
};
|
|
52
|
+
required: {
|
|
53
|
+
default: undefined;
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
};
|
|
56
|
+
hasError: {
|
|
57
|
+
default: boolean;
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
};
|
|
60
|
+
options: {
|
|
61
|
+
default: undefined;
|
|
62
|
+
type: PropType<RawOption[]>;
|
|
63
|
+
};
|
|
64
|
+
labelKey: {
|
|
65
|
+
default: undefined;
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
};
|
|
68
|
+
valueKey: {
|
|
69
|
+
default: undefined;
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
72
|
+
visibleFocus: {
|
|
73
|
+
default: boolean;
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
};
|
|
76
|
+
}>, {
|
|
77
|
+
t: typeof t;
|
|
78
|
+
EMPTY_VALUE_INTERNAL: typeof EMPTY_VALUE_INTERNAL;
|
|
79
|
+
select: typeof select;
|
|
80
|
+
nameInternal: typeof nameInternal;
|
|
81
|
+
requiredInternal: typeof requiredInternal;
|
|
82
|
+
modelValueInternal: typeof modelValueInternal;
|
|
83
|
+
onChange: typeof onChange;
|
|
84
|
+
normalizedOptions: typeof normalizedOptions;
|
|
85
|
+
classes: typeof classes;
|
|
86
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
87
|
+
"update:modelValue": (...args: any[]) => void;
|
|
88
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
+
modelValue: {
|
|
90
|
+
default: undefined;
|
|
91
|
+
type: PropType<SelectOption | undefined>;
|
|
92
|
+
};
|
|
93
|
+
name: {
|
|
94
|
+
default: undefined;
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
};
|
|
97
|
+
class: {
|
|
98
|
+
default: string;
|
|
99
|
+
type: PropType<string | string[]>;
|
|
100
|
+
};
|
|
101
|
+
size: {
|
|
102
|
+
default: undefined;
|
|
103
|
+
type: PropType<Size>;
|
|
104
|
+
};
|
|
105
|
+
placeholder: {
|
|
106
|
+
default: string;
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
};
|
|
109
|
+
disabled: {
|
|
110
|
+
default: boolean;
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
};
|
|
113
|
+
required: {
|
|
114
|
+
default: undefined;
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
};
|
|
117
|
+
hasError: {
|
|
118
|
+
default: boolean;
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
};
|
|
121
|
+
options: {
|
|
122
|
+
default: undefined;
|
|
123
|
+
type: PropType<RawOption[]>;
|
|
124
|
+
};
|
|
125
|
+
labelKey: {
|
|
126
|
+
default: undefined;
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
};
|
|
129
|
+
valueKey: {
|
|
130
|
+
default: undefined;
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
};
|
|
133
|
+
visibleFocus: {
|
|
134
|
+
default: boolean;
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{
|
|
138
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
}>, {
|
|
140
|
+
class: string | string[];
|
|
141
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
142
|
+
required: boolean;
|
|
143
|
+
disabled: boolean;
|
|
144
|
+
name: string;
|
|
145
|
+
options: RawOption[];
|
|
146
|
+
modelValue: SelectOption | undefined;
|
|
147
|
+
placeholder: string;
|
|
148
|
+
hasError: boolean;
|
|
149
|
+
visibleFocus: boolean;
|
|
150
|
+
labelKey: string;
|
|
151
|
+
valueKey: string;
|
|
152
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
153
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
154
|
modelValue: {
|
|
18
155
|
default: undefined;
|
|
@@ -129,9 +266,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
129
266
|
labelKey: string;
|
|
130
267
|
valueKey: string;
|
|
131
268
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
132
|
-
declare const _default:
|
|
269
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
133
270
|
export default _default;
|
|
134
|
-
type
|
|
271
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
135
272
|
new (): {
|
|
136
273
|
$slots: S;
|
|
137
274
|
};
|
|
@@ -82,5 +82,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
contrast: "high" | "low";
|
|
83
83
|
action: () => Promise<void> | undefined;
|
|
84
84
|
linkText: string;
|
|
85
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
85
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
86
86
|
export default _default;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
3
3
|
};
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
4
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
}>;
|
|
9
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
size: "xs" | "sm" | "md" | "lg";
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
12
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
13
|
size: "xs" | "sm" | "md" | "lg";
|
|
15
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
16
|
-
declare const _default:
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
16
|
export default _default;
|
|
18
|
-
type
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
18
|
new (): {
|
|
20
19
|
$slots: S;
|
|
21
20
|
};
|
|
@@ -1,27 +1,36 @@
|
|
|
1
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
1
|
+
import { NavigationFailure, RouteLocationRaw } from 'vue-router';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
to: RouteLocationRaw;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
activeStrategy?: 'default' | 'exact';
|
|
6
6
|
};
|
|
7
|
-
declare function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: any;
|
|
7
|
+
declare function onClick(navigate: () => Promise<void | NavigationFailure>): Promise<void | NavigationFailure> | undefined;
|
|
8
|
+
declare function isActiveInternal(isActive: boolean, isExactActive: boolean): boolean;
|
|
9
|
+
declare const sizeClassOuter: import("vue").ComputedRef<"" | "py-0.5" | "py-1" | "py-2">;
|
|
10
|
+
declare const sizeClassInner: import("vue").ComputedRef<"" | "text-xs px-3 py-0.5 font-normal" | "text-sm px-4 py-0.5 font-normal" | "text-base px-5 py-0.5 font-normal">;
|
|
11
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
12
|
+
declare var __VLS_6: {
|
|
13
|
+
active: boolean;
|
|
16
14
|
};
|
|
17
|
-
type
|
|
15
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
16
|
+
default?: (props: typeof __VLS_6) => any;
|
|
17
|
+
}>;
|
|
18
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
19
|
+
onClick: typeof onClick;
|
|
20
|
+
isActiveInternal: typeof isActiveInternal;
|
|
21
|
+
sizeClassOuter: typeof sizeClassOuter;
|
|
22
|
+
sizeClassInner: typeof sizeClassInner;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
activeStrategy: "default" | "exact";
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
27
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
28
|
disabled: boolean;
|
|
20
29
|
activeStrategy: "default" | "exact";
|
|
21
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
-
declare const _default:
|
|
31
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
32
|
export default _default;
|
|
24
|
-
type
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
34
|
new (): {
|
|
26
35
|
$slots: S;
|
|
27
36
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
delay: {
|
|
4
4
|
default: string;
|
|
5
5
|
type: StringConstructor;
|
|
@@ -21,10 +21,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
21
21
|
class: string | string[];
|
|
22
22
|
delay: string;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
24
|
-
default
|
|
24
|
+
default?: ((props: {}) => any) | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export default _default;
|
|
27
|
-
type
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
28
|
new (): {
|
|
29
29
|
$slots: S;
|
|
30
30
|
};
|
|
@@ -14,5 +14,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
14
|
};
|
|
15
15
|
}>> & Readonly<{
|
|
16
16
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
18
|
export default _default;
|
|
@@ -1,13 +1,122 @@
|
|
|
1
|
+
import { Size } from '@/utils/sizes';
|
|
2
|
+
import { Switch, SwitchGroup, SwitchLabel } from '@headlessui/vue';
|
|
1
3
|
import { PropType } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
declare const normalizedModelValue: import("vue").ComputedRef<boolean>;
|
|
5
|
+
declare const bg: import("vue").ComputedRef<"bg-primary-500" | "bg-blue-500" | "bg-red-500" | "bg-yellow-500" | "bg-green-500" | "bg-slate-500" | "bg-slate-900">;
|
|
6
|
+
declare const focus: import("vue").ComputedRef<"focus:ring-primary-500" | "focus:ring-blue-500" | "focus:ring-red-500" | "focus:ring-yellow-500" | "focus:ring-green-500" | "focus:ring-slate-500" | "focus:ring-slate-900">;
|
|
7
|
+
declare const sizePx: import("vue").ComputedRef<12 | 16 | 20 | 32 | 24>;
|
|
8
|
+
declare const height: import("vue").ComputedRef<number>;
|
|
9
|
+
declare const width: import("vue").ComputedRef<number>;
|
|
10
|
+
declare const translateX: import("vue").ComputedRef<number>;
|
|
11
|
+
declare const icon: import("vue").ComputedRef<string | null>;
|
|
12
|
+
declare function update(payload: any): void;
|
|
13
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
14
|
+
declare var __VLS_22: {};
|
|
15
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
16
|
+
default?: (props: typeof __VLS_22) => any;
|
|
17
|
+
}>;
|
|
18
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
19
|
+
modelValue: {
|
|
20
|
+
default: boolean;
|
|
21
|
+
type: PropType<boolean | string | number | null | undefined>;
|
|
6
22
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
23
|
+
name: {
|
|
24
|
+
default: undefined;
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
};
|
|
27
|
+
color: {
|
|
28
|
+
default: string;
|
|
29
|
+
type: PropType<"primary" | "info" | "danger" | "warning" | "success" | "dark" | "light">;
|
|
30
|
+
};
|
|
31
|
+
size: {
|
|
32
|
+
default: string;
|
|
33
|
+
type: PropType<Size | undefined>;
|
|
34
|
+
};
|
|
35
|
+
hasError: {
|
|
36
|
+
default: boolean;
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
};
|
|
39
|
+
required: {
|
|
40
|
+
default: undefined;
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
};
|
|
43
|
+
disabled: {
|
|
44
|
+
default: boolean;
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
};
|
|
47
|
+
checkedIcon: {
|
|
48
|
+
default: string;
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
};
|
|
51
|
+
unCheckedIcon: {
|
|
52
|
+
default: string;
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
};
|
|
55
|
+
}>, {
|
|
56
|
+
Switch: typeof Switch;
|
|
57
|
+
SwitchGroup: typeof SwitchGroup;
|
|
58
|
+
SwitchLabel: typeof SwitchLabel;
|
|
59
|
+
normalizedModelValue: typeof normalizedModelValue;
|
|
60
|
+
bg: typeof bg;
|
|
61
|
+
focus: typeof focus;
|
|
62
|
+
sizePx: typeof sizePx;
|
|
63
|
+
height: typeof height;
|
|
64
|
+
width: typeof width;
|
|
65
|
+
translateX: typeof translateX;
|
|
66
|
+
icon: typeof icon;
|
|
67
|
+
update: typeof update;
|
|
68
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
69
|
+
"update:modelValue": (...args: any[]) => void;
|
|
70
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
71
|
+
modelValue: {
|
|
72
|
+
default: boolean;
|
|
73
|
+
type: PropType<boolean | string | number | null | undefined>;
|
|
74
|
+
};
|
|
75
|
+
name: {
|
|
76
|
+
default: undefined;
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
color: {
|
|
80
|
+
default: string;
|
|
81
|
+
type: PropType<"primary" | "info" | "danger" | "warning" | "success" | "dark" | "light">;
|
|
82
|
+
};
|
|
83
|
+
size: {
|
|
84
|
+
default: string;
|
|
85
|
+
type: PropType<Size | undefined>;
|
|
86
|
+
};
|
|
87
|
+
hasError: {
|
|
88
|
+
default: boolean;
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
};
|
|
91
|
+
required: {
|
|
92
|
+
default: undefined;
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
};
|
|
95
|
+
disabled: {
|
|
96
|
+
default: boolean;
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
};
|
|
99
|
+
checkedIcon: {
|
|
100
|
+
default: string;
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
};
|
|
103
|
+
unCheckedIcon: {
|
|
104
|
+
default: string;
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
};
|
|
107
|
+
}>> & Readonly<{
|
|
108
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
}>, {
|
|
110
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
111
|
+
required: boolean;
|
|
112
|
+
color: "dark" | "light" | "danger" | "success" | "warning" | "primary" | "info";
|
|
113
|
+
disabled: boolean;
|
|
114
|
+
name: string;
|
|
115
|
+
modelValue: string | number | boolean | null | undefined;
|
|
116
|
+
hasError: boolean;
|
|
117
|
+
checkedIcon: string;
|
|
118
|
+
unCheckedIcon: string;
|
|
119
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
120
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
121
|
modelValue: {
|
|
13
122
|
default: boolean;
|
|
@@ -23,7 +132,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
23
132
|
};
|
|
24
133
|
size: {
|
|
25
134
|
default: string;
|
|
26
|
-
type: PropType<
|
|
135
|
+
type: PropType<Size | undefined>;
|
|
27
136
|
};
|
|
28
137
|
hasError: {
|
|
29
138
|
default: boolean;
|
|
@@ -62,7 +171,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
62
171
|
};
|
|
63
172
|
size: {
|
|
64
173
|
default: string;
|
|
65
|
-
type: PropType<
|
|
174
|
+
type: PropType<Size | undefined>;
|
|
66
175
|
};
|
|
67
176
|
hasError: {
|
|
68
177
|
default: boolean;
|
|
@@ -87,7 +196,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
87
196
|
}>> & Readonly<{
|
|
88
197
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
198
|
}>, {
|
|
90
|
-
size: "xs" | "sm" | "lg" | "xl" |
|
|
199
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
91
200
|
required: boolean;
|
|
92
201
|
color: "dark" | "light" | "danger" | "success" | "warning" | "primary" | "info";
|
|
93
202
|
disabled: boolean;
|
|
@@ -97,9 +206,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
97
206
|
checkedIcon: string;
|
|
98
207
|
unCheckedIcon: string;
|
|
99
208
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
100
|
-
declare const _default:
|
|
209
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
101
210
|
export default _default;
|
|
102
|
-
type
|
|
211
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
103
212
|
new (): {
|
|
104
213
|
$slots: S;
|
|
105
214
|
};
|
|
@@ -1,14 +1,61 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
3
|
-
declare function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
declare function close(): void;
|
|
4
|
+
declare const is: import("vue").ComputedRef<string>;
|
|
5
|
+
declare const colorClasses: import("vue").ComputedRef<string>;
|
|
6
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
7
|
+
declare var __VLS_9: {};
|
|
8
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
9
|
+
default?: (props: typeof __VLS_9) => any;
|
|
10
|
+
}>;
|
|
11
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
to: {
|
|
13
|
+
default: undefined;
|
|
14
|
+
type: PropType<RouteLocationRaw | undefined>;
|
|
7
15
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
16
|
+
action: {
|
|
17
|
+
default: undefined;
|
|
18
|
+
type: PropType<() => Promise<void> | void>;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
default: string;
|
|
22
|
+
type: PropType<"info" | "warning" | "danger" | "success">;
|
|
23
|
+
};
|
|
24
|
+
closable: {
|
|
25
|
+
default: boolean;
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
};
|
|
28
|
+
}>, {
|
|
29
|
+
close: typeof close;
|
|
30
|
+
is: typeof is;
|
|
31
|
+
colorClasses: typeof colorClasses;
|
|
32
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
close: (...args: any[]) => void;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
to: {
|
|
36
|
+
default: undefined;
|
|
37
|
+
type: PropType<RouteLocationRaw | undefined>;
|
|
38
|
+
};
|
|
39
|
+
action: {
|
|
40
|
+
default: undefined;
|
|
41
|
+
type: PropType<() => Promise<void> | void>;
|
|
42
|
+
};
|
|
43
|
+
color: {
|
|
44
|
+
default: string;
|
|
45
|
+
type: PropType<"info" | "warning" | "danger" | "success">;
|
|
46
|
+
};
|
|
47
|
+
closable: {
|
|
48
|
+
default: boolean;
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric | undefined;
|
|
55
|
+
color: "danger" | "success" | "warning" | "info";
|
|
56
|
+
action: () => Promise<void> | void;
|
|
57
|
+
closable: boolean;
|
|
58
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
59
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
60
|
to: {
|
|
14
61
|
default: undefined;
|
|
@@ -52,10 +99,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
52
99
|
color: "danger" | "success" | "warning" | "info";
|
|
53
100
|
action: () => Promise<void> | void;
|
|
54
101
|
closable: boolean;
|
|
55
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
56
|
-
declare const _default:
|
|
102
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
103
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
57
104
|
export default _default;
|
|
58
|
-
type
|
|
105
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
59
106
|
new (): {
|
|
60
107
|
$slots: S;
|
|
61
108
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { NavigationFailure, RouteLocationRaw } from 'vue-router';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
id?: string;
|
|
4
5
|
to?: RouteLocationRaw;
|
|
@@ -11,29 +12,45 @@ type __VLS_Props = {
|
|
|
11
12
|
*/
|
|
12
13
|
activeStrategy?: 'default' | 'exact';
|
|
13
14
|
};
|
|
14
|
-
declare
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
15
|
+
declare const idInternal: ComputedRef<string>;
|
|
16
|
+
declare const currentTabId: ComputedRef<string | null>;
|
|
17
|
+
declare function onClick(navigate?: () => Promise<void | NavigationFailure> | null): Promise<void | NavigationFailure> | null | undefined;
|
|
18
|
+
declare function isActiveInternal(isActive: boolean, isExactActive: boolean): boolean;
|
|
19
|
+
declare const baseTabItemRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
20
|
+
declare const sizeClassOuter: ComputedRef<string>;
|
|
21
|
+
declare const sizeClassInner: ComputedRef<"" | "text-xs py-1 px-1 font-normal" | "text-sm py-1 px-2 font-normal" | "text-sm py-1.5 px-2 font-normal" | "text-base py-1.5 px-3 font-normal">;
|
|
22
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
23
|
+
declare var __VLS_5: {
|
|
24
|
+
active: boolean;
|
|
25
|
+
}, __VLS_7: {};
|
|
26
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
27
|
+
default?: (props: typeof __VLS_5) => any;
|
|
28
|
+
} & {
|
|
29
|
+
default?: (props: typeof __VLS_7) => any;
|
|
30
|
+
}>;
|
|
31
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
32
|
+
idInternal: typeof idInternal;
|
|
33
|
+
currentTabId: typeof currentTabId;
|
|
34
|
+
onClick: typeof onClick;
|
|
35
|
+
isActiveInternal: typeof isActiveInternal;
|
|
36
|
+
baseTabItemRef: typeof baseTabItemRef;
|
|
37
|
+
sizeClassOuter: typeof sizeClassOuter;
|
|
38
|
+
sizeClassInner: typeof sizeClassInner;
|
|
39
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
40
|
+
to: RouteLocationRaw;
|
|
41
|
+
id: string;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
activeStrategy: "default" | "exact";
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
45
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
46
|
to: RouteLocationRaw;
|
|
30
47
|
id: string;
|
|
31
48
|
disabled: boolean;
|
|
32
49
|
activeStrategy: "default" | "exact";
|
|
33
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
34
|
-
declare const _default:
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
35
52
|
export default _default;
|
|
36
|
-
type
|
|
53
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
54
|
new (): {
|
|
38
55
|
$slots: S;
|
|
39
56
|
};
|