lew-ui 2.7.70 → 2.7.76
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/CloseButton.vue.d.ts +20 -0
- package/dist/_components/CloseIcon.vue.d.ts +18 -0
- package/dist/_components/CommonInput.vue.d.ts +12 -49
- package/dist/components/data/collapse/index.d.ts +1 -0
- package/dist/components/data/collapse/src/model.d.ts +14 -0
- package/dist/components/data/collapse/src/props.d.ts +0 -11
- package/dist/components/data/expand/src/LewExpand.vue.d.ts +8 -2
- package/dist/components/data/pagination/index.d.ts +1 -0
- package/dist/components/data/pagination/src/model.d.ts +16 -0
- package/dist/components/data/pagination/src/props.d.ts +0 -18
- package/dist/components/data/table/src/LewTable.vue.d.ts +11 -2
- package/dist/components/data/table/src/props.d.ts +5 -0
- package/dist/components/feedback/alert/src/LewAlert.vue.d.ts +2 -6
- package/dist/components/feedback/alert/src/emits.d.ts +1 -3
- package/dist/components/feedback/drawer/index.d.ts +1 -0
- package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +9 -10
- package/dist/components/feedback/drawer/src/model.d.ts +8 -0
- package/dist/components/feedback/drawer/src/props.d.ts +0 -7
- package/dist/components/feedback/modal/index.d.ts +1 -0
- package/dist/components/feedback/modal/src/LewModal.vue.d.ts +4 -4
- package/dist/components/feedback/modal/src/model.d.ts +8 -0
- package/dist/components/feedback/modal/src/props.d.ts +0 -6
- package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +20 -10
- package/dist/components/form/cascader/src/LewCascader.vue.d.ts +100 -100
- package/dist/components/form/cascader/src/emits.d.ts +4 -3
- package/dist/components/form/cascader/src/model.d.ts +2 -1
- package/dist/components/form/cascader/src/props.d.ts +80 -80
- package/dist/components/form/checkbox/src/LewCheckbox.vue.d.ts +54 -54
- package/dist/components/form/checkbox/src/LewCheckboxGroup.vue.d.ts +52 -52
- package/dist/components/form/checkbox/src/props.d.ts +83 -83
- package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +32 -32
- package/dist/components/form/color-picker/src/props.d.ts +21 -21
- package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +4 -4
- package/dist/components/form/input/src/LewInput.vue.d.ts +4 -35
- package/dist/components/form/input/src/props.d.ts +0 -17
- package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +6 -10
- package/dist/components/form/input-number/src/emits.d.ts +1 -1
- package/dist/components/form/input-number/src/props.d.ts +0 -4
- package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +4 -53
- package/dist/components/form/input-tag/src/props.d.ts +0 -5
- package/dist/components/form/select/src/LewSelect.vue.d.ts +33 -88
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +12 -88
- 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 +52 -14
- package/dist/components/general/tag/src/emits.d.ts +3 -0
- package/dist/components/general/tag/src/props.d.ts +9 -0
- package/dist/components/general/text-trim/index.d.ts +7 -2
- package/dist/components/general/text-trim/src/emits.d.ts +2 -0
- package/dist/components/general/text-trim/src/text-trim.d.ts +1 -1
- package/dist/components/navigation/action-box/index.d.ts +7 -3
- package/dist/components/navigation/action-box/src/LewActionBox.vue.d.ts +6 -2
- package/dist/components/navigation/action-box/src/emits.d.ts +1 -0
- package/dist/components/navigation/back-top/index.d.ts +7 -2
- package/dist/components/navigation/back-top/src/emits.d.ts +2 -0
- package/dist/components/navigation/breadcrumb/index.d.ts +7 -3
- package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +2 -2
- package/dist/components/navigation/breadcrumb/src/emits.d.ts +3 -1
- package/dist/components/navigation/dropdown/index.d.ts +8 -3
- package/dist/components/navigation/dropdown/src/emits.d.ts +1 -0
- package/dist/components/navigation/dropdown/src/model.d.ts +8 -0
- package/dist/components/navigation/dropdown/src/props.d.ts +0 -6
- package/dist/components/navigation/menu/index.d.ts +8 -3
- package/dist/components/navigation/menu/src/LewMenu.vue.d.ts +4 -4
- package/dist/components/navigation/menu/src/emits.d.ts +1 -0
- package/dist/components/navigation/menu/src/model.d.ts +7 -0
- package/dist/components/navigation/menu/src/props.d.ts +0 -5
- package/dist/components/navigation/menu-tree/index.d.ts +9 -4
- package/dist/components/navigation/menu-tree/src/emits.d.ts +1 -0
- package/dist/components/navigation/menu-tree/src/model.d.ts +16 -0
- package/dist/components/navigation/menu-tree/src/props.d.ts +0 -13
- package/dist/components/navigation/steps/index.d.ts +8 -3
- package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +10 -6
- package/dist/components/navigation/steps/src/emits.d.ts +1 -0
- package/dist/components/navigation/steps/src/model.d.ts +7 -0
- package/dist/components/navigation/steps/src/props.d.ts +3 -6
- package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +2 -2
- package/dist/directives/context-menu/src/emits.d.ts +3 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3206 -2580
- 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/dist/methods/notification/src/NotificationContainer.vue.d.ts +6 -0
- package/dist/methods/notification/src/index.d.ts +4 -0
- package/package.json +8 -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
|
};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 添加新通知
|
|
3
|
+
*/
|
|
1
4
|
declare function add(type: string, title: string, content: string, duration: number, showProgress: boolean, width: number | string): string;
|
|
5
|
+
/**
|
|
6
|
+
* 关闭指定通知
|
|
7
|
+
*/
|
|
2
8
|
declare function handleClose(id: string): void;
|
|
3
9
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
4
10
|
add: typeof add;
|
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.76",
|
|
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 && node scripts/collect-mdc.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",
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
"terser": "^5.44.0",
|
|
66
68
|
"tippy.js": "^6.3.7",
|
|
67
69
|
"ts-morph": "^26.0.0",
|
|
70
|
+
"vfonts": "^0.0.3",
|
|
68
71
|
"vue-i18n": "^11.1.0",
|
|
69
72
|
"vue-router": "^4.0.13",
|
|
70
73
|
"vue-virt-list": "^1.5.11",
|
|
@@ -77,6 +80,7 @@
|
|
|
77
80
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
78
81
|
"eslint": "^9.31.0",
|
|
79
82
|
"eslint-plugin-format": "^1.0.1",
|
|
83
|
+
"markdown-it": "^14.1.0",
|
|
80
84
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
81
85
|
"sass": "^1.89.2",
|
|
82
86
|
"stylelint": "16.2.1",
|