halo-pc 1.0.36 → 1.0.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. package/dist/{Article-CSL7LnKj.js → Article-H_clf90b.js} +56 -59
  2. package/dist/{ArticleFooter-_CUySAZu.js → ArticleFooter-BLi4TNA7.js} +3 -4
  3. package/dist/Autocomplete-BF9x0F4f.js +49 -0
  4. package/dist/{Autocomplete-BTBqlR6B.js → Autocomplete-CcIzTPSr.js} +11 -12
  5. package/dist/{Autocomplete-CIRk6M3c.js → Autocomplete-DMm6oI1g.js} +1 -1
  6. package/dist/{CSharp-CMmXPS2i.js → CSharp-CZOchOE-.js} +1 -1
  7. package/dist/Calender-BoQV7bhA.js +10 -0
  8. package/dist/Callback-79Bw4RwY.js +20 -0
  9. package/dist/Cascader-D1Ou5OSg.js +41 -0
  10. package/dist/{Cascader-CeQ0jUxU.js → Cascader-DMhl98vw.js} +25 -26
  11. package/dist/{Checkbox-Fddc4Zgy.js → Checkbox-C6t6S7ii.js} +1 -1
  12. package/dist/{Checkbox--pNX7Slb.js → Checkbox-DtrXMDBR.js} +13 -14
  13. package/dist/Code-B8ISTTYK.js +54 -0
  14. package/dist/Code-BMlBvnqa.js +4 -0
  15. package/dist/{Code-C6A3DOQp.js → Code-DDacfgvl.js} +1 -1
  16. package/dist/Code-DIGn8Raz.js +36 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +57 -0
  18. package/dist/Column-DjA11efs.js +69 -0
  19. package/dist/{Comment-T5XWLthu.js → Comment-Ixu0gPk3.js} +29 -35
  20. package/dist/{Compare-KV2Q7Tb7.js → Compare-C1uq4lgK.js} +7 -8
  21. package/dist/{Compare-jjtb6UdZ.js → Compare-NN40QJWm.js} +9 -10
  22. package/dist/{Copy-Ck1HeTdy.js → Copy-BcfSvyWG.js} +11 -12
  23. package/dist/Custom-Dn9_vPuD.js +58 -0
  24. package/dist/{DataExport-BY1fIwSd.js → DataExport-DNGgWqsx.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js → DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js} +24 -25
  26. package/dist/{DataImport--xUxoWAq.js → DataImport-CI9eM5T1.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js → DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js} +39 -40
  28. package/dist/{Date-C3H04U5q.js → Date-CGyzi8yX.js} +1 -1
  29. package/dist/{Date-DRk7BsnD.js → Date-CZGbZKjB.js} +8 -9
  30. package/dist/{DateRange-CICZ9gVp.js → DateRange-MbbkmZ_Y.js} +9 -10
  31. package/dist/{DateTime-DXHkaHtE.js → DateTime-DHrHmRLL.js} +1 -1
  32. package/dist/{DateTime-CjTCtAm4.js → DateTime-DqUOXGWH.js} +8 -9
  33. package/dist/{DateTimeRange-CuEYJBUE.js → DateTimeRange-DgXQkZLx.js} +11 -12
  34. package/dist/{Daterange-cmpjJVxl.js → Daterange-DLHJuRur.js} +8 -9
  35. package/dist/{Decimal-BzR8o8bv.js → Decimal-BUJuuvfr.js} +1 -1
  36. package/dist/{Delete-B2VzOnk8.js → Delete-BGMk0orl.js} +19 -20
  37. package/dist/{Detail-ayakHymC.js → Detail-D4KzWdHQ.js} +7 -8
  38. package/dist/Dictionary-Esd3ERAq.js +55 -0
  39. package/dist/{Email-BbipkOFP.js → Email-C9K09hwC.js} +9 -10
  40. package/dist/{File-B131KRit.js → File-ai1eYO7v.js} +49 -50
  41. package/dist/Image-CfY4G1Yn.js +9 -0
  42. package/dist/{Index-BnudlpyF.js → Index-B5o7uf36.js} +15 -16
  43. package/dist/Index-CH3nwnPZ.js +4 -0
  44. package/dist/Index-CTjDkp7e.js +4 -0
  45. package/dist/Index-DSZ8wa7U.js +4 -0
  46. package/dist/Index-DVdiF3gr.js +4 -0
  47. package/dist/{Index-Bps1k5-m.js → Index-DYHrSEZ5.js} +1 -1
  48. package/dist/Index-DsZPtDYE.js +173 -0
  49. package/dist/{Index-B20QLMmF.js → Index-S1btGSGD.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js → Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js} +8 -9
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js → Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js} +19 -27
  52. package/dist/{Install-BnCA1XK8.js → Install-D-MgafyF.js} +13 -14
  53. package/dist/{Int-BSA4Srky.js → Int-CnvfCxgn.js} +9 -10
  54. package/dist/{Int-BlwraOyw.js → Int-D3RqVcmN.js} +13 -14
  55. package/dist/List-DA4SO_le.js +71 -0
  56. package/dist/Maintaince-BIgEbjrq.js +14 -0
  57. package/dist/{Markdown-Can2d8HC.js → Markdown-hax8By5O.js} +1 -1
  58. package/dist/Month-5lTUiWin.js +37 -0
  59. package/dist/{Month-ClTpaaAr.js → Month-BDkwv-vc.js} +12 -13
  60. package/dist/{Month-Dyt_wc8r.js → Month-CnVTSnyK.js} +1 -1
  61. package/dist/{Normal-DBRpkCNs.js → Normal-DoE9t7d7.js} +73 -74
  62. package/dist/Paging-5qsCTRWy.js +92 -0
  63. package/dist/{PagingHeader-BQ-8s0NC.js → PagingHeader-BFtE6jSy.js} +35 -36
  64. package/dist/{PagingRow-CqAYVjxH.js → PagingRow-CSB-kwMz.js} +19 -20
  65. package/dist/{Racebar-BhRmArVA.js → Racebar-Bc-dDRss.js} +26 -32
  66. package/dist/{Radio-DCVAYEgh.js → Radio-CMGOtMnx.js} +1 -1
  67. package/dist/{Register-Dr5HF0B6.js → Register-8wi0uixs.js} +54 -55
  68. package/dist/RichText-BR4Kvx0J.js +41 -0
  69. package/dist/{SearchFooter-D02JAZez.js → SearchFooter-DOC21dmS.js} +1 -1
  70. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js → SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js} +3 -3
  71. package/dist/{SearchForm-DhrX5Akr.js → SearchForm-BMTSPce_.js} +1 -1
  72. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js → SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js} +38 -41
  73. package/dist/{Select-ChwyjjbN.js → Select-DAxdpZlO.js} +8 -9
  74. package/dist/{Select-DK5-x-rC.js → Select-DnFyey0n.js} +23 -24
  75. package/dist/{Select-CaGb3SAi.js → Select-MBD4Simw.js} +1 -1
  76. package/dist/{Single-DIyLnILS.js → Single-D6x6VV_B.js} +85 -88
  77. package/dist/{Statistic-ArzDDFwp.js → Statistic-BS_DA72m.js} +22 -23
  78. package/dist/{Stock-DapT2McI.js → Stock-CbucObTu.js} +1 -1
  79. package/dist/{Stock-CsVIZtQ4.js → Stock-CtmevqBK.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-JABRw23-.js → Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js} +12 -13
  81. package/dist/{Switch-B0VJc80B.js → Switch-BlXAy9qH.js} +1 -1
  82. package/dist/{Table-C5kHBVpV.js → Table-CqsfAMh7.js} +84 -87
  83. package/dist/{Table-Cwe8QuVi.js → Table-Da9gan1Y.js} +78 -79
  84. package/dist/Text-C72NLZMt.js +48 -0
  85. package/dist/Text-CHvsKR9H.js +4 -0
  86. package/dist/{Text-CK1PT6x8.js → Text-CbZlEVTJ.js} +10 -11
  87. package/dist/Text.vue_vue_type_style_index_0_lang-aMaBccpg.js +53 -0
  88. package/dist/{TextLink-Bn_Z4Ajl.js → TextLink-SAnZ7BfX.js} +10 -11
  89. package/dist/{Textarea-C6Pi4p9b.js → Textarea-DphCUpXp.js} +1 -1
  90. package/dist/{Time-DWG3pwjK.js → Time-DjE8yYdK.js} +10 -11
  91. package/dist/{Timeline-Bqq3rFbX.js → Timeline-D11vjkpZ.js} +13 -19
  92. package/dist/Tree-DK73Ou_F.js +117 -0
  93. package/dist/{Tree-CU2UHknq.js → Tree-kich05vY.js} +99 -102
  94. package/dist/{TreeNode-DD-YfbgL.js → TreeNode-Dx6cZ31Z.js} +10 -11
  95. package/dist/{Update-BdbT4B2n.js → Update-D2Plm_AG.js} +14 -15
  96. package/dist/{UpdateChild-CVgQs6_A.js → UpdateChild-BXV7QqaP.js} +20 -21
  97. package/dist/{Upload-CKHSikDI.js → Upload-B87EDynn.js} +44 -45
  98. package/dist/Upload-CHPjMGFZ.js +65 -0
  99. package/dist/{Year-nGY1S5_T.js → Year-BPFmIiPX.js} +1 -1
  100. package/dist/{Year-CnA4ZUPj.js → Year-C93IJgc8.js} +8 -9
  101. package/dist/assets/{clipboard-DjQPoCBJ.js → clipboard-ClN4QccS.js} +1 -3
  102. package/dist/main-nvsTmKXH.js +16321 -0
  103. package/dist/main.js +137 -136
  104. package/dist/style.css +1 -1
  105. package/esm/coms/business/Form.vue.d.ts +2 -1
  106. package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
  107. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
  108. package/esm/coms/drivers/@types/KindFormProps.d.ts +3 -6
  109. package/esm/coms/drivers/@types/index.d.ts +3 -1
  110. package/esm/coms/drivers/Index.vue.d.ts +26 -29
  111. package/esm/coms/drivers/Kind.vue.d.ts +8 -8
  112. package/esm/coms/layouts/Index.vue.d.ts +7 -3
  113. package/esm/coms/layouts/Side.vue.d.ts +5 -2
  114. package/esm/coms/layouts/Top.vue.d.ts +4 -1
  115. package/esm/coms/lists/Tree.vue.d.ts +2 -1
  116. package/esm/coms/pages/@types/index.d.ts +1 -2
  117. package/esm/coms/pages/Custom.vue.d.ts +2 -1
  118. package/esm/coms/pages/List.vue.d.ts +1 -1
  119. package/esm/coms/pages/Paging.vue.d.ts +2 -1
  120. package/esm/coms/pages/Single.vue.d.ts +2 -1
  121. package/esm/coms/pagings/Article.vue.d.ts +2 -1
  122. package/esm/coms/pagings/Index.vue.d.ts +2 -1
  123. package/esm/coms/pagings/Table.vue.d.ts +2 -1
  124. package/esm/coms/searches/Text.vue.d.ts +5 -7
  125. package/esm/svcs/ModuleSvc.d.ts +40 -0
  126. package/esm/svcs/index.d.ts +3 -3
  127. package/package.json +9 -9
  128. package/dist/Autocomplete-Buw1Hs35.js +0 -50
  129. package/dist/Calender-P8tmSbW2.js +0 -10
  130. package/dist/Callback-SEWVfpG_.js +0 -21
  131. package/dist/Cascader-DWNTommi.js +0 -47
  132. package/dist/Code-CQSTwwc4.js +0 -4
  133. package/dist/Code-CXMdFELH.js +0 -42
  134. package/dist/Code-THGJ7IzI.js +0 -60
  135. package/dist/Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js +0 -63
  136. package/dist/Column-CucHIBYv.js +0 -75
  137. package/dist/Custom-CkyWaXAB.js +0 -61
  138. package/dist/Dictionary-BiSpx7nU.js +0 -61
  139. package/dist/Image-Cb1PzLpD.js +0 -9
  140. package/dist/Index-2vdi0Nq0.js +0 -4
  141. package/dist/Index-BOKSKn0N.js +0 -4
  142. package/dist/Index-CymZGuJo.js +0 -174
  143. package/dist/Index-Cz0Ti6rP.js +0 -4
  144. package/dist/Index-Dhg6Vts6.js +0 -4
  145. package/dist/List-BnT_8B_q.js +0 -74
  146. package/dist/Maintaince-CwL7tseR.js +0 -20
  147. package/dist/Month-CRmTCjQr.js +0 -38
  148. package/dist/Paging-ByJhfHCh.js +0 -95
  149. package/dist/RichText-Dj93TxtW.js +0 -47
  150. package/dist/Text-D2P-_cQT.js +0 -54
  151. package/dist/Text-oKVRjuSR.js +0 -4
  152. package/dist/Text.vue_vue_type_style_index_0_lang-epPB32IU.js +0 -59
  153. package/dist/Tree-DRUGEHR3.js +0 -123
  154. package/dist/Upload-BCGGzOTn.js +0 -71
  155. package/dist/assets/clone-BZn0cTAu.js +0 -134
  156. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  157. package/dist/assets/liquidjs-C2HVw1Ra.js +0 -2901
  158. package/dist/assets/moment-h96o7c8I.js +0 -2578
  159. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  160. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  161. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  162. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  163. package/dist/main-BLb5AIWJ.js +0 -10249
