@ztocwst/rc-pro-materials 0.1.13 → 0.1.15

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 (135) 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 +4 -4
  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 +9 -9
  9. package/build/lowcode/render/default/view.css +1 -1
  10. package/build/lowcode/render/default/view.js +45 -10
  11. package/build/lowcode/view.css +1 -1
  12. package/build/lowcode/view.js +45 -10
  13. package/dist/SCM_Comps.css +1 -1
  14. package/dist/SCM_Comps.js +45 -10
  15. package/dist/SCM_Comps.js.map +1 -1
  16. package/es/components/z-Ellipsis/ellipsis.d.ts +4 -4
  17. package/es/components/z-Ellipsis/index.d.ts +3 -3
  18. package/es/components/z-box/box.d.ts +20 -20
  19. package/es/components/z-box/index.d.ts +3 -3
  20. package/es/components/z-box/index.less +4 -4
  21. package/es/components/z-button/index.d.ts +3 -3
  22. package/es/components/z-button/z-button.d.ts +4 -4
  23. package/es/components/z-config-provider/configProvider.d.ts +4 -4
  24. package/es/components/z-config-provider/index.d.ts +3 -3
  25. package/es/components/z-div/div.d.ts +6 -6
  26. package/es/components/z-div/index.d.ts +2 -2
  27. package/es/components/z-editTable/editTable.d.ts +11 -11
  28. package/es/components/z-editTable/editTable.js +2 -2
  29. package/es/components/z-editTable/index.d.ts +2 -2
  30. package/es/components/z-form/index.d.ts +3 -3
  31. package/es/components/z-form/z-form.d.ts +10 -10
  32. package/es/components/z-list/index.d.ts +3 -3
  33. package/es/components/z-list/list.d.ts +17 -17
  34. package/es/components/z-list/list.js +2 -2
  35. package/es/components/z-preview/index.d.ts +3 -3
  36. package/es/components/z-preview/preview.d.ts +4 -4
  37. package/es/components/z-ranking-list/index.d.ts +2 -2
  38. package/es/components/z-ranking-list/index.less +45 -45
  39. package/es/components/z-ranking-list/z-ranking-list.d.ts +14 -14
  40. package/es/components/z-ranking-list/z-ranking-list.js +2 -2
  41. package/es/components/z-simple-bar/index.d.ts +3 -3
  42. package/es/components/z-simple-bar/index.less +9 -9
  43. package/es/components/z-simple-bar/z-simple-bar.d.ts +27 -27
  44. package/es/components/z-singleFactory/index.d.ts +2 -2
  45. package/es/components/z-singleFactory/zSingerFactory.d.ts +3 -3
  46. package/es/components/z-statistic/index.d.ts +3 -3
  47. package/es/components/z-statistic/index.less +22 -22
  48. package/es/components/z-statistic/z-statistic.d.ts +13 -13
  49. package/es/components/z-table/index.d.ts +3 -3
  50. package/es/components/z-table/table.d.ts +8 -8
  51. package/es/components/z-tpl/index.d.ts +3 -3
  52. package/es/components/z-tpl/tpl.d.ts +23 -23
  53. package/es/components/z-tpl/tpl.js +2 -2
  54. package/es/components/z-warehouse/index.d.ts +2 -2
  55. package/es/components/z-warehouse/zWarehouse.d.ts +3 -3
  56. package/es/index.d.ts +29 -29
  57. package/es/index.scss +1 -1
  58. package/es/style.js +2 -0
  59. package/es/utils/hoc.d.ts +6 -6
  60. package/es/utils/hoc.js +3 -3
  61. package/es/utils/index.d.ts +12 -12
  62. package/es/utils/props/button.d.ts +13 -13
  63. package/es/utils/props/common.d.ts +1 -1
  64. package/es/utils/props/editTable.d.ts +3 -3
  65. package/es/utils/props/form.js +16 -15
  66. package/es/utils/props/listTpl.d.ts +29 -28
  67. package/es/utils/props/microModal.d.ts +7 -7
  68. package/es/utils/props/microSwitch.d.ts +1 -1
  69. package/es/utils/props/modalSelect.d.ts +6 -6
  70. package/es/utils/props/preview.d.ts +2 -2
  71. package/es/utils/props/tpl.d.ts +162 -159
  72. package/es/utils/props/warehouseAndFactory.d.ts +1 -1
  73. package/es/variables.d.ts +2 -2
  74. package/es/variables.scss +3 -3
  75. package/lib/components/z-Ellipsis/ellipsis.d.ts +4 -4
  76. package/lib/components/z-Ellipsis/index.d.ts +3 -3
  77. package/lib/components/z-box/box.d.ts +20 -20
  78. package/lib/components/z-box/index.d.ts +3 -3
  79. package/lib/components/z-box/index.less +4 -4
  80. package/lib/components/z-button/index.d.ts +3 -3
  81. package/lib/components/z-button/z-button.d.ts +4 -4
  82. package/lib/components/z-config-provider/configProvider.d.ts +4 -4
  83. package/lib/components/z-config-provider/index.d.ts +3 -3
  84. package/lib/components/z-div/div.d.ts +6 -6
  85. package/lib/components/z-div/index.d.ts +2 -2
  86. package/lib/components/z-editTable/editTable.d.ts +11 -11
  87. package/lib/components/z-editTable/editTable.js +2 -2
  88. package/lib/components/z-editTable/index.d.ts +2 -2
  89. package/lib/components/z-form/index.d.ts +3 -3
  90. package/lib/components/z-form/z-form.d.ts +10 -10
  91. package/lib/components/z-list/index.d.ts +3 -3
  92. package/lib/components/z-list/list.d.ts +17 -17
  93. package/lib/components/z-list/list.js +2 -2
  94. package/lib/components/z-preview/index.d.ts +3 -3
  95. package/lib/components/z-preview/preview.d.ts +4 -4
  96. package/lib/components/z-ranking-list/index.d.ts +2 -2
  97. package/lib/components/z-ranking-list/index.less +45 -45
  98. package/lib/components/z-ranking-list/z-ranking-list.d.ts +14 -14
  99. package/lib/components/z-ranking-list/z-ranking-list.js +2 -2
  100. package/lib/components/z-simple-bar/index.d.ts +3 -3
  101. package/lib/components/z-simple-bar/index.less +9 -9
  102. package/lib/components/z-simple-bar/z-simple-bar.d.ts +27 -27
  103. package/lib/components/z-singleFactory/index.d.ts +2 -2
  104. package/lib/components/z-singleFactory/zSingerFactory.d.ts +3 -3
  105. package/lib/components/z-statistic/index.d.ts +3 -3
  106. package/lib/components/z-statistic/index.less +22 -22
  107. package/lib/components/z-statistic/z-statistic.d.ts +13 -13
  108. package/lib/components/z-table/index.d.ts +3 -3
  109. package/lib/components/z-table/table.d.ts +8 -8
  110. package/lib/components/z-tpl/index.d.ts +3 -3
  111. package/lib/components/z-tpl/tpl.d.ts +23 -23
  112. package/lib/components/z-tpl/tpl.js +2 -2
  113. package/lib/components/z-warehouse/index.d.ts +2 -2
  114. package/lib/components/z-warehouse/zWarehouse.d.ts +3 -3
  115. package/lib/index.d.ts +29 -29
  116. package/lib/index.scss +1 -1
  117. package/lib/utils/hoc.d.ts +6 -6
  118. package/lib/utils/hoc.js +3 -3
  119. package/lib/utils/index.d.ts +12 -12
  120. package/lib/utils/props/button.d.ts +13 -13
  121. package/lib/utils/props/common.d.ts +1 -1
  122. package/lib/utils/props/editTable.d.ts +3 -3
  123. package/lib/utils/props/form.js +16 -15
  124. package/lib/utils/props/listTpl.d.ts +29 -28
  125. package/lib/utils/props/microModal.d.ts +7 -7
  126. package/lib/utils/props/microSwitch.d.ts +1 -1
  127. package/lib/utils/props/modalSelect.d.ts +6 -6
  128. package/lib/utils/props/preview.d.ts +2 -2
  129. package/lib/utils/props/tpl.d.ts +162 -159
  130. package/lib/utils/props/warehouseAndFactory.d.ts +1 -1
  131. package/lib/variables.d.ts +2 -2
  132. package/lib/variables.scss +3 -3
  133. package/package.json +3 -3
  134. package/es/utils/props/form.d.ts +0 -35
  135. package/lib/utils/props/form.d.ts +0 -35
