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,63 +0,0 @@
1
- import { defineComponent as x, toRefs as g, ref as y, resolveComponent as B, openBlock as D, createElementBlock as N, createElementVNode as i, toDisplayString as o, unref as e, createVNode as a, withCtx as m, createTextVNode as d } 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 { t as l, h as V, m as w, r as E } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const S = { class: "delete" }, q = { class: "delete-title" }, R = { class: "delete-buttons" }, K = /* @__PURE__ */ x({
11
- __name: "Delete",
12
- props: {
13
- base: {},
14
- route: {},
15
- url: {},
16
- win: {}
17
- },
18
- emits: ["navigate", "succeed", "close"],
19
- setup(u, { emit: p }) {
20
- let n = p, _ = u, { base: f, route: v } = g(_), s = y(), h = (t) => {
21
- s.value = t.next;
22
- };
23
- (() => {
24
- h(f.value.data);
25
- })();
26
- let k = () => {
27
- let t = [v.value.query.id];
28
- V.post(s.value.delete.route, t).then((c) => {
29
- w.success(c.message), C();
30
- });
31
- }, C = () => {
32
- E.toBackUrl(), n("succeed", "delete");
33
- }, b = () => {
34
- n("close");
35
- };
36
- return (t, c) => {
37
- const r = B("el-button");
38
- return D(), N("div", S, [
39
- i("div", q, o(e(l)("common.confirm_delete")), 1),
40
- i("div", R, [
41
- a(r, {
42
- type: "danger",
43
- onClick: e(k)
44
- }, {
45
- default: m(() => [
46
- d(o(e(l)("common.confirm")), 1)
47
- ]),
48
- _: 1
49
- }, 8, ["onClick"]),
50
- a(r, { onClick: e(b) }, {
51
- default: m(() => [
52
- d(o(e(l)("common.cancel")), 1)
53
- ]),
54
- _: 1
55
- }, 8, ["onClick"])
56
- ])
57
- ]);
58
- };
59
- }
60
- });
61
- export {
62
- K as default
63
- };
@@ -1,60 +0,0 @@
1
- import { defineComponent as g, toRefs as x, computed as o, resolveComponent as h, openBlock as r, createElementBlock as a, Fragment as V, renderList as S, unref as b, createBlock as k, normalizeStyle as B, withCtx as C, createTextVNode as N, toDisplayString as u, createCommentVNode as H } from "vue";
2
- import { p as s, S as w, A } from "./main-BS_9gx1M.js";
3
- import "./assets/clone-BZn0cTAu.js";
4
- import "./assets/file-saver-CwlpTZSc.js";
5
- import "./assets/@monaco-editor-BCDRi0Ti.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import "./assets/liquidjs-C-LVcoaY.js";
8
- const D = { class: "text-dictionary" }, E = {
9
- key: 0,
10
- class: "suffix"
11
- }, K = /* @__PURE__ */ g({
12
- __name: "Dictionary",
13
- props: {
14
- schema: {},
15
- table: {},
16
- field: {},
17
- set: {},
18
- row: {},
19
- modelValue: { type: [String, Number, Boolean] }
20
- },
21
- emits: ["submit", "change", "update:modelValue"],
22
- setup(i, { emit: p }) {
23
- let n = p, m = i, { table: T, field: c, set: z, modelValue: d } = x(m), t = o({
24
- get() {
25
- return d.value;
26
- },
27
- set(e) {
28
- n("update:modelValue", e), n("change", e);
29
- }
30
- }), f = o(() => {
31
- if (t.value == null)
32
- return [];
33
- if (s.isNumber(t.value))
34
- return [t.value];
35
- if (s.isBoolean(t.value))
36
- return [t.value];
37
- let e = t.value.toString();
38
- return w.isEmpty(e) ? [] : e.split(",");
39
- }), _ = o(() => A.fromValues(f.value, c.value.control.data.data, "value", "text"));
40
- return (e, F) => {
41
- const v = h("el-tag");
42
- return r(), a("div", D, [
43
- (r(!0), a(V, null, S(b(_), (l, y) => (r(), k(v, {
44
- type: "info",
45
- style: B({ color: l.color }),
46
- key: y
47
- }, {
48
- default: C(() => [
49
- N(u(l.text) + " ", 1),
50
- l.suffix ? (r(), a("span", E, "(" + u(l.suffix) + ")", 1)) : H("", !0)
51
- ]),
52
- _: 2
53
- }, 1032, ["style"]))), 128))
54
- ]);
55
- };
56
- }
57
- });
58
- export {
59
- K as default
60
- };
@@ -1,55 +0,0 @@
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 "./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 { g as K } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const z = /* @__PURE__ */ f({
11
- __name: "Email",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- emits: ["submit", "change", "update:modelValue"],
21
- setup(p, { emit: r }) {
22
- let l = r, n = p, { table: d, field: t, set: B, modelValue: u } = _(n), s = () => {
23
- l("submit");
24
- }, o = V({
25
- get() {
26
- return u.value;
27
- },
28
- set(a) {
29
- l("update:modelValue", a), l("change", a);
30
- }
31
- });
32
- return (a, m) => {
33
- const c = b("el-input");
34
- return h(), y(c, {
35
- type: "email",
36
- disabled: e(t).control.readonly,
37
- placeholder: e(K)(e(d).name, e(t).name),
38
- onKeyup: x(e(s), ["enter", "native"]),
39
- modelValue: e(o),
40
- "onUpdate:modelValue": m[0] || (m[0] = (i) => g(o) ? o.value = i : o = i)
41
- }, k({ _: 2 }, [
42
- e(t).suffix ? {
43
- name: "append",
44
- fn: v(() => [
45
- w(C(e(t).suffix), 1)
46
- ]),
47
- key: "0"
48
- } : void 0
49
- ]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
50
- };
51
- }
52
- });
53
- export {
54
- z as default
55
- };
@@ -1,9 +0,0 @@
1
- import { n as e } from "./main-BS_9gx1M.js";
2
- const n = {};
3
- function r(c, t) {
4
- return null;
5
- }
6
- const o = /* @__PURE__ */ e(n, [["render", r]]);
7
- export {
8
- o as default
9
- };
@@ -1,4 +0,0 @@
1
- import { a as f } from "./main-BS_9gx1M.js";
2
- export {
3
- f as default
4
- };
@@ -1,179 +0,0 @@
1
- import { defineComponent as z, ref as u, onMounted as j, computed as D, watch as P, resolveComponent as c, openBlock as d, createElementBlock as R, createVNode as g, unref as o, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as U, isRef as L, withKeys as T, normalizeClass as Q, withModifiers as W, createTextVNode as $, Fragment as Z, renderList as G, nextTick as S } from "vue";
2
- import { useRoute as J } from "vue-router";
3
- import "./assets/underscore-B0BCaBxV.js";
4
- import { i as X, y as w, W as Y, t as i, S as ee, R as F, U as te, r as K, w as oe } from "./main-BS_9gx1M.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/@monaco-editor-BCDRi0Ti.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const le = { class: "login-container" }, re = { class: "title-container" }, se = { class: "title" }, ne = /* @__PURE__ */ n("span", { class: "svg-container" }, [
11
- /* @__PURE__ */ n("i", { class: "fa fa-user" })
12
- ], -1), ae = /* @__PURE__ */ n("span", { class: "svg-container" }, [
13
- /* @__PURE__ */ n("i", { class: "fa fa-key" })
14
- ], -1), ie = { class: "btn-others" }, ue = ["href"], de = ["innerHTML"], he = /* @__PURE__ */ z({
15
- __name: "Index",
16
- setup(pe) {
17
- let a = u({ id: "", secret: "" }), p = u("password"), s = u(!1), _ = u(!1), C = u(), V = u(), h = u(), x = J(), H = {
18
- id: [{
19
- required: !0,
20
- trigger: "blur",
21
- validator: (t, e, r) => {
22
- 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")));
23
- }
24
- }]
25
- // secret: [{required: true, trigger: 'blur', validator: validateSecret}]
26
- }, M = (t) => {
27
- 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);
28
- }, B = () => {
29
- p.value == "password" ? p.value = "" : p.value = "password", S(() => {
30
- h.value.focus();
31
- });
32
- }, E = async (t) => {
33
- _.value = !0, C.value.validate(async (e) => {
34
- if (!e)
35
- return _.value = !1, !1;
36
- (await F.sso.create(t)).login(a.value).then(({ data: f }) => {
37
- te.getBackUrl() ? K.toBackUrl() : K.to("/");
38
- }).finally(() => {
39
- S(() => {
40
- _.value = !1;
41
- });
42
- });
43
- });
44
- }, N = async (t) => {
45
- let e = await F.sso.create(t), r = x.query.return_url, f = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${r}`;
46
- return e.loginUrl(oe.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(f));
47
- }, O = (t) => Object.keys(t).reduce((e, r) => (e[r] = t[r], e), {});
48
- j(async () => {
49
- X.setI18nTitle("common.login");
50
- for (let t = 0; t < w.ssos.length; t++) {
51
- let e = w.ssos[t];
52
- e.loginUrl = await N(e.type);
53
- }
54
- y.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && h.value.focus());
55
- });
56
- let y = D(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
57
- return P(() => x, (t) => {
58
- debugger;
59
- const e = t.query;
60
- e && O(e);
61
- }), (t, e) => {
62
- const r = c("el-input"), f = c("el-form-item"), b = c("el-tooltip"), q = c("el-button"), A = c("router-link"), I = c("el-form");
63
- return d(), R("div", le, [
64
- g(I, {
65
- ref_key: "loginFormRef",
66
- ref: C,
67
- autocomplete: "on",
68
- "label-position": "left",
69
- model: o(a),
70
- rules: o(H)
71
- }, {
72
- default: m(() => [
73
- n("div", re, [
74
- n("h3", se, k(o(Y)("title")), 1)
75
- ]),
76
- o(y) ? (d(), v(f, {
77
- key: 0,
78
- prop: "id"
79
- }, {
80
- default: m(() => [
81
- ne,
82
- g(r, {
83
- ref_key: "idRef",
84
- ref: V,
85
- placeholder: o(i)("common.username_or_email"),
86
- name: "id",
87
- type: "text",
88
- tabindex: "1",
89
- autocomplete: "on",
90
- modelValue: o(a).id,
91
- "onUpdate:modelValue": e[0] || (e[0] = (l) => o(a).id = l)
92
- }, null, 8, ["placeholder", "modelValue"])
93
- ]),
94
- _: 1
95
- })) : U("", !0),
96
- o(y) ? (d(), v(b, {
97
- key: 1,
98
- content: "Caps lock is On",
99
- placement: "right",
100
- manual: "",
101
- modelValue: o(s),
102
- "onUpdate:modelValue": e[5] || (e[5] = (l) => L(s) ? s.value = l : s = l)
103
- }, {
104
- default: m(() => [
105
- g(f, { prop: "secret" }, {
106
- default: m(() => [
107
- ae,
108
- (d(), v(r, {
109
- ref_key: "secretRef",
110
- ref: h,
111
- key: o(p),
112
- type: o(p),
113
- placeholder: o(i)("common.password"),
114
- name: "secret",
115
- tabindex: "2",
116
- autocomplete: "on",
117
- onKeyup: [
118
- T(o(M), ["native"]),
119
- e[2] || (e[2] = T((l) => o(E)("Bearer"), ["enter", "native"]))
120
- ],
121
- onBlur: e[1] || (e[1] = (l) => L(s) ? s.value = !1 : s = !1),
122
- modelValue: o(a).secret,
123
- "onUpdate:modelValue": e[3] || (e[3] = (l) => o(a).secret = l)
124
- }, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
125
- n("span", {
126
- class: "btn-pwd",
127
- onClick: e[4] || (e[4] = //@ts-ignore
128
- (...l) => o(B) && o(B)(...l))
129
- }, [
130
- n("i", {
131
- class: Q(o(p) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
132
- }, null, 2)
133
- ])
134
- ]),
135
- _: 1
136
- })
137
- ]),
138
- _: 1
139
- }, 8, ["modelValue"])) : U("", !0),
140
- o(y) ? (d(), v(q, {
141
- key: 2,
142
- type: "primary",
143
- class: "btn-login",
144
- loading: o(_),
145
- onClick: e[6] || (e[6] = W((l) => o(E)("Bearer"), ["prevent"]))
146
- }, {
147
- default: m(() => [
148
- $(k(o(i)("common.login")), 1)
149
- ]),
150
- _: 1
151
- }, 8, ["loading"])) : U("", !0),
152
- n("div", ie, [
153
- (d(!0), R(Z, null, G(o(w).ssos.filter((l) => l.type.toUpperCase() != "BEARER"), (l) => (d(), R("a", {
154
- href: l.loginUrl
155
- }, k(o(i)(l.text)), 9, ue))), 256)),
156
- g(A, {
157
- class: "btn-register",
158
- to: "/register"
159
- }, {
160
- default: m(() => [
161
- $(k(o(i)("common.register")), 1)
162
- ]),
163
- _: 1
164
- })
165
- ])
166
- ]),
167
- _: 1
168
- }, 8, ["model", "rules"]),
169
- n("div", {
170
- class: "powered-by",
171
- innerHTML: o(i)("sys.powered_by")
172
- }, null, 8, de)
173
- ]);
174
- };
175
- }
176
- });
177
- export {
178
- he as default
179
- };
@@ -1,4 +0,0 @@
1
- import { C as f } from "./main-BS_9gx1M.js";
2
- export {
3
- f as default
4
- };
@@ -1,76 +0,0 @@
1
- import { defineComponent as C, defineAsyncComponent as D, toRefs as N, computed as d, 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 "./assets/underscore-B0BCaBxV.js";
3
- import { S, t as x } from "./main-BS_9gx1M.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 "./assets/liquidjs-C-LVcoaY.js";
9
- const j = /* @__PURE__ */ C({
10
- __name: "Index",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- config: {}
18
- },
19
- emits: ["submit", "change"],
20
- setup(g, { emit: B }) {
21
- let V = D(() => import("./TextLink-XJurKE8Q.js")), k = g, { schema: u, table: s, field: l, set: i, row: r, config: n } = N(k), p = d(() => {
22
- let o = l.value.control.type;
23
- return n.value && n.value.control && n.value.control.type ? n.value.control.type : o;
24
- }), _ = d(() => `text-${S.getDashName(p.value)}`), t = d({
25
- get() {
26
- return r.value[l.value.name];
27
- },
28
- set(o) {
29
- r.value[l.value.name] = o;
30
- }
31
- });
32
- return (o, a) => e(l).link ? (c(), f(e(V), {
33
- key: 0,
34
- schema: e(u),
35
- table: e(s),
36
- field: e(l),
37
- set: e(i),
38
- row: e(r)
39
- }, {
40
- default: v(() => [
41
- (c(), f(y(e(_)), {
42
- schema: e(u),
43
- table: e(s),
44
- field: e(l),
45
- set: e(i),
46
- row: e(r),
47
- modelValue: e(t),
48
- "onUpdate:modelValue": a[0] || (a[0] = (m) => b(t) ? t.value = m : t = m)
49
- }, {
50
- default: v(() => [
51
- w("div", null, h(e(x)("common.unsupported_text_control", e(p))), 1)
52
- ]),
53
- _: 1
54
- }, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
55
- ]),
56
- _: 1
57
- }, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(y(e(_)), {
58
- key: 1,
59
- schema: e(u),
60
- table: e(s),
61
- field: e(l),
62
- set: e(i),
63
- row: e(r),
64
- modelValue: e(t),
65
- "onUpdate:modelValue": a[1] || (a[1] = (m) => b(t) ? t.value = m : t = m)
66
- }, {
67
- default: v(() => [
68
- w("div", null, h(e(x)("common.unsupported_text_control", e(p))), 1)
69
- ]),
70
- _: 1
71
- }, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
72
- }
73
- });
74
- export {
75
- j as default
76
- };
@@ -1,4 +0,0 @@
1
- import { Z as f } from "./main-BS_9gx1M.js";
2
- export {
3
- f as default
4
- };
@@ -1,47 +0,0 @@
1
- import { defineComponent as b, toRefs as f, computed as _, resolveComponent as V, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { S as K, g as k } from "./main-BS_9gx1M.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 "./assets/liquidjs-C-LVcoaY.js";
9
- const U = /* @__PURE__ */ b({
10
- __name: "Int",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(i, { emit: u }) {
21
- let o = u, p = i, { table: s, field: r, set: w, modelValue: a } = f(p), d = () => {
22
- o("submit");
23
- }, t = _({
24
- get() {
25
- if (K.isNumber(a.value))
26
- return a.value;
27
- },
28
- set(l) {
29
- o("update:modelValue", l), o("change", l);
30
- }
31
- });
32
- return (l, m) => {
33
- const c = V("el-input-number");
34
- return g(), h(c, {
35
- "aria-label": e(k)(e(s).name, e(r).name),
36
- "controls-position": "right",
37
- disabled: e(r).control.readonly,
38
- onKeyup: v(e(d), ["enter", "native"]),
39
- modelValue: e(t),
40
- "onUpdate:modelValue": m[0] || (m[0] = (n) => y(t) ? t.value = n : t = n)
41
- }, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
42
- };
43
- }
44
- });
45
- export {
46
- U as default
47
- };
@@ -1,80 +0,0 @@
1
- import { defineComponent as U, toRefs as B, ref as r, watch as E, openBlock as F, createBlock as H, resolveDynamicComponent as T, unref as t, withCtx as V, createElementVNode as $, toDisplayString as j } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { U as n, b as A, i as G, s as v, c as I } from "./main-BS_9gx1M.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/@monaco-editor-BCDRi0Ti.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const J = { class: "not-support" }, le = /* @__PURE__ */ U({
11
- __name: "List",
12
- props: {
13
- base: {},
14
- route: {},
15
- url: {},
16
- win: {}
17
- },
18
- emits: ["load", "navigate"],
19
- setup(_, { expose: S, emit: P }) {
20
- let d = P, k = _, { url: h, base: p, route: u } = B(k), f = r(), i = r(), s = r(), y = r(), g = r(), o = r(), c = r(), q = (e) => {
21
- let l = n.getPath(e), a = n.getPath(h.value);
22
- return l != a;
23
- }, C = (e) => {
24
- let l = n.getPath(h.value), a = n.getPath(e);
25
- return l != a;
26
- }, x = (e) => {
27
- var a;
28
- let l = A(e.module.type, e.module.name);
29
- G.setTitle(l, e.module.env), f.value = e.module, i.value = v.expandSchema(e.schema), s.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = v.expandSet(e.schema, e.set), c.value = v.getConditionForm(i.value, u.value.query.condition);
30
- }, m = (e = null, l = null) => {
31
- let a = e ?? u.value.query, N = n.getUrl(u.value.path, a);
32
- d("load", N, !1, l);
33
- }, R = (e) => {
34
- m(null, e);
35
- }, w = (e) => {
36
- d("navigate", e);
37
- }, D = async (e) => {
38
- let l = u.value.query;
39
- l.condition = I.encode(c.value), m(l, e);
40
- }, b = () => {
41
- m();
42
- }, z = (e, l) => {
43
- if (!o.value || !o.value.keyboard)
44
- return !1;
45
- o.value.keyboard(e, l);
46
- }, L = (e) => {
47
- if (!o.value || !o.value.resize)
48
- return !1;
49
- o.value.resize(e);
50
- };
51
- return (() => {
52
- x(p.value.data);
53
- })(), E(() => p.value, (e) => {
54
- x(e.data);
55
- }), S({ shouldLoad: q, shouldSpin: C, refresh: b, keyboard: z, resize: L }), (e, l) => (F(), H(T(`list-${t(s).layouts[0].type.toLowerCase()}`), {
56
- ref_key: "listRef",
57
- ref: o,
58
- route: t(u),
59
- module: t(f),
60
- schema: t(i),
61
- table: t(s),
62
- layout: t(s).layouts[0],
63
- next: t(y),
64
- set: t(g),
65
- "search-data": t(c),
66
- onSucceed: t(R),
67
- onSearch: t(D),
68
- onNavigate: t(w),
69
- onRefresh: t(b)
70
- }, {
71
- default: V(() => [
72
- $("div", J, "未支持的列表布局方式:" + j(t(s).layouts[0].type), 1)
73
- ]),
74
- _: 1
75
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
76
- }
77
- });
78
- export {
79
- le as default
80
- };
@@ -1,21 +0,0 @@
1
- import { defineComponent as e, openBlock as o, createElementBlock as i, createElementVNode as t, toDisplayString as n, unref 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 { y as s } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const c = { class: "maintenance" }, m = /* @__PURE__ */ t("div", { class: "title" }, "系统维护中", -1), p = { class: "description" }, B = /* @__PURE__ */ e({
11
- __name: "Maintaince",
12
- setup(a) {
13
- return (_, d) => (o(), i("div", c, [
14
- m,
15
- t("div", p, n(r(s)), 1)
16
- ]));
17
- }
18
- });
19
- export {
20
- B as default
21
- };
@@ -1,44 +0,0 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } 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 { j as Y } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const U = /* @__PURE__ */ c({
11
- __name: "Month",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- searchData: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(p, { emit: d }) {
21
- let l = d, n = p, { table: i, field: a, searchData: g, modelValue: u } = f(n), o = _({
22
- get() {
23
- return u.value;
24
- },
25
- set(t) {
26
- l("update:modelValue", t), l("change", t);
27
- }
28
- });
29
- return (t, m) => {
30
- const s = h("el-date-picker");
31
- return V(), b(s, {
32
- type: "month",
33
- placeholder: e(Y)(e(i).name, e(a).name),
34
- "value-format": "YYYY-MM",
35
- disabled: e(a).control.readonly,
36
- modelValue: e(o),
37
- "onUpdate:modelValue": m[0] || (m[0] = (r) => k(o) ? o.value = r : o = r)
38
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
39
- };
40
- }
41
- });
42
- export {
43
- U as default
44
- };