sprintify-ui 0.10.12 → 0.10.14
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 +15478 -15451
- package/dist/types/components/BaseActionButtons.vue.d.ts +13 -0
- package/dist/types/components/BaseAlert.vue.d.ts +1 -1
- package/dist/types/components/BaseAssign.vue.d.ts +2 -2
- package/dist/types/components/BaseAutocomplete.vue.d.ts +8 -8
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +18 -18
- package/dist/types/components/BaseBadge.vue.d.ts +2 -2
- package/dist/types/components/BaseBelongsTo.vue.d.ts +18 -18
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +11 -11
- package/dist/types/components/BaseButton.vue.d.ts +2 -2
- package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -3
- package/dist/types/components/BaseColor.vue.d.ts +2 -2
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseDataIterator.vue.d.ts +2 -2
- package/dist/types/components/BaseDataTable.vue.d.ts +18 -14
- package/dist/types/components/BaseDatePicker.vue.d.ts +3 -3
- package/dist/types/components/BaseDateSelect.vue.d.ts +2 -2
- package/dist/types/components/BaseDialog.vue.d.ts +9 -9
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +2 -2
- package/dist/types/components/BaseField.vue.d.ts +2 -2
- package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
- package/dist/types/components/BaseFileUploader.vue.d.ts +1 -1
- package/dist/types/components/BaseHasMany.vue.d.ts +18 -18
- package/dist/types/components/BaseHasManyFetch.vue.d.ts +7 -7
- package/dist/types/components/BaseHeader.vue.d.ts +4 -1
- package/dist/types/components/BaseInput.vue.d.ts +2 -2
- package/dist/types/components/BaseInputPercent.vue.d.ts +2 -2
- package/dist/types/components/BaseLoadingCover.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +1 -1
- package/dist/types/components/BaseMenu.vue.d.ts +2 -2
- package/dist/types/components/BaseMenuItem.vue.d.ts +4 -4
- package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
- package/dist/types/components/BasePanel.vue.d.ts +1 -1
- package/dist/types/components/BasePassword.vue.d.ts +2 -2
- package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -2
- package/dist/types/components/BaseRichText.vue.d.ts +2 -2
- package/dist/types/components/BaseSelect.vue.d.ts +2 -2
- package/dist/types/components/BaseSwitch.vue.d.ts +3 -3
- package/dist/types/components/BaseTableColumn.vue.d.ts +3 -3
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +4 -4
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +17 -17
- package/dist/types/components/BaseTextarea.vue.d.ts +2 -2
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +2 -2
- package/dist/types/components/BaseTimePicker.vue.d.ts +2 -2
- package/dist/types/components/BaseTooltip.vue.d.ts +8 -0
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/composables/tooltip.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/BaseActionButtons.vue +77 -0
- package/src/components/BaseDataTable.stories.js +26 -2
- package/src/components/BaseDataTable.vue +6 -21
- package/src/components/BaseHeader.stories.js +3 -0
- package/src/components/BaseHeader.vue +24 -78
- package/src/components/BaseNavbarSideItem.vue +15 -13
- package/src/components/BaseTooltip.vue +10 -2
- package/src/components/index.ts +2 -0
- package/src/composables/tooltip.ts +22 -10
|
@@ -22,11 +22,11 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
22
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
24
|
size: Size;
|
|
25
|
-
name: string;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
mode: "single" | "multiple" | "range" | "time";
|
|
28
25
|
required: boolean;
|
|
26
|
+
mode: "single" | "multiple" | "range" | "time";
|
|
29
27
|
inline: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
name: string;
|
|
30
30
|
modelValue: string | null | string[];
|
|
31
31
|
hasError: boolean;
|
|
32
32
|
showRemoveButton: boolean;
|
|
@@ -80,9 +80,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
80
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
81
81
|
}>, {
|
|
82
82
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
83
|
-
name: string;
|
|
84
|
-
disabled: boolean;
|
|
85
83
|
required: boolean;
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
name: string;
|
|
86
86
|
hasError: boolean;
|
|
87
87
|
minYear: number;
|
|
88
88
|
maxYear: number;
|
|
@@ -117,9 +117,9 @@ declare function __VLS_template(): {
|
|
|
117
117
|
mask: import("maska").MaskType;
|
|
118
118
|
step: number | null | undefined;
|
|
119
119
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
120
|
-
name: string | null | undefined;
|
|
121
|
-
disabled: boolean;
|
|
122
120
|
required: boolean;
|
|
121
|
+
disabled: boolean;
|
|
122
|
+
name: string | null | undefined;
|
|
123
123
|
modelValue: string | number | null;
|
|
124
124
|
autocomplete: boolean;
|
|
125
125
|
preventSubmit: boolean;
|
|
@@ -246,9 +246,9 @@ declare function __VLS_template(): {
|
|
|
246
246
|
mask: import("maska").MaskType;
|
|
247
247
|
step: number | null | undefined;
|
|
248
248
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
249
|
-
name: string | null | undefined;
|
|
250
|
-
disabled: boolean;
|
|
251
249
|
required: boolean;
|
|
250
|
+
disabled: boolean;
|
|
251
|
+
name: string | null | undefined;
|
|
252
252
|
modelValue: string | number | null;
|
|
253
253
|
autocomplete: boolean;
|
|
254
254
|
preventSubmit: boolean;
|
|
@@ -331,9 +331,9 @@ declare function __VLS_template(): {
|
|
|
331
331
|
to: import("vue-router").RouteLocationRaw;
|
|
332
332
|
type: "button" | "submit" | "reset";
|
|
333
333
|
href: string;
|
|
334
|
-
color: ("" | "danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline") | string;
|
|
335
|
-
icon: string;
|
|
336
334
|
size: import("../utils/sizes.js").Size;
|
|
335
|
+
icon: string;
|
|
336
|
+
color: ("" | "danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline") | string;
|
|
337
337
|
disabled: boolean;
|
|
338
338
|
as: string;
|
|
339
339
|
loading: boolean;
|
|
@@ -365,9 +365,9 @@ declare function __VLS_template(): {
|
|
|
365
365
|
to: import("vue-router").RouteLocationRaw;
|
|
366
366
|
type: "button" | "submit" | "reset";
|
|
367
367
|
href: string;
|
|
368
|
-
color: ("" | "danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline") | string;
|
|
369
|
-
icon: string;
|
|
370
368
|
size: import("../utils/sizes.js").Size;
|
|
369
|
+
icon: string;
|
|
370
|
+
color: ("" | "danger" | "success" | "warning" | "primary" | "secondary" | "info" | "black" | "white" | "secondary-outline" | "success-outline" | "danger-outline" | "warning-outline" | "info-outline" | "slate-100" | "slate-100-outline" | "slate-200" | "slate-200-outline") | string;
|
|
371
371
|
disabled: boolean;
|
|
372
372
|
as: string;
|
|
373
373
|
loading: boolean;
|
|
@@ -393,7 +393,7 @@ declare function __VLS_template(): {
|
|
|
393
393
|
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
394
394
|
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
395
395
|
onMouseover?: ((...args: any[]) => any) | undefined;
|
|
396
|
-
}>, "focus" | ("class" | "to" | "type" | "href" | "
|
|
396
|
+
}>, "focus" | ("class" | "to" | "type" | "href" | "size" | "icon" | "color" | "disabled" | "as" | "loading" | "iconPosition" | "sizeBehavior" | "align")> & import("vue").ShallowUnwrapRef<{
|
|
397
397
|
focus: () => void;
|
|
398
398
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
399
399
|
$slots: {
|
|
@@ -116,9 +116,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
116
116
|
}>, {
|
|
117
117
|
select: SelectConfiguration | undefined;
|
|
118
118
|
size: "xs" | "sm" | "base";
|
|
119
|
-
options: RawOption[] | undefined;
|
|
120
|
-
placement: Placement;
|
|
121
119
|
required: boolean;
|
|
120
|
+
placement: Placement;
|
|
121
|
+
options: RawOption[] | undefined;
|
|
122
122
|
modelValue: RawOption | RawOption[] | null | undefined;
|
|
123
123
|
url: string;
|
|
124
124
|
labelKey: string;
|
|
@@ -79,10 +79,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
79
79
|
}>> & Readonly<{}>, {
|
|
80
80
|
label: string;
|
|
81
81
|
size: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
82
|
-
name: string;
|
|
83
82
|
required: boolean;
|
|
84
|
-
help: string;
|
|
85
83
|
description: string;
|
|
84
|
+
name: string;
|
|
85
|
+
help: string;
|
|
86
86
|
errorType: "default" | "minimal" | "alert";
|
|
87
87
|
labelClass: ClassNameValue;
|
|
88
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -84,8 +84,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
84
84
|
}>, {
|
|
85
85
|
label: string;
|
|
86
86
|
component: "BaseInput" | "BaseTextarea";
|
|
87
|
-
name: string;
|
|
88
87
|
required: boolean;
|
|
88
|
+
name: string;
|
|
89
89
|
modelValue: Value | null;
|
|
90
90
|
hasError: boolean;
|
|
91
91
|
locales: Locales;
|
|
@@ -59,10 +59,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
59
59
|
}>, {
|
|
60
60
|
component: "BaseFilePicker" | "BaseFilePickerCrop";
|
|
61
61
|
disabled: boolean;
|
|
62
|
+
twButton: string;
|
|
62
63
|
url: string;
|
|
63
64
|
cropper: BaseCropperConfig | Record<string, any> | boolean | null;
|
|
64
65
|
loading: boolean;
|
|
65
|
-
twButton: string;
|
|
66
66
|
multiple: boolean;
|
|
67
67
|
maxSize: number;
|
|
68
68
|
accept: string;
|
|
@@ -42,10 +42,10 @@ declare function __VLS_template(): {
|
|
|
42
42
|
$props: Partial<{
|
|
43
43
|
filter: (option: import("@/types").NormalizedOption) => boolean;
|
|
44
44
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
45
|
-
name: string;
|
|
46
|
-
disabled: boolean;
|
|
47
45
|
required: boolean;
|
|
48
46
|
inline: boolean;
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
name: string;
|
|
49
49
|
placeholder: string;
|
|
50
50
|
hasError: boolean;
|
|
51
51
|
max: number;
|
|
@@ -56,9 +56,9 @@ declare function __VLS_template(): {
|
|
|
56
56
|
focusOnMount: boolean;
|
|
57
57
|
twContainer: string | string[];
|
|
58
58
|
}> & Omit<{
|
|
59
|
-
readonly options: RawOption[];
|
|
60
|
-
readonly disabled: boolean;
|
|
61
59
|
readonly inline: boolean;
|
|
60
|
+
readonly disabled: boolean;
|
|
61
|
+
readonly options: RawOption[];
|
|
62
62
|
readonly modelValue: RawOption[] | null;
|
|
63
63
|
readonly hasError: boolean;
|
|
64
64
|
readonly visibleFocus: boolean;
|
|
@@ -71,16 +71,16 @@ declare function __VLS_template(): {
|
|
|
71
71
|
readonly twContainer: string | string[];
|
|
72
72
|
readonly filter?: ((option: import("@/types").NormalizedOption) => boolean) | undefined;
|
|
73
73
|
readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
74
|
-
readonly name?: string | undefined;
|
|
75
74
|
readonly required?: boolean | undefined;
|
|
75
|
+
readonly name?: string | undefined;
|
|
76
76
|
readonly placeholder?: string | undefined;
|
|
77
77
|
readonly max?: number | undefined;
|
|
78
78
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
79
80
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
80
81
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
81
82
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
82
|
-
|
|
83
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "size" | "name" | "disabled" | "required" | "inline" | "placeholder" | "hasError" | "max" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "focusOnMount" | "twContainer">;
|
|
83
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "size" | "required" | "inline" | "disabled" | "name" | "placeholder" | "hasError" | "max" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "focusOnMount" | "twContainer">;
|
|
84
84
|
$attrs: {
|
|
85
85
|
[x: string]: unknown;
|
|
86
86
|
};
|
|
@@ -93,7 +93,7 @@ declare function __VLS_template(): {
|
|
|
93
93
|
$root: import("vue").ComponentPublicInstance | null;
|
|
94
94
|
$parent: import("vue").ComponentPublicInstance | null;
|
|
95
95
|
$host: Element | null;
|
|
96
|
-
$emit: ((event: "close", ...args: any[]) => void) & ((event: "
|
|
96
|
+
$emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
|
|
97
97
|
$el: HTMLDivElement;
|
|
98
98
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
99
99
|
modelValue: {
|
|
@@ -174,10 +174,10 @@ declare function __VLS_template(): {
|
|
|
174
174
|
};
|
|
175
175
|
}>> & Readonly<{
|
|
176
176
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
177
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
177
178
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
178
179
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
179
180
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
180
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
181
181
|
}>, {
|
|
182
182
|
focus: () => void;
|
|
183
183
|
blur: () => void;
|
|
@@ -186,17 +186,17 @@ declare function __VLS_template(): {
|
|
|
186
186
|
setKeywords: (input: string) => void;
|
|
187
187
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
188
188
|
close: (...args: any[]) => void;
|
|
189
|
+
open: (...args: any[]) => void;
|
|
189
190
|
"update:modelValue": (...args: any[]) => void;
|
|
190
191
|
scrollBottom: (...args: any[]) => void;
|
|
191
192
|
typing: (...args: any[]) => void;
|
|
192
|
-
open: (...args: any[]) => void;
|
|
193
193
|
}, string, {
|
|
194
194
|
filter: (option: import("@/types").NormalizedOption) => boolean;
|
|
195
195
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
196
|
-
name: string;
|
|
197
|
-
disabled: boolean;
|
|
198
196
|
required: boolean;
|
|
199
197
|
inline: boolean;
|
|
198
|
+
disabled: boolean;
|
|
199
|
+
name: string;
|
|
200
200
|
placeholder: string;
|
|
201
201
|
hasError: boolean;
|
|
202
202
|
max: number;
|
|
@@ -229,10 +229,10 @@ declare function __VLS_template(): {
|
|
|
229
229
|
} & Readonly<{
|
|
230
230
|
filter: (option: import("@/types").NormalizedOption) => boolean;
|
|
231
231
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
232
|
-
name: string;
|
|
233
|
-
disabled: boolean;
|
|
234
232
|
required: boolean;
|
|
235
233
|
inline: boolean;
|
|
234
|
+
disabled: boolean;
|
|
235
|
+
name: string;
|
|
236
236
|
placeholder: string;
|
|
237
237
|
hasError: boolean;
|
|
238
238
|
max: number;
|
|
@@ -321,11 +321,11 @@ declare function __VLS_template(): {
|
|
|
321
321
|
};
|
|
322
322
|
}>> & Readonly<{
|
|
323
323
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
324
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
324
325
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
325
326
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
326
327
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
327
|
-
|
|
328
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "size" | "name" | "disabled" | "required" | "inline" | "placeholder" | "hasError" | "max" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "focusOnMount" | "twContainer")> & import("vue").ShallowUnwrapRef<{
|
|
328
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "size" | "required" | "inline" | "disabled" | "name" | "placeholder" | "hasError" | "max" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "focusOnMount" | "twContainer")> & import("vue").ShallowUnwrapRef<{
|
|
329
329
|
focus: () => void;
|
|
330
330
|
blur: () => void;
|
|
331
331
|
close: () => void;
|
|
@@ -471,9 +471,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
471
471
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
472
472
|
}>, {
|
|
473
473
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
474
|
-
name: string;
|
|
475
|
-
disabled: boolean;
|
|
476
474
|
required: boolean;
|
|
475
|
+
disabled: boolean;
|
|
476
|
+
name: string;
|
|
477
477
|
modelValue: string | number | string[] | null | undefined;
|
|
478
478
|
placeholder: string;
|
|
479
479
|
hasError: boolean;
|
|
@@ -40,16 +40,16 @@ declare function __VLS_template(): {
|
|
|
40
40
|
$: import("vue").ComponentInternalInstance;
|
|
41
41
|
$data: {};
|
|
42
42
|
$props: Partial<{
|
|
43
|
-
disabled: boolean;
|
|
44
43
|
required: boolean;
|
|
44
|
+
disabled: boolean;
|
|
45
45
|
placeholder: string;
|
|
46
46
|
hasError: boolean;
|
|
47
47
|
max: number;
|
|
48
48
|
focusOnMount: boolean;
|
|
49
49
|
queryKey: string;
|
|
50
50
|
}> & Omit<{
|
|
51
|
-
readonly disabled: boolean;
|
|
52
51
|
readonly required: boolean;
|
|
52
|
+
readonly disabled: boolean;
|
|
53
53
|
readonly modelValue: RawOption[];
|
|
54
54
|
readonly hasError: boolean;
|
|
55
55
|
readonly url: string;
|
|
@@ -63,7 +63,7 @@ declare function __VLS_template(): {
|
|
|
63
63
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
readonly onTyping?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
66
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey">;
|
|
67
67
|
$attrs: {
|
|
68
68
|
[x: string]: unknown;
|
|
69
69
|
};
|
|
@@ -140,8 +140,8 @@ declare function __VLS_template(): {
|
|
|
140
140
|
scrollBottom: (...args: any[]) => void;
|
|
141
141
|
typing: (...args: any[]) => void;
|
|
142
142
|
}, string, {
|
|
143
|
-
disabled: boolean;
|
|
144
143
|
required: boolean;
|
|
144
|
+
disabled: boolean;
|
|
145
145
|
placeholder: string;
|
|
146
146
|
hasError: boolean;
|
|
147
147
|
max: number;
|
|
@@ -168,8 +168,8 @@ declare function __VLS_template(): {
|
|
|
168
168
|
$nextTick: typeof import("vue").nextTick;
|
|
169
169
|
$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;
|
|
170
170
|
} & Readonly<{
|
|
171
|
-
disabled: boolean;
|
|
172
171
|
required: boolean;
|
|
172
|
+
disabled: boolean;
|
|
173
173
|
placeholder: string;
|
|
174
174
|
hasError: boolean;
|
|
175
175
|
max: number;
|
|
@@ -225,7 +225,7 @@ declare function __VLS_template(): {
|
|
|
225
225
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
226
226
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
227
227
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
228
|
-
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("
|
|
228
|
+
}>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey")> & import("vue").ShallowUnwrapRef<{
|
|
229
229
|
focus: () => void | undefined;
|
|
230
230
|
blur: () => void | undefined;
|
|
231
231
|
open: () => void | undefined;
|
|
@@ -379,8 +379,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
379
379
|
}>> & Readonly<{
|
|
380
380
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
381
381
|
}>, {
|
|
382
|
-
disabled: boolean;
|
|
383
382
|
required: boolean;
|
|
383
|
+
disabled: boolean;
|
|
384
384
|
modelValue: string | number | string[] | null | undefined;
|
|
385
385
|
placeholder: string;
|
|
386
386
|
hasError: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Breadcrumb, ActionItem } from '@/types';
|
|
2
2
|
import BaseBadge from './BaseBadge.vue';
|
|
3
|
+
import { RouteRecordRaw } from 'vue-router';
|
|
3
4
|
type BaseBadgeProps = InstanceType<typeof BaseBadge>["$props"] & {
|
|
4
5
|
label: string;
|
|
5
6
|
};
|
|
@@ -10,6 +11,7 @@ type __VLS_Props = {
|
|
|
10
11
|
icon?: string;
|
|
11
12
|
label: string;
|
|
12
13
|
tooltip?: string;
|
|
14
|
+
to?: RouteRecordRaw;
|
|
13
15
|
}[];
|
|
14
16
|
actions?: ActionItem[];
|
|
15
17
|
badge?: BaseBadgeProps;
|
|
@@ -19,15 +21,16 @@ type __VLS_Props = {
|
|
|
19
21
|
};
|
|
20
22
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
23
|
actions: ActionItem[];
|
|
24
|
+
maxActions: number;
|
|
22
25
|
breadcrumbs: Breadcrumb[];
|
|
23
26
|
layout: "default" | "compact";
|
|
24
27
|
attributes: {
|
|
25
28
|
icon?: string;
|
|
26
29
|
label: string;
|
|
27
30
|
tooltip?: string;
|
|
31
|
+
to?: RouteRecordRaw;
|
|
28
32
|
}[];
|
|
29
33
|
subtitle: string;
|
|
30
34
|
badge: BaseBadgeProps;
|
|
31
|
-
maxActions: number;
|
|
32
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
33
36
|
export default _default;
|
|
@@ -210,9 +210,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
210
210
|
mask: MaskType;
|
|
211
211
|
step: number | null | undefined;
|
|
212
212
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
213
|
-
name: string | null | undefined;
|
|
214
|
-
disabled: boolean;
|
|
215
213
|
required: boolean;
|
|
214
|
+
disabled: boolean;
|
|
215
|
+
name: string | null | undefined;
|
|
216
216
|
modelValue: string | number | null;
|
|
217
217
|
autocomplete: boolean;
|
|
218
218
|
preventSubmit: boolean;
|
|
@@ -128,10 +128,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
128
128
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
129
129
|
}>, {
|
|
130
130
|
step: number;
|
|
131
|
+
required: boolean;
|
|
131
132
|
icon: string;
|
|
132
|
-
name: string;
|
|
133
133
|
disabled: boolean;
|
|
134
|
-
|
|
134
|
+
name: string;
|
|
135
135
|
modelValue: string | number | null;
|
|
136
136
|
preventSubmit: boolean;
|
|
137
137
|
placeholder: string;
|
|
@@ -88,8 +88,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
88
88
|
}>> & Readonly<{}>, {
|
|
89
89
|
size: "sm" | "lg";
|
|
90
90
|
duration: string;
|
|
91
|
-
modelValue: boolean;
|
|
92
91
|
delay: number;
|
|
92
|
+
modelValue: boolean;
|
|
93
93
|
twIcon: string;
|
|
94
94
|
twBackdrop: string;
|
|
95
95
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -186,8 +186,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
186
186
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
187
187
|
onFail?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
}>, {
|
|
189
|
-
name: string;
|
|
190
189
|
disabled: boolean;
|
|
190
|
+
name: string;
|
|
191
191
|
modelValue: MediaLibraryPayload;
|
|
192
192
|
hasError: boolean;
|
|
193
193
|
min: number;
|
|
@@ -79,11 +79,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
79
79
|
};
|
|
80
80
|
}>> & Readonly<{}>, {
|
|
81
81
|
size: "xs" | "sm" | "md";
|
|
82
|
-
placement: "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
83
82
|
width: number | null | undefined;
|
|
84
83
|
items: ActionItem[];
|
|
85
|
-
|
|
84
|
+
placement: "bottom-end" | "bottom-start" | "bottom" | "top" | "top-start" | "top-end";
|
|
86
85
|
twMenu: string | string[];
|
|
86
|
+
twButton: string | Record<string, any> | unknown[];
|
|
87
87
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
88
88
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
89
89
|
export default _default;
|
|
@@ -69,11 +69,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
69
69
|
}>> & Readonly<{}>, {
|
|
70
70
|
active: boolean;
|
|
71
71
|
label: string;
|
|
72
|
-
color: ActionColors;
|
|
73
|
-
icon: string;
|
|
74
72
|
size: "xs" | "sm" | "md";
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
icon: string;
|
|
74
|
+
color: ActionColors;
|
|
77
75
|
count: number;
|
|
76
|
+
description: string;
|
|
77
|
+
disabled: boolean;
|
|
78
78
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
79
79
|
export default _default;
|
|
@@ -53,8 +53,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
53
|
dark: boolean;
|
|
54
54
|
active: boolean;
|
|
55
55
|
label: string;
|
|
56
|
-
icon: string;
|
|
57
56
|
size: "xs" | "sm" | "md";
|
|
57
|
+
icon: string;
|
|
58
58
|
count: number;
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
60
60
|
export default _default;
|
|
@@ -61,8 +61,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
61
61
|
dark: boolean;
|
|
62
62
|
active: boolean;
|
|
63
63
|
label: string;
|
|
64
|
-
icon: string;
|
|
65
64
|
size: "xs" | "sm" | "md";
|
|
65
|
+
icon: string;
|
|
66
66
|
count: number;
|
|
67
67
|
collapsed: boolean;
|
|
68
68
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
25
|
type: BooleanConstructor;
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
|
-
bordered: boolean;
|
|
29
28
|
description: string;
|
|
29
|
+
bordered: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
export default _default;
|
|
@@ -73,9 +73,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
73
73
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
76
|
-
name: string;
|
|
77
|
-
disabled: boolean;
|
|
78
76
|
required: boolean;
|
|
77
|
+
disabled: boolean;
|
|
78
|
+
name: string;
|
|
79
79
|
modelValue: string | null;
|
|
80
80
|
placeholder: string;
|
|
81
81
|
hasError: boolean;
|
|
@@ -98,9 +98,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
98
98
|
}>> & Readonly<{
|
|
99
99
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
100
100
|
}>, {
|
|
101
|
-
name: string;
|
|
102
|
-
disabled: boolean;
|
|
103
101
|
required: boolean;
|
|
102
|
+
disabled: boolean;
|
|
103
|
+
name: string;
|
|
104
104
|
labelClass: string;
|
|
105
105
|
modelValue: OptionValue | undefined;
|
|
106
106
|
hasError: boolean;
|
|
@@ -23,9 +23,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
23
23
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
size: Size;
|
|
26
|
-
name: string;
|
|
27
|
-
disabled: boolean;
|
|
28
26
|
required: boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
name: string;
|
|
29
29
|
placeholder: string;
|
|
30
30
|
hasError: boolean;
|
|
31
31
|
toolbar: ToolbarOption[];
|
|
@@ -118,10 +118,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
118
118
|
}>, {
|
|
119
119
|
class: string | string[];
|
|
120
120
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
121
|
+
required: boolean;
|
|
122
|
+
disabled: boolean;
|
|
121
123
|
name: string;
|
|
122
124
|
options: RawOption[];
|
|
123
|
-
disabled: boolean;
|
|
124
|
-
required: boolean;
|
|
125
125
|
modelValue: SelectOption | undefined;
|
|
126
126
|
placeholder: string;
|
|
127
127
|
hasError: boolean;
|
|
@@ -87,11 +87,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
87
87
|
}>> & Readonly<{
|
|
88
88
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
color: "dark" | "light" | "danger" | "success" | "warning" | "primary" | "info";
|
|
91
90
|
size: "xs" | "sm" | "lg" | "xl" | "base";
|
|
92
|
-
name: string;
|
|
93
|
-
disabled: boolean;
|
|
94
91
|
required: boolean;
|
|
92
|
+
color: "dark" | "light" | "danger" | "success" | "warning" | "primary" | "info";
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
name: string;
|
|
95
95
|
modelValue: string | number | boolean | null | undefined;
|
|
96
96
|
hasError: boolean;
|
|
97
97
|
checkedIcon: string;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
};
|
|
9
9
|
customKey: {
|
|
10
10
|
default: string;
|
|
11
|
-
type: (
|
|
11
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
12
12
|
};
|
|
13
13
|
class: {
|
|
14
14
|
default: string;
|
|
@@ -99,7 +99,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
99
|
};
|
|
100
100
|
customKey: {
|
|
101
101
|
default: string;
|
|
102
|
-
type: (
|
|
102
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
103
103
|
};
|
|
104
104
|
class: {
|
|
105
105
|
default: string;
|
|
@@ -183,9 +183,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
183
183
|
href: (row: CollectionItem) => string;
|
|
184
184
|
meta: Record<string, any> | unknown[];
|
|
185
185
|
width: number;
|
|
186
|
+
padding: string;
|
|
186
187
|
align: "left" | "center" | "right";
|
|
187
188
|
field: string;
|
|
188
|
-
padding: string;
|
|
189
189
|
searchable: boolean;
|
|
190
190
|
customKey: string | number;
|
|
191
191
|
numeric: boolean;
|
|
@@ -288,10 +288,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
288
288
|
setKeywords: typeof setKeywords;
|
|
289
289
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
290
290
|
close: (...args: any[]) => void;
|
|
291
|
+
open: (...args: any[]) => void;
|
|
291
292
|
"update:modelValue": (...args: any[]) => void;
|
|
292
293
|
scrollBottom: (...args: any[]) => void;
|
|
293
294
|
typing: (...args: any[]) => void;
|
|
294
|
-
open: (...args: any[]) => void;
|
|
295
295
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
296
296
|
modelValue: {
|
|
297
297
|
required: true;
|
|
@@ -371,17 +371,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
371
371
|
};
|
|
372
372
|
}>> & Readonly<{
|
|
373
373
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
374
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
374
375
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
375
376
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
376
377
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
377
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
378
378
|
}>, {
|
|
379
379
|
filter: (option: NormalizedOption) => boolean;
|
|
380
380
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
381
|
-
name: string;
|
|
382
|
-
disabled: boolean;
|
|
383
381
|
required: boolean;
|
|
384
382
|
inline: boolean;
|
|
383
|
+
disabled: boolean;
|
|
384
|
+
name: string;
|
|
385
385
|
placeholder: string;
|
|
386
386
|
hasError: boolean;
|
|
387
387
|
max: number;
|