@ztocwst/rc-pro-materials 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/README.md +17 -17
  2. package/build/index.js +8 -8
  3. package/build/lowcode/assets-daily.json +11 -11
  4. package/build/lowcode/assets-dev.json +2 -2
  5. package/build/lowcode/assets-prod.json +11 -11
  6. package/build/lowcode/index.js +1 -1
  7. package/build/lowcode/meta.js +1 -1
  8. package/build/lowcode/preview.js +5 -5
  9. package/build/lowcode/render/default/view.css +2 -1
  10. package/build/lowcode/render/default/view.js +51 -8
  11. package/build/lowcode/view.css +2 -1
  12. package/build/lowcode/view.js +52 -9
  13. package/dist/SCM_Comps.js +53 -10
  14. package/dist/SCM_Comps.js.map +1 -1
  15. package/es/components/z-Ellipsis/ellipsis.d.ts +4 -4
  16. package/es/components/z-Ellipsis/index.d.ts +3 -3
  17. package/es/components/z-agg-block/index.d.ts +3 -3
  18. package/es/components/z-agg-block/index.less +134 -134
  19. package/es/components/z-agg-block/z-agg-block.d.ts +27 -27
  20. package/es/components/z-auth/auth.d.ts +9 -9
  21. package/es/components/z-auth/index.d.ts +3 -3
  22. package/es/components/z-box/box.d.ts +20 -20
  23. package/es/components/z-box/index.d.ts +3 -3
  24. package/es/components/z-box/index.less +4 -4
  25. package/es/components/z-button/index.d.ts +3 -3
  26. package/es/components/z-button/z-button.d.ts +4 -4
  27. package/es/components/z-config-provider/configProvider.d.ts +4 -4
  28. package/es/components/z-config-provider/configProvider.js +11 -11
  29. package/es/components/z-config-provider/index.d.ts +3 -3
  30. package/es/components/z-div/div.d.ts +6 -6
  31. package/es/components/z-div/index.d.ts +2 -2
  32. package/es/components/z-editTable/editTable.d.ts +11 -11
  33. package/es/components/z-editTable/editTable.js +2 -2
  34. package/es/components/z-editTable/index.d.ts +2 -2
  35. package/es/components/z-form/index.d.ts +3 -3
  36. package/es/components/z-form/z-form.d.ts +10 -10
  37. package/es/components/z-list/index.d.ts +3 -3
  38. package/es/components/z-list/list.d.ts +17 -17
  39. package/es/components/z-list/list.js +2 -2
  40. package/es/components/z-operation-records/index.d.ts +3 -3
  41. package/es/components/z-operation-records/operationRecords.d.ts +4 -4
  42. package/es/components/z-pointer-block/index.d.ts +3 -3
  43. package/es/components/z-pointer-block/index.less +15 -15
  44. package/es/components/z-pointer-block/z-pointer-block.d.ts +16 -16
  45. package/es/components/z-preview/index.d.ts +3 -3
  46. package/es/components/z-preview/preview.d.ts +4 -4
  47. package/es/components/z-pro-provider/index.d.ts +3 -3
  48. package/es/components/z-pro-provider/z-pro-provider.d.ts +6 -6
  49. package/es/components/z-ranking-list/index.d.ts +2 -2
  50. package/es/components/z-ranking-list/index.less +49 -49
  51. package/es/components/z-ranking-list/z-ranking-list.d.ts +14 -14
  52. package/es/components/z-ranking-list/z-ranking-list.js +2 -2
  53. package/es/components/z-simple-bar/index.d.ts +3 -3
  54. package/es/components/z-simple-bar/index.less +9 -9
  55. package/es/components/z-simple-bar/z-simple-bar.d.ts +27 -27
  56. package/es/components/z-singleFactory/index.d.ts +2 -2
  57. package/es/components/z-singleFactory/zSingerFactory.d.ts +3 -3
  58. package/es/components/z-statistic/index.d.ts +3 -3
  59. package/es/components/z-statistic/index.less +22 -22
  60. package/es/components/z-statistic/z-statistic.d.ts +13 -13
  61. package/es/components/z-table/index.d.ts +3 -3
  62. package/es/components/z-table/table.d.ts +8 -8
  63. package/es/components/z-templates-data-common/components/chart-renderer/index.d.ts +14 -14
  64. package/es/components/z-templates-data-common/components/custom-renderer/index.d.ts +13 -13
  65. package/es/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +39 -39
  66. package/es/components/z-templates-data-common/components/dim-target/index.d.ts +16 -16
  67. package/es/components/z-templates-data-common/components/dim-target/index.less +49 -49
  68. package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +8 -8
  69. package/es/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +6 -6
  70. package/es/components/z-templates-data-common/components/link-renderer/index.d.ts +16 -16
  71. package/es/components/z-templates-data-common/components/link-renderer/index.less +33 -33
  72. package/es/components/z-templates-data-common/components/table-renderer/index.d.ts +6 -6
  73. package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +64 -64
  74. package/es/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +10 -10
  75. package/es/components/z-templates-data-common/data-common.d.ts +105 -105
  76. package/es/components/z-templates-data-common/data-common.helper.d.ts +61 -61
  77. package/es/components/z-templates-data-common/data-common.helper.js +21 -21
  78. package/es/components/z-templates-data-common/index.d.ts +3 -3
  79. package/es/components/z-tpl/index.d.ts +3 -3
  80. package/es/components/z-tpl/tpl.d.ts +23 -23
  81. package/es/components/z-tpl/tpl.js +2 -2
  82. package/es/components/z-warehouse/index.d.ts +2 -2
  83. package/es/components/z-warehouse/zWarehouse.d.ts +3 -3
  84. package/es/index.d.ts +38 -38
  85. package/es/index.scss +1 -1
  86. package/es/utils/hoc.d.ts +6 -6
  87. package/es/utils/hoc.js +3 -3
  88. package/es/utils/index.d.ts +13 -13
  89. package/es/utils/props/button.d.ts +13 -13
  90. package/es/utils/props/common.d.ts +7 -7
  91. package/es/utils/props/common.js +4 -4
  92. package/es/utils/props/editTable.d.ts +3 -3
  93. package/es/utils/props/form.js +22 -7
  94. package/es/utils/props/listTpl.d.ts +29 -29
  95. package/es/utils/props/microModal.d.ts +7 -7
  96. package/es/utils/props/microSwitch.d.ts +1 -1
  97. package/es/utils/props/modalSelect.d.ts +6 -6
  98. package/es/utils/props/operationRecords.d.ts +2 -2
  99. package/es/utils/props/preview.d.ts +2 -2
  100. package/es/utils/props/tpl.d.ts +162 -162
  101. package/es/utils/props/warehouseAndFactory.d.ts +1 -1
  102. package/es/utils/rcProRequest.d.ts +3 -3
  103. package/es/variables.scss +3 -3
  104. package/lib/components/z-Ellipsis/ellipsis.d.ts +4 -4
  105. package/lib/components/z-Ellipsis/index.d.ts +3 -3
  106. package/lib/components/z-agg-block/index.d.ts +3 -3
  107. package/lib/components/z-agg-block/index.less +134 -134
  108. package/lib/components/z-agg-block/z-agg-block.d.ts +27 -27
  109. package/lib/components/z-auth/auth.d.ts +9 -9
  110. package/lib/components/z-auth/index.d.ts +3 -3
  111. package/lib/components/z-box/box.d.ts +20 -20
  112. package/lib/components/z-box/index.d.ts +3 -3
  113. package/lib/components/z-box/index.less +4 -4
  114. package/lib/components/z-button/index.d.ts +3 -3
  115. package/lib/components/z-button/z-button.d.ts +4 -4
  116. package/lib/components/z-config-provider/configProvider.d.ts +4 -4
  117. package/lib/components/z-config-provider/configProvider.js +11 -11
  118. package/lib/components/z-config-provider/index.d.ts +3 -3
  119. package/lib/components/z-div/div.d.ts +6 -6
  120. package/lib/components/z-div/index.d.ts +2 -2
  121. package/lib/components/z-editTable/editTable.d.ts +11 -11
  122. package/lib/components/z-editTable/editTable.js +2 -2
  123. package/lib/components/z-editTable/index.d.ts +2 -2
  124. package/lib/components/z-form/index.d.ts +3 -3
  125. package/lib/components/z-form/z-form.d.ts +10 -10
  126. package/lib/components/z-list/index.d.ts +3 -3
  127. package/lib/components/z-list/list.d.ts +17 -17
  128. package/lib/components/z-list/list.js +2 -2
  129. package/lib/components/z-operation-records/index.d.ts +3 -3
  130. package/lib/components/z-operation-records/operationRecords.d.ts +4 -4
  131. package/lib/components/z-pointer-block/index.d.ts +3 -3
  132. package/lib/components/z-pointer-block/index.less +15 -15
  133. package/lib/components/z-pointer-block/z-pointer-block.d.ts +16 -16
  134. package/lib/components/z-preview/index.d.ts +3 -3
  135. package/lib/components/z-preview/preview.d.ts +4 -4
  136. package/lib/components/z-pro-provider/index.d.ts +3 -3
  137. package/lib/components/z-pro-provider/z-pro-provider.d.ts +6 -6
  138. package/lib/components/z-ranking-list/index.d.ts +2 -2
  139. package/lib/components/z-ranking-list/index.less +49 -49
  140. package/lib/components/z-ranking-list/z-ranking-list.d.ts +14 -14
  141. package/lib/components/z-ranking-list/z-ranking-list.js +2 -2
  142. package/lib/components/z-simple-bar/index.d.ts +3 -3
  143. package/lib/components/z-simple-bar/index.less +9 -9
  144. package/lib/components/z-simple-bar/z-simple-bar.d.ts +27 -27
  145. package/lib/components/z-singleFactory/index.d.ts +2 -2
  146. package/lib/components/z-singleFactory/zSingerFactory.d.ts +3 -3
  147. package/lib/components/z-statistic/index.d.ts +3 -3
  148. package/lib/components/z-statistic/index.less +22 -22
  149. package/lib/components/z-statistic/z-statistic.d.ts +13 -13
  150. package/lib/components/z-table/index.d.ts +3 -3
  151. package/lib/components/z-table/table.d.ts +8 -8
  152. package/lib/components/z-templates-data-common/components/chart-renderer/index.d.ts +14 -14
  153. package/lib/components/z-templates-data-common/components/custom-renderer/index.d.ts +13 -13
  154. package/lib/components/z-templates-data-common/components/dim-target/dim-target.helper.d.ts +39 -39
  155. package/lib/components/z-templates-data-common/components/dim-target/index.d.ts +16 -16
  156. package/lib/components/z-templates-data-common/components/dim-target/index.less +49 -49
  157. package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.d.ts +8 -8
  158. package/lib/components/z-templates-data-common/components/dim-target/useUpdateEffect.js +6 -6
  159. package/lib/components/z-templates-data-common/components/link-renderer/index.d.ts +16 -16
  160. package/lib/components/z-templates-data-common/components/link-renderer/index.less +33 -33
  161. package/lib/components/z-templates-data-common/components/table-renderer/index.d.ts +6 -6
  162. package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.d.ts +64 -64
  163. package/lib/components/z-templates-data-common/components/table-renderer/table-renderer.helper.js +10 -10
  164. package/lib/components/z-templates-data-common/data-common.d.ts +105 -105
  165. package/lib/components/z-templates-data-common/data-common.helper.d.ts +61 -61
  166. package/lib/components/z-templates-data-common/data-common.helper.js +21 -21
  167. package/lib/components/z-templates-data-common/index.d.ts +3 -3
  168. package/lib/components/z-tpl/index.d.ts +3 -3
  169. package/lib/components/z-tpl/tpl.d.ts +23 -23
  170. package/lib/components/z-tpl/tpl.js +2 -2
  171. package/lib/components/z-warehouse/index.d.ts +2 -2
  172. package/lib/components/z-warehouse/zWarehouse.d.ts +3 -3
  173. package/lib/index.d.ts +38 -38
  174. package/lib/index.scss +1 -1
  175. package/lib/utils/hoc.d.ts +6 -6
  176. package/lib/utils/hoc.js +3 -3
  177. package/lib/utils/index.d.ts +13 -13
  178. package/lib/utils/props/button.d.ts +13 -13
  179. package/lib/utils/props/common.d.ts +7 -7
  180. package/lib/utils/props/common.js +4 -4
  181. package/lib/utils/props/editTable.d.ts +3 -3
  182. package/lib/utils/props/form.js +22 -7
  183. package/lib/utils/props/listTpl.d.ts +29 -29
  184. package/lib/utils/props/microModal.d.ts +7 -7
  185. package/lib/utils/props/microSwitch.d.ts +1 -1
  186. package/lib/utils/props/modalSelect.d.ts +6 -6
  187. package/lib/utils/props/operationRecords.d.ts +2 -2
  188. package/lib/utils/props/preview.d.ts +2 -2
  189. package/lib/utils/props/tpl.d.ts +162 -162
  190. package/lib/utils/props/warehouseAndFactory.d.ts +1 -1
  191. package/lib/utils/rcProRequest.d.ts +3 -3
  192. package/lib/variables.scss +3 -3
  193. package/package.json +3 -3
  194. package/es/utils/props/form.d.ts +0 -35
  195. package/lib/utils/props/form.d.ts +0 -35
