halo-pc 1.0.13 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/Article-DASEvkfO.js +194 -0
  2. package/dist/{ArticleFooter-BbDi3-MM.js → ArticleFooter-BSesl8iy.js} +17 -24
  3. package/dist/{Autocomplete-KcemMig-.js → Autocomplete-ClAQY5V5.js} +1 -1
  4. package/dist/Autocomplete-CzfOoMve.js +48 -0
  5. package/dist/Autocomplete-DToic2Cg.js +49 -0
  6. package/dist/{CSharp-Re2Hef51.js → CSharp-23QccebX.js} +1 -1
  7. package/dist/{Calender-BdLz8uVu.js → Calender-DZkQaIeV.js} +3 -3
  8. package/dist/Callback-CWBDUe_C.js +20 -0
  9. package/dist/Cascader-BDfFyqiv.js +41 -0
  10. package/dist/Cascader-CpD_hbhQ.js +81 -0
  11. package/dist/Checkbox--gCBkIuI.js +70 -0
  12. package/dist/{Checkbox-C4vv9clz.js → Checkbox-SLi7MK1r.js} +1 -1
  13. package/dist/Code-BVTjF5rW.js +54 -0
  14. package/dist/{Code-oAwc2PqM.js → Code-C4hdU4t4.js} +1 -1
  15. package/dist/Code-CO4WPAe_.js +4 -0
  16. package/dist/Code-nrn4wOhB.js +36 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-BgAnkZ3j.js +59 -0
  18. package/dist/Column-DcMAu4JL.js +68 -0
  19. package/dist/Comment-CPxVIapg.js +98 -0
  20. package/dist/Compare-C2oFy0EZ.js +56 -0
  21. package/dist/Compare-P9zOBC1v.js +26 -0
  22. package/dist/Copy-B5vrho98.js +43 -0
  23. package/dist/Custom-BETJLilj.js +51 -0
  24. package/dist/{DataExport-Bfcwgxhl.js → DataExport-YTc4EX6l.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DxEJA5Ee.js → DataExport.vue_vue_type_script_setup_true_lang-amvVzv4A.js} +34 -40
  26. package/dist/{DataImport-BPx3VvYv.js → DataImport-ByV8MQkV.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-5gkTElFL.js → DataImport.vue_vue_type_script_setup_true_lang-CYwCKg5Z.js} +61 -66
  28. package/dist/{Date-FuMiaUxd.js → Date-DbTzQla9.js} +1 -1
  29. package/dist/Date-DpiWNuFs.js +37 -0
  30. package/dist/DateRange-Su0Q2cwY.js +57 -0
  31. package/dist/{DateTime-CyCcFf_l.js → DateTime-C3NrioJi.js} +1 -1
  32. package/dist/DateTime-QyKfqaVG.js +38 -0
  33. package/dist/{DateTimeRange-Db9BDn2x.js → DateTimeRange-lytkhCjC.js} +11 -18
  34. package/dist/Daterange-D7ZHkOmo.js +57 -0
  35. package/dist/{Decimal-F1-H75HK.js → Decimal-CTTT98BQ.js} +1 -1
  36. package/dist/Delete-MfXy7gUi.js +56 -0
  37. package/dist/{Detail-AhGw1lSI.js → Detail-CUiSzyT7.js} +16 -23
  38. package/dist/Dictionary-Dd_IU-Hn.js +55 -0
  39. package/dist/Email-BzN4JpJv.js +48 -0
  40. package/dist/{File-1ATMHoXy.js → File-Ckh37Ne2.js} +42 -49
  41. package/dist/Image-Dkd69DoD.js +9 -0
  42. package/dist/Index-CGJLRExG.js +4 -0
  43. package/dist/Index-CLzHDG05.js +4 -0
  44. package/dist/{Index-BlsoOd-w.js → Index-DJJcNPgN.js} +61 -67
  45. package/dist/{Index-Bk0v21aV.js → Index-DlrpDUD3.js} +1 -1
  46. package/dist/Index-DxvVjg9S.js +70 -0
  47. package/dist/{Index-CXbpni6W.js → Index-G36KYPCK.js} +1 -1
  48. package/dist/Index-dTIwhIau.js +4 -0
  49. package/dist/{Index-CY3JroZR.js → Index-x4c71OJZ.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DqLF_iyM.js → Index.vue_vue_type_script_setup_true_lang-8g0L1e0O.js} +16 -23
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-C5HbpsSj.js → Index.vue_vue_type_script_setup_true_lang-oQyBcgPa.js} +16 -23
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-fOkzw7J1.js → Index.vue_vue_type_style_index_0_lang-DVYceMeD.js} +30 -36
  53. package/dist/{Install-DWNrbMRl.js → Install-BW_ulT9I.js} +21 -28
  54. package/dist/Int-BRqYiJo7.js +41 -0
  55. package/dist/{Int-E-wewJ2r.js → Int-BYSjwPG_.js} +9 -16
  56. package/dist/List-DAFqVlam.js +73 -0
  57. package/dist/Maintaince-B8mM4PEp.js +14 -0
  58. package/dist/{Markdown-DBvQ_Q4I.js → Markdown-BXKlgSON.js} +1 -1
  59. package/dist/Month-BHvq72xE.js +37 -0
  60. package/dist/Month-BiW1DL44.js +38 -0
  61. package/dist/{Month-BMgXtQVp.js → Month-DKeTzNrD.js} +1 -1
  62. package/dist/{Normal-TE2XNiGu.js → Normal-CgSREifM.js} +48 -54
  63. package/dist/Paging-D02YApLL.js +94 -0
  64. package/dist/{PagingHeader-DHI1x6n2.js → PagingHeader-DJ7MmfGl.js} +37 -44
  65. package/dist/{PagingRow-CdXpvFNC.js → PagingRow-BM1GMtrr.js} +21 -28
  66. package/dist/QueryApi-ChpV_S8J.js +13 -0
  67. package/dist/{Racebar-CZVxC7hF.js → Racebar-CZlaC5Gm.js} +43 -49
  68. package/dist/{Radio-BdXipXA2.js → Radio-BPq3WJa4.js} +1 -1
  69. package/dist/{Register-t3oEydyQ.js → Register-ByxrZyWq.js} +71 -77
  70. package/dist/RichText-BtQDAhn9.js +41 -0
  71. package/dist/{SearchFooter-BpJrsqZV.js → SearchFooter-B61gsy3w.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-XXawph5O.js → SearchFooter.vue_vue_type_style_index_0_lang-CZv7EteY.js} +1 -1
  73. package/dist/{SearchForm-CwRcTMlw.js → SearchForm-CLvZoPGQ.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DU69JJ1z.js → SearchForm.vue_vue_type_style_index_0_lang-DnjtHyTb.js} +34 -40
  75. package/dist/Select-C_afSAvf.js +111 -0
  76. package/dist/{Select-DGGUWJY4.js → Select-DGXJMnE9.js} +19 -26
  77. package/dist/{Select-UUymDTLU.js → Select-Nb9K2FMY.js} +1 -1
  78. package/dist/{Single-C7v2P3LF.js → Single-C-2qA2MU.js} +111 -117
  79. package/dist/{Statistic-C6J7v2xF.js → Statistic-B1K-qIZb.js} +43 -51
  80. package/dist/{Stock-Ct-HKlln.js → Stock-C560McFR.js} +1 -1
  81. package/dist/{Stock-DSnE1Bzv.js → Stock-_rnn0B8I.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-DtH6bO8x.js → Stock.vue_vue_type_style_index_0_lang-BEwvRtU6.js} +31 -39
  83. package/dist/{Switch-Bi8hhG_X.js → Switch-BadvkLSw.js} +1 -1
  84. package/dist/{Table-SSfqvIzl.js → Table-B46N43V3.js} +67 -72
  85. package/dist/{Table-D0P60c_b.js → Table-Dk48tQ1r.js} +63 -70
  86. package/dist/Text-CNF204mx.js +53 -0
  87. package/dist/Text-DblKaz4m.js +52 -0
  88. package/dist/Text-y-q7UXlg.js +4 -0
  89. package/dist/Text.vue_vue_type_style_index_0_lang-DtnGWes5.js +53 -0
  90. package/dist/TextLink-B4Q0zX1K.js +59 -0
  91. package/dist/{Textarea-CzUa7wZ2.js → Textarea-D1BOQFgK.js} +1 -1
  92. package/dist/Time-DZQxglEi.js +37 -0
  93. package/dist/Timeline-8QaD9H_I.js +53 -0
  94. package/dist/Tree-BUcyK0i_.js +117 -0
  95. package/dist/{Tree-6sdSDjF7.js → Tree-DVeTdmmL.js} +64 -70
  96. package/dist/TreeNode-BScAFHPZ.js +37 -0
  97. package/dist/{Update-Bgn_-Tk7.js → Update-BbU5H_Qf.js} +14 -21
  98. package/dist/{UpdateChild-BOHAM_TM.js → UpdateChild-BbXuXfOR.js} +19 -26
  99. package/dist/Upload-C1obfZui.js +146 -0
  100. package/dist/Upload-CmtHETKR.js +67 -0
  101. package/dist/UploadApi-2sfpKCMa.js +13 -0
  102. package/dist/Year-CRd3PkNx.js +41 -0
  103. package/dist/{Year-BbZI6olW.js → Year-CTo-9KjE.js} +1 -1
  104. package/dist/main-65efBfek.js +19835 -0
  105. package/dist/main.js +47 -49
  106. package/dist/style.css +1 -1
  107. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  108. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  109. package/esm/vite.config.d.ts +6 -0
  110. package/package.json +2 -2
  111. package/dist/Article-X51Oz1hI.js +0 -198
  112. package/dist/Autocomplete-Ci1CXGQE.js +0 -55
  113. package/dist/Autocomplete-Co_6LMOR.js +0 -54
  114. package/dist/Callback-DwiifiR-.js +0 -27
  115. package/dist/Cascader-BrjhyzSI.js +0 -88
  116. package/dist/Cascader-DuG1TFF-.js +0 -48
  117. package/dist/Checkbox-DAsy2Gtb.js +0 -77
  118. package/dist/Code-CNioVNv0.js +0 -4
  119. package/dist/Code-CQQJJ5Jx.js +0 -61
  120. package/dist/Code-DAMTIprA.js +0 -43
  121. package/dist/Code.vue_vue_type_style_index_0_lang-G1i4uKJp.js +0 -66
  122. package/dist/Column-DMN_0BnR.js +0 -75
  123. package/dist/Comment-D4gvdlOG.js +0 -105
  124. package/dist/Compare-B9ms7AkH.js +0 -63
  125. package/dist/Compare-OHWeHehJ.js +0 -33
  126. package/dist/Copy-B6pQ--3T.js +0 -50
  127. package/dist/Custom-Dt_-KfRY.js +0 -58
  128. package/dist/Date-DAud0Tf9.js +0 -44
  129. package/dist/DateRange-ClHpJNRt.js +0 -64
  130. package/dist/DateTime-BO1c3xG2.js +0 -45
  131. package/dist/Daterange-BlMa4jnq.js +0 -64
  132. package/dist/Delete-BVH0G9h3.js +0 -63
  133. package/dist/Dictionary-DwcOV9xl.js +0 -60
  134. package/dist/Email-BljE8jDr.js +0 -55
  135. package/dist/Image-Bv2Ducoj.js +0 -9
  136. package/dist/Index-BFuHqDAs.js +0 -4
  137. package/dist/Index-D-TyDnGW.js +0 -4
  138. package/dist/Index-D2H5yTHn.js +0 -4
  139. package/dist/Index-YG1SBeIv.js +0 -76
  140. package/dist/Int-g8pM8ZyY.js +0 -47
  141. package/dist/List-ow09enu_.js +0 -80
  142. package/dist/Maintaince-Ctz2-ztL.js +0 -21
  143. package/dist/Month-CPMc1YrA.js +0 -45
  144. package/dist/Month-bDRWnCLy.js +0 -44
  145. package/dist/Paging-668tf97P.js +0 -100
  146. package/dist/QueryApi-UJNYVuJd.js +0 -21
  147. package/dist/RichText-BDRC1veI.js +0 -48
  148. package/dist/Select-RlOWoUwz.js +0 -118
  149. package/dist/Text-McD2Rcic.js +0 -59
  150. package/dist/Text-Stj6-whX.js +0 -4
  151. package/dist/Text-V0WQUxoe.js +0 -60
  152. package/dist/Text.vue_vue_type_style_index_0_lang-BuHdoSkB.js +0 -60
  153. package/dist/TextLink-DmRFUHgF.js +0 -66
  154. package/dist/Time-CgOW3aic.js +0 -44
  155. package/dist/Timeline-BV-wfL2F.js +0 -60
  156. package/dist/Tree-r6FMB9WN.js +0 -123
  157. package/dist/TreeNode-Y4ktCxAQ.js +0 -43
  158. package/dist/Upload-BGYLdPIM.js +0 -151
  159. package/dist/Upload-Df16iaP1.js +0 -73
  160. package/dist/UploadApi-CnAUAXVp.js +0 -21
  161. package/dist/Year-OqMhzqjx.js +0 -48
  162. package/dist/assets/@intlify-BISCQg1h.js +0 -2189
  163. package/dist/assets/@monaco-editor-BCDRi0Ti.js +0 -258
  164. package/dist/assets/@vue-aVYGocXp.js +0 -93
  165. package/dist/assets/clone-BZn0cTAu.js +0 -134
  166. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  167. package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
  168. package/dist/assets/moment-h96o7c8I.js +0 -2578
  169. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  170. package/dist/assets/state-local-CEworIRt.js +0 -131
  171. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  172. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  173. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  174. package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
  175. package/dist/main-RpQODrQa.js +0 -8936
