halo-pc 1.0.38 → 1.0.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/dist/{Article-H_clf90b.js → Article-CqtkXVmQ.js} +29 -27
  2. package/dist/{ArticleFooter-BLi4TNA7.js → ArticleFooter-DeJdTtZD.js} +10 -10
  3. package/dist/{Autocomplete-DMm6oI1g.js → Autocomplete-0fxB2_FC.js} +1 -1
  4. package/dist/{Autocomplete-BF9x0F4f.js → Autocomplete-BfhYwZ5G.js} +7 -7
  5. package/dist/{Autocomplete-CcIzTPSr.js → Autocomplete-LQiKcvz1.js} +6 -6
  6. package/dist/{CSharp-CZOchOE-.js → CSharp-BIFRQLaK.js} +1 -1
  7. package/dist/{Calender-BoQV7bhA.js → Calender-DPNTn-S4.js} +4 -4
  8. package/dist/{Callback-79Bw4RwY.js → Callback-Ci5KrWOC.js} +6 -6
  9. package/dist/{Cascader-D1Ou5OSg.js → Cascader-CnOEgPDf.js} +1 -1
  10. package/dist/{Cascader-DMhl98vw.js → Cascader-Vhc81TDV.js} +14 -14
  11. package/dist/{Checkbox-C6t6S7ii.js → Checkbox-CIim5NiB.js} +1 -1
  12. package/dist/{Checkbox-DtrXMDBR.js → Checkbox-D9Sp6ZGQ.js} +7 -7
  13. package/dist/{Code-B8ISTTYK.js → Code-BEjqqeFZ.js} +3 -3
  14. package/dist/Code-BSrEPuXk.js +4 -0
  15. package/dist/{Code-DIGn8Raz.js → Code-Dp1-k8sW.js} +1 -1
  16. package/dist/{Code-DDacfgvl.js → Code-yDKaH1uF.js} +10 -8
  17. package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +59 -0
  18. package/dist/{Column-DjA11efs.js → Column-B0ViSver.js} +20 -20
  19. package/dist/{Comment-Ixu0gPk3.js → Comment-tU2wBvGO.js} +4 -2
  20. package/dist/{Compare-NN40QJWm.js → Compare-D7Gz-lE9.js} +1 -1
  21. package/dist/{Compare-C1uq4lgK.js → Compare-DqvGyQWA.js} +5 -5
  22. package/dist/{Copy-BcfSvyWG.js → Copy-Dm1LH9qB.js} +3 -3
  23. package/dist/Custom-CLKAPWEo.js +49 -0
  24. package/dist/{DataExport-DNGgWqsx.js → DataExport-BDftKI0U.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js → DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js} +8 -8
  26. package/dist/{DataImport-CI9eM5T1.js → DataImport-CRYaaQfA.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js → DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js} +37 -37
  28. package/dist/{Date-CZGbZKjB.js → Date-DPPiYLWw.js} +4 -4
  29. package/dist/{Date-CGyzi8yX.js → Date-Dlh1_S7p.js} +1 -1
  30. package/dist/{DateRange-MbbkmZ_Y.js → DateRange-BgF_T3ls.js} +7 -7
  31. package/dist/{DateTime-DHrHmRLL.js → DateTime-CNjPeK9t.js} +1 -1
  32. package/dist/{DateTime-DqUOXGWH.js → DateTime-DP-VfmtN.js} +6 -6
  33. package/dist/{DateTimeRange-DgXQkZLx.js → DateTimeRange-DbEpW4nB.js} +5 -5
  34. package/dist/{Daterange-DLHJuRur.js → Daterange-DHVjhrK9.js} +5 -5
  35. package/dist/{Decimal-BUJuuvfr.js → Decimal-BDEWVSsK.js} +1 -1
  36. package/dist/{Delete-BGMk0orl.js → Delete-Bl0GmthL.js} +1 -1
  37. package/dist/{Detail-D4KzWdHQ.js → Detail-BozyhOTt.js} +12 -12
  38. package/dist/{Dictionary-Esd3ERAq.js → Dictionary-CJwZPQz6.js} +1 -1
  39. package/dist/{Email-C9K09hwC.js → Email-D5X1SzuJ.js} +8 -8
  40. package/dist/{File-ai1eYO7v.js → File-DixK0K7p.js} +34 -32
  41. package/dist/Image-BrelhCGo.js +9 -0
  42. package/dist/Index-BeM6hKX9.js +4 -0
  43. package/dist/{Index-DsZPtDYE.js → Index-BkfLyqpm.js} +34 -34
  44. package/dist/{Index-DYHrSEZ5.js → Index-D2FOeoNQ.js} +1 -1
  45. package/dist/Index-D8UVsXwf.js +4 -0
  46. package/dist/{Index-B5o7uf36.js → Index-DbXgnBz6.js} +2 -2
  47. package/dist/Index-FL-dxfFB.js +4 -0
  48. package/dist/Index-fWOqfFkG.js +4 -0
  49. package/dist/{Index-S1btGSGD.js → Index-j15c7lwJ.js} +1 -1
  50. package/dist/Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js +80 -0
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js → Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js} +23 -23
  52. package/dist/{Install-D-MgafyF.js → Install-WR3b4IfI.js} +1 -1
  53. package/dist/{Int-CnvfCxgn.js → Int-CWsDtoxE.js} +7 -7
  54. package/dist/{Int-D3RqVcmN.js → Int-GGWiUqO2.js} +4 -4
  55. package/dist/List-kRCsHp6d.js +71 -0
  56. package/dist/{Maintaince-BIgEbjrq.js → Maintaince-BG8MUi3A.js} +1 -1
  57. package/dist/{Markdown-hax8By5O.js → Markdown-nVfQs7kc.js} +1 -1
  58. package/dist/{Month-5lTUiWin.js → Month-B1icZmL4.js} +4 -4
  59. package/dist/{Month-CnVTSnyK.js → Month-CxKMP4kO.js} +1 -1
  60. package/dist/{Month-BDkwv-vc.js → Month-DnYlAi7k.js} +4 -4
  61. package/dist/{Normal-DoE9t7d7.js → Normal-RcqEyIFN.js} +23 -21
  62. package/dist/Paging-DrdGzxeP.js +94 -0
  63. package/dist/{PagingHeader-BFtE6jSy.js → PagingHeader-C8UpM9Kj.js} +27 -25
  64. package/dist/{PagingRow-CSB-kwMz.js → PagingRow-oQWCofO4.js} +8 -8
  65. package/dist/{Racebar-Bc-dDRss.js → Racebar-CvoF2ySW.js} +24 -22
  66. package/dist/{Radio-CMGOtMnx.js → Radio-DhjfkC14.js} +1 -1
  67. package/dist/{Register-8wi0uixs.js → Register-B0Vx60wY.js} +33 -33
  68. package/dist/{RichText-BR4Kvx0J.js → RichText-4wrLw9cy.js} +7 -7
  69. package/dist/{SearchForm-BMTSPce_.js → SearchForm-BHVnQaSL.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js → SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js} +35 -35
  71. package/dist/SearchHeader-C9yovXli.js +4 -0
  72. package/dist/SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js +60 -0
  73. package/dist/{Select-DAxdpZlO.js → Select-BDoCqD3I.js} +10 -10
  74. package/dist/{Select-MBD4Simw.js → Select-CX4i5KPQ.js} +1 -1
  75. package/dist/{Select-DnFyey0n.js → Select-vgwpegBi.js} +12 -12
  76. package/dist/Single-C3629BdC.js +317 -0
  77. package/dist/{Statistic-CTxHNeof.js → Statistic-Dxa-CZ8G.js} +10 -8
  78. package/dist/{Statistic-BS_DA72m.js → Statistic-WPezAlUn.js} +32 -30
  79. package/dist/{Stock-CtmevqBK.js → Stock-BD5Acf8y.js} +8 -6
  80. package/dist/{Stock-CbucObTu.js → Stock-EPM3j2f_.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js → Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js} +14 -12
  82. package/dist/{Switch-BlXAy9qH.js → Switch-B0XN4K-9.js} +1 -1
  83. package/dist/Table-BklK1hSh.js +317 -0
  84. package/dist/{Table-Da9gan1Y.js → Table-JFdOXuME.js} +42 -40
  85. package/dist/Text-CNtHdodK.js +4 -0
  86. package/dist/{Text-CbZlEVTJ.js → Text-DrJkdxZF.js} +6 -6
  87. package/dist/{Text-C72NLZMt.js → Text-KAuEjP7I.js} +3 -3
  88. package/dist/{Text.vue_vue_type_style_index_0_lang-aMaBccpg.js → Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js} +1 -1
  89. package/dist/{TextLink-SAnZ7BfX.js → TextLink-BnijIoEJ.js} +7 -7
  90. package/dist/{Textarea-DphCUpXp.js → Textarea-3SWLqQvO.js} +1 -1
  91. package/dist/{Time-DjE8yYdK.js → Time-C3qlNZkJ.js} +7 -7
  92. package/dist/{Timeline-D11vjkpZ.js → Timeline-B6hUIYhL.js} +12 -10
  93. package/dist/{Tree-kich05vY.js → Tree-DBvFF4Rj.js} +77 -75
  94. package/dist/{Tree-DK73Ou_F.js → Tree-JexLPBXX.js} +5 -3
  95. package/dist/{TreeNode-Dx6cZ31Z.js → TreeNode-BOWB2WN9.js} +4 -4
  96. package/dist/{Update-D2Plm_AG.js → Update-CDLYYwgj.js} +10 -10
  97. package/dist/{UpdateChild-BXV7QqaP.js → UpdateChild-DUG7pAuO.js} +11 -11
  98. package/dist/{Upload-B87EDynn.js → Upload-B2hbxDsT.js} +49 -49
  99. package/dist/{Upload-CHPjMGFZ.js → Upload-mlk6Y4Po.js} +13 -13
  100. package/dist/{Year-BPFmIiPX.js → Year-BRsJ7b1J.js} +1 -1
  101. package/dist/{Year-C93IJgc8.js → Year-BUF60NmB.js} +4 -4
  102. package/dist/{main-nvsTmKXH.js → main-DymfKjqO.js} +4363 -4204
  103. package/dist/main.js +144 -141
  104. package/esm/coms/commons/Table.vue.d.ts +1 -1
  105. package/esm/coms/drivers/Index.vue.d.ts +2 -2
  106. package/esm/coms/globals/Menu.vue.d.ts +1 -1
  107. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  108. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -1
  109. package/esm/coms/headers/Index.vue.d.ts +1 -1
  110. package/esm/coms/layouts/Index.vue.d.ts +3 -3
  111. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  112. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  113. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  114. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  115. package/esm/coms/lists/Tree.vue.d.ts +3 -3
  116. package/esm/coms/pages/@types/SchemaProps.d.ts +2 -1
  117. package/esm/coms/pages/Column.vue.d.ts +1 -1
  118. package/esm/coms/pages/Custom.vue.d.ts +6 -6
  119. package/esm/coms/pages/List.vue.d.ts +5 -3
  120. package/esm/coms/pages/Paging.vue.d.ts +5 -3
  121. package/esm/coms/pages/Single.vue.d.ts +3 -3
  122. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +9 -0
  123. package/esm/coms/pagings/@types/index.d.ts +2 -2
  124. package/esm/coms/pagings/Article.vue.d.ts +2 -2
  125. package/esm/coms/pagings/Index.vue.d.ts +4 -2
  126. package/esm/coms/pagings/SearchForm.vue.d.ts +1 -1
  127. package/esm/coms/pagings/SearchHeader.vue.d.ts +19 -0
  128. package/esm/coms/pagings/Table.vue.d.ts +4 -2
  129. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +2 -1
  130. package/esm/coms/singles/Index.vue.d.ts +1 -1
  131. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  132. package/esm/coms/singles/Table.vue.d.ts +1 -1
  133. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  134. package/package.json +6 -6
  135. package/dist/Code-BMlBvnqa.js +0 -4
  136. package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +0 -57
  137. package/dist/Custom-Dn9_vPuD.js +0 -58
  138. package/dist/Image-CfY4G1Yn.js +0 -9
  139. package/dist/Index-CH3nwnPZ.js +0 -4
  140. package/dist/Index-CTjDkp7e.js +0 -4
  141. package/dist/Index-DSZ8wa7U.js +0 -4
  142. package/dist/Index-DVdiF3gr.js +0 -4
  143. package/dist/Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js +0 -76
  144. package/dist/List-DA4SO_le.js +0 -71
  145. package/dist/Paging-5qsCTRWy.js +0 -92
  146. package/dist/SearchFooter-DOC21dmS.js +0 -4
  147. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js +0 -55
  148. package/dist/Single-D6x6VV_B.js +0 -317
  149. package/dist/Table-CqsfAMh7.js +0 -310
  150. package/dist/Text-CHvsKR9H.js +0 -4
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let m = i(() => import("./Text-CHvsKR9H.js")), s = a, { schema: r, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
13
+ let m = i(() => import("./Text-CNtHdodK.js")), s = a, { schema: r, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
14
14
  return (x, t) => (V(), b(e(m), {
15
15
  schema: e(r),
16
16
  table: e(n),
@@ -1,5 +1,5 @@
1
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 r, withCtx as d, createTextVNode as m } from "vue";
2
- import { f as l, _ as V, i as w, r as E } from "./main-nvsTmKXH.js";
2
+ import { p as l, _ as V, l as w, r as E } from "./main-DymfKjqO.js";
3
3
  const S = { class: "delete" }, q = { class: "delete-title" }, R = { class: "delete-buttons" }, z = /* @__PURE__ */ x({
4
4
  __name: "Delete",
5
5
  props: {
@@ -1,9 +1,9 @@
1
- import { defineComponent as v, toRefs as x, resolveComponent as b, openBlock as N, createBlock as V, unref as e, withCtx as t, createVNode as a, createElementVNode as m, createTextVNode as r, toDisplayString as c } from "vue";
2
- import { F as g, f as p } from "./main-nvsTmKXH.js";
1
+ import { defineComponent as v, toRefs as x, resolveComponent as b, openBlock as D, createBlock as N, unref as e, withCtx as t, createVNode as a, createElementVNode as p, createTextVNode as m, toDisplayString as r } from "vue";
2
+ import { D as V, p as c } from "./main-DymfKjqO.js";
3
3
  import "element-plus";
4
4
  import "vue-router";
5
5
  import "./assets/intro.js-Cg1adLK7.js";
6
- const T = /* @__PURE__ */ v({
6
+ const $ = /* @__PURE__ */ v({
7
7
  __name: "Detail",
8
8
  props: {
9
9
  route: {},
@@ -13,7 +13,7 @@ const T = /* @__PURE__ */ v({
13
13
  },
14
14
  emits: ["copy", "edit", "close"],
15
15
  setup(u, { emit: d }) {
16
- let n = d, y = u, { route: B, table: s, set: f, next: D } = x(y), k = (l) => {
16
+ let n = d, y = u, { route: g, table: s, set: f, next: B } = x(y), k = (l) => {
17
17
  n("copy", f.value[s.value.name][0], l);
18
18
  }, C = (l) => {
19
19
  n("edit", f.value[s.value.name][0], l);
@@ -22,17 +22,17 @@ const T = /* @__PURE__ */ v({
22
22
  };
23
23
  return (l, o) => {
24
24
  const i = b("el-button");
25
- return N(), V(e(g), { padding: 5 }, {
25
+ return D(), N(e(V), { padding: 5 }, {
26
26
  default: t(() => [
27
27
  a(i, {
28
28
  type: "primary",
29
29
  onClick: e(C)
30
30
  }, {
31
31
  icon: t(() => o[0] || (o[0] = [
32
- m("i", { class: "fa fa-edit" }, null, -1)
32
+ p("i", { class: "fa fa-edit" }, null, -1)
33
33
  ])),
34
34
  default: t(() => [
35
- r(" " + c(e(p)("common.modify")), 1)
35
+ m(" " + r(e(c)("common.modify")), 1)
36
36
  ]),
37
37
  _: 1
38
38
  }, 8, ["onClick"]),
@@ -42,19 +42,19 @@ const T = /* @__PURE__ */ v({
42
42
  onClick: e(k)
43
43
  }, {
44
44
  icon: t(() => o[1] || (o[1] = [
45
- m("i", { class: "fa fa-copy" }, null, -1)
45
+ p("i", { class: "fa fa-copy" }, null, -1)
46
46
  ])),
47
47
  default: t(() => [
48
- r(" " + c(e(p)("common.copy")), 1)
48
+ m(" " + r(e(c)("common.copy")), 1)
49
49
  ]),
50
50
  _: 1
51
51
  }, 8, ["onClick"]),
52
52
  a(i, { onClick: e(_) }, {
53
53
  icon: t(() => o[2] || (o[2] = [
54
- m("i", { class: "fa fa-chevron-left" }, null, -1)
54
+ p("i", { class: "fa fa-chevron-left" }, null, -1)
55
55
  ])),
56
56
  default: t(() => [
57
- r(" " + c(e(p)("common.back")), 1)
57
+ m(" " + r(e(c)("common.back")), 1)
58
58
  ]),
59
59
  _: 1
60
60
  }, 8, ["onClick"])
@@ -65,5 +65,5 @@ const T = /* @__PURE__ */ v({
65
65
  }
66
66
  });
67
67
  export {
68
- T as default
68
+ $ as default
69
69
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, toRefs as x, computed as a, resolveComponent as b, openBlock as o, createElementBlock as n, Fragment as h, renderList as V, unref as k, createBlock as B, normalizeStyle as C, withCtx as N, createTextVNode as S, toDisplayString as s, createCommentVNode as j } from "vue";
2
- import { d as r } from "./main-nvsTmKXH.js";
2
+ import { d as r } from "./main-DymfKjqO.js";
3
3
  const w = { class: "text-dictionary" }, D = {
4
4
  key: 0,
5
5
  class: "suffix"
@@ -1,6 +1,6 @@
1
- import { defineComponent as f, toRefs as V, computed as _, resolveComponent as b, openBlock as h, createBlock as x, unref as e, withKeys as y, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as C } from "vue";
2
- import { h as K } from "./main-nvsTmKXH.js";
3
- const D = /* @__PURE__ */ f({
1
+ import { defineComponent as f, toRefs as 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 { E } from "./main-DymfKjqO.js";
3
+ const S = /* @__PURE__ */ f({
4
4
  __name: "Email",
5
5
  props: {
6
6
  schema: {},
@@ -12,7 +12,7 @@ const D = /* @__PURE__ */ f({
12
12
  },
13
13
  emits: ["submit", "change", "update:modelValue"],
14
14
  setup(i, { emit: s }) {
15
- let o = s, u = i, { table: d, field: t, set: B, modelValue: p } = V(u), r = () => {
15
+ let o = s, u = i, { table: d, field: t, set: K, modelValue: p } = V(u), r = () => {
16
16
  o("submit");
17
17
  }, l = _({
18
18
  get() {
@@ -24,11 +24,11 @@ const D = /* @__PURE__ */ f({
24
24
  });
25
25
  return (a, n) => {
26
26
  const c = b("el-input");
27
- return h(), x(c, {
27
+ return y(), h(c, {
28
28
  type: "email",
29
29
  disabled: e(t).control.readonly,
30
- placeholder: e(K)(e(d).name, e(t).name),
31
- onKeyup: y(e(r), ["enter", "native"]),
30
+ placeholder: e(E)(e(d).name, e(t).name),
31
+ onKeyup: x(e(r), ["enter", "native"]),
32
32
  modelValue: e(l),
33
33
  "onUpdate:modelValue": n[0] || (n[0] = (m) => g(l) ? l.value = m : l = m)
34
34
  }, k({ _: 2 }, [
@@ -44,5 +44,5 @@ const D = /* @__PURE__ */ f({
44
44
  }
45
45
  });
46
46
  export {
47
- D as default
47
+ S as default
48
48
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as P, toRefs as T, ref as Z, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as s, normalizeClass as x, Fragment as L, renderList as q, createBlock as y, toDisplayString as _, createTextVNode as w, createCommentVNode as S } from "vue";
2
- import { useRoute as A, useRouter as G } from "vue-router";
3
- import { v as H, S as I, Z as m, f as J, _ as K, g as M } from "./main-nvsTmKXH.js";
1
+ import { defineComponent as P, toRefs as T, ref as A, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as y, unref as e, withCtx as r, createElementVNode as s, normalizeClass as w, Fragment as x, renderList as L, createBlock as g, toDisplayString as _, createTextVNode as q, createCommentVNode as z } from "vue";
2
+ import { useRoute as G, useRouter as H } from "vue-router";
3
+ import { s as I, $ as J, n as m, p as K, _ as M, w as O } from "./main-DymfKjqO.js";
4
4
  import "element-plus";
5
5
  import "./assets/intro.js-Cg1adLK7.js";
6
- import { _ as O } from "./SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js";
7
- const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
6
+ import { _ as Q } from "./SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js";
7
+ const U = { class: "file-layout" }, W = { class: "toolbar" }, X = {
8
8
  key: 0,
9
9
  class: "files-image"
10
- }, X = { class: "file-image" }, Y = ["src"], ee = { class: "file-title" }, te = { class: "file-name" }, ae = ["src", "alt"], oe = { class: "file-title" }, le = {
10
+ }, Y = { class: "file-image" }, Z = ["src"], ee = { class: "file-title" }, te = { class: "file-name" }, ae = ["src", "alt"], oe = { class: "file-title" }, le = {
11
11
  key: 2,
12
12
  class: "not-support"
13
13
  }, pe = /* @__PURE__ */ P({
@@ -19,12 +19,14 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
19
19
  table: {},
20
20
  layout: {},
21
21
  next: {},
22
- set: {}
22
+ set: {},
23
+ url: {},
24
+ win: {}
23
25
  },
24
- setup(z) {
25
- let F = z, { schema: N, table: n, layout: i, next: d, set: b, searchData: se } = T(F), f = A(), v = G(), k = Z(), C = (o) => {
26
+ setup(F) {
27
+ let N = F, { schema: S, table: n, layout: i, next: d, set: b, searchData: se } = T(N), f = G(), v = H(), k = A(), C = (o) => {
26
28
  let t = { type: "fileLayout", value: o };
27
- K.post("/config/save", t).then((h) => {
29
+ M.post("/config/save", t).then((h) => {
28
30
  m.fileLayout = o;
29
31
  });
30
32
  }, V = (o) => {
@@ -32,26 +34,26 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
32
34
  t.page = o, v.push({ path: d.value.paging.route, query: t });
33
35
  }, B = () => {
34
36
  let o = { ...f.query };
35
- o.page = "1", o.condition = M.encode(k.value);
37
+ o.page = "1", o.condition = O.encode(k.value);
36
38
  let t = { path: d.value.paging.route, query: o };
37
39
  v.push(t);
38
40
  };
39
41
  return (o, t) => {
40
42
  const h = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), j = p("el-pagination");
41
- return l(), u("div", Q, [
42
- g(e(H), {
43
- title: e(I)(o.module.type, o.module.name)
43
+ return l(), u("div", U, [
44
+ y(e(I), {
45
+ title: e(J)(o.module.type, o.module.name)
44
46
  }, {
45
47
  operation: r(() => [
46
- s("div", U, [
48
+ s("div", W, [
47
49
  s("a", {
48
- class: x({ active: e(m).fileLayout == "list" }),
50
+ class: w({ active: e(m).fileLayout == "list" }),
49
51
  onClick: t[0] || (t[0] = (a) => e(C)("list"))
50
52
  }, t[2] || (t[2] = [
51
53
  s("i", { class: "fa fa-list" }, null, -1)
52
54
  ]), 2),
53
55
  s("a", {
54
- class: x({ active: e(m).fileLayout == "image" }),
56
+ class: w({ active: e(m).fileLayout == "image" }),
55
57
  onClick: t[1] || (t[1] = (a) => e(C)("image"))
56
58
  }, t[3] || (t[3] = [
57
59
  s("i", { class: "fa fa-image" }, null, -1)
@@ -59,34 +61,34 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
59
61
  ])
60
62
  ]),
61
63
  append: r(() => [
62
- e(m).fileLayout == "image" ? (l(), u("div", W, [
63
- (l(!0), u(L, null, q(e(b)[e(n).name], (a, $) => (l(), y(h, {
64
+ e(m).fileLayout == "image" ? (l(), u("div", X, [
65
+ (l(!0), u(x, null, L(e(b)[e(n).name], (a, $) => (l(), g(h, {
64
66
  class: "file",
65
67
  to: { path: e(d).detail.route, query: { id: a[e(n).key.name], m: e(f).query.m } },
66
68
  key: $
67
69
  }, {
68
70
  default: r(() => [
69
- s("div", X, [
71
+ s("div", Y, [
70
72
  s("img", {
71
73
  src: a[e(i).url],
72
74
  alt: ""
73
- }, null, 8, Y)
75
+ }, null, 8, Z)
74
76
  ]),
75
77
  s("div", ee, _(a[e(i).name]), 1)
76
78
  ]),
77
79
  _: 2
78
80
  }, 1032, ["to"]))), 128))
79
- ])) : e(m).fileLayout == "list" ? (l(), y(R, {
81
+ ])) : e(m).fileLayout == "list" ? (l(), g(R, {
80
82
  key: 1,
81
83
  class: "files-list",
82
84
  border: "",
83
85
  data: e(b)[e(n).name]
84
86
  }, {
85
87
  empty: r(() => [
86
- w(_(e(J)("common.no_data")), 1)
88
+ q(_(e(K)("common.no_data")), 1)
87
89
  ]),
88
90
  default: r(() => [
89
- (l(!0), u(L, null, q(e(n).show, (a, $) => (l(), y(D, {
91
+ (l(!0), u(x, null, L(e(n).show, (a, $) => (l(), g(D, {
90
92
  "show-overflow-tooltip": "",
91
93
  sortable: e(n) ? "custom" : !1,
92
94
  "min-width": "180",
@@ -102,7 +104,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
102
104
  class: "file-image",
103
105
  src: c.row[e(i).url],
104
106
  alt: c.row[e(i).name]
105
- }, null, 8, ae)) : S("", !0),
107
+ }, null, 8, ae)) : z("", !0),
106
108
  s("div", oe, _(c.row[c.column.property]), 1)
107
109
  ])
108
110
  ]),
@@ -113,33 +115,33 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = {
113
115
  }, 8, ["data"])) : (l(), u("div", le, "未支持的文件布局:" + _(e(m).fileLayout), 1))
114
116
  ]),
115
117
  default: r(() => [
116
- e(n).search.length > 0 ? (l(), y(O, {
118
+ e(n).search.length > 0 ? (l(), g(Q, {
117
119
  key: 0,
118
- schema: e(N),
120
+ schema: e(S),
119
121
  table: e(n),
120
122
  search: e(k),
121
123
  onSubmit: e(B)
122
- }, null, 8, ["schema", "table", "search", "onSubmit"])) : S("", !0)
124
+ }, null, 8, ["schema", "table", "search", "onSubmit"])) : z("", !0)
123
125
  ]),
124
126
  _: 1
125
127
  }, 8, ["title"]),
126
- g(E, {
128
+ y(E, {
127
129
  type: "primary",
128
130
  icon: "el-icon-plus"
129
131
  }, {
130
132
  default: r(() => [
131
- g(h, {
133
+ y(h, {
132
134
  to: { path: e(d).insert.route, query: { m: e(f).query.m } }
133
135
  }, {
134
136
  default: r(() => [
135
- w("添加新" + _(e(n).title), 1)
137
+ q("添加新" + _(e(n).title), 1)
136
138
  ]),
137
139
  _: 1
138
140
  }, 8, ["to"])
139
141
  ]),
140
142
  _: 1
141
143
  }),
142
- g(j, {
144
+ y(j, {
143
145
  background: "",
144
146
  layout: "total, prev, pager, next, jumper",
145
147
  "current-page": e(i).page,
@@ -0,0 +1,9 @@
1
+ import { f as e } from "./main-DymfKjqO.js";
2
+ const r = {};
3
+ function c(n, t) {
4
+ return null;
5
+ }
6
+ const f = /* @__PURE__ */ e(r, [["render", c]]);
7
+ export {
8
+ f as default
9
+ };
@@ -0,0 +1,4 @@
1
+ import { b as f } from "./main-DymfKjqO.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,10 +1,10 @@
1
- import { defineComponent as S, ref as u, onMounted as j, computed as D, watch as J, resolveComponent as p, openBlock as d, createElementBlock as R, createVNode as g, unref as t, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as U, isRef as L, withKeys as T, normalizeClass as P, withModifiers as Z, createTextVNode as $, Fragment as G, renderList as W, nextTick as M } from "vue";
2
- import { useRoute as X } from "vue-router";
3
- import { M as Y, Q as w, J as ee, f as i, d as A, I as K, r as z, z as le } from "./main-nvsTmKXH.js";
4
- const te = { class: "login-container" }, oe = { class: "title-container" }, re = { class: "title" }, se = { class: "btn-others" }, ne = ["href"], ae = ["innerHTML"], pe = /* @__PURE__ */ S({
1
+ import { defineComponent as X, ref as u, onMounted as j, computed as D, watch as J, resolveComponent as p, openBlock as d, createElementBlock as R, createVNode as g, unref as t, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as U, isRef as K, withKeys as L, normalizeClass as P, withModifiers as Q, createTextVNode as T, Fragment as Z, renderList as G, nextTick as $ } from "vue";
2
+ import { useRoute as W } from "vue-router";
3
+ import { B as Y, X as w, J as ee, p as i, d as A, I as F, r as I, K as le } from "./main-DymfKjqO.js";
4
+ const te = { class: "login-container" }, oe = { class: "title-container" }, re = { class: "title" }, se = { class: "btn-others" }, ne = ["href"], ae = ["innerHTML"], pe = /* @__PURE__ */ X({
5
5
  __name: "Index",
6
6
  setup(ie) {
7
- let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), y = u(!1), V = u(), h = u(), b = u(), x = X(), F = {
7
+ let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), y = u(!1), B = u(), V = u(), b = u(), h = W(), M = {
8
8
  id: [{
9
9
  required: !0,
10
10
  trigger: "blur",
@@ -13,51 +13,51 @@ const te = { class: "login-container" }, oe = { class: "title-container" }, re =
13
13
  }
14
14
  }]
15
15
  // secret: [{required: true, trigger: 'blur', validator: validateSecret}]
16
- }, I = (l) => {
16
+ }, N = (l) => {
17
17
  l.key && l.key.length == 1 && (l.shiftKey && l.key >= "a" && l.key <= "z" || !l.shiftKey && l.key >= "A" && l.key <= "Z" ? s.value = !0 : s.value = !1), l.key == "CapsLock" && s.value == !0 && (s.value = !1);
18
- }, B = () => {
19
- f.value == "password" ? f.value = "" : f.value = "password", M(() => {
18
+ }, x = () => {
19
+ f.value == "password" ? f.value = "" : f.value = "password", $(() => {
20
20
  b.value.focus();
21
21
  });
22
22
  }, E = async (l) => {
23
- y.value = !0, V.value.validate(async (e) => {
23
+ y.value = !0, B.value.validate(async (e) => {
24
24
  if (!e)
25
25
  return y.value = !1, !1;
26
- (await K.sso.createAsync(l)).login(a.value).then(({ data: c }) => {
27
- A.url.getBackUrl() ? z.toBackUrl() : z.to("/");
26
+ (await F.sso.createAsync(l)).login(a.value).then(({ data: c }) => {
27
+ A.url.getBackUrl() ? I.toBackUrl() : I.to("/");
28
28
  }).finally(() => {
29
- M(() => {
29
+ $(() => {
30
30
  y.value = !1;
31
31
  });
32
32
  });
33
33
  });
34
- }, N = async (l) => {
35
- let e = await K.sso.createAsync(l), r = x.query.return_url, c = `${window.location.origin}/sso/callback?type=${l.toLowerCase()}&return_url=${r}`;
34
+ }, O = async (l) => {
35
+ let e = await F.sso.createAsync(l), r = h.query.return_url, c = `${window.location.origin}/sso/callback?type=${l.toLowerCase()}&return_url=${r}`;
36
36
  return e.loginUrl(le.api.url + `/user/login?type=${l.toLowerCase()}&callback_url=` + encodeURIComponent(c));
37
- }, O = (l) => Object.keys(l).reduce((e, r) => (e[r] = l[r], e), {});
37
+ }, q = (l) => Object.keys(l).reduce((e, r) => (e[r] = l[r], e), {});
38
38
  j(async () => {
39
39
  Y.setI18nTitle("common.login");
40
40
  for (let l = 0; l < w.ssos.length; l++) {
41
41
  let e = w.ssos[l];
42
- e.loginUrl = await N(e.type);
42
+ e.loginUrl = await O(e.type);
43
43
  }
44
- _.value != null && (a.value.id == "" ? h.value.focus() : a.value.secret == "" && b.value.focus());
44
+ _.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && b.value.focus());
45
45
  });
46
46
  let _ = D(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
47
- return J(() => x, (l) => {
47
+ return J(() => h, (l) => {
48
48
  debugger;
49
49
  const e = l.query;
50
- e && O(e);
50
+ e && q(e);
51
51
  }), (l, e) => {
52
- const r = p("el-input"), c = p("el-form-item"), C = p("el-tooltip"), q = p("el-button"), Q = p("router-link"), H = p("el-form");
52
+ const r = p("el-input"), c = p("el-form-item"), C = p("el-tooltip"), S = p("el-button"), z = p("router-link"), H = p("el-form");
53
53
  return d(), R("div", te, [
54
54
  g(H, {
55
55
  ref_key: "loginFormRef",
56
- ref: V,
56
+ ref: B,
57
57
  autocomplete: "on",
58
58
  "label-position": "left",
59
59
  model: t(a),
60
- rules: t(F)
60
+ rules: t(M)
61
61
  }, {
62
62
  default: m(() => [
63
63
  n("div", oe, [
@@ -73,7 +73,7 @@ const te = { class: "login-container" }, oe = { class: "title-container" }, re =
73
73
  ], -1)),
74
74
  g(r, {
75
75
  ref_key: "idRef",
76
- ref: h,
76
+ ref: V,
77
77
  placeholder: t(i)("common.username_or_email"),
78
78
  name: "id",
79
79
  type: "text",
@@ -91,7 +91,7 @@ const te = { class: "login-container" }, oe = { class: "title-container" }, re =
91
91
  placement: "right",
92
92
  manual: "",
93
93
  modelValue: t(s),
94
- "onUpdate:modelValue": e[5] || (e[5] = (o) => L(s) ? s.value = o : s = o)
94
+ "onUpdate:modelValue": e[5] || (e[5] = (o) => K(s) ? s.value = o : s = o)
95
95
  }, {
96
96
  default: m(() => [
97
97
  g(c, { prop: "secret" }, {
@@ -109,17 +109,17 @@ const te = { class: "login-container" }, oe = { class: "title-container" }, re =
109
109
  tabindex: "2",
110
110
  autocomplete: "on",
111
111
  onKeyup: [
112
- T(t(I), ["native"]),
113
- e[2] || (e[2] = T((o) => t(E)("Bearer"), ["enter", "native"]))
112
+ L(t(N), ["native"]),
113
+ e[2] || (e[2] = L((o) => t(E)("Bearer"), ["enter", "native"]))
114
114
  ],
115
- onBlur: e[1] || (e[1] = (o) => L(s) ? s.value = !1 : s = !1),
115
+ onBlur: e[1] || (e[1] = (o) => K(s) ? s.value = !1 : s = !1),
116
116
  modelValue: t(a).secret,
117
117
  "onUpdate:modelValue": e[3] || (e[3] = (o) => t(a).secret = o)
118
118
  }, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
119
119
  n("span", {
120
120
  class: "btn-pwd",
121
121
  onClick: e[4] || (e[4] = //@ts-ignore
122
- (...o) => t(B) && t(B)(...o))
122
+ (...o) => t(x) && t(x)(...o))
123
123
  }, [
124
124
  n("i", {
125
125
  class: P(t(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
@@ -131,28 +131,28 @@ const te = { class: "login-container" }, oe = { class: "title-container" }, re =
131
131
  ]),
132
132
  _: 1
133
133
  }, 8, ["modelValue"])) : U("", !0),
134
- t(_) ? (d(), v(q, {
134
+ t(_) ? (d(), v(S, {
135
135
  key: 2,
136
136
  type: "primary",
137
137
  class: "btn-login",
138
138
  loading: t(y),
139
- onClick: e[6] || (e[6] = Z((o) => t(E)("Bearer"), ["prevent"]))
139
+ onClick: e[6] || (e[6] = Q((o) => t(E)("Bearer"), ["prevent"]))
140
140
  }, {
141
141
  default: m(() => [
142
- $(k(t(i)("common.login")), 1)
142
+ T(k(t(i)("common.login")), 1)
143
143
  ]),
144
144
  _: 1
145
145
  }, 8, ["loading"])) : U("", !0),
146
146
  n("div", se, [
147
- (d(!0), R(G, null, W(t(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), R("a", {
147
+ (d(!0), R(Z, null, G(t(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), R("a", {
148
148
  href: o.loginUrl
149
149
  }, k(t(i)(o.text)), 9, ne))), 256)),
150
- g(Q, {
150
+ g(z, {
151
151
  class: "btn-register",
152
152
  to: "/register"
153
153
  }, {
154
154
  default: m(() => [
155
- $(k(t(i)("common.register")), 1)
155
+ T(k(t(i)("common.register")), 1)
156
156
  ]),
157
157
  _: 1
158
158
  })
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,4 @@
1
+ import { o } from "./main-DymfKjqO.js";
2
+ export {
3
+ o as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, defineAsyncComponent as D, toRefs as N, computed as p, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as y, isRef as b, createElementVNode as w, toDisplayString as h } from "vue";
2
- import { d as B, f as x } from "./main-nvsTmKXH.js";
2
+ import { d as B, p as x } from "./main-DymfKjqO.js";
3
3
  const A = /* @__PURE__ */ C({
4
4
  __name: "Index",
5
5
  props: {
@@ -12,7 +12,7 @@ const A = /* @__PURE__ */ C({
12
12
  },
13
13
  emits: ["submit", "change"],
14
14
  setup(g, { emit: R }) {
15
- let V = D(() => import("./TextLink-SAnZ7BfX.js")), k = g, { schema: u, table: s, field: l, set: d, row: a, config: m } = N(k), i = p(() => {
15
+ let V = D(() => import("./TextLink-BnijIoEJ.js")), k = g, { schema: u, table: s, field: l, set: d, row: a, config: m } = N(k), i = p(() => {
16
16
  let o = l.value.control.type;
17
17
  return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
18
18
  }), _ = p(() => `text-${B.string.getDashName(i.value)}`), t = p({
@@ -0,0 +1,4 @@
1
+ import { a as f } from "./main-DymfKjqO.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { N as f } from "./main-DymfKjqO.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,80 @@
1
+ import { defineComponent as D, toRefs as N, ref as B, openBlock as c, createElementBlock as K, Fragment as L, createVNode as E, unref as e, createBlock as P, resolveDynamicComponent as V, withCtx as $, createElementVNode as F, toDisplayString as I } from "vue";
2
+ import { g as j, S as r } from "./main-DymfKjqO.js";
3
+ import "element-plus";
4
+ import "vue-router";
5
+ import "./assets/intro.js-Cg1adLK7.js";
6
+ const q = { class: "not-support" }, U = /* @__PURE__ */ D({
7
+ __name: "Index",
8
+ props: {
9
+ searchData: {},
10
+ module: {},
11
+ schema: {},
12
+ table: {},
13
+ layout: {},
14
+ next: {},
15
+ set: {},
16
+ url: {},
17
+ win: {}
18
+ },
19
+ emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
20
+ setup(g, { expose: i, emit: u }) {
21
+ let o = u, h = g, { url: m, win: p, module: d, schema: y, table: s, layout: n, next: C, set: S, searchData: f } = N(h), l = B(), _ = (t, a) => {
22
+ o("navigate", t, a);
23
+ }, v = (t, a) => {
24
+ o("sort", t, a);
25
+ }, b = (t) => {
26
+ o("search", t);
27
+ }, x = (t, a = null) => {
28
+ o("page-change", t, a);
29
+ }, z = (t, a = null) => {
30
+ o("size-change", t, a);
31
+ }, k = (t = null) => {
32
+ o("succeed", t);
33
+ }, w = () => {
34
+ o("close");
35
+ }, R = (t) => {
36
+ o("layout-change", t);
37
+ };
38
+ return i({ onResize: (t) => {
39
+ r.triggerResize(l.value, t);
40
+ }, onKeyboard: (t, a) => {
41
+ r.triggerKeyboard(l.value, t, a);
42
+ }, onSocket: (t) => {
43
+ r.triggerSocket(l.value, t);
44
+ } }), (t, a) => (c(), K(L, null, [
45
+ E(e(j), {
46
+ layout: e(n),
47
+ table: e(s),
48
+ onLayoutChange: e(R)
49
+ }, null, 8, ["layout", "table", "onLayoutChange"]),
50
+ (c(), P(V(`paging-${e(n).type.toLowerCase()}`), {
51
+ ref_key: "pagingRef",
52
+ ref: l,
53
+ url: e(m),
54
+ win: e(p),
55
+ module: e(d),
56
+ schema: e(y),
57
+ table: e(s),
58
+ layout: e(n),
59
+ next: e(C),
60
+ set: e(S),
61
+ "search-data": e(f),
62
+ onNavigate: e(_),
63
+ onSort: e(v),
64
+ onSearch: e(b),
65
+ onPageChange: e(x),
66
+ onSizeChange: e(z),
67
+ onSucceed: e(k),
68
+ onClose: e(w)
69
+ }, {
70
+ default: $(() => [
71
+ F("div", q, "未支持的分页布局方式:" + I(e(n).type), 1)
72
+ ]),
73
+ _: 1
74
+ }, 40, ["url", "win", "module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
75
+ ], 64));
76
+ }
77
+ });
78
+ export {
79
+ U as _
80
+ };