@witlink/usercenter 1.2.23 → 1.2.24
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/assets/main.4c9582b9.css +1 -0
- package/dist/usercenter.es.js +81429 -12
- package/dist/usercenter.umd.js +341 -6059
- package/package.json +32 -32
- package/version.md +4 -1
- package/dist/PageView.886da96d.mjs +0 -623
- package/dist/UpOutlined.122ec2e3.mjs +0 -30
- package/dist/assets/PageView.b838edc4.css +0 -1
- package/dist/assets/index.08dfe384.css +0 -1
- package/dist/assets/index.40400b03.css +0 -1
- package/dist/assets/index.4bb02813.css +0 -1
- package/dist/assets/index.857022a9.css +0 -1
- package/dist/assets/index.b965b94b.css +0 -1
- package/dist/assets/index.ca7d4055.css +0 -1
- package/dist/index.2242d1a7.mjs +0 -125
- package/dist/index.2291c8e2.mjs +0 -125
- package/dist/index.4e071cb5.mjs +0 -10
- package/dist/index.50cd3c1b.mjs +0 -1055
- package/dist/index.5eb554e0.mjs +0 -529
- package/dist/index.8dc839d9.mjs +0 -405
- package/dist/index.8f2dfa46.mjs +0 -10
- package/dist/index.9803c44f.mjs +0 -125
- package/dist/index.b487afa6.mjs +0 -1107
- package/dist/index.b7fe889a.mjs +0 -86609
- package/dist/index.b85517e2.mjs +0 -424
- package/dist/index.bed81d53.mjs +0 -962
- package/dist/index.c6cdc045.mjs +0 -10
package/package.json
CHANGED
@@ -1,32 +1,32 @@
|
|
1
|
-
{
|
2
|
-
"name": "@witlink/usercenter",
|
3
|
-
"version": "1.2.
|
4
|
-
"description": "witlink的用户中心系统各页面集成组件",
|
5
|
-
"main": "./dist/usercenter.umd.js",
|
6
|
-
"module": "./dist/usercenter.es.js",
|
7
|
-
"scripts": {
|
8
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
9
|
-
},
|
10
|
-
"peerDependencies": {
|
11
|
-
"@vueuse/components": "^11.1.0",
|
12
|
-
"@vueuse/core": "^9.5.0",
|
13
|
-
"@witlink/utils": "^1.0.5",
|
14
|
-
"ant-design-vue": "^4.2.3",
|
15
|
-
"axios": "^1.1.3"
|
16
|
-
},
|
17
|
-
"dependencies": {
|
18
|
-
"dayjs": "^1.10.8",
|
19
|
-
"lodash-es": "^4.17.21",
|
20
|
-
"mitt": "^3.0.1",
|
21
|
-
"less": "^4.1.3",
|
22
|
-
"vue-cropper": "^1.1.4",
|
23
|
-
"vxe-table": "^4.10.5"
|
24
|
-
},
|
25
|
-
"keywords": [
|
26
|
-
"vue3",
|
27
|
-
"witlink",
|
28
|
-
"usercenter"
|
29
|
-
],
|
30
|
-
"author": "witlink",
|
31
|
-
"license": "ISC"
|
32
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@witlink/usercenter",
|
3
|
+
"version": "1.2.24",
|
4
|
+
"description": "witlink的用户中心系统各页面集成组件",
|
5
|
+
"main": "./dist/usercenter.umd.js",
|
6
|
+
"module": "./dist/usercenter.es.js",
|
7
|
+
"scripts": {
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
9
|
+
},
|
10
|
+
"peerDependencies": {
|
11
|
+
"@vueuse/components": "^11.1.0",
|
12
|
+
"@vueuse/core": "^9.5.0",
|
13
|
+
"@witlink/utils": "^1.0.5",
|
14
|
+
"ant-design-vue": "^4.2.3",
|
15
|
+
"axios": "^1.1.3"
|
16
|
+
},
|
17
|
+
"dependencies": {
|
18
|
+
"dayjs": "^1.10.8",
|
19
|
+
"lodash-es": "^4.17.21",
|
20
|
+
"mitt": "^3.0.1",
|
21
|
+
"less": "^4.1.3",
|
22
|
+
"vue-cropper": "^1.1.4",
|
23
|
+
"vxe-table": "^4.10.5"
|
24
|
+
},
|
25
|
+
"keywords": [
|
26
|
+
"vue3",
|
27
|
+
"witlink",
|
28
|
+
"usercenter"
|
29
|
+
],
|
30
|
+
"author": "witlink",
|
31
|
+
"license": "ISC"
|
32
|
+
}
|
package/version.md
CHANGED
@@ -1,623 +0,0 @@
|
|
1
|
-
import { defineComponent as M, createVNode as u, cloneVNode as Q, ref as A, watch as $, onMounted as F, resolveComponent as q, openBlock as s, createBlock as x, withCtx as _, createElementBlock as m, Fragment as N, renderList as j, createTextVNode as K, toDisplayString as D, createElementVNode as g, unref as W, createCommentVNode as f, renderSlot as R, normalizeStyle as ee, normalizeClass as te } from "vue";
|
2
|
-
import { useRoute as U } from "vue-router";
|
3
|
-
import { u as X, aB as T, a as S, P as Z, aC as ae, aD as re, t as ne, D as oe, g as le, m as se, a8 as G, af as ce, aE as ie, aF as J, aG as ue, M as de, _ as E, v as me, a1 as pe, aH as be, aI as he, aJ as ve } from "./index.b7fe889a.mjs";
|
4
|
-
import './assets/PageView.b838edc4.css';var ge = globalThis && globalThis.__rest || function(e, a) {
|
5
|
-
var r = {};
|
6
|
-
for (var t in e)
|
7
|
-
Object.prototype.hasOwnProperty.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
|
8
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
9
|
-
for (var n = 0, t = Object.getOwnPropertySymbols(e); n < t.length; n++)
|
10
|
-
a.indexOf(t[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[n]) && (r[t[n]] = e[t[n]]);
|
11
|
-
return r;
|
12
|
-
};
|
13
|
-
const fe = () => ({
|
14
|
-
prefixCls: String,
|
15
|
-
href: String,
|
16
|
-
separator: Z.any,
|
17
|
-
dropdownProps: ae(),
|
18
|
-
overlay: Z.any,
|
19
|
-
onClick: re()
|
20
|
-
}), z = M({
|
21
|
-
compatConfig: {
|
22
|
-
MODE: 3
|
23
|
-
},
|
24
|
-
name: "ABreadcrumbItem",
|
25
|
-
inheritAttrs: !1,
|
26
|
-
__ANT_BREADCRUMB_ITEM: !0,
|
27
|
-
props: fe(),
|
28
|
-
slots: Object,
|
29
|
-
setup(e, a) {
|
30
|
-
let {
|
31
|
-
slots: r,
|
32
|
-
attrs: t,
|
33
|
-
emit: n
|
34
|
-
} = a;
|
35
|
-
const {
|
36
|
-
prefixCls: l
|
37
|
-
} = X("breadcrumb", e), o = (d, v) => {
|
38
|
-
const p = T(r, e, "overlay");
|
39
|
-
return p ? u(ne, S(S({}, e.dropdownProps), {}, {
|
40
|
-
overlay: p,
|
41
|
-
placement: "bottom"
|
42
|
-
}), {
|
43
|
-
default: () => [u("span", {
|
44
|
-
class: `${v}-overlay-link`
|
45
|
-
}, [d, u(oe, null, null)])]
|
46
|
-
}) : d;
|
47
|
-
}, c = (d) => {
|
48
|
-
n("click", d);
|
49
|
-
};
|
50
|
-
return () => {
|
51
|
-
var d;
|
52
|
-
const v = (d = T(r, e, "separator")) !== null && d !== void 0 ? d : "/", p = T(r, e), {
|
53
|
-
class: i,
|
54
|
-
style: h
|
55
|
-
} = t, b = ge(t, ["class", "style"]);
|
56
|
-
let y;
|
57
|
-
return e.href !== void 0 ? y = u("a", S({
|
58
|
-
class: `${l.value}-link`,
|
59
|
-
onClick: c
|
60
|
-
}, b), [p]) : y = u("span", S({
|
61
|
-
class: `${l.value}-link`,
|
62
|
-
onClick: c
|
63
|
-
}, b), [p]), y = o(y, l.value), p != null ? u("li", {
|
64
|
-
class: i,
|
65
|
-
style: h
|
66
|
-
}, [y, v && u("span", {
|
67
|
-
class: `${l.value}-separator`
|
68
|
-
}, [v])]) : null;
|
69
|
-
};
|
70
|
-
}
|
71
|
-
}), ye = (e) => {
|
72
|
-
const {
|
73
|
-
componentCls: a,
|
74
|
-
iconCls: r
|
75
|
-
} = e;
|
76
|
-
return {
|
77
|
-
[a]: G(G({}, ce(e)), {
|
78
|
-
color: e.breadcrumbBaseColor,
|
79
|
-
fontSize: e.breadcrumbFontSize,
|
80
|
-
[r]: {
|
81
|
-
fontSize: e.breadcrumbIconFontSize
|
82
|
-
},
|
83
|
-
ol: {
|
84
|
-
display: "flex",
|
85
|
-
flexWrap: "wrap",
|
86
|
-
margin: 0,
|
87
|
-
padding: 0,
|
88
|
-
listStyle: "none"
|
89
|
-
},
|
90
|
-
a: G({
|
91
|
-
color: e.breadcrumbLinkColor,
|
92
|
-
transition: `color ${e.motionDurationMid}`,
|
93
|
-
padding: `0 ${e.paddingXXS}px`,
|
94
|
-
borderRadius: e.borderRadiusSM,
|
95
|
-
height: e.lineHeight * e.fontSize,
|
96
|
-
display: "inline-block",
|
97
|
-
marginInline: -e.marginXXS,
|
98
|
-
"&:hover": {
|
99
|
-
color: e.breadcrumbLinkColorHover,
|
100
|
-
backgroundColor: e.colorBgTextHover
|
101
|
-
}
|
102
|
-
}, ie(e)),
|
103
|
-
["li:last-child"]: {
|
104
|
-
color: e.breadcrumbLastItemColor,
|
105
|
-
[`& > ${a}-separator`]: {
|
106
|
-
display: "none"
|
107
|
-
}
|
108
|
-
},
|
109
|
-
[`${a}-separator`]: {
|
110
|
-
marginInline: e.breadcrumbSeparatorMargin,
|
111
|
-
color: e.breadcrumbSeparatorColor
|
112
|
-
},
|
113
|
-
[`${a}-link`]: {
|
114
|
-
[`
|
115
|
-
> ${r} + span,
|
116
|
-
> ${r} + a
|
117
|
-
`]: {
|
118
|
-
marginInlineStart: e.marginXXS
|
119
|
-
}
|
120
|
-
},
|
121
|
-
[`${a}-overlay-link`]: {
|
122
|
-
borderRadius: e.borderRadiusSM,
|
123
|
-
height: e.lineHeight * e.fontSize,
|
124
|
-
display: "inline-block",
|
125
|
-
padding: `0 ${e.paddingXXS}px`,
|
126
|
-
marginInline: -e.marginXXS,
|
127
|
-
[`> ${r}`]: {
|
128
|
-
marginInlineStart: e.marginXXS,
|
129
|
-
fontSize: e.fontSizeIcon
|
130
|
-
},
|
131
|
-
"&:hover": {
|
132
|
-
color: e.breadcrumbLinkColorHover,
|
133
|
-
backgroundColor: e.colorBgTextHover,
|
134
|
-
a: {
|
135
|
-
color: e.breadcrumbLinkColorHover
|
136
|
-
}
|
137
|
-
},
|
138
|
-
a: {
|
139
|
-
"&:hover": {
|
140
|
-
backgroundColor: "transparent"
|
141
|
-
}
|
142
|
-
}
|
143
|
-
},
|
144
|
-
[`&${e.componentCls}-rtl`]: {
|
145
|
-
direction: "rtl"
|
146
|
-
}
|
147
|
-
})
|
148
|
-
};
|
149
|
-
}, _e = le("Breadcrumb", (e) => {
|
150
|
-
const a = se(e, {
|
151
|
-
breadcrumbBaseColor: e.colorTextDescription,
|
152
|
-
breadcrumbFontSize: e.fontSize,
|
153
|
-
breadcrumbIconFontSize: e.fontSize,
|
154
|
-
breadcrumbLinkColor: e.colorTextDescription,
|
155
|
-
breadcrumbLinkColorHover: e.colorText,
|
156
|
-
breadcrumbLastItemColor: e.colorText,
|
157
|
-
breadcrumbSeparatorMargin: e.marginXS,
|
158
|
-
breadcrumbSeparatorColor: e.colorTextDescription
|
159
|
-
});
|
160
|
-
return [ye(a)];
|
161
|
-
}), Ae = () => ({
|
162
|
-
prefixCls: String,
|
163
|
-
routes: {
|
164
|
-
type: Array
|
165
|
-
},
|
166
|
-
params: Z.any,
|
167
|
-
separator: Z.any,
|
168
|
-
itemRender: {
|
169
|
-
type: Function
|
170
|
-
}
|
171
|
-
});
|
172
|
-
function Se(e, a) {
|
173
|
-
if (!e.breadcrumbName)
|
174
|
-
return null;
|
175
|
-
const r = Object.keys(a).join("|");
|
176
|
-
return e.breadcrumbName.replace(new RegExp(`:(${r})`, "g"), (n, l) => a[l] || n);
|
177
|
-
}
|
178
|
-
function H(e) {
|
179
|
-
const {
|
180
|
-
route: a,
|
181
|
-
params: r,
|
182
|
-
routes: t,
|
183
|
-
paths: n
|
184
|
-
} = e, l = t.indexOf(a) === t.length - 1, o = Se(a, r);
|
185
|
-
return l ? u("span", null, [o]) : u("a", {
|
186
|
-
href: `#/${n.join("/")}`
|
187
|
-
}, [o]);
|
188
|
-
}
|
189
|
-
const w = M({
|
190
|
-
compatConfig: {
|
191
|
-
MODE: 3
|
192
|
-
},
|
193
|
-
name: "ABreadcrumb",
|
194
|
-
inheritAttrs: !1,
|
195
|
-
props: Ae(),
|
196
|
-
slots: Object,
|
197
|
-
setup(e, a) {
|
198
|
-
let {
|
199
|
-
slots: r,
|
200
|
-
attrs: t
|
201
|
-
} = a;
|
202
|
-
const {
|
203
|
-
prefixCls: n,
|
204
|
-
direction: l
|
205
|
-
} = X("breadcrumb", e), [o, c] = _e(n), d = (i, h) => (i = (i || "").replace(/^\//, ""), Object.keys(h).forEach((b) => {
|
206
|
-
i = i.replace(`:${b}`, h[b]);
|
207
|
-
}), i), v = (i, h, b) => {
|
208
|
-
const y = [...i], I = d(h || "", b);
|
209
|
-
return I && y.push(I), y;
|
210
|
-
}, p = (i) => {
|
211
|
-
let {
|
212
|
-
routes: h = [],
|
213
|
-
params: b = {},
|
214
|
-
separator: y,
|
215
|
-
itemRender: I = H
|
216
|
-
} = i;
|
217
|
-
const L = [];
|
218
|
-
return h.map((O) => {
|
219
|
-
const B = d(O.path, b);
|
220
|
-
B && L.push(B);
|
221
|
-
const C = [...L];
|
222
|
-
let P = null;
|
223
|
-
O.children && O.children.length && (P = u(de, {
|
224
|
-
items: O.children.map((k) => ({
|
225
|
-
key: k.path || k.breadcrumbName,
|
226
|
-
label: I({
|
227
|
-
route: k,
|
228
|
-
params: b,
|
229
|
-
routes: h,
|
230
|
-
paths: v(C, k.path, b)
|
231
|
-
})
|
232
|
-
}))
|
233
|
-
}, null));
|
234
|
-
const V = {
|
235
|
-
separator: y
|
236
|
-
};
|
237
|
-
return P && (V.overlay = P), u(z, S(S({}, V), {}, {
|
238
|
-
key: B || O.breadcrumbName
|
239
|
-
}), {
|
240
|
-
default: () => [I({
|
241
|
-
route: O,
|
242
|
-
params: b,
|
243
|
-
routes: h,
|
244
|
-
paths: C
|
245
|
-
})]
|
246
|
-
});
|
247
|
-
});
|
248
|
-
};
|
249
|
-
return () => {
|
250
|
-
var i;
|
251
|
-
let h;
|
252
|
-
const {
|
253
|
-
routes: b,
|
254
|
-
params: y = {}
|
255
|
-
} = e, I = J(T(r, e)), L = (i = T(r, e, "separator")) !== null && i !== void 0 ? i : "/", O = e.itemRender || r.itemRender || H;
|
256
|
-
b && b.length > 0 ? h = p({
|
257
|
-
routes: b,
|
258
|
-
params: y,
|
259
|
-
separator: L,
|
260
|
-
itemRender: O
|
261
|
-
}) : I.length && (h = I.map((C, P) => (ue(typeof C.type == "object" && (C.type.__ANT_BREADCRUMB_ITEM || C.type.__ANT_BREADCRUMB_SEPARATOR), "Breadcrumb", "Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"), Q(C, {
|
262
|
-
separator: L,
|
263
|
-
key: P
|
264
|
-
}))));
|
265
|
-
const B = {
|
266
|
-
[n.value]: !0,
|
267
|
-
[`${n.value}-rtl`]: l.value === "rtl",
|
268
|
-
[`${t.class}`]: !!t.class,
|
269
|
-
[c.value]: !0
|
270
|
-
};
|
271
|
-
return o(u("nav", S(S({}, t), {}, {
|
272
|
-
class: B
|
273
|
-
}), [u("ol", null, [h])]));
|
274
|
-
};
|
275
|
-
}
|
276
|
-
});
|
277
|
-
var Ie = globalThis && globalThis.__rest || function(e, a) {
|
278
|
-
var r = {};
|
279
|
-
for (var t in e)
|
280
|
-
Object.prototype.hasOwnProperty.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
|
281
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
282
|
-
for (var n = 0, t = Object.getOwnPropertySymbols(e); n < t.length; n++)
|
283
|
-
a.indexOf(t[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[n]) && (r[t[n]] = e[t[n]]);
|
284
|
-
return r;
|
285
|
-
};
|
286
|
-
const Oe = () => ({
|
287
|
-
prefixCls: String
|
288
|
-
}), Y = M({
|
289
|
-
compatConfig: {
|
290
|
-
MODE: 3
|
291
|
-
},
|
292
|
-
name: "ABreadcrumbSeparator",
|
293
|
-
__ANT_BREADCRUMB_SEPARATOR: !0,
|
294
|
-
inheritAttrs: !1,
|
295
|
-
props: Oe(),
|
296
|
-
setup(e, a) {
|
297
|
-
let {
|
298
|
-
slots: r,
|
299
|
-
attrs: t
|
300
|
-
} = a;
|
301
|
-
const {
|
302
|
-
prefixCls: n
|
303
|
-
} = X("breadcrumb", e);
|
304
|
-
return () => {
|
305
|
-
var l;
|
306
|
-
const {
|
307
|
-
separator: o,
|
308
|
-
class: c
|
309
|
-
} = t, d = Ie(t, ["separator", "class"]), v = J((l = r.default) === null || l === void 0 ? void 0 : l.call(r));
|
310
|
-
return u("span", S({
|
311
|
-
class: [`${n.value}-separator`, c]
|
312
|
-
}, d), [v.length > 0 ? v : "/"]);
|
313
|
-
};
|
314
|
-
}
|
315
|
-
});
|
316
|
-
w.Item = z;
|
317
|
-
w.Separator = Y;
|
318
|
-
w.install = function(e) {
|
319
|
-
return e.component(w.name, w), e.component(z.name, z), e.component(Y.name, Y), e;
|
320
|
-
};
|
321
|
-
const Re = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAF0WlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1l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8QkOYOTlaX88DtDJ4VMWNi5ULBVr/XinUk9lPnQew3FmqFAqpAkzHBheAU3iwCxmjAdfVrWVTv0Hzs4CzJlQQE5ZdXTjxgzC3Hh9ZV4HGsNu5GcAJh/GGpuuci3icwzWEWYwjFGstrYvYBv66gDTF+6WCnFvP/5DF7antIT5EKsLpST3Q5dDmrsnuGlc8xkIl1erK3fTGyuaavMt9IenFbvCtLdhOd4N7UbxMBjdVVwU80rvOU4YrztmnDhdAAAAAElFTkSuQmCC", Ce = { key: 1 }, xe = /* @__PURE__ */ M({
|
322
|
-
__name: "Breadcrumb",
|
323
|
-
setup(e) {
|
324
|
-
const a = U(), r = A(""), t = A([]), n = () => {
|
325
|
-
const l = [];
|
326
|
-
l.push({
|
327
|
-
name: "index",
|
328
|
-
path: "/dashboard/",
|
329
|
-
meta: { title: "\u9996\u9875" }
|
330
|
-
}), r.value = a.name, a.matched.forEach((o) => {
|
331
|
-
l.push(o);
|
332
|
-
}), t.value = l;
|
333
|
-
};
|
334
|
-
return $(a, () => {
|
335
|
-
n();
|
336
|
-
}), F(() => {
|
337
|
-
n();
|
338
|
-
}), (l, o) => {
|
339
|
-
const c = q("router-link"), d = z, v = w;
|
340
|
-
return s(), x(v, { class: "breadcrumb" }, {
|
341
|
-
default: _(() => [
|
342
|
-
(s(!0), m(N, null, j(t.value, (p, i) => (s(), x(d, { key: i }, {
|
343
|
-
default: _(() => [
|
344
|
-
p.name != r.value ? (s(), x(c, {
|
345
|
-
key: 0,
|
346
|
-
to: { path: p.path }
|
347
|
-
}, {
|
348
|
-
default: _(() => [
|
349
|
-
K(D(p.meta.title), 1)
|
350
|
-
]),
|
351
|
-
_: 2
|
352
|
-
}, 1032, ["to"])) : (s(), m("span", Ce, D(p.meta.title), 1))
|
353
|
-
]),
|
354
|
-
_: 2
|
355
|
-
}, 1024))), 128))
|
356
|
-
]),
|
357
|
-
_: 1
|
358
|
-
});
|
359
|
-
};
|
360
|
-
}
|
361
|
-
}), Me = /* @__PURE__ */ E(xe, [["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/components/tools/Breadcrumb.vue"]]), we = { class: "page-header" }, De = { class: "page-header-index-wide" }, ze = ["src"], Le = { class: "detail" }, Be = {
|
362
|
-
key: 0,
|
363
|
-
class: "main"
|
364
|
-
}, Pe = { class: "row" }, Te = ["src"], ke = {
|
365
|
-
key: 1,
|
366
|
-
class: "title"
|
367
|
-
}, Ne = { class: "action" }, je = { class: "row" }, We = {
|
368
|
-
key: 0,
|
369
|
-
class: "avatar"
|
370
|
-
}, Ze = {
|
371
|
-
key: 1,
|
372
|
-
class: "headerContent"
|
373
|
-
}, Ee = {
|
374
|
-
key: 2,
|
375
|
-
class: "extra"
|
376
|
-
}, Ge = /* @__PURE__ */ M({
|
377
|
-
name: "PageHeader",
|
378
|
-
__name: "PageHeader",
|
379
|
-
props: {
|
380
|
-
title: {
|
381
|
-
type: String,
|
382
|
-
default: "",
|
383
|
-
required: !1
|
384
|
-
},
|
385
|
-
breadcrumb: {
|
386
|
-
type: Array,
|
387
|
-
default: null,
|
388
|
-
required: !1
|
389
|
-
},
|
390
|
-
logo: {
|
391
|
-
type: String,
|
392
|
-
default: "",
|
393
|
-
required: !1
|
394
|
-
},
|
395
|
-
avatar: {
|
396
|
-
type: String,
|
397
|
-
default: "",
|
398
|
-
required: !1
|
399
|
-
}
|
400
|
-
},
|
401
|
-
setup(e) {
|
402
|
-
const a = e, r = U(), t = A(), n = A([]), l = () => {
|
403
|
-
const o = [];
|
404
|
-
t.value = r.name, r.matched.forEach((c) => {
|
405
|
-
o.push(c);
|
406
|
-
}), n.value = o;
|
407
|
-
};
|
408
|
-
return F(() => {
|
409
|
-
l();
|
410
|
-
}), $(r, () => {
|
411
|
-
l();
|
412
|
-
}), (o, c) => {
|
413
|
-
const d = z, v = me;
|
414
|
-
return s(), m("div", we, [
|
415
|
-
g("div", De, [
|
416
|
-
g("img", {
|
417
|
-
src: W(Re),
|
418
|
-
alt: "page-header-icon",
|
419
|
-
style: { width: "20px", float: "left", "margin-right": "10px" }
|
420
|
-
}, null, 8, ze),
|
421
|
-
u(W(Me), { class: "breadcrumb" }, {
|
422
|
-
default: _(() => [
|
423
|
-
(s(!0), m(N, null, j(n.value, (p, i) => (s(), x(d, { key: i }, {
|
424
|
-
default: _(() => [
|
425
|
-
g("span", null, D(o.$t(`function._${p.name}`)), 1)
|
426
|
-
]),
|
427
|
-
_: 2
|
428
|
-
}, 1024))), 128))
|
429
|
-
]),
|
430
|
-
_: 1
|
431
|
-
}),
|
432
|
-
g("div", Le, [
|
433
|
-
o.$route.meta.hiddenHeaderContent ? f("v-if", !0) : (s(), m("div", Be, [
|
434
|
-
g("div", Pe, [
|
435
|
-
e.logo ? (s(), m("img", {
|
436
|
-
key: 0,
|
437
|
-
src: a.logo,
|
438
|
-
class: "logo"
|
439
|
-
}, null, 8, Te)) : f("v-if", !0),
|
440
|
-
e.title ? (s(), m("h1", ke, D(a.title), 1)) : f("v-if", !0),
|
441
|
-
g("div", Ne, [
|
442
|
-
R(o.$slots, "action", {}, void 0, !0)
|
443
|
-
])
|
444
|
-
]),
|
445
|
-
g("div", je, [
|
446
|
-
e.avatar ? (s(), m("div", We, [
|
447
|
-
u(v, {
|
448
|
-
src: a.avatar
|
449
|
-
}, null, 8, ["src"])
|
450
|
-
])) : f("v-if", !0),
|
451
|
-
this.$slots.content ? (s(), m("div", Ze, [
|
452
|
-
R(o.$slots, "content", {}, void 0, !0)
|
453
|
-
])) : f("v-if", !0),
|
454
|
-
this.$slots.extra ? (s(), m("div", Ee, [
|
455
|
-
R(o.$slots, "extra", {}, void 0, !0)
|
456
|
-
])) : f("v-if", !0)
|
457
|
-
]),
|
458
|
-
g("div", null, [
|
459
|
-
R(o.$slots, "pageMenu", {}, void 0, !0)
|
460
|
-
])
|
461
|
-
]))
|
462
|
-
])
|
463
|
-
])
|
464
|
-
]);
|
465
|
-
};
|
466
|
-
}
|
467
|
-
});
|
468
|
-
const Ye = /* @__PURE__ */ E(Ge, [["__scopeId", "data-v-10f54392"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/components/page/PageHeader.vue"]]), Fe = { key: 0 }, Xe = {
|
469
|
-
key: 0,
|
470
|
-
style: { "font-size": "14px", color: "rgba(0, 0, 0, 0.65)" }
|
471
|
-
}, Ve = { class: "link" }, He = ["href"], $e = {
|
472
|
-
key: 0,
|
473
|
-
class: "page-menu-search"
|
474
|
-
}, Ue = {
|
475
|
-
key: 1,
|
476
|
-
class: "page-menu-tabs"
|
477
|
-
}, Je = { class: "content" }, Qe = {
|
478
|
-
class: /* @__PURE__ */ te(["page-header-index-wide"])
|
479
|
-
}, qe = /* @__PURE__ */ M({
|
480
|
-
name: "LayoutContent",
|
481
|
-
__name: "PageLayout",
|
482
|
-
props: {
|
483
|
-
desc: {
|
484
|
-
type: String,
|
485
|
-
default: null
|
486
|
-
},
|
487
|
-
logo: {
|
488
|
-
type: String,
|
489
|
-
default: null
|
490
|
-
},
|
491
|
-
title: {
|
492
|
-
type: String,
|
493
|
-
default: null
|
494
|
-
},
|
495
|
-
avatar: {
|
496
|
-
type: String,
|
497
|
-
default: null
|
498
|
-
},
|
499
|
-
linkList: {
|
500
|
-
type: Array,
|
501
|
-
default: null
|
502
|
-
},
|
503
|
-
extraImage: {
|
504
|
-
type: String,
|
505
|
-
default: null
|
506
|
-
},
|
507
|
-
search: {
|
508
|
-
type: Boolean,
|
509
|
-
default: !1
|
510
|
-
},
|
511
|
-
tabs: {
|
512
|
-
type: Object,
|
513
|
-
default: () => ({})
|
514
|
-
},
|
515
|
-
explain: {
|
516
|
-
type: Boolean,
|
517
|
-
default: !0
|
518
|
-
}
|
519
|
-
},
|
520
|
-
setup(e) {
|
521
|
-
return (a, r) => {
|
522
|
-
const t = pe, n = be, l = he;
|
523
|
-
return s(), m("div", {
|
524
|
-
style: ee(a.$route.meta.pageHeader ? null : "margin: -24px -24px 0px;")
|
525
|
-
}, [
|
526
|
-
f(" pageHeader , route meta hideHeader:true on hide "),
|
527
|
-
a.$route.meta.pageHeader ? f("v-if", !0) : (s(), x(Ye, {
|
528
|
-
key: 0,
|
529
|
-
title: e.explain ? e.title : "",
|
530
|
-
logo: e.logo,
|
531
|
-
avatar: e.avatar
|
532
|
-
}, {
|
533
|
-
action: _(() => [
|
534
|
-
R(a.$slots, "action", {}, void 0, !0)
|
535
|
-
]),
|
536
|
-
content: _(() => [
|
537
|
-
R(a.$slots, "content", {}, () => [
|
538
|
-
!this.$slots.headerContent && e.desc && e.explain ? (s(), m("div", Fe, [
|
539
|
-
e.explain ? (s(), m("p", Xe, D(e.desc), 1)) : f("v-if", !0),
|
540
|
-
g("div", Ve, [
|
541
|
-
(s(!0), m(N, null, j(e.linkList, (o, c) => (s(), m("a", {
|
542
|
-
key: c,
|
543
|
-
href: o.href
|
544
|
-
}, [
|
545
|
-
f(' <a-icon :type="link.icon" /> '),
|
546
|
-
g("span", null, D(o.title), 1)
|
547
|
-
], 8, He))), 128))
|
548
|
-
])
|
549
|
-
])) : f("v-if", !0)
|
550
|
-
], !0)
|
551
|
-
]),
|
552
|
-
extra: _(() => [
|
553
|
-
R(a.$slots, "extra", {}, void 0, !0)
|
554
|
-
]),
|
555
|
-
pageMenu: _(() => [
|
556
|
-
e.search ? (s(), m("div", $e, [
|
557
|
-
u(t, {
|
558
|
-
style: { width: "80%", "max-width": "522px" },
|
559
|
-
placeholder: "\u8BF7\u8F93\u5165...",
|
560
|
-
size: "large",
|
561
|
-
enterButton: "\u641C\u7D22"
|
562
|
-
})
|
563
|
-
])) : f("v-if", !0),
|
564
|
-
e.tabs && e.tabs.items ? (s(), m("div", Ue, [
|
565
|
-
u(l, {
|
566
|
-
tabBarStyle: { margin: 0 },
|
567
|
-
onChange: e.tabs.callback,
|
568
|
-
activeKey: e.tabs.active()
|
569
|
-
}, {
|
570
|
-
default: _(() => [
|
571
|
-
(s(!0), m(N, null, j(e.tabs.items, (o) => (s(), x(n, {
|
572
|
-
tab: o.title,
|
573
|
-
key: o.key
|
574
|
-
}, null, 8, ["tab"]))), 128))
|
575
|
-
]),
|
576
|
-
_: 1
|
577
|
-
}, 8, ["onChange", "activeKey"])
|
578
|
-
])) : f("v-if", !0)
|
579
|
-
]),
|
580
|
-
_: 3
|
581
|
-
}, 8, ["title", "logo", "avatar"])),
|
582
|
-
g("div", Je, [
|
583
|
-
g("div", Qe, [
|
584
|
-
R(a.$slots, "default", {}, void 0, !0)
|
585
|
-
])
|
586
|
-
])
|
587
|
-
], 4);
|
588
|
-
};
|
589
|
-
}
|
590
|
-
});
|
591
|
-
const Ke = /* @__PURE__ */ E(qe, [["__scopeId", "data-v-0f10d1a0"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/components/page/PageLayout.vue"]]), et = ["src"], tt = /* @__PURE__ */ M({
|
592
|
-
name: "PageContent",
|
593
|
-
__name: "PageView",
|
594
|
-
setup(e) {
|
595
|
-
const a = A(), r = A([]), t = A(""), n = A(!1), l = A({}), o = () => {
|
596
|
-
const c = a.value.$children[0];
|
597
|
-
c && (r.value = c.linkList, t.value = c.extraImage, n.value = c.search == !0, l.value = c.tabs);
|
598
|
-
};
|
599
|
-
return F(() => {
|
600
|
-
o();
|
601
|
-
}), (c, d) => (s(), x(W(Ke), {
|
602
|
-
explain: !1,
|
603
|
-
"link-list": r.value,
|
604
|
-
search: n.value,
|
605
|
-
tabs: l.value
|
606
|
-
}, {
|
607
|
-
extra: _(() => [
|
608
|
-
g("img", { src: t.value }, null, 8, et)
|
609
|
-
]),
|
610
|
-
default: _(() => [
|
611
|
-
u(W(ve), {
|
612
|
-
ref_key: "contentRef",
|
613
|
-
ref: a
|
614
|
-
}, null, 512)
|
615
|
-
]),
|
616
|
-
_: 1
|
617
|
-
}, 8, ["link-list", "search", "tabs"]));
|
618
|
-
}
|
619
|
-
});
|
620
|
-
const ot = /* @__PURE__ */ E(tt, [["__scopeId", "data-v-c62cd39a"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/components/layouts/PageView.vue"]]);
|
621
|
-
export {
|
622
|
-
ot as default
|
623
|
-
};
|