@@ -1,67 +1,61 @@
1
- import { defineComponent as Q, ref as i, onMounted as W, watch as X, resolveComponent as m, openBlock as c, createElementBlock as Z, createVNode as p, unref as l, withCtx as d, createElementVNode as r, toDisplayString as F, isRef as h, createBlock as g, withKeys as j, normalizeClass as T, withModifiers as G, createTextVNode as J, nextTick as B } from "vue";
1
+ import { defineComponent as I, ref as i, onMounted as Q, watch as X, resolveComponent as m, openBlock as c, createElementBlock as Z, createVNode as d, unref as l, withCtx as f, createElementVNode as r, toDisplayString as F, isRef as h, createBlock as g, withKeys as T, normalizeClass as j, withModifiers as J, createTextVNode as W, nextTick as U } from "vue";
2
2
  import { useRoute as Y } from "vue-router";
3
- import "./assets/underscore-B0BCaBxV.js";
4
- import { i as ee, V as le, W as te, t as oe, S as k, h as K, r as se, X as S } from "./main-RpQODrQa.js";
5
- import "./assets/clone-BZn0cTAu.js";
6
- import "./assets/file-saver-CwlpTZSc.js";
7
- import "./assets/@monaco-editor-BCDRi0Ti.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
3
+ import { G as ee, P as le, S as se, U as te, X as k, L as B, r as oe, T as K } from "./main-65efBfek.js";
10
4
  import "./assets/intro.js-DxWjEdp_.js";
