halo-pc 1.0.27 → 1.0.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. package/dist/{Article-CTqryR4L.js → Article-N3ZaJaLc.js} +75 -70
  2. package/dist/{ArticleFooter-BumGH5nC.js → ArticleFooter-sspAOJuS.js} +23 -17
  3. package/dist/Autocomplete-CD6CsF2X.js +54 -0
  4. package/dist/{Autocomplete-BNx0bErM.js → Autocomplete-DY6OaWAK.js} +1 -1
  5. package/dist/Autocomplete-DkkUx0lx.js +53 -0
  6. package/dist/{CSharp-Dt6H75E9.js → CSharp-BwNnAf8e.js} +1 -1
  7. package/dist/{Calender-DhKZyJri.js → Calender-VwwIDi3Q.js} +1 -1
  8. package/dist/Callback-BRrShVCU.js +26 -0
  9. package/dist/Cascader-CurlPJsQ.js +87 -0
  10. package/dist/Cascader-i3KkCfFF.js +47 -0
  11. package/dist/{Checkbox-C-iEGB0k.js → Checkbox-Bk98RtL7.js} +1 -1
  12. package/dist/Checkbox-CNMzO79X.js +76 -0
  13. package/dist/Code-BdDjNSqs.js +42 -0
  14. package/dist/{Code-Q_6THgGl.js → Code-C4XPPKO8.js} +1 -1
  15. package/dist/{Code-JtSSnUWC.js → Code-CRH4WNXz.js} +1 -1
  16. package/dist/Code-CqA6bVSZ.js +60 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-Dkdu_fcm.js +65 -0
  18. package/dist/Column-BCz-Xp-3.js +75 -0
  19. package/dist/Comment-BoOQfrxv.js +104 -0
  20. package/dist/Compare-ChJu8LUo.js +44 -0
  21. package/dist/{Compare-DZVrBYEh.js → Compare-DxOXRPzs.js} +25 -19
  22. package/dist/Copy-DBUSr3OW.js +49 -0
  23. package/dist/Custom-CNQIPMHT.js +57 -0
  24. package/dist/{DataExport-DSz5371s.js → DataExport-B-0vVYMT.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js → DataExport.vue_vue_type_script_setup_true_lang-BvyBbSLP.js} +41 -36
  26. package/dist/{DataImport-CX7G70a7.js → DataImport-ApAPTQcq.js} +1 -1
  27. package/dist/DataImport.vue_vue_type_script_setup_true_lang-CKd0CAf_.js +176 -0
  28. package/dist/Date-BnRTPDSJ.js +43 -0
  29. package/dist/{Date-ytWe2gz8.js → Date-gMmfQ3pA.js} +1 -1
  30. package/dist/DateRange-BPQ2TOXk.js +63 -0
  31. package/dist/DateTime-CsZdXjmB.js +44 -0
  32. package/dist/{DateTime-p6YgmtGd.js → DateTime-Cz09I2-B.js} +1 -1
  33. package/dist/{DateTimeRange-DGobnXqs.js → DateTimeRange-DPjTS-A2.js} +17 -11
  34. package/dist/Daterange-DCyMLI8G.js +63 -0
  35. package/dist/{Decimal-BvyzJq1c.js → Decimal-Cpz-_Ef3.js} +1 -1
  36. package/dist/Delete-Di56R5Tf.js +62 -0
  37. package/dist/{Detail-DZJ0aUFr.js → Detail-DP1ReSaw.js} +22 -17
  38. package/dist/Dictionary-B8OMis9G.js +59 -0
  39. package/dist/Email-CCZH8SDT.js +54 -0
  40. package/dist/{File-BEBElTSS.js → File-BUw6o5UN.js} +32 -27
  41. package/dist/{Image-DDK05SW7.js → Image-DBjqi76B.js} +1 -1
  42. package/dist/Index-B6sevgc6.js +4 -0
  43. package/dist/{Index-DPwdcUO4.js → Index-BDVj7Dy2.js} +1 -1
  44. package/dist/Index-CZYVZtFI.js +178 -0
  45. package/dist/Index-Cch9emdC.js +4 -0
  46. package/dist/Index-CfpZf8By.js +4 -0
  47. package/dist/Index-Cn3HXkPm.js +4 -0
  48. package/dist/{Index-CuEyzMd0.js → Index-DuKtMNgH.js} +25 -20
  49. package/dist/{Index-BiF8qEWf.js → Index-Z8dMl0cU.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-Bp091zxs.js → Index.vue_vue_type_script_setup_true_lang-BJJPNo3Y.js} +20 -15
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js → Index.vue_vue_type_script_setup_true_lang-DCxwPrIZ.js} +17 -12
  52. package/dist/{Install-CxuoWpHC.js → Install-CNE0J2Q9.js} +27 -22
  53. package/dist/Int-C5AxmjK0.js +46 -0
  54. package/dist/Int-RoCJiPje.js +44 -0
  55. package/dist/List-DJuE2QHL.js +79 -0
  56. package/dist/Maintaince-CdqWSHAZ.js +20 -0
  57. package/dist/{Markdown-x1hASyA-.js → Markdown-DKyCVBYy.js} +1 -1
  58. package/dist/{Month-Bb0tgF-k.js → Month-BfSG37wf.js} +1 -1
  59. package/dist/Month-OH6snasK.js +43 -0
  60. package/dist/Month-iU9F-vQ5.js +44 -0
  61. package/dist/{Normal-CYmy5sN7.js → Normal-DPJQ_Ds5.js} +70 -66
  62. package/dist/Paging-CYU3sSbD.js +99 -0
  63. package/dist/{PagingHeader-DWbFl1do.js → PagingHeader-CgWbC7R1.js} +30 -24
  64. package/dist/{PagingRow-CR2N1vgm.js → PagingRow-Y8lG-1cI.js} +26 -20
  65. package/dist/QueryApi-C3h4tWd0.js +20 -0
  66. package/dist/{Racebar-BsgDK6Zf.js → Racebar-CtFYJKrh.js} +42 -37
  67. package/dist/{Radio-B3Af-uZE.js → Radio-Bz2SE_FO.js} +1 -1
  68. package/dist/{Register-Cwr3iIZm.js → Register-CiK44o2W.js} +44 -40
  69. package/dist/RichText-BkhW8muI.js +47 -0
  70. package/dist/{SearchFooter-DiILcc_U.js → SearchFooter-D6O_c5DS.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BsIg4tbY.js → SearchFooter.vue_vue_type_style_index_0_lang-BDe_uXW2.js} +1 -1
  72. package/dist/{SearchForm-BOw_kHs2.js → SearchForm-CZjHSE1s.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js → SearchForm.vue_vue_type_style_index_0_lang-CVeFjNjG.js} +40 -36
  74. package/dist/Select-BEgPZsaR.js +117 -0
  75. package/dist/Select-CY1CA4pv.js +86 -0
  76. package/dist/{Select-BdYG1KQE.js → Select-FFqI2hOh.js} +1 -1
  77. package/dist/{Single-DqCIZBIB.js → Single-BQRWqAOH.js} +103 -99
  78. package/dist/{Statistic-B9ZcUUk1.js → Statistic-CyqoTZZj.js} +37 -33
  79. package/dist/{Stock-BnBNtuo7.js → Stock-N57DPrDl.js} +1 -1
  80. package/dist/{Stock-BiSr7zAF.js → Stock-negSF4zD.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-CZPeF39q.js → Stock.vue_vue_type_style_index_0_lang-BuxuI7Wg.js} +31 -26
  82. package/dist/{Switch-BE4dQcja.js → Switch-g5K9zh4g.js} +1 -1
  83. package/dist/{Table-CaH_zu8W.js → Table-CHKHAajT.js} +77 -74
  84. package/dist/{Table-e0uLPRLG.js → Table-nB7wA6gP.js} +78 -73
  85. package/dist/{Text-BAw88r5O.js → Text-7oaEmWun.js} +19 -13
  86. package/dist/Text-BefOYKkr.js +4 -0
  87. package/dist/{Text-BDAob4mp.js → Text-KKwYRpSW.js} +21 -15
  88. package/dist/Text.vue_vue_type_style_index_0_lang-BrmC8Xhc.js +59 -0
  89. package/dist/TextLink-DoArgh5L.js +65 -0
  90. package/dist/{Textarea-CU5PjIoa.js → Textarea-DEvxrKMK.js} +1 -1
  91. package/dist/Time-D8Ikb-KB.js +43 -0
  92. package/dist/Timeline-BEt6ygzA.js +59 -0
  93. package/dist/{Tree-D-v632h1.js → Tree-caBJzrZQ.js} +105 -101
  94. package/dist/Tree-ftxBqmRQ.js +122 -0
  95. package/dist/TreeNode-XITOvihe.js +42 -0
  96. package/dist/{Update-DRAFce7_.js → Update-JgTiZCDi.js} +20 -15
  97. package/dist/{UpdateChild-DMC0FG4Z.js → UpdateChild-y0OPiT92.js} +23 -17
  98. package/dist/Upload-BlnOvJFg.js +150 -0
  99. package/dist/Upload-kUYBfIS2.js +72 -0
  100. package/dist/UploadApi-RRAsIVG7.js +20 -0
  101. package/dist/{Year-CpcMBvQ7.js → Year-C2_kuiZX.js} +1 -1
  102. package/dist/Year-Cre43mQI.js +47 -0
  103. package/dist/assets/clone-BZn0cTAu.js +134 -0
  104. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  105. package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
  106. package/dist/assets/moment-h96o7c8I.js +2578 -0
  107. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  108. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  109. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  110. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  111. package/dist/main-KTzfgTac.js +9105 -0
  112. package/dist/main.js +139 -140
  113. package/dist/style.css +1 -1
  114. package/package.json +1 -1
  115. package/dist/Autocomplete-C9RS9-qw.js +0 -48
  116. package/dist/Autocomplete-DIucpEpj.js +0 -49
  117. package/dist/Callback-D6G_933H.js +0 -20
  118. package/dist/Cascader-C6t8Q18c.js +0 -41
  119. package/dist/Cascader-F_XWwXKY.js +0 -81
  120. package/dist/Checkbox-ipHs0O-8.js +0 -70
  121. package/dist/Code-DKtqow6y.js +0 -36
  122. package/dist/Code-LeguA9RL.js +0 -54
  123. package/dist/Code.vue_vue_type_style_index_0_lang-DmeXbg91.js +0 -59
  124. package/dist/Column-BeQwafyN.js +0 -70
  125. package/dist/Comment-DIcCHP9F.js +0 -98
  126. package/dist/Compare-Dzqm7kPE.js +0 -38
  127. package/dist/Copy-iLieXx22.js +0 -43
  128. package/dist/Custom-BGtEDHlD.js +0 -51
  129. package/dist/DataImport.vue_vue_type_script_setup_true_lang-BWS65Vp1.js +0 -172
  130. package/dist/Date-CNOCOcNz.js +0 -37
  131. package/dist/DateRange-CaIiObxN.js +0 -57
  132. package/dist/DateTime-CH6J1GoP.js +0 -38
  133. package/dist/Daterange-BUSKAGlK.js +0 -57
  134. package/dist/Delete-BeFC0gjD.js +0 -57
  135. package/dist/Dictionary-CsBiv-CI.js +0 -55
  136. package/dist/Email-Dwa6x3jW.js +0 -48
  137. package/dist/Index-Bpe7pY2Z.js +0 -4
  138. package/dist/Index-CUYQxzNd.js +0 -174
  139. package/dist/Index-DMnL8F7Y.js +0 -4
  140. package/dist/Index-DNG25ox2.js +0 -4
  141. package/dist/Index-DqUNI6MV.js +0 -4
  142. package/dist/Int-BFv18KXi.js +0 -38
  143. package/dist/Int-C0ijmdYS.js +0 -41
  144. package/dist/List-CfQzWq_5.js +0 -74
  145. package/dist/Maintaince-BzDEwQcU.js +0 -14
  146. package/dist/Month-Bp_Pfi_b.js +0 -37
  147. package/dist/Month-CKkjwzza.js +0 -38
  148. package/dist/Paging-DpoBp7x_.js +0 -95
  149. package/dist/QueryApi-VwISnk96.js +0 -13
  150. package/dist/RichText-CNahMrfb.js +0 -41
  151. package/dist/Select-BeNZqAP1.js +0 -112
  152. package/dist/Select-CqOE6uI8.js +0 -80
  153. package/dist/Text-5803XWI6.js +0 -4
  154. package/dist/Text.vue_vue_type_style_index_0_lang-D1JSHUmS.js +0 -53
  155. package/dist/TextLink-TYXcDAlo.js +0 -59
  156. package/dist/Time-Dd-Trib4.js +0 -37
  157. package/dist/Timeline-D6LCIkQp.js +0 -53
  158. package/dist/Tree-BKmFZrK3.js +0 -118
  159. package/dist/TreeNode-L_A5ZKy0.js +0 -37
  160. package/dist/Upload-DJRh4a7g.js +0 -68
  161. package/dist/Upload-Ozg_nOpI.js +0 -147
  162. package/dist/UploadApi-DVx69g-F.js +0 -13
  163. package/dist/Year-D7XGe2So.js +0 -41
  164. package/dist/assets/halo-fe-B-NiIGas.js +0 -12088
  165. package/dist/main-DB_sVyZe.js +0 -3620
