halo-pc 1.0.21 → 1.0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/dist/Article-4S7jNdlM.js +200 -0
  2. package/dist/{ArticleFooter-CbvmQHCn.js → ArticleFooter-DQs1A7g2.js} +24 -18
  3. package/dist/Autocomplete-B9SJNrNq.js +53 -0
  4. package/dist/{Autocomplete-BrKsj5vx.js → Autocomplete-BXwtzACg.js} +1 -1
  5. package/dist/Autocomplete-BZNDoWFj.js +54 -0
  6. package/dist/{CSharp-DGmv2biT.js → CSharp-aXdVWxPS.js} +1 -1
  7. package/dist/{Calender-dCiW7eIK.js → Calender-DSckLCh-.js} +4 -4
  8. package/dist/Callback-xlj8oj2-.js +26 -0
  9. package/dist/Cascader-Cwi5mukb.js +87 -0
  10. package/dist/Cascader-D1RbjsMs.js +47 -0
  11. package/dist/Checkbox-DFnVivE9.js +76 -0
  12. package/dist/{Checkbox-DklZD5ff.js → Checkbox-DtNMPsX4.js} +1 -1
  13. package/dist/{Code-DVZ9QWgE.js → Code-B2jpV8ek.js} +1 -1
  14. package/dist/Code-CEafFSlR.js +4 -0
  15. package/dist/Code-CTmcyEEu.js +60 -0
  16. package/dist/Code-DEOvcbgy.js +42 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-Cf1QzL0C.js +65 -0
  18. package/dist/Column-zAYqqGgI.js +74 -0
  19. package/dist/Comment-BZTVtxyP.js +104 -0
  20. package/dist/Compare-DMDVEK_Q.js +63 -0
  21. package/dist/Compare-Dy_YDKN2.js +43 -0
  22. package/dist/Copy-KA_-9J5g.js +49 -0
  23. package/dist/Custom-BpQzSpoK.js +57 -0
  24. package/dist/{DataExport-DAk1d4uG.js → DataExport-CU9MMI6C.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Clh4Jvxi.js → DataExport.vue_vue_type_script_setup_true_lang-DdczhsmD.js} +42 -37
  26. package/dist/{DataImport-BLOSIbQ2.js → DataImport-Dzq9P4hO.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-D5J7e_59.js → DataImport.vue_vue_type_script_setup_true_lang-BdDLixcQ.js} +64 -60
  28. package/dist/{Date-D1KihBir.js → Date-BD5syhZL.js} +1 -1
  29. package/dist/Date-yqT5zILQ.js +43 -0
  30. package/dist/DateRange-CUQsaLxD.js +63 -0
  31. package/dist/DateTime-DcerQByM.js +44 -0
  32. package/dist/{DateTime-Dwg6aUf3.js → DateTime-hLc--zka.js} +1 -1
  33. package/dist/{DateTimeRange-Cir1-Js8.js → DateTimeRange-CSRaF4s1.js} +19 -13
  34. package/dist/Daterange-DY2i3jwP.js +63 -0
  35. package/dist/{Decimal-tv9vqaXk.js → Decimal-DY34o2Nh.js} +1 -1
  36. package/dist/Delete-CXnvlNw9.js +62 -0
  37. package/dist/{Detail-B2rtvufA.js → Detail-BYlDGKVP.js} +22 -17
  38. package/dist/Dictionary-DtXqTf_k.js +59 -0
  39. package/dist/Email-ofMPw09E.js +54 -0
  40. package/dist/{File-C63qevce.js → File-czipSVR0.js} +33 -28
  41. package/dist/Image-BwJO-IEo.js +9 -0
  42. package/dist/{Index-Cc_CDbUJ.js → Index-BSZ_tPMy.js} +1 -1
  43. package/dist/Index-Bwy9Q7qy.js +4 -0
  44. package/dist/{Index-Cev7Nudv.js → Index-CK25oTiA.js} +1 -1
  45. package/dist/Index-Ch5_Jqsf.js +4 -0
  46. package/dist/{Index-BD6O3A9N.js → Index-DIUPLGQ4.js} +25 -20
  47. package/dist/Index-DnNVMYOZ.js +4 -0
  48. package/dist/Index-j9BffBys.js +178 -0
  49. package/dist/{Index-B6Ec8rbl.js → Index-qOyfJhdG.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DaoT5edv.js → Index.vue_vue_type_script_setup_true_lang-Bp4JjtSz.js} +21 -16
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-xNPG8cCE.js → Index.vue_vue_type_script_setup_true_lang-DtZPmPAC.js} +21 -16
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-F7HqBnCS.js → Index.vue_vue_type_style_index_0_lang-CTTyswoD.js} +40 -35
  53. package/dist/{Install-CTAGNKPW.js → Install-qFVqjd7y.js} +29 -24
  54. package/dist/Int-BWcRpPzt.js +44 -0
  55. package/dist/Int-BYyavcrM.js +46 -0
  56. package/dist/List-BejoBArm.js +79 -0
  57. package/dist/Maintaince-Dlh2ICnO.js +20 -0
  58. package/dist/{Markdown-BJB6rQY8.js → Markdown-DymmFy2X.js} +1 -1
  59. package/dist/{Month-ui1XorBW.js → Month-C5_ANmVr.js} +1 -1
  60. package/dist/Month-Cf8e0cin.js +43 -0
  61. package/dist/Month-DaYaF2WK.js +44 -0
  62. package/dist/{Normal-Cf7kP6RU.js → Normal-NYkjZ2aA.js} +49 -45
  63. package/dist/Paging-DoQ_cXwj.js +99 -0
  64. package/dist/{PagingHeader-BkFBl-r_.js → PagingHeader-BhwoSfFl.js} +31 -25
  65. package/dist/{PagingRow-eXCadgdO.js → PagingRow-BF6pUhoJ.js} +28 -22
  66. package/dist/QueryApi-CPQ67lb4.js +20 -0
  67. package/dist/{Racebar-ClXzi9hV.js → Racebar-BNPXg9aN.js} +42 -37
  68. package/dist/{Radio-llyoK7PI.js → Radio-wHwEjg6V.js} +1 -1
  69. package/dist/{Register-BaHhaZMu.js → Register-B4Bc8s-2.js} +70 -66
  70. package/dist/RichText-Cj5QP79L.js +47 -0
  71. package/dist/{SearchFooter-BgJxQrMo.js → SearchFooter-zNYx9YkN.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-C6DtjpFD.js → SearchFooter.vue_vue_type_style_index_0_lang-CVxX9q-U.js} +1 -1
  73. package/dist/{SearchForm-CroUQ_3K.js → SearchForm-CJ3ru63a.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js → SearchForm.vue_vue_type_style_index_0_lang-DDH5N323.js} +37 -33
  75. package/dist/{Select-BtNeUq9h.js → Select-BDaDhqW7.js} +1 -1
  76. package/dist/Select-DFLY8nGY.js +86 -0
  77. package/dist/{Select-BYw63gZy.js → Select-WXibWkE0.js} +35 -30
  78. package/dist/{Single-CCVi3Pcj.js → Single-CmQgQl_u.js} +106 -102
  79. package/dist/{Statistic-g3nQvsbW.js → Statistic-BuU_GxqZ.js} +34 -30
  80. package/dist/{Stock-C6Fxo31l.js → Stock-B7NgfM19.js} +1 -1
  81. package/dist/{Stock-CNqLeSld.js → Stock-CDJ-AVw-.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-BqXBN6CJ.js → Stock.vue_vue_type_style_index_0_lang-pZYnIJLp.js} +30 -25
  83. package/dist/{Switch-NMkH-rhl.js → Switch-DHf-0HZD.js} +1 -1
  84. package/dist/{Table-DpA4dO4P.js → Table-7P4KXMsy.js} +66 -61
  85. package/dist/{Table-Cdd_tPoL.js → Table-CN-KYO1R.js} +69 -66
  86. package/dist/Text-C05EoDxO.js +59 -0
  87. package/dist/{Text-DanSgaL9.js → Text-Da3ROjFC.js} +18 -12
  88. package/dist/Text-DqapEwUL.js +4 -0
  89. package/dist/Text.vue_vue_type_style_index_0_lang-DKX9_aI4.js +59 -0
  90. package/dist/TextLink-CQ_46bry.js +65 -0
  91. package/dist/{Textarea-HhP_VFJV.js → Textarea-B91EwIdj.js} +1 -1
  92. package/dist/Time-DxyveGcA.js +43 -0
  93. package/dist/Timeline-C1xOEcU4.js +59 -0
  94. package/dist/Tree-BK6p6Ake.js +122 -0
  95. package/dist/{Tree-Ck_7r3nf.js → Tree-DxJKaqc6.js} +101 -97
  96. package/dist/TreeNode-C84IoqkK.js +42 -0
  97. package/dist/{Update-DrmLFoty.js → Update-D5cXmHyf.js} +20 -15
  98. package/dist/{UpdateChild-CGCn-Eh4.js → UpdateChild-DvrF1nBA.js} +23 -17
  99. package/dist/Upload-CK-ALAKV.js +72 -0
  100. package/dist/Upload-CRpCHz3m.js +150 -0
  101. package/dist/UploadApi-B-7WPVHD.js +20 -0
  102. package/dist/Year-BOL9ynRU.js +47 -0
  103. package/dist/{Year-RGAEzf_V.js → Year-CwaPwkLN.js} +1 -1
  104. package/dist/assets/@intlify-BISCQg1h.js +2189 -0
  105. package/dist/assets/@vue-aVYGocXp.js +93 -0
  106. package/dist/assets/clone-BZn0cTAu.js +134 -0
  107. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  108. package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
  109. package/dist/assets/moment-h96o7c8I.js +2578 -0
  110. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  111. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  112. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  113. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  114. package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
  115. package/dist/main-CnPQ_RYM.js +8948 -0
  116. package/dist/main.js +130 -130
  117. package/dist/style.css +1 -1
  118. package/package.json +1 -1
  119. package/dist/Article-D3N6eVpH.js +0 -195
  120. package/dist/Autocomplete-C1Q-qo5y.js +0 -49
  121. package/dist/Autocomplete-C_t_3Onz.js +0 -48
  122. package/dist/Callback-BcjLHYz6.js +0 -20
  123. package/dist/Cascader-BMs1Kw-s.js +0 -81
  124. package/dist/Cascader-BoZLMQjq.js +0 -41
  125. package/dist/Checkbox-DeuCkQ_E.js +0 -70
  126. package/dist/Code-CmB3ZGnM.js +0 -54
  127. package/dist/Code-Q9ETcIfA.js +0 -36
  128. package/dist/Code-hiW76EUm.js +0 -4
  129. package/dist/Code.vue_vue_type_style_index_0_lang-DJO46RBx.js +0 -59
  130. package/dist/Column-K0p0pVuf.js +0 -69
  131. package/dist/Comment-B_jDWUXE.js +0 -98
  132. package/dist/Compare-CziDSVLD.js +0 -37
  133. package/dist/Compare-DFDzyQIR.js +0 -57
  134. package/dist/Copy-gHXEFE58.js +0 -43
  135. package/dist/Custom-DS1OrDHT.js +0 -51
  136. package/dist/Date-BOrgXdKV.js +0 -37
  137. package/dist/DateRange-Clg_We_d.js +0 -57
  138. package/dist/DateTime-Ba-L9NIq.js +0 -38
  139. package/dist/Daterange-Gaj6hNOK.js +0 -57
  140. package/dist/Delete-HzVURBlh.js +0 -57
  141. package/dist/Dictionary-DKnp-UJn.js +0 -55
  142. package/dist/Email-CpOxaSSw.js +0 -48
  143. package/dist/Image-DRIunv3_.js +0 -9
  144. package/dist/Index-DSKuNKCT.js +0 -4
  145. package/dist/Index-QIBRYf1L.js +0 -4
  146. package/dist/Index-ZOfKMgat.js +0 -4
  147. package/dist/Index-bxLda8lZ.js +0 -174
  148. package/dist/Int-DmNjhEfK.js +0 -38
  149. package/dist/Int-nUzbSSOv.js +0 -41
  150. package/dist/List-gNI3y_wH.js +0 -74
  151. package/dist/Maintaince-pTASKuMA.js +0 -14
  152. package/dist/Month-CHfaIo8p.js +0 -38
  153. package/dist/Month-DgztqRaq.js +0 -37
  154. package/dist/Paging-CBgVct8q.js +0 -95
  155. package/dist/QueryApi-Wf86Sm6m.js +0 -13
  156. package/dist/RichText-Cc_jptgY.js +0 -41
  157. package/dist/Select-wxKjwxJj.js +0 -80
  158. package/dist/Text-DgZjeg-u.js +0 -4
  159. package/dist/Text-GuLK7BYX.js +0 -53
  160. package/dist/Text.vue_vue_type_style_index_0_lang-CYGKr6vh.js +0 -53
  161. package/dist/TextLink-B_Ur1pg0.js +0 -59
  162. package/dist/Time-CmyrAm3i.js +0 -37
  163. package/dist/Timeline-B85T2wBn.js +0 -53
  164. package/dist/Tree-OqvNLgYj.js +0 -118
  165. package/dist/TreeNode-Ba2f55wK.js +0 -37
  166. package/dist/Upload-D9HeSZCg.js +0 -68
  167. package/dist/Upload-DXADyB6r.js +0 -147
  168. package/dist/UploadApi-DAT-xdsM.js +0 -13
  169. package/dist/Year-Dx_qNPrz.js +0 -41
  170. package/dist/assets/halo-fe-idvmXC0t.js +0 -15923
  171. package/dist/main-COiaaxGk.js +0 -3542
