halo-pc 1.0.39 → 1.0.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. package/dist/{Article-DZlstqWL.js → Article-CqtkXVmQ.js} +37 -36
  2. package/dist/{ArticleFooter-BkduiKh8.js → ArticleFooter-DeJdTtZD.js} +12 -13
  3. package/dist/{Autocomplete-DMKnFezN.js → Autocomplete-0fxB2_FC.js} +1 -1
  4. package/dist/Autocomplete-BfhYwZ5G.js +49 -0
  5. package/dist/{Autocomplete-0Yf6lJQ7.js → Autocomplete-LQiKcvz1.js} +10 -11
  6. package/dist/{CSharp-q8eOBm4y.js → CSharp-BIFRQLaK.js} +1 -1
  7. package/dist/{Calender-CseGNCuW.js → Calender-DPNTn-S4.js} +2 -2
  8. package/dist/Callback-Ci5KrWOC.js +20 -0
  9. package/dist/Cascader-CnOEgPDf.js +41 -0
  10. package/dist/{Cascader-BG5ev35M.js → Cascader-Vhc81TDV.js} +17 -18
  11. package/dist/{Checkbox-CsCA6iQb.js → Checkbox-CIim5NiB.js} +1 -1
  12. package/dist/{Checkbox-dw8RNAGt.js → Checkbox-D9Sp6ZGQ.js} +11 -12
  13. package/dist/Code-BEjqqeFZ.js +54 -0
  14. package/dist/Code-BSrEPuXk.js +4 -0
  15. package/dist/Code-Dp1-k8sW.js +36 -0
  16. package/dist/{Code-BE8YLGaE.js → Code-yDKaH1uF.js} +10 -8
  17. package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +59 -0
  18. package/dist/Column-B0ViSver.js +69 -0
  19. package/dist/{Comment-kTmfTlbF.js → Comment-tU2wBvGO.js} +22 -26
  20. package/dist/{Compare-DlyQBCat.js → Compare-D7Gz-lE9.js} +10 -11
  21. package/dist/{Compare-DVWaiCUC.js → Compare-DqvGyQWA.js} +8 -9
  22. package/dist/Copy-Dm1LH9qB.js +43 -0
  23. package/dist/Custom-CLKAPWEo.js +49 -0
  24. package/dist/{DataExport-Um1wXyRe.js → DataExport-BDftKI0U.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-2YoqwEmA.js → DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js} +27 -28
  26. package/dist/{DataImport-CPMLup4P.js → DataImport-CRYaaQfA.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DsCp0vWo.js → DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js} +30 -31
  28. package/dist/{Date-BhZ8ltgp.js → Date-DPPiYLWw.js} +7 -8
  29. package/dist/{Date-Cj9lCW_Y.js → Date-Dlh1_S7p.js} +1 -1
  30. package/dist/{DateRange-Bw_Oyawz.js → DateRange-BgF_T3ls.js} +5 -6
  31. package/dist/{DateTime-Cv-SRE88.js → DateTime-CNjPeK9t.js} +1 -1
  32. package/dist/{DateTime-BU6JaBPk.js → DateTime-DP-VfmtN.js} +7 -8
  33. package/dist/{DateTimeRange-B4Ah6LQY.js → DateTimeRange-DbEpW4nB.js} +9 -10
  34. package/dist/{Daterange-CSZe4XGO.js → Daterange-DHVjhrK9.js} +4 -5
  35. package/dist/{Decimal-DSDuwW9Z.js → Decimal-BDEWVSsK.js} +1 -1
  36. package/dist/{Delete-CjPgg-5G.js → Delete-Bl0GmthL.js} +19 -20
  37. package/dist/{Detail-gj--ICe8.js → Detail-BozyhOTt.js} +10 -11
  38. package/dist/{Dictionary-Ck_02mWa.js → Dictionary-CJwZPQz6.js} +9 -15
  39. package/dist/{Email-BSQbDvh1.js → Email-D5X1SzuJ.js} +11 -12
  40. package/dist/{File-FW4usX43.js → File-DixK0K7p.js} +44 -43
  41. package/dist/Image-BrelhCGo.js +9 -0
  42. package/dist/Index-BeM6hKX9.js +4 -0
  43. package/dist/Index-BkfLyqpm.js +173 -0
  44. package/dist/{Index-MUgqP8jJ.js → Index-D2FOeoNQ.js} +1 -1
  45. package/dist/Index-D8UVsXwf.js +4 -0
  46. package/dist/{Index-Dq5Vp-ts.js → Index-DbXgnBz6.js} +15 -16
  47. package/dist/Index-FL-dxfFB.js +4 -0
  48. package/dist/Index-fWOqfFkG.js +4 -0
  49. package/dist/{Index-BibWDRoP.js → Index-j15c7lwJ.js} +1 -1
  50. package/dist/Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js +80 -0
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js → Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js} +21 -22
  52. package/dist/{Install-Cpp3BDCS.js → Install-WR3b4IfI.js} +13 -14
  53. package/dist/{Int-Ck1SvK7R.js → Int-CWsDtoxE.js} +9 -10
  54. package/dist/{Int-DcQsipaO.js → Int-GGWiUqO2.js} +13 -14
  55. package/dist/List-kRCsHp6d.js +71 -0
  56. package/dist/Maintaince-BG8MUi3A.js +14 -0
  57. package/dist/{Markdown-BEUz4VZ7.js → Markdown-nVfQs7kc.js} +1 -1
  58. package/dist/Month-B1icZmL4.js +37 -0
  59. package/dist/{Month-DmUiyF1G.js → Month-CxKMP4kO.js} +1 -1
  60. package/dist/{Month-DJGGGrZr.js → Month-DnYlAi7k.js} +10 -11
  61. package/dist/{Normal-ACcTHsXb.js → Normal-RcqEyIFN.js} +47 -46
  62. package/dist/Paging-DrdGzxeP.js +94 -0
  63. package/dist/{PagingHeader-DDkmqv98.js → PagingHeader-C8UpM9Kj.js} +18 -17
  64. package/dist/{PagingRow-B4Nfa2Vk.js → PagingRow-oQWCofO4.js} +13 -14
  65. package/dist/{Racebar-LfnPLNOY.js → Racebar-CvoF2ySW.js} +32 -36
  66. package/dist/{Radio-DcEZI4m7.js → Radio-DhjfkC14.js} +1 -1
  67. package/dist/{Register-B4x_zgyH.js → Register-B0Vx60wY.js} +55 -56
  68. package/dist/RichText-4wrLw9cy.js +41 -0
  69. package/dist/{SearchForm-DU5QLTbe.js → SearchForm-BHVnQaSL.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js → SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js} +50 -51
  71. package/dist/SearchHeader-C9yovXli.js +4 -0
  72. package/dist/SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js +60 -0
  73. package/dist/{Select-C3gUeHmu.js → Select-BDoCqD3I.js} +10 -11
  74. package/dist/{Select-CMxubJIV.js → Select-CX4i5KPQ.js} +1 -1
  75. package/dist/{Select-DrDDVJtz.js → Select-vgwpegBi.js} +20 -21
  76. package/dist/{Single-De-YyuVk.js → Single-C3629BdC.js} +127 -128
  77. package/dist/{Statistic-CTxHNeof.js → Statistic-Dxa-CZ8G.js} +10 -8
  78. package/dist/{Statistic-SvjQ7uGI.js → Statistic-WPezAlUn.js} +34 -33
  79. package/dist/{Stock-C2b9p3-N.js → Stock-BD5Acf8y.js} +8 -6
  80. package/dist/{Stock-XZkBSQw1.js → Stock-EPM3j2f_.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-DwxyyM7p.js → Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js} +22 -21
  82. package/dist/{Switch-PJT-5dDt.js → Switch-B0XN4K-9.js} +1 -1
  83. package/dist/{Table-Dy1H2IHN.js → Table-BklK1hSh.js} +142 -136
  84. package/dist/{Table-CkoZ8OjZ.js → Table-JFdOXuME.js} +61 -60
  85. package/dist/Text-CNtHdodK.js +4 -0
  86. package/dist/{Text-CytgR_l_.js → Text-DrJkdxZF.js} +12 -13
  87. package/dist/Text-KAuEjP7I.js +48 -0
  88. package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +53 -0
  89. package/dist/{TextLink-DINdFWzs.js → TextLink-BnijIoEJ.js} +8 -9
  90. package/dist/{Textarea-DakZXfN6.js → Textarea-3SWLqQvO.js} +1 -1
  91. package/dist/{Time-Bn1Av2wo.js → Time-C3qlNZkJ.js} +9 -10
  92. package/dist/{Timeline-B32cUvwI.js → Timeline-B6hUIYhL.js} +11 -15
  93. package/dist/{Tree-BGfHm4k_.js → Tree-DBvFF4Rj.js} +77 -76
  94. package/dist/{Tree-BItAXuSC.js → Tree-JexLPBXX.js} +38 -42
  95. package/dist/{TreeNode-DmiM_a2n.js → TreeNode-BOWB2WN9.js} +9 -10
  96. package/dist/{Update-DSTmaeT8.js → Update-CDLYYwgj.js} +5 -6
  97. package/dist/{UpdateChild-BgBJJwT3.js → UpdateChild-DUG7pAuO.js} +19 -20
  98. package/dist/{Upload-DMqlcxCt.js → Upload-B2hbxDsT.js} +46 -47
  99. package/dist/Upload-mlk6Y4Po.js +65 -0
  100. package/dist/{Year-DckBNPK_.js → Year-BRsJ7b1J.js} +1 -1
  101. package/dist/{Year-Cv92J5pF.js → Year-BUF60NmB.js} +7 -8
  102. package/dist/assets/{clipboard-DjQPoCBJ.js → clipboard-ClN4QccS.js} +1 -3
  103. package/dist/main-DymfKjqO.js +16480 -0
  104. package/dist/main.js +144 -142
  105. package/dist/style.css +1 -1
  106. package/esm/coms/commons/Table.vue.d.ts +1 -1
  107. package/esm/coms/drivers/Index.vue.d.ts +2 -2
  108. package/esm/coms/globals/Menu.vue.d.ts +1 -1
  109. package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
  110. package/esm/coms/headers/@types/HeaderProps.d.ts +1 -1
  111. package/esm/coms/headers/Index.vue.d.ts +1 -1
  112. package/esm/coms/layouts/Index.vue.d.ts +3 -3
  113. package/esm/coms/layouts/Side.vue.d.ts +2 -2
  114. package/esm/coms/layouts/Top.vue.d.ts +1 -1
  115. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  116. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  117. package/esm/coms/lists/Tree.vue.d.ts +3 -3
  118. package/esm/coms/pages/@types/SchemaProps.d.ts +2 -1
  119. package/esm/coms/pages/Column.vue.d.ts +1 -1
  120. package/esm/coms/pages/Custom.vue.d.ts +6 -6
  121. package/esm/coms/pages/List.vue.d.ts +5 -3
  122. package/esm/coms/pages/Paging.vue.d.ts +5 -3
  123. package/esm/coms/pages/Single.vue.d.ts +3 -3
  124. package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +9 -0
  125. package/esm/coms/pagings/@types/index.d.ts +2 -2
  126. package/esm/coms/pagings/Article.vue.d.ts +2 -2
  127. package/esm/coms/pagings/Index.vue.d.ts +4 -2
  128. package/esm/coms/pagings/SearchForm.vue.d.ts +1 -1
  129. package/esm/coms/pagings/SearchHeader.vue.d.ts +19 -0
  130. package/esm/coms/pagings/Table.vue.d.ts +4 -2
  131. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +2 -1
  132. package/esm/coms/singles/Index.vue.d.ts +1 -1
  133. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  134. package/esm/coms/singles/Table.vue.d.ts +1 -1
  135. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  136. package/package.json +6 -6
  137. package/dist/Autocomplete-bc-9LfGa.js +0 -50
  138. package/dist/Callback-D_dFJlfv.js +0 -21
  139. package/dist/Cascader-Dzeoz7ss.js +0 -47
  140. package/dist/Code-BRe68AIa.js +0 -42
  141. package/dist/Code-C5QfTMNw.js +0 -60
  142. package/dist/Code-_XoN6vQE.js +0 -4
  143. package/dist/Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js +0 -63
  144. package/dist/Column-C-NHhT2v.js +0 -75
  145. package/dist/Copy-DQFJy3uX.js +0 -44
  146. package/dist/Custom-D5HoD0nQ.js +0 -59
  147. package/dist/Image-DiAw_6jM.js +0 -9
  148. package/dist/Index-B_5hshjJ.js +0 -4
  149. package/dist/Index-BtlD6ocN.js +0 -4
  150. package/dist/Index-C3f38zw0.js +0 -4
  151. package/dist/Index-CB_TnEaw.js +0 -4
  152. package/dist/Index-hgTZyQps.js +0 -174
  153. package/dist/Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js +0 -82
  154. package/dist/List-hWB41wF_.js +0 -72
  155. package/dist/Maintaince-l-Tdveur.js +0 -20
  156. package/dist/Month-DkafiRHq.js +0 -38
  157. package/dist/Paging-Vfz2RDBo.js +0 -93
  158. package/dist/RichText-B1Iogpgr.js +0 -47
  159. package/dist/SearchFooter-CmM8qnxP.js +0 -4
  160. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.js +0 -55
  161. package/dist/Text-Bt5jL_KV.js +0 -49
  162. package/dist/Text-vHouxGHU.js +0 -4
  163. package/dist/Text.vue_vue_type_style_index_0_lang-CgxtY5ch.js +0 -59
  164. package/dist/Upload-DpQu3z1T.js +0 -71
  165. package/dist/assets/clone-BZn0cTAu.js +0 -134
  166. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  167. package/dist/assets/liquidjs-C2HVw1Ra.js +0 -2901
  168. package/dist/assets/moment-h96o7c8I.js +0 -2578
  169. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  170. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  171. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  172. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  173. package/dist/main-KNkwb0pq.js +0 -10515
