halo-pc 1.0.38 → 1.0.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. package/dist/{Article-H_clf90b.js → Article-DZlstqWL.js} +32 -31
  2. package/dist/{ArticleFooter-BLi4TNA7.js → ArticleFooter-BkduiKh8.js} +4 -3
  3. package/dist/{Autocomplete-CcIzTPSr.js → Autocomplete-0Yf6lJQ7.js} +12 -11
  4. package/dist/{Autocomplete-DMm6oI1g.js → Autocomplete-DMKnFezN.js} +1 -1
  5. package/dist/Autocomplete-bc-9LfGa.js +50 -0
  6. package/dist/{CSharp-CZOchOE-.js → CSharp-q8eOBm4y.js} +1 -1
  7. package/dist/{Calender-BoQV7bhA.js → Calender-CseGNCuW.js} +4 -4
  8. package/dist/Callback-D_dFJlfv.js +21 -0
  9. package/dist/{Cascader-DMhl98vw.js → Cascader-BG5ev35M.js} +28 -27
  10. package/dist/Cascader-Dzeoz7ss.js +47 -0
  11. package/dist/{Checkbox-C6t6S7ii.js → Checkbox-CsCA6iQb.js} +1 -1
  12. package/dist/{Checkbox-DtrXMDBR.js → Checkbox-dw8RNAGt.js} +14 -13
  13. package/dist/{Code-DDacfgvl.js → Code-BE8YLGaE.js} +1 -1
  14. package/dist/Code-BRe68AIa.js +42 -0
  15. package/dist/Code-C5QfTMNw.js +60 -0
  16. package/dist/Code-_XoN6vQE.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js +63 -0
  18. package/dist/Column-C-NHhT2v.js +75 -0
  19. package/dist/{Comment-Ixu0gPk3.js → Comment-kTmfTlbF.js} +25 -19
  20. package/dist/{Compare-C1uq4lgK.js → Compare-DVWaiCUC.js} +10 -9
  21. package/dist/{Compare-NN40QJWm.js → Compare-DlyQBCat.js} +11 -10
  22. package/dist/{Copy-BcfSvyWG.js → Copy-DQFJy3uX.js} +12 -11
  23. package/dist/{Custom-Dn9_vPuD.js → Custom-D5HoD0nQ.js} +22 -21
  24. package/dist/{DataExport-DNGgWqsx.js → DataExport-Um1wXyRe.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js → DataExport.vue_vue_type_script_setup_true_lang-2YoqwEmA.js} +25 -24
  26. package/dist/{DataImport-CI9eM5T1.js → DataImport-CPMLup4P.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js → DataImport.vue_vue_type_script_setup_true_lang-DsCp0vWo.js} +40 -39
  28. package/dist/{Date-CZGbZKjB.js → Date-BhZ8ltgp.js} +9 -8
  29. package/dist/{Date-CGyzi8yX.js → Date-Cj9lCW_Y.js} +1 -1
  30. package/dist/{DateRange-MbbkmZ_Y.js → DateRange-Bw_Oyawz.js} +10 -9
  31. package/dist/{DateTime-DqUOXGWH.js → DateTime-BU6JaBPk.js} +9 -8
  32. package/dist/{DateTime-DHrHmRLL.js → DateTime-Cv-SRE88.js} +1 -1
  33. package/dist/{DateTimeRange-DgXQkZLx.js → DateTimeRange-B4Ah6LQY.js} +12 -11
  34. package/dist/{Daterange-DLHJuRur.js → Daterange-CSZe4XGO.js} +9 -8
  35. package/dist/{Decimal-BUJuuvfr.js → Decimal-DSDuwW9Z.js} +1 -1
  36. package/dist/{Delete-BGMk0orl.js → Delete-CjPgg-5G.js} +20 -19
  37. package/dist/{Detail-D4KzWdHQ.js → Detail-gj--ICe8.js} +8 -7
  38. package/dist/{Dictionary-Esd3ERAq.js → Dictionary-Ck_02mWa.js} +15 -9
  39. package/dist/{Email-C9K09hwC.js → Email-BSQbDvh1.js} +12 -11
  40. package/dist/{File-ai1eYO7v.js → File-FW4usX43.js} +44 -43
  41. package/dist/{Image-CfY4G1Yn.js → Image-DiAw_6jM.js} +1 -1
  42. package/dist/Index-B_5hshjJ.js +4 -0
  43. package/dist/{Index-DYHrSEZ5.js → Index-BibWDRoP.js} +1 -1
  44. package/dist/Index-BtlD6ocN.js +4 -0
  45. package/dist/Index-C3f38zw0.js +4 -0
  46. package/dist/Index-CB_TnEaw.js +4 -0
  47. package/dist/{Index-B5o7uf36.js → Index-Dq5Vp-ts.js} +16 -15
  48. package/dist/{Index-S1btGSGD.js → Index-MUgqP8jJ.js} +1 -1
  49. package/dist/Index-hgTZyQps.js +174 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js → Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js} +20 -14
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js → Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js} +7 -6
  52. package/dist/{Install-D-MgafyF.js → Install-Cpp3BDCS.js} +14 -13
  53. package/dist/{Int-CnvfCxgn.js → Int-Ck1SvK7R.js} +10 -9
  54. package/dist/{Int-D3RqVcmN.js → Int-DcQsipaO.js} +14 -13
  55. package/dist/{List-DA4SO_le.js → List-hWB41wF_.js} +19 -18
  56. package/dist/Maintaince-l-Tdveur.js +20 -0
  57. package/dist/{Markdown-hax8By5O.js → Markdown-BEUz4VZ7.js} +1 -1
  58. package/dist/{Month-BDkwv-vc.js → Month-DJGGGrZr.js} +12 -11
  59. package/dist/Month-DkafiRHq.js +38 -0
  60. package/dist/{Month-CnVTSnyK.js → Month-DmUiyF1G.js} +1 -1
  61. package/dist/{Normal-DoE9t7d7.js → Normal-ACcTHsXb.js} +53 -52
  62. package/dist/Paging-Vfz2RDBo.js +93 -0
  63. package/dist/{PagingHeader-BFtE6jSy.js → PagingHeader-DDkmqv98.js} +36 -35
  64. package/dist/{PagingRow-CSB-kwMz.js → PagingRow-B4Nfa2Vk.js} +20 -19
  65. package/dist/{Racebar-Bc-dDRss.js → Racebar-LfnPLNOY.js} +31 -25
  66. package/dist/{Radio-CMGOtMnx.js → Radio-DcEZI4m7.js} +1 -1
  67. package/dist/{Register-8wi0uixs.js → Register-B4x_zgyH.js} +61 -60
  68. package/dist/RichText-B1Iogpgr.js +47 -0
  69. package/dist/{SearchFooter-DOC21dmS.js → SearchFooter-CmM8qnxP.js} +1 -1
  70. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js → SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.js} +3 -3
  71. package/dist/{SearchForm-BMTSPce_.js → SearchForm-DU5QLTbe.js} +1 -1
  72. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js → SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js} +32 -31
  73. package/dist/{Select-DAxdpZlO.js → Select-C3gUeHmu.js} +16 -15
  74. package/dist/{Select-MBD4Simw.js → Select-CMxubJIV.js} +1 -1
  75. package/dist/{Select-DnFyey0n.js → Select-DrDDVJtz.js} +22 -21
  76. package/dist/{Single-D6x6VV_B.js → Single-De-YyuVk.js} +75 -74
  77. package/dist/{Statistic-BS_DA72m.js → Statistic-SvjQ7uGI.js} +30 -29
  78. package/dist/{Stock-CtmevqBK.js → Stock-C2b9p3-N.js} +1 -1
  79. package/dist/{Stock-CbucObTu.js → Stock-XZkBSQw1.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js → Stock.vue_vue_type_style_index_0_lang-DwxyyM7p.js} +18 -17
  81. package/dist/{Switch-BlXAy9qH.js → Switch-PJT-5dDt.js} +1 -1
  82. package/dist/{Table-Da9gan1Y.js → Table-CkoZ8OjZ.js} +62 -61
  83. package/dist/{Table-CqsfAMh7.js → Table-Dy1H2IHN.js} +74 -73
  84. package/dist/Text-Bt5jL_KV.js +49 -0
  85. package/dist/{Text-CbZlEVTJ.js → Text-CytgR_l_.js} +12 -11
  86. package/dist/Text-vHouxGHU.js +4 -0
  87. package/dist/Text.vue_vue_type_style_index_0_lang-CgxtY5ch.js +59 -0
  88. package/dist/{TextLink-SAnZ7BfX.js → TextLink-DINdFWzs.js} +11 -10
  89. package/dist/{Textarea-DphCUpXp.js → Textarea-DakZXfN6.js} +1 -1
  90. package/dist/{Time-DjE8yYdK.js → Time-Bn1Av2wo.js} +11 -10
  91. package/dist/{Timeline-D11vjkpZ.js → Timeline-B32cUvwI.js} +19 -13
  92. package/dist/{Tree-kich05vY.js → Tree-BGfHm4k_.js} +80 -79
  93. package/dist/{Tree-DK73Ou_F.js → Tree-BItAXuSC.js} +41 -35
  94. package/dist/{TreeNode-Dx6cZ31Z.js → TreeNode-DmiM_a2n.js} +11 -10
  95. package/dist/{Update-D2Plm_AG.js → Update-DSTmaeT8.js} +15 -14
  96. package/dist/{UpdateChild-BXV7QqaP.js → UpdateChild-BgBJJwT3.js} +21 -20
  97. package/dist/{Upload-B87EDynn.js → Upload-DMqlcxCt.js} +47 -46
  98. package/dist/Upload-DpQu3z1T.js +71 -0
  99. package/dist/{Year-C93IJgc8.js → Year-Cv92J5pF.js} +9 -8
  100. package/dist/{Year-BPFmIiPX.js → Year-DckBNPK_.js} +1 -1
  101. package/dist/assets/{clipboard-ClN4QccS.js → clipboard-DjQPoCBJ.js} +3 -1
  102. package/dist/assets/clone-BZn0cTAu.js +134 -0
  103. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  104. package/dist/assets/liquidjs-C2HVw1Ra.js +2901 -0
  105. package/dist/assets/moment-h96o7c8I.js +2578 -0
  106. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  107. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  108. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  109. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  110. package/dist/main-KNkwb0pq.js +10515 -0
  111. package/dist/main.js +46 -45
  112. package/dist/style.css +1 -1
  113. package/package.json +2 -2
  114. package/dist/Autocomplete-BF9x0F4f.js +0 -49
  115. package/dist/Callback-79Bw4RwY.js +0 -20
  116. package/dist/Cascader-D1Ou5OSg.js +0 -41
  117. package/dist/Code-B8ISTTYK.js +0 -54
  118. package/dist/Code-BMlBvnqa.js +0 -4
  119. package/dist/Code-DIGn8Raz.js +0 -36
  120. package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +0 -57
  121. package/dist/Column-DjA11efs.js +0 -69
  122. package/dist/Index-CH3nwnPZ.js +0 -4
  123. package/dist/Index-CTjDkp7e.js +0 -4
  124. package/dist/Index-DSZ8wa7U.js +0 -4
  125. package/dist/Index-DVdiF3gr.js +0 -4
  126. package/dist/Index-DsZPtDYE.js +0 -173
  127. package/dist/Maintaince-BIgEbjrq.js +0 -14
  128. package/dist/Month-5lTUiWin.js +0 -37
  129. package/dist/Paging-5qsCTRWy.js +0 -92
  130. package/dist/RichText-BR4Kvx0J.js +0 -41
  131. package/dist/Text-C72NLZMt.js +0 -48
  132. package/dist/Text-CHvsKR9H.js +0 -4
  133. package/dist/Text.vue_vue_type_style_index_0_lang-aMaBccpg.js +0 -53
  134. package/dist/Upload-CHPjMGFZ.js +0 -65
  135. package/dist/main-nvsTmKXH.js +0 -16321
