halo-pc 1.0.35 → 1.0.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. package/dist/{Article-BqULjBoz.js → Article-DSuvpyeC.js} +59 -62
  2. package/dist/{ArticleFooter-CRepUD0G.js → ArticleFooter-Cx3OC7sV.js} +3 -4
  3. package/dist/{Autocomplete-DW-EQzP_.js → Autocomplete-1jt0wRMS.js} +1 -1
  4. package/dist/{Autocomplete-DxWoCy2-.js → Autocomplete-C7CYy8w6.js} +8 -9
  5. package/dist/{Autocomplete-Dl8yr0gI.js → Autocomplete-DASTUS8d.js} +5 -6
  6. package/dist/{CSharp-CHmrfPD-.js → CSharp-CebNTVPd.js} +1 -1
  7. package/dist/{Calender-BX22DnMb.js → Calender-BBILvX8n.js} +4 -4
  8. package/dist/{Callback-BGchl5Pt.js → Callback-CLA9Ab9q.js} +5 -6
  9. package/dist/Cascader-DY2zOwsa.js +47 -0
  10. package/dist/{Cascader-Wmh_fOfd.js → Cascader-DyQ312mS.js} +12 -13
  11. package/dist/{Checkbox-ClYubr5_.js → Checkbox-CHmMU0Cs.js} +1 -1
  12. package/dist/{Checkbox-BhDHYVQv.js → Checkbox-CyC_mo50.js} +3 -4
  13. package/dist/Code-B4Z7WuUc.js +42 -0
  14. package/dist/Code-BOTf1uZ5.js +60 -0
  15. package/dist/{Code-Dw8__whP.js → Code-CIFJJJo3.js} +1 -1
  16. package/dist/Code-Da4PjT9q.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-ChjwMs7I.js +63 -0
  18. package/dist/{Column-CNqrSNAW.js → Column-9A6-8_Y7.js} +23 -19
  19. package/dist/{Comment-BNLLGPGB.js → Comment-D78rr4-n.js} +34 -30
  20. package/dist/{Compare-BjIr4vt8.js → Compare-Cb9vYPl5.js} +3 -4
  21. package/dist/{Compare-C5P2t4Iq.js → Compare-DLiL32cA.js} +3 -4
  22. package/dist/{Copy-CvBsdMqw.js → Copy-CH2_hawJ.js} +8 -9
  23. package/dist/Custom-D9qN9bwa.js +59 -0
  24. package/dist/{DataExport-J7a12xRD.js → DataExport-D8cqXPrh.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BQ0WNRqq.js → DataExport.vue_vue_type_script_setup_true_lang-DmB5AeGR.js} +12 -13
  26. package/dist/{DataImport-BgrxhdBP.js → DataImport-3KwXYYGw.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-0AgII-Ro.js → DataImport.vue_vue_type_script_setup_true_lang-C9xs1_ec.js} +3 -4
  28. package/dist/{Date-CqL3Xp1L.js → Date-OZxdofhB.js} +1 -1
  29. package/dist/{Date-iWorFEXN.js → Date-yHlD-Lw2.js} +8 -9
  30. package/dist/{DateRange-Cfpeirwq.js → DateRange-BLSxDHKv.js} +3 -4
  31. package/dist/{DateTime-Dv0U5rlW.js → DateTime-8tbpOKOK.js} +5 -6
  32. package/dist/{DateTime-fa-BOHE8.js → DateTime-B7GzMj8Q.js} +1 -1
  33. package/dist/{DateTimeRange-B0pw5ZiA.js → DateTimeRange-COFWmQoO.js} +6 -7
  34. package/dist/{Daterange-DMGOeSyF.js → Daterange-Cy8l4CfJ.js} +8 -9
  35. package/dist/{Decimal-ynN-XKqW.js → Decimal-Dw6EtZOm.js} +1 -1
  36. package/dist/{Delete-DKYI0lCr.js → Delete-DjXSCUKp.js} +15 -16
  37. package/dist/{Detail-Br-ULMjV.js → Detail-DU8mI4u2.js} +3 -4
  38. package/dist/{Dictionary-C3z2FWDL.js → Dictionary-CAAvUqf-.js} +10 -6
  39. package/dist/{Email-B2DsICjF.js → Email-AHWpz5Ck.js} +5 -6
  40. package/dist/{File-hdUkjji3.js → File-DUxwHR5G.js} +19 -20
  41. package/dist/Image-BJ5q87B6.js +9 -0
  42. package/dist/Index-CF44rsZW.js +4 -0
  43. package/dist/Index-CnFjsuQV.js +4 -0
  44. package/dist/{Index-ChcEoqTf.js → Index-D223MCYD.js} +35 -36
  45. package/dist/Index-DCIDLocj.js +4 -0
  46. package/dist/{Index-ySmCcOc1.js → Index-Jt1omrn-.js} +1 -1
  47. package/dist/{Index-BQB6vWfH.js → Index-KTv20XtO.js} +1 -1
  48. package/dist/{Index-Bnw6u3PZ.js → Index-Z8HW5XAm.js} +4 -5
  49. package/dist/Index-qIfIbiFH.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-CZXsC-E_.js → Index.vue_vue_type_script_setup_true_lang-BznVrY52.js} +27 -25
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-GUuR0vzO.js → Index.vue_vue_type_script_setup_true_lang-_8v_4G-B.js} +6 -7
  52. package/dist/{Install-0oA4rPM7.js → Install-C-xxCx9D.js} +10 -11
  53. package/dist/{Int-CNHen_OB.js → Int-1QpMyTPB.js} +3 -4
  54. package/dist/{Int-CYCrDfkF.js → Int-BsHpY5Gt.js} +6 -7
  55. package/dist/List-DW7FpMfd.js +72 -0
  56. package/dist/Maintaince-CjUfJUr7.js +20 -0
  57. package/dist/{Markdown-CcnI9mz9.js → Markdown-BZhSwheI.js} +1 -1
  58. package/dist/{Month-D_9DFUV2.js → Month-BKXtBi6i.js} +1 -1
  59. package/dist/{Month-N0iGv8-c.js → Month-IJnA7Kgl.js} +8 -9
  60. package/dist/{Month-BBF1HARy.js → Month-m0FiTmBK.js} +6 -7
  61. package/dist/{Normal-DwZJydUM.js → Normal-CettIwbU.js} +65 -66
  62. package/dist/Paging-J9vCBFzM.js +93 -0
  63. package/dist/{PagingHeader-GXUua6cK.js → PagingHeader-irWrEKGQ.js} +4 -5
  64. package/dist/{PagingRow-DeZCXdLB.js → PagingRow-Bft1brFD.js} +3 -4
  65. package/dist/{Racebar-BXFHoJrk.js → Racebar-D3VFwM1V.js} +28 -24
  66. package/dist/{Radio-nUkqPIGx.js → Radio-C-IwNXnz.js} +1 -1
  67. package/dist/{Register-DNXmULLI.js → Register-XTfqbbgr.js} +38 -39
  68. package/dist/{RichText-COY92auQ.js → RichText-D3aLlQph.js} +14 -10
  69. package/dist/{SearchFooter-B-2TAXcZ.js → SearchFooter-hC7sQBez.js} +1 -1
  70. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-DgM6JntR.js +55 -0
  71. package/dist/{SearchForm-B1KLbbyY.js → SearchForm-BTux7Adt.js} +1 -1
  72. package/dist/SearchForm.vue_vue_type_style_index_0_lang-Ddpe-p19.js +143 -0
  73. package/dist/{Select-Bw_B6ufE.js → Select-ClAK8aNJ.js} +10 -11
  74. package/dist/{Select-CGamhz-L.js → Select-DlM_C-60.js} +1 -1
  75. package/dist/{Select-D8xfJf8j.js → Select-K1dU20i2.js} +13 -14
  76. package/dist/{Single-DIveQskP.js → Single-DYDwq041.js} +66 -69
  77. package/dist/{Statistic-D5iiPISQ.js → Statistic-CidgrAcU.js} +6 -7
  78. package/dist/{Stock-B3zJIs1k.js → Stock-BFszdaCn.js} +1 -1
  79. package/dist/{Stock-bO6XUouM.js → Stock-BiuhsKPB.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-CCOJ4-No.js → Stock.vue_vue_type_style_index_0_lang-O1UAbsov.js} +6 -7
  81. package/dist/{Switch-DssI1IBh.js → Switch-TI8J8-E2.js} +1 -1
  82. package/dist/{Table-BO316Cbq.js → Table-DJOSPNrn.js} +123 -130
  83. package/dist/{Table-DXcpuTmH.js → Table-DYELgaTY.js} +60 -61
  84. package/dist/{Text-BCIG-FSm.js → Text-DAliAA9U.js} +1 -1
  85. package/dist/{Text-Eu5ow8IQ.js → Text-DEv-wMFU.js} +3 -4
  86. package/dist/Text-Dy6uYSm3.js +49 -0
  87. package/dist/Text.vue_vue_type_style_index_0_lang-Cm-1AGNB.js +59 -0
  88. package/dist/{TextLink-jLpxiMgK.js → TextLink-CKPExcuj.js} +5 -6
  89. package/dist/{Textarea-Bx3eU0TB.js → Textarea-CEv7HYqY.js} +1 -1
  90. package/dist/{Time-CwdRY8H-.js → Time-BeTq6Tq3.js} +9 -10
  91. package/dist/{Timeline-BPtq0iG0.js → Timeline-BI2o8Kug.js} +14 -10
  92. package/dist/{Tree-DxerBKds.js → Tree-BPeNz1X4.js} +60 -63
  93. package/dist/{Tree-IuRYghPt.js → Tree-DlIrY3e2.js} +34 -30
  94. package/dist/{TreeNode-DAY80hF6.js → TreeNode-CzM6Npi5.js} +5 -6
  95. package/dist/{Update-CSuOw8uK.js → Update-Bv6Lp8LZ.js} +3 -4
  96. package/dist/{UpdateChild-d6-0uHpZ.js → UpdateChild-mrF1t5G8.js} +3 -4
  97. package/dist/{Upload-CQoGLh54.js → Upload-B0dBN1oH.js} +18 -14
  98. package/dist/{Upload-Qrc2AkBp.js → Upload-BCdzJlzR.js} +15 -16
  99. package/dist/{Year-FnibDcf1.js → Year-2hJSZcj_.js} +12 -13
  100. package/dist/{Year-DmEcvxnt.js → Year-DLITl-_8.js} +1 -1
  101. package/dist/assets/{liquidjs-B8dqQyVv.js → liquidjs-C2HVw1Ra.js} +82 -81
  102. package/dist/main-SNlEeN01.js +10337 -0
  103. package/dist/main.js +144 -135
  104. package/dist/style.css +1 -1
  105. package/esm/coms/business/@types/DriverProps.d.ts +1 -6
  106. package/esm/coms/business/@types/FormProps.d.ts +0 -12
  107. package/esm/coms/business/@types/index.d.ts +1 -3
  108. package/esm/coms/business/Condition.vue.d.ts +6 -3
  109. package/esm/coms/business/Drawer.vue.d.ts +9 -4
  110. package/esm/coms/business/Driver.vue.d.ts +1 -0
  111. package/esm/coms/business/Form.vue.d.ts +1 -5
  112. package/esm/coms/business/index.d.ts +1 -3
  113. package/esm/coms/commons/index.d.ts +1 -2
  114. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  115. package/esm/coms/drivers/@types/CrudProps.d.ts +22 -0
  116. package/esm/coms/drivers/@types/DriverBaseProps.d.ts +14 -0
  117. package/esm/coms/drivers/@types/DriverEmit.d.ts +18 -0
  118. package/esm/coms/drivers/@types/DriverFormProps.d.ts +15 -0
  119. package/esm/coms/drivers/@types/DriverKindEmit.d.ts +18 -0
  120. package/esm/coms/drivers/@types/DriverProps.d.ts +29 -0
  121. package/esm/coms/drivers/@types/KindFormProps.d.ts +17 -0
  122. package/esm/coms/drivers/@types/KindProps.d.ts +21 -0
  123. package/esm/coms/drivers/@types/index.d.ts +6 -0
  124. package/esm/coms/drivers/Crud.vue.d.ts +27 -0
  125. package/esm/coms/drivers/Index.vue.d.ts +114 -0
  126. package/esm/coms/drivers/Kind.vue.d.ts +33 -0
  127. package/esm/coms/drivers/index.d.ts +5 -0
  128. package/esm/coms/globals/@types/WindowEmit.d.ts +14 -0
  129. package/esm/coms/globals/@types/index.d.ts +2 -1
  130. package/esm/coms/globals/HeaderTabs.vue.d.ts +6 -3
  131. package/esm/coms/globals/Window.vue.d.ts +1 -38
  132. package/esm/coms/index.d.ts +1 -0
  133. package/esm/coms/layouts/Index.vue.d.ts +7 -3
  134. package/esm/coms/layouts/Side.vue.d.ts +5 -2
  135. package/esm/coms/layouts/Top.vue.d.ts +4 -1
  136. package/esm/coms/lists/Tree.vue.d.ts +4 -3
  137. package/esm/coms/pages/@types/index.d.ts +1 -2
  138. package/esm/coms/pages/Custom.vue.d.ts +2 -1
  139. package/esm/coms/pages/Delete.vue.d.ts +2 -2
  140. package/esm/coms/pages/List.vue.d.ts +3 -3
  141. package/esm/coms/pages/Paging.vue.d.ts +4 -3
  142. package/esm/coms/pages/Single.vue.d.ts +6 -5
  143. package/esm/coms/pagings/@types/SearchFooterProps.d.ts +10 -0
  144. package/esm/coms/pagings/@types/SearchFormProps.d.ts +7 -0
  145. package/esm/coms/pagings/@types/index.d.ts +3 -1
  146. package/esm/coms/pagings/Article.vue.d.ts +4 -3
  147. package/esm/coms/pagings/Index.vue.d.ts +4 -3
  148. package/esm/coms/pagings/SearchFooter.vue.d.ts +6 -109
  149. package/esm/coms/pagings/SearchForm.vue.d.ts +6 -65
  150. package/esm/coms/pagings/Table.vue.d.ts +4 -3
  151. package/esm/coms/panels/Operation.vue.d.ts +3 -2
  152. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  153. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  154. package/esm/coms/partials/PagingHeader.vue.d.ts +3 -3
  155. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  156. package/esm/coms/partials/Update.vue.d.ts +1 -1
  157. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  158. package/esm/coms/searches/Text.vue.d.ts +5 -7
  159. package/esm/repos/index.d.ts +1 -2
  160. package/esm/svcs/ModuleSvc.d.ts +40 -0
  161. package/esm/svcs/RouterSvc.d.ts +1 -1
  162. package/esm/svcs/StandardSvc.d.ts +2 -6
  163. package/esm/svcs/WindowSvc.d.ts +2 -2
  164. package/esm/svcs/index.d.ts +3 -3
  165. package/package.json +11 -11
  166. package/dist/Cascader-BpXwryCx.js +0 -43
  167. package/dist/Code-BQxUo4S4.js +0 -38
  168. package/dist/Code-BjpkNJAb.js +0 -4
  169. package/dist/Code-Co49-iRF.js +0 -56
  170. package/dist/Code.vue_vue_type_style_index_0_lang-DNzXcIII.js +0 -60
  171. package/dist/Custom-QVZ_RHXN.js +0 -62
  172. package/dist/Image-CwVoPF1W.js +0 -9
  173. package/dist/Index-BC2FQhAY.js +0 -4
  174. package/dist/Index-CBDxaC44.js +0 -4
  175. package/dist/Index-CT0cKXYs.js +0 -4
  176. package/dist/Index-D1ZbAjix.js +0 -4
  177. package/dist/List-Ci3F9DOP.js +0 -75
  178. package/dist/Maintaince-D7QKNnFc.js +0 -16
  179. package/dist/Paging-bRw8LIxA.js +0 -96
  180. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-97vAug1N.js +0 -55
  181. package/dist/SearchForm.vue_vue_type_style_index_0_lang-B3LUX2ZJ.js +0 -146
  182. package/dist/Text-BhvhxnY_.js +0 -55
  183. package/dist/Text.vue_vue_type_style_index_0_lang-C2rphbrS.js +0 -55
  184. package/dist/main-BCxKY4GT.js +0 -9933
