sprintify-ui 0.10.88 → 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 +12566 -12743
- 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 +4 -712
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +2 -125
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +12 -1115
- 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 +4 -1091
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +6 -795
- 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 +3 -598
- 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 +4 -636
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -844
- 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/BaseAutocompleteFetch.vue +5 -0
- package/src/components/BaseBelongsToFetch.vue +3 -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/services/gantt/format.ts +30 -7
- package/src/services/gantt/types.ts +18 -8
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { UploadedFile } from '@/types/UploadedFile';
|
|
3
2
|
import { Media } from '@/types/Media';
|
|
4
3
|
import { BaseCropperConfig, MediaLibraryPayload } from '@/types';
|
|
5
|
-
import BaseFileUploader from './BaseFileUploader.vue';
|
|
6
|
-
import { BaseIcon } from '.';
|
|
7
|
-
import BaseMediaList from './BaseMediaList.vue';
|
|
8
|
-
import BaseMediaPictures from './BaseMediaPictures.vue';
|
|
9
|
-
import BaseMediaGallery from './BaseMediaGallery.vue';
|
|
10
|
-
import { t } from '@/i18n';
|
|
11
|
-
declare const normalizedModelValue: import("vue").ComputedRef<MediaLibraryPayload>;
|
|
12
|
-
declare const normalizedMax: import("vue").ComputedRef<number>;
|
|
13
|
-
declare const maxFileText: import("vue").ComputedRef<string>;
|
|
14
|
-
declare const maxFileSize: import("vue").ComputedRef<string>;
|
|
15
|
-
declare function onSuccess(files: UploadedFile[]): void;
|
|
16
|
-
declare const disabledInternal: import("vue").ComputedRef<boolean>;
|
|
17
4
|
declare function promptRemove(index: number, length?: number): void;
|
|
18
5
|
declare function sync(modelValue: MediaLibraryPayload): void;
|
|
19
|
-
declare function onStart(event: unknown): void;
|
|
20
|
-
declare function onFail(event: unknown): void;
|
|
21
|
-
declare function onEnd(event: unknown): void;
|
|
22
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
23
6
|
declare var __VLS_11: {
|
|
24
7
|
maxSize: number;
|
|
25
8
|
max: number;
|
|
@@ -43,198 +26,11 @@ declare var __VLS_11: {
|
|
|
43
26
|
remove: typeof promptRemove;
|
|
44
27
|
'onUpdate:modelValue': typeof sync;
|
|
45
28
|
};
|
|
46
|
-
type __VLS_Slots =
|
|
29
|
+
type __VLS_Slots = {} & {
|
|
47
30
|
default?: (props: typeof __VLS_11) => any;
|
|
48
31
|
} & {
|
|
49
32
|
list?: (props: typeof __VLS_17) => any;
|
|
50
|
-
}
|
|
51
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
52
|
-
modelValue: {
|
|
53
|
-
default: undefined;
|
|
54
|
-
type: PropType<MediaLibraryPayload>;
|
|
55
|
-
};
|
|
56
|
-
name: {
|
|
57
|
-
default: undefined;
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
};
|
|
60
|
-
min: {
|
|
61
|
-
type: NumberConstructor;
|
|
62
|
-
default: undefined;
|
|
63
|
-
};
|
|
64
|
-
max: {
|
|
65
|
-
default: undefined;
|
|
66
|
-
type: NumberConstructor;
|
|
67
|
-
};
|
|
68
|
-
maxSize: {
|
|
69
|
-
default: number;
|
|
70
|
-
type: NumberConstructor;
|
|
71
|
-
};
|
|
72
|
-
accept: {
|
|
73
|
-
default: undefined;
|
|
74
|
-
type: StringConstructor;
|
|
75
|
-
};
|
|
76
|
-
acceptedExtensions: {
|
|
77
|
-
default: undefined;
|
|
78
|
-
type: PropType<string[]>;
|
|
79
|
-
};
|
|
80
|
-
currentMedia: {
|
|
81
|
-
default(): never[];
|
|
82
|
-
type: PropType<Media[]>;
|
|
83
|
-
};
|
|
84
|
-
uploadUrl: {
|
|
85
|
-
default: undefined;
|
|
86
|
-
type: StringConstructor;
|
|
87
|
-
};
|
|
88
|
-
hasError: {
|
|
89
|
-
default: boolean;
|
|
90
|
-
type: BooleanConstructor;
|
|
91
|
-
};
|
|
92
|
-
disabled: {
|
|
93
|
-
default: boolean;
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
};
|
|
96
|
-
pickerComponent: {
|
|
97
|
-
default: string;
|
|
98
|
-
type: PropType<"BaseFilePicker" | "BaseFilePickerCrop">;
|
|
99
|
-
};
|
|
100
|
-
cropper: {
|
|
101
|
-
default: undefined;
|
|
102
|
-
type: PropType<BaseCropperConfig | boolean | null>;
|
|
103
|
-
};
|
|
104
|
-
draggable: {
|
|
105
|
-
default: boolean;
|
|
106
|
-
type: BooleanConstructor;
|
|
107
|
-
};
|
|
108
|
-
multiple: {
|
|
109
|
-
default: boolean;
|
|
110
|
-
type: BooleanConstructor;
|
|
111
|
-
};
|
|
112
|
-
listProps: {
|
|
113
|
-
default: undefined;
|
|
114
|
-
type: PropType<Record<string, unknown>>;
|
|
115
|
-
};
|
|
116
|
-
layout: {
|
|
117
|
-
default: string;
|
|
118
|
-
type: PropType<"list" | "images" | "gallery">;
|
|
119
|
-
};
|
|
120
|
-
}>, {
|
|
121
|
-
BaseFileUploader: typeof BaseFileUploader;
|
|
122
|
-
BaseIcon: typeof BaseIcon;
|
|
123
|
-
BaseMediaList: typeof BaseMediaList;
|
|
124
|
-
BaseMediaPictures: typeof BaseMediaPictures;
|
|
125
|
-
BaseMediaGallery: typeof BaseMediaGallery;
|
|
126
|
-
t: typeof t;
|
|
127
|
-
normalizedModelValue: typeof normalizedModelValue;
|
|
128
|
-
normalizedMax: typeof normalizedMax;
|
|
129
|
-
maxFileText: typeof maxFileText;
|
|
130
|
-
maxFileSize: typeof maxFileSize;
|
|
131
|
-
onSuccess: typeof onSuccess;
|
|
132
|
-
disabledInternal: typeof disabledInternal;
|
|
133
|
-
promptRemove: typeof promptRemove;
|
|
134
|
-
sync: typeof sync;
|
|
135
|
-
onStart: typeof onStart;
|
|
136
|
-
onFail: typeof onFail;
|
|
137
|
-
onEnd: typeof onEnd;
|
|
138
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
139
|
-
start: (...args: any[]) => void;
|
|
140
|
-
end: (...args: any[]) => void;
|
|
141
|
-
success: (...args: any[]) => void;
|
|
142
|
-
"update:modelValue": (...args: any[]) => void;
|
|
143
|
-
fail: (...args: any[]) => void;
|
|
144
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
145
|
-
modelValue: {
|
|
146
|
-
default: undefined;
|
|
147
|
-
type: PropType<MediaLibraryPayload>;
|
|
148
|
-
};
|
|
149
|
-
name: {
|
|
150
|
-
default: undefined;
|
|
151
|
-
type: StringConstructor;
|
|
152
|
-
};
|
|
153
|
-
min: {
|
|
154
|
-
type: NumberConstructor;
|
|
155
|
-
default: undefined;
|
|
156
|
-
};
|
|
157
|
-
max: {
|
|
158
|
-
default: undefined;
|
|
159
|
-
type: NumberConstructor;
|
|
160
|
-
};
|
|
161
|
-
maxSize: {
|
|
162
|
-
default: number;
|
|
163
|
-
type: NumberConstructor;
|
|
164
|
-
};
|
|
165
|
-
accept: {
|
|
166
|
-
default: undefined;
|
|
167
|
-
type: StringConstructor;
|
|
168
|
-
};
|
|
169
|
-
acceptedExtensions: {
|
|
170
|
-
default: undefined;
|
|
171
|
-
type: PropType<string[]>;
|
|
172
|
-
};
|
|
173
|
-
currentMedia: {
|
|
174
|
-
default(): never[];
|
|
175
|
-
type: PropType<Media[]>;
|
|
176
|
-
};
|
|
177
|
-
uploadUrl: {
|
|
178
|
-
default: undefined;
|
|
179
|
-
type: StringConstructor;
|
|
180
|
-
};
|
|
181
|
-
hasError: {
|
|
182
|
-
default: boolean;
|
|
183
|
-
type: BooleanConstructor;
|
|
184
|
-
};
|
|
185
|
-
disabled: {
|
|
186
|
-
default: boolean;
|
|
187
|
-
type: BooleanConstructor;
|
|
188
|
-
};
|
|
189
|
-
pickerComponent: {
|
|
190
|
-
default: string;
|
|
191
|
-
type: PropType<"BaseFilePicker" | "BaseFilePickerCrop">;
|
|
192
|
-
};
|
|
193
|
-
cropper: {
|
|
194
|
-
default: undefined;
|
|
195
|
-
type: PropType<BaseCropperConfig | boolean | null>;
|
|
196
|
-
};
|
|
197
|
-
draggable: {
|
|
198
|
-
default: boolean;
|
|
199
|
-
type: BooleanConstructor;
|
|
200
|
-
};
|
|
201
|
-
multiple: {
|
|
202
|
-
default: boolean;
|
|
203
|
-
type: BooleanConstructor;
|
|
204
|
-
};
|
|
205
|
-
listProps: {
|
|
206
|
-
default: undefined;
|
|
207
|
-
type: PropType<Record<string, unknown>>;
|
|
208
|
-
};
|
|
209
|
-
layout: {
|
|
210
|
-
default: string;
|
|
211
|
-
type: PropType<"list" | "images" | "gallery">;
|
|
212
|
-
};
|
|
213
|
-
}>> & Readonly<{
|
|
214
|
-
onStart?: ((...args: any[]) => any) | undefined;
|
|
215
|
-
onEnd?: ((...args: any[]) => any) | undefined;
|
|
216
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
217
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
218
|
-
onFail?: ((...args: any[]) => any) | undefined;
|
|
219
|
-
}>, {
|
|
220
|
-
disabled: boolean;
|
|
221
|
-
name: string;
|
|
222
|
-
modelValue: MediaLibraryPayload;
|
|
223
|
-
hasError: boolean;
|
|
224
|
-
min: number;
|
|
225
|
-
max: number;
|
|
226
|
-
cropper: boolean | BaseCropperConfig | null;
|
|
227
|
-
multiple: boolean;
|
|
228
|
-
layout: "list" | "gallery" | "images";
|
|
229
|
-
draggable: boolean;
|
|
230
|
-
maxSize: number;
|
|
231
|
-
accept: string;
|
|
232
|
-
acceptedExtensions: string[];
|
|
233
|
-
currentMedia: Media[];
|
|
234
|
-
uploadUrl: string;
|
|
235
|
-
pickerComponent: "BaseFilePicker" | "BaseFilePickerCrop";
|
|
236
|
-
listProps: Record<string, unknown>;
|
|
237
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
};
|
|
238
34
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
239
35
|
modelValue: {
|
|
240
36
|
default: undefined;
|
|
@@ -386,6 +182,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
386
182
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
387
183
|
onFail?: ((...args: any[]) => any) | undefined;
|
|
388
184
|
}>, {
|
|
185
|
+
draggable: boolean;
|
|
389
186
|
disabled: boolean;
|
|
390
187
|
name: string;
|
|
391
188
|
modelValue: MediaLibraryPayload;
|
|
@@ -395,7 +192,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
395
192
|
cropper: boolean | BaseCropperConfig | null;
|
|
396
193
|
multiple: boolean;
|
|
397
194
|
layout: "list" | "gallery" | "images";
|
|
398
|
-
draggable: boolean;
|
|
399
195
|
maxSize: number;
|
|
400
196
|
accept: string;
|
|
401
197
|
acceptedExtensions: string[];
|
|
@@ -19,8 +19,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
};
|
|
21
21
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (...args: any[]) => void;
|
|
23
22
|
remove: (...args: any[]) => void;
|
|
23
|
+
"update:modelValue": (...args: any[]) => void;
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
modelValue: {
|
|
26
26
|
required: true;
|
|
@@ -39,11 +39,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
39
39
|
type: BooleanConstructor;
|
|
40
40
|
};
|
|
41
41
|
}>> & Readonly<{
|
|
42
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
43
42
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
|
-
disabled: boolean;
|
|
46
45
|
draggable: boolean;
|
|
46
|
+
disabled: boolean;
|
|
47
47
|
showRemove: boolean;
|
|
48
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
export default _default;
|
|
@@ -42,8 +42,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
42
42
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
|
-
disabled: boolean;
|
|
46
45
|
draggable: boolean;
|
|
46
|
+
disabled: boolean;
|
|
47
47
|
showRemove: boolean;
|
|
48
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
export default _default;
|
|
@@ -23,8 +23,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
23
|
type: NumberConstructor;
|
|
24
24
|
};
|
|
25
25
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (...args: any[]) => void;
|
|
27
26
|
remove: (...args: any[]) => void;
|
|
27
|
+
"update:modelValue": (...args: any[]) => void;
|
|
28
28
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
modelValue: {
|
|
30
30
|
required: true;
|
|
@@ -47,12 +47,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
47
|
type: NumberConstructor;
|
|
48
48
|
};
|
|
49
49
|
}>> & Readonly<{
|
|
50
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
51
50
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
+
draggable: boolean;
|
|
53
54
|
size: number;
|
|
54
55
|
disabled: boolean;
|
|
55
|
-
draggable: boolean;
|
|
56
56
|
showRemove: boolean;
|
|
57
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
export default _default;
|
|
@@ -48,9 +48,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
48
48
|
}>> & Readonly<{
|
|
49
49
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
|
+
draggable: boolean;
|
|
51
52
|
size: number;
|
|
52
53
|
disabled: boolean;
|
|
53
|
-
draggable: boolean;
|
|
54
54
|
showRemove: boolean;
|
|
55
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
56
|
export default _default;
|
|
@@ -1,143 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue';
|
|
3
|
-
import BaseMenuItem from './BaseMenuItem.vue';
|
|
4
|
-
import { twMerge } from 'tailwind-merge';
|
|
5
2
|
import { ActionItem } from '@/types';
|
|
6
|
-
declare const buttonWrapRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
7
|
-
declare const menuItemsRef: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
as: {
|
|
9
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
static: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
unmount: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
id: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: null;
|
|
23
|
-
};
|
|
24
|
-
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
29
|
-
id: string;
|
|
30
|
-
as: string | Record<string, any>;
|
|
31
|
-
unmount: boolean;
|
|
32
|
-
static: boolean;
|
|
33
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
34
|
-
P: {};
|
|
35
|
-
B: {};
|
|
36
|
-
D: {};
|
|
37
|
-
C: {};
|
|
38
|
-
M: {};
|
|
39
|
-
Defaults: {};
|
|
40
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
-
as: {
|
|
42
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
static: {
|
|
46
|
-
type: BooleanConstructor;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
unmount: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
id: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
default: null;
|
|
56
|
-
};
|
|
57
|
-
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
58
|
-
[key: string]: any;
|
|
59
|
-
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
60
|
-
[key: string]: any;
|
|
61
|
-
}>[] | null, {}, {}, {}, {
|
|
62
|
-
id: string;
|
|
63
|
-
as: string | Record<string, any>;
|
|
64
|
-
unmount: boolean;
|
|
65
|
-
static: boolean;
|
|
66
|
-
}> | null, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
-
as: {
|
|
68
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
static: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
unmount: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
id: {
|
|
80
|
-
type: StringConstructor;
|
|
81
|
-
default: null;
|
|
82
|
-
};
|
|
83
|
-
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
84
|
-
[key: string]: any;
|
|
85
|
-
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
86
|
-
[key: string]: any;
|
|
87
|
-
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
88
|
-
id: string;
|
|
89
|
-
as: string | Record<string, any>;
|
|
90
|
-
unmount: boolean;
|
|
91
|
-
static: boolean;
|
|
92
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
93
|
-
P: {};
|
|
94
|
-
B: {};
|
|
95
|
-
D: {};
|
|
96
|
-
C: {};
|
|
97
|
-
M: {};
|
|
98
|
-
Defaults: {};
|
|
99
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
100
|
-
as: {
|
|
101
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
102
|
-
default: string;
|
|
103
|
-
};
|
|
104
|
-
static: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
default: boolean;
|
|
107
|
-
};
|
|
108
|
-
unmount: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
112
|
-
id: {
|
|
113
|
-
type: StringConstructor;
|
|
114
|
-
default: null;
|
|
115
|
-
};
|
|
116
|
-
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
117
|
-
[key: string]: any;
|
|
118
|
-
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
119
|
-
[key: string]: any;
|
|
120
|
-
}>[] | null, {}, {}, {}, {
|
|
121
|
-
id: string;
|
|
122
|
-
as: string | Record<string, any>;
|
|
123
|
-
unmount: boolean;
|
|
124
|
-
static: boolean;
|
|
125
|
-
}> | null>;
|
|
126
|
-
declare const floatingStyles: Readonly<import("vue").Ref<{
|
|
127
|
-
position: import("@floating-ui/utils").Strategy;
|
|
128
|
-
top: string;
|
|
129
|
-
left: string;
|
|
130
|
-
transform?: string;
|
|
131
|
-
willChange?: string;
|
|
132
|
-
}, {
|
|
133
|
-
position: import("@floating-ui/utils").Strategy;
|
|
134
|
-
top: string;
|
|
135
|
-
left: string;
|
|
136
|
-
transform?: string;
|
|
137
|
-
willChange?: string;
|
|
138
|
-
}>>;
|
|
139
|
-
declare const widthStyle: import("vue").ComputedRef<string | undefined>;
|
|
140
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
141
3
|
declare var __VLS_10: {
|
|
142
4
|
open: any;
|
|
143
5
|
}, __VLS_24: {
|
|
@@ -150,7 +12,7 @@ declare var __VLS_10: {
|
|
|
150
12
|
item: ActionItem;
|
|
151
13
|
active: any;
|
|
152
14
|
};
|
|
153
|
-
type __VLS_Slots =
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
154
16
|
button?: (props: typeof __VLS_10) => any;
|
|
155
17
|
} & {
|
|
156
18
|
items?: (props: typeof __VLS_24) => any;
|
|
@@ -160,76 +22,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
160
22
|
item?: (props: typeof __VLS_47) => any;
|
|
161
23
|
} & {
|
|
162
24
|
item?: (props: typeof __VLS_60) => any;
|
|
163
|
-
}
|
|
164
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
165
|
-
items: {
|
|
166
|
-
default: undefined;
|
|
167
|
-
type: PropType<ActionItem[]>;
|
|
168
|
-
};
|
|
169
|
-
placement: {
|
|
170
|
-
default: string;
|
|
171
|
-
type: PropType<"bottom-end" | "bottom-start" | "bottom" | "top" | "top-start" | "top-end">;
|
|
172
|
-
};
|
|
173
|
-
size: {
|
|
174
|
-
default: string;
|
|
175
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
176
|
-
};
|
|
177
|
-
width: {
|
|
178
|
-
default: undefined;
|
|
179
|
-
type: PropType<number | null | undefined>;
|
|
180
|
-
};
|
|
181
|
-
twMenu: {
|
|
182
|
-
default: string;
|
|
183
|
-
type: PropType<string | string[]>;
|
|
184
|
-
};
|
|
185
|
-
twButton: {
|
|
186
|
-
default: string;
|
|
187
|
-
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
188
|
-
};
|
|
189
|
-
}>, {
|
|
190
|
-
Menu: typeof Menu;
|
|
191
|
-
MenuButton: typeof MenuButton;
|
|
192
|
-
MenuItem: typeof MenuItem;
|
|
193
|
-
MenuItems: typeof MenuItems;
|
|
194
|
-
BaseMenuItem: typeof BaseMenuItem;
|
|
195
|
-
twMerge: typeof twMerge;
|
|
196
|
-
buttonWrapRef: typeof buttonWrapRef;
|
|
197
|
-
menuItemsRef: typeof menuItemsRef;
|
|
198
|
-
floatingStyles: typeof floatingStyles;
|
|
199
|
-
widthStyle: typeof widthStyle;
|
|
200
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
201
|
-
items: {
|
|
202
|
-
default: undefined;
|
|
203
|
-
type: PropType<ActionItem[]>;
|
|
204
|
-
};
|
|
205
|
-
placement: {
|
|
206
|
-
default: string;
|
|
207
|
-
type: PropType<"bottom-end" | "bottom-start" | "bottom" | "top" | "top-start" | "top-end">;
|
|
208
|
-
};
|
|
209
|
-
size: {
|
|
210
|
-
default: string;
|
|
211
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
212
|
-
};
|
|
213
|
-
width: {
|
|
214
|
-
default: undefined;
|
|
215
|
-
type: PropType<number | null | undefined>;
|
|
216
|
-
};
|
|
217
|
-
twMenu: {
|
|
218
|
-
default: string;
|
|
219
|
-
type: PropType<string | string[]>;
|
|
220
|
-
};
|
|
221
|
-
twButton: {
|
|
222
|
-
default: string;
|
|
223
|
-
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
224
|
-
};
|
|
225
|
-
}>> & Readonly<{}>, {
|
|
226
|
-
size: "xs" | "sm" | "md";
|
|
227
|
-
width: number | null | undefined;
|
|
228
|
-
items: ActionItem[];
|
|
229
|
-
placement: "bottom-end" | "bottom-start" | "bottom" | "top" | "top-start" | "top-end";
|
|
230
|
-
twMenu: string | string[];
|
|
231
|
-
twButton: string | Record<string, any> | unknown[];
|
|
232
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
};
|
|
233
26
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
234
27
|
items: {
|
|
235
28
|
default: undefined;
|
|
@@ -69,9 +69,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
69
|
}>> & Readonly<{}>, {
|
|
70
70
|
active: boolean;
|
|
71
71
|
label: string;
|
|
72
|
+
color: ActionColors;
|
|
72
73
|
size: "xs" | "sm" | "md";
|
|
73
74
|
icon: string;
|
|
74
|
-
color: ActionColors;
|
|
75
75
|
count: number;
|
|
76
76
|
description: string;
|
|
77
77
|
disabled: boolean;
|
|
@@ -1,91 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { twMerge } from 'tailwind-merge';
|
|
3
|
-
declare const modal: {
|
|
4
|
-
close: () => void;
|
|
5
|
-
refuseAnimation: () => void;
|
|
6
|
-
animationClasses: import("vue").Ref<string, string>;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
9
2
|
declare var __VLS_17: {
|
|
10
3
|
close: () => void;
|
|
11
4
|
};
|
|
12
|
-
type __VLS_Slots =
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
13
6
|
default?: (props: typeof __VLS_17) => any;
|
|
14
|
-
}
|
|
15
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
16
|
-
modelValue: {
|
|
17
|
-
default: boolean;
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
};
|
|
20
|
-
verticalAlign: {
|
|
21
|
-
default: string;
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
};
|
|
24
|
-
closeOnOutsideClick: {
|
|
25
|
-
default: boolean;
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
};
|
|
28
|
-
maxWidth: {
|
|
29
|
-
default: string;
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
};
|
|
32
|
-
showCloseButton: {
|
|
33
|
-
default: boolean;
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
};
|
|
36
|
-
clipped: {
|
|
37
|
-
default: boolean;
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
};
|
|
40
|
-
twBackdrop: {
|
|
41
|
-
default: string;
|
|
42
|
-
type: PropType<string | string[]>;
|
|
43
|
-
};
|
|
44
|
-
}>, {
|
|
45
|
-
twMerge: typeof twMerge;
|
|
46
|
-
modal: typeof modal;
|
|
47
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
-
"update:modelValue": (...args: any[]) => void;
|
|
49
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
-
modelValue: {
|
|
51
|
-
default: boolean;
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
};
|
|
54
|
-
verticalAlign: {
|
|
55
|
-
default: string;
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
};
|
|
58
|
-
closeOnOutsideClick: {
|
|
59
|
-
default: boolean;
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
};
|
|
62
|
-
maxWidth: {
|
|
63
|
-
default: string;
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
};
|
|
66
|
-
showCloseButton: {
|
|
67
|
-
default: boolean;
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
};
|
|
70
|
-
clipped: {
|
|
71
|
-
default: boolean;
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
};
|
|
74
|
-
twBackdrop: {
|
|
75
|
-
default: string;
|
|
76
|
-
type: PropType<string | string[]>;
|
|
77
|
-
};
|
|
78
|
-
}>> & Readonly<{
|
|
79
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
80
|
-
}>, {
|
|
81
|
-
modelValue: boolean;
|
|
82
|
-
closeOnOutsideClick: boolean;
|
|
83
|
-
clipped: boolean;
|
|
84
|
-
maxWidth: string;
|
|
85
|
-
twBackdrop: string | string[];
|
|
86
|
-
verticalAlign: string;
|
|
87
|
-
showCloseButton: boolean;
|
|
88
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
};
|
|
89
8
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
90
9
|
modelValue: {
|
|
91
10
|
default: boolean;
|