halo-pc 1.0.36 → 1.0.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. package/dist/{Article-CSL7LnKj.js → Article-DSuvpyeC.js} +58 -60
  2. package/dist/{ArticleFooter-_CUySAZu.js → ArticleFooter-Cx3OC7sV.js} +1 -1
  3. package/dist/{Autocomplete-CIRk6M3c.js → Autocomplete-1jt0wRMS.js} +1 -1
  4. package/dist/{Autocomplete-Buw1Hs35.js → Autocomplete-C7CYy8w6.js} +3 -3
  5. package/dist/{Autocomplete-BTBqlR6B.js → Autocomplete-DASTUS8d.js} +2 -2
  6. package/dist/{CSharp-CMmXPS2i.js → CSharp-CebNTVPd.js} +1 -1
  7. package/dist/{Calender-P8tmSbW2.js → Calender-BBILvX8n.js} +4 -4
  8. package/dist/{Callback-SEWVfpG_.js → Callback-CLA9Ab9q.js} +1 -1
  9. package/dist/{Cascader-DWNTommi.js → Cascader-DY2zOwsa.js} +1 -1
  10. package/dist/{Cascader-CeQ0jUxU.js → Cascader-DyQ312mS.js} +5 -5
  11. package/dist/{Checkbox-Fddc4Zgy.js → Checkbox-CHmMU0Cs.js} +1 -1
  12. package/dist/{Checkbox--pNX7Slb.js → Checkbox-CyC_mo50.js} +1 -1
  13. package/dist/{Code-CXMdFELH.js → Code-B4Z7WuUc.js} +1 -1
  14. package/dist/{Code-THGJ7IzI.js → Code-BOTf1uZ5.js} +1 -1
  15. package/dist/{Code-C6A3DOQp.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-BXOFkrGK.js → Code.vue_vue_type_style_index_0_lang-ChjwMs7I.js} +3 -3
  18. package/dist/{Column-CucHIBYv.js → Column-9A6-8_Y7.js} +1 -1
  19. package/dist/{Comment-T5XWLthu.js → Comment-D78rr4-n.js} +27 -27
  20. package/dist/{Compare-jjtb6UdZ.js → Compare-Cb9vYPl5.js} +9 -9
  21. package/dist/{Compare-KV2Q7Tb7.js → Compare-DLiL32cA.js} +6 -6
  22. package/dist/{Copy-Ck1HeTdy.js → Copy-CH2_hawJ.js} +1 -1
  23. package/dist/Custom-D9qN9bwa.js +59 -0
  24. package/dist/{DataExport-BY1fIwSd.js → DataExport-D8cqXPrh.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js → DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js} +1 -1
  26. package/dist/{DataImport--xUxoWAq.js → DataImport-3KwXYYGw.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js → DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js} +1 -1
  28. package/dist/{Date-C3H04U5q.js → Date-OZxdofhB.js} +1 -1
  29. package/dist/{Date-DRk7BsnD.js → Date-yHlD-Lw2.js} +1 -1
  30. package/dist/{DateRange-CICZ9gVp.js → DateRange-BLSxDHKv.js} +1 -1
  31. package/dist/{DateTime-CjTCtAm4.js → DateTime-8tbpOKOK.js} +1 -1
  32. package/dist/{DateTime-DXHkaHtE.js → DateTime-B7GzMj8Q.js} +1 -1
  33. package/dist/{DateTimeRange-CuEYJBUE.js → DateTimeRange-COFWmQoO.js} +1 -1
  34. package/dist/{Daterange-cmpjJVxl.js → Daterange-Cy8l4CfJ.js} +1 -1
  35. package/dist/{Decimal-BzR8o8bv.js → Decimal-Dw6EtZOm.js} +1 -1
  36. package/dist/{Delete-B2VzOnk8.js → Delete-DjXSCUKp.js} +1 -1
  37. package/dist/{Detail-ayakHymC.js → Detail-DU8mI4u2.js} +1 -1
  38. package/dist/{Dictionary-BiSpx7nU.js → Dictionary-CAAvUqf-.js} +1 -1
  39. package/dist/{Email-BbipkOFP.js → Email-AHWpz5Ck.js} +3 -3
  40. package/dist/{File-B131KRit.js → File-DUxwHR5G.js} +16 -16
  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-CymZGuJo.js → Index-D223MCYD.js} +17 -17
  45. package/dist/Index-DCIDLocj.js +4 -0
  46. package/dist/{Index-Bps1k5-m.js → Index-Jt1omrn-.js} +1 -1
  47. package/dist/{Index-B20QLMmF.js → Index-KTv20XtO.js} +1 -1
  48. package/dist/{Index-BnudlpyF.js → Index-Z8HW5XAm.js} +2 -2
  49. package/dist/Index-qIfIbiFH.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js → Index.vue_vue_type_script_setup_true_lang-BznVrY52.js} +15 -17
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js → Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js} +4 -4
  52. package/dist/{Install-BnCA1XK8.js → Install-C-xxCx9D.js} +8 -8
  53. package/dist/{Int-BlwraOyw.js → Int-1QpMyTPB.js} +1 -1
  54. package/dist/{Int-BSA4Srky.js → Int-BsHpY5Gt.js} +1 -1
  55. package/dist/List-DW7FpMfd.js +72 -0
  56. package/dist/{Maintaince-CwL7tseR.js → Maintaince-CjUfJUr7.js} +3 -3
  57. package/dist/{Markdown-Can2d8HC.js → Markdown-BZhSwheI.js} +1 -1
  58. package/dist/{Month-Dyt_wc8r.js → Month-BKXtBi6i.js} +1 -1
  59. package/dist/{Month-ClTpaaAr.js → Month-IJnA7Kgl.js} +3 -3
  60. package/dist/{Month-CRmTCjQr.js → Month-m0FiTmBK.js} +1 -1
  61. package/dist/{Normal-DBRpkCNs.js → Normal-CettIwbU.js} +72 -72
  62. package/dist/{Paging-ByJhfHCh.js → Paging-J9vCBFzM.js} +33 -35
  63. package/dist/{PagingHeader-BQ-8s0NC.js → PagingHeader-irWrEKGQ.js} +1 -1
  64. package/dist/{PagingRow-CqAYVjxH.js → PagingRow-Bft1brFD.js} +1 -1
  65. package/dist/{Racebar-BhRmArVA.js → Racebar-D3VFwM1V.js} +7 -7
  66. package/dist/{Radio-DCVAYEgh.js → Radio-C-IwNXnz.js} +1 -1
  67. package/dist/{Register-Dr5HF0B6.js → Register-XTfqbbgr.js} +15 -15
  68. package/dist/{RichText-Dj93TxtW.js → RichText-D3aLlQph.js} +8 -8
  69. package/dist/{SearchFooter-D02JAZez.js → SearchFooter-hC7sQBez.js} +1 -1
  70. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js → SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js} +1 -1
  71. package/dist/{SearchForm-DhrX5Akr.js → SearchForm-BTux7Adt.js} +1 -1
  72. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js → SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js} +27 -29
  73. package/dist/{Select-ChwyjjbN.js → Select-ClAK8aNJ.js} +8 -8
  74. package/dist/{Select-CaGb3SAi.js → Select-DlM_C-60.js} +1 -1
  75. package/dist/{Select-DK5-x-rC.js → Select-K1dU20i2.js} +11 -11
  76. package/dist/{Single-DIyLnILS.js → Single-DYDwq041.js} +66 -68
  77. package/dist/{Statistic-ArzDDFwp.js → Statistic-CidgrAcU.js} +21 -21
  78. package/dist/{Stock-DapT2McI.js → Stock-BFszdaCn.js} +1 -1
  79. package/dist/{Stock-CsVIZtQ4.js → Stock-BiuhsKPB.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-JABRw23-.js → Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js} +8 -8
  81. package/dist/{Switch-B0VJc80B.js → Switch-TI8J8-E2.js} +1 -1
  82. package/dist/{Table-C5kHBVpV.js → Table-DJOSPNrn.js} +79 -81
  83. package/dist/{Table-Cwe8QuVi.js → Table-DYELgaTY.js} +56 -56
  84. package/dist/Text-DAliAA9U.js +4 -0
  85. package/dist/{Text-CK1PT6x8.js → Text-DEv-wMFU.js} +3 -3
  86. package/dist/Text-Dy6uYSm3.js +49 -0
  87. package/dist/{Text.vue_vue_type_style_index_0_lang-epPB32IU.js → Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js} +1 -1
  88. package/dist/{TextLink-Bn_Z4Ajl.js → TextLink-CKPExcuj.js} +1 -1
  89. package/dist/{Textarea-C6Pi4p9b.js → Textarea-CEv7HYqY.js} +1 -1
  90. package/dist/{Time-DWG3pwjK.js → Time-BeTq6Tq3.js} +1 -1
  91. package/dist/{Timeline-Bqq3rFbX.js → Timeline-BI2o8Kug.js} +1 -1
  92. package/dist/{Tree-CU2UHknq.js → Tree-BPeNz1X4.js} +58 -60
  93. package/dist/{Tree-DRUGEHR3.js → Tree-DlIrY3e2.js} +33 -33
  94. package/dist/{TreeNode-DD-YfbgL.js → TreeNode-CzM6Npi5.js} +1 -1
  95. package/dist/{Update-BdbT4B2n.js → Update-Bv6Lp8LZ.js} +1 -1
  96. package/dist/{UpdateChild-CVgQs6_A.js → UpdateChild-mrF1t5G8.js} +1 -1
  97. package/dist/{Upload-BCGGzOTn.js → Upload-B0dBN1oH.js} +9 -9
  98. package/dist/{Upload-CKHSikDI.js → Upload-BCdzJlzR.js} +13 -13
  99. package/dist/{Year-CnA4ZUPj.js → Year-2hJSZcj_.js} +7 -7
  100. package/dist/{Year-nGY1S5_T.js → Year-DLITl-_8.js} +1 -1
  101. package/dist/{main-BLb5AIWJ.js → main-SNlEeN01.js} +3045 -2957
  102. package/dist/main.js +136 -133
  103. package/dist/style.css +1 -1
  104. package/esm/coms/business/Form.vue.d.ts +2 -1
  105. package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
  106. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
  107. package/esm/coms/drivers/@types/KindFormProps.d.ts +3 -6
  108. package/esm/coms/drivers/@types/index.d.ts +3 -1
  109. package/esm/coms/drivers/Index.vue.d.ts +26 -29
  110. package/esm/coms/drivers/Kind.vue.d.ts +8 -8
  111. package/esm/coms/layouts/Index.vue.d.ts +7 -3
  112. package/esm/coms/layouts/Side.vue.d.ts +5 -2
  113. package/esm/coms/layouts/Top.vue.d.ts +4 -1
  114. package/esm/coms/lists/Tree.vue.d.ts +2 -1
  115. package/esm/coms/pages/@types/index.d.ts +1 -2
  116. package/esm/coms/pages/Custom.vue.d.ts +2 -1
  117. package/esm/coms/pages/List.vue.d.ts +1 -1
  118. package/esm/coms/pages/Paging.vue.d.ts +2 -1
  119. package/esm/coms/pages/Single.vue.d.ts +2 -1
  120. package/esm/coms/pagings/Article.vue.d.ts +2 -1
  121. package/esm/coms/pagings/Index.vue.d.ts +2 -1
  122. package/esm/coms/pagings/Table.vue.d.ts +2 -1
  123. package/esm/coms/searches/Text.vue.d.ts +5 -7
  124. package/esm/svcs/ModuleSvc.d.ts +40 -0
  125. package/esm/svcs/index.d.ts +3 -3
  126. package/package.json +9 -9
  127. package/dist/Code-CQSTwwc4.js +0 -4
  128. package/dist/Custom-CkyWaXAB.js +0 -61
  129. package/dist/Image-Cb1PzLpD.js +0 -9
  130. package/dist/Index-2vdi0Nq0.js +0 -4
  131. package/dist/Index-BOKSKn0N.js +0 -4
  132. package/dist/Index-Cz0Ti6rP.js +0 -4
  133. package/dist/Index-Dhg6Vts6.js +0 -4
  134. package/dist/List-BnT_8B_q.js +0 -74
  135. package/dist/Text-D2P-_cQT.js +0 -54
  136. package/dist/Text-oKVRjuSR.js +0 -4
