halo-pc 1.0.35 → 1.0.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. package/dist/{Article-BqULjBoz.js → Article-DSuvpyeC.js} +59 -62
  2. package/dist/{ArticleFooter-CRepUD0G.js → ArticleFooter-Cx3OC7sV.js} +3 -4
  3. package/dist/{Autocomplete-DW-EQzP_.js → Autocomplete-1jt0wRMS.js} +1 -1
  4. package/dist/{Autocomplete-DxWoCy2-.js → Autocomplete-C7CYy8w6.js} +8 -9
  5. package/dist/{Autocomplete-Dl8yr0gI.js → Autocomplete-DASTUS8d.js} +5 -6
  6. package/dist/{CSharp-CHmrfPD-.js → CSharp-CebNTVPd.js} +1 -1
  7. package/dist/{Calender-BX22DnMb.js → Calender-BBILvX8n.js} +4 -4
  8. package/dist/{Callback-BGchl5Pt.js → Callback-CLA9Ab9q.js} +5 -6
  9. package/dist/Cascader-DY2zOwsa.js +47 -0
  10. package/dist/{Cascader-Wmh_fOfd.js → Cascader-DyQ312mS.js} +12 -13
  11. package/dist/{Checkbox-ClYubr5_.js → Checkbox-CHmMU0Cs.js} +1 -1
  12. package/dist/{Checkbox-BhDHYVQv.js → Checkbox-CyC_mo50.js} +3 -4
  13. package/dist/Code-B4Z7WuUc.js +42 -0
  14. package/dist/Code-BOTf1uZ5.js +60 -0
  15. package/dist/{Code-Dw8__whP.js → Code-CIFJJJo3.js} +1 -1
  16. package/dist/Code-Da4PjT9q.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-ChjwMs7I.js +63 -0
  18. package/dist/{Column-CNqrSNAW.js → Column-9A6-8_Y7.js} +23 -19
  19. package/dist/{Comment-BNLLGPGB.js → Comment-D78rr4-n.js} +34 -30
  20. package/dist/{Compare-BjIr4vt8.js → Compare-Cb9vYPl5.js} +3 -4
  21. package/dist/{Compare-C5P2t4Iq.js → Compare-DLiL32cA.js} +3 -4
  22. package/dist/{Copy-CvBsdMqw.js → Copy-CH2_hawJ.js} +8 -9
  23. package/dist/Custom-D9qN9bwa.js +59 -0
  24. package/dist/{DataExport-J7a12xRD.js → DataExport-D8cqXPrh.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BQ0WNRqq.js → DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js} +12 -13
  26. package/dist/{DataImport-BgrxhdBP.js → DataImport-3KwXYYGw.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-0AgII-Ro.js → DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js} +3 -4
  28. package/dist/{Date-CqL3Xp1L.js → Date-OZxdofhB.js} +1 -1
  29. package/dist/{Date-iWorFEXN.js → Date-yHlD-Lw2.js} +8 -9
  30. package/dist/{DateRange-Cfpeirwq.js → DateRange-BLSxDHKv.js} +3 -4
  31. package/dist/{DateTime-Dv0U5rlW.js → DateTime-8tbpOKOK.js} +5 -6
  32. package/dist/{DateTime-fa-BOHE8.js → DateTime-B7GzMj8Q.js} +1 -1
  33. package/dist/{DateTimeRange-B0pw5ZiA.js → DateTimeRange-COFWmQoO.js} +6 -7
  34. package/dist/{Daterange-DMGOeSyF.js → Daterange-Cy8l4CfJ.js} +8 -9
  35. package/dist/{Decimal-ynN-XKqW.js → Decimal-Dw6EtZOm.js} +1 -1
  36. package/dist/{Delete-DKYI0lCr.js → Delete-DjXSCUKp.js} +15 -16
  37. package/dist/{Detail-Br-ULMjV.js → Detail-DU8mI4u2.js} +3 -4
  38. package/dist/{Dictionary-C3z2FWDL.js → Dictionary-CAAvUqf-.js} +10 -6
  39. package/dist/{Email-B2DsICjF.js → Email-AHWpz5Ck.js} +5 -6
  40. package/dist/{File-hdUkjji3.js → File-DUxwHR5G.js} +19 -20
  41. package/dist/Image-BJ5q87B6.js +9 -0
  42. package/dist/Index-CF44rsZW.js +4 -0
  43. package/dist/Index-CnFjsuQV.js +4 -0
  44. package/dist/{Index-ChcEoqTf.js → Index-D223MCYD.js} +35 -36
  45. package/dist/Index-DCIDLocj.js +4 -0
  46. package/dist/{Index-ySmCcOc1.js → Index-Jt1omrn-.js} +1 -1
  47. package/dist/{Index-BQB6vWfH.js → Index-KTv20XtO.js} +1 -1
  48. package/dist/{Index-Bnw6u3PZ.js → Index-Z8HW5XAm.js} +4 -5
  49. package/dist/Index-qIfIbiFH.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-CZXsC-E_.js → Index.vue_vue_type_script_setup_true_lang-BznVrY52.js} +27 -25
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-GUuR0vzO.js → Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js} +6 -7
  52. package/dist/{Install-0oA4rPM7.js → Install-C-xxCx9D.js} +10 -11
  53. package/dist/{Int-CNHen_OB.js → Int-1QpMyTPB.js} +3 -4
  54. package/dist/{Int-CYCrDfkF.js → Int-BsHpY5Gt.js} +6 -7
  55. package/dist/List-DW7FpMfd.js +72 -0
  56. package/dist/Maintaince-CjUfJUr7.js +20 -0
  57. package/dist/{Markdown-CcnI9mz9.js → Markdown-BZhSwheI.js} +1 -1
  58. package/dist/{Month-D_9DFUV2.js → Month-BKXtBi6i.js} +1 -1
  59. package/dist/{Month-N0iGv8-c.js → Month-IJnA7Kgl.js} +8 -9
  60. package/dist/{Month-BBF1HARy.js → Month-m0FiTmBK.js} +6 -7
  61. package/dist/{Normal-DwZJydUM.js → Normal-CettIwbU.js} +65 -66
  62. package/dist/Paging-J9vCBFzM.js +93 -0
  63. package/dist/{PagingHeader-GXUua6cK.js → PagingHeader-irWrEKGQ.js} +4 -5
  64. package/dist/{PagingRow-DeZCXdLB.js → PagingRow-Bft1brFD.js} +3 -4
  65. package/dist/{Racebar-BXFHoJrk.js → Racebar-D3VFwM1V.js} +28 -24
  66. package/dist/{Radio-nUkqPIGx.js → Radio-C-IwNXnz.js} +1 -1
  67. package/dist/{Register-DNXmULLI.js → Register-XTfqbbgr.js} +38 -39
  68. package/dist/{RichText-COY92auQ.js → RichText-D3aLlQph.js} +14 -10
  69. package/dist/{SearchFooter-B-2TAXcZ.js → SearchFooter-hC7sQBez.js} +1 -1
  70. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js +55 -0
  71. package/dist/{SearchForm-B1KLbbyY.js → SearchForm-BTux7Adt.js} +1 -1
  72. package/dist/SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js +143 -0
  73. package/dist/{Select-Bw_B6ufE.js → Select-ClAK8aNJ.js} +10 -11
  74. package/dist/{Select-CGamhz-L.js → Select-DlM_C-60.js} +1 -1
  75. package/dist/{Select-D8xfJf8j.js → Select-K1dU20i2.js} +13 -14
  76. package/dist/{Single-DIveQskP.js → Single-DYDwq041.js} +66 -69
  77. package/dist/{Statistic-D5iiPISQ.js → Statistic-CidgrAcU.js} +6 -7
  78. package/dist/{Stock-B3zJIs1k.js → Stock-BFszdaCn.js} +1 -1
  79. package/dist/{Stock-bO6XUouM.js → Stock-BiuhsKPB.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-CCOJ4-No.js → Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js} +6 -7
  81. package/dist/{Switch-DssI1IBh.js → Switch-TI8J8-E2.js} +1 -1
  82. package/dist/{Table-BO316Cbq.js → Table-DJOSPNrn.js} +123 -130
  83. package/dist/{Table-DXcpuTmH.js → Table-DYELgaTY.js} +60 -61
  84. package/dist/{Text-BCIG-FSm.js → Text-DAliAA9U.js} +1 -1
  85. package/dist/{Text-Eu5ow8IQ.js → Text-DEv-wMFU.js} +3 -4
  86. package/dist/Text-Dy6uYSm3.js +49 -0
  87. package/dist/Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js +59 -0
  88. package/dist/{TextLink-jLpxiMgK.js → TextLink-CKPExcuj.js} +5 -6
  89. package/dist/{Textarea-Bx3eU0TB.js → Textarea-CEv7HYqY.js} +1 -1
  90. package/dist/{Time-CwdRY8H-.js → Time-BeTq6Tq3.js} +9 -10
  91. package/dist/{Timeline-BPtq0iG0.js → Timeline-BI2o8Kug.js} +14 -10
  92. package/dist/{Tree-DxerBKds.js → Tree-BPeNz1X4.js} +60 -63
  93. package/dist/{Tree-IuRYghPt.js → Tree-DlIrY3e2.js} +34 -30
  94. package/dist/{TreeNode-DAY80hF6.js → TreeNode-CzM6Npi5.js} +5 -6
  95. package/dist/{Update-CSuOw8uK.js → Update-Bv6Lp8LZ.js} +3 -4
  96. package/dist/{UpdateChild-d6-0uHpZ.js → UpdateChild-mrF1t5G8.js} +3 -4
  97. package/dist/{Upload-CQoGLh54.js → Upload-B0dBN1oH.js} +18 -14
  98. package/dist/{Upload-Qrc2AkBp.js → Upload-BCdzJlzR.js} +15 -16
  99. package/dist/{Year-FnibDcf1.js → Year-2hJSZcj_.js} +12 -13
  100. package/dist/{Year-DmEcvxnt.js → Year-DLITl-_8.js} +1 -1
  101. package/dist/assets/{liquidjs-B8dqQyVv.js → liquidjs-C2HVw1Ra.js} +82 -81
  102. package/dist/main-SNlEeN01.js +10337 -0
  103. package/dist/main.js +144 -135
  104. package/dist/style.css +1 -1
  105. package/esm/coms/business/@types/DriverProps.d.ts +1 -6
  106. package/esm/coms/business/@types/FormProps.d.ts +0 -12
  107. package/esm/coms/business/@types/index.d.ts +1 -3
  108. package/esm/coms/business/Condition.vue.d.ts +6 -3
  109. package/esm/coms/business/Drawer.vue.d.ts +9 -4
  110. package/esm/coms/business/Driver.vue.d.ts +1 -0
  111. package/esm/coms/business/Form.vue.d.ts +1 -5
  112. package/esm/coms/business/index.d.ts +1 -3
  113. package/esm/coms/commons/index.d.ts +1 -2
  114. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  115. package/esm/coms/drivers/@types/CrudProps.d.ts +22 -0
  116. package/esm/coms/drivers/@types/DriverBaseProps.d.ts +14 -0
  117. package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
  118. package/esm/coms/drivers/@types/DriverFormProps.d.ts +15 -0
  119. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
  120. package/esm/coms/drivers/@types/DriverProps.d.ts +29 -0
  121. package/esm/coms/drivers/@types/KindFormProps.d.ts +17 -0
  122. package/esm/coms/drivers/@types/KindProps.d.ts +21 -0
  123. package/esm/coms/drivers/@types/index.d.ts +6 -0
  124. package/esm/coms/drivers/Crud.vue.d.ts +27 -0
  125. package/esm/coms/drivers/Index.vue.d.ts +114 -0
  126. package/esm/coms/drivers/Kind.vue.d.ts +33 -0
  127. package/esm/coms/drivers/index.d.ts +5 -0
  128. package/esm/coms/globals/@types/WindowEmit.d.ts +14 -0
  129. package/esm/coms/globals/@types/index.d.ts +2 -1
  130. package/esm/coms/globals/HeaderTabs.vue.d.ts +6 -3
  131. package/esm/coms/globals/Window.vue.d.ts +1 -38
  132. package/esm/coms/index.d.ts +1 -0
  133. package/esm/coms/layouts/Index.vue.d.ts +7 -3
  134. package/esm/coms/layouts/Side.vue.d.ts +5 -2
  135. package/esm/coms/layouts/Top.vue.d.ts +4 -1
  136. package/esm/coms/lists/Tree.vue.d.ts +4 -3
  137. package/esm/coms/pages/@types/index.d.ts +1 -2
  138. package/esm/coms/pages/Custom.vue.d.ts +2 -1
  139. package/esm/coms/pages/Delete.vue.d.ts +2 -2
  140. package/esm/coms/pages/List.vue.d.ts +3 -3
  141. package/esm/coms/pages/Paging.vue.d.ts +4 -3
  142. package/esm/coms/pages/Single.vue.d.ts +6 -5
  143. package/esm/coms/pagings/@types/SearchFooterProps.d.ts +10 -0
  144. package/esm/coms/pagings/@types/SearchFormProps.d.ts +7 -0
  145. package/esm/coms/pagings/@types/index.d.ts +3 -1
  146. package/esm/coms/pagings/Article.vue.d.ts +4 -3
  147. package/esm/coms/pagings/Index.vue.d.ts +4 -3
  148. package/esm/coms/pagings/SearchFooter.vue.d.ts +6 -109
  149. package/esm/coms/pagings/SearchForm.vue.d.ts +6 -65
  150. package/esm/coms/pagings/Table.vue.d.ts +4 -3
  151. package/esm/coms/panels/Operation.vue.d.ts +3 -2
  152. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  153. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  154. package/esm/coms/partials/PagingHeader.vue.d.ts +3 -3
  155. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  156. package/esm/coms/partials/Update.vue.d.ts +1 -1
  157. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  158. package/esm/coms/searches/Text.vue.d.ts +5 -7
  159. package/esm/repos/index.d.ts +1 -2
  160. package/esm/svcs/ModuleSvc.d.ts +40 -0
  161. package/esm/svcs/RouterSvc.d.ts +1 -1
  162. package/esm/svcs/StandardSvc.d.ts +2 -6
  163. package/esm/svcs/WindowSvc.d.ts +2 -2
  164. package/esm/svcs/index.d.ts +3 -3
  165. package/package.json +11 -11
  166. package/dist/Cascader-BpXwryCx.js +0 -43
  167. package/dist/Code-BQxUo4S4.js +0 -38
  168. package/dist/Code-BjpkNJAb.js +0 -4
  169. package/dist/Code-Co49-iRF.js +0 -56
  170. package/dist/Code.vue_vue_type_style_index_0_lang-DNzXcIII.js +0 -60
  171. package/dist/Custom-QVZ_RHXN.js +0 -62
  172. package/dist/Image-CwVoPF1W.js +0 -9
  173. package/dist/Index-BC2FQhAY.js +0 -4
  174. package/dist/Index-CBDxaC44.js +0 -4
  175. package/dist/Index-CT0cKXYs.js +0 -4
  176. package/dist/Index-D1ZbAjix.js +0 -4
  177. package/dist/List-Ci3F9DOP.js +0 -75
  178. package/dist/Maintaince-D7QKNnFc.js +0 -16
  179. package/dist/Paging-bRw8LIxA.js +0 -96
  180. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-97vAug1N.js +0 -55
  181. package/dist/SearchForm.vue_vue_type_style_index_0_lang-B3LUX2ZJ.js +0 -146
  182. package/dist/Text-BhvhxnY_.js +0 -55
  183. package/dist/Text.vue_vue_type_style_index_0_lang-C2rphbrS.js +0 -55
  184. package/dist/main-BCxKY4GT.js +0 -9933
