halo-pc 1.0.13 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/Article-DASEvkfO.js +194 -0
  2. package/dist/{ArticleFooter-BbDi3-MM.js → ArticleFooter-BSesl8iy.js} +17 -24
  3. package/dist/{Autocomplete-KcemMig-.js → Autocomplete-ClAQY5V5.js} +1 -1
  4. package/dist/Autocomplete-CzfOoMve.js +48 -0
  5. package/dist/Autocomplete-DToic2Cg.js +49 -0
  6. package/dist/{CSharp-Re2Hef51.js → CSharp-23QccebX.js} +1 -1
  7. package/dist/{Calender-BdLz8uVu.js → Calender-DZkQaIeV.js} +3 -3
  8. package/dist/Callback-CWBDUe_C.js +20 -0
  9. package/dist/Cascader-BDfFyqiv.js +41 -0
  10. package/dist/Cascader-CpD_hbhQ.js +81 -0
  11. package/dist/Checkbox--gCBkIuI.js +70 -0
  12. package/dist/{Checkbox-C4vv9clz.js → Checkbox-SLi7MK1r.js} +1 -1
  13. package/dist/Code-BVTjF5rW.js +54 -0
  14. package/dist/{Code-oAwc2PqM.js → Code-C4hdU4t4.js} +1 -1
  15. package/dist/Code-CO4WPAe_.js +4 -0
  16. package/dist/Code-nrn4wOhB.js +36 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-BgAnkZ3j.js +59 -0
  18. package/dist/Column-DcMAu4JL.js +68 -0
  19. package/dist/Comment-CPxVIapg.js +98 -0
  20. package/dist/Compare-C2oFy0EZ.js +56 -0
  21. package/dist/Compare-P9zOBC1v.js +26 -0
  22. package/dist/Copy-B5vrho98.js +43 -0
  23. package/dist/Custom-BETJLilj.js +51 -0
  24. package/dist/{DataExport-Bfcwgxhl.js → DataExport-YTc4EX6l.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DxEJA5Ee.js → DataExport.vue_vue_type_script_setup_true_lang-amvVzv4A.js} +34 -40
  26. package/dist/{DataImport-BPx3VvYv.js → DataImport-ByV8MQkV.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-5gkTElFL.js → DataImport.vue_vue_type_script_setup_true_lang-CYwCKg5Z.js} +61 -66
  28. package/dist/{Date-FuMiaUxd.js → Date-DbTzQla9.js} +1 -1
  29. package/dist/Date-DpiWNuFs.js +37 -0
  30. package/dist/DateRange-Su0Q2cwY.js +57 -0
  31. package/dist/{DateTime-CyCcFf_l.js → DateTime-C3NrioJi.js} +1 -1
  32. package/dist/DateTime-QyKfqaVG.js +38 -0
  33. package/dist/{DateTimeRange-Db9BDn2x.js → DateTimeRange-lytkhCjC.js} +11 -18
  34. package/dist/Daterange-D7ZHkOmo.js +57 -0
  35. package/dist/{Decimal-F1-H75HK.js → Decimal-CTTT98BQ.js} +1 -1
  36. package/dist/Delete-MfXy7gUi.js +56 -0
  37. package/dist/{Detail-AhGw1lSI.js → Detail-CUiSzyT7.js} +16 -23
  38. package/dist/Dictionary-Dd_IU-Hn.js +55 -0
  39. package/dist/Email-BzN4JpJv.js +48 -0
  40. package/dist/{File-1ATMHoXy.js → File-Ckh37Ne2.js} +42 -49
  41. package/dist/Image-Dkd69DoD.js +9 -0
  42. package/dist/Index-CGJLRExG.js +4 -0
  43. package/dist/Index-CLzHDG05.js +4 -0
  44. package/dist/{Index-BlsoOd-w.js → Index-DJJcNPgN.js} +61 -67
  45. package/dist/{Index-Bk0v21aV.js → Index-DlrpDUD3.js} +1 -1
  46. package/dist/Index-DxvVjg9S.js +70 -0
  47. package/dist/{Index-CXbpni6W.js → Index-G36KYPCK.js} +1 -1
  48. package/dist/Index-dTIwhIau.js +4 -0
  49. package/dist/{Index-CY3JroZR.js → Index-x4c71OJZ.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DqLF_iyM.js → Index.vue_vue_type_script_setup_true_lang-8g0L1e0O.js} +16 -23
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-C5HbpsSj.js → Index.vue_vue_type_script_setup_true_lang-oQyBcgPa.js} +16 -23
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-fOkzw7J1.js → Index.vue_vue_type_style_index_0_lang-DVYceMeD.js} +30 -36
  53. package/dist/{Install-DWNrbMRl.js → Install-BW_ulT9I.js} +21 -28
  54. package/dist/Int-BRqYiJo7.js +41 -0
  55. package/dist/{Int-E-wewJ2r.js → Int-BYSjwPG_.js} +9 -16
  56. package/dist/List-DAFqVlam.js +73 -0
  57. package/dist/Maintaince-B8mM4PEp.js +14 -0
  58. package/dist/{Markdown-DBvQ_Q4I.js → Markdown-BXKlgSON.js} +1 -1
  59. package/dist/Month-BHvq72xE.js +37 -0
  60. package/dist/Month-BiW1DL44.js +38 -0
  61. package/dist/{Month-BMgXtQVp.js → Month-DKeTzNrD.js} +1 -1
  62. package/dist/{Normal-TE2XNiGu.js → Normal-CgSREifM.js} +48 -54
  63. package/dist/Paging-D02YApLL.js +94 -0
  64. package/dist/{PagingHeader-DHI1x6n2.js → PagingHeader-DJ7MmfGl.js} +37 -44
  65. package/dist/{PagingRow-CdXpvFNC.js → PagingRow-BM1GMtrr.js} +21 -28
  66. package/dist/QueryApi-ChpV_S8J.js +13 -0
  67. package/dist/{Racebar-CZVxC7hF.js → Racebar-CZlaC5Gm.js} +43 -49
  68. package/dist/{Radio-BdXipXA2.js → Radio-BPq3WJa4.js} +1 -1
  69. package/dist/{Register-t3oEydyQ.js → Register-ByxrZyWq.js} +71 -77
  70. package/dist/RichText-BtQDAhn9.js +41 -0
  71. package/dist/{SearchFooter-BpJrsqZV.js → SearchFooter-B61gsy3w.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-XXawph5O.js → SearchFooter.vue_vue_type_style_index_0_lang-CZv7EteY.js} +1 -1
  73. package/dist/{SearchForm-CwRcTMlw.js → SearchForm-CLvZoPGQ.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DU69JJ1z.js → SearchForm.vue_vue_type_style_index_0_lang-DnjtHyTb.js} +34 -40
  75. package/dist/Select-C_afSAvf.js +111 -0
  76. package/dist/{Select-DGGUWJY4.js → Select-DGXJMnE9.js} +19 -26
  77. package/dist/{Select-UUymDTLU.js → Select-Nb9K2FMY.js} +1 -1
  78. package/dist/{Single-C7v2P3LF.js → Single-C-2qA2MU.js} +111 -117
  79. package/dist/{Statistic-C6J7v2xF.js → Statistic-B1K-qIZb.js} +43 -51
  80. package/dist/{Stock-Ct-HKlln.js → Stock-C560McFR.js} +1 -1
  81. package/dist/{Stock-DSnE1Bzv.js → Stock-_rnn0B8I.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-DtH6bO8x.js → Stock.vue_vue_type_style_index_0_lang-BEwvRtU6.js} +31 -39
  83. package/dist/{Switch-Bi8hhG_X.js → Switch-BadvkLSw.js} +1 -1
  84. package/dist/{Table-SSfqvIzl.js → Table-B46N43V3.js} +67 -72
  85. package/dist/{Table-D0P60c_b.js → Table-Dk48tQ1r.js} +63 -70
  86. package/dist/Text-CNF204mx.js +53 -0
  87. package/dist/Text-DblKaz4m.js +52 -0
  88. package/dist/Text-y-q7UXlg.js +4 -0
  89. package/dist/Text.vue_vue_type_style_index_0_lang-DtnGWes5.js +53 -0
  90. package/dist/TextLink-B4Q0zX1K.js +59 -0
  91. package/dist/{Textarea-CzUa7wZ2.js → Textarea-D1BOQFgK.js} +1 -1
  92. package/dist/Time-DZQxglEi.js +37 -0
  93. package/dist/Timeline-8QaD9H_I.js +53 -0
  94. package/dist/Tree-BUcyK0i_.js +117 -0
  95. package/dist/{Tree-6sdSDjF7.js → Tree-DVeTdmmL.js} +64 -70
  96. package/dist/TreeNode-BScAFHPZ.js +37 -0
  97. package/dist/{Update-Bgn_-Tk7.js → Update-BbU5H_Qf.js} +14 -21
  98. package/dist/{UpdateChild-BOHAM_TM.js → UpdateChild-BbXuXfOR.js} +19 -26
  99. package/dist/Upload-C1obfZui.js +146 -0
  100. package/dist/Upload-CmtHETKR.js +67 -0
  101. package/dist/UploadApi-2sfpKCMa.js +13 -0
  102. package/dist/Year-CRd3PkNx.js +41 -0
  103. package/dist/{Year-BbZI6olW.js → Year-CTo-9KjE.js} +1 -1
  104. package/dist/main-65efBfek.js +19835 -0
  105. package/dist/main.js +47 -49
  106. package/dist/style.css +1 -1
  107. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  108. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  109. package/esm/vite.config.d.ts +6 -0
  110. package/package.json +2 -2
  111. package/dist/Article-X51Oz1hI.js +0 -198
  112. package/dist/Autocomplete-Ci1CXGQE.js +0 -55
  113. package/dist/Autocomplete-Co_6LMOR.js +0 -54
  114. package/dist/Callback-DwiifiR-.js +0 -27
  115. package/dist/Cascader-BrjhyzSI.js +0 -88
  116. package/dist/Cascader-DuG1TFF-.js +0 -48
  117. package/dist/Checkbox-DAsy2Gtb.js +0 -77
  118. package/dist/Code-CNioVNv0.js +0 -4
  119. package/dist/Code-CQQJJ5Jx.js +0 -61
  120. package/dist/Code-DAMTIprA.js +0 -43
  121. package/dist/Code.vue_vue_type_style_index_0_lang-G1i4uKJp.js +0 -66
  122. package/dist/Column-DMN_0BnR.js +0 -75
  123. package/dist/Comment-D4gvdlOG.js +0 -105
  124. package/dist/Compare-B9ms7AkH.js +0 -63
  125. package/dist/Compare-OHWeHehJ.js +0 -33
  126. package/dist/Copy-B6pQ--3T.js +0 -50
  127. package/dist/Custom-Dt_-KfRY.js +0 -58
  128. package/dist/Date-DAud0Tf9.js +0 -44
  129. package/dist/DateRange-ClHpJNRt.js +0 -64
  130. package/dist/DateTime-BO1c3xG2.js +0 -45
  131. package/dist/Daterange-BlMa4jnq.js +0 -64
  132. package/dist/Delete-BVH0G9h3.js +0 -63
  133. package/dist/Dictionary-DwcOV9xl.js +0 -60
  134. package/dist/Email-BljE8jDr.js +0 -55
  135. package/dist/Image-Bv2Ducoj.js +0 -9
  136. package/dist/Index-BFuHqDAs.js +0 -4
  137. package/dist/Index-D-TyDnGW.js +0 -4
  138. package/dist/Index-D2H5yTHn.js +0 -4
  139. package/dist/Index-YG1SBeIv.js +0 -76
  140. package/dist/Int-g8pM8ZyY.js +0 -47
  141. package/dist/List-ow09enu_.js +0 -80
  142. package/dist/Maintaince-Ctz2-ztL.js +0 -21
  143. package/dist/Month-CPMc1YrA.js +0 -45
  144. package/dist/Month-bDRWnCLy.js +0 -44
  145. package/dist/Paging-668tf97P.js +0 -100
  146. package/dist/QueryApi-UJNYVuJd.js +0 -21
  147. package/dist/RichText-BDRC1veI.js +0 -48
  148. package/dist/Select-RlOWoUwz.js +0 -118
  149. package/dist/Text-McD2Rcic.js +0 -59
  150. package/dist/Text-Stj6-whX.js +0 -4
  151. package/dist/Text-V0WQUxoe.js +0 -60
  152. package/dist/Text.vue_vue_type_style_index_0_lang-BuHdoSkB.js +0 -60
  153. package/dist/TextLink-DmRFUHgF.js +0 -66
  154. package/dist/Time-CgOW3aic.js +0 -44
  155. package/dist/Timeline-BV-wfL2F.js +0 -60
  156. package/dist/Tree-r6FMB9WN.js +0 -123
  157. package/dist/TreeNode-Y4ktCxAQ.js +0 -43
  158. package/dist/Upload-BGYLdPIM.js +0 -151
  159. package/dist/Upload-Df16iaP1.js +0 -73
  160. package/dist/UploadApi-CnAUAXVp.js +0 -21
  161. package/dist/Year-OqMhzqjx.js +0 -48
  162. package/dist/assets/@intlify-BISCQg1h.js +0 -2189
  163. package/dist/assets/@monaco-editor-BCDRi0Ti.js +0 -258
  164. package/dist/assets/@vue-aVYGocXp.js +0 -93
  165. package/dist/assets/clone-BZn0cTAu.js +0 -134
  166. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  167. package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
  168. package/dist/assets/moment-h96o7c8I.js +0 -2578
  169. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  170. package/dist/assets/state-local-CEworIRt.js +0 -131
  171. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  172. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  173. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  174. package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
  175. package/dist/main-RpQODrQa.js +0 -8936
