@witlink/usercenter 1.2.11 → 1.2.13

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.
@@ -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.c8cccc3e.mjs";
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.b6b4bc5e.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,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as n } from "./index.c8cccc3e.mjs";
2
+ import { _ as n } from "./index.b6b4bc5e.mjs";
3
3
  const t = {};
4
4
  function c(i, o) {
5
5
  return e(), r("div", null, "\u9996\u9875");
@@ -1,7 +1,7 @@
1
1
  import { createVNode as e, defineComponent as G, ref as v, reactive as Q, onMounted as X, openBlock as I, createBlock as V, withCtx as l, mergeProps as P, createElementBlock as q, Fragment as ve, renderList as ye, computed as Y, normalizeStyle as he, renderSlot as be, resolveComponent as w, createElementVNode as S, createTextVNode as k, toDisplayString as E, unref as W, createCommentVNode as xe } from "vue";
2
2
  import { message as R } from "ant-design-vue";
3
3
  import { useI18n as Z } from "vue-i18n";
4
- import { A as we, z as L, p as ee, q as ne, F as te, S as le, G as ke, _ as K, H as Ie, I as Le, B as $e, K as Ce, L as Oe, N as Ue, O as Se } from "./index.c8cccc3e.mjs";
4
+ import { A as we, z as L, p as ee, q as ne, F as te, S as le, G as ke, _ as K, H as Ie, I as Le, B as $e, K as Ce, L as Oe, N as Ue, O as Se } from "./index.b6b4bc5e.mjs";
5
5
  import './assets/index.ca7d4055.css';var Re = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z" } }, { tag: "path", attrs: { d: "M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z" } }] }, name: "form", theme: "outlined" };
6
6
  const Te = Re;
7
7
  function J(s) {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as n } from "./index.c8cccc3e.mjs";
2
+ import { _ as n } from "./index.b6b4bc5e.mjs";
3
3
  const t = {};
4
4
  function c(i, o) {
5
5
  return e(), r("div", null, "dictionary");
@@ -1,8 +1,8 @@
1
- import { defineComponent as T, ref as p, onMounted as z, openBlock as a, createElementBlock as D, createVNode as y, withCtx as r, createElementVNode as S, normalizeClass as M, createBlock as v, resolveDynamicComponent as V, unref as se, createCommentVNode as h, createTextVNode as F, toDisplayString as U, reactive as Y, watch as ce, Fragment as B, renderList as J, mergeProps as K, normalizeStyle as x, computed as re } from "vue";
2
- import { z as H, aB as le, N as _e, O as ue, _ as E, p as q, aC as de, q as Z, F as G, B as Q, S as X, aD as pe, Z as ie, K as ve, L as fe } from "./index.c8cccc3e.mjs";
3
- import { message as W } from "ant-design-vue";
1
+ import { defineComponent as T, ref as p, onMounted as W, openBlock as a, createElementBlock as D, createVNode as y, withCtx as r, createElementVNode as S, normalizeClass as M, createBlock as v, resolveDynamicComponent as V, unref as se, createCommentVNode as h, createTextVNode as F, toDisplayString as U, reactive as Y, watch as ce, Fragment as z, renderList as B, mergeProps as K, normalizeStyle as x, computed as re } from "vue";
2
+ import { z as H, ay as le, N as _e, O as ue, _ as A, p as q, az as de, q as G, F as Q, B as X, S as Z, aA as pe, $ as ie, K as ve, L as fe } from "./index.b6b4bc5e.mjs";
3
+ import { message as J } from "ant-design-vue";
4
4
  import { useI18n as ee } from "vue-i18n";
5
- import { _ as me } from "./index.46c4bf6f.mjs";
5
+ import { _ as me } from "./index.18564dfa.mjs";
6
6
  import './assets/index.857022a9.css';function ye(f) {
7
7
  return H({
8
8
  url: "/api/sys/parameter/search-type",
@@ -31,13 +31,13 @@ const he = ["onClick"], be = { class: "title1" }, ke = /* @__PURE__ */ T({
31
31
  __name: "TypeList",
32
32
  emits: ["select"],
33
33
  setup(f, { emit: $ }) {
34
- const C = $, b = p([]), u = p(0), i = (l, _) => {
35
- u.value = _, C("select", l);
34
+ const w = $, b = p([]), u = p(0), i = (l, _) => {
35
+ u.value = _, w("select", l);
36
36
  }, m = async () => {
37
37
  const { result: l } = await ye({});
38
38
  b.value = l, l.length > 0 && i(l[0], 0);
39
39
  };
40
- return z(() => {
40
+ return W(() => {
41
41
  m();
42
42
  }), (l, _) => {
43
43
  const d = _e, O = ue;
@@ -76,7 +76,7 @@ const he = ["onClick"], be = { class: "title1" }, ke = /* @__PURE__ */ T({
76
76
  };
77
77
  }
78
78
  });
79
- const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/TypeList.vue"]]), Ce = { class: "web-client" }, we = ["src"], Se = {
79
+ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/TypeList.vue"]]), we = { class: "web-client" }, Ce = ["src"], Se = {
80
80
  key: 2,
81
81
  class: "color-choose"
82
82
  }, De = { class: "color" }, $e = ["onClick"], Oe = { class: "tips" }, Ie = "/", Ne = /* @__PURE__ */ T({
@@ -91,7 +91,7 @@ const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
91
91
  },
92
92
  emits: ["ok"],
93
93
  setup(f, { emit: $ }) {
94
- const { t: C } = ee(), b = $, u = f, i = p(0), m = p(!0), l = [
94
+ const { t: w } = ee(), b = $, u = f, i = p(0), m = p(!0), l = [
95
95
  "#fff",
96
96
  "#ccc",
97
97
  "#666",
@@ -129,7 +129,7 @@ const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
129
129
  o.addEventListener("load", () => g(o.result)), o.readAsDataURL(t);
130
130
  }, c = (t) => t.type === "image/jpeg" || t.type === "image/png" ? t.size / 1024 / 1024 < 2 ? (_.fileName = t, s(t, (N) => {
131
131
  N.value = N;
132
- }), !1) : (W.error(C("param.tips2")), !1) : (W.error(C("param.tips1")), !1), I = async () => {
132
+ }), !1) : (J.error(w("param.tips2")), !1) : (J.error(w("param.tips1")), !1), I = async () => {
133
133
  console.log(d.value, "source");
134
134
  const t = {};
135
135
  d.value.forEach((o) => {
@@ -137,7 +137,7 @@ const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
137
137
  }), _.items = JSON.stringify(t);
138
138
  const { result: g } = await ae(_);
139
139
  g && b("ok");
140
- }, A = (t) => {
140
+ }, E = (t) => {
141
141
  i.value = t;
142
142
  };
143
143
  return ce(
@@ -145,11 +145,11 @@ const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
145
145
  () => {
146
146
  n();
147
147
  }
148
- ), z(() => {
148
+ ), W(() => {
149
149
  n();
150
150
  }), (t, g) => {
151
- const o = q, N = de, e = Z, P = G, w = Q, ne = X;
152
- return a(), D("div", Ce, [
151
+ const o = q, N = de, e = G, P = Q, C = X, ne = Z;
152
+ return a(), D("div", we, [
153
153
  y(ne, { spinning: m.value }, {
154
154
  default: r(() => [
155
155
  y(P, {
@@ -157,7 +157,7 @@ const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
157
157
  ref: "formRef"
158
158
  }, {
159
159
  default: r(() => [
160
- (a(!0), D(B, null, J(d.value, (L, oe) => (a(), v(e, K({
160
+ (a(!0), D(z, null, B(d.value, (L, oe) => (a(), v(e, K({
161
161
  key: oe,
162
162
  label: t.$t("dct.PARAMS" + L.code),
163
163
  ref_for: !0
@@ -186,20 +186,20 @@ const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
186
186
  src: O.value,
187
187
  alt: "avatar",
188
188
  class: "avatar"
189
- }, null, 8, we)
189
+ }, null, 8, Ce)
190
190
  ], 4)
191
191
  ]),
192
192
  _: 1
193
193
  })) : h("v-if", !0),
194
194
  L.v2 == "HEAD_ICON" ? (a(), D("div", Se, [
195
195
  S("div", De, [
196
- (a(), D(B, null, J(l, (R, j) => S("div", {
196
+ (a(), D(z, null, B(l, (R, j) => S("div", {
197
197
  key: j,
198
198
  class: "color-item"
199
199
  }, [
200
200
  S("div", {
201
201
  style: x("background:" + R),
202
- onClick: (Ae) => A(j),
202
+ onClick: (Ee) => E(j),
203
203
  class: M(i.value == j ? "active" : "")
204
204
  }, null, 14, $e)
205
205
  ])), 64))
@@ -212,7 +212,7 @@ const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
212
212
  ]),
213
213
  _: 1
214
214
  }, 512),
215
- m.value ? h("v-if", !0) : (a(), v(w, {
215
+ m.value ? h("v-if", !0) : (a(), v(C, {
216
216
  key: 0,
217
217
  onClick: I,
218
218
  type: "primary",
@@ -230,7 +230,7 @@ const ge = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
230
230
  };
231
231
  }
232
232
  });
233
- const Le = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/WebClient.vue"]]), Ue = { class: "web-client" }, xe = /* @__PURE__ */ T({
233
+ const Le = /* @__PURE__ */ A(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/WebClient.vue"]]), Ue = { class: "web-client" }, xe = /* @__PURE__ */ T({
234
234
  name: "Standard",
235
235
  __name: "Standard",
236
236
  props: {
@@ -242,7 +242,7 @@ const Le = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
242
242
  },
243
243
  emits: ["ok"],
244
244
  setup(f, { emit: $ }) {
245
- const C = $, b = f, u = p(), i = p(!0), m = Y({
245
+ const w = $, b = f, u = p(), i = p(!0), m = Y({
246
246
  parentCode: "",
247
247
  items: {}
248
248
  }), l = p({}), _ = p([]), d = {
@@ -270,12 +270,12 @@ const Le = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
270
270
  ((I = c == null ? void 0 : c.v2) == null ? void 0 : I.field) == "2" && (c.isChecked ? c.v1 == "Y" : c.v1 == "N"), n[c.code] = c.v1;
271
271
  }), m.items = JSON.stringify(n);
272
272
  const { result: s } = await ae(m);
273
- s && C("ok");
273
+ s && w("ok");
274
274
  };
275
- return z(() => {
275
+ return W(() => {
276
276
  O();
277
277
  }), (n, s) => {
278
- const c = q, I = me, A = pe, t = Z, g = G, o = Q, N = X;
278
+ const c = q, I = me, E = pe, t = G, g = Q, o = X, N = Z;
279
279
  return a(), D("div", Ue, [
280
280
  y(N, { spinning: i.value }, {
281
281
  default: r(() => [
@@ -286,7 +286,7 @@ const Le = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
286
286
  ref: u
287
287
  }, {
288
288
  default: r(() => [
289
- (a(!0), D(B, null, J(_.value, (e, P) => (a(), v(t, K({
289
+ (a(!0), D(z, null, B(_.value, (e, P) => (a(), v(t, K({
290
290
  key: P,
291
291
  label: n.$t("dct.SYS" + e.code),
292
292
  ref_for: !0
@@ -295,7 +295,7 @@ const Le = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
295
295
  e.v2 instanceof Object ? h("v-if", !0) : (a(), v(c, {
296
296
  key: 0,
297
297
  value: e.v1,
298
- "onUpdate:value": (w) => e.v1 = w
298
+ "onUpdate:value": (C) => e.v1 = C
299
299
  }, null, 8, ["value", "onUpdate:value"])),
300
300
  e.v2 instanceof Object && e.v2.field && e.v2.field == "0" ? (a(), v(c, {
301
301
  key: 1,
@@ -304,7 +304,7 @@ const Le = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
304
304
  ),
305
305
  maxLength: e.v2.length ? e.v2.length : 100,
306
306
  value: e.v1,
307
- "onUpdate:value": (w) => e.v1 = w
307
+ "onUpdate:value": (C) => e.v1 = C
308
308
  }, null, 8, ["style", "maxLength", "value", "onUpdate:value"])) : h("v-if", !0),
309
309
  e.v2 instanceof Object && e.v2.field && e.v2.field == "1" ? (a(), v(I, {
310
310
  key: 2,
@@ -312,12 +312,12 @@ const Le = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
312
312
  e.v2.width ? "width:" + e.v2.width + "px" : "width: 100% "
313
313
  ),
314
314
  value: e.v1,
315
- "onUpdate:value": (w) => e.v1 = w
315
+ "onUpdate:value": (C) => e.v1 = C
316
316
  }, null, 8, ["style", "value", "onUpdate:value"])) : h("v-if", !0),
317
- e.v2 instanceof Object && e.v2.field && e.v2.field == "2" ? (a(), v(A, {
317
+ e.v2 instanceof Object && e.v2.field && e.v2.field == "2" ? (a(), v(E, {
318
318
  key: 3,
319
319
  checked: e.isChecked,
320
- "onUpdate:checked": (w) => e.isChecked = w
320
+ "onUpdate:checked": (C) => e.isChecked = C
321
321
  }, null, 8, ["checked", "onUpdate:checked"])) : h("v-if", !0)
322
322
  ]),
323
323
  _: 2
@@ -343,17 +343,17 @@ const Le = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
343
343
  };
344
344
  }
345
345
  });
346
- const Te = /* @__PURE__ */ E(xe, [["__scopeId", "data-v-7829cd8b"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/Standard.vue"]]), Ee = /* @__PURE__ */ T({
346
+ const Te = /* @__PURE__ */ A(xe, [["__scopeId", "data-v-7829cd8b"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/Standard.vue"]]), Ae = /* @__PURE__ */ T({
347
347
  name: "Function4",
348
348
  __name: "index",
349
349
  setup(f) {
350
- const { t: $ } = ee(), C = p({}), b = p(), u = p("WebClient"), i = {
350
+ const { t: $ } = ee(), w = p({}), b = p(), u = p("WebClient"), i = {
351
351
  WebClient: Le,
352
352
  Standard: Te
353
353
  }, m = re(() => i[u.value]), l = (d) => {
354
- d.v3 ? u.value = d.v3 : u.value = "Standard", C.value = d;
354
+ d.v3 ? u.value = d.v3 : u.value = "Standard", w.value = d;
355
355
  }, _ = () => {
356
- W.success($("param.tips3"));
356
+ J.success($("param.tips3"));
357
357
  };
358
358
  return (d, O) => {
359
359
  const k = ie, n = ve, s = fe;
@@ -385,7 +385,7 @@ const Te = /* @__PURE__ */ E(xe, [["__scopeId", "data-v-7829cd8b"], ["__file", "
385
385
  (a(), v(V(m.value), {
386
386
  key: 0,
387
387
  onOk: _,
388
- record: C.value,
388
+ record: w.value,
389
389
  ref_key: "compRef",
390
390
  ref: b
391
391
  }, null, 40, ["record"]))
@@ -399,7 +399,7 @@ const Te = /* @__PURE__ */ E(xe, [["__scopeId", "data-v-7829cd8b"], ["__file", "
399
399
  };
400
400
  }
401
401
  });
402
- const We = /* @__PURE__ */ E(Ee, [["__scopeId", "data-v-2b42dd95"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/index.vue"]]);
402
+ const Je = /* @__PURE__ */ A(Ae, [["__scopeId", "data-v-2b42dd95"], ["__file", "D:/inhe-code/witlink-platform-usercenter-web/witlink-platform-usercenter/src/views/sys/parameter/index.vue"]]);
403
403
  export {
404
- We as default
404
+ Je as default
405
405
  };
@@ -1,14 +1,14 @@
1
- import { bj as a, bk as o, bl as b, bm as n, bm as r, bo as g, bn as t, bf as m, bh as y, bi as S, bg as h } from "./index.c8cccc3e.mjs";
1
+ import { aO as e, aP as o, aQ as n, aR as r, aS as g, aU as t, aT as S, aK as y, aM as T, aN as U, aL as c } from "./index.b6b4bc5e.mjs";
2
2
  export {
3
- a as SysFunctions,
3
+ e as SysFunctions,
4
4
  o as SysOrgan,
5
- b as SysRole,
6
- n as SysUser,
7
- r as SysUserInfo,
8
- g as UserCenter,
9
- t as changeLanguage,
10
- m as changeTheme,
11
- y as removeToken,
12
- S as setLogoutToUrl,
13
- h as setToken
5
+ n as SysRole,
6
+ r as SysUser,
7
+ g as SysUserInfo,
8
+ t as UserCenter,
9
+ S as changeLanguage,
10
+ y as changeTheme,
11
+ T as removeToken,
12
+ U as setLogoutToUrl,
13
+ c as setToken
14
14
  };