halo-pc 1.0.15 → 1.0.17

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-BZph3Slr.js +194 -0
  2. package/dist/{ArticleFooter-BFYDplbW.js → ArticleFooter-BW_G0Irk.js} +17 -24
  3. package/dist/Autocomplete-CuAwiHhE.js +49 -0
  4. package/dist/Autocomplete-Dw1r9LjJ.js +48 -0
  5. package/dist/{Autocomplete-CIXGPZaG.js → Autocomplete-qmcT2ECx.js} +1 -1
  6. package/dist/{CSharp-BGzxI5QJ.js → CSharp-BWYY3ixE.js} +1 -1
  7. package/dist/{Calender-DkBPl9bM.js → Calender-CGxlpOR0.js} +3 -3
  8. package/dist/Callback-phrGGQ_Q.js +20 -0
  9. package/dist/Cascader-CT7ASkSy.js +41 -0
  10. package/dist/Cascader-CsJ1jVBY.js +81 -0
  11. package/dist/{Checkbox-CuRjXSPc.js → Checkbox-BOC7ECAx.js} +1 -1
  12. package/dist/Checkbox-BePH3x-V.js +70 -0
  13. package/dist/Code-CE-Fe7WB.js +36 -0
  14. package/dist/{Code-BlwPnx9J.js → Code-CWxVzJHq.js} +1 -1
  15. package/dist/Code-CqLG9fEE.js +54 -0
  16. package/dist/Code-TBB9w4CV.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-oiyt3bsp.js +59 -0
  18. package/dist/Column-Ctyq9hqP.js +68 -0
  19. package/dist/Comment-RyVJJjTd.js +98 -0
  20. package/dist/Compare-DEccApnU.js +56 -0
  21. package/dist/Compare-ZBeSkf8f.js +26 -0
  22. package/dist/Copy-CNJ1TZJl.js +43 -0
  23. package/dist/Custom-DHvr_EJi.js +51 -0
  24. package/dist/{DataExport-C0jItlVY.js → DataExport-39v2Wzii.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dx7mLyuz.js → DataExport.vue_vue_type_script_setup_true_lang-Bmm7IDoz.js} +34 -40
  26. package/dist/{DataImport-BfBkneEy.js → DataImport-C1O_zTRs.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-C9qjFakZ.js → DataImport.vue_vue_type_script_setup_true_lang-CGKObmMj.js} +54 -59
  28. package/dist/{Date-B8b9JXpP.js → Date-BAk-TE4a.js} +1 -1
  29. package/dist/Date-CsIPLFzI.js +37 -0
  30. package/dist/DateRange-BXSMqDJ0.js +57 -0
  31. package/dist/DateTime-2RoBkqWb.js +38 -0
  32. package/dist/{DateTime-DjhuyxFC.js → DateTime-DSiPx95t.js} +1 -1
  33. package/dist/{DateTimeRange-D01wtitk.js → DateTimeRange-l6kVSbZe.js} +13 -20
  34. package/dist/Daterange-DRq9WIRI.js +57 -0
  35. package/dist/{Decimal-DqMMTfvl.js → Decimal-DGia5Sy8.js} +1 -1
  36. package/dist/Delete-B7X35s7r.js +56 -0
  37. package/dist/{Detail-C-OFWPso.js → Detail-wJXhceca.js} +16 -23
  38. package/dist/Dictionary-CUFHT-1d.js +55 -0
  39. package/dist/Email-BqiiArN8.js +48 -0
  40. package/dist/{File-C2fLmTcj.js → File-DngRHLmK.js} +40 -47
  41. package/dist/Image-D3FNAo-5.js +9 -0
  42. package/dist/Index-B3hh_9-f.js +4 -0
  43. package/dist/{Index-D7DerkIw.js → Index-B4bG41Qh.js} +1 -1
  44. package/dist/Index-BJ4rN3ua.js +4 -0
  45. package/dist/Index-C3EFws1o.js +4 -0
  46. package/dist/Index-ChQl4mWS.js +70 -0
  47. package/dist/{Index-B90giDWQ.js → Index-D6WfgZso.js} +1 -1
  48. package/dist/Index-Dec7ANPo.js +173 -0
  49. package/dist/{Index-CQURvmzd.js → Index-yxohMYWu.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-B93cecQQ.js → Index.vue_vue_type_script_setup_true_lang-BzE42p5R.js} +16 -23
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-DZdvfweh.js → Index.vue_vue_type_script_setup_true_lang-CCvdKImo.js} +14 -21
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-DYwz3Eu2.js → Index.vue_vue_type_style_index_0_lang-AFTrgrBJ.js} +30 -36
  53. package/dist/{Install-Cqj44p9F.js → Install-DvLkDt-G.js} +20 -27
  54. package/dist/{Int-Bj3Gagp5.js → Int-CTZDyiRf.js} +9 -16
  55. package/dist/Int-DUxDmxeN.js +41 -0
  56. package/dist/List-DhQAnj6h.js +73 -0
  57. package/dist/Maintaince-DlOgC995.js +14 -0
  58. package/dist/{Markdown-COY9enBf.js → Markdown-BBZs8Oeu.js} +1 -1
  59. package/dist/Month-BOpeFNyJ.js +37 -0
  60. package/dist/Month-CGeJVL3p.js +38 -0
  61. package/dist/{Month-B7jIGlKI.js → Month-UvBNgDPi.js} +1 -1
  62. package/dist/{Normal-B8YL2DeI.js → Normal-AYl3k_ON.js} +43 -49
  63. package/dist/Paging-B45u8Pwz.js +94 -0
  64. package/dist/{PagingHeader-c1vaXeWH.js → PagingHeader-BKtQX0FN.js} +37 -44
  65. package/dist/{PagingRow-CHDlm8UI.js → PagingRow-C1sBqbWn.js} +21 -28
  66. package/dist/QueryApi-DwKYCq-u.js +13 -0
  67. package/dist/{Racebar-ClsuYbRj.js → Racebar-DEHtOLFI.js} +43 -49
  68. package/dist/{Radio-C6j5nvI9.js → Radio-i6CjikAh.js} +1 -1
  69. package/dist/{Register-BnwfjjXP.js → Register-SHm6xbyk.js} +74 -80
  70. package/dist/RichText-Bxc-XIY-.js +41 -0
  71. package/dist/{SearchFooter-D10vYX7H.js → SearchFooter-Co8AjPaU.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-B3AD4sx-.js → SearchFooter.vue_vue_type_style_index_0_lang-CL0CnYJg.js} +1 -1
  73. package/dist/{SearchForm-BRKHMJRS.js → SearchForm-CMiBnK26.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js → SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js} +34 -40
  75. package/dist/{Select-BiFIpc5-.js → Select-B-gNnoDq.js} +1 -1
  76. package/dist/Select-DuecGTXX.js +111 -0
  77. package/dist/{Select-Z8b2t5QQ.js → Select-t1xYHXcV.js} +19 -26
  78. package/dist/{Single-DdcVVH9V.js → Single-Da4zGSt4.js} +116 -122
  79. package/dist/{Statistic-B7niMPBf.js → Statistic-MUCQAxl_.js} +25 -31
  80. package/dist/{Stock-CRsu1vcy.js → Stock-C0gpktjX.js} +1 -1
  81. package/dist/{Stock-xm8v4vDf.js → Stock-CFVyfAIN.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-Cb3jPDk8.js → Stock.vue_vue_type_style_index_0_lang-B-uQM5GU.js} +26 -32
  83. package/dist/{Switch-BaER4xWy.js → Switch-CT0S6MHJ.js} +1 -1
  84. package/dist/{Table-C2dYPoGi.js → Table-CU6q8l3a.js} +54 -61
  85. package/dist/{Table-a5uj25Nj.js → Table-NC8CrrxW.js} +63 -68
  86. package/dist/Text-Bx4cfjya.js +52 -0
  87. package/dist/{Text-CMEzogZ8.js → Text-ChJQSLGE.js} +1 -1
  88. package/dist/Text-ChdZDU0g.js +53 -0
  89. package/dist/Text.vue_vue_type_style_index_0_lang-BZNDg39p.js +53 -0
  90. package/dist/TextLink-DIHx9sjo.js +59 -0
  91. package/dist/{Textarea-DAICkidp.js → Textarea-CRi6hLdT.js} +1 -1
  92. package/dist/Time-Cn6eQVUQ.js +37 -0
  93. package/dist/Timeline-DpEcUmkJ.js +53 -0
  94. package/dist/{Tree-BwQkDP2T.js → Tree-B0Rqvp37.js} +73 -79
  95. package/dist/Tree-nr0ZIvCA.js +117 -0
  96. package/dist/TreeNode-e51TMrSj.js +37 -0
  97. package/dist/{Update-BZe92EwV.js → Update-QF8Zkcdq.js} +13 -20
  98. package/dist/{UpdateChild-DN6pwrUK.js → UpdateChild-DouQaV7E.js} +19 -26
  99. package/dist/Upload-0ba29Dyr.js +67 -0
  100. package/dist/Upload-BXj28BSA.js +146 -0
  101. package/dist/UploadApi-Boq1A5E-.js +13 -0
  102. package/dist/Year-DuBH5ghc.js +41 -0
  103. package/dist/{Year-2tcz8PDF.js → Year-x4NXoaB_.js} +1 -1
  104. package/dist/main-RFuk2-Bk.js +19837 -0
  105. package/dist/main.js +54 -56
  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 +1 -1
  111. package/dist/Article-BH4dl6Bf.js +0 -201
  112. package/dist/Autocomplete-DYxWYClO.js +0 -55
  113. package/dist/Autocomplete-SOenNkH4.js +0 -54
  114. package/dist/Callback-B57W83N1.js +0 -27
  115. package/dist/Cascader-BI6T7N-q.js +0 -88
  116. package/dist/Cascader-BoN_F8v4.js +0 -48
  117. package/dist/Checkbox-DdolP6wO.js +0 -77
  118. package/dist/Code--y8oCkjX.js +0 -43
  119. package/dist/Code-C48Gf7gU.js +0 -61
  120. package/dist/Code-DiOQvIZv.js +0 -4
  121. package/dist/Code.vue_vue_type_style_index_0_lang-DlLh3JlB.js +0 -66
  122. package/dist/Column-BNGw36Iq.js +0 -75
  123. package/dist/Comment-D37SdQb6.js +0 -105
  124. package/dist/Compare-C09T8aaU.js +0 -33
  125. package/dist/Compare-CnnCTG12.js +0 -63
  126. package/dist/Copy-DNrXXJRQ.js +0 -50
  127. package/dist/Custom--I04Jyzr.js +0 -58
  128. package/dist/Date-TKW4HbCJ.js +0 -44
  129. package/dist/DateRange-JCP1Eokf.js +0 -64
  130. package/dist/DateTime-DVOVXS_f.js +0 -45
  131. package/dist/Daterange-CqHXC9JN.js +0 -64
  132. package/dist/Delete-PcTE_3Cp.js +0 -63
  133. package/dist/Dictionary-Cfhmc2OQ.js +0 -60
  134. package/dist/Email-Rj-ZvdfJ.js +0 -55
  135. package/dist/Image-zgBgvAup.js +0 -9
  136. package/dist/Index-9fyKz8TT.js +0 -4
  137. package/dist/Index-CAlWNb2l.js +0 -179
  138. package/dist/Index-CjFLlnmH.js +0 -4
  139. package/dist/Index-Cr2WAY6Z.js +0 -76
  140. package/dist/Index-Izl4chSJ.js +0 -4
  141. package/dist/Int-dlbcQ6_t.js +0 -47
  142. package/dist/List-BsAOvgmQ.js +0 -80
  143. package/dist/Maintaince-DjSvIfbu.js +0 -21
  144. package/dist/Month-BhNUuzcc.js +0 -44
  145. package/dist/Month-KDuTRSA0.js +0 -45
  146. package/dist/Paging-BlFnu-w0.js +0 -100
  147. package/dist/QueryApi-Bc_kmvgs.js +0 -21
  148. package/dist/RichText-BImFNkHQ.js +0 -48
  149. package/dist/Select-f15Y0Ko-.js +0 -118
  150. package/dist/Text-CqKE2xDo.js +0 -59
  151. package/dist/Text-DfqLW_KH.js +0 -60
  152. package/dist/Text.vue_vue_type_style_index_0_lang-BNpeGb1c.js +0 -60
  153. package/dist/TextLink-XJurKE8Q.js +0 -66
  154. package/dist/Time-BmdIHgOY.js +0 -44
  155. package/dist/Timeline-BOPAiaK-.js +0 -60
  156. package/dist/Tree-BR8gmBBa.js +0 -123
  157. package/dist/TreeNode-CdBVgaRW.js +0 -43
  158. package/dist/Upload-BtErvzEO.js +0 -151
  159. package/dist/Upload-vPTA8ndw.js +0 -73
  160. package/dist/UploadApi-CpwS4Kf1.js +0 -21
  161. package/dist/Year-CVqwpSLR.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-BS_9gx1M.js +0 -8937