@@ -0,0 +1,70 @@
1
+ import { defineComponent as C, defineAsyncComponent as U, toRefs as D, computed as p, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as y, isRef as b, createElementVNode as w, toDisplayString as h } from "vue";
2
+ import { X as N, U as x } from "./main-65efBfek.js";
3
+ const A = /* @__PURE__ */ C({
4
+ __name: "Index",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ config: {}
12
+ },
13
+ emits: ["submit", "change"],
14
+ setup(V, { emit: B }) {
15
+ let g = U(() => import("./TextLink-B4Q0zX1K.js")), k = V, { schema: u, table: s, field: l, set: d, row: a, config: m } = D(k), i = p(() => {
16
+ let o = l.value.control.type;
17
+ return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
18
+ }), _ = p(() => `text-${N.getDashName(i.value)}`), t = p({
19
+ get() {
20
+ return a.value[l.value.name];
21
+ },
22
+ set(o) {
23
+ a.value[l.value.name] = o;
24
+ }
25
+ });
26
+ return (o, n) => e(l).link ? (c(), f(e(g), {
27
+ key: 0,
28
+ schema: e(u),
29
+ table: e(s),
30
+ field: e(l),
31
+ set: e(d),
32
+ row: e(a)
33
+ }, {
34
+ default: v(() => [
35
+ (c(), f(y(e(_)), {
36
+ schema: e(u),
37
+ table: e(s),
38
+ field: e(l),
39
+ set: e(d),
40
+ row: e(a),
41
+ modelValue: e(t),
42
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => b(t) ? t.value = r : t = r)
43
+ }, {
44
+ default: v(() => [
45
+ w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
46
+ ]),
47
+ _: 1
48
+ }, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
49
+ ]),
50
+ _: 1
51
+ }, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(y(e(_)), {
52
+ key: 1,
53
+ schema: e(u),
54
+ table: e(s),
55
+ field: e(l),
56
+ set: e(d),
57
+ row: e(a),
58
+ modelValue: e(t),
59
+ "onUpdate:modelValue": n[1] || (n[1] = (r) => b(t) ? t.value = r : t = r)
60
+ }, {
61
+ default: v(() => [
62
+ w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
63
+ ]),
64
+ _: 1
65
+ }, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
66
+ }
67
+ });
68
+ export {
69
+ A as default
70
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-DqLF_iyM.js";
1
+ import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-8g0L1e0O.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./main-65efBfek.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Index.vue_vue_type_style_index_0_lang-fOkzw7J1.js";
1
+ import { _ as f } from "./Index.vue_vue_type_style_index_0_lang-DVYceMeD.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,15 +1,8 @@
1
- import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } 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/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { v as F } from "./main-RpQODrQa.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
1
+ import { defineComponent as k, toRefs as D, ref as N, openBlock as r, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } from "vue";
2
+ import { j } from "./main-65efBfek.js";
10
3
  import "vue-router";
11
4
  import "./assets/intro.js-DxWjEdp_.js";
12
- const I = { class: "not-support" }, X = /* @__PURE__ */ k({
5
+ const F = { class: "not-support" }, K = /* @__PURE__ */ k({
13
6
  __name: "Index",
14
7
  props: {
15
8
  searchData: {},
@@ -21,8 +14,8 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
21
14
  set: {}
22
15
  },
23
16
  emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
24
- setup(c, { expose: i, emit: u }) {
25
- let o = u, g = c, { module: m, schema: p, table: r, layout: l, next: h, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
17
+ setup(c, { expose: u, emit: i }) {
18
+ let o = i, g = c, { module: h, schema: m, table: s, layout: l, next: p, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
26
19
  o("navigate", a, t);
27
20
  }, C = (a, t) => {
28
21
  o("sort", a, t);
@@ -39,7 +32,7 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
39
32
  }, S = (a) => {
40
33
  o("layout-change", a);
41
34
  };
42
- return i({ resize: (a) => {
35
+ return u({ resize: (a) => {
43
36
  if (!n.value || !n.value.resize)
44
37
  return !1;
45
38
  n.value.resize(a);
@@ -47,20 +40,20 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
47
40
  if (!n.value || !n.value.keyboard)
48
41
  return !1;
49
42
  n.value.keyboard(a, t);
50
- } }), (a, t) => (s(), B(L, null, [
51
- R(e(F), {
43
+ } }), (a, t) => (r(), B(L, null, [
44
+ R(e(j), {
52
45
  layout: e(l),
53
- table: e(r),
46
+ table: e(s),
54
47
  onLayoutChange: e(S)
55
48
  }, null, 8, ["layout", "table", "onLayoutChange"]),
56
- (s(), w(E(`paging-${e(l).type.toLowerCase()}`), {
49
+ (r(), w(E(`paging-${e(l).type.toLowerCase()}`), {
57
50
  ref_key: "pagingRef",
58
51
  ref: n,
59
- module: e(m),
60
- schema: e(p),
61
- table: e(r),
52
+ module: e(h),
53
+ schema: e(m),
54
+ table: e(s),
62
55
  layout: e(l),
63
- next: e(h),
56
+ next: e(p),
64
57
  set: e(d),
65
58
  "search-data": e(y),
66
59
  onNavigate: e(f),
@@ -72,7 +65,7 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
72
65
  onClose: e(z)
73
66
  }, {
74
67
  default: P(() => [
75
- V("div", I, "未支持的分页布局方式:" + $(e(l).type), 1)
68
+ V("div", F, "未支持的分页布局方式:" + $(e(l).type), 1)
76
69
  ]),
77
70
  _: 1
78
71
  }, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
@@ -80,5 +73,5 @@ const I = { class: "not-support" }, X = /* @__PURE__ */ k({
80
73
  }
81
74
  });
82
75
  export {
83
- X as _
76
+ K as _
84
77
  };
@@ -1,15 +1,8 @@
1
- import { defineComponent as x, toRefs as E, ref as R, onMounted as k, openBlock as u, createElementBlock as z, Fragment as B, createVNode as L, unref as e, createBlock as S, resolveDynamicComponent as D, withCtx as N, createElementVNode as V, toDisplayString as $ } 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/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { v as F, t as I } from "./main-RpQODrQa.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
1
+ import { defineComponent as x, toRefs as E, ref as R, onMounted as k, openBlock as u, createElementBlock as z, Fragment as B, createVNode as L, unref as e, createBlock as S, resolveDynamicComponent as D, withCtx as N, createElementVNode as U, toDisplayString as V } from "vue";
2
+ import { j as $, U as j } from "./main-65efBfek.js";
10
3
  import "vue-router";
11
4
  import "./assets/intro.js-DxWjEdp_.js";
12
- const M = { class: "not-support" }, U = /* @__PURE__ */ x({
5
+ const F = { class: "not-support" }, G = /* @__PURE__ */ x({
13
6
  __name: "Index",
14
7
  props: {
15
8
  route: {},
@@ -22,8 +15,8 @@ const M = { class: "not-support" }, U = /* @__PURE__ */ x({
22
15
  set: {}
23
16
  },
24
17
  emits: ["layout-change", "row-edit", "change", "submit"],
25
- setup(i, { expose: s, emit: m }) {
26
- let o = m, p = i, { module: d, schema: c, table: l, layout: a, next: y, set: h } = E(p), r = R(), f = (t) => {
18
+ setup(s, { expose: i, emit: m }) {
19
+ let o = m, d = s, { module: c, schema: p, table: r, layout: a, next: y, set: h } = E(d), l = R(), f = (t) => {
27
20
  o("layout-change", t);
28
21
  }, g = (t, n, w) => {
29
22
  o("row-edit", t, n, w);
@@ -33,23 +26,23 @@ const M = { class: "not-support" }, U = /* @__PURE__ */ x({
33
26
  o("submit", t);
34
27
  }, v = (t) => {
35
28
  }, C = (t) => {
36
- if (!r.value || !r.value.resize)
29
+ if (!l.value || !l.value.resize)
37
30
  return !1;
38
- r.value.resize(t);
31
+ l.value.resize(t);
39
32
  };
40
33
  return k(() => {
41
- }), s({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
42
- L(e(F), {
34
+ }), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
35
+ L(e($), {
43
36
  layout: e(a),
44
- table: e(l),
37
+ table: e(r),
45
38
  onLayoutChange: e(f)
46
39
  }, null, 8, ["layout", "table", "onLayoutChange"]),
47
40
  (u(), S(D(`update-${e(a).type.toLowerCase()}`), {
48
41
  ref_key: "layoutRef",
49
- ref: r,
50
- module: e(d),
51
- schema: e(c),
52
- table: e(l),
42
+ ref: l,
43
+ module: e(c),
44
+ schema: e(p),
45
+ table: e(r),
53
46
  layout: e(a),
54
47
  next: e(y),
55
48
  set: e(h),
@@ -60,7 +53,7 @@ const M = { class: "not-support" }, U = /* @__PURE__ */ x({
60
53
  onSubmit: e(b)
61
54
  }, {
62
55
  default: N(() => [
63
- V("div", M, $(e(I)("single.not_supported_layout", e(a).type)), 1)
56
+ U("div", F, V(e(j)("single.not_supported_layout", e(a).type)), 1)
64
57
  ]),
65
58
  _: 1
66
59
  }, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
@@ -68,5 +61,5 @@ const M = { class: "not-support" }, U = /* @__PURE__ */ x({
68
61
  }
69
62
  });
70
63
  export {
71
- U as _
64
+ G as _
72
65
  };
@@ -1,15 +1,9 @@
1
- import { defineComponent as E, defineAsyncComponent as I, toRefs as z, ref as A, computed as k, resolveComponent as w, openBlock as n, createElementBlock as _, Fragment as g, unref as e, createBlock as h, withCtx as d, createElementVNode as x, createVNode as v, resolveDynamicComponent as F, toDisplayString as C, createTextVNode as H, createCommentVNode as U } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { S as $, t as j } from "./main-RpQODrQa.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
1
+ import { defineComponent as U, defineAsyncComponent as E, toRefs as I, ref as z, computed as k, resolveComponent as w, openBlock as n, createElementBlock as _, Fragment as g, unref as e, createBlock as h, withCtx as d, createElementVNode as x, createVNode as v, resolveDynamicComponent as A, toDisplayString as C, createTextVNode as F, createCommentVNode as X } from "vue";
2
+ import { X as $, U as j } from "./main-65efBfek.js";
9
3
  const q = { class: "text-popover" }, G = {
10
4
  key: 2,
11
5
  class: "control-operation"
12
- }, X = /* @__PURE__ */ E({
6
+ }, K = /* @__PURE__ */ U({
13
7
  __name: "Index",
14
8
  props: {
15
9
  schema: {},
@@ -21,12 +15,12 @@ const q = { class: "text-popover" }, G = {
21
15
  },
22
16
  emits: ["submit", "change"],
23
17
  setup(V, { emit: B }) {
24
- let y = I(() => import("./Index-YG1SBeIv.js")), N = B, R = V, { schema: a, table: i, field: t, set: c, row: o, config: l } = z(R), m = A(), S = () => {
25
- }, D = (r) => {
18
+ let y = E(() => import("./Index-DxvVjg9S.js")), N = B, R = V, { schema: a, table: c, field: t, set: i, row: o, config: l } = I(R), s = z(), D = () => {
19
+ }, S = (r) => {
26
20
  N("submit", r);
27
21
  }, b = k(() => {
28
- var p, f;
29
- if ((f = (p = l == null ? void 0 : l.value) == null ? void 0 : p.control) != null && f.type)
22
+ var f, p;
23
+ if ((p = (f = l == null ? void 0 : l.value) == null ? void 0 : f.control) != null && p.type)
30
24
  return l.value.control.type;
31
25
  let r = t.value.control;
32
26
  if (r.typeBy != null) {
@@ -36,11 +30,11 @@ const q = { class: "text-popover" }, G = {
36
30
  }
37
31
  return r.type;
38
32
  }), T = k(() => `control-${$.getDashName(b.value)}`);
39
- return (r, s) => {
40
- const p = w("el-popover"), f = w("el-link");
33
+ return (r, m) => {
34
+ const f = w("el-popover"), p = w("el-link");
41
35
  return n(), _(g, null, [
42
36
  e(t).control.textualize ? (n(), _(g, { key: 0 }, [
43
- e(t).control.popover ? (n(), h(p, {
37
+ e(t).control.popover ? (n(), h(f, {
44
38
  key: 0,
45
39
  trigger: "hover",
46
40
  placement: "top",
@@ -50,11 +44,11 @@ const q = { class: "text-popover" }, G = {
50
44
  x("div", q, [
51
45
  v(e(y), {
52
46
  ref_key: "controlRef",
53
- ref: m,
47
+ ref: s,
54
48
  schema: e(a),
55
- table: e(i),
49
+ table: e(c),
56
50
  field: e(t),
57
- set: e(c),
51
+ set: e(i),
58
52
  row: e(o),
59
53
  config: e(l)
60
54
  }, null, 8, ["schema", "table", "field", "set", "row", "config"])
@@ -63,11 +57,11 @@ const q = { class: "text-popover" }, G = {
63
57
  default: d(() => [
64
58
  v(e(y), {
65
59
  ref_key: "controlRef",
66
- ref: m,
60
+ ref: s,
67
61
  schema: e(a),
68
- table: e(i),
62
+ table: e(c),
69
63
  field: e(t),
70
- set: e(c),
64
+ set: e(i),
71
65
  row: e(o),
72
66
  config: e(l)
73
67
  }, null, 8, ["schema", "table", "field", "set", "row", "config"])
@@ -76,27 +70,27 @@ const q = { class: "text-popover" }, G = {
76
70
  }, 8, ["width"])) : (n(), h(e(y), {
77
71
  key: 1,
78
72
  ref_key: "controlRef",
79
- ref: m,
73
+ ref: s,
80
74
  schema: e(a),
81
- table: e(i),
75
+ table: e(c),
82
76
  field: e(t),
83
- set: e(c),
77
+ set: e(i),
84
78
  row: e(o),
85
79
  config: e(l)
86
80
  }, null, 8, ["schema", "table", "field", "set", "row", "config"]))
87
- ], 64)) : (n(), h(F(e(T)), {
81
+ ], 64)) : (n(), h(A(e(T)), {
88
82
  key: 1,
89
83
  ref_key: "controlRef",
90
- ref: m,
84
+ ref: s,
91
85
  schema: e(a),
92
- table: e(i),
86
+ table: e(c),
93
87
  field: e(t),
94
- set: e(c),
88
+ set: e(i),
95
89
  row: e(o),
96
- onSubmit: e(D),
97
- onClear: e(S),
90
+ onSubmit: e(S),
91
+ onClear: e(D),
98
92
  modelValue: e(o)[e(t).name],
99
- "onUpdate:modelValue": s[0] || (s[0] = (u) => e(o)[e(t).name] = u)
93
+ "onUpdate:modelValue": m[0] || (m[0] = (u) => e(o)[e(t).name] = u)
100
94
  }, {
101
95
  default: d(() => [
102
96
  x("div", null, C(e(j)("common.unsupported_control", e(b))), 1)
@@ -104,20 +98,20 @@ const q = { class: "text-popover" }, G = {
104
98
  _: 1
105
99
  }, 40, ["schema", "table", "field", "set", "row", "onSubmit", "onClear", "modelValue"])),
106
100
  e(t).operation ? (n(), _("div", G, [
107
- v(f, {
101
+ v(p, {
108
102
  type: "primary",
109
103
  underline: !1
110
104
  }, {
111
105
  default: d(() => [
112
- H(C(e(t).operation.name), 1)
106
+ F(C(e(t).operation.name), 1)
113
107
  ]),
114
108
  _: 1
115
109
  })
116
- ])) : U("", !0)
110
+ ])) : X("", !0)
117
111
  ], 64);
118
112
  };
119
113
  }
120
114
  });
121
115
  export {
122
- X as _
116
+ K as _
123
117
  };
@@ -1,21 +1,14 @@
1
- import { defineComponent as k, ref as s, onMounted as C, resolveComponent as r, openBlock as p, createBlock as f, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as h, toDisplayString as x, 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/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { I as T, h as U } from "./main-RpQODrQa.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
1
+ import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as d, createBlock as f, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as T } from "vue";
2
+ import { y as U, L as w } from "./main-65efBfek.js";
10
3
  import "vue-router";
11
4
  import "./assets/intro.js-DxWjEdp_.js";
12
- const w = { class: "option-text" }, E = {
5
+ const E = { class: "option-text" }, L = {
13
6
  key: 0,
14
7
  class: "option-suffix"
15
- }, J = /* @__PURE__ */ k({
8
+ }, F = /* @__PURE__ */ k({
16
9
  __name: "Install",
17
- setup(I) {
18
- let o = s({ name: null, type: "SqlServer", conn: null }), u = s(!1), d = s(), y = s([
10
+ setup(O) {
11
+ let o = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
19
12
  { value: "SqlServer", text: "SqlServer" },
20
13
  { value: "MySql", text: "MySql" },
21
14
  { value: "Mongo", text: "Mongo" },
@@ -23,10 +16,10 @@ const w = { class: "option-text" }, E = {
23
16
  { value: "Oracle", text: "Oracle" },
24
17
  { value: "Trino", text: "Trino" }
25
18
  ]), V = () => {
26
- u.value = !0, d.value.validate((_, n) => {
19
+ u.value = !0, i.value.validate((_, n) => {
27
20
  if (!_)
28
21
  return u.value = !1, !1;
29
- U.post("/app/install", o.value).then(({ data: i }) => {
22
+ w.post("/app/install", o.value).then(({ data: p }) => {
30
23
  }).finally(() => {
31
24
  u.value = !1;
32
25
  });
@@ -34,8 +27,8 @@ const w = { class: "option-text" }, E = {
34
27
  };
35
28
  return C(() => {
36
29
  }), (_, n) => {
37
- const i = r("el-input"), m = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
38
- return p(), f(l(T), {
30
+ const p = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
31
+ return d(), f(l(U), {
39
32
  class: "ha-install",
40
33
  title: "数据库信息"
41
34
  }, {
@@ -45,18 +38,18 @@ const w = { class: "option-text" }, E = {
45
38
  default: t(() => [
46
39
  a(b, {
47
40
  ref_key: "formRef",
48
- ref: d,
41
+ ref: i,
49
42
  model: l(o),
50
43
  "label-width": "80px"
51
44
  }, {
52
45
  default: t(() => [
53
- a(m, {
46
+ a(s, {
54
47
  label: "名称",
55
48
  prop: "name",
56
49
  rules: [{ required: !0, message: "数据库名不能为空" }]
57
50
  }, {
58
51
  default: t(() => [
59
- a(i, {
52
+ a(p, {
60
53
  type: "text",
61
54
  modelValue: l(o).name,
62
55
  "onUpdate:modelValue": n[0] || (n[0] = (e) => l(o).name = e)
@@ -64,7 +57,7 @@ const w = { class: "option-text" }, E = {
64
57
  ]),
65
58
  _: 1
66
59
  }),
67
- a(m, {
60
+ a(s, {
68
61
  label: "类型",
69
62
  prop: "type",
70
63
  rules: [{ required: !0, message: "数据库类型不能为空" }]
@@ -75,14 +68,14 @@ const w = { class: "option-text" }, E = {
75
68
  "onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
76
69
  }, {
77
70
  default: t(() => [
78
- (p(!0), v(M, null, N(l(y), (e) => (p(), f(S, {
71
+ (d(!0), v(M, null, N(l(y), (e) => (d(), f(S, {
79
72
  value: e.value,
80
73
  label: e.text + (e.value ? "(" + e.value + ")" : ""),
81
74
  key: `${e.value}`
82
75
  }, {
83
76
  default: t(() => [
84
- h("span", w, x(e.text), 1),
85
- e.value ? (p(), v("span", E, "(" + x(e.value) + ")", 1)) : B("", !0)
77
+ B("span", E, x(e.text), 1),
78
+ e.value ? (d(), v("span", L, "(" + x(e.value) + ")", 1)) : T("", !0)
86
79
  ]),
87
80
  _: 2
88
81
  }, 1032, ["value", "label"]))), 128))
@@ -92,13 +85,13 @@ const w = { class: "option-text" }, E = {
92
85
  ]),
93
86
  _: 1
94
87
  }),
95
- a(m, {
88
+ a(s, {
96
89
  label: "连接串",
97
90
  prop: "conn",
98
91
  rules: [{ required: !0, message: "数据库连接串不能为空" }]
99
92
  }, {
100
93
  default: t(() => [
101
- a(i, {
94
+ a(p, {
102
95
  type: "textarea",
103
96
  modelValue: l(o).conn,
104
97
  "onUpdate:modelValue": n[2] || (n[2] = (e) => l(o).conn = e)
@@ -106,7 +99,7 @@ const w = { class: "option-text" }, E = {
106
99
  ]),
107
100
  _: 1
108
101
  }),
109
- a(m, null, {
102
+ a(s, null, {
110
103
  default: t(() => [
111
104
  a(q, {
112
105
  type: "primary",
@@ -131,5 +124,5 @@ const w = { class: "option-text" }, E = {
131
124
  }
132
125
  });
133
126
  export {
134
- J as default
127
+ F as default
135
128
  };
@@ -0,0 +1,41 @@
1
+ import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
2
+ import { X as K, z as k } from "./main-65efBfek.js";
3
+ const B = /* @__PURE__ */ c({
4
+ __name: "Int",
5
+ props: {
6
+ schema: {},
7
+ table: {},
8
+ field: {},
9
+ set: {},
10
+ row: {},
11
+ modelValue: {}
12
+ },
13
+ emits: ["submit", "change", "update:modelValue"],
14
+ setup(r, { emit: i }) {
15
+ let l = i, s = r, { table: d, field: n, set: w, modelValue: a } = f(s), p = () => {
16
+ l("submit");
17
+ }, t = _({
18
+ get() {
19
+ if (K.isNumber(a.value))
20
+ return a.value;
21
+ },
22
+ set(o) {
23
+ l("update:modelValue", o), l("change", o);
24
+ }
25
+ });
26
+ return (o, u) => {
27
+ const b = V("el-input-number");
28
+ return g(), h(b, {
29
+ "aria-label": e(k)(e(d).name, e(n).name),
30
+ "controls-position": "right",
31
+ disabled: e(n).control.readonly,
32
+ onKeyup: v(e(p), ["enter", "native"]),
33
+ modelValue: e(t),
34
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
35
+ }, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
36
+ };
37
+ }
38
+ });
39
+ export {
40
+ B as default
41
+ };
@@ -1,13 +1,6 @@
1
1
  import { defineComponent as f, toRefs as _, computed as h, resolveComponent as b, openBlock as V, createBlock as g, unref as e, withKeys as y, 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/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { t as k, f as x } from "./main-RpQODrQa.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const v = /* @__PURE__ */ f({
2
+ import { U, q as k } from "./main-65efBfek.js";
3
+ const C = /* @__PURE__ */ f({
11
4
  __name: "Int",
12
5
  props: {
13
6
  schema: {},
@@ -17,29 +10,29 @@ const v = /* @__PURE__ */ f({
17
10
  modelValue: {}
18
11
  },
19
12
  emits: ["change", "submit", "update:modelValue"],
20
- setup(a, { emit: p }) {
21
- let l = p, r = a, { table: i, field: u, searchData: B, modelValue: s } = _(r), d = () => {
13
+ setup(m, { emit: u }) {
14
+ let l = u, s = m, { table: p, field: r, searchData: q, modelValue: i } = _(s), d = () => {
22
15
  l("submit");
23
16
  }, o = h({
24
17
  get() {
25
- return s.value;
18
+ return i.value;
26
19
  },
27
20
  set(t) {
28
21
  isNaN(t) && (t = null), l("update:modelValue", t), l("change", t);
29
22
  }
30
23
  });
31
- return (t, m) => {
24
+ return (t, n) => {
32
25
  const c = b("el-input-number");
33
26
  return V(), g(c, {
34
- placeholder: e(k)("common.please_input") + e(x)(e(i).name, e(u).name),
27
+ placeholder: e(U)("common.please_input") + e(k)(e(p).name, e(r).name),
35
28
  "controls-position": "right",
36
29
  onKeyup: y(e(d), ["enter", "native"]),
37
30
  modelValue: e(o),
38
- "onUpdate:modelValue": m[0] || (m[0] = (n) => K(o) ? o.value = n : o = n)
31
+ "onUpdate:modelValue": n[0] || (n[0] = (a) => K(o) ? o.value = a : o = a)
39
32
  }, null, 8, ["placeholder", "onKeyup", "modelValue"]);
40
33
  };
41
34
  }
42
35
  });
43
36
  export {
44
- v as default
37
+ C as default
45
38
  };