@@ -1,7 +1,7 @@
1
- import type { ProButtonItemsProps } from '@ztocwst/rc-pro';
2
- export declare const processMicroModalProps: (item: any) => ProButtonItemsProps;
3
- export declare function transformFormProps(formProps: any): {
4
- formProps?: undefined;
5
- } | {
6
- formProps: any;
7
- };
1
+ import type { ProButtonItemsProps } from '@ztocwst/rc-pro';
2
+ export declare const processMicroModalProps: (item: any) => ProButtonItemsProps;
3
+ export declare function transformFormProps(formProps: any): {
4
+ formProps?: undefined;
5
+ } | {
6
+ formProps: any;
7
+ };
@@ -1 +1 @@
1
- export declare const processMicroSwitchProps: (props: any, tableRef: any) => any;
1
+ export declare const processMicroSwitchProps: (props: any, tableRef: any) => any;
@@ -1,6 +1,6 @@
1
- import { ProFormRenderProps } from '@ztocwst/rc-pro';
2
- export declare const processModalSelectProps: (props: ProFormRenderProps & {
3
- labelColWidth?: number;
4
- columns?: any[];
5
- }) => any;
6
- export declare const processModalSelectTablePropsColumns: (columns: any[]) => any[];
1
+ import { ProFormRenderProps } from '@ztocwst/rc-pro';
2
+ export declare const processModalSelectProps: (props: ProFormRenderProps & {
3
+ labelColWidth?: number;
4
+ columns?: any[];
5
+ }) => any;
6
+ export declare const processModalSelectTablePropsColumns: (columns: any[]) => any[];
@@ -1,2 +1,2 @@
1
- import { ProOperationRecordsProps } from '@ztocwst/rc-pro';
2
- export declare const processOperationRecordsProps: (props: ProOperationRecordsProps) => any;
1
+ import { ProOperationRecordsProps } from '@ztocwst/rc-pro';
2
+ export declare const processOperationRecordsProps: (props: ProOperationRecordsProps) => any;
@@ -1,2 +1,2 @@
1
- import { ProPreviewProps } from '@ztocwst/rc-pro';
2
- export declare const processPreviewProps: (props: ProPreviewProps) => any;
1
+ import { ProPreviewProps } from '@ztocwst/rc-pro';
2
+ export declare const processPreviewProps: (props: ProPreviewProps) => any;
@@ -1,162 +1,162 @@
1
- import { RcPageItem, RcPageProps } from '@ztocwst/rc-pro';
2
- export declare const processTplBillProps: (props: RcPageItem['bill'], extra?: {
3
- billFormRef?: any;
4
- billFormCurrentRef?: any;
5
- }) => {
6
- previewTabs: {
7
- antdRadioGroupProps?: any;
8
- antdPageHeaderProps?: any;
9
- on: true;
10
- title?: any;
11
- };
12
- preview?: any;
13
- form?: {
14
- props: any;
15
- antdPageHeaderProps?: any;
16
- layoutProps?: any;
17
- requestConfig: {
18
- preview?: any;
19
- edit?: any;
20
- add?: any;
21
- };
22
- key?: string;
23
- width?: string | number;
24
- name?: any;
25
- layoutType?: "page" | "drawer" | "modal";
26
- onCustomBack?: () => void;
27
- onBackSuccess?: (data?: any) => void;
28
- isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
29
- submitSecondConfirm?: boolean | import("antd").ModalFuncProps;
30
- submitterRender?: (opt: {
31
- onFinish?: (values: any, options?: import("@ztocwst/rc-pro/es/templates/basicTpl").SubmitOptions) => Promise<any>;
32
- }, dom: JSX.Element[]) => any;
33
- saveAndContinue?: boolean;
34
- };
35
- } | {
36
- previewTabs?: undefined;
37
- preview?: any;
38
- form?: {
39
- props: any;
40
- antdPageHeaderProps?: any;
41
- layoutProps?: any;
42
- requestConfig: {
43
- preview?: any;
44
- edit?: any;
45
- add?: any;
46
- };
47
- key?: string;
48
- width?: string | number;
49
- name?: any;
50
- layoutType?: "page" | "drawer" | "modal";
51
- onCustomBack?: () => void;
52
- onBackSuccess?: (data?: any) => void;
53
- isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
54
- submitSecondConfirm?: boolean | import("antd").ModalFuncProps;
55
- submitterRender?: (opt: {
56
- onFinish?: (values: any, options?: import("@ztocwst/rc-pro/es/templates/basicTpl").SubmitOptions) => Promise<any>;
57
- }, dom: JSX.Element[]) => any;
58
- saveAndContinue?: boolean;
59
- };
60
- };
61
- export declare const processTplProps: (props: RcPageProps, extra?: {
62
- listRef?: any;
63
- tableRef?: any;
64
- listFormRef?: any;
65
- billFormRef?: any;
66
- listFormCurrentRef?: any;
67
- billFormCurrentRef?: any;
68
- }) => {
69
- page: {
70
- bill?: {
71
- previewTabs: {
72
- antdRadioGroupProps?: any;
73
- antdPageHeaderProps?: any;
74
- on: true;
75
- title?: any;
76
- };
77
- preview?: any;
78
- form?: {
79
- props: any;
80
- antdPageHeaderProps?: any;
81
- layoutProps?: any;
82
- requestConfig: {
83
- preview?: any;
84
- edit?: any;
85
- add?: any;
86
- };
87
- key?: string;
88
- width?: string | number;
89
- name?: any;
90
- layoutType?: "page" | "drawer" | "modal";
91
- onCustomBack?: () => void;
92
- onBackSuccess?: (data?: any) => void;
93
- isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
94
- submitSecondConfirm?: boolean | import("antd").ModalFuncProps;
95
- submitterRender?: (opt: {
96
- onFinish?: (values: any, options?: import("@ztocwst/rc-pro/es/templates/basicTpl").SubmitOptions) => Promise<any>;
97
- }, dom: JSX.Element[]) => any;
98
- saveAndContinue?: boolean;
99
- };
100
- } | {
101
- previewTabs?: undefined;
102
- preview?: any;
103
- form?: {
104
- props: any;
105
- antdPageHeaderProps?: any;
106
- layoutProps?: any;
107
- requestConfig: {
108
- preview?: any;
109
- edit?: any;
110
- add?: any;
111
- };
112
- key?: string;
113
- width?: string | number;
114
- name?: any;
115
- layoutType?: "page" | "drawer" | "modal";
116
- onCustomBack?: () => void;
117
- onBackSuccess?: (data?: any) => void;
118
- isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
119
- submitSecondConfirm?: boolean | import("antd").ModalFuncProps;
120
- submitterRender?: (opt: {
121
- onFinish?: (values: any, options?: import("@ztocwst/rc-pro/es/templates/basicTpl").SubmitOptions) => Promise<any>;
122
- }, dom: JSX.Element[]) => any;
123
- saveAndContinue?: boolean;
124
- };
125
- };
126
- list: {
127
- requestConfig: any;
128
- type?: "list";
129
- listRef: any;
130
- onListBtnChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>;
131
- renderWithDefaultDom?: (dom: JSX.Element[], onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => JSX.Element;
132
- render?: (onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => React.ReactNode;
133
- key?: string;
134
- name?: any;
135
- form: any;
136
- actions: {
137
- items: any[];
138
- type?: string;
139
- spaceSize?: [import("antd/lib/space").SpaceSize, import("antd/lib/space").SpaceSize];
140
- size?: import("antd/lib/button").ButtonSize;
141
- onClick?: (item: import("@ztocwst/rc-pro").ProButtonItemsProps) => void | Promise<any>;
142
- onSuccess?: (item: import("@ztocwst/rc-pro").ProButtonItemsProps, data?: any) => void;
143
- };
144
- grid: {
145
- config: any;
146
- ref: any;
147
- };
148
- };
149
- };
150
- key?: string;
151
- tab?: React.ReactNode;
152
- onBillSuccess?: (res: any) => void;
153
- onBillError?: (res: any) => void;
154
- onPageSuccess?: () => void;
155
- pageRef?: React.MutableRefObject<import("@ztocwst/rc-pro").RcPageRefInstance>;
156
- singleWarehouse?: boolean | ({
157
- requestConfig: Omit<import("@ztocwst/rc-pro/es/utils").RequestCommonProps, "transform" | "formCheck">;
158
- } & import("antd").SelectProps<any, import("rc-select/lib/Select").DefaultOptionType>);
159
- singleFactory?: boolean | ({
160
- requestConfig: Omit<import("@ztocwst/rc-pro/es/utils").RequestCommonProps, "transform" | "formCheck">;
161
- } & import("antd").SelectProps<any, import("rc-select/lib/Select").DefaultOptionType>);
162
- };
1
+ import { RcPageItem, RcPageProps } from '@ztocwst/rc-pro';
2
+ export declare const processTplBillProps: (props: RcPageItem['bill'], extra?: {
3
+ billFormRef?: any;
4
+ billFormCurrentRef?: any;
5
+ }) => {
6
+ previewTabs: {
7
+ antdRadioGroupProps?: any;
8
+ antdPageHeaderProps?: any;
9
+ on: true;
10
+ title?: any;
11
+ };
12
+ preview?: any;
13
+ form?: {
14
+ props: any;
15
+ antdPageHeaderProps?: any;
16
+ layoutProps?: any;
17
+ requestConfig: {
18
+ preview?: any;
19
+ edit?: any;
20
+ add?: any;
21
+ };
22
+ key?: string;
23
+ width?: string | number;
24
+ name?: any;
25
+ layoutType?: "page" | "drawer" | "modal";
26
+ onCustomBack?: () => void;
27
+ onBackSuccess?: (data?: any) => void;
28
+ isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
29
+ submitSecondConfirm?: boolean | import("antd").ModalFuncProps;
30
+ submitterRender?: (opt: {
31
+ onFinish?: (values: any, options?: import("@ztocwst/rc-pro/es/templates/basicTpl").SubmitOptions) => Promise<any>;
32
+ }, dom: JSX.Element[]) => any;
33
+ saveAndContinue?: boolean;
34
+ };
35
+ } | {
36
+ previewTabs?: undefined;
37
+ preview?: any;
38
+ form?: {
39
+ props: any;
40
+ antdPageHeaderProps?: any;
41
+ layoutProps?: any;
42
+ requestConfig: {
43
+ preview?: any;
44
+ edit?: any;
45
+ add?: any;
46
+ };
47
+ key?: string;
48
+ width?: string | number;
49
+ name?: any;
50
+ layoutType?: "page" | "drawer" | "modal";
51
+ onCustomBack?: () => void;
52
+ onBackSuccess?: (data?: any) => void;
53
+ isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
54
+ submitSecondConfirm?: boolean | import("antd").ModalFuncProps;
55
+ submitterRender?: (opt: {
56
+ onFinish?: (values: any, options?: import("@ztocwst/rc-pro/es/templates/basicTpl").SubmitOptions) => Promise<any>;
57
+ }, dom: JSX.Element[]) => any;
58
+ saveAndContinue?: boolean;
59
+ };
60
+ };
61
+ export declare const processTplProps: (props: RcPageProps, extra?: {
62
+ listRef?: any;
63
+ tableRef?: any;
64
+ listFormRef?: any;
65
+ billFormRef?: any;
66
+ listFormCurrentRef?: any;
67
+ billFormCurrentRef?: any;
68
+ }) => {
69
+ page: {
70
+ bill?: {
71
+ previewTabs: {
72
+ antdRadioGroupProps?: any;
73
+ antdPageHeaderProps?: any;
74
+ on: true;
75
+ title?: any;
76
+ };
77
+ preview?: any;
78
+ form?: {
79
+ props: any;
80
+ antdPageHeaderProps?: any;
81
+ layoutProps?: any;
82
+ requestConfig: {
83
+ preview?: any;
84
+ edit?: any;
85
+ add?: any;
86
+ };
87
+ key?: string;
88
+ width?: string | number;
89
+ name?: any;
90
+ layoutType?: "page" | "drawer" | "modal";
91
+ onCustomBack?: () => void;
92
+ onBackSuccess?: (data?: any) => void;
93
+ isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
94
+ submitSecondConfirm?: boolean | import("antd").ModalFuncProps;
95
+ submitterRender?: (opt: {
96
+ onFinish?: (values: any, options?: import("@ztocwst/rc-pro/es/templates/basicTpl").SubmitOptions) => Promise<any>;
97
+ }, dom: JSX.Element[]) => any;
98
+ saveAndContinue?: boolean;
99
+ };
100
+ } | {
101
+ previewTabs?: undefined;
102
+ preview?: any;
103
+ form?: {
104
+ props: any;
105
+ antdPageHeaderProps?: any;
106
+ layoutProps?: any;
107
+ requestConfig: {
108
+ preview?: any;
109
+ edit?: any;
110
+ add?: any;
111
+ };
112
+ key?: string;
113
+ width?: string | number;
114
+ name?: any;
115
+ layoutType?: "page" | "drawer" | "modal";
116
+ onCustomBack?: () => void;
117
+ onBackSuccess?: (data?: any) => void;
118
+ isValidatorCancelTouched?: boolean | import("antd").ModalFuncProps;
119
+ submitSecondConfirm?: boolean | import("antd").ModalFuncProps;
120
+ submitterRender?: (opt: {
121
+ onFinish?: (values: any, options?: import("@ztocwst/rc-pro/es/templates/basicTpl").SubmitOptions) => Promise<any>;
122
+ }, dom: JSX.Element[]) => any;
123
+ saveAndContinue?: boolean;
124
+ };
125
+ };
126
+ list: {
127
+ requestConfig: any;
128
+ type?: "list";
129
+ listRef: any;
130
+ onListBtnChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>;
131
+ renderWithDefaultDom?: (dom: JSX.Element[], onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => JSX.Element;
132
+ render?: (onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => React.ReactNode;
133
+ key?: string;
134
+ name?: any;
135
+ form: any;
136
+ actions: {
137
+ items: any[];
138
+ type?: string;
139
+ spaceSize?: [import("antd/lib/space").SpaceSize, import("antd/lib/space").SpaceSize];
140
+ size?: import("antd/lib/button").ButtonSize;
141
+ onClick?: (item: import("@ztocwst/rc-pro").ProButtonItemsProps) => void | Promise<any>;
142
+ onSuccess?: (item: import("@ztocwst/rc-pro").ProButtonItemsProps, data?: any) => void;
143
+ };
144
+ grid: {
145
+ config: any;
146
+ ref: any;
147
+ };
148
+ };
149
+ };
150
+ key?: string;
151
+ tab?: React.ReactNode;
152
+ onBillSuccess?: (res: any) => void;
153
+ onBillError?: (res: any) => void;
154
+ onPageSuccess?: () => void;
155
+ pageRef?: React.MutableRefObject<import("@ztocwst/rc-pro").RcPageRefInstance>;
156
+ singleWarehouse?: boolean | ({
157
+ requestConfig: Omit<import("@ztocwst/rc-pro/es/utils").RequestCommonProps, "transform" | "formCheck">;
158
+ } & import("antd").SelectProps<any, import("rc-select/lib/Select").DefaultOptionType>);
159
+ singleFactory?: boolean | ({
160
+ requestConfig: Omit<import("@ztocwst/rc-pro/es/utils").RequestCommonProps, "transform" | "formCheck">;
161
+ } & import("antd").SelectProps<any, import("rc-select/lib/Select").DefaultOptionType>);
162
+ };
@@ -1 +1 @@
1
- export declare const processWarehouseAndFactoryProps: (_props: any) => any;
1
+ export declare const processWarehouseAndFactoryProps: (_props: any) => any;
@@ -1,3 +1,3 @@
1
- import { RcConfigConsumerProps } from '@ztocwst/rc-pro';
2
- declare const _default: (rcProContext: RcConfigConsumerProps, url: string, requestParams: any) => Promise<any>;
3
- export default _default;
1
+ import { RcConfigConsumerProps } from '@ztocwst/rc-pro';
2
+ declare const _default: (rcProContext: RcConfigConsumerProps, url: string, requestParams: any) => Promise<any>;
3
+ export default _default;
package/es/variables.scss CHANGED
@@ -1,3 +1,3 @@
1
- // @import '~@alifd/next/variables.scss';
2
-
3
- // $biz-css-prefix: '.bizpack';
1
+ // @import '~@alifd/next/variables.scss';
2
+
3
+ // $biz-css-prefix: '.bizpack';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
2
- import type { ProEllipsisProps } from '@ztocwst/rc-pro';
3
- declare const ZEllipsis: React.FC<ProEllipsisProps>;
4
- export default ZEllipsis;
1
+ import * as React from 'react';
2
+ import type { ProEllipsisProps } from '@ztocwst/rc-pro';
3
+ declare const ZEllipsis: React.FC<ProEllipsisProps>;
4
+ export default ZEllipsis;
@@ -1,3 +1,3 @@
1
- import ZEllipsis from './ellipsis';
2
- export type { ProEllipsisProps } from '@ztocwst/rc-pro';
3
- export default ZEllipsis;
1
+ import ZEllipsis from './ellipsis';
2
+ export type { ProEllipsisProps } from '@ztocwst/rc-pro';
3
+ export default ZEllipsis;
@@ -1,3 +1,3 @@
1
- import ZAggBlock from './z-agg-block';
2
- export type { TypeAggBlockProps } from './z-agg-block';
3
- export default ZAggBlock;
1
+ import ZAggBlock from './z-agg-block';
2
+ export type { TypeAggBlockProps } from './z-agg-block';
3
+ export default ZAggBlock;