@zl-ui-kit/components 0.20.2 → 0.21.0
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/README.md +161 -44
- package/dist/components/ZlAppMenu/AppMenu3.vue.mjs +1 -1
- package/dist/components/ZlBreadcrumb/index.css +1 -0
- package/dist/components/ZlBreadcrumb/index.vue.d.ts +32 -0
- package/dist/components/ZlBreadcrumb/index.vue.mjs +58 -0
- package/dist/components/ZlBreadcrumb/index3.vue.mjs +6 -0
- package/dist/components/ZlBreadcrumb/types.d.ts +16 -0
- package/dist/components/ZlMenu/index3.vue.mjs +1 -1
- package/dist/components/ZlUpload/index.css +1 -1
- package/dist/components/ZlUpload/index.vue.d.ts +44 -3
- package/dist/components/ZlUpload/index.vue.mjs +2 -2
- package/dist/components/ZlUpload/index2.vue.mjs +119 -79
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +136 -132
- package/package.json +7 -7
- /package/dist/components/{ZlAppMenu/AppMenu.css → ZlMenu/index.css} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import i from "./components/ZlAction/index.vue.mjs";
|
|
2
|
-
import
|
|
3
|
-
import './components/ZlTree/index.css';import './components/ZlTag/index.css';import './components/ZlTabs/index.css';import './components/ZlTable/index.css';import './components/ZlSwitch/index.css';import './components/ZlSection/index.css';import './components/ZlSearchTable/index.css';import './components/ZlSearch/index.css';import './components/ZlRadioTag/index.css';import './components/ZlPopconfirm/index.css';import './components/ZlPdfViewer/index.css';import './components/ZlLogin/index.css';import './components/ZlIconLabel/index.css';import './components/ZlGrid/index.css';import './components/ZlForm/index.css';import './components/ZlDrawer/index.css';import './components/ZlDialog/index.css';import './components/ZlDescription/index.css';import './components/ZlTag/ZlCornerTag.css';import './components/ZlCheckboxTag/index.css';import './components/ZlCard/index.css';import './components/ZlCardPage/index.css';import './components/ZlAppSlogan/index.css';import './components/
|
|
4
|
-
import
|
|
2
|
+
import a from "./components/ZlAction/List.vue.mjs";
|
|
3
|
+
import './components/ZlTree/index.css';import './components/ZlTag/index.css';import './components/ZlTabs/index.css';import './components/ZlTable/index.css';import './components/ZlSwitch/index.css';import './components/ZlSection/index.css';import './components/ZlSearchTable/index.css';import './components/ZlSearch/index.css';import './components/ZlRadioTag/index.css';import './components/ZlPopconfirm/index.css';import './components/ZlPdfViewer/index.css';import './components/ZlLogin/index.css';import './components/ZlIconLabel/index.css';import './components/ZlGrid/index.css';import './components/ZlForm/index.css';import './components/ZlDrawer/index.css';import './components/ZlDialog/index.css';import './components/ZlDescription/index.css';import './components/ZlTag/ZlCornerTag.css';import './components/ZlCheckboxTag/index.css';import './components/ZlCard/index.css';import './components/ZlCardPage/index.css';import './components/ZlBreadcrumb/index.css';import './components/ZlAppSlogan/index.css';import './components/ZlMenu/index.css';import './components/ZlAction/List.css';/* empty css */
|
|
4
|
+
import t from "./components/ZlAddSub/index.vue.mjs";
|
|
5
5
|
import l from "./components/ZlAppLayout/index.vue.mjs";
|
|
6
6
|
import p from "./components/ZlAppMenu/AppMenu.vue.mjs";
|
|
7
7
|
/* empty css */
|
|
@@ -10,47 +10,49 @@ import f from "./components/ZlAppSlogan/index.vue.mjs";
|
|
|
10
10
|
import s from "./components/ZlAutoTooltip/index.vue.mjs";
|
|
11
11
|
import n from "./components/ZlAvatar/index.vue.mjs";
|
|
12
12
|
import e from "./components/ZlAvatar/Group.vue.mjs";
|
|
13
|
-
import Z from "./components/
|
|
13
|
+
import Z from "./components/ZlBreadcrumb/index.vue.mjs";
|
|
14
|
+
/* empty css */
|
|
15
|
+
import c from "./components/ZlCardPage/index.vue.mjs";
|
|
14
16
|
/* empty css */
|
|
15
|
-
import
|
|
17
|
+
import _ from "./components/ZlCard/index.vue.mjs";
|
|
16
18
|
/* empty css */
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
+
import $ from "./components/ZlCheckAll/index.vue.mjs";
|
|
20
|
+
import d from "./components/ZlCheckboxTag/index.vue.mjs";
|
|
19
21
|
/* empty css */
|
|
20
22
|
import g from "./components/ZlTag/ZlCornerTag.vue.mjs";
|
|
21
23
|
/* empty css */
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
+
import T from "./components/ZlCopy/index.vue.mjs";
|
|
25
|
+
import u from "./components/ZlDescription/index.vue.mjs";
|
|
24
26
|
/* empty css */
|
|
25
|
-
import
|
|
27
|
+
import b from "./components/ZlDialog/index.vue.mjs";
|
|
26
28
|
/* empty css */
|
|
27
29
|
import P from "./components/ZlDictTag/index.vue.mjs";
|
|
28
30
|
import C from "./components/ZlDrawer/index.vue.mjs";
|
|
29
31
|
/* empty css */
|
|
30
32
|
import S from "./components/ZlDynamicComponent/index.vue.mjs";
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
+
import h from "./components/ZlEmpty/index.vue.mjs";
|
|
34
|
+
import A from "./components/ZlForm/index.vue.mjs";
|
|
33
35
|
/* empty css */
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
36
|
+
import x from "./components/ZlForm/ZlFormChild.vue.mjs";
|
|
37
|
+
import I from "./components/ZlGrid/ZlGridItem.vue.mjs";
|
|
38
|
+
import L from "./components/ZlGrid/index.vue.mjs";
|
|
37
39
|
/* empty css */
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
40
|
+
import D from "./components/ZlHorizontalTable/index.vue.mjs";
|
|
41
|
+
import y from "./components/ZlIcon/index.vue.mjs";
|
|
42
|
+
import v from "./components/ZlI18nProvider/index.vue.mjs";
|
|
43
|
+
import w from "./components/ZlIconHover/index.vue.mjs";
|
|
44
|
+
import M from "./components/ZlIconLabel/index.vue.mjs";
|
|
43
45
|
/* empty css */
|
|
44
|
-
import
|
|
46
|
+
import z from "./components/ZlLayoutSwitch/index.vue.mjs";
|
|
45
47
|
import F from "./components/ZlLoading/index.vue.mjs";
|
|
46
48
|
import G from "./components/ZlLogin/index.vue.mjs";
|
|
47
49
|
/* empty css */
|
|
48
50
|
import k from "./components/ZlLogin/components/LoginForm.vue.mjs";
|
|
49
|
-
import
|
|
51
|
+
import E from "./components/ZlMenu/index.vue.mjs";
|
|
50
52
|
/* empty css */
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
53
|
+
import H from "./components/ZlPageContainer/index.vue.mjs";
|
|
54
|
+
import j from "./components/ZlPagination/index.vue.mjs";
|
|
55
|
+
import B from "./components/ZlPdfViewer/index.vue.mjs";
|
|
54
56
|
/* empty css */
|
|
55
57
|
import R from "./components/ZlPermission/index.vue.mjs";
|
|
56
58
|
import V from "./components/ZlPopconfirm/index.vue.mjs";
|
|
@@ -61,164 +63,166 @@ import O from "./components/ZlSearch/index.vue.mjs";
|
|
|
61
63
|
/* empty css */
|
|
62
64
|
import U from "./components/ZlSearchTable/index.vue.mjs";
|
|
63
65
|
/* empty css */
|
|
64
|
-
import
|
|
66
|
+
import J from "./components/ZlSection/index.vue.mjs";
|
|
65
67
|
/* empty css */
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
68
|
+
import K from "./components/ZlSorter/index.vue.mjs";
|
|
69
|
+
import N from "./components/ZlSorter/ZlSorterList.vue.mjs";
|
|
70
|
+
import Q from "./components/ZlStep/index.vue.mjs";
|
|
71
|
+
import W from "./components/ZlSwitch/index.vue.mjs";
|
|
70
72
|
/* empty css */
|
|
71
|
-
import
|
|
73
|
+
import X from "./components/ZlTable/index.vue.mjs";
|
|
72
74
|
/* empty css */
|
|
73
|
-
import
|
|
75
|
+
import Y from "./components/ZlTabs/index.vue.mjs";
|
|
74
76
|
/* empty css */
|
|
75
|
-
import
|
|
77
|
+
import oo from "./components/ZlTag/index.vue.mjs";
|
|
76
78
|
/* empty css */
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
79
|
+
import ro from "./components/ZlText/index.vue.mjs";
|
|
80
|
+
import mo from "./components/ZlTitle/index.vue.mjs";
|
|
81
|
+
import io from "./components/ZlTree/index.vue.mjs";
|
|
80
82
|
/* empty css */
|
|
81
|
-
import
|
|
83
|
+
import ao from "./components/ZlTreeSelect/index.vue.mjs";
|
|
82
84
|
import to from "./components/ZlUpload/index.vue.mjs";
|
|
83
|
-
import { presetIconifyIcon as
|
|
84
|
-
import { usePagination as
|
|
85
|
-
import { useTablePagination as
|
|
86
|
-
import { usePermission as
|
|
87
|
-
import { createZlI18n as
|
|
88
|
-
import { default as
|
|
89
|
-
import { zlMessages as
|
|
90
|
-
import { default as
|
|
91
|
-
const
|
|
85
|
+
import { presetIconifyIcon as Rr } from "./components/ZlIcon/presetIconifyIcon.mjs";
|
|
86
|
+
import { usePagination as qr } from "./components/ZlPagination/usePagination.mjs";
|
|
87
|
+
import { useTablePagination as Ur } from "./components/ZlTable/useTablePagination.mjs";
|
|
88
|
+
import { usePermission as Kr, usePermissionProvider as Nr } from "./components/ZlPermission/usePermission.mjs";
|
|
89
|
+
import { createZlI18n as Wr } from "./locales/createZlI18n.mjs";
|
|
90
|
+
import { default as Yr } from "./locales/en.mjs";
|
|
91
|
+
import { zlMessages as rm } from "./locales/messages.mjs";
|
|
92
|
+
import { default as im } from "./locales/zh-cn.mjs";
|
|
93
|
+
const lo = {
|
|
92
94
|
ZlAction: i,
|
|
93
|
-
ZlActionList:
|
|
94
|
-
ZlAddSub:
|
|
95
|
+
ZlActionList: a,
|
|
96
|
+
ZlAddSub: t,
|
|
95
97
|
ZlAppLayout: l,
|
|
96
98
|
ZlAppMenu: p,
|
|
97
99
|
ZlAppSlogan: f,
|
|
98
100
|
ZlAutoTooltip: s,
|
|
99
101
|
ZlAvatar: n,
|
|
100
102
|
ZlAvatarGroup: e,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
103
|
+
ZlBreadcrumb: Z,
|
|
104
|
+
ZlCardPage: c,
|
|
105
|
+
ZlCard: _,
|
|
106
|
+
ZlCheckAll: $,
|
|
107
|
+
ZlCheckboxTag: d,
|
|
108
|
+
ZlCopy: T,
|
|
109
|
+
ZlDescription: u,
|
|
110
|
+
ZlDialog: b,
|
|
108
111
|
ZlDictTag: P,
|
|
109
112
|
ZlDrawer: C,
|
|
110
113
|
ZlDynamicComponent: S,
|
|
111
|
-
ZlEmpty:
|
|
112
|
-
ZlForm:
|
|
113
|
-
ZlFormChild:
|
|
114
|
-
ZlGridItem:
|
|
115
|
-
ZlGrid:
|
|
116
|
-
ZlHorizontalTable:
|
|
117
|
-
ZlIcon:
|
|
118
|
-
ZlI18nProvider:
|
|
119
|
-
ZlIconHover:
|
|
120
|
-
ZlIconLabel:
|
|
114
|
+
ZlEmpty: h,
|
|
115
|
+
ZlForm: A,
|
|
116
|
+
ZlFormChild: x,
|
|
117
|
+
ZlGridItem: I,
|
|
118
|
+
ZlGrid: L,
|
|
119
|
+
ZlHorizontalTable: D,
|
|
120
|
+
ZlIcon: y,
|
|
121
|
+
ZlI18nProvider: v,
|
|
122
|
+
ZlIconHover: w,
|
|
123
|
+
ZlIconLabel: M,
|
|
121
124
|
ZlCornerTag: g,
|
|
122
|
-
ZlLayoutSwitch:
|
|
125
|
+
ZlLayoutSwitch: z,
|
|
123
126
|
ZlLoading: F,
|
|
124
127
|
ZlLogin: G,
|
|
125
128
|
ZlLoginForm: k,
|
|
126
|
-
ZlMenu:
|
|
127
|
-
ZlPageContainer:
|
|
128
|
-
ZlPagination:
|
|
129
|
-
ZlPdfViewer:
|
|
129
|
+
ZlMenu: E,
|
|
130
|
+
ZlPageContainer: H,
|
|
131
|
+
ZlPagination: j,
|
|
132
|
+
ZlPdfViewer: B,
|
|
130
133
|
ZlPermission: R,
|
|
131
134
|
ZlPopconfirm: V,
|
|
132
135
|
ZlRadioTag: q,
|
|
133
136
|
ZlSearch: O,
|
|
134
137
|
ZlSearchTable: U,
|
|
135
|
-
ZlSection:
|
|
136
|
-
ZlSorter:
|
|
137
|
-
ZlSorterList:
|
|
138
|
-
ZlStep:
|
|
139
|
-
ZlSwitch:
|
|
140
|
-
ZlTable:
|
|
141
|
-
ZlTabs:
|
|
142
|
-
ZlTag:
|
|
143
|
-
ZlText:
|
|
144
|
-
ZlTitle:
|
|
138
|
+
ZlSection: J,
|
|
139
|
+
ZlSorter: K,
|
|
140
|
+
ZlSorterList: N,
|
|
141
|
+
ZlStep: Q,
|
|
142
|
+
ZlSwitch: W,
|
|
143
|
+
ZlTable: X,
|
|
144
|
+
ZlTabs: Y,
|
|
145
|
+
ZlTag: oo,
|
|
146
|
+
ZlText: ro,
|
|
147
|
+
ZlTitle: mo,
|
|
145
148
|
ZlUpload: to,
|
|
146
|
-
ZlTree:
|
|
147
|
-
ZlTreeSelect:
|
|
149
|
+
ZlTree: io,
|
|
150
|
+
ZlTreeSelect: ao
|
|
148
151
|
};
|
|
149
|
-
function
|
|
150
|
-
Object.entries(
|
|
152
|
+
function po(o) {
|
|
153
|
+
Object.entries(lo).forEach(([r, m]) => {
|
|
151
154
|
o.component(r, m);
|
|
152
155
|
});
|
|
153
156
|
}
|
|
154
|
-
const
|
|
157
|
+
const Hr = { install: po };
|
|
155
158
|
export {
|
|
156
159
|
i as ZlAction,
|
|
157
|
-
|
|
158
|
-
|
|
160
|
+
a as ZlActionList,
|
|
161
|
+
t as ZlAddSub,
|
|
159
162
|
l as ZlAppLayout,
|
|
160
163
|
p as ZlAppMenu,
|
|
161
164
|
f as ZlAppSlogan,
|
|
162
165
|
s as ZlAutoTooltip,
|
|
163
166
|
n as ZlAvatar,
|
|
164
167
|
e as ZlAvatarGroup,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
$ as
|
|
169
|
-
d as
|
|
168
|
+
Z as ZlBreadcrumb,
|
|
169
|
+
_ as ZlCard,
|
|
170
|
+
c as ZlCardPage,
|
|
171
|
+
$ as ZlCheckAll,
|
|
172
|
+
d as ZlCheckboxTag,
|
|
173
|
+
T as ZlCopy,
|
|
170
174
|
g as ZlCornerTag,
|
|
171
|
-
|
|
172
|
-
|
|
175
|
+
u as ZlDescription,
|
|
176
|
+
b as ZlDialog,
|
|
173
177
|
P as ZlDictTag,
|
|
174
178
|
C as ZlDrawer,
|
|
175
179
|
S as ZlDynamicComponent,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
180
|
+
h as ZlEmpty,
|
|
181
|
+
A as ZlForm,
|
|
182
|
+
x as ZlFormChild,
|
|
183
|
+
L as ZlGrid,
|
|
184
|
+
I as ZlGridItem,
|
|
185
|
+
D as ZlHorizontalTable,
|
|
186
|
+
v as ZlI18nProvider,
|
|
187
|
+
y as ZlIcon,
|
|
188
|
+
w as ZlIconHover,
|
|
189
|
+
M as ZlIconLabel,
|
|
190
|
+
z as ZlLayoutSwitch,
|
|
187
191
|
F as ZlLoading,
|
|
188
192
|
G as ZlLogin,
|
|
189
193
|
k as ZlLoginForm,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
+
E as ZlMenu,
|
|
195
|
+
H as ZlPageContainer,
|
|
196
|
+
j as ZlPagination,
|
|
197
|
+
B as ZlPdfViewer,
|
|
194
198
|
R as ZlPermission,
|
|
195
199
|
V as ZlPopconfirm,
|
|
196
200
|
q as ZlRadioTag,
|
|
197
201
|
O as ZlSearch,
|
|
198
202
|
U as ZlSearchTable,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
203
|
+
J as ZlSection,
|
|
204
|
+
K as ZlSorter,
|
|
205
|
+
N as ZlSorterList,
|
|
206
|
+
Q as ZlStep,
|
|
207
|
+
W as ZlSwitch,
|
|
208
|
+
X as ZlTable,
|
|
209
|
+
Y as ZlTabs,
|
|
210
|
+
oo as ZlTag,
|
|
211
|
+
ro as ZlText,
|
|
212
|
+
mo as ZlTitle,
|
|
213
|
+
io as ZlTree,
|
|
214
|
+
ao as ZlTreeSelect,
|
|
211
215
|
to as ZlUpload,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
216
|
+
Wr as createZlI18n,
|
|
217
|
+
Hr as default,
|
|
218
|
+
po as install,
|
|
219
|
+
Rr as presetIconifyIcon,
|
|
220
|
+
qr as usePagination,
|
|
221
|
+
Kr as usePermission,
|
|
222
|
+
Nr as usePermissionProvider,
|
|
223
|
+
Ur as useTablePagination,
|
|
224
|
+
Yr as zlEnMessages,
|
|
225
|
+
rm as zlMessages,
|
|
226
|
+
im as zlZhMessages
|
|
223
227
|
};
|
|
224
228
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zl-ui-kit/components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ZL UI 业务组件库(Element Plus 体系,Zl 前缀)——首批:Icon/AutoTooltip/Tag/CornerTag/Text/Title/Copy/Empty/Pagination/DictTag",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"file-type": "^20.4.1",
|
|
40
40
|
"dt-sql-parser": "^4.3.1",
|
|
41
41
|
"sql-formatter": "^15.4.2",
|
|
42
|
-
"@zl-ui-kit/composables": "0.
|
|
43
|
-
"@zl-ui-kit/icons": "0.
|
|
44
|
-
"@zl-ui-kit/utils": "0.
|
|
42
|
+
"@zl-ui-kit/composables": "0.21.0",
|
|
43
|
+
"@zl-ui-kit/icons": "0.21.0",
|
|
44
|
+
"@zl-ui-kit/utils": "0.21.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@vueuse/core": "^12.3.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
|
|
@@ -99,10 +99,10 @@
|
|
|
99
99
|
"@vue-office/pdf": "^2.0.10",
|
|
100
100
|
"@vue-office/pptx": "1.0.1",
|
|
101
101
|
"echarts": "^5.6.0",
|
|
102
|
-
"@jichuang/
|
|
102
|
+
"@jichuang/tsconfig": "1.0.0",
|
|
103
103
|
"@jichuang/eslint-config": "1.0.0",
|
|
104
|
-
"@
|
|
105
|
-
"@
|
|
104
|
+
"@jichuang/vite-config": "1.0.0",
|
|
105
|
+
"@zl-ui-kit/theme": "0.21.0"
|
|
106
106
|
},
|
|
107
107
|
"repository": {
|
|
108
108
|
"type": "git",
|
|
File without changes
|