halo-pc 1.0.39 → 1.0.41

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-DZlstqWL.js → Article-BMW_FzdK.js} +23 -21
  2. package/dist/{ArticleFooter-BkduiKh8.js → ArticleFooter-7iPkMQaX.js} +1 -1
  3. package/dist/{Autocomplete-bc-9LfGa.js → Autocomplete-B6Mwp9rT.js} +1 -1
  4. package/dist/{Autocomplete-DMKnFezN.js → Autocomplete-C-El55Lz.js} +1 -1
  5. package/dist/{Autocomplete-0Yf6lJQ7.js → Autocomplete-PZTjEBIx.js} +1 -1
  6. package/dist/{CSharp-q8eOBm4y.js → CSharp-BQUrQwua.js} +1 -1
  7. package/dist/{Calender-CseGNCuW.js → Calender-CJXR7uhM.js} +1 -1
  8. package/dist/{Callback-D_dFJlfv.js → Callback-CyDW9WU2.js} +1 -1
  9. package/dist/{Cascader-BG5ev35M.js → Cascader-CFc_8QSm.js} +1 -1
  10. package/dist/{Cascader-Dzeoz7ss.js → Cascader-DMQjalNv.js} +2 -2
  11. package/dist/{Checkbox-dw8RNAGt.js → Checkbox-aU8e779g.js} +1 -1
  12. package/dist/{Checkbox-CsCA6iQb.js → Checkbox-pV01os-T.js} +1 -1
  13. package/dist/Code-C0Kxulod.js +4 -0
  14. package/dist/{Code-C5QfTMNw.js → Code-C4pIa8BE.js} +2 -2
  15. package/dist/{Code-BRe68AIa.js → Code-CCJx9RSm.js} +2 -2
  16. package/dist/{Code-BE8YLGaE.js → Code-kDBbVC1W.js} +10 -8
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js → Code.vue_vue_type_style_index_0_lang-36NN7tgP.js} +12 -10
  18. package/dist/{Column-C-NHhT2v.js → Column-BebDf5Z9.js} +9 -9
  19. package/dist/{Comment-kTmfTlbF.js → Comment-BgfD9WtL.js} +5 -3
  20. package/dist/{Compare-DVWaiCUC.js → Compare-BZucuvFP.js} +1 -1
  21. package/dist/{Compare-DlyQBCat.js → Compare-D-Byn_Gq.js} +1 -1
  22. package/dist/{Copy-DQFJy3uX.js → Copy-DW4jSNQi.js} +1 -1
  23. package/dist/Custom-DIF-RYi3.js +55 -0
  24. package/dist/{DataExport-Um1wXyRe.js → DataExport-CyQy2xjO.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-2YoqwEmA.js → DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js} +1 -1
  26. package/dist/{DataImport-CPMLup4P.js → DataImport-BVF83UsQ.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DsCp0vWo.js → DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js} +1 -1
  28. package/dist/{Date-Cj9lCW_Y.js → Date-CqpFvbYZ.js} +1 -1
  29. package/dist/{Date-BhZ8ltgp.js → Date-g1XKWU4b.js} +1 -1
  30. package/dist/{DateRange-Bw_Oyawz.js → DateRange-B2afkdbT.js} +1 -1
  31. package/dist/{DateTime-BU6JaBPk.js → DateTime-D_x_wBZR.js} +1 -1
  32. package/dist/{DateTime-Cv-SRE88.js → DateTime-Zi3vtH77.js} +1 -1
  33. package/dist/{DateTimeRange-B4Ah6LQY.js → DateTimeRange-BFWM_U7H.js} +1 -1
  34. package/dist/{Daterange-CSZe4XGO.js → Daterange-tXA0b0Ak.js} +1 -1
  35. package/dist/{Decimal-DSDuwW9Z.js → Decimal-DKQ38XS_.js} +1 -1
  36. package/dist/{Delete-CjPgg-5G.js → Delete-BOkBpAGN.js} +1 -1
  37. package/dist/{Detail-gj--ICe8.js → Detail-SWgERqKG.js} +1 -1
  38. package/dist/{Dictionary-Ck_02mWa.js → Dictionary-Xsj_Qorw.js} +2 -2
  39. package/dist/{Email-BSQbDvh1.js → Email-DILPnLkb.js} +1 -1
  40. package/dist/{File-FW4usX43.js → File-BDUTK7hV.js} +12 -10
  41. package/dist/{Image-DiAw_6jM.js → Image-Yx3ZHHJK.js} +1 -1
  42. package/dist/{Index-hgTZyQps.js → Index-BTa4YIN9.js} +1 -1
  43. package/dist/Index-BWukqxQl.js +4 -0
  44. package/dist/Index-BahY1OIJ.js +4 -0
  45. package/dist/Index-C9ffFYsl.js +4 -0
  46. package/dist/{Index-MUgqP8jJ.js → Index-CiQQmYeA.js} +1 -1
  47. package/dist/Index-DG7Hovsx.js +4 -0
  48. package/dist/{Index-BibWDRoP.js → Index-DeYqTT9Q.js} +1 -1
  49. package/dist/{Index-Dq5Vp-ts.js → Index-WVLyjyqt.js} +2 -2
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js → Index.vue_vue_type_script_setup_true_lang-42C0EEto.js} +21 -21
  51. package/dist/Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js +86 -0
  52. package/dist/{Install-Cpp3BDCS.js → Install-DW5uDsXF.js} +1 -1
  53. package/dist/{Int-DcQsipaO.js → Int-BM4sbZvh.js} +1 -1
  54. package/dist/{Int-Ck1SvK7R.js → Int-BrFE_Hmm.js} +1 -1
  55. package/dist/List-DWjTqrJR.js +72 -0
  56. package/dist/{Maintaince-l-Tdveur.js → Maintaince-DF3nu9Jd.js} +2 -2
  57. package/dist/{Markdown-BEUz4VZ7.js → Markdown-BC8l7O_U.js} +1 -1
  58. package/dist/{Month-DmUiyF1G.js → Month-DRa9o-WC.js} +1 -1
  59. package/dist/{Month-DJGGGrZr.js → Month-QG6OiiLU.js} +1 -1
  60. package/dist/{Month-DkafiRHq.js → Month-Y0kLXgV7.js} +1 -1
  61. package/dist/{Normal-ACcTHsXb.js → Normal-CSy3DFPH.js} +13 -11
  62. package/dist/Paging-BYccIXmC.js +95 -0
  63. package/dist/{PagingHeader-DDkmqv98.js → PagingHeader-U-oJ1TQE.js} +4 -2
  64. package/dist/{PagingRow-B4Nfa2Vk.js → PagingRow-BmokRXX3.js} +1 -1
  65. package/dist/{Racebar-LfnPLNOY.js → Racebar-BvFHNGb8.js} +24 -22
  66. package/dist/{Radio-DcEZI4m7.js → Radio-CjfXrTOE.js} +1 -1
  67. package/dist/{Register-B4x_zgyH.js → Register-BG-3_Q2E.js} +6 -6
  68. package/dist/{RichText-B1Iogpgr.js → RichText-C88f59ao.js} +2 -2
  69. package/dist/{SearchForm-DU5QLTbe.js → SearchForm-C0zqD7UP.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js → SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js} +8 -8
  71. package/dist/SearchHeader-e2LOidgU.js +4 -0
  72. package/dist/SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js +60 -0
  73. package/dist/{Select-DrDDVJtz.js → Select-CfIvGDPS.js} +1 -1
  74. package/dist/{Select-CMxubJIV.js → Select-CvP_zGxM.js} +1 -1
  75. package/dist/{Select-C3gUeHmu.js → Select-Cz6MPDCC.js} +1 -1
  76. package/dist/Single-p-8OfzhQ.js +318 -0
  77. package/dist/{Statistic-SvjQ7uGI.js → Statistic-BIKfbZCI.js} +29 -27
  78. package/dist/{Statistic-CTxHNeof.js → Statistic-Dxa-CZ8G.js} +10 -8
  79. package/dist/{Stock-XZkBSQw1.js → Stock-B7RP-SuF.js} +1 -1
  80. package/dist/{Stock-C2b9p3-N.js → Stock-BhOP8J0c.js} +8 -6
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-DwxyyM7p.js → Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js} +4 -2
  82. package/dist/{Switch-PJT-5dDt.js → Switch-BcDhe4_E.js} +1 -1
  83. package/dist/{Table-Dy1H2IHN.js → Table-Cy7FarYr.js} +128 -121
  84. package/dist/{Table-CkoZ8OjZ.js → Table-DK-TaejU.js} +6 -4
  85. package/dist/{Text-Bt5jL_KV.js → Text-B580p9od.js} +1 -1
  86. package/dist/Text-D89aQLxL.js +4 -0
  87. package/dist/{Text-CytgR_l_.js → Text-YNB0It4-.js} +1 -1
  88. package/dist/{Text.vue_vue_type_style_index_0_lang-CgxtY5ch.js → Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js} +2 -2
  89. package/dist/{TextLink-DINdFWzs.js → TextLink-CI-AIgdm.js} +1 -1
  90. package/dist/{Textarea-DakZXfN6.js → Textarea-86C9lCtg.js} +1 -1
  91. package/dist/{Time-Bn1Av2wo.js → Time-BgArfSc6.js} +1 -1
  92. package/dist/{Timeline-B32cUvwI.js → Timeline-O_jWjdxT.js} +17 -15
  93. package/dist/{Tree-BItAXuSC.js → Tree-BfFRW-xZ.js} +6 -4
  94. package/dist/{Tree-BGfHm4k_.js → Tree-DayADkaC.js} +21 -19
  95. package/dist/{TreeNode-DmiM_a2n.js → TreeNode-BZp8w6M5.js} +1 -1
  96. package/dist/{Update-DSTmaeT8.js → Update-Bcdz87R4.js} +1 -1
  97. package/dist/{UpdateChild-BgBJJwT3.js → UpdateChild-YzPMnj_r.js} +1 -1
  98. package/dist/{Upload-DMqlcxCt.js → Upload-DU5VOqXj.js} +1 -1
  99. package/dist/{Upload-DpQu3z1T.js → Upload-Dj5nSsug.js} +2 -2
  100. package/dist/{Year-Cv92J5pF.js → Year-B3E0kOiA.js} +1 -1
  101. package/dist/{Year-DckBNPK_.js → Year-CcbzIuwy.js} +1 -1
  102. package/dist/assets/{liquidjs-C2HVw1Ra.js → liquidjs-BfOWWjtJ.js} +119 -113
  103. package/dist/{main-KNkwb0pq.js → main-DxH9UW19.js} +3580 -3372
  104. package/dist/main.js +155 -152
  105. package/dist/style.css +1 -1
  106. package/esm/coms/commons/Table.vue.d.ts +1 -1
  107. package/esm/coms/drivers/@types/CrudProps.d.ts +2 -2
  108. package/esm/coms/drivers/Index.vue.d.ts +2 -2
  109. package/esm/coms/globals/Menu.vue.d.ts +1 -1
  110. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  111. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -1
  112. package/esm/coms/headers/Index.vue.d.ts +1 -1
  113. package/esm/coms/layouts/Index.vue.d.ts +3 -3
  114. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  115. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  116. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  117. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  118. package/esm/coms/lists/Tree.vue.d.ts +3 -3
  119. package/esm/coms/pages/@types/SchemaProps.d.ts +2 -1
  120. package/esm/coms/pages/Column.vue.d.ts +1 -1
  121. package/esm/coms/pages/Custom.vue.d.ts +6 -6
  122. package/esm/coms/pages/List.vue.d.ts +5 -3
  123. package/esm/coms/pages/Paging.vue.d.ts +5 -3
  124. package/esm/coms/pages/Single.vue.d.ts +3 -3
  125. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +9 -0
  126. package/esm/coms/pagings/@types/index.d.ts +2 -2
  127. package/esm/coms/pagings/Article.vue.d.ts +2 -2
  128. package/esm/coms/pagings/Index.vue.d.ts +4 -2
  129. package/esm/coms/pagings/SearchForm.vue.d.ts +1 -1
  130. package/esm/coms/pagings/SearchHeader.vue.d.ts +19 -0
  131. package/esm/coms/pagings/Table.vue.d.ts +4 -2
  132. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +2 -1
  133. package/esm/coms/singles/Index.vue.d.ts +1 -1
  134. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  135. package/esm/coms/singles/Table.vue.d.ts +1 -1
  136. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  137. package/package.json +6 -6
  138. package/dist/Code-_XoN6vQE.js +0 -4
  139. package/dist/Custom-D5HoD0nQ.js +0 -59
  140. package/dist/Index-B_5hshjJ.js +0 -4
  141. package/dist/Index-BtlD6ocN.js +0 -4
  142. package/dist/Index-C3f38zw0.js +0 -4
  143. package/dist/Index-CB_TnEaw.js +0 -4
  144. package/dist/Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js +0 -82
  145. package/dist/List-hWB41wF_.js +0 -72
  146. package/dist/Paging-Vfz2RDBo.js +0 -93
  147. package/dist/SearchFooter-CmM8qnxP.js +0 -4
  148. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.js +0 -55
  149. package/dist/Single-De-YyuVk.js +0 -318
  150. package/dist/Text-vHouxGHU.js +0 -4