@@ -1,23 +1,23 @@
1
- /**
2
- * 模板列表
3
- */
4
- import * as React from 'react';
5
- import type { RcPageProps } from '@ztocwst/rc-pro';
6
- export default class ZTplListContainer extends React.Component<RcPageProps, any> {
7
- pageRef: any;
8
- listRef: any;
9
- tableRef: any;
10
- listFormRef: any;
11
- listFormCurrentRef: any;
12
- billFormRef: any;
13
- billFormCurrentRef: any;
14
- constructor(props: any);
15
- getPageRef: () => any;
16
- getListRef: () => any;
17
- getTableRef: () => any;
18
- getListFormRef: () => any;
19
- getBillFormRef: () => any;
20
- getListFormCurrenRef: () => any;
21
- getBillFormCurrenRef: () => any;
22
- render(): React.JSX.Element;
23
- }
1
+ /**
2
+ * 模板列表
3
+ */
4
+ import * as React from 'react';
5
+ import type { RcPageProps } from '@ztocwst/rc-pro';
6
+ export default class ZTplListContainer extends React.Component<RcPageProps, any> {
7
+ pageRef: any;
8
+ listRef: any;
9
+ tableRef: any;
10
+ listFormRef: any;
11
+ listFormCurrentRef: any;
12
+ billFormRef: any;
13
+ billFormCurrentRef: any;
14
+ constructor(props: any);
15
+ getPageRef: () => any;
16
+ getListRef: () => any;
17
+ getTableRef: () => any;
18
+ getListFormRef: () => any;
19
+ getBillFormRef: () => any;
20
+ getListFormCurrenRef: () => any;
21
+ getBillFormCurrenRef: () => any;
22
+ render(): React.JSX.Element;
23
+ }
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
3
- /**
4
- * 模板列表
3
+ /**
4
+ * 模板列表
5
5
  */
