halo-pc 1.0.36 → 1.0.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. package/dist/{Article-CSL7LnKj.js → Article-H_clf90b.js} +56 -59
  2. package/dist/{ArticleFooter-_CUySAZu.js → ArticleFooter-BLi4TNA7.js} +3 -4
  3. package/dist/Autocomplete-BF9x0F4f.js +49 -0
  4. package/dist/{Autocomplete-BTBqlR6B.js → Autocomplete-CcIzTPSr.js} +11 -12
  5. package/dist/{Autocomplete-CIRk6M3c.js → Autocomplete-DMm6oI1g.js} +1 -1
  6. package/dist/{CSharp-CMmXPS2i.js → CSharp-CZOchOE-.js} +1 -1
  7. package/dist/Calender-BoQV7bhA.js +10 -0
  8. package/dist/Callback-79Bw4RwY.js +20 -0
  9. package/dist/Cascader-D1Ou5OSg.js +41 -0
  10. package/dist/{Cascader-CeQ0jUxU.js → Cascader-DMhl98vw.js} +25 -26
  11. package/dist/{Checkbox-Fddc4Zgy.js → Checkbox-C6t6S7ii.js} +1 -1
  12. package/dist/{Checkbox--pNX7Slb.js → Checkbox-DtrXMDBR.js} +13 -14
  13. package/dist/Code-B8ISTTYK.js +54 -0
  14. package/dist/Code-BMlBvnqa.js +4 -0
  15. package/dist/{Code-C6A3DOQp.js → Code-DDacfgvl.js} +1 -1
  16. package/dist/Code-DIGn8Raz.js +36 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +57 -0
  18. package/dist/Column-DjA11efs.js +69 -0
  19. package/dist/{Comment-T5XWLthu.js → Comment-Ixu0gPk3.js} +29 -35
  20. package/dist/{Compare-KV2Q7Tb7.js → Compare-C1uq4lgK.js} +7 -8
  21. package/dist/{Compare-jjtb6UdZ.js → Compare-NN40QJWm.js} +9 -10
  22. package/dist/{Copy-Ck1HeTdy.js → Copy-BcfSvyWG.js} +11 -12
  23. package/dist/Custom-Dn9_vPuD.js +58 -0
  24. package/dist/{DataExport-BY1fIwSd.js → DataExport-DNGgWqsx.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js → DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js} +24 -25
  26. package/dist/{DataImport--xUxoWAq.js → DataImport-CI9eM5T1.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js → DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js} +39 -40
  28. package/dist/{Date-C3H04U5q.js → Date-CGyzi8yX.js} +1 -1
  29. package/dist/{Date-DRk7BsnD.js → Date-CZGbZKjB.js} +8 -9
  30. package/dist/{DateRange-CICZ9gVp.js → DateRange-MbbkmZ_Y.js} +9 -10
  31. package/dist/{DateTime-DXHkaHtE.js → DateTime-DHrHmRLL.js} +1 -1
  32. package/dist/{DateTime-CjTCtAm4.js → DateTime-DqUOXGWH.js} +8 -9
  33. package/dist/{DateTimeRange-CuEYJBUE.js → DateTimeRange-DgXQkZLx.js} +11 -12
  34. package/dist/{Daterange-cmpjJVxl.js → Daterange-DLHJuRur.js} +8 -9
  35. package/dist/{Decimal-BzR8o8bv.js → Decimal-BUJuuvfr.js} +1 -1
  36. package/dist/{Delete-B2VzOnk8.js → Delete-BGMk0orl.js} +19 -20
  37. package/dist/{Detail-ayakHymC.js → Detail-D4KzWdHQ.js} +7 -8
  38. package/dist/Dictionary-Esd3ERAq.js +55 -0
  39. package/dist/{Email-BbipkOFP.js → Email-C9K09hwC.js} +9 -10
  40. package/dist/{File-B131KRit.js → File-ai1eYO7v.js} +49 -50
  41. package/dist/Image-CfY4G1Yn.js +9 -0
  42. package/dist/{Index-BnudlpyF.js → Index-B5o7uf36.js} +15 -16
  43. package/dist/Index-CH3nwnPZ.js +4 -0
  44. package/dist/Index-CTjDkp7e.js +4 -0
  45. package/dist/Index-DSZ8wa7U.js +4 -0
  46. package/dist/Index-DVdiF3gr.js +4 -0
  47. package/dist/{Index-Bps1k5-m.js → Index-DYHrSEZ5.js} +1 -1
  48. package/dist/Index-DsZPtDYE.js +173 -0
  49. package/dist/{Index-B20QLMmF.js → Index-S1btGSGD.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js → Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js} +8 -9
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js → Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js} +19 -27
  52. package/dist/{Install-BnCA1XK8.js → Install-D-MgafyF.js} +13 -14
  53. package/dist/{Int-BSA4Srky.js → Int-CnvfCxgn.js} +9 -10
  54. package/dist/{Int-BlwraOyw.js → Int-D3RqVcmN.js} +13 -14
  55. package/dist/List-DA4SO_le.js +71 -0
  56. package/dist/Maintaince-BIgEbjrq.js +14 -0
  57. package/dist/{Markdown-Can2d8HC.js → Markdown-hax8By5O.js} +1 -1
  58. package/dist/Month-5lTUiWin.js +37 -0
  59. package/dist/{Month-ClTpaaAr.js → Month-BDkwv-vc.js} +12 -13
  60. package/dist/{Month-Dyt_wc8r.js → Month-CnVTSnyK.js} +1 -1
  61. package/dist/{Normal-DBRpkCNs.js → Normal-DoE9t7d7.js} +73 -74
  62. package/dist/Paging-5qsCTRWy.js +92 -0
  63. package/dist/{PagingHeader-BQ-8s0NC.js → PagingHeader-BFtE6jSy.js} +35 -36
  64. package/dist/{PagingRow-CqAYVjxH.js → PagingRow-CSB-kwMz.js} +19 -20
  65. package/dist/{Racebar-BhRmArVA.js → Racebar-Bc-dDRss.js} +26 -32
  66. package/dist/{Radio-DCVAYEgh.js → Radio-CMGOtMnx.js} +1 -1
  67. package/dist/{Register-Dr5HF0B6.js → Register-8wi0uixs.js} +54 -55
  68. package/dist/RichText-BR4Kvx0J.js +41 -0
  69. package/dist/{SearchFooter-D02JAZez.js → SearchFooter-DOC21dmS.js} +1 -1
  70. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js → SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js} +3 -3
  71. package/dist/{SearchForm-DhrX5Akr.js → SearchForm-BMTSPce_.js} +1 -1
  72. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js → SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js} +38 -41
  73. package/dist/{Select-ChwyjjbN.js → Select-DAxdpZlO.js} +8 -9
  74. package/dist/{Select-DK5-x-rC.js → Select-DnFyey0n.js} +23 -24
  75. package/dist/{Select-CaGb3SAi.js → Select-MBD4Simw.js} +1 -1
  76. package/dist/{Single-DIyLnILS.js → Single-D6x6VV_B.js} +85 -88
  77. package/dist/{Statistic-ArzDDFwp.js → Statistic-BS_DA72m.js} +22 -23
  78. package/dist/{Stock-DapT2McI.js → Stock-CbucObTu.js} +1 -1
  79. package/dist/{Stock-CsVIZtQ4.js → Stock-CtmevqBK.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-JABRw23-.js → Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js} +12 -13
  81. package/dist/{Switch-B0VJc80B.js → Switch-BlXAy9qH.js} +1 -1
  82. package/dist/{Table-C5kHBVpV.js → Table-CqsfAMh7.js} +84 -87
  83. package/dist/{Table-Cwe8QuVi.js → Table-Da9gan1Y.js} +78 -79
  84. package/dist/Text-C72NLZMt.js +48 -0
  85. package/dist/Text-CHvsKR9H.js +4 -0
  86. package/dist/{Text-CK1PT6x8.js → Text-CbZlEVTJ.js} +10 -11
  87. package/dist/Text.vue_vue_type_style_index_0_lang-aMaBccpg.js +53 -0
  88. package/dist/{TextLink-Bn_Z4Ajl.js → TextLink-SAnZ7BfX.js} +10 -11
  89. package/dist/{Textarea-C6Pi4p9b.js → Textarea-DphCUpXp.js} +1 -1
  90. package/dist/{Time-DWG3pwjK.js → Time-DjE8yYdK.js} +10 -11
  91. package/dist/{Timeline-Bqq3rFbX.js → Timeline-D11vjkpZ.js} +13 -19
  92. package/dist/Tree-DK73Ou_F.js +117 -0
  93. package/dist/{Tree-CU2UHknq.js → Tree-kich05vY.js} +99 -102
  94. package/dist/{TreeNode-DD-YfbgL.js → TreeNode-Dx6cZ31Z.js} +10 -11
  95. package/dist/{Update-BdbT4B2n.js → Update-D2Plm_AG.js} +14 -15
  96. package/dist/{UpdateChild-CVgQs6_A.js → UpdateChild-BXV7QqaP.js} +20 -21
  97. package/dist/{Upload-CKHSikDI.js → Upload-B87EDynn.js} +44 -45
  98. package/dist/Upload-CHPjMGFZ.js +65 -0
  99. package/dist/{Year-nGY1S5_T.js → Year-BPFmIiPX.js} +1 -1
  100. package/dist/{Year-CnA4ZUPj.js → Year-C93IJgc8.js} +8 -9
  101. package/dist/assets/{clipboard-DjQPoCBJ.js → clipboard-ClN4QccS.js} +1 -3
  102. package/dist/main-nvsTmKXH.js +16321 -0
  103. package/dist/main.js +137 -136
  104. package/dist/style.css +1 -1
  105. package/esm/coms/business/Form.vue.d.ts +2 -1
  106. package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
  107. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
  108. package/esm/coms/drivers/@types/KindFormProps.d.ts +3 -6
  109. package/esm/coms/drivers/@types/index.d.ts +3 -1
  110. package/esm/coms/drivers/Index.vue.d.ts +26 -29
  111. package/esm/coms/drivers/Kind.vue.d.ts +8 -8
  112. package/esm/coms/layouts/Index.vue.d.ts +7 -3
  113. package/esm/coms/layouts/Side.vue.d.ts +5 -2
  114. package/esm/coms/layouts/Top.vue.d.ts +4 -1
  115. package/esm/coms/lists/Tree.vue.d.ts +2 -1
  116. package/esm/coms/pages/@types/index.d.ts +1 -2
  117. package/esm/coms/pages/Custom.vue.d.ts +2 -1
  118. package/esm/coms/pages/List.vue.d.ts +1 -1
  119. package/esm/coms/pages/Paging.vue.d.ts +2 -1
  120. package/esm/coms/pages/Single.vue.d.ts +2 -1
  121. package/esm/coms/pagings/Article.vue.d.ts +2 -1
  122. package/esm/coms/pagings/Index.vue.d.ts +2 -1
  123. package/esm/coms/pagings/Table.vue.d.ts +2 -1
  124. package/esm/coms/searches/Text.vue.d.ts +5 -7
  125. package/esm/svcs/ModuleSvc.d.ts +40 -0
  126. package/esm/svcs/index.d.ts +3 -3
  127. package/package.json +9 -9
  128. package/dist/Autocomplete-Buw1Hs35.js +0 -50
  129. package/dist/Calender-P8tmSbW2.js +0 -10
  130. package/dist/Callback-SEWVfpG_.js +0 -21
  131. package/dist/Cascader-DWNTommi.js +0 -47
  132. package/dist/Code-CQSTwwc4.js +0 -4
  133. package/dist/Code-CXMdFELH.js +0 -42
  134. package/dist/Code-THGJ7IzI.js +0 -60
  135. package/dist/Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js +0 -63
  136. package/dist/Column-CucHIBYv.js +0 -75
  137. package/dist/Custom-CkyWaXAB.js +0 -61
  138. package/dist/Dictionary-BiSpx7nU.js +0 -61
  139. package/dist/Image-Cb1PzLpD.js +0 -9
  140. package/dist/Index-2vdi0Nq0.js +0 -4
  141. package/dist/Index-BOKSKn0N.js +0 -4
  142. package/dist/Index-CymZGuJo.js +0 -174
  143. package/dist/Index-Cz0Ti6rP.js +0 -4
  144. package/dist/Index-Dhg6Vts6.js +0 -4
  145. package/dist/List-BnT_8B_q.js +0 -74
  146. package/dist/Maintaince-CwL7tseR.js +0 -20
  147. package/dist/Month-CRmTCjQr.js +0 -38
  148. package/dist/Paging-ByJhfHCh.js +0 -95
  149. package/dist/RichText-Dj93TxtW.js +0 -47
  150. package/dist/Text-D2P-_cQT.js +0 -54
  151. package/dist/Text-oKVRjuSR.js +0 -4
  152. package/dist/Text.vue_vue_type_style_index_0_lang-epPB32IU.js +0 -59
  153. package/dist/Tree-DRUGEHR3.js +0 -123
  154. package/dist/Upload-BCGGzOTn.js +0 -71
  155. package/dist/assets/clone-BZn0cTAu.js +0 -134
  156. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  157. package/dist/assets/liquidjs-C2HVw1Ra.js +0 -2901
  158. package/dist/assets/moment-h96o7c8I.js +0 -2578
  159. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  160. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  161. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  162. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  163. package/dist/main-BLb5AIWJ.js +0 -10249
