@zat-design/sisyphus-react 4.0.4 → 4.0.5
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.
- package/dist/index.esm.css +1 -1
- package/dist/less.esm.css +1 -1
- package/es/ProDrawerForm/propsType.d.ts +0 -2
- package/es/ProForm/components/combination/Group/utils/index.d.ts +23 -23
- package/es/ProTreeModal/index.js +1 -1
- package/es/ProTreeModal/style/index.less +4 -0
- package/es/ProUpload/components/Example.js +1 -1
- package/lib/ProDrawerForm/propsType.d.ts +0 -2
- package/lib/ProForm/components/combination/Group/utils/index.d.ts +23 -23
- package/lib/ProTreeModal/index.js +1 -1
- package/lib/ProTreeModal/style/index.less +4 -0
- package/lib/ProUpload/components/Example.js +1 -1
- package/package.json +1 -1
|
@@ -75,54 +75,54 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
75
75
|
confirm?: boolean | import("antd").ModalFuncProps | import("../../../render/propsType").FunctionArgs<any, boolean | import("antd").ModalFuncProps>;
|
|
76
76
|
show?: boolean | ReactiveFunction<any, boolean>;
|
|
77
77
|
component?: React.ReactNode | ReactiveFunction<any, React.ReactNode>;
|
|
78
|
+
className?: string;
|
|
78
79
|
trim?: boolean;
|
|
79
80
|
normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
|
|
80
81
|
children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
|
|
81
|
-
|
|
82
|
-
id?: string;
|
|
83
|
-
className?: string;
|
|
84
|
-
hidden?: boolean;
|
|
82
|
+
isView?: boolean;
|
|
85
83
|
style?: React.CSSProperties;
|
|
86
|
-
onReset?: () => void;
|
|
87
84
|
prefixCls?: string;
|
|
88
85
|
rootClassName?: string;
|
|
89
|
-
|
|
86
|
+
id?: string;
|
|
87
|
+
vertical?: boolean;
|
|
88
|
+
status?: "" | "error" | "success" | "warning" | "validating";
|
|
89
|
+
hidden?: boolean;
|
|
90
|
+
onReset?: () => void;
|
|
91
|
+
htmlFor?: string;
|
|
92
|
+
valueType?: import("../../../render/propsType").ProFormValueType;
|
|
90
93
|
trigger?: string;
|
|
91
|
-
|
|
92
|
-
|
|
94
|
+
viewRender?: (value: any, record: any, { form, index, namePath, }: {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
form: FormInstance<any>;
|
|
97
|
+
index?: number;
|
|
98
|
+
}) => string | React.ReactElement<any, any>;
|
|
93
99
|
desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
|
|
94
|
-
|
|
95
|
-
|
|
100
|
+
layout?: import("antd/es/form/Form").FormItemLayout;
|
|
101
|
+
help?: React.ReactNode;
|
|
102
|
+
preserve?: boolean;
|
|
103
|
+
viewType?: import("../../../render/propsType").ViewType;
|
|
104
|
+
validateTrigger?: string | false | string[];
|
|
105
|
+
colon?: boolean;
|
|
96
106
|
labelAlign?: import("antd/es/form/interface").FormLabelAlign;
|
|
97
107
|
labelCol?: import("antd").ColProps;
|
|
98
108
|
getValueFromEvent?: (...args: import("@rc-component/form/lib/interface").EventArgs) => any;
|
|
99
109
|
shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<any>;
|
|
100
|
-
validateTrigger?: string | false | string[];
|
|
101
110
|
validateDebounce?: number;
|
|
102
111
|
valuePropName?: string;
|
|
112
|
+
getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
|
|
103
113
|
messageVariables?: Record<string, string>;
|
|
104
114
|
initialValue?: any;
|
|
105
115
|
onMetaChange?: (meta: import("@rc-component/form/lib/Field").MetaEvent) => void;
|
|
106
|
-
preserve?: boolean;
|
|
107
116
|
isListField?: boolean;
|
|
108
117
|
isList?: boolean;
|
|
109
118
|
noStyle?: boolean;
|
|
110
119
|
hasFeedback?: boolean | {
|
|
111
120
|
icons: import("antd/es/form/FormItem").FeedbackIcons;
|
|
112
121
|
};
|
|
113
|
-
validateStatus?: "" | "
|
|
114
|
-
layout?: import("antd/es/form/Form").FormItemLayout;
|
|
122
|
+
validateStatus?: "" | "error" | "success" | "warning" | "validating";
|
|
115
123
|
wrapperCol?: import("antd").ColProps;
|
|
116
|
-
help?: React.ReactNode;
|
|
117
124
|
fieldId?: string;
|
|
118
|
-
valueType?: import("../../../render/propsType").ProFormValueType;
|
|
119
125
|
switchValue?: [any, any];
|
|
120
|
-
viewRender?: (value: any, record: any, { form, index, namePath, }: {
|
|
121
|
-
[key: string]: any;
|
|
122
|
-
form: FormInstance<any>;
|
|
123
|
-
index?: number;
|
|
124
|
-
}) => string | React.ReactElement<any, any>;
|
|
125
|
-
viewType?: import("../../../render/propsType").ViewType;
|
|
126
126
|
upperCase?: boolean;
|
|
127
127
|
toISOString?: boolean;
|
|
128
128
|
toCSTString?: boolean;
|
|
@@ -141,7 +141,7 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
141
141
|
* 创建组件属性
|
|
142
142
|
*/
|
|
143
143
|
export declare const createComponentProps: (column: FlexibleGroupColumnType, formItemProps: any) => {
|
|
144
|
-
componentProps: import("lodash").Omit<any, "format" | "valueType" | "switchValue" | "dependNames" | "toISOString" | "toCSTString" | "clearNotShow"
|
|
144
|
+
componentProps: import("lodash").Omit<any, "format" | "valueType" | "precision" | "switchValue" | "dependNames" | "toISOString" | "toCSTString" | "clearNotShow">;
|
|
145
145
|
formItemTransform: {
|
|
146
146
|
getValueProps: any;
|
|
147
147
|
normalize: any;
|
package/es/ProTreeModal/index.js
CHANGED
|
@@ -738,7 +738,7 @@ var ProTreeModal = props => {
|
|
|
738
738
|
okDisabled: disabled,
|
|
739
739
|
open: state.open,
|
|
740
740
|
title: title,
|
|
741
|
-
|
|
741
|
+
mode: "Modal",
|
|
742
742
|
className: "pro-tree-modal-container",
|
|
743
743
|
extraLeft: allValue !== undefined ? /*#__PURE__*/_jsx(Checkbox, {
|
|
744
744
|
checked: state.checkAll,
|
|
@@ -75,54 +75,54 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
75
75
|
confirm?: boolean | import("antd").ModalFuncProps | import("../../../render/propsType").FunctionArgs<any, boolean | import("antd").ModalFuncProps>;
|
|
76
76
|
show?: boolean | ReactiveFunction<any, boolean>;
|
|
77
77
|
component?: React.ReactNode | ReactiveFunction<any, React.ReactNode>;
|
|
78
|
+
className?: string;
|
|
78
79
|
trim?: boolean;
|
|
79
80
|
normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
|
|
80
81
|
children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
|
|
81
|
-
|
|
82
|
-
id?: string;
|
|
83
|
-
className?: string;
|
|
84
|
-
hidden?: boolean;
|
|
82
|
+
isView?: boolean;
|
|
85
83
|
style?: React.CSSProperties;
|
|
86
|
-
onReset?: () => void;
|
|
87
84
|
prefixCls?: string;
|
|
88
85
|
rootClassName?: string;
|
|
89
|
-
|
|
86
|
+
id?: string;
|
|
87
|
+
vertical?: boolean;
|
|
88
|
+
status?: "" | "error" | "success" | "warning" | "validating";
|
|
89
|
+
hidden?: boolean;
|
|
90
|
+
onReset?: () => void;
|
|
91
|
+
htmlFor?: string;
|
|
92
|
+
valueType?: import("../../../render/propsType").ProFormValueType;
|
|
90
93
|
trigger?: string;
|
|
91
|
-
|
|
92
|
-
|
|
94
|
+
viewRender?: (value: any, record: any, { form, index, namePath, }: {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
form: FormInstance<any>;
|
|
97
|
+
index?: number;
|
|
98
|
+
}) => string | React.ReactElement<any, any>;
|
|
93
99
|
desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
|
|
94
|
-
|
|
95
|
-
|
|
100
|
+
layout?: import("antd/es/form/Form").FormItemLayout;
|
|
101
|
+
help?: React.ReactNode;
|
|
102
|
+
preserve?: boolean;
|
|
103
|
+
viewType?: import("../../../render/propsType").ViewType;
|
|
104
|
+
validateTrigger?: string | false | string[];
|
|
105
|
+
colon?: boolean;
|
|
96
106
|
labelAlign?: import("antd/es/form/interface").FormLabelAlign;
|
|
97
107
|
labelCol?: import("antd").ColProps;
|
|
98
108
|
getValueFromEvent?: (...args: import("@rc-component/form/lib/interface").EventArgs) => any;
|
|
99
109
|
shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<any>;
|
|
100
|
-
validateTrigger?: string | false | string[];
|
|
101
110
|
validateDebounce?: number;
|
|
102
111
|
valuePropName?: string;
|
|
112
|
+
getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
|
|
103
113
|
messageVariables?: Record<string, string>;
|
|
104
114
|
initialValue?: any;
|
|
105
115
|
onMetaChange?: (meta: import("@rc-component/form/lib/Field").MetaEvent) => void;
|
|
106
|
-
preserve?: boolean;
|
|
107
116
|
isListField?: boolean;
|
|
108
117
|
isList?: boolean;
|
|
109
118
|
noStyle?: boolean;
|
|
110
119
|
hasFeedback?: boolean | {
|
|
111
120
|
icons: import("antd/es/form/FormItem").FeedbackIcons;
|
|
112
121
|
};
|
|
113
|
-
validateStatus?: "" | "
|
|
114
|
-
layout?: import("antd/es/form/Form").FormItemLayout;
|
|
122
|
+
validateStatus?: "" | "error" | "success" | "warning" | "validating";
|
|
115
123
|
wrapperCol?: import("antd").ColProps;
|
|
116
|
-
help?: React.ReactNode;
|
|
117
124
|
fieldId?: string;
|
|
118
|
-
valueType?: import("../../../render/propsType").ProFormValueType;
|
|
119
125
|
switchValue?: [any, any];
|
|
120
|
-
viewRender?: (value: any, record: any, { form, index, namePath, }: {
|
|
121
|
-
[key: string]: any;
|
|
122
|
-
form: FormInstance<any>;
|
|
123
|
-
index?: number;
|
|
124
|
-
}) => string | React.ReactElement<any, any>;
|
|
125
|
-
viewType?: import("../../../render/propsType").ViewType;
|
|
126
126
|
upperCase?: boolean;
|
|
127
127
|
toISOString?: boolean;
|
|
128
128
|
toCSTString?: boolean;
|
|
@@ -141,7 +141,7 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
141
141
|
* 创建组件属性
|
|
142
142
|
*/
|
|
143
143
|
export declare const createComponentProps: (column: FlexibleGroupColumnType, formItemProps: any) => {
|
|
144
|
-
componentProps: import("lodash").Omit<any, "format" | "valueType" | "switchValue" | "dependNames" | "toISOString" | "toCSTString" | "clearNotShow"
|
|
144
|
+
componentProps: import("lodash").Omit<any, "format" | "valueType" | "precision" | "switchValue" | "dependNames" | "toISOString" | "toCSTString" | "clearNotShow">;
|
|
145
145
|
formItemTransform: {
|
|
146
146
|
getValueProps: any;
|
|
147
147
|
normalize: any;
|
|
@@ -745,7 +745,7 @@ var ProTreeModal = props => {
|
|
|
745
745
|
okDisabled: disabled,
|
|
746
746
|
open: state.open,
|
|
747
747
|
title: title,
|
|
748
|
-
|
|
748
|
+
mode: "Modal",
|
|
749
749
|
className: "pro-tree-modal-container",
|
|
750
750
|
extraLeft: allValue !== undefined ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.Checkbox, {
|
|
751
751
|
checked: state.checkAll,
|