halo-pc 1.0.38 → 1.0.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/dist/{Article-H_clf90b.js → Article-CqtkXVmQ.js} +29 -27
  2. package/dist/{ArticleFooter-BLi4TNA7.js → ArticleFooter-DeJdTtZD.js} +10 -10
  3. package/dist/{Autocomplete-DMm6oI1g.js → Autocomplete-0fxB2_FC.js} +1 -1
  4. package/dist/{Autocomplete-BF9x0F4f.js → Autocomplete-BfhYwZ5G.js} +7 -7
  5. package/dist/{Autocomplete-CcIzTPSr.js → Autocomplete-LQiKcvz1.js} +6 -6
  6. package/dist/{CSharp-CZOchOE-.js → CSharp-BIFRQLaK.js} +1 -1
  7. package/dist/{Calender-BoQV7bhA.js → Calender-DPNTn-S4.js} +4 -4
  8. package/dist/{Callback-79Bw4RwY.js → Callback-Ci5KrWOC.js} +6 -6
  9. package/dist/{Cascader-D1Ou5OSg.js → Cascader-CnOEgPDf.js} +1 -1
  10. package/dist/{Cascader-DMhl98vw.js → Cascader-Vhc81TDV.js} +14 -14
  11. package/dist/{Checkbox-C6t6S7ii.js → Checkbox-CIim5NiB.js} +1 -1
  12. package/dist/{Checkbox-DtrXMDBR.js → Checkbox-D9Sp6ZGQ.js} +7 -7
  13. package/dist/{Code-B8ISTTYK.js → Code-BEjqqeFZ.js} +3 -3
  14. package/dist/Code-BSrEPuXk.js +4 -0
  15. package/dist/{Code-DIGn8Raz.js → Code-Dp1-k8sW.js} +1 -1
  16. package/dist/{Code-DDacfgvl.js → Code-yDKaH1uF.js} +10 -8
  17. package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +59 -0
  18. package/dist/{Column-DjA11efs.js → Column-B0ViSver.js} +20 -20
  19. package/dist/{Comment-Ixu0gPk3.js → Comment-tU2wBvGO.js} +4 -2
  20. package/dist/{Compare-NN40QJWm.js → Compare-D7Gz-lE9.js} +1 -1
  21. package/dist/{Compare-C1uq4lgK.js → Compare-DqvGyQWA.js} +5 -5
  22. package/dist/{Copy-BcfSvyWG.js → Copy-Dm1LH9qB.js} +3 -3
  23. package/dist/Custom-CLKAPWEo.js +49 -0
  24. package/dist/{DataExport-DNGgWqsx.js → DataExport-BDftKI0U.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js → DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js} +8 -8
  26. package/dist/{DataImport-CI9eM5T1.js → DataImport-CRYaaQfA.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js → DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js} +37 -37
  28. package/dist/{Date-CZGbZKjB.js → Date-DPPiYLWw.js} +4 -4
  29. package/dist/{Date-CGyzi8yX.js → Date-Dlh1_S7p.js} +1 -1
  30. package/dist/{DateRange-MbbkmZ_Y.js → DateRange-BgF_T3ls.js} +7 -7
  31. package/dist/{DateTime-DHrHmRLL.js → DateTime-CNjPeK9t.js} +1 -1
  32. package/dist/{DateTime-DqUOXGWH.js → DateTime-DP-VfmtN.js} +6 -6
  33. package/dist/{DateTimeRange-DgXQkZLx.js → DateTimeRange-DbEpW4nB.js} +5 -5
  34. package/dist/{Daterange-DLHJuRur.js → Daterange-DHVjhrK9.js} +5 -5
  35. package/dist/{Decimal-BUJuuvfr.js → Decimal-BDEWVSsK.js} +1 -1
  36. package/dist/{Delete-BGMk0orl.js → Delete-Bl0GmthL.js} +1 -1
  37. package/dist/{Detail-D4KzWdHQ.js → Detail-BozyhOTt.js} +12 -12
  38. package/dist/{Dictionary-Esd3ERAq.js → Dictionary-CJwZPQz6.js} +1 -1
  39. package/dist/{Email-C9K09hwC.js → Email-D5X1SzuJ.js} +8 -8
  40. package/dist/{File-ai1eYO7v.js → File-DixK0K7p.js} +34 -32
  41. package/dist/Image-BrelhCGo.js +9 -0
  42. package/dist/Index-BeM6hKX9.js +4 -0
  43. package/dist/{Index-DsZPtDYE.js → Index-BkfLyqpm.js} +34 -34
  44. package/dist/{Index-DYHrSEZ5.js → Index-D2FOeoNQ.js} +1 -1
  45. package/dist/Index-D8UVsXwf.js +4 -0
  46. package/dist/{Index-B5o7uf36.js → Index-DbXgnBz6.js} +2 -2
  47. package/dist/Index-FL-dxfFB.js +4 -0
  48. package/dist/Index-fWOqfFkG.js +4 -0
  49. package/dist/{Index-S1btGSGD.js → Index-j15c7lwJ.js} +1 -1
  50. package/dist/Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js +80 -0
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js → Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js} +23 -23
  52. package/dist/{Install-D-MgafyF.js → Install-WR3b4IfI.js} +1 -1
  53. package/dist/{Int-CnvfCxgn.js → Int-CWsDtoxE.js} +7 -7
  54. package/dist/{Int-D3RqVcmN.js → Int-GGWiUqO2.js} +4 -4
  55. package/dist/List-kRCsHp6d.js +71 -0
  56. package/dist/{Maintaince-BIgEbjrq.js → Maintaince-BG8MUi3A.js} +1 -1
  57. package/dist/{Markdown-hax8By5O.js → Markdown-nVfQs7kc.js} +1 -1
  58. package/dist/{Month-5lTUiWin.js → Month-B1icZmL4.js} +4 -4
  59. package/dist/{Month-CnVTSnyK.js → Month-CxKMP4kO.js} +1 -1
  60. package/dist/{Month-BDkwv-vc.js → Month-DnYlAi7k.js} +4 -4
  61. package/dist/{Normal-DoE9t7d7.js → Normal-RcqEyIFN.js} +23 -21
  62. package/dist/Paging-DrdGzxeP.js +94 -0
  63. package/dist/{PagingHeader-BFtE6jSy.js → PagingHeader-C8UpM9Kj.js} +27 -25
  64. package/dist/{PagingRow-CSB-kwMz.js → PagingRow-oQWCofO4.js} +8 -8
  65. package/dist/{Racebar-Bc-dDRss.js → Racebar-CvoF2ySW.js} +24 -22
  66. package/dist/{Radio-CMGOtMnx.js → Radio-DhjfkC14.js} +1 -1
  67. package/dist/{Register-8wi0uixs.js → Register-B0Vx60wY.js} +33 -33
  68. package/dist/{RichText-BR4Kvx0J.js → RichText-4wrLw9cy.js} +7 -7
  69. package/dist/{SearchForm-BMTSPce_.js → SearchForm-BHVnQaSL.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js → SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js} +35 -35
  71. package/dist/SearchHeader-C9yovXli.js +4 -0
  72. package/dist/SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js +60 -0
  73. package/dist/{Select-DAxdpZlO.js → Select-BDoCqD3I.js} +10 -10
  74. package/dist/{Select-MBD4Simw.js → Select-CX4i5KPQ.js} +1 -1
  75. package/dist/{Select-DnFyey0n.js → Select-vgwpegBi.js} +12 -12
  76. package/dist/Single-C3629BdC.js +317 -0
  77. package/dist/{Statistic-CTxHNeof.js → Statistic-Dxa-CZ8G.js} +10 -8
  78. package/dist/{Statistic-BS_DA72m.js → Statistic-WPezAlUn.js} +32 -30
  79. package/dist/{Stock-CtmevqBK.js → Stock-BD5Acf8y.js} +8 -6
  80. package/dist/{Stock-CbucObTu.js → Stock-EPM3j2f_.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js → Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js} +14 -12
  82. package/dist/{Switch-BlXAy9qH.js → Switch-B0XN4K-9.js} +1 -1
  83. package/dist/Table-BklK1hSh.js +317 -0
  84. package/dist/{Table-Da9gan1Y.js → Table-JFdOXuME.js} +42 -40
  85. package/dist/Text-CNtHdodK.js +4 -0
  86. package/dist/{Text-CbZlEVTJ.js → Text-DrJkdxZF.js} +6 -6
  87. package/dist/{Text-C72NLZMt.js → Text-KAuEjP7I.js} +3 -3
  88. package/dist/{Text.vue_vue_type_style_index_0_lang-aMaBccpg.js → Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js} +1 -1
  89. package/dist/{TextLink-SAnZ7BfX.js → TextLink-BnijIoEJ.js} +7 -7
  90. package/dist/{Textarea-DphCUpXp.js → Textarea-3SWLqQvO.js} +1 -1
  91. package/dist/{Time-DjE8yYdK.js → Time-C3qlNZkJ.js} +7 -7
  92. package/dist/{Timeline-D11vjkpZ.js → Timeline-B6hUIYhL.js} +12 -10
  93. package/dist/{Tree-kich05vY.js → Tree-DBvFF4Rj.js} +77 -75
  94. package/dist/{Tree-DK73Ou_F.js → Tree-JexLPBXX.js} +5 -3
  95. package/dist/{TreeNode-Dx6cZ31Z.js → TreeNode-BOWB2WN9.js} +4 -4
  96. package/dist/{Update-D2Plm_AG.js → Update-CDLYYwgj.js} +10 -10
  97. package/dist/{UpdateChild-BXV7QqaP.js → UpdateChild-DUG7pAuO.js} +11 -11
  98. package/dist/{Upload-B87EDynn.js → Upload-B2hbxDsT.js} +49 -49
  99. package/dist/{Upload-CHPjMGFZ.js → Upload-mlk6Y4Po.js} +13 -13
  100. package/dist/{Year-BPFmIiPX.js → Year-BRsJ7b1J.js} +1 -1
  101. package/dist/{Year-C93IJgc8.js → Year-BUF60NmB.js} +4 -4
  102. package/dist/{main-nvsTmKXH.js → main-DymfKjqO.js} +4363 -4204
  103. package/dist/main.js +144 -141
  104. package/esm/coms/commons/Table.vue.d.ts +1 -1
  105. package/esm/coms/drivers/Index.vue.d.ts +2 -2
  106. package/esm/coms/globals/Menu.vue.d.ts +1 -1
  107. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  108. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -1
  109. package/esm/coms/headers/Index.vue.d.ts +1 -1
  110. package/esm/coms/layouts/Index.vue.d.ts +3 -3
  111. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  112. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  113. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  114. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  115. package/esm/coms/lists/Tree.vue.d.ts +3 -3
  116. package/esm/coms/pages/@types/SchemaProps.d.ts +2 -1
  117. package/esm/coms/pages/Column.vue.d.ts +1 -1
  118. package/esm/coms/pages/Custom.vue.d.ts +6 -6
  119. package/esm/coms/pages/List.vue.d.ts +5 -3
  120. package/esm/coms/pages/Paging.vue.d.ts +5 -3
  121. package/esm/coms/pages/Single.vue.d.ts +3 -3
  122. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +9 -0
  123. package/esm/coms/pagings/@types/index.d.ts +2 -2
  124. package/esm/coms/pagings/Article.vue.d.ts +2 -2
  125. package/esm/coms/pagings/Index.vue.d.ts +4 -2
  126. package/esm/coms/pagings/SearchForm.vue.d.ts +1 -1
  127. package/esm/coms/pagings/SearchHeader.vue.d.ts +19 -0
  128. package/esm/coms/pagings/Table.vue.d.ts +4 -2
  129. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +2 -1
  130. package/esm/coms/singles/Index.vue.d.ts +1 -1
  131. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  132. package/esm/coms/singles/Table.vue.d.ts +1 -1
  133. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  134. package/package.json +6 -6
  135. package/dist/Code-BMlBvnqa.js +0 -4
  136. package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +0 -57
  137. package/dist/Custom-Dn9_vPuD.js +0 -58
  138. package/dist/Image-CfY4G1Yn.js +0 -9
  139. package/dist/Index-CH3nwnPZ.js +0 -4
  140. package/dist/Index-CTjDkp7e.js +0 -4
  141. package/dist/Index-DSZ8wa7U.js +0 -4
  142. package/dist/Index-DVdiF3gr.js +0 -4
  143. package/dist/Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js +0 -76
  144. package/dist/List-DA4SO_le.js +0 -71
  145. package/dist/Paging-5qsCTRWy.js +0 -92
  146. package/dist/SearchFooter-DOC21dmS.js +0 -4
  147. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js +0 -55
  148. package/dist/Single-D6x6VV_B.js +0 -317
  149. package/dist/Table-CqsfAMh7.js +0 -310
  150. package/dist/Text-CHvsKR9H.js +0 -4
