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,15 +1,14 @@
1
- import { defineComponent as le, toRefs as oe, ref as c, onMounted as ae, computed as ne, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as w, createCommentVNode as _, createVNode as C, normalizeStyle as re, withCtx as R, createElementVNode as i, Fragment as se, renderList as ie, withModifiers as U, toDisplayString as d, resolveDynamicComponent as ue, createTextVNode as D } from "vue";
2
- import { d as ce, U as h, t as de, a as pe, h as me, m as ve } from "./main-BCxKY4GT.js";
1
+ import { defineComponent as le, toRefs as oe, ref as c, onMounted as ae, computed as ne, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as w, normalizeStyle as re, withCtx as C, createElementVNode as i, Fragment as se, renderList as ie, withModifiers as U, toDisplayString as d, resolveDynamicComponent as ue, createTextVNode as D } from "vue";
2
+ import { f as ce, U as h, t as de, b as pe, h as me, m as ge, a as ve } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- import { _ as ge } from "./SearchForm.vue_vue_type_style_index_0_lang-B3LUX2ZJ.js";
6
- const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"], _e = { class: "article-title" }, ke = {
4
+ import { _ as fe } from "./SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js";
5
+ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"], be = { class: "article-title" }, ke = {
7
6
  key: 0,
8
7
  class: "article-content"
