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
package/src/stories/PageShow.vue
CHANGED
|
@@ -1,424 +1,424 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="bg-slate-100 py-6">
|
|
3
|
-
<BaseContainer size="5xl">
|
|
4
|
-
<BaseHeader
|
|
5
|
-
title="Order #21496"
|
|
6
|
-
subtitle="August 6, 2023 at 1:56 pm from Online Store"
|
|
7
|
-
:max-actions="3"
|
|
8
|
-
:badge="{
|
|
9
|
-
icon: 'heroicons:check-circle-solid',
|
|
10
|
-
label: 'Paid',
|
|
11
|
-
color: 'blue',
|
|
12
|
-
}"
|
|
13
|
-
:actions="[
|
|
14
|
-
{ label: 'Refund', icon: 'heroicons:banknotes', action: () => showAlert('Refund') },
|
|
15
|
-
{ label: 'Edit', icon: 'heroicons:cog', action: () => showAlert('Edit') },
|
|
16
|
-
{ label: 'PDF', icon: 'heroicons:document', action: () => showAlert('PDF') },
|
|
17
|
-
{ label: 'Duplicate', icon: 'heroicons:document-duplicate', action: () => showAlert('Duplicate') },
|
|
18
|
-
{ label: 'Print', icon: 'heroicons:printer', action: () => showAlert('Print') },
|
|
19
|
-
{ label: 'Archive', icon: 'heroicons:trash', action: () => showAlert('Archive') },
|
|
20
|
-
]"
|
|
21
|
-
:breadcrumbs="[{ label: 'Home', to: '/' }, { label: 'Orders', to: '/orders' }, { label: '#21496', to: '/' }]"
|
|
22
|
-
class="mb-1"
|
|
23
|
-
/>
|
|
24
|
-
|
|
25
|
-
<BaseTabs
|
|
26
|
-
class="mb-4"
|
|
27
|
-
size="sm"
|
|
28
|
-
>
|
|
29
|
-
<BaseTabItem to="/">
|
|
30
|
-
General
|
|
31
|
-
</BaseTabItem>
|
|
32
|
-
<BaseTabItem to="/settings">
|
|
33
|
-
Transactions <BaseCounter :count="4" />
|
|
34
|
-
</BaseTabItem>
|
|
35
|
-
<BaseTabItem to="/setup">
|
|
36
|
-
Edit
|
|
37
|
-
</BaseTabItem>
|
|
38
|
-
</BaseTabs>
|
|
39
|
-
|
|
40
|
-
<div class="lg:flex lg:space-x-6 space-y-5 lg:space-y-0">
|
|
41
|
-
<div class="lg:grow lg:w-8/12">
|
|
42
|
-
<BaseCard class="mb-6">
|
|
43
|
-
<BaseCardRow size="sm">
|
|
44
|
-
<BaseBadge
|
|
45
|
-
color="yellow"
|
|
46
|
-
contrast="low"
|
|
47
|
-
bordered
|
|
48
|
-
icon="heroicons:inbox"
|
|
49
|
-
>
|
|
50
|
-
Unfulfilled (2)
|
|
51
|
-
</BaseBadge>
|
|
52
|
-
</BaseCardRow>
|
|
53
|
-
|
|
54
|
-
<BaseCardRow
|
|
55
|
-
v-for="i in 2"
|
|
56
|
-
:key="i"
|
|
57
|
-
size="sm"
|
|
58
|
-
>
|
|
59
|
-
<div class="flex space-x-3">
|
|
60
|
-
<div class="shrink-0">
|
|
61
|
-
<div class="h-10 w-10 bg-slate-500 rounded-md overflow-hidden">
|
|
62
|
-
<img
|
|
63
|
-
class="h-full w-full object-cover"
|
|
64
|
-
src="https://images.unsplash.com/photo-1568605114967-8130f3a36994?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=200&h=200&q=80"
|
|
65
|
-
>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
<div class="grow">
|
|
69
|
-
<div class="sm:flex space-y-0.5 sm:space-y-0 sm:space-x-3 text-sm mb-2">
|
|
70
|
-
<a
|
|
71
|
-
href="#"
|
|
72
|
-
class="text-blue-600 grow"
|
|
73
|
-
>Contemporaine Blanche- 2 chiffres (6'' à 24'')</a>
|
|
74
|
-
<p class="min-w-[70px] sm:text-right whitespace-nowrap">
|
|
75
|
-
$ 1,000.00 x 1
|
|
76
|
-
</p>
|
|
77
|
-
<p class="min-w-[70px] sm:text-right whitespace-nowrap">
|
|
78
|
-
$ 1,000.00
|
|
79
|
-
</p>
|
|
80
|
-
</div>
|
|
81
|
-
<div class="space-y-1">
|
|
82
|
-
<p class="text-xs text-slate-600">
|
|
83
|
-
SKU: 5f918d672028b
|
|
84
|
-
</p>
|
|
85
|
-
<p class="text-xs text-slate-600">
|
|
86
|
-
<span class="text-slate-500">GPO</span>: 97829
|
|
87
|
-
</p>
|
|
88
|
-
<p class="text-xs text-slate-600">
|
|
89
|
-
<span class="text-slate-500">Numéro de porte</span>: 66
|
|
90
|
-
</p>
|
|
91
|
-
<p class="text-xs text-slate-600">
|
|
92
|
-
<span class="text-slate-500">Taille</span>: 6"
|
|
93
|
-
</p>
|
|
94
|
-
<p class="text-xs text-slate-600">
|
|
95
|
-
<span class="text-slate-500">Couleur</span>: Blanc
|
|
96
|
-
</p>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
</BaseCardRow>
|
|
101
|
-
<BaseCardRow size="sm">
|
|
102
|
-
<div class="flex justify-end gap-2">
|
|
103
|
-
<button
|
|
104
|
-
type="button"
|
|
105
|
-
class="btn btn-xs"
|
|
106
|
-
>
|
|
107
|
-
Fulfill items
|
|
108
|
-
</button>
|
|
109
|
-
<button
|
|
110
|
-
type="button"
|
|
111
|
-
class="btn btn-xs btn-primary"
|
|
112
|
-
>
|
|
113
|
-
Create shipping label
|
|
114
|
-
</button>
|
|
115
|
-
</div>
|
|
116
|
-
</BaseCardRow>
|
|
117
|
-
</BaseCard>
|
|
118
|
-
|
|
119
|
-
<BaseCard class="mb-6">
|
|
120
|
-
<BaseCardRow size="sm">
|
|
121
|
-
<BaseBadge
|
|
122
|
-
color="green"
|
|
123
|
-
contrast="low"
|
|
124
|
-
bordered
|
|
125
|
-
icon="heroicons:banknotes"
|
|
126
|
-
>
|
|
127
|
-
Paid
|
|
128
|
-
</BaseBadge>
|
|
129
|
-
</BaseCardRow>
|
|
130
|
-
<BaseCardRow size="sm">
|
|
131
|
-
<table class="text-sm leading-relaxed w-full">
|
|
132
|
-
<tr>
|
|
133
|
-
<td>Subtotal</td>
|
|
134
|
-
<td class="text-slate-600">
|
|
135
|
-
2 items
|
|
136
|
-
</td>
|
|
137
|
-
<td class="text-right whitespace-nowrap">
|
|
138
|
-
$ 1,000.00
|
|
139
|
-
</td>
|
|
140
|
-
</tr>
|
|
141
|
-
<tr>
|
|
142
|
-
<td>Shipping</td>
|
|
143
|
-
<td class="text-slate-600">
|
|
144
|
-
Standard
|
|
145
|
-
</td>
|
|
146
|
-
<td class="text-right whitespace-nowrap">
|
|
147
|
-
$ 0.00
|
|
148
|
-
</td>
|
|
149
|
-
</tr>
|
|
150
|
-
<tr>
|
|
151
|
-
<td>Taxes</td>
|
|
152
|
-
<td class="text-slate-600">
|
|
153
|
-
GST
|
|
154
|
-
</td>
|
|
155
|
-
<td class="text-right whitespace-nowrap">
|
|
156
|
-
$ 0.00
|
|
157
|
-
</td>
|
|
158
|
-
</tr>
|
|
159
|
-
<tr>
|
|
160
|
-
<td class="font-semibold">
|
|
161
|
-
Total
|
|
162
|
-
</td>
|
|
163
|
-
<td />
|
|
164
|
-
<td class="text-right font-semibold whitespace-nowrap">
|
|
165
|
-
$ 1,000.00
|
|
166
|
-
</td>
|
|
167
|
-
</tr>
|
|
168
|
-
<tr>
|
|
169
|
-
<td colspan="3">
|
|
170
|
-
<div class="border-t border-slate-300 my-4" />
|
|
171
|
-
</td>
|
|
172
|
-
</tr>
|
|
173
|
-
<tr>
|
|
174
|
-
<td>Paid by customer</td>
|
|
175
|
-
<td />
|
|
176
|
-
<td class="text-right">
|
|
177
|
-
$ 1,000.00
|
|
178
|
-
</td>
|
|
179
|
-
</tr>
|
|
180
|
-
</table>
|
|
181
|
-
</BaseCardRow>
|
|
182
|
-
</BaseCard>
|
|
183
|
-
|
|
184
|
-
<div>
|
|
185
|
-
<h2 class="font-semibold text-sm mb-4">
|
|
186
|
-
Timeline
|
|
187
|
-
</h2>
|
|
188
|
-
<BaseTimeline :items="timelineItems" />
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
|
|
192
|
-
<div class="lg:shrink-0 lg:w-4/12 space-y-4">
|
|
193
|
-
<BaseCard>
|
|
194
|
-
<BaseCardRow size="sm">
|
|
195
|
-
<div class="flex mb-6">
|
|
196
|
-
<div class="flex-grow">
|
|
197
|
-
<h2 class="font-medium mb-2 text-sm">
|
|
198
|
-
Notes
|
|
199
|
-
</h2>
|
|
200
|
-
<p class="text-slate-500 text-xs">
|
|
201
|
-
No notes from customer
|
|
202
|
-
</p>
|
|
203
|
-
</div>
|
|
204
|
-
<div class="shrink-0">
|
|
205
|
-
<button
|
|
206
|
-
type="button"
|
|
207
|
-
class="btn btn-white p-2"
|
|
208
|
-
>
|
|
209
|
-
<BaseIcon icon="heroicons:pencil-solid" />
|
|
210
|
-
</button>
|
|
211
|
-
</div>
|
|
212
|
-
</div>
|
|
213
|
-
|
|
214
|
-
<div class="flex">
|
|
215
|
-
<div class="flex-grow">
|
|
216
|
-
<h2 class="font-medium mb-2 text-sm">
|
|
217
|
-
Additional details
|
|
218
|
-
</h2>
|
|
219
|
-
<p class="text-xs">
|
|
220
|
-
language: fr
|
|
221
|
-
</p>
|
|
222
|
-
</div>
|
|
223
|
-
<div class="shrink-0">
|
|
224
|
-
<button
|
|
225
|
-
type="button"
|
|
226
|
-
class="btn btn-white p-2"
|
|
227
|
-
>
|
|
228
|
-
<BaseIcon icon="heroicons:pencil-solid" />
|
|
229
|
-
</button>
|
|
230
|
-
</div>
|
|
231
|
-
</div>
|
|
232
|
-
</BaseCardRow>
|
|
233
|
-
</BaseCard>
|
|
234
|
-
|
|
235
|
-
<BaseCard>
|
|
236
|
-
<BaseCardRow size="sm">
|
|
237
|
-
<div class="space-y-4">
|
|
238
|
-
<div>
|
|
239
|
-
<h2 class="font-medium mb-2 text-sm">
|
|
240
|
-
Customer
|
|
241
|
-
</h2>
|
|
242
|
-
<a
|
|
243
|
-
href="#"
|
|
244
|
-
class="text-blue-600 text-sm"
|
|
245
|
-
>John Doe</a>
|
|
246
|
-
<br>
|
|
247
|
-
<a
|
|
248
|
-
href="#"
|
|
249
|
-
class="text-blue-600 text-sm"
|
|
250
|
-
>2 orders</a>
|
|
251
|
-
</div>
|
|
252
|
-
|
|
253
|
-
<div>
|
|
254
|
-
<h2 class="font-medium mb-2 text-sm">
|
|
255
|
-
Contact information
|
|
256
|
-
</h2>
|
|
257
|
-
<div class="flex justify-between">
|
|
258
|
-
<a
|
|
259
|
-
href="mailto:john.doe@witify.io"
|
|
260
|
-
class="text-blue-600 text-sm"
|
|
261
|
-
>john.doe@witify.io</a>
|
|
262
|
-
<BaseClipboard
|
|
263
|
-
value="john.doe@witify.io"
|
|
264
|
-
class="shrink-0"
|
|
265
|
-
>
|
|
266
|
-
<BaseIcon
|
|
267
|
-
icon="heroicons:clipboard-solid"
|
|
268
|
-
class="text-slate-600"
|
|
269
|
-
/>
|
|
270
|
-
</BaseClipboard>
|
|
271
|
-
</div>
|
|
272
|
-
</div>
|
|
273
|
-
|
|
274
|
-
<div>
|
|
275
|
-
<h2 class="font-medium mb-2 text-sm">
|
|
276
|
-
Shipping address
|
|
277
|
-
</h2>
|
|
278
|
-
<div class="flex justify-between items-start">
|
|
279
|
-
<div>
|
|
280
|
-
<p class="text-sm mb-1">
|
|
281
|
-
Philippe Lamarche<br>
|
|
282
|
-
Gestion Philippe Lamarche Inc<br>
|
|
283
|
-
250 Rue Westgate<br>
|
|
284
|
-
Rosemère QC J7A 2E9<br>
|
|
285
|
-
Canada<br>
|
|
286
|
-
(514) 618-9961
|
|
287
|
-
</p>
|
|
288
|
-
<a
|
|
289
|
-
href="#"
|
|
290
|
-
class="text-blue-600 text-sm underline"
|
|
291
|
-
>View map</a>
|
|
292
|
-
</div>
|
|
293
|
-
<BaseClipboard
|
|
294
|
-
value="john.doe@witify.io"
|
|
295
|
-
class="shrink-0"
|
|
296
|
-
>
|
|
297
|
-
<BaseIcon
|
|
298
|
-
icon="heroicons:clipboard-solid"
|
|
299
|
-
class="text-slate-600"
|
|
300
|
-
/>
|
|
301
|
-
</BaseClipboard>
|
|
302
|
-
</div>
|
|
303
|
-
</div>
|
|
304
|
-
</div>
|
|
305
|
-
</BaseCardRow>
|
|
306
|
-
</BaseCard>
|
|
307
|
-
|
|
308
|
-
<BaseCard>
|
|
309
|
-
<BaseCardRow size="sm">
|
|
310
|
-
<div>
|
|
311
|
-
<h2 class="font-medium mb-3 text-sm">
|
|
312
|
-
Conversion Summary
|
|
313
|
-
</h2>
|
|
314
|
-
|
|
315
|
-
<div class="space-y-1.5 mb-2">
|
|
316
|
-
<div class="flex space-x-2 items-center justify-between">
|
|
317
|
-
<BaseIcon
|
|
318
|
-
icon="heroicons:inbox-arrow-down-solid"
|
|
319
|
-
class="text-slate-600 shrink-0"
|
|
320
|
-
/>
|
|
321
|
-
<div class="grow">
|
|
322
|
-
<p class="text-sm">
|
|
323
|
-
This is their 2nd order
|
|
324
|
-
</p>
|
|
325
|
-
</div>
|
|
326
|
-
</div>
|
|
327
|
-
|
|
328
|
-
<div class="flex space-x-2 items-center justify-between">
|
|
329
|
-
<BaseIcon
|
|
330
|
-
icon="heroicons:eye-solid"
|
|
331
|
-
class="text-slate-600 shrink-0"
|
|
332
|
-
/>
|
|
333
|
-
<div class="grow">
|
|
334
|
-
<p class="text-sm">
|
|
335
|
-
1st session from Google
|
|
336
|
-
</p>
|
|
337
|
-
</div>
|
|
338
|
-
</div>
|
|
339
|
-
|
|
340
|
-
<div class="flex space-x-2 items-center justify-between">
|
|
341
|
-
<BaseIcon
|
|
342
|
-
icon="heroicons:chart-bar-square-solid"
|
|
343
|
-
class="text-slate-600 shrink-0"
|
|
344
|
-
/>
|
|
345
|
-
<div class="grow">
|
|
346
|
-
<p class="text-sm">
|
|
347
|
-
1 session over 1 day
|
|
348
|
-
</p>
|
|
349
|
-
</div>
|
|
350
|
-
</div>
|
|
351
|
-
</div>
|
|
352
|
-
|
|
353
|
-
<a
|
|
354
|
-
href="#"
|
|
355
|
-
class="text-blue-600 text-sm underline"
|
|
356
|
-
>View conversion details</a>
|
|
357
|
-
</div>
|
|
358
|
-
</BaseCardRow>
|
|
359
|
-
</BaseCard>
|
|
360
|
-
</div>
|
|
361
|
-
</div>
|
|
362
|
-
</BaseContainer>
|
|
363
|
-
|
|
364
|
-
<BaseAppSnackbars />
|
|
365
|
-
<BaseAppDialogs />
|
|
366
|
-
</div>
|
|
367
|
-
</template>
|
|
368
|
-
|
|
369
|
-
<script lang="ts" setup>
|
|
370
|
-
import { useSnackbarsStore } from '..';
|
|
371
|
-
|
|
372
|
-
import BaseCard from '@/components/BaseCard.vue';
|
|
373
|
-
import BaseCardRow from '@/components/BaseCardRow.vue';
|
|
374
|
-
import BaseHeader from '@/components/BaseHeader.vue';
|
|
375
|
-
import BaseTabs from '@/components/BaseTabs.vue';
|
|
376
|
-
import BaseBadge from '@/components/BaseBadge.vue';
|
|
377
|
-
import BaseCounter from '@/components/BaseCounter.vue';
|
|
378
|
-
import BaseTabItem from '@/components/BaseTabItem.vue';
|
|
379
|
-
import BaseTimeline from '@/components/BaseTimeline.vue';
|
|
380
|
-
import { BaseIcon } from '../components/index';
|
|
381
|
-
import BaseContainer from '@/components/BaseContainer.vue';
|
|
382
|
-
import BaseClipboard from '@/components/BaseClipboard.vue';
|
|
383
|
-
import BaseAppSnackbars from '@/components/BaseAppSnackbars.vue';
|
|
384
|
-
import BaseAppDialogs from '@/components/BaseAppDialogs.vue';
|
|
385
|
-
|
|
386
|
-
const timelineItems = [
|
|
387
|
-
{
|
|
388
|
-
title: 'Order placed',
|
|
389
|
-
description: 'Philippe Lamarche placed this order on Online Store (checkout #36886026060090).',
|
|
390
|
-
icon: 'heroicons:inbox-solid',
|
|
391
|
-
color: 'success',
|
|
392
|
-
date: '1:56 PM',
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
title: 'Confirmation created',
|
|
396
|
-
description: 'Confirmation #X9WH46CK5 was generated for this order.',
|
|
397
|
-
icon: 'heroicons:check-circle-solid',
|
|
398
|
-
color: null,
|
|
399
|
-
date: '1:56 PM',
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
title: 'Payment captured',
|
|
403
|
-
description: 'Payment of $1,000.00 was captured for this order.',
|
|
404
|
-
icon: 'heroicons:credit-card-solid',
|
|
405
|
-
color: null,
|
|
406
|
-
date: '1:56 PM',
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
title: 'Order fulfilled',
|
|
410
|
-
description: 'Order #21496 was fulfilled.',
|
|
411
|
-
icon: 'heroicons:check-circle-solid',
|
|
412
|
-
color: null,
|
|
413
|
-
date: '3:43 PM',
|
|
414
|
-
},
|
|
415
|
-
];
|
|
416
|
-
|
|
417
|
-
function showAlert(text: string) {
|
|
418
|
-
useSnackbarsStore().push({
|
|
419
|
-
title: text,
|
|
420
|
-
text: text,
|
|
421
|
-
color: 'success'
|
|
422
|
-
});
|
|
423
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bg-slate-100 py-6">
|
|
3
|
+
<BaseContainer size="5xl">
|
|
4
|
+
<BaseHeader
|
|
5
|
+
title="Order #21496"
|
|
6
|
+
subtitle="August 6, 2023 at 1:56 pm from Online Store"
|
|
7
|
+
:max-actions="3"
|
|
8
|
+
:badge="{
|
|
9
|
+
icon: 'heroicons:check-circle-solid',
|
|
10
|
+
label: 'Paid',
|
|
11
|
+
color: 'blue',
|
|
12
|
+
}"
|
|
13
|
+
:actions="[
|
|
14
|
+
{ label: 'Refund', icon: 'heroicons:banknotes', action: () => showAlert('Refund') },
|
|
15
|
+
{ label: 'Edit', icon: 'heroicons:cog', action: () => showAlert('Edit') },
|
|
16
|
+
{ label: 'PDF', icon: 'heroicons:document', action: () => showAlert('PDF') },
|
|
17
|
+
{ label: 'Duplicate', icon: 'heroicons:document-duplicate', action: () => showAlert('Duplicate') },
|
|
18
|
+
{ label: 'Print', icon: 'heroicons:printer', action: () => showAlert('Print') },
|
|
19
|
+
{ label: 'Archive', icon: 'heroicons:trash', action: () => showAlert('Archive') },
|
|
20
|
+
]"
|
|
21
|
+
:breadcrumbs="[{ label: 'Home', to: '/' }, { label: 'Orders', to: '/orders' }, { label: '#21496', to: '/' }]"
|
|
22
|
+
class="mb-1"
|
|
23
|
+
/>
|
|
24
|
+
|
|
25
|
+
<BaseTabs
|
|
26
|
+
class="mb-4"
|
|
27
|
+
size="sm"
|
|
28
|
+
>
|
|
29
|
+
<BaseTabItem to="/">
|
|
30
|
+
General
|
|
31
|
+
</BaseTabItem>
|
|
32
|
+
<BaseTabItem to="/settings">
|
|
33
|
+
Transactions <BaseCounter :count="4" />
|
|
34
|
+
</BaseTabItem>
|
|
35
|
+
<BaseTabItem to="/setup">
|
|
36
|
+
Edit
|
|
37
|
+
</BaseTabItem>
|
|
38
|
+
</BaseTabs>
|
|
39
|
+
|
|
40
|
+
<div class="lg:flex lg:space-x-6 space-y-5 lg:space-y-0">
|
|
41
|
+
<div class="lg:grow lg:w-8/12">
|
|
42
|
+
<BaseCard class="mb-6">
|
|
43
|
+
<BaseCardRow size="sm">
|
|
44
|
+
<BaseBadge
|
|
45
|
+
color="yellow"
|
|
46
|
+
contrast="low"
|
|
47
|
+
bordered
|
|
48
|
+
icon="heroicons:inbox"
|
|
49
|
+
>
|
|
50
|
+
Unfulfilled (2)
|
|
51
|
+
</BaseBadge>
|
|
52
|
+
</BaseCardRow>
|
|
53
|
+
|
|
54
|
+
<BaseCardRow
|
|
55
|
+
v-for="i in 2"
|
|
56
|
+
:key="i"
|
|
57
|
+
size="sm"
|
|
58
|
+
>
|
|
59
|
+
<div class="flex space-x-3">
|
|
60
|
+
<div class="shrink-0">
|
|
61
|
+
<div class="h-10 w-10 bg-slate-500 rounded-md overflow-hidden">
|
|
62
|
+
<img
|
|
63
|
+
class="h-full w-full object-cover"
|
|
64
|
+
src="https://images.unsplash.com/photo-1568605114967-8130f3a36994?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=200&h=200&q=80"
|
|
65
|
+
>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="grow">
|
|
69
|
+
<div class="sm:flex space-y-0.5 sm:space-y-0 sm:space-x-3 text-sm mb-2">
|
|
70
|
+
<a
|
|
71
|
+
href="#"
|
|
72
|
+
class="text-blue-600 grow"
|
|
73
|
+
>Contemporaine Blanche- 2 chiffres (6'' à 24'')</a>
|
|
74
|
+
<p class="min-w-[70px] sm:text-right whitespace-nowrap">
|
|
75
|
+
$ 1,000.00 x 1
|
|
76
|
+
</p>
|
|
77
|
+
<p class="min-w-[70px] sm:text-right whitespace-nowrap">
|
|
78
|
+
$ 1,000.00
|
|
79
|
+
</p>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="space-y-1">
|
|
82
|
+
<p class="text-xs text-slate-600">
|
|
83
|
+
SKU: 5f918d672028b
|
|
84
|
+
</p>
|
|
85
|
+
<p class="text-xs text-slate-600">
|
|
86
|
+
<span class="text-slate-500">GPO</span>: 97829
|
|
87
|
+
</p>
|
|
88
|
+
<p class="text-xs text-slate-600">
|
|
89
|
+
<span class="text-slate-500">Numéro de porte</span>: 66
|
|
90
|
+
</p>
|
|
91
|
+
<p class="text-xs text-slate-600">
|
|
92
|
+
<span class="text-slate-500">Taille</span>: 6"
|
|
93
|
+
</p>
|
|
94
|
+
<p class="text-xs text-slate-600">
|
|
95
|
+
<span class="text-slate-500">Couleur</span>: Blanc
|
|
96
|
+
</p>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</BaseCardRow>
|
|
101
|
+
<BaseCardRow size="sm">
|
|
102
|
+
<div class="flex justify-end gap-2">
|
|
103
|
+
<button
|
|
104
|
+
type="button"
|
|
105
|
+
class="btn btn-xs"
|
|
106
|
+
>
|
|
107
|
+
Fulfill items
|
|
108
|
+
</button>
|
|
109
|
+
<button
|
|
110
|
+
type="button"
|
|
111
|
+
class="btn btn-xs btn-primary"
|
|
112
|
+
>
|
|
113
|
+
Create shipping label
|
|
114
|
+
</button>
|
|
115
|
+
</div>
|
|
116
|
+
</BaseCardRow>
|
|
117
|
+
</BaseCard>
|
|
118
|
+
|
|
119
|
+
<BaseCard class="mb-6">
|
|
120
|
+
<BaseCardRow size="sm">
|
|
121
|
+
<BaseBadge
|
|
122
|
+
color="green"
|
|
123
|
+
contrast="low"
|
|
124
|
+
bordered
|
|
125
|
+
icon="heroicons:banknotes"
|
|
126
|
+
>
|
|
127
|
+
Paid
|
|
128
|
+
</BaseBadge>
|
|
129
|
+
</BaseCardRow>
|
|
130
|
+
<BaseCardRow size="sm">
|
|
131
|
+
<table class="text-sm leading-relaxed w-full">
|
|
132
|
+
<tr>
|
|
133
|
+
<td>Subtotal</td>
|
|
134
|
+
<td class="text-slate-600">
|
|
135
|
+
2 items
|
|
136
|
+
</td>
|
|
137
|
+
<td class="text-right whitespace-nowrap">
|
|
138
|
+
$ 1,000.00
|
|
139
|
+
</td>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr>
|
|
142
|
+
<td>Shipping</td>
|
|
143
|
+
<td class="text-slate-600">
|
|
144
|
+
Standard
|
|
145
|
+
</td>
|
|
146
|
+
<td class="text-right whitespace-nowrap">
|
|
147
|
+
$ 0.00
|
|
148
|
+
</td>
|
|
149
|
+
</tr>
|
|
150
|
+
<tr>
|
|
151
|
+
<td>Taxes</td>
|
|
152
|
+
<td class="text-slate-600">
|
|
153
|
+
GST
|
|
154
|
+
</td>
|
|
155
|
+
<td class="text-right whitespace-nowrap">
|
|
156
|
+
$ 0.00
|
|
157
|
+
</td>
|
|
158
|
+
</tr>
|
|
159
|
+
<tr>
|
|
160
|
+
<td class="font-semibold">
|
|
161
|
+
Total
|
|
162
|
+
</td>
|
|
163
|
+
<td />
|
|
164
|
+
<td class="text-right font-semibold whitespace-nowrap">
|
|
165
|
+
$ 1,000.00
|
|
166
|
+
</td>
|
|
167
|
+
</tr>
|
|
168
|
+
<tr>
|
|
169
|
+
<td colspan="3">
|
|
170
|
+
<div class="border-t border-slate-300 my-4" />
|
|
171
|
+
</td>
|
|
172
|
+
</tr>
|
|
173
|
+
<tr>
|
|
174
|
+
<td>Paid by customer</td>
|
|
175
|
+
<td />
|
|
176
|
+
<td class="text-right">
|
|
177
|
+
$ 1,000.00
|
|
178
|
+
</td>
|
|
179
|
+
</tr>
|
|
180
|
+
</table>
|
|
181
|
+
</BaseCardRow>
|
|
182
|
+
</BaseCard>
|
|
183
|
+
|
|
184
|
+
<div>
|
|
185
|
+
<h2 class="font-semibold text-sm mb-4">
|
|
186
|
+
Timeline
|
|
187
|
+
</h2>
|
|
188
|
+
<BaseTimeline :items="timelineItems" />
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
|
|
192
|
+
<div class="lg:shrink-0 lg:w-4/12 space-y-4">
|
|
193
|
+
<BaseCard>
|
|
194
|
+
<BaseCardRow size="sm">
|
|
195
|
+
<div class="flex mb-6">
|
|
196
|
+
<div class="flex-grow">
|
|
197
|
+
<h2 class="font-medium mb-2 text-sm">
|
|
198
|
+
Notes
|
|
199
|
+
</h2>
|
|
200
|
+
<p class="text-slate-500 text-xs">
|
|
201
|
+
No notes from customer
|
|
202
|
+
</p>
|
|
203
|
+
</div>
|
|
204
|
+
<div class="shrink-0">
|
|
205
|
+
<button
|
|
206
|
+
type="button"
|
|
207
|
+
class="btn btn-white p-2"
|
|
208
|
+
>
|
|
209
|
+
<BaseIcon icon="heroicons:pencil-solid" />
|
|
210
|
+
</button>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
|
|
214
|
+
<div class="flex">
|
|
215
|
+
<div class="flex-grow">
|
|
216
|
+
<h2 class="font-medium mb-2 text-sm">
|
|
217
|
+
Additional details
|
|
218
|
+
</h2>
|
|
219
|
+
<p class="text-xs">
|
|
220
|
+
language: fr
|
|
221
|
+
</p>
|
|
222
|
+
</div>
|
|
223
|
+
<div class="shrink-0">
|
|
224
|
+
<button
|
|
225
|
+
type="button"
|
|
226
|
+
class="btn btn-white p-2"
|
|
227
|
+
>
|
|
228
|
+
<BaseIcon icon="heroicons:pencil-solid" />
|
|
229
|
+
</button>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
</BaseCardRow>
|
|
233
|
+
</BaseCard>
|
|
234
|
+
|
|
235
|
+
<BaseCard>
|
|
236
|
+
<BaseCardRow size="sm">
|
|
237
|
+
<div class="space-y-4">
|
|
238
|
+
<div>
|
|
239
|
+
<h2 class="font-medium mb-2 text-sm">
|
|
240
|
+
Customer
|
|
241
|
+
</h2>
|
|
242
|
+
<a
|
|
243
|
+
href="#"
|
|
244
|
+
class="text-blue-600 text-sm"
|
|
245
|
+
>John Doe</a>
|
|
246
|
+
<br>
|
|
247
|
+
<a
|
|
248
|
+
href="#"
|
|
249
|
+
class="text-blue-600 text-sm"
|
|
250
|
+
>2 orders</a>
|
|
251
|
+
</div>
|
|
252
|
+
|
|
253
|
+
<div>
|
|
254
|
+
<h2 class="font-medium mb-2 text-sm">
|
|
255
|
+
Contact information
|
|
256
|
+
</h2>
|
|
257
|
+
<div class="flex justify-between">
|
|
258
|
+
<a
|
|
259
|
+
href="mailto:john.doe@witify.io"
|
|
260
|
+
class="text-blue-600 text-sm"
|
|
261
|
+
>john.doe@witify.io</a>
|
|
262
|
+
<BaseClipboard
|
|
263
|
+
value="john.doe@witify.io"
|
|
264
|
+
class="shrink-0"
|
|
265
|
+
>
|
|
266
|
+
<BaseIcon
|
|
267
|
+
icon="heroicons:clipboard-solid"
|
|
268
|
+
class="text-slate-600"
|
|
269
|
+
/>
|
|
270
|
+
</BaseClipboard>
|
|
271
|
+
</div>
|
|
272
|
+
</div>
|
|
273
|
+
|
|
274
|
+
<div>
|
|
275
|
+
<h2 class="font-medium mb-2 text-sm">
|
|
276
|
+
Shipping address
|
|
277
|
+
</h2>
|
|
278
|
+
<div class="flex justify-between items-start">
|
|
279
|
+
<div>
|
|
280
|
+
<p class="text-sm mb-1">
|
|
281
|
+
Philippe Lamarche<br>
|
|
282
|
+
Gestion Philippe Lamarche Inc<br>
|
|
283
|
+
250 Rue Westgate<br>
|
|
284
|
+
Rosemère QC J7A 2E9<br>
|
|
285
|
+
Canada<br>
|
|
286
|
+
(514) 618-9961
|
|
287
|
+
</p>
|
|
288
|
+
<a
|
|
289
|
+
href="#"
|
|
290
|
+
class="text-blue-600 text-sm underline"
|
|
291
|
+
>View map</a>
|
|
292
|
+
</div>
|
|
293
|
+
<BaseClipboard
|
|
294
|
+
value="john.doe@witify.io"
|
|
295
|
+
class="shrink-0"
|
|
296
|
+
>
|
|
297
|
+
<BaseIcon
|
|
298
|
+
icon="heroicons:clipboard-solid"
|
|
299
|
+
class="text-slate-600"
|
|
300
|
+
/>
|
|
301
|
+
</BaseClipboard>
|
|
302
|
+
</div>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
</BaseCardRow>
|
|
306
|
+
</BaseCard>
|
|
307
|
+
|
|
308
|
+
<BaseCard>
|
|
309
|
+
<BaseCardRow size="sm">
|
|
310
|
+
<div>
|
|
311
|
+
<h2 class="font-medium mb-3 text-sm">
|
|
312
|
+
Conversion Summary
|
|
313
|
+
</h2>
|
|
314
|
+
|
|
315
|
+
<div class="space-y-1.5 mb-2">
|
|
316
|
+
<div class="flex space-x-2 items-center justify-between">
|
|
317
|
+
<BaseIcon
|
|
318
|
+
icon="heroicons:inbox-arrow-down-solid"
|
|
319
|
+
class="text-slate-600 shrink-0"
|
|
320
|
+
/>
|
|
321
|
+
<div class="grow">
|
|
322
|
+
<p class="text-sm">
|
|
323
|
+
This is their 2nd order
|
|
324
|
+
</p>
|
|
325
|
+
</div>
|
|
326
|
+
</div>
|
|
327
|
+
|
|
328
|
+
<div class="flex space-x-2 items-center justify-between">
|
|
329
|
+
<BaseIcon
|
|
330
|
+
icon="heroicons:eye-solid"
|
|
331
|
+
class="text-slate-600 shrink-0"
|
|
332
|
+
/>
|
|
333
|
+
<div class="grow">
|
|
334
|
+
<p class="text-sm">
|
|
335
|
+
1st session from Google
|
|
336
|
+
</p>
|
|
337
|
+
</div>
|
|
338
|
+
</div>
|
|
339
|
+
|
|
340
|
+
<div class="flex space-x-2 items-center justify-between">
|
|
341
|
+
<BaseIcon
|
|
342
|
+
icon="heroicons:chart-bar-square-solid"
|
|
343
|
+
class="text-slate-600 shrink-0"
|
|
344
|
+
/>
|
|
345
|
+
<div class="grow">
|
|
346
|
+
<p class="text-sm">
|
|
347
|
+
1 session over 1 day
|
|
348
|
+
</p>
|
|
349
|
+
</div>
|
|
350
|
+
</div>
|
|
351
|
+
</div>
|
|
352
|
+
|
|
353
|
+
<a
|
|
354
|
+
href="#"
|
|
355
|
+
class="text-blue-600 text-sm underline"
|
|
356
|
+
>View conversion details</a>
|
|
357
|
+
</div>
|
|
358
|
+
</BaseCardRow>
|
|
359
|
+
</BaseCard>
|
|
360
|
+
</div>
|
|
361
|
+
</div>
|
|
362
|
+
</BaseContainer>
|
|
363
|
+
|
|
364
|
+
<BaseAppSnackbars />
|
|
365
|
+
<BaseAppDialogs />
|
|
366
|
+
</div>
|
|
367
|
+
</template>
|
|
368
|
+
|
|
369
|
+
<script lang="ts" setup>
|
|
370
|
+
import { useSnackbarsStore } from '..';
|
|
371
|
+
|
|
372
|
+
import BaseCard from '@/components/BaseCard.vue';
|
|
373
|
+
import BaseCardRow from '@/components/BaseCardRow.vue';
|
|
374
|
+
import BaseHeader from '@/components/BaseHeader.vue';
|
|
375
|
+
import BaseTabs from '@/components/BaseTabs.vue';
|
|
376
|
+
import BaseBadge from '@/components/BaseBadge.vue';
|
|
377
|
+
import BaseCounter from '@/components/BaseCounter.vue';
|
|
378
|
+
import BaseTabItem from '@/components/BaseTabItem.vue';
|
|
379
|
+
import BaseTimeline from '@/components/BaseTimeline.vue';
|
|
380
|
+
import { BaseIcon } from '../components/index';
|
|
381
|
+
import BaseContainer from '@/components/BaseContainer.vue';
|
|
382
|
+
import BaseClipboard from '@/components/BaseClipboard.vue';
|
|
383
|
+
import BaseAppSnackbars from '@/components/BaseAppSnackbars.vue';
|
|
384
|
+
import BaseAppDialogs from '@/components/BaseAppDialogs.vue';
|
|
385
|
+
|
|
386
|
+
const timelineItems = [
|
|
387
|
+
{
|
|
388
|
+
title: 'Order placed',
|
|
389
|
+
description: 'Philippe Lamarche placed this order on Online Store (checkout #36886026060090).',
|
|
390
|
+
icon: 'heroicons:inbox-solid',
|
|
391
|
+
color: 'success',
|
|
392
|
+
date: '1:56 PM',
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
title: 'Confirmation created',
|
|
396
|
+
description: 'Confirmation #X9WH46CK5 was generated for this order.',
|
|
397
|
+
icon: 'heroicons:check-circle-solid',
|
|
398
|
+
color: null,
|
|
399
|
+
date: '1:56 PM',
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
title: 'Payment captured',
|
|
403
|
+
description: 'Payment of $1,000.00 was captured for this order.',
|
|
404
|
+
icon: 'heroicons:credit-card-solid',
|
|
405
|
+
color: null,
|
|
406
|
+
date: '1:56 PM',
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
title: 'Order fulfilled',
|
|
410
|
+
description: 'Order #21496 was fulfilled.',
|
|
411
|
+
icon: 'heroicons:check-circle-solid',
|
|
412
|
+
color: null,
|
|
413
|
+
date: '3:43 PM',
|
|
414
|
+
},
|
|
415
|
+
];
|
|
416
|
+
|
|
417
|
+
function showAlert(text: string) {
|
|
418
|
+
useSnackbarsStore().push({
|
|
419
|
+
title: text,
|
|
420
|
+
text: text,
|
|
421
|
+
color: 'success'
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
424
|
</script>
|