6
6
  import * as React from 'react';
7
7
  import { RcBasicTpl } from '@ztocwst/rc-pro';
@@ -1,2 +1,2 @@
1
- import ZWarehouse from './zWarehouse';
2
- export default ZWarehouse;
1
+ import ZWarehouse from './zWarehouse';
2
+ export default ZWarehouse;
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
2
- declare const ZWarehouse: (props: any) => React.JSX.Element;
3
- export default ZWarehouse;
1
+ import * as React from 'react';
2
+ declare const ZWarehouse: (props: any) => React.JSX.Element;
3
+ export default ZWarehouse;
package/es/index.d.ts CHANGED
@@ -1,29 +1,29 @@
1
- export type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
2
- export { default as ZButton } from './components/z-button';
3
- export type { ProFormRenderProps } from '@ztocwst/rc-pro';
4
- export { default as ZForm } from './components/z-form';
5
- export type { ProEllipsisProps } from '@ztocwst/rc-pro';
6
- export { default as ZEllipsis } from './components/z-Ellipsis';
7
- export type { ProTableProps } from '@ztocwst/rc-pro';
8
- export { default as ZTable } from './components/z-table';
9
- export type { ProPreviewProps } from '@ztocwst/rc-pro';
10
- export { default as ZPreview } from './components/z-preview';
11
- export type { RcListItem } from '@ztocwst/rc-pro';
12
- export { default as ZList } from './components/z-list';
13
- export type { RcPageProps } from '@ztocwst/rc-pro';
14
- export { default as ZTpl } from './components/z-tpl';
15
- export type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
16
- export { default as ZConfigProvider } from './components/z-config-provider';
17
- export type { TypeZBoxProps } from './components/z-box';
18
- export { default as ZBox } from './components/z-box';
19
- export { default as ZDiv } from './components/z-div';
20
- export type { TypeZStatisticProps } from './components/z-statistic';
21
- export { default as ZStatistic } from './components/z-statistic';
22
- export type { TypeZSimpleBarProps } from './components/z-simple-bar';
23
- export { default as ZSimpleBar } from './components/z-simple-bar';
24
- export { default as ZRankingList } from './components/z-ranking-list';
25
- export { default as ZWarehouse } from './components/z-warehouse';
26
- export { default as ZSingleFactory } from './components/z-singleFactory';
27
- export { default as ZRcEditTable } from './components/z-editTable';
28
- declare const bizCssPrefix = "bizpack";
29
- export { bizCssPrefix };
1
+ export type { ProButtonProps } from '@ztocwst/rc-pro/es/components/ProButton';
2
+ export { default as ZButton } from './components/z-button';
3
+ export type { ProFormRenderProps } from '@ztocwst/rc-pro';
4
+ export { default as ZForm } from './components/z-form';
5
+ export type { ProEllipsisProps } from '@ztocwst/rc-pro';
6
+ export { default as ZEllipsis } from './components/z-Ellipsis';
7
+ export type { ProTableProps } from '@ztocwst/rc-pro';
8
+ export { default as ZTable } from './components/z-table';
9
+ export type { ProPreviewProps } from '@ztocwst/rc-pro';
10
+ export { default as ZPreview } from './components/z-preview';
11
+ export type { RcListItem } from '@ztocwst/rc-pro';
12
+ export { default as ZList } from './components/z-list';
13
+ export type { RcPageProps } from '@ztocwst/rc-pro';
14
+ export { default as ZTpl } from './components/z-tpl';
15
+ export type { RcConfigConsumerProps } from '@ztocwst/rc-pro';
16
+ export { default as ZConfigProvider } from './components/z-config-provider';
17
+ export type { TypeZBoxProps } from './components/z-box';
18
+ export { default as ZBox } from './components/z-box';
19
+ export { default as ZDiv } from './components/z-div';
20
+ export type { TypeZStatisticProps } from './components/z-statistic';
21
+ export { default as ZStatistic } from './components/z-statistic';
22
+ export type { TypeZSimpleBarProps } from './components/z-simple-bar';
23
+ export { default as ZSimpleBar } from './components/z-simple-bar';
24
+ export { default as ZRankingList } from './components/z-ranking-list';
25
+ export { default as ZWarehouse } from './components/z-warehouse';
26
+ export { default as ZSingleFactory } from './components/z-singleFactory';
27
+ export { default as ZRcEditTable } from './components/z-editTable';
28
+ declare const bizCssPrefix = "bizpack";
29
+ export { bizCssPrefix };
package/es/index.scss CHANGED
@@ -1 +1 @@
1
- // @import './components/rc-button/index.scss';
1
+ // @import './components/rc-button/index.scss';
package/es/style.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import 'antd/lib/statistic/style';
2
2
  import 'antd/lib/progress/style';
