sprintify-ui 0.10.87 → 0.11.0
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/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
- package/dist/sprintify-ui.es.js +12480 -12553
- package/dist/style.css +2 -2
- package/dist/types/components/BaseActionItem.vue.d.ts +11 -5
- package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
- package/dist/types/components/BaseAlert.vue.d.ts +3 -21
- package/dist/types/components/BaseApp.vue.d.ts +2 -9
- package/dist/types/components/BaseAutocomplete.vue.d.ts +19 -643
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +21 -104
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +26 -1045
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/BaseBadge.vue.d.ts +3 -20
- package/dist/types/components/BaseBelongsTo.vue.d.ts +19 -1022
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +10 -745
- package/dist/types/components/BaseButton.vue.d.ts +6 -77
- package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -159
- package/dist/types/components/BaseCard.vue.d.ts +2 -23
- package/dist/types/components/BaseCardRow.vue.d.ts +2 -16
- package/dist/types/components/BaseCkeditor.vue.d.ts +1 -1
- package/dist/types/components/BaseClipboard.vue.d.ts +2 -42
- package/dist/types/components/BaseCollapse.vue.d.ts +2 -26
- package/dist/types/components/BaseContainer.vue.d.ts +2 -12
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCropper.vue.d.ts +3 -35
- package/dist/types/components/BaseDataIterator.vue.d.ts +18 -11
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +2 -10
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +2 -16
- package/dist/types/components/BaseDataTable.vue.d.ts +54 -2141
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +2 -584
- package/dist/types/components/BaseDatePicker.vue.d.ts +2 -2
- package/dist/types/components/BaseDescriptionList.vue.d.ts +2 -7
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +2 -9
- package/dist/types/components/BaseDialog.vue.d.ts +3 -110
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +2 -51
- package/dist/types/components/BaseDraggable.vue.d.ts +2 -18
- package/dist/types/components/BaseDropdown.vue.d.ts +2 -147
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +3 -124
- package/dist/types/components/BaseField.vue.d.ts +3 -99
- package/dist/types/components/BaseFilePicker.vue.d.ts +2 -28
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +2 -80
- package/dist/types/components/BaseFileUploader.vue.d.ts +3 -173
- package/dist/types/components/BaseForm.vue.d.ts +3 -150
- package/dist/types/components/BaseGantt.vue.d.ts +40 -1141
- package/dist/types/components/BaseHasMany.vue.d.ts +18 -577
- package/dist/types/components/BaseHasManyFetch.vue.d.ts +3 -589
- package/dist/types/components/BaseInput.vue.d.ts +3 -3
- package/dist/types/components/BaseInputError.vue.d.ts +2 -19
- package/dist/types/components/BaseInputPercent.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +2 -112
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +2 -113
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +2 -52
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +2 -117
- package/dist/types/components/BaseLazy.vue.d.ts +2 -13
- package/dist/types/components/BaseMediaGallery.vue.d.ts +3 -3
- package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +3 -207
- package/dist/types/components/BaseMediaList.vue.d.ts +3 -3
- package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPictures.vue.d.ts +3 -3
- package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMenu.vue.d.ts +2 -209
- package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
- package/dist/types/components/BaseModalCenter.vue.d.ts +2 -83
- package/dist/types/components/BaseModalSide.vue.d.ts +2 -80
- package/dist/types/components/BaseNavbar.vue.d.ts +2 -83
- package/dist/types/components/BasePassword.vue.d.ts +1 -1
- package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -107
- package/dist/types/components/BaseReadMore.vue.d.ts +2 -28
- package/dist/types/components/BaseRichText.vue.d.ts +1 -1
- package/dist/types/components/BaseSelect.vue.d.ts +4 -148
- package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
- package/dist/types/components/BaseSideNavigation.vue.d.ts +2 -7
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +3 -19
- package/dist/types/components/BaseSkeleton.vue.d.ts +1 -1
- package/dist/types/components/BaseSwitch.vue.d.ts +3 -120
- package/dist/types/components/BaseSystemAlert.vue.d.ts +3 -55
- package/dist/types/components/BaseTabItem.vue.d.ts +4 -27
- package/dist/types/components/BaseTable.vue.d.ts +3 -24
- package/dist/types/components/BaseTableBody.vue.d.ts +2 -4
- package/dist/types/components/BaseTableCell.vue.d.ts +6 -36
- package/dist/types/components/BaseTableColumn.vue.d.ts +4 -4
- package/dist/types/components/BaseTableHead.vue.d.ts +2 -9
- package/dist/types/components/BaseTableHeader.vue.d.ts +4 -40
- package/dist/types/components/BaseTableRow.vue.d.ts +4 -38
- package/dist/types/components/BaseTabs.vue.d.ts +2 -16
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +25 -571
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -796
- package/dist/types/components/BaseTextarea.vue.d.ts +1 -1
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
- package/dist/types/components/BaseTimePicker.vue.d.ts +1 -1
- package/dist/types/components/BaseTooltip.vue.d.ts +2 -35
- package/dist/types/services/gantt/types.d.ts +18 -8
- package/package.json +6 -9
- package/src/changelog.mdx +1 -1
- package/src/components/BaseAssign.mdx +1 -1
- package/src/components/BaseAutocomplete.stories.js +10 -0
- package/src/components/BaseAutocomplete.vue +11 -1
- package/src/components/BaseAutocompleteDrawer.vue +52 -1
- package/src/components/BaseAutocompleteFetch.stories.js +6 -0
- package/src/components/BaseAutocompleteFetch.vue +15 -0
- package/src/components/BaseBelongsTo.stories.js +5 -0
- package/src/components/BaseBelongsTo.vue +10 -0
- package/src/components/BaseBelongsToFetch.stories.js +6 -0
- package/src/components/BaseBelongsToFetch.vue +9 -0
- package/src/components/BaseForm.mdx +1 -1
- package/src/components/BaseGantt.mdx +79 -0
- package/src/components/BaseGantt.stories.js +25 -10
- package/src/components/BaseGantt.vue +192 -58
- package/src/components/BaseHasMany.stories.js +5 -0
- package/src/components/BaseHasMany.vue +10 -0
- package/src/components/BaseHasManyFetch.stories.js +12 -0
- package/src/components/BaseTagAutocomplete.stories.js +5 -0
- package/src/components/BaseTagAutocomplete.vue +34 -1
- package/src/components/BaseTagAutocompleteFetch.stories.js +6 -0
- package/src/services/gantt/format.ts +30 -7
- package/src/services/gantt/types.ts +18 -8
|
@@ -1,38 +1,24 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { NormalizedOption } from '@/types';
|
|
3
|
-
import BaseSkeleton from './BaseSkeleton.vue';
|
|
4
|
-
import { Icon as BaseIcon } from '@iconify/vue';
|
|
5
|
-
import BaseSpinnerSmall from '../svg/BaseSpinnerSmall.vue';
|
|
6
|
-
import { t } from '@/i18n';
|
|
2
|
+
import { NormalizedOption, RawOption } from '@/types';
|
|
7
3
|
import { Size } from '@/utils/sizes';
|
|
8
|
-
declare const drawerRef: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
9
|
-
declare const focusOption: import("vue").ComputedRef<NormalizedOption>;
|
|
10
|
-
declare function onSelect(option: NormalizedOption): void;
|
|
11
|
-
declare function isSelected(option: NormalizedOption): boolean;
|
|
12
4
|
declare function onKeydown(event: KeyboardEvent): void;
|
|
13
|
-
declare const onOptionMouseEnter: (index: number) => void;
|
|
14
|
-
declare const onOptionMouseMove: import("lodash").DebouncedFuncLeading<(index: number) => void>;
|
|
15
|
-
declare const optionClass: (option: NormalizedOption) => "bg-white" | "bg-slate-200";
|
|
16
|
-
declare const optionSizeClass: import("vue").ComputedRef<"text-xs" | "text-sm">;
|
|
17
|
-
declare const optionIconClass: import("vue").ComputedRef<"w-4 h-4" | "w-5 h-5">;
|
|
18
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
19
5
|
declare var __VLS_1: {}, __VLS_3: {
|
|
20
|
-
option:
|
|
6
|
+
option: RawOption | null;
|
|
21
7
|
value: import("@/types").OptionValue;
|
|
22
8
|
label: string;
|
|
23
9
|
selected: boolean;
|
|
24
10
|
active: boolean;
|
|
25
|
-
},
|
|
11
|
+
}, __VLS_16: {
|
|
26
12
|
options: NormalizedOption[];
|
|
27
13
|
};
|
|
28
|
-
type __VLS_Slots =
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
29
15
|
empty?: (props: typeof __VLS_1) => any;
|
|
30
16
|
} & {
|
|
31
17
|
option?: (props: typeof __VLS_3) => any;
|
|
32
18
|
} & {
|
|
33
|
-
footer?: (props: typeof
|
|
34
|
-
}
|
|
35
|
-
declare const
|
|
19
|
+
footer?: (props: typeof __VLS_16) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
36
22
|
selected: {
|
|
37
23
|
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
38
24
|
default: undefined;
|
|
@@ -57,92 +43,13 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
57
43
|
type: PropType<Size>;
|
|
58
44
|
default: string;
|
|
59
45
|
};
|
|
60
|
-
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
}>, {
|
|
65
|
-
BaseSkeleton: typeof BaseSkeleton;
|
|
66
|
-
BaseIcon: typeof BaseIcon;
|
|
67
|
-
BaseSpinnerSmall: typeof BaseSpinnerSmall;
|
|
68
|
-
t: typeof t;
|
|
69
|
-
drawerRef: typeof drawerRef;
|
|
70
|
-
focusOption: typeof focusOption;
|
|
71
|
-
onSelect: typeof onSelect;
|
|
72
|
-
isSelected: typeof isSelected;
|
|
73
|
-
onOptionMouseEnter: typeof onOptionMouseEnter;
|
|
74
|
-
onOptionMouseMove: typeof onOptionMouseMove;
|
|
75
|
-
optionClass: typeof optionClass;
|
|
76
|
-
optionSizeClass: typeof optionSizeClass;
|
|
77
|
-
optionIconClass: typeof optionIconClass;
|
|
78
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
79
|
-
select: (...args: any[]) => void;
|
|
80
|
-
scrollBottom: (...args: any[]) => void;
|
|
81
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
82
|
-
selected: {
|
|
83
|
-
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
46
|
+
optionColor: {
|
|
84
47
|
default: undefined;
|
|
48
|
+
type: PropType<(option: RawOption) => string>;
|
|
85
49
|
};
|
|
86
|
-
|
|
87
|
-
type: PropType<NormalizedOption[]>;
|
|
88
|
-
default(): never[];
|
|
89
|
-
};
|
|
90
|
-
keywords: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
loading: {
|
|
95
|
-
type: BooleanConstructor;
|
|
96
|
-
default: boolean;
|
|
97
|
-
};
|
|
98
|
-
loadingBottom: {
|
|
99
|
-
type: BooleanConstructor;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
|
-
size: {
|
|
103
|
-
type: PropType<Size>;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
|
-
twDrawer: {
|
|
107
|
-
type: StringConstructor;
|
|
108
|
-
default: string;
|
|
109
|
-
};
|
|
110
|
-
}>> & Readonly<{
|
|
111
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
112
|
-
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
113
|
-
}>, {
|
|
114
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
115
|
-
options: NormalizedOption[];
|
|
116
|
-
loading: boolean;
|
|
117
|
-
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
118
|
-
keywords: string;
|
|
119
|
-
loadingBottom: boolean;
|
|
120
|
-
twDrawer: string;
|
|
121
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
122
|
-
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
123
|
-
selected: {
|
|
124
|
-
type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
|
|
50
|
+
optionIcon: {
|
|
125
51
|
default: undefined;
|
|
126
|
-
|
|
127
|
-
options: {
|
|
128
|
-
type: PropType<NormalizedOption[]>;
|
|
129
|
-
default(): never[];
|
|
130
|
-
};
|
|
131
|
-
keywords: {
|
|
132
|
-
type: StringConstructor;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
135
|
-
loading: {
|
|
136
|
-
type: BooleanConstructor;
|
|
137
|
-
default: boolean;
|
|
138
|
-
};
|
|
139
|
-
loadingBottom: {
|
|
140
|
-
type: BooleanConstructor;
|
|
141
|
-
default: boolean;
|
|
142
|
-
};
|
|
143
|
-
size: {
|
|
144
|
-
type: PropType<Size>;
|
|
145
|
-
default: string;
|
|
52
|
+
type: PropType<(option: RawOption) => string>;
|
|
146
53
|
};
|
|
147
54
|
twDrawer: {
|
|
148
55
|
type: StringConstructor;
|
|
@@ -178,6 +85,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
178
85
|
type: PropType<Size>;
|
|
179
86
|
default: string;
|
|
180
87
|
};
|
|
88
|
+
optionColor: {
|
|
89
|
+
default: undefined;
|
|
90
|
+
type: PropType<(option: RawOption) => string>;
|
|
91
|
+
};
|
|
92
|
+
optionIcon: {
|
|
93
|
+
default: undefined;
|
|
94
|
+
type: PropType<(option: RawOption) => string>;
|
|
95
|
+
};
|
|
181
96
|
twDrawer: {
|
|
182
97
|
type: StringConstructor;
|
|
183
98
|
default: string;
|
|
@@ -192,6 +107,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
192
107
|
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
193
108
|
keywords: string;
|
|
194
109
|
loadingBottom: boolean;
|
|
110
|
+
optionColor: (option: RawOption) => string;
|
|
111
|
+
optionIcon: (option: RawOption) => string;
|
|
195
112
|
twDrawer: string;
|
|
196
113
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
197
114
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|