sprintify-ui 0.6.80 → 0.6.82
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/dist/sprintify-ui.es.js +15698 -15581
- package/dist/style.css +1 -1
- package/dist/types/components/BaseActionItem.vue.d.ts +31 -0
- package/dist/types/components/BaseActionItemButton.vue.d.ts +32 -0
- package/dist/types/components/BaseAddressForm.vue.d.ts +92 -0
- package/dist/types/components/BaseAlert.vue.d.ts +61 -0
- package/dist/types/{src/components → components}/BaseApp.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseAppDialogs.vue.d.ts +2 -2
- package/dist/types/components/BaseAppNotifications.vue.d.ts +2 -0
- package/dist/types/{src/components → components}/BaseAutocomplete.vue.d.ts +18 -18
- package/dist/types/{src/components → components}/BaseAutocompleteDrawer.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseAutocompleteFetch.vue.d.ts +13 -13
- package/dist/types/{src/components → components}/BaseAvatar.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseAvatarGroup.vue.d.ts +2 -2
- package/dist/types/components/BaseBadge.vue.d.ts +60 -0
- package/dist/types/{src/components → components}/BaseBelongsTo.vue.d.ts +8 -8
- package/dist/types/{src/components → components}/BaseBelongsToFetch.vue.d.ts +8 -8
- package/dist/types/components/BaseBoolean.vue.d.ts +15 -0
- package/dist/types/{src/components → components}/BaseBreadcrumbs.vue.d.ts +1 -1
- package/dist/types/components/BaseButton.vue.d.ts +95 -0
- package/dist/types/{src/components → components}/BaseButtonGroup.vue.d.ts +7 -7
- package/dist/types/{src/components → components}/BaseCalendar.vue.d.ts +19 -19
- package/dist/types/{src/components → components}/BaseCard.vue.d.ts +1 -1
- package/dist/types/components/BaseCardRow.vue.d.ts +42 -0
- package/dist/types/{src/components → components}/BaseCharacterCounter.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseClipboard.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseColor.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseContainer.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseCounter.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseCropper.vue.d.ts +25 -42
- package/dist/types/components/BaseCropperModal.vue.d.ts +27 -0
- package/dist/types/{src/components → components}/BaseDataIterator.vue.d.ts +1 -1
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +23 -0
- package/dist/types/components/BaseDataIteratorSectionButton.vue.d.ts +23 -0
- package/dist/types/{src/components → components}/BaseDataIteratorSectionColumns.vue.d.ts +257 -173
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +29 -0
- package/dist/types/{src/components → components}/BaseDataTable.vue.d.ts +7 -7
- package/dist/types/components/BaseDataTableRowAction.vue.d.ts +35 -0
- package/dist/types/{src/components → components}/BaseDataTableTemplate.vue.d.ts +12 -12
- package/dist/types/components/BaseDatePicker.vue.d.ts +99 -0
- package/dist/types/{src/components → components}/BaseDateSelect.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseDescriptionList.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseDescriptionListItem.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseDialog.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseDisplayRelativeTime.vue.d.ts +2 -2
- package/dist/types/components/BaseDraggable.vue.d.ts +36 -0
- package/dist/types/{src/components → components}/BaseDropdown.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseDropdownAutocomplete.vue.d.ts +8 -8
- package/dist/types/{src/components → components}/BaseField.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseFieldI18n.vue.d.ts +5 -5
- package/dist/types/components/BaseFilePicker.vue.d.ts +69 -0
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +62 -0
- package/dist/types/components/BaseFileUploader.vue.d.ts +122 -0
- package/dist/types/{src/components → components}/BaseForm.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseGantt.vue.d.ts +141 -120
- package/dist/types/{src/components → components}/BaseHasMany.vue.d.ts +2 -2
- package/dist/types/components/BaseHeader.vue.d.ts +78 -0
- package/dist/types/components/BaseIconPicker.vue.d.ts +43 -0
- package/dist/types/{src/components → components}/BaseInput.vue.d.ts +15 -15
- package/dist/types/{src/components → components}/BaseInputError.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseInputLabel.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseInputPercent.vue.d.ts +8 -8
- package/dist/types/{src/components → components}/BaseLayoutNotificationDropdown.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseLayoutNotificationItem.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +18 -0
- package/dist/types/{src/components → components}/BaseLayoutSidebar.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseLayoutSidebarConfigurable.vue.d.ts +3 -3
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +59 -0
- package/dist/types/{src/components → components}/BaseLayoutStackedConfigurable.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseLoadingCover.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaGallery.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaGalleryItem.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseMediaItem.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseMediaLibrary.vue.d.ts +10 -10
- package/dist/types/{src/components → components}/BaseMediaList.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaListItem.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaPictures.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaPicturesItem.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseMediaPreview.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseMenu.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseMenuItem.vue.d.ts +6 -6
- package/dist/types/{src/components → components}/BaseModalCenter.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseModalSide.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseNavbar.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseNavbarItem.vue.d.ts +11 -2
- package/dist/types/{src/components → components}/BaseNavbarItemContent.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseNavbarSideItem.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseNavbarSideItemContent.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BasePagination.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BasePanel.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BasePassword.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseProgressCircle.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseRadioGroup.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseReadMore.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseRichText.vue.d.ts +7 -7
- package/dist/types/{src/components → components}/BaseScrollColumn.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseSelect.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseShortcut.vue.d.ts +5 -5
- package/dist/types/components/BaseSideNavigation.vue.d.ts +36 -0
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +46 -0
- package/dist/types/{src/components → components}/BaseSkeleton.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseStatistic.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseStepper.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseStepperItem.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseSwitch.vue.d.ts +8 -8
- package/dist/types/{src/components → components}/BaseSystemAlert.vue.d.ts +4 -4
- package/dist/types/components/BaseTabItem.vue.d.ts +46 -0
- package/dist/types/components/BaseTable.vue.d.ts +58 -0
- package/dist/types/{src/components → components}/BaseTableBody.vue.d.ts +1 -1
- package/dist/types/components/BaseTableCell.vue.d.ts +68 -0
- package/dist/types/{src/components → components}/BaseTableColumn.vue.d.ts +9 -9
- package/dist/types/components/BaseTableHead.vue.d.ts +36 -0
- package/dist/types/components/BaseTableHeader.vue.d.ts +47 -0
- package/dist/types/components/BaseTableRow.vue.d.ts +66 -0
- package/dist/types/components/BaseTabs.vue.d.ts +36 -0
- package/dist/types/{src/components → components}/BaseTagAutocomplete.vue.d.ts +13 -13
- package/dist/types/{src/components → components}/BaseTagAutocompleteFetch.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseTextarea.vue.d.ts +7 -7
- package/dist/types/{src/components → components}/BaseTextareaAutoresize.vue.d.ts +8 -8
- package/dist/types/{src/components → components}/BaseTimePicker.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseTimeline.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseTimelineItem.vue.d.ts +1 -1
- package/dist/types/components/BaseToast.vue.d.ts +17 -0
- package/dist/types/components/BaseTooltip.vue.d.ts +47 -0
- package/dist/types/{src/components → components}/BaseUniqueCode.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/SlotComponent.d.ts +1 -1
- package/dist/types/{src/services → services}/gantt/format.d.ts +4 -4
- package/dist/types/{src/services → services}/gantt/timescale.d.ts +2 -2
- package/dist/types/stories/PageInputSizes.vue.d.ts +2 -0
- package/dist/types/stories/PageShow.vue.d.ts +2 -0
- package/dist/types/svg/BaseEmptyState.vue.d.ts +2 -0
- package/dist/types/svg/BaseSpinnerLarge.vue.d.ts +2 -0
- package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +2 -0
- package/dist/types/{src/types → types}/index.d.ts +1 -0
- package/package.json +58 -58
- package/src/components/BaseActionItem.vue +2 -1
- package/src/components/BaseLayoutNotificationItem.vue +1 -1
- package/src/components/BaseNavbarItem.vue +25 -2
- package/src/components/BaseTimePicker.vue +3 -1
- package/src/types/index.ts +1 -0
- package/dist/types/src/components/BaseActionItem.vue.d.ts +0 -32
- package/dist/types/src/components/BaseActionItemButton.vue.d.ts +0 -25
- package/dist/types/src/components/BaseAddressForm.vue.d.ts +0 -121
- package/dist/types/src/components/BaseAlert.vue.d.ts +0 -68
- package/dist/types/src/components/BaseAppNotifications.vue.d.ts +0 -2
- package/dist/types/src/components/BaseBadge.vue.d.ts +0 -69
- package/dist/types/src/components/BaseBoolean.vue.d.ts +0 -10
- package/dist/types/src/components/BaseButton.vue.d.ts +0 -120
- package/dist/types/src/components/BaseCardRow.vue.d.ts +0 -33
- package/dist/types/src/components/BaseCropperModal.vue.d.ts +0 -28
- package/dist/types/src/components/BaseDataIteratorSectionBox.vue.d.ts +0 -20
- package/dist/types/src/components/BaseDataIteratorSectionButton.vue.d.ts +0 -25
- package/dist/types/src/components/BaseDataIteratorSectionModal.vue.d.ts +0 -32
- package/dist/types/src/components/BaseDataTableRowAction.vue.d.ts +0 -32
- package/dist/types/src/components/BaseDatePicker.vue.d.ts +0 -136
- package/dist/types/src/components/BaseDraggable.vue.d.ts +0 -51
- package/dist/types/src/components/BaseFilePicker.vue.d.ts +0 -74
- package/dist/types/src/components/BaseFilePickerCrop.vue.d.ts +0 -65
- package/dist/types/src/components/BaseFileUploader.vue.d.ts +0 -147
- package/dist/types/src/components/BaseHeader.vue.d.ts +0 -93
- package/dist/types/src/components/BaseIconPicker.vue.d.ts +0 -36
- package/dist/types/src/components/BaseLayoutNotificationItemContent.vue.d.ts +0 -21
- package/dist/types/src/components/BaseLayoutStacked.vue.d.ts +0 -56
- package/dist/types/src/components/BaseSideNavigation.vue.d.ts +0 -21
- package/dist/types/src/components/BaseSideNavigationItem.vue.d.ts +0 -41
- package/dist/types/src/components/BaseTabItem.vue.d.ts +0 -41
- package/dist/types/src/components/BaseTable.vue.d.ts +0 -59
- package/dist/types/src/components/BaseTableCell.vue.d.ts +0 -77
- package/dist/types/src/components/BaseTableHead.vue.d.ts +0 -21
- package/dist/types/src/components/BaseTableHeader.vue.d.ts +0 -40
- package/dist/types/src/components/BaseTableRow.vue.d.ts +0 -67
- package/dist/types/src/components/BaseTabs.vue.d.ts +0 -21
- package/dist/types/src/components/BaseToast.vue.d.ts +0 -20
- package/dist/types/src/components/BaseTooltip.vue.d.ts +0 -40
- package/dist/types/src/stories/PageInputSizes.vue.d.ts +0 -2
- package/dist/types/src/stories/PageShow.vue.d.ts +0 -2
- package/dist/types/src/svg/BaseEmptyState.vue.d.ts +0 -2
- package/dist/types/src/svg/BaseSpinnerLarge.vue.d.ts +0 -2
- package/dist/types/src/svg/BaseSpinnerSmall.vue.d.ts +0 -2
- /package/dist/types/{src/components → components}/index.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/breakpoints.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/clickOutside.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/field.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/hasOptions.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/inputSize.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/mediaQuery.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/modal.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/paginatedData.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/tooltip.d.ts +0 -0
- /package/dist/types/{src/constants → constants}/MyConstants.d.ts +0 -0
- /package/dist/types/{src/constants → constants}/index.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/index.d.ts +0 -0
- /package/dist/types/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/types/{src/services → services}/gantt/types.d.ts +0 -0
- /package/dist/types/{src/services → services}/table/classes.d.ts +0 -0
- /package/dist/types/{src/services → services}/table/types.d.ts +0 -0
- /package/dist/types/{src/stores → stores}/dialogs.d.ts +0 -0
- /package/dist/types/{src/stores → stores}/i18n.d.ts +0 -0
- /package/dist/types/{src/stores → stores}/notifications.d.ts +0 -0
- /package/dist/types/{src/stores → stores}/systemAlerts.d.ts +0 -0
- /package/dist/types/{src/types → types}/CalendarEvent.d.ts +0 -0
- /package/dist/types/{src/types → types}/Color.d.ts +0 -0
- /package/dist/types/{src/types → types}/Country.d.ts +0 -0
- /package/dist/types/{src/types → types}/ImagePickerResult.d.ts +0 -0
- /package/dist/types/{src/types → types}/Media.d.ts +0 -0
- /package/dist/types/{src/types → types}/Notification.d.ts +0 -0
- /package/dist/types/{src/types → types}/Region.d.ts +0 -0
- /package/dist/types/{src/types → types}/Status.d.ts +0 -0
- /package/dist/types/{src/types → types}/StepperItem.d.ts +0 -0
- /package/dist/types/{src/types → types}/TimelineItem.d.ts +0 -0
- /package/dist/types/{src/types → types}/UploadedFile.d.ts +0 -0
- /package/dist/types/{src/types → types}/User.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/blob.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/colors.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/cropper/avatar.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/cropper/cover.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/cropper/presetInterface.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/cropper/presets.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/fileSizeFormat.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/fileValidations.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/getApiData.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/index.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/resizeImageFromURI.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/scrollPreventer.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/sizes.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/slots.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/toHumanList.d.ts +0 -0
|
@@ -54,11 +54,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
focus: typeof focus;
|
|
55
55
|
blur: typeof blur;
|
|
56
56
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
|
-
input: (...args: any[]) => void;
|
|
58
|
-
submit: (...args: any[]) => void;
|
|
59
57
|
focus: (...args: any[]) => void;
|
|
60
58
|
"update:modelValue": (...args: any[]) => void;
|
|
61
|
-
|
|
59
|
+
submit: (...args: any[]) => void;
|
|
60
|
+
input: (...args: any[]) => void;
|
|
61
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
62
|
modelValue: {
|
|
63
63
|
default: string;
|
|
64
64
|
type: PropType<string | null>;
|
|
@@ -108,20 +108,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
108
108
|
type: PropType<string | string[]>;
|
|
109
109
|
};
|
|
110
110
|
}>> & {
|
|
111
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
111
112
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
112
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
113
113
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
114
|
-
|
|
114
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
required: boolean;
|
|
117
|
-
name: string;
|
|
118
|
-
size: "xs" | "sm" | "md";
|
|
119
117
|
modelValue: string | null;
|
|
118
|
+
size: "xs" | "sm" | "md";
|
|
119
|
+
name: string;
|
|
120
120
|
placeholder: string;
|
|
121
121
|
disabled: boolean;
|
|
122
122
|
hasError: boolean;
|
|
123
|
-
rows: number;
|
|
124
123
|
maxHeight: number;
|
|
124
|
+
rows: number;
|
|
125
125
|
submitOnEnter: boolean;
|
|
126
126
|
twTextarea: string | string[];
|
|
127
127
|
}, {}>;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
};
|
|
23
23
|
placeholder: {
|
|
24
|
-
default: string;
|
|
24
|
+
default(): string;
|
|
25
25
|
type: StringConstructor;
|
|
26
26
|
};
|
|
27
27
|
required: {
|
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
};
|
|
51
51
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
52
52
|
"update:modelValue": (...args: any[]) => void;
|
|
53
|
-
}, string, import("vue").
|
|
53
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
54
|
modelValue: {
|
|
55
55
|
default: undefined;
|
|
56
56
|
type: PropType<string | null | undefined>;
|
|
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
type: StringConstructor;
|
|
73
73
|
};
|
|
74
74
|
placeholder: {
|
|
75
|
-
default: string;
|
|
75
|
+
default(): string;
|
|
76
76
|
type: StringConstructor;
|
|
77
77
|
};
|
|
78
78
|
required: {
|
|
@@ -104,9 +104,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
}, {
|
|
105
105
|
class: string | string[];
|
|
106
106
|
required: boolean;
|
|
107
|
-
name: string;
|
|
108
|
-
size: "xs" | "sm" | "md";
|
|
109
107
|
modelValue: string | null | undefined;
|
|
108
|
+
size: "xs" | "sm" | "md";
|
|
109
|
+
name: string;
|
|
110
110
|
placeholder: string;
|
|
111
111
|
disabled: boolean;
|
|
112
112
|
hasError: boolean;
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
required: true;
|
|
6
6
|
type: PropType<TimelineItem[]>;
|
|
7
7
|
};
|
|
8
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
items: {
|
|
10
10
|
required: true;
|
|
11
11
|
type: PropType<TimelineItem[]>;
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
required: true;
|
|
6
6
|
type: PropType<TimelineItem>;
|
|
7
7
|
};
|
|
8
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
item: {
|
|
10
10
|
required: true;
|
|
11
11
|
type: PropType<TimelineItem>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
text: string;
|
|
3
|
+
color: string;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
+
text: string;
|
|
6
|
+
color: string;
|
|
7
|
+
}>>>, {}, {}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToOption<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
visible?: boolean | undefined;
|
|
3
|
+
text?: string | null | undefined;
|
|
4
|
+
class?: string | string[] | null | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
visible: boolean;
|
|
7
|
+
text: null;
|
|
8
|
+
class: null;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
|
+
visible?: boolean | undefined;
|
|
11
|
+
text?: string | null | undefined;
|
|
12
|
+
class?: string | string[] | null | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
visible: boolean;
|
|
15
|
+
text: null;
|
|
16
|
+
class: null;
|
|
17
|
+
}>>>, {
|
|
18
|
+
class: string | string[] | null;
|
|
19
|
+
text: string | null;
|
|
20
|
+
visible: boolean;
|
|
21
|
+
}, {}>, {
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
tooltip?(_: {}): any;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToOption<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (...args: any[]) => void;
|
|
17
|
-
}, string, import("vue").
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
modelValue: {
|
|
19
19
|
required: true;
|
|
20
20
|
type: PropType<string | number | null>;
|
|
@@ -19,7 +19,7 @@ declare const _default: DefineComponent<{
|
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
22
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
component: {
|
|
24
24
|
type: ObjectConstructor;
|
|
25
25
|
required: true;
|
|
@@ -6,8 +6,8 @@ export declare class Format {
|
|
|
6
6
|
constructor(config: FormatConfig);
|
|
7
7
|
handle(): {
|
|
8
8
|
rows: GanttRowFormatted[];
|
|
9
|
-
min: DateTime
|
|
10
|
-
max: DateTime
|
|
9
|
+
min: DateTime<true> | DateTime<false>;
|
|
10
|
+
max: DateTime<true> | DateTime<false>;
|
|
11
11
|
millisecondToPixel: number;
|
|
12
12
|
height: number;
|
|
13
13
|
width: number;
|
|
@@ -19,7 +19,7 @@ export declare class Format {
|
|
|
19
19
|
formatGanttRow(row: GanttRow): GanttRowFormatted;
|
|
20
20
|
formatGanttItem(item: GanttItem): GanttItemFormatted;
|
|
21
21
|
getMinMax(rowsFormatted: GanttRowFormatted[]): {
|
|
22
|
-
min: DateTime
|
|
23
|
-
max: DateTime
|
|
22
|
+
min: DateTime<true> | DateTime<false>;
|
|
23
|
+
max: DateTime<true> | DateTime<false>;
|
|
24
24
|
};
|
|
25
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sprintify-ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.82",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build-fast": "rimraf dist && vite build",
|
|
@@ -38,90 +38,90 @@
|
|
|
38
38
|
"vue-router": "^4.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@floating-ui/vue": "^1.0.
|
|
42
|
-
"@fullcalendar/core": "^6.1.
|
|
43
|
-
"@fullcalendar/daygrid": "^6.1.
|
|
44
|
-
"@fullcalendar/interaction": "^6.1.
|
|
45
|
-
"@fullcalendar/list": "^6.1.
|
|
46
|
-
"@fullcalendar/multimonth": "^6.1.
|
|
47
|
-
"@fullcalendar/timegrid": "^6.1.
|
|
48
|
-
"@fullcalendar/vue3": "^6.1.
|
|
49
|
-
"@headlessui/vue": "^1.7.
|
|
50
|
-
"color2k": "^2.0.
|
|
51
|
-
"tailwind-merge": "^1.
|
|
41
|
+
"@floating-ui/vue": "^1.0.6",
|
|
42
|
+
"@fullcalendar/core": "^6.1.11",
|
|
43
|
+
"@fullcalendar/daygrid": "^6.1.11",
|
|
44
|
+
"@fullcalendar/interaction": "^6.1.11",
|
|
45
|
+
"@fullcalendar/list": "^6.1.11",
|
|
46
|
+
"@fullcalendar/multimonth": "^6.1.11",
|
|
47
|
+
"@fullcalendar/timegrid": "^6.1.11",
|
|
48
|
+
"@fullcalendar/vue3": "^6.1.11",
|
|
49
|
+
"@headlessui/vue": "^1.7.19",
|
|
50
|
+
"color2k": "^2.0.3",
|
|
51
|
+
"tailwind-merge": "^1.14.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@babel/core": "^7.
|
|
55
|
-
"@commitlint/cli": "^17.
|
|
56
|
-
"@commitlint/config-conventional": "^17.
|
|
57
|
-
"@iconify/vue": "^4.1.
|
|
54
|
+
"@babel/core": "^7.24.0",
|
|
55
|
+
"@commitlint/cli": "^17.8.1",
|
|
56
|
+
"@commitlint/config-conventional": "^17.8.1",
|
|
57
|
+
"@iconify/vue": "^4.1.1",
|
|
58
58
|
"@storybook/addon-actions": "^7.2.1",
|
|
59
|
-
"@storybook/addon-essentials": "^7.
|
|
60
|
-
"@storybook/addon-interactions": "^7.
|
|
61
|
-
"@storybook/addon-links": "^7.
|
|
59
|
+
"@storybook/addon-essentials": "^7.6.17",
|
|
60
|
+
"@storybook/addon-interactions": "^7.6.17",
|
|
61
|
+
"@storybook/addon-links": "^7.6.17",
|
|
62
62
|
"@storybook/manager-api": "^7.2.1",
|
|
63
|
-
"@storybook/testing-library": "^0.2.
|
|
63
|
+
"@storybook/testing-library": "^0.2.2",
|
|
64
64
|
"@storybook/theming": "^7.2.1",
|
|
65
65
|
"@storybook/vue3": "^7.2.1",
|
|
66
|
-
"@storybook/vue3-vite": "^7.
|
|
66
|
+
"@storybook/vue3-vite": "^7.6.17",
|
|
67
67
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
68
|
-
"@tailwindcss/forms": "^0.5.
|
|
69
|
-
"@tailwindcss/typography": "^0.5.
|
|
70
|
-
"@types/croppie": "^2.6.
|
|
71
|
-
"@types/google.maps": "^3.
|
|
72
|
-
"@types/humanize-duration": "^3.27.
|
|
73
|
-
"@types/luxon": "^3.2
|
|
68
|
+
"@tailwindcss/forms": "^0.5.7",
|
|
69
|
+
"@tailwindcss/typography": "^0.5.10",
|
|
70
|
+
"@types/croppie": "^2.6.4",
|
|
71
|
+
"@types/google.maps": "^3.55.4",
|
|
72
|
+
"@types/humanize-duration": "^3.27.4",
|
|
73
|
+
"@types/luxon": "^3.4.2",
|
|
74
74
|
"@types/object-hash": "^2.2.1",
|
|
75
|
-
"@types/qs": "^6.9.
|
|
76
|
-
"@types/scroll-lock": "^2.1.
|
|
77
|
-
"@types/sortablejs": "^1.15.
|
|
78
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
79
|
-
"@typescript-eslint/parser": "^
|
|
80
|
-
"@vitejs/plugin-vue": "^4.
|
|
81
|
-
"@vue/eslint-config-typescript": "^
|
|
82
|
-
"@vueup/vue-quill": "^1.
|
|
83
|
-
"@vueuse/core": "^10.0
|
|
84
|
-
"autoprefixer": "^10.4.
|
|
75
|
+
"@types/qs": "^6.9.12",
|
|
76
|
+
"@types/scroll-lock": "^2.1.3",
|
|
77
|
+
"@types/sortablejs": "^1.15.8",
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "^7.3.0",
|
|
79
|
+
"@typescript-eslint/parser": "^7.3.0",
|
|
80
|
+
"@vitejs/plugin-vue": "^4.6.2",
|
|
81
|
+
"@vue/eslint-config-typescript": "^13.0.0",
|
|
82
|
+
"@vueup/vue-quill": "^1.2.0",
|
|
83
|
+
"@vueuse/core": "^10.9.0",
|
|
84
|
+
"autoprefixer": "^10.4.18",
|
|
85
85
|
"axios": "^0.26.1",
|
|
86
86
|
"babel-loader": "^8.3.0",
|
|
87
87
|
"croppie": "^2.6.5",
|
|
88
88
|
"cz-conventional-changelog": "^3.3.0",
|
|
89
|
-
"eslint": "^8.
|
|
90
|
-
"eslint-plugin-import": "^2.
|
|
91
|
-
"eslint-plugin-storybook": "^0.6.
|
|
92
|
-
"eslint-plugin-vue": "^9.
|
|
93
|
-
"eslint-plugin-vue-scoped-css": "^2.
|
|
89
|
+
"eslint": "^8.57.0",
|
|
90
|
+
"eslint-plugin-import": "^2.29.1",
|
|
91
|
+
"eslint-plugin-storybook": "^0.6.15",
|
|
92
|
+
"eslint-plugin-vue": "^9.23.0",
|
|
93
|
+
"eslint-plugin-vue-scoped-css": "^2.7.2",
|
|
94
94
|
"flatpickr": "^4.6.13",
|
|
95
|
-
"humanize-duration": "^3.
|
|
95
|
+
"humanize-duration": "^3.31.0",
|
|
96
96
|
"husky": "^8.0.3",
|
|
97
97
|
"lodash": "^4.17.21",
|
|
98
|
-
"luxon": "^3.
|
|
99
|
-
"maska": "^2.1.
|
|
98
|
+
"luxon": "^3.4.4",
|
|
99
|
+
"maska": "^2.1.11",
|
|
100
100
|
"object-hash": "^3.0.0",
|
|
101
|
-
"object-to-formdata": "^4.
|
|
102
|
-
"pinia": "^2.
|
|
103
|
-
"postcss": "^8.4.
|
|
101
|
+
"object-to-formdata": "^4.5.1",
|
|
102
|
+
"pinia": "^2.1.7",
|
|
103
|
+
"postcss": "^8.4.36",
|
|
104
104
|
"postcss-import": "^15.1.0",
|
|
105
|
-
"qs": "^6.
|
|
105
|
+
"qs": "^6.12.0",
|
|
106
106
|
"react": "^18.2.0",
|
|
107
107
|
"react-dom": "^18.2.0",
|
|
108
108
|
"relative-deps": "^1.0.7",
|
|
109
109
|
"rimraf": "^3.0.2",
|
|
110
110
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
111
111
|
"scroll-lock": "^2.1.5",
|
|
112
|
-
"sortablejs": "^1.15.
|
|
112
|
+
"sortablejs": "^1.15.2",
|
|
113
113
|
"standard-version": "^9.5.0",
|
|
114
|
-
"storybook": "^7.
|
|
115
|
-
"storybook-addon-mock": "^4.
|
|
116
|
-
"tailwindcss": "^3.
|
|
117
|
-
"typescript": "^4.
|
|
114
|
+
"storybook": "^7.6.17",
|
|
115
|
+
"storybook-addon-mock": "^4.3.0",
|
|
116
|
+
"tailwindcss": "^3.4.1",
|
|
117
|
+
"typescript": "^5.4.2",
|
|
118
118
|
"unplugin-auto-import": "^0.12.2",
|
|
119
|
-
"vite": "^4.
|
|
119
|
+
"vite": "^4.5.2",
|
|
120
120
|
"vitepress": "^0.21.6",
|
|
121
121
|
"vue": "^3.2.47",
|
|
122
|
-
"vue-loader": "^17.
|
|
123
|
-
"vue-router": "^4.
|
|
124
|
-
"vue-tsc": "^
|
|
122
|
+
"vue-loader": "^17.4.2",
|
|
123
|
+
"vue-router": "^4.3.0",
|
|
124
|
+
"vue-tsc": "^2.0.6"
|
|
125
125
|
},
|
|
126
126
|
"files": [
|
|
127
127
|
"src",
|
|
@@ -68,8 +68,9 @@ const closeMenu = inject('closeMenu', () => {
|
|
|
68
68
|
const emit = defineEmits(['click']);
|
|
69
69
|
|
|
70
70
|
type asyncFunc = () => Promise<void>;
|
|
71
|
+
type func = () => void;
|
|
71
72
|
|
|
72
|
-
async function onClick(func: asyncFunc | null = null) {
|
|
73
|
+
async function onClick(func: func | asyncFunc | null = null) {
|
|
73
74
|
if (func) {
|
|
74
75
|
await func();
|
|
75
76
|
}
|
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
</BaseActionItem>
|
|
19
19
|
<div
|
|
20
20
|
v-if="item.actions && item.actions.length"
|
|
21
|
-
class="
|
|
21
|
+
:class="dropdownClasses"
|
|
22
22
|
:style="{
|
|
23
|
+
width: `${dropdownWidth}px`,
|
|
23
24
|
top: `${height - 3}px`,
|
|
24
25
|
}"
|
|
25
26
|
>
|
|
@@ -56,8 +57,9 @@ import { ActionItem } from '@/types';
|
|
|
56
57
|
import BaseActionItem from './BaseActionItem.vue';
|
|
57
58
|
import BaseNavbarItemContent from './BaseNavbarItemContent.vue';
|
|
58
59
|
import BaseMenuItem from './BaseMenuItem.vue';
|
|
60
|
+
import { twMerge } from 'tailwind-merge';
|
|
59
61
|
|
|
60
|
-
defineProps({
|
|
62
|
+
const props = defineProps({
|
|
61
63
|
item: {
|
|
62
64
|
required: true,
|
|
63
65
|
type: Object as PropType<ActionItem>,
|
|
@@ -70,6 +72,10 @@ defineProps({
|
|
|
70
72
|
default: 'md',
|
|
71
73
|
type: String as PropType<'xs' | 'sm' | 'md'>,
|
|
72
74
|
},
|
|
75
|
+
twDropdown: {
|
|
76
|
+
default: undefined,
|
|
77
|
+
type: [String, Array] as PropType<string | string[]>,
|
|
78
|
+
},
|
|
73
79
|
});
|
|
74
80
|
|
|
75
81
|
const height = inject('navbar:height') as Ref<number>;
|
|
@@ -82,4 +88,21 @@ async function onClick() {
|
|
|
82
88
|
emit('click');
|
|
83
89
|
closeMenu();
|
|
84
90
|
}
|
|
91
|
+
|
|
92
|
+
const dropdownWidth = computed(() => {
|
|
93
|
+
if (props.item.meta?.dropdownWidth) {
|
|
94
|
+
return props.item.meta.dropdownWidth;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return 256;
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
const dropdownClasses = computed(() => {
|
|
101
|
+
return twMerge(
|
|
102
|
+
'absolute ring-1 ring-black ring-opacity-10 shadow-lg rounded-md invisible p-1 left-0 bg-white duration-100 opacity-0 translate-y-1',
|
|
103
|
+
'group-hover:visible group-hover:opacity-100 group-hover:translate-y-0',
|
|
104
|
+
props.twDropdown
|
|
105
|
+
);
|
|
106
|
+
});
|
|
107
|
+
|
|
85
108
|
</script>
|
package/src/types/index.ts
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ActionItem } from '@/types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
item: {
|
|
4
|
-
type: import("vue").PropType<ActionItem>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
class: {
|
|
8
|
-
type: import("vue").PropType<string | string[] | null>;
|
|
9
|
-
};
|
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
click: (...args: any[]) => void;
|
|
12
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
item: {
|
|
14
|
-
type: import("vue").PropType<ActionItem>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
class: {
|
|
18
|
-
type: import("vue").PropType<string | string[] | null>;
|
|
19
|
-
};
|
|
20
|
-
}>> & {
|
|
21
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}, {}, {}>, {
|
|
23
|
-
default?(_: {
|
|
24
|
-
active: boolean;
|
|
25
|
-
}): any;
|
|
26
|
-
}>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
-
new (): {
|
|
30
|
-
$slots: S;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ActionItem } from '@/types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
item: {
|
|
4
|
-
type: import("vue").PropType<ActionItem>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
size: {
|
|
8
|
-
type: import("vue").PropType<"sm" | "md" | "lg">;
|
|
9
|
-
required: true;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
item: {
|
|
14
|
-
type: import("vue").PropType<ActionItem>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
size: {
|
|
18
|
-
type: import("vue").PropType<"sm" | "md" | "lg">;
|
|
19
|
-
required: true;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
}>>, {
|
|
23
|
-
size: 'sm' | 'md' | 'lg';
|
|
24
|
-
}, {}>;
|
|
25
|
-
export default _default;
|