halo-pc 1.0.35 → 1.0.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. package/dist/{Article-BqULjBoz.js → Article-DSuvpyeC.js} +59 -62
  2. package/dist/{ArticleFooter-CRepUD0G.js → ArticleFooter-Cx3OC7sV.js} +3 -4
  3. package/dist/{Autocomplete-DW-EQzP_.js → Autocomplete-1jt0wRMS.js} +1 -1
  4. package/dist/{Autocomplete-DxWoCy2-.js → Autocomplete-C7CYy8w6.js} +8 -9
  5. package/dist/{Autocomplete-Dl8yr0gI.js → Autocomplete-DASTUS8d.js} +5 -6
  6. package/dist/{CSharp-CHmrfPD-.js → CSharp-CebNTVPd.js} +1 -1
  7. package/dist/{Calender-BX22DnMb.js → Calender-BBILvX8n.js} +4 -4
  8. package/dist/{Callback-BGchl5Pt.js → Callback-CLA9Ab9q.js} +5 -6
  9. package/dist/Cascader-DY2zOwsa.js +47 -0
  10. package/dist/{Cascader-Wmh_fOfd.js → Cascader-DyQ312mS.js} +12 -13
  11. package/dist/{Checkbox-ClYubr5_.js → Checkbox-CHmMU0Cs.js} +1 -1
  12. package/dist/{Checkbox-BhDHYVQv.js → Checkbox-CyC_mo50.js} +3 -4
  13. package/dist/Code-B4Z7WuUc.js +42 -0
  14. package/dist/Code-BOTf1uZ5.js +60 -0
  15. package/dist/{Code-Dw8__whP.js → Code-CIFJJJo3.js} +1 -1
  16. package/dist/Code-Da4PjT9q.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-ChjwMs7I.js +63 -0
  18. package/dist/{Column-CNqrSNAW.js → Column-9A6-8_Y7.js} +23 -19
  19. package/dist/{Comment-BNLLGPGB.js → Comment-D78rr4-n.js} +34 -30
  20. package/dist/{Compare-BjIr4vt8.js → Compare-Cb9vYPl5.js} +3 -4
  21. package/dist/{Compare-C5P2t4Iq.js → Compare-DLiL32cA.js} +3 -4
  22. package/dist/{Copy-CvBsdMqw.js → Copy-CH2_hawJ.js} +8 -9
  23. package/dist/Custom-D9qN9bwa.js +59 -0
  24. package/dist/{DataExport-J7a12xRD.js → DataExport-D8cqXPrh.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BQ0WNRqq.js → DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js} +12 -13
  26. package/dist/{DataImport-BgrxhdBP.js → DataImport-3KwXYYGw.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-0AgII-Ro.js → DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js} +3 -4
  28. package/dist/{Date-CqL3Xp1L.js → Date-OZxdofhB.js} +1 -1
  29. package/dist/{Date-iWorFEXN.js → Date-yHlD-Lw2.js} +8 -9
  30. package/dist/{DateRange-Cfpeirwq.js → DateRange-BLSxDHKv.js} +3 -4
  31. package/dist/{DateTime-Dv0U5rlW.js → DateTime-8tbpOKOK.js} +5 -6
  32. package/dist/{DateTime-fa-BOHE8.js → DateTime-B7GzMj8Q.js} +1 -1
  33. package/dist/{DateTimeRange-B0pw5ZiA.js → DateTimeRange-COFWmQoO.js} +6 -7
  34. package/dist/{Daterange-DMGOeSyF.js → Daterange-Cy8l4CfJ.js} +8 -9
  35. package/dist/{Decimal-ynN-XKqW.js → Decimal-Dw6EtZOm.js} +1 -1
  36. package/dist/{Delete-DKYI0lCr.js → Delete-DjXSCUKp.js} +15 -16
  37. package/dist/{Detail-Br-ULMjV.js → Detail-DU8mI4u2.js} +3 -4
  38. package/dist/{Dictionary-C3z2FWDL.js → Dictionary-CAAvUqf-.js} +10 -6
  39. package/dist/{Email-B2DsICjF.js → Email-AHWpz5Ck.js} +5 -6
  40. package/dist/{File-hdUkjji3.js → File-DUxwHR5G.js} +19 -20
  41. package/dist/Image-BJ5q87B6.js +9 -0
  42. package/dist/Index-CF44rsZW.js +4 -0
  43. package/dist/Index-CnFjsuQV.js +4 -0
  44. package/dist/{Index-ChcEoqTf.js → Index-D223MCYD.js} +35 -36
  45. package/dist/Index-DCIDLocj.js +4 -0
  46. package/dist/{Index-ySmCcOc1.js → Index-Jt1omrn-.js} +1 -1
  47. package/dist/{Index-BQB6vWfH.js → Index-KTv20XtO.js} +1 -1
  48. package/dist/{Index-Bnw6u3PZ.js → Index-Z8HW5XAm.js} +4 -5
  49. package/dist/Index-qIfIbiFH.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-CZXsC-E_.js → Index.vue_vue_type_script_setup_true_lang-BznVrY52.js} +27 -25
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-GUuR0vzO.js → Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js} +6 -7
  52. package/dist/{Install-0oA4rPM7.js → Install-C-xxCx9D.js} +10 -11
  53. package/dist/{Int-CNHen_OB.js → Int-1QpMyTPB.js} +3 -4
  54. package/dist/{Int-CYCrDfkF.js → Int-BsHpY5Gt.js} +6 -7
  55. package/dist/List-DW7FpMfd.js +72 -0
  56. package/dist/Maintaince-CjUfJUr7.js +20 -0
  57. package/dist/{Markdown-CcnI9mz9.js → Markdown-BZhSwheI.js} +1 -1
  58. package/dist/{Month-D_9DFUV2.js → Month-BKXtBi6i.js} +1 -1
  59. package/dist/{Month-N0iGv8-c.js → Month-IJnA7Kgl.js} +8 -9
  60. package/dist/{Month-BBF1HARy.js → Month-m0FiTmBK.js} +6 -7
  61. package/dist/{Normal-DwZJydUM.js → Normal-CettIwbU.js} +65 -66
  62. package/dist/Paging-J9vCBFzM.js +93 -0
  63. package/dist/{PagingHeader-GXUua6cK.js → PagingHeader-irWrEKGQ.js} +4 -5
  64. package/dist/{PagingRow-DeZCXdLB.js → PagingRow-Bft1brFD.js} +3 -4
  65. package/dist/{Racebar-BXFHoJrk.js → Racebar-D3VFwM1V.js} +28 -24
  66. package/dist/{Radio-nUkqPIGx.js → Radio-C-IwNXnz.js} +1 -1
  67. package/dist/{Register-DNXmULLI.js → Register-XTfqbbgr.js} +38 -39
  68. package/dist/{RichText-COY92auQ.js → RichText-D3aLlQph.js} +14 -10
  69. package/dist/{SearchFooter-B-2TAXcZ.js → SearchFooter-hC7sQBez.js} +1 -1
  70. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js +55 -0
  71. package/dist/{SearchForm-B1KLbbyY.js → SearchForm-BTux7Adt.js} +1 -1
  72. package/dist/SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js +143 -0
  73. package/dist/{Select-Bw_B6ufE.js → Select-ClAK8aNJ.js} +10 -11
  74. package/dist/{Select-CGamhz-L.js → Select-DlM_C-60.js} +1 -1
  75. package/dist/{Select-D8xfJf8j.js → Select-K1dU20i2.js} +13 -14
  76. package/dist/{Single-DIveQskP.js → Single-DYDwq041.js} +66 -69
  77. package/dist/{Statistic-D5iiPISQ.js → Statistic-CidgrAcU.js} +6 -7
  78. package/dist/{Stock-B3zJIs1k.js → Stock-BFszdaCn.js} +1 -1
  79. package/dist/{Stock-bO6XUouM.js → Stock-BiuhsKPB.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-CCOJ4-No.js → Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js} +6 -7
  81. package/dist/{Switch-DssI1IBh.js → Switch-TI8J8-E2.js} +1 -1
  82. package/dist/{Table-BO316Cbq.js → Table-DJOSPNrn.js} +123 -130
  83. package/dist/{Table-DXcpuTmH.js → Table-DYELgaTY.js} +60 -61
  84. package/dist/{Text-BCIG-FSm.js → Text-DAliAA9U.js} +1 -1
  85. package/dist/{Text-Eu5ow8IQ.js → Text-DEv-wMFU.js} +3 -4
  86. package/dist/Text-Dy6uYSm3.js +49 -0
  87. package/dist/Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js +59 -0
  88. package/dist/{TextLink-jLpxiMgK.js → TextLink-CKPExcuj.js} +5 -6
  89. package/dist/{Textarea-Bx3eU0TB.js → Textarea-CEv7HYqY.js} +1 -1
  90. package/dist/{Time-CwdRY8H-.js → Time-BeTq6Tq3.js} +9 -10
  91. package/dist/{Timeline-BPtq0iG0.js → Timeline-BI2o8Kug.js} +14 -10
  92. package/dist/{Tree-DxerBKds.js → Tree-BPeNz1X4.js} +60 -63
  93. package/dist/{Tree-IuRYghPt.js → Tree-DlIrY3e2.js} +34 -30
  94. package/dist/{TreeNode-DAY80hF6.js → TreeNode-CzM6Npi5.js} +5 -6
  95. package/dist/{Update-CSuOw8uK.js → Update-Bv6Lp8LZ.js} +3 -4
  96. package/dist/{UpdateChild-d6-0uHpZ.js → UpdateChild-mrF1t5G8.js} +3 -4
  97. package/dist/{Upload-CQoGLh54.js → Upload-B0dBN1oH.js} +18 -14
  98. package/dist/{Upload-Qrc2AkBp.js → Upload-BCdzJlzR.js} +15 -16
  99. package/dist/{Year-FnibDcf1.js → Year-2hJSZcj_.js} +12 -13
  100. package/dist/{Year-DmEcvxnt.js → Year-DLITl-_8.js} +1 -1
  101. package/dist/assets/{liquidjs-B8dqQyVv.js → liquidjs-C2HVw1Ra.js} +82 -81
  102. package/dist/main-SNlEeN01.js +10337 -0
  103. package/dist/main.js +144 -135
  104. package/dist/style.css +1 -1
  105. package/esm/coms/business/@types/DriverProps.d.ts +1 -6
  106. package/esm/coms/business/@types/FormProps.d.ts +0 -12
  107. package/esm/coms/business/@types/index.d.ts +1 -3
  108. package/esm/coms/business/Condition.vue.d.ts +6 -3
  109. package/esm/coms/business/Drawer.vue.d.ts +9 -4
  110. package/esm/coms/business/Driver.vue.d.ts +1 -0
  111. package/esm/coms/business/Form.vue.d.ts +1 -5
  112. package/esm/coms/business/index.d.ts +1 -3
  113. package/esm/coms/commons/index.d.ts +1 -2
  114. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  115. package/esm/coms/drivers/@types/CrudProps.d.ts +22 -0
  116. package/esm/coms/drivers/@types/DriverBaseProps.d.ts +14 -0
  117. package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
  118. package/esm/coms/drivers/@types/DriverFormProps.d.ts +15 -0
  119. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
  120. package/esm/coms/drivers/@types/DriverProps.d.ts +29 -0
  121. package/esm/coms/drivers/@types/KindFormProps.d.ts +17 -0
  122. package/esm/coms/drivers/@types/KindProps.d.ts +21 -0
  123. package/esm/coms/drivers/@types/index.d.ts +6 -0
  124. package/esm/coms/drivers/Crud.vue.d.ts +27 -0
  125. package/esm/coms/drivers/Index.vue.d.ts +114 -0
  126. package/esm/coms/drivers/Kind.vue.d.ts +33 -0
  127. package/esm/coms/drivers/index.d.ts +5 -0
  128. package/esm/coms/globals/@types/WindowEmit.d.ts +14 -0
  129. package/esm/coms/globals/@types/index.d.ts +2 -1
  130. package/esm/coms/globals/HeaderTabs.vue.d.ts +6 -3
  131. package/esm/coms/globals/Window.vue.d.ts +1 -38
  132. package/esm/coms/index.d.ts +1 -0
  133. package/esm/coms/layouts/Index.vue.d.ts +7 -3
  134. package/esm/coms/layouts/Side.vue.d.ts +5 -2
  135. package/esm/coms/layouts/Top.vue.d.ts +4 -1
  136. package/esm/coms/lists/Tree.vue.d.ts +4 -3
  137. package/esm/coms/pages/@types/index.d.ts +1 -2
  138. package/esm/coms/pages/Custom.vue.d.ts +2 -1
  139. package/esm/coms/pages/Delete.vue.d.ts +2 -2
  140. package/esm/coms/pages/List.vue.d.ts +3 -3
  141. package/esm/coms/pages/Paging.vue.d.ts +4 -3
  142. package/esm/coms/pages/Single.vue.d.ts +6 -5
  143. package/esm/coms/pagings/@types/SearchFooterProps.d.ts +10 -0
  144. package/esm/coms/pagings/@types/SearchFormProps.d.ts +7 -0
  145. package/esm/coms/pagings/@types/index.d.ts +3 -1
  146. package/esm/coms/pagings/Article.vue.d.ts +4 -3
  147. package/esm/coms/pagings/Index.vue.d.ts +4 -3
  148. package/esm/coms/pagings/SearchFooter.vue.d.ts +6 -109
  149. package/esm/coms/pagings/SearchForm.vue.d.ts +6 -65
  150. package/esm/coms/pagings/Table.vue.d.ts +4 -3
  151. package/esm/coms/panels/Operation.vue.d.ts +3 -2
  152. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  153. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  154. package/esm/coms/partials/PagingHeader.vue.d.ts +3 -3
  155. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  156. package/esm/coms/partials/Update.vue.d.ts +1 -1
  157. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  158. package/esm/coms/searches/Text.vue.d.ts +5 -7
  159. package/esm/repos/index.d.ts +1 -2
  160. package/esm/svcs/ModuleSvc.d.ts +40 -0
  161. package/esm/svcs/RouterSvc.d.ts +1 -1
  162. package/esm/svcs/StandardSvc.d.ts +2 -6
  163. package/esm/svcs/WindowSvc.d.ts +2 -2
  164. package/esm/svcs/index.d.ts +3 -3
  165. package/package.json +11 -11
  166. package/dist/Cascader-BpXwryCx.js +0 -43
  167. package/dist/Code-BQxUo4S4.js +0 -38
  168. package/dist/Code-BjpkNJAb.js +0 -4
  169. package/dist/Code-Co49-iRF.js +0 -56
  170. package/dist/Code.vue_vue_type_style_index_0_lang-DNzXcIII.js +0 -60
  171. package/dist/Custom-QVZ_RHXN.js +0 -62
  172. package/dist/Image-CwVoPF1W.js +0 -9
  173. package/dist/Index-BC2FQhAY.js +0 -4
  174. package/dist/Index-CBDxaC44.js +0 -4
  175. package/dist/Index-CT0cKXYs.js +0 -4
  176. package/dist/Index-D1ZbAjix.js +0 -4
  177. package/dist/List-Ci3F9DOP.js +0 -75
  178. package/dist/Maintaince-D7QKNnFc.js +0 -16
  179. package/dist/Paging-bRw8LIxA.js +0 -96
  180. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-97vAug1N.js +0 -55
  181. package/dist/SearchForm.vue_vue_type_style_index_0_lang-B3LUX2ZJ.js +0 -146
  182. package/dist/Text-BhvhxnY_.js +0 -55
  183. package/dist/Text.vue_vue_type_style_index_0_lang-C2rphbrS.js +0 -55
  184. package/dist/main-BCxKY4GT.js +0 -9933