9
- }, be = { class: "article-time" }, we = {
8
+ }, we = { class: "article-time" }, Ce = {
10
9
  key: 1,
11
10
  class: "article-view-count"
12
- }, Ce = ["href"], Re = { class: "el-drawer__title" }, xe = ["href"], He = /* @__PURE__ */ le({
11
+ }, Re = ["href"], xe = { class: "el-drawer__title" }, $e = ["href"], Ve = /* @__PURE__ */ le({
13
12
  __name: "Article",
14
13
  props: {
15
14
  searchData: {},
@@ -22,36 +21,36 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
22
21
  },
23
22
  emits: ["page-change", "navigate", "search", "succeed", "close"],
24
23
  setup(E, { expose: M, emit: N }) {
25
- let p = N, F = E, { module: K, schema: P, table: n, layout: r, next: m, set: x, searchData: j } = oe(F), $ = c(), k = c(), B = c(), S = c(), y = c();
24
+ let p = N, K = E, { module: F, schema: P, table: n, layout: r, next: m, set: R, searchData: j } = oe(K), x = c(), y = c(), $ = c(), B = c(), H = c();
26
25
  c({ layout: "prev, pager, next", count: 5 });
27
26
  let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), z = (t) => {
28
- g("insert", null, t);
27
+ v("insert", null, t);
29
28
  }, A = (t, l) => {
30
- g("detail", t, l);
29
+ v("detail", t, l);
31
30
  }, L = (t, l) => {
32
- g("update", t, l);
31
+ v("update", t, l);
33
32
  }, q = (t, l) => {
34
- g("copy", t, l);
33
+ v("copy", t, l);
35
34
  }, G = (t, l) => {
36
- g("delete", t, l);
35
+ v("delete", t, l);
37
36
  }, I = (t) => {
38
37
  let l = t.map((s) => s[n.value.key.name]);
39
38
  me.post(m.value.delete.route, l).then((s) => {
40
- ve.success(s.message), V();
39
+ ge.success(s.message), T();
41
40
  });
42
- }, g = (t, l, s) => {
43
- let v = T(t, l);
44
- s.ctrlKey ? (o.value.row = null, p("navigate", v)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = v, o.value.row = l, o.value.visible = !0);
45
- }, T = (t, l = null) => {
41
+ }, v = (t, l, s) => {
42
+ let g = S(t, l);
43
+ s.ctrlKey ? (o.value.row = null, p("navigate", g)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = g, o.value.row = l, o.value.visible = !0);
44
+ }, S = (t, l = null) => {
46
45
  let s = `${m.value[t].route}`;
47
46
  if (l != null) {
48
- let v = l[n.value.key.name];
49
- s += `?id=${v}`;
47
+ let g = l[n.value.key.name];
48
+ s += `?id=${g}`;
50
49
  }
51
50
  return s;
52
51
  }, J = () => {
53
52
  o.value.visible = !1, p("close");
54
- }, V = (t = null) => {
53
+ }, T = (t = null) => {
55
54
  o.value.visible = !1, p("succeed", t);
56
55
  }, O = (t) => {
57
56
  p("page-change", t);
@@ -60,18 +59,16 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
60
59
  }, W = () => {
61
60
  p("search");
62
61
  }, X = () => {
63
- H();
62
+ V();
64
63
  }, Y = (t, l) => {
65
- if (!y.value || !y.value.keyboard)
66
- return !1;
67
- y.value.keyboard(t, l);
64
+ ve.triggerKeyboardHandler(H.value, t, l);
68
65
  }, Z = (t) => {
69
- H();
70
- }, H = () => {
71
- if (k.value == null)
66
+ V();
67
+ }, V = () => {
68
+ if (y.value == null)
72
69
  return;
73
- let t = h.dom.getHeight($.value), l = h.dom.getHeight([k.value.$el, B.value]);
74
- S.value = t - l;
70
+ let t = h.dom.getHeight(x.value), l = h.dom.getHeight([y.value.$el, $.value]);
71
+ B.value = t - l;
75
72
  };
76
73
  ae(() => {
77
74
  });
@@ -79,17 +76,17 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
79
76
  let t = `/${n.value.name}/article-footer`;
80
77
  return ce.getComponent(t, "partial", "article-footer");
81
78
  });
82
- return M({ keyboard: Y, resize: Z }), (t, l) => {
83
- const s = b("el-scrollbar"), v = b("el-pagination"), te = b("el-drawer");
79
+ return M({ keyboardHandler: Y, resize: Z }), (t, l) => {
80
+ const s = b("el-scrollbar"), g = b("el-pagination"), te = b("el-drawer");
84
81
  return u(), f("div", {
85
82
  ref_key: "pagingRef",
86
- ref: $,
83
+ ref: x,
87
84
  class: "paging-article"
88
85
  }, [
89
- e(n).search.length > 0 ? (u(), w(ge, {
86
+ e(n).search.length > 0 ? (u(), k(fe, {
90
87
  key: 0,
91
88
  ref_key: "searchRef",
92
- ref: k,
89
+ ref: y,
93
90
  schema: e(P),
94
91
  table: e(n),
95
92
  layout: e(r),
@@ -97,30 +94,30 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
97
94
  onSubmit: e(W),
98
95
  onMounted: e(X)
99
96
  }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
100
- C(s, {
97
+ w(s, {
101
98
  class: "article-scroller",
102
- style: re({ height: e(S) + "px" })
99
+ style: re({ height: e(B) + "px" })
103
100
  }, {
104
- default: R(() => [
105
- i("div", fe, [
106
- (u(!0), f(se, null, ie(e(x)[e(n).name], (a) => (u(), f("a", {
101
+ default: C(() => [
102
+ i("div", he, [
103
+ (u(!0), f(se, null, ie(e(R)[e(n).name], (a) => (u(), f("a", {
107
104
  class: "article",
108
105
  href: `${e(m).detail.route}?id=${a[e(n).key.name]}`,
109
- onClick: U(($e) => e(Q)(`${e(m).detail.route}?id=${a[e(n).key.name]}`), ["prevent"]),
106
+ onClick: U((Be) => e(Q)(`${e(m).detail.route}?id=${a[e(n).key.name]}`), ["prevent"]),
110
107
  key: a[e(n).key.name]
111
108
  }, [
112
109
  i("img", {
113
110
  class: "article-image",
114
111
  src: a[e(r).image]
115
112
  }, null, 8, ye),
116
- i("div", _e, d(a[e(r).title]), 1),
113
+ i("div", be, d(a[e(r).title]), 1),
117
114
  e(h).html.getText(a[e(r).content]) ? (u(), f("div", ke, d(e(h).html.getText(a[e(r).content])), 1)) : _("", !0),
118
- i("div", be, d(a[e(r).time]), 1),
119
- a[e(r).viewCount] ? (u(), f("div", we, d(a[e(r).viewCount]), 1)) : _("", !0),
120
- (u(), w(ue(e(ee)), {
115
+ i("div", we, d(a[e(r).time]), 1),
116
+ a[e(r).viewCount] ? (u(), f("div", Ce, d(a[e(r).viewCount]), 1)) : _("", !0),
117
+ (u(), k(ue(e(ee)), {
121
118
  table: e(n),
122
119
  next: e(m),
123
- set: e(x),
120
+ set: e(R),
124
121
  row: a,
125
122
  onPreview: e(A),
126
123
  onEdit: e(L),
@@ -128,9 +125,9 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
128
125
  onBeforeRemove: e(G),
129
126
  onRemove: e(I)
130
127
  }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
131
- ], 8, he))), 128)),
128
+ ], 8, _e))), 128)),
132
129
  i("a", {
133
- href: e(T)("insert"),
130
+ href: e(S)("insert"),
134
131
  class: "article-add",
135
132
  onClick: l[0] || (l[0] = U(
136
133
  //@ts-ignore
@@ -140,48 +137,48 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
140
137
  }, [
141
138
  l[2] || (l[2] = i("i", { class: "fa fa-plus" }, null, -1)),
142
139
  D(" 添加新" + d(e(n).title), 1)
143
- ], 8, Ce)
140
+ ], 8, Re)
144
141
  ])
145
142
  ]),
146
143
  _: 1
147
144
  }, 8, ["style"]),
148
145
  i("div", {
149
146
  ref_key: "footerRef",
150
- ref: B,
147
+ ref: $,
151
148
  class: "article-bottom"
152
149
  }, [
153
- C(v, {
150
+ w(g, {
154
151
  background: "",
155
152
  layout: "total, prev, pager, next, jumper",
156
153
  "current-page": e(r).page,
157
- "page-size": e(r).pageSize,
154
+ "page-size": e(r).size,
158
155
  total: e(r).count,
159
156
  onCurrentChange: e(O)
160
157
  }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
161
158
  ], 512),
162
- e(o).page ? (u(), w(te, {
159
+ e(o).page ? (u(), k(te, {
163
160
  key: 1,
164
161
  "destroy-on-close": "",
165
162
  "append-to-body": e(o).appendToBody,
166
- size: `${e(K).width ?? "60%"}`,
163
+ size: `${e(F).width ?? "60%"}`,
167
164
  modelValue: e(o).visible,
168
165
  "onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
169
166
  }, {
170
- header: R(() => [
171
- i("div", Re, [
167
+ header: C(() => [
168
+ i("div", xe, [
172
169
  D(d(e(m)[e(o).page].title) + " ", 1),
173
170
  i("a", {
174
171
  class: "drawer-copy",
175
172
  href: e(h).url.getToUrl(e(o).url)
176
- }, d(e(de)("common.link")), 9, xe)
173
+ }, d(e(de)("common.link")), 9, $e)
177
174
  ])
178
175
  ]),
179
- default: R(() => [
180
- C(e(pe), {
176
+ default: C(() => [
177
+ w(e(pe), {
181
178
  ref_key: "pageRef",
182
- ref: y,
179
+ ref: H,
183
180
  url: e(o).url,
184
- onSucceed: e(V),
181
+ onSucceed: e(T),
185
182
  onClose: e(J)
186
183
  }, null, 8, ["url", "onSucceed", "onClose"])
187
184
  ]),
@@ -192,5 +189,5 @@ const fe = { class: "article-layout" }, he = ["href", "onClick"], ye = ["src"],
192
189
  }
193
190
  });
194
191
  export {
195
- He as default
192
+ Ve as default
196
193
  };
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as m, unref as e, withModifiers as p, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
2
- import { t as a } from "./main-BCxKY4GT.js";
2
+ import { t as a } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const V = { class: "article-footer" }, z = /* @__PURE__ */ w({
4
+ const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
6
5
  __name: "ArticleFooter",
7
6
  props: {
8
7
  table: {},
@@ -77,5 +76,5 @@ const V = { class: "article-footer" }, z = /* @__PURE__ */ w({
77
76
  }
78
77
  });
79
78
  export {
80
- z as default
79
+ q as default
81
80
  };
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ f({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let m = i(() => import("./Text-BCIG-FSm.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
13
+ let m = i(() => import("./Text-DAliAA9U.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
14
14
  return (u, o) => (V(), b(e(m), {
15
15
  schema: u.schema,
16
16
  table: e(r),
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as U, createBlock as b, unref as o, isRef as k } from "vue";
2
- import { j as B, U as R, h as j } from "./main-BCxKY4GT.js";
2
+ import { l as B, U as R, h as w } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const z = /* @__PURE__ */ _({
4
+ const y = /* @__PURE__ */ _({
6
5
  __name: "Autocomplete",
7
6
  props: {
8
7
  schema: {},
@@ -14,15 +13,15 @@ const z = /* @__PURE__ */ _({
14
13
  },
15
14
  emits: ["submit", "change", "update:modelValue"],
16
15
  setup(p, { emit: d }) {
17
- let s = d, i = p, { table: c, field: m, set: w, modelValue: f } = v(i), a = V([]), h = null, g = (l, e) => {
16
+ let r = d, i = p, { table: c, field: m, set: A, modelValue: f } = v(i), a = V([]), h = null, g = (l, e) => {
18
17
  if (a.value.length) {
19
- let t = a.value.filter((r) => R.string.containsIgnoreCase(l, r.value));
18
+ let t = a.value.filter((s) => R.string.containsIgnoreCase(l, s.value));
20
19
  e(t);
21
20
  return;
22
21
  }
23
22
  let u = { text: h, conditions: [] };
24
- j.post(m.value.control.data.route, u).then(({ data: t }) => {
25
- a.value = t.map((r) => ({ value: r.text })), e(a.value);
23
+ w.post(m.value.control.data.route, u).then(({ data: t }) => {
24
+ a.value = t.map((s) => ({ value: s.text })), e(a.value);
26
25
  }).catch(() => {
27
26
  e([]);
28
27
  });
@@ -31,7 +30,7 @@ const z = /* @__PURE__ */ _({
31
30
  return f.value;
32
31
  },
33
32
  set(l) {
34
- s("update:modelValue", l), s("change", l);
33
+ r("update:modelValue", l), r("change", l);
35
34
  }
36
35
  });
37
36
  return (l, e) => {
@@ -47,5 +46,5 @@ const z = /* @__PURE__ */ _({
47
46
  }
48
47
  });
49
48
  export {
50
- z as default
49
+ y as default
51
50
  };
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as U, createBlock as b, unref as a, isRef as k } from "vue";
2
- import { j as B, U as D, h as R } from "./main-BCxKY4GT.js";
2
+ import { l as B, U as D, h as R } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const y = /* @__PURE__ */ _({
4
+ const w = /* @__PURE__ */ _({
6
5
  __name: "Autocomplete",
7
6
  props: {
8
7
  schema: {},
@@ -13,7 +12,7 @@ const y = /* @__PURE__ */ _({
13
12
  },
14
13
  emits: ["submit", "change", "update:modelValue"],
15
14
  setup(p, { emit: d }) {
16
- let s = d, i = p, { table: c, field: m, searchData: j, modelValue: f } = v(i), o = V([]), h = null, g = (l, e) => {
15
+ let s = d, c = p, { table: i, field: m, searchData: A, modelValue: f } = v(c), o = V([]), h = null, g = (l, e) => {
17
16
  if (o.value.length) {
18
17
  let t = o.value.filter((r) => D.string.containsIgnoreCase(l, r.value));
19
18
  e(t);
@@ -37,7 +36,7 @@ const y = /* @__PURE__ */ _({
37
36
  const u = C("el-autocomplete");
38
37
  return U(), b(u, {
39
38
  clearable: "",
40
- placeholder: a(B)(a(c).name, a(m).name),
39
+ placeholder: a(B)(a(i).name, a(m).name),
41
40
  "fetch-suggestions": a(g),
42
41
  modelValue: a(n),
43
42
  "onUpdate:modelValue": e[0] || (e[0] = (t) => k(n) ? n.value = t : n = t)
@@ -46,5 +45,5 @@ const y = /* @__PURE__ */ _({
46
45
  }
47
46
  });
48
47
  export {
49
- y as default
48
+ w as default
50
49
  };
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = i(() => import("./Code-BQxUo4S4.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
13
+ let r = i(() => import("./Code-B4Z7WuUc.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
14
14
  return (w, o) => (V(), b(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),
@@ -1,10 +1,10 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { o } from "./main-BCxKY4GT.js";
3
- const c = {};
4
- function n(t, _) {
2
+ import { q as c } from "./main-SNlEeN01.js";
3
+ const n = {};
4
+ function o(t, _) {
5
5
  return e(), r("div", null, "日历");
6
6
  }
7
- const l = /* @__PURE__ */ o(c, [["render", n]]);
7
+ const l = /* @__PURE__ */ c(n, [["render", o]]);
8
8
  export {
9
9
  l as default
10
10
  };
@@ -1,22 +1,21 @@
1
1
  import { defineComponent as o } from "vue";
2
2
  import { useRouter as i, useRoute as n } from "vue-router";
3
- import { m as s, J as a } from "./main-BCxKY4GT.js";
3
+ import { m as s, N as a } from "./main-SNlEeN01.js";
4
4
  import "./assets/moment-h96o7c8I.js";
5
- import "./assets/liquidjs-B8dqQyVv.js";
6
- const g = /* @__PURE__ */ o({
5
+ const f = /* @__PURE__ */ o({
7
6
  __name: "Callback",
8
- setup(p) {
7
+ setup(u) {
9
8
  let r = i(), t = n().query;
10
9
  return (async () => {
11
10
  if (!t.type) {
12
11
  s.error("缺失type参数");
13
12
  return;
14
13
  }
15
- let e = await a.sso.create(t.type.toString());
14
+ let e = await a.sso.createAsync(t.type.toString());
16
15
  t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
17
16
  })(), (e, m) => " 登录完毕,处理回调中... ";
18
17
  }
19
18
  });
20
19
  export {
21
- g as default
20
+ f as default
22
21
  };
@@ -0,0 +1,47 @@
1
+ import { defineComponent as y, toRefs as k, computed as c, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
2
+ import { U as B } 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 C = { class: "text-cascader" }, S = {
10
+ key: 0,
11
+ class: "cascader-seperator"
12
+ }, j = /* @__PURE__ */ y({
13
+ __name: "Cascader",
14
+ props: {
15
+ schema: {},
16
+ table: {},
17
+ field: {},
18
+ set: {},
19
+ row: {},
20
+ modelValue: {}
21
+ },
22
+ emits: ["submit", "change"],
23
+ setup(_, { emit: V }) {
24
+ let v = _, { table: w, field: s, set: E, row: U, modelValue: o } = k(v), u = c(() => s.value.control.multiple ? o.value ? o.value.toString().split(",") : [] : o.value), i = c(() => {
25
+ if (u.value.length > 0) {
26
+ let p = s.value.control.data.data, a = [];
27
+ return u.value.forEach((r) => {
28
+ let l = B.tree.getParentsById(r, "value", p, "children", !0);
29
+ l.length > 0 && a.push(l);
30
+ }), a;
31
+ }
32
+ return [];
33
+ });
34
+ return (p, a) => (e(), t("div", C, [
35
+ (e(!0), t(m, null, d(f(i), (r, l) => (e(), t("span", null, [
36
+ (e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
37
+ style: x({ color: n.color }),
38
+ key: n.value
39
+ }, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
40
+ l != f(i).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
41
+ ]))), 256))
42
+ ]));
43
+ }
44
+ });
45
+ export {
46
+ j as default
47
+ };
@@ -1,14 +1,13 @@
1
- import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as i, createBlock as U, unref as a, isRef as D, withCtx as I, createElementVNode as P, createTextVNode as j, toDisplayString as c, createElementBlock as m, createCommentVNode as h } from "vue";
2
- import { k as q, U as f, h as T } from "./main-BCxKY4GT.js";
1
+ import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as U, unref as a, isRef as D, withCtx as I, createElementVNode as P, createTextVNode as j, toDisplayString as i, createElementBlock as m, createCommentVNode as h } from "vue";
2
+ import { n as q, U as f, h as T } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
4
  const z = {
6
5
  key: 0,
7
6
  class: "cascader-suffix"
8
7
  }, A = {
9
8
  key: 0,
10
9
  class: "cascader-length"
11
- }, M = /* @__PURE__ */ E({
10
+ }, L = /* @__PURE__ */ E({
12
11
  __name: "Cascader",
13
12
  props: {
14
13
  schema: {},
@@ -32,9 +31,9 @@ const z = {
32
31
  }, C = (e) => {
33
32
  let l;
34
33
  t.value.control.multiple ? l = e.map((n) => n[n.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
35
- }, k = (e) => {
36
- e && (p = null, y());
37
- }, y = () => {
34
+ }, y = (e) => {
35
+ e && (p = null, k());
36
+ }, k = () => {
38
37
  let e = { text: p, conditions: [] };
39
38
  t.value.control.data.conditions.forEach((l) => {
40
39
  e.conditions.push({ name: l.name, value: null });
@@ -51,7 +50,7 @@ const z = {
51
50
  });
52
51
  return (e, l) => {
53
52
  const n = S("el-cascader");
54
- return i(), U(n, {
53
+ return c(), U(n, {
55
54
  ref: "cascaderRef",
56
55
  placeholder: a(q)(a(V).name, a(t).name),
57
56
  filterable: "",
@@ -62,16 +61,16 @@ const z = {
62
61
  disabled: a(t).readonly,
63
62
  props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
64
63
  clearable: !a(t).control.required,
65
- onVisibleChange: a(k),
64
+ onVisibleChange: a(y),
66
65
  modelValue: a(u),
67
66
  "onUpdate:modelValue": l[0] || (l[0] = (r) => D(u) ? u.value = r : u = r)
68
67
  }, {
69
68
  default: I(({ node: r, data: o }) => [
70
69
  P("span", null, [
71
- j(c(o.text), 1),
72
- o.suffix ? (i(), m("span", z, "(" + c(o.suffix) + ")", 1)) : h("", !0)
70
+ j(i(o.text), 1),
71
+ o.suffix ? (c(), m("span", z, "(" + i(o.suffix) + ")", 1)) : h("", !0)
73
72
  ]),
74
- o.children ? (i(), m("span", A, c(o.children.length), 1)) : h("", !0)
73
+ o.children ? (c(), m("span", A, i(o.children.length), 1)) : h("", !0)
75
74
  ]),
76
75
  _: 1
77
76
  }, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
@@ -79,5 +78,5 @@ const z = {
79
78
  }
80
79
  });
81
80
  export {
82
- M as default
81
+ L as default
83
82
  };
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ p({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = u(() => import("./Dictionary-C3z2FWDL.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
13
+ let r = u(() => import("./Dictionary-CAAvUqf-.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
14
14
  return (w, o) => (b(), V(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as N, toRefs as w, ref as h, computed as A, resolveComponent as g, openBlock as m, createElementBlock as f, createVNode as v, unref as t, isRef as _, withCtx as i, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } from "vue";
2
- import { t as D } from "./main-BCxKY4GT.js";
2
+ import { t as D } from "./main-SNlEeN01.js";
3
3
  import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const F = { class: "control-checkbox" }, L = { class: "check-all" }, I = /* @__PURE__ */ N({
4
+ const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__PURE__ */ N({
6
5
  __name: "Checkbox",
7
6
  props: {
8
7
  schema: {},
@@ -68,5 +67,5 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, I = /* @__P
68
67
  }
69
68
  });
70
69
  export {
71
- I as default
70
+ H as default
72
71
  };
@@ -0,0 +1,42 @@
1
+ import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as u, normalizeStyle as _, isRef as x } from "vue";
2
+ import { o as F } 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 $ = /* @__PURE__ */ v({
10
+ __name: "Code",
11
+ props: {
12
+ schema: {},
13
+ table: {},
14
+ field: {},
15
+ set: {},
16
+ row: {},
17
+ modelValue: {}
18
+ },
19
+ setup(s) {
20
+ let m = s, { table: f, field: t, set: b, row: g, modelValue: r } = h(m), n = i(), a = i({ language: null, readonly: !0, lineNumbers: "off" }), p = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", d = (e) => e ? f.value.fields.find((o) => o.name == e) : null, c = (e) => {
21
+ let l = d(e);
22
+ return l ? g.value[l.name] : null;
23
+ };
24
+ return (() => {
25
+ if (n.value = p(), t.value.control.languageField == null)
26
+ a.value.language = t.value.control.language;
27
+ else {
28
+ let e = c(t.value.control.languageField);
29
+ e && (a.value.language = e);
30
+ }
31
+ })(), (e, l) => (V(), y(u(F), {
32
+ class: "text-code",
33
+ options: u(a),
34
+ style: _(u(n)),
35
+ modelValue: u(r),
36
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => x(r) ? r.value = o : r = o)
37
+ }, null, 8, ["options", "style", "modelValue"]));
38
+ }
39
+ });
40
+ export {
41
+ $ as default
42
+ };