lew-ui 2.4.20 → 2.5.2
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/button/src/LewButton.vue.d.ts +1 -1
- package/dist/components/color-picker/src/LewColorPicker.vue.d.ts +17 -2
- package/dist/components/color-picker/src/props.d.ts +5 -0
- package/dist/components/desc/src/LewDesc.vue.d.ts +5 -5
- package/dist/components/desc/src/props.d.ts +9 -2
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +2 -2
- package/dist/components/modal/src/LewModal.vue.d.ts +2 -2
- package/dist/components/popok/src/LewPopok.vue.d.ts +2 -2
- package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +2 -2
- package/dist/components/text-trim/src/props.d.ts +1 -1
- package/dist/index.mjs +580 -382
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -124,8 +124,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
124
124
|
loading: boolean;
|
|
125
125
|
disabled: boolean;
|
|
126
126
|
text: string;
|
|
127
|
-
round: boolean;
|
|
128
127
|
singleIcon: boolean;
|
|
128
|
+
round: boolean;
|
|
129
129
|
dashed: boolean;
|
|
130
130
|
request: Function;
|
|
131
131
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -10,6 +10,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
10
10
|
default: string;
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
|
+
placeholder: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
13
18
|
disabled: {
|
|
14
19
|
type: BooleanConstructor;
|
|
15
20
|
default: boolean;
|
|
@@ -20,7 +25,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
20
25
|
default: boolean;
|
|
21
26
|
description: string;
|
|
22
27
|
};
|
|
23
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
change: (...args: any[]) => void;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
24
31
|
modelValue: import('vue').PropType<any>;
|
|
25
32
|
size: {
|
|
26
33
|
type: PropType<import('../../..').LewSize>;
|
|
@@ -32,6 +39,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
32
39
|
default: string;
|
|
33
40
|
description: string;
|
|
34
41
|
};
|
|
42
|
+
placeholder: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
35
47
|
disabled: {
|
|
36
48
|
type: BooleanConstructor;
|
|
37
49
|
default: boolean;
|
|
@@ -42,10 +54,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
42
54
|
default: boolean;
|
|
43
55
|
description: string;
|
|
44
56
|
};
|
|
45
|
-
}>> & Readonly<{
|
|
57
|
+
}>> & Readonly<{
|
|
58
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
}>, {
|
|
46
60
|
size: import('../../..').LewSize;
|
|
47
61
|
width: string | number;
|
|
48
62
|
disabled: boolean;
|
|
49
63
|
readonly: boolean;
|
|
64
|
+
placeholder: string;
|
|
50
65
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
51
66
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
options: {
|
|
3
|
-
type: PropType<Array<
|
|
3
|
+
type: PropType<Array<import('./props').DescOptions>>;
|
|
4
4
|
required: boolean;
|
|
5
5
|
default: () => never[];
|
|
6
6
|
description: string;
|
|
7
|
-
validator(value: Array<
|
|
7
|
+
validator(value: Array<import('./props').DescOptions>): boolean;
|
|
8
8
|
};
|
|
9
9
|
dataSource: {
|
|
10
10
|
type: PropType<Record<string, any>>;
|
|
@@ -73,11 +73,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
73
73
|
mounted: (...args: any[]) => void;
|
|
74
74
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
75
75
|
options: {
|
|
76
|
-
type: PropType<Array<
|
|
76
|
+
type: PropType<Array<import('./props').DescOptions>>;
|
|
77
77
|
required: boolean;
|
|
78
78
|
default: () => never[];
|
|
79
79
|
description: string;
|
|
80
|
-
validator(value: Array<
|
|
80
|
+
validator(value: Array<import('./props').DescOptions>): boolean;
|
|
81
81
|
};
|
|
82
82
|
dataSource: {
|
|
83
83
|
type: PropType<Record<string, any>>;
|
|
@@ -149,7 +149,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
149
149
|
direction: import('./props').DescDirection;
|
|
150
150
|
width: string | number;
|
|
151
151
|
gap: string | number;
|
|
152
|
-
options:
|
|
152
|
+
options: import('./props').DescOptions[];
|
|
153
153
|
columns: string | number;
|
|
154
154
|
labelWidth: string | number;
|
|
155
155
|
id: string;
|
|
@@ -2,13 +2,20 @@ import { ExtractPropTypes, PropType } from 'vue';
|
|
|
2
2
|
import { LewSize, TextTrimAlignment } from '../../..';
|
|
3
3
|
|
|
4
4
|
export type DescDirection = 'x' | 'y';
|
|
5
|
+
export type DescOptions = {
|
|
6
|
+
label: string;
|
|
7
|
+
field: string;
|
|
8
|
+
gridArea: string;
|
|
9
|
+
direction: DescDirection;
|
|
10
|
+
customRender: (value: any) => any;
|
|
11
|
+
};
|
|
5
12
|
export declare const descProps: {
|
|
6
13
|
options: {
|
|
7
|
-
type: PropType<Array<
|
|
14
|
+
type: PropType<Array<DescOptions>>;
|
|
8
15
|
required: boolean;
|
|
9
16
|
default: () => never[];
|
|
10
17
|
description: string;
|
|
11
|
-
validator(value: Array<
|
|
18
|
+
validator(value: Array<DescOptions>): boolean;
|
|
12
19
|
};
|
|
13
20
|
dataSource: {
|
|
14
21
|
type: PropType<Record<string, any>>;
|
|
@@ -147,8 +147,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
147
147
|
loading: boolean;
|
|
148
148
|
disabled: boolean;
|
|
149
149
|
text: string;
|
|
150
|
-
round: boolean;
|
|
151
150
|
singleIcon: boolean;
|
|
151
|
+
round: boolean;
|
|
152
152
|
dashed: boolean;
|
|
153
153
|
request: Function;
|
|
154
154
|
};
|
|
@@ -159,8 +159,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
159
159
|
loading: boolean;
|
|
160
160
|
disabled: boolean;
|
|
161
161
|
text: string;
|
|
162
|
-
round: boolean;
|
|
163
162
|
singleIcon: boolean;
|
|
163
|
+
round: boolean;
|
|
164
164
|
dashed: boolean;
|
|
165
165
|
request: Function;
|
|
166
166
|
};
|
|
@@ -159,8 +159,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
159
159
|
loading: boolean;
|
|
160
160
|
disabled: boolean;
|
|
161
161
|
text: string;
|
|
162
|
-
round: boolean;
|
|
163
162
|
singleIcon: boolean;
|
|
163
|
+
round: boolean;
|
|
164
164
|
dashed: boolean;
|
|
165
165
|
request: Function;
|
|
166
166
|
};
|
|
@@ -171,8 +171,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
171
171
|
loading: boolean;
|
|
172
172
|
disabled: boolean;
|
|
173
173
|
text: string;
|
|
174
|
-
round: boolean;
|
|
175
174
|
singleIcon: boolean;
|
|
175
|
+
round: boolean;
|
|
176
176
|
dashed: boolean;
|
|
177
177
|
request: Function;
|
|
178
178
|
};
|
|
@@ -115,8 +115,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
115
115
|
loading: boolean;
|
|
116
116
|
disabled: boolean;
|
|
117
117
|
text: string;
|
|
118
|
-
round: boolean;
|
|
119
118
|
singleIcon: boolean;
|
|
119
|
+
round: boolean;
|
|
120
120
|
dashed: boolean;
|
|
121
121
|
request: Function;
|
|
122
122
|
};
|
|
@@ -127,8 +127,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
127
127
|
loading: boolean;
|
|
128
128
|
disabled: boolean;
|
|
129
129
|
text: string;
|
|
130
|
-
round: boolean;
|
|
131
130
|
singleIcon: boolean;
|
|
131
|
+
round: boolean;
|
|
132
132
|
dashed: boolean;
|
|
133
133
|
request: Function;
|
|
134
134
|
};
|
|
@@ -38,7 +38,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
38
38
|
};
|
|
39
39
|
delay: {
|
|
40
40
|
type: PropType<number[]>;
|
|
41
|
-
default:
|
|
41
|
+
default: number[];
|
|
42
42
|
description: string;
|
|
43
43
|
validator(value: [number, number]): boolean;
|
|
44
44
|
};
|
|
@@ -79,7 +79,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
79
79
|
};
|
|
80
80
|
delay: {
|
|
81
81
|
type: PropType<number[]>;
|
|
82
|
-
default:
|
|
82
|
+
default: number[];
|
|
83
83
|
description: string;
|
|
84
84
|
validator(value: [number, number]): boolean;
|
|
85
85
|
};
|