@@ -1,56 +0,0 @@
1
- import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as n, isRef as k } from "vue";
2
- import { l as x } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const $ = /* @__PURE__ */ b({
6
- __name: "Code",
7
- props: {
8
- schema: {},
9
- table: {},
10
- field: {},
11
- set: {},
12
- row: {},
13
- modelValue: {}
14
- },
15
- emits: ["submit", "change", "update:modelValue"],
16
- setup(d, { emit: g }) {
17
- let c = g, f = d, { table: s, field: a, set: y, row: i, modelValue: p } = h(f), o = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
18
- let l = m(a.value.control.scrollTop);
19
- l && (i.value[l.name] = e);
20
- }, V = () => {
21
- let e = r(a.value.control.scrollTop);
22
- if (e && (o.value.scrollTop = parseInt(e)), o.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
23
- o.value.language = a.value.control.language;
24
- else {
25
- let l = r(a.value.control.languageField);
26
- l && (o.value.language = l);
27
- }
28
- a.value.control.schema && (o.value.schema = a.value.control.schema, o.value.category = `${s.value.name}.${a.value.name}`);
29
- }, r = (e) => {
30
- let l = m(e);
31
- return l ? i.value[l.name] : null;
32
- }, m = (e) => e ? s.value.fields.find((u) => u.name == e) : null;
33
- V();
34
- let t = T({
35
- get() {
36
- return p.value ?? "";
37
- },
38
- set(e) {
39
- c("update:modelValue", e), c("change", e);
40
- }
41
- });
42
- return _(() => r(a.value.control.languageField), (e, l) => {
43
- o.value.language = e;
44
- }), (e, l) => (w(), N(n(x), {
45
- class: "control-code",
46
- border: "",
47
- config: n(o),
48
- onScroll: n(v),
49
- modelValue: n(t),
50
- "onUpdate:modelValue": l[0] || (l[0] = (u) => k(t) ? t.value = u : t = u)
51
- }, null, 8, ["config", "onScroll", "modelValue"]));
52
- }
53
- });
54
- export {
55
- $ as default
56
- };
@@ -1,60 +0,0 @@
1
- import { defineComponent as C, toRefs as h, ref as d, onMounted as b, resolveComponent as m, openBlock as n, createElementBlock as u, createVNode as i, 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 { Q as N, l as Q } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const R = { class: "ha-code-layout" }, z = /* @__PURE__ */ C({
6
- __name: "Code",
7
- props: {
8
- route: {},
9
- validateErrors: {},
10
- module: {},
11
- schema: {},
12
- table: {},
13
- layout: {},
14
- next: {},
15
- set: {}
16
- },
17
- emits: ["submit", "change"],
18
- setup(g, { emit: U }) {
19
- let V = g, { module: w, schema: A, table: D, layout: l, next: F, set: M } = h(V), r = d({}), t = d(), v = () => {
20
- t.value = l.value.languages[0];
21
- };
22
- return b(() => {
23
- v(), N.loadCodeLanguage().then((s) => {
24
- s.forEach((a) => {
25
- r.value[a.text] = a.suffix;
26
- });
27
- });
28
- }), (s, a) => {
29
- const x = m("el-radio"), y = m("el-radio-group");
30
- return n(), u("div", R, [
31
- i(y, {
32
- modelValue: e(t),
33
- "onUpdate:modelValue": a[0] || (a[0] = (o) => k(t) ? t.value = o : t = o)
34
- }, {
35
- default: p(() => [
36
- (n(!0), u(c, null, B(e(l).languages, (o) => (n(), E(x, { value: o }, {
37
- default: p(() => [
38
- _(f(o) + " ", 1),
39
- e(r)[o] ? (n(), u(c, { key: 0 }, [
40
- _("(" + f(e(r)[o]) + ")", 1)
41
- ], 64)) : L("", !0)
42
- ]),
43
- _: 2
44
- }, 1032, ["value"]))), 256))
45
- ]),
46
- _: 1
47
- }, 8, ["modelValue"]),
48
- i(e(Q), {
49
- border: "",
50
- config: { language: e(r)[e(t)] },
51
- modelValue: e(l).codes[e(t)],
52
- "onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
53
- }, null, 8, ["config", "modelValue"])
54
- ]);
55
- };
56
- }
57
- });
58
- export {
59
- z as _
60
- };
@@ -1,62 +0,0 @@
1
- import { defineComponent as L, toRefs as B, ref as u, openBlock as i, createBlock as s, KeepAlive as H, resolveDynamicComponent as N, unref as r } from "vue";
2
- import { U as f, m as A, t as D } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const $ = /* @__PURE__ */ L({
6
- __name: "Custom",
7
- props: {
8
- view: {},
9
- url: {},
10
- win: {}
11
- },
12
- emits: ["loaded", "navigate"],
13
- setup(m, { expose: v, emit: d }) {
14
- let n = d, c = m, { url: o, win: p, view: h } = B(c), l = u(), g = u({}), k = (e) => {
15
- var a;
16
- let t = (a = l.value) == null ? void 0 : a.beforeClose;
17
- t && t(e);
18
- }, w = (e) => {
19
- l.value == null || l.value.resize == null || l.value.resize(e);
20
- }, C = (e) => !0, b = (e) => !0, y = () => {
21
- var t;
22
- let e = (t = l.value) == null ? void 0 : t.refresh;
23
- if (!e) {
24
- let a = f.url.getPath(o.value);
25
- A.notify(D("common.tips"), `要实现自定义刷新功能,请在组件 ${a} 内部定义并暴露refresh方法即可`, "warning");
26
- return;
27
- }
28
- e();
29
- }, _ = (e, t) => {
30
- if (!l.value || !l.value.keyboard)
31
- return !1;
32
- l.value.keyboard(e, t);
33
- }, x = (e) => {
34
- l.value.socketHandler(e);
35
- }, R = (e) => {
36
- if (e == null)
37
- return;
38
- let t = g.value;
39
- if (t[o.value] != null) {
40
- l.value = t[o.value];
41
- return;
42
- }
43
- f.dictionary.containsValue(t, e) || (t[o.value] = e, l.value = e);
44
- }, U = (e) => {
45
- n("loaded", e);
46
- }, z = (e) => {
47
- n("navigate", e);
48
- };
49
- return v({ shouldLoad: C, shouldSpin: b, refresh: y, beforeClose: k, keyboard: _, resize: w, socketHandler: x }), (e, t) => (i(), s(H, null, [
50
- (i(), s(N(r(h)), {
51
- ref: r(R),
52
- url: r(o),
53
- win: r(p),
54
- onLoaded: r(U),
55
- onNavigate: r(z)
56
- }, null, 40, ["url", "win", "onLoaded", "onNavigate"]))
57
- ], 1024));
58
- }
59
- });
60
- export {
61
- $ as default
62
- };
@@ -1,9 +0,0 @@
1
- import { o as e } from "./main-BCxKY4GT.js";
2
- const r = {};
3
- function c(n, t) {
4
- return null;
5
- }
6
- const _ = /* @__PURE__ */ e(r, [["render", c]]);
7
- export {
8
- _ as default
9
- };
@@ -1,4 +0,0 @@
1
- import { g as f } from "./main-BCxKY4GT.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { N as f } from "./main-BCxKY4GT.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { a as f } from "./main-BCxKY4GT.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { C as f } from "./main-BCxKY4GT.js";
2
- export {
3
- f as default
4
- };
@@ -1,75 +0,0 @@
1
- import { defineComponent as U, toRefs as B, ref as o, watch as E, openBlock as F, createBlock as T, resolveDynamicComponent as V, unref as t, withCtx as $, createElementVNode as j, toDisplayString as A } from "vue";
2
- import { U as n, b as G, i as H, s as d, c as I } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const J = { class: "not-support" }, X = /* @__PURE__ */ U({
6
- __name: "List",
7
- props: {
8
- base: {},
9
- route: {},
10
- url: {},
11
- win: {}
12
- },
13
- emits: ["load", "navigate"],
14
- setup(_, { expose: S, emit: P }) {
15
- let m = P, k = _, { url: h, base: p, route: r } = B(k), f = o(), i = o(), s = o(), y = o(), g = o(), u = o(), c = o(), q = (e) => {
16
- let l = n.url.getPath(e), a = n.url.getPath(h.value);
17
- return l != a;
18
- }, C = (e) => {
19
- let l = n.url.getPath(h.value), a = n.url.getPath(e);
20
- return l != a;
21
- }, x = (e) => {
22
- var a;
23
- let l = G(e.module.type, e.module.name);
24
- H.setTitle(l, e.module.env), f.value = e.module, i.value = d.expandSchema(e.schema, e.set), s.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(i.value, r.value.query.condition);
25
- }, v = (e = null, l = null) => {
26
- let a = e ?? r.value.query, N = n.url.getUrl(r.value.path, a);
27
- m("load", N, !1, l);
28
- }, R = (e) => {
29
- v(null, e);
30
- }, w = (e) => {
31
- m("navigate", e);
32
- }, D = async (e) => {
33
- let l = r.value.query;
34
- l.condition = I.encode(c.value), v(l, e);
35
- }, b = () => {
36
- v();
37
- }, z = (e, l) => {
38
- if (!u.value || !u.value.keyboard)
39
- return !1;
40
- u.value.keyboard(e, l);
41
- }, L = (e) => {
42
- if (!u.value || !u.value.resize)
43
- return !1;
44
- u.value.resize(e);
45
- };
46
- return (() => {
47
- x(p.value.data);
48
- })(), E(() => p.value, (e) => {
49
- x(e.data);
50
- }), S({ shouldLoad: q, shouldSpin: C, refresh: b, keyboard: z, resize: L }), (e, l) => (F(), T(V(`list-${t(s).layouts[0].type.toLowerCase()}`), {
51
- ref_key: "listRef",
52
- ref: u,
53
- route: t(r),
54
- module: t(f),
55
- schema: t(i),
56
- table: t(s),
57
- layout: t(s).layouts[0],
58
- next: t(y),
59
- set: t(g),
60
- "search-data": t(c),
61
- onSucceed: t(R),
62
- onSearch: t(D),
63
- onNavigate: t(w),
64
- onRefresh: t(b)
65
- }, {
66
- default: $(() => [
67
- j("div", J, "未支持的列表布局方式:" + A(t(s).layouts[0].type), 1)
68
- ]),
69
- _: 1
70
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
71
- }
72
- });
73
- export {
74
- X as default
75
- };
@@ -1,16 +0,0 @@
1
- import { defineComponent as n, openBlock as o, createElementBlock as i, createElementVNode as e, toDisplayString as s, unref as r } from "vue";
2
- import { y as a } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const c = { class: "maintenance" }, m = { class: "description" }, v = /* @__PURE__ */ n({
6
- __name: "Maintaince",
7
- setup(p) {
8
- return (l, t) => (o(), i("div", c, [
9
- t[0] || (t[0] = e("div", { class: "title" }, "系统维护中", -1)),
10
- e("div", m, s(r(a)), 1)
11
- ]));
12
- }
13
- });
14
- export {
15
- v as default
16
- };
@@ -1,96 +0,0 @@
1
- import { defineComponent as $, toRefs as A, ref as n, onMounted as E, watch as G, unref as a, openBlock as H, createBlock as I, createCommentVNode as K } from "vue";
2
- import { U as o, b as Q, i as W, s as m, c as b } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- import { _ as X } from "./Index.vue_vue_type_script_setup_true_lang-CZXsC-E_.js";
6
- const ae = /* @__PURE__ */ $({
7
- __name: "Paging",
8
- props: {
9
- base: {},
10
- route: {},
11
- url: {},
12
- win: {}
13
- },
14
- emits: ["navigate", "load"],
15
- setup(q, { expose: k, emit: z }) {
16
- let d = z, P = q, { url: p, base: y, route: u } = A(P), f = n(), v = n(), c = n(), h = n(), x = n(), C = n(), g = n(), s = n(), N = (e) => !0, L = (e) => {
17
- let l = o.url.getPath(p.value), t = o.url.getPath(e);
18
- return l != t;
19
- }, R = (e = null) => {
20
- _(e);
21
- }, w = () => {
22
- }, S = (e) => {
23
- var t;
24
- let l = Q(e.module.type, e.module.name);
25
- W.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, C.value = m.expandSet(e.schema, e.set), v.value = m.expandSchema(e.schema, e.set), c.value = (t = v.value) == null ? void 0 : t[0], h.value = c.value.layouts[0], g.value = m.getConditionForm(v.value, u.value.query.condition);
26
- }, U = (e = null, l = null) => {
27
- let t = e ?? u.value.query, r = o.url.getUrl(u.value.path, t);
28
- d("load", r, !1, (V) => {
29
- l && l(V);
30
- });
31
- }, i = (e, l) => {
32
- d("navigate", e, l);
33
- }, B = async (e) => {
34
- let l = u.value.query;
35
- l.page = 1;
36
- let t = o.object.pure(g.value);
37
- l.condition = b.encode(t);
38
- let r = o.url.getUrl(u.value.path, l);
39
- r == p.value ? U(l, e) : i(r, e);
40
- }, D = (e, l) => {
41
- let t = u.value.query;
42
- t.order_by = b.encode(JSON.stringify(e));
43
- let r = o.url.getUrl(u.value.path, t);
44
- i(r, l);
45
- }, j = (e, l = null) => {
46
- let t = u.value.query;
47
- t.page = e;
48
- let r = o.url.getUrl(u.value.path, t);
49
- i(r, l);
50
- }, F = (e, l = null) => {
51
- let t = u.value.query;
52
- t.size = e;
53
- let r = o.url.getUrl(u.value.path, t);
54
- i(r, l);
55
- }, J = (e) => {
56
- h.value = c.value.layouts.find((l) => l.type == e);
57
- }, M = () => {
58
- S(y.value.data);
59
- }, _ = (e = null) => U(null, e), O = (e) => {
60
- if (!s.value || !s.value.resize)
61
- return !1;
62
- s.value.resize(e);
63
- }, T = (e, l) => {
64
- if (!s.value || !s.value.keyboard)
65
- return !1;
66
- s.value.keyboard(e, l);
67
- };
68
- return E(async () => {
69
- M();
70
- }), G(() => y.value, (e) => {
71
- S(e.data);
72
- }), k({ shouldLoad: N, shouldSpin: L, refresh: _, keyboard: T, resize: O }), (e, l) => a(h) ? (H(), I(X, {
73
- key: 0,
74
- ref_key: "pagingRef",
75
- ref: s,
76
- module: a(f),
77
- next: a(x),
78
- set: a(C),
79
- schema: a(v),
80
- table: a(c),
81
- layout: a(h),
82
- "search-data": a(g),
83
- onNavigate: a(i),
84
- onSort: a(D),
85
- onSearch: a(B),
86
- onPageChange: a(j),
87
- onSizeChange: a(F),
88
- onLayoutChange: a(J),
89
- onSucceed: a(R),
90
- onClose: a(w)
91
- }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : K("", !0);
92
- }
93
- });
94
- export {
95
- ae as default
96
- };
@@ -1,55 +0,0 @@
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 { d as A } from "./main-BCxKY4GT.js";
3
- const E = { class: "search-footer" }, I = /* @__PURE__ */ f({
4
- __name: "SearchFooter",
5
- props: {
6
- schema: { type: Array },
7
- table: { type: Object, required: !0 },
8
- layout: { type: Object, required: !0 },
9
- set: { type: Object, required: !0 },
10
- next: { type: Object, required: !0 },
11
- selection: { type: Array },
12
- searchData: { type: Object }
13
- },
14
- emits: ["search", "succeed", "add", "remove", "copy", "show-import", "show-export"],
15
- setup(a, { emit: n }) {
16
- let o = n, s = a, { schema: p, table: r, layout: l, set: m, next: u, selection: d, searchData: k } = g(s), h = (t) => {
17
- o("search", t);
18
- }, i = () => {
19
- o("succeed");
20
- }, y = (t) => {
21
- o("add", t);
22
- }, b = (t) => {
23
- o("remove", t);
24
- }, x = () => {
25
- o("copy");
26
- }, w = () => {
27
- o("show-import");
28
- }, S = () => {
29
- o("show-export");
30
- }, v = j(() => {
31
- let t = `/${r.value.name}/paging-header`;
32
- return A.getComponent(t, "partial", "paging-header");
33
- });
34
- return (t, _) => (c(), C("div", E, [
35
- (c(), O(q(e(v)), {
36
- schema: e(p),
37
- table: e(r),
38
- layout: e(l),
39
- next: e(u),
40
- set: e(m),
41
- selection: e(d),
42
- onAdd: e(y),
43
- onRemove: e(b),
44
- onCopy: e(x),
45
- onShowImport: e(w),
46
- onShowExport: e(S),
47
- onSucceed: e(i),
48
- onSubmit: e(h)
49
- }, null, 40, ["schema", "table", "layout", "next", "set", "selection", "onAdd", "onRemove", "onCopy", "onShowImport", "onShowExport", "onSucceed", "onSubmit"]))
50
- ]));
51
- }
52
- });
53
- export {
54
- I as _
55
- };
@@ -1,146 +0,0 @@
1
- import { defineComponent as I, toRefs as J, ref as p, onMounted as K, 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 U, toDisplayString as Y, createCommentVNode as Z } from "vue";
2
- import { U as ee, s as B, f as te, C as ae } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const se = /* @__PURE__ */ I({
6
- __name: "SearchForm",
7
- props: {
8
- schema: { type: Array, required: !0 },
9
- table: { type: Object, required: !0 },
10
- layout: { type: Object, required: !0 },
11
- searchData: { type: Object, required: !0 }
12
- },
13
- emits: ["change", "submit", "mounted"],
14
- setup(D, { expose: M, emit: N }) {
15
- let C = N, T = D, { schema: F, table: u, layout: w, searchData: h } = J(T), V = p(), k = p(), W = p(), d = p(), E = (e) => {
16
- C("change", e);
17
- }, S = (e = null) => {
18
- C("submit");
19
- }, L = (e, t) => {
20
- let l = e == "*" ? null : e;
21
- h.value[u.value.name][t.name] = l, S();
22
- }, R = () => {
23
- V.value && (k.value = V.value.$el.clientWidth);
24
- }, $ = (e) => {
25
- R();
26
- }, j = () => {
27
- let e = w.value.tabs;
28
- if (e)
29
- for (let t = 0; t < e.length; t++) {
30
- let l = e[t];
31
- d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
32
- }
33
- };
34
- d.value = ee.object.clone(h.value), j(), K(() => {
35
- R(), P(() => {
36
- C("mounted");
37
- });
38
- });
39
- let z = O(() => {
40
- if (!k.value)
41
- return [];
42
- let e = Math.ceil(k.value / 200), t = B.expandSearch(F.value), l = w.value.tabs ?? [], c = t.filter((f) => l.indexOf(f.name) == -1);
43
- return B.getLines(c, e, (f) => f, () => 1);
44
- }), q = O(() => {
45
- let e = [], t = w.value.tabs;
46
- return t && t.forEach((l) => {
47
- let c = u.value.fields.find((b) => b.name == l);
48
- e.push(c);
49
- }), e;
50
- });
51
- return Q(() => h.value, (e, t) => {
52
- j();
53
- }), M({ resize: $ }), (e, t) => {
54
- const l = m("el-radio-button"), c = m("el-radio-group"), b = m("el-form-item"), f = m("el-col"), A = m("el-row"), G = m("el-form"), H = m("el-scrollbar");
55
- return r(), i(H, {
56
- "max-height": "200px",
57
- class: "search-form"
58
- }, {
59
- default: n(() => [
60
- a(u).search.length > 0 ? (r(), i(G, {
61
- key: 0,
62
- ref_key: "searchFormRef",
63
- ref: V,
64
- "label-position": "left",
65
- inline: "",
66
- onSubmit: t[0] || (t[0] = X(() => {
67
- }, ["prevent"]))
68
- }, {
69
- default: n(() => [
70
- (r(!0), v(g, null, x(a(q), (s, _) => (r(), i(b, {
71
- class: "search-tab",
72
- label: s.label,
73
- "label-width": 50
74
- }, {
75
- default: n(() => [
76
- y(c, {
77
- ref_for: !0,
78
- ref_key: "tabRefs",
79
- ref: W,
80
- onChange: (o) => a(L)(o, s),
81
- modelValue: a(d)[a(u).name][s.name],
82
- "onUpdate:modelValue": (o) => a(d)[a(u).name][s.name] = o
83
- }, {
84
- default: n(() => [
85
- y(l, { value: "*" }, {
86
- default: n(() => t[1] || (t[1] = [
87
- U("全部")
88
- ])),
89
- _: 1
90
- }),
91
- (r(!0), v(g, null, x(s.control.data.data, (o) => (r(), i(l, {
92
- value: o.value
93
- }, {
94
- default: n(() => [
95
- U(Y(o.text), 1)
96
- ]),
97
- _: 2
98
- }, 1032, ["value"]))), 256))
99
- ]),
100
- _: 2
101
- }, 1032, ["onChange", "modelValue", "onUpdate:modelValue"])
102
- ]),
103
- _: 2
104
- }, 1032, ["label"]))), 256)),
105
- (r(!0), v(g, null, x(a(z), (s) => (r(), i(A, {
106
- class: "search-row",
107
- label: a(q).length ? "其它" : "",
108
- "label-width": 50,
109
- gutter: 5
110
- }, {
111
- default: n(() => [
112
- (r(!0), v(g, null, x(s, ({ data: _, span: o }, le) => (r(), i(f, { span: o }, {
113
- default: n(() => [
114
- y(b, {
115
- label: a(te)(_.table.name, _.name)
116
- }, {
117
- default: n(() => [
118
- y(ae, {
119
- schema: a(F),
120
- table: _.table,
121
- field: _,
122
- "search-data": a(h),
123
- onChange: a(E),
124
- onSubmit: a(S)
125
- }, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
126
- ]),
127
- _: 2
128
- }, 1032, ["label"])
129
- ]),
130
- _: 2
131
- }, 1032, ["span"]))), 256))
132
- ]),
133
- _: 2
134
- }, 1032, ["label"]))), 256))
135
- ]),
136
- _: 1
137
- }, 512)) : Z("", !0)
138
- ]),
139
- _: 1
140
- });
141
- };
142
- }
143
- });
144
- export {
145
- se as _
146
- };
@@ -1,55 +0,0 @@
1
- import { defineComponent as _, toRefs as x, computed as V, resolveComponent as g, openBlock as C, createBlock as b, unref as e, withKeys as y, isRef as v, createSlots as k, withCtx as D, createTextVNode as K, toDisplayString as w } from "vue";
2
- import { j as B } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const U = /* @__PURE__ */ _({
6
- __name: "Text",
7
- props: {
8
- schema: {},
9
- table: {},
10
- field: {},
11
- searchData: {},
12
- modelValue: {}
13
- },
14
- emits: ["change", "submit", "update:modelValue"],
15
- setup(p, { emit: u }) {
16
- let a = u, i = p, { table: s, field: o, searchData: R, modelValue: d } = x(i), c = (l) => {
17
- a("change", l);
18
- }, n = () => {
19
- a("submit");
20
- }, f = () => {
21
- n();
22
- }, t = V({
23
- get() {
24
- return d.value;
25
- },
26
- set(l) {
27
- a("update:modelValue", l);
28
- }
29
- });
30
- return (l, r) => {
31
- const h = g("el-input");
32
- return C(), b(h, {
33
- type: "text",
34
- placeholder: e(B)(e(s).name, e(o).name),
35
- clearable: "",
36
- onKeyup: y(e(n), ["enter", "native"]),
37
- onChange: e(c),
38
- onClear: e(f),
39
- modelValue: e(t),
40
- "onUpdate:modelValue": r[0] || (r[0] = (m) => v(t) ? t.value = m : t = m)
41
- }, k({ _: 2 }, [
42
- e(o).suffix ? {
43
- name: "append",
44
- fn: D(() => [
45
- K(w(e(o).suffix), 1)
46
- ]),
47
- key: "0"
48
- } : void 0
49
- ]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
50
- };
51
- }
52
- });
53
- export {
54
- U as default
55
- };