lew-ui 2.7.69 → 2.7.71
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/LICENSE +21 -21
- package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +20 -10
- package/dist/components/general/avatar/index.d.ts +6 -2
- package/dist/components/general/button/index.d.ts +7 -2
- package/dist/components/general/button/src/LewButton.vue.d.ts +8 -8
- package/dist/components/general/button/src/emits.d.ts +10 -0
- package/dist/components/general/flex/src/LewFlex.vue.d.ts +15 -16
- package/dist/components/general/image/index.d.ts +6 -2
- package/dist/components/general/tag/src/LewTag.vue.d.ts +5 -6
- package/dist/index.css +1 -1
- package/dist/index.js +506 -426
- package/dist/index.umd.cjs +1 -47
- package/dist/locals/de.d.ts +25 -0
- package/dist/locals/en.d.ts +32 -7
- package/dist/locals/es.d.ts +25 -0
- package/dist/locals/fr.d.ts +25 -0
- package/dist/locals/it.d.ts +25 -0
- package/dist/locals/ja.d.ts +25 -0
- package/dist/locals/ko.d.ts +25 -0
- package/dist/locals/pt.d.ts +25 -0
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +10 -5
- package/package.json +6 -4
package/dist/locals/de.d.ts
CHANGED
|
@@ -54,6 +54,18 @@ declare const _default: {
|
|
|
54
54
|
Fri: string;
|
|
55
55
|
Sat: string;
|
|
56
56
|
Sun: string;
|
|
57
|
+
Jan: string;
|
|
58
|
+
Feb: string;
|
|
59
|
+
Mar: string;
|
|
60
|
+
Apr: string;
|
|
61
|
+
May: string;
|
|
62
|
+
Jun: string;
|
|
63
|
+
Jul: string;
|
|
64
|
+
Aug: string;
|
|
65
|
+
Sep: string;
|
|
66
|
+
Oct: string;
|
|
67
|
+
Nov: string;
|
|
68
|
+
Dec: string;
|
|
57
69
|
placeholder: string;
|
|
58
70
|
};
|
|
59
71
|
dateRangePicker: {
|
|
@@ -89,6 +101,9 @@ declare const _default: {
|
|
|
89
101
|
cancelText: string;
|
|
90
102
|
okText: string;
|
|
91
103
|
};
|
|
104
|
+
colorPicker: {
|
|
105
|
+
placeholder: string;
|
|
106
|
+
};
|
|
92
107
|
upload: {
|
|
93
108
|
dropActive: string;
|
|
94
109
|
click: string;
|
|
@@ -97,10 +112,20 @@ declare const _default: {
|
|
|
97
112
|
accept: string;
|
|
98
113
|
limit: string;
|
|
99
114
|
maxFileSize: string;
|
|
115
|
+
pending: string;
|
|
116
|
+
success: string;
|
|
117
|
+
fail: string;
|
|
118
|
+
uploading: string;
|
|
119
|
+
complete: string;
|
|
120
|
+
wrong_type: string;
|
|
121
|
+
wrong_size: string;
|
|
100
122
|
};
|
|
101
123
|
pagination: {
|
|
102
124
|
pageSize: string;
|
|
103
125
|
jumpTo: string;
|
|
104
126
|
};
|
|
127
|
+
empty: {
|
|
128
|
+
title: string;
|
|
129
|
+
};
|
|
105
130
|
};
|
|
106
131
|
export default _default;
|
package/dist/locals/en.d.ts
CHANGED
|
@@ -54,6 +54,18 @@ declare const _default: {
|
|
|
54
54
|
Fri: string;
|
|
55
55
|
Sat: string;
|
|
56
56
|
Sun: string;
|
|
57
|
+
Jan: string;
|
|
58
|
+
Feb: string;
|
|
59
|
+
Mar: string;
|
|
60
|
+
Apr: string;
|
|
61
|
+
May: string;
|
|
62
|
+
Jun: string;
|
|
63
|
+
Jul: string;
|
|
64
|
+
Aug: string;
|
|
65
|
+
Sep: string;
|
|
66
|
+
Oct: string;
|
|
67
|
+
Nov: string;
|
|
68
|
+
Dec: string;
|
|
57
69
|
placeholder: string;
|
|
58
70
|
};
|
|
59
71
|
dateRangePicker: {
|
|
@@ -81,6 +93,17 @@ declare const _default: {
|
|
|
81
93
|
closeText: string;
|
|
82
94
|
okText: string;
|
|
83
95
|
};
|
|
96
|
+
dialog: {
|
|
97
|
+
cancelText: string;
|
|
98
|
+
okText: string;
|
|
99
|
+
};
|
|
100
|
+
popok: {
|
|
101
|
+
cancelText: string;
|
|
102
|
+
okText: string;
|
|
103
|
+
};
|
|
104
|
+
colorPicker: {
|
|
105
|
+
placeholder: string;
|
|
106
|
+
};
|
|
84
107
|
upload: {
|
|
85
108
|
dropActive: string;
|
|
86
109
|
click: string;
|
|
@@ -89,18 +112,20 @@ declare const _default: {
|
|
|
89
112
|
accept: string;
|
|
90
113
|
limit: string;
|
|
91
114
|
maxFileSize: string;
|
|
115
|
+
pending: string;
|
|
116
|
+
success: string;
|
|
117
|
+
fail: string;
|
|
118
|
+
uploading: string;
|
|
119
|
+
complete: string;
|
|
120
|
+
wrong_type: string;
|
|
121
|
+
wrong_size: string;
|
|
92
122
|
};
|
|
93
123
|
pagination: {
|
|
94
124
|
pageSize: string;
|
|
95
125
|
jumpTo: string;
|
|
96
126
|
};
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
okText: string;
|
|
100
|
-
};
|
|
101
|
-
popok: {
|
|
102
|
-
cancelText: string;
|
|
103
|
-
okText: string;
|
|
127
|
+
empty: {
|
|
128
|
+
title: string;
|
|
104
129
|
};
|
|
105
130
|
};
|
|
106
131
|
export default _default;
|
package/dist/locals/es.d.ts
CHANGED
|
@@ -54,6 +54,18 @@ declare const _default: {
|
|
|
54
54
|
Fri: string;
|
|
55
55
|
Sat: string;
|
|
56
56
|
Sun: string;
|
|
57
|
+
Jan: string;
|
|
58
|
+
Feb: string;
|
|
59
|
+
Mar: string;
|
|
60
|
+
Apr: string;
|
|
61
|
+
May: string;
|
|
62
|
+
Jun: string;
|
|
63
|
+
Jul: string;
|
|
64
|
+
Aug: string;
|
|
65
|
+
Sep: string;
|
|
66
|
+
Oct: string;
|
|
67
|
+
Nov: string;
|
|
68
|
+
Dec: string;
|
|
57
69
|
placeholder: string;
|
|
58
70
|
};
|
|
59
71
|
dateRangePicker: {
|
|
@@ -89,6 +101,9 @@ declare const _default: {
|
|
|
89
101
|
cancelText: string;
|
|
90
102
|
okText: string;
|
|
91
103
|
};
|
|
104
|
+
colorPicker: {
|
|
105
|
+
placeholder: string;
|
|
106
|
+
};
|
|
92
107
|
upload: {
|
|
93
108
|
dropActive: string;
|
|
94
109
|
click: string;
|
|
@@ -97,10 +112,20 @@ declare const _default: {
|
|
|
97
112
|
accept: string;
|
|
98
113
|
limit: string;
|
|
99
114
|
maxFileSize: string;
|
|
115
|
+
pending: string;
|
|
116
|
+
success: string;
|
|
117
|
+
fail: string;
|
|
118
|
+
uploading: string;
|
|
119
|
+
complete: string;
|
|
120
|
+
wrong_type: string;
|
|
121
|
+
wrong_size: string;
|
|
100
122
|
};
|
|
101
123
|
pagination: {
|
|
102
124
|
pageSize: string;
|
|
103
125
|
jumpTo: string;
|
|
104
126
|
};
|
|
127
|
+
empty: {
|
|
128
|
+
title: string;
|
|
129
|
+
};
|
|
105
130
|
};
|
|
106
131
|
export default _default;
|
package/dist/locals/fr.d.ts
CHANGED
|
@@ -54,6 +54,18 @@ declare const _default: {
|
|
|
54
54
|
Fri: string;
|
|
55
55
|
Sat: string;
|
|
56
56
|
Sun: string;
|
|
57
|
+
Jan: string;
|
|
58
|
+
Feb: string;
|
|
59
|
+
Mar: string;
|
|
60
|
+
Apr: string;
|
|
61
|
+
May: string;
|
|
62
|
+
Jun: string;
|
|
63
|
+
Jul: string;
|
|
64
|
+
Aug: string;
|
|
65
|
+
Sep: string;
|
|
66
|
+
Oct: string;
|
|
67
|
+
Nov: string;
|
|
68
|
+
Dec: string;
|
|
57
69
|
placeholder: string;
|
|
58
70
|
};
|
|
59
71
|
dateRangePicker: {
|
|
@@ -89,6 +101,9 @@ declare const _default: {
|
|
|
89
101
|
cancelText: string;
|
|
90
102
|
okText: string;
|
|
91
103
|
};
|
|
104
|
+
colorPicker: {
|
|
105
|
+
placeholder: string;
|
|
106
|
+
};
|
|
92
107
|
upload: {
|
|
93
108
|
dropActive: string;
|
|
94
109
|
click: string;
|
|
@@ -97,10 +112,20 @@ declare const _default: {
|
|
|
97
112
|
accept: string;
|
|
98
113
|
limit: string;
|
|
99
114
|
maxFileSize: string;
|
|
115
|
+
pending: string;
|
|
116
|
+
success: string;
|
|
117
|
+
fail: string;
|
|
118
|
+
uploading: string;
|
|
119
|
+
complete: string;
|
|
120
|
+
wrong_type: string;
|
|
121
|
+
wrong_size: string;
|
|
100
122
|
};
|
|
101
123
|
pagination: {
|
|
102
124
|
pageSize: string;
|
|
103
125
|
jumpTo: string;
|
|
104
126
|
};
|
|
127
|
+
empty: {
|
|
128
|
+
title: string;
|
|
129
|
+
};
|
|
105
130
|
};
|
|
106
131
|
export default _default;
|
package/dist/locals/it.d.ts
CHANGED
|
@@ -54,6 +54,18 @@ declare const _default: {
|
|
|
54
54
|
Fri: string;
|
|
55
55
|
Sat: string;
|
|
56
56
|
Sun: string;
|
|
57
|
+
Jan: string;
|
|
58
|
+
Feb: string;
|
|
59
|
+
Mar: string;
|
|
60
|
+
Apr: string;
|
|
61
|
+
May: string;
|
|
62
|
+
Jun: string;
|
|
63
|
+
Jul: string;
|
|
64
|
+
Aug: string;
|
|
65
|
+
Sep: string;
|
|
66
|
+
Oct: string;
|
|
67
|
+
Nov: string;
|
|
68
|
+
Dec: string;
|
|
57
69
|
placeholder: string;
|
|
58
70
|
};
|
|
59
71
|
dateRangePicker: {
|
|
@@ -89,6 +101,9 @@ declare const _default: {
|
|
|
89
101
|
cancelText: string;
|
|
90
102
|
okText: string;
|
|
91
103
|
};
|
|
104
|
+
colorPicker: {
|
|
105
|
+
placeholder: string;
|
|
106
|
+
};
|
|
92
107
|
upload: {
|
|
93
108
|
dropActive: string;
|
|
94
109
|
click: string;
|
|
@@ -97,10 +112,20 @@ declare const _default: {
|
|
|
97
112
|
accept: string;
|
|
98
113
|
limit: string;
|
|
99
114
|
maxFileSize: string;
|
|
115
|
+
pending: string;
|
|
116
|
+
success: string;
|
|
117
|
+
fail: string;
|
|
118
|
+
uploading: string;
|
|
119
|
+
complete: string;
|
|
120
|
+
wrong_type: string;
|
|
121
|
+
wrong_size: string;
|
|
100
122
|
};
|
|
101
123
|
pagination: {
|
|
102
124
|
pageSize: string;
|
|
103
125
|
jumpTo: string;
|
|
104
126
|
};
|
|
127
|
+
empty: {
|
|
128
|
+
title: string;
|
|
129
|
+
};
|
|
105
130
|
};
|
|
106
131
|
export default _default;
|
package/dist/locals/ja.d.ts
CHANGED
|
@@ -54,6 +54,18 @@ declare const _default: {
|
|
|
54
54
|
Fri: string;
|
|
55
55
|
Sat: string;
|
|
56
56
|
Sun: string;
|
|
57
|
+
Jan: string;
|
|
58
|
+
Feb: string;
|
|
59
|
+
Mar: string;
|
|
60
|
+
Apr: string;
|
|
61
|
+
May: string;
|
|
62
|
+
Jun: string;
|
|
63
|
+
Jul: string;
|
|
64
|
+
Aug: string;
|
|
65
|
+
Sep: string;
|
|
66
|
+
Oct: string;
|
|
67
|
+
Nov: string;
|
|
68
|
+
Dec: string;
|
|
57
69
|
placeholder: string;
|
|
58
70
|
};
|
|
59
71
|
dateRangePicker: {
|
|
@@ -89,6 +101,9 @@ declare const _default: {
|
|
|
89
101
|
cancelText: string;
|
|
90
102
|
okText: string;
|
|
91
103
|
};
|
|
104
|
+
colorPicker: {
|
|
105
|
+
placeholder: string;
|
|
106
|
+
};
|
|
92
107
|
upload: {
|
|
93
108
|
dropActive: string;
|
|
94
109
|
click: string;
|
|
@@ -97,10 +112,20 @@ declare const _default: {
|
|
|
97
112
|
accept: string;
|
|
98
113
|
limit: string;
|
|
99
114
|
maxFileSize: string;
|
|
115
|
+
pending: string;
|
|
116
|
+
success: string;
|
|
117
|
+
fail: string;
|
|
118
|
+
uploading: string;
|
|
119
|
+
complete: string;
|
|
120
|
+
wrong_type: string;
|
|
121
|
+
wrong_size: string;
|
|
100
122
|
};
|
|
101
123
|
pagination: {
|
|
102
124
|
pageSize: string;
|
|
103
125
|
jumpTo: string;
|
|
104
126
|
};
|
|
127
|
+
empty: {
|
|
128
|
+
title: string;
|
|
129
|
+
};
|
|
105
130
|
};
|
|
106
131
|
export default _default;
|
package/dist/locals/ko.d.ts
CHANGED
|
@@ -54,6 +54,18 @@ declare const _default: {
|
|
|
54
54
|
Fri: string;
|
|
55
55
|
Sat: string;
|
|
56
56
|
Sun: string;
|
|
57
|
+
Jan: string;
|
|
58
|
+
Feb: string;
|
|
59
|
+
Mar: string;
|
|
60
|
+
Apr: string;
|
|
61
|
+
May: string;
|
|
62
|
+
Jun: string;
|
|
63
|
+
Jul: string;
|
|
64
|
+
Aug: string;
|
|
65
|
+
Sep: string;
|
|
66
|
+
Oct: string;
|
|
67
|
+
Nov: string;
|
|
68
|
+
Dec: string;
|
|
57
69
|
placeholder: string;
|
|
58
70
|
};
|
|
59
71
|
dateRangePicker: {
|
|
@@ -89,6 +101,9 @@ declare const _default: {
|
|
|
89
101
|
cancelText: string;
|
|
90
102
|
okText: string;
|
|
91
103
|
};
|
|
104
|
+
colorPicker: {
|
|
105
|
+
placeholder: string;
|
|
106
|
+
};
|
|
92
107
|
upload: {
|
|
93
108
|
dropActive: string;
|
|
94
109
|
click: string;
|
|
@@ -97,10 +112,20 @@ declare const _default: {
|
|
|
97
112
|
accept: string;
|
|
98
113
|
limit: string;
|
|
99
114
|
maxFileSize: string;
|
|
115
|
+
pending: string;
|
|
116
|
+
success: string;
|
|
117
|
+
fail: string;
|
|
118
|
+
uploading: string;
|
|
119
|
+
complete: string;
|
|
120
|
+
wrong_type: string;
|
|
121
|
+
wrong_size: string;
|
|
100
122
|
};
|
|
101
123
|
pagination: {
|
|
102
124
|
pageSize: string;
|
|
103
125
|
jumpTo: string;
|
|
104
126
|
};
|
|
127
|
+
empty: {
|
|
128
|
+
title: string;
|
|
129
|
+
};
|
|
105
130
|
};
|
|
106
131
|
export default _default;
|
package/dist/locals/pt.d.ts
CHANGED
|
@@ -54,6 +54,18 @@ declare const _default: {
|
|
|
54
54
|
Fri: string;
|
|
55
55
|
Sat: string;
|
|
56
56
|
Sun: string;
|
|
57
|
+
Jan: string;
|
|
58
|
+
Feb: string;
|
|
59
|
+
Mar: string;
|
|
60
|
+
Apr: string;
|
|
61
|
+
May: string;
|
|
62
|
+
Jun: string;
|
|
63
|
+
Jul: string;
|
|
64
|
+
Aug: string;
|
|
65
|
+
Sep: string;
|
|
66
|
+
Oct: string;
|
|
67
|
+
Nov: string;
|
|
68
|
+
Dec: string;
|
|
57
69
|
placeholder: string;
|
|
58
70
|
};
|
|
59
71
|
dateRangePicker: {
|
|
@@ -89,6 +101,9 @@ declare const _default: {
|
|
|
89
101
|
cancelText: string;
|
|
90
102
|
okText: string;
|
|
91
103
|
};
|
|
104
|
+
colorPicker: {
|
|
105
|
+
placeholder: string;
|
|
106
|
+
};
|
|
92
107
|
upload: {
|
|
93
108
|
dropActive: string;
|
|
94
109
|
click: string;
|
|
@@ -97,10 +112,20 @@ declare const _default: {
|
|
|
97
112
|
accept: string;
|
|
98
113
|
limit: string;
|
|
99
114
|
maxFileSize: string;
|
|
115
|
+
pending: string;
|
|
116
|
+
success: string;
|
|
117
|
+
fail: string;
|
|
118
|
+
uploading: string;
|
|
119
|
+
complete: string;
|
|
120
|
+
wrong_type: string;
|
|
121
|
+
wrong_size: string;
|
|
100
122
|
};
|
|
101
123
|
pagination: {
|
|
102
124
|
pageSize: string;
|
|
103
125
|
jumpTo: string;
|
|
104
126
|
};
|
|
127
|
+
empty: {
|
|
128
|
+
title: string;
|
|
129
|
+
};
|
|
105
130
|
};
|
|
106
131
|
export default _default;
|
|
@@ -156,14 +156,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
156
156
|
readonly text?: string | undefined;
|
|
157
157
|
readonly request?: (() => Promise<void>) | undefined;
|
|
158
158
|
readonly width?: import("csstype").Property.Width<0 | (string & {})> | undefined;
|
|
159
|
+
readonly onClick?: ((e: MouseEvent) => any) | undefined;
|
|
159
160
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "type" | "color" | "size" | "round" | "disabled" | "singleIcon" | "dashed">;
|
|
160
161
|
$attrs: {
|
|
161
162
|
[x: string]: unknown;
|
|
162
163
|
};
|
|
163
164
|
$refs: {
|
|
164
165
|
[x: string]: unknown;
|
|
165
|
-
} & {
|
|
166
|
-
buttonRef: HTMLButtonElement;
|
|
167
166
|
};
|
|
168
167
|
$slots: Readonly<{
|
|
169
168
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -171,7 +170,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
171
170
|
$root: ComponentPublicInstance | null;
|
|
172
171
|
$parent: ComponentPublicInstance | null;
|
|
173
172
|
$host: Element | null;
|
|
174
|
-
$emit: (event:
|
|
173
|
+
$emit: (event: "click", e: MouseEvent) => void;
|
|
175
174
|
$el: HTMLButtonElement;
|
|
176
175
|
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
177
176
|
text: {
|
|
@@ -229,7 +228,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
229
228
|
type: PropType<() => Promise<void>>;
|
|
230
229
|
validator: (value: any) => boolean;
|
|
231
230
|
};
|
|
232
|
-
}>> & Readonly<{
|
|
231
|
+
}>> & Readonly<{
|
|
232
|
+
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
233
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
234
|
+
click: (e: MouseEvent) => void;
|
|
235
|
+
}, string, {
|
|
233
236
|
loading: boolean;
|
|
234
237
|
type: import('../../..').LewButtonType;
|
|
235
238
|
color: LewColor;
|
|
@@ -323,7 +326,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
323
326
|
type: PropType<() => Promise<void>>;
|
|
324
327
|
validator: (value: any) => boolean;
|
|
325
328
|
};
|
|
326
|
-
}>> & Readonly<{
|
|
329
|
+
}>> & Readonly<{
|
|
330
|
+
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
331
|
+
}>, "loading" | "type" | "color" | "size" | "round" | "disabled" | "singleIcon" | "dashed"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
327
332
|
$slots: {
|
|
328
333
|
default?(_: {}): any;
|
|
329
334
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lew-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.71",
|
|
5
5
|
"description": "A Component Library for Vue3.js.",
|
|
6
6
|
"author": "lewkamtao",
|
|
7
7
|
"license": "MIT",
|
|
@@ -34,11 +34,12 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"dev": "vite",
|
|
36
36
|
"build:tsdown": "tsdown",
|
|
37
|
-
"build:docs": "pnpm lint:fix && pnpm lint:css:fix && node
|
|
37
|
+
"build:docs": "pnpm lint:fix && pnpm lint:css:fix && node scripts/extract-types.js && vue-tsc --noEmit && vite build --mode docs",
|
|
38
38
|
"build:lib": "node ./bump-version.js && vue-tsc --noEmit && vite build --mode lib",
|
|
39
39
|
"analyze": "vite build --mode analyze",
|
|
40
|
-
"format": "pnpm lint:fix && pnpm lint:css:fix && node
|
|
41
|
-
"format:types": "node
|
|
40
|
+
"format": "pnpm lint:fix && pnpm lint:css:fix && node scripts/extract-types.js",
|
|
41
|
+
"format:types": "node scripts/extract-types.js",
|
|
42
|
+
"sort:types": "node scripts/sort-components.js",
|
|
42
43
|
"lint:css": "stylelint \"lib/**/*.{css,scss}\" \"docs/**/*.{css,scss}\"",
|
|
43
44
|
"lint:css:fix": "stylelint \"lib/**/*.{css,scss}\" \"docs/**/*.{css,scss}\" --fix",
|
|
44
45
|
"lint": "eslint",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"csstype": "^3.1.3",
|
|
58
59
|
"dayjs": "^1.11.13",
|
|
59
60
|
"expr-eval": "^2.0.2",
|
|
61
|
+
"loading-masker": "^1.0.0",
|
|
60
62
|
"lodash-es": "^4.17.21",
|
|
61
63
|
"lucide-vue-next": "^0.534.0",
|
|
62
64
|
"rollup-plugin-scss": "^4.0.1",
|