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
@@ -0,0 +1,76 @@
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 "./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 D } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ const F = { class: "control-checkbox" }, L = { class: "check-all" }, O = /* @__PURE__ */ N({
10
+ __name: "Checkbox",
11
+ props: {
12
+ schema: {},
13
+ table: {},
14
+ field: {},
15
+ set: {},
16
+ row: {},
17
+ modelValue: {}
18
+ },
19
+ emits: ["change", "update:modelValue"],
20
+ setup(x, { emit: b }) {
21
+ let s = b, C = x, { field: d, table: T, set: j, modelValue: p } = w(C), r = h(!1), c = h(!1), y = (n) => {
22
+ o.value = n ? d.value.control.data.data.map((e) => e.value) : [], c.value = !1;
23
+ }, B = (n) => {
24
+ let e = d.value.control.data.data.map((u) => u.value), a = n.filter((u) => e.includes(u));
25
+ r.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
26
+ }, o = A({
27
+ get() {
28
+ return p.value ? p.value.split(",") : [];
29
+ },
30
+ set(n) {
31
+ let e = n.toString();
32
+ s("update:modelValue", e), s("change", e);
33
+ }
34
+ });
35
+ return (n, e) => {
36
+ const a = g("el-checkbox"), u = g("el-checkbox-group");
37
+ return m(), f("div", F, [
38
+ v(u, {
39
+ onChange: t(B),
40
+ modelValue: t(o),
41
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
42
+ }, {
43
+ default: i(() => [
44
+ (m(!0), f(E, null, R(t(d).control.data.data, (l) => (m(), S(a, {
45
+ disabled: t(d).control.readonly,
46
+ value: l.value,
47
+ key: l.value
48
+ }, {
49
+ default: i(() => [
50
+ V(k(l.text), 1)
51
+ ]),
52
+ _: 2
53
+ }, 1032, ["disabled", "value"]))), 128))
54
+ ]),
55
+ _: 1
56
+ }, 8, ["onChange", "modelValue"]),
57
+ U("div", L, [
58
+ v(a, {
59
+ indeterminate: t(c),
60
+ onChange: t(y),
61
+ modelValue: t(r),
62
+ "onUpdate:modelValue": e[1] || (e[1] = (l) => _(r) ? r.value = l : r = l)
63
+ }, {
64
+ default: i(() => [
65
+ V(k(t(D)("common.select_all")), 1)
66
+ ]),
67
+ _: 1
68
+ }, 8, ["indeterminate", "onChange", "modelValue"])
69
+ ])
70
+ ]);
71
+ };
72
+ }
73
+ });
74
+ export {
75
+ O as default
76
+ };
@@ -0,0 +1,42 @@
1
+ import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as a, normalizeStyle as _, isRef as x } 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 { l as F } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.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(f) {
20
+ let s = f, { table: g, field: t, set: b, row: m, modelValue: u } = h(s), n = i(), o = i({ language: null, readonly: !0, lineNumbers: "off" }), d = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", p = (e) => e ? g.value.fields.find((r) => r.name == e) : null, c = (e) => {
21
+ let l = p(e);
22
+ return l ? m.value[l.name] : null;
23
+ };
24
+ return (() => {
25
+ if (n.value = d(), t.value.control.languageField == null)
26
+ o.value.language = t.value.control.language;
27
+ else {
28
+ let e = c(t.value.control.languageField);
29
+ e && (o.value.language = e);
30
+ }
31
+ })(), (e, l) => (V(), y(a(F), {
32
+ class: "text-code",
33
+ config: a(o),
34
+ style: _(a(n)),
35
+ modelValue: a(u),
36
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => x(u) ? u.value = r : u = r)
37
+ }, null, 8, ["config", "style", "modelValue"]));
38
+ }
39
+ });
40
+ export {
41
+ $ as default
42
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-DmeXbg91.js";
1
+ import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-Dkdu_fcm.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, toRefs as u, openBlock as p, createBlock as _, unref as e } from "vue";
2
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-DmeXbg91.js";
2
+ import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-Dkdu_fcm.js";
3
3
  const b = /* @__PURE__ */ r({
4
4
  __name: "Code",
5
5
  props: {
@@ -0,0 +1,60 @@
1
+ import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as r, isRef as k } 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 { l as x } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ const q = /* @__PURE__ */ b({
10
+ __name: "Code",
11
+ props: {
12
+ schema: {},
13
+ table: {},
14
+ field: {},
15
+ set: {},
16
+ row: {},
17
+ modelValue: {}
18
+ },
19
+ emits: ["submit", "change", "update:modelValue"],
20
+ setup(d, { emit: g }) {
21
+ let i = g, p = d, { table: c, field: a, set: y, row: m, modelValue: f } = h(p), o = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
22
+ let l = s(a.value.control.scrollTop);
23
+ l && (m.value[l.name] = e);
24
+ }, V = () => {
25
+ let e = n(a.value.control.scrollTop);
26
+ if (e && (o.value.scrollTop = parseInt(e)), o.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
27
+ o.value.language = a.value.control.language;
28
+ else {
29
+ let l = n(a.value.control.languageField);
30
+ l && (o.value.language = l);
31
+ }
32
+ a.value.control.schema && (o.value.schema = a.value.control.schema, o.value.category = `${c.value.name}.${a.value.name}`);
33
+ }, n = (e) => {
34
+ let l = s(e);
35
+ return l ? m.value[l.name] : null;
36
+ }, s = (e) => e ? c.value.fields.find((t) => t.name == e) : null;
37
+ V();
38
+ let u = T({
39
+ get() {
40
+ return f.value ?? "";
41
+ },
42
+ set(e) {
43
+ i("update:modelValue", e), i("change", e);
44
+ }
45
+ });
46
+ return _(() => n(a.value.control.languageField), (e, l) => {
47
+ o.value.language = e;
48
+ }), (e, l) => (w(), N(r(x), {
49
+ class: "control-code",
50
+ border: "",
51
+ config: r(o),
52
+ onScroll: r(v),
53
+ modelValue: r(u),
54
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => k(u) ? u.value = t : u = t)
55
+ }, null, 8, ["config", "onScroll", "modelValue"]));
56
+ }
57
+ });
58
+ export {
59
+ q as default
60
+ };
@@ -0,0 +1,65 @@
1
+ import { defineComponent as C, toRefs as h, ref as i, onMounted as b, resolveComponent as s, openBlock as n, createElementBlock as m, createVNode as d, unref as e, isRef as k, withCtx as p, Fragment as c, renderList as B, createBlock as E, createTextVNode as _, toDisplayString as f, createCommentVNode as L } 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 { l as N } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ import { Q } from "./QueryApi-C3h4tWd0.js";
10
+ const R = { class: "ha-code-layout" }, K = /* @__PURE__ */ C({
11
+ __name: "Code",
12
+ props: {
13
+ route: {},
14
+ validateErrors: {},
15
+ module: {},
16
+ schema: {},
17
+ table: {},
18
+ layout: {},
19
+ next: {},
20
+ set: {}
21
+ },
22
+ emits: ["submit", "change"],
23
+ setup(g, { emit: U }) {
24
+ let V = g, { module: w, schema: A, table: D, layout: a, next: F, set: M } = h(V), l = i({}), t = i(), v = () => {
25
+ t.value = a.value.languages[0];
26
+ };
27
+ return b(() => {
28
+ v(), Q.loadCodeLanguage().then((u) => {
29
+ u.forEach((r) => {
30
+ l.value[r.text] = r.suffix;
31
+ });
32
+ });
33
+ }), (u, r) => {
34
+ const x = s("el-radio"), y = s("el-radio-group");
35
+ return n(), m("div", R, [
36
+ d(y, {
37
+ modelValue: e(t),
38
+ "onUpdate:modelValue": r[0] || (r[0] = (o) => k(t) ? t.value = o : t = o)
39
+ }, {
40
+ default: p(() => [
41
+ (n(!0), m(c, null, B(e(a).languages, (o) => (n(), E(x, { value: o }, {
42
+ default: p(() => [
43
+ _(f(o) + " ", 1),
44
+ e(l)[o] ? (n(), m(c, { key: 0 }, [
45
+ _("(" + f(e(l)[o]) + ")", 1)
46
+ ], 64)) : L("", !0)
47
+ ]),
48
+ _: 2
49
+ }, 1032, ["value"]))), 256))
50
+ ]),
51
+ _: 1
52
+ }, 8, ["modelValue"]),
53
+ d(e(N), {
54
+ border: "",
55
+ config: { language: e(l)[e(t)] },
56
+ modelValue: e(a).codes[e(t)],
57
+ "onUpdate:modelValue": r[1] || (r[1] = (o) => e(a).codes[e(t)] = o)
58
+ }, null, 8, ["config", "modelValue"])
59
+ ]);
60
+ };
61
+ }
62
+ });
63
+ export {
64
+ K as _
65
+ };
@@ -0,0 +1,75 @@
1
+ import { defineComponent as H, toRefs as M, onMounted as S, computed as f, openBlock as l, createBlock as h, unref as e, withCtx as k, createElementBlock as n, Fragment as b, renderList as D, normalizeClass as E, createCommentVNode as i, createElementVNode as a, toDisplayString as u, resolveDynamicComponent as L, createVNode as $, createTextVNode as s } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import "./assets/underscore.string-DVXD2SZo.js";
4
+ import { u as z, U as C, _ as F, H as P } 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 "element-plus";
10
+ import "vue-router";
11
+ import "./assets/intro.js-DxWjEdp_.js";
12
+ const R = {
13
+ key: 0,
14
+ class: "menus"
15
+ }, T = ["onClick"], j = { class: "title" }, q = {
16
+ key: 1,
17
+ class: "column-empty"
18
+ }, A = /* @__PURE__ */ a("br", null, null, -1), G = /* @__PURE__ */ a("br", null, null, -1), re = /* @__PURE__ */ H({
19
+ __name: "Column",
20
+ props: {
21
+ view: {},
22
+ url: {},
23
+ win: {}
24
+ },
25
+ emits: ["loaded", "navigate"],
26
+ setup(y, { expose: g, emit: x }) {
27
+ let m = x, U = y, { url: c, view: p } = M(U), w = (t) => !0, B = (t) => !0, N = () => {
28
+ d();
29
+ }, d = () => {
30
+ m("loaded", r.value.title);
31
+ }, V = (t) => {
32
+ let v = C.getUrl(t.url, { m: t.id });
33
+ m("navigate", v);
34
+ };
35
+ S(() => {
36
+ d();
37
+ });
38
+ let r = f(() => z.getMenuByUrl(c.value)), _ = f(() => C.getPath(c.value));
39
+ return g({ shouldLoad: w, shouldSpin: B, refresh: N }), (t, v) => (l(), h(e(F), null, {
40
+ default: k(() => [
41
+ e(r) ? (l(), n("div", R, [
42
+ (l(!0), n(b, null, D(e(r).children, (o) => (l(), n("div", {
43
+ class: "menu",
44
+ key: o.id,
45
+ onClick: (I) => e(V)(o)
46
+ }, [
47
+ o.icon ? (l(), n("i", {
48
+ key: 0,
49
+ class: E(o.icon)
50
+ }, null, 2)) : i("", !0),
51
+ a("div", j, u(o.title), 1)
52
+ ], 8, T))), 128))
53
+ ])) : i("", !0),
54
+ (l(), h(L(e(p)))),
55
+ (!e(r) || e(r).children == 0) && !e(p) ? (l(), n("div", q, [
56
+ $(e(P), null, {
57
+ default: k(() => [
58
+ s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
59
+ ]),
60
+ _: 1
61
+ }),
62
+ s(" 可考虑以下任一选项:"),
63
+ A,
64
+ s(" 1. 在 src/views 中实现自定义页面:" + u(e(_)), 1),
65
+ G,
66
+ s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + u(e(_)), 1)
67
+ ])) : i("", !0)
68
+ ]),
69
+ _: 1
70
+ }));
71
+ }
72
+ });
73
+ export {
74
+ re as default
75
+ };
@@ -0,0 +1,104 @@
1
+ import { defineComponent as E, toRefs as N, ref as S, computed as y, resolveComponent as d, openBlock as u, createElementBlock as _, createElementVNode as t, createVNode as v, createTextVNode as n, toDisplayString as l, unref as e, withCtx as b, Fragment as j, renderList as B, createBlock as U, createCommentVNode as T } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import "./assets/underscore.string-DVXD2SZo.js";
4
+ import { U as q } 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
+ const D = { class: "ha-comment-layout" }, F = { class: "comment-add" }, H = { class: "add-footer" }, L = { class: "footer-title" }, M = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), R = { class: "comment-user" }, $ = { class: "avatar" }, A = /* @__PURE__ */ t("img", {
10
+ src: "https://upload.jianshu.io/users/upload_avatars/2859365/cce8943353eb.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/80/h/80/format/webp",
11
+ alt: ""
12
+ }, null, -1), G = { class: "comment-body" }, J = { class: "comment-time" }, K = { class: "comment-content" }, O = /* @__PURE__ */ t("div", { class: "content-footer" }, [
13
+ /* @__PURE__ */ t("span", null, [
14
+ /* @__PURE__ */ t("i", { class: "fa fa-thumbs-up" }),
15
+ /* @__PURE__ */ n("20")
16
+ ]),
17
+ /* @__PURE__ */ t("span", null, [
18
+ /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }),
19
+ /* @__PURE__ */ n("回复")
20
+ ])
21
+ ], -1), P = { class: "comment-footer" }, se = /* @__PURE__ */ E({
22
+ __name: "Comment",
23
+ props: {
24
+ route: {},
25
+ validateErrors: {},
26
+ module: {},
27
+ schema: {},
28
+ table: {},
29
+ layout: {},
30
+ next: {},
31
+ set: {}
32
+ },
33
+ setup(C) {
34
+ let x = C, { schema: Q, table: r, layout: o, set: p, validateErrors: W } = N(x), i = S(1), k = (a) => {
35
+ i.value = a;
36
+ }, w = y(() => {
37
+ let a = (i.value - 1) * o.value.pageSize, c = i.value * o.value.pageSize - 1;
38
+ return p.value[r.value.name].filter((f, m) => m >= a && m <= c);
39
+ }), h = y(() => r.value.fields.find((c) => c.name == o.value.userId));
40
+ return (a, c) => {
41
+ const g = d("el-input"), f = d("el-button"), m = d("router-link"), I = d("el-pagination");
42
+ return u(), _("div", D, [
43
+ t("div", F, [
44
+ v(g, { type: "textarea" }),
45
+ t("div", H, [
46
+ t("div", L, [
47
+ M,
48
+ n("全部评论 (" + l(e(p)[e(r).name].length) + ")", 1)
49
+ ]),
50
+ v(f, {
51
+ type: "primary",
52
+ class: "btn-comment",
53
+ icon: "el-icon-s-promotion"
54
+ }, {
55
+ default: b(() => [
56
+ n("评论")
57
+ ]),
58
+ _: 1
59
+ })
60
+ ])
61
+ ]),
62
+ (u(!0), _(j, null, B(e(w), (s, z) => (u(), _("div", {
63
+ class: "comment",
64
+ key: z
65
+ }, [
66
+ t("div", R, [
67
+ t("div", $, [
68
+ A,
69
+ n(" " + l(s[e(o).avatar]), 1)
70
+ ])
71
+ ]),
72
+ t("div", G, [
73
+ e(h) ? (u(), U(m, {
74
+ key: 0,
75
+ class: "comment-name",
76
+ to: e(q).getUrl("/sys_user/detail", { id: s[e(o).userId], m: a.$route.query.m })
77
+ }, {
78
+ default: b(() => [
79
+ n(l(e(h).control.data.data.find((V) => V.value == s[e(o).userId]).text), 1)
80
+ ]),
81
+ _: 2
82
+ }, 1032, ["to"])) : T("", !0),
83
+ t("div", J, l(s[e(o).commentTime]), 1),
84
+ t("div", K, l(s[e(o).content]), 1),
85
+ O
86
+ ])
87
+ ]))), 128)),
88
+ t("div", P, [
89
+ v(I, {
90
+ background: "",
91
+ layout: "total, prev, pager, next, jumper",
92
+ "current-page": e(i),
93
+ "page-size": e(o).pageSize,
94
+ total: e(p)[e(r).name].length,
95
+ onCurrentChange: e(k)
96
+ }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
97
+ ])
98
+ ]);
99
+ };
100
+ }
101
+ });
102
+ export {
103
+ se as default
104
+ };
@@ -0,0 +1,44 @@
1
+ import { defineComponent as x, toRefs as E, onMounted as b, computed as s, unref as p, openBlock as k, createElementBlock as w, normalizeClass as y, createCommentVNode as V, nextTick 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 { n as N } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ const j = /* @__PURE__ */ x({
10
+ __name: "Compare",
11
+ props: {
12
+ schema: {},
13
+ table: {},
14
+ field: {},
15
+ set: {},
16
+ row: {},
17
+ modelValue: {}
18
+ },
19
+ setup(f) {
20
+ let v = f, { table: t, field: l, set: g, row: o, modelValue: M } = E(v), a = t.value.name + "-" + l.value.name + "-" + g.value[t.value.name].indexOf(o.value), r = null, n = null, i = null, e = null, C = () => {
21
+ B(() => {
22
+ let d = t.value.fields.find((h) => h.name == l.value.control.compareWith), c = o.value[d.name];
23
+ n = e.editor.createModel(c, u.value), i = e.editor.createModel(m.value, u.value);
24
+ let _ = document.getElementsByClassName(a)[0];
25
+ debugger;
26
+ r = e.editor.createDiffEditor(_, { originalEditable: !0 }), r.setModel({
27
+ original: n,
28
+ modified: i
29
+ });
30
+ });
31
+ };
32
+ b(async () => {
33
+ e = await N.getMonaco(), C();
34
+ });
35
+ let m = s(() => M.value || ""), u = s(() => l.value.control.type.toLowerCase());
36
+ return (d, c) => p(m) ? (k(), w("div", {
37
+ key: 0,
38
+ class: y(`text-compare ${p(a)}`)
39
+ }, null, 2)) : V("", !0);
40
+ }
41
+ });
42
+ export {
43
+ j as default
44
+ };
@@ -1,6 +1,12 @@
1
- import { defineComponent as b, toRefs as k, ref as h, onMounted as w, computed as B, watch as v, openBlock as S, createElementBlock as D, normalizeStyle as R, unref as W, nextTick as z } from "vue";
2
- import { B as L } from "./assets/halo-fe-B-NiIGas.js";
3
- const j = /* @__PURE__ */ b({
1
+ import { defineComponent as b, toRefs as k, ref as h, onMounted as w, computed as S, watch as v, openBlock as B, createElementBlock as D, normalizeStyle as R, unref as W, nextTick as z } 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 { n as L } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ const I = /* @__PURE__ */ b({
4
10
  __name: "Compare",
5
11
  props: {
6
12
  schema: {},
@@ -12,15 +18,15 @@ const j = /* @__PURE__ */ b({
12
18
  },
13
19
  emits: ["submit", "change", "update:modelValue"],
14
20
  setup(V, { emit: M }) {
15
- let m = M, y = V, { table: E, field: i, set: O, row: u, modelValue: c } = k(y), r = null, f = null, g = null, t = null, l = null, s = h(), p = h(), _ = (e) => {
16
- p.value = C(), z(() => {
17
- let a = u.value[d.value.name], o = i.value.control.language;
18
- f = e.editor.createModel(c.value, o), g = e.editor.createModel(a, o), r = e.editor.createDiffEditor(s.value, {
21
+ let m = M, y = V, { table: E, field: i, set: O, row: u, modelValue: c } = k(y), r = null, f = null, p = null, t = null, l = null, g = h(), s = h(), _ = (e) => {
22
+ s.value = C(), z(() => {
23
+ let o = u.value[d.value.name], a = i.value.control.language;
24
+ f = e.editor.createModel(c.value, a), p = e.editor.createModel(o, a), r = e.editor.createDiffEditor(g.value, {
19
25
  originalEditable: !0,
20
26
  automaticLayout: !0,
21
27
  renderSideBySide: !i.value.control.inline
22
28
  //是否启用行内模式
23
- }), r.setModel({ original: f, modified: g }), t = r.getOriginalEditor(), t.onDidChangeModelContent((x) => {
29
+ }), r.setModel({ original: f, modified: p }), t = r.getOriginalEditor(), t.onDidChangeModelContent((x) => {
24
30
  let n = t.getValue();
25
31
  m("update:modelValue", n), m("change", n);
26
32
  }), l = r.getModifiedEditor(), l.onDidChangeModelContent((x) => {
@@ -33,25 +39,25 @@ const j = /* @__PURE__ */ b({
33
39
  let e = await L.getMonaco();
34
40
  _(e);
35
41
  });
36
- let d = B(() => E.value.fields.find((a) => a.name == i.value.control.compareWith));
37
- return v(() => c.value, (e, a) => {
42
+ let d = S(() => E.value.fields.find((o) => o.name == i.value.control.compareWith));
43
+ return v(() => c.value, (e, o) => {
38
44
  if (!t)
39
45
  return;
40
- let o = t.getValue();
41
- e != o && t.setValue(e ?? "");
42
- }), v(() => u.value[d.value.name], (e, a) => {
46
+ let a = t.getValue();
47
+ e != a && t.setValue(e ?? "");
48
+ }), v(() => u.value[d.value.name], (e, o) => {
43
49
  if (!l)
44
50
  return;
45
- let o = l.getValue();
46
- e != o && l.setValue(e ?? "");
47
- }), (e, a) => (S(), D("div", {
51
+ let a = l.getValue();
52
+ e != a && l.setValue(e ?? "");
53
+ }), (e, o) => (B(), D("div", {
48
54
  ref_key: "compareRef",
49
- ref: s,
55
+ ref: g,
50
56
  class: "control-compare",
51
- style: R(W(p))
57
+ style: R(W(s))
52
58
  }, null, 4));
53
59
  }
54
60
  });
55
61
  export {
56
- j as default
62
+ I as default
57
63
  };
@@ -0,0 +1,49 @@
1
+ import { defineComponent as y, toRefs as g, computed as _, unref as r, renderSlot as n, openBlock as v, createElementBlock as b, createElementVNode as i } 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 { m as p } from "./main-KTzfgTac.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ import { C } from "./assets/clipboard-DjQPoCBJ.js";
10
+ const k = {
11
+ key: 1,
12
+ class: "copy-container"
13
+ }, J = /* @__PURE__ */ i("img", {
14
+ src: "/default/images/clippy.svg",
15
+ alt: "复制文本"
16
+ }, null, -1), h = [
17
+ J
18
+ ], q = /* @__PURE__ */ y({
19
+ __name: "Copy",
20
+ props: {
21
+ schema: {},
22
+ table: {},
23
+ field: {},
24
+ set: {},
25
+ row: {},
26
+ modelValue: {}
27
+ },
28
+ setup(a) {
29
+ let c = a, { table: w, field: l, set: N, row: S, modelValue: m } = g(c), u = (e) => JSON.stringify(JSON.parse(e), null, 2), d = () => o.value && l.value.control.type == "Json" ? u(o.value).replace(/"/g, "'") : o.value, s = () => {
30
+ let e = new C(".btn-copy", { text: () => d() });
31
+ e.on("success", function(t) {
32
+ p.success("复制成功"), e.destroy();
33
+ }), e.on("error", function(t) {
34
+ p.error("复制失败"), e.destroy();
35
+ });
36
+ }, o = _(() => m.value);
37
+ return (e, t) => r(l).control.copy ? (v(), b("div", k, [
38
+ i("i", {
39
+ class: "btn-copy",
40
+ onClick: t[0] || (t[0] = //@ts-ignore
41
+ (...f) => r(s) && r(s)(...f))
42
+ }, h),
43
+ n(e.$slots, "default")
44
+ ])) : n(e.$slots, "default", { key: 0 });
45
+ }
46
+ });
47
+ export {
48
+ q as default
49
+ };
@@ -0,0 +1,57 @@
1
+ import { defineComponent as x, toRefs as U, ref as z, openBlock as n, createBlock as i, KeepAlive as L, resolveDynamicComponent as R, unref as o } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import "./assets/underscore.string-DVXD2SZo.js";
4
+ import { U as B, m as N, t as A } 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
+ const E = /* @__PURE__ */ x({
10
+ __name: "Custom",
11
+ props: {
12
+ view: {},
13
+ url: {},
14
+ win: {}
15
+ },
16
+ emits: ["loaded", "navigate"],
17
+ setup(s, { expose: u, emit: f }) {
18
+ let a = f, m = s, { url: p, view: d, win: v } = U(m), r = z(), c = (e, t) => {
19
+ if (!r.value || !r.value.keyboard)
20
+ return !1;
21
+ r.value.keyboard(e, t);
22
+ }, h = (e) => !0, g = (e) => !0, w = () => {
23
+ var t;
24
+ let e = (t = r.value) == null ? void 0 : t.refresh;
25
+ if (!e) {
26
+ let l = B.getPath(p.value);
27
+ N.notify(A("common.tips"), `要实现自定义刷新功能,请在组件 ${l} 内部定义并暴露refresh方法即可`, "warning");
28
+ return;
29
+ }
30
+ e();
31
+ }, _ = (e) => {
32
+ var l;
33
+ let t = (l = r.value) == null ? void 0 : l.beforeClose;
34
+ t && t(e);
35
+ }, b = (e) => {
36
+ r.value && r.value.resize && r.value.resize(e);
37
+ }, k = (e) => {
38
+ r.value.handler(e);
39
+ }, y = (e) => {
40
+ a("loaded", e);
41
+ }, C = (e) => {
42
+ a("navigate", e);
43
+ };
44
+ return u({ shouldLoad: h, shouldSpin: g, refresh: w, beforeClose: _, keyboard: c, resize: b, handler: k }), (e, t) => (n(), i(L, null, [
45
+ (n(), i(R(o(d)), {
46
+ ref_key: "customRef",
47
+ ref: r,
48
+ win: o(v),
49
+ onLoaded: o(y),
50
+ onNavigate: o(C)
51
+ }, null, 40, ["win", "onLoaded", "onNavigate"]))
52
+ ], 1024));
53
+ }
54
+ });
55
+ export {
56
+ E as default
57
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js";
1
+ import { _ as f } from "./DataExport.vue_vue_type_script_setup_true_lang-BvyBbSLP.js";
2
2
  export {
3
3
  f as default
4
4
  };