sprintify-ui 0.10.64 → 0.10.65
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-B4PbYw6a.js → BaseCkeditor-D6D4FPEb.js} +2 -2
- package/dist/sprintify-ui.es.js +3732 -3594
- 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 +10 -7
- package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
- package/dist/types/components/BaseAlert.vue.d.ts +11 -24
- package/dist/types/components/BaseApp.vue.d.ts +12 -14
- package/dist/types/components/BaseAssign.vue.d.ts +1 -1
- package/dist/types/components/BaseAutocomplete.vue.d.ts +455 -665
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +24 -119
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +412 -1033
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/BaseBadge.vue.d.ts +11 -23
- package/dist/types/components/BaseBelongsTo.vue.d.ts +411 -998
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +371 -754
- 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 +16 -78
- package/dist/types/components/BaseButtonGroup.vue.d.ts +15 -166
- package/dist/types/components/BaseCard.vue.d.ts +12 -26
- package/dist/types/components/BaseCardRow.vue.d.ts +11 -20
- package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseClipboard.vue.d.ts +13 -45
- package/dist/types/components/BaseCollapse.vue.d.ts +20 -41
- package/dist/types/components/BaseContainer.vue.d.ts +11 -16
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCropper.vue.d.ts +30 -55
- package/dist/types/components/BaseDataIterator.vue.d.ts +42 -43
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +12 -15
- package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +10 -19
- package/dist/types/components/BaseDataTable.vue.d.ts +736 -2088
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +100 -576
- 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 +15 -16
- package/dist/types/components/BaseDialog.vue.d.ts +413 -114
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +13 -55
- package/dist/types/components/BaseDraggable.vue.d.ts +16 -25
- package/dist/types/components/BaseDropdown.vue.d.ts +17 -155
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +16 -131
- package/dist/types/components/BaseField.vue.d.ts +12 -103
- package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
- package/dist/types/components/BaseFilePicker.vue.d.ts +16 -35
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +42 -87
- package/dist/types/components/BaseFileUploader.vue.d.ts +29 -195
- package/dist/types/components/BaseForm.vue.d.ts +20 -161
- package/dist/types/components/BaseGantt.vue.d.ts +409 -1130
- package/dist/types/components/BaseHasMany.vue.d.ts +347 -590
- package/dist/types/components/BaseHasManyFetch.vue.d.ts +251 -602
- 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 +11 -23
- 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 +16 -124
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +13 -115
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +22 -69
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +10 -120
- package/dist/types/components/BaseLazy.vue.d.ts +15 -20
- 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 +34 -234
- 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 +30 -233
- package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
- package/dist/types/components/BaseModalCenter.vue.d.ts +12 -88
- package/dist/types/components/BaseModalSide.vue.d.ts +20 -71
- package/dist/types/components/BaseNavbar.vue.d.ts +22 -88
- 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 +13 -113
- package/dist/types/components/BaseReadMore.vue.d.ts +12 -31
- package/dist/types/components/BaseRichText.vue.d.ts +1 -1
- package/dist/types/components/BaseSelect.vue.d.ts +12 -149
- package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
- package/dist/types/components/BaseSideNavigation.vue.d.ts +12 -11
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +13 -22
- 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 +10 -118
- package/dist/types/components/BaseSystemAlert.vue.d.ts +11 -58
- package/dist/types/components/BaseTabItem.vue.d.ts +18 -35
- package/dist/types/components/BaseTable.vue.d.ts +14 -29
- package/dist/types/components/BaseTableBody.vue.d.ts +12 -9
- package/dist/types/components/BaseTableCell.vue.d.ts +15 -40
- package/dist/types/components/BaseTableColumn.vue.d.ts +3 -3
- package/dist/types/components/BaseTableHead.vue.d.ts +12 -14
- package/dist/types/components/BaseTableHeader.vue.d.ts +17 -46
- package/dist/types/components/BaseTableRow.vue.d.ts +13 -40
- package/dist/types/components/BaseTabs.vue.d.ts +15 -21
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +203 -602
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +348 -807
- 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 +15 -41
- 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 +130 -130
- package/src/components/BaseBadge.vue +97 -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 +838 -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 -55
- package/src/components/BaseModalSide.vue +130 -116
- 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 +226 -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
|
@@ -32,5 +32,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
32
32
|
}[];
|
|
33
33
|
subtitle: string;
|
|
34
34
|
badge: BaseBadgeProps;
|
|
35
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
36
36
|
export default _default;
|
|
@@ -11,5 +11,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
11
11
|
modelValue: string | null;
|
|
12
12
|
maxWidth: string;
|
|
13
13
|
collection: string;
|
|
14
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
15
|
export default _default;
|
|
@@ -1,26 +1,14 @@
|
|
|
1
1
|
import { Size } from '@/utils/sizes';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
default?: (props: typeof __VLS_1) => any;
|
|
8
|
-
}>;
|
|
9
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
-
size: {
|
|
11
|
-
default: undefined;
|
|
12
|
-
type: PropType<Size>;
|
|
13
|
-
};
|
|
14
|
-
}>, {
|
|
15
|
-
classes: typeof classes;
|
|
16
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
size: {
|
|
18
|
-
default: undefined;
|
|
19
|
-
type: PropType<Size>;
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
20
7
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLParagraphElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
12
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
25
13
|
size: {
|
|
26
14
|
default: undefined;
|
|
@@ -33,10 +21,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
33
21
|
};
|
|
34
22
|
}>> & Readonly<{}>, {
|
|
35
23
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
36
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
37
|
-
declare const _default:
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLParagraphElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
26
|
export default _default;
|
|
39
|
-
type
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
28
|
new (): {
|
|
41
29
|
$slots: S;
|
|
42
30
|
};
|
|
@@ -7,5 +7,5 @@ type __VLS_Props = {
|
|
|
7
7
|
class?: string | string[];
|
|
8
8
|
variant: 'list' | 'collapse';
|
|
9
9
|
};
|
|
10
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
11
11
|
export default _default;
|
|
@@ -3,5 +3,5 @@ type __VLS_Props = {
|
|
|
3
3
|
active: boolean;
|
|
4
4
|
notification: Notification;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
7
|
export default _default;
|
|
@@ -1,127 +1,19 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { Dialog, DialogPanel, TransitionChild, TransitionRoot } from '@headlessui/vue';
|
|
3
|
-
import { Icon as BaseIcon } from '@iconify/vue';
|
|
4
|
-
import BaseSystemAlert from './BaseSystemAlert.vue';
|
|
5
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
id: number;
|
|
19
|
-
color: "info" | "success" | "danger" | "warning";
|
|
20
|
-
message: string;
|
|
21
|
-
to?: string | {
|
|
22
|
-
name?: import("vue-router").RouteRecordNameGeneric;
|
|
23
|
-
params?: import("vue-router").RouteParamsRawGeneric | undefined;
|
|
24
|
-
path?: undefined | undefined;
|
|
25
|
-
query?: import("vue-router").LocationQueryRaw | undefined;
|
|
26
|
-
hash?: string | undefined;
|
|
27
|
-
replace?: boolean | undefined;
|
|
28
|
-
force?: boolean | undefined;
|
|
29
|
-
state?: import("vue-router").HistoryState | undefined;
|
|
30
|
-
} | {
|
|
31
|
-
path: string;
|
|
32
|
-
query?: import("vue-router").LocationQueryRaw | undefined;
|
|
33
|
-
hash?: string | undefined;
|
|
34
|
-
replace?: boolean | undefined;
|
|
35
|
-
force?: boolean | undefined;
|
|
36
|
-
state?: import("vue-router").HistoryState | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
action?: (() => void) | undefined;
|
|
39
|
-
closable: boolean;
|
|
40
|
-
}[]>;
|
|
41
|
-
/**
|
|
42
|
-
* Show/Hide sidebar
|
|
43
|
-
*/
|
|
44
|
-
declare const showMobileMenu: import("vue").Ref<boolean, boolean>;
|
|
45
|
-
declare function closeMenu(): void;
|
|
46
|
-
declare const collapsed: import("vue").Ref<boolean, boolean>;
|
|
47
|
-
declare function toggleCollapse(): void;
|
|
48
|
-
declare const navbarHeight: import("vue").ComputedRef<number>;
|
|
49
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
50
|
-
declare var __VLS_41: {}, __VLS_54: {}, __VLS_56: {}, __VLS_70: {
|
|
51
|
-
collapsed: boolean;
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
menu?(_: {}): any;
|
|
7
|
+
menu?(_: {
|
|
8
|
+
collapsed: boolean;
|
|
9
|
+
}): any;
|
|
10
|
+
navbar?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
52
15
|
};
|
|
53
|
-
type
|
|
54
|
-
menu?: (props: typeof __VLS_41) => any;
|
|
55
|
-
} & {
|
|
56
|
-
navbar?: (props: typeof __VLS_54) => any;
|
|
57
|
-
} & {
|
|
58
|
-
default?: (props: typeof __VLS_56) => any;
|
|
59
|
-
} & {
|
|
60
|
-
menu?: (props: typeof __VLS_70) => any;
|
|
61
|
-
}>;
|
|
62
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
63
|
-
appName: {
|
|
64
|
-
default: string;
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
};
|
|
67
|
-
logoUrl: {
|
|
68
|
-
default: string;
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
};
|
|
71
|
-
logoTo: {
|
|
72
|
-
default: string;
|
|
73
|
-
type: PropType<RouteLocationRaw>;
|
|
74
|
-
};
|
|
75
|
-
dark: {
|
|
76
|
-
default: boolean;
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
};
|
|
79
|
-
size: {
|
|
80
|
-
default: string;
|
|
81
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
82
|
-
};
|
|
83
|
-
}>, {
|
|
84
|
-
Dialog: typeof Dialog;
|
|
85
|
-
DialogPanel: typeof DialogPanel;
|
|
86
|
-
TransitionChild: typeof TransitionChild;
|
|
87
|
-
TransitionRoot: typeof TransitionRoot;
|
|
88
|
-
BaseIcon: typeof BaseIcon;
|
|
89
|
-
BaseSystemAlert: typeof BaseSystemAlert;
|
|
90
|
-
systemAlertStore: typeof systemAlertStore;
|
|
91
|
-
systemAlerts: typeof systemAlerts;
|
|
92
|
-
showMobileMenu: typeof showMobileMenu;
|
|
93
|
-
closeMenu: typeof closeMenu;
|
|
94
|
-
collapsed: typeof collapsed;
|
|
95
|
-
toggleCollapse: typeof toggleCollapse;
|
|
96
|
-
navbarHeight: typeof navbarHeight;
|
|
97
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
-
appName: {
|
|
99
|
-
default: string;
|
|
100
|
-
type: StringConstructor;
|
|
101
|
-
};
|
|
102
|
-
logoUrl: {
|
|
103
|
-
default: string;
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
};
|
|
106
|
-
logoTo: {
|
|
107
|
-
default: string;
|
|
108
|
-
type: PropType<RouteLocationRaw>;
|
|
109
|
-
};
|
|
110
|
-
dark: {
|
|
111
|
-
default: boolean;
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
};
|
|
114
|
-
size: {
|
|
115
|
-
default: string;
|
|
116
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
117
|
-
};
|
|
118
|
-
}>> & Readonly<{}>, {
|
|
119
|
-
dark: boolean;
|
|
120
|
-
size: "xs" | "sm" | "md";
|
|
121
|
-
appName: string;
|
|
122
|
-
logoUrl: string;
|
|
123
|
-
logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
124
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
125
17
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
126
18
|
appName: {
|
|
127
19
|
default: string;
|
|
@@ -170,10 +62,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
170
62
|
appName: string;
|
|
171
63
|
logoUrl: string;
|
|
172
64
|
logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
173
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
174
|
-
declare const _default:
|
|
65
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
66
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
175
67
|
export default _default;
|
|
176
|
-
type
|
|
68
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
177
69
|
new (): {
|
|
178
70
|
$slots: S;
|
|
179
71
|
};
|
|
@@ -2,119 +2,17 @@ import { User } from '@/types/User';
|
|
|
2
2
|
import { ActionItem } from '@/types';
|
|
3
3
|
import { PropType } from 'vue';
|
|
4
4
|
import { NotificationsConfig } from '../types';
|
|
5
|
-
import BaseAvatar from './BaseAvatar.vue';
|
|
6
|
-
import BaseLayoutNotificationDropdown from './BaseLayoutNotificationDropdown.vue';
|
|
7
|
-
import BaseLayoutSidebar from './BaseLayoutSidebar.vue';
|
|
8
|
-
import BaseMenu from './BaseMenu.vue';
|
|
9
|
-
import BaseNavbarSideItem from './BaseNavbarSideItem.vue';
|
|
10
5
|
import { RouteLocationRaw } from 'vue-router';
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
22
|
-
appName: {
|
|
23
|
-
default: string;
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
};
|
|
26
|
-
logoUrl: {
|
|
27
|
-
default: string;
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
};
|
|
30
|
-
logoTo: {
|
|
31
|
-
default: string;
|
|
32
|
-
type: PropType<RouteLocationRaw>;
|
|
33
|
-
};
|
|
34
|
-
menu: {
|
|
35
|
-
required: true;
|
|
36
|
-
type: PropType<ActionItem[]>;
|
|
37
|
-
};
|
|
38
|
-
userMenu: {
|
|
39
|
-
required: true;
|
|
40
|
-
type: PropType<ActionItem[]>;
|
|
41
|
-
};
|
|
42
|
-
user: {
|
|
43
|
-
required: true;
|
|
44
|
-
type: PropType<User>;
|
|
45
|
-
};
|
|
46
|
-
notifications: {
|
|
47
|
-
default: undefined;
|
|
48
|
-
type: PropType<NotificationsConfig>;
|
|
49
|
-
};
|
|
50
|
-
dark: {
|
|
51
|
-
default: boolean;
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
};
|
|
54
|
-
size: {
|
|
55
|
-
default: string;
|
|
56
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
57
|
-
};
|
|
58
|
-
}>, {
|
|
59
|
-
BaseAvatar: typeof BaseAvatar;
|
|
60
|
-
BaseLayoutNotificationDropdown: typeof BaseLayoutNotificationDropdown;
|
|
61
|
-
BaseLayoutSidebar: typeof BaseLayoutSidebar;
|
|
62
|
-
BaseMenu: typeof BaseMenu;
|
|
63
|
-
BaseNavbarSideItem: typeof BaseNavbarSideItem;
|
|
64
|
-
sectionLabelClasses: typeof sectionLabelClasses;
|
|
65
|
-
onNotificationClick: typeof onNotificationClick;
|
|
66
|
-
onNotificationOpen: typeof onNotificationOpen;
|
|
67
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
68
|
-
"notification:click": (...args: any[]) => void;
|
|
69
|
-
"notification:open": (...args: any[]) => void;
|
|
70
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
71
|
-
appName: {
|
|
72
|
-
default: string;
|
|
73
|
-
type: StringConstructor;
|
|
74
|
-
};
|
|
75
|
-
logoUrl: {
|
|
76
|
-
default: string;
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
};
|
|
79
|
-
logoTo: {
|
|
80
|
-
default: string;
|
|
81
|
-
type: PropType<RouteLocationRaw>;
|
|
82
|
-
};
|
|
83
|
-
menu: {
|
|
84
|
-
required: true;
|
|
85
|
-
type: PropType<ActionItem[]>;
|
|
86
|
-
};
|
|
87
|
-
userMenu: {
|
|
88
|
-
required: true;
|
|
89
|
-
type: PropType<ActionItem[]>;
|
|
90
|
-
};
|
|
91
|
-
user: {
|
|
92
|
-
required: true;
|
|
93
|
-
type: PropType<User>;
|
|
94
|
-
};
|
|
95
|
-
notifications: {
|
|
96
|
-
default: undefined;
|
|
97
|
-
type: PropType<NotificationsConfig>;
|
|
98
|
-
};
|
|
99
|
-
dark: {
|
|
100
|
-
default: boolean;
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
};
|
|
103
|
-
size: {
|
|
104
|
-
default: string;
|
|
105
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
106
|
-
};
|
|
107
|
-
}>> & Readonly<{
|
|
108
|
-
"onNotification:click"?: ((...args: any[]) => any) | undefined;
|
|
109
|
-
"onNotification:open"?: ((...args: any[]) => any) | undefined;
|
|
110
|
-
}>, {
|
|
111
|
-
dark: boolean;
|
|
112
|
-
size: "xs" | "sm" | "md";
|
|
113
|
-
notifications: NotificationsConfig;
|
|
114
|
-
appName: string;
|
|
115
|
-
logoUrl: string;
|
|
116
|
-
logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
117
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
navbar?(_: {}): any;
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
118
16
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
119
17
|
appName: {
|
|
120
18
|
default: string;
|
|
@@ -202,10 +100,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
202
100
|
appName: string;
|
|
203
101
|
logoUrl: string;
|
|
204
102
|
logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
205
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
206
|
-
declare const _default:
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
104
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
207
105
|
export default _default;
|
|
208
|
-
type
|
|
106
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
209
107
|
new (): {
|
|
210
108
|
$slots: S;
|
|
211
109
|
};
|
|
@@ -1,84 +1,37 @@
|
|
|
1
|
-
import BaseNavbar from './BaseNavbar.vue';
|
|
2
|
-
import BaseSystemAlert from './BaseSystemAlert.vue';
|
|
3
1
|
type __VLS_Props = {
|
|
4
2
|
class?: string | string[];
|
|
5
3
|
dark?: boolean;
|
|
6
4
|
navbar?: Record<string, unknown>;
|
|
7
5
|
size?: 'xs' | 'sm' | 'md';
|
|
8
6
|
};
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
query?: import("vue-router").LocationQueryRaw | undefined;
|
|
30
|
-
hash?: string | undefined;
|
|
31
|
-
replace?: boolean | undefined;
|
|
32
|
-
force?: boolean | undefined;
|
|
33
|
-
state?: import("vue-router").HistoryState | undefined;
|
|
34
|
-
} | {
|
|
35
|
-
path: string;
|
|
36
|
-
query?: import("vue-router").LocationQueryRaw | undefined;
|
|
37
|
-
hash?: string | undefined;
|
|
38
|
-
replace?: boolean | undefined;
|
|
39
|
-
force?: boolean | undefined;
|
|
40
|
-
state?: import("vue-router").HistoryState | undefined;
|
|
41
|
-
} | undefined;
|
|
42
|
-
action?: (() => void) | undefined;
|
|
43
|
-
closable: boolean;
|
|
44
|
-
}[]>;
|
|
45
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
46
|
-
declare var __VLS_11: {
|
|
47
|
-
mobile: boolean;
|
|
48
|
-
dark: boolean;
|
|
49
|
-
height: number;
|
|
50
|
-
}, __VLS_13: {
|
|
51
|
-
dark: boolean;
|
|
52
|
-
toggleMenu: () => void;
|
|
53
|
-
closeMenu: () => void;
|
|
54
|
-
openMenu: () => void;
|
|
55
|
-
}, __VLS_15: {};
|
|
56
|
-
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
57
|
-
navbar?: (props: typeof __VLS_11) => any;
|
|
58
|
-
} & {
|
|
59
|
-
mobile?: (props: typeof __VLS_13) => any;
|
|
60
|
-
} & {
|
|
61
|
-
default?: (props: typeof __VLS_15) => any;
|
|
62
|
-
}>;
|
|
63
|
-
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
64
|
-
BaseNavbar: typeof BaseNavbar;
|
|
65
|
-
BaseSystemAlert: typeof BaseSystemAlert;
|
|
66
|
-
classInternal: typeof classInternal;
|
|
67
|
-
systemAlertStore: typeof systemAlertStore;
|
|
68
|
-
systemAlerts: typeof systemAlerts;
|
|
69
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
70
|
-
class: string | string[];
|
|
71
|
-
size: "xs" | "sm" | "md";
|
|
72
|
-
navbar: Record<string, unknown>;
|
|
73
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
navbar?(_: {
|
|
11
|
+
mobile: boolean;
|
|
12
|
+
dark: boolean;
|
|
13
|
+
height: number;
|
|
14
|
+
}): any;
|
|
15
|
+
mobile?(_: {
|
|
16
|
+
dark: boolean;
|
|
17
|
+
toggleMenu: () => void;
|
|
18
|
+
closeMenu: () => void;
|
|
19
|
+
openMenu: () => void;
|
|
20
|
+
}): any;
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: any;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
74
27
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
75
28
|
class: string | string[];
|
|
76
29
|
size: "xs" | "sm" | "md";
|
|
77
30
|
navbar: Record<string, unknown>;
|
|
78
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
79
|
-
declare const _default:
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
80
33
|
export default _default;
|
|
81
|
-
type
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
35
|
new (): {
|
|
83
36
|
$slots: S;
|
|
84
37
|
};
|
|
@@ -1,126 +1,16 @@
|
|
|
1
1
|
import { User } from '@/types/User';
|
|
2
2
|
import { ActionItem, NotificationsConfig } from '@/types';
|
|
3
3
|
import { PropType } from 'vue';
|
|
4
|
-
import BaseAvatar from './BaseAvatar.vue';
|
|
5
|
-
import BaseLayoutStacked from './BaseLayoutStacked.vue';
|
|
6
|
-
import BaseMenu from './BaseMenu.vue';
|
|
7
|
-
import BaseNavbarItem from './BaseNavbarItem.vue';
|
|
8
|
-
import BaseNavbarSideItem from './BaseNavbarSideItem.vue';
|
|
9
|
-
import BaseLayoutNotificationDropdown from './BaseLayoutNotificationDropdown.vue';
|
|
10
4
|
import { RouteLocationRaw } from 'vue-router';
|
|
11
|
-
declare function
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
16
|
-
default?: (props: typeof __VLS_35) => any;
|
|
17
|
-
}>;
|
|
18
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
19
|
-
appName: {
|
|
20
|
-
default: string;
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
};
|
|
23
|
-
logoUrl: {
|
|
24
|
-
default: string;
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
};
|
|
27
|
-
logoTo: {
|
|
28
|
-
default: string;
|
|
29
|
-
type: PropType<RouteLocationRaw>;
|
|
30
|
-
};
|
|
31
|
-
menu: {
|
|
32
|
-
required: true;
|
|
33
|
-
type: PropType<ActionItem[]>;
|
|
34
|
-
};
|
|
35
|
-
userMenu: {
|
|
36
|
-
required: true;
|
|
37
|
-
type: PropType<ActionItem[]>;
|
|
38
|
-
};
|
|
39
|
-
user: {
|
|
40
|
-
required: true;
|
|
41
|
-
type: PropType<User>;
|
|
42
|
-
};
|
|
43
|
-
notifications: {
|
|
44
|
-
default: undefined;
|
|
45
|
-
type: PropType<NotificationsConfig>;
|
|
46
|
-
};
|
|
47
|
-
navbar: {
|
|
48
|
-
default: undefined;
|
|
49
|
-
type: PropType<Record<string, unknown>>;
|
|
50
|
-
};
|
|
51
|
-
dark: {
|
|
52
|
-
default: boolean;
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
};
|
|
55
|
-
size: {
|
|
56
|
-
default: string;
|
|
57
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
58
|
-
};
|
|
59
|
-
}>, {
|
|
60
|
-
BaseAvatar: typeof BaseAvatar;
|
|
61
|
-
BaseLayoutStacked: typeof BaseLayoutStacked;
|
|
62
|
-
BaseMenu: typeof BaseMenu;
|
|
63
|
-
BaseNavbarItem: typeof BaseNavbarItem;
|
|
64
|
-
BaseNavbarSideItem: typeof BaseNavbarSideItem;
|
|
65
|
-
BaseLayoutNotificationDropdown: typeof BaseLayoutNotificationDropdown;
|
|
66
|
-
onNotificationClick: typeof onNotificationClick;
|
|
67
|
-
onNotificationOpen: typeof onNotificationOpen;
|
|
68
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
69
|
-
"notification:click": (...args: any[]) => void;
|
|
70
|
-
"notification:open": (...args: any[]) => void;
|
|
71
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
-
appName: {
|
|
73
|
-
default: string;
|
|
74
|
-
type: StringConstructor;
|
|
75
|
-
};
|
|
76
|
-
logoUrl: {
|
|
77
|
-
default: string;
|
|
78
|
-
type: StringConstructor;
|
|
79
|
-
};
|
|
80
|
-
logoTo: {
|
|
81
|
-
default: string;
|
|
82
|
-
type: PropType<RouteLocationRaw>;
|
|
83
|
-
};
|
|
84
|
-
menu: {
|
|
85
|
-
required: true;
|
|
86
|
-
type: PropType<ActionItem[]>;
|
|
87
|
-
};
|
|
88
|
-
userMenu: {
|
|
89
|
-
required: true;
|
|
90
|
-
type: PropType<ActionItem[]>;
|
|
91
|
-
};
|
|
92
|
-
user: {
|
|
93
|
-
required: true;
|
|
94
|
-
type: PropType<User>;
|
|
95
|
-
};
|
|
96
|
-
notifications: {
|
|
97
|
-
default: undefined;
|
|
98
|
-
type: PropType<NotificationsConfig>;
|
|
99
|
-
};
|
|
100
|
-
navbar: {
|
|
101
|
-
default: undefined;
|
|
102
|
-
type: PropType<Record<string, unknown>>;
|
|
103
|
-
};
|
|
104
|
-
dark: {
|
|
105
|
-
default: boolean;
|
|
106
|
-
type: BooleanConstructor;
|
|
107
|
-
};
|
|
108
|
-
size: {
|
|
109
|
-
default: string;
|
|
110
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
111
9
|
};
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
dark: boolean;
|
|
117
|
-
size: "xs" | "sm" | "md";
|
|
118
|
-
notifications: NotificationsConfig;
|
|
119
|
-
navbar: Record<string, unknown>;
|
|
120
|
-
appName: string;
|
|
121
|
-
logoUrl: string;
|
|
122
|
-
logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
123
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
124
14
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
125
15
|
appName: {
|
|
126
16
|
default: string;
|
|
@@ -218,9 +108,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
218
108
|
logoUrl: string;
|
|
219
109
|
logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
220
110
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
221
|
-
declare const _default:
|
|
111
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
222
112
|
export default _default;
|
|
223
|
-
type
|
|
113
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
224
114
|
new (): {
|
|
225
115
|
$slots: S;
|
|
226
116
|
};
|