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,9 +1,8 @@
1
- import { defineComponent as Ue, toRefs as $e, ref as u, computed as Y, watch as Be, resolveComponent as p, openBlock as d, createElementBlock as O, normalizeClass as De, unref as e, createElementVNode as m, createVNode as g, withCtx as s, withModifiers as Le, createBlock as h, isRef as Z, Fragment as ee, renderList as le, toDisplayString as x, createCommentVNode as B, resolveDynamicComponent as Ne, normalizeStyle as Pe, createTextVNode as te, nextTick as ae } from "vue";
2
- import { d as qe, e as Ke, t as oe, f as je, g as Fe, U as D, a as Me, h as Oe, m as ue, b as Ae, i as Ge, s as re } from "./main-BCxKY4GT.js";
1
+ import { defineComponent as Ue, toRefs as $e, ref as u, computed as Y, watch as Be, resolveComponent as p, openBlock as d, createElementBlock as H, normalizeClass as De, unref as e, createElementVNode as m, createVNode as g, withCtx as s, withModifiers as Ke, createBlock as h, isRef as Z, Fragment as ee, renderList as le, toDisplayString as k, createCommentVNode as B, resolveDynamicComponent as Le, normalizeStyle as Ne, createTextVNode as te, nextTick as ae } from "vue";
2
+ import { f as Pe, g as je, t as oe, j as qe, k as Fe, U as D, b as He, h as Me, m as ue, c as Oe, i as Ae, d as re, K as Ge, a as Ie } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-GUuR0vzO.js";
6
- const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class: "row-title" }, Qe = { class: "el-drawer__title" }, We = ["href"], al = /* @__PURE__ */ Ue({
4
+ import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js";
5
+ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class: "row-title" }, Xe = { class: "el-drawer__title" }, Ye = ["href"], ol = /* @__PURE__ */ Ue({
7
6
  __name: "Single",
8
7
  props: {
9
8
  base: {},
@@ -13,20 +12,20 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
13
12
  },
14
13
  emits: ["navigate", "load", "succeed", "close"],
15
14
  setup(se, { expose: ie, emit: de }) {
16
- let L = de, me = se, { url: ve, base: A, route: z } = $e(me), c = u(), b = u(), v = u(), r = u(), y = u(), N = u(), f = u({ table: null, layout: null }), w = u(), P = u([]), fe = u(), E = u(), R = u(), j = u(), C = u(), q = u(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), k = u(!1), F = u(), S = u(), pe = (l) => !0, ce = (l) => {
15
+ let K = de, me = se, { url: ve, base: M, route: z } = $e(me), c = u(), b = u(), v = u(), r = u(), y = u(), L = u(), f = u({ table: null, layout: null }), w = u(), N = u([]), fe = u(), E = u(), R = u(), j = u(), C = u(), O = u(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), x = u(!1), q = u(), S = u(), pe = (l) => !0, ce = (l) => {
17
16
  let t = D.url.getPath(ve.value), a = D.url.getPath(l);
18
17
  return t != a;
19
18
  }, be = () => {
20
19
  Ve();
21
20
  }, ye = (l, t) => {
22
- G("copy", l, t);
21
+ A("copy", l, t);
23
22
  }, _e = (l, t) => {
24
- G("update", l, t);
23
+ A("update", l, t);
25
24
  }, ge = () => {
26
25
  i.value.visible = !1;
27
- }, G = (l, t, a) => {
26
+ }, A = (l, t, a) => {
28
27
  let n = he(l, t);
29
- a.ctrlKey ? L("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
28
+ a.ctrlKey ? K("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
30
29
  }, he = (l, t = null) => {
31
30
  let a = `${b.value[l].route}`;
32
31
  if (t != null) {
@@ -35,46 +34,46 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
35
34
  }
36
35
  return a;
37
36
  }, we = (l, t, a) => {
38
- (a.ctrlKey || k.value) && (F.value = l, S.value = D.object.clone(t), k.value = !0, S.value.fields.forEach((n) => {
37
+ (a.ctrlKey || x.value) && (q.value = l, S.value = D.object.clone(t), x.value = !0, S.value.fields.forEach((n) => {
39
38
  n.control.textualize = !1;
40
39
  }));
41
- }, H = (l) => {
42
- i.value.visible = !1, L("succeed", W.value, l);
40
+ }, G = (l) => {
41
+ i.value.visible = !1, K("succeed", W.value, l);
43
42
  }, Ce = () => {
44
- L("close");
43
+ K("close");
45
44
  }, I = (l, t, a, n, T) => {
46
45
  }, J = (l, t) => {
47
46
  if (t) {
48
- N.value = y.value.layouts.find((a) => a.type == l);
47
+ L.value = y.value.layouts.find((a) => a.type == l);
49
48
  return;
50
49
  }
51
50
  f.value.layout = f.value.table.layouts.find((a) => a.type == l);
52
- }, ke = (l) => {
51
+ }, xe = (l) => {
53
52
  let t = r.value.find((a) => a.name == l);
54
53
  f.value.table = t, f.value.layout = t.layouts[0];
55
- }, xe = (l) => {
54
+ }, ke = (l) => {
56
55
  let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
57
56
  r.value.find((T) => T.name == a).main || (w.value = a);
58
57
  }, Re = (l, t = null, a = null) => {
59
58
  ae(() => {
60
59
  E.value.validate((n, T) => {
61
60
  if (!n)
62
- return xe(T), a && a(!1), !1;
61
+ return ke(T), a && a(!1), !1;
63
62
  let U = c.value.type == "Update" ? b.value.update.route : b.value.insert.route;
64
- t && t(U, v.value), Oe.post(U, v.value).then(({ data: $, message: V }) => {
65
- E.value.clearValidate(), ue.success(V), H(v.value);
63
+ t && t(U, v.value), Me.post(U, v.value).then(({ data: $, message: V }) => {
64
+ E.value.clearValidate(), ue.success(V), G(v.value);
66
65
  }).catch(({ code: $, data: V, message: X }) => {
67
66
  if ($ != "ValidateError")
68
67
  return;
69
- P.value = V;
70
- let K = V.find((_) => _.table !== y.value.name);
71
- if (K) {
72
- let _ = r.value.find((o) => o.name == K.table);
68
+ N.value = V;
69
+ let P = V.find((_) => _.table !== y.value.name);
70
+ if (P) {
71
+ let _ = r.value.find((o) => o.name == P.table);
73
72
  _ && (w.value = _.name);
74
73
  }
75
74
  ae(() => {
76
75
  E.value.clearValidate(), E.value.validate((_, o) => {
77
- _ || (a && a(!1), P.value = []);
76
+ _ || (a && a(!1), N.value = []);
78
77
  });
79
78
  });
80
79
  }).finally(() => {
@@ -84,29 +83,27 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
84
83
  });
85
84
  }, Q = (l) => {
86
85
  var a, n;
87
- let t = Ae(l.module.type, l.module.name);
88
- Ge.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, v.value = re.expandSet(l.schema, l.set), r.value = re.expandSchema(l.schema, l.set), y.value = (a = r.value) == null ? void 0 : a[0], N.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, f.value.table = r.value[1], f.value.layout = r.value[1].layouts[0]);
86
+ let t = Oe(l.module.type, l.module.name);
87
+ Ae.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, v.value = re.expandSet(l.schema, l.set), r.value = re.expandSchema(l.schema, l.set), y.value = (a = r.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, f.value.table = r.value[1], f.value.layout = r.value[1].layouts[0]);
89
88
  }, Se = (l) => {
90
89
  R.value && R.value.resize && R.value.resize(l), C.value && C.value.resize && C.value.resize(l);
91
90
  }, Te = (l, t) => {
92
- if (l == "ctrlS") {
91
+ if (l == Ge.ctrlS) {
93
92
  if (c.value.type == "Detail") {
94
- if (!q.value || !q.value.keyboard)
95
- return !1;
96
- q.value.keyboard(l, t);
93
+ Ie.triggerKeyboardHandler(O.value, l, t);
97
94
  return;
98
95
  }
99
- M(t);
96
+ F(t);
100
97
  }
101
98
  }, Ve = () => {
102
99
  let l = D.url.getUrl(z.value.path, z.value.query);
103
- L("load", l, !1, (t) => {
100
+ K("load", l, !1, (t) => {
104
101
  });
105
102
  };
106
103
  (() => {
107
- Q(A.value.data);
104
+ Q(M.value.data);
108
105
  })();
109
- let M = (l) => {
106
+ let F = (l) => {
110
107
  if (!j.value.submit) {
111
108
  ue.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
112
109
  return;
@@ -114,25 +111,25 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
114
111
  j.value.submit(l);
115
112
  }, ze = Y(() => {
116
113
  let l = `/${y.value.name}/update`, t = c.value.type == "Detail" ? "detail" : "update";
117
- return qe.getComponent(l, "partial", t);
114
+ return Pe.getComponent(l, "partial", t);
118
115
  }), W = Y(() => c.value.type.toLowerCase());
119
- return Be(() => A.value, (l) => {
116
+ return Be(() => M.value, (l) => {
120
117
  Q(l.data), R.value.update && R.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
121
- }), ie({ shouldLoad: pe, shouldSpin: ce, keyboard: Te, refresh: be, resize: Se }), (l, t) => {
122
- const a = p("el-tooltip"), n = p("el-tab-pane"), T = p("el-tabs"), U = p("el-form"), $ = p("el-scrollbar"), V = p("el-popover"), X = p("el-form-item"), K = p("el-card"), _ = p("el-drawer");
123
- return d(), O("div", {
118
+ }), ie({ shouldLoad: pe, shouldSpin: ce, keyboardHandler: Te, refresh: be, resize: Se }), (l, t) => {
119
+ const a = p("el-tooltip"), n = p("el-tab-pane"), T = p("el-tabs"), U = p("el-form"), $ = p("el-scrollbar"), V = p("el-popover"), X = p("el-form-item"), P = p("el-card"), _ = p("el-drawer");
120
+ return d(), H("div", {
124
121
  ref_key: "singleRef",
125
122
  ref: fe,
126
- class: De(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(k) }])
123
+ class: De(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(x) }])
127
124
  }, [
128
- m("div", He, [
125
+ m("div", Je, [
129
126
  g($, { class: "main-scroller" }, {
130
127
  default: s(() => [
131
128
  g(U, {
132
129
  ref_key: "formRef",
133
130
  ref: E,
134
131
  model: e(v),
135
- onSubmit: t[3] || (t[3] = Le(() => {
132
+ onSubmit: t[3] || (t[3] = Ke(() => {
136
133
  }, ["prevent"]))
137
134
  }, {
138
135
  default: s(() => [
@@ -142,24 +139,24 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
142
139
  module: e(c),
143
140
  schema: e(r),
144
141
  table: e(y),
145
- layout: e(N),
142
+ layout: e(L),
146
143
  next: e(b),
147
144
  set: e(v),
148
145
  route: e(z),
149
- "validate-errors": e(P),
146
+ "validate-errors": e(N),
150
147
  onChange: e(I),
151
148
  onLayoutChange: t[0] || (t[0] = (o) => e(J)(o, !0)),
152
- onSubmit: e(M)
149
+ onSubmit: e(F)
153
150
  }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
154
151
  e(r).length > 1 ? (d(), h(T, {
155
152
  key: 0,
156
153
  type: "border-card",
157
- onTabChange: e(ke),
154
+ onTabChange: e(xe),
158
155
  modelValue: e(w),
159
156
  "onUpdate:modelValue": t[1] || (t[1] = (o) => Z(w) ? w.value = o : w = o)
160
157
  }, {
161
158
  default: s(() => [
162
- (d(!0), O(ee, null, le(e(r).filter((o, Ee) => Ee > 0), (o) => (d(), h(n, {
159
+ (d(!0), H(ee, null, le(e(r).filter((o, Ee) => Ee > 0), (o) => (d(), h(n, {
163
160
  name: o.name,
164
161
  key: o.name
165
162
  }, {
@@ -170,7 +167,7 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
170
167
  disabled: !o.tooltip
171
168
  }, {
172
169
  default: s(() => [
173
- m("div", null, x(e(Ke)(o.table)), 1)
170
+ m("div", null, k(e(je)(o.table)), 1)
174
171
  ]),
175
172
  _: 2
176
173
  }, 1032, ["content", "disabled"])
@@ -191,11 +188,11 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
191
188
  next: e(b),
192
189
  set: e(v),
193
190
  route: e(z),
194
- "validate-errors": e(P),
191
+ "validate-errors": e(N),
195
192
  onRowEdit: e(we),
196
193
  onChange: e(I),
197
194
  onLayoutChange: t[2] || (t[2] = (o) => e(J)(o, !1)),
198
- onSubmit: e(M)
195
+ onSubmit: e(F)
199
196
  }, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : B("", !0)
200
197
  ]),
201
198
  _: 1
@@ -203,13 +200,13 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
203
200
  ]),
204
201
  _: 1
205
202
  }),
206
- (d(), h(Ne(e(ze)), {
203
+ (d(), h(Le(e(ze)), {
207
204
  ref_key: "updateRef",
208
205
  ref: j,
209
206
  class: "main-footer",
210
207
  schema: e(r),
211
208
  table: e(y),
212
- layout: e(N),
209
+ layout: e(L),
213
210
  next: e(b),
214
211
  set: e(v),
215
212
  route: e(z),
@@ -219,16 +216,16 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
219
216
  onClose: e(Ce)
220
217
  }, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
221
218
  ]),
222
- e(k) ? (d(), h(K, {
219
+ e(x) ? (d(), h(P, {
223
220
  key: 0,
224
221
  class: "side-form"
225
222
  }, {
226
223
  header: s(() => [
227
- m("div", Ie, [
228
- m("div", Je, x(e(oe)("common.modify")) + " " + x(e(F)[e(S).show[0].name]), 1),
224
+ m("div", Qe, [
225
+ m("div", We, k(e(oe)("common.modify")) + " " + k(e(q)[e(S).show[0].name]), 1),
229
226
  m("div", {
230
227
  class: "row-close",
231
- onClick: t[4] || (t[4] = (o) => Z(k) ? k.value = !1 : k = !1)
228
+ onClick: t[4] || (t[4] = (o) => Z(x) ? x.value = !1 : x = !1)
232
229
  }, t[6] || (t[6] = [
233
230
  m("i", { class: "fa fa-close" }, null, -1)
234
231
  ]))
@@ -242,12 +239,12 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
242
239
  "label-width": "80px"
243
240
  }, {
244
241
  default: s(() => [
245
- (d(!0), O(ee, null, le(e(S).show, (o) => (d(), h(X, {
246
- style: Pe(o.control.height ? `height: ${o.control.height}px;` : ""),
242
+ (d(!0), H(ee, null, le(e(S).show, (o) => (d(), h(X, {
243
+ style: Ne(o.control.height ? `height: ${o.control.height}px;` : ""),
247
244
  rules: o.rules
248
245
  }, {
249
246
  label: s(() => [
250
- te(x(e(je)(e(S).name, o.name)) + " ", 1),
247
+ te(k(e(qe)(e(S).name, o.name)) + " ", 1),
251
248
  o.control.tooltip ? (d(), h(V, {
252
249
  key: 0,
253
250
  trigger: "hover",
@@ -259,7 +256,7 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
259
256
  m("i", { class: "fa fa-question-circle icon-question" }, null, -1)
260
257
  ])),
261
258
  default: s(() => [
262
- m("pre", null, x(o.control.tooltip.content), 1)
259
+ m("pre", null, k(o.control.tooltip.content), 1)
263
260
  ]),
264
261
  _: 2
265
262
  }, 1032, ["title"])) : B("", !0)
@@ -270,7 +267,7 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
270
267
  table: e(S),
271
268
  field: o,
272
269
  set: e(v),
273
- row: e(F)
270
+ row: e(q)
274
271
  }, null, 8, ["schema", "table", "field", "set", "row"])
275
272
  ]),
276
273
  _: 2
@@ -293,20 +290,20 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
293
290
  "onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
294
291
  }, {
295
292
  header: s(() => [
296
- m("div", Qe, [
297
- te(x(e(b)[e(i).page].title) + " ", 1),
293
+ m("div", Xe, [
294
+ te(k(e(b)[e(i).page].title) + " ", 1),
298
295
  m("a", {
299
296
  class: "drawer-copy",
300
297
  href: `${e(D).url.getToUrl(e(i).url)}`
301
- }, x(e(oe)("common.link")), 9, We)
298
+ }, k(e(oe)("common.link")), 9, Ye)
302
299
  ])
303
300
  ]),
304
301
  default: s(() => [
305
- g(e(Me), {
302
+ g(e(He), {
306
303
  ref_key: "pageRef",
307
- ref: q,
304
+ ref: O,
308
305
  url: e(i).url,
309
- onSucceed: e(H),
306
+ onSucceed: e(G),
310
307
  onClose: e(ge)
311
308
  }, null, 8, ["url", "onSucceed", "onClose"])
312
309
  ]),
@@ -317,5 +314,5 @@ const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class
317
314
  }
318
315
  });
319
316
  export {
320
- al as default
317
+ ol as default
321
318
  };
@@ -1,9 +1,8 @@
1
1
  import { defineComponent as j, toRefs as q, ref as c, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as s, createElementVNode as K, normalizeStyle as P, nextTick as R } from "vue";
2
- import { B as Q, s as W, n as X, U as C, m as Y } from "./main-BCxKY4GT.js";
2
+ import { C as Q, d as W, p as X, U as C, m as Y } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-B3LUX2ZJ.js";
6
- const ie = /* @__PURE__ */ j({
4
+ import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js";
5
+ const se = /* @__PURE__ */ j({
7
6
  __name: "Statistic",
8
7
  props: {
9
8
  searchData: {},
@@ -17,10 +16,10 @@ const ie = /* @__PURE__ */ j({
17
16
  },
18
17
  emits: ["search"],
19
18
  setup(A, { expose: F, emit: z }) {
20
- let B = z, H = A, { route: E, module: T, schema: m, table: y, layout: l, next: ee, set: u, searchData: p } = q(H), i = null, x = null, g = c(), d = c(), v = c(), b = c(), { app: S } = Q.sys, V = (t) => {
19
+ let H = z, B = A, { route: E, module: T, schema: m, table: y, layout: l, next: ee, set: u, searchData: p } = q(B), i = null, x = null, g = c(), d = c(), v = c(), b = c(), { app: S } = Q.sys, V = (t) => {
21
20
  D("search");
22
21
  }, D = (t, e = null) => {
23
- B(t, (r) => {
22
+ H(t, (r) => {
24
23
  R(() => {
25
24
  f(), e == null || e(r);
26
25
  });
@@ -149,5 +148,5 @@ const ie = /* @__PURE__ */ j({
149
148
  }
150
149
  });
151
150
  export {
152
- ie as default
151
+ se as default
153
152
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-CCOJ4-No.js";
1
+ import { _ as f } from "./Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, toRefs as m, openBlock as u, createBlock as p, unref as e } from "vue";
2
- import { _ } from "./Stock.vue_vue_type_style_index_0_lang-CCOJ4-No.js";
2
+ import { _ } from "./Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js";
3
3
  const b = /* @__PURE__ */ c({
4
4
  __name: "Stock",
5
5
  props: {
@@ -1,8 +1,7 @@
1
- import { defineComponent as F, toRefs as B, ref as R, onMounted as T, openBlock as E, createBlock as G, unref as f, withCtx as P, createElementVNode as A, createTextVNode as V, toDisplayString as b } from "vue";
2
- import { B as O, n as K, _ as N, U } from "./main-BCxKY4GT.js";
1
+ import { defineComponent as F, toRefs as R, ref as T, onMounted as B, openBlock as E, createBlock as G, unref as f, withCtx as P, createElementVNode as A, createTextVNode as V, toDisplayString as b } from "vue";
2
+ import { C as O, p as K, _ as N, U } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const Q = /* @__PURE__ */ F({
4
+ const J = /* @__PURE__ */ F({
6
5
  __name: "Stock",
7
6
  props: {
8
7
  searchData: {},
@@ -15,7 +14,7 @@ const Q = /* @__PURE__ */ F({
15
14
  set: {}
16
15
  },
17
16
  setup(k) {
18
- let L = k, { module: j, schema: z, table: v, layout: n, next: W, set: h } = B(L), p = null, c = null, y = "#04aa4e", x = "#ff5945", w = R(), u = { history: null, week: null, month: null }, { app: S } = O.sys, M = (t) => {
17
+ let L = k, { module: j, schema: z, table: v, layout: n, next: W, set: h } = R(L), p = null, c = null, y = "#04aa4e", x = "#ff5945", w = T(), u = { history: null, week: null, month: null }, { app: S } = O.sys, M = (t) => {
19
18
  let o = U.array.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
20
19
  for (let i = 0; i < o.length; i++) {
21
20
  let a = o[i];
@@ -276,7 +275,7 @@ const Q = /* @__PURE__ */ F({
276
275
  let t = h.value[v.value.name];
277
276
  t.length > 0 && I(M(t));
278
277
  };
279
- return T(async () => {
278
+ return B(async () => {
280
279
  c = await K.getECharts(), Z();
281
280
  }), (t, o) => (E(), G(f(N), null, {
282
281
  default: P(() => [
@@ -294,5 +293,5 @@ const Q = /* @__PURE__ */ F({
294
293
  }
295
294
  });
296
295
  export {
297
- Q as _
296
+ J as _
298
297
  };
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
10
10
  modelValue: { type: [String, Number, Boolean] }
11
11
  },
12
12
  setup(a) {
13
- let r = f(() => import("./Dictionary-C3z2FWDL.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
13
+ let r = f(() => import("./Dictionary-CAAvUqf-.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
14
14
  return (h, l) => (b(), w(e(r), {
15
15
  schema: e(m),
16
16
  table: e(s),