@@ -1,61 +0,0 @@
1
- import { defineComponent as L, toRefs as B, ref as u, openBlock as i, createBlock as s, KeepAlive as H, resolveDynamicComponent as N, unref as r } from "vue";
2
- import { U as f, m as A, t as D } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const V = /* @__PURE__ */ L({
5
- __name: "Custom",
6
- props: {
7
- view: {},
8
- url: {},
9
- win: {}
10
- },
11
- emits: ["loaded", "navigate"],
12
- setup(v, { expose: d, emit: m }) {
13
- let o = m, c = v, { url: a, win: p, view: h } = B(c), t = u(), g = u({}), k = (e) => {
14
- var n;
15
- let l = (n = t.value) == null ? void 0 : n.beforeClose;
16
- l && l(e);
17
- }, w = (e) => {
18
- t.value == null || t.value.resize == null || t.value.resize(e);
19
- }, C = (e) => !0, b = (e) => !0, y = () => {
20
- var l;
21
- let e = (l = t.value) == null ? void 0 : l.refresh;
22
- if (!e) {
23
- let n = f.url.getPath(a.value);
24
- A.notify(D("common.tips"), `要实现自定义刷新功能,请在组件 ${n} 内部定义并暴露refresh方法即可`, "warning");
25
- return;
26
- }
27
- e();
28
- }, _ = (e, l) => {
29
- if (!t.value || !t.value.keyboard)
30
- return !1;
31
- t.value.keyboard(e, l);
32
- }, x = (e) => {
33
- t.value.socketHandler(e);
34
- }, R = (e) => {
35
- if (e == null)
36
- return;
37
- let l = g.value;
38
- if (l[a.value] != null) {
39
- t.value = l[a.value];
40
- return;
41
- }
42
- f.dictionary.containsValue(l, e) || (l[a.value] = e, t.value = e);
43
- }, U = (e) => {
44
- o("loaded", e);
45
- }, z = (e) => {
46
- o("navigate", e);
47
- };
48
- return d({ shouldLoad: C, shouldSpin: b, refresh: y, beforeClose: k, keyboard: _, resize: w, socketHandler: x }), (e, l) => (i(), s(H, null, [
49
- (i(), s(N(r(h)), {
50
- ref: r(R),
51
- url: r(a),
52
- win: r(p),
53
- onLoaded: r(U),
54
- onNavigate: r(z)
55
- }, null, 40, ["url", "win", "onLoaded", "onNavigate"]))
56
- ], 1024));
57
- }
58
- });
59
- export {
60
- V as default
61
- };
@@ -1,61 +0,0 @@
1
- import { defineComponent as g, toRefs as x, computed as a, resolveComponent as h, openBlock as r, createElementBlock as n, Fragment as V, renderList as b, unref as k, createBlock as B, normalizeStyle as C, withCtx as N, createTextVNode as S, toDisplayString as s, createCommentVNode as w } from "vue";
2
- import { U as o } from "./main-BLb5AIWJ.js";
3
- import "./assets/liquidjs-C2HVw1Ra.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- const D = { class: "text-dictionary" }, E = {
10
- key: 0,
11
- class: "suffix"
12
- }, I = /* @__PURE__ */ g({
13
- __name: "Dictionary",
14
- props: {
15
- schema: {},
16
- table: {},
17
- field: {},
18
- set: {},
19
- row: {},
20
- modelValue: { type: [String, Number, Boolean] }
21
- },
22
- emits: ["submit", "change", "update:modelValue"],
23
- setup(i, { emit: m }) {
24
- let u = m, p = i, { table: U, field: c, set: z, modelValue: d } = x(p), t = a({
25
- get() {
26
- return d.value;
27
- },
28
- set(e) {
29
- u("update:modelValue", e), u("change", e);
30
- }
31
- }), f = a(() => {
32
- if (t.value == null)
33
- return [];
34
- if (o.type.isNumber(t.value))
35
- return [t.value];
36
- if (o.type.isBoolean(t.value))
37
- return [t.value];
38
- let e = t.value.toString();
39
- return o.string.isEmpty(e) ? [] : e.split(",");
40
- }), y = a(() => o.array.fromValues(f.value, c.value.control.data.data, "value", "text"));
41
- return (e, F) => {
42
- const _ = h("el-tag");
43
- return r(), n("div", D, [
44
- (r(!0), n(V, null, b(k(y), (l, v) => (r(), B(_, {
45
- type: "info",
46
- style: C({ color: l.color }),
47
- key: v
48
- }, {
49
- default: N(() => [
50
- S(s(l.text) + " ", 1),
51
- l.suffix ? (r(), n("span", E, "(" + s(l.suffix) + ")", 1)) : w("", !0)
52
- ]),
53
- _: 2
54
- }, 1032, ["style"]))), 128))
55
- ]);
56
- };
57
- }
58
- });
59
- export {
60
- I as default
61
- };
@@ -1,9 +0,0 @@
1
- import { o as e } from "./main-BLb5AIWJ.js";
2
- const r = {};
3
- function c(n, t) {
4
- return null;
5
- }
6
- const _ = /* @__PURE__ */ e(r, [["render", c]]);
7
- export {
8
- _ as default
9
- };
@@ -1,4 +0,0 @@
1
- import { g as f } from "./main-BLb5AIWJ.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { C as f } from "./main-BLb5AIWJ.js";
2
- export {
3
- f as default
4
- };
@@ -1,174 +0,0 @@
1
- import { defineComponent as j, ref as u, onMounted as D, computed as P, watch as Q, resolveComponent as p, openBlock as d, createElementBlock as C, createVNode as g, unref as l, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as R, isRef as L, withKeys as T, normalizeClass as Z, withModifiers as G, createTextVNode as $, Fragment as J, renderList as W, nextTick as K } from "vue";
2
- import { useRoute as X } from "vue-router";
3
- import { i as Y, y as w, L as ee, t as i, U as A, K as F, r as M, w as te } from "./main-BLb5AIWJ.js";
4
- import "./assets/moment-h96o7c8I.js";
5
- const le = { class: "login-container" }, oe = { class: "title-container" }, se = { class: "title" }, re = { class: "btn-others" }, ne = ["href"], ae = ["innerHTML"], me = /* @__PURE__ */ j({
6
- __name: "Index",
7
- setup(ie) {
8
- let a = u({ id: "", secret: "" }), f = u("password"), r = u(!1), y = u(!1), V = u(), h = u(), b = u(), x = X(), N = {
9
- id: [{
10
- required: !0,
11
- trigger: "blur",
12
- validator: (t, e, s) => {
13
- e ? e.indexOf("@") > -1 ? A.string.isEmail(e) ? s() : s(new Error("邮箱格式不正确")) : s() : s(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
14
- }
15
- }]
16
- // secret: [{required: true, trigger: 'blur', validator: validateSecret}]
17
- }, O = (t) => {
18
- t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? r.value = !0 : r.value = !1), t.key == "CapsLock" && r.value == !0 && (r.value = !1);
19
- }, B = () => {
20
- f.value == "password" ? f.value = "" : f.value = "password", K(() => {
21
- b.value.focus();
22
- });
23
- }, E = async (t) => {
24
- y.value = !0, V.value.validate(async (e) => {
25
- if (!e)
26
- return y.value = !1, !1;
27
- (await F.sso.createAsync(t)).login(a.value).then(({ data: c }) => {
28
- A.url.getBackUrl() ? M.toBackUrl() : M.to("/");
29
- }).finally(() => {
30
- K(() => {
31
- y.value = !1;
32
- });
33
- });
34
- });
35
- }, q = async (t) => {
36
- let e = await F.sso.createAsync(t), s = x.query.return_url, c = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${s}`;
37
- return e.loginUrl(te.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(c));
38
- }, I = (t) => Object.keys(t).reduce((e, s) => (e[s] = t[s], e), {});
39
- D(async () => {
40
- Y.setI18nTitle("common.login");
41
- for (let t = 0; t < w.ssos.length; t++) {
42
- let e = w.ssos[t];
43
- e.loginUrl = await q(e.type);
44
- }
45
- _.value != null && (a.value.id == "" ? h.value.focus() : a.value.secret == "" && b.value.focus());
46
- });
47
- let _ = P(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
48
- return Q(() => x, (t) => {
49
- debugger;
50
- const e = t.query;
51
- e && I(e);
52
- }), (t, e) => {
53
- const s = p("el-input"), c = p("el-form-item"), U = p("el-tooltip"), S = p("el-button"), z = p("router-link"), H = p("el-form");
54
- return d(), C("div", le, [
55
- g(H, {
56
- ref_key: "loginFormRef",
57
- ref: V,
58
- autocomplete: "on",
59
- "label-position": "left",
60
- model: l(a),
61
- rules: l(N)
62
- }, {
63
- default: m(() => [
64
- n("div", oe, [
65
- n("h3", se, k(l(ee)("title")), 1)
66
- ]),
67
- l(_) ? (d(), v(c, {
68
- key: 0,
69
- prop: "id"
70
- }, {
71
- default: m(() => [
72
- e[7] || (e[7] = n("span", { class: "svg-container" }, [
73
- n("i", { class: "fa fa-user" })
74
- ], -1)),
75
- g(s, {
76
- ref_key: "idRef",
77
- ref: h,
78
- placeholder: l(i)("common.username_or_email"),
79
- name: "id",
80
- type: "text",
81
- tabindex: "1",
82
- autocomplete: "on",
83
- modelValue: l(a).id,
84
- "onUpdate:modelValue": e[0] || (e[0] = (o) => l(a).id = o)
85
- }, null, 8, ["placeholder", "modelValue"])
86
- ]),
87
- _: 1
88
- })) : R("", !0),
89
- l(_) ? (d(), v(U, {
90
- key: 1,
91
- content: "Caps lock is On",
92
- placement: "right",
93
- manual: "",
94
- modelValue: l(r),
95
- "onUpdate:modelValue": e[5] || (e[5] = (o) => L(r) ? r.value = o : r = o)
96
- }, {
97
- default: m(() => [
98
- g(c, { prop: "secret" }, {
99
- default: m(() => [
100
- e[8] || (e[8] = n("span", { class: "svg-container" }, [
101
- n("i", { class: "fa fa-key" })
102
- ], -1)),
103
- (d(), v(s, {
104
- ref_key: "secretRef",
105
- ref: b,
106
- key: l(f),
107
- type: l(f),
108
- placeholder: l(i)("common.password"),
109
- name: "secret",
110
- tabindex: "2",
111
- autocomplete: "on",
112
- onKeyup: [
113
- T(l(O), ["native"]),
114
- e[2] || (e[2] = T((o) => l(E)("Bearer"), ["enter", "native"]))
115
- ],
116
- onBlur: e[1] || (e[1] = (o) => L(r) ? r.value = !1 : r = !1),
117
- modelValue: l(a).secret,
118
- "onUpdate:modelValue": e[3] || (e[3] = (o) => l(a).secret = o)
119
- }, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
120
- n("span", {
121
- class: "btn-pwd",
122
- onClick: e[4] || (e[4] = //@ts-ignore
123
- (...o) => l(B) && l(B)(...o))
124
- }, [
125
- n("i", {
126
- class: Z(l(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
127
- }, null, 2)
128
- ])
129
- ]),
130
- _: 1
131
- })
132
- ]),
133
- _: 1
134
- }, 8, ["modelValue"])) : R("", !0),
135
- l(_) ? (d(), v(S, {
136
- key: 2,
137
- type: "primary",
138
- class: "btn-login",
139
- loading: l(y),
140
- onClick: e[6] || (e[6] = G((o) => l(E)("Bearer"), ["prevent"]))
141
- }, {
142
- default: m(() => [
143
- $(k(l(i)("common.login")), 1)
144
- ]),
145
- _: 1
146
- }, 8, ["loading"])) : R("", !0),
147
- n("div", re, [
148
- (d(!0), C(J, null, W(l(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), C("a", {
149
- href: o.loginUrl
150
- }, k(l(i)(o.text)), 9, ne))), 256)),
151
- g(z, {
152
- class: "btn-register",
153
- to: "/register"
154
- }, {
155
- default: m(() => [
156
- $(k(l(i)("common.register")), 1)
157
- ]),
158
- _: 1
159
- })
160
- ])
161
- ]),
162
- _: 1
163
- }, 8, ["model", "rules"]),
164
- n("div", {
165
- class: "powered-by",
166
- innerHTML: l(i)("sys.powered_by")
167
- }, null, 8, ae)
168
- ]);
169
- };
170
- }
171
- });
172
- export {
173
- me as default
174
- };
@@ -1,4 +0,0 @@
1
- import { O as f } from "./main-BLb5AIWJ.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { a as f } from "./main-BLb5AIWJ.js";
2
- export {
3
- f as default
4
- };
@@ -1,74 +0,0 @@
1
- import { defineComponent as U, toRefs as B, ref as o, watch as E, openBlock as F, createBlock as T, resolveDynamicComponent as V, unref as t, withCtx as $, createElementVNode as j, toDisplayString as A } from "vue";
2
- import { U as n, b as G, i as H, s as d, c as I } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const J = { class: "not-support" }, W = /* @__PURE__ */ U({
5
- __name: "List",
6
- props: {
7
- base: {},
8
- route: {},
9
- url: {},
10
- win: {}
11
- },
12
- emits: ["load", "navigate"],
13
- setup(_, { expose: S, emit: P }) {
14
- let h = P, k = _, { url: m, base: p, route: r } = B(k), f = o(), i = o(), s = o(), y = o(), g = o(), u = o(), c = o(), q = (e) => {
15
- let l = n.url.getPath(e), a = n.url.getPath(m.value);
16
- return l != a;
17
- }, C = (e) => {
18
- let l = n.url.getPath(m.value), a = n.url.getPath(e);
19
- return l != a;
20
- }, x = (e) => {
21
- var a;
22
- let l = G(e.module.type, e.module.name);
23
- H.setTitle(l, e.module.env), f.value = e.module, i.value = d.expandSchema(e.schema, e.set), s.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(i.value, r.value.query.condition);
24
- }, v = (e = null, l = null) => {
25
- let a = e ?? r.value.query, N = n.url.getUrl(r.value.path, a);
26
- h("load", N, !1, l);
27
- }, R = (e) => {
28
- v(null, e);
29
- }, w = (e) => {
30
- h("navigate", e);
31
- }, D = async (e) => {
32
- let l = r.value.query;
33
- l.condition = I.encode(c.value), v(l, e);
34
- }, b = () => {
35
- v();
36
- }, z = (e, l) => {
37
- if (!u.value || !u.value.keyboard)
38
- return !1;
39
- u.value.keyboard(e, l);
40
- }, L = (e) => {
41
- if (!u.value || !u.value.resize)
42
- return !1;
43
- u.value.resize(e);
44
- };
45
- return (() => {
46
- x(p.value.data);
47
- })(), E(() => p.value, (e) => {
48
- x(e.data);
49
- }), S({ shouldLoad: q, shouldSpin: C, refresh: b, keyboard: z, resize: L }), (e, l) => (F(), T(V(`list-${t(s).layouts[0].type.toLowerCase()}`), {
50
- ref_key: "listRef",
51
- ref: u,
52
- route: t(r),
53
- module: t(f),
54
- schema: t(i),
55
- table: t(s),
56
- layout: t(s).layouts[0],
57
- next: t(y),
58
- set: t(g),
59
- "search-data": t(c),
60
- onSucceed: t(R),
61
- onSearch: t(D),
62
- onNavigate: t(w),
63
- onRefresh: t(b)
64
- }, {
65
- default: $(() => [
66
- j("div", J, "未支持的列表布局方式:" + A(t(s).layouts[0].type), 1)
67
- ]),
68
- _: 1
69
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
70
- }
71
- });
72
- export {
73
- W as default
74
- };
@@ -1,20 +0,0 @@
1
- import { defineComponent as o, openBlock as i, createElementBlock as n, createElementVNode as e, toDisplayString as r, unref as s } from "vue";
2
- import { y as m } from "./main-BLb5AIWJ.js";
3
- import "./assets/liquidjs-C2HVw1Ra.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- const p = { class: "maintenance" }, a = { class: "description" }, y = /* @__PURE__ */ o({
10
- __name: "Maintaince",
11
- setup(c) {
12
- return (l, t) => (i(), n("div", p, [
13
- t[0] || (t[0] = e("div", { class: "title" }, "系统维护中", -1)),
14
- e("div", a, r(s(m)), 1)
15
- ]));
16
- }
17
- });
18
- export {
19
- y as default
20
- };
@@ -1,38 +0,0 @@
1
- import { defineComponent as i, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
2
- import { k as Y } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const y = /* @__PURE__ */ i({
5
- __name: "Month",
6
- props: {
7
- schema: {},
8
- table: {},
9
- field: {},
10
- searchData: {},
11
- modelValue: {}
12
- },
13
- emits: ["submit", "change", "update:modelValue"],
14
- setup(r, { emit: n }) {
15
- let t = n, p = r, { table: u, field: a, searchData: g, modelValue: s } = f(p), l = _({
16
- get() {
17
- return s.value;
18
- },
19
- set(o) {
20
- t("update:modelValue", o), t("change", o);
21
- }
22
- });
23
- return (o, m) => {
24
- const c = h("el-date-picker");
25
- return V(), b(c, {
26
- type: "month",
27
- placeholder: e(Y)(e(u).name, e(a).name),
28
- "value-format": "YYYY-MM",
29
- disabled: e(a).control.readonly,
30
- modelValue: e(l),
31
- "onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
32
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
33
- };
34
- }
35
- });
36
- export {
37
- y as default
38
- };
@@ -1,95 +0,0 @@
1
- import { defineComponent as $, toRefs as A, ref as r, onMounted as E, watch as G, unref as a, openBlock as H, createBlock as I, createCommentVNode as K } from "vue";
2
- import { U as o, b as Q, i as W, s as d, c as b } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import { _ as X } from "./Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js";
5
- const te = /* @__PURE__ */ $({
6
- __name: "Paging",
7
- props: {
8
- base: {},
9
- route: {},
10
- url: {},
11
- win: {}
12
- },
13
- emits: ["navigate", "load"],
14
- setup(q, { expose: k, emit: z }) {
15
- let m = z, P = q, { url: p, base: y, route: u } = A(P), f = r(), v = r(), c = r(), h = r(), x = r(), C = r(), g = r(), s = r(), N = (e) => !0, L = (e) => {
16
- let l = o.url.getPath(p.value), t = o.url.getPath(e);
17
- return l != t;
18
- }, R = (e = null) => {
19
- _(e);
20
- }, w = () => {
21
- }, S = (e) => {
22
- var t;
23
- let l = Q(e.module.type, e.module.name);
24
- W.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, C.value = d.expandSet(e.schema, e.set), v.value = d.expandSchema(e.schema, e.set), c.value = (t = v.value) == null ? void 0 : t[0], h.value = c.value.layouts[0], g.value = d.getConditionForm(v.value, u.value.query.condition);
25
- }, U = (e = null, l = null) => {
26
- let t = e ?? u.value.query, n = o.url.getUrl(u.value.path, t);
27
- m("load", n, !1, (V) => {
28
- l && l(V);
29
- });
30
- }, i = (e, l) => {
31
- m("navigate", e, l);
32
- }, B = async (e) => {
33
- let l = u.value.query;
34
- l.page = 1;
35
- let t = o.object.pure(g.value);
36
- l.condition = b.encode(t);
37
- let n = o.url.getUrl(u.value.path, l);
38
- n == p.value ? U(l, e) : i(n, e);
39
- }, D = (e, l) => {
40
- let t = u.value.query;
41
- t.order_by = b.encode(JSON.stringify(e));
42
- let n = o.url.getUrl(u.value.path, t);
43
- i(n, l);
44
- }, j = (e, l = null) => {
45
- let t = u.value.query;
46
- t.page = e;
47
- let n = o.url.getUrl(u.value.path, t);
48
- i(n, l);
49
- }, F = (e, l = null) => {
50
- let t = u.value.query;
51
- t.size = e;
52
- let n = o.url.getUrl(u.value.path, t);
53
- i(n, l);
54
- }, J = (e) => {
55
- h.value = c.value.layouts.find((l) => l.type == e);
56
- }, M = () => {
57
- S(y.value.data);
58
- }, _ = (e = null) => U(null, e), O = (e) => {
59
- if (!s.value || !s.value.resize)
60
- return !1;
61
- s.value.resize(e);
62
- }, T = (e, l) => {
63
- if (!s.value || !s.value.keyboard)
64
- return !1;
65
- s.value.keyboard(e, l);
66
- };
67
- return E(async () => {
68
- M();
69
- }), G(() => y.value, (e) => {
70
- S(e.data);
71
- }), k({ shouldLoad: N, shouldSpin: L, refresh: _, keyboard: T, resize: O }), (e, l) => a(h) ? (H(), I(X, {
72
- key: 0,
73
- ref_key: "pagingRef",
74
- ref: s,
75
- module: a(f),
76
- next: a(x),
77
- set: a(C),
78
- schema: a(v),
79
- table: a(c),
80
- layout: a(h),
81
- "search-data": a(g),
82
- onNavigate: a(i),
83
- onSort: a(D),
84
- onSearch: a(B),
85
- onPageChange: a(j),
86
- onSizeChange: a(F),
87
- onLayoutChange: a(J),
88
- onSucceed: a(R),
89
- onClose: a(w)
90
- }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : K("", !0);
91
- }
92
- });
93
- export {
94
- te as default
95
- };
@@ -1,47 +0,0 @@
1
- import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as d, onMounted as _, computed as c, watch as f, openBlock as w, createBlock as R, unref as r, normalizeStyle as b, isRef as k } from "vue";
2
- import { p as B } from "./main-BLb5AIWJ.js";
3
- import "./assets/liquidjs-C2HVw1Ra.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- const D = /* @__PURE__ */ g({
10
- __name: "RichText",
11
- props: /* @__PURE__ */ x({
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {}
17
- }, {
18
- modelValue: {},
19
- modelModifiers: {}
20
- }),
21
- emits: ["update:modelValue"],
22
- setup(n) {
23
- let v = n, { field: e, table: h, set: C, row: i } = S(v), u = M(n, "modelValue"), t = d({ readonly: !1, scrollTop: 0 }), s = d(), y = (l) => {
24
- a.value != null && (i.value[a.value.name] = l.scrollTop);
25
- }, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
26
- t.value.readonly = e.value.control.readonly, t.value.scrollTop = p.value, s.value = T();
27
- };
28
- _(() => {
29
- V();
30
- });
31
- let p = c(() => a.value ? i.value[a.value.name] : null), a = c(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
32
- return f(() => p.value, (l, o) => {
33
- t.value.scrollTop = l;
34
- }), f(() => e.value.control.readonly, (l, o) => {
35
- t.value.readonly = l;
36
- }), (l, o) => (w(), R(r(B), {
37
- style: b(r(s)),
38
- options: r(t),
39
- onScroll: r(y),
40
- modelValue: r(u),
41
- "onUpdate:modelValue": o[0] || (o[0] = (m) => k(u) ? u.value = m : u = m)
42
- }, null, 8, ["style", "options", "onScroll", "modelValue"]));
43
- }
44
- });
45
- export {
46
- D as default
47
- };
@@ -1,54 +0,0 @@
1
- import { defineComponent as _, toRefs as x, computed as V, resolveComponent as g, openBlock as C, createBlock as b, unref as e, withKeys as y, isRef as v, createSlots as k, withCtx as D, createTextVNode as K, toDisplayString as w } from "vue";
2
- import { j as B } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const N = /* @__PURE__ */ _({
5
- __name: "Text",
6
- props: {
7
- schema: {},
8
- table: {},
9
- field: {},
10
- searchData: {},
11
- modelValue: {}
12
- },
13
- emits: ["change", "submit", "update:modelValue"],
14
- setup(p, { emit: u }) {
15
- let a = u, i = p, { table: s, field: o, searchData: R, modelValue: d } = x(i), c = (l) => {
16
- a("change", l);
17
- }, n = () => {
18
- a("submit");
19
- }, f = () => {
20
- n();
21
- }, t = V({
22
- get() {
23
- return d.value;
24
- },
25
- set(l) {
26
- a("update:modelValue", l);
27
- }
28
- });
29
- return (l, r) => {
30
- const h = g("el-input");
31
- return C(), b(h, {
32
- type: "text",
33
- placeholder: e(B)(e(s).name, e(o).name),
34
- clearable: "",
35
- onKeyup: y(e(n), ["enter", "native"]),
36
- onChange: e(c),
37
- onClear: e(f),
38
- modelValue: e(t),
39
- "onUpdate:modelValue": r[0] || (r[0] = (m) => v(t) ? t.value = m : t = m)
40
- }, k({ _: 2 }, [
41
- e(o).suffix ? {
42
- name: "append",
43
- fn: D(() => [
44
- K(w(e(o).suffix), 1)
45
- ]),
46
- key: "0"
47
- } : void 0
48
- ]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
49
- };
50
- }
51
- });
52
- export {
53
- N as default
54
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-epPB32IU.js";
2
- export {
3
- f as default
4
- };