@@ -1,6 +1,7 @@
1
- import { defineComponent as f, toRefs as V, computed as _, resolveComponent as b, openBlock as h, createBlock as x, unref as e, withKeys as y, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as C } from "vue";
2
- import { h as K } from "./main-nvsTmKXH.js";
3
- const D = /* @__PURE__ */ f({
1
+ import { defineComponent as f, toRefs as _, computed as V, resolveComponent as b, openBlock as h, createBlock as y, unref as e, withKeys as x, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as C } from "vue";
2
+ import { l as K } from "./main-KNkwb0pq.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const E = /* @__PURE__ */ f({
4
5
  __name: "Email",
5
6
  props: {
6
7
  schema: {},
@@ -11,12 +12,12 @@ const D = /* @__PURE__ */ f({
11
12
  modelValue: {}
12
13
  },
13
14
  emits: ["submit", "change", "update:modelValue"],
14
- setup(i, { emit: s }) {
15
- let o = s, u = i, { table: d, field: t, set: B, modelValue: p } = V(u), r = () => {
15
+ setup(i, { emit: d }) {
16
+ let o = d, p = i, { table: r, field: t, set: B, modelValue: u } = _(p), s = () => {
16
17
  o("submit");
17
- }, l = _({
18
+ }, l = V({
18
19
  get() {
19
- return p.value;
20
+ return u.value;
20
21
  },
21
22
  set(a) {
22
23
  o("update:modelValue", a), o("change", a);
@@ -24,11 +25,11 @@ const D = /* @__PURE__ */ f({
24
25
  });
25
26
  return (a, n) => {
26
27
  const c = b("el-input");
27
- return h(), x(c, {
28
+ return h(), y(c, {
28
29
  type: "email",
29
30
  disabled: e(t).control.readonly,
30
- placeholder: e(K)(e(d).name, e(t).name),
31
- onKeyup: y(e(r), ["enter", "native"]),
31
+ placeholder: e(K)(e(r).name, e(t).name),
32
+ onKeyup: x(e(s), ["enter", "native"]),
32
33
  modelValue: e(l),
33
34
  "onUpdate:modelValue": n[0] || (n[0] = (m) => g(l) ? l.value = m : l = m)
34
35
  }, k({ _: 2 }, [
@@ -44,5 +45,5 @@ const D = /* @__PURE__ */ f({
44
45
  }
45
46
  });
46
47
  export {
47
- D as default
48
+ E as default
48
49
  };
@@ -1,16 +1,17 @@
1
- import { defineComponent as P, toRefs as T, ref as Z, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as s, normalizeClass as x, Fragment as L, renderList as q, createBlock as y, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
2
- import { useRoute as A, useRouter as G } from "vue-router";
3
- import { v as H, S as I, Z as m, f as J, _ as K, g as M } from "./main-nvsTmKXH.js";
1
+ import { defineComponent as P, toRefs as T, ref as A, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as n, normalizeClass as x, Fragment as L, renderList as q, createBlock as y, toDisplayString as d, createTextVNode as w, createCommentVNode as F } from "vue";
2
+ import { useRoute as G, useRouter as H } from "vue-router";
3
+ import { F as I, c as J, C as m, t as K, h as M, e as O } from "./main-KNkwb0pq.js";
4
+ import "./assets/moment-h96o7c8I.js";
4
5
  import "element-plus";
5
6
  import "./assets/intro.js-Cg1adLK7.js";
6
- import { _ as O } from "./SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js";
7
- const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
7
+ import { _ as Q } from "./SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js";
8
+ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = {
8
9
  key: 0,
9
10
  class: "files-image"
10
- }, X = { class: "file-image" }, Y = ["src"], ee = { class: "file-title" }, te = { class: "file-name" }, ae = ["src", "alt"], oe = { class: "file-title" }, le = {
11
+ }, Y = { class: "file-image" }, Z = ["src"], ee = { class: "file-title" }, te = { class: "file-name" }, ae = ["src", "alt"], oe = { class: "file-title" }, le = {
11
12
  key: 2,
12
13
  class: "not-support"
13
- }, pe = /* @__PURE__ */ P({
14
+ }, de = /* @__PURE__ */ P({
14
15
  __name: "File",
15
16
  props: {
16
17
  searchData: {},
@@ -21,58 +22,58 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
21
22
  next: {},
22
23
  set: {}
23
24
  },
24
- setup(z) {
25
- let F = z, { schema: N, table: n, layout: i, next: d, set: b, searchData: se } = T(F), f = A(), v = G(), k = Z(), C = (o) => {
25
+ setup(S) {
26
+ let z = S, { schema: N, table: s, layout: i, next: _, set: b, searchData: ne } = T(z), f = G(), v = H(), k = A(), C = (o) => {
26
27
  let t = { type: "fileLayout", value: o };
27
- K.post("/config/save", t).then((h) => {
28
+ M.post("/config/save", t).then((h) => {
28
29
  m.fileLayout = o;
29
30
  });
30
31
  }, V = (o) => {
31
32
  let t = { ...f.query };
32
- t.page = o, v.push({ path: d.value.paging.route, query: t });
33
+ t.page = o, v.push({ path: _.value.paging.route, query: t });
33
34
  }, B = () => {
34
35
  let o = { ...f.query };
35
- o.page = "1", o.condition = M.encode(k.value);
36
- let t = { path: d.value.paging.route, query: o };
36
+ o.page = "1", o.condition = O.encode(k.value);
37
+ let t = { path: _.value.paging.route, query: o };
37
38
  v.push(t);
38
39
  };
39
40
  return (o, t) => {
40
41
  const h = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), j = p("el-pagination");
41
- return l(), u("div", Q, [
42
- g(e(H), {
43
- title: e(I)(o.module.type, o.module.name)
42
+ return l(), u("div", U, [
43
+ g(e(I), {
44
+ title: e(J)(o.module.type, o.module.name)
44
45
  }, {
45
46
  operation: r(() => [
46
- s("div", U, [
47
- s("a", {
47
+ n("div", W, [
48
+ n("a", {
48
49
  class: x({ active: e(m).fileLayout == "list" }),
49
50
  onClick: t[0] || (t[0] = (a) => e(C)("list"))
50
51
  }, t[2] || (t[2] = [
51
- s("i", { class: "fa fa-list" }, null, -1)
52
+ n("i", { class: "fa fa-list" }, null, -1)
52
53
  ]), 2),
53
- s("a", {
54
+ n("a", {
54
55
  class: x({ active: e(m).fileLayout == "image" }),
55
56
  onClick: t[1] || (t[1] = (a) => e(C)("image"))
56
57
  }, t[3] || (t[3] = [
57
- s("i", { class: "fa fa-image" }, null, -1)
58
+ n("i", { class: "fa fa-image" }, null, -1)
58
59
  ]), 2)
59
60
  ])
60
61
  ]),
61
62
  append: r(() => [
62
- e(m).fileLayout == "image" ? (l(), u("div", W, [
63
- (l(!0), u(L, null, q(e(b)[e(n).name], (a, $) => (l(), y(h, {
63
+ e(m).fileLayout == "image" ? (l(), u("div", X, [
64
+ (l(!0), u(L, null, q(e(b)[e(s).name], (a, $) => (l(), y(h, {
64
65
  class: "file",
65
- to: { path: e(d).detail.route, query: { id: a[e(n).key.name], m: e(f).query.m } },
66
+ to: { path: e(_).detail.route, query: { id: a[e(s).key.name], m: e(f).query.m } },
66
67
  key: $
67
68
  }, {
68
69
  default: r(() => [
69
- s("div", X, [
70
- s("img", {
70
+ n("div", Y, [
71
+ n("img", {
71
72
  src: a[e(i).url],
72
73
  alt: ""
73
- }, null, 8, Y)
74
+ }, null, 8, Z)
74
75
  ]),
75
- s("div", ee, _(a[e(i).name]), 1)
76
+ n("div", ee, d(a[e(i).name]), 1)
76
77
  ]),
77
78
  _: 2
78
79
  }, 1032, ["to"]))), 128))
@@ -80,46 +81,46 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
80
81
  key: 1,
81
82
  class: "files-list",
82
83
  border: "",
83
- data: e(b)[e(n).name]
84
+ data: e(b)[e(s).name]
84
85
  }, {
85
86
  empty: r(() => [
86
- w(_(e(J)("common.no_data")), 1)
87
+ w(d(e(K)("common.no_data")), 1)
87
88
  ]),
88
89
  default: r(() => [
89
- (l(!0), u(L, null, q(e(n).show, (a, $) => (l(), y(D, {
90
+ (l(!0), u(L, null, q(e(s).show, (a, $) => (l(), y(D, {
90
91
  "show-overflow-tooltip": "",
91
- sortable: e(n) ? "custom" : !1,
92
+ sortable: e(s) ? "custom" : !1,
92
93
  "min-width": "180",
93
94
  "sort-orders": ["descending", "ascending"],
94
95
  prop: a.name,
95
96
  label: `${a.label}${a.prefix || a.suffix ? "(" + (a.prefix || a.suffix) + ")" : ""}`,
96
- key: `${e(n).name}.${a.name}`
97
+ key: `${e(s).name}.${a.name}`
97
98
  }, {
98
99
  default: r((c) => [
99
- s("div", te, [
100
+ n("div", te, [
100
101
  c.column.property == e(i).name ? (l(), u("img", {
101
102
  key: 0,
102
103
  class: "file-image",
103
104
  src: c.row[e(i).url],
104
105
  alt: c.row[e(i).name]
105
- }, null, 8, ae)) : S("", !0),
106
- s("div", oe, _(c.row[c.column.property]), 1)
106
+ }, null, 8, ae)) : F("", !0),
107
+ n("div", oe, d(c.row[c.column.property]), 1)
107
108
  ])
108
109
  ]),
109
110
  _: 2
110
111
  }, 1032, ["sortable", "prop", "label"]))), 128))
111
112
  ]),
112
113
  _: 1
113
- }, 8, ["data"])) : (l(), u("div", le, "未支持的文件布局:" + _(e(m).fileLayout), 1))
114
+ }, 8, ["data"])) : (l(), u("div", le, "未支持的文件布局:" + d(e(m).fileLayout), 1))
114
115
  ]),
115
116
  default: r(() => [
116
- e(n).search.length > 0 ? (l(), y(O, {
117
+ e(s).search.length > 0 ? (l(), y(Q, {
117
118
  key: 0,
118
119
  schema: e(N),
119
- table: e(n),
120
+ table: e(s),
120
121
  search: e(k),
121
122
  onSubmit: e(B)
122
- }, null, 8, ["schema", "table", "search", "onSubmit"])) : S("", !0)
123
+ }, null, 8, ["schema", "table", "search", "onSubmit"])) : F("", !0)
123
124
  ]),
124
125
  _: 1
125
126
  }, 8, ["title"]),
@@ -129,10 +130,10 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
129
130
  }, {
130
131
  default: r(() => [
131
132
  g(h, {
132
- to: { path: e(d).insert.route, query: { m: e(f).query.m } }
133
+ to: { path: e(_).insert.route, query: { m: e(f).query.m } }
133
134
  }, {
134
135
  default: r(() => [
135
- w("添加新" + _(e(n).title), 1)
136
+ w("添加新" + d(e(s).title), 1)
136
137
  ]),
137
138
  _: 1
138
139
  }, 8, ["to"])
@@ -152,5 +153,5 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
152
153
  }
153
154
  });
154
155
  export {
155
- pe as default
156
+ de as default
156
157
  };
@@ -1,4 +1,4 @@
1
- import { l as e } from "./main-nvsTmKXH.js";
1
+ import { q as e } from "./main-KNkwb0pq.js";
2
2
  const r = {};
3
3
  function c(n, t) {
4
4
  return null;
@@ -0,0 +1,4 @@
1
+ import { b as f } from "./main-KNkwb0pq.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,4 @@
1
+ import { k as f } from "./main-KNkwb0pq.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { D as f } from "./main-KNkwb0pq.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { Q as f } from "./main-KNkwb0pq.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,6 +1,7 @@
1
- import { defineComponent as C, defineAsyncComponent as D, toRefs as N, computed as p, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as y, isRef as b, createElementVNode as w, toDisplayString as h } from "vue";
2
- import { d as B, f as x } from "./main-nvsTmKXH.js";
3
- const A = /* @__PURE__ */ C({
1
+ import { defineComponent as C, defineAsyncComponent as U, toRefs as D, computed as p, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as y, isRef as b, createElementVNode as w, toDisplayString as h } from "vue";
2
+ import { U as N, t as x } from "./main-KNkwb0pq.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const E = /* @__PURE__ */ C({
4
5
  __name: "Index",
5
6
  props: {
6
7
  schema: {},
@@ -11,11 +12,11 @@ const A = /* @__PURE__ */ C({
11
12
  config: {}
12
13
  },
13
14
  emits: ["submit", "change"],
14
- setup(g, { emit: R }) {
15
- let V = D(() => import("./TextLink-SAnZ7BfX.js")), k = g, { schema: u, table: s, field: l, set: d, row: a, config: m } = N(k), i = p(() => {
15
+ setup(g, { emit: B }) {
16
+ let V = U(() => import("./TextLink-DINdFWzs.js")), k = g, { schema: u, table: s, field: l, set: i, row: a, config: m } = D(k), d = p(() => {
16
17
  let o = l.value.control.type;
17
18
  return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
18
- }), _ = p(() => `text-${B.string.getDashName(i.value)}`), t = p({
19
+ }), _ = p(() => `text-${N.string.getDashName(d.value)}`), t = p({
19
20
  get() {
20
21
  return a.value[l.value.name];
21
22
  },
@@ -23,12 +24,12 @@ const A = /* @__PURE__ */ C({
23
24
  a.value[l.value.name] = o;
24
25
  }
25
26
  });
26
- return (o, n) => e(l).link ? (c(), f(e(V), {
27
+ return (o, r) => e(l).link ? (c(), f(e(V), {
27
28
  key: 0,
28
29
  schema: e(u),
29
30
  table: e(s),
30
31
  field: e(l),
31
- set: e(d),
32
+ set: e(i),
32
33
  row: e(a)
33
34
  }, {
34
35
  default: v(() => [
@@ -36,13 +37,13 @@ const A = /* @__PURE__ */ C({
36
37
  schema: e(u),
37
38
  table: e(s),
38
39
  field: e(l),
39
- set: e(d),
40
+ set: e(i),
40
41
  row: e(a),
41
42
  modelValue: e(t),
42
- "onUpdate:modelValue": n[0] || (n[0] = (r) => b(t) ? t.value = r : t = r)
43
+ "onUpdate:modelValue": r[0] || (r[0] = (n) => b(t) ? t.value = n : t = n)
43
44
  }, {
44
45
  default: v(() => [
45
- w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
46
+ w("div", null, h(e(x)("common.unsupported_text_control", e(d))), 1)
46
47
  ]),
47
48
  _: 1
48
49
  }, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
@@ -53,18 +54,18 @@ const A = /* @__PURE__ */ C({
53
54
  schema: e(u),
54
55
  table: e(s),
55
56
  field: e(l),
56
- set: e(d),
57
+ set: e(i),
57
58
  row: e(a),
58
59
  modelValue: e(t),
59
- "onUpdate:modelValue": n[1] || (n[1] = (r) => b(t) ? t.value = r : t = r)
60
+ "onUpdate:modelValue": r[1] || (r[1] = (n) => b(t) ? t.value = n : t = n)
60
61
  }, {
61
62
  default: v(() => [
62
- w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
63
+ w("div", null, h(e(x)("common.unsupported_text_control", e(d))), 1)
63
64
  ]),
64
65
  _: 1
65
66
  }, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
66
67
  }
67
68
  });
68
69
  export {
69
- A as default
70
+ E as default
70
71
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,174 @@
1
+ import { defineComponent as j, ref as u, onMounted as D, computed as P, watch as Q, resolveComponent as p, openBlock as d, createElementBlock as C, createVNode as g, unref as l, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as R, isRef as L, withKeys as T, normalizeClass as Z, withModifiers as G, createTextVNode as $, Fragment as J, renderList as W, nextTick as A } from "vue";
2
+ import { useRoute as X } from "vue-router";
3
+ import { i as Y, z as w, O as ee, t as i, U as F, N as K, r as N, x as te } from "./main-KNkwb0pq.js";
4
+ import "./assets/moment-h96o7c8I.js";
5
+ const le = { class: "login-container" }, oe = { class: "title-container" }, se = { class: "title" }, re = { class: "btn-others" }, ne = ["href"], ae = ["innerHTML"], me = /* @__PURE__ */ j({
6
+ __name: "Index",
7
+ setup(ie) {
8
+ let a = u({ id: "", secret: "" }), f = u("password"), r = u(!1), y = u(!1), V = u(), h = u(), b = u(), x = X(), O = {
9
+ id: [{
10
+ required: !0,
11
+ trigger: "blur",
12
+ validator: (t, e, s) => {
13
+ e ? e.indexOf("@") > -1 ? F.string.isEmail(e) ? s() : s(new Error("邮箱格式不正确")) : s() : s(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
14
+ }
15
+ }]
16
+ // secret: [{required: true, trigger: 'blur', validator: validateSecret}]
17
+ }, M = (t) => {
18
+ t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? r.value = !0 : r.value = !1), t.key == "CapsLock" && r.value == !0 && (r.value = !1);
19
+ }, B = () => {
20
+ f.value == "password" ? f.value = "" : f.value = "password", A(() => {
21
+ b.value.focus();
22
+ });
23
+ }, E = async (t) => {
24
+ y.value = !0, V.value.validate(async (e) => {
25
+ if (!e)
26
+ return y.value = !1, !1;
27
+ (await K.sso.createAsync(t)).login(a.value).then(({ data: c }) => {
28
+ F.url.getBackUrl() ? N.toBackUrl() : N.to("/");
29
+ }).finally(() => {
30
+ A(() => {
31
+ y.value = !1;
32
+ });
33
+ });
34
+ });
35
+ }, q = async (t) => {
36
+ let e = await K.sso.createAsync(t), s = x.query.return_url, c = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${s}`;
37
+ return e.loginUrl(te.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(c));
38
+ }, z = (t) => Object.keys(t).reduce((e, s) => (e[s] = t[s], e), {});
39
+ D(async () => {
40
+ Y.setI18nTitle("common.login");
41
+ for (let t = 0; t < w.ssos.length; t++) {
42
+ let e = w.ssos[t];
43
+ e.loginUrl = await q(e.type);
44
+ }
45
+ _.value != null && (a.value.id == "" ? h.value.focus() : a.value.secret == "" && b.value.focus());
46
+ });
47
+ let _ = P(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
48
+ return Q(() => x, (t) => {
49
+ debugger;
50
+ const e = t.query;
51
+ e && z(e);
52
+ }), (t, e) => {
53
+ const s = p("el-input"), c = p("el-form-item"), U = p("el-tooltip"), I = p("el-button"), S = p("router-link"), H = p("el-form");
54
+ return d(), C("div", le, [
55
+ g(H, {
56
+ ref_key: "loginFormRef",
57
+ ref: V,
58
+ autocomplete: "on",
59
+ "label-position": "left",
60
+ model: l(a),
61
+ rules: l(O)
62
+ }, {
63
+ default: m(() => [
64
+ n("div", oe, [
65
+ n("h3", se, k(l(ee)("title")), 1)
66
+ ]),
67
+ l(_) ? (d(), v(c, {
68
+ key: 0,
69
+ prop: "id"
70
+ }, {
71
+ default: m(() => [
72
+ e[7] || (e[7] = n("span", { class: "svg-container" }, [
73
+ n("i", { class: "fa fa-user" })
74
+ ], -1)),
75
+ g(s, {
76
+ ref_key: "idRef",
77
+ ref: h,
78
+ placeholder: l(i)("common.username_or_email"),
79
+ name: "id",
80
+ type: "text",
81
+ tabindex: "1",
82
+ autocomplete: "on",
83
+ modelValue: l(a).id,
84
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => l(a).id = o)
85
+ }, null, 8, ["placeholder", "modelValue"])
86
+ ]),
87
+ _: 1
88
+ })) : R("", !0),
89
+ l(_) ? (d(), v(U, {
90
+ key: 1,
91
+ content: "Caps lock is On",
92
+ placement: "right",
93
+ manual: "",
94
+ modelValue: l(r),
95
+ "onUpdate:modelValue": e[5] || (e[5] = (o) => L(r) ? r.value = o : r = o)
96
+ }, {
97
+ default: m(() => [
98
+ g(c, { prop: "secret" }, {
99
+ default: m(() => [
100
+ e[8] || (e[8] = n("span", { class: "svg-container" }, [
101
+ n("i", { class: "fa fa-key" })
102
+ ], -1)),
103
+ (d(), v(s, {
104
+ ref_key: "secretRef",
105
+ ref: b,
106
+ key: l(f),
107
+ type: l(f),
108
+ placeholder: l(i)("common.password"),
109
+ name: "secret",
110
+ tabindex: "2",
111
+ autocomplete: "on",
112
+ onKeyup: [
113
+ T(l(M), ["native"]),
114
+ e[2] || (e[2] = T((o) => l(E)("Bearer"), ["enter", "native"]))
115
+ ],
116
+ onBlur: e[1] || (e[1] = (o) => L(r) ? r.value = !1 : r = !1),
117
+ modelValue: l(a).secret,
118
+ "onUpdate:modelValue": e[3] || (e[3] = (o) => l(a).secret = o)
119
+ }, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
120
+ n("span", {
121
+ class: "btn-pwd",
122
+ onClick: e[4] || (e[4] = //@ts-ignore
123
+ (...o) => l(B) && l(B)(...o))
124
+ }, [
125
+ n("i", {
126
+ class: Z(l(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
127
+ }, null, 2)
128
+ ])
129
+ ]),
130
+ _: 1
131
+ })
132
+ ]),
133
+ _: 1
134
+ }, 8, ["modelValue"])) : R("", !0),
135
+ l(_) ? (d(), v(I, {
136
+ key: 2,
137
+ type: "primary",
138
+ class: "btn-login",
139
+ loading: l(y),
140
+ onClick: e[6] || (e[6] = G((o) => l(E)("Bearer"), ["prevent"]))
141
+ }, {
142
+ default: m(() => [
143
+ $(k(l(i)("common.login")), 1)
144
+ ]),
145
+ _: 1
146
+ }, 8, ["loading"])) : R("", !0),
147
+ n("div", re, [
148
+ (d(!0), C(J, null, W(l(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), C("a", {
149
+ href: o.loginUrl
150
+ }, k(l(i)(o.text)), 9, ne))), 256)),
151
+ g(S, {
152
+ class: "btn-register",
153
+ to: "/register"
154
+ }, {
155
+ default: m(() => [
156
+ $(k(l(i)("common.register")), 1)
157
+ ]),
158
+ _: 1
159
+ })
160
+ ])
161
+ ]),
162
+ _: 1
163
+ }, 8, ["model", "rules"]),
164
+ n("div", {
165
+ class: "powered-by",
166
+ innerHTML: l(i)("sys.powered_by")
167
+ }, null, 8, ae)
168
+ ]);
169
+ };
170
+ }
171
+ });
172
+ export {
173
+ me as default
174
+ };
@@ -1,9 +1,15 @@
1
- import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as B, Fragment as H, createVNode as L, unref as e, createBlock as R, resolveDynamicComponent as w, withCtx as A, createElementVNode as E, toDisplayString as P } from "vue";
2
- import { n as V, A as $ } from "./main-nvsTmKXH.js";
1
+ import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as R, Fragment as B, createVNode as H, unref as e, createBlock as L, resolveDynamicComponent as w, withCtx as E, createElementVNode as P, toDisplayString as V } from "vue";
2
+ import { v as $, a as F } from "./main-KNkwb0pq.js";
3
+ import "./assets/liquidjs-C2HVw1Ra.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
3
9
  import "element-plus";
4
10
  import "vue-router";
5
11
  import "./assets/intro.js-Cg1adLK7.js";
6
- const F = { class: "not-support" }, O = /* @__PURE__ */ k({
12
+ const I = { class: "not-support" }, Y = /* @__PURE__ */ k({
7
13
  __name: "Index",
8
14
  props: {
9
15
  searchData: {},
@@ -16,7 +22,7 @@ const F = { class: "not-support" }, O = /* @__PURE__ */ k({
16
22
  },
17
23
  emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
18
24
  setup(c, { expose: i, emit: u }) {
19
- let o = u, g = c, { module: h, schema: m, table: r, layout: l, next: p, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
25
+ let o = u, g = c, { module: m, schema: p, table: r, layout: l, next: h, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
20
26
  o("navigate", a, t);
21
27
  }, C = (a, t) => {
22
28
  o("sort", a, t);
@@ -38,21 +44,21 @@ const F = { class: "not-support" }, O = /* @__PURE__ */ k({
38
44
  return !1;
39
45
  n.value.resize(a);
40
46
  }, keyboardHandler: (a, t) => {
41
- $.triggerKeyboardHandler(n.value, a, t);
42
- } }), (a, t) => (s(), B(H, null, [
43
- L(e(V), {
47
+ F.triggerKeyboardHandler(n.value, a, t);
48
+ } }), (a, t) => (s(), R(B, null, [
49
+ H(e($), {
44
50
  layout: e(l),
45
51
  table: e(r),
46
52
  onLayoutChange: e(S)
47
53
  }, null, 8, ["layout", "table", "onLayoutChange"]),
48
- (s(), R(w(`paging-${e(l).type.toLowerCase()}`), {
54
+ (s(), L(w(`paging-${e(l).type.toLowerCase()}`), {
49
55
  ref_key: "pagingRef",
50
56
  ref: n,
51
- module: e(h),
52
- schema: e(m),
57
+ module: e(m),
58
+ schema: e(p),
53
59
  table: e(r),
54
60
  layout: e(l),
55
- next: e(p),
61
+ next: e(h),
56
62
  set: e(d),
57
63
  "search-data": e(y),
58
64
  onNavigate: e(f),
@@ -63,8 +69,8 @@ const F = { class: "not-support" }, O = /* @__PURE__ */ k({
63
69
  onSucceed: e(x),
64
70
  onClose: e(z)
65
71
  }, {
66
- default: A(() => [
67
- E("div", F, "未支持的分页布局方式:" + P(e(l).type), 1)
72
+ default: E(() => [
73
+ P("div", I, "未支持的分页布局方式:" + V(e(l).type), 1)
68
74
  ]),
69
75
  _: 1
70
76
  }, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
@@ -72,5 +78,5 @@ const F = { class: "not-support" }, O = /* @__PURE__ */ k({
72
78
  }
73
79
  });
74
80
  export {
75
- O as _
81
+ Y as _
76
82
  };
@@ -1,9 +1,10 @@
1
1
  import { defineComponent as x, toRefs as E, ref as R, onMounted as k, openBlock as u, createElementBlock as z, Fragment as B, createVNode as L, unref as e, createBlock as S, resolveDynamicComponent as D, withCtx as N, createElementVNode as V, toDisplayString as $ } from "vue";
2
- import { n as F, f as I } from "./main-nvsTmKXH.js";
2
+ import { v as F, t as I } from "./main-KNkwb0pq.js";
3
+ import "./assets/moment-h96o7c8I.js";
3
4
  import "element-plus";
4
5
  import "vue-router";
5
6
  import "./assets/intro.js-Cg1adLK7.js";
6
- const M = { class: "not-support" }, J = /* @__PURE__ */ x({
7
+ const M = { class: "not-support" }, K = /* @__PURE__ */ x({
7
8
  __name: "Index",
8
9
  props: {
9
10
  route: {},
@@ -17,7 +18,7 @@ const M = { class: "not-support" }, J = /* @__PURE__ */ x({
17
18
  },
18
19
  emits: ["layout-change", "row-edit", "change", "submit"],
19
20
  setup(s, { expose: i, emit: m }) {
20
- let o = m, d = s, { module: p, schema: c, table: r, layout: a, next: y, set: f } = E(d), l = R(), h = (t) => {
21
+ let o = m, d = s, { module: p, schema: c, table: r, layout: a, next: y, set: h } = E(d), l = R(), f = (t) => {
21
22
  o("layout-change", t);
22
23
  }, g = (t, n, w) => {
23
24
  o("row-edit", t, n, w);
@@ -36,7 +37,7 @@ const M = { class: "not-support" }, J = /* @__PURE__ */ x({
36
37
  L(e(F), {
37
38
  layout: e(a),
38
39
  table: e(r),
39
- onLayoutChange: e(h)
40
+ onLayoutChange: e(f)
40
41
  }, null, 8, ["layout", "table", "onLayoutChange"]),
41
42
  (u(), S(D(`update-${e(a).type.toLowerCase()}`), {
42
43
  ref_key: "layoutRef",
@@ -46,7 +47,7 @@ const M = { class: "not-support" }, J = /* @__PURE__ */ x({
46
47
  table: e(r),
47
48
  layout: e(a),
48
49
  next: e(y),
49
- set: e(f),
50
+ set: e(h),
50
51
  route: t.route,
51
52
  "validate-errors": t.validateErrors,
52
53
  onRowEdit: e(g),
@@ -62,5 +63,5 @@ const M = { class: "not-support" }, J = /* @__PURE__ */ x({
62
63
  }
63
64
  });
64
65
  export {
65
- J as _
66
+ K as _
66
67
  };