@@ -1,20 +1,19 @@
1
- import { defineComponent as he, toRefs as fe, ref as S, onMounted as ge, computed as E, watch as B, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as J, unref as e, createBlock as g, withCtx as m, Fragment as w, renderList as R, createVNode as C, createCommentVNode as V, toDisplayString as I, createElementVNode as L, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
2
- import { v as K, s as N, d as Ce, U as P, g as Q, t as ke, f as xe, G as Se } from "./main-BCxKY4GT.js";
1
+ import { defineComponent as he, toRefs as fe, ref as w, onMounted as ge, computed as E, watch as B, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as H, unref as e, createBlock as g, withCtx as m, Fragment as R, renderList as S, createVNode as k, createCommentVNode as V, toDisplayString as I, createElementVNode as L, normalizeStyle as _e, createTextVNode as be, resolveDynamicComponent as ye } from "vue";
2
+ import { w as K, d as N, f as ke, U as P, k as Q, t as Ce, j as xe, J as we } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
4
  import "vue-router";
6
5
  import "./assets/intro.js-Cg1adLK7.js";
7
- const we = {
6
+ const Re = {
8
7
  key: 1,
9
8
  class: "ha-empty"
10
- }, Re = {
9
+ }, Se = {
11
10
  key: 2,
12
11
  ref: "normalRows",
13
12
  class: "normal-rows"
14
13
  }, $e = {
15
14
  key: 0,
16
15
  class: "normal-selection"
17
- }, ze = { class: "normal-content" }, Be = /* @__PURE__ */ he({
16
+ }, ze = { class: "normal-content" }, qe = /* @__PURE__ */ he({
18
17
  __name: "Normal",
19
18
  props: {
20
19
  route: {},
@@ -28,46 +27,46 @@ const we = {
28
27
  },
29
28
  emits: ["change", "submit"],
30
29
  setup(X, { expose: Y, emit: Z }) {
31
- let M = Z, ee = X, { module: O, set: c, schema: D, table: t, layout: i, validateErrors: A } = fe(ee), p = S({ page: 1, count: c.value[t.value.name].length }), k = S([]), b = S(), T = S([]), U = S(), le = (l) => {
32
- T.value.push(l);
30
+ let M = Z, ee = X, { module: O, set: c, schema: D, table: t, layout: i, validateErrors: j } = fe(ee), p = w({ page: 1, count: c.value[t.value.name].length }), C = w([]), b = w(), A = w([]), T = w(), le = (l) => {
31
+ A.value.push(l);
33
32
  }, te = () => {
34
33
  p.value.page = 1;
35
34
  }, ae = () => {
36
- b.value = G(t.value);
35
+ b.value = J(t.value);
37
36
  let l = N.getDefaultRow(t.value);
38
37
  c.value[t.value.name].push(l);
39
38
  }, ne = () => {
40
39
  let l = c.value[t.value.name];
41
- k.value.forEach((a) => {
40
+ C.value.forEach((a) => {
42
41
  l.splice(l.indexOf(a), 1);
43
- }), k.value = [], T.value.forEach((a) => {
42
+ }), C.value = [], A.value.forEach((a) => {
44
43
  a.model && (a.model = !1);
45
44
  });
46
- }, j = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, r, v) => {
47
- N.updateTooltip(o, r, v), M("change", l, a, o, r, v);
48
- }, re = (l, a) => {
49
- l ? k.value.push(a) : P.array.remove(k.value, a);
50
- }, ue = (l) => {
45
+ }, U = (l) => c.value[t.value.name].indexOf(l), oe = (l, a, o, u, v) => {
46
+ N.updateTooltip(o, u, v), M("change", l, a, o, u, v);
47
+ }, ue = (l, a) => {
48
+ l ? C.value.push(a) : P.array.remove(C.value, a);
49
+ }, re = (l) => {
51
50
  M("submit", l);
52
51
  }, se = (l, a = null) => {
53
52
  p.value.page = l;
54
- }, G = (l) => {
53
+ }, J = (l) => {
55
54
  if (l.main || l.search.length == 0)
56
55
  return null;
57
56
  let a = {};
58
- l.search.forEach((r) => {
59
- a[r.name] || (a[r.name] = null);
57
+ l.search.forEach((u) => {
58
+ a[u.name] || (a[u.name] = null);
60
59
  });
61
60
  let o = {};
62
61
  return o[l.name] = a, o;
63
62
  }, W = (l) => {
64
- b.value = G(l);
63
+ b.value = J(l);
65
64
  }, me = () => {
66
65
  F();
67
66
  }, ce = (l) => {
68
67
  W(l.schema[0]);
69
68
  }, F = () => {
70
- let l = U.value.clientWidth;
69
+ let l = T.value.clientWidth;
71
70
  i.value.column = Math.ceil(l / 500);
72
71
  }, ie = () => {
73
72
  F(), W(t.value);
@@ -75,10 +74,10 @@ const we = {
75
74
  ge(() => {
76
75
  ie();
77
76
  });
78
- let pe = E(() => K.splitRows(t.value.search, i.value.column)), H = E(() => {
77
+ let pe = E(() => K.splitRows(t.value.search, i.value.column)), G = E(() => {
79
78
  if (!b.value)
80
79
  return c.value[t.value.name];
81
- let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.pageSize, o = p.value.page * i.value.pageSize - 1, r = c.value[t.value.name].filter(($) => {
80
+ let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.size, o = p.value.page * i.value.size - 1, u = c.value[t.value.name].filter(($) => {
82
81
  let f = !0;
83
82
  for (let x = 0; x < t.value.search.length; x++) {
84
83
  let y = t.value.search[x], s = $[y.name], h = l[y.name];
@@ -96,49 +95,49 @@ const we = {
96
95
  }
97
96
  return f;
98
97
  });
99
- return p.value.count = r.length, r.filter(($, f) => f >= a && f <= o);
98
+ return p.value.count = u.length, u.filter(($, f) => f >= a && f <= o);
100
99
  }), ve = E(() => N.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), de = E(() => {
101
100
  let l = t.value.main ? `/${t.value.name}` : `/${D.value[0].name}/${t.value.name}`;
102
- return Ce.getComponent(`${l}/update-child`, "partial", "update-child");
101
+ return ke.getComponent(`${l}/update-child`, "partial", "update-child");
103
102
  });
104
103
  return B(() => c.value[t.value.name], (l, a) => {
105
- let o = l.length, r = a.length, v = P.math.pageCount(c.value[t.value.name].length, i.value.pageSize);
106
- (o > r || o < r && p.value.page > v) && (p.value.page = v);
107
- }, { deep: !0 }), B(A, (l, a) => {
108
- let o = l.find((r) => r.table == t.value.name);
109
- o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.pageSize));
104
+ let o = l.length, u = a.length, v = P.math.pageCount(c.value[t.value.name].length, i.value.size);
105
+ (o > u || o < u && p.value.page > v) && (p.value.page = v);
106
+ }, { deep: !0 }), B(j, (l, a) => {
107
+ let o = l.find((u) => u.table == t.value.name);
108
+ o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.size));
110
109
  }), B(t, (l, a) => {
111
110
  F();
112
111
  }), Y({ resize: me, update: ce }), (l, a) => {
113
- const o = _("el-form-item"), r = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
112
+ const o = _("el-form-item"), u = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
114
113
  return n(), d("div", {
115
114
  ref_key: "normalRef",
116
- ref: U,
117
- class: J(["ha-normal-layout", { draggable: e(i).sort }])
115
+ ref: T,
116
+ class: H(["ha-normal-layout", { draggable: e(i).sort }])
118
117
  }, [
119
118
  e(b) ? (n(), g($, {
120
119
  key: 0,
121
120
  class: "search-form"
122
121
  }, {
123
122
  default: m(() => [
124
- (n(!0), d(w, null, R(e(pe), (s, h) => (n(), g(v, {
123
+ (n(!0), d(R, null, S(e(pe), (s, h) => (n(), g(v, {
125
124
  gutter: 5,
126
125
  key: h
127
126
  }, {
128
127
  default: m(() => [
129
- (n(!0), d(w, null, R(s, (u, q) => (n(), g(r, {
128
+ (n(!0), d(R, null, S(s, (r, q) => (n(), g(u, {
130
129
  span: 24 / e(i).column,
131
130
  key: q
132
131
  }, {
133
132
  default: m(() => [
134
- C(o, {
135
- label: u.label
133
+ k(o, {
134
+ label: r.label
136
135
  }, {
137
136
  default: m(() => [
138
- C(e(Q), {
137
+ k(e(Q), {
139
138
  schema: e(D),
140
139
  table: e(t),
141
- field: u,
140
+ field: r,
142
141
  set: e(b),
143
142
  onSubmit: e(te)
144
143
  }, null, 8, ["schema", "table", "field", "set", "onSubmit"])
@@ -154,63 +153,63 @@ const we = {
154
153
  ]),
155
154
  _: 1
156
155
  })) : V("", !0),
157
- e(H).length ? (n(), d("div", Re, [
158
- (n(!0), d(w, null, R(e(H), (s) => (n(), d("div", {
159
- class: J(["normal-row", { main: e(t).main }])
156
+ e(G).length ? (n(), d("div", Se, [
157
+ (n(!0), d(R, null, S(e(G), (s) => (n(), d("div", {
158
+ class: H(["normal-row", { main: e(t).main }])
160
159
  }, [
161
160
  e(t).main ? V("", !0) : (n(), d("div", $e, [
162
- C(f, {
161
+ k(f, {
163
162
  ref_for: !0,
164
163
  ref: e(le),
165
164
  class: "normal-checkbox",
166
165
  row: s,
167
- onChange: (h) => e(re)(h, s)
166
+ onChange: (h) => e(ue)(h, s)
168
167
  }, null, 8, ["row", "onChange"])
169
168
  ])),
170
169
  L("div", ze, [
171
- (n(!0), d(w, null, R(e(ve), (h) => (n(), g(v, null, {
170
+ (n(!0), d(R, null, S(e(ve), (h) => (n(), g(v, null, {
172
171
  default: m(() => [
173
- (n(!0), d(w, null, R(h, ({ data: u, span: q }) => (n(), g(r, {
172
+ (n(!0), d(R, null, S(h, ({ data: r, span: q }) => (n(), g(u, {
174
173
  span: q,
175
- key: `${e(t).name}.${u.name}`
174
+ key: `${e(t).name}.${r.name}`
176
175
  }, {
177
176
  default: m(() => [
178
- C(o, {
179
- style: _e(e(K).getStyle(u, e(O).type, e(i).type)),
180
- label: u.label,
181
- rules: e(N).getRules(e(A), e(t), u, e(j)(s)),
182
- prop: `[${e(t).name}][${e(j)(s)}][${u.name}]`
177
+ k(o, {
178
+ style: _e(e(K).getStyle(r, e(O).type, e(i).type)),
179
+ label: r.label,
180
+ rules: e(N).getRules(e(j), e(t), r, e(U)(s)),
181
+ prop: `[${e(t).name}][${e(U)(s)}][${r.name}]`
183
182
  }, {
184
183
  label: m(() => {
185
184
  var z;
186
185
  return [
187
- be(I(e(xe)(e(t).name, u.name)) + " ", 1),
188
- (z = u.control.tooltip) != null && z.content ? (n(), g(x, {
186
+ be(I(e(xe)(e(t).name, r.name)) + " ", 1),
187
+ (z = r.control.tooltip) != null && z.content ? (n(), g(x, {
189
188
  key: 0,
190
189
  trigger: "hover",
191
190
  placement: "top",
192
191
  width: "auto",
193
- title: u.control.tooltip.title
192
+ title: r.control.tooltip.title
194
193
  }, {
195
194
  reference: m(() => a[1] || (a[1] = [
196
195
  L("i", { class: "fa fa-question-circle icon-question" }, null, -1)
197
196
  ])),
198
197
  default: m(() => [
199
- L("pre", null, I(u.control.tooltip.content), 1)
198
+ L("pre", null, I(r.control.tooltip.content), 1)
200
199
  ]),
201
200
  _: 2
202
201
  }, 1032, ["title"])) : V("", !0)
203
202
  ];
204
203
  }),
205
204
  default: m(() => [
206
- C(e(Q), {
205
+ k(e(Q), {
207
206
  schema: e(D),
208
207
  set: e(c),
209
208
  table: e(t),
210
209
  row: s,
211
- field: u,
212
- onSubmit: e(ue),
213
- onChange: (z) => e(oe)(z, e(c), e(t), s, u)
210
+ field: r,
211
+ onSubmit: e(re),
212
+ onChange: (z) => e(oe)(z, e(c), e(t), s, r)
214
213
  }, null, 8, ["schema", "set", "table", "row", "field", "onSubmit", "onChange"])
215
214
  ]),
216
215
  _: 2
@@ -223,24 +222,24 @@ const we = {
223
222
  }, 1024))), 256))
224
223
  ])
225
224
  ], 2))), 256))
226
- ], 512)) : (n(), d("div", we, I(e(ke)("common.no_data")), 1)),
227
- e(t).main ? V("", !0) : (n(), g(e(Se), { key: 3 }, {
225
+ ], 512)) : (n(), d("div", Re, I(e(Ce)("common.no_data")), 1)),
226
+ e(t).main ? V("", !0) : (n(), g(e(we), { key: 3 }, {
228
227
  left: m(() => [
229
228
  (n(), g(ye(e(de)), {
230
229
  module: e(O),
231
230
  set: e(c),
232
231
  table: e(t),
233
- selection: e(k),
232
+ selection: e(C),
234
233
  onAdd: e(ae),
235
234
  onRemove: e(ne)
236
235
  }, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
237
236
  ]),
238
237
  default: m(() => [
239
- C(y, {
238
+ k(y, {
240
239
  background: "",
241
240
  layout: "total, prev, pager, next, jumper",
242
241
  "current-page": e(p).page,
243
- "page-size": e(i).pageSize,
242
+ "page-size": e(i).size,
244
243
  total: e(p).count,
245
244
  onCurrentChange: a[0] || (a[0] = (s) => e(se)(s, e(t)))
246
245
  }, null, 8, ["current-page", "page-size", "total"])
@@ -252,5 +251,5 @@ const we = {
252
251
  }
253
252
  });
254
253
  export {
255
- Be as default
254
+ qe as default
256
255
  };
@@ -0,0 +1,93 @@
1
+ import { defineComponent as T, toRefs as V, ref as r, onMounted as $, watch as A, unref as a, openBlock as E, createBlock as G, createCommentVNode as I } from "vue";
2
+ import { U as o, c as Q, i as W, d, e as q, a as X } from "./main-SNlEeN01.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-BznVrY52.js";
5
+ const ae = /* @__PURE__ */ T({
6
+ __name: "Paging",
7
+ props: {
8
+ base: {},
9
+ route: {},
10
+ url: {},
11
+ win: {}
12
+ },
13
+ emits: ["navigate", "load"],
14
+ setup(b, { expose: z, emit: P }) {
15
+ let m = P, k = b, { url: p, base: y, route: u } = V(k), f = r(), v = r(), c = r(), g = r(), x = r(), C = r(), h = r(), s = r(), N = (e) => !0, R = (e) => {
16
+ let l = o.url.getPath(p.value), t = o.url.getPath(e);
17
+ return l != t;
18
+ }, L = (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], g.value = c.value.layouts[0], h.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, (O) => {
28
+ l && l(O);
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(h.value);
36
+ l.condition = q.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 = q.encode(JSON.stringify(e));
42
+ let n = o.url.getUrl(u.value.path, t);
43
+ i(n, l);
44
+ }, H = (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
+ }, j = (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
+ }, F = (e) => {
55
+ g.value = c.value.layouts.find((l) => l.type == e);
56
+ }, J = () => {
57
+ S(y.value.data);
58
+ }, _ = (e = null) => U(null, e), K = (e) => {
59
+ if (!s.value || !s.value.resize)
60
+ return !1;
61
+ s.value.resize(e);
62
+ }, M = (e, l) => {
63
+ X.triggerKeyboardHandler(s.value, e, l);
64
+ };
65
+ return $(async () => {
66
+ J();
67
+ }), A(() => y.value, (e) => {
68
+ S(e.data);
69
+ }), z({ shouldLoad: N, shouldSpin: R, refresh: _, keyboardHandler: M, resize: K }), (e, l) => a(g) ? (E(), G(Y, {
70
+ key: 0,
71
+ ref_key: "pagingRef",
72
+ ref: s,
73
+ module: a(f),
74
+ next: a(x),
75
+ set: a(C),
76
+ schema: a(v),
77
+ table: a(c),
78
+ layout: a(g),
79
+ "search-data": a(h),
80
+ onNavigate: a(i),
81
+ onSort: a(D),
82
+ onSearch: a(B),
83
+ onPageChange: a(H),
84
+ onSizeChange: a(j),
85
+ onLayoutChange: a(F),
86
+ onSucceed: a(L),
87
+ onClose: a(w)
88
+ }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : I("", !0);
89
+ }
90
+ });
91
+ export {
92
+ ae as default
93
+ };
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as D, toRefs as F, ref as H, resolveComponent as b, openBlock as c, createElementBlock as I, Fragment as P, createElementVNode as l, unref as e, createBlock as d, withCtx as o, createTextVNode as m, toDisplayString as i, createCommentVNode as u, createVNode as k, createSlots as R } from "vue";
2
- import { t as n } from "./main-BCxKY4GT.js";
2
+ import { t as n } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const T = { class: "search-title" }, $ = { class: "search-operation" }, M = /* @__PURE__ */ D({
4
+ const T = { class: "search-title" }, $ = { class: "search-operation" }, L = /* @__PURE__ */ D({
6
5
  __name: "PagingHeader",
7
6
  props: {
8
7
  schema: {},
@@ -65,7 +64,7 @@ const T = { class: "search-title" }, $ = { class: "search-operation" }, M = /* @
65
64
  e(p).delete ? (c(), d(q, {
66
65
  key: 2,
67
66
  width: 180,
68
- title: e(n)("common.confirm_delete"),
67
+ title: e(n)("common.confirm_delete", ""),
69
68
  "confirm-button-text": e(n)("common.confirm"),
70
69
  "cancel-button-text": e(n)("common.cancel"),
71
70
  onConfirm: e(S)
@@ -139,5 +138,5 @@ const T = { class: "search-title" }, $ = { class: "search-operation" }, M = /* @
139
138
  }
140
139
  });
141
140
  export {
142
- M as default
141
+ L as default
143
142
  };
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as x, toRefs as y, resolveComponent as _, openBlock as r, createElementBlock as c, unref as e, createCommentVNode as a, createBlock as g, withCtx as B, createElementVNode as R } from "vue";
2
- import { t as p } from "./main-BCxKY4GT.js";
2
+ import { t as p } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const E = { class: "paging-row" }, A = /* @__PURE__ */ x({
4
+ const E = { class: "paging-row" }, z = /* @__PURE__ */ x({
6
5
  __name: "PagingRow",
7
6
  props: {
8
7
  table: {},
@@ -65,5 +64,5 @@ const E = { class: "paging-row" }, A = /* @__PURE__ */ x({
65
64
  }
66
65
  });
67
66
  export {
68
- A as default
67
+ z as default
69
68
  };
@@ -1,10 +1,14 @@
1
1
  import { defineComponent as H, toRefs as I, ref as y, onMounted as M, onUnmounted as $, openBlock as F, createElementBlock as N, createVNode as O, unref as d, createElementVNode as V, nextTick as P } from "vue";
2
2
  import * as T from "echarts";
3
- import { B as W, U as f } from "./main-BCxKY4GT.js";
3
+ import { C as W, U as m } from "./main-SNlEeN01.js";
4
+ import "./assets/liquidjs-C2HVw1Ra.js";
5
+ import "./assets/underscore-B0BCaBxV.js";
6
+ import "./assets/file-saver-CwlpTZSc.js";
7
+ import "./assets/clone-BZn0cTAu.js";
8
+ import "./assets/underscore.string-DVXD2SZo.js";
4
9
  import "./assets/moment-h96o7c8I.js";
5
- import "./assets/liquidjs-B8dqQyVv.js";
6
- import { _ as j } from "./SearchForm.vue_vue_type_style_index_0_lang-B3LUX2ZJ.js";
7
- const ee = /* @__PURE__ */ H({
10
+ import { _ as j } from "./SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js";
11
+ const re = /* @__PURE__ */ H({
8
12
  __name: "Racebar",
9
13
  props: {
10
14
  searchData: {},
@@ -18,31 +22,31 @@ const ee = /* @__PURE__ */ H({
18
22
  },
19
23
  emits: ["search"],
20
24
  setup(R, { expose: k, emit: q }) {
21
- let w = R, { route: G, module: J, schema: A, table: D, layout: e, set: h, searchData: B } = I(w), m = y(), x = y(), b = y();
25
+ let w = R, { route: G, module: J, schema: A, table: D, layout: e, set: f, searchData: L } = I(w), h = y(), x = y(), b = y();
22
26
  y({ width: null, height: null });
23
- let o = null, S = null, s = [], n = 0, a, { app: L } = W.sys, U = () => {
27
+ let o = null, S = null, s = [], n = 0, a, { app: U } = W.sys, B = () => {
24
28
  }, z = () => {
25
29
  var t;
26
- let l = f.dom.getHeight(b.value), g = f.dom.getHeight((t = x.value) == null ? void 0 : t.$el), p = f.dom.getWidth(b.value);
27
- p && (m.value.style.width = Math.floor(p) + "px");
28
- let v = l - g - 1;
29
- v && (m.value.style.height = v + "px");
30
+ let l = m.dom.getHeight(b.value), p = m.dom.getHeight((t = x.value) == null ? void 0 : t.$el), g = m.dom.getWidth(b.value);
31
+ g && (h.value.style.width = Math.floor(g) + "px");
32
+ let v = l - p - 1;
33
+ v && (h.value.style.height = v + "px");
30
34
  }, C = (l) => {
31
35
  x.value.resize(l), P(() => {
32
36
  z(), o == null || o.resize();
33
37
  });
34
38
  }, E = () => {
35
- let l = f.array.distinct(h.value[D.value.name], (t) => t[e.value.legend]);
36
- s = f.array.distinct(h.value[e.value.table], (t) => t[e.value.date]);
37
- function g() {
39
+ let l = m.array.distinct(f.value[D.value.name], (t) => t[e.value.legend]);
40
+ s = m.array.distinct(f.value[e.value.table], (t) => t[e.value.date]);
41
+ function p() {
38
42
  let t = s[n], i = [];
39
43
  for (let r = 0; r < l.length; ++r) {
40
- let _ = l[r], u = h.value[e.value.table].find((c) => c[e.value.legend] == _ && c[e.value.date] == t);
44
+ let _ = l[r], u = f.value[e.value.table].find((c) => c[e.value.legend] == _ && c[e.value.date] == t);
41
45
  u ? i.push(u[e.value.value]) : i.push(0);
42
46
  }
43
47
  return i;
44
48
  }
45
- let p = g();
49
+ let g = p();
46
50
  a = {
47
51
  title: { textStyle: { color: "#777" } },
48
52
  tooltip: { axisPointer: { type: "shadow" } },
@@ -81,7 +85,7 @@ const ee = /* @__PURE__ */ H({
81
85
  realtimeSort: !0,
82
86
  name: e.value.title,
83
87
  type: "bar",
84
- data: p,
88
+ data: g,
85
89
  label: {
86
90
  show: !0,
87
91
  precision: 0,
@@ -120,11 +124,11 @@ const ee = /* @__PURE__ */ H({
120
124
  z: 100
121
125
  }]
122
126
  }
123
- }, L.theme == "dark" && (a.title.textStyle.color = "rgba(255,255,255,0.8)", a.legend.textStyle.color = "rgba(255,255,255,.72)", a.xAxis.axisLabel.color = "rgba(255,255,255,.72)", a.xAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", a.yAxis.axisLabel.color = "rgba(255,255,255,.72)", a.series[0].label.color = "rgba(255,255,255,.72)"), o.setOption(a), n++;
127
+ }, U.theme == "dark" && (a.title.textStyle.color = "rgba(255,255,255,0.8)", a.legend.textStyle.color = "rgba(255,255,255,.72)", a.xAxis.axisLabel.color = "rgba(255,255,255,.72)", a.xAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", a.yAxis.axisLabel.color = "rgba(255,255,255,.72)", a.series[0].label.color = "rgba(255,255,255,.72)"), o.setOption(a), n++;
124
128
  function v() {
125
129
  let t = s[n], i = a.series[0].data;
126
130
  for (let r = 0; r < i.length; ++r) {
127
- let _ = l[r], u = h.value[e.value.table].find((c) => c[e.value.legend] == _ && c[e.value.date] == t);
131
+ let _ = l[r], u = f.value[e.value.table].find((c) => c[e.value.legend] == _ && c[e.value.date] == t);
128
132
  u ? i[r] = u[e.value.value] : i[r] = 0;
129
133
  }
130
134
  a.graphic.elements[0].style.text = t, o.setOption(a);
@@ -134,10 +138,10 @@ const ee = /* @__PURE__ */ H({
134
138
  }, 3e3);
135
139
  };
136
140
  return M(() => {
137
- z(), o = T.init(m.value), E();
141
+ z(), o = T.init(h.value), E();
138
142
  }), $(() => {
139
143
  clearInterval(S), o.dispose();
140
- }), k({ resize: C }), (l, g) => (F(), N("div", {
144
+ }), k({ resize: C }), (l, p) => (F(), N("div", {
141
145
  ref_key: "raceBarRef",
142
146
  ref: b,
143
147
  class: "race-bar-layout"
@@ -148,17 +152,17 @@ const ee = /* @__PURE__ */ H({
148
152
  schema: d(A),
149
153
  table: d(D),
150
154
  layout: d(e),
151
- "search-data": d(B),
152
- onSearch: d(U)
155
+ "search-data": d(L),
156
+ onSearch: d(B)
153
157
  }, null, 8, ["schema", "table", "layout", "search-data", "onSearch"]),
154
158
  V("div", {
155
159
  ref_key: "chartRef",
156
- ref: m,
160
+ ref: h,
157
161
  class: "race-bar"
158
162
  }, null, 512)
159
163
  ], 512));
160
164
  }
161
165
  });
162
166
  export {
163
- ee as default
167
+ re as default
164
168
  };
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ p({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = u(() => import("./Dictionary-C3z2FWDL.js")), s = a, { schema: m, table: n, field: d, set: i, row: f, modelValue: l } = c(s);
13
+ let r = u(() => import("./Dictionary-CAAvUqf-.js")), s = a, { schema: m, table: n, field: d, set: i, row: f, modelValue: l } = c(s);
14
14
  return (_, o) => (V(), b(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),