@@ -1,10 +1,12 @@
1
+ import { KeyboardType, SocketResponse } from "halo-fe";
1
2
  import { ListPageProps } from "./@types";
2
3
  declare const _default: import("vue").DefineComponent<ListPageProps, {
3
4
  shouldLoad: (nextUrl: string) => boolean;
4
5
  shouldSpin: (nextUrl: string) => boolean;
5
- refresh: () => void;
6
- keyboardHandler: (type: string, event: KeyboardEvent) => void;
7
- resize: (event: ResizeObserverEntry) => boolean;
6
+ onRefresh: () => void;
7
+ onKeyboard: (type: KeyboardType, event: KeyboardEvent) => void;
8
+ onSocket: (socketRes: SocketResponse<any>) => void;
9
+ onResize: (event: ResizeObserverEntry) => void;
8
10
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
11
  navigate: (...args: any[]) => void;
10
12
  load: (...args: any[]) => void;
@@ -1,11 +1,13 @@
1
1
  import { KeyboardType } from "halo-fe";
2
2
  import { PagingPageProps } from "./@types";
3
+ import { SocketResponse } from "halo-fe/drivers";
3
4
  declare const _default: import("vue").DefineComponent<PagingPageProps, {
4
5
  shouldLoad: (nextUrl: string) => boolean;
5
6
  shouldSpin: (nextUrl: string) => boolean;
6
- refresh: (cb?: Function) => void;
7
- keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
8
- resize: (event: ResizeObserverEntry) => boolean;
7
+ onRefresh: (cb?: Function) => void;
8
+ onKeyboard: (type: KeyboardType, event: KeyboardEvent) => void;
9
+ onSocket: (socketRes: SocketResponse<any>) => void;
10
+ onResize: (event: ResizeObserverEntry) => void;
9
11
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
12
  navigate: (...args: any[]) => void;
11
13
  load: (...args: any[]) => void;
@@ -3,9 +3,9 @@ import { SinglePageProps } from "./@types";
3
3
  declare const _default: import("vue").DefineComponent<SinglePageProps, {
4
4
  shouldLoad: (nextUrl: string) => boolean;
5
5
  shouldSpin: (nextUrl: string) => boolean;
6
- keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
7
- refresh: () => void;
8
- resize: (event: ResizeObserverEntry) => void;
6
+ onKeyboard: (type: KeyboardType, event: KeyboardEvent) => void;
7
+ onRefresh: () => void;
8
+ onResize: (event: ResizeObserverEntry) => void;
9
9
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  close: (...args: any[]) => void;
11
11
  navigate: (...args: any[]) => void;
@@ -0,0 +1,9 @@
1
+ import { SchemaProps } from "../../pages/@types";
2
+ /**
3
+ * 搜索头部属性
4
+ */
5
+ interface SearchHeaderProps extends SchemaProps {
6
+ selection: any[];
7
+ searchData: any;
8
+ }
9
+ export default SearchHeaderProps;
@@ -1,4 +1,4 @@
1
1
  import PagingProps from "./PagingProps";
2
- import SearchFooterProps from "./SearchFooterProps";
2
+ import SearchHeaderProps from "./SearchHeaderProps";
3
3
  import SearchFormProps from "./SearchFormProps";
4
- export { type PagingProps, type SearchFooterProps, type SearchFormProps, };
4
+ export { type PagingProps, type SearchHeaderProps, type SearchFormProps, };
@@ -1,8 +1,8 @@
1
1
  import { KeyboardType } from "halo-fe";
2
2
  import { PagingProps } from "./@types";
3
3
  declare const _default: import("vue").DefineComponent<PagingProps, {
4
- keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
5
- resize: (event: ResizeObserverEntry) => void;
4
+ onKeyboard: (type: KeyboardType, event: KeyboardEvent) => void;
5
+ onResize: (event: ResizeObserverEntry) => void;
6
6
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  search: (...args: any[]) => void;
8
8
  close: (...args: any[]) => void;
@@ -1,8 +1,10 @@
1
1
  import { KeyboardType } from "halo-fe";
2
2
  import { PagingProps } from "./@types";
3
+ import { SocketResponse } from "halo-fe/drivers";
3
4
  declare const _default: import("vue").DefineComponent<PagingProps, {
4
- resize: (event: ResizeObserverEntry) => boolean;
5
- keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
5
+ onResize: (event: ResizeObserverEntry) => void;
6
+ onKeyboard: (type: KeyboardType, event: KeyboardEvent) => void;
7
+ onSocket: (socketRes: SocketResponse<any>) => void;
6
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
9
  search: (...args: any[]) => void;
8
10
  close: (...args: any[]) => void;
@@ -1,6 +1,6 @@
1
1
  import { SearchFormProps } from "./@types";
2
2
  declare const _default: import("vue").DefineComponent<SearchFormProps, {
3
- resize: (event: ResizeObserverEntry) => void;
3
+ onResize: (event: ResizeObserverEntry) => void;
4
4
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  mounted: (...args: any[]) => void;
6
6
  change: (...args: any[]) => void;
@@ -0,0 +1,19 @@
1
+ import { SearchHeaderProps } from "./@types";
2
+ declare const _default: import("vue").DefineComponent<SearchHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ search: (...args: any[]) => void;
4
+ add: (...args: any[]) => void;
5
+ succeed: (...args: any[]) => void;
6
+ copy: (...args: any[]) => void;
7
+ remove: (...args: any[]) => void;
8
+ "show-import": (...args: any[]) => void;
9
+ "show-export": (...args: any[]) => void;
10
+ }, string, import("vue").PublicProps, Readonly<SearchHeaderProps> & Readonly<{
11
+ onSearch?: (...args: any[]) => any;
12
+ onAdd?: (...args: any[]) => any;
13
+ onSucceed?: (...args: any[]) => any;
14
+ onCopy?: (...args: any[]) => any;
15
+ onRemove?: (...args: any[]) => any;
16
+ "onShow-import"?: (...args: any[]) => any;
17
+ "onShow-export"?: (...args: any[]) => any;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ export default _default;
@@ -1,8 +1,10 @@
1
1
  import { KeyboardType } from "halo-fe";
2
2
  import { PagingProps } from "./@types";
3
+ import { SocketResponse } from "halo-fe/drivers";
3
4
  declare const _default: import("vue").DefineComponent<PagingProps, {
4
- keyboardHandler: (type: KeyboardType, event: KeyboardEvent) => void;
5
- resize: (event: ResizeObserverEntry) => void;
5
+ onKeyboard: (type: KeyboardType, event: KeyboardEvent) => void;
6
+ onSocket: (socketRes: SocketResponse<any>) => void;
7
+ onResize: (event: ResizeObserverEntry) => void;
6
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
9
  search: (...args: any[]) => void;
8
10
  close: (...args: any[]) => void;
@@ -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.39",
3
+ "version": "1.0.41",
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.30",
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-D2hJ7lYF.js";
2
- export {
3
- f as default
4
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as z, 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 { U as f, m as N, t as A, a as D } from "./main-KNkwb0pq.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const $ = /* @__PURE__ */ z({
5
- __name: "Custom",
6
- props: {
7
- view: {},
8
- url: {},
9
- win: {}
10
- },
11
- emits: ["loaded", "navigate"],
12
- setup(d, { expose: m, emit: v }) {
13
- let a = v, c = d, { url: n, win: p, view: g } = L(c), t = u(), h = u({}), w = (e) => {
14
- var o;
15
- let l = (o = t.value) == null ? void 0 : o.beforeClose;
16
- l && l(e);
17
- }, C = (e) => {
18
- t.value == null || t.value.resize == null || t.value.resize(e);
19
- }, _ = (e) => !0, b = (e) => !0, k = () => {
20
- var l;
21
- let e = (l = t.value) == null ? void 0 : l.refresh;
22
- if (!e) {
23
- let o = f.url.getPath(n.value);
24
- N.notify(A("common.tips"), `要实现自定义刷新功能,请在组件 ${o} 内部定义并暴露refresh方法即可`, "warning");
25
- return;
26
- }
27
- e();
28
- }, x = (e, l) => {
29
- D.triggerKeyboardHandler(t.value, e, l);
30
- }, y = (e) => {
31
- t.value.socketHandler(e);
32
- }, R = (e) => {
33
- if (e == null)
34
- return;
35
- let l = h.value;
36
- if (l[n.value] != null) {
37
- t.value = l[n.value];
38
- return;
39
- }
40
- f.dictionary.containsValue(l, e) || (l[n.value] = e, t.value = e);
41
- }, H = (e) => {
42
- a("loaded", e);
43
- }, U = (e) => {
44
- a("navigate", e);
45
- };
46
- return m({ shouldLoad: _, shouldSpin: b, refresh: k, beforeClose: w, keyboardHandler: x, resize: C, socketHandler: y }), (e, l) => (i(), s(B, null, [
47
- (i(), s(K(r(g)), {
48
- ref: r(R),
49
- url: r(n),
50
- win: r(p),
51
- onLoaded: r(H),
52
- onNavigate: r(U)
53
- }, null, 40, ["url", "win", "onLoaded", "onNavigate"]))
54
- ], 1024));
55
- }
56
- });
57
- export {
58
- $ as default
59
- };
@@ -1,4 +0,0 @@
1
- import { b as f } from "./main-KNkwb0pq.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { k as f } from "./main-KNkwb0pq.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { D as f } from "./main-KNkwb0pq.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { Q as f } from "./main-KNkwb0pq.js";
2
- export {
3
- f as default
4
- };
@@ -1,82 +0,0 @@
1
- import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as R, Fragment as B, createVNode as H, unref as e, createBlock as L, resolveDynamicComponent as w, withCtx as E, createElementVNode as P, toDisplayString as V } from "vue";
2
- import { v as $, a as F } from "./main-KNkwb0pq.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 I = { class: "not-support" }, Y = /* @__PURE__ */ k({
13
- __name: "Index",
14
- props: {
15
- searchData: {},
16
- module: {},
17
- schema: {},
18
- table: {},
19
- layout: {},
20
- next: {},
21
- set: {}
22
- },
23
- emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
24
- setup(c, { expose: i, emit: u }) {
25
- let o = u, g = c, { module: m, schema: p, table: r, layout: l, next: h, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
26
- o("navigate", a, t);
27
- }, C = (a, t) => {
28
- o("sort", a, t);
29
- }, _ = (a) => {
30
- o("search", a);
31
- }, v = (a, t = null) => {
32
- o("page-change", a, t);
33
- }, b = (a, t = null) => {
34
- o("size-change", a, t);
35
- }, x = (a = null) => {
36
- o("succeed", a);
37
- }, z = () => {
38
- o("close");
39
- }, S = (a) => {
40
- o("layout-change", a);
41
- };
42
- return i({ resize: (a) => {
43
- if (!n.value || !n.value.resize)
44
- return !1;
45
- n.value.resize(a);
46
- }, keyboardHandler: (a, t) => {
47
- F.triggerKeyboardHandler(n.value, a, t);
48
- } }), (a, t) => (s(), R(B, null, [
49
- H(e($), {
50
- layout: e(l),
51
- table: e(r),
52
- onLayoutChange: e(S)
53
- }, null, 8, ["layout", "table", "onLayoutChange"]),
54
- (s(), L(w(`paging-${e(l).type.toLowerCase()}`), {
55
- ref_key: "pagingRef",
56
- ref: n,
57
- module: e(m),
58
- schema: e(p),
59
- table: e(r),
60
- layout: e(l),
61
- next: e(h),
62
- set: e(d),
63
- "search-data": e(y),
64
- onNavigate: e(f),
65
- onSort: e(C),
66
- onSearch: e(_),
67
- onPageChange: e(v),
68
- onSizeChange: e(b),
69
- onSucceed: e(x),
70
- onClose: e(z)
71
- }, {
72
- default: E(() => [
73
- P("div", I, "未支持的分页布局方式:" + V(e(l).type), 1)
74
- ]),
75
- _: 1
76
- }, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
77
- ], 64));
78
- }
79
- });
80
- export {
81
- Y as _
82
- };
@@ -1,72 +0,0 @@
1
- import { defineComponent as U, toRefs as B, ref as u, watch as H, openBlock as E, createBlock as F, resolveDynamicComponent as K, unref as t, withCtx as T, createElementVNode as V, toDisplayString as $ } from "vue";
2
- import { U as n, c as j, i as A, d as m, e as G, a as I } from "./main-KNkwb0pq.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- const J = { class: "not-support" }, X = /* @__PURE__ */ U({
5
- __name: "List",
6
- props: {
7
- base: {},
8
- route: {},
9
- url: {},
10
- win: {}
11
- },
12
- emits: ["load", "navigate"],
13
- setup(b, { expose: S, emit: P }) {
14
- let h = P, R = b, { url: v, base: p, route: o } = B(R), f = u(), i = u(), r = u(), y = u(), g = u(), s = u(), c = u(), q = (e) => {
15
- let l = n.url.getPath(e), a = n.url.getPath(v.value);
16
- return l != a;
17
- }, C = (e) => {
18
- let l = n.url.getPath(v.value), a = n.url.getPath(e);
19
- return l != a;
20
- }, x = (e) => {
21
- var a;
22
- let l = j(e.module.type, e.module.name);
23
- A.setTitle(l, e.module.env), f.value = e.module, i.value = m.expandSchema(e.schema, e.set), r.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = m.expandSet(e.schema, e.set), c.value = m.getConditionForm(i.value, o.value.query.condition);
24
- }, d = (e = null, l = null) => {
25
- let a = e ?? o.value.query, N = n.url.getUrl(o.value.path, a);
26
- h("load", N, !1, l);
27
- }, k = (e) => {
28
- d(null, e);
29
- }, w = (e) => {
30
- h("navigate", e);
31
- }, D = async (e) => {
32
- let l = o.value.query;
33
- l.condition = G.encode(c.value), d(l, e);
34
- }, _ = () => {
35
- d();
36
- }, z = (e, l) => {
37
- I.triggerKeyboardHandler(s.value, e, l);
38
- }, L = (e) => {
39
- if (!s.value || !s.value.resize)
40
- return !1;
41
- s.value.resize(e);
42
- };
43
- return (() => {
44
- x(p.value.data);
45
- })(), H(() => p.value, (e) => {
46
- x(e.data);
47
- }), S({ shouldLoad: q, shouldSpin: C, refresh: _, keyboardHandler: z, resize: L }), (e, l) => (E(), F(K(`list-${t(r).layouts[0].type.toLowerCase()}`), {
48
- ref_key: "listRef",
49
- ref: s,
50
- route: t(o),
51
- module: t(f),
52
- schema: t(i),
53
- table: t(r),
54
- layout: t(r).layouts[0],
55
- next: t(y),
56
- set: t(g),
57
- "search-data": t(c),
58
- onSucceed: t(k),
59
- onSearch: t(D),
60
- onNavigate: t(w),
61
- onRefresh: t(_)
62
- }, {
63
- default: T(() => [
64
- V("div", J, "未支持的列表布局方式:" + $(t(r).layouts[0].type), 1)
65
- ]),
66
- _: 1
67
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
68
- }
69
- });
70
- export {
71
- X as default
72
- };
@@ -1,93 +0,0 @@
1
- import { defineComponent as T, toRefs as V, ref as r, onMounted as $, watch as A, unref as a, openBlock as E, createBlock as G, createCommentVNode as I } from "vue";
2
- import { U as o, c as Q, i as W, d, e as q, a as X } from "./main-KNkwb0pq.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js";
5
- const ae = /* @__PURE__ */ T({
6
- __name: "Paging",
7
- props: {
8
- base: {},
9
- route: {},
10
- url: {},
11
- win: {}
12
- },
13
- emits: ["navigate", "load"],
14
- setup(b, { expose: z, emit: P }) {
15
- let m = P, k = b, { url: p, base: y, route: u } = V(k), f = r(), v = r(), c = r(), g = r(), x = r(), C = r(), h = r(), s = r(), N = (e) => !0, R = (e) => {
16
- let l = o.url.getPath(p.value), t = o.url.getPath(e);
17
- return l != t;
18
- }, L = (e = null) => {
19
- _(e);
20
- }, w = () => {
21
- }, S = (e) => {
22
- var t;
23
- let l = Q(e.module.type, e.module.name);
24
- W.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, C.value = d.expandSet(e.schema, e.set), v.value = d.expandSchema(e.schema, e.set), c.value = (t = v.value) == null ? void 0 : t[0], g.value = c.value.layouts[0], h.value = d.getConditionForm(v.value, u.value.query.condition);
25
- }, U = (e = null, l = null) => {
26
- let t = e ?? u.value.query, n = o.url.getUrl(u.value.path, t);
27
- m("load", n, !1, (O) => {
28
- l && l(O);
29
- });
30
- }, i = (e, l) => {
31
- m("navigate", e, l);
32
- }, B = async (e) => {
33
- let l = u.value.query;
34
- l.page = 1;
35
- let t = o.object.pure(h.value);
36
- l.condition = q.encode(t);
37
- let n = o.url.getUrl(u.value.path, l);
38
- n == p.value ? U(l, e) : i(n, e);
39
- }, D = (e, l) => {
40
- let t = u.value.query;
41
- t.order_by = q.encode(JSON.stringify(e));
42
- let n = o.url.getUrl(u.value.path, t);
43
- i(n, l);
44
- }, H = (e, l = null) => {
45
- let t = u.value.query;
46
- t.page = e;
47
- let n = o.url.getUrl(u.value.path, t);
48
- i(n, l);
49
- }, j = (e, l = null) => {
50
- let t = u.value.query;
51
- t.size = e;
52
- let n = o.url.getUrl(u.value.path, t);
53
- i(n, l);
54
- }, F = (e) => {
55
- g.value = c.value.layouts.find((l) => l.type == e);
56
- }, J = () => {
57
- S(y.value.data);
58
- }, _ = (e = null) => U(null, e), K = (e) => {
59
- if (!s.value || !s.value.resize)
60
- return !1;
61
- s.value.resize(e);
62
- }, M = (e, l) => {
63
- X.triggerKeyboardHandler(s.value, e, l);
64
- };
65
- return $(async () => {
66
- J();
67
- }), A(() => y.value, (e) => {
68
- S(e.data);
69
- }), z({ shouldLoad: N, shouldSpin: R, refresh: _, keyboardHandler: M, resize: K }), (e, l) => a(g) ? (E(), G(Y, {
70
- key: 0,
71
- ref_key: "pagingRef",
72
- ref: s,
73
- module: a(f),
74
- next: a(x),
75
- set: a(C),
76
- schema: a(v),
77
- table: a(c),
78
- layout: a(g),
79
- "search-data": a(h),
80
- onNavigate: a(i),
81
- onSort: a(D),
82
- onSearch: a(B),
83
- onPageChange: a(H),
84
- onSizeChange: a(j),
85
- onLayoutChange: a(F),
86
- onSucceed: a(L),
87
- onClose: a(w)
88
- }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : I("", !0);
89
- }
90
- });
91
- export {
92
- ae as default
93
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.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 { f as D } from "./main-KNkwb0pq.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(r, { emit: c }) {
16
- let t = c, s = r, { 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
- };