@@ -1,7 +1,8 @@
1
+ import { PageProps } from "../../pages/@types";
1
2
  /**
2
3
  * 分页头部传值
3
4
  */
4
- interface PagingHeaderProps {
5
+ interface PagingHeaderProps extends PageProps {
5
6
  /**
6
7
  * 页面架构信息
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { SingleProps } from "./@types";
2
2
  declare const _default: import("vue").DefineComponent<SingleProps, {
3
3
  update: (data: any) => void;
4
- resize: (event: ResizeObserverEntry) => boolean;
4
+ onResize: (event: ResizeObserverEntry) => void;
5
5
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  change: (...args: any[]) => void;
7
7
  submit: (...args: any[]) => void;
@@ -1,6 +1,6 @@
1
1
  import { SingleProps } from "./@types";
2
2
  declare const _default: import("vue").DefineComponent<SingleProps, {
3
- resize: () => void;
3
+ onResize: () => void;
4
4
  update: (data: any) => void;
5
5
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  change: (...args: any[]) => void;
@@ -1,6 +1,6 @@
1
1
  import { SingleProps } from "./@types";
2
2
  declare const _default: import("vue").DefineComponent<SingleProps, {
3
- resize: (event: ResizeObserverEntry) => void;
3
+ onResize: (event: ResizeObserverEntry) => void;
4
4
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  change: (...args: any[]) => void;
6
6
  submit: (...args: any[]) => void;
@@ -1,5 +1,5 @@
1
1
  import { SingleProps } from "./@types";
2
2
  declare const _default: import("vue").DefineComponent<SingleProps, {
3
- resize: (event: ResizeObserverEntry) => void;
3
+ onResize: (event: ResizeObserverEntry) => void;
4
4
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SingleProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
5
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-pc",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "description": "Halo pc framework",
5
5
  "scripts": {
6
6
  "halo-pc:tsc": "vue-tsc",
@@ -33,12 +33,12 @@
33
33
  "peerDependencies": {
34
34
  },
35
35
  "dependencies": {
36
- "@micro-zoe/micro-app": "1.0.0-rc.12",
36
+ "@micro-zoe/micro-app": "1.0.0-rc.13",
37
37
  "clipboard": "2.0.11",
38
38
  "echarts": "5.5.1",
39
- "element-plus": "2.8.5",
39
+ "element-plus": "2.8.6",
40
40
  "intro.js": "8.0.0-beta.1",
41
- "halo-fe": "1.0.29",
41
+ "halo-fe": "1.0.31",
42
42
  "sortablejs": "1.15.3",
43
43
  "vue": "3.5.12",
44
44
  "vue-canvas-nest": "2.0.0",
@@ -46,10 +46,10 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@fortawesome/fontawesome-free": "6.6.0",
49
- "@types/node": "22.7.5",
49
+ "@types/node": "22.7.7",
50
50
  "@vitejs/plugin-vue": "5.1.4",
51
51
  "@vitejs/plugin-vue-jsx": "4.0.1",
52
- "sass": "1.79.5",
52
+ "sass": "1.80.3",
53
53
  "typescript": "5.6.3",
54
54
  "vite": "5.4.9",
55
55
  "vue-tsc": "2.1.6"
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-hHYTH50F.js";
2
- export {
3
- f as default
4
- };
@@ -1,57 +0,0 @@
1
- import { defineComponent as C, toRefs as b, ref as d, onMounted as k, resolveComponent as m, openBlock as r, createElementBlock as u, createVNode as i, unref as e, isRef as h, withCtx as p, Fragment as c, renderList as B, createBlock as L, createTextVNode as _, toDisplayString as f, createCommentVNode as N } from "vue";
2
- import { C as w, j as E } from "./main-nvsTmKXH.js";
3
- const R = { class: "ha-code-layout" }, T = /* @__PURE__ */ C({
4
- __name: "Code",
5
- props: {
6
- route: {},
7
- validateErrors: {},
8
- module: {},
9
- schema: {},
10
- table: {},
11
- layout: {},
12
- next: {},
13
- set: {}
14
- },
15
- emits: ["submit", "change"],
16
- setup(g, { emit: S }) {
17
- let V = g, { module: U, schema: j, table: A, layout: l, next: D, set: F } = b(V), n = d({}), t = d(), v = () => {
18
- t.value = l.value.languages[0];
19
- };
20
- return k(async () => {
21
- v();
22
- let s = await w.loadCodeLanguageAsync();
23
- for (let a of s)
24
- n.value[a.text] = a.suffix;
25
- }), (s, a) => {
26
- const x = m("el-radio"), y = m("el-radio-group");
27
- return r(), u("div", R, [
28
- i(y, {
29
- modelValue: e(t),
30
- "onUpdate:modelValue": a[0] || (a[0] = (o) => h(t) ? t.value = o : t = o)
31
- }, {
32
- default: p(() => [
33
- (r(!0), u(c, null, B(e(l).languages, (o) => (r(), L(x, { value: o }, {
34
- default: p(() => [
35
- _(f(o) + " ", 1),
36
- e(n)[o] ? (r(), u(c, { key: 0 }, [
37
- _("(" + f(e(n)[o]) + ")", 1)
38
- ], 64)) : N("", !0)
39
- ]),
40
- _: 2
41
- }, 1032, ["value"]))), 256))
42
- ]),
43
- _: 1
44
- }, 8, ["modelValue"]),
45
- i(e(E), {
46
- border: "",
47
- options: { language: e(n)[e(t)] },
48
- modelValue: e(l).codes[e(t)],
49
- "onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
50
- }, null, 8, ["options", "modelValue"])
51
- ]);
52
- };
53
- }
54
- });
55
- export {
56
- T as _
57
- };
@@ -1,58 +0,0 @@
1
- import { defineComponent as A, toRefs as L, ref as u, openBlock as i, createBlock as s, KeepAlive as B, resolveDynamicComponent as K, unref as r } from "vue";
2
- import { d as f, i as N, f as U, A as D } from "./main-nvsTmKXH.js";
3
- const V = /* @__PURE__ */ A({
4
- __name: "Custom",
5
- props: {
6
- view: {},
7
- url: {},
8
- win: {}
9
- },
10
- emits: ["loaded", "navigate"],
11
- setup(d, { expose: v, emit: c }) {
12
- let o = c, m = d, { url: n, win: p, view: h } = L(m), t = u(), g = u({}), w = (e) => {
13
- var a;
14
- let l = (a = t.value) == null ? void 0 : a.beforeClose;
15
- l && l(e);
16
- }, C = (e) => {
17
- t.value == null || t.value.resize == null || t.value.resize(e);
18
- }, _ = (e) => !0, b = (e) => !0, k = () => {
19
- var l;
20
- let e = (l = t.value) == null ? void 0 : l.refresh;
21
- if (!e) {
22
- let a = f.url.getPath(n.value);
23
- N.notify(U("common.tips"), `要实现自定义刷新功能,请在组件 ${a} 内部定义并暴露refresh方法即可`, "warning");
24
- return;
25
- }
26
- e();
27
- }, x = (e, l) => {
28
- D.triggerKeyboardHandler(t.value, e, l);
29
- }, y = (e) => {
30
- t.value.socketHandler(e);
31
- }, H = (e) => {
32
- if (e == null)
33
- return;
34
- let l = g.value;
35
- if (l[n.value] != null) {
36
- t.value = l[n.value];
37
- return;
38
- }
39
- f.dictionary.containsValue(l, e) || (l[n.value] = e, t.value = e);
40
- }, R = (e) => {
41
- o("loaded", e);
42
- }, z = (e) => {
43
- o("navigate", e);
44
- };
45
- return v({ shouldLoad: _, shouldSpin: b, refresh: k, beforeClose: w, keyboardHandler: x, resize: C, socketHandler: y }), (e, l) => (i(), s(B, null, [
46
- (i(), s(K(r(h)), {
47
- ref: r(H),
48
- url: r(n),
49
- win: r(p),
50
- onLoaded: r(R),
51
- onNavigate: r(z)
52
- }, null, 40, ["url", "win", "onLoaded", "onNavigate"]))
53
- ], 1024));
54
- }
55
- });
56
- export {
57
- V as default
58
- };
@@ -1,9 +0,0 @@
1
- import { l as e } from "./main-nvsTmKXH.js";
2
- const r = {};
3
- function c(n, t) {
4
- return null;
5
- }
6
- const o = /* @__PURE__ */ e(r, [["render", c]]);
7
- export {
8
- o as default
9
- };
@@ -1,4 +0,0 @@
1
- import { e } from "./main-nvsTmKXH.js";
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- import { a as f } from "./main-nvsTmKXH.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { L as f } from "./main-nvsTmKXH.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { p as f } from "./main-nvsTmKXH.js";
2
- export {
3
- f as default
4
- };
@@ -1,76 +0,0 @@
1
- import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as B, Fragment as H, createVNode as L, unref as e, createBlock as R, resolveDynamicComponent as w, withCtx as A, createElementVNode as E, toDisplayString as P } from "vue";
2
- import { n as V, A as $ } from "./main-nvsTmKXH.js";
3
- import "element-plus";
4
- import "vue-router";
5
- import "./assets/intro.js-Cg1adLK7.js";
6
- const F = { class: "not-support" }, O = /* @__PURE__ */ k({
7
- __name: "Index",
8
- props: {
9
- searchData: {},
10
- module: {},
11
- schema: {},
12
- table: {},
13
- layout: {},
14
- next: {},
15
- set: {}
16
- },
17
- emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
18
- setup(c, { expose: i, emit: u }) {
19
- let o = u, g = c, { module: h, schema: m, table: r, layout: l, next: p, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
20
- o("navigate", a, t);
21
- }, C = (a, t) => {
22
- o("sort", a, t);
23
- }, _ = (a) => {
24
- o("search", a);
25
- }, v = (a, t = null) => {
26
- o("page-change", a, t);
27
- }, b = (a, t = null) => {
28
- o("size-change", a, t);
29
- }, x = (a = null) => {
30
- o("succeed", a);
31
- }, z = () => {
32
- o("close");
33
- }, S = (a) => {
34
- o("layout-change", a);
35
- };
36
- return i({ resize: (a) => {
37
- if (!n.value || !n.value.resize)
38
- return !1;
39
- n.value.resize(a);
40
- }, keyboardHandler: (a, t) => {
41
- $.triggerKeyboardHandler(n.value, a, t);
42
- } }), (a, t) => (s(), B(H, null, [
43
- L(e(V), {
44
- layout: e(l),
45
- table: e(r),
46
- onLayoutChange: e(S)
47
- }, null, 8, ["layout", "table", "onLayoutChange"]),
48
- (s(), R(w(`paging-${e(l).type.toLowerCase()}`), {
49
- ref_key: "pagingRef",
50
- ref: n,
51
- module: e(h),
52
- schema: e(m),
53
- table: e(r),
54
- layout: e(l),
55
- next: e(p),
56
- set: e(d),
57
- "search-data": e(y),
58
- onNavigate: e(f),
59
- onSort: e(C),
60
- onSearch: e(_),
61
- onPageChange: e(v),
62
- onSizeChange: e(b),
63
- onSucceed: e(x),
64
- onClose: e(z)
65
- }, {
66
- default: A(() => [
67
- E("div", F, "未支持的分页布局方式:" + P(e(l).type), 1)
68
- ]),
69
- _: 1
70
- }, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
71
- ], 64));
72
- }
73
- });
74
- export {
75
- O as _
76
- };
@@ -1,71 +0,0 @@
1
- import { defineComponent as A, toRefs as B, ref as u, watch as H, openBlock as M, createBlock as E, resolveDynamicComponent as F, unref as t, withCtx as K, createElementVNode as T, toDisplayString as U } from "vue";
2
- import { d as n, S as V, M as $, m as h, g as j, A as G } from "./main-nvsTmKXH.js";
3
- const I = { class: "not-support" }, W = /* @__PURE__ */ A({
4
- __name: "List",
5
- props: {
6
- base: {},
7
- route: {},
8
- url: {},
9
- win: {}
10
- },
11
- emits: ["load", "navigate"],
12
- setup(_, { expose: b, emit: P }) {
13
- let m = P, q = _, { url: v, base: p, route: o } = B(q), f = u(), i = u(), r = u(), y = u(), g = u(), s = u(), c = u(), C = (e) => {
14
- let l = n.url.getPath(e), a = n.url.getPath(v.value);
15
- return l != a;
16
- }, R = (e) => {
17
- let l = n.url.getPath(v.value), a = n.url.getPath(e);
18
- return l != a;
19
- }, x = (e) => {
20
- var a;
21
- let l = V(e.module.type, e.module.name);
22
- $.setTitle(l, e.module.env), f.value = e.module, i.value = h.expandSchema(e.schema, e.set), r.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = h.expandSet(e.schema, e.set), c.value = h.getConditionForm(i.value, o.value.query.condition);
23
- }, d = (e = null, l = null) => {
24
- let a = e ?? o.value.query, N = n.url.getUrl(o.value.path, a);
25
- m("load", N, !1, l);
26
- }, k = (e) => {
27
- d(null, e);
28
- }, w = (e) => {
29
- m("navigate", e);
30
- }, D = async (e) => {
31
- let l = o.value.query;
32
- l.condition = j.encode(c.value), d(l, e);
33
- }, S = () => {
34
- d();
35
- }, z = (e, l) => {
36
- G.triggerKeyboardHandler(s.value, e, l);
37
- }, L = (e) => {
38
- if (!s.value || !s.value.resize)
39
- return !1;
40
- s.value.resize(e);
41
- };
42
- return (() => {
43
- x(p.value.data);
44
- })(), H(() => p.value, (e) => {
45
- x(e.data);
46
- }), b({ shouldLoad: C, shouldSpin: R, refresh: S, keyboardHandler: z, resize: L }), (e, l) => (M(), E(F(`list-${t(r).layouts[0].type.toLowerCase()}`), {
47
- ref_key: "listRef",
48
- ref: s,
49
- route: t(o),
50
- module: t(f),
51
- schema: t(i),
52
- table: t(r),
53
- layout: t(r).layouts[0],
54
- next: t(y),
55
- set: t(g),
56
- "search-data": t(c),
57
- onSucceed: t(k),
58
- onSearch: t(D),
59
- onNavigate: t(w),
60
- onRefresh: t(S)
61
- }, {
62
- default: K(() => [
63
- T("div", I, "未支持的列表布局方式:" + U(t(r).layouts[0].type), 1)
64
- ]),
65
- _: 1
66
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
67
- }
68
- });
69
- export {
70
- W as default
71
- };
@@ -1,92 +0,0 @@
1
- import { defineComponent as O, toRefs as T, ref as r, onMounted as V, watch as $, unref as a, openBlock as E, createBlock as G, createCommentVNode as I } from "vue";
2
- import { d as o, S as Q, M as W, m as d, g as U, A as X } from "./main-nvsTmKXH.js";
3
- import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js";
4
- const te = /* @__PURE__ */ O({
5
- __name: "Paging",
6
- props: {
7
- base: {},
8
- route: {},
9
- url: {},
10
- win: {}
11
- },
12
- emits: ["navigate", "load"],
13
- setup(b, { expose: z, emit: P }) {
14
- let m = P, k = b, { url: p, base: y, route: u } = T(k), f = r(), v = r(), g = r(), c = r(), x = r(), S = r(), h = r(), s = r(), N = (e) => !0, L = (e) => {
15
- let l = o.url.getPath(p.value), t = o.url.getPath(e);
16
- return l != t;
17
- }, M = (e = null) => {
18
- _(e);
19
- }, R = () => {
20
- }, C = (e) => {
21
- var t;
22
- let l = Q(e.module.type, e.module.name);
23
- W.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, S.value = d.expandSet(e.schema, e.set), v.value = d.expandSchema(e.schema, e.set), g.value = (t = v.value) == null ? void 0 : t[0], c.value = g.value.layouts[0], h.value = d.getConditionForm(v.value, u.value.query.condition);
24
- }, q = (e = null, l = null) => {
25
- let t = e ?? u.value.query, n = o.url.getUrl(u.value.path, t);
26
- m("load", n, !1, (K) => {
27
- l && l(K);
28
- });
29
- }, i = (e, l) => {
30
- m("navigate", e, l);
31
- }, w = async (e) => {
32
- let l = u.value.query;
33
- l.page = 1;
34
- let t = o.object.pure(h.value);
35
- l.condition = U.encode(t);
36
- let n = o.url.getUrl(u.value.path, l);
37
- n == p.value ? q(l, e) : i(n, e);
38
- }, A = (e, l) => {
39
- let t = u.value.query;
40
- t.order_by = U.encode(JSON.stringify(e));
41
- let n = o.url.getUrl(u.value.path, t);
42
- i(n, l);
43
- }, B = (e, l = null) => {
44
- let t = u.value.query;
45
- t.page = e;
46
- let n = o.url.getUrl(u.value.path, t);
47
- i(n, l);
48
- }, D = (e, l = null) => {
49
- let t = u.value.query;
50
- t.size = e;
51
- let n = o.url.getUrl(u.value.path, t);
52
- i(n, l);
53
- }, H = (e) => {
54
- c.value = g.value.layouts.find((l) => l.type == e);
55
- }, j = () => {
56
- C(y.value.data);
57
- }, _ = (e = null) => q(null, e), F = (e) => {
58
- if (!s.value || !s.value.resize)
59
- return !1;
60
- s.value.resize(e);
61
- }, J = (e, l) => {
62
- X.triggerKeyboardHandler(s.value, e, l);
63
- };
64
- return V(async () => {
65
- j();
66
- }), $(() => y.value, (e) => {
67
- C(e.data);
68
- }), z({ shouldLoad: N, shouldSpin: L, refresh: _, keyboardHandler: J, resize: F }), (e, l) => a(c) ? (E(), G(Y, {
69
- key: 0,
70
- ref_key: "pagingRef",
71
- ref: s,
72
- module: a(f),
73
- next: a(x),
74
- set: a(S),
75
- schema: a(v),
76
- table: a(g),
77
- layout: a(c),
78
- "search-data": a(h),
79
- onNavigate: a(i),
80
- onSort: a(A),
81
- onSearch: a(w),
82
- onPageChange: a(B),
83
- onSizeChange: a(D),
84
- onLayoutChange: a(H),
85
- onSucceed: a(M),
86
- onClose: a(R)
87
- }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : I("", !0);
88
- }
89
- });
90
- export {
91
- te as default
92
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js";
2
- export {
3
- f as default
4
- };
@@ -1,55 +0,0 @@
1
- import { defineComponent as g, toRefs as b, computed as C, openBlock as a, createElementBlock as E, createBlock as k, resolveDynamicComponent as B, unref as e } from "vue";
2
- import { c as D } from "./main-nvsTmKXH.js";
3
- const I = { class: "search-footer" }, H = /* @__PURE__ */ g({
4
- __name: "SearchFooter",
5
- props: {
6
- schema: {},
7
- table: {},
8
- layout: {},
9
- set: {},
10
- next: {},
11
- selection: {},
12
- searchData: {}
13
- },
14
- emits: ["search", "succeed", "add", "remove", "copy", "show-import", "show-export"],
15
- setup(c, { emit: r }) {
16
- let t = r, s = c, { schema: l, table: n, layout: p, set: m, next: h, selection: d, searchData: R } = b(s), i = (o) => {
17
- t("search", o);
18
- }, u = () => {
19
- t("succeed");
20
- }, x = (o) => {
21
- t("add", o);
22
- }, w = (o) => {
23
- t("remove", o);
24
- }, y = () => {
25
- t("copy");
26
- }, S = () => {
27
- t("show-import");
28
- }, v = () => {
29
- t("show-export");
30
- }, _ = C(() => {
31
- let o = `/${n.value.name}/paging-header`;
32
- return D.getComponent(o, "partial", "paging-header");
33
- });
34
- return (o, f) => (a(), E("div", I, [
35
- (a(), k(B(e(_)), {
36
- schema: e(l),
37
- table: e(n),
38
- layout: e(p),
39
- next: e(h),
40
- set: e(m),
41
- selection: e(d),
42
- onAdd: e(x),
43
- onRemove: e(w),
44
- onCopy: e(y),
45
- onShowImport: e(S),
46
- onShowExport: e(v),
47
- onSucceed: e(u),
48
- onSubmit: e(i)
49
- }, null, 40, ["schema", "table", "layout", "next", "set", "selection", "onAdd", "onRemove", "onCopy", "onShowImport", "onShowExport", "onSucceed", "onSubmit"]))
50
- ]));
51
- }
52
- });
53
- export {
54
- H as _
55
- };