@@ -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.38",
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.29",
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,50 +0,0 @@
1
- import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as U, createBlock as b, unref as o, isRef as k } from "vue";
2
- import { j as B, U as R, h as j } from "./main-BLb5AIWJ.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const y = /* @__PURE__ */ _({
5
- __name: "Autocomplete",
6
- props: {
7
- schema: {},
8
- table: {},
9
- field: {},
10
- set: {},
11
- row: {},
12
- modelValue: {}
13
- },
14
- emits: ["submit", "change", "update:modelValue"],
15
- setup(p, { emit: d }) {
16
- let r = d, i = p, { table: c, field: m, set: w, modelValue: f } = v(i), a = V([]), h = null, g = (l, e) => {
17
- if (a.value.length) {
18
- let t = a.value.filter((s) => R.string.containsIgnoreCase(l, s.value));
19
- e(t);
20
- return;
21
- }
22
- let u = { text: h, conditions: [] };
23
- j.post(m.value.control.data.route, u).then(({ data: t }) => {
24
- a.value = t.map((s) => ({ value: s.text })), e(a.value);
25
- }).catch(() => {
26
- e([]);
27
- });
28
- }, n = x({
29
- get() {
30
- return f.value;
31
- },
32
- set(l) {
33
- r("update:modelValue", l), r("change", l);
34
- }
35
- });
36
- return (l, e) => {
37
- const u = C("el-autocomplete");
38
- return U(), b(u, {
39
- clearable: "",
40
- placeholder: o(B)(o(c).name, o(m).name),
41
- "fetch-suggestions": o(g),
42
- modelValue: o(n),
43
- "onUpdate:modelValue": e[0] || (e[0] = (t) => k(n) ? n.value = t : n = t)
44
- }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
45
- };
46
- }
47
- });
48
- export {
49
- y as default
50
- };
@@ -1,10 +0,0 @@
1
- import { openBlock as e, createElementBlock as r } from "vue";
2
- import { o } from "./main-BLb5AIWJ.js";
3
- const c = {};
4
- function n(t, _) {
5
- return e(), r("div", null, "日历");
6
- }
7
- const l = /* @__PURE__ */ o(c, [["render", n]]);
8
- export {
9
- l as default
10
- };
@@ -1,21 +0,0 @@
1
- import { defineComponent as o } from "vue";
2
- import { useRouter as i, useRoute as n } from "vue-router";
3
- import { m as s, K as a } from "./main-BLb5AIWJ.js";
4
- import "./assets/moment-h96o7c8I.js";
5
- const f = /* @__PURE__ */ o({
6
- __name: "Callback",
7
- setup(u) {
8
- let r = i(), t = n().query;
9
- return (async () => {
10
- if (!t.type) {
11
- s.error("缺失type参数");
12
- return;
13
- }
14
- let e = await a.sso.createAsync(t.type.toString());
15
- t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
16
- })(), (e, m) => " 登录完毕,处理回调中... ";
17
- }
18
- });
19
- export {
20
- f as default
21
- };
@@ -1,47 +0,0 @@
1
- import { defineComponent as y, toRefs as k, computed as c, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
2
- import { U as B } from "./main-BLb5AIWJ.js";
3
- import "./assets/liquidjs-C2HVw1Ra.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- const C = { class: "text-cascader" }, S = {
10
- key: 0,
11
- class: "cascader-seperator"
12
- }, j = /* @__PURE__ */ y({
13
- __name: "Cascader",
14
- props: {
15
- schema: {},
16
- table: {},
17
- field: {},
18
- set: {},
19
- row: {},
20
- modelValue: {}
21
- },
22
- emits: ["submit", "change"],
23
- setup(_, { emit: V }) {
24
- let v = _, { table: w, field: s, set: E, row: U, modelValue: o } = k(v), u = c(() => s.value.control.multiple ? o.value ? o.value.toString().split(",") : [] : o.value), i = c(() => {
25
- if (u.value.length > 0) {
26
- let p = s.value.control.data.data, a = [];
27
- return u.value.forEach((r) => {
28
- let l = B.tree.getParentsById(r, "value", p, "children", !0);
29
- l.length > 0 && a.push(l);
30
- }), a;
31
- }
32
- return [];
33
- });
34
- return (p, a) => (e(), t("div", C, [
35
- (e(!0), t(m, null, d(f(i), (r, l) => (e(), t("span", null, [
36
- (e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
37
- style: x({ color: n.color }),
38
- key: n.value
39
- }, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
40
- l != f(i).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
41
- ]))), 256))
42
- ]));
43
- }
44
- });
45
- export {
46
- j as default
47
- };
@@ -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,42 +0,0 @@
1
- import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as u, normalizeStyle as _, isRef as x } from "vue";
2
- import { l as F } from "./main-BLb5AIWJ.js";
3
- import "./assets/liquidjs-C2HVw1Ra.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- const $ = /* @__PURE__ */ v({
10
- __name: "Code",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- setup(s) {
20
- let m = s, { table: f, field: t, set: b, row: g, modelValue: r } = h(m), n = i(), a = i({ language: null, readonly: !0, lineNumbers: "off" }), p = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", d = (e) => e ? f.value.fields.find((o) => o.name == e) : null, c = (e) => {
21
- let l = d(e);
22
- return l ? g.value[l.name] : null;
23
- };
24
- return (() => {
25
- if (n.value = p(), t.value.control.languageField == null)
26
- a.value.language = t.value.control.language;
27
- else {
28
- let e = c(t.value.control.languageField);
29
- e && (a.value.language = e);
30
- }
31
- })(), (e, l) => (V(), y(u(F), {
32
- class: "text-code",
33
- options: u(a),
34
- style: _(u(n)),
35
- modelValue: u(r),
36
- "onUpdate:modelValue": l[0] || (l[0] = (o) => x(r) ? r.value = o : r = o)
37
- }, null, 8, ["options", "style", "modelValue"]));
38
- }
39
- });
40
- export {
41
- $ as default
42
- };
@@ -1,60 +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 r, isRef as k } from "vue";
2
- import { l as x } from "./main-BLb5AIWJ.js";
3
- import "./assets/liquidjs-C2HVw1Ra.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- const q = /* @__PURE__ */ b({
10
- __name: "Code",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(p, { emit: d }) {
21
- let i = d, g = p, { table: s, field: o, set: y, row: m, modelValue: f } = h(g), a = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
22
- let l = c(o.value.control.scrollTop);
23
- l && (m.value[l.name] = e);
24
- }, V = () => {
25
- let e = n(o.value.control.scrollTop);
26
- if (e && (a.value.scrollTop = parseInt(e)), a.value.lineNumbers = o.value.control.lineNumbers, o.value.control.languageField == null)
27
- a.value.language = o.value.control.language;
28
- else {
29
- let l = n(o.value.control.languageField);
30
- l && (a.value.language = l);
31
- }
32
- o.value.control.schema && (a.value.schema = o.value.control.schema, a.value.category = `${s.value.name}.${o.value.name}`);
33
- }, n = (e) => {
34
- let l = c(e);
35
- return l ? m.value[l.name] : null;
36
- }, c = (e) => e ? s.value.fields.find((t) => t.name == e) : null;
37
- V();
38
- let u = T({
39
- get() {
40
- return f.value ?? "";
41
- },
42
- set(e) {
43
- i("update:modelValue", e), i("change", e);
44
- }
45
- });
46
- return _(() => n(o.value.control.languageField), (e, l) => {
47
- a.value.language = e;
48
- }), (e, l) => (w(), N(r(x), {
49
- class: "control-code",
50
- border: "",
51
- options: r(a),
52
- onScroll: r(v),
53
- modelValue: r(u),
54
- "onUpdate:modelValue": l[0] || (l[0] = (t) => k(u) ? u.value = t : u = t)
55
- }, null, 8, ["options", "onScroll", "modelValue"]));
56
- }
57
- });
58
- export {
59
- q as default
60
- };
@@ -1,63 +0,0 @@
1
- import { defineComponent as C, toRefs as b, ref as m, onMounted as k, resolveComponent as i, openBlock as n, createElementBlock as u, createVNode as d, 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 { F as R, l as w } from "./main-BLb5AIWJ.js";
3
- import "./assets/liquidjs-C2HVw1Ra.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- const E = { class: "ha-code-layout" }, K = /* @__PURE__ */ C({
10
- __name: "Code",
11
- props: {
12
- route: {},
13
- validateErrors: {},
14
- module: {},
15
- schema: {},
16
- table: {},
17
- layout: {},
18
- next: {},
19
- set: {}
20
- },
21
- emits: ["submit", "change"],
22
- setup(g, { emit: F }) {
23
- let V = g, { module: U, schema: q, table: A, layout: l, next: D, set: M } = b(V), r = m({}), t = m(), v = () => {
24
- t.value = l.value.languages[0];
25
- };
26
- return k(async () => {
27
- v();
28
- let s = await R.loadCodeLanguageAsync();
29
- for (let a of s)
30
- r.value[a.text] = a.suffix;
31
- }), (s, a) => {
32
- const x = i("el-radio"), y = i("el-radio-group");
33
- return n(), u("div", E, [
34
- d(y, {
35
- modelValue: e(t),
36
- "onUpdate:modelValue": a[0] || (a[0] = (o) => h(t) ? t.value = o : t = o)
37
- }, {
38
- default: p(() => [
39
- (n(!0), u(c, null, B(e(l).languages, (o) => (n(), L(x, { value: o }, {
40
- default: p(() => [
41
- _(f(o) + " ", 1),
42
- e(r)[o] ? (n(), u(c, { key: 0 }, [
43
- _("(" + f(e(r)[o]) + ")", 1)
44
- ], 64)) : N("", !0)
45
- ]),
46
- _: 2
47
- }, 1032, ["value"]))), 256))
48
- ]),
49
- _: 1
50
- }, 8, ["modelValue"]),
51
- d(e(w), {
52
- border: "",
53
- options: { language: e(r)[e(t)] },
54
- modelValue: e(l).codes[e(t)],
55
- "onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
56
- }, null, 8, ["options", "modelValue"])
57
- ]);
58
- };
59
- }
60
- });
61
- export {
62
- K as _
63
- };
@@ -1,75 +0,0 @@
1
- import { defineComponent as S, toRefs as b, onMounted as D, computed as _, openBlock as r, createBlock as k, unref as e, withCtx as C, createElementBlock as s, Fragment as E, renderList as H, normalizeClass as L, createCommentVNode as u, createElementVNode as m, toDisplayString as a, resolveDynamicComponent as $, createVNode as h, createTextVNode as i } from "vue";
2
- import { u as z, U as y, _ as F, H as P } from "./main-BLb5AIWJ.js";
3
- import "./assets/liquidjs-C2HVw1Ra.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import "element-plus";
10
- import "vue-router";
11
- import "./assets/intro.js-Cg1adLK7.js";
12
- const R = {
13
- key: 0,
14
- class: "menus"
15
- }, T = ["onClick"], j = { class: "title" }, q = {
16
- key: 1,
17
- class: "column-empty"
18
- }, te = /* @__PURE__ */ S({
19
- __name: "Column",
20
- props: {
21
- view: {},
22
- url: {},
23
- win: {}
24
- },
25
- emits: ["loaded", "navigate"],
26
- setup(g, { expose: x, emit: U }) {
27
- let p = U, w = g, { url: d, view: c } = b(w), B = (l) => !0, N = (l) => !0, V = () => {
28
- v();
29
- }, v = () => {
30
- p("loaded", n.value.title);
31
- }, M = (l) => {
32
- let t = y.url.getUrl(l.url, { m: l.id });
33
- p("navigate", t);
34
- };
35
- D(() => {
36
- v();
37
- });
38
- let n = _(() => z.getMenuByUrl(d.value)), f = _(() => y.url.getPath(d.value));
39
- return x({ shouldLoad: B, shouldSpin: N, refresh: V }), (l, t) => (r(), k(e(F), null, {
40
- default: C(() => [
41
- e(n) ? (r(), s("div", R, [
42
- (r(!0), s(E, null, H(e(n).children, (o) => (r(), s("div", {
43
- class: "menu",
44
- key: o.id,
45
- onClick: (A) => e(M)(o)
46
- }, [
47
- o.icon ? (r(), s("i", {
48
- key: 0,
49
- class: L(o.icon)
50
- }, null, 2)) : u("", !0),
51
- m("div", j, a(o.title), 1)
52
- ], 8, T))), 128))
53
- ])) : u("", !0),
54
- (r(), k($(e(c)))),
55
- (!e(n) || e(n).children == 0) && !e(c) ? (r(), s("div", q, [
56
- h(e(P), null, {
57
- default: C(() => t[0] || (t[0] = [
58
- i(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
59
- ])),
60
- _: 1
61
- }),
62
- t[1] || (t[1] = i(" 可考虑以下任一选项:")),
63
- t[2] || (t[2] = m("br", null, null, -1)),
64
- i(" 1. 在 src/views 中实现自定义页面:" + a(e(f)), 1),
65
- t[3] || (t[3] = m("br", null, null, -1)),
66
- i(" 2. 在 src/coms/partials 中实现自定义首页部分视图:" + a(e(f)), 1)
67
- ])) : u("", !0)
68
- ]),
69
- _: 1
70
- }));
71
- }
72
- });
73
- export {
74
- te as default
75
- };