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,472 +1,5 @@
|
|
|
1
1
|
import { RawOption } from '@/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import BaseTagAutocompleteFetch from './BaseTagAutocompleteFetch.vue';
|
|
4
|
-
declare const tagAutocompleteFetch: import("vue").Ref<({
|
|
5
|
-
$: import("vue").ComponentInternalInstance;
|
|
6
|
-
$data: {};
|
|
7
|
-
$props: Partial<{
|
|
8
|
-
required: boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
placeholder: string;
|
|
11
|
-
hasError: boolean;
|
|
12
|
-
max: number;
|
|
13
|
-
focusOnMount: boolean;
|
|
14
|
-
queryKey: string;
|
|
15
|
-
}> & Omit<{
|
|
16
|
-
readonly required: boolean;
|
|
17
|
-
readonly disabled: boolean;
|
|
18
|
-
readonly modelValue: RawOption[] | null;
|
|
19
|
-
readonly hasError: boolean;
|
|
20
|
-
readonly url: string;
|
|
21
|
-
readonly labelKey: string | ((option: RawOption) => string);
|
|
22
|
-
readonly valueKey: string | ((option: RawOption) => string);
|
|
23
|
-
readonly focusOnMount: boolean;
|
|
24
|
-
readonly queryKey: string;
|
|
25
|
-
readonly placeholder?: string | undefined;
|
|
26
|
-
readonly max?: number | undefined;
|
|
27
|
-
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey">;
|
|
32
|
-
$attrs: {
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
};
|
|
35
|
-
$refs: {
|
|
36
|
-
[x: string]: unknown;
|
|
37
|
-
};
|
|
38
|
-
$slots: Readonly<{
|
|
39
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
40
|
-
}>;
|
|
41
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
42
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
43
|
-
$host: Element | null;
|
|
44
|
-
$emit: ((event: "focus", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
|
|
45
|
-
$el: any;
|
|
46
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
-
modelValue: {
|
|
48
|
-
required: true;
|
|
49
|
-
type: PropType<RawOption[] | null>;
|
|
50
|
-
};
|
|
51
|
-
url: {
|
|
52
|
-
required: true;
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
};
|
|
55
|
-
labelKey: {
|
|
56
|
-
required: true;
|
|
57
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
58
|
-
};
|
|
59
|
-
valueKey: {
|
|
60
|
-
required: true;
|
|
61
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
62
|
-
};
|
|
63
|
-
placeholder: {
|
|
64
|
-
default: undefined;
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
};
|
|
67
|
-
required: {
|
|
68
|
-
default: boolean;
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
};
|
|
71
|
-
disabled: {
|
|
72
|
-
default: boolean;
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
};
|
|
75
|
-
max: {
|
|
76
|
-
default: undefined;
|
|
77
|
-
type: NumberConstructor;
|
|
78
|
-
};
|
|
79
|
-
queryKey: {
|
|
80
|
-
default: string;
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
};
|
|
83
|
-
hasError: {
|
|
84
|
-
default: boolean;
|
|
85
|
-
type: BooleanConstructor;
|
|
86
|
-
};
|
|
87
|
-
focusOnMount: {
|
|
88
|
-
default: boolean;
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
};
|
|
91
|
-
}>> & Readonly<{
|
|
92
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
93
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
94
|
-
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
95
|
-
onTyping?: ((...args: any[]) => any) | undefined;
|
|
96
|
-
}>, {
|
|
97
|
-
focus: () => void | undefined;
|
|
98
|
-
blur: () => void | undefined;
|
|
99
|
-
open: () => void | undefined;
|
|
100
|
-
close: () => void | undefined;
|
|
101
|
-
setKeywords: (input: string) => void | undefined;
|
|
102
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
103
|
-
focus: (...args: any[]) => void;
|
|
104
|
-
"update:modelValue": (...args: any[]) => void;
|
|
105
|
-
scrollBottom: (...args: any[]) => void;
|
|
106
|
-
typing: (...args: any[]) => void;
|
|
107
|
-
}, string, {
|
|
108
|
-
required: boolean;
|
|
109
|
-
disabled: boolean;
|
|
110
|
-
placeholder: string;
|
|
111
|
-
hasError: boolean;
|
|
112
|
-
max: number;
|
|
113
|
-
focusOnMount: boolean;
|
|
114
|
-
queryKey: string;
|
|
115
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
116
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
117
|
-
created?: (() => void) | (() => void)[];
|
|
118
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
119
|
-
mounted?: (() => void) | (() => void)[];
|
|
120
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
121
|
-
updated?: (() => void) | (() => void)[];
|
|
122
|
-
activated?: (() => void) | (() => void)[];
|
|
123
|
-
deactivated?: (() => void) | (() => void)[];
|
|
124
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
125
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
126
|
-
destroyed?: (() => void) | (() => void)[];
|
|
127
|
-
unmounted?: (() => void) | (() => void)[];
|
|
128
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
129
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
130
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
131
|
-
};
|
|
132
|
-
$forceUpdate: () => void;
|
|
133
|
-
$nextTick: typeof import("vue").nextTick;
|
|
134
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
135
|
-
} & Readonly<{
|
|
136
|
-
required: boolean;
|
|
137
|
-
disabled: boolean;
|
|
138
|
-
placeholder: string;
|
|
139
|
-
hasError: boolean;
|
|
140
|
-
max: number;
|
|
141
|
-
focusOnMount: boolean;
|
|
142
|
-
queryKey: string;
|
|
143
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
144
|
-
modelValue: {
|
|
145
|
-
required: true;
|
|
146
|
-
type: PropType<RawOption[] | null>;
|
|
147
|
-
};
|
|
148
|
-
url: {
|
|
149
|
-
required: true;
|
|
150
|
-
type: StringConstructor;
|
|
151
|
-
};
|
|
152
|
-
labelKey: {
|
|
153
|
-
required: true;
|
|
154
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
155
|
-
};
|
|
156
|
-
valueKey: {
|
|
157
|
-
required: true;
|
|
158
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
159
|
-
};
|
|
160
|
-
placeholder: {
|
|
161
|
-
default: undefined;
|
|
162
|
-
type: StringConstructor;
|
|
163
|
-
};
|
|
164
|
-
required: {
|
|
165
|
-
default: boolean;
|
|
166
|
-
type: BooleanConstructor;
|
|
167
|
-
};
|
|
168
|
-
disabled: {
|
|
169
|
-
default: boolean;
|
|
170
|
-
type: BooleanConstructor;
|
|
171
|
-
};
|
|
172
|
-
max: {
|
|
173
|
-
default: undefined;
|
|
174
|
-
type: NumberConstructor;
|
|
175
|
-
};
|
|
176
|
-
queryKey: {
|
|
177
|
-
default: string;
|
|
178
|
-
type: StringConstructor;
|
|
179
|
-
};
|
|
180
|
-
hasError: {
|
|
181
|
-
default: boolean;
|
|
182
|
-
type: BooleanConstructor;
|
|
183
|
-
};
|
|
184
|
-
focusOnMount: {
|
|
185
|
-
default: boolean;
|
|
186
|
-
type: BooleanConstructor;
|
|
187
|
-
};
|
|
188
|
-
}>> & Readonly<{
|
|
189
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
190
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
191
|
-
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
192
|
-
onTyping?: ((...args: any[]) => any) | undefined;
|
|
193
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey")> & import("vue").ShallowUnwrapRef<{
|
|
194
|
-
focus: () => void | undefined;
|
|
195
|
-
blur: () => void | undefined;
|
|
196
|
-
open: () => void | undefined;
|
|
197
|
-
close: () => void | undefined;
|
|
198
|
-
setKeywords: (input: string) => void | undefined;
|
|
199
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
200
|
-
$slots: {
|
|
201
|
-
items?: ((props: {
|
|
202
|
-
items: import("@/types").NormalizedOption[];
|
|
203
|
-
removeOption: (option: import("@/types").NormalizedOption) => void;
|
|
204
|
-
disabled: boolean;
|
|
205
|
-
}) => any) | undefined;
|
|
206
|
-
option?: ((props: {
|
|
207
|
-
focus: () => void;
|
|
208
|
-
blur: () => void;
|
|
209
|
-
open: () => void;
|
|
210
|
-
close: () => void;
|
|
211
|
-
keywords: import("vue").ComputedRef<string>;
|
|
212
|
-
option: RawOption | null;
|
|
213
|
-
value: import("@/types").OptionValue;
|
|
214
|
-
label: string;
|
|
215
|
-
selected: boolean;
|
|
216
|
-
active: boolean;
|
|
217
|
-
}) => any) | undefined;
|
|
218
|
-
footer?: ((props: {
|
|
219
|
-
keywords: string;
|
|
220
|
-
focus: () => void;
|
|
221
|
-
blur: () => void;
|
|
222
|
-
open: () => void;
|
|
223
|
-
close: () => void;
|
|
224
|
-
options: import("@/types").NormalizedOption[];
|
|
225
|
-
}) => any) | undefined;
|
|
226
|
-
empty?: ((props: {
|
|
227
|
-
firstSearch: boolean;
|
|
228
|
-
focus: () => void;
|
|
229
|
-
blur: () => void;
|
|
230
|
-
open: () => void;
|
|
231
|
-
close: () => void;
|
|
232
|
-
keywords: import("vue").ComputedRef<string>;
|
|
233
|
-
}) => any) | undefined;
|
|
234
|
-
};
|
|
235
|
-
}) | null, ({
|
|
236
|
-
$: import("vue").ComponentInternalInstance;
|
|
237
|
-
$data: {};
|
|
238
|
-
$props: Partial<{
|
|
239
|
-
required: boolean;
|
|
240
|
-
disabled: boolean;
|
|
241
|
-
placeholder: string;
|
|
242
|
-
hasError: boolean;
|
|
243
|
-
max: number;
|
|
244
|
-
focusOnMount: boolean;
|
|
245
|
-
queryKey: string;
|
|
246
|
-
}> & Omit<{
|
|
247
|
-
readonly required: boolean;
|
|
248
|
-
readonly disabled: boolean;
|
|
249
|
-
readonly modelValue: RawOption[] | null;
|
|
250
|
-
readonly hasError: boolean;
|
|
251
|
-
readonly url: string;
|
|
252
|
-
readonly labelKey: string | ((option: RawOption) => string);
|
|
253
|
-
readonly valueKey: string | ((option: RawOption) => string);
|
|
254
|
-
readonly focusOnMount: boolean;
|
|
255
|
-
readonly queryKey: string;
|
|
256
|
-
readonly placeholder?: string | undefined;
|
|
257
|
-
readonly max?: number | undefined;
|
|
258
|
-
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
259
|
-
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
260
|
-
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
261
|
-
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
262
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey">;
|
|
263
|
-
$attrs: {
|
|
264
|
-
[x: string]: unknown;
|
|
265
|
-
};
|
|
266
|
-
$refs: {
|
|
267
|
-
[x: string]: unknown;
|
|
268
|
-
};
|
|
269
|
-
$slots: Readonly<{
|
|
270
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
271
|
-
}>;
|
|
272
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
273
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
274
|
-
$host: Element | null;
|
|
275
|
-
$emit: ((event: "focus", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
|
|
276
|
-
$el: any;
|
|
277
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
278
|
-
modelValue: {
|
|
279
|
-
required: true;
|
|
280
|
-
type: PropType<RawOption[] | null>;
|
|
281
|
-
};
|
|
282
|
-
url: {
|
|
283
|
-
required: true;
|
|
284
|
-
type: StringConstructor;
|
|
285
|
-
};
|
|
286
|
-
labelKey: {
|
|
287
|
-
required: true;
|
|
288
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
289
|
-
};
|
|
290
|
-
valueKey: {
|
|
291
|
-
required: true;
|
|
292
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
293
|
-
};
|
|
294
|
-
placeholder: {
|
|
295
|
-
default: undefined;
|
|
296
|
-
type: StringConstructor;
|
|
297
|
-
};
|
|
298
|
-
required: {
|
|
299
|
-
default: boolean;
|
|
300
|
-
type: BooleanConstructor;
|
|
301
|
-
};
|
|
302
|
-
disabled: {
|
|
303
|
-
default: boolean;
|
|
304
|
-
type: BooleanConstructor;
|
|
305
|
-
};
|
|
306
|
-
max: {
|
|
307
|
-
default: undefined;
|
|
308
|
-
type: NumberConstructor;
|
|
309
|
-
};
|
|
310
|
-
queryKey: {
|
|
311
|
-
default: string;
|
|
312
|
-
type: StringConstructor;
|
|
313
|
-
};
|
|
314
|
-
hasError: {
|
|
315
|
-
default: boolean;
|
|
316
|
-
type: BooleanConstructor;
|
|
317
|
-
};
|
|
318
|
-
focusOnMount: {
|
|
319
|
-
default: boolean;
|
|
320
|
-
type: BooleanConstructor;
|
|
321
|
-
};
|
|
322
|
-
}>> & Readonly<{
|
|
323
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
324
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
325
|
-
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
326
|
-
onTyping?: ((...args: any[]) => any) | undefined;
|
|
327
|
-
}>, {
|
|
328
|
-
focus: () => void | undefined;
|
|
329
|
-
blur: () => void | undefined;
|
|
330
|
-
open: () => void | undefined;
|
|
331
|
-
close: () => void | undefined;
|
|
332
|
-
setKeywords: (input: string) => void | undefined;
|
|
333
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
334
|
-
focus: (...args: any[]) => void;
|
|
335
|
-
"update:modelValue": (...args: any[]) => void;
|
|
336
|
-
scrollBottom: (...args: any[]) => void;
|
|
337
|
-
typing: (...args: any[]) => void;
|
|
338
|
-
}, string, {
|
|
339
|
-
required: boolean;
|
|
340
|
-
disabled: boolean;
|
|
341
|
-
placeholder: string;
|
|
342
|
-
hasError: boolean;
|
|
343
|
-
max: number;
|
|
344
|
-
focusOnMount: boolean;
|
|
345
|
-
queryKey: string;
|
|
346
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
347
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
348
|
-
created?: (() => void) | (() => void)[];
|
|
349
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
350
|
-
mounted?: (() => void) | (() => void)[];
|
|
351
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
352
|
-
updated?: (() => void) | (() => void)[];
|
|
353
|
-
activated?: (() => void) | (() => void)[];
|
|
354
|
-
deactivated?: (() => void) | (() => void)[];
|
|
355
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
356
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
357
|
-
destroyed?: (() => void) | (() => void)[];
|
|
358
|
-
unmounted?: (() => void) | (() => void)[];
|
|
359
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
360
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
361
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
362
|
-
};
|
|
363
|
-
$forceUpdate: () => void;
|
|
364
|
-
$nextTick: typeof import("vue").nextTick;
|
|
365
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
366
|
-
} & Readonly<{
|
|
367
|
-
required: boolean;
|
|
368
|
-
disabled: boolean;
|
|
369
|
-
placeholder: string;
|
|
370
|
-
hasError: boolean;
|
|
371
|
-
max: number;
|
|
372
|
-
focusOnMount: boolean;
|
|
373
|
-
queryKey: string;
|
|
374
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
375
|
-
modelValue: {
|
|
376
|
-
required: true;
|
|
377
|
-
type: PropType<RawOption[] | null>;
|
|
378
|
-
};
|
|
379
|
-
url: {
|
|
380
|
-
required: true;
|
|
381
|
-
type: StringConstructor;
|
|
382
|
-
};
|
|
383
|
-
labelKey: {
|
|
384
|
-
required: true;
|
|
385
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
386
|
-
};
|
|
387
|
-
valueKey: {
|
|
388
|
-
required: true;
|
|
389
|
-
type: PropType<string | ((option: RawOption) => string)>;
|
|
390
|
-
};
|
|
391
|
-
placeholder: {
|
|
392
|
-
default: undefined;
|
|
393
|
-
type: StringConstructor;
|
|
394
|
-
};
|
|
395
|
-
required: {
|
|
396
|
-
default: boolean;
|
|
397
|
-
type: BooleanConstructor;
|
|
398
|
-
};
|
|
399
|
-
disabled: {
|
|
400
|
-
default: boolean;
|
|
401
|
-
type: BooleanConstructor;
|
|
402
|
-
};
|
|
403
|
-
max: {
|
|
404
|
-
default: undefined;
|
|
405
|
-
type: NumberConstructor;
|
|
406
|
-
};
|
|
407
|
-
queryKey: {
|
|
408
|
-
default: string;
|
|
409
|
-
type: StringConstructor;
|
|
410
|
-
};
|
|
411
|
-
hasError: {
|
|
412
|
-
default: boolean;
|
|
413
|
-
type: BooleanConstructor;
|
|
414
|
-
};
|
|
415
|
-
focusOnMount: {
|
|
416
|
-
default: boolean;
|
|
417
|
-
type: BooleanConstructor;
|
|
418
|
-
};
|
|
419
|
-
}>> & Readonly<{
|
|
420
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
421
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
422
|
-
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
423
|
-
onTyping?: ((...args: any[]) => any) | undefined;
|
|
424
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey")> & import("vue").ShallowUnwrapRef<{
|
|
425
|
-
focus: () => void | undefined;
|
|
426
|
-
blur: () => void | undefined;
|
|
427
|
-
open: () => void | undefined;
|
|
428
|
-
close: () => void | undefined;
|
|
429
|
-
setKeywords: (input: string) => void | undefined;
|
|
430
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
431
|
-
$slots: {
|
|
432
|
-
items?: ((props: {
|
|
433
|
-
items: import("@/types").NormalizedOption[];
|
|
434
|
-
removeOption: (option: import("@/types").NormalizedOption) => void;
|
|
435
|
-
disabled: boolean;
|
|
436
|
-
}) => any) | undefined;
|
|
437
|
-
option?: ((props: {
|
|
438
|
-
focus: () => void;
|
|
439
|
-
blur: () => void;
|
|
440
|
-
open: () => void;
|
|
441
|
-
close: () => void;
|
|
442
|
-
keywords: import("vue").ComputedRef<string>;
|
|
443
|
-
option: RawOption | null;
|
|
444
|
-
value: import("@/types").OptionValue;
|
|
445
|
-
label: string;
|
|
446
|
-
selected: boolean;
|
|
447
|
-
active: boolean;
|
|
448
|
-
}) => any) | undefined;
|
|
449
|
-
footer?: ((props: {
|
|
450
|
-
keywords: string;
|
|
451
|
-
focus: () => void;
|
|
452
|
-
blur: () => void;
|
|
453
|
-
open: () => void;
|
|
454
|
-
close: () => void;
|
|
455
|
-
options: import("@/types").NormalizedOption[];
|
|
456
|
-
}) => any) | undefined;
|
|
457
|
-
empty?: ((props: {
|
|
458
|
-
firstSearch: boolean;
|
|
459
|
-
focus: () => void;
|
|
460
|
-
blur: () => void;
|
|
461
|
-
open: () => void;
|
|
462
|
-
close: () => void;
|
|
463
|
-
keywords: import("vue").ComputedRef<string>;
|
|
464
|
-
}) => any) | undefined;
|
|
465
|
-
};
|
|
466
|
-
}) | null>;
|
|
467
|
-
declare const models: import("vue").Ref<RawOption[], RawOption[]>;
|
|
468
|
-
declare function onUpdate(newModels: RawOption[]): void;
|
|
469
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
470
3
|
declare var __VLS_10: {
|
|
471
4
|
items: import("@/types").NormalizedOption[];
|
|
472
5
|
removeOption: (option: import("@/types").NormalizedOption) => void;
|
|
@@ -497,7 +30,7 @@ declare var __VLS_10: {
|
|
|
497
30
|
close: () => void;
|
|
498
31
|
options: import("@/types").NormalizedOption[];
|
|
499
32
|
};
|
|
500
|
-
type __VLS_Slots =
|
|
33
|
+
type __VLS_Slots = {} & {
|
|
501
34
|
items?: (props: typeof __VLS_10) => any;
|
|
502
35
|
} & {
|
|
503
36
|
option?: (props: typeof __VLS_12) => any;
|
|
@@ -505,126 +38,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
505
38
|
empty?: (props: typeof __VLS_14) => any;
|
|
506
39
|
} & {
|
|
507
40
|
footer?: (props: typeof __VLS_16) => any;
|
|
508
|
-
}
|
|
509
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
510
|
-
modelValue: {
|
|
511
|
-
default: undefined;
|
|
512
|
-
type: PropType<string[] | string | number | null | undefined>;
|
|
513
|
-
};
|
|
514
|
-
url: {
|
|
515
|
-
required: true;
|
|
516
|
-
type: StringConstructor;
|
|
517
|
-
};
|
|
518
|
-
showRouteUrl: {
|
|
519
|
-
default: undefined;
|
|
520
|
-
type: PropType<((ids: (string | number)[]) => string) | undefined>;
|
|
521
|
-
};
|
|
522
|
-
primaryKey: {
|
|
523
|
-
default: string;
|
|
524
|
-
type: StringConstructor;
|
|
525
|
-
};
|
|
526
|
-
field: {
|
|
527
|
-
required: true;
|
|
528
|
-
type: StringConstructor;
|
|
529
|
-
};
|
|
530
|
-
required: {
|
|
531
|
-
default: boolean;
|
|
532
|
-
type: BooleanConstructor;
|
|
533
|
-
};
|
|
534
|
-
disabled: {
|
|
535
|
-
default: boolean;
|
|
536
|
-
type: BooleanConstructor;
|
|
537
|
-
};
|
|
538
|
-
placeholder: {
|
|
539
|
-
default: undefined;
|
|
540
|
-
type: StringConstructor;
|
|
541
|
-
};
|
|
542
|
-
max: {
|
|
543
|
-
default: undefined;
|
|
544
|
-
type: NumberConstructor;
|
|
545
|
-
};
|
|
546
|
-
queryKey: {
|
|
547
|
-
default: string;
|
|
548
|
-
type: StringConstructor;
|
|
549
|
-
};
|
|
550
|
-
currentModels: {
|
|
551
|
-
default(): undefined;
|
|
552
|
-
type: PropType<RawOption[] | undefined>;
|
|
553
|
-
};
|
|
554
|
-
hasError: {
|
|
555
|
-
default: boolean;
|
|
556
|
-
type: BooleanConstructor;
|
|
557
|
-
};
|
|
558
|
-
}>, {
|
|
559
|
-
BaseTagAutocompleteFetch: typeof BaseTagAutocompleteFetch;
|
|
560
|
-
tagAutocompleteFetch: typeof tagAutocompleteFetch;
|
|
561
|
-
models: typeof models;
|
|
562
|
-
onUpdate: typeof onUpdate;
|
|
563
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
564
|
-
"update:modelValue": (...args: any[]) => void;
|
|
565
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
566
|
-
modelValue: {
|
|
567
|
-
default: undefined;
|
|
568
|
-
type: PropType<string[] | string | number | null | undefined>;
|
|
569
|
-
};
|
|
570
|
-
url: {
|
|
571
|
-
required: true;
|
|
572
|
-
type: StringConstructor;
|
|
573
|
-
};
|
|
574
|
-
showRouteUrl: {
|
|
575
|
-
default: undefined;
|
|
576
|
-
type: PropType<((ids: (string | number)[]) => string) | undefined>;
|
|
577
|
-
};
|
|
578
|
-
primaryKey: {
|
|
579
|
-
default: string;
|
|
580
|
-
type: StringConstructor;
|
|
581
|
-
};
|
|
582
|
-
field: {
|
|
583
|
-
required: true;
|
|
584
|
-
type: StringConstructor;
|
|
585
|
-
};
|
|
586
|
-
required: {
|
|
587
|
-
default: boolean;
|
|
588
|
-
type: BooleanConstructor;
|
|
589
|
-
};
|
|
590
|
-
disabled: {
|
|
591
|
-
default: boolean;
|
|
592
|
-
type: BooleanConstructor;
|
|
593
|
-
};
|
|
594
|
-
placeholder: {
|
|
595
|
-
default: undefined;
|
|
596
|
-
type: StringConstructor;
|
|
597
|
-
};
|
|
598
|
-
max: {
|
|
599
|
-
default: undefined;
|
|
600
|
-
type: NumberConstructor;
|
|
601
|
-
};
|
|
602
|
-
queryKey: {
|
|
603
|
-
default: string;
|
|
604
|
-
type: StringConstructor;
|
|
605
|
-
};
|
|
606
|
-
currentModels: {
|
|
607
|
-
default(): undefined;
|
|
608
|
-
type: PropType<RawOption[] | undefined>;
|
|
609
|
-
};
|
|
610
|
-
hasError: {
|
|
611
|
-
default: boolean;
|
|
612
|
-
type: BooleanConstructor;
|
|
613
|
-
};
|
|
614
|
-
}>> & Readonly<{
|
|
615
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
616
|
-
}>, {
|
|
617
|
-
required: boolean;
|
|
618
|
-
disabled: boolean;
|
|
619
|
-
modelValue: string | number | string[] | null | undefined;
|
|
620
|
-
placeholder: string;
|
|
621
|
-
hasError: boolean;
|
|
622
|
-
max: number;
|
|
623
|
-
primaryKey: string;
|
|
624
|
-
queryKey: string;
|
|
625
|
-
showRouteUrl: ((ids: (string | number)[]) => string) | undefined;
|
|
626
|
-
currentModels: RawOption[] | undefined;
|
|
627
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
};
|
|
628
42
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
629
43
|
modelValue: {
|
|
630
44
|
default: undefined;
|
|
@@ -734,10 +148,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
734
148
|
}>> & Readonly<{
|
|
735
149
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
736
150
|
}>, {
|
|
151
|
+
placeholder: string;
|
|
737
152
|
required: boolean;
|
|
738
153
|
disabled: boolean;
|
|
739
154
|
modelValue: string | number | string[] | null | undefined;
|
|
740
|
-
placeholder: string;
|
|
741
155
|
hasError: boolean;
|
|
742
156
|
max: number;
|
|
743
157
|
primaryKey: string;
|
|
@@ -209,8 +209,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
209
209
|
}>, {
|
|
210
210
|
class: string | string[];
|
|
211
211
|
type: string;
|
|
212
|
-
|
|
212
|
+
placeholder: string;
|
|
213
|
+
prefix: string | null | undefined;
|
|
213
214
|
step: number | null | undefined;
|
|
215
|
+
mask: MaskType;
|
|
214
216
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
215
217
|
required: boolean;
|
|
216
218
|
disabled: boolean;
|
|
@@ -218,10 +220,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
218
220
|
modelValue: string | number | null;
|
|
219
221
|
autocomplete: boolean;
|
|
220
222
|
preventSubmit: boolean;
|
|
221
|
-
placeholder: string;
|
|
222
223
|
iconLeft: string | null | undefined;
|
|
223
224
|
iconRight: string | null | undefined;
|
|
224
|
-
prefix: string | null | undefined;
|
|
225
225
|
suffix: string | null | undefined;
|
|
226
226
|
hasError: boolean;
|
|
227
227
|
min: number | null | undefined;
|
|
@@ -1,26 +1,9 @@
|
|
|
1
1
|
import { Size } from '@/utils/sizes';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
declare const classes: import("vue").ComputedRef<string[]>;
|
|
4
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
3
|
declare var __VLS_1: {};
|
|
6
|
-
type __VLS_Slots =
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
7
5
|
default?: (props: typeof __VLS_1) => any;
|
|
8
|
-
}
|
|
9
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
-
size: {
|
|
11
|
-
default: undefined;
|
|
12
|
-
type: PropType<Size>;
|
|
13
|
-
};
|
|
14
|
-
}>, {
|
|
15
|
-
classes: typeof classes;
|
|
16
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
size: {
|
|
18
|
-
default: undefined;
|
|
19
|
-
type: PropType<Size>;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {
|
|
22
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
};
|
|
24
7
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
25
8
|
size: {
|
|
26
9
|
default: undefined;
|
|
@@ -127,6 +127,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
127
127
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
129
129
|
}>, {
|
|
130
|
+
placeholder: string;
|
|
130
131
|
step: number;
|
|
131
132
|
required: boolean;
|
|
132
133
|
icon: string;
|
|
@@ -134,7 +135,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
134
135
|
name: string;
|
|
135
136
|
modelValue: string | number | null;
|
|
136
137
|
preventSubmit: boolean;
|
|
137
|
-
placeholder: string;
|
|
138
138
|
hasError: boolean;
|
|
139
139
|
min: number;
|
|
140
140
|
max: number;
|