@@ -1,8 +1,10 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
2
2
  DesktopLayout: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3
- SideLayout: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
3
+ SideLayout: import("vue").DefineComponent<{}, {
4
+ keyboardHandler: (type: import("halo-fe").KeyboardType, event: KeyboardEvent) => void;
5
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
4
6
  HeaderIndex: {
5
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../headers/@types/HeaderProps.js").default> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("../headers/@types/HeaderProps.js").default> & Readonly<{}>, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
7
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../headers/@types/HeaderProps.js").default> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
6
8
  P: {};
7
9
  B: {};
8
10
  D: {};
@@ -19,6 +21,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
19
21
  };
20
22
  });
21
23
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
- TopLayout: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
+ TopLayout: import("vue").DefineComponent<{}, {
25
+ keyboardHandler: (type: import("halo-fe").KeyboardType, event: KeyboardEvent) => void;
26
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
27
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
28
  export default _default;
@@ -1,6 +1,9 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
1
+ import { KeyboardType } from "halo-fe";
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
4
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
2
5
  HeaderIndex: {
3
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../headers/@types").HeaderProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("../headers/@types").HeaderProps> & Readonly<{}>, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
6
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../headers/@types").HeaderProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
4
7
  P: {};
5
8
  B: {};
6
9
  D: {};
@@ -1,2 +1,5 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ import { KeyboardType } from "halo-fe";
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
4
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
5
  export default _default;
@@ -1,7 +1,8 @@
1
+ import { KeyboardType } from "halo-fe";
1
2
  import { ListProps } from "./@types";
2
3
  declare const _default: import("vue").DefineComponent<ListProps, {
3
4
  refresh: () => void;
4
- keyboard: (type: string, event: KeyboardEvent) => boolean;
5
+ keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
5
6
  resize: () => void;
6
7
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
8
  search: (...args: any[]) => void;
@@ -1,11 +1,10 @@
1
1
  import ColumnPageProps from "./ColumnPageProps";
2
2
  import CustomPageProps from "./CustomPageProps";
3
3
  import DeletePageProps from "./DeletePageProps";
4
- import KeyboardType from "./KeyboardType";
5
4
  import ListPageProps from "./ListPageProps";
6
5
  import PageEmit from "./PageEmit";
7
6
  import PageProps from "./PageProps";
8
7
  import PagingPageProps from "./PagingPageProps";
9
8
  import SchemaProps from "./SchemaProps";
10
9
  import SinglePageProps from "./SinglePageProps";
11
- export { type ColumnPageProps, type CustomPageProps, type DeletePageProps, type KeyboardType, type ListPageProps, type PageEmit, type PageProps, type PagingPageProps, type SchemaProps, type SinglePageProps };
10
+ export { type ColumnPageProps, type CustomPageProps, type DeletePageProps, type ListPageProps, type PageEmit, type PageProps, type PagingPageProps, type SchemaProps, type SinglePageProps };
@@ -1,10 +1,11 @@
1
+ import { KeyboardType } from "halo-fe";
1
2
  import { CustomPageProps } from "./@types";
2
3
  declare const _default: import("vue").DefineComponent<CustomPageProps, {
3
4
  shouldLoad: (nextUrl: string) => boolean;
4
5
  shouldSpin: (nextUrl: string) => boolean;
5
6
  refresh: () => void;
6
7
  beforeClose: (event: BeforeUnloadEvent) => void;
7
- keyboard: (type: string, event: KeyboardEvent) => boolean;
8
+ keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
8
9
  resize: (event: ResizeObserverEntry) => void;
9
10
  socketHandler: (progress: any) => void;
10
11
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<ListPageProps, {
3
3
  shouldLoad: (nextUrl: string) => boolean;
4
4
  shouldSpin: (nextUrl: string) => boolean;
5
5
  refresh: () => void;
6
- keyboard: (type: string, event: KeyboardEvent) => boolean;
6
+ keyboardHandler: (type: string, event: KeyboardEvent) => void;
7
7
  resize: (event: ResizeObserverEntry) => boolean;
8
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  navigate: (...args: any[]) => void;
@@ -1,9 +1,10 @@
1
+ import { KeyboardType } from "halo-fe";
1
2
  import { PagingPageProps } from "./@types";
2
3
  declare const _default: import("vue").DefineComponent<PagingPageProps, {
3
4
  shouldLoad: (nextUrl: string) => boolean;
4
5
  shouldSpin: (nextUrl: string) => boolean;
5
6
  refresh: (cb?: Function) => void;
6
- keyboard: (type: string, event: KeyboardEvent) => boolean;
7
+ keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
7
8
  resize: (event: ResizeObserverEntry) => boolean;
8
9
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
10
  navigate: (...args: any[]) => void;
@@ -1,8 +1,9 @@
1
+ import { KeyboardType } from "halo-fe";
1
2
  import { SinglePageProps } from "./@types";
2
3
  declare const _default: import("vue").DefineComponent<SinglePageProps, {
3
4
  shouldLoad: (nextUrl: string) => boolean;
4
5
  shouldSpin: (nextUrl: string) => boolean;
5
- keyboard: (type: string, event: KeyboardEvent) => boolean;
6
+ keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
6
7
  refresh: () => void;
7
8
  resize: (event: ResizeObserverEntry) => void;
8
9
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,6 +1,7 @@
1
+ import { KeyboardType } from "halo-fe";
1
2
  import { PagingProps } from "./@types";
2
3
  declare const _default: import("vue").DefineComponent<PagingProps, {
3
- keyboard: (type: string, event: KeyboardEvent) => boolean;
4
+ keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
4
5
  resize: (event: ResizeObserverEntry) => void;
5
6
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
7
  search: (...args: any[]) => void;
@@ -1,7 +1,8 @@
1
+ import { KeyboardType } from "halo-fe";
1
2
  import { PagingProps } from "./@types";
2
3
  declare const _default: import("vue").DefineComponent<PagingProps, {
3
4
  resize: (event: ResizeObserverEntry) => boolean;
4
- keyboard: (type: string, event: KeyboardEvent) => boolean;
5
+ keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
5
6
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
7
  search: (...args: any[]) => void;
7
8
  close: (...args: any[]) => void;
@@ -1,6 +1,7 @@
1
+ import { KeyboardType } from "halo-fe";
1
2
  import { PagingProps } from "./@types";
2
3
  declare const _default: import("vue").DefineComponent<PagingProps, {
3
- keyboard: (type: string, event: KeyboardEvent) => boolean;
4
+ keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
4
5
  resize: (event: ResizeObserverEntry) => void;
5
6
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
7
  search: (...args: any[]) => void;
@@ -1,15 +1,13 @@
1
1
  import { SearchProps } from "./@types";
2
- declare const _default: import("vue").DefineComponent<SearchProps & {
2
+ declare let __VLS_typeProps: SearchProps;
3
+ type __VLS_PublicProps = {
3
4
  modelValue?: string;
4
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ } & typeof __VLS_typeProps;
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
7
  change: (...args: any[]) => void;
6
8
  submit: (...args: any[]) => void;
7
- "update:modelValue": (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<SearchProps & {
9
- modelValue?: string;
10
- }> & Readonly<{
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
10
  onChange?: (...args: any[]) => any;
12
11
  onSubmit?: (...args: any[]) => any;
13
- "onUpdate:modelValue"?: (...args: any[]) => any;
14
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
13
  export default _default;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * 模块帮助类
3
+ */
4
+ declare class ModuleSvc {
5
+ /**
6
+ * 把数组中的元素按照列数,分割成多行,并且计算好每列的列宽
7
+ */
8
+ getLines: (array: any[], columns: number, dataHandler: (field: any) => any, spanHandler: (field: any) => number) => any[];
9
+ /**
10
+ * 获取表的默认行数据
11
+ */
12
+ getDefaultRow: (table: any) => any;
13
+ /**
14
+ * 获取所有数据表的搜索字段信息
15
+ */
16
+ expandSearch: (schema: any[]) => any[];
17
+ /**
18
+ * 展开数据和架构信息
19
+ */
20
+ expandSet: (schema: any[], set: any) => any;
21
+ /**
22
+ * 展开架构信息
23
+ */
24
+ expandSchema: (schema: any[], set: {
25
+ [key: string]: any;
26
+ }) => any[];
27
+ /**
28
+ * 更新提示内容
29
+ */
30
+ updateTooltip(table: any, row: any, field: any): Promise<void>;
31
+ /**
32
+ * 获取验证规则
33
+ */
34
+ getRules(errors: any[], table: any, field: any, index: number): any[];
35
+ /**
36
+ * 填充搜索条件中不存在的搜索条件表单
37
+ */
38
+ getConditionForm: (schema: any[], condition: string) => any;
39
+ }
40
+ export default ModuleSvc;
@@ -4,7 +4,7 @@ import ControlSvc from "./ControlSvc";
4
4
  import LayoutSvc from "./LayoutSvc";
5
5
  import PageSvc from "./PageSvc";
6
6
  import RouterSvc from "./RouterSvc";
7
- import StandardSvc from "./StandardSvc";
7
+ import ModuleSvc from "./ModuleSvc";
8
8
  import UploadSvc from "./UploadSvc";
9
9
  import WindowSvc from "./WindowSvc";
10
10
  /**
@@ -17,7 +17,7 @@ declare let controlSvc: ControlSvc;
17
17
  declare let layoutSvc: LayoutSvc;
18
18
  declare let pageSvc: PageSvc;
19
19
  declare let routerSvc: RouterSvc;
20
- declare let standardSvc: StandardSvc;
20
+ declare let moduleSvc: ModuleSvc;
21
21
  declare let uploadSvc: UploadSvc;
22
22
  declare let windowSvc: WindowSvc;
23
- export { createSvc, appSvc, componentSvc, controlSvc, layoutSvc, pageSvc, routerSvc, standardSvc, uploadSvc, windowSvc };
23
+ export { createSvc, appSvc, componentSvc, controlSvc, layoutSvc, pageSvc, routerSvc, moduleSvc, uploadSvc, windowSvc };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-pc",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "Halo pc framework",
5
5
  "scripts": {
6
6
  "halo-pc:tsc": "vue-tsc",
@@ -33,25 +33,25 @@
33
33
  "peerDependencies": {
34
34
  },
35
35
  "dependencies": {
36
- "@micro-zoe/micro-app": "1.0.0-rc.10",
36
+ "@micro-zoe/micro-app": "1.0.0-rc.12",
37
37
  "clipboard": "2.0.11",
38
38
  "echarts": "5.5.1",
39
- "element-plus": "2.8.3",
39
+ "element-plus": "2.8.5",
40
40
  "intro.js": "8.0.0-beta.1",
41
- "halo-fe": "1.0.25",
41
+ "halo-fe": "1.0.27",
42
42
  "sortablejs": "1.15.3",
43
- "vue": "3.5.9",
43
+ "vue": "3.5.12",
44
44
  "vue-canvas-nest": "2.0.0",
45
45
  "vue-router": "4.4.5"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@fortawesome/fontawesome-free": "6.6.0",
49
- "@types/node": "22.7.3",
49
+ "@types/node": "22.7.5",
50
50
  "@vitejs/plugin-vue": "5.1.4",
51
51
  "@vitejs/plugin-vue-jsx": "4.0.1",
52
- "sass": "1.79.3",
53
- "typescript": "5.6.2",
54
- "vite": "5.4.8",
52
+ "sass": "1.79.5",
53
+ "typescript": "5.6.3",
54
+ "vite": "5.4.9",
55
55
  "vue-tsc": "2.1.6"
56
56
  }
57
57
  }
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js";
2
- export {
3
- f as default
4
- };
@@ -1,61 +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-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const V = /* @__PURE__ */ L({
5
- __name: "Custom",
6
- props: {
7
- view: {},
8
- url: {},
9
- win: {}
10
- },
11
- emits: ["loaded", "navigate"],
12
- setup(v, { expose: d, emit: m }) {
13
- let o = m, c = v, { url: a, win: p, view: h } = B(c), t = u(), g = u({}), k = (e) => {
14
- var n;
15
- let l = (n = t.value) == null ? void 0 : n.beforeClose;
16
- l && l(e);
17
- }, w = (e) => {
18
- t.value == null || t.value.resize == null || t.value.resize(e);
19
- }, C = (e) => !0, b = (e) => !0, y = () => {
20
- var l;
21
- let e = (l = t.value) == null ? void 0 : l.refresh;
22
- if (!e) {
23
- let n = f.url.getPath(a.value);
24
- A.notify(D("common.tips"), `要实现自定义刷新功能,请在组件 ${n} 内部定义并暴露refresh方法即可`, "warning");
25
- return;
26
- }
27
- e();
28
- }, _ = (e, l) => {
29
- if (!t.value || !t.value.keyboard)
30
- return !1;
31
- t.value.keyboard(e, l);
32
- }, x = (e) => {
33
- t.value.socketHandler(e);
34
- }, R = (e) => {
35
- if (e == null)
36
- return;
37
- let l = g.value;
38
- if (l[a.value] != null) {
39
- t.value = l[a.value];
40
- return;
41
- }
42
- f.dictionary.containsValue(l, e) || (l[a.value] = e, t.value = e);
43
- }, U = (e) => {
44
- o("loaded", e);
45
- }, z = (e) => {
46
- o("navigate", e);
47
- };
48
- return d({ shouldLoad: C, shouldSpin: b, refresh: y, beforeClose: k, keyboard: _, resize: w, socketHandler: x }), (e, l) => (i(), s(H, null, [
49
- (i(), s(N(r(h)), {
50
- ref: r(R),
51
- url: r(a),
52
- win: r(p),
53
- onLoaded: r(U),
54
- onNavigate: r(z)
55
- }, null, 40, ["url", "win", "onLoaded", "onNavigate"]))
56
- ], 1024));
57
- }
58
- });
59
- export {
60
- V as default
61
- };
@@ -1,9 +0,0 @@
1
- import { o as e } from "./main-BLb5AIWJ.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-BLb5AIWJ.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { C as f } from "./main-BLb5AIWJ.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { O as f } from "./main-BLb5AIWJ.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { a as f } from "./main-BLb5AIWJ.js";
2
- export {
3
- f as default
4
- };
@@ -1,74 +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-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const J = { class: "not-support" }, W = /* @__PURE__ */ U({
5
- __name: "List",
6
- props: {
7
- base: {},
8
- route: {},
9
- url: {},
10
- win: {}
11
- },
12
- emits: ["load", "navigate"],
13
- setup(_, { expose: S, emit: P }) {
14
- let h = P, k = _, { url: m, base: p, route: r } = B(k), f = o(), i = o(), s = o(), y = o(), g = o(), u = o(), c = o(), q = (e) => {
15
- let l = n.url.getPath(e), a = n.url.getPath(m.value);
16
- return l != a;
17
- }, C = (e) => {
18
- let l = n.url.getPath(m.value), a = n.url.getPath(e);
19
- return l != a;
20
- }, x = (e) => {
21
- var a;
22
- let l = G(e.module.type, e.module.name);
23
- 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);
24
- }, v = (e = null, l = null) => {
25
- let a = e ?? r.value.query, N = n.url.getUrl(r.value.path, a);
26
- h("load", N, !1, l);
27
- }, R = (e) => {
28
- v(null, e);
29
- }, w = (e) => {
30
- h("navigate", e);
31
- }, D = async (e) => {
32
- let l = r.value.query;
33
- l.condition = I.encode(c.value), v(l, e);
34
- }, b = () => {
35
- v();
36
- }, z = (e, l) => {
37
- if (!u.value || !u.value.keyboard)
38
- return !1;
39
- u.value.keyboard(e, l);
40
- }, L = (e) => {
41
- if (!u.value || !u.value.resize)
42
- return !1;
43
- u.value.resize(e);
44
- };
45
- return (() => {
46
- x(p.value.data);
47
- })(), E(() => p.value, (e) => {
48
- x(e.data);
49
- }), S({ shouldLoad: q, shouldSpin: C, refresh: b, keyboard: z, resize: L }), (e, l) => (F(), T(V(`list-${t(s).layouts[0].type.toLowerCase()}`), {
50
- ref_key: "listRef",
51
- ref: u,
52
- route: t(r),
53
- module: t(f),
54
- schema: t(i),
55
- table: t(s),
56
- layout: t(s).layouts[0],
57
- next: t(y),
58
- set: t(g),
59
- "search-data": t(c),
60
- onSucceed: t(R),
61
- onSearch: t(D),
62
- onNavigate: t(w),
63
- onRefresh: t(b)
64
- }, {
65
- default: $(() => [
66
- j("div", J, "未支持的列表布局方式:" + A(t(s).layouts[0].type), 1)
67
- ]),
68
- _: 1
69
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
70
- }
71
- });
72
- export {
73
- W as default
74
- };
@@ -1,54 +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-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const N = /* @__PURE__ */ _({
5
- __name: "Text",
6
- props: {
7
- schema: {},
8
- table: {},
9
- field: {},
10
- searchData: {},
11
- modelValue: {}
12
- },
13
- emits: ["change", "submit", "update:modelValue"],
14
- setup(p, { emit: u }) {
15
- let a = u, i = p, { table: s, field: o, searchData: R, modelValue: d } = x(i), c = (l) => {
16
- a("change", l);
17
- }, n = () => {
18
- a("submit");
19
- }, f = () => {
20
- n();
21
- }, t = V({
22
- get() {
23
- return d.value;
24
- },
25
- set(l) {
26
- a("update:modelValue", l);
27
- }
28
- });
29
- return (l, r) => {
30
- const h = g("el-input");
31
- return C(), b(h, {
32
- type: "text",
33
- placeholder: e(B)(e(s).name, e(o).name),
34
- clearable: "",
35
- onKeyup: y(e(n), ["enter", "native"]),
36
- onChange: e(c),
37
- onClear: e(f),
38
- modelValue: e(t),
39
- "onUpdate:modelValue": r[0] || (r[0] = (m) => v(t) ? t.value = m : t = m)
40
- }, k({ _: 2 }, [
41
- e(o).suffix ? {
42
- name: "append",
43
- fn: D(() => [
44
- K(w(e(o).suffix), 1)
45
- ]),
46
- key: "0"
47
- } : void 0
48
- ]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
49
- };
50
- }
51
- });
52
- export {
53
- N as default
54
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-epPB32IU.js";
2
- export {
3
- f as default
4
- };