@witlink/usercenter 1.1.10 → 1.1.11
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/{RegionSelect.ed800cfc.mjs → RegionSelect.e29cda42.mjs} +1 -1
- package/dist/{Standard.0dfb7c04.mjs → Standard.6d80d1a1.mjs} +3 -3
- package/dist/{UpOutlined.0b75f70c.mjs → UpOutlined.38e3b534.mjs} +1 -1
- package/dist/{WebClient.0b60e495.mjs → WebClient.d7f9b951.mjs} +36 -36
- package/dist/{index.3effad83.mjs → index.040d5f56.mjs} +3 -3
- package/dist/{index.000f56c3.mjs → index.084babdb.mjs} +1 -1
- package/dist/{index.69e367e1.mjs → index.494e8a52.mjs} +2 -2
- package/dist/{index.7a7ae233.mjs → index.6e18fb8c.mjs} +1 -1
- package/dist/{index.7d901849.mjs → index.86f0d6bd.mjs} +917 -923
- package/dist/{index.aca201c5.mjs → index.9fac4126.mjs} +7 -7
- package/dist/{index.78709838.mjs → index.a433e866.mjs} +78 -76
- package/dist/{index.8ebf99bf.mjs → index.a59df153.mjs} +1 -1
- package/dist/{index.66a93694.mjs → index.cf7488df.mjs} +86 -83
- package/dist/{index.7ed360e9.mjs → index.fbef51b1.mjs} +1 -1
- package/dist/{index.5c03fe2d.mjs → index.fdcf1ea6.mjs} +2 -2
- package/dist/usercenter.es.js +1 -1
- package/dist/usercenter.umd.js +65 -65
- package/package.json +1 -1
- package/dist/404.21de5c81.mjs +0 -10
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as n, watch as _, openBlock as b, createElementBlock as w, createVNode as V } from "vue";
|
2
|
-
import { a3 as y, a4 as C, a5 as R, a6 as S, _ as k } from "./index.
|
2
|
+
import { a3 as y, a4 as C, a5 as R, a6 as S, _ as k } from "./index.86f0d6bd.mjs";
|
3
3
|
const D = /* @__PURE__ */ v({
|
4
4
|
__name: "RegionSelect",
|
5
5
|
props: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as j, ref as _, reactive as B, onMounted as L, openBlock as c, createElementBlock as f, createVNode as i, withCtx as p, Fragment as E, renderList as F, createBlock as r, mergeProps as I, createCommentVNode as d, normalizeStyle as h, createTextVNode as P, toDisplayString as V } from "vue";
|
2
|
-
import { g as Y, s as J } from "./index.
|
3
|
-
import { o as R, be as T, p as $, F as z, B as M, _ as q } from "./index.
|
4
|
-
import { _ as A } from "./index.
|
2
|
+
import { g as Y, s as J } from "./index.040d5f56.mjs";
|
3
|
+
import { o as R, be as T, p as $, F as z, B as M, _ as q } from "./index.86f0d6bd.mjs";
|
4
|
+
import { _ as A } from "./index.494e8a52.mjs";
|
5
5
|
import './assets/Standard.badeec91.css';const G = { class: "web-client" }, H = /* @__PURE__ */ j({
|
6
6
|
name: "Standard",
|
7
7
|
__name: "Standard",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createVNode as u } from "vue";
|
2
|
-
import { A as l } from "./index.
|
2
|
+
import { A as l } from "./index.86f0d6bd.mjs";
|
3
3
|
var o = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, name: "up", theme: "outlined" };
|
4
4
|
const p = o;
|
5
5
|
function c(r) {
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as R, ref as m, reactive as V, watch as $, onMounted as z, openBlock as o, createElementBlock as i, createVNode as h, withCtx as p, Fragment as w, renderList as D, createBlock as v, mergeProps as j, createCommentVNode as b, createElementVNode as n, normalizeStyle as N, normalizeClass as x, toDisplayString as O, createTextVNode as T } from "vue";
|
2
2
|
import { message as E } from "ant-design-vue";
|
3
|
-
import { useI18n as
|
4
|
-
import { g as
|
5
|
-
import { o as
|
6
|
-
import './assets/WebClient.3b709666.css';const
|
3
|
+
import { useI18n as q } from "vue-i18n";
|
4
|
+
import { g as G, s as K } from "./index.040d5f56.mjs";
|
5
|
+
import { o as Q, b7 as X, p as Y, F as Z, B as ee, _ as te } from "./index.86f0d6bd.mjs";
|
6
|
+
import './assets/WebClient.3b709666.css';const ae = { class: "web-client" }, oe = ["src"], se = {
|
7
7
|
key: 2,
|
8
8
|
class: "color-choose"
|
9
|
-
},
|
9
|
+
}, ne = { class: "color" }, re = ["onClick"], ce = { class: "tips" }, le = "/", ie = /* @__PURE__ */ R({
|
10
10
|
name: "WebClient",
|
11
11
|
__name: "WebClient",
|
12
12
|
props: {
|
@@ -18,7 +18,7 @@ import './assets/WebClient.3b709666.css';const oe = { class: "web-client" }, se
|
|
18
18
|
},
|
19
19
|
emits: ["ok"],
|
20
20
|
setup(I, { emit: A }) {
|
21
|
-
const { t: g } =
|
21
|
+
const { t: g } = q(), S = A, u = I, _ = m(0), y = [
|
22
22
|
"#fff",
|
23
23
|
"#ccc",
|
24
24
|
"#666",
|
@@ -28,10 +28,10 @@ import './assets/WebClient.3b709666.css';const oe = { class: "web-client" }, se
|
|
28
28
|
"#fffe34",
|
29
29
|
"#ff0f00",
|
30
30
|
"#0dfd36"
|
31
|
-
], r =
|
31
|
+
], r = V({
|
32
32
|
parentCode: "",
|
33
33
|
items: {}
|
34
|
-
}), c = m([]),
|
34
|
+
}), c = m([]), C = m(""), L = {
|
35
35
|
labelCol: {
|
36
36
|
span: 6
|
37
37
|
},
|
@@ -40,51 +40,51 @@ import './assets/WebClient.3b709666.css';const oe = { class: "web-client" }, se
|
|
40
40
|
}
|
41
41
|
}, k = async () => {
|
42
42
|
r.parentCode = u.record.code;
|
43
|
-
const { result: e } = await
|
43
|
+
const { result: e } = await G({
|
44
44
|
parentCode: u.record.code
|
45
45
|
});
|
46
46
|
c.value = e;
|
47
47
|
const a = e.find((t) => t.v2 == "HEAD_ICON");
|
48
48
|
if (a) {
|
49
49
|
const t = JSON.parse(a.v1);
|
50
|
-
C.value =
|
50
|
+
C.value = le + "usercenter/api/auth/node-icon/" + t.bucket + "/" + t.file;
|
51
51
|
}
|
52
|
-
},
|
52
|
+
}, P = (e, a) => {
|
53
53
|
const t = new FileReader();
|
54
54
|
t.addEventListener("load", () => a(t.result)), t.readAsDataURL(e);
|
55
|
-
},
|
55
|
+
}, B = (e) => e.type === "image/jpeg" || e.type === "image/png" ? e.size / 1024 / 1024 < 2 ? (r.fileName = e, P(e, (l) => {
|
56
56
|
l.value = l;
|
57
|
-
}), !1) : (E.error(g("param.tips2")), !1) : (E.error(g("param.tips1")), !1),
|
57
|
+
}), !1) : (E.error(g("param.tips2")), !1) : (E.error(g("param.tips1")), !1), H = async () => {
|
58
58
|
console.log(c.value, "source");
|
59
59
|
const e = {};
|
60
60
|
c.value.forEach((t) => {
|
61
61
|
t.v2 !== "HEAD_ICON" && (e[t.code] = t.v1);
|
62
62
|
}), r.items = JSON.stringify(e);
|
63
|
-
const { result: a } = await
|
63
|
+
const { result: a } = await K(r);
|
64
64
|
a && S("ok");
|
65
|
-
},
|
65
|
+
}, U = (e) => {
|
66
66
|
_.value = e;
|
67
67
|
};
|
68
|
-
return
|
68
|
+
return $(
|
69
69
|
() => u.record,
|
70
70
|
() => {
|
71
71
|
k();
|
72
72
|
}
|
73
|
-
),
|
73
|
+
), z(() => {
|
74
74
|
k();
|
75
75
|
}), (e, a) => {
|
76
|
-
const t =
|
77
|
-
return o(), i("div",
|
78
|
-
h(
|
76
|
+
const t = Q, l = X, W = Y, F = Z, J = ee;
|
77
|
+
return o(), i("div", ae, [
|
78
|
+
h(F, {
|
79
79
|
class: "form",
|
80
80
|
ref: "formRef"
|
81
81
|
}, {
|
82
82
|
default: p(() => [
|
83
|
-
(o(!0), i(w, null, D(c.value, (s,
|
84
|
-
key:
|
83
|
+
(o(!0), i(w, null, D(c.value, (s, M) => (o(), v(W, j({
|
84
|
+
key: M,
|
85
85
|
label: e.$t("dct.PARAMS" + s.code),
|
86
86
|
ref_for: !0
|
87
|
-
},
|
87
|
+
}, L), {
|
88
88
|
default: p(() => [
|
89
89
|
s.v2 != "HEAD_ICON" ? (o(), v(t, {
|
90
90
|
key: 0,
|
@@ -98,7 +98,7 @@ import './assets/WebClient.3b709666.css';const oe = { class: "web-client" }, se
|
|
98
98
|
"list-type": "picture-card",
|
99
99
|
class: "avatar-uploader",
|
100
100
|
"show-upload-list": !1,
|
101
|
-
"before-upload":
|
101
|
+
"before-upload": B
|
102
102
|
}, {
|
103
103
|
default: p(() => [
|
104
104
|
n("div", {
|
@@ -109,25 +109,25 @@ import './assets/WebClient.3b709666.css';const oe = { class: "web-client" }, se
|
|
109
109
|
src: C.value,
|
110
110
|
alt: "avatar",
|
111
111
|
class: "avatar"
|
112
|
-
}, null, 8,
|
112
|
+
}, null, 8, oe)
|
113
113
|
], 4)
|
114
114
|
]),
|
115
115
|
_: 1
|
116
116
|
})) : b("v-if", !0),
|
117
|
-
s.v2 == "HEAD_ICON" ? (o(), i("div",
|
118
|
-
n("div",
|
117
|
+
s.v2 == "HEAD_ICON" ? (o(), i("div", se, [
|
118
|
+
n("div", ne, [
|
119
119
|
(o(), i(w, null, D(y, (d, f) => n("div", {
|
120
120
|
key: f,
|
121
121
|
class: "color-item"
|
122
122
|
}, [
|
123
123
|
n("div", {
|
124
124
|
style: N("background:" + d),
|
125
|
-
onClick: (pe) =>
|
126
|
-
class:
|
127
|
-
}, null, 14,
|
125
|
+
onClick: (pe) => U(f),
|
126
|
+
class: x(_.value == f ? "active" : "")
|
127
|
+
}, null, 14, re)
|
128
128
|
])), 64))
|
129
129
|
]),
|
130
|
-
n("span",
|
130
|
+
n("span", ce, O(e.$t("param.tip")), 1)
|
131
131
|
])) : b("v-if", !0)
|
132
132
|
]),
|
133
133
|
_: 2
|
@@ -135,13 +135,13 @@ import './assets/WebClient.3b709666.css';const oe = { class: "web-client" }, se
|
|
135
135
|
]),
|
136
136
|
_: 1
|
137
137
|
}, 512),
|
138
|
-
h(
|
139
|
-
onClick:
|
138
|
+
h(J, {
|
139
|
+
onClick: H,
|
140
140
|
type: "primary",
|
141
141
|
class: "sub_btn"
|
142
142
|
}, {
|
143
143
|
default: p(() => [
|
144
|
-
|
144
|
+
T(O(e.$t("param.btn_ok")), 1)
|
145
145
|
]),
|
146
146
|
_: 1
|
147
147
|
})
|
@@ -149,7 +149,7 @@ import './assets/WebClient.3b709666.css';const oe = { class: "web-client" }, se
|
|
149
149
|
};
|
150
150
|
}
|
151
151
|
});
|
152
|
-
const ve = /* @__PURE__ */
|
152
|
+
const ve = /* @__PURE__ */ te(ie, [["__scopeId", "data-v-7c2314b0"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/WebClient.vue"]]);
|
153
153
|
export {
|
154
154
|
ve as default
|
155
155
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as C, ref as l, onMounted as D, openBlock as d, createElementBlock as T, createVNode as n, withCtx as c, createElementVNode as h, normalizeClass as $, createBlock as w, resolveDynamicComponent as x, unref as I, createCommentVNode as b, createTextVNode as L, toDisplayString as N, defineAsyncComponent as k, computed as P } from "vue";
|
2
|
-
import { y, aB as B, N as O, O as V, _ as S, Z as z, K as A, L as M } from "./index.
|
2
|
+
import { y, aB as B, N as O, O as V, _ as S, Z as z, K as A, L as M } from "./index.86f0d6bd.mjs";
|
3
3
|
import { message as R } from "ant-design-vue";
|
4
4
|
import { useI18n as j } from "vue-i18n";
|
5
5
|
import './assets/index.28bdbdc3.css';function E(t) {
|
@@ -80,8 +80,8 @@ const U = /* @__PURE__ */ S(F, [["__scopeId", "data-v-a72d57cc"], ["__file", "D:
|
|
80
80
|
__name: "index",
|
81
81
|
setup(t) {
|
82
82
|
const { t: u } = j(), _ = l({}), i = l(), a = l("WebClient"), p = {
|
83
|
-
WebClient: k(() => import("./WebClient.
|
84
|
-
Standard: k(() => import("./Standard.
|
83
|
+
WebClient: k(() => import("./WebClient.d7f9b951.mjs")),
|
84
|
+
Standard: k(() => import("./Standard.6d80d1a1.mjs"))
|
85
85
|
}, f = P(() => p[a.value]), e = (s) => {
|
86
86
|
s.v3 ? a.value = s.v3 : a.value = "Standard", _.value = s;
|
87
87
|
}, m = () => {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as E, ref as y, reactive as M, onMounted as H, openBlock as h, createBlock as S, withCtx as l, createVNode as e, mergeProps as q, createElementBlock as z, Fragment as _e, renderList as me, computed as W, normalizeStyle as fe, renderSlot as ye, resolveComponent as b, createElementVNode as T, createTextVNode as C, toDisplayString as j, unref as K, createCommentVNode as P } from "vue";
|
2
2
|
import { message as A } from "ant-design-vue";
|
3
3
|
import { useI18n as J } from "vue-i18n";
|
4
|
-
import { y as x, o as Q, p as X, F as Y, S as Z, z as ve, _ as V, G as he, I as be, H as xe, B as we, K as ke, L as Ie, N as Le, O as $e } from "./index.
|
4
|
+
import { y as x, o as Q, p as X, F as Y, S as Z, z as ve, _ as V, G as he, I as be, H as xe, B as we, K as ke, L as Ie, N as Le, O as $e } from "./index.86f0d6bd.mjs";
|
5
5
|
import './assets/index.ca7d4055.css';function ee(r) {
|
6
6
|
return x({
|
7
7
|
url: "/api/sys/lang/search-lang-list",
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { a7 as A, a8 as et, c as j, a as T, a9 as tt, aa as Ae, ab as v, ac as F, ad as Z, ae as xe, af as ie, g as nt, ag as at, ah as rt, ai as Te, aj as je, ak as We, al as He, am as lt, an as it, ao as ot, ap as st, aq as ut, ar as dt, as as ct, at as ft, u as pt, au as mt, av as gt, aw as Se, ax as vt, D as ht, ay as Ve, az as Oe, aA as bt, P as $e } from "./index.
|
1
|
+
import { a7 as A, a8 as et, c as j, a as T, a9 as tt, aa as Ae, ab as v, ac as F, ad as Z, ae as xe, af as ie, g as nt, ag as at, ah as rt, ai as Te, aj as je, ak as We, al as He, am as lt, an as it, ao as ot, ap as st, aq as ut, ar as dt, as as ct, at as ft, u as pt, au as mt, av as gt, aw as Se, ax as vt, D as ht, ay as Ve, az as Oe, aA as bt, P as $e } from "./index.86f0d6bd.mjs";
|
2
2
|
import { defineComponent as Ee, ref as Ge, onBeforeUnmount as qe, createVNode as b, shallowRef as M, computed as W, watch as ee } from "vue";
|
3
|
-
import { U as St } from "./UpOutlined.
|
3
|
+
import { U as St } from "./UpOutlined.38e3b534.mjs";
|
4
4
|
function we() {
|
5
5
|
return typeof BigInt == "function";
|
6
6
|
}
|