sprintify-ui 0.1.7 → 0.1.9
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 +4585 -4412
- package/dist/tailwindcss/index.js +20 -20
- package/dist/types/src/components/BaseActionItemButton.vue.d.ts +29 -0
- package/dist/types/src/components/BaseAddressForm.vue.d.ts +12 -2
- package/dist/types/src/components/BaseAlert.vue.d.ts +3 -3
- package/dist/types/src/components/BaseAppDialogs.vue.d.ts +1 -1
- package/dist/types/src/components/BaseAutocomplete.vue.d.ts +5 -5
- package/dist/types/src/components/BaseAutocompleteDrawer.vue.d.ts +2 -2
- package/dist/types/src/components/BaseAutocompleteFetch.vue.d.ts +5 -5
- package/dist/types/src/components/BaseBelongsTo.vue.d.ts +3 -3
- package/dist/types/src/components/BaseButtonGroup.vue.d.ts +2 -2
- package/dist/types/src/components/BaseCharacterCounter.vue.d.ts +1 -1
- package/dist/types/src/components/BaseColor.vue.d.ts +2 -2
- package/dist/types/src/components/BaseCounter.vue.d.ts +3 -3
- package/dist/types/src/components/BaseDatePicker.vue.d.ts +1 -1
- package/dist/types/src/components/BaseDialog.vue.d.ts +2 -2
- package/dist/types/src/components/BaseDropdownAutocomplete.vue.d.ts +5 -5
- package/dist/types/src/components/BaseFieldI18n.vue.d.ts +2 -2
- package/dist/types/src/components/BaseFilePicker.vue.d.ts +1 -1
- package/dist/types/src/components/BaseFileUploader.vue.d.ts +2 -2
- package/dist/types/src/components/BaseHasMany.vue.d.ts +2 -2
- package/dist/types/src/components/BaseHeader.vue.d.ts +42 -0
- package/dist/types/src/components/BaseInput.vue.d.ts +5 -5
- package/dist/types/src/components/BaseInputPercent.vue.d.ts +4 -4
- package/dist/types/src/components/BaseLoadingCover.vue.d.ts +2 -2
- package/dist/types/src/components/BaseMediaLibrary.vue.d.ts +4 -4
- package/dist/types/src/components/BaseMediaListItem.vue.d.ts +1 -1
- package/dist/types/src/components/BaseMenuItem.vue.d.ts +3 -3
- package/dist/types/src/components/BaseModalCenter.vue.d.ts +1 -1
- package/dist/types/src/components/BaseModalSide.vue.d.ts +1 -1
- package/dist/types/src/components/BaseNavbarItemContent.vue.d.ts +1 -1
- package/dist/types/src/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
- package/dist/types/src/components/BaseNumber.vue.d.ts +7 -7
- package/dist/types/src/components/BasePassword.vue.d.ts +2 -2
- package/dist/types/src/components/BaseRadioGroup.vue.d.ts +1 -1
- package/dist/types/src/components/BaseRichText.vue.d.ts +2 -2
- package/dist/types/src/components/BaseSelect.vue.d.ts +3 -3
- package/dist/types/src/components/BaseSwitch.vue.d.ts +4 -4
- package/dist/types/src/components/BaseSystemAlert.vue.d.ts +3 -3
- package/dist/types/src/components/BaseTagAutocomplete.vue.d.ts +4 -4
- package/dist/types/src/components/BaseTagAutocompleteFetch.vue.d.ts +2 -2
- package/dist/types/src/components/BaseTextarea.vue.d.ts +3 -3
- package/dist/types/src/components/BaseTextareaAutoresize.vue.d.ts +2 -2
- package/dist/types/src/components/index.d.ts +2 -1
- package/dist/types/src/index.d.ts +4 -0
- package/dist/types/src/types/index.d.ts +6 -5
- package/package.json +1 -1
- package/src/components/BaseActionItemButton.vue +73 -0
- package/src/components/BaseAddressForm.vue +6 -0
- package/src/components/BaseBreadcrumbs.vue +25 -6
- package/src/components/BaseHeader.stories.js +120 -0
- package/src/components/BaseHeader.vue +146 -0
- package/src/components/BaseMenuItem.vue +3 -1
- package/src/components/index.ts +2 -0
- package/src/lang/en.json +1 -0
- package/src/lang/fr.json +1 -0
- package/src/types/index.ts +6 -5
|
@@ -31,7 +31,7 @@ module.exports = plugin(
|
|
|
31
31
|
'color, background-color, border-color, text-decoration-color, fill, stroke',
|
|
32
32
|
'transition-timing-function': 'cubic-bezier(0.4, 0, 0.2, 1)',
|
|
33
33
|
'transition-duration': '100ms',
|
|
34
|
-
'&:
|
|
34
|
+
'&:hover': {
|
|
35
35
|
'background-color': theme('colors.slate.100'),
|
|
36
36
|
},
|
|
37
37
|
'&:focus-visible': {
|
|
@@ -81,10 +81,10 @@ module.exports = plugin(
|
|
|
81
81
|
// Button - Colors
|
|
82
82
|
'.btn-primary': {
|
|
83
83
|
color: theme('colors.white'),
|
|
84
|
-
'background-color': theme('colors.primary.
|
|
84
|
+
'background-color': theme('colors.primary.600'),
|
|
85
85
|
'border-color': 'transparent',
|
|
86
|
-
'&:
|
|
87
|
-
'background-color': theme('colors.primary.
|
|
86
|
+
'&:hover': {
|
|
87
|
+
'background-color': theme('colors.primary.500'),
|
|
88
88
|
},
|
|
89
89
|
'&:focus-visible': {
|
|
90
90
|
'--tw-ring-color': theme('colors.primary.200'),
|
|
@@ -94,7 +94,7 @@ module.exports = plugin(
|
|
|
94
94
|
color: theme('colors.primary.700'),
|
|
95
95
|
'background-color': theme('colors.primary.200'),
|
|
96
96
|
'border-color': 'transparent',
|
|
97
|
-
'&:
|
|
97
|
+
'&:hover': {
|
|
98
98
|
'background-color': theme('colors.primary.100'),
|
|
99
99
|
},
|
|
100
100
|
'&:focus-visible': {
|
|
@@ -105,7 +105,7 @@ module.exports = plugin(
|
|
|
105
105
|
color: theme('colors.primary.700'),
|
|
106
106
|
'background-color': theme('colors.primary.200'),
|
|
107
107
|
'border-color': theme('colors.primary.300'),
|
|
108
|
-
'&:
|
|
108
|
+
'&:hover': {
|
|
109
109
|
'background-color': theme('colors.primary.100'),
|
|
110
110
|
},
|
|
111
111
|
'&:focus-visible': {
|
|
@@ -116,7 +116,7 @@ module.exports = plugin(
|
|
|
116
116
|
color: theme('colors.white'),
|
|
117
117
|
'background-color': theme('colors.green.600'),
|
|
118
118
|
'border-color': 'transparent',
|
|
119
|
-
'&:
|
|
119
|
+
'&:hover': {
|
|
120
120
|
'background-color': theme('colors.green.500'),
|
|
121
121
|
},
|
|
122
122
|
'&:focus-visible': {
|
|
@@ -127,7 +127,7 @@ module.exports = plugin(
|
|
|
127
127
|
color: theme('colors.green.700'),
|
|
128
128
|
'background-color': theme('colors.green.200'),
|
|
129
129
|
'border-color': theme('colors.green.300'),
|
|
130
|
-
'&:
|
|
130
|
+
'&:hover': {
|
|
131
131
|
'background-color': theme('colors.green.100'),
|
|
132
132
|
},
|
|
133
133
|
'&:focus-visible': {
|
|
@@ -138,7 +138,7 @@ module.exports = plugin(
|
|
|
138
138
|
color: theme('colors.yellow.900'),
|
|
139
139
|
'background-color': theme('colors.yellow.400'),
|
|
140
140
|
'border-color': 'transparent',
|
|
141
|
-
'&:
|
|
141
|
+
'&:hover': {
|
|
142
142
|
'background-color': theme('colors.yellow.300'),
|
|
143
143
|
},
|
|
144
144
|
'&:focus-visible': {
|
|
@@ -149,7 +149,7 @@ module.exports = plugin(
|
|
|
149
149
|
color: theme('colors.yellow.900'),
|
|
150
150
|
'background-color': theme('colors.yellow.200'),
|
|
151
151
|
'border-color': theme('colors.yellow.400'),
|
|
152
|
-
'&:
|
|
152
|
+
'&:hover': {
|
|
153
153
|
'background-color': theme('colors.yellow.100'),
|
|
154
154
|
},
|
|
155
155
|
'&:focus-visible': {
|
|
@@ -160,7 +160,7 @@ module.exports = plugin(
|
|
|
160
160
|
color: theme('colors.white'),
|
|
161
161
|
'background-color': theme('colors.red.600'),
|
|
162
162
|
'border-color': 'transparent',
|
|
163
|
-
'&:
|
|
163
|
+
'&:hover': {
|
|
164
164
|
'background-color': theme('colors.red.500'),
|
|
165
165
|
},
|
|
166
166
|
'&:focus-visible': {
|
|
@@ -171,7 +171,7 @@ module.exports = plugin(
|
|
|
171
171
|
color: theme('colors.red.700'),
|
|
172
172
|
'background-color': theme('colors.red.200'),
|
|
173
173
|
'border-color': theme('colors.red.300'),
|
|
174
|
-
'&:
|
|
174
|
+
'&:hover': {
|
|
175
175
|
'background-color': theme('colors.red.100'),
|
|
176
176
|
},
|
|
177
177
|
'&:focus-visible': {
|
|
@@ -182,7 +182,7 @@ module.exports = plugin(
|
|
|
182
182
|
color: theme('colors.white'),
|
|
183
183
|
'background-color': theme('colors.blue.600'),
|
|
184
184
|
'border-color': 'transparent',
|
|
185
|
-
'&:
|
|
185
|
+
'&:hover': {
|
|
186
186
|
'background-color': theme('colors.blue.500'),
|
|
187
187
|
},
|
|
188
188
|
'&:focus-visible': {
|
|
@@ -193,7 +193,7 @@ module.exports = plugin(
|
|
|
193
193
|
color: theme('colors.blue.700'),
|
|
194
194
|
'background-color': theme('colors.blue.200'),
|
|
195
195
|
'border-color': theme('colors.blue.300'),
|
|
196
|
-
'&:
|
|
196
|
+
'&:hover': {
|
|
197
197
|
'background-color': theme('colors.blue.100'),
|
|
198
198
|
},
|
|
199
199
|
'&:focus-visible': {
|
|
@@ -203,7 +203,7 @@ module.exports = plugin(
|
|
|
203
203
|
'.btn-white': {
|
|
204
204
|
'background-color': theme('colors.white'),
|
|
205
205
|
'border-color': 'transparent',
|
|
206
|
-
'&:
|
|
206
|
+
'&:hover': {
|
|
207
207
|
'background-color': theme('colors.slate.100'),
|
|
208
208
|
},
|
|
209
209
|
'&:focus-visible': {
|
|
@@ -214,7 +214,7 @@ module.exports = plugin(
|
|
|
214
214
|
color: theme('colors.white'),
|
|
215
215
|
'background-color': theme('colors.slate.900'),
|
|
216
216
|
'border-color': 'transparent',
|
|
217
|
-
'&:
|
|
217
|
+
'&:hover': {
|
|
218
218
|
'background-color': theme('colors.slate.700'),
|
|
219
219
|
},
|
|
220
220
|
'&:focus-visible': {
|
|
@@ -224,7 +224,7 @@ module.exports = plugin(
|
|
|
224
224
|
'.btn-slate-100': {
|
|
225
225
|
'background-color': theme('colors.slate.100'),
|
|
226
226
|
'border-color': 'transparent',
|
|
227
|
-
'&:
|
|
227
|
+
'&:hover': {
|
|
228
228
|
'background-color': theme('colors.slate.50'),
|
|
229
229
|
},
|
|
230
230
|
'&:focus-visible': {
|
|
@@ -234,7 +234,7 @@ module.exports = plugin(
|
|
|
234
234
|
'.btn-slate-100-outline': {
|
|
235
235
|
'background-color': theme('colors.slate.100'),
|
|
236
236
|
'border-color': theme('colors.slate.200'),
|
|
237
|
-
'&:
|
|
237
|
+
'&:hover': {
|
|
238
238
|
'background-color': theme('colors.slate.50'),
|
|
239
239
|
},
|
|
240
240
|
'&:focus-visible': {
|
|
@@ -244,7 +244,7 @@ module.exports = plugin(
|
|
|
244
244
|
'.btn-slate-200': {
|
|
245
245
|
'background-color': theme('colors.slate.200'),
|
|
246
246
|
'border-color': 'transparent',
|
|
247
|
-
'&:
|
|
247
|
+
'&:hover': {
|
|
248
248
|
'background-color': theme('colors.slate.100'),
|
|
249
249
|
},
|
|
250
250
|
'&:focus-visible': {
|
|
@@ -254,7 +254,7 @@ module.exports = plugin(
|
|
|
254
254
|
'.btn-slate-200-outline': {
|
|
255
255
|
'background-color': theme('colors.slate.200'),
|
|
256
256
|
'border-color': theme('colors.slate.300'),
|
|
257
|
-
'&:
|
|
257
|
+
'&:hover': {
|
|
258
258
|
'background-color': theme('colors.slate.100'),
|
|
259
259
|
},
|
|
260
260
|
'&:focus-visible': {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ActionItem } from '@/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
action: ActionItem;
|
|
4
|
+
size: 'sm' | 'md' | 'lg';
|
|
5
|
+
}>, {
|
|
6
|
+
size: string;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
action: ActionItem;
|
|
9
|
+
size: 'sm' | 'md' | 'lg';
|
|
10
|
+
}>, {
|
|
11
|
+
size: string;
|
|
12
|
+
}>>>, {
|
|
13
|
+
size: 'sm' | 'md' | 'lg';
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
} : P[K];
|
|
29
|
+
};
|
|
@@ -13,12 +13,16 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
13
|
countries?: Country[] | undefined;
|
|
14
14
|
regions?: Region[] | undefined;
|
|
15
15
|
restrictCountry?: boolean | undefined;
|
|
16
|
+
hideRegion?: boolean | undefined;
|
|
17
|
+
hideCountry?: boolean | undefined;
|
|
16
18
|
}>, {
|
|
17
19
|
modelValue(): {};
|
|
18
20
|
prefix: null;
|
|
19
21
|
countries(): never[];
|
|
20
22
|
regions(): never[];
|
|
21
23
|
restrictCountry: boolean;
|
|
24
|
+
hideRegion: boolean;
|
|
25
|
+
hideCountry: boolean;
|
|
22
26
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
27
|
modelValue: {
|
|
24
28
|
address_1?: string | null | undefined;
|
|
@@ -32,17 +36,19 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
32
36
|
countries?: Country[] | undefined;
|
|
33
37
|
regions?: Region[] | undefined;
|
|
34
38
|
restrictCountry?: boolean | undefined;
|
|
39
|
+
hideRegion?: boolean | undefined;
|
|
40
|
+
hideCountry?: boolean | undefined;
|
|
35
41
|
}>, {
|
|
36
42
|
modelValue(): {};
|
|
37
43
|
prefix: null;
|
|
38
44
|
countries(): never[];
|
|
39
45
|
regions(): never[];
|
|
40
46
|
restrictCountry: boolean;
|
|
47
|
+
hideRegion: boolean;
|
|
48
|
+
hideCountry: boolean;
|
|
41
49
|
}>>> & {
|
|
42
50
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
43
51
|
}, {
|
|
44
|
-
countries: Country[];
|
|
45
|
-
regions: Region[];
|
|
46
52
|
modelValue: {
|
|
47
53
|
address_1?: string | null | undefined;
|
|
48
54
|
address_2?: string | null | undefined;
|
|
@@ -52,7 +58,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
52
58
|
country?: string | null | undefined;
|
|
53
59
|
} | null | undefined;
|
|
54
60
|
prefix: string | null;
|
|
61
|
+
countries: Country[];
|
|
62
|
+
regions: Region[];
|
|
55
63
|
restrictCountry: boolean;
|
|
64
|
+
hideRegion: boolean;
|
|
65
|
+
hideCountry: boolean;
|
|
56
66
|
}>;
|
|
57
67
|
export default _default;
|
|
58
68
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
color: {
|
|
9
9
|
default: string;
|
|
10
|
-
type: PropType<"
|
|
10
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
11
11
|
};
|
|
12
12
|
showIcon: {
|
|
13
13
|
default: boolean;
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
};
|
|
33
33
|
color: {
|
|
34
34
|
default: string;
|
|
35
|
-
type: PropType<"
|
|
35
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
36
36
|
};
|
|
37
37
|
showIcon: {
|
|
38
38
|
default: boolean;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
};
|
|
45
45
|
}>>, {
|
|
46
46
|
title: string;
|
|
47
|
-
color: "
|
|
47
|
+
color: "danger" | "success" | "warning" | "info";
|
|
48
48
|
showIcon: boolean;
|
|
49
49
|
bordered: boolean;
|
|
50
50
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
dialogs: import("vue").ComputedRef<{
|
|
3
3
|
id: number;
|
|
4
|
-
color: "
|
|
4
|
+
color: "danger" | "success" | "warning" | "info";
|
|
5
5
|
title: string;
|
|
6
6
|
message: string;
|
|
7
7
|
confirmText: string;
|
|
@@ -173,9 +173,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
173
173
|
};
|
|
174
174
|
}>> & {
|
|
175
175
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
176
177
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
177
178
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
178
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
179
179
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
180
180
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
181
181
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
@@ -184,13 +184,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
184
184
|
name: string;
|
|
185
185
|
select: SelectConfiguration | undefined;
|
|
186
186
|
required: boolean;
|
|
187
|
-
|
|
187
|
+
modelValue: Option | null | undefined;
|
|
188
188
|
placeholder: string;
|
|
189
|
-
|
|
189
|
+
disabled: boolean;
|
|
190
|
+
hasError: boolean;
|
|
190
191
|
loading: boolean;
|
|
191
192
|
loadingBottom: boolean;
|
|
192
|
-
|
|
193
|
-
hasError: boolean;
|
|
193
|
+
size: "base" | "xs" | "sm";
|
|
194
194
|
inline: boolean;
|
|
195
195
|
dropdownShow: "focus" | "always";
|
|
196
196
|
showModelValue: boolean;
|
|
@@ -64,12 +64,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
64
64
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
66
66
|
}, {
|
|
67
|
-
size: "base" | "xs" | "sm";
|
|
68
|
-
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
69
67
|
options: NormalizedOption[];
|
|
68
|
+
selected: NormalizedOption | NormalizedOption[] | null | undefined;
|
|
70
69
|
keywords: string;
|
|
71
70
|
loading: boolean;
|
|
72
71
|
loadingBottom: boolean;
|
|
72
|
+
size: "base" | "xs" | "sm";
|
|
73
73
|
drawerClass: string;
|
|
74
74
|
}>, {
|
|
75
75
|
empty: (_: {}) => any;
|
|
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
79
79
|
open: () => void | undefined;
|
|
80
80
|
close: () => void | undefined;
|
|
81
81
|
setKeywords: (input: string) => void | undefined;
|
|
82
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
82
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "clear" | "scrollBottom" | "typing")[], "update:modelValue" | "focus" | "clear" | "scrollBottom" | "typing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
modelValue: {
|
|
84
84
|
default: undefined;
|
|
85
85
|
type: PropType<Option | null | undefined>;
|
|
@@ -154,19 +154,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
154
154
|
};
|
|
155
155
|
}>> & {
|
|
156
156
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
157
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
157
158
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
158
159
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
159
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
160
160
|
onTyping?: ((...args: any[]) => any) | undefined;
|
|
161
161
|
}, {
|
|
162
162
|
name: string;
|
|
163
163
|
select: SelectConfiguration | undefined;
|
|
164
164
|
required: boolean;
|
|
165
|
-
disabled: boolean;
|
|
166
|
-
placeholder: string;
|
|
167
|
-
size: "base" | "xs" | "sm";
|
|
168
165
|
modelValue: Option | null | undefined;
|
|
166
|
+
placeholder: string;
|
|
167
|
+
disabled: boolean;
|
|
169
168
|
hasError: boolean;
|
|
169
|
+
size: "base" | "xs" | "sm";
|
|
170
170
|
inline: boolean;
|
|
171
171
|
dropdownShow: "focus" | "always";
|
|
172
172
|
showModelValue: boolean;
|
|
@@ -166,11 +166,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
166
166
|
name: string;
|
|
167
167
|
select: SelectConfiguration | undefined;
|
|
168
168
|
required: boolean;
|
|
169
|
-
disabled: boolean;
|
|
170
|
-
placeholder: string;
|
|
171
|
-
size: "base" | "xs" | "sm";
|
|
172
169
|
modelValue: string | number | null | undefined;
|
|
170
|
+
placeholder: string;
|
|
171
|
+
disabled: boolean;
|
|
173
172
|
hasError: boolean;
|
|
173
|
+
size: "base" | "xs" | "sm";
|
|
174
174
|
inline: boolean;
|
|
175
175
|
dropdownShow: "focus" | "always";
|
|
176
176
|
showModelValue: boolean;
|
|
@@ -119,10 +119,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
119
119
|
}, {
|
|
120
120
|
name: string;
|
|
121
121
|
required: boolean;
|
|
122
|
-
disabled: boolean;
|
|
123
|
-
multiple: boolean;
|
|
124
122
|
modelValue: Option | Option[] | null | undefined;
|
|
123
|
+
disabled: boolean;
|
|
125
124
|
hasError: boolean;
|
|
125
|
+
multiple: boolean;
|
|
126
126
|
spacing: string;
|
|
127
127
|
buttonType: "button" | "submit";
|
|
128
128
|
buttonClass: string;
|
|
@@ -70,10 +70,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
}, {
|
|
71
71
|
name: string;
|
|
72
72
|
required: boolean;
|
|
73
|
-
disabled: boolean;
|
|
74
|
-
multiple: boolean;
|
|
75
73
|
modelValue: string | string[] | null | undefined;
|
|
74
|
+
disabled: boolean;
|
|
76
75
|
hasError: boolean;
|
|
76
|
+
multiple: boolean;
|
|
77
77
|
buttonType: "button" | "submit";
|
|
78
78
|
colors: string[];
|
|
79
79
|
}>;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
color: {
|
|
16
16
|
default: string;
|
|
17
|
-
type: PropType<"
|
|
17
|
+
type: PropType<"dark" | "light" | "danger" | "success" | "warning" | "primary" | "white">;
|
|
18
18
|
};
|
|
19
19
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
count: {
|
|
@@ -31,10 +31,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
};
|
|
32
32
|
color: {
|
|
33
33
|
default: string;
|
|
34
|
-
type: PropType<"
|
|
34
|
+
type: PropType<"dark" | "light" | "danger" | "success" | "warning" | "primary" | "white">;
|
|
35
35
|
};
|
|
36
36
|
}>>, {
|
|
37
|
-
color: "
|
|
37
|
+
color: "dark" | "light" | "danger" | "success" | "warning" | "primary" | "white";
|
|
38
38
|
size: "xs" | "sm" | "md";
|
|
39
39
|
maxDigit: number;
|
|
40
40
|
}>;
|
|
@@ -57,8 +57,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
57
57
|
name: string;
|
|
58
58
|
required: boolean;
|
|
59
59
|
mode: 'single' | 'multiple' | 'range' | 'time';
|
|
60
|
-
disabled: boolean;
|
|
61
60
|
modelValue: string | null | string[];
|
|
61
|
+
disabled: boolean;
|
|
62
62
|
hasError: boolean;
|
|
63
63
|
inline: boolean;
|
|
64
64
|
minDate: string | Date | null;
|
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
color: {
|
|
4
4
|
required: true;
|
|
5
|
-
type: PropType<"
|
|
5
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
6
6
|
};
|
|
7
7
|
title: {
|
|
8
8
|
default: string;
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
23
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
color: {
|
|
25
25
|
required: true;
|
|
26
|
-
type: PropType<"
|
|
26
|
+
type: PropType<"danger" | "success" | "warning" | "info">;
|
|
27
27
|
};
|
|
28
28
|
title: {
|
|
29
29
|
default: string;
|
|
@@ -49,7 +49,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
49
49
|
default: undefined;
|
|
50
50
|
type: PropType<SelectConfiguration | undefined>;
|
|
51
51
|
};
|
|
52
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
52
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:model-value" | "close")[], "update:model-value" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
53
|
modelValue: {
|
|
54
54
|
type: PropType<Option | Option[] | null | undefined>;
|
|
55
55
|
default: undefined;
|
|
@@ -99,17 +99,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
99
99
|
type: PropType<SelectConfiguration | undefined>;
|
|
100
100
|
};
|
|
101
101
|
}>> & {
|
|
102
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
103
102
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
select: SelectConfiguration | undefined;
|
|
106
106
|
required: boolean;
|
|
107
|
-
multiple: boolean;
|
|
108
|
-
size: "base" | "xs" | "sm";
|
|
109
|
-
options: Option[] | undefined;
|
|
110
107
|
modelValue: Option | Option[] | null | undefined;
|
|
108
|
+
options: Option[] | undefined;
|
|
111
109
|
labelKey: string;
|
|
112
110
|
valueKey: string;
|
|
111
|
+
size: "base" | "xs" | "sm";
|
|
112
|
+
multiple: boolean;
|
|
113
113
|
emptyOptionLabel: string;
|
|
114
114
|
url: string;
|
|
115
115
|
padding: number;
|
|
@@ -84,13 +84,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
name: string;
|
|
85
85
|
label: string;
|
|
86
86
|
required: boolean;
|
|
87
|
-
defaultValue: string | number | boolean;
|
|
88
|
-
locales: Locales;
|
|
89
87
|
modelValue: {
|
|
90
88
|
[locale: string]: string | number | boolean;
|
|
91
89
|
} | null;
|
|
92
90
|
hasError: boolean;
|
|
91
|
+
defaultValue: string | number | boolean;
|
|
93
92
|
component: "BaseInput" | "BaseTextarea";
|
|
93
|
+
locales: Locales;
|
|
94
94
|
componentProps: Record<string, any>;
|
|
95
95
|
}>;
|
|
96
96
|
export default _default;
|
|
@@ -25,8 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
25
|
}>>> & {
|
|
26
26
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
accept: string;
|
|
29
28
|
disabled: boolean;
|
|
29
|
+
accept: string;
|
|
30
30
|
buttonClass: string;
|
|
31
31
|
maxSize: number;
|
|
32
32
|
acceptedExtensions: string[];
|
|
@@ -49,10 +49,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
49
49
|
"onUpload:fail"?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
"onUpload:end"?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
}, {
|
|
52
|
-
cropper: BaseCropperConfig | Record<string, any> | boolean | null;
|
|
53
|
-
accept: string;
|
|
54
52
|
disabled: boolean;
|
|
53
|
+
cropper: BaseCropperConfig | Record<string, any> | boolean | null;
|
|
55
54
|
loading: boolean;
|
|
55
|
+
accept: string;
|
|
56
56
|
url: string;
|
|
57
57
|
component: 'BaseFilePicker' | 'BaseFilePickerCrop';
|
|
58
58
|
buttonClass: string;
|
|
@@ -100,10 +100,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
100
100
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
required: boolean;
|
|
103
|
+
modelValue: string[] | null | undefined;
|
|
104
|
+
placeholder: string;
|
|
103
105
|
disabled: boolean;
|
|
104
106
|
max: number;
|
|
105
|
-
placeholder: string;
|
|
106
|
-
modelValue: string[] | null | undefined;
|
|
107
107
|
hasError: boolean;
|
|
108
108
|
queryKey: string;
|
|
109
109
|
primaryKey: string;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ActionItem, Breadcrumb } from '@/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string | undefined;
|
|
5
|
+
attributes?: {
|
|
6
|
+
icon: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}[] | undefined;
|
|
9
|
+
actions: ActionItem[];
|
|
10
|
+
badge: {
|
|
11
|
+
icon: string;
|
|
12
|
+
label: string;
|
|
13
|
+
color: string;
|
|
14
|
+
};
|
|
15
|
+
layout: 'default' | 'compact';
|
|
16
|
+
breadcrumbs?: Breadcrumb[] | undefined;
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
title: string;
|
|
19
|
+
subtitle?: string | undefined;
|
|
20
|
+
attributes?: {
|
|
21
|
+
icon: string;
|
|
22
|
+
label: string;
|
|
23
|
+
}[] | undefined;
|
|
24
|
+
actions: ActionItem[];
|
|
25
|
+
badge: {
|
|
26
|
+
icon: string;
|
|
27
|
+
label: string;
|
|
28
|
+
color: string;
|
|
29
|
+
};
|
|
30
|
+
layout: 'default' | 'compact';
|
|
31
|
+
breadcrumbs?: Breadcrumb[] | undefined;
|
|
32
|
+
}>>>, {}>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
type: (ArrayConstructor | StringConstructor | FunctionConstructor)[];
|
|
72
72
|
default(): null;
|
|
73
73
|
};
|
|
74
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
74
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur")[], "update:modelValue" | "focus" | "blur", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
75
|
modelValue: {
|
|
76
76
|
default: string;
|
|
77
77
|
type: PropType<string | number | null>;
|
|
@@ -153,13 +153,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
153
153
|
mask: string | Function | unknown[];
|
|
154
154
|
step: number;
|
|
155
155
|
required: boolean;
|
|
156
|
-
|
|
156
|
+
modelValue: string | number | null;
|
|
157
|
+
placeholder: string;
|
|
157
158
|
disabled: boolean;
|
|
158
|
-
max: number;
|
|
159
159
|
min: number;
|
|
160
|
-
|
|
161
|
-
modelValue: string | number | null;
|
|
160
|
+
max: number;
|
|
162
161
|
hasError: boolean;
|
|
162
|
+
autocomplete: boolean;
|
|
163
163
|
preventSubmit: boolean;
|
|
164
164
|
iconLeft: string;
|
|
165
165
|
iconRight: string;
|
|
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
default: undefined;
|
|
57
57
|
type: NumberConstructor;
|
|
58
58
|
};
|
|
59
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
59
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focus" | "blur")[], "update:modelValue" | "focus" | "blur", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
/**
|
|
61
61
|
* The value of the input. Can be a number or null.
|
|
62
62
|
* 0.1 = 10%
|
|
@@ -122,11 +122,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
step: number;
|
|
123
123
|
required: boolean;
|
|
124
124
|
icon: string;
|
|
125
|
+
modelValue: string | number | null;
|
|
126
|
+
placeholder: string;
|
|
125
127
|
disabled: boolean;
|
|
126
|
-
max: number;
|
|
127
128
|
min: number;
|
|
128
|
-
|
|
129
|
-
modelValue: string | number | null;
|
|
129
|
+
max: number;
|
|
130
130
|
hasError: boolean;
|
|
131
131
|
preventSubmit: boolean;
|
|
132
132
|
}>;
|