11
5
  const ae = { class: "login-container" }, re = { class: "title-container" }, ne = { class: "title" }, ie = /* @__PURE__ */ r("span", { class: "svg-container" }, [
12
6
  /* @__PURE__ */ r("i", { class: "fa fa-user" })
13
7
  ], -1), ue = /* @__PURE__ */ r("span", { class: "svg-container" }, [
14
8
  /* @__PURE__ */ r("i", { class: "fa fa-key" })
15
- ], -1), pe = /* @__PURE__ */ r("span", { class: "svg-container" }, [
9
+ ], -1), de = /* @__PURE__ */ r("span", { class: "svg-container" }, [
16
10
  /* @__PURE__ */ r("i", { class: "fa fa-key" })
17
- ], -1), de = ["innerHTML"], be = /* @__PURE__ */ Q({
11
+ ], -1), fe = ["innerHTML"], ge = /* @__PURE__ */ I({
18
12
  __name: "Register",
19
- setup(fe) {
20
- let V = i(!1), n = i({ email: "", password: "", confirmPassword: "", position: 0 }), u = i("password"), a = i(!1), y = i(!1), w = i({ jigsaw: null, content: null }), b = i(), R = i(), _ = i(), C = i(), U = Y(), q = (o, e, t) => {
21
- k.isEmail(e) ? t() : t(new Error("邮箱格式不正确"));
22
- }, H = (o, e, t) => {
23
- k.isPassword(e) ? t() : t(new Error("密码格式不正确"));
24
- }, M = (o, e, t, f) => {
25
- k.isPassword(e) ? e != f.password ? t(new Error("两次密码不一致")) : t() : t(new Error("密码格式不正确"));
26
- }, x = (o) => {
27
- let { shiftKey: e, key: t } = o;
28
- t && t.length == 1 && (e && t >= "a" && t <= "z" || !e && t >= "A" && t <= "Z" ? a.value = !0 : a.value = !1), t == "CapsLock" && a.value == !0 && (a.value = !1);
13
+ setup(pe) {
14
+ let V = i(!1), n = i({ email: "", password: "", confirmPassword: "", position: 0 }), u = i("password"), a = i(!1), y = i(!1), w = i({ jigsaw: null, content: null }), b = i(), R = i(), _ = i(), C = i(), M = Y(), q = (t, e, s) => {
15
+ k.isEmail(e) ? s() : s(new Error("邮箱格式不正确"));
16
+ }, L = (t, e, s) => {
17
+ k.isPassword(e) ? s() : s(new Error("密码格式不正确"));
18
+ }, N = (t, e, s, p) => {
19
+ k.isPassword(e) ? e != p.password ? s(new Error("两次密码不一致")) : s() : s(new Error("密码格式不正确"));
20
+ }, P = (t) => {
21
+ let { shiftKey: e, key: s } = t;
22
+ s && s.length == 1 && (e && s >= "a" && s <= "z" || !e && s >= "A" && s <= "Z" ? a.value = !0 : a.value = !1), s == "CapsLock" && a.value == !0 && (a.value = !1);
29
23
  }, v = () => {
30
- u.value == "password" ? u.value = "" : u.value = "password", B(() => {
24
+ u.value == "password" ? u.value = "" : u.value = "password", U(() => {
31
25
  _.value.focus();
32
26
  });
33
- }, L = () => {
34
- b.value.validate((o) => {
35
- if (!o)
27
+ }, O = () => {
28
+ b.value.validate((t) => {
29
+ if (!t)
36
30
  return !1;
37
31
  V.value = !0;
38
32
  });
39
- }, P = () => {
33
+ }, x = () => {
40
34
  E();
41
- }, N = (o) => {
42
- y.value = !0, n.value.position = o, K.post("/user/register", n.value).then(({ data: e }) => {
43
- se.toBackUrl();
35
+ }, S = (t) => {
36
+ y.value = !0, n.value.position = t, B.post("/user/register", n.value).then(({ data: e }) => {
37
+ oe.toBackUrl();
44
38
  }).catch((e) => {
45
- throw P(), C.value.error(), e;
39
+ throw x(), C.value.error(), e;
46
40
  }).finally(() => {
47
- B(() => {
41
+ U(() => {
48
42
  y.value = !1;
49
43
  });
50
44
  });
51
- }, O = (o) => Object.keys(o).reduce((e, t) => (e[t] = o[t], e), {}), E = () => {
52
- K.get("/user/captcha").then(({ data: o, message: e }) => {
53
- w.value.jigsaw = S.base64(o.jigsaw), w.value.content = S.base64(o.content);
45
+ }, $ = (t) => Object.keys(t).reduce((e, s) => (e[s] = t[s], e), {}), E = () => {
46
+ B.get("/user/captcha").then(({ data: t, message: e }) => {
47
+ w.value.jigsaw = K.base64(t.jigsaw), w.value.content = K.base64(t.content);
54
48
  });
55
49
  };
56
- return W(() => {
50
+ return Q(() => {
57
51
  ee.setI18nTitle("common.register"), E(), n.value.email == "" ? R.value.focus() : n.value.password == "" && _.value.focus();
58
- }), X(U, function(o) {
59
- const e = o.query;
60
- e && O(e);
61
- }), (o, e) => {
62
- const t = m("el-input"), f = m("el-form-item"), $ = m("el-tooltip"), z = m("el-button"), I = m("el-form");
52
+ }), X(M, function(t) {
53
+ const e = t.query;
54
+ e && $(e);
55
+ }), (t, e) => {
56
+ const s = m("el-input"), p = m("el-form-item"), z = m("el-tooltip"), D = m("el-button"), H = m("el-form");
63
57
  return c(), Z("div", ae, [
64
- p(I, {
58
+ d(H, {
65
59
  ref_key: "formRef",
66
60
  ref: b,
67
61
  class: "login-form",
@@ -69,21 +63,21 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
69
63
  "label-position": "left",
70
64
  model: l(n)
71
65
  }, {
72
- default: d(() => [
66
+ default: f(() => [
73
67
  r("div", re, [
74
68
  r("h3", ne, F(l(le)("title")), 1)
75
69
  ]),
76
- p(f, {
70
+ d(p, {
77
71
  prop: "email",
78
72
  rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(q) }]
79
73
  }, {
80
- default: d(() => [
74
+ default: f(() => [
81
75
  ie,
82
- p(t, {
76
+ d(s, {
83
77
  ref_key: "emailRef",
84
78
  ref: R,
85
79
  modelValue: l(n).email,
86
- "onUpdate:modelValue": e[0] || (e[0] = (s) => l(n).email = s),
80
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => l(n).email = o),
87
81
  placeholder: "邮箱",
88
82
  name: "email",
89
83
  type: "text",
@@ -93,21 +87,21 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
93
87
  ]),
94
88
  _: 1
95
89
  }, 8, ["rules"]),
96
- p($, {
90
+ d(z, {
97
91
  modelValue: l(a),
98
- "onUpdate:modelValue": e[4] || (e[4] = (s) => h(a) ? a.value = s : a = s),
92
+ "onUpdate:modelValue": e[4] || (e[4] = (o) => h(a) ? a.value = o : a = o),
99
93
  content: "Caps lock is On",
100
94
  placement: "right",
101
95
  manual: ""
102
96
  }, {
103
- default: d(() => [
104
- p(f, {
97
+ default: f(() => [
98
+ d(p, {
105
99
  prop: "password",
106
- rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(H) }]
100
+ rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(L) }]
107
101
  }, {
108
- default: d(() => [
102
+ default: f(() => [
109
103
  ue,
110
- (c(), g(t, {
104
+ (c(), g(s, {
111
105
  ref: "password",
112
106
  key: l(u),
113
107
  type: l(u),
@@ -115,18 +109,18 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
115
109
  name: "password",
116
110
  tabindex: "2",
117
111
  autocomplete: "on",
118
- onKeyup: j(l(x), ["native"]),
119
- onBlur: e[1] || (e[1] = (s) => h(a) ? a.value = !1 : a = !1),
112
+ onKeyup: T(l(P), ["native"]),
113
+ onBlur: e[1] || (e[1] = (o) => h(a) ? a.value = !1 : a = !1),
120
114
  modelValue: l(n).password,
121
- "onUpdate:modelValue": e[2] || (e[2] = (s) => l(n).password = s)
115
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => l(n).password = o)
122
116
  }, null, 8, ["type", "onKeyup", "modelValue"])),
123
117
  r("span", {
124
118
  class: "show-pwd",
125
119
  onClick: e[3] || (e[3] = //@ts-ignore
126
- (...s) => l(v) && l(v)(...s))
120
+ (...o) => l(v) && l(v)(...o))
127
121
  }, [
128
122
  r("i", {
129
- class: T(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
123
+ class: j(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
130
124
  }, null, 2)
131
125
  ])
132
126
  ]),
@@ -135,13 +129,13 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
135
129
  ]),
136
130
  _: 1
137
131
  }, 8, ["modelValue"]),
138
- p(f, {
132
+ d(p, {
139
133
  prop: "confirmPassword",
140
- rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (s, A, D) => l(M)(s, A, D, l(n)) }]
134
+ rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (o, A, G) => l(N)(o, A, G, l(n)) }]
141
135
  }, {
142
- default: d(() => [
143
- pe,
144
- (c(), g(t, {
136
+ default: f(() => [
137
+ de,
138
+ (c(), g(s, {
145
139
  ref_key: "passwordRef",
146
140
  ref: _,
147
141
  key: l(u),
@@ -150,39 +144,39 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
150
144
  name: "password",
151
145
  tabindex: "2",
152
146
  autocomplete: "on",
153
- onKeyup: j(l(x), ["native"]),
154
- onBlur: e[5] || (e[5] = (s) => h(a) ? a.value = !1 : a = !1),
147
+ onKeyup: T(l(P), ["native"]),
148
+ onBlur: e[5] || (e[5] = (o) => h(a) ? a.value = !1 : a = !1),
155
149
  modelValue: l(n).confirmPassword,
156
- "onUpdate:modelValue": e[6] || (e[6] = (s) => l(n).confirmPassword = s)
150
+ "onUpdate:modelValue": e[6] || (e[6] = (o) => l(n).confirmPassword = o)
157
151
  }, null, 8, ["type", "onKeyup", "modelValue"])),
158
152
  r("span", {
159
153
  class: "show-pwd",
160
154
  onClick: e[7] || (e[7] = //@ts-ignore
161
- (...s) => l(v) && l(v)(...s))
155
+ (...o) => l(v) && l(v)(...o))
162
156
  }, [
163
157
  r("i", {
164
- class: T(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
158
+ class: j(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
165
159
  }, null, 2)
166
160
  ])
167
161
  ]),
168
162
  _: 1
169
163
  }, 8, ["rules"]),
170
- l(V) ? (c(), g(l(te), {
164
+ l(V) ? (c(), g(l(se), {
171
165
  key: 1,
172
166
  ref_key: "captchaRef",
173
167
  ref: C,
174
168
  content: l(w).content,
175
169
  jigsaw: l(w).jigsaw,
176
- onRefresh: l(P),
177
- onValidate: l(N)
178
- }, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(z, {
170
+ onRefresh: l(x),
171
+ onValidate: l(S)
172
+ }, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (c(), g(D, {
179
173
  key: 0,
180
174
  type: "primary",
181
175
  loading: l(y),
182
- onClick: G(l(L), ["prevent"])
176
+ onClick: J(l(O), ["prevent"])
183
177
  }, {
184
- default: d(() => [
185
- J("注册 ")
178
+ default: f(() => [
179
+ W("注册 ")
186
180
  ]),
187
181
  _: 1
188
182
  }, 8, ["loading", "onClick"]))
@@ -191,12 +185,12 @@ const ae = { class: "login-container" }, re = { class: "title-container" }, ne =
191
185
  }, 8, ["model"]),
192
186
  r("div", {
193
187
  class: "powered-by",
194
- innerHTML: l(oe)("sys.powered_by")
195
- }, null, 8, de)
188
+ innerHTML: l(te)("sys.powered_by")
189
+ }, null, 8, fe)
196
190
  ]);
197
191
  };
198
192
  }
199
193
  });
200
194
  export {
201
- be as default
195
+ ge as default
202
196
  };
@@ -0,0 +1,41 @@
1
+ import { defineComponent as V, mergeModels as x, toRefs as S, useModel as M, ref as p, onMounted as w, computed as m, watch as v, openBlock as R, createBlock as b, unref as r, normalizeStyle as k, isRef as B } from "vue";
2
+ import { g as C } from "./main-65efBfek.js";
3
+ const O = /* @__PURE__ */ V({
4
+ __name: "RichText",
5
+ props: /* @__PURE__ */ x({
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {}
11
+ }, {
12
+ modelValue: {},
13
+ modelModifiers: {}
14
+ }),
15
+ emits: ["update:modelValue"],
16
+ setup(n) {
17
+ let f = n, { field: e, table: h, set: _, row: s } = S(f), u = M(n, "modelValue"), t = p({ readonly: !1, scrollTop: 0 }), i = p(), y = (l) => {
18
+ a.value != null && (s.value[a.value.name] = l.scrollTop);
19
+ }, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", g = () => {
20
+ t.value.readonly = e.value.control.readonly, t.value.scrollTop = d.value, i.value = T();
21
+ };
22
+ w(() => {
23
+ g();
24
+ });
25
+ let d = m(() => a.value ? s.value[a.value.name] : null), a = m(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
26
+ return v(() => d.value, (l, o) => {
27
+ t.value.scrollTop = l;
28
+ }), v(() => e.value.control.readonly, (l, o) => {
29
+ t.value.readonly = l;
30
+ }), (l, o) => (R(), b(r(C), {
31
+ style: k(r(i)),
32
+ options: r(t),
33
+ onScroll: r(y),
34
+ modelValue: r(u),
35
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => B(u) ? u.value = c : u = c)
36
+ }, null, 8, ["style", "options", "onScroll", "modelValue"]));
37
+ }
38
+ });
39
+ export {
40
+ O as default
41
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./SearchFooter.vue_vue_type_style_index_0_lang-XXawph5O.js";
1
+ import { _ as f } from "./SearchFooter.vue_vue_type_style_index_0_lang-CZv7EteY.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, toRefs as g, computed as j, openBlock as c, createElementBlock as C, createBlock as O, resolveDynamicComponent as q, unref as e } from "vue";
2
- import { d as A } from "./main-RpQODrQa.js";
2
+ import { c as A } from "./main-65efBfek.js";
3
3
  const E = { class: "search-footer" }, I = /* @__PURE__ */ f({
4
4
  __name: "SearchFooter",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./SearchForm.vue_vue_type_style_index_0_lang-DU69JJ1z.js";
1
+ import { _ as f } from "./SearchForm.vue_vue_type_style_index_0_lang-DnjtHyTb.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,12 +1,6 @@
1
- import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as q, watch as Q, resolveComponent as m, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as y, createTextVNode as B, toDisplayString as Y, createCommentVNode as Z } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { O as ee, s as D, f as te, C as ae } from "./main-RpQODrQa.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const de = /* @__PURE__ */ I({
1
+ import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as j, watch as Q, resolveComponent as c, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as y, createTextVNode as B, toDisplayString as Y, createCommentVNode as Z } from "vue";
2
+ import { t as ee, s as D, q as te, p as ae } from "./main-65efBfek.js";
3
+ const oe = /* @__PURE__ */ I({
10
4
  __name: "SearchForm",
11
5
  props: {
12
6
  schema: { type: Array, required: !0 },
@@ -16,52 +10,52 @@ const de = /* @__PURE__ */ I({
16
10
  },
17
11
  emits: ["change", "submit", "mounted"],
18
12
  setup(M, { expose: N, emit: T }) {
19
- let C = T, W = M, { schema: F, table: u, layout: w, searchData: h } = J(W), V = p(), k = p(), E = p(), d = p(), L = (e) => {
20
- C("change", e);
13
+ let w = T, W = M, { schema: F, table: u, layout: C, searchData: f } = J(W), V = p(), k = p(), E = p(), d = p(), L = (e) => {
14
+ w("change", e);
21
15
  }, S = (e = null) => {
22
- C("submit");
16
+ w("submit");
23
17
  }, U = (e, t) => {
24
18
  let l = e == "*" ? null : e;
25
- h.value[u.value.name][t.name] = l, S();
26
- }, O = () => {
19
+ f.value[u.value.name][t.name] = l, S();
20
+ }, q = () => {
27
21
  V.value && (k.value = V.value.$el.clientWidth);
28
22
  }, $ = (e) => {
29
- O();
23
+ q();
30
24
  }, R = () => {
31
- let e = w.value.tabs;
25
+ let e = C.value.tabs;
32
26
  if (e)
33
27
  for (let t = 0; t < e.length; t++) {
34
28
  let l = e[t];
35
29
  d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
36
30
  }
37
31
  };
38
- d.value = ee.clone(h.value), R(), K(() => {
39
- O(), P(() => {
40
- C("mounted");
32
+ d.value = ee.clone(f.value), R(), K(() => {
33
+ q(), P(() => {
34
+ w("mounted");
41
35
  });
42
36
  });
43
- let z = q(() => {
37
+ let z = j(() => {
44
38
  if (!k.value)
45
39
  return [];
46
- let e = Math.ceil(k.value / 200), t = D.expandSearch(F.value), l = w.value.tabs ?? [], c = t.filter((b) => l.indexOf(b.name) == -1);
47
- return D.getLines(c, e, (b) => b, () => 1);
48
- }), j = q(() => {
49
- let e = [], t = w.value.tabs;
40
+ let e = Math.ceil(k.value / 200), t = D.expandSearch(F.value), l = C.value.tabs ?? [], m = t.filter((_) => l.indexOf(_.name) == -1);
41
+ return D.getLines(m, e, (_) => _, () => 1);
42
+ }), O = j(() => {
43
+ let e = [], t = C.value.tabs;
50
44
  return t && t.forEach((l) => {
51
- let c = u.value.fields.find((_) => _.name == l);
52
- e.push(c);
45
+ let m = u.value.fields.find((h) => h.name == l);
46
+ e.push(m);
53
47
  }), e;
54
48
  });
55
- return Q(() => h.value, (e, t) => {
49
+ return Q(() => f.value, (e, t) => {
56
50
  R();
57
51
  }), N({ resize: $ }), (e, t) => {
58
- const l = m("el-radio-button"), c = m("el-radio-group"), _ = m("el-form-item"), b = m("el-col"), A = m("el-row"), H = m("el-form"), G = m("el-scrollbar");
59
- return r(), i(G, {
52
+ const l = c("el-radio-button"), m = c("el-radio-group"), h = c("el-form-item"), _ = c("el-col"), A = c("el-row"), G = c("el-form"), H = c("el-scrollbar");
53
+ return r(), i(H, {
60
54
  "max-height": "200px",
61
55
  class: "search-form"
62
56
  }, {
63
57
  default: n(() => [
64
- a(u).search.length > 0 ? (r(), i(H, {
58
+ a(u).search.length > 0 ? (r(), i(G, {
65
59
  key: 0,
66
60
  ref_key: "searchFormRef",
67
61
  ref: V,
@@ -71,13 +65,13 @@ const de = /* @__PURE__ */ I({
71
65
  }, ["prevent"]))
72
66
  }, {
73
67
  default: n(() => [
74
- (r(!0), v(g, null, x(a(j), (s, f) => (r(), i(_, {
68
+ (r(!0), v(g, null, x(a(O), (s, b) => (r(), i(h, {
75
69
  class: "search-tab",
76
70
  label: s.label,
77
71
  "label-width": 50
78
72
  }, {
79
73
  default: n(() => [
80
- y(c, {
74
+ y(m, {
81
75
  ref_for: !0,
82
76
  ref_key: "tabRefs",
83
77
  ref: E,
@@ -108,22 +102,22 @@ const de = /* @__PURE__ */ I({
108
102
  }, 1032, ["label"]))), 256)),
109
103
  (r(!0), v(g, null, x(a(z), (s) => (r(), i(A, {
110
104
  class: "search-row",
111
- label: a(j).length ? "其它" : "",
105
+ label: a(O).length ? "其它" : "",
112
106
  "label-width": 50,
113
107
  gutter: 5
114
108
  }, {
115
109
  default: n(() => [
116
- (r(!0), v(g, null, x(s, ({ data: f, span: o }, le) => (r(), i(b, { span: o }, {
110
+ (r(!0), v(g, null, x(s, ({ data: b, span: o }, le) => (r(), i(_, { span: o }, {
117
111
  default: n(() => [
118
- y(_, {
119
- label: a(te)(f.table.name, f.name)
112
+ y(h, {
113
+ label: a(te)(b.table.name, b.name)
120
114
  }, {
121
115
  default: n(() => [
122
116
  y(ae, {
123
117
  schema: a(F),
124
- table: f.table,
125
- field: f,
126
- "search-data": a(h),
118
+ table: b.table,
119
+ field: b,
120
+ "search-data": a(f),
127
121
  onChange: a(L),
128
122
  onSubmit: a(S)
129
123
  }, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
@@ -146,5 +140,5 @@ const de = /* @__PURE__ */ I({
146
140
  }
147
141
  });
148
142
  export {
149
- de as _
143
+ oe as _
150
144
  };
@@ -0,0 +1,111 @@
1
+ import { defineComponent as T, toRefs as U, ref as d, computed as A, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as D, withModifiers as O, isRef as $, withCtx as V, createElementBlock as k, Fragment as q, renderList as z, createElementVNode as G, toDisplayString as w, createCommentVNode as H, nextTick as I } from "vue";
2
+ import { V as J, f as P, i as Q, L as W } from "./main-65efBfek.js";
3
+ const X = { class: "option-text" }, Y = {
4
+ key: 0,
5
+ class: "option-suffix"
6
+ }, le = /* @__PURE__ */ T({
7
+ __name: "Select",
8
+ props: {
9
+ schema: {},
10
+ table: {},
11
+ field: {},
12
+ set: {},
13
+ row: {},
14
+ modelValue: { type: [String, Number, Boolean, Array] }
15
+ },
16
+ emits: ["submit", "change", "update:modelValue"],
17
+ setup(C, { emit: E }) {
18
+ let s = E, B = C, { schema: S, field: u, table: m, set: h, row: R, modelValue: p } = U(B), x = d(), g = d(), v = d(!1), f = d(u.value.control.data.data), K = (t) => {
19
+ t == "" && (t = null);
20
+ let e;
21
+ if (P.isString(t) && u.value.control.multiple ? e = t.join(",") : e = t, r.value = e, u.value.control.text) {
22
+ let a = m.value.fields.find((l) => l.name == u.value.control.text), o;
23
+ e && (o = f.value.find((i) => i.value == e).text);
24
+ debugger;
25
+ R.value[a.name] = o;
26
+ }
27
+ b(m.value, u.value), s("change", t);
28
+ }, N = () => {
29
+ s("submit");
30
+ }, j = () => {
31
+ }, F = () => {
32
+ v.value = !0;
33
+ let t = { text: g.value, conditions: [] };
34
+ u.value.control.data.conditions.forEach((e) => {
35
+ let a = h.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
36
+ t.conditions.push({ name: e.name, value: o });
37
+ }), W.post(u.value.control.data.route, t).then(({ data: e }) => {
38
+ f.value = e;
39
+ }).finally(() => {
40
+ v.value = !1, I(() => {
41
+ let e = f.value.find((a) => a.value == r.value);
42
+ x.value.scrollToOption(e);
43
+ });
44
+ });
45
+ }, L = (t) => {
46
+ g.value = t, F();
47
+ }, M = (t, e) => {
48
+ let a = [];
49
+ return S.value.forEach((o) => {
50
+ o.fields.forEach((l) => {
51
+ l.dictionary && l.dictionary.conditions.forEach((i) => {
52
+ i.table == t.name && i.field == e.name && a.push({ table: o, field: l });
53
+ });
54
+ });
55
+ }), a;
56
+ }, b = (t, e) => {
57
+ M(t, e).forEach((o) => {
58
+ Q.setRowsValue(null, h.value, o.table, o.field), b(o.table, o.field);
59
+ });
60
+ }, r = A({
61
+ get() {
62
+ return u.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
63
+ },
64
+ set(t) {
65
+ s("update:modelValue", t), s("change", t);
66
+ }
67
+ });
68
+ return (t, e) => {
69
+ const a = _("el-option"), o = _("el-select");
70
+ return c(), y(o, {
71
+ ref_key: "selectRef",
72
+ ref: x,
73
+ filterable: "",
74
+ remote: "",
75
+ "reserve-keyword": "",
76
+ "default-first-option": "",
77
+ "remote-show-suffix": "",
78
+ "loading-text": "加载中",
79
+ clearable: "",
80
+ placeholder: n(J)(n(m).name, n(u).name),
81
+ multiple: n(u).control.multiple,
82
+ "remote-method": n(L),
83
+ loading: n(v),
84
+ disabled: n(u).control.readonly,
85
+ onKeyup: D(O(n(N), ["alt"]), ["enter", "native"]),
86
+ onBlur: n(j),
87
+ onChange: n(K),
88
+ modelValue: n(r),
89
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => $(r) ? r.value = l : r = l)
90
+ }, {
91
+ default: V(() => [
92
+ (c(!0), k(q, null, z(n(f), (l, i) => (c(), y(a, {
93
+ label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
94
+ value: l.value,
95
+ key: l.value
96
+ }, {
97
+ default: V(() => [
98
+ G("span", X, w(l.text), 1),
99
+ l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) : H("", !0)
100
+ ]),
101
+ _: 2
102
+ }, 1032, ["label", "value"]))), 128))
103
+ ]),
104
+ _: 1
105
+ }, 8, ["placeholder", "multiple", "remote-method", "loading", "disabled", "onKeyup", "onBlur", "onChange", "modelValue"]);
106
+ };
107
+ }
108
+ });
109
+ export {
110
+ le as default
111
+ };