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,17 +1,16 @@
1
- import { defineComponent as Be, toRefs as Ue, ref as u, onMounted as Te, nextTick as j, computed as ae, resolveComponent as R, openBlock as f, createElementBlock as T, createVNode as v, unref as e, isRef as _, normalizeClass as De, withCtx as h, createTextVNode as le, toDisplayString as S, Fragment as He, renderList as Ee, createBlock as z, createCommentVNode as $, createElementVNode as D, resolveDynamicComponent as Ne } from "vue";
2
- import { U as w, d as Le, F as Me, t as q, f as Pe, g as je, v as qe, G as Ae, I as oe, a as Fe, S as Ie, h as Ke, m as Oe, b as Ge } from "./main-BCxKY4GT.js";
1
+ import { defineComponent as Be, toRefs as He, ref as i, onMounted as Ue, nextTick as j, computed as ae, resolveComponent as k, openBlock as f, createElementBlock as H, createVNode as v, unref as e, isRef as x, normalizeClass as Te, withCtx as h, createTextVNode as le, toDisplayString as S, Fragment as De, renderList as Ee, createBlock as z, createCommentVNode as $, createElementVNode as U, resolveDynamicComponent as Le } from "vue";
2
+ import { U as b, f as Ne, I as Me, t as A, j as je, k as Ae, w as Ke, J as Pe, L as oe, b as qe, S as Ie, h as Oe, m as Fe, c as Je, a as Ge } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- import { _ as Je } from "./SearchForm.vue_vue_type_style_index_0_lang-B3LUX2ZJ.js";
6
- import { _ as Qe } from "./DataImport.vue_vue_type_script_setup_true_lang-0AgII-Ro.js";
7
- import { _ as Xe } from "./DataExport.vue_vue_type_script_setup_true_lang-BQ0WNRqq.js";
4
+ import { _ as Qe } from "./SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js";
5
+ import { _ as Xe } from "./DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js";
6
+ import { _ as Ye } from "./DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js";
8
7
  import "vue-router";
9
8
  import "./assets/intro.js-Cg1adLK7.js";