3
+ import 'antd/lib/table/style';
4
+ import 'antd/lib/typography/style';
3
5
  import 'antd/es/statistic/style';
4
6
  import 'antd/es/progress/style';
5
7
  import 'antd/es/table/style';
package/es/utils/hoc.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { ComponentType } from 'react';
2
- /**
3
- * 简单包装,不做任何处理
4
- * 部分组件ref比较特殊,包一层会解决这个问题
5
- */
6
- export declare function withWrap(Comp: ComponentType<any>): import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
1
+ import { ComponentType } from 'react';
2
+ /**
3
+ * 简单包装,不做任何处理
4
+ * 部分组件ref比较特殊,包一层会解决这个问题
5
+ */
6
+ export declare function withWrap(Comp: ComponentType<any>): import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
package/es/utils/hoc.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import { forwardRef } from 'react';
3
3
 
4
- /**
5
- * 简单包装,不做任何处理
6
- * 部分组件ref比较特殊,包一层会解决这个问题
4
+ /**
5
+ * 简单包装,不做任何处理
6
+ * 部分组件ref比较特殊,包一层会解决这个问题
7
7
  */
8
8
  export function withWrap(Comp) {
9
9
  return /*#__PURE__*/forwardRef(function (props, ref) {
@@ -1,12 +1,12 @@
1
- import { processButtonProps } from './props/button';
2
- import { processFormProps } from './props/form';
3
- import { processListTplProps } from './props/listTpl';
4
- import { processTplProps } from './props/tpl';
5
- import { processMicroSwitchProps } from './props/microSwitch';
6
- import { processMicroModalProps } from './props/microModal';
7
- import { processWarehouseAndFactoryProps } from './props/warehouseAndFactory';
8
- import { processEditTableProps } from './props/editTable';
9
- import { processPreviewProps } from './props/preview';
10
- import { processModalSelectProps, processModalSelectTablePropsColumns } from './props/modalSelect';
11
- declare const processJsonOrFunctionProps: (props: any) => any;
12
- export { processTplProps, processJsonOrFunctionProps, processFormProps, processListTplProps, processButtonProps, processMicroSwitchProps, processMicroModalProps, processPreviewProps, processWarehouseAndFactoryProps, processEditTableProps, processModalSelectProps, processModalSelectTablePropsColumns };
1
+ import { processButtonProps } from './props/button';
2
+ import { processFormProps } from './props/form';
3
+ import { processListTplProps } from './props/listTpl';
4
+ import { processTplProps } from './props/tpl';
5
+ import { processMicroSwitchProps } from './props/microSwitch';
6
+ import { processMicroModalProps } from './props/microModal';
7
+ import { processWarehouseAndFactoryProps } from './props/warehouseAndFactory';
8
+ import { processEditTableProps } from './props/editTable';
9
+ import { processPreviewProps } from './props/preview';
10
+ import { processModalSelectProps, processModalSelectTablePropsColumns } from './props/modalSelect';
11
+ declare const processJsonOrFunctionProps: (props: any) => any;
12
+ export { processTplProps, processJsonOrFunctionProps, processFormProps, processListTplProps, processButtonProps, processMicroSwitchProps, processMicroModalProps, processPreviewProps, processWarehouseAndFactoryProps, processEditTableProps, processModalSelectProps, processModalSelectTablePropsColumns };
@@ -1,13 +1,13 @@
1
- import { ProButtonItemsProps, ProButtonProps } from '@ztocwst/rc-pro';
2
- export declare const processButtonProps: (props: ProButtonProps & {
3
- linkButton?: boolean;
4
- }, extra?: {
5
- tableRef?: any;
6
- }) => {
7
- items: any[];
8
- type?: string;
9
- spaceSize?: [import("antd/lib/space").SpaceSize, import("antd/lib/space").SpaceSize];
10
- size?: import("antd/lib/button").ButtonSize;
11
- onClick?: (item: ProButtonItemsProps) => void | Promise<any>;
12
- onSuccess?: (item: ProButtonItemsProps, data?: any) => void;
13
- };
1
+ import { ProButtonItemsProps, ProButtonProps } from '@ztocwst/rc-pro';
2
+ export declare const processButtonProps: (props: ProButtonProps & {
3
+ linkButton?: boolean;
4
+ }, extra?: {
5
+ tableRef?: any;
6
+ }) => {
7
+ items: any[];
8
+ type?: string;
9
+ spaceSize?: [import("antd/lib/space").SpaceSize, import("antd/lib/space").SpaceSize];
10
+ size?: import("antd/lib/button").ButtonSize;
11
+ onClick?: (item: ProButtonItemsProps) => void | Promise<any>;
12
+ onSuccess?: (item: ProButtonItemsProps, data?: any) => void;
13
+ };
@@ -1 +1 @@
1
- export declare const processRequestConfig: (props: any) => any;
1
+ export declare const processRequestConfig: (props: any) => any;
@@ -1,3 +1,3 @@
1
- export declare const processEditTableProps: (props: any, extra?: {
2
- proEditableFormRef?: any;
3
- }) => any;
1
+ export declare const processEditTableProps: (props: any, extra?: {
2
+ proEditableFormRef?: any;
3
+ }) => any;
@@ -6,8 +6,8 @@ var _excluded = ["fieldProps", "formItemProps", "dependencyColumns", "required",
6
6
  _excluded4 = ["fieldProps"],
7
7
  _excluded5 = ["requestOptions"],
8
8
  _excluded6 = ["columns"];
9
- /**
10
- * 处理表单默认值
9
+ /**
10
+ * 处理表单默认值
11
11
  */
12
12
 
13
13
  import { processModalSelectProps } from "./modalSelect";
@@ -41,16 +41,17 @@ var processInitialValue = function processInitialValue(e) {
41
41
  } : {}, (rest === null || rest === void 0 ? void 0 : rest.valueType) === 'dependency' ? {
42
42
  columns: function columns(obj) {
43
43
  var hhh = (dependencyColumns !== null && dependencyColumns !== void 0 ? dependencyColumns : []).map(function (child) {
44
- var _ref3;
45
- var value = (_ref3 = (fieldRest === null || fieldRest === void 0 ? void 0 : fieldRest.name) || []) === null || _ref3 === void 0 ? void 0 : _ref3.reduce(function (prev, next) {
46
- if (prev !== null && prev !== void 0 && prev[next]) {
47
- return prev === null || prev === void 0 ? void 0 : prev[next];
48
- }
49
- return prev;
50
- }, obj);
44
+ // const value = (fieldRest?.name || [])?.reduce((prev, next) => {
45
+ // if (prev?.[next]) {
46
+ // return prev?.[next];
47
+ // }
48
+ // return prev;
49
+ // }, obj);
50
+
51
51
  var dependencyName = '';
52
52
  try {
53
- dependencyName = JSON.stringify(value);
53
+ // obj 依赖对象
54
+ dependencyName = JSON.stringify(obj !== null && obj !== void 0 ? obj : '');
54
55
  } catch (error) {
55
56
  dependencyName = '';
56
57
  }
@@ -109,7 +110,7 @@ var processInitialValue = function processInitialValue(e) {
109
110
  });
110
111
  };
111
112
  export var processFormProps = function processFormProps(props) {
112
- var _ref4;
113
+ var _ref3;
113
114
  var columns = props.columns,
114
115
  submitter = props.submitter,
115
116
  labelColWidth = props.labelColWidth,
@@ -128,17 +129,17 @@ export var processFormProps = function processFormProps(props) {
128
129
  restProps = props.restProps;
129
130
  return processModalSelectProps(_extends({
130
131
  // columns只支持两级group嵌套
131
- columns: (_ref4 = columns || []) === null || _ref4 === void 0 ? void 0 : _ref4.filter(function (e) {
132
+ columns: (_ref3 = columns || []) === null || _ref3 === void 0 ? void 0 : _ref3.filter(function (e) {
132
133
  return !!e;
133
134
  }).map(function (e) {
134
135
  if (e.valueType === 'group') {
135
- var _ref5, _ref5$filter;
136
+ var _ref4, _ref4$filter;
136
137
  var groupColumns = e.columns,
137
138
  groupRest = _objectWithoutPropertiesLoose(e, _excluded6);
138
139
  return _extends({}, groupRest, {
139
- columns: (_ref5 = groupColumns || []) === null || _ref5 === void 0 ? void 0 : (_ref5$filter = _ref5.filter(function (child) {
140
+ columns: (_ref4 = groupColumns || []) === null || _ref4 === void 0 ? void 0 : (_ref4$filter = _ref4.filter(function (child) {
140
141
  return !!child;
141
- })) === null || _ref5$filter === void 0 ? void 0 : _ref5$filter.map(function (child) {
142
+ })) === null || _ref4$filter === void 0 ? void 0 : _ref4$filter.map(function (child) {
142
143
  return processInitialValue(child);
143
144
  })
144
145
  });
@@ -1,28 +1,29 @@
1
- import { RcListItem } from '@ztocwst/rc-pro';
2
- export declare const processListTplProps: (props: RcListItem, extra?: {
3
- listRef?: any;
4
- tableRef?: any;
5
- listFormRef?: any;
6
- listFormCurrentRef?: any;
7
- }) => {
8
- requestConfig: any;
9
- type?: "list";
10
- listRef: any;
11
- onListBtnChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>;
12
- render?: (onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => React.ReactNode;
13
- key?: string;
14
- name?: any;
15
- form: any;
16
- actions: {
17
- items: any[];
18
- type?: string;
19
- spaceSize?: [import("antd/lib/space").SpaceSize, import("antd/lib/space").SpaceSize];
20
- size?: import("antd/lib/button").ButtonSize;
21
- onClick?: (item: import("@ztocwst/rc-pro").ProButtonItemsProps) => void | Promise<any>;
22
- onSuccess?: (item: import("@ztocwst/rc-pro").ProButtonItemsProps, data?: any) => void;
23
- };
24
- grid: {
25
- config: any;
26
- ref: any;
27
- };
28
- };
1
+ import { RcListItem } from '@ztocwst/rc-pro';
2
+ export declare const processListTplProps: (props: RcListItem, extra?: {
3
+ listRef?: any;
4
+ tableRef?: any;
5
+ listFormRef?: any;
6
+ listFormCurrentRef?: any;
7
+ }) => {
8
+ requestConfig: any;
9
+ type?: "list";
10
+ listRef: any;
11
+ onListBtnChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>;
12
+ renderWithDefaultDom?: (dom: JSX.Element[], onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => JSX.Element;
13
+ render?: (onChange?: (type: "add" | "copy" | "edit" | "preview" | "back", record?: Record<string, unknown>, key?: string) => void | Promise<void>) => React.ReactNode;
14
+ key?: string;
15
+ name?: any;
16
+ form: any;
17
+ actions: {
18
+ items: any[];
19
+ type?: string;
20
+ spaceSize?: [import("antd/lib/space").SpaceSize, import("antd/lib/space").SpaceSize];
21
+ size?: import("antd/lib/button").ButtonSize;
22
+ onClick?: (item: import("@ztocwst/rc-pro").ProButtonItemsProps) => void | Promise<any>;
23
+ onSuccess?: (item: import("@ztocwst/rc-pro").ProButtonItemsProps, data?: any) => void;
24
+ };
25
+ grid: {
26
+ config: any;
27
+ ref: any;
28
+ };
29
+ };
@@ -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 { 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;