@@ -0,0 +1,47 @@
1
+ import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as d, onMounted as _, computed as c, watch as f, openBlock as w, createBlock as R, unref as r, normalizeStyle as b, 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 { p as B } from "./main-CnPQ_RYM.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ const D = /* @__PURE__ */ g({
10
+ __name: "RichText",
11
+ props: /* @__PURE__ */ x({
12
+ schema: {},
13
+ table: {},
14
+ field: {},
15
+ set: {},
16
+ row: {}
17
+ }, {
18
+ modelValue: {},
19
+ modelModifiers: {}
20
+ }),
21
+ emits: ["update:modelValue"],
22
+ setup(n) {
23
+ let v = n, { field: e, table: h, set: C, row: i } = S(v), u = M(n, "modelValue"), t = d({ readonly: !1, scrollTop: 0 }), s = d(), y = (l) => {
24
+ a.value != null && (i.value[a.value.name] = l.scrollTop);
25
+ }, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
26
+ t.value.readonly = e.value.control.readonly, t.value.scrollTop = p.value, s.value = T();
27
+ };
28
+ _(() => {
29
+ V();
30
+ });
31
+ let p = c(() => a.value ? i.value[a.value.name] : null), a = c(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
32
+ return f(() => p.value, (l, o) => {
33
+ t.value.scrollTop = l;
34
+ }), f(() => e.value.control.readonly, (l, o) => {
35
+ t.value.readonly = l;
36
+ }), (l, o) => (w(), R(r(B), {
37
+ style: b(r(s)),
38
+ options: r(t),
39
+ onScroll: r(y),
40
+ modelValue: r(u),
41
+ "onUpdate:modelValue": o[0] || (o[0] = (m) => k(u) ? u.value = m : u = m)
42
+ }, null, 8, ["style", "options", "onScroll", "modelValue"]));
43
+ }
44
+ });
45
+ export {
46
+ D as default
47
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./SearchFooter.vue_vue_type_style_index_0_lang-C6DtjpFD.js";
1
+ import { _ as f } from "./SearchFooter.vue_vue_type_style_index_0_lang-CVxX9q-U.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, toRefs as g, computed as j, openBlock as c, createElementBlock as C, createBlock as O, resolveDynamicComponent as q, unref as e } from "vue";
2
- import { c as A } from "./main-COiaaxGk.js";
2
+ import { d as A } from "./main-CnPQ_RYM.js";
3
3
  const E = { class: "search-footer" }, I = /* @__PURE__ */ f({
4
4
  __name: "SearchFooter",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./SearchForm.vue_vue_type_style_index_0_lang-DEu6hHys.js";
1
+ import { _ as f } from "./SearchForm.vue_vue_type_style_index_0_lang-DDH5N323.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,11 @@
1
- import { defineComponent as H, toRefs as I, ref as p, onMounted as J, nextTick as P, computed as O, watch as Q, resolveComponent as m, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as y, createTextVNode as j, toDisplayString as Y, createCommentVNode as Z } from "vue";
2
- import { t as ee, aK as te } from "./assets/halo-fe-idvmXC0t.js";
3
- import { s as B, e as ae } from "./main-COiaaxGk.js";
4
- const ue = /* @__PURE__ */ H({
1
+ import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as q, watch as Q, resolveComponent as m, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as y, createTextVNode as B, toDisplayString as Y, createCommentVNode as Z } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import "./assets/underscore.string-DVXD2SZo.js";
4
+ import { O as ee, s as D, f as te, E as ae } from "./main-CnPQ_RYM.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/moment-h96o7c8I.js";
7
+ import "./assets/liquidjs-C-LVcoaY.js";
8
+ const ie = /* @__PURE__ */ I({
5
9
  __name: "SearchForm",
6
10
  props: {
7
11
  schema: { type: Array, required: !0 },
@@ -10,19 +14,19 @@ const ue = /* @__PURE__ */ H({
10
14
  searchData: { type: Object, required: !0 }
11
15
  },
12
16
  emits: ["change", "submit", "mounted"],
13
- setup(D, { expose: M, emit: T }) {
14
- let w = T, W = D, { schema: F, table: u, layout: C, searchData: f } = I(W), V = p(), k = p(), E = p(), d = p(), L = (e) => {
17
+ setup(E, { expose: M, emit: N }) {
18
+ let w = N, T = E, { schema: F, table: u, layout: C, searchData: h } = J(T), V = p(), k = p(), W = p(), d = p(), L = (e) => {
15
19
  w("change", e);
16
20
  }, S = (e = null) => {
17
21
  w("submit");
18
22
  }, U = (e, t) => {
19
23
  let l = e == "*" ? null : e;
20
- f.value[u.value.name][t.name] = l, S();
21
- }, R = () => {
24
+ h.value[u.value.name][t.name] = l, S();
25
+ }, O = () => {
22
26
  V.value && (k.value = V.value.$el.clientWidth);
23
27
  }, $ = (e) => {
24
- R();
25
- }, q = () => {
28
+ O();
29
+ }, R = () => {
26
30
  let e = C.value.tabs;
27
31
  if (e)
28
32
  for (let t = 0; t < e.length; t++) {
@@ -30,33 +34,33 @@ const ue = /* @__PURE__ */ H({
30
34
  d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
31
35
  }
32
36
  };
33
- d.value = ee.clone(f.value), q(), J(() => {
34
- R(), P(() => {
37
+ d.value = ee.clone(h.value), R(), K(() => {
38
+ O(), P(() => {
35
39
  w("mounted");
36
40
  });
37
41
  });
38
- let z = O(() => {
42
+ let z = q(() => {
39
43
  if (!k.value)
40
44
  return [];
41
- let e = Math.ceil(k.value / 200), t = B.expandSearch(F.value), l = C.value.tabs ?? [], c = t.filter((_) => l.indexOf(_.name) == -1);
42
- return B.getLines(c, e, (_) => _, () => 1);
43
- }), N = O(() => {
45
+ let e = Math.ceil(k.value / 200), t = D.expandSearch(F.value), l = C.value.tabs ?? [], c = t.filter((b) => l.indexOf(b.name) == -1);
46
+ return D.getLines(c, e, (b) => b, () => 1);
47
+ }), j = q(() => {
44
48
  let e = [], t = C.value.tabs;
45
49
  return t && t.forEach((l) => {
46
- let c = u.value.fields.find((h) => h.name == l);
50
+ let c = u.value.fields.find((_) => _.name == l);
47
51
  e.push(c);
48
52
  }), e;
49
53
  });
50
- return Q(() => f.value, (e, t) => {
51
- q();
54
+ return Q(() => h.value, (e, t) => {
55
+ R();
52
56
  }), M({ resize: $ }), (e, t) => {
53
- const l = m("el-radio-button"), c = m("el-radio-group"), h = m("el-form-item"), _ = m("el-col"), A = m("el-row"), K = m("el-form"), G = m("el-scrollbar");
57
+ const l = m("el-radio-button"), c = m("el-radio-group"), _ = m("el-form-item"), b = m("el-col"), A = m("el-row"), H = m("el-form"), G = m("el-scrollbar");
54
58
  return r(), i(G, {
55
59
  "max-height": "200px",
56
60
  class: "search-form"
57
61
  }, {
58
62
  default: n(() => [
59
- a(u).search.length > 0 ? (r(), i(K, {
63
+ a(u).search.length > 0 ? (r(), i(H, {
60
64
  key: 0,
61
65
  ref_key: "searchFormRef",
62
66
  ref: V,
@@ -66,7 +70,7 @@ const ue = /* @__PURE__ */ H({
66
70
  }, ["prevent"]))
67
71
  }, {
68
72
  default: n(() => [
69
- (r(!0), v(g, null, x(a(N), (s, b) => (r(), i(h, {
73
+ (r(!0), v(g, null, x(a(j), (s, f) => (r(), i(_, {
70
74
  class: "search-tab",
71
75
  label: s.label,
72
76
  "label-width": 50
@@ -75,7 +79,7 @@ const ue = /* @__PURE__ */ H({
75
79
  y(c, {
76
80
  ref_for: !0,
77
81
  ref_key: "tabRefs",
78
- ref: E,
82
+ ref: W,
79
83
  onChange: (o) => a(U)(o, s),
80
84
  modelValue: a(d)[a(u).name][s.name],
81
85
  "onUpdate:modelValue": (o) => a(d)[a(u).name][s.name] = o
@@ -83,7 +87,7 @@ const ue = /* @__PURE__ */ H({
83
87
  default: n(() => [
84
88
  y(l, { value: "*" }, {
85
89
  default: n(() => [
86
- j("全部")
90
+ B("全部")
87
91
  ]),
88
92
  _: 1
89
93
  }),
@@ -91,7 +95,7 @@ const ue = /* @__PURE__ */ H({
91
95
  value: o.value
92
96
  }, {
93
97
  default: n(() => [
94
- j(Y(o.text), 1)
98
+ B(Y(o.text), 1)
95
99
  ]),
96
100
  _: 2
97
101
  }, 1032, ["value"]))), 256))
@@ -103,22 +107,22 @@ const ue = /* @__PURE__ */ H({
103
107
  }, 1032, ["label"]))), 256)),
104
108
  (r(!0), v(g, null, x(a(z), (s) => (r(), i(A, {
105
109
  class: "search-row",
106
- label: a(N).length ? "其它" : "",
110
+ label: a(j).length ? "其它" : "",
107
111
  "label-width": 50,
108
112
  gutter: 5
109
113
  }, {
110
114
  default: n(() => [
111
- (r(!0), v(g, null, x(s, ({ data: b, span: o }, le) => (r(), i(_, { span: o }, {
115
+ (r(!0), v(g, null, x(s, ({ data: f, span: o }, le) => (r(), i(b, { span: o }, {
112
116
  default: n(() => [
113
- y(h, {
114
- label: a(te)(b.table.name, b.name)
117
+ y(_, {
118
+ label: a(te)(f.table.name, f.name)
115
119
  }, {
116
120
  default: n(() => [
117
121
  y(ae, {
118
122
  schema: a(F),
119
- table: b.table,
120
- field: b,
121
- "search-data": a(f),
123
+ table: f.table,
124
+ field: f,
125
+ "search-data": a(h),
122
126
  onChange: a(L),
123
127
  onSubmit: a(S)
124
128
  }, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
@@ -141,5 +145,5 @@ const ue = /* @__PURE__ */ H({
141
145
  }
142
146
  });
143
147
  export {
144
- ue as _
148
+ ie as _
145
149
  };
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
10
10
  modelValue: { type: [String, Number, Boolean] }
11
11
  },
12
12
  setup(a) {
13
- let r = f(() => import("./Dictionary-DKnp-UJn.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
13
+ let r = f(() => import("./Dictionary-DtXqTf_k.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
14
14
  return (_, t) => (b(), V(e(r), {
15
15
  schema: e(m),
16
16
  table: e(s),
@@ -0,0 +1,86 @@
1
+ import { defineComponent as K, toRefs as R, ref as i, computed as S, resolveComponent as p, openBlock as r, createBlock as c, unref as t, withKeys as M, withModifiers as N, isRef as F, withCtx as f, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as _, createCommentVNode as q } 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 z, f as A, h as G } from "./main-CnPQ_RYM.js";
8
+ import "./assets/liquidjs-C-LVcoaY.js";
9
+ const H = { class: "option-text" }, I = {
10
+ key: 0,
11
+ class: "option-suffix"
12
+ }, ee = /* @__PURE__ */ K({
13
+ __name: "Select",
14
+ props: {
15
+ schema: {},
16
+ table: {},
17
+ field: {},
18
+ searchData: {},
19
+ modelValue: { type: [String, Boolean] }
20
+ },
21
+ emits: ["change", "submit", "update:modelValue"],
22
+ setup(v, { emit: x }) {
23
+ let s = x, b = v, { schema: J, table: g, field: a, searchData: y, modelValue: V } = R(b), k = i(!1), m = i(), d = i(a.value.control.data.data), C = () => {
24
+ s("submit");
25
+ }, w = () => {
26
+ }, B = (l) => {
27
+ m.value = l, D();
28
+ }, D = () => {
29
+ let l = { text: m.value, conditions: [] };
30
+ a.value.control.data.conditions.forEach((o) => {
31
+ let u = y.value[o.table][o.field];
32
+ l.conditions.push({ name: o.name, value: u });
33
+ }), G.post(a.value.control.data.route, l).then(({ data: o }) => {
34
+ d.value = o;
35
+ }).finally(() => {
36
+ k.value = !1;
37
+ });
38
+ }, n = S({
39
+ get() {
40
+ return V.value;
41
+ },
42
+ set(l) {
43
+ s("update:modelValue", l), s("change", l);
44
+ }
45
+ });
46
+ return (l, o) => {
47
+ const u = p("el-option"), E = p("el-select");
48
+ return r(), c(E, {
49
+ ref: "selectRef",
50
+ filterable: "",
51
+ remote: "",
52
+ "reserve-keyword": "",
53
+ clearable: "",
54
+ "default-first-option": "",
55
+ "remote-show-suffix": "",
56
+ placeholder: t(z)("common.please_choose") + t(A)(t(g).name, t(a).name),
57
+ multiple: t(a).control.multiple,
58
+ "loading-text": "加载中",
59
+ "remote-method": t(B),
60
+ disabled: t(a).control.readonly,
61
+ onKeyup: M(N(t(C), ["alt"]), ["enter", "native"]),
62
+ onChange: t(w),
63
+ modelValue: t(n),
64
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
65
+ }, {
66
+ default: f(() => [
67
+ (r(!0), h(L, null, U(t(d), (e, O) => (r(), c(u, {
68
+ label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
69
+ value: e.value,
70
+ key: e.value
71
+ }, {
72
+ default: f(() => [
73
+ j("span", H, _(e.text), 1),
74
+ e.suffix ? (r(), h("span", I, "(" + _(e.suffix) + ")", 1)) : q("", !0)
75
+ ]),
76
+ _: 2
77
+ }, 1032, ["label", "value"]))), 128))
78
+ ]),
79
+ _: 1
80
+ }, 8, ["placeholder", "multiple", "remote-method", "disabled", "onKeyup", "onChange", "modelValue"]);
81
+ };
82
+ }
83
+ });
84
+ export {
85
+ ee as default
86
+ };
@@ -1,10 +1,15 @@
1
- import { defineComponent as T, toRefs as U, ref as f, computed as q, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as A, withModifiers as D, isRef as O, withCtx as V, createElementBlock as k, Fragment as $, renderList as z, createElementVNode as G, toDisplayString as w, createCommentVNode as H, nextTick as I } from "vue";
2
- import { aL as J, U as P, L as Q } from "./assets/halo-fe-idvmXC0t.js";
3
- import { d as W } from "./main-COiaaxGk.js";
1
+ import { defineComponent as A, toRefs as D, ref as f, computed as H, resolveComponent as b, openBlock as c, createBlock as y, unref as n, withKeys as L, withModifiers as O, isRef as U, withCtx as V, createElementBlock as w, Fragment as $, renderList as q, createElementVNode as z, toDisplayString as k, createCommentVNode as G, nextTick as I } from "vue";
2
+ import "./assets/underscore-B0BCaBxV.js";
3
+ import { j as J, v as P, w as Q, h as W } from "./main-CnPQ_RYM.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 "./assets/liquidjs-C-LVcoaY.js";
4
9
  const X = { class: "option-text" }, Y = {
5
10
  key: 0,
6
11
  class: "option-suffix"
7
- }, te = /* @__PURE__ */ T({
12
+ }, ue = /* @__PURE__ */ A({
8
13
  __name: "Select",
9
14
  props: {
10
15
  schema: {},
@@ -16,35 +21,35 @@ const X = { class: "option-text" }, Y = {
16
21
  },
17
22
  emits: ["submit", "change", "update:modelValue"],
18
23
  setup(C, { emit: E }) {
19
- let s = E, B = C, { schema: S, field: u, table: m, set: h, row: R, modelValue: p } = U(B), x = f(), g = f(), v = f(!1), d = f(u.value.control.data.data), K = (t) => {
24
+ let s = E, B = C, { schema: S, field: r, table: p, set: h, row: R, modelValue: m } = D(B), x = f(), g = f(), v = f(!1), d = f(r.value.control.data.data), j = (t) => {
20
25
  t == "" && (t = null);
21
26
  let e;
22
- if (P.isString(t) && u.value.control.multiple ? e = t.join(",") : e = t, r.value = e, u.value.control.text) {
23
- let a = m.value.fields.find((l) => l.name == u.value.control.text), o;
27
+ if (P.isString(t) && r.value.control.multiple ? e = t.join(",") : e = t, u.value = e, r.value.control.text) {
28
+ let a = p.value.fields.find((l) => l.name == r.value.control.text), o;
24
29
  e && (o = d.value.find((i) => i.value == e).text);
25
30
  debugger;
26
31
  R.value[a.name] = o;
27
32
  }
28
- b(m.value, u.value), s("change", t);
29
- }, L = () => {
33
+ _(p.value, r.value), s("change", t);
34
+ }, K = () => {
30
35
  s("submit");
31
36
  }, N = () => {
32
- }, j = () => {
37
+ }, T = () => {
33
38
  v.value = !0;
34
39
  let t = { text: g.value, conditions: [] };
35
- u.value.control.data.conditions.forEach((e) => {
40
+ r.value.control.data.conditions.forEach((e) => {
36
41
  let a = h.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
37
42
  t.conditions.push({ name: e.name, value: o });
38
- }), Q.post(u.value.control.data.route, t).then(({ data: e }) => {
43
+ }), W.post(r.value.control.data.route, t).then(({ data: e }) => {
39
44
  d.value = e;
40
45
  }).finally(() => {
41
46
  v.value = !1, I(() => {
42
- let e = d.value.find((a) => a.value == r.value);
47
+ let e = d.value.find((a) => a.value == u.value);
43
48
  x.value.scrollToOption(e);
44
49
  });
45
50
  });
46
51
  }, F = (t) => {
47
- g.value = t, j();
52
+ g.value = t, T();
48
53
  }, M = (t, e) => {
49
54
  let a = [];
50
55
  return S.value.forEach((o) => {
@@ -54,20 +59,20 @@ const X = { class: "option-text" }, Y = {
54
59
  });
55
60
  });
56
61
  }), a;
57
- }, b = (t, e) => {
62
+ }, _ = (t, e) => {
58
63
  M(t, e).forEach((o) => {
59
- W.setRowsValue(null, h.value, o.table, o.field), b(o.table, o.field);
64
+ Q.setRowsValue(null, h.value, o.table, o.field), _(o.table, o.field);
60
65
  });
61
- }, r = q({
66
+ }, u = H({
62
67
  get() {
63
- return u.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
68
+ return r.value.control.multiple ? m.value == null ? [] : m.value.toString().split(",") : m.value;
64
69
  },
65
70
  set(t) {
66
71
  s("update:modelValue", t), s("change", t);
67
72
  }
68
73
  });
69
74
  return (t, e) => {
70
- const a = _("el-option"), o = _("el-select");
75
+ const a = b("el-option"), o = b("el-select");
71
76
  return c(), y(o, {
72
77
  ref_key: "selectRef",
73
78
  ref: x,
@@ -78,26 +83,26 @@ const X = { class: "option-text" }, Y = {
78
83
  "remote-show-suffix": "",
79
84
  "loading-text": "加载中",
80
85
  clearable: "",
81
- placeholder: n(J)(n(m).name, n(u).name),
82
- multiple: n(u).control.multiple,
86
+ placeholder: n(J)(n(p).name, n(r).name),
87
+ multiple: n(r).control.multiple,
83
88
  "remote-method": n(F),
84
89
  loading: n(v),
85
- disabled: n(u).control.readonly,
86
- onKeyup: A(D(n(L), ["alt"]), ["enter", "native"]),
90
+ disabled: n(r).control.readonly,
91
+ onKeyup: L(O(n(K), ["alt"]), ["enter", "native"]),
87
92
  onBlur: n(N),
88
- onChange: n(K),
89
- modelValue: n(r),
90
- "onUpdate:modelValue": e[0] || (e[0] = (l) => O(r) ? r.value = l : r = l)
93
+ onChange: n(j),
94
+ modelValue: n(u),
95
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => U(u) ? u.value = l : u = l)
91
96
  }, {
92
97
  default: V(() => [
93
- (c(!0), k($, null, z(n(d), (l, i) => (c(), y(a, {
98
+ (c(!0), w($, null, q(n(d), (l, i) => (c(), y(a, {
94
99
  label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
95
100
  value: l.value,
96
101
  key: l.value
97
102
  }, {
98
103
  default: V(() => [
99
- G("span", X, w(l.text), 1),
100
- l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) : H("", !0)
104
+ z("span", X, k(l.text), 1),
105
+ l.suffix ? (c(), w("span", Y, "(" + k(l.suffix) + ")", 1)) : G("", !0)
101
106
  ]),
102
107
  _: 2
103
108
  }, 1032, ["label", "value"]))), 128))
@@ -108,5 +113,5 @@ const X = { class: "option-text" }, Y = {
108
113
  }
109
114
  });
110
115
  export {
111
- te as default
116
+ ue as default
112
117
  };