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,11 +1,10 @@
1
- import { defineComponent as be, defineAsyncComponent as Ce, toRefs as Se, ref as c, onMounted as Re, computed as K, watch as ke, resolveComponent as b, openBlock as v, createElementBlock as z, Fragment as Q, createVNode as S, unref as e, withCtx as g, createTextVNode as $e, toDisplayString as T, createBlock as F, createCommentVNode as D, renderList as ze, createElementVNode as C, normalizeStyle as Fe, resolveDynamicComponent as De, nextTick as X } from "vue";
2
- import { U as d, d as He, t as Ie, f as Be, v as Y, s as U, S as Te, I as Ue, J as W } from "./main-BCxKY4GT.js";
1
+ import { defineComponent as be, defineAsyncComponent as Ce, toRefs as Re, ref as c, onMounted as ke, computed as K, watch as Se, resolveComponent as b, openBlock as v, createElementBlock as z, Fragment as Q, createVNode as R, unref as e, withCtx as g, createTextVNode as $e, toDisplayString as N, createBlock as F, createCommentVNode as D, renderList as ze, createElementVNode as C, normalizeStyle as Fe, resolveDynamicComponent as De, nextTick as X } from "vue";
2
+ import { U as d, f as He, t as Be, j as Ie, w as Y, d as T, S as Ne, L as Te, N as U } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const We = {
4
+ const Ue = {
6
5
  key: 0,
7
6
  class: "required"
8
- }, qe = ["onMouseenter"], Ee = { class: "footer-left" }, Me = { class: "footer-right" }, Le = /* @__PURE__ */ be({
7
+ }, We = ["onMouseenter"], qe = { class: "footer-left" }, Ae = { class: "footer-right" }, Oe = /* @__PURE__ */ be({
9
8
  __name: "Table",
10
9
  props: {
11
10
  route: {},
@@ -19,7 +18,7 @@ const We = {
19
18
  },
20
19
  emits: ["submit", "change", "row-edit"],
21
20
  setup(Z, { expose: ee, emit: te }) {
22
- let le = Ce(() => import("./Index-BC2FQhAY.js")), H = te, ae = Z, { schema: q, table: l, layout: m, set: s, next: Ne, route: E, module: R, validateErrors: M } = Se(ae), w = c({ page: 1 }), N = c({}), p = c([]), oe = c(!0), k = c(), V = c(), A = c(), O = c(), h = c({ layout: "prev, pager, next", count: 5 }), ne = new Te(), re = (t, a, n) => {
21
+ let le = Ce(() => import("./Index-CnFjsuQV.js")), H = te, ae = Z, { schema: W, table: l, layout: m, set: s, next: Ee, route: q, module: k, validateErrors: A } = Re(ae), w = c({ page: 1 }), E = c({}), p = c([]), oe = c(!0), S = c(), M = c(), V = c(), j = c(), h = c({ layout: "prev, pager, next", count: 5 }), ne = new Ne(), re = (t, a, n) => {
23
22
  H("row-edit", t, l.value, n);
24
23
  }, ue = (t) => {
25
24
  H("submit", t);
@@ -31,42 +30,42 @@ const We = {
31
30
  u._headerWidth = n;
32
31
  }, de = (t, a, n, u, o) => {
33
32
  H("change", t, a, n, u, o);
34
- }, j = (t) => s.value[l.value.name].indexOf(t), me = (t) => {
33
+ }, O = (t) => s.value[l.value.name].indexOf(t), me = (t) => {
35
34
  p.value = t;
36
35
  }, pe = async (t, a, n, u, o) => {
37
- await Ue.setColumnWidth(E.value, o.name, n.property, t);
36
+ await Te.setColumnWidth(q.value, o.name, n.property, t);
38
37
  }, ce = (t) => {
39
38
  L(t.contentRect.width), X(() => {
40
- J(t.contentRect.height);
39
+ P(t.contentRect.height);
41
40
  });
42
41
  }, L = (t = null) => {
43
- let a = d.dom.parentUntil(k.value.$el, ".ha-main-form");
42
+ let a = d.dom.parentUntil(S.value.$el, ".ha-main-form");
44
43
  t == null && (t = d.dom.getWidth(a)), t <= 690 ? h.value.count = 5 : h.value.count = 7, t <= 300 ? h.value.layout = "pager" : t <= 620 ? h.value.layout = "prev, pager, next" : h.value.layout = "total, prev, pager, next, jumper";
45
- }, J = (t = null) => {
46
- let a = d.dom.parentUntil(k.value.$el, ".ha-main-form");
44
+ }, P = (t = null) => {
45
+ let a = d.dom.parentUntil(S.value.$el, ".ha-main-form");
47
46
  t || (t = d.dom.getHeight(a));
48
- let n = d.dom.getHeight(V.value), u = d.dom.find(a, ".main-footer"), o = d.dom.getHeight(u), i = t - n - o;
49
- O.value = `${i}px`;
47
+ let n = d.dom.getHeight(M.value), u = d.dom.find(a, ".main-footer"), o = d.dom.getHeight(u), i = t - n - o;
48
+ j.value = `${i}px`;
50
49
  }, fe = async () => {
51
- let t = s.value[l.value.name].length, a = U.getDefaultRow(l.value);
50
+ let t = s.value[l.value.name].length, a = T.getDefaultRow(l.value);
52
51
  s.value[l.value.name].push(a);
53
52
  let n = l.value.fields.filter((o) => o.feature != null);
54
53
  for (let o = 0; o < n.length; o++) {
55
54
  let i = n[o];
56
- (await W.feature.createAsync(i.feature.type)).add(l.value, i, s.value, a);
55
+ (await U.feature.createAsync(i.feature.type)).add(l.value, i, s.value, a);
57
56
  }
58
- I(t);
57
+ B(t);
59
58
  let u = d.scroll.isBottom(".tree-detail");
60
59
  await X(() => {
61
60
  u && d.scroll.scrollToBottom(".tree-detail");
62
61
  });
63
62
  }, ve = async (t = null) => {
64
- let a = p.value[0], n = U.getDefaultRow(l.value), u = d.array.insert(s.value[l.value.name], a, n), o = l.value.fields.filter((i) => i.feature != null);
63
+ let a = p.value[0], n = T.getDefaultRow(l.value), u = d.array.insert(s.value[l.value.name], a, n), o = l.value.fields.filter((i) => i.feature != null);
65
64
  for (let i = 0; i < o.length; i++) {
66
65
  let f = o[i];
67
- (await W.feature.create(f.feature.type)).insert(l.value, f, s.value, a, n);
66
+ (await U.feature.create(f.feature.type)).insert(l.value, f, s.value, a, n);
68
67
  }
69
- I(u), t == null || t(u);
68
+ B(u), t == null || t(u);
70
69
  }, ge = async () => {
71
70
  let t = l.value.key.name, a = d.object.clone(p.value, (o) => {
72
71
  o[t] = null, o[`Old_${t}`] = null;
@@ -78,51 +77,51 @@ const We = {
78
77
  let u = l.value.fields.filter((o) => o.feature != null);
79
78
  for (let o = 0; o < u.length; o++) {
80
79
  let i = u[o];
81
- (await W.feature.create(i.feature.type)).copy(l.value, i, s.value);
80
+ (await U.feature.create(i.feature.type)).copy(l.value, i, s.value);
82
81
  }
83
- I(n);
82
+ B(n);
84
83
  }, he = () => {
85
84
  d.array.remove(s.value[l.value.name], p.value), p.value = [];
86
- }, I = (t) => {
87
- let a = d.math.pageCount(t + 1, m.value.pageSize);
85
+ }, B = (t) => {
86
+ let a = d.math.pageCount(t + 1, m.value.size);
88
87
  w.value.page = a;
89
88
  }, ye = (t) => {
90
89
  w.value.page = t;
91
90
  }, we = () => {
92
- k.value.$el.querySelector("tbody");
91
+ S.value.$el.querySelector("tbody");
93
92
  };
94
- Re(async () => {
95
- await ne.open(N.value, "sys", "page"), we(), L(), d.component.detectLoaded(A, () => {
96
- J();
93
+ ke(async () => {
94
+ await ne.openAsync("sys", "page", E.value), we(), L(), d.component.detectLoaded(V, () => {
95
+ P();
97
96
  });
98
97
  });
99
98
  let _e = K(() => {
100
- let t = (w.value.page - 1) * m.value.pageSize, a = w.value.page * m.value.pageSize - 1;
99
+ let t = (w.value.page - 1) * m.value.size, a = w.value.page * m.value.size - 1;
101
100
  return s.value[l.value.name].filter((u, o) => o >= t && o <= a);
102
101
  }), xe = K(() => {
103
- let t = l.value.main ? `/${l.value.name}` : `/${q.value[0].name}/${l.value.name}`;
102
+ let t = l.value.main ? `/${l.value.name}` : `/${W.value[0].name}/${l.value.name}`;
104
103
  return He.getComponent(`${t}/update-child`, "partial", "update-child");
105
104
  });
106
- return ke(M, (t, a) => {
105
+ return Se(A, (t, a) => {
107
106
  let n = t.find((u) => u.table == l.value.name);
108
- n != null && (w.value.page = Math.ceil((n.index + 1) / m.value.pageSize));
107
+ n != null && (w.value.page = Math.ceil((n.index + 1) / m.value.size));
109
108
  }), ee({ resize: ce }), (t, a) => {
110
- const n = b("el-table-column"), u = b("el-tooltip"), o = b("el-popover"), i = b("el-form-item"), f = b("el-table"), P = b("el-pagination");
109
+ const n = b("el-table-column"), u = b("el-tooltip"), o = b("el-popover"), i = b("el-form-item"), f = b("el-table"), G = b("el-pagination");
111
110
  return v(), z(Q, null, [
112
- S(f, {
111
+ R(f, {
113
112
  ref_key: "tableRef",
114
- ref: k,
113
+ ref: S,
115
114
  class: "ha-table-layout table-default",
116
115
  size: "small",
117
116
  border: "",
118
- "max-height": e(O),
117
+ "max-height": e(j),
119
118
  data: e(_e),
120
119
  onRowClick: a[0] || (a[0] = (r, y, _) => e(re)(r, y, _)),
121
120
  onSelectionChange: e(me),
122
121
  onHeaderDragend: a[1] || (a[1] = (r, y, _, $) => e(pe)(r, y, _, $, e(l)))
123
122
  }, {
124
123
  empty: g(() => [
125
- $e(T(e(Ie)("common.no_data")), 1)
124
+ $e(N(e(Be)("common.no_data")), 1)
126
125
  ]),
127
126
  default: g(() => [
128
127
  e(oe) ? (v(), F(n, {
@@ -132,28 +131,28 @@ const We = {
132
131
  fixed: ""
133
132
  })) : D("", !0),
134
133
  (v(!0), z(Q, null, ze(e(l).show, (r, y) => {
135
- var _, $, G;
134
+ var _, $, J;
136
135
  return v(), F(n, {
137
136
  key: r.name,
138
137
  "show-overflow-tooltip": "",
139
138
  prop: r.name,
140
139
  label: r.label,
141
- "min-width": ((G = ($ = (_ = e(N)) == null ? void 0 : _[e(E)]) == null ? void 0 : $[e(l).name]) == null ? void 0 : G[r.name]) ?? r.control.width,
140
+ "min-width": ((J = ($ = (_ = e(E)) == null ? void 0 : _[e(q)]) == null ? void 0 : $[e(l).name]) == null ? void 0 : J[r.name]) ?? r.control.width,
142
141
  fixed: e(m).fixed.length > 0 ? e(m).fixed.indexOf(r.name) > -1 : y == 0
143
142
  }, {
144
143
  header: g((x) => [
145
- e(R).type != "Detail" && r.control.required ? (v(), z("i", We, "*")) : D("", !0),
146
- S(u, {
144
+ e(k).type != "Detail" && r.control.required ? (v(), z("i", Ue, "*")) : D("", !0),
145
+ R(u, {
147
146
  placement: "top",
148
147
  content: r.label,
149
148
  disabled: e(ie)(x, y)
150
149
  }, {
151
150
  default: g(() => [
152
151
  C("span", {
153
- onMouseenter: (B) => e(se)(B, y)
152
+ onMouseenter: (I) => e(se)(I, y)
154
153
  }, [
155
- C("span", null, T(e(Be)(e(l).table, r.name)), 1)
156
- ], 40, qe)
154
+ C("span", null, N(e(Ie)(e(l).table, r.name)), 1)
155
+ ], 40, We)
157
156
  ]),
158
157
  _: 2
159
158
  }, 1032, ["content", "disabled"]),
@@ -168,27 +167,27 @@ const We = {
168
167
  C("i", { class: "fa fa-question-circle icon-question" }, null, -1)
169
168
  ])),
170
169
  default: g(() => [
171
- C("pre", null, T(r.control.tooltip.content), 1)
170
+ C("pre", null, N(r.control.tooltip.content), 1)
172
171
  ]),
173
172
  _: 2
174
173
  }, 1032, ["title"])) : D("", !0)
175
174
  ]),
176
175
  default: g((x) => [
177
- S(i, {
178
- style: Fe(e(Y).getStyle(r, e(R).type, e(m).type)),
179
- rules: e(U).getRules(e(M), e(l), r, x.$index),
180
- prop: `[${e(l).name}][${e(j)(x.row)}][${r.name}]`
176
+ R(i, {
177
+ style: Fe(e(Y).getStyle(r, e(k).type, e(m).type)),
178
+ rules: e(T).getRules(e(A), e(l), r, x.$index),
179
+ prop: `[${e(l).name}][${e(O)(x.row)}][${r.name}]`
181
180
  }, {
182
181
  default: g(() => [
183
- S(e(le), {
184
- schema: e(q),
182
+ R(e(le), {
183
+ schema: e(W),
185
184
  table: e(l),
186
185
  field: r,
187
186
  set: e(s),
188
187
  row: x.row,
189
- config: e(Y).getConfig(r, e(R).type, e(m).type),
188
+ config: e(Y).getConfig(r, e(k).type, e(m).type),
190
189
  onSubmit: e(ue),
191
- onChange: (B) => e(de)(B, e(s), e(l), r, e(j)(x.row))
190
+ onChange: (I) => e(de)(I, e(s), e(l), r, e(O)(x.row))
192
191
  }, null, 8, ["schema", "table", "field", "set", "row", "config", "onSubmit", "onChange"])
193
192
  ]),
194
193
  _: 2
@@ -203,14 +202,14 @@ const We = {
203
202
  e(l).main ? D("", !0) : (v(), z("div", {
204
203
  key: 0,
205
204
  ref_key: "footerRef",
206
- ref: V,
205
+ ref: M,
207
206
  class: "table-footer"
208
207
  }, [
209
- C("div", Ee, [
208
+ C("div", qe, [
210
209
  (v(), F(De(e(xe)), {
211
210
  ref_key: "operationRef",
212
- ref: A,
213
- module: e(R),
211
+ ref: V,
212
+ module: e(k),
214
213
  table: e(l),
215
214
  set: e(s),
216
215
  selection: e(p),
@@ -220,12 +219,12 @@ const We = {
220
219
  onRemove: e(he)
221
220
  }, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
222
221
  ]),
223
- C("div", Me, [
224
- S(P, {
222
+ C("div", Ae, [
223
+ R(G, {
225
224
  background: "",
226
225
  layout: e(h).layout,
227
226
  "current-page": e(w).page,
228
- "page-size": e(m).pageSize,
227
+ "page-size": e(m).size,
229
228
  "pager-count": e(h).count,
230
229
  total: e(s)[e(l).name].length,
231
230
  onCurrentChange: e(ye)
@@ -237,5 +236,5 @@ const We = {
237
236
  }
238
237
  });
239
238
  export {
240
- Le as default
239
+ Oe as default
241
240
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-C2rphbrS.js";
1
+ import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,6 @@
1
1
  import { defineComponent as _, toRefs as b, computed as x, resolveComponent as V, openBlock as h, createBlock as y, unref as e, withKeys as C, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as K } from "vue";
2
- import { j as B } from "./main-BCxKY4GT.js";
2
+ import { l as B } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
4
  const N = /* @__PURE__ */ _({
6
5
  __name: "Text",
7
6
  props: {
@@ -13,8 +12,8 @@ const N = /* @__PURE__ */ _({
13
12
  modelValue: {}
14
13
  },
15
14
  emits: ["submit", "change", "clear", "update:modelValue"],
16
- setup(m, { emit: p }) {
17
- let l = p, d = m, { table: i, field: o, set: R, modelValue: u } = b(d), s = (t) => {
15
+ setup(m, { emit: d }) {
16
+ let l = d, p = m, { table: i, field: o, set: R, modelValue: u } = b(p), s = (t) => {
18
17
  l("submit", t);
19
18
  }, c = () => {
20
19
  l("clear");
@@ -0,0 +1,49 @@
1
+ import { defineComponent as x, mergeModels as u, toRefs as _, useModel as g, resolveComponent as C, openBlock as V, createBlock as b, unref as e, withKeys as y, isRef as v, createSlots as k, withCtx as D, createTextVNode as K, toDisplayString as M } from "vue";
2
+ import { l as w } from "./main-SNlEeN01.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const N = /* @__PURE__ */ x({
5
+ __name: "Text",
6
+ props: /* @__PURE__ */ u({
7
+ schema: {},
8
+ table: {},
9
+ field: {},
10
+ searchData: {}
11
+ }, {
12
+ modelValue: {},
13
+ modelModifiers: {}
14
+ }),
15
+ emits: /* @__PURE__ */ u(["change", "submit"], ["update:modelValue"]),
16
+ setup(a, { emit: s }) {
17
+ let o = s, d = a, { table: p, field: t, searchData: B } = _(d), l = g(a, "modelValue"), c = (m) => {
18
+ m == "" && (l.value = null), o("change", l.value);
19
+ }, n = () => {
20
+ o("submit");
21
+ }, f = () => {
22
+ n();
23
+ };
24
+ return (m, r) => {
25
+ const h = C("el-input");
26
+ return V(), b(h, {
27
+ type: "text",
28
+ placeholder: e(w)(e(p).name, e(t).name),
29
+ clearable: "",
30
+ onKeyup: y(e(n), ["enter", "native"]),
31
+ onChange: e(c),
32
+ onClear: e(f),
33
+ modelValue: e(l),
34
+ "onUpdate:modelValue": r[0] || (r[0] = (i) => v(l) ? l.value = i : l = i)
35
+ }, k({ _: 2 }, [
36
+ e(t).suffix ? {
37
+ name: "append",
38
+ fn: D(() => [
39
+ K(M(e(t).suffix), 1)
40
+ ]),
41
+ key: "0"
42
+ } : void 0
43
+ ]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
44
+ };
45
+ }
46
+ });
47
+ export {
48
+ N as default
49
+ };
@@ -0,0 +1,59 @@
1
+ import { defineComponent as v, toRefs as V, ref as f, computed as y, resolveComponent as _, openBlock as i, createElementBlock as s, Fragment as g, unref as l, createBlock as B, isRef as d, createElementVNode as C, createCommentVNode as R, nextTick as T } from "vue";
2
+ import { U as H } from "./main-SNlEeN01.js";
3
+ import "./assets/liquidjs-C2HVw1Ra.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
9
+ const U = ["innerHTML"], A = /* @__PURE__ */ v({
10
+ __name: "Text",
11
+ props: {
12
+ schema: {},
13
+ table: {},
14
+ field: {},
15
+ set: {},
16
+ row: {},
17
+ modelValue: {}
18
+ },
19
+ setup(c) {
20
+ let k = c, { table: b, field: m, set: w, row: E, modelValue: x } = V(k), t = f(!1), u = f(), a = () => {
21
+ t.value = !0, T(() => {
22
+ u.value.focus();
23
+ });
24
+ }, o = y(() => {
25
+ var r;
26
+ let p = H.html.getHtml((r = x.value) == null ? void 0 : r.toString());
27
+ return (m.value.control.prefix || "") + (p || "") + (m.value.control.suffix || "");
28
+ });
29
+ return (p, e) => {
30
+ const r = _("el-input");
31
+ return i(), s(g, null, [
32
+ l(t) ? (i(), B(r, {
33
+ key: 1,
34
+ ref_key: "editRef",
35
+ ref: u,
36
+ type: "text",
37
+ onBlur: e[0] || (e[0] = (n) => d(t) ? t.value = !1 : t = !1),
38
+ modelValue: l(o),
39
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => d(o) ? o.value = n : o = n)
40
+ }, null, 8, ["modelValue"])) : (i(), s("span", {
41
+ key: 0,
42
+ class: "text-text",
43
+ innerHTML: l(o)
44
+ }, null, 8, U)),
45
+ l(t) ? R("", !0) : (i(), s("span", {
46
+ key: 2,
47
+ class: "edit-inline",
48
+ onClick: e[2] || (e[2] = //@ts-ignore
49
+ (...n) => l(a) && l(a)(...n))
50
+ }, e[3] || (e[3] = [
51
+ C("i", { class: "fa fa-edit" }, null, -1)
52
+ ])))
53
+ ], 64);
54
+ };
55
+ }
56
+ });
57
+ export {
58
+ A as _
59
+ };
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as g, toRefs as E, ref as $, computed as s, resolveComponent as w, unref as r, openBlock as u, createElementBlock as m, renderSlot as i, createBlock as x, withCtx as y } from "vue";
2
- import { U as d, c as B } from "./main-BCxKY4GT.js";
2
+ import { U as d, e as B } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const C = { key: 0 }, R = ["href", "target"], j = /* @__PURE__ */ g({
4
+ const C = { key: 0 }, R = ["href", "target"], V = /* @__PURE__ */ g({
6
5
  __name: "TextLink",
7
6
  props: {
8
7
  schema: {},
@@ -12,8 +11,8 @@ const C = { key: 0 }, R = ["href", "target"], j = /* @__PURE__ */ g({
12
11
  row: {}
13
12
  },
14
13
  emits: ["submit", "change", "update:modelValue"],
15
- setup(p, { emit: L }) {
16
- let h = p, { table: O, field: t, set: T, row: c } = E(h), k = $(), a = s(() => {
14
+ setup(h, { emit: L }) {
15
+ let p = h, { table: O, field: t, set: T, row: c } = E(p), k = $(), a = s(() => {
17
16
  let e = t.value.link.href;
18
17
  return t.value.link.values.forEach((o) => {
19
18
  e = e.replace(`{${o}}`, c.value[o]);
@@ -57,5 +56,5 @@ const C = { key: 0 }, R = ["href", "target"], j = /* @__PURE__ */ g({
57
56
  }
58
57
  });
59
58
  export {
60
- j as default
59
+ V as default
61
60
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, toRefs as p, openBlock as i, createBlock as c, unref as e, isRef as _ } from "vue";
2
- import { _ as V } from "./Text.vue_vue_type_style_index_0_lang-C2rphbrS.js";
2
+ import { _ as V } from "./Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js";
3
3
  const x = /* @__PURE__ */ u({
4
4
  __name: "Textarea",
5
5
  props: {
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as g } from "vue";
2
- import { k } from "./main-BCxKY4GT.js";
2
+ import { n as k } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const v = /* @__PURE__ */ c({
4
+ const R = /* @__PURE__ */ c({
6
5
  __name: "Time",
7
6
  props: {
8
7
  schema: {},
@@ -13,20 +12,20 @@ const v = /* @__PURE__ */ c({
13
12
  modelValue: {}
14
13
  },
15
14
  emits: ["submit", "change", "update:modelValue"],
16
- setup(r, { emit: n }) {
17
- let o = n, p = r, { table: s, field: m, set: x, modelValue: i } = f(p), l = _({
15
+ setup(n, { emit: r }) {
16
+ let o = r, s = n, { table: p, field: m, set: x, modelValue: u } = f(s), l = _({
18
17
  get() {
19
- return i.value;
18
+ return u.value;
20
19
  },
21
20
  set(t) {
22
21
  o("update:modelValue", t), o("change", t);
23
22
  }
24
23
  });
25
24
  return (t, a) => {
26
- const u = V("el-time-select");
27
- return h(), b(u, {
25
+ const i = V("el-time-select");
26
+ return h(), b(i, {
28
27
  type: "time",
29
- placeholder: e(k)(e(s).name, e(m).name),
28
+ placeholder: e(k)(e(p).name, e(m).name),
30
29
  disabled: e(m).control.readonly,
31
30
  modelValue: e(l),
32
31
  "onUpdate:modelValue": a[0] || (a[0] = (d) => g(l) ? l.value = d : l = d)
@@ -35,5 +34,5 @@ const v = /* @__PURE__ */ c({
35
34
  }
36
35
  });
37
36
  export {
38
- v as default
37
+ R as default
39
38
  };
@@ -1,11 +1,15 @@
1
- import { defineComponent as h, toRefs as y, resolveComponent as m, openBlock as t, createBlock as n, unref as e, withCtx as o, createElementVNode as r, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } from "vue";
2
- import { _ as g, U as C } from "./main-BCxKY4GT.js";
1
+ import { defineComponent as h, toRefs as y, resolveComponent as l, openBlock as t, createBlock as n, unref as e, withCtx as o, createElementVNode as r, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } from "vue";
2
+ import { _ as g, U as C } from "./main-SNlEeN01.js";
3
+ import "./assets/liquidjs-C2HVw1Ra.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
3
8
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
9
  const B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
6
10
  key: 0,
7
11
  class: "timeline-detail"
8
- }, R = /* @__PURE__ */ h({
12
+ }, w = /* @__PURE__ */ h({
9
13
  __name: "Timeline",
10
14
  props: {
11
15
  searchData: {},
@@ -18,18 +22,18 @@ const B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
18
22
  set: {}
19
23
  },
20
24
  setup(_) {
21
- let p = _, { module: T, schema: b, table: l, layout: i, next: E, set: s } = y(p);
25
+ let p = _, { module: T, schema: b, table: m, layout: i, next: E, set: s } = y(p);
22
26
  return (M, N) => {
23
- const u = m("el-timeline-item"), d = m("el-timeline"), f = m("el-empty");
27
+ const u = l("el-timeline-item"), d = l("el-timeline"), f = l("el-empty");
24
28
  return t(), n(e(g), { class: "timeline" }, {
25
29
  default: o(() => [
26
30
  r("div", B, [
27
- e(s)[e(l).name].length > 0 ? (t(), n(d, {
31
+ e(s)[e(m).name].length > 0 ? (t(), n(d, {
28
32
  key: 0,
29
33
  reverse: !1
30
34
  }, {
31
35
  default: o(() => [
32
- (t(!0), c(k, null, x(e(s)[e(l).name], (a) => (t(), n(u, {
36
+ (t(!0), c(k, null, x(e(s)[e(m).name], (a) => (t(), n(u, {
33
37
  timestamp: a[e(i).time]
34
38
  }, {
35
39
  default: o(() => [
@@ -43,7 +47,7 @@ const B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
43
47
  _: 1
44
48
  })) : (t(), n(f, { key: 1 }))
45
49
  ]),
46
- e(l).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : v("", !0)
50
+ e(m).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : v("", !0)
47
51
  ]),
48
52
  _: 1
49
53
  });
@@ -51,5 +55,5 @@ const B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
51
55
  }
52
56
  });
53
57
  export {
54
- R as default
58
+ w as default
55
59
  };