@zl-ui-kit/components 0.26.2 → 0.27.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 +22 -18
- package/dist/components/ZlAction/List.vue.mjs +46 -49
- package/dist/components/ZlAction/index.vue.d.ts +1 -7
- package/dist/components/ZlAction/index.vue.mjs +8 -12
- package/dist/components/ZlAction/types.d.ts +2 -5
- package/dist/components/ZlAppLayout/Horizontal.css +1 -1
- package/dist/components/ZlAppLayout/Vertical.css +1 -1
- package/dist/components/ZlAppLayout/Vertical2.vue.mjs +41 -39
- package/dist/components/ZlAppLayout/index.vue.d.ts +6 -6
- package/dist/components/ZlAppLayout/index.vue.mjs +8 -8
- package/dist/components/ZlAppMenu/AppMenu.css +1 -0
- package/dist/components/ZlAppMenu/AppMenu.vue.d.ts +27 -0
- package/dist/components/ZlAppMenu/AppMenu.vue.mjs +37 -0
- package/dist/components/ZlAppMenu/AppMenu3.vue.mjs +6 -0
- package/dist/components/ZlAppMenu/AppMenuItem.vue.d.ts +11 -0
- package/dist/components/ZlAppMenu/AppMenuItem.vue.mjs +58 -0
- package/dist/components/ZlAppMenu/AppMenuItem2.vue.mjs +5 -0
- package/dist/components/ZlAppSlogan/index.css +1 -1
- package/dist/components/ZlAppSlogan/index.vue.d.ts +1 -1
- package/dist/components/ZlAppSlogan/index.vue.mjs +12 -19
- package/dist/components/ZlCardPage/index.vue.d.ts +3 -41
- package/dist/components/ZlCardPage/index.vue.mjs +68 -68
- package/dist/components/ZlCheckboxTag/index.css +1 -1
- package/dist/components/ZlCheckboxTag/index.vue.d.ts +4 -4
- package/dist/components/ZlCheckboxTag/index.vue.mjs +30 -34
- package/dist/components/ZlCopy/copy.mjs +7 -17
- package/dist/components/ZlCopy/index.css +1 -1
- package/dist/components/ZlCopy/index.vue.mjs +2 -2
- package/dist/components/ZlCopy/index2.vue.mjs +36 -34
- package/dist/components/ZlDescription/index.css +1 -1
- package/dist/components/ZlDescription/index.vue.mjs +24 -28
- package/dist/components/ZlDialog/index.css +1 -1
- package/dist/components/ZlDialog/index.vue.d.ts +0 -3
- package/dist/components/ZlDialog/index.vue.mjs +35 -39
- package/dist/components/ZlDictTag/index.vue.d.ts +3 -12
- package/dist/components/ZlDictTag/index.vue.mjs +26 -31
- package/dist/components/ZlDrawer/index.css +1 -1
- package/dist/components/ZlDrawer/index.vue.d.ts +0 -3
- package/dist/components/ZlDrawer/index.vue.mjs +32 -36
- package/dist/components/ZlDynamicComponent/index.vue.d.ts +3 -5
- package/dist/components/ZlForm/index.css +1 -1
- package/dist/components/ZlForm/index.vue.d.ts +0 -7
- package/dist/components/ZlForm/index.vue.mjs +47 -50
- package/dist/components/ZlLayoutSwitch/index.css +1 -1
- package/dist/components/ZlLayoutSwitch/index.vue.d.ts +0 -10
- package/dist/components/ZlLayoutSwitch/index.vue.mjs +1 -1
- package/dist/components/ZlLayoutSwitch/index2.vue.mjs +19 -27
- package/dist/components/ZlLogin/components/LoginForm.css +1 -1
- package/dist/components/ZlLogin/components/LoginForm.vue.mjs +1 -1
- package/dist/components/ZlLogin/components/LoginForm2.vue.mjs +25 -26
- package/dist/components/ZlPageContainer/index.css +1 -1
- package/dist/components/ZlPageContainer/index.vue.mjs +1 -1
- package/dist/components/ZlPagination/index.css +1 -1
- package/dist/components/ZlPagination/index.vue.d.ts +1 -21
- package/dist/components/ZlPagination/index.vue.mjs +1 -1
- package/dist/components/ZlPagination/index2.vue.mjs +33 -59
- package/dist/components/ZlPagination/usePagination.d.ts +0 -1
- package/dist/components/ZlPagination/usePagination.mjs +34 -51
- package/dist/components/ZlPopconfirm/index.vue.mjs +24 -25
- package/dist/components/ZlSearch/index.vue.d.ts +0 -25
- package/dist/components/ZlSearch/index.vue.mjs +205 -202
- package/dist/components/ZlSearchTable/index.vue.d.ts +2 -40
- package/dist/components/ZlSearchTable/index.vue.mjs +55 -59
- package/dist/components/ZlTable/useTablePagination.d.ts +0 -1
- package/dist/components/ZlTable/useTablePagination.mjs +23 -37
- package/dist/components/ZlTabs/index.vue.d.ts +3 -16
- package/dist/components/ZlTag/ZlCornerTag.css +1 -1
- package/dist/components/ZlTag/ZlCornerTag.vue.d.ts +1 -14
- package/dist/components/ZlTag/ZlCornerTag.vue.mjs +14 -25
- package/dist/components/ZlTag/index.vue.mjs +4 -4
- package/dist/components/ZlUpload/index.css +1 -1
- package/dist/components/ZlUpload/index.vue.d.ts +3 -44
- package/dist/components/ZlUpload/index.vue.mjs +3 -3
- package/dist/components/ZlUpload/index2.vue.mjs +79 -119
- package/dist/index.d.ts +2 -8
- package/dist/index.mjs +169 -183
- package/dist/locales/en.mjs +2 -2
- package/dist/locales/zh-cn.mjs +3 -3
- package/package.json +5 -5
- package/dist/components/ZlAppLayout/HeaderAside.css +0 -1
- package/dist/components/ZlAppLayout/HeaderAside.vue.d.ts +0 -25
- package/dist/components/ZlAppLayout/HeaderAside.vue.mjs +0 -6
- package/dist/components/ZlAppLayout/HeaderAside2.vue.mjs +0 -65
- package/dist/components/ZlBreadcrumb/index.css +0 -1
- package/dist/components/ZlBreadcrumb/index.vue.d.ts +0 -32
- package/dist/components/ZlBreadcrumb/index.vue.mjs +0 -58
- package/dist/components/ZlBreadcrumb/index3.vue.mjs +0 -6
- package/dist/components/ZlBreadcrumb/types.d.ts +0 -16
- package/dist/components/ZlButton/index.vue.d.ts +0 -81
- package/dist/components/ZlButton/index.vue.mjs +0 -60
- package/dist/components/ZlButton/index2.vue.mjs +0 -5
- package/dist/components/ZlCardPage/resolvePagination.d.ts +0 -20
- package/dist/components/ZlCardPage/resolvePagination.mjs +0 -24
- package/dist/components/ZlDevMenu/index.css +0 -1
- package/dist/components/ZlDevMenu/index.vue.d.ts +0 -33
- package/dist/components/ZlDevMenu/index.vue.mjs +0 -110
- package/dist/components/ZlDevMenu/index3.vue.mjs +0 -6
- package/dist/components/ZlDevMenu/types.d.ts +0 -8
- package/dist/components/ZlLoading/index.css +0 -1
- package/dist/components/ZlLoading/index.vue.d.ts +0 -27
- package/dist/components/ZlLoading/index.vue.mjs +0 -8
- package/dist/components/ZlLoading/index2.vue.mjs +0 -30
- package/dist/components/ZlMenu/MenuIcon.d.ts +0 -17
- package/dist/components/ZlMenu/MenuIcon.mjs +0 -21
- package/dist/components/ZlMenu/ZlMenuItem.vue.d.ts +0 -7
- package/dist/components/ZlMenu/ZlMenuItem.vue.mjs +0 -53
- package/dist/components/ZlMenu/ZlMenuItem2.vue.mjs +0 -5
- package/dist/components/ZlMenu/index.css +0 -1
- package/dist/components/ZlMenu/index.vue.d.ts +0 -40
- package/dist/components/ZlMenu/index.vue.mjs +0 -60
- package/dist/components/ZlMenu/index3.vue.mjs +0 -6
- package/dist/components/ZlMenu/types.d.ts +0 -20
package/dist/index.mjs
CHANGED
|
@@ -1,231 +1,217 @@
|
|
|
1
1
|
import i from "./components/ZlAction/index.vue.mjs";
|
|
2
2
|
import t 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/
|
|
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/ZlAppMenu/AppMenu.css';import './components/ZlAction/List.css';/* empty css */
|
|
4
4
|
import a from "./components/ZlAddSub/index.vue.mjs";
|
|
5
5
|
import l from "./components/ZlAppLayout/index.vue.mjs";
|
|
6
|
-
import p from "./components/
|
|
6
|
+
import p from "./components/ZlAppMenu/AppMenu.vue.mjs";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import f from "./components/
|
|
9
|
-
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
import Z from "./components/
|
|
14
|
-
import c from "./components/ZlCardPage/index.vue.mjs";
|
|
8
|
+
import f from "./components/ZlAppSlogan/index.vue.mjs";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import s from "./components/ZlAutoTooltip/index.vue.mjs";
|
|
11
|
+
import n from "./components/ZlAvatar/index.vue.mjs";
|
|
12
|
+
import e from "./components/ZlAvatar/Group.vue.mjs";
|
|
13
|
+
import Z from "./components/ZlCardPage/index.vue.mjs";
|
|
15
14
|
/* empty css */
|
|
16
|
-
import
|
|
15
|
+
import c from "./components/ZlCard/index.vue.mjs";
|
|
17
16
|
/* empty css */
|
|
18
|
-
import
|
|
19
|
-
import
|
|
17
|
+
import _ from "./components/ZlCheckAll/index.vue.mjs";
|
|
18
|
+
import $ from "./components/ZlCheckboxTag/index.vue.mjs";
|
|
20
19
|
/* empty css */
|
|
21
20
|
import g from "./components/ZlTag/ZlCornerTag.vue.mjs";
|
|
22
21
|
/* empty css */
|
|
23
|
-
import
|
|
24
|
-
import
|
|
22
|
+
import d from "./components/ZlCopy/index.vue.mjs";
|
|
23
|
+
import T from "./components/ZlDescription/index.vue.mjs";
|
|
25
24
|
/* empty css */
|
|
26
|
-
import
|
|
27
|
-
/* empty css */
|
|
28
|
-
import P from "./components/ZlDialog/index.vue.mjs";
|
|
25
|
+
import u from "./components/ZlDialog/index.vue.mjs";
|
|
29
26
|
/* empty css */
|
|
30
|
-
import
|
|
31
|
-
import
|
|
27
|
+
import P from "./components/ZlDictTag/index.vue.mjs";
|
|
28
|
+
import C from "./components/ZlDrawer/index.vue.mjs";
|
|
32
29
|
/* empty css */
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
30
|
+
import S from "./components/ZlDynamicComponent/index.vue.mjs";
|
|
31
|
+
import b from "./components/ZlEmpty/index.vue.mjs";
|
|
32
|
+
import h from "./components/ZlForm/index.vue.mjs";
|
|
36
33
|
/* empty css */
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
34
|
+
import A from "./components/ZlForm/ZlFormChild.vue.mjs";
|
|
35
|
+
import x from "./components/ZlGrid/ZlGridItem.vue.mjs";
|
|
36
|
+
import I from "./components/ZlGrid/index.vue.mjs";
|
|
40
37
|
/* empty css */
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
38
|
+
import L from "./components/ZlHorizontalTable/index.vue.mjs";
|
|
39
|
+
import D from "./components/ZlIcon/index.vue.mjs";
|
|
40
|
+
import v from "./components/ZlI18nProvider/index.vue.mjs";
|
|
41
|
+
import w from "./components/ZlIconHover/index.vue.mjs";
|
|
42
|
+
import y from "./components/ZlIconLabel/index.vue.mjs";
|
|
46
43
|
/* empty css */
|
|
47
44
|
import F from "./components/ZlLayoutSwitch/index.vue.mjs";
|
|
48
|
-
import G from "./components/
|
|
49
|
-
import k from "./components/ZlLogin/index.vue.mjs";
|
|
45
|
+
import G from "./components/ZlLogin/index.vue.mjs";
|
|
50
46
|
/* empty css */
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
|
|
54
|
-
import
|
|
55
|
-
import j from "./components/ZlPagination/index.vue.mjs";
|
|
56
|
-
import R from "./components/ZlPdfViewer/index.vue.mjs";
|
|
47
|
+
import M from "./components/ZlLogin/components/LoginForm.vue.mjs";
|
|
48
|
+
import k from "./components/ZlPageContainer/index.vue.mjs";
|
|
49
|
+
import z from "./components/ZlPagination/index.vue.mjs";
|
|
50
|
+
import E from "./components/ZlPdfViewer/index.vue.mjs";
|
|
57
51
|
/* empty css */
|
|
58
|
-
import
|
|
59
|
-
import
|
|
52
|
+
import H from "./components/ZlPermission/index.vue.mjs";
|
|
53
|
+
import j from "./components/ZlPopconfirm/index.vue.mjs";
|
|
60
54
|
/* empty css */
|
|
61
|
-
import
|
|
55
|
+
import R from "./components/ZlRadioTag/index.vue.mjs";
|
|
62
56
|
/* empty css */
|
|
63
|
-
import
|
|
57
|
+
import V from "./components/ZlSearch/index.vue.mjs";
|
|
64
58
|
/* empty css */
|
|
65
|
-
import
|
|
59
|
+
import q from "./components/ZlSearchTable/index.vue.mjs";
|
|
66
60
|
/* empty css */
|
|
67
|
-
import
|
|
61
|
+
import O from "./components/ZlSection/index.vue.mjs";
|
|
68
62
|
/* empty css */
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
63
|
+
import U from "./components/ZlSorter/index.vue.mjs";
|
|
64
|
+
import B from "./components/ZlSorter/ZlSorterList.vue.mjs";
|
|
65
|
+
import J from "./components/ZlStep/index.vue.mjs";
|
|
66
|
+
import K from "./components/ZlSwitch/index.vue.mjs";
|
|
73
67
|
/* empty css */
|
|
74
|
-
import
|
|
68
|
+
import N from "./components/ZlTable/index.vue.mjs";
|
|
75
69
|
/* empty css */
|
|
76
|
-
import
|
|
70
|
+
import Q from "./components/ZlTabs/index.vue.mjs";
|
|
77
71
|
/* empty css */
|
|
78
|
-
import
|
|
72
|
+
import W from "./components/ZlTag/index.vue.mjs";
|
|
79
73
|
/* empty css */
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
74
|
+
import X from "./components/ZlText/index.vue.mjs";
|
|
75
|
+
import Y from "./components/ZlTitle/index.vue.mjs";
|
|
76
|
+
import oo from "./components/ZlTree/index.vue.mjs";
|
|
83
77
|
/* empty css */
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import { presetIconifyIcon as
|
|
87
|
-
import { usePagination as
|
|
88
|
-
import { useTablePagination as
|
|
89
|
-
import { usePermission as
|
|
90
|
-
import { createZlI18n as
|
|
91
|
-
import { default as
|
|
92
|
-
import { zlMessages as
|
|
93
|
-
import { default as
|
|
94
|
-
const
|
|
78
|
+
import ro from "./components/ZlTreeSelect/index.vue.mjs";
|
|
79
|
+
import mo from "./components/ZlUpload/index.vue.mjs";
|
|
80
|
+
import { presetIconifyIcon as Gr } from "./components/ZlIcon/presetIconifyIcon.mjs";
|
|
81
|
+
import { usePagination as kr } from "./components/ZlPagination/usePagination.mjs";
|
|
82
|
+
import { useTablePagination as Er } from "./components/ZlTable/useTablePagination.mjs";
|
|
83
|
+
import { usePermission as jr, usePermissionProvider as Rr } from "./components/ZlPermission/usePermission.mjs";
|
|
84
|
+
import { createZlI18n as qr } from "./locales/createZlI18n.mjs";
|
|
85
|
+
import { default as Ur } from "./locales/en.mjs";
|
|
86
|
+
import { zlMessages as Jr } from "./locales/messages.mjs";
|
|
87
|
+
import { default as Nr } from "./locales/zh-cn.mjs";
|
|
88
|
+
const io = {
|
|
95
89
|
ZlAction: i,
|
|
96
90
|
ZlActionList: t,
|
|
97
91
|
ZlAddSub: a,
|
|
98
92
|
ZlAppLayout: l,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
ZlIconHover: M,
|
|
125
|
-
ZlIconLabel: z,
|
|
93
|
+
ZlAppMenu: p,
|
|
94
|
+
ZlAppSlogan: f,
|
|
95
|
+
ZlAutoTooltip: s,
|
|
96
|
+
ZlAvatar: n,
|
|
97
|
+
ZlAvatarGroup: e,
|
|
98
|
+
ZlCardPage: Z,
|
|
99
|
+
ZlCard: c,
|
|
100
|
+
ZlCheckAll: _,
|
|
101
|
+
ZlCheckboxTag: $,
|
|
102
|
+
ZlCopy: d,
|
|
103
|
+
ZlDescription: T,
|
|
104
|
+
ZlDialog: u,
|
|
105
|
+
ZlDictTag: P,
|
|
106
|
+
ZlDrawer: C,
|
|
107
|
+
ZlDynamicComponent: S,
|
|
108
|
+
ZlEmpty: b,
|
|
109
|
+
ZlForm: h,
|
|
110
|
+
ZlFormChild: A,
|
|
111
|
+
ZlGridItem: x,
|
|
112
|
+
ZlGrid: I,
|
|
113
|
+
ZlHorizontalTable: L,
|
|
114
|
+
ZlIcon: D,
|
|
115
|
+
ZlI18nProvider: v,
|
|
116
|
+
ZlIconHover: w,
|
|
117
|
+
ZlIconLabel: y,
|
|
126
118
|
ZlCornerTag: g,
|
|
127
119
|
ZlLayoutSwitch: F,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
ZlTree: to,
|
|
152
|
-
ZlTreeSelect: ao
|
|
120
|
+
ZlLogin: G,
|
|
121
|
+
ZlLoginForm: M,
|
|
122
|
+
ZlPageContainer: k,
|
|
123
|
+
ZlPagination: z,
|
|
124
|
+
ZlPdfViewer: E,
|
|
125
|
+
ZlPermission: H,
|
|
126
|
+
ZlPopconfirm: j,
|
|
127
|
+
ZlRadioTag: R,
|
|
128
|
+
ZlSearch: V,
|
|
129
|
+
ZlSearchTable: q,
|
|
130
|
+
ZlSection: O,
|
|
131
|
+
ZlSorter: U,
|
|
132
|
+
ZlSorterList: B,
|
|
133
|
+
ZlStep: J,
|
|
134
|
+
ZlSwitch: K,
|
|
135
|
+
ZlTable: N,
|
|
136
|
+
ZlTabs: Q,
|
|
137
|
+
ZlTag: W,
|
|
138
|
+
ZlText: X,
|
|
139
|
+
ZlTitle: Y,
|
|
140
|
+
ZlUpload: mo,
|
|
141
|
+
ZlTree: oo,
|
|
142
|
+
ZlTreeSelect: ro
|
|
153
143
|
};
|
|
154
|
-
function
|
|
155
|
-
Object.entries(
|
|
144
|
+
function to(o) {
|
|
145
|
+
Object.entries(io).forEach(([r, m]) => {
|
|
156
146
|
o.component(r, m);
|
|
157
147
|
});
|
|
158
148
|
}
|
|
159
|
-
const
|
|
149
|
+
const wr = { install: to };
|
|
160
150
|
export {
|
|
161
151
|
i as ZlAction,
|
|
162
152
|
t as ZlActionList,
|
|
163
153
|
a as ZlAddSub,
|
|
164
154
|
l as ZlAppLayout,
|
|
165
|
-
p as
|
|
166
|
-
f as
|
|
167
|
-
s as
|
|
168
|
-
n as
|
|
169
|
-
e as
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
$ as
|
|
174
|
-
d as
|
|
175
|
-
T as ZlCopy,
|
|
155
|
+
p as ZlAppMenu,
|
|
156
|
+
f as ZlAppSlogan,
|
|
157
|
+
s as ZlAutoTooltip,
|
|
158
|
+
n as ZlAvatar,
|
|
159
|
+
e as ZlAvatarGroup,
|
|
160
|
+
c as ZlCard,
|
|
161
|
+
Z as ZlCardPage,
|
|
162
|
+
_ as ZlCheckAll,
|
|
163
|
+
$ as ZlCheckboxTag,
|
|
164
|
+
d as ZlCopy,
|
|
176
165
|
g as ZlCornerTag,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
P as
|
|
180
|
-
C as
|
|
181
|
-
S as
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
A as
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
v as
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
z as ZlIconLabel,
|
|
166
|
+
T as ZlDescription,
|
|
167
|
+
u as ZlDialog,
|
|
168
|
+
P as ZlDictTag,
|
|
169
|
+
C as ZlDrawer,
|
|
170
|
+
S as ZlDynamicComponent,
|
|
171
|
+
b as ZlEmpty,
|
|
172
|
+
h as ZlForm,
|
|
173
|
+
A as ZlFormChild,
|
|
174
|
+
I as ZlGrid,
|
|
175
|
+
x as ZlGridItem,
|
|
176
|
+
L as ZlHorizontalTable,
|
|
177
|
+
v as ZlI18nProvider,
|
|
178
|
+
D as ZlIcon,
|
|
179
|
+
w as ZlIconHover,
|
|
180
|
+
y as ZlIconLabel,
|
|
193
181
|
F as ZlLayoutSwitch,
|
|
194
|
-
G as
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
im as zlMessages,
|
|
229
|
-
am as zlZhMessages
|
|
182
|
+
G as ZlLogin,
|
|
183
|
+
M as ZlLoginForm,
|
|
184
|
+
k as ZlPageContainer,
|
|
185
|
+
z as ZlPagination,
|
|
186
|
+
E as ZlPdfViewer,
|
|
187
|
+
H as ZlPermission,
|
|
188
|
+
j as ZlPopconfirm,
|
|
189
|
+
R as ZlRadioTag,
|
|
190
|
+
V as ZlSearch,
|
|
191
|
+
q as ZlSearchTable,
|
|
192
|
+
O as ZlSection,
|
|
193
|
+
U as ZlSorter,
|
|
194
|
+
B as ZlSorterList,
|
|
195
|
+
J as ZlStep,
|
|
196
|
+
K as ZlSwitch,
|
|
197
|
+
N as ZlTable,
|
|
198
|
+
Q as ZlTabs,
|
|
199
|
+
W as ZlTag,
|
|
200
|
+
X as ZlText,
|
|
201
|
+
Y as ZlTitle,
|
|
202
|
+
oo as ZlTree,
|
|
203
|
+
ro as ZlTreeSelect,
|
|
204
|
+
mo as ZlUpload,
|
|
205
|
+
qr as createZlI18n,
|
|
206
|
+
wr as default,
|
|
207
|
+
to as install,
|
|
208
|
+
Gr as presetIconifyIcon,
|
|
209
|
+
kr as usePagination,
|
|
210
|
+
jr as usePermission,
|
|
211
|
+
Rr as usePermissionProvider,
|
|
212
|
+
Er as useTablePagination,
|
|
213
|
+
Ur as zlEnMessages,
|
|
214
|
+
Jr as zlMessages,
|
|
215
|
+
Nr as zlZhMessages
|
|
230
216
|
};
|
|
231
217
|
//# sourceMappingURL=index.mjs.map
|
package/dist/locales/en.mjs
CHANGED
|
@@ -8,8 +8,8 @@ const e = {
|
|
|
8
8
|
"zl.dialog.close": "Close",
|
|
9
9
|
"zl.popconfirm.confirm": "Confirm",
|
|
10
10
|
"zl.popconfirm.cancel": "Cancel",
|
|
11
|
-
"zl.layoutSwitch.grid": "
|
|
12
|
-
"zl.layoutSwitch.table": "
|
|
11
|
+
"zl.layoutSwitch.grid": "Grid",
|
|
12
|
+
"zl.layoutSwitch.table": "Table",
|
|
13
13
|
"zl.upload.accept": "Only {accept} files are supported",
|
|
14
14
|
"zl.upload.limit": "Up to {limit} files",
|
|
15
15
|
"zl.upload.maxSize": "File size must not exceed {maxSize}MB",
|
package/dist/locales/zh-cn.mjs
CHANGED
|
@@ -8,13 +8,13 @@ const l = {
|
|
|
8
8
|
"zl.dialog.close": "关闭",
|
|
9
9
|
"zl.popconfirm.confirm": "确定",
|
|
10
10
|
"zl.popconfirm.cancel": "取消",
|
|
11
|
-
"zl.layoutSwitch.grid": "
|
|
12
|
-
"zl.layoutSwitch.table": "
|
|
11
|
+
"zl.layoutSwitch.grid": "网格",
|
|
12
|
+
"zl.layoutSwitch.table": "表格",
|
|
13
13
|
"zl.upload.accept": "仅支持{accept}格式的文件",
|
|
14
14
|
"zl.upload.limit": "最多可上传{limit}个",
|
|
15
15
|
"zl.upload.maxSize": "大小不超过{maxSize}MB",
|
|
16
16
|
"zl.upload.nameSpace": "文件名中不得包含空格",
|
|
17
|
-
"zl.search.search": "
|
|
17
|
+
"zl.search.search": "查询",
|
|
18
18
|
"zl.search.reset": "重置",
|
|
19
19
|
"zl.search.filterConditions": "筛选条件",
|
|
20
20
|
"zl.search.all": "全部",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zl-ui-kit/components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.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.27.0",
|
|
43
|
+
"@zl-ui-kit/icons": "0.27.0",
|
|
44
|
+
"@zl-ui-kit/utils": "0.27.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@vueuse/core": "^12.3.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@jichuang/eslint-config": "1.0.0",
|
|
103
103
|
"@jichuang/tsconfig": "1.0.0",
|
|
104
104
|
"@jichuang/vite-config": "1.0.0",
|
|
105
|
-
"@zl-ui-kit/theme": "0.
|
|
105
|
+
"@zl-ui-kit/theme": "0.27.0"
|
|
106
106
|
},
|
|
107
107
|
"repository": {
|
|
108
108
|
"type": "git",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.zl-layout-header-aside{height:100%;display:flex;flex-direction:column}.zl-layout-header-aside.collapsed .zl-layout-header-aside__aside{width:64px}.zl-layout-header-aside.collapsed .zl-layout-header-aside__aside__footer{padding-inline:8px}.zl-layout-header-aside__header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;background:var(--zl-layout-header-bg, var(--zl-layout-horizontal-header-bg, #fff));background-size:cover;background-position:center;border-bottom:var(--zl-layout-header-border-bottom, none)}.zl-layout-header-aside__logo{padding:10px 16px}.zl-layout-header-aside__user{flex:0 0 auto;padding-right:16px}.zl-layout-header-aside__body{flex:1;height:1px;display:flex}.zl-layout-header-aside__aside{flex:0 0 auto;width:220px;background:var(--zl-layout-aside-bg, var(--zl-fill-1, #f9fbfd));background-size:cover;background-position:center;display:flex;flex-direction:column;overflow:hidden;transition:width .2s cubic-bezier(.34,.69,.1,1)}.zl-layout-header-aside__aside__content{flex:1;height:1px;overflow-y:auto;overflow-x:hidden}.zl-layout-header-aside__aside__footer{padding:12px 16px;display:flex;justify-content:flex-end;flex-wrap:wrap-reverse;gap:8px;transition:padding .2s cubic-bezier(.34,.69,.1,1)}.zl-layout-header-aside__main{flex:1;width:1px;display:flex;flex-direction:column;background:var(--zl-layout-content-bg, transparent);background-size:cover;background-position:center}.zl-layout-header-aside__breadcrumb{padding:10px 16px;border-bottom:1px solid var(--zl-border-2, #e3e9ef);line-height:24px;background-color:transparent}.zl-layout-header-aside__content{flex:1;padding:12px;height:1px}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
logo?(_: {}): any;
|
|
5
|
-
header?(_: {}): any;
|
|
6
|
-
menu?(_: {
|
|
7
|
-
collapsed: boolean;
|
|
8
|
-
}): any;
|
|
9
|
-
footer?(_: {}): any;
|
|
10
|
-
breadcrumb?(_: {}): any;
|
|
11
|
-
default?(_: {}): any;
|
|
12
|
-
};
|
|
13
|
-
refs: {};
|
|
14
|
-
rootEl: HTMLDivElement;
|
|
15
|
-
};
|
|
16
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=HeaderAside.vue.d.ts.map
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as l, createElementBlock as d, normalizeClass as c, unref as t, createElementVNode as o, renderSlot as s, createCommentVNode as r, normalizeProps as u, guardReactiveProps as h, createVNode as _, withCtx as m } from "vue";
|
|
2
|
-
import { useToggle as y } from "@vueuse/core";
|
|
3
|
-
import f from "../ZlButton/index.vue.mjs";
|
|
4
|
-
import p from "../ZlIcon/index.vue.mjs";
|
|
5
|
-
const z = { class: "zl-layout-header-aside__header" }, v = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "zl-layout-header-aside__logo"
|
|
8
|
-
}, $ = {
|
|
9
|
-
key: 1,
|
|
10
|
-
class: "zl-layout-header-aside__user"
|
|
11
|
-
}, b = { class: "zl-layout-header-aside__body" }, g = { class: "zl-layout-header-aside__aside" }, k = { class: "zl-layout-header-aside__aside__content" }, C = { class: "zl-layout-header-aside__aside__footer" }, N = { class: "zl-layout-header-aside__main" }, V = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "zl-layout-header-aside__breadcrumb"
|
|
14
|
-
}, A = { class: "zl-layout-header-aside__content" }, I = /* @__PURE__ */ n({
|
|
15
|
-
name: "ZlHeaderAsideLayout",
|
|
16
|
-
__name: "HeaderAside",
|
|
17
|
-
setup(B) {
|
|
18
|
-
const [a] = y(!1);
|
|
19
|
-
return (e, i) => (l(), d("div", {
|
|
20
|
-
class: c(["zl-layout-header-aside", { collapsed: t(a) }])
|
|
21
|
-
}, [
|
|
22
|
-
o("div", z, [
|
|
23
|
-
e.$slots.logo ? (l(), d("div", v, [
|
|
24
|
-
s(e.$slots, "logo")
|
|
25
|
-
])) : r("", !0),
|
|
26
|
-
e.$slots.header ? (l(), d("div", $, [
|
|
27
|
-
s(e.$slots, "header")
|
|
28
|
-
])) : r("", !0)
|
|
29
|
-
]),
|
|
30
|
-
o("div", b, [
|
|
31
|
-
o("div", g, [
|
|
32
|
-
o("div", k, [
|
|
33
|
-
s(e.$slots, "menu", u(h({ collapsed: t(a) })))
|
|
34
|
-
]),
|
|
35
|
-
o("div", C, [
|
|
36
|
-
_(f, {
|
|
37
|
-
circle: "",
|
|
38
|
-
onClick: i[0] || (i[0] = (E) => a.value = !t(a))
|
|
39
|
-
}, {
|
|
40
|
-
icon: m(() => [
|
|
41
|
-
_(p, {
|
|
42
|
-
icon: t(a) ? "zl:slider-on-color" : "zl:slider-off-color"
|
|
43
|
-
}, null, 8, ["icon"])
|
|
44
|
-
]),
|
|
45
|
-
_: 1
|
|
46
|
-
}),
|
|
47
|
-
s(e.$slots, "footer")
|
|
48
|
-
])
|
|
49
|
-
]),
|
|
50
|
-
o("div", N, [
|
|
51
|
-
e.$slots.breadcrumb ? (l(), d("div", V, [
|
|
52
|
-
s(e.$slots, "breadcrumb")
|
|
53
|
-
])) : r("", !0),
|
|
54
|
-
o("div", A, [
|
|
55
|
-
s(e.$slots, "default")
|
|
56
|
-
])
|
|
57
|
-
])
|
|
58
|
-
])
|
|
59
|
-
], 2));
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
export {
|
|
63
|
-
I as default
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=HeaderAside2.vue.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.zl-breadcrumb{font-size:12px;line-height:20px}.zl-breadcrumb .el-breadcrumb__inner{color:var(--zl-text-2, #5b6577);font-weight:400}.zl-breadcrumb .el-breadcrumb__inner.is-link:hover,.zl-breadcrumb__text.is-clickable:hover{color:var(--zl-primary-6, var(--el-color-primary))}.zl-breadcrumb .el-breadcrumb__item.is-current .el-breadcrumb__inner{color:var(--zl-text-1, #242e43);font-weight:600;cursor:default}.zl-breadcrumb .el-breadcrumb__item.is-current .el-breadcrumb__inner:hover{color:var(--zl-text-1, #242e43)}.zl-breadcrumb__text.is-clickable{cursor:pointer}.zl-breadcrumb .el-breadcrumb__separator{margin:0 6px;color:var(--zl-text-3, #8a94a6)}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { BreadcrumbItem } from './types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
/** 面包屑条目,最后一项视为当前页 */
|
|
4
|
-
items?: BreadcrumbItem[];
|
|
5
|
-
/** 分隔符文本;也可用 `separator-icon` 传图标(图标优先) */
|
|
6
|
-
separator?: string;
|
|
7
|
-
};
|
|
8
|
-
declare function __VLS_template(): {
|
|
9
|
-
attrs: Partial<{}>;
|
|
10
|
-
slots: {
|
|
11
|
-
item?(_: {
|
|
12
|
-
item: BreadcrumbItem;
|
|
13
|
-
index: number;
|
|
14
|
-
isLast: boolean;
|
|
15
|
-
}): any;
|
|
16
|
-
};
|
|
17
|
-
refs: {};
|
|
18
|
-
rootEl: any;
|
|
19
|
-
};
|
|
20
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
-
separator: string;
|
|
23
|
-
items: BreadcrumbItem[];
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
-
new (): {
|
|
29
|
-
$slots: S;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=index.vue.d.ts.map
|