10
- import { _ as Ye } from "./SearchFooter.vue_vue_type_style_index_0_lang-97vAug1N.js";
11
- const Ze = {
9
+ import { _ as Ze } from "./SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js";
10
+ const et = {
12
11
  key: 0,
13
12
  class: "required"
14
- }, et = ["onMouseenter"], tt = { class: "el-drawer__title" }, at = { key: 0 }, lt = ["href"], vt = /* @__PURE__ */ Be({
13
+ }, tt = ["onMouseenter"], at = { class: "el-drawer__title" }, lt = { key: 0 }, ot = ["href"], vt = /* @__PURE__ */ Be({
15
14
  __name: "Table",
16
15
  props: {
17
16
  searchData: {},
@@ -24,24 +23,24 @@ const Ze = {
24
23
  },
25
24
  emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
26
25
  setup(ne, { expose: re, emit: se }) {
27
- let b = se, ue = ne, { module: ie, schema: H, table: r, layout: i, next: p, set: x, searchData: A } = Ue(ue), E = u([]), V = u(), N = u(), L = u(), F = u(), I = u(), W = u(), m = u(!1), g = u(!1), K = u(), O = u("120px"), G = u({}), y = u({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), B = u(), n = u({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = new Ie(), pe = (t) => {
28
- C("insert", null, t);
26
+ let w = se, ie = ne, { module: ue, schema: T, table: r, layout: u, next: p, set: C, searchData: K } = He(ie), D = i([]), V = i(), E = i(), L = i(), P = i(), q = i(), I = i(), m = i(!1), g = i(!1), O = i(), F = i("120px"), J = i({}), y = i({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), W = i(), n = i({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = new Ie(), pe = (t) => {
27
+ R("insert", null, t);
29
28
  }, me = (t, a) => {
30
- C("detail", t, a);
29
+ R("detail", t, a);
31
30
  }, ge = (t, a) => {
32
- C("update", t, a);
31
+ R("update", t, a);
33
32
  }, ce = (t, a) => {
34
- C("copy", t, a);
33
+ R("copy", t, a);
35
34
  }, ve = (t, a) => {
36
- C("delete", t, a);
37
- }, J = (t) => {
35
+ R("delete", t, a);
36
+ }, G = async (t) => {
38
37
  let a = t.map((o) => o[r.value.key.name]);
39
- Ke.post(p.value.delete.route, a).then((o) => {
40
- Oe.success(o.message), M();
38
+ await Oe.post(p.value.delete.route, a).then((o) => {
39
+ Fe.success(o.message), N();
41
40
  });
42
- }, C = (t, a, o) => {
41
+ }, R = (t, a, o) => {
43
42
  let s = fe(t, a);
44
- o.ctrlKey ? (n.value.row = null, b("navigate", s)) : (n.value.appendToBody = o.altKey, n.value.page = t, n.value.url = s, n.value.row = a, n.value.visible = !0);
43
+ o.ctrlKey ? (n.value.row = null, w("navigate", s)) : (n.value.appendToBody = o.altKey, n.value.page = t, n.value.url = s, n.value.row = a, n.value.visible = !0);
45
44
  }, fe = (t, a = null) => {
46
45
  let o = `${p.value[t].route}`;
47
46
  if (a != null) {
@@ -50,190 +49,184 @@ const Ze = {
50
49
  }
51
50
  return o;
52
51
  }, he = () => {
53
- n.value.visible = !1, b("close");
52
+ n.value.visible = !1, w("close");
54
53
  }, ye = (t) => {
55
- n.value.title = Ge(t.module.type, t.module.name), n.value.env = t.module.env;
56
- }, M = () => {
54
+ n.value.title = Je(t.module.type, t.module.name), n.value.env = t.module.env;
55
+ }, N = () => {
57
56
  n.value.visible = !1;
58
- let t = E.value;
59
- b("succeed", (a) => {
57
+ let t = D.value;
58
+ w("succeed", async (a) => {
60
59
  let o = a.data.set[r.value.name];
61
60
  if (!o.length)
62
61
  return;
63
- let s = r.value.key;
64
- j(() => {
65
- let c = n.value.row;
66
- if (c) {
67
- let d = o.find((k) => k[s.name] == c[s.name]);
68
- d && N.value.setCurrentRow(d);
62
+ await j();
63
+ let s = r.value.key, c = n.value.row;
64
+ if (c != null) {
65
+ let d = o.find((_) => _[s.name] == c[s.name]);
66
+ d && E.value.setCurrentRow(d);
67
+ }
68
+ if (t.length > 0)
69
+ for (let d of t) {
70
+ let _ = o.find((l) => l[s.name] == d[s.name]);
71
+ _ != null && E.value.toggleRowSelection(_, !0);
69
72
  }
70
- if (t.length > 0)
71
- for (let d of t) {
72
- let k = o.find((l) => l[s.name] == d[s.name]);
73
- N.value.toggleRowSelection(k, !0);
74
- }
75
- });
76
73
  });
77
74
  }, Q = (t) => {
78
- b("search", t);
79
- }, be = (t) => {
80
- b("page-change", t);
75
+ w("search", t);
81
76
  }, we = (t) => {
82
- b("size-change", t);
77
+ w("page-change", t);
78
+ }, be = (t) => {
79
+ w("size-change", t);
83
80
  }, _e = (t, a) => {
84
81
  let o = { [a.name]: { [t.prop]: t.order != "descending" ? "asc" : "desc" } };
85
- b("sort", o);
82
+ w("sort", o);
86
83
  }, xe = (t, a, o, s, c) => {
87
84
  }, Ce = (t) => {
88
- O.value = t;
89
- }, ke = (t, a) => {
90
- E.value = t;
91
- }, Re = (t, a, o) => {
92
- let s = t.target.children[0], c = w.dom.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
85
+ F.value = t;
86
+ }, Re = (t, a) => {
87
+ D.value = t;
88
+ }, ke = (t, a, o) => {
89
+ let s = t.target.children[0], c = b.dom.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
93
90
  o._headerTooltip = c > d;
94
91
  }, Se = async (t, a, o, s) => {
95
92
  await oe.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
96
93
  }, X = () => {
97
94
  var s, c, d;
98
- let t = w.dom.getHeight(V.value), a = w.dom.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = F.value) == null ? void 0 : c.$el, (d = I.value) == null ? void 0 : d.$el]), o = t - a;
99
- K.value = `${o}px`;
95
+ let t = b.dom.getHeight(V.value), a = b.dom.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = P.value) == null ? void 0 : c.$el, (d = q.value) == null ? void 0 : d.$el]), o = t - a;
96
+ O.value = `${o}px`;
100
97
  }, Y = () => {
101
- let t = B.value;
98
+ let t = W.value;
102
99
  t <= 690 ? y.value.count = 5 : y.value.count = 7, t <= 300 ? y.value.layout = "pager" : t <= 620 ? y.value.layout = "prev, pager, next" : y.value.layout = "sizes, total, prev, pager, next, jumper";
103
100
  }, ze = (t, a) => {
104
- if (!W.value || !W.value.keyboard)
105
- return !1;
106
- W.value.keyboard(t, a);
101
+ Ge.triggerKeyboardHandler(I.value, t, a);
107
102
  }, $e = (t) => {
108
- L.value.resize(t), B.value = w.dom.getWidth(V.value), Y(), j(() => {
103
+ L.value.resize(t), W.value = b.dom.getWidth(V.value), Y(), j(() => {
109
104
  X();
110
105
  });
111
106
  };
112
- Te(async () => {
113
- await de.open(G.value, "sys", "page"), B.value = w.dom.getWidth(V.value), Y(), j(() => {
114
- X();
115
- });
107
+ Ue(async () => {
108
+ await de.openAsync("sys", "page", J.value), W.value = b.dom.getWidth(V.value), Y(), await j(), X();
116
109
  });
117
110
  let Ve = ae(() => {
118
- let a = Object.keys(i.value.orderBys)[0], o = i.value.orderBys[a];
111
+ let a = Object.keys(u.value.orderBys)[0], o = u.value.orderBys[a];
119
112
  return { prop: a, order: o ? "ascending" : "descending" };
120
113
  }), We = ae(() => {
121
114
  let t = `/${r.value.name}/paging-row`;
122
- return Le.getComponent(t, "partial", "paging-row");
115
+ return Ne.getComponent(t, "partial", "paging-row");
123
116
  });
124
- return re({ keyboard: ze, resize: $e }), (t, a) => {
125
- const o = R("el-table-column"), s = R("el-tooltip"), c = R("el-table"), d = R("el-pagination"), k = R("el-drawer");
126
- return f(), T("div", {
117
+ return re({ keyboardHandler: ze, resize: $e }), (t, a) => {
118
+ const o = k("el-table-column"), s = k("el-tooltip"), c = k("el-table"), d = k("el-pagination"), _ = k("el-drawer");
119
+ return f(), H("div", {
127
120
  ref_key: "pagingRef",
128
121
  ref: V,
129
122
  class: "paging-table"
130
123
  }, [
131
- v(Je, {
124
+ v(Qe, {
132
125
  ref_key: "searchRef",
133
126
  ref: L,
134
- schema: e(H),
127
+ schema: e(T),
135
128
  table: e(r),
136
- layout: e(i),
137
- "search-data": e(A),
129
+ layout: e(u),
130
+ "search-data": e(K),
138
131
  onSubmit: e(Q)
139
132
  }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
140
- v(Ye, {
133
+ v(Ze, {
141
134
  ref_key: "headerRef",
142
- ref: F,
143
- schema: e(H),
135
+ ref: P,
136
+ schema: e(T),
144
137
  table: e(r),
145
- layout: e(i),
146
- set: e(x),
138
+ layout: e(u),
139
+ set: e(C),
147
140
  next: e(p),
148
- selection: e(E),
149
- "search-data": e(A),
141
+ selection: e(D),
142
+ "search-data": e(K),
150
143
  onAdd: e(pe),
151
- onRemove: e(J),
152
- onShowImport: a[0] || (a[0] = (l) => _(m) ? m.value = !0 : m = !0),
153
- onShowExport: a[1] || (a[1] = (l) => _(g) ? g.value = !0 : g = !0),
144
+ onRemove: e(G),
145
+ onShowImport: a[0] || (a[0] = (l) => x(m) ? m.value = !0 : m = !0),
146
+ onShowExport: a[1] || (a[1] = (l) => x(g) ? g.value = !0 : g = !0),
154
147
  onSearch: e(Q)
155
148
  }, null, 8, ["schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
156
149
  v(c, {
157
150
  ref_key: "tableRef",
158
- ref: N,
159
- class: De([{ "hide-nav": e(Me).hideNav }, "table-default table-paging"]),
151
+ ref: E,
152
+ class: Te([{ "hide-nav": e(Me).hideNav }, "table-default table-paging"]),
160
153
  size: "small",
161
154
  border: "",
162
155
  "highlight-current-row": "",
163
- "max-height": e(K),
164
- data: e(x)[e(r).name],
156
+ "max-height": e(O),
157
+ data: e(C)[e(r).name],
165
158
  "default-sort": e(Ve),
166
- onSelectionChange: a[2] || (a[2] = (l) => e(ke)(l, e(r))),
159
+ onSelectionChange: a[2] || (a[2] = (l) => e(Re)(l, e(r))),
167
160
  onSortChange: a[3] || (a[3] = (l) => e(_e)(l, e(r))),
168
161
  onHeaderDragend: e(Se)
169
162
  }, {
170
163
  empty: h(() => [
171
- le(S(e(q)("common.no_data")), 1)
164
+ le(S(e(A)("common.no_data")), 1)
172
165
  ]),
173
166
  default: h(() => [
174
167
  v(o, {
175
168
  type: "selection",
176
169
  width: "30"
177
170
  }),
178
- (f(!0), T(He, null, Ee(e(r).show, (l, ot) => {
171
+ (f(!0), H(De, null, Ee(e(r).show, (l, nt) => {
179
172
  var Z, ee, te;
180
173
  return f(), z(o, {
181
174
  sortable: e(r) ? "custom" : !1,
182
175
  prop: l.name,
183
176
  "sort-orders": ["descending", "ascending"],
184
- fixed: e(i).fixed.indexOf(l.name) > -1,
185
- "min-width": ((te = (ee = (Z = e(G)) == null ? void 0 : Z[e(p).paging.route]) == null ? void 0 : ee[e(r).name]) == null ? void 0 : te[l.name]) ?? l.control.width,
177
+ fixed: e(u).fixed.indexOf(l.name) > -1,
178
+ "min-width": ((te = (ee = (Z = e(J)) == null ? void 0 : Z[e(p).paging.route]) == null ? void 0 : ee[e(r).name]) == null ? void 0 : te[l.name]) ?? l.control.width,
186
179
  label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
187
180
  key: `${e(r).name}.${l.name}`
188
181
  }, {
189
- header: h((U) => [
190
- l.control.required && l.control.editable ? (f(), T("i", Ze)) : $("", !0),
182
+ header: h((B) => [
183
+ l.control.required && l.control.editable ? (f(), H("i", et)) : $("", !0),
191
184
  v(s, {
192
185
  placement: "top",
193
186
  content: l.label,
194
187
  disabled: !l._headerTooltip
195
188
  }, {
196
189
  default: h(() => [
197
- D("span", {
198
- onMouseenter: (P) => e(Re)(P, U.column, l)
190
+ U("span", {
191
+ onMouseenter: (M) => e(ke)(M, B.column, l)
199
192
  }, [
200
- D("span", null, S(e(Pe)(e(r).name, l.name)), 1)
201
- ], 40, et)
193
+ U("span", null, S(e(je)(e(r).name, l.name)), 1)
194
+ ], 40, tt)
202
195
  ]),
203
196
  _: 2
204
197
  }, 1032, ["content", "disabled"])
205
198
  ]),
206
- default: h((U) => [
207
- v(je, {
208
- schema: e(H),
199
+ default: h((B) => [
200
+ v(Ae, {
201
+ schema: e(T),
209
202
  table: e(r),
210
203
  field: l,
211
- set: e(x),
212
- row: U.row,
213
- config: e(qe).getConfig(l, e(ie).type, e(i).type),
214
- onChange: (P) => e(xe)(P, e(r), l, e(x), U.row)
204
+ set: e(C),
205
+ row: B.row,
206
+ config: e(Ke).getConfig(l, e(ue).type, e(u).type),
207
+ onChange: (M) => e(xe)(M, e(r), l, e(C), B.row)
215
208
  }, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
216
209
  ]),
217
210
  _: 2
218
211
  }, 1032, ["sortable", "prop", "fixed", "min-width", "label"]);
219
212
  }), 128)),
220
213
  v(o, {
221
- label: e(q)("common.operation"),
214
+ label: e(A)("common.operation"),
222
215
  fixed: "right",
223
216
  "show-overflow-tooltip": "",
224
- "min-width": e(O)
217
+ "min-width": e(F)
225
218
  }, {
226
219
  default: h((l) => [
227
- (f(), z(Ne(e(We)), {
220
+ (f(), z(Le(e(We)), {
228
221
  table: e(r),
229
222
  next: e(p),
230
- set: e(x),
223
+ set: e(C),
231
224
  row: l.row,
232
225
  onPreview: e(me),
233
226
  onEdit: e(ge),
234
227
  onCopy: e(ce),
235
228
  onBeforeRemove: e(ve),
236
- onRemove: e(J),
229
+ onRemove: e(G),
237
230
  onChangeWidth: e(Ce)
238
231
  }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove", "onChangeWidth"]))
239
232
  ]),
@@ -242,68 +235,68 @@ const Ze = {
242
235
  ]),
243
236
  _: 1
244
237
  }, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
245
- v(e(Ae), {
238
+ v(e(Pe), {
246
239
  ref_key: "footerRef",
247
- ref: I,
240
+ ref: q,
248
241
  class: "list-toolbar"
249
242
  }, {
250
243
  default: h(() => [
251
244
  v(d, {
252
245
  background: "",
253
246
  layout: e(y).layout,
254
- "current-page": e(i).page,
247
+ "current-page": e(u).page,
255
248
  "pager-count": e(y).count,
256
- total: e(i).count,
249
+ total: e(u).count,
257
250
  "page-sizes": e(y).sizes,
258
- onCurrentChange: e(be),
259
- onSizeChange: e(we),
260
- "page-size": e(i).pageSize,
261
- "onUpdate:pageSize": a[4] || (a[4] = (l) => e(i).pageSize = l)
251
+ onCurrentChange: e(we),
252
+ onSizeChange: e(be),
253
+ "page-size": e(u).size,
254
+ "onUpdate:pageSize": a[4] || (a[4] = (l) => e(u).size = l)
262
255
  }, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
263
256
  ]),
264
257
  _: 1
265
258
  }, 512),
266
- e(p).import ? (f(), z(Qe, {
259
+ e(p).import ? (f(), z(Xe, {
267
260
  key: 0,
268
261
  next: e(p),
269
- onClose: a[5] || (a[5] = (l) => _(m) ? m.value = !1 : m = !1),
270
- onSucceed: e(M),
262
+ onClose: a[5] || (a[5] = (l) => x(m) ? m.value = !1 : m = !1),
263
+ onSucceed: e(N),
271
264
  modelValue: e(m),
272
- "onUpdate:modelValue": a[6] || (a[6] = (l) => _(m) ? m.value = l : m = l)
265
+ "onUpdate:modelValue": a[6] || (a[6] = (l) => x(m) ? m.value = l : m = l)
273
266
  }, null, 8, ["next", "onSucceed", "modelValue"])) : $("", !0),
274
- e(p).export ? (f(), z(Xe, {
267
+ e(p).export ? (f(), z(Ye, {
275
268
  key: 1,
276
269
  route: e(p).export.route,
277
- "page-count": e(w).math.pageCount(e(i).count, e(i).pageSize),
278
- onClose: a[7] || (a[7] = (l) => _(g) ? g.value = !1 : g = !1),
270
+ "page-count": e(b).math.pageCount(e(u).count, e(u).size),
271
+ onClose: a[7] || (a[7] = (l) => x(g) ? g.value = !1 : g = !1),
279
272
  modelValue: e(g),
280
- "onUpdate:modelValue": a[8] || (a[8] = (l) => _(g) ? g.value = l : g = l)
273
+ "onUpdate:modelValue": a[8] || (a[8] = (l) => x(g) ? g.value = l : g = l)
281
274
  }, null, 8, ["route", "page-count", "modelValue"])) : $("", !0),
282
- e(n).page ? (f(), z(k, {
275
+ e(n).page ? (f(), z(_, {
283
276
  key: 2,
284
277
  "destroy-on-close": "",
285
278
  "append-to-body": e(n).appendToBody,
286
- size: e(oe).getDrawerWidth(e(B)),
279
+ size: e(oe).getDrawerWidth(e(W)),
287
280
  modelValue: e(n).visible,
288
281
  "onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
289
282
  }, {
290
283
  header: h(() => [
291
- D("div", tt, [
284
+ U("div", at, [
292
285
  le(S(e(n).title) + " ", 1),
293
- e(n).env ? (f(), T("span", at, "[" + S(e(n).env) + "]", 1)) : $("", !0),
294
- D("a", {
286
+ e(n).env ? (f(), H("span", lt, "[" + S(e(n).env) + "]", 1)) : $("", !0),
287
+ U("a", {
295
288
  class: "drawer-copy",
296
- href: e(w).url.getToUrl(e(n).url)
297
- }, S(e(q)("common.link")), 9, lt)
289
+ href: e(b).url.getToUrl(e(n).url)
290
+ }, S(e(A)("common.link")), 9, ot)
298
291
  ])
299
292
  ]),
300
293
  default: h(() => [
301
- v(e(Fe), {
294
+ v(e(qe), {
302
295
  ref_key: "pageRef",
303
- ref: W,
296
+ ref: I,
304
297
  url: e(n).url,
305
298
  onLoaded: e(ye),
306
- onSucceed: e(M),
299
+ onSucceed: e(N),
307
300
  onClose: e(he)
308
301
  }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
309
302
  ]),