@witlink/usercenter 1.2.6 → 1.2.8

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,24 +1,24 @@
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 z, 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 H, mergeProps as K, normalizeStyle as x, computed as re } from "vue";
2
- import { y as M, aA as le, L as _e, N as ue, _ as A, o as q, aB as de, p as G, F as Q, B as X, S as Z, aC as pe, Y as ie, H as ve, K as fe } from "./index.f2d73da3.mjs";
3
- import { message as J } from "ant-design-vue";
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.23986a52.mjs";
3
+ import { message as W } from "ant-design-vue";
4
4
  import { useI18n as ee } from "vue-i18n";
5
- import { _ as me } from "./index.7381010f.mjs";
5
+ import { _ as me } from "./index.20b150ee.mjs";
6
6
  import './assets/index.857022a9.css';function ye(f) {
7
- return M({
7
+ return H({
8
8
  url: "/api/sys/parameter/search-type",
9
9
  method: "get",
10
10
  params: f
11
11
  });
12
12
  }
13
13
  function te(f) {
14
- return M({
14
+ return H({
15
15
  url: "/api/sys/parameter/search-type-detail",
16
16
  method: "get",
17
17
  params: f
18
18
  });
19
19
  }
20
20
  function ae(f) {
21
- return M({
21
+ return H({
22
22
  url: "/api/sys/parameter/update",
23
23
  method: "post",
24
24
  headers: {
@@ -37,7 +37,7 @@ const he = ["onClick"], be = { class: "title1" }, ke = /* @__PURE__ */ T({
37
37
  const { result: l } = await ye({});
38
38
  b.value = l, l.length > 0 && i(l[0], 0);
39
39
  };
40
- return W(() => {
40
+ return z(() => {
41
41
  m();
42
42
  }), (l, _) => {
43
43
  const d = _e, O = ue;
@@ -57,7 +57,7 @@ const he = ["onClick"], be = { class: "title1" }, ke = /* @__PURE__ */ T({
57
57
  default: r(() => [
58
58
  S("div", {
59
59
  onClick: (s) => i(k, n),
60
- class: z(u.value == n ? "active" : "")
60
+ class: M(u.value == n ? "active" : "")
61
61
  }, [
62
62
  S("span", be, [
63
63
  (a(), v(V(se(le)[k.v1]))),
@@ -76,7 +76,7 @@ const he = ["onClick"], be = { class: "title1" }, ke = /* @__PURE__ */ T({
76
76
  };
77
77
  }
78
78
  });
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"]]), Ce = { class: "web-client" }, we = ["src"], Se = {
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 = {
80
80
  key: 2,
81
81
  class: "color-choose"
82
82
  }, De = { class: "color" }, $e = ["onClick"], Oe = { class: "tips" }, Ie = "/", Ne = /* @__PURE__ */ T({
@@ -129,7 +129,7 @@ const ge = /* @__PURE__ */ A(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) : (J.error(C("param.tips2")), !1) : (J.error(C("param.tips1")), !1), I = async () => {
132
+ }), !1) : (W.error(C("param.tips2")), !1) : (W.error(C("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__ */ A(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
- }, E = (t) => {
140
+ }, A = (t) => {
141
141
  i.value = t;
142
142
  };
143
143
  return ce(
@@ -145,10 +145,10 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
145
145
  () => {
146
146
  n();
147
147
  }
148
- ), W(() => {
148
+ ), z(() => {
149
149
  n();
150
150
  }), (t, g) => {
151
- const o = q, N = de, e = G, P = Q, w = X, ne = Z;
151
+ const o = q, N = de, e = Z, P = G, w = Q, ne = X;
152
152
  return a(), D("div", Ce, [
153
153
  y(ne, { spinning: m.value }, {
154
154
  default: r(() => [
@@ -157,7 +157,7 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
157
157
  ref: "formRef"
158
158
  }, {
159
159
  default: r(() => [
160
- (a(!0), D(B, null, H(d.value, (L, oe) => (a(), v(e, K({
160
+ (a(!0), D(B, null, J(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
@@ -193,14 +193,14 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
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, H(l, (R, j) => S("div", {
196
+ (a(), D(B, null, J(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: (Ee) => E(j),
203
- class: z(i.value == j ? "active" : "")
202
+ onClick: (Ae) => A(j),
203
+ class: M(i.value == j ? "active" : "")
204
204
  }, null, 14, $e)
205
205
  ])), 64))
206
206
  ]),
@@ -230,7 +230,7 @@ const ge = /* @__PURE__ */ A(ke, [["__scopeId", "data-v-a72d57cc"], ["__file", "
230
230
  };
231
231
  }
232
232
  });
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({
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({
234
234
  name: "Standard",
235
235
  __name: "Standard",
236
236
  props: {
@@ -272,10 +272,10 @@ const Le = /* @__PURE__ */ A(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
272
272
  const { result: s } = await ae(m);
273
273
  s && C("ok");
274
274
  };
275
- return W(() => {
275
+ return z(() => {
276
276
  O();
277
277
  }), (n, s) => {
278
- const c = q, I = me, E = pe, t = G, g = Q, o = X, N = Z;
278
+ const c = q, I = me, A = pe, t = Z, g = G, o = Q, N = X;
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__ */ A(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
286
286
  ref: u
287
287
  }, {
288
288
  default: r(() => [
289
- (a(!0), D(B, null, H(_.value, (e, P) => (a(), v(t, K({
289
+ (a(!0), D(B, null, J(_.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
@@ -314,7 +314,7 @@ const Le = /* @__PURE__ */ A(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
314
314
  value: e.v1,
315
315
  "onUpdate:value": (w) => e.v1 = w
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(E, {
317
+ e.v2 instanceof Object && e.v2.field && e.v2.field == "2" ? (a(), v(A, {
318
318
  key: 3,
319
319
  checked: e.isChecked,
320
320
  "onUpdate:checked": (w) => e.isChecked = w
@@ -343,7 +343,7 @@ const Le = /* @__PURE__ */ A(Ne, [["__scopeId", "data-v-7c2314b0"], ["__file", "
343
343
  };
344
344
  }
345
345
  });
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({
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({
347
347
  name: "Function4",
348
348
  __name: "index",
349
349
  setup(f) {
@@ -353,7 +353,7 @@ const Te = /* @__PURE__ */ A(xe, [["__scopeId", "data-v-7829cd8b"], ["__file", "
353
353
  }, m = re(() => i[u.value]), l = (d) => {
354
354
  d.v3 ? u.value = d.v3 : u.value = "Standard", C.value = d;
355
355
  }, _ = () => {
356
- J.success($("param.tips3"));
356
+ W.success($("param.tips3"));
357
357
  };
358
358
  return (d, O) => {
359
359
  const k = ie, n = ve, s = fe;
@@ -399,7 +399,7 @@ const Te = /* @__PURE__ */ A(xe, [["__scopeId", "data-v-7829cd8b"], ["__file", "
399
399
  };
400
400
  }
401
401
  });
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"]]);
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"]]);
403
403
  export {
404
- Je as default
404
+ We as default
405
405
  };
@@ -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.f2d73da3.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.23986a52.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.f2d73da3.mjs";
2
+ import { _ as n } from "./index.23986a52.mjs";
3
3
  const t = {};
4
4
  function o(c, i) {
5
5
  return e(), r("div", null, "dashboard");
@@ -1,9 +1,9 @@
1
- import { bi as a, bj as b, bk as n, bl as o, bn as r, bm as g, be as t, bg as h, bh as m, bf as y } from "./index.f2d73da3.mjs";
1
+ import { bj as a, bk as o, bl as b, bm as n, bo as r, bn as g, bf as t, bh as h, bi as m, bg as y } from "./index.23986a52.mjs";
2
2
  export {
3
3
  a as SysFunctions,
4
- b as SysOrgan,
5
- n as SysRole,
6
- o as SysUser,
4
+ o as SysOrgan,
5
+ b as SysRole,
6
+ n as SysUser,
7
7
  r as UserCenter,
8
8
  g as changeLanguage,
9
9
  t as changeTheme,