@@ -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.40",
4
4
  "description": "Halo pc framework",
5
5
  "scripts": {
6
6
  "halo-pc:tsc": "vue-tsc",
@@ -33,12 +33,12 @@
33
33
  "peerDependencies": {
34
34
  },
35
35
  "dependencies": {
36
- "@micro-zoe/micro-app": "1.0.0-rc.12",
36
+ "@micro-zoe/micro-app": "1.0.0-rc.13",
37
37
  "clipboard": "2.0.11",
38
38
  "echarts": "5.5.1",
39
- "element-plus": "2.8.5",
39
+ "element-plus": "2.8.6",
40
40
  "intro.js": "8.0.0-beta.1",
41
- "halo-fe": "1.0.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,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 { l as B, U as R, h as w } from "./main-KNkwb0pq.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: A, 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
- w.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,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, N as a } from "./main-KNkwb0pq.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-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
- 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,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 { o 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
- 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 { o as x } 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
- 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,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,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 { G as R, o as w } 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
- 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: U }) {
23
- let V = g, { module: q, schema: A, table: D, layout: l, next: F, set: G } = 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-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 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
- };
@@ -1,44 +0,0 @@
1
- import { defineComponent as y, toRefs as g, computed as v, unref as r, renderSlot as n, openBlock as b, createElementBlock as C, createElementVNode as a } from "vue";
2
- import { m as p } from "./main-KNkwb0pq.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import { C as k } from "./assets/clipboard-DjQPoCBJ.js";
5
- const J = {
6
- key: 1,
7
- class: "copy-container"
8
- }, O = /* @__PURE__ */ y({
9
- __name: "Copy",
10
- props: {
11
- schema: {},
12
- table: {},
13
- field: {},
14
- set: {},
15
- row: {},
16
- modelValue: {}
17
- },
18
- setup(u) {
19
- let i = u, { table: w, field: l, set: N, row: S, modelValue: c } = g(i), m = (e) => JSON.stringify(JSON.parse(e), null, 2), d = () => o.value && l.value.control.type == "Json" ? m(o.value).replace(/"/g, "'") : o.value, s = () => {
20
- let e = new k(".btn-copy", { text: () => d() });
21
- e.on("success", function(t) {
22
- p.success("复制成功"), e.destroy();
23
- }), e.on("error", function(t) {
24
- p.error("复制失败"), e.destroy();
25
- });
26
- }, o = v(() => c.value);
27
- return (e, t) => r(l).control.copy ? (b(), C("div", J, [
28
- a("i", {
29
- class: "btn-copy",
30
- onClick: t[0] || (t[0] = //@ts-ignore
31
- (...f) => r(s) && r(s)(...f))
32
- }, t[1] || (t[1] = [
33
- a("img", {
34
- src: "/default/images/clippy.svg",
35
- alt: "复制文本"
36
- }, null, -1)
37
- ])),
38
- n(e.$slots, "default")
39
- ])) : n(e.$slots, "default", { key: 0 });
40
- }
41
- });
42
- export {
43
- O as default
44
- };
@@ -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
- };