lew-ui 2.4.3 → 2.4.5
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/components/checkbox/src/LewCheckbox.vue.d.ts +1 -1
- package/dist/components/checkbox/src/LewCheckboxGroup.vue.d.ts +5 -5
- package/dist/components/checkbox/src/props.d.ts +3 -3
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +8 -8
- package/dist/components/image/src/LewImage.vue.d.ts +5 -5
- package/dist/components/input-table/src/LewInputTable.vue.d.ts +191 -0
- package/dist/components/input-table/src/props.d.ts +1 -2
- package/dist/components/popok/src/LewPopok.vue.d.ts +1 -1
- package/dist/components/radio/src/LewRadio.vue.d.ts +5 -5
- package/dist/components/radio/src/LewRadioGroup.vue.d.ts +10 -10
- package/dist/components/radio/src/props.d.ts +7 -6
- package/dist/components/steps/src/LewSteps.vue.d.ts +10 -10
- package/dist/components/tag/src/LewTag.vue.d.ts +5 -5
- package/dist/constants/index.d.ts +2 -1
- package/dist/directives/index.d.ts +0 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +3972 -4005
- package/dist/index.umd.js +1 -1
- package/dist/methods/index.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/{directives → methods}/dialog/index.d.ts +0 -0
- /package/dist/{directives → methods}/dialog/src/LewDialog.vue.d.ts +0 -0
- /package/dist/{directives → methods}/dialog/src/index.d.ts +0 -0
- /package/dist/{directives → methods}/dialog/src/props.d.ts +0 -0
- /package/dist/{directives → methods}/message/index.d.ts +0 -0
- /package/dist/{directives → methods}/message/src/index.d.ts +0 -0
- /package/dist/{directives → methods}/notification/index.d.ts +0 -0
- /package/dist/{directives → methods}/notification/src/index.d.ts +0 -0
|
@@ -106,7 +106,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
106
106
|
disabled: boolean;
|
|
107
107
|
readonly: boolean;
|
|
108
108
|
checked: boolean;
|
|
109
|
-
certain: boolean;
|
|
110
109
|
iconable: boolean;
|
|
110
|
+
certain: boolean;
|
|
111
111
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
112
112
|
export default _default;
|
|
@@ -29,10 +29,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
29
29
|
validator: (value: import('../../..').LewSize) => boolean;
|
|
30
30
|
};
|
|
31
31
|
direction: {
|
|
32
|
-
type:
|
|
32
|
+
type: PropType<import('../../..').LewDirection>;
|
|
33
33
|
default: string;
|
|
34
34
|
description: string;
|
|
35
|
-
validator: (value:
|
|
35
|
+
validator: (value: import('../../..').LewDirection) => boolean;
|
|
36
36
|
};
|
|
37
37
|
block: {
|
|
38
38
|
type: BooleanConstructor;
|
|
@@ -80,10 +80,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
80
80
|
validator: (value: import('../../..').LewSize) => boolean;
|
|
81
81
|
};
|
|
82
82
|
direction: {
|
|
83
|
-
type:
|
|
83
|
+
type: PropType<import('../../..').LewDirection>;
|
|
84
84
|
default: string;
|
|
85
85
|
description: string;
|
|
86
|
-
validator: (value:
|
|
86
|
+
validator: (value: import('../../..').LewDirection) => boolean;
|
|
87
87
|
};
|
|
88
88
|
block: {
|
|
89
89
|
type: BooleanConstructor;
|
|
@@ -104,7 +104,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
104
104
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
105
105
|
}>, {
|
|
106
106
|
size: import('../../..').LewSize;
|
|
107
|
-
direction:
|
|
107
|
+
direction: import('../../..').LewDirection;
|
|
108
108
|
block: boolean;
|
|
109
109
|
round: boolean;
|
|
110
110
|
options: CheckboxOptions[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { LewSize } from '../../..';
|
|
2
|
+
import { LewSize, LewDirection } from '../../..';
|
|
3
3
|
|
|
4
4
|
export type CheckboxGroupDirectionType = 'x' | 'y';
|
|
5
5
|
export type CheckboxValue = string | number;
|
|
@@ -96,10 +96,10 @@ export declare const checkboxGroupProps: {
|
|
|
96
96
|
validator: (value: LewSize) => boolean;
|
|
97
97
|
};
|
|
98
98
|
direction: {
|
|
99
|
-
type:
|
|
99
|
+
type: PropType<LewDirection>;
|
|
100
100
|
default: string;
|
|
101
101
|
description: string;
|
|
102
|
-
validator: (value:
|
|
102
|
+
validator: (value: LewDirection) => boolean;
|
|
103
103
|
};
|
|
104
104
|
block: {
|
|
105
105
|
type: BooleanConstructor;
|
|
@@ -44,7 +44,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
44
44
|
description: string;
|
|
45
45
|
};
|
|
46
46
|
okProps: {
|
|
47
|
-
type: PropType<import('
|
|
47
|
+
type: PropType<import('../../..').ButtonProps>;
|
|
48
48
|
default: () => {
|
|
49
49
|
text: string;
|
|
50
50
|
color: string;
|
|
@@ -52,7 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
52
52
|
description: string;
|
|
53
53
|
};
|
|
54
54
|
cancelProps: {
|
|
55
|
-
type: PropType<import('
|
|
55
|
+
type: PropType<import('../../..').ButtonProps>;
|
|
56
56
|
default: () => {
|
|
57
57
|
type: string;
|
|
58
58
|
text: string;
|
|
@@ -104,7 +104,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
104
104
|
description: string;
|
|
105
105
|
};
|
|
106
106
|
okProps: {
|
|
107
|
-
type: PropType<import('
|
|
107
|
+
type: PropType<import('../../..').ButtonProps>;
|
|
108
108
|
default: () => {
|
|
109
109
|
text: string;
|
|
110
110
|
color: string;
|
|
@@ -112,7 +112,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
112
112
|
description: string;
|
|
113
113
|
};
|
|
114
114
|
cancelProps: {
|
|
115
|
-
type: PropType<import('
|
|
115
|
+
type: PropType<import('../../..').ButtonProps>;
|
|
116
116
|
default: () => {
|
|
117
117
|
type: string;
|
|
118
118
|
text: string;
|
|
@@ -130,8 +130,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
130
130
|
hideFooter: boolean;
|
|
131
131
|
closeByEsc: boolean;
|
|
132
132
|
okProps: {
|
|
133
|
-
type: import('
|
|
134
|
-
size: import('
|
|
133
|
+
type: import('../../..').ButtonType;
|
|
134
|
+
size: import('../../..').ButtonSize;
|
|
135
135
|
text: string;
|
|
136
136
|
color: import('../../..').LewColor;
|
|
137
137
|
round: boolean;
|
|
@@ -142,8 +142,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
142
142
|
request: Function;
|
|
143
143
|
};
|
|
144
144
|
cancelProps: {
|
|
145
|
-
type: import('
|
|
146
|
-
size: import('
|
|
145
|
+
type: import('../../..').ButtonType;
|
|
146
|
+
size: import('../../..').ButtonSize;
|
|
147
147
|
text: string;
|
|
148
148
|
color: import('../../..').LewColor;
|
|
149
149
|
round: boolean;
|
|
@@ -28,10 +28,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
28
28
|
validator: (value: number | string) => boolean;
|
|
29
29
|
};
|
|
30
30
|
objectFit: {
|
|
31
|
-
type: PropType<import('
|
|
31
|
+
type: PropType<import('../../..').ObjectFit>;
|
|
32
32
|
default: string;
|
|
33
33
|
description: string;
|
|
34
|
-
validator: (value: import('
|
|
34
|
+
validator: (value: import('../../..').ObjectFit) => boolean;
|
|
35
35
|
};
|
|
36
36
|
objectPosition: {
|
|
37
37
|
type: StringConstructor;
|
|
@@ -87,10 +87,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
87
87
|
validator: (value: number | string) => boolean;
|
|
88
88
|
};
|
|
89
89
|
objectFit: {
|
|
90
|
-
type: PropType<import('
|
|
90
|
+
type: PropType<import('../../..').ObjectFit>;
|
|
91
91
|
default: string;
|
|
92
92
|
description: string;
|
|
93
|
-
validator: (value: import('
|
|
93
|
+
validator: (value: import('../../..').ObjectFit) => boolean;
|
|
94
94
|
};
|
|
95
95
|
objectPosition: {
|
|
96
96
|
type: StringConstructor;
|
|
@@ -127,7 +127,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
127
127
|
loading: boolean;
|
|
128
128
|
height: string | number;
|
|
129
129
|
alt: string;
|
|
130
|
-
objectFit: import('
|
|
130
|
+
objectFit: import('../../..').ObjectFit;
|
|
131
131
|
objectPosition: string;
|
|
132
132
|
previewKey: string;
|
|
133
133
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { InputTableColumn } from './props';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
required: true;
|
|
6
|
+
type: import('vue').PropType<any>;
|
|
7
|
+
};
|
|
8
|
+
columns: {
|
|
9
|
+
type: PropType<InputTableColumn[]>;
|
|
10
|
+
default: () => {
|
|
11
|
+
title: string;
|
|
12
|
+
width: number;
|
|
13
|
+
field: string;
|
|
14
|
+
as: string;
|
|
15
|
+
}[];
|
|
16
|
+
description: string;
|
|
17
|
+
validator(value: InputTableColumn[]): boolean;
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
type: PropType<import('../../..').LewSize>;
|
|
21
|
+
default: string;
|
|
22
|
+
description: string;
|
|
23
|
+
validator(value: import('../../..').LewSize): boolean;
|
|
24
|
+
};
|
|
25
|
+
width: {
|
|
26
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
27
|
+
default: string;
|
|
28
|
+
description: string;
|
|
29
|
+
validator(value: number | string): boolean;
|
|
30
|
+
};
|
|
31
|
+
rowKey: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
description: string;
|
|
35
|
+
validator(value: string): boolean;
|
|
36
|
+
};
|
|
37
|
+
batchDeletable: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
addable: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
defaultForm: {
|
|
48
|
+
type: ObjectConstructor;
|
|
49
|
+
default: {};
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
deletable: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
maxRows: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: number;
|
|
60
|
+
description: string;
|
|
61
|
+
validator(value: number): boolean;
|
|
62
|
+
};
|
|
63
|
+
minRows: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
default: number;
|
|
66
|
+
description: string;
|
|
67
|
+
validator(value: number): boolean;
|
|
68
|
+
};
|
|
69
|
+
clearable: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
description: string;
|
|
73
|
+
};
|
|
74
|
+
sortable: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
autoUniqueId: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
description: string;
|
|
83
|
+
};
|
|
84
|
+
uniqueField: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
90
|
+
modelValue: {
|
|
91
|
+
required: true;
|
|
92
|
+
type: import('vue').PropType<any>;
|
|
93
|
+
};
|
|
94
|
+
columns: {
|
|
95
|
+
type: PropType<InputTableColumn[]>;
|
|
96
|
+
default: () => {
|
|
97
|
+
title: string;
|
|
98
|
+
width: number;
|
|
99
|
+
field: string;
|
|
100
|
+
as: string;
|
|
101
|
+
}[];
|
|
102
|
+
description: string;
|
|
103
|
+
validator(value: InputTableColumn[]): boolean;
|
|
104
|
+
};
|
|
105
|
+
size: {
|
|
106
|
+
type: PropType<import('../../..').LewSize>;
|
|
107
|
+
default: string;
|
|
108
|
+
description: string;
|
|
109
|
+
validator(value: import('../../..').LewSize): boolean;
|
|
110
|
+
};
|
|
111
|
+
width: {
|
|
112
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
113
|
+
default: string;
|
|
114
|
+
description: string;
|
|
115
|
+
validator(value: number | string): boolean;
|
|
116
|
+
};
|
|
117
|
+
rowKey: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
description: string;
|
|
121
|
+
validator(value: string): boolean;
|
|
122
|
+
};
|
|
123
|
+
batchDeletable: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
description: string;
|
|
127
|
+
};
|
|
128
|
+
addable: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: boolean;
|
|
131
|
+
description: string;
|
|
132
|
+
};
|
|
133
|
+
defaultForm: {
|
|
134
|
+
type: ObjectConstructor;
|
|
135
|
+
default: {};
|
|
136
|
+
description: string;
|
|
137
|
+
};
|
|
138
|
+
deletable: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
description: string;
|
|
142
|
+
};
|
|
143
|
+
maxRows: {
|
|
144
|
+
type: NumberConstructor;
|
|
145
|
+
default: number;
|
|
146
|
+
description: string;
|
|
147
|
+
validator(value: number): boolean;
|
|
148
|
+
};
|
|
149
|
+
minRows: {
|
|
150
|
+
type: NumberConstructor;
|
|
151
|
+
default: number;
|
|
152
|
+
description: string;
|
|
153
|
+
validator(value: number): boolean;
|
|
154
|
+
};
|
|
155
|
+
clearable: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
description: string;
|
|
159
|
+
};
|
|
160
|
+
sortable: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
description: string;
|
|
164
|
+
};
|
|
165
|
+
autoUniqueId: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
description: string;
|
|
169
|
+
};
|
|
170
|
+
uniqueField: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
default: string;
|
|
173
|
+
description: string;
|
|
174
|
+
};
|
|
175
|
+
}>> & Readonly<{}>, {
|
|
176
|
+
size: import('../../..').LewSize;
|
|
177
|
+
width: string | number;
|
|
178
|
+
clearable: boolean;
|
|
179
|
+
columns: InputTableColumn[];
|
|
180
|
+
rowKey: string;
|
|
181
|
+
batchDeletable: boolean;
|
|
182
|
+
addable: boolean;
|
|
183
|
+
defaultForm: Record<string, any>;
|
|
184
|
+
deletable: boolean;
|
|
185
|
+
maxRows: number;
|
|
186
|
+
minRows: number;
|
|
187
|
+
sortable: boolean;
|
|
188
|
+
autoUniqueId: boolean;
|
|
189
|
+
uniqueField: string;
|
|
190
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
191
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { LewSize } from '../../..';
|
|
3
3
|
|
|
4
|
-
interface InputTableColumn {
|
|
4
|
+
export interface InputTableColumn {
|
|
5
5
|
title: string;
|
|
6
6
|
width?: number;
|
|
7
7
|
field: string;
|
|
@@ -97,4 +97,3 @@ export declare const inputTableProps: {
|
|
|
97
97
|
description: string;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
-
export {};
|
|
@@ -107,7 +107,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
107
107
|
width: string | number;
|
|
108
108
|
trigger: import('../../..').PopoverTrigger;
|
|
109
109
|
placement: import('../../..').PopoverPlacement;
|
|
110
|
-
content: string;
|
|
111
110
|
okProps: {
|
|
112
111
|
type: import('../../..').ButtonType;
|
|
113
112
|
size: import('../../..').ButtonSize;
|
|
@@ -132,6 +131,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
132
131
|
dashed: boolean;
|
|
133
132
|
request: Function;
|
|
134
133
|
};
|
|
134
|
+
content: string;
|
|
135
135
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
136
136
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
137
137
|
export default _default;
|
|
@@ -30,10 +30,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
30
30
|
description: string;
|
|
31
31
|
};
|
|
32
32
|
size: {
|
|
33
|
-
type:
|
|
33
|
+
type: PropType<import('../../..').LewSize>;
|
|
34
34
|
default: string;
|
|
35
35
|
description: string;
|
|
36
|
-
validator(value: import('
|
|
36
|
+
validator: (value: import('../../..').LewSize) => boolean;
|
|
37
37
|
};
|
|
38
38
|
block: {
|
|
39
39
|
type: BooleanConstructor;
|
|
@@ -74,10 +74,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
74
74
|
description: string;
|
|
75
75
|
};
|
|
76
76
|
size: {
|
|
77
|
-
type:
|
|
77
|
+
type: PropType<import('../../..').LewSize>;
|
|
78
78
|
default: string;
|
|
79
79
|
description: string;
|
|
80
|
-
validator(value: import('
|
|
80
|
+
validator: (value: import('../../..').LewSize) => boolean;
|
|
81
81
|
};
|
|
82
82
|
block: {
|
|
83
83
|
type: BooleanConstructor;
|
|
@@ -87,7 +87,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
87
87
|
}>> & Readonly<{
|
|
88
88
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
size:
|
|
90
|
+
size: import('../../..').LewSize;
|
|
91
91
|
label: string;
|
|
92
92
|
block: boolean;
|
|
93
93
|
round: boolean;
|
|
@@ -8,10 +8,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
8
8
|
description: string;
|
|
9
9
|
};
|
|
10
10
|
direction: {
|
|
11
|
-
type:
|
|
11
|
+
type: PropType<import('../../..').LewDirection>;
|
|
12
12
|
default: string;
|
|
13
13
|
description: string;
|
|
14
|
-
validator(value: import('
|
|
14
|
+
validator: (value: import('../../..').LewDirection) => boolean;
|
|
15
15
|
};
|
|
16
16
|
disabled: {
|
|
17
17
|
type: BooleanConstructor;
|
|
@@ -39,10 +39,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
39
39
|
description: string;
|
|
40
40
|
};
|
|
41
41
|
size: {
|
|
42
|
-
type:
|
|
42
|
+
type: PropType<import('../../..').LewSize>;
|
|
43
43
|
default: string;
|
|
44
44
|
description: string;
|
|
45
|
-
validator(value: import('
|
|
45
|
+
validator: (value: import('../../..').LewSize) => boolean;
|
|
46
46
|
};
|
|
47
47
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
48
|
change: (...args: any[]) => void;
|
|
@@ -54,10 +54,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
54
54
|
description: string;
|
|
55
55
|
};
|
|
56
56
|
direction: {
|
|
57
|
-
type:
|
|
57
|
+
type: PropType<import('../../..').LewDirection>;
|
|
58
58
|
default: string;
|
|
59
59
|
description: string;
|
|
60
|
-
validator(value: import('
|
|
60
|
+
validator: (value: import('../../..').LewDirection) => boolean;
|
|
61
61
|
};
|
|
62
62
|
disabled: {
|
|
63
63
|
type: BooleanConstructor;
|
|
@@ -85,16 +85,16 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
85
85
|
description: string;
|
|
86
86
|
};
|
|
87
87
|
size: {
|
|
88
|
-
type:
|
|
88
|
+
type: PropType<import('../../..').LewSize>;
|
|
89
89
|
default: string;
|
|
90
90
|
description: string;
|
|
91
|
-
validator(value: import('
|
|
91
|
+
validator: (value: import('../../..').LewSize) => boolean;
|
|
92
92
|
};
|
|
93
93
|
}>> & Readonly<{
|
|
94
94
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
}>, {
|
|
96
|
-
size:
|
|
97
|
-
direction:
|
|
96
|
+
size: import('../../..').LewSize;
|
|
97
|
+
direction: import('../../..').LewDirection;
|
|
98
98
|
block: boolean;
|
|
99
99
|
round: boolean;
|
|
100
100
|
options: RadioOptions[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { LewSize, LewDirection } from '../../..';
|
|
2
3
|
|
|
3
4
|
export type RadioSize = 'small' | 'medium' | 'large';
|
|
4
5
|
export type RadioDirection = 'x' | 'y';
|
|
@@ -39,10 +40,10 @@ export declare const radioProps: {
|
|
|
39
40
|
description: string;
|
|
40
41
|
};
|
|
41
42
|
size: {
|
|
42
|
-
type:
|
|
43
|
+
type: PropType<LewSize>;
|
|
43
44
|
default: string;
|
|
44
45
|
description: string;
|
|
45
|
-
validator(value:
|
|
46
|
+
validator: (value: LewSize) => boolean;
|
|
46
47
|
};
|
|
47
48
|
block: {
|
|
48
49
|
type: BooleanConstructor;
|
|
@@ -64,10 +65,10 @@ export declare const radioGroupProps: {
|
|
|
64
65
|
description: string;
|
|
65
66
|
};
|
|
66
67
|
direction: {
|
|
67
|
-
type:
|
|
68
|
+
type: PropType<LewDirection>;
|
|
68
69
|
default: string;
|
|
69
70
|
description: string;
|
|
70
|
-
validator(value:
|
|
71
|
+
validator: (value: LewDirection) => boolean;
|
|
71
72
|
};
|
|
72
73
|
disabled: {
|
|
73
74
|
type: BooleanConstructor;
|
|
@@ -95,10 +96,10 @@ export declare const radioGroupProps: {
|
|
|
95
96
|
description: string;
|
|
96
97
|
};
|
|
97
98
|
size: {
|
|
98
|
-
type:
|
|
99
|
+
type: PropType<LewSize>;
|
|
99
100
|
default: string;
|
|
100
101
|
description: string;
|
|
101
|
-
validator(value:
|
|
102
|
+
validator: (value: LewSize) => boolean;
|
|
102
103
|
};
|
|
103
104
|
};
|
|
104
105
|
export type RadioProps = ExtractPropTypes<typeof radioProps>;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
modelValue: import('vue').PropType<any>;
|
|
3
3
|
options: {
|
|
4
|
-
type: PropType<import('
|
|
4
|
+
type: PropType<import('../../..').StepsOptions[]>;
|
|
5
5
|
default: () => never[];
|
|
6
6
|
description: string;
|
|
7
|
-
validator: (value: import('
|
|
7
|
+
validator: (value: import('../../..').StepsOptions[]) => boolean;
|
|
8
8
|
};
|
|
9
9
|
status: {
|
|
10
|
-
type: PropType<import('
|
|
10
|
+
type: PropType<import('../../..').StepsStatus>;
|
|
11
11
|
default: string;
|
|
12
12
|
description: string;
|
|
13
|
-
validator: (value: import('
|
|
13
|
+
validator: (value: import('../../..').StepsStatus) => boolean;
|
|
14
14
|
};
|
|
15
15
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
16
16
|
modelValue: import('vue').PropType<any>;
|
|
17
17
|
options: {
|
|
18
|
-
type: PropType<import('
|
|
18
|
+
type: PropType<import('../../..').StepsOptions[]>;
|
|
19
19
|
default: () => never[];
|
|
20
20
|
description: string;
|
|
21
|
-
validator: (value: import('
|
|
21
|
+
validator: (value: import('../../..').StepsOptions[]) => boolean;
|
|
22
22
|
};
|
|
23
23
|
status: {
|
|
24
|
-
type: PropType<import('
|
|
24
|
+
type: PropType<import('../../..').StepsStatus>;
|
|
25
25
|
default: string;
|
|
26
26
|
description: string;
|
|
27
|
-
validator: (value: import('
|
|
27
|
+
validator: (value: import('../../..').StepsStatus) => boolean;
|
|
28
28
|
};
|
|
29
29
|
}>> & Readonly<{}>, {
|
|
30
|
-
options: import('
|
|
31
|
-
status: import('
|
|
30
|
+
options: import('../../..').StepsOptions[];
|
|
31
|
+
status: import('../../..').StepsStatus;
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
33
|
export default _default;
|
|
@@ -10,10 +10,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
12
12
|
type: {
|
|
13
|
-
type: PropType<import('
|
|
13
|
+
type: PropType<import('../../..').TagType>;
|
|
14
14
|
default: string;
|
|
15
15
|
description: string;
|
|
16
|
-
validator(value: import('
|
|
16
|
+
validator(value: import('../../..').TagType): boolean;
|
|
17
17
|
};
|
|
18
18
|
color: {
|
|
19
19
|
type: PropType<import('../../..').LewColor>;
|
|
@@ -51,10 +51,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
51
51
|
description: string;
|
|
52
52
|
};
|
|
53
53
|
type: {
|
|
54
|
-
type: PropType<import('
|
|
54
|
+
type: PropType<import('../../..').TagType>;
|
|
55
55
|
default: string;
|
|
56
56
|
description: string;
|
|
57
|
-
validator(value: import('
|
|
57
|
+
validator(value: import('../../..').TagType): boolean;
|
|
58
58
|
};
|
|
59
59
|
color: {
|
|
60
60
|
type: PropType<import('../../..').LewColor>;
|
|
@@ -86,7 +86,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
86
86
|
}>> & Readonly<{
|
|
87
87
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}>, {
|
|
89
|
-
type: import('
|
|
89
|
+
type: import('../../..').TagType;
|
|
90
90
|
size: import('../../..').LewSize;
|
|
91
91
|
text: string;
|
|
92
92
|
color: import('../../..').LewColor;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { LewColor, LewSize, LewStatusColor, LewThemeColor } from '../types';
|
|
1
|
+
import { LewColor, LewDirection, LewSize, LewStatusColor, LewThemeColor } from '../types';
|
|
2
2
|
|
|
3
3
|
export declare const validColors: LewColor[];
|
|
4
4
|
export declare const vailThemeColor: LewThemeColor[];
|
|
5
5
|
export declare const validStatusColors: LewStatusColor[];
|
|
6
6
|
export declare const validSizes: LewSize[];
|
|
7
|
+
export declare const validDirection: LewDirection[];
|