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,108 +1,584 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BaseTableColumnData, CollectionItem, Row } from '@/types';
|
|
3
|
+
import SlotComponent from './SlotComponent';
|
|
3
4
|
import { Size } from '@/utils/sizes';
|
|
5
|
+
import BaseTable from './BaseTable.vue';
|
|
6
|
+
import BaseTableHead from './BaseTableHead.vue';
|
|
7
|
+
import BaseTableHeader from './BaseTableHeader.vue';
|
|
8
|
+
import BaseTableBody from './BaseTableBody.vue';
|
|
9
|
+
import BaseTableRow from './BaseTableRow.vue';
|
|
10
|
+
import BaseTableCell from './BaseTableCell.vue';
|
|
4
11
|
import { RouteLocationRaw } from 'vue-router';
|
|
12
|
+
declare const checkboxStyle = "disabled:bg-slate-100 group-hover:shadow-md disabled:border-slate-300 disabled:cursor-not-allowed duration-300 cursor-pointer focus:ring-blue-300 border border-slate-300 shadow h-[18px] w-[18px] rounded";
|
|
13
|
+
declare const currentSortColumn: import("vue").Ref<{
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
tooltip?: string | undefined;
|
|
17
|
+
field: string;
|
|
18
|
+
meta: undefined | Record<string, any>;
|
|
19
|
+
newKey: string;
|
|
20
|
+
numeric: boolean;
|
|
21
|
+
align: "left" | "center" | "right";
|
|
22
|
+
searchable: boolean;
|
|
23
|
+
sortable: boolean;
|
|
24
|
+
ignoreRowInteractions: boolean;
|
|
25
|
+
toggle: boolean;
|
|
26
|
+
toggleDefault: boolean;
|
|
27
|
+
width: number;
|
|
28
|
+
class?: string | string[] | undefined;
|
|
29
|
+
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
30
|
+
href?: ((row: Row) => string) | undefined;
|
|
31
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
32
|
+
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
33
|
+
style: {
|
|
34
|
+
width: undefined | number;
|
|
35
|
+
};
|
|
36
|
+
} | null, BaseTableColumnData | {
|
|
37
|
+
id: string;
|
|
38
|
+
label: string;
|
|
39
|
+
tooltip?: string | undefined;
|
|
40
|
+
field: string;
|
|
41
|
+
meta: undefined | Record<string, any>;
|
|
42
|
+
newKey: string;
|
|
43
|
+
numeric: boolean;
|
|
44
|
+
align: "left" | "center" | "right";
|
|
45
|
+
searchable: boolean;
|
|
46
|
+
sortable: boolean;
|
|
47
|
+
ignoreRowInteractions: boolean;
|
|
48
|
+
toggle: boolean;
|
|
49
|
+
toggleDefault: boolean;
|
|
50
|
+
width: number;
|
|
51
|
+
class?: string | string[] | undefined;
|
|
52
|
+
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
53
|
+
href?: ((row: Row) => string) | undefined;
|
|
54
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
55
|
+
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
56
|
+
style: {
|
|
57
|
+
width: undefined | number;
|
|
58
|
+
};
|
|
59
|
+
} | null>;
|
|
60
|
+
declare const isAsc: import("vue").Ref<boolean, boolean>;
|
|
61
|
+
declare const slot: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
62
|
+
declare const newColumns: import("vue").ComputedRef<{
|
|
63
|
+
id: string;
|
|
64
|
+
label: string;
|
|
65
|
+
tooltip?: string | undefined;
|
|
66
|
+
field: string;
|
|
67
|
+
meta: undefined | Record<string, any>;
|
|
68
|
+
newKey: string;
|
|
69
|
+
numeric: boolean;
|
|
70
|
+
align: "left" | "center" | "right";
|
|
71
|
+
searchable: boolean;
|
|
72
|
+
sortable: boolean;
|
|
73
|
+
ignoreRowInteractions: boolean;
|
|
74
|
+
toggle: boolean;
|
|
75
|
+
toggleDefault: boolean;
|
|
76
|
+
width: number;
|
|
77
|
+
class?: string | string[] | undefined;
|
|
78
|
+
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
79
|
+
href?: ((row: Row) => string) | undefined;
|
|
80
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
81
|
+
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
82
|
+
style: {
|
|
83
|
+
width: undefined | number;
|
|
84
|
+
};
|
|
85
|
+
}[]>;
|
|
86
|
+
declare const visibleColumnsInternal: import("vue").ComputedRef<{
|
|
87
|
+
id: string;
|
|
88
|
+
label: string;
|
|
89
|
+
tooltip?: string | undefined;
|
|
90
|
+
field: string;
|
|
91
|
+
meta: undefined | Record<string, any>;
|
|
92
|
+
newKey: string;
|
|
93
|
+
numeric: boolean;
|
|
94
|
+
align: "left" | "center" | "right";
|
|
95
|
+
searchable: boolean;
|
|
96
|
+
sortable: boolean;
|
|
97
|
+
ignoreRowInteractions: boolean;
|
|
98
|
+
toggle: boolean;
|
|
99
|
+
toggleDefault: boolean;
|
|
100
|
+
width: number;
|
|
101
|
+
class?: string | string[] | undefined;
|
|
102
|
+
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
103
|
+
href?: ((row: Row) => string) | undefined;
|
|
104
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
105
|
+
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
106
|
+
style: {
|
|
107
|
+
width: undefined | number;
|
|
108
|
+
};
|
|
109
|
+
}[]>;
|
|
110
|
+
/**
|
|
111
|
+
* Return total column count based if it's checkable or expanded
|
|
112
|
+
*/
|
|
113
|
+
declare const columnCount: import("vue").ComputedRef<number>;
|
|
114
|
+
/**
|
|
115
|
+
* Return if detailed row tabled
|
|
116
|
+
* will be with chevron column & icon or not
|
|
117
|
+
*/
|
|
118
|
+
declare const showDetailRowIcon: import("vue").ComputedRef<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* Sort the column.
|
|
121
|
+
* Toggle current direction on column if it's sortable
|
|
122
|
+
* and not just updating the prop.
|
|
123
|
+
*/
|
|
124
|
+
declare function sort(column: BaseTableColumnData, updatingData?: boolean, event?: null): void;
|
|
125
|
+
/**
|
|
126
|
+
* Check if the row is checked (is added to the array).
|
|
127
|
+
*/
|
|
128
|
+
declare function isRowChecked(row: Row): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Check if all rows in the page are checkable.
|
|
131
|
+
*/
|
|
132
|
+
declare const isAllUncheckable: import("vue").ComputedRef<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* Check if all rows in the page are checked.
|
|
135
|
+
*/
|
|
136
|
+
declare const isAllChecked: import("vue").ComputedRef<boolean>;
|
|
137
|
+
/**
|
|
138
|
+
* Header checkbox click listener.
|
|
139
|
+
* Add or remove all rows in current page.
|
|
140
|
+
*/
|
|
141
|
+
declare function checkAll(): void;
|
|
5
142
|
/**
|
|
6
143
|
* Remove all rows in current page.
|
|
7
144
|
*/
|
|
8
145
|
declare function uncheckAll(): void;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
baseTableRef: ({
|
|
22
|
-
$: import("vue").ComponentInternalInstance;
|
|
23
|
-
$data: {};
|
|
24
|
-
$props: {
|
|
25
|
-
readonly size?: import("../services/table/types").CellSize | undefined;
|
|
26
|
-
readonly fixedHeader?: boolean | undefined;
|
|
27
|
-
readonly fixedColumn?: boolean | undefined;
|
|
28
|
-
readonly grid?: boolean | undefined;
|
|
29
|
-
readonly striped?: boolean | undefined;
|
|
30
|
-
readonly flush?: boolean | undefined;
|
|
31
|
-
readonly class?: import("tailwind-merge").ClassNameValue;
|
|
32
|
-
readonly maxHeight?: number | undefined;
|
|
33
|
-
readonly loading?: boolean | undefined;
|
|
34
|
-
readonly virtualScrolling?: boolean | undefined;
|
|
35
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
36
|
-
$attrs: {
|
|
37
|
-
[x: string]: unknown;
|
|
38
|
-
};
|
|
39
|
-
$refs: {
|
|
40
|
-
[x: string]: unknown;
|
|
41
|
-
};
|
|
42
|
-
$slots: Readonly<{
|
|
43
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
44
|
-
}>;
|
|
45
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
46
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
47
|
-
$host: Element | null;
|
|
48
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
49
|
-
$el: any;
|
|
50
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, {
|
|
51
|
-
scrollTop: () => void;
|
|
52
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
53
|
-
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
54
|
-
size: import("../services/table/types").CellSize;
|
|
55
|
-
grid: boolean;
|
|
56
|
-
loading: boolean;
|
|
57
|
-
fixedHeader: boolean;
|
|
58
|
-
fixedColumn: boolean;
|
|
59
|
-
striped: boolean;
|
|
60
|
-
flush: boolean;
|
|
61
|
-
maxHeight: number;
|
|
62
|
-
virtualScrolling: boolean;
|
|
63
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
64
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
65
|
-
created?: (() => void) | (() => void)[];
|
|
66
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
67
|
-
mounted?: (() => void) | (() => void)[];
|
|
68
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
69
|
-
updated?: (() => void) | (() => void)[];
|
|
70
|
-
activated?: (() => void) | (() => void)[];
|
|
71
|
-
deactivated?: (() => void) | (() => void)[];
|
|
72
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
73
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
74
|
-
destroyed?: (() => void) | (() => void)[];
|
|
75
|
-
unmounted?: (() => void) | (() => void)[];
|
|
76
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
77
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
78
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
79
|
-
};
|
|
80
|
-
$forceUpdate: () => void;
|
|
81
|
-
$nextTick: typeof import("vue").nextTick;
|
|
82
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
83
|
-
} & Readonly<{
|
|
84
|
-
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
85
|
-
size: import("../services/table/types").CellSize;
|
|
86
|
-
grid: boolean;
|
|
87
|
-
loading: boolean;
|
|
88
|
-
fixedHeader: boolean;
|
|
89
|
-
fixedColumn: boolean;
|
|
90
|
-
striped: boolean;
|
|
91
|
-
flush: boolean;
|
|
92
|
-
maxHeight: number;
|
|
93
|
-
virtualScrolling: boolean;
|
|
94
|
-
}> & Omit<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, "scrollTop" | ("class" | "size" | "grid" | "loading" | "fixedHeader" | "fixedColumn" | "striped" | "flush" | "maxHeight" | "virtualScrolling")> & import("vue").ShallowUnwrapRef<{
|
|
95
|
-
scrollTop: () => void;
|
|
96
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
97
|
-
$slots: {
|
|
98
|
-
default?(_: {}): any;
|
|
99
|
-
loading?(_: {}): any;
|
|
100
|
-
};
|
|
101
|
-
}) | null;
|
|
102
|
-
};
|
|
103
|
-
rootEl: any;
|
|
146
|
+
/**
|
|
147
|
+
* Row checkbox click listener.
|
|
148
|
+
*/
|
|
149
|
+
declare function checkRow(row: Row, index: number, event: MouseEvent): void;
|
|
150
|
+
/**
|
|
151
|
+
* Toggle to show/hide details slot
|
|
152
|
+
*/
|
|
153
|
+
declare function toggleDetails(row: Row): void;
|
|
154
|
+
declare function isVisibleDetailRow(row: Row): boolean;
|
|
155
|
+
declare function isActiveDetailRow(row: Row): boolean;
|
|
156
|
+
declare function rowBindings(row: CollectionItem, index: number): {
|
|
157
|
+
onClick: ((event: MouseEvent) => void | undefined) | undefined;
|
|
104
158
|
};
|
|
105
|
-
|
|
159
|
+
declare function onCellClick(row: CollectionItem, index: number, column: BaseTableColumnData, columnIndex: number): ((event: MouseEvent) => void) | undefined;
|
|
160
|
+
declare function getRowKey(row: Row): string;
|
|
161
|
+
declare const baseTableRef: import("vue").Ref<({
|
|
162
|
+
$: import("vue").ComponentInternalInstance;
|
|
163
|
+
$data: {};
|
|
164
|
+
$props: {
|
|
165
|
+
readonly size?: import("../services/table/types").CellSize | undefined;
|
|
166
|
+
readonly fixedHeader?: boolean | undefined;
|
|
167
|
+
readonly fixedColumn?: boolean | undefined;
|
|
168
|
+
readonly grid?: boolean | undefined;
|
|
169
|
+
readonly striped?: boolean | undefined;
|
|
170
|
+
readonly flush?: boolean | undefined;
|
|
171
|
+
readonly class?: import("tailwind-merge").ClassNameValue;
|
|
172
|
+
readonly maxHeight?: number | undefined;
|
|
173
|
+
readonly loading?: boolean | undefined;
|
|
174
|
+
readonly virtualScrolling?: boolean | undefined;
|
|
175
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
176
|
+
$attrs: {
|
|
177
|
+
[x: string]: unknown;
|
|
178
|
+
};
|
|
179
|
+
$refs: {
|
|
180
|
+
[x: string]: unknown;
|
|
181
|
+
};
|
|
182
|
+
$slots: Readonly<{
|
|
183
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
184
|
+
}>;
|
|
185
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
186
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
187
|
+
$host: Element | null;
|
|
188
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
189
|
+
$el: any;
|
|
190
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, {
|
|
191
|
+
scrollTop: () => void;
|
|
192
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
193
|
+
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
194
|
+
size: import("../services/table/types").CellSize;
|
|
195
|
+
grid: boolean;
|
|
196
|
+
loading: boolean;
|
|
197
|
+
fixedHeader: boolean;
|
|
198
|
+
fixedColumn: boolean;
|
|
199
|
+
striped: boolean;
|
|
200
|
+
flush: boolean;
|
|
201
|
+
maxHeight: number;
|
|
202
|
+
virtualScrolling: boolean;
|
|
203
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
204
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
205
|
+
created?: (() => void) | (() => void)[];
|
|
206
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
207
|
+
mounted?: (() => void) | (() => void)[];
|
|
208
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
209
|
+
updated?: (() => void) | (() => void)[];
|
|
210
|
+
activated?: (() => void) | (() => void)[];
|
|
211
|
+
deactivated?: (() => void) | (() => void)[];
|
|
212
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
213
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
214
|
+
destroyed?: (() => void) | (() => void)[];
|
|
215
|
+
unmounted?: (() => void) | (() => void)[];
|
|
216
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
217
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
218
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
219
|
+
};
|
|
220
|
+
$forceUpdate: () => void;
|
|
221
|
+
$nextTick: typeof import("vue").nextTick;
|
|
222
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
223
|
+
} & Readonly<{
|
|
224
|
+
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
225
|
+
size: import("../services/table/types").CellSize;
|
|
226
|
+
grid: boolean;
|
|
227
|
+
loading: boolean;
|
|
228
|
+
fixedHeader: boolean;
|
|
229
|
+
fixedColumn: boolean;
|
|
230
|
+
striped: boolean;
|
|
231
|
+
flush: boolean;
|
|
232
|
+
maxHeight: number;
|
|
233
|
+
virtualScrolling: boolean;
|
|
234
|
+
}> & Omit<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, ("class" | "size" | "grid" | "loading" | "fixedHeader" | "fixedColumn" | "striped" | "flush" | "maxHeight" | "virtualScrolling") | "scrollTop"> & import("vue").ShallowUnwrapRef<{
|
|
235
|
+
scrollTop: () => void;
|
|
236
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
237
|
+
$slots: {
|
|
238
|
+
default?: ((props: {}) => any) | undefined;
|
|
239
|
+
loading?: ((props: {}) => any) | undefined;
|
|
240
|
+
};
|
|
241
|
+
}) | null, ({
|
|
242
|
+
$: import("vue").ComponentInternalInstance;
|
|
243
|
+
$data: {};
|
|
244
|
+
$props: {
|
|
245
|
+
readonly size?: import("../services/table/types").CellSize | undefined;
|
|
246
|
+
readonly fixedHeader?: boolean | undefined;
|
|
247
|
+
readonly fixedColumn?: boolean | undefined;
|
|
248
|
+
readonly grid?: boolean | undefined;
|
|
249
|
+
readonly striped?: boolean | undefined;
|
|
250
|
+
readonly flush?: boolean | undefined;
|
|
251
|
+
readonly class?: import("tailwind-merge").ClassNameValue;
|
|
252
|
+
readonly maxHeight?: number | undefined;
|
|
253
|
+
readonly loading?: boolean | undefined;
|
|
254
|
+
readonly virtualScrolling?: boolean | undefined;
|
|
255
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
256
|
+
$attrs: {
|
|
257
|
+
[x: string]: unknown;
|
|
258
|
+
};
|
|
259
|
+
$refs: {
|
|
260
|
+
[x: string]: unknown;
|
|
261
|
+
};
|
|
262
|
+
$slots: Readonly<{
|
|
263
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
264
|
+
}>;
|
|
265
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
266
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
267
|
+
$host: Element | null;
|
|
268
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
269
|
+
$el: any;
|
|
270
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, {
|
|
271
|
+
scrollTop: () => void;
|
|
272
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
273
|
+
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
274
|
+
size: import("../services/table/types").CellSize;
|
|
275
|
+
grid: boolean;
|
|
276
|
+
loading: boolean;
|
|
277
|
+
fixedHeader: boolean;
|
|
278
|
+
fixedColumn: boolean;
|
|
279
|
+
striped: boolean;
|
|
280
|
+
flush: boolean;
|
|
281
|
+
maxHeight: number;
|
|
282
|
+
virtualScrolling: boolean;
|
|
283
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
284
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
285
|
+
created?: (() => void) | (() => void)[];
|
|
286
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
287
|
+
mounted?: (() => void) | (() => void)[];
|
|
288
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
289
|
+
updated?: (() => void) | (() => void)[];
|
|
290
|
+
activated?: (() => void) | (() => void)[];
|
|
291
|
+
deactivated?: (() => void) | (() => void)[];
|
|
292
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
293
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
294
|
+
destroyed?: (() => void) | (() => void)[];
|
|
295
|
+
unmounted?: (() => void) | (() => void)[];
|
|
296
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
297
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
298
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
299
|
+
};
|
|
300
|
+
$forceUpdate: () => void;
|
|
301
|
+
$nextTick: typeof import("vue").nextTick;
|
|
302
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
303
|
+
} & Readonly<{
|
|
304
|
+
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
305
|
+
size: import("../services/table/types").CellSize;
|
|
306
|
+
grid: boolean;
|
|
307
|
+
loading: boolean;
|
|
308
|
+
fixedHeader: boolean;
|
|
309
|
+
fixedColumn: boolean;
|
|
310
|
+
striped: boolean;
|
|
311
|
+
flush: boolean;
|
|
312
|
+
maxHeight: number;
|
|
313
|
+
virtualScrolling: boolean;
|
|
314
|
+
}> & Omit<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, ("class" | "size" | "grid" | "loading" | "fixedHeader" | "fixedColumn" | "striped" | "flush" | "maxHeight" | "virtualScrolling") | "scrollTop"> & import("vue").ShallowUnwrapRef<{
|
|
315
|
+
scrollTop: () => void;
|
|
316
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
317
|
+
$slots: {
|
|
318
|
+
default?: ((props: {}) => any) | undefined;
|
|
319
|
+
loading?: ((props: {}) => any) | undefined;
|
|
320
|
+
};
|
|
321
|
+
}) | null>;
|
|
322
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
323
|
+
declare var __VLS_1: {}, __VLS_40: {
|
|
324
|
+
row: Row;
|
|
325
|
+
index: number;
|
|
326
|
+
}, __VLS_48: {};
|
|
327
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
328
|
+
default?: (props: typeof __VLS_1) => any;
|
|
329
|
+
} & {
|
|
330
|
+
detail?: (props: typeof __VLS_40) => any;
|
|
331
|
+
} & {
|
|
332
|
+
empty?: (props: typeof __VLS_48) => any;
|
|
333
|
+
}>;
|
|
334
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
335
|
+
/** Table data */
|
|
336
|
+
data: {
|
|
337
|
+
type: PropType<Row[]>;
|
|
338
|
+
default: () => never[];
|
|
339
|
+
};
|
|
340
|
+
/** Loading state */
|
|
341
|
+
loading: {
|
|
342
|
+
default: boolean;
|
|
343
|
+
type: BooleanConstructor;
|
|
344
|
+
};
|
|
345
|
+
visibleColumns: {
|
|
346
|
+
default: undefined;
|
|
347
|
+
type: PropType<string[]>;
|
|
348
|
+
};
|
|
349
|
+
columnOrder: {
|
|
350
|
+
default: undefined;
|
|
351
|
+
type: PropType<string[]>;
|
|
352
|
+
};
|
|
353
|
+
/** Allow row details */
|
|
354
|
+
detailed: {
|
|
355
|
+
default: boolean;
|
|
356
|
+
type: BooleanConstructor;
|
|
357
|
+
};
|
|
358
|
+
/** Rows can be checked (multiple) */
|
|
359
|
+
checkable: {
|
|
360
|
+
default: boolean;
|
|
361
|
+
type: BooleanConstructor;
|
|
362
|
+
};
|
|
363
|
+
/** Custom method to verify if a row is checkable, works when is checkable */
|
|
364
|
+
isRowCheckable: {
|
|
365
|
+
type: FunctionConstructor;
|
|
366
|
+
default: () => boolean;
|
|
367
|
+
};
|
|
368
|
+
/** Set which rows are checked, use v-model:checkedRows to make it two-way binding */
|
|
369
|
+
checkedRows: {
|
|
370
|
+
default: () => never[];
|
|
371
|
+
type: PropType<Row[]>;
|
|
372
|
+
};
|
|
373
|
+
/** Sets the default sort column field */
|
|
374
|
+
sortField: {
|
|
375
|
+
type: StringConstructor;
|
|
376
|
+
default: string;
|
|
377
|
+
};
|
|
378
|
+
/**
|
|
379
|
+
* Sets the default sort column direction
|
|
380
|
+
* @values asc, desc
|
|
381
|
+
*/
|
|
382
|
+
sortDirection: {
|
|
383
|
+
type: StringConstructor;
|
|
384
|
+
default: string;
|
|
385
|
+
};
|
|
386
|
+
/** Controls the visibility of the trigger that toggles the detailed rows. */
|
|
387
|
+
hasDetailedVisible: {
|
|
388
|
+
type: FunctionConstructor;
|
|
389
|
+
default: () => boolean;
|
|
390
|
+
};
|
|
391
|
+
maxHeight: {
|
|
392
|
+
default: undefined;
|
|
393
|
+
type: NumberConstructor;
|
|
394
|
+
};
|
|
395
|
+
size: {
|
|
396
|
+
type: PropType<Size>;
|
|
397
|
+
default: string;
|
|
398
|
+
};
|
|
399
|
+
rowTo: {
|
|
400
|
+
default: undefined;
|
|
401
|
+
type: PropType<((row: CollectionItem) => RouteLocationRaw) | undefined>;
|
|
402
|
+
};
|
|
403
|
+
rowHref: {
|
|
404
|
+
default: undefined;
|
|
405
|
+
type: PropType<((row: CollectionItem) => string) | undefined>;
|
|
406
|
+
};
|
|
407
|
+
onRowClick: {
|
|
408
|
+
default: undefined;
|
|
409
|
+
type: PropType<((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined>;
|
|
410
|
+
};
|
|
411
|
+
rowKey: {
|
|
412
|
+
default: undefined;
|
|
413
|
+
type: PropType<((row: CollectionItem) => string | number) | undefined>;
|
|
414
|
+
};
|
|
415
|
+
rowSelected: {
|
|
416
|
+
default: undefined;
|
|
417
|
+
type: PropType<((row: CollectionItem) => boolean) | undefined>;
|
|
418
|
+
};
|
|
419
|
+
virtualScrolling: {
|
|
420
|
+
default: boolean;
|
|
421
|
+
type: BooleanConstructor;
|
|
422
|
+
};
|
|
423
|
+
}>, {
|
|
424
|
+
SlotComponent: typeof SlotComponent;
|
|
425
|
+
BaseTable: typeof BaseTable;
|
|
426
|
+
BaseTableHead: typeof BaseTableHead;
|
|
427
|
+
BaseTableHeader: typeof BaseTableHeader;
|
|
428
|
+
BaseTableBody: typeof BaseTableBody;
|
|
429
|
+
BaseTableRow: typeof BaseTableRow;
|
|
430
|
+
BaseTableCell: typeof BaseTableCell;
|
|
431
|
+
checkboxStyle: typeof checkboxStyle;
|
|
432
|
+
currentSortColumn: typeof currentSortColumn;
|
|
433
|
+
isAsc: typeof isAsc;
|
|
434
|
+
slot: typeof slot;
|
|
435
|
+
newColumns: typeof newColumns;
|
|
436
|
+
visibleColumnsInternal: typeof visibleColumnsInternal;
|
|
437
|
+
columnCount: typeof columnCount;
|
|
438
|
+
showDetailRowIcon: typeof showDetailRowIcon;
|
|
439
|
+
sort: typeof sort;
|
|
440
|
+
isRowChecked: typeof isRowChecked;
|
|
441
|
+
isAllUncheckable: typeof isAllUncheckable;
|
|
442
|
+
isAllChecked: typeof isAllChecked;
|
|
443
|
+
checkAll: typeof checkAll;
|
|
444
|
+
checkRow: typeof checkRow;
|
|
445
|
+
toggleDetails: typeof toggleDetails;
|
|
446
|
+
isVisibleDetailRow: typeof isVisibleDetailRow;
|
|
447
|
+
isActiveDetailRow: typeof isActiveDetailRow;
|
|
448
|
+
rowBindings: typeof rowBindings;
|
|
449
|
+
onCellClick: typeof onCellClick;
|
|
450
|
+
getRowKey: typeof getRowKey;
|
|
451
|
+
baseTableRef: typeof baseTableRef;
|
|
452
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
453
|
+
sort: (...args: any[]) => void;
|
|
454
|
+
check: (...args: any[]) => void;
|
|
455
|
+
"check-all": (...args: any[]) => void;
|
|
456
|
+
"update:checkedRows": (...args: any[]) => void;
|
|
457
|
+
"details-open": (...args: any[]) => void;
|
|
458
|
+
"details-close": (...args: any[]) => void;
|
|
459
|
+
"update:openedDetailed": (...args: any[]) => void;
|
|
460
|
+
"cell-click": (...args: any[]) => void;
|
|
461
|
+
"row-click": (...args: any[]) => void;
|
|
462
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
463
|
+
/** Table data */
|
|
464
|
+
data: {
|
|
465
|
+
type: PropType<Row[]>;
|
|
466
|
+
default: () => never[];
|
|
467
|
+
};
|
|
468
|
+
/** Loading state */
|
|
469
|
+
loading: {
|
|
470
|
+
default: boolean;
|
|
471
|
+
type: BooleanConstructor;
|
|
472
|
+
};
|
|
473
|
+
visibleColumns: {
|
|
474
|
+
default: undefined;
|
|
475
|
+
type: PropType<string[]>;
|
|
476
|
+
};
|
|
477
|
+
columnOrder: {
|
|
478
|
+
default: undefined;
|
|
479
|
+
type: PropType<string[]>;
|
|
480
|
+
};
|
|
481
|
+
/** Allow row details */
|
|
482
|
+
detailed: {
|
|
483
|
+
default: boolean;
|
|
484
|
+
type: BooleanConstructor;
|
|
485
|
+
};
|
|
486
|
+
/** Rows can be checked (multiple) */
|
|
487
|
+
checkable: {
|
|
488
|
+
default: boolean;
|
|
489
|
+
type: BooleanConstructor;
|
|
490
|
+
};
|
|
491
|
+
/** Custom method to verify if a row is checkable, works when is checkable */
|
|
492
|
+
isRowCheckable: {
|
|
493
|
+
type: FunctionConstructor;
|
|
494
|
+
default: () => boolean;
|
|
495
|
+
};
|
|
496
|
+
/** Set which rows are checked, use v-model:checkedRows to make it two-way binding */
|
|
497
|
+
checkedRows: {
|
|
498
|
+
default: () => never[];
|
|
499
|
+
type: PropType<Row[]>;
|
|
500
|
+
};
|
|
501
|
+
/** Sets the default sort column field */
|
|
502
|
+
sortField: {
|
|
503
|
+
type: StringConstructor;
|
|
504
|
+
default: string;
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* Sets the default sort column direction
|
|
508
|
+
* @values asc, desc
|
|
509
|
+
*/
|
|
510
|
+
sortDirection: {
|
|
511
|
+
type: StringConstructor;
|
|
512
|
+
default: string;
|
|
513
|
+
};
|
|
514
|
+
/** Controls the visibility of the trigger that toggles the detailed rows. */
|
|
515
|
+
hasDetailedVisible: {
|
|
516
|
+
type: FunctionConstructor;
|
|
517
|
+
default: () => boolean;
|
|
518
|
+
};
|
|
519
|
+
maxHeight: {
|
|
520
|
+
default: undefined;
|
|
521
|
+
type: NumberConstructor;
|
|
522
|
+
};
|
|
523
|
+
size: {
|
|
524
|
+
type: PropType<Size>;
|
|
525
|
+
default: string;
|
|
526
|
+
};
|
|
527
|
+
rowTo: {
|
|
528
|
+
default: undefined;
|
|
529
|
+
type: PropType<((row: CollectionItem) => RouteLocationRaw) | undefined>;
|
|
530
|
+
};
|
|
531
|
+
rowHref: {
|
|
532
|
+
default: undefined;
|
|
533
|
+
type: PropType<((row: CollectionItem) => string) | undefined>;
|
|
534
|
+
};
|
|
535
|
+
onRowClick: {
|
|
536
|
+
default: undefined;
|
|
537
|
+
type: PropType<((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined>;
|
|
538
|
+
};
|
|
539
|
+
rowKey: {
|
|
540
|
+
default: undefined;
|
|
541
|
+
type: PropType<((row: CollectionItem) => string | number) | undefined>;
|
|
542
|
+
};
|
|
543
|
+
rowSelected: {
|
|
544
|
+
default: undefined;
|
|
545
|
+
type: PropType<((row: CollectionItem) => boolean) | undefined>;
|
|
546
|
+
};
|
|
547
|
+
virtualScrolling: {
|
|
548
|
+
default: boolean;
|
|
549
|
+
type: BooleanConstructor;
|
|
550
|
+
};
|
|
551
|
+
}>> & Readonly<{
|
|
552
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
553
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
|
554
|
+
"onCheck-all"?: ((...args: any[]) => any) | undefined;
|
|
555
|
+
"onUpdate:checkedRows"?: ((...args: any[]) => any) | undefined;
|
|
556
|
+
"onDetails-open"?: ((...args: any[]) => any) | undefined;
|
|
557
|
+
"onDetails-close"?: ((...args: any[]) => any) | undefined;
|
|
558
|
+
"onUpdate:openedDetailed"?: ((...args: any[]) => any) | undefined;
|
|
559
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
560
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
561
|
+
}>, {
|
|
562
|
+
data: Row[];
|
|
563
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
564
|
+
loading: boolean;
|
|
565
|
+
sortField: string;
|
|
566
|
+
sortDirection: string;
|
|
567
|
+
maxHeight: number;
|
|
568
|
+
virtualScrolling: boolean;
|
|
569
|
+
visibleColumns: string[];
|
|
570
|
+
columnOrder: string[];
|
|
571
|
+
detailed: boolean;
|
|
572
|
+
checkable: boolean;
|
|
573
|
+
isRowCheckable: Function;
|
|
574
|
+
checkedRows: Row[];
|
|
575
|
+
hasDetailedVisible: Function;
|
|
576
|
+
rowTo: ((row: CollectionItem) => RouteLocationRaw) | undefined;
|
|
577
|
+
rowHref: ((row: CollectionItem) => string) | undefined;
|
|
578
|
+
onRowClick: ((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined;
|
|
579
|
+
rowKey: ((row: CollectionItem) => string | number) | undefined;
|
|
580
|
+
rowSelected: ((row: CollectionItem) => boolean) | undefined;
|
|
581
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
582
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
107
583
|
/** Table data */
|
|
108
584
|
data: {
|
|
@@ -208,10 +684,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
208
684
|
toggle: boolean;
|
|
209
685
|
toggleDefault: boolean;
|
|
210
686
|
width: number;
|
|
211
|
-
class?:
|
|
687
|
+
class?: string | string[] | undefined;
|
|
212
688
|
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
213
689
|
href?: ((row: Row) => string) | undefined;
|
|
214
|
-
target?:
|
|
690
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
215
691
|
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
216
692
|
style: {
|
|
217
693
|
width: undefined | number;
|
|
@@ -349,9 +825,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
349
825
|
rowKey: ((row: CollectionItem) => string | number) | undefined;
|
|
350
826
|
rowSelected: ((row: CollectionItem) => boolean) | undefined;
|
|
351
827
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
352
|
-
declare const _default:
|
|
828
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
353
829
|
export default _default;
|
|
354
|
-
type
|
|
830
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
355
831
|
new (): {
|
|
356
832
|
$slots: S;
|
|
357
833
|
};
|