@witlink/usercenter 1.2.0 → 1.2.1
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.a70024af.mjs → RegionSelect.f1da993c.mjs} +1 -1
- package/dist/{UpOutlined.49c77e9f.mjs → UpOutlined.44b59eaa.mjs} +1 -1
- package/dist/{index.50003807.mjs → index.238cf6c9.mjs} +2 -2
- package/dist/{index.a72e6cc5.mjs → index.3c228bec.mjs} +1 -1
- package/dist/{index.3d917e09.mjs → index.874c4088.mjs} +25 -25
- package/dist/{index.9ed46213.mjs → index.8adcc20e.mjs} +1 -1
- package/dist/index.b50a2080.mjs +529 -0
- package/dist/{index.75fa63e9.mjs → index.dc96a832.mjs} +1 -1
- package/dist/{index.88e3cf20.mjs → index.e4ec807f.mjs} +2 -2
- package/dist/{index.876a7009.mjs → index.ea305a7a.mjs} +118 -112
- package/dist/{index.38a20023.mjs → index.ebff24b2.mjs} +2 -2
- package/dist/{index.3fecedd1.mjs → index.ec7f812c.mjs} +1 -1
- package/dist/{index.85a1f79e.mjs → index.f1f5b043.mjs} +31 -31
- package/dist/usercenter.es.js +2 -2
- package/dist/usercenter.umd.js +55 -55
- package/package.json +1 -1
- package/dist/index.b67f3d0b.mjs +0 -498
@@ -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 {
|
2
|
+
import { a2 as y, a3 as C, a4 as R, a5 as S, _ as k } from "./index.ea305a7a.mjs";
|
3
3
|
const D = /* @__PURE__ */ v({
|
4
4
|
__name: "RegionSelect",
|
5
5
|
props: {
|
@@ -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.ea305a7a.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,7 +1,7 @@
|
|
1
1
|
import { useAttrs as fr, provide as za, inject as Ua, createVNode as v, createTextVNode as $t, defineComponent as ke, shallowRef as Ue, ref as R, watch as ge, onBeforeUnmount as zn, nextTick as ja, computed as L, onBeforeUpdate as pr, watchEffect as nn, toRef as pe, onMounted as xt, getCurrentScope as vr, onScopeDispose as gr, unref as Se, getCurrentInstance as mr, Fragment as At, useSlots as wr, openBlock as le, createElementBlock as Ce, createElementVNode as j, createCommentVNode as Me, toDisplayString as ve, renderSlot as dt, normalizeStyle as Ct, createBlock as Xe, withCtx as A, normalizeClass as qa, withDirectives as Yn, vShow as Hn, createSlots as br, renderList as Cr, isRef as yr, reactive as Qt, h as xn } from "vue";
|
2
2
|
import { useRoute as Ka } from "vue-router";
|
3
|
-
import {
|
4
|
-
import { R as ii } from "./RegionSelect.
|
3
|
+
import { aD as ft, aE as $r, aa as T, a as O, c as he, ae as fe, a9 as ot, aF as xr, az as kr, a8 as Be, aG as je, aH as Sr, aI as _r, aJ as Mr, aK as Dr, aL as Ma, g as Pr, m as Tn, af as Or, ag as Ir, al as Nn, ah as Da, ak as Yr, ai as Hr, aM as Tr, aN as Nr, aO as Rr, aP as Er, aQ as Wr, aR as Ar, aS as Pa, aT as Oa, aU as Jt, B as an, aV as Vr, A as on, aW as Rn, ab as tt, ac as yt, a6 as re, ad as Mt, aX as ct, aq as Qa, ar as Ga, aY as Dt, u as Za, at as Ja, aZ as eo, a_ as to, a$ as no, av as ao, as as oo, b as ro, aw as Lr, t as Br, _ as pt, $ as Fr, y as Ot, b0 as io, L as lo, N as so, d as rn, b1 as Xr, b2 as uo, b3 as zr, b4 as Ur, b5 as Ia, b6 as jr, b7 as co, H as ho, K as fo, aB as qr, z as Kr, W as Qr, I as Ya, o as Gr, p as Zr, F as Jr, b8 as ei, b9 as ti, ba as ni, bb as ai, bc as oi, bd as ri } from "./index.ea305a7a.mjs";
|
4
|
+
import { R as ii } from "./RegionSelect.f1da993c.mjs";
|
5
5
|
import { useI18n as ln } from "vue-i18n";
|
6
6
|
import { message as bt } from "ant-design-vue";
|
7
7
|
import './assets/index.423cd927.css';var po = { exports: {} };
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createVNode as l, defineComponent as j, computed as S, openBlock as x, createBlock as b, withCtx as w, createTextVNode as I } from "vue";
|
2
2
|
import { useRouter as y } from "vue-router";
|
3
|
-
import { A as H, g as T, m as V, u as O, c as P, a as D, P as p, C as N, b as W, E as R, B as G, _ as L } from "./index.
|
3
|
+
import { A as H, g as T, m as V, u as O, c as P, a as D, P as p, C as N, b as W, E as R, B as G, _ as L } from "./index.ea305a7a.mjs";
|
4
4
|
import './assets/index.40400b03.css';var X = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "warning", theme: "filled" };
|
5
5
|
const U = X;
|
6
6
|
function A(t) {
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { defineComponent as T, ref as b, computed as
|
2
|
-
import { d as ve,
|
1
|
+
import { defineComponent as T, ref as b, computed as L, openBlock as f, createBlock as R, withCtx as o, renderSlot as Q, createElementVNode as E, normalizeClass as ee, createElementBlock as I, watch as ae, onMounted as K, createVNode as t, Fragment as j, renderList as oe, createTextVNode as k, toDisplayString as z, reactive as F, createCommentVNode as $, mergeProps as te, resolveComponent as x, withDirectives as _e, unref as ye, vShow as fe } from "vue";
|
2
|
+
import { d as ve, O as be, _ as D, Q as he, R as le, U as re, V as we, y as O, W as H, X as Ce, o as ne, p as se, H as ue, K as de, F as ie, S as Ae, B as Ne, Y as me, h as ke, z as Ie, Z as Pe, G as ze, $ as Ue, a0 as $e, a1 as Re } from "./index.ea305a7a.mjs";
|
3
3
|
import { useI18n as W } from "vue-i18n";
|
4
|
-
import { R as qe } from "./RegionSelect.
|
5
|
-
import { _ as Se } from "./index.
|
4
|
+
import { R as qe } from "./RegionSelect.f1da993c.mjs";
|
5
|
+
import { _ as Se } from "./index.e4ec807f.mjs";
|
6
6
|
import { message as Te } from "ant-design-vue";
|
7
7
|
import './assets/index.b965b94b.css';const De = /* @__PURE__ */ T({
|
8
8
|
__name: "index",
|
@@ -13,7 +13,7 @@ import './assets/index.b965b94b.css';const De = /* @__PURE__ */ T({
|
|
13
13
|
}
|
14
14
|
},
|
15
15
|
setup(n) {
|
16
|
-
const m = ve(), r = n, g = b(!1), c =
|
16
|
+
const m = ve(), r = n, g = b(!1), c = L(() => m.userLanguage), u = L(() => c.value === "en_US"), v = L(() => {
|
17
17
|
let e = "ctrl-wrapper";
|
18
18
|
return typeof r.className == "string" || Array.isArray(r.className) ? e = ["ctrl-wrapper"].concat(r.className) : typeof r.className == "object" && (e = {
|
19
19
|
"ctrl-wrapper": !0,
|
@@ -50,7 +50,7 @@ import './assets/index.b965b94b.css';const De = /* @__PURE__ */ T({
|
|
50
50
|
};
|
51
51
|
}
|
52
52
|
});
|
53
|
-
const
|
53
|
+
const Z = /* @__PURE__ */ D(De, [["__scopeId", "data-v-ce85d961"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/components/PlaceholderTip/index.vue"]]), Oe = /* @__PURE__ */ T({
|
54
54
|
__name: "TimeZone",
|
55
55
|
props: {
|
56
56
|
mode: {
|
@@ -186,14 +186,14 @@ function Fe(n) {
|
|
186
186
|
params: n
|
187
187
|
});
|
188
188
|
}
|
189
|
-
function
|
189
|
+
function Ve(n) {
|
190
190
|
return O({
|
191
191
|
url: "/api/sys/org/search-list",
|
192
192
|
method: "get",
|
193
193
|
params: n
|
194
194
|
});
|
195
195
|
}
|
196
|
-
function
|
196
|
+
function Le(n) {
|
197
197
|
return O({
|
198
198
|
url: "/api/sys/org/delete",
|
199
199
|
method: "post",
|
@@ -387,7 +387,7 @@ const Ge = /* @__PURE__ */ T({
|
|
387
387
|
return K(() => {
|
388
388
|
h(c.params);
|
389
389
|
}), (a, l) => {
|
390
|
-
const P = ne, p = se, s = ue, A = de, S = Se, M = ie, Y = Ae,
|
390
|
+
const P = ne, p = se, s = ue, A = de, S = Se, M = ie, Y = Ae, V = Ne, G = me;
|
391
391
|
return f(), R(G, {
|
392
392
|
bordered: !1,
|
393
393
|
title: n.params.opType == "1" ? a.$t("org.title") : a.$t("org.title4")
|
@@ -493,7 +493,7 @@ const Ge = /* @__PURE__ */ T({
|
|
493
493
|
name: "orgName"
|
494
494
|
}, {
|
495
495
|
default: o(() => [
|
496
|
-
t(
|
496
|
+
t(Z, { className: "tip-wrapper" }, {
|
497
497
|
title: o(() => [
|
498
498
|
k(z(a.$t("org.org_name_placeholder")), 1)
|
499
499
|
]),
|
@@ -524,7 +524,7 @@ const Ge = /* @__PURE__ */ T({
|
|
524
524
|
name: "orgType"
|
525
525
|
}, {
|
526
526
|
default: o(() => [
|
527
|
-
t(
|
527
|
+
t(H, {
|
528
528
|
type: "ORG_TYPE",
|
529
529
|
placeholder: a.$t("org.org_type_placeholder"),
|
530
530
|
value: e.orgType,
|
@@ -548,7 +548,7 @@ const Ge = /* @__PURE__ */ T({
|
|
548
548
|
name: "industryCode"
|
549
549
|
}, {
|
550
550
|
default: o(() => [
|
551
|
-
t(
|
551
|
+
t(H, {
|
552
552
|
type: "INDUSTRY_CODE",
|
553
553
|
placeholder: a.$t("org.industry_placeholder"),
|
554
554
|
value: e.industryCode,
|
@@ -625,7 +625,7 @@ const Ge = /* @__PURE__ */ T({
|
|
625
625
|
name: "dateFormat"
|
626
626
|
}, {
|
627
627
|
default: o(() => [
|
628
|
-
t(
|
628
|
+
t(H, {
|
629
629
|
type: "DATE_FORMAT",
|
630
630
|
disabled: !0,
|
631
631
|
value: e.dateFormat,
|
@@ -654,7 +654,7 @@ const Ge = /* @__PURE__ */ T({
|
|
654
654
|
name: "monetaryyUnit"
|
655
655
|
}, {
|
656
656
|
default: o(() => [
|
657
|
-
t(
|
657
|
+
t(Z, { className: "tip-wrapper" }, {
|
658
658
|
title: o(() => [
|
659
659
|
k(z(a.$t("org.monery_unit_placeholder")), 1)
|
660
660
|
]),
|
@@ -775,14 +775,14 @@ const Ge = /* @__PURE__ */ T({
|
|
775
775
|
}, 8, ["spinning"]),
|
776
776
|
t(Ce, { style: { width: "100%" } }, {
|
777
777
|
default: o(() => [
|
778
|
-
t(
|
778
|
+
t(V, { onClick: y }, {
|
779
779
|
default: o(() => [
|
780
780
|
k(z(a.$t("common.btn_cancel")), 1)
|
781
781
|
]),
|
782
782
|
_: 1
|
783
783
|
}),
|
784
784
|
l[12] || (l[12] = k("\xA0\xA0 ")),
|
785
|
-
t(
|
785
|
+
t(V, {
|
786
786
|
onClick: C,
|
787
787
|
type: "primary"
|
788
788
|
}, {
|
@@ -800,7 +800,7 @@ const Ge = /* @__PURE__ */ T({
|
|
800
800
|
};
|
801
801
|
}
|
802
802
|
});
|
803
|
-
const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/org/OrgEdit.vue"]]),
|
803
|
+
const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/org/OrgEdit.vue"]]), He = /* @__PURE__ */ T({
|
804
804
|
__name: "ResetPwdModal",
|
805
805
|
props: {
|
806
806
|
params: {
|
@@ -898,7 +898,7 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
|
|
898
898
|
}, 8, ["open", "title", "destroyOnClose"]);
|
899
899
|
};
|
900
900
|
}
|
901
|
-
}),
|
901
|
+
}), Ze = /* @__PURE__ */ D(He, [["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/org/ResetPwdModal.vue"]]), Ke = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAD/klEQVRYR8WXfWiVZRTAf+e9mzp13r03LZM+wA8kh62oJAxLDSIsRcQijf6wtiAKyllTwmh/jNim80YRBJtBREZGSikiiLmK/FqQ2yD6mFNhZvO63X2oc9t93yee++7j7t773ve9V6Hnv3uf85zze885z3nOEXwu9cms6QzEVoOsBBYjah5QNHK8ByVngVZQP1CQd0Bej1z1o1q8hFRtcB5GYBvCBmCal/zI/jUUX2Fb1VLRq8FclyuA2kUBtlmJsBkk36fhJDE1jCLM1ej7UsmNdDrSAjhfbexD5P7cDCdzqBZse106b6QAqNqiBwgYh4E7XI3nT4NH3oQFz8LBTdD1px/OTiz7aanoOZMoPAFAhYNzsQPH3Y0L3Pc8LNsO0+c4eg69CmcPw93L4PxRsIczwXRiWEtlc2/7qNAYgKpkCoXmSZCStBrmLIHlH8DsBydua4CiubB0G/S0Q+N70K4d6LZUM/3RR0dzYhygzqwG2ZpybOrtsLwKFq4DSZMyGmDmIljy1vjRCz9C47vQ9YcLhaqVLdG4rbjGeNIFjN9BJqWceKIKHnrN/YPSAWhpOwYtn8MvVTDYl5yVQ1j2Ip2UDsDOUD1CaVorT+6AkpedrX+a4HoE5q8aF00GuNwKRsDxil5NH8PPlamqFQ3ydneZqI9CM4hxCcVUT4Cvn4GLJ6G8yx2gvsTxa2mzI9P8GRx9J53qAfKZLWqnuQGRPa4+TvTA+WNw7V8o1kVxZCV74MxuEANKNnkBgK1elIzu1yoSAU6FnTu/6lN3gNMfOsmq60RmD+jd3aLqQk3Aw748sHcNdByH8iu3IgRax6+i6swIyExfAEP9YA1BwW3uAN1tjgdM/VhmzAGd/hENMAyS5wtg/wtw8RS8cc4d4Ju1IAFY/60fgMHsABq3Q6QVnvvOA8CA9ft8A/gPweUWGOiCe1e4A/RecOpb8B4/ADoEWSSh7zogUDry6LnXgdEkDDUAr/jKgb8PQF/HxNKcXAdOh5064Psa7jA3YsiXvgB+q4doG6ysuTWFSHQhqjaD5MsloCAtRGIh2rsaOk541wGtqMxHKR5WdzqPUV2oXlfvFICNR8BcAJMLna3rV8C6AYV3jYvqx8mYBFOCzn/6MdIhmFXs/B7sh+hfsOepZPUNsqW7LPNz/NJPE4uOa5w8NvTN+eLxBCE1hFjFUt7XltiQ1IBU5Goju3NJDUk8DF4tWXYWMki7tGRxCM+m9KYpOrGsxxLb89za8tw4vNvyUb3/62AyBqFHM2XqZu7mRjMI05/laJboYbVrxnzsvK05DadGrEZftUwR85yOxzyix/PB2BpsWYHBYlR8PDcBC6QH4Rw2rRjqGJPzvvc7nv8HJ9O88//HRdEAAAAASUVORK5CYII=", We = { bordered: !1 }, Xe = { style: { margin: "10px 0 16px" } }, Je = {
|
902
902
|
class: "table-page-search-wrapper",
|
903
903
|
style: { "margin-bottom": "16px" }
|
904
904
|
}, et = ["src"], tt = /* @__PURE__ */ T({
|
@@ -908,7 +908,7 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
|
|
908
908
|
opType: "",
|
909
909
|
orgId: ""
|
910
910
|
}), i = async (s) => {
|
911
|
-
const A = Object.assign(s, _), { result: S } = await
|
911
|
+
const A = Object.assign(s, _), { result: S } = await Ve(A);
|
912
912
|
return S;
|
913
913
|
}, N = () => {
|
914
914
|
c.value = !1;
|
@@ -926,14 +926,14 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
|
|
926
926
|
}, q = (s) => {
|
927
927
|
h("3"), v.value = s, c.value = !0;
|
928
928
|
}, a = (s) => {
|
929
|
-
|
929
|
+
Le({ orgId: s.orgId }).then(() => {
|
930
930
|
g.value.refresh(), Te.success(m("assetclass.del_success"));
|
931
931
|
});
|
932
932
|
}, l = () => {
|
933
933
|
h("0"), u.value = !1, g.value.refresh();
|
934
934
|
}, P = () => {
|
935
935
|
u.value = !1;
|
936
|
-
}, p =
|
936
|
+
}, p = L(() => [
|
937
937
|
{
|
938
938
|
title: m("device.index1"),
|
939
939
|
width: "50px",
|
@@ -1001,13 +1001,13 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
|
|
1001
1001
|
}
|
1002
1002
|
]);
|
1003
1003
|
return (s, A) => {
|
1004
|
-
const S = Ue, M = x("uc-btn-add"), Y = ue,
|
1004
|
+
const S = Ue, M = x("uc-btn-add"), Y = ue, V = de, G = x("uc-pick-label"), d = x("uc-btn-edit"), X = $e, pe = x("uc-btn-reset-pwd"), ce = x("uc-btn-remove"), ge = me;
|
1005
1005
|
return f(), I("div", null, [
|
1006
1006
|
t(ge, null, {
|
1007
1007
|
default: o(() => [
|
1008
1008
|
_e(E("div", We, [
|
1009
1009
|
E("div", Xe, [
|
1010
|
-
t(
|
1010
|
+
t(Z, null, {
|
1011
1011
|
title: o(() => [
|
1012
1012
|
k(z(s.$t("org.nameInput")), 1)
|
1013
1013
|
]),
|
@@ -1026,7 +1026,7 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
|
|
1026
1026
|
})
|
1027
1027
|
]),
|
1028
1028
|
E("div", Je, [
|
1029
|
-
t(
|
1029
|
+
t(V, null, {
|
1030
1030
|
default: o(() => [
|
1031
1031
|
t(Y, { md: 16 }, {
|
1032
1032
|
default: o(() => [
|
@@ -1088,7 +1088,7 @@ const Qe = /* @__PURE__ */ D(Ge, [["__scopeId", "data-v-bc1e3beb"], ["__file", "
|
|
1088
1088
|
]),
|
1089
1089
|
_: 1
|
1090
1090
|
}),
|
1091
|
-
c.value ? (f(), R(
|
1091
|
+
c.value ? (f(), R(Ze, {
|
1092
1092
|
key: 0,
|
1093
1093
|
params: v.value,
|
1094
1094
|
onClose: N
|