@@ -1,15 +1,8 @@
1
- import { defineComponent as C, toRefs as h, resolveComponent as v, openBlock as x, createBlock as b, unref as e, withCtx as t, createVNode as l, createTextVNode as c, toDisplayString as a, createElementVNode as r } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { N, t as m } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
1
+ import { defineComponent as C, toRefs as h, resolveComponent as v, openBlock as x, createBlock as b, unref as e, withCtx as t, createVNode as c, createTextVNode as a, toDisplayString as i, createElementVNode as m } from "vue";
2
+ import { F as N, U as s } from "./main-RFuk2-Bk.js";
10
3
  import "vue-router";
11
4
  import "./assets/intro.js-DxWjEdp_.js";
12
- const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__PURE__ */ r("i", { class: "fa fa-copy" }, null, -1), B = /* @__PURE__ */ r("i", { class: "fa fa-chevron-left" }, null, -1), I = /* @__PURE__ */ C({
5
+ const V = /* @__PURE__ */ m("i", { class: "fa fa-edit" }, null, -1), g = /* @__PURE__ */ m("i", { class: "fa fa-copy" }, null, -1), B = /* @__PURE__ */ m("i", { class: "fa fa-chevron-left" }, null, -1), T = /* @__PURE__ */ C({
13
6
  __name: "Detail",
14
7
  props: {
15
8
  route: {},
@@ -19,18 +12,18 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
19
12
  },
20
13
  emits: ["copy", "edit", "close"],
21
14
  setup(_, { emit: f }) {
22
- let i = f, u = _, { route: D, table: p, set: s, next: w } = h(u), d = (o) => {
23
- i("copy", s.value[p.value.name][0], o);
15
+ let n = f, u = _, { route: D, table: r, set: p, next: U } = h(u), d = (o) => {
16
+ n("copy", p.value[r.value.name][0], o);
24
17
  }, y = (o) => {
25
- i("edit", s.value[p.value.name][0], o);
18
+ n("edit", p.value[r.value.name][0], o);
26
19
  }, k = () => {
27
- i("close");
20
+ n("close");
28
21
  };
29
- return (o, E) => {
30
- const n = v("el-button");
22
+ return (o, w) => {
23
+ const l = v("el-button");
31
24
  return x(), b(e(N), { padding: 5 }, {
32
25
  default: t(() => [
33
- l(n, {
26
+ c(l, {
34
27
  type: "primary",
35
28
  onClick: e(y)
36
29
  }, {
@@ -38,11 +31,11 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
38
31
  V
39
32
  ]),
40
33
  default: t(() => [
41
- c(" " + a(e(m)("common.modify")), 1)
34
+ a(" " + i(e(s)("common.modify")), 1)
42
35
  ]),
43
36
  _: 1
44
37
  }, 8, ["onClick"]),
45
- l(n, {
38
+ c(l, {
46
39
  type: "primary",
47
40
  plain: "",
48
41
  onClick: e(d)
@@ -51,16 +44,16 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
51
44
  g
52
45
  ]),
53
46
  default: t(() => [
54
- c(" " + a(e(m)("common.copy")), 1)
47
+ a(" " + i(e(s)("common.copy")), 1)
55
48
  ]),
56
49
  _: 1
57
50
  }, 8, ["onClick"]),
58
- l(n, { onClick: e(k) }, {
51
+ c(l, { onClick: e(k) }, {
59
52
  icon: t(() => [
60
53
  B
61
54
  ]),
62
55
  default: t(() => [
63
- c(" " + a(e(m)("common.back")), 1)
56
+ a(" " + i(e(s)("common.back")), 1)
64
57
  ]),
65
58
  _: 1
66
59
  }, 8, ["onClick"])
@@ -71,5 +64,5 @@ const V = /* @__PURE__ */ r("i", { class: "fa fa-edit" }, null, -1), g = /* @__P
71
64
  }
72
65
  });
73
66
  export {
74
- I as default
67
+ T as default
75
68
  };
@@ -0,0 +1,55 @@
1
+ import { defineComponent as g, toRefs as x, computed as r, resolveComponent as h, openBlock as o, createElementBlock as a, Fragment as V, renderList as b, unref as k, createBlock as B, normalizeStyle as C, withCtx as N, createTextVNode as S, toDisplayString as n, createCommentVNode as w } from "vue";
2
+ import { f as s, X as D, i as E } from "./main-RFuk2-Bk.js";
3
+ const z = { class: "text-dictionary" }, F = {
4
+ key: 0,
5
+ class: "suffix"
6
+ }, j = /* @__PURE__ */ g({
7
+ __name: "Dictionary",
8
+ props: {
9
+ schema: {},
10
+ table: {},
11
+ field: {},
12
+ set: {},
13
+ row: {},
14
+ modelValue: { type: [String, Number, Boolean] }
15
+ },
16
+ emits: ["submit", "change", "update:modelValue"],
17
+ setup(i, { emit: c }) {
18
+ let u = c, m = i, { table: L, field: f, set: R, modelValue: d } = x(m), t = r({
19
+ get() {
20
+ return d.value;
21
+ },
22
+ set(e) {
23
+ u("update:modelValue", e), u("change", e);
24
+ }
25
+ }), p = r(() => {
26
+ if (t.value == null)
27
+ return [];
28
+ if (s.isNumber(t.value))
29
+ return [t.value];
30
+ if (s.isBoolean(t.value))
31
+ return [t.value];
32
+ let e = t.value.toString();
33
+ return D.isEmpty(e) ? [] : e.split(",");
34
+ }), _ = r(() => E.fromValues(p.value, f.value.control.data.data, "value", "text"));
35
+ return (e, T) => {
36
+ const v = h("el-tag");
37
+ return o(), a("div", z, [
38
+ (o(!0), a(V, null, b(k(_), (l, y) => (o(), B(v, {
39
+ type: "info",
40
+ style: C({ color: l.color }),
41
+ key: y
42
+ }, {
43
+ default: N(() => [
44
+ S(n(l.text) + " ", 1),
45
+ l.suffix ? (o(), a("span", F, "(" + n(l.suffix) + ")", 1)) : w("", !0)
46
+ ]),
47
+ _: 2
48
+ }, 1032, ["style"]))), 128))
49
+ ]);
50
+ };
51
+ }
52
+ });
53
+ export {
54
+ j as default
55
+ };
@@ -0,0 +1,48 @@
1
+ import { defineComponent as f, toRefs as V, computed as _, resolveComponent as b, openBlock as y, createBlock as h, 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 { z as K } from "./main-RFuk2-Bk.js";
3
+ const S = /* @__PURE__ */ f({
4
+ __name: "Email",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ emits: ["submit", "change", "update:modelValue"],
14
+ setup(i, { emit: s }) {
15
+ let o = s, u = i, { table: d, field: t, set: z, modelValue: p } = V(u), r = () => {
16
+ o("submit");
17
+ }, l = _({
18
+ get() {
19
+ return p.value;
20
+ },
21
+ set(a) {
22
+ o("update:modelValue", a), o("change", a);
23
+ }
24
+ });
25
+ return (a, n) => {
26
+ const c = b("el-input");
27
+ return y(), h(c, {
28
+ type: "email",
29
+ disabled: e(t).control.readonly,
30
+ placeholder: e(K)(e(d).name, e(t).name),
31
+ onKeyup: x(e(r), ["enter", "native"]),
32
+ modelValue: e(l),
33
+ "onUpdate:modelValue": n[0] || (n[0] = (m) => g(l) ? l.value = m : l = m)
34
+ }, k({ _: 2 }, [
35
+ e(t).suffix ? {
36
+ name: "append",
37
+ fn: v(() => [
38
+ w(C(e(t).suffix), 1)
39
+ ]),
40
+ key: "0"
41
+ } : void 0
42
+ ]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
43
+ };
44
+ }
45
+ });
46
+ export {
47
+ S as default
48
+ };
@@ -1,26 +1,19 @@
1
- import { defineComponent as J, toRefs as P, ref as T, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as h, unref as e, withCtx as r, createElementVNode as s, normalizeClass as x, Fragment as L, renderList as q, createBlock as g, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
2
- import { useRoute as A, useRouter as G } from "vue-router";
3
- import "./assets/underscore-B0BCaBxV.js";
4
- import "./assets/underscore.string-DVXD2SZo.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 { J as H, b as I, B as c, t as K, h as M, c as O } from "./main-BS_9gx1M.js";
10
- import "./assets/liquidjs-C-LVcoaY.js";
1
+ import { defineComponent as j, toRefs as P, ref as T, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as h, unref as e, withCtx as r, createElementVNode as s, normalizeClass as L, Fragment as $, renderList as q, createBlock as g, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
2
+ import { useRoute as W, useRouter as A } from "vue-router";
3
+ import { x as G, a as H, k as c, U as I, L as J, l as K } from "./main-RFuk2-Bk.js";
11
4
  import "./assets/intro.js-DxWjEdp_.js";
12
- import { _ as Q } from "./SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js";
13
- const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ */ s("i", { class: "fa fa-list" }, null, -1), Y = [
5
+ import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js";
6
+ const O = { class: "file-layout" }, Q = { class: "toolbar" }, X = /* @__PURE__ */ s("i", { class: "fa fa-list" }, null, -1), Y = [
14
7
  X
15
8
  ], Z = /* @__PURE__ */ s("i", { class: "fa fa-image" }, null, -1), ee = [
16
9
  Z
17
10
  ], te = {
18
11
  key: 0,
19
12
  class: "files-image"
20
- }, oe = { class: "file-image" }, ae = ["src"], le = { class: "file-title" }, se = { class: "file-name" }, ne = ["src", "alt"], re = { class: "file-title" }, ie = {
13
+ }, ae = { class: "file-image" }, oe = ["src"], le = { class: "file-title" }, se = { class: "file-name" }, ne = ["src", "alt"], re = { class: "file-title" }, ie = {
21
14
  key: 2,
22
15
  class: "not-support"
23
- }, Ce = /* @__PURE__ */ J({
16
+ }, fe = /* @__PURE__ */ j({
24
17
  __name: "File",
25
18
  props: {
26
19
  searchData: {},
@@ -32,51 +25,51 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
32
25
  set: {}
33
26
  },
34
27
  setup(z) {
35
- let B = z, { schema: F, table: n, layout: i, next: d, set: b, searchData: ue } = P(B), f = A(), v = G(), k = T(), C = (o) => {
36
- let a = { type: "fileLayout", value: o };
37
- M.post("/user/config", a).then((y) => {
38
- c.fileLayout = o;
28
+ let F = z, { schema: N, table: n, layout: i, next: d, set: b, searchData: ue } = P(F), f = W(), v = A(), k = T(), C = (a) => {
29
+ let o = { type: "fileLayout", value: a };
30
+ J.post("/user/config", o).then((y) => {
31
+ c.fileLayout = a;
39
32
  });
40
- }, N = (o) => {
41
- let a = { ...f.query };
42
- a.page = o, v.push({ path: d.value.paging.route, query: a });
43
- }, V = () => {
33
+ }, V = (a) => {
44
34
  let o = { ...f.query };
45
- o.page = "1", o.condition = O.encode(k.value);
46
- let a = { path: d.value.paging.route, query: o };
47
- v.push(a);
35
+ o.page = a, v.push({ path: d.value.paging.route, query: o });
36
+ }, B = () => {
37
+ let a = { ...f.query };
38
+ a.page = "1", a.condition = K.encode(k.value);
39
+ let o = { path: d.value.paging.route, query: a };
40
+ v.push(o);
48
41
  };
49
- return (o, a) => {
50
- const y = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), j = p("el-pagination");
51
- return l(), u("div", U, [
52
- h(e(H), {
53
- title: e(I)(o.module.type, o.module.name)
42
+ return (a, o) => {
43
+ const y = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), U = p("el-pagination");
44
+ return l(), u("div", O, [
45
+ h(e(G), {
46
+ title: e(H)(a.module.type, a.module.name)
54
47
  }, {
55
48
  operation: r(() => [
56
- s("div", W, [
49
+ s("div", Q, [
57
50
  s("a", {
58
- class: x({ active: e(c).fileLayout == "list" }),
59
- onClick: a[0] || (a[0] = (t) => e(C)("list"))
51
+ class: L({ active: e(c).fileLayout == "list" }),
52
+ onClick: o[0] || (o[0] = (t) => e(C)("list"))
60
53
  }, Y, 2),
61
54
  s("a", {
62
- class: x({ active: e(c).fileLayout == "image" }),
63
- onClick: a[1] || (a[1] = (t) => e(C)("image"))
55
+ class: L({ active: e(c).fileLayout == "image" }),
56
+ onClick: o[1] || (o[1] = (t) => e(C)("image"))
64
57
  }, ee, 2)
65
58
  ])
66
59
  ]),
67
60
  append: r(() => [
68
61
  e(c).fileLayout == "image" ? (l(), u("div", te, [
69
- (l(!0), u(L, null, q(e(b)[e(n).name], (t, $) => (l(), g(y, {
62
+ (l(!0), u($, null, q(e(b)[e(n).name], (t, x) => (l(), g(y, {
70
63
  class: "file",
71
64
  to: { path: e(d).detail.route, query: { id: t[e(n).key.name], m: e(f).query.m } },
72
- key: $
65
+ key: x
73
66
  }, {
74
67
  default: r(() => [
75
- s("div", oe, [
68
+ s("div", ae, [
76
69
  s("img", {
77
70
  src: t[e(i).url],
78
71
  alt: ""
79
- }, null, 8, ae)
72
+ }, null, 8, oe)
80
73
  ]),
81
74
  s("div", le, _(t[e(i).name]), 1)
82
75
  ]),
@@ -89,10 +82,10 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
89
82
  data: e(b)[e(n).name]
90
83
  }, {
91
84
  empty: r(() => [
92
- w(_(e(K)("common.no_data")), 1)
85
+ w(_(e(I)("common.no_data")), 1)
93
86
  ]),
94
87
  default: r(() => [
95
- (l(!0), u(L, null, q(e(n).show, (t, $) => (l(), g(D, {
88
+ (l(!0), u($, null, q(e(n).show, (t, x) => (l(), g(D, {
96
89
  "show-overflow-tooltip": "",
97
90
  sortable: e(n) ? "custom" : !1,
98
91
  "min-width": "180",
@@ -119,12 +112,12 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
119
112
  }, 8, ["data"])) : (l(), u("div", ie, "未支持的文件布局:" + _(e(c).fileLayout), 1))
120
113
  ]),
121
114
  default: r(() => [
122
- e(n).search.length > 0 ? (l(), g(Q, {
115
+ e(n).search.length > 0 ? (l(), g(M, {
123
116
  key: 0,
124
- schema: e(F),
117
+ schema: e(N),
125
118
  table: e(n),
126
119
  search: e(k),
127
- onSubmit: e(V)
120
+ onSubmit: e(B)
128
121
  }, null, 8, ["schema", "table", "search", "onSubmit"])) : S("", !0)
129
122
  ]),
130
123
  _: 1
@@ -145,18 +138,18 @@ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = /* @__PURE__ *
145
138
  ]),
146
139
  _: 1
147
140
  }),
148
- h(j, {
141
+ h(U, {
149
142
  background: "",
150
143
  layout: "total, prev, pager, next, jumper",
151
144
  "current-page": e(i).page,
152
145
  "page-size": e(i).pageSize,
153
146
  total: e(i).count,
154
- onCurrentChange: e(N)
147
+ onCurrentChange: e(V)
155
148
  }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
156
149
  ]);
157
150
  };
158
151
  }
159
152
  });
160
153
  export {
161
- Ce as default
154
+ fe as default
162
155
  };
@@ -0,0 +1,9 @@
1
+ import { e } from "./main-RFuk2-Bk.js";
2
+ const r = {};
3
+ function c(n, t) {
4
+ return null;
5
+ }
6
+ const o = /* @__PURE__ */ e(r, [["render", c]]);
7
+ export {
8
+ o as default
9
+ };
@@ -0,0 +1,4 @@
1
+ import { Z as f } from "./main-RFuk2-Bk.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_style_index_0_lang-DYwz3Eu2.js";
1
+ import { _ as f } from "./Index.vue_vue_type_style_index_0_lang-AFTrgrBJ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,4 @@
1
+ import { m } from "./main-RFuk2-Bk.js";
2
+ export {
3
+ m as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./main-RFuk2-Bk.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,70 @@
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 { X as N, U as x } from "./main-RFuk2-Bk.js";
3
+ const A = /* @__PURE__ */ C({
4
+ __name: "Index",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ config: {}
12
+ },
13
+ emits: ["submit", "change"],
14
+ setup(V, { emit: B }) {
15
+ let g = U(() => import("./TextLink-DIHx9sjo.js")), k = V, { schema: u, table: s, field: l, set: d, row: a, config: m } = D(k), i = p(() => {
16
+ let o = l.value.control.type;
17
+ return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
18
+ }), _ = p(() => `text-${N.getDashName(i.value)}`), t = p({
19
+ get() {
20
+ return a.value[l.value.name];
21
+ },
22
+ set(o) {
23
+ a.value[l.value.name] = o;
24
+ }
25
+ });
26
+ return (o, n) => e(l).link ? (c(), f(e(g), {
27
+ key: 0,
28
+ schema: e(u),
29
+ table: e(s),
30
+ field: e(l),
31
+ set: e(d),
32
+ row: e(a)
33
+ }, {
34
+ default: v(() => [
35
+ (c(), f(y(e(_)), {
36
+ schema: e(u),
37
+ table: e(s),
38
+ field: e(l),
39
+ set: e(d),
40
+ row: e(a),
41
+ modelValue: e(t),
42
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => b(t) ? t.value = r : t = r)
43
+ }, {
44
+ default: v(() => [
45
+ w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
46
+ ]),
47
+ _: 1
48
+ }, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
49
+ ]),
50
+ _: 1
51
+ }, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(y(e(_)), {
52
+ key: 1,
53
+ schema: e(u),
54
+ table: e(s),
55
+ field: e(l),
56
+ set: e(d),
57
+ row: e(a),
58
+ modelValue: e(t),
59
+ "onUpdate:modelValue": n[1] || (n[1] = (r) => b(t) ? t.value = r : t = r)
60
+ }, {
61
+ default: v(() => [
62
+ w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
63
+ ]),
64
+ _: 1
65
+ }, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
66
+ }
67
+ });
68
+ export {
69
+ A as default
70
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-B93cecQQ.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-CCvdKImo.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,173 @@
1
+ import { defineComponent as H, ref as u, onMounted as P, computed as S, watch as D, resolveComponent as c, openBlock as d, createElementBlock as U, createVNode as g, unref as l, withCtx as p, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as C, isRef as $, withKeys as L, normalizeClass as G, withModifiers as Q, createTextVNode as T, Fragment as W, renderList as X, nextTick as I } from "vue";
2
+ import { useRoute as Z } from "vue-router";
3
+ import { G as J, j as w, P as Y, U as i, X as ee, $ as K, W as te, r as M, I as le } from "./main-RFuk2-Bk.js";
4
+ const oe = { class: "login-container" }, re = { class: "title-container" }, se = { class: "title" }, ne = /* @__PURE__ */ n("span", { class: "svg-container" }, [
5
+ /* @__PURE__ */ n("i", { class: "fa fa-user" })
6
+ ], -1), ae = /* @__PURE__ */ n("span", { class: "svg-container" }, [
7
+ /* @__PURE__ */ n("i", { class: "fa fa-key" })
8
+ ], -1), ie = { class: "btn-others" }, ue = ["href"], de = ["innerHTML"], _e = /* @__PURE__ */ H({
9
+ __name: "Index",
10
+ setup(fe) {
11
+ let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), _ = u(!1), R = u(), V = u(), h = u(), x = Z(), F = {
12
+ id: [{
13
+ required: !0,
14
+ trigger: "blur",
15
+ validator: (t, e, r) => {
16
+ e ? e.indexOf("@") > -1 ? ee.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
17
+ }
18
+ }]
19
+ // secret: [{required: true, trigger: 'blur', validator: validateSecret}]
20
+ }, N = (t) => {
21
+ t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? s.value = !0 : s.value = !1), t.key == "CapsLock" && s.value == !0 && (s.value = !1);
22
+ }, B = () => {
23
+ f.value == "password" ? f.value = "" : f.value = "password", I(() => {
24
+ h.value.focus();
25
+ });
26
+ }, E = async (t) => {
27
+ _.value = !0, R.value.validate(async (e) => {
28
+ if (!e)
29
+ return _.value = !1, !1;
30
+ (await K.sso.create(t)).login(a.value).then(({ data: m }) => {
31
+ te.getBackUrl() ? M.toBackUrl() : M.to("/");
32
+ }).finally(() => {
33
+ I(() => {
34
+ _.value = !1;
35
+ });
36
+ });
37
+ });
38
+ }, O = async (t) => {
39
+ let e = await K.sso.create(t), r = x.query.return_url, m = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${r}`;
40
+ return e.loginUrl(le.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(m));
41
+ }, q = (t) => Object.keys(t).reduce((e, r) => (e[r] = t[r], e), {});
42
+ P(async () => {
43
+ J.setI18nTitle("common.login");
44
+ for (let t = 0; t < w.ssos.length; t++) {
45
+ let e = w.ssos[t];
46
+ e.loginUrl = await O(e.type);
47
+ }
48
+ y.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && h.value.focus());
49
+ });
50
+ let y = S(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
51
+ return D(() => x, (t) => {
52
+ debugger;
53
+ const e = t.query;
54
+ e && q(e);
55
+ }), (t, e) => {
56
+ const r = c("el-input"), m = c("el-form-item"), b = c("el-tooltip"), A = c("el-button"), j = c("router-link"), z = c("el-form");
57
+ return d(), U("div", oe, [
58
+ g(z, {
59
+ ref_key: "loginFormRef",
60
+ ref: R,
61
+ autocomplete: "on",
62
+ "label-position": "left",
63
+ model: l(a),
64
+ rules: l(F)
65
+ }, {
66
+ default: p(() => [
67
+ n("div", re, [
68
+ n("h3", se, k(l(Y)("title")), 1)
69
+ ]),
70
+ l(y) ? (d(), v(m, {
71
+ key: 0,
72
+ prop: "id"
73
+ }, {
74
+ default: p(() => [
75
+ ne,
76
+ g(r, {
77
+ ref_key: "idRef",
78
+ ref: V,
79
+ placeholder: l(i)("common.username_or_email"),
80
+ name: "id",
81
+ type: "text",
82
+ tabindex: "1",
83
+ autocomplete: "on",
84
+ modelValue: l(a).id,
85
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => l(a).id = o)
86
+ }, null, 8, ["placeholder", "modelValue"])
87
+ ]),
88
+ _: 1
89
+ })) : C("", !0),
90
+ l(y) ? (d(), v(b, {
91
+ key: 1,
92
+ content: "Caps lock is On",
93
+ placement: "right",
94
+ manual: "",
95
+ modelValue: l(s),
96
+ "onUpdate:modelValue": e[5] || (e[5] = (o) => $(s) ? s.value = o : s = o)
97
+ }, {
98
+ default: p(() => [
99
+ g(m, { prop: "secret" }, {
100
+ default: p(() => [
101
+ ae,
102
+ (d(), v(r, {
103
+ ref_key: "secretRef",
104
+ ref: h,
105
+ key: l(f),
106
+ type: l(f),
107
+ placeholder: l(i)("common.password"),
108
+ name: "secret",
109
+ tabindex: "2",
110
+ autocomplete: "on",
111
+ onKeyup: [
112
+ L(l(N), ["native"]),
113
+ e[2] || (e[2] = L((o) => l(E)("Bearer"), ["enter", "native"]))
114
+ ],
115
+ onBlur: e[1] || (e[1] = (o) => $(s) ? s.value = !1 : s = !1),
116
+ modelValue: l(a).secret,
117
+ "onUpdate:modelValue": e[3] || (e[3] = (o) => l(a).secret = o)
118
+ }, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
119
+ n("span", {
120
+ class: "btn-pwd",
121
+ onClick: e[4] || (e[4] = //@ts-ignore
122
+ (...o) => l(B) && l(B)(...o))
123
+ }, [
124
+ n("i", {
125
+ class: G(l(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
126
+ }, null, 2)
127
+ ])
128
+ ]),
129
+ _: 1
130
+ })
131
+ ]),
132
+ _: 1
133
+ }, 8, ["modelValue"])) : C("", !0),
134
+ l(y) ? (d(), v(A, {
135
+ key: 2,
136
+ type: "primary",
137
+ class: "btn-login",
138
+ loading: l(_),
139
+ onClick: e[6] || (e[6] = Q((o) => l(E)("Bearer"), ["prevent"]))
140
+ }, {
141
+ default: p(() => [
142
+ T(k(l(i)("common.login")), 1)
143
+ ]),
144
+ _: 1
145
+ }, 8, ["loading"])) : C("", !0),
146
+ n("div", ie, [
147
+ (d(!0), U(W, null, X(l(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), U("a", {
148
+ href: o.loginUrl
149
+ }, k(l(i)(o.text)), 9, ue))), 256)),
150
+ g(j, {
151
+ class: "btn-register",
152
+ to: "/register"
153
+ }, {
154
+ default: p(() => [
155
+ T(k(l(i)("common.register")), 1)
156
+ ]),
157
+ _: 1
158
+ })
159
+ ])
160
+ ]),
161
+ _: 1
162
+ }, 8, ["model", "rules"]),
163
+ n("div", {
164
+ class: "powered-by",
165
+ innerHTML: l(i)("sys.powered_by")
166
+ }, null, 8, de)
167
+ ]);
168
+ };
169
+ }
170
+ });
171
+ export {
172
+ _e as default
173
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-DZdvfweh.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-BzE42p5R.js";
2
2
  export {
3
3
  f as default
4
4
  };