@@ -1,22 +1,23 @@
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;
9
+ navigate: (...args: any[]) => void;
8
10
  succeed: (...args: any[]) => void;
9
11
  sort: (...args: any[]) => void;
10
- navigate: (...args: any[]) => void;
11
12
  "page-change": (...args: any[]) => void;
12
13
  "size-change": (...args: any[]) => void;
13
14
  "layout-change": (...args: any[]) => void;
14
15
  }, string, import("vue").PublicProps, Readonly<PagingProps> & Readonly<{
15
16
  onSearch?: (...args: any[]) => any;
16
17
  onClose?: (...args: any[]) => any;
18
+ onNavigate?: (...args: any[]) => any;
17
19
  onSucceed?: (...args: any[]) => any;
18
20
  onSort?: (...args: any[]) => any;
19
- onNavigate?: (...args: any[]) => any;
20
21
  "onPage-change"?: (...args: any[]) => any;
21
22
  "onSize-change"?: (...args: any[]) => any;
22
23
  "onLayout-change"?: (...args: any[]) => any;
@@ -1,122 +1,19 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- schema: {
3
- type: {
4
- (arrayLength: number): any[];
5
- (...items: any[]): any[];
6
- new (arrayLength: number): any[];
7
- new (...items: any[]): any[];
8
- isArray(arg: any): arg is any[];
9
- readonly prototype: any[];
10
- from<T>(arrayLike: ArrayLike<T>): T[];
11
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
12
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
13
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
14
- of<T>(...items: T[]): T[];
15
- readonly [Symbol.species]: ArrayConstructor;
16
- };
17
- };
18
- table: {
19
- type: any;
20
- required: true;
21
- };
22
- layout: {
23
- type: any;
24
- required: true;
25
- };
26
- set: {
27
- type: any;
28
- required: true;
29
- };
30
- next: {
31
- type: any;
32
- required: true;
33
- };
34
- selection: {
35
- type: {
36
- (arrayLength: number): any[];
37
- (...items: any[]): any[];
38
- new (arrayLength: number): any[];
39
- new (...items: any[]): any[];
40
- isArray(arg: any): arg is any[];
41
- readonly prototype: any[];
42
- from<T>(arrayLike: ArrayLike<T>): T[];
43
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
44
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
45
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
46
- of<T>(...items: T[]): T[];
47
- readonly [Symbol.species]: ArrayConstructor;
48
- };
49
- };
50
- searchData: {
51
- type: ObjectConstructor;
52
- };
53
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import { SearchFooterProps } from "./@types";
2
+ declare const _default: import("vue").DefineComponent<SearchFooterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
3
  search: (...args: any[]) => void;
55
4
  add: (...args: any[]) => void;
56
- copy: (...args: any[]) => void;
57
5
  succeed: (...args: any[]) => void;
6
+ copy: (...args: any[]) => void;
58
7
  remove: (...args: any[]) => void;
59
8
  "show-import": (...args: any[]) => void;
60
9
  "show-export": (...args: any[]) => void;
61
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
- schema: {
63
- type: {
64
- (arrayLength: number): any[];
65
- (...items: any[]): any[];
66
- new (arrayLength: number): any[];
67
- new (...items: any[]): any[];
68
- isArray(arg: any): arg is any[];
69
- readonly prototype: any[];
70
- from<T>(arrayLike: ArrayLike<T>): T[];
71
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
72
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
73
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
74
- of<T>(...items: T[]): T[];
75
- readonly [Symbol.species]: ArrayConstructor;
76
- };
77
- };
78
- table: {
79
- type: any;
80
- required: true;
81
- };
82
- layout: {
83
- type: any;
84
- required: true;
85
- };
86
- set: {
87
- type: any;
88
- required: true;
89
- };
90
- next: {
91
- type: any;
92
- required: true;
93
- };
94
- selection: {
95
- type: {
96
- (arrayLength: number): any[];
97
- (...items: any[]): any[];
98
- new (arrayLength: number): any[];
99
- new (...items: any[]): any[];
100
- isArray(arg: any): arg is any[];
101
- readonly prototype: any[];
102
- from<T>(arrayLike: ArrayLike<T>): T[];
103
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
104
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
105
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
106
- of<T>(...items: T[]): T[];
107
- readonly [Symbol.species]: ArrayConstructor;
108
- };
109
- };
110
- searchData: {
111
- type: ObjectConstructor;
112
- };
113
- }>> & Readonly<{
10
+ }, string, import("vue").PublicProps, Readonly<SearchFooterProps> & Readonly<{
114
11
  onSearch?: (...args: any[]) => any;
115
12
  onAdd?: (...args: any[]) => any;
116
- onCopy?: (...args: any[]) => any;
117
13
  onSucceed?: (...args: any[]) => any;
14
+ onCopy?: (...args: any[]) => any;
118
15
  onRemove?: (...args: any[]) => any;
119
16
  "onShow-import"?: (...args: any[]) => any;
120
17
  "onShow-export"?: (...args: any[]) => any;
121
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
122
19
  export default _default;
@@ -1,72 +1,13 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- schema: {
3
- type: {
4
- (arrayLength: number): any[];
5
- (...items: any[]): any[];
6
- new (arrayLength: number): any[];
7
- new (...items: any[]): any[];
8
- isArray(arg: any): arg is any[];
9
- readonly prototype: any[];
10
- from<T>(arrayLike: ArrayLike<T>): T[];
11
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
12
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
13
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
14
- of<T>(...items: T[]): T[];
15
- readonly [Symbol.species]: ArrayConstructor;
16
- };
17
- required: true;
18
- };
19
- table: {
20
- type: ObjectConstructor;
21
- required: true;
22
- };
23
- layout: {
24
- type: ObjectConstructor;
25
- required: true;
26
- };
27
- searchData: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- }>, {
1
+ import { SearchFormProps } from "./@types";
2
+ declare const _default: import("vue").DefineComponent<SearchFormProps, {
32
3
  resize: (event: ResizeObserverEntry) => void;
33
4
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ mounted: (...args: any[]) => void;
34
6
  change: (...args: any[]) => void;
35
7
  submit: (...args: any[]) => void;
36
- mounted: (...args: any[]) => void;
37
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
- schema: {
39
- type: {
40
- (arrayLength: number): any[];
41
- (...items: any[]): any[];
42
- new (arrayLength: number): any[];
43
- new (...items: any[]): any[];
44
- isArray(arg: any): arg is any[];
45
- readonly prototype: any[];
46
- from<T>(arrayLike: ArrayLike<T>): T[];
47
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
48
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
49
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
50
- of<T>(...items: T[]): T[];
51
- readonly [Symbol.species]: ArrayConstructor;
52
- };
53
- required: true;
54
- };
55
- table: {
56
- type: ObjectConstructor;
57
- required: true;
58
- };
59
- layout: {
60
- type: ObjectConstructor;
61
- required: true;
62
- };
63
- searchData: {
64
- type: ObjectConstructor;
65
- required: true;
66
- };
67
- }>> & Readonly<{
8
+ }, string, import("vue").PublicProps, Readonly<SearchFormProps> & Readonly<{
9
+ onMounted?: (...args: any[]) => any;
68
10
  onChange?: (...args: any[]) => any;
69
11
  onSubmit?: (...args: any[]) => any;
70
- onMounted?: (...args: any[]) => any;
71
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
72
13
  export default _default;
@@ -1,21 +1,22 @@
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;
7
8
  close: (...args: any[]) => void;
9
+ navigate: (...args: any[]) => void;
8
10
  succeed: (...args: any[]) => void;
9
11
  sort: (...args: any[]) => void;
10
- navigate: (...args: any[]) => void;
11
12
  "page-change": (...args: any[]) => void;
12
13
  "size-change": (...args: any[]) => void;
13
14
  }, string, import("vue").PublicProps, Readonly<PagingProps> & Readonly<{
14
15
  onSearch?: (...args: any[]) => any;
15
16
  onClose?: (...args: any[]) => any;
17
+ onNavigate?: (...args: any[]) => any;
16
18
  onSucceed?: (...args: any[]) => any;
17
19
  onSort?: (...args: any[]) => any;
18
- onNavigate?: (...args: any[]) => any;
19
20
  "onPage-change"?: (...args: any[]) => any;
20
21
  "onSize-change"?: (...args: any[]) => any;
21
22
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,3 +1,4 @@
1
+ import { OperationProps } from "./@types";
1
2
  declare function __VLS_template(): {
2
3
  slots: {
3
4
  left?(_: {}): any;
@@ -9,9 +10,9 @@ declare function __VLS_template(): {
9
10
  attrs: Partial<{}>;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import("vue").DefineComponent<{}, {
13
+ declare const __VLS_component: import("vue").DefineComponent<OperationProps, {
13
14
  ref: import("vue").Ref<any, any>;
14
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OperationProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
17
  export default _default;
17
18
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { PagingRowProps } from "./@types";
2
- declare const _default: import("vue").DefineComponent<PagingRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<PagingRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  copy: (row: any, evt: MouseEvent) => any;
4
4
  remove: (rows: any[]) => any;
5
5
  edit: (row: any, evt: MouseEvent) => any;
@@ -1,5 +1,5 @@
1
1
  import { DetailProps } from "./@types";
2
- declare const _default: import("vue").DefineComponent<DetailProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<DetailProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  close: () => any;
4
4
  copy: (row: any, evt: MouseEvent) => any;
5
5
  edit: (row: any, evt: MouseEvent) => any;
@@ -1,17 +1,17 @@
1
1
  import { PagingHeaderProps } from "./@types";
2
- declare const _default: import("vue").DefineComponent<PagingHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<PagingHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  add: (evt: MouseEvent) => any;
4
+ succeed: () => any;
4
5
  copy: (rows: any[]) => any;
5
6
  submit: (cb: () => void) => any;
6
- succeed: () => any;
7
7
  remove: (rows: any[]) => any;
8
8
  "show-import": () => any;
9
9
  "show-export": () => any;
10
10
  }, string, import("vue").PublicProps, Readonly<PagingHeaderProps> & Readonly<{
11
11
  onAdd?: (evt: MouseEvent) => any;
12
+ onSucceed?: () => any;
12
13
  onCopy?: (rows: any[]) => any;
13
14
  onSubmit?: (cb: () => void) => any;
14
- onSucceed?: () => any;
15
15
  onRemove?: (rows: any[]) => any;
16
16
  "onShow-import"?: () => any;
17
17
  "onShow-export"?: () => any;
@@ -1,5 +1,5 @@
1
1
  import { PagingRowProps } from "./@types";
2
- declare const _default: import("vue").DefineComponent<PagingRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<PagingRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  copy: (row: any, evt: MouseEvent) => any;
4
4
  remove: (row: any[]) => any;
5
5
  edit: (row: any, evt: MouseEvent) => any;
@@ -1,7 +1,7 @@
1
1
  import { UpdateProps } from "./@types";
2
2
  declare const _default: import("vue").DefineComponent<UpdateProps, {
3
3
  submit: (event: MouseEvent) => void;
4
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
5
  close: () => any;
6
6
  submit: (evt: MouseEvent, data: any, cb: (ret: any) => void) => any;
7
7
  }, string, import("vue").PublicProps, Readonly<UpdateProps> & Readonly<{
@@ -1,5 +1,5 @@
1
1
  import { UpdateChildProps } from "./@types";
2
- declare const _default: import("vue").DefineComponent<UpdateChildProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<UpdateChildProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
3
  add: () => any;
4
4
  copy: () => any;
5
5
  remove: () => any;
@@ -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;
@@ -1,3 +1,2 @@
1
- import QueryApi from "./QueryApi";
2
1
  import UploadApi from "./UploadApi";
3
- export { QueryApi, UploadApi };
2
+ export { UploadApi };
@@ -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;
@@ -10,7 +10,7 @@ declare class RouterSvc {
10
10
  /**
11
11
  * 跳转到指定地址,并返回跳转后的地址,要使用vue-route路由跳转,否则刷新页面后,参数会被解码
12
12
  */
13
- to(url: string, withReturnUrl?: boolean): any;
13
+ to(url: string, withReturnUrl?: boolean): string;
14
14
  /**
15
15
  * 跳转到后退地址
16
16
  */
@@ -9,11 +9,11 @@ declare class StandardSvc {
9
9
  /**
10
10
  * 获取表的默认行数据
11
11
  */
12
- getDefaultRow: (table: any) => object;
12
+ getDefaultRow: (table: any) => any;
13
13
  /**
14
14
  * 获取所有数据表的搜索字段信息
15
15
  */
16
- expandSearch: (schema: any) => any[];
16
+ expandSearch: (schema: any[]) => any;
17
17
  /**
18
18
  * 展开数据和架构信息
19
19
  */
@@ -28,10 +28,6 @@ declare class StandardSvc {
28
28
  * 更新提示内容
29
29
  */
30
30
  updateTooltip(table: any, row: any, field: any): Promise<void>;
31
- /**
32
- * 更新提示内容
33
- */
34
- updateTooltipByFields(table: string, row: any, tooltipFields: any[]): void;
35
31
  /**
36
32
  * 获取验证规则
37
33
  */
@@ -10,7 +10,7 @@ declare class WindowSvc {
10
10
  /**
11
11
  * 加载窗口
12
12
  */
13
- loadWindows(provider: IProvider): Promise<void>;
13
+ loadWindowsAsync(provider: IProvider): Promise<void>;
14
14
  /**
15
15
  * 获取窗口状态
16
16
  */
@@ -18,7 +18,7 @@ declare class WindowSvc {
18
18
  /**
19
19
  * 保存窗口状态
20
20
  */
21
- save(id: string, options: any, provider: IProvider): Promise<void>;
21
+ saveAsync(id: string, options: any, provider: IProvider): Promise<void>;
22
22
  /**
23
23
  * 删除窗口
24
24
  */
@@ -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.35",
3
+ "version": "1.0.37",
4
4
  "description": "Halo pc framework",
5
5
  "scripts": {
6
6
  "halo-pc:tsc": "vue-tsc",
@@ -31,27 +31,27 @@
31
31
  "registry": "https://registry.npmjs.org"
32
32
  },
33
33
  "peerDependencies": {
34
- "element-plus": "2.8.2",
35
- "vue": "3.5.3"
36
34
  },
37
35
  "dependencies": {
38
- "@micro-zoe/micro-app": "1.0.0-rc.8",
36
+ "@micro-zoe/micro-app": "1.0.0-rc.12",
39
37
  "clipboard": "2.0.11",
40
38
  "echarts": "5.5.1",
39
+ "element-plus": "2.8.5",
41
40
  "intro.js": "8.0.0-beta.1",
42
- "halo-fe": "1.0.24",
41
+ "halo-fe": "1.0.27",
43
42
  "sortablejs": "1.15.3",
43
+ "vue": "3.5.12",
44
44
  "vue-canvas-nest": "2.0.0",
45
- "vue-router": "4.4.3"
45
+ "vue-router": "4.4.5"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@fortawesome/fontawesome-free": "6.6.0",
49
- "@types/node": "22.5.4",
50
- "@vitejs/plugin-vue": "5.1.3",
49
+ "@types/node": "22.7.5",
50
+ "@vitejs/plugin-vue": "5.1.4",
51
51
  "@vitejs/plugin-vue-jsx": "4.0.1",
52
- "sass": "1.78.0",
53
- "typescript": "5.6.2",
54
- "vite": "5.4.3",
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,43 +0,0 @@
1
- import { defineComponent as y, toRefs as k, computed as p, 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-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const C = { class: "text-cascader" }, S = {
6
- key: 0,
7
- class: "cascader-seperator"
8
- }, L = /* @__PURE__ */ y({
9
- __name: "Cascader",
10
- props: {
11
- schema: {},
12
- table: {},
13
- field: {},
14
- set: {},
15
- row: {},
16
- modelValue: {}
17
- },
18
- emits: ["submit", "change"],
19
- setup(_, { emit: V }) {
20
- let v = _, { table: w, field: s, set: E, row: U, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
21
- if (u.value.length > 0) {
22
- let i = s.value.control.data.data, n = [];
23
- return u.value.forEach((r) => {
24
- let l = B.tree.getParentsById(r, "value", i, "children", !0);
25
- l.length > 0 && n.push(l);
26
- }), n;
27
- }
28
- return [];
29
- });
30
- return (i, n) => (e(), t("div", C, [
31
- (e(!0), t(m, null, d(f(c), (r, l) => (e(), t("span", null, [
32
- (e(!0), t(m, null, d(r, (o, g) => (e(), t("span", {
33
- style: x({ color: o.color }),
34
- key: o.value
35
- }, h(o.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
36
- l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
37
- ]))), 256))
38
- ]));
39
- }
40
- });
41
- export {
42
- L as default
43
- };
@@ -1,38 +0,0 @@
1
- import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as n, normalizeStyle as _, isRef as x } from "vue";
2
- import { l as F } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const S = /* @__PURE__ */ v({
6
- __name: "Code",
7
- props: {
8
- schema: {},
9
- table: {},
10
- field: {},
11
- set: {},
12
- row: {},
13
- modelValue: {}
14
- },
15
- setup(f) {
16
- let s = f, { table: g, field: t, set: b, row: d, modelValue: a } = h(s), o = i(), r = i({ language: null, readonly: !0, lineNumbers: "off" }), m = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", c = (e) => e ? g.value.fields.find((u) => u.name == e) : null, p = (e) => {
17
- let l = c(e);
18
- return l ? d.value[l.name] : null;
19
- };
20
- return (() => {
21
- if (o.value = m(), t.value.control.languageField == null)
22
- r.value.language = t.value.control.language;
23
- else {
24
- let e = p(t.value.control.languageField);
25
- e && (r.value.language = e);
26
- }
27
- })(), (e, l) => (V(), y(n(F), {
28
- class: "text-code",
29
- config: n(r),
30
- style: _(n(o)),
31
- modelValue: n(a),
32
- "onUpdate:modelValue": l[0] || (l[0] = (u) => x(a) ? a.value = u : a = u)
33
- }, null, 8, ["config", "style", "modelValue"]));
34
- }
35
- });
36
- export {
37
- S as default
38
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-DNzXcIII.js";
2
- export {
3
- f as default
4
- };