@@ -1,14 +1,19 @@
1
- import { defineComponent as ae, toRefs as oe, ref as c, onMounted as ne, computed as re, resolveComponent as k, openBlock as u, createElementBlock as f, unref as e, createBlock as b, createCommentVNode as _, createVNode as w, normalizeStyle as se, withCtx as C, createElementVNode as i, Fragment as ie, renderList as ue, withModifiers as H, toDisplayString as d, resolveDynamicComponent as ce, createTextVNode as D } from "vue";
2
- import { ag as E, K as de, e as pe, T as me, v as ve, R as M } from "./assets/halo-fe-B-NiIGas.js";
3
- import { c as ge, _ as fe } from "./main-DB_sVyZe.js";
4
- import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js";
1
+ import { defineComponent as oe, toRefs as ae, ref as c, onMounted as re, computed as ne, resolveComponent as k, openBlock as u, createElementBlock as f, unref as e, createBlock as b, createCommentVNode as _, createVNode as w, normalizeStyle as se, withCtx as C, createElementVNode as i, Fragment as ie, renderList as ue, withModifiers as V, toDisplayString as d, resolveDynamicComponent as ce, createTextVNode as U } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import "./assets/underscore.string-DVXD2SZo.js";
4
+ import { d as de, I as D, U as pe, t as me, a as ve, h as ge, m as fe, E } from "./main-KTzfgTac.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/moment-h96o7c8I.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-CVeFjNjG.js";
5
10
  const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"], be = { class: "article-title" }, we = {
6
11
  key: 0,
7
12
  class: "article-content"
8
13
  }, Ce = { class: "article-time" }, Re = {
9
14
  key: 1,
10
15
  class: "article-view-count"
11
- }, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), Be = { class: "el-drawer__title" }, Se = ["href"], Ee = /* @__PURE__ */ ae({
16
+ }, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), He = { class: "el-drawer__title" }, Be = ["href"], Ke = /* @__PURE__ */ oe({
12
17
  __name: "Article",
13
18
  props: {
14
19
  searchData: {},
@@ -20,125 +25,125 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
20
25
  set: {}
21
26
  },
22
27
  emits: ["page-change", "navigate", "search", "succeed", "close"],
23
- setup(N, { expose: U, emit: K }) {
24
- let p = K, F = N, { module: P, schema: j, table: n, layout: r, next: m, set: R, searchData: A } = oe(F), x = c(), y = c(), $ = c(), B = c(), h = c();
28
+ setup(M, { expose: N, emit: F }) {
29
+ let p = F, K = M, { module: P, schema: j, table: r, layout: n, next: m, set: R, searchData: A } = ae(K), x = c(), y = c(), $ = c(), H = c(), h = c();
25
30
  c({ layout: "prev, pager, next", count: 5 });
26
- let a = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), S = (t) => {
31
+ let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), B = (t) => {
27
32
  g("insert", null, t);
28
- }, L = (t, l) => {
33
+ }, I = (t, l) => {
29
34
  g("detail", t, l);
30
- }, Q = (t, l) => {
35
+ }, L = (t, l) => {
31
36
  g("update", t, l);
32
37
  }, q = (t, l) => {
33
38
  g("copy", t, l);
34
39
  }, G = (t, l) => {
35
40
  g("delete", t, l);
36
- }, I = (t) => {
37
- let l = t.map((s) => s[n.value.key.name]);
38
- me.post(m.value.delete.route, l).then((s) => {
39
- ve.success(s.message), z();
41
+ }, J = (t) => {
42
+ let l = t.map((s) => s[r.value.key.name]);
43
+ ge.post(m.value.delete.route, l).then((s) => {
44
+ fe.success(s.message), z();
40
45
  });
41
46
  }, g = (t, l, s) => {
42
- let v = T(t, l);
43
- s.ctrlKey ? (a.value.row = null, p("navigate", v)) : (a.value.appendToBody = s.altKey, a.value.page = t, a.value.url = v, a.value.row = l, a.value.visible = !0);
44
- }, T = (t, l = null) => {
47
+ let v = S(t, l);
48
+ 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);
49
+ }, S = (t, l = null) => {
45
50
  let s = `${m.value[t].route}`;
46
51
  if (l != null) {
47
- let v = l[n.value.key.name];
52
+ let v = l[r.value.key.name];
48
53
  s += `?id=${v}`;
49
54
  }
50
55
  return s;
51
- }, J = () => {
52
- a.value.visible = !1, p("close");
56
+ }, O = () => {
57
+ o.value.visible = !1, p("close");
53
58
  }, z = (t = null) => {
54
- a.value.visible = !1, p("succeed", t);
55
- }, O = (t) => {
59
+ o.value.visible = !1, p("succeed", t);
60
+ }, Q = (t) => {
56
61
  p("page-change", t);
57
62
  }, W = (t) => {
58
63
  p("navigate", t);
59
64
  }, X = () => {
60
65
  p("search");
61
66
  }, Y = () => {
62
- V();
67
+ T();
63
68
  }, Z = (t, l) => {
64
69
  if (!h.value || !h.value.keyboard)
65
70
  return !1;
66
71
  h.value.keyboard(t, l);
67
72
  }, ee = (t) => {
68
- V();
69
- }, V = () => {
73
+ T();
74
+ }, T = () => {
70
75
  if (y.value == null)
71
76
  return;
72
- let t = M.getHeight(x.value), l = M.getHeight([y.value.$el, $.value]);
73
- B.value = t - l;
77
+ let t = E.getHeight(x.value), l = E.getHeight([y.value.$el, $.value]);
78
+ H.value = t - l;
74
79
  };
75
- ne(() => {
80
+ re(() => {
76
81
  });
77
- let te = re(() => {
78
- let t = `/${n.value.name}/article-footer`;
79
- return ge.getComponent(t, "partial", "article-footer");
82
+ let te = ne(() => {
83
+ let t = `/${r.value.name}/article-footer`;
84
+ return de.getComponent(t, "partial", "article-footer");
80
85
  });
81
- return U({ keyboard: Z, resize: ee }), (t, l) => {
86
+ return N({ keyboard: Z, resize: ee }), (t, l) => {
82
87
  const s = k("el-scrollbar"), v = k("el-pagination"), le = k("el-drawer");
83
88
  return u(), f("div", {
84
89
  ref_key: "pagingRef",
85
90
  ref: x,
86
91
  class: "paging-article"
87
92
  }, [
88
- e(n).search.length > 0 ? (u(), b(he, {
93
+ e(r).search.length > 0 ? (u(), b(he, {
89
94
  key: 0,
90
95
  ref_key: "searchRef",
91
96
  ref: y,
92
97
  schema: e(j),
93
- table: e(n),
94
- layout: e(r),
98
+ table: e(r),
99
+ layout: e(n),
95
100
  "search-data": e(A),
96
101
  onSubmit: e(X),
97
102
  onMounted: e(Y)
98
103
  }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
99
104
  w(s, {
100
105
  class: "article-scroller",
101
- style: se({ height: e(B) + "px" })
106
+ style: se({ height: e(H) + "px" })
102
107
  }, {
103
108
  default: C(() => [
104
109
  i("div", _e, [
105
- (u(!0), f(ie, null, ue(e(R)[e(n).name], (o) => (u(), f("a", {
110
+ (u(!0), f(ie, null, ue(e(R)[e(r).name], (a) => (u(), f("a", {
106
111
  class: "article",
107
- href: `${e(m).detail.route}?id=${o[e(n).key.name]}`,
108
- onClick: H((Te) => e(W)(`${e(m).detail.route}?id=${o[e(n).key.name]}`), ["prevent"]),
109
- key: o[e(n).key.name]
112
+ href: `${e(m).detail.route}?id=${a[e(r).key.name]}`,
113
+ onClick: V((Se) => e(W)(`${e(m).detail.route}?id=${a[e(r).key.name]}`), ["prevent"]),
114
+ key: a[e(r).key.name]
110
115
  }, [
111
116
  i("img", {
112
117
  class: "article-image",
113
- src: o[e(r).image]
118
+ src: a[e(n).image]
114
119
  }, null, 8, ke),
115
- i("div", be, d(o[e(r).title]), 1),
116
- e(E).getText(o[e(r).content]) ? (u(), f("div", we, d(e(E).getText(o[e(r).content])), 1)) : _("", !0),
117
- i("div", Ce, d(o[e(r).time]), 1),
118
- o[e(r).viewCount] ? (u(), f("div", Re, d(o[e(r).viewCount]), 1)) : _("", !0),
120
+ i("div", be, d(a[e(n).title]), 1),
121
+ e(D).getText(a[e(n).content]) ? (u(), f("div", we, d(e(D).getText(a[e(n).content])), 1)) : _("", !0),
122
+ i("div", Ce, d(a[e(n).time]), 1),
123
+ a[e(n).viewCount] ? (u(), f("div", Re, d(a[e(n).viewCount]), 1)) : _("", !0),
119
124
  (u(), b(ce(e(te)), {
120
- table: e(n),
125
+ table: e(r),
121
126
  next: e(m),
122
127
  set: e(R),
123
- row: o,
124
- onPreview: e(L),
125
- onEdit: e(Q),
128
+ row: a,
129
+ onPreview: e(I),
130
+ onEdit: e(L),
126
131
  onCopy: e(q),
127
132
  onBeforeRemove: e(G),
128
- onRemove: e(I)
133
+ onRemove: e(J)
129
134
  }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
130
135
  ], 8, ye))), 128)),
131
136
  i("a", {
132
- href: e(T)("insert"),
137
+ href: e(S)("insert"),
133
138
  class: "article-add",
134
- onClick: l[0] || (l[0] = H(
139
+ onClick: l[0] || (l[0] = V(
135
140
  //@ts-ignore
136
- (...o) => e(S) && e(S)(...o),
141
+ (...a) => e(B) && e(B)(...a),
137
142
  ["prevent"]
138
143
  ))
139
144
  }, [
140
145
  $e,
141
- D(" 添加新" + d(e(n).title), 1)
146
+ U(" 添加新" + d(e(r).title), 1)
142
147
  ], 8, xe)
143
148
  ])
144
149
  ]),
@@ -152,36 +157,36 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
152
157
  w(v, {
153
158
  background: "",
154
159
  layout: "total, prev, pager, next, jumper",
155
- "current-page": e(r).page,
156
- "page-size": e(r).pageSize,
157
- total: e(r).count,
158
- onCurrentChange: e(O)
160
+ "current-page": e(n).page,
161
+ "page-size": e(n).pageSize,
162
+ total: e(n).count,
163
+ onCurrentChange: e(Q)
159
164
  }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
160
165
  ], 512),
161
- e(a).page ? (u(), b(le, {
166
+ e(o).page ? (u(), b(le, {
162
167
  key: 1,
163
168
  "destroy-on-close": "",
164
- "append-to-body": e(a).appendToBody,
169
+ "append-to-body": e(o).appendToBody,
165
170
  size: `${e(P).width ?? "60%"}`,
166
- modelValue: e(a).visible,
167
- "onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).visible = o)
171
+ modelValue: e(o).visible,
172
+ "onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
168
173
  }, {
169
174
  header: C(() => [
170
- i("div", Be, [
171
- D(d(e(m)[e(a).page].title) + " ", 1),
175
+ i("div", He, [
176
+ U(d(e(m)[e(o).page].title) + " ", 1),
172
177
  i("a", {
173
178
  class: "drawer-copy",
174
- href: e(de).getToUrl(e(a).url)
175
- }, d(e(pe)("common.link")), 9, Se)
179
+ href: e(pe).getToUrl(e(o).url)
180
+ }, d(e(me)("common.link")), 9, Be)
176
181
  ])
177
182
  ]),
178
183
  default: C(() => [
179
- w(e(fe), {
184
+ w(e(ve), {
180
185
  ref_key: "pageRef",
181
186
  ref: h,
182
- url: e(a).url,
187
+ url: e(o).url,
183
188
  onSucceed: e(z),
184
- onClose: e(J)
189
+ onClose: e(O)
185
190
  }, null, 8, ["url", "onSucceed", "onClose"])
186
191
  ]),
187
192
  _: 1
@@ -191,5 +196,5 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
191
196
  }
192
197
  });
193
198
  export {
194
- Ee as default
199
+ Ke as default
195
200
  };
@@ -1,6 +1,12 @@
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 { e as a } from "./assets/halo-fe-B-NiIGas.js";
3
- const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
1
+ import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as p, unref as e, withModifiers as c, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import "./assets/underscore.string-DVXD2SZo.js";
4
+ import "./assets/clone-BZn0cTAu.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/moment-h96o7c8I.js";
7
+ import { t as a } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
4
10
  __name: "ArticleFooter",
5
11
  props: {
6
12
  table: {},
@@ -10,41 +16,41 @@ const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
10
16
  },
11
17
  emits: ["preview", "edit", "copy", "before-remove", "remove"],
12
18
  setup(b, { emit: k }) {
13
- let i = k, C = b, { table: A, next: l, set: F, row: c } = _(C), f = (o) => {
14
- i("preview", c.value, o);
19
+ let i = k, C = b, { table: A, next: l, set: F, row: m } = _(C), f = (o) => {
20
+ i("preview", m.value, o);
15
21
  }, u = (o) => {
16
- i("edit", c.value, o);
22
+ i("edit", m.value, o);
17
23
  }, v = (o) => {
18
- i("copy", c.value, o);
24
+ i("copy", m.value, o);
19
25
  }, d = (o) => {
20
26
  }, x = () => {
21
- i("remove", [c.value]);
27
+ i("remove", [m.value]);
22
28
  };
23
29
  return (o, t) => {
24
30
  const y = B("el-popconfirm");
25
- return r(), m("div", V, [
26
- e(l).detail ? (r(), m("i", {
31
+ return r(), p("div", V, [
32
+ e(l).detail ? (r(), p("i", {
27
33
  key: 0,
28
34
  class: "fa fa-search-plus btn-icon",
29
- onClick: t[0] || (t[0] = p(
35
+ onClick: t[0] || (t[0] = c(
30
36
  //@ts-ignore
31
37
  (...n) => e(f) && e(f)(...n),
32
38
  ["prevent", "stop"]
33
39
  ))
34
40
  })) : s("", !0),
35
- e(l).update ? (r(), m("i", {
41
+ e(l).update ? (r(), p("i", {
36
42
  key: 1,
37
43
  class: "fa fa-pencil btn-icon",
38
- onClick: t[1] || (t[1] = p(
44
+ onClick: t[1] || (t[1] = c(
39
45
  //@ts-ignore
40
46
  (...n) => e(u) && e(u)(...n),
41
47
  ["prevent", "stop"]
42
48
  ))
43
49
  })) : s("", !0),
44
- e(l).copy ? (r(), m("i", {
50
+ e(l).copy ? (r(), p("i", {
45
51
  key: 2,
46
52
  class: "fa fa-copy btn-icon",
47
- onClick: t[2] || (t[2] = p(
53
+ onClick: t[2] || (t[2] = c(
48
54
  //@ts-ignore
49
55
  (...n) => e(v) && e(v)(...n),
50
56
  ["prevent", "stop"]
@@ -61,7 +67,7 @@ const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
61
67
  reference: N(() => [
62
68
  R("i", {
63
69
  class: "fa fa-trash-alt btn-icon",
64
- onClick: t[3] || (t[3] = p(
70
+ onClick: t[3] || (t[3] = c(
65
71
  //@ts-ignore
66
72
  (...n) => e(d) && e(d)(...n),
67
73
  ["prevent", "stop"]
@@ -75,5 +81,5 @@ const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
75
81
  }
76
82
  });
77
83
  export {
78
- j as default
84
+ I as default
79
85
  };
@@ -0,0 +1,54 @@
1
+ import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as o, isRef as k } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import { j as B, S as R, h as j } from "./main-KTzfgTac.js";
4
+ import "./assets/clone-BZn0cTAu.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/moment-h96o7c8I.js";
7
+ import "./assets/liquidjs-C-LVcoaY.js";
8
+ const D = /* @__PURE__ */ _({
9
+ __name: "Autocomplete",
10
+ props: {
11
+ schema: {},
12
+ table: {},
13
+ field: {},
14
+ set: {},
15
+ row: {},
16
+ modelValue: {}
17
+ },
18
+ emits: ["submit", "change", "update:modelValue"],
19
+ setup(p, { emit: i }) {
20
+ let m = i, d = p, { table: c, field: s, set: w, modelValue: f } = v(d), a = V([]), g = null, h = (l, e) => {
21
+ if (a.value.length) {
22
+ let t = a.value.filter((u) => R.containsIgnoreCase(l, u.value));
23
+ e(t);
24
+ return;
25
+ }
26
+ let r = { text: g, conditions: [] };
27
+ j.post(s.value.control.data.route, r).then(({ data: t }) => {
28
+ a.value = t.map((u) => ({ value: u.text })), e(a.value);
29
+ }).catch(() => {
30
+ e([]);
31
+ });
32
+ }, n = x({
33
+ get() {
34
+ return f.value;
35
+ },
36
+ set(l) {
37
+ m("update:modelValue", l), m("change", l);
38
+ }
39
+ });
40
+ return (l, e) => {
41
+ const r = C("el-autocomplete");
42
+ return S(), b(r, {
43
+ clearable: "",
44
+ placeholder: o(B)(o(c).name, o(s).name),
45
+ "fetch-suggestions": o(h),
46
+ modelValue: o(n),
47
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => k(n) ? n.value = t : n = t)
48
+ }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
49
+ };
50
+ }
51
+ });
52
+ export {
53
+ D as default
54
+ };
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ f({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let m = i(() => import("./Text-5803XWI6.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
13
+ let m = i(() => import("./Text-BefOYKkr.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),
@@ -0,0 +1,53 @@
1
+ import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as o, isRef as k } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import { j as B, S as D, h as R } from "./main-KTzfgTac.js";
4
+ import "./assets/clone-BZn0cTAu.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/moment-h96o7c8I.js";
7
+ import "./assets/liquidjs-C-LVcoaY.js";
8
+ const z = /* @__PURE__ */ _({
9
+ __name: "Autocomplete",
10
+ props: {
11
+ schema: {},
12
+ table: {},
13
+ field: {},
14
+ searchData: {},
15
+ modelValue: {}
16
+ },
17
+ emits: ["submit", "change", "update:modelValue"],
18
+ setup(p, { emit: i }) {
19
+ let m = i, d = p, { table: c, field: s, searchData: j, modelValue: f } = v(d), a = V([]), h = null, g = (l, e) => {
20
+ if (a.value.length) {
21
+ let t = a.value.filter((u) => D.containsIgnoreCase(l, u.value));
22
+ e(t);
23
+ return;
24
+ }
25
+ let n = { text: h, conditions: [] };
26
+ R.post(s.value.control.data.route, n).then(({ data: t }) => {
27
+ a.value = t.map((u) => ({ value: u.text })), e(a.value);
28
+ }).catch(() => {
29
+ e([]);
30
+ });
31
+ }, r = x({
32
+ get() {
33
+ return f.value;
34
+ },
35
+ set(l) {
36
+ m("update:modelValue", l), m("change", l);
37
+ }
38
+ });
39
+ return (l, e) => {
40
+ const n = C("el-autocomplete");
41
+ return S(), b(n, {
42
+ clearable: "",
43
+ placeholder: o(B)(o(c).name, o(s).name),
44
+ "fetch-suggestions": o(g),
45
+ modelValue: o(r),
46
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => k(r) ? r.value = t : r = t)
47
+ }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
48
+ };
49
+ }
50
+ });
51
+ export {
52
+ z as default
53
+ };
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = i(() => import("./Code-DKtqow6y.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
13
+ let r = i(() => import("./Code-BdDjNSqs.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,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { b as c } from "./main-DB_sVyZe.js";
2
+ import { p as c } from "./main-KTzfgTac.js";
3
3
  const n = {};
4
4
  function o(t, _) {
5
5
  return e(), r("div", null, "日历");
@@ -0,0 +1,26 @@
1
+ import { defineComponent as o } from "vue";
2
+ import { useRouter as i, useRoute as n } from "vue-router";
3
+ import "./assets/underscore-B0BCaBxV.js";
4
+ import "./assets/underscore.string-DVXD2SZo.js";
5
+ import "./assets/clone-BZn0cTAu.js";
6
+ import "./assets/file-saver-CwlpTZSc.js";
7
+ import "./assets/moment-h96o7c8I.js";
8
+ import { m as p, W as s } from "./main-KTzfgTac.js";
9
+ import "./assets/liquidjs-C-LVcoaY.js";
10
+ const q = /* @__PURE__ */ o({
11
+ __name: "Callback",
12
+ setup(m) {
13
+ let e = i(), t = n().query;
14
+ return (async () => {
15
+ if (!t.type) {
16
+ p.error("缺失type参数");
17
+ return;
18
+ }
19
+ let r = await s.sso.create(t.type.toString());
20
+ t.identity = JSON.parse(t.identity.toString()), r.login(t), e.push(t.return_url.toString());
21
+ })(), (r, u) => " 登录完毕,处理回调中... ";
22
+ }
23
+ });
24
+ export {
25
+ q as default
26
+ };
@@ -0,0 +1,87 @@
1
+ import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as i, createBlock as T, 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 "./assets/underscore-B0BCaBxV.js";
3
+ import "./assets/underscore.string-DVXD2SZo.js";
4
+ import "./assets/clone-BZn0cTAu.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/moment-h96o7c8I.js";
7
+ import { k as q, T as f, h as H } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ const U = {
10
+ key: 0,
11
+ class: "cascader-suffix"
12
+ }, z = {
13
+ key: 0,
14
+ class: "cascader-length"
15
+ }, X = /* @__PURE__ */ E({
16
+ __name: "Cascader",
17
+ props: {
18
+ schema: {},
19
+ table: {},
20
+ field: {},
21
+ set: {},
22
+ row: {},
23
+ modelValue: {}
24
+ },
25
+ emits: ["submit", "change", "update:modelValue"],
26
+ setup(v, { emit: g }) {
27
+ let p = g, _ = v, { table: V, field: t, set: A, row: F, modelValue: b } = w(_), s = N(), d = null, x = () => {
28
+ s.value || (s.value = t.value.control.data.data);
29
+ let e = b.value, l = [];
30
+ return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((r) => {
31
+ let o = f.getParentsById(r, "value", s.value, "children", !0);
32
+ o.length > 0 && l.push(o.map((B) => B.value));
33
+ }) : f.getParentsById(e, "value", s.value, "children", !0).forEach((r) => {
34
+ l.push(r.value);
35
+ }), l;
36
+ }, C = (e) => {
37
+ let l;
38
+ t.value.control.multiple ? l = e.map((n) => n[n.length - 1]).join(",") : l = e[e.length - 1], p("update:modelValue", l), p("change", l);
39
+ }, k = (e) => {
40
+ e && (d = null, y());
41
+ }, y = () => {
42
+ let e = { text: d, conditions: [] };
43
+ t.value.control.data.conditions.forEach((l) => {
44
+ e.conditions.push({ name: l.name, value: null });
45
+ }), H.post(t.value.control.data.route, e).then(({ data: l }) => {
46
+ s.value = l;
47
+ });
48
+ }, u = R({
49
+ get() {
50
+ return x();
51
+ },
52
+ set(e) {
53
+ C(e);
54
+ }
55
+ });
56
+ return (e, l) => {
57
+ const n = S("el-cascader");
58
+ return i(), T(n, {
59
+ ref: "cascaderRef",
60
+ placeholder: a(q)(a(V).name, a(t).name),
61
+ filterable: "",
62
+ "collapse-tags": "",
63
+ "collapse-tags-tooltip": "",
64
+ "max-collapse-tags": 6,
65
+ options: a(s),
66
+ disabled: a(t).readonly,
67
+ props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
68
+ clearable: !a(t).control.required,
69
+ onVisibleChange: a(k),
70
+ modelValue: a(u),
71
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => D(u) ? u.value = r : u = r)
72
+ }, {
73
+ default: I(({ node: r, data: o }) => [
74
+ P("span", null, [
75
+ j(c(o.text), 1),
76
+ o.suffix ? (i(), m("span", U, "(" + c(o.suffix) + ")", 1)) : h("", !0)
77
+ ]),
78
+ o.children ? (i(), m("span", z, c(o.children.length), 1)) : h("", !0)
79
+ ]),
80
+ _: 1
81
+ }, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
82
+ };
83
+ }
84
+ });
85
+ export {
86
+ X as default
87
+ };
@@ -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 "./assets/underscore-B0BCaBxV.js";
3
+ import "./assets/underscore.string-DVXD2SZo.js";
4
+ import "./assets/clone-BZn0cTAu.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/moment-h96o7c8I.js";
7
+ import { T as B } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ const C = { class: "text-cascader" }, S = {
10
+ key: 0,
11
+ class: "cascader-seperator"
12
+ }, R = /* @__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: T, 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.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
+ R as default
47
+ };
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ p({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = u(() => import("./Dictionary-CsBiv-CI.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
13
+ let r = u(() => import("./Dictionary-B8OMis9G.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),