@zat-design/sisyphus-react 4.2.0-beta.5 → 4.2.0-beta.7
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.
|
@@ -75,35 +75,31 @@ 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
|
+
trim?: boolean;
|
|
79
|
+
normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
|
|
78
80
|
children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
|
|
81
|
+
className?: string;
|
|
79
82
|
style?: React.CSSProperties;
|
|
80
83
|
prefixCls?: string;
|
|
81
84
|
trigger?: string;
|
|
82
85
|
id?: string;
|
|
83
|
-
trim?: boolean;
|
|
84
|
-
normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
|
|
85
|
-
className?: string;
|
|
86
86
|
isView?: boolean;
|
|
87
87
|
rootClassName?: string;
|
|
88
|
-
status?: "" | "warning" | "error" | "success" | "validating";
|
|
89
|
-
getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
|
|
90
88
|
hidden?: boolean;
|
|
91
89
|
onReset?: () => void;
|
|
90
|
+
status?: "" | "warning" | "error" | "success" | "validating";
|
|
92
91
|
vertical?: boolean;
|
|
93
|
-
desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
|
|
94
92
|
validateTrigger?: string | false | string[];
|
|
95
93
|
preserve?: boolean;
|
|
96
|
-
|
|
97
|
-
labelAlign?: import("antd/es/form/interface").FormLabelAlign;
|
|
94
|
+
htmlFor?: string;
|
|
98
95
|
colon?: boolean;
|
|
99
|
-
|
|
96
|
+
labelAlign?: import("antd/es/form/interface").FormLabelAlign;
|
|
100
97
|
labelCol?: import("antd").ColProps;
|
|
101
|
-
wrapperCol?: import("antd").ColProps;
|
|
102
|
-
htmlFor?: string;
|
|
103
98
|
getValueFromEvent?: (...args: import("@rc-component/form/lib/interface").EventArgs) => any;
|
|
104
99
|
shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<any>;
|
|
105
100
|
validateDebounce?: number;
|
|
106
101
|
valuePropName?: string;
|
|
102
|
+
getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
|
|
107
103
|
messageVariables?: Record<string, string>;
|
|
108
104
|
initialValue?: any;
|
|
109
105
|
onMetaChange?: (meta: import("@rc-component/form/lib/Field").MetaEvent) => void;
|
|
@@ -114,6 +110,8 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
114
110
|
icons: import("antd/es/form/FormItem").FeedbackIcons;
|
|
115
111
|
};
|
|
116
112
|
validateStatus?: "" | "warning" | "error" | "success" | "validating";
|
|
113
|
+
layout?: import("antd/es/form/Form").FormItemLayout;
|
|
114
|
+
wrapperCol?: import("antd").ColProps;
|
|
117
115
|
help?: React.ReactNode;
|
|
118
116
|
fieldId?: string;
|
|
119
117
|
valueType?: import("../../../render/propsType").ProFormValueType;
|
|
@@ -127,6 +125,8 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
127
125
|
upperCase?: boolean;
|
|
128
126
|
toISOString?: boolean;
|
|
129
127
|
toCSTString?: boolean;
|
|
128
|
+
clearNotShow?: boolean;
|
|
129
|
+
desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
|
|
130
130
|
name: any;
|
|
131
131
|
dependencies: any[];
|
|
132
132
|
tooltip: string | {
|
|
@@ -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" | "
|
|
144
|
+
componentProps: import("lodash").Omit<any, "format" | "valueType" | "switchValue" | "dependNames" | "toISOString" | "toCSTString" | "clearNotShow" | "precision">;
|
|
145
145
|
formItemTransform: {
|
|
146
146
|
getValueProps: any;
|
|
147
147
|
normalize: any;
|
package/es/ProStep/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const useStep: () => Partial<ProStepContextType>;
|
|
|
5
5
|
declare const ProStep: {
|
|
6
6
|
({ children, ...resetProps }: ProStepType): JSX.Element;
|
|
7
7
|
useStep: () => Partial<ProStepContextType>;
|
|
8
|
-
Item: ({ id, title, collapse: collapseItem, children, lazyLoad: stepLazyLoad, order, ...restProps }: import("./propsType").ProStepItemPropsType) =>
|
|
8
|
+
Item: ({ id, title, collapse: collapseItem, children, lazyLoad: stepLazyLoad, order, ...restProps }: import("./propsType").ProStepItemPropsType) => JSX.Element;
|
|
9
9
|
Listener: ({ children, delayTime, excludes, ...props }: import("./propsType").ListenerProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
10
10
|
};
|
|
11
11
|
export default ProStep;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zat-design/sisyphus-react",
|
|
3
|
-
"version": "4.2.0-beta.
|
|
3
|
+
"version": "4.2.0-beta.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"es",
|
|
@@ -66,8 +66,7 @@
|
|
|
66
66
|
"lint:report": "eslint --ext .jsx,.js src -f checkstyle -o report_zacc_eslint_js.xml & exit 0; stylelint --custom-formatter node_modules/stylelint-checkstyle-formatter src/**/*.{css,scss,less} > report_zacc_stylelint_css.xml & exit 0",
|
|
67
67
|
"lint:style": "stylelint --fix \"src/**/*.less\"",
|
|
68
68
|
"precommit": "lint-staged",
|
|
69
|
-
"
|
|
70
|
-
"prepare": "husky",
|
|
69
|
+
"prepare": "husky && patch-package",
|
|
71
70
|
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
|
|
72
71
|
"postpublish": "git clean -fd",
|
|
73
72
|
"release": "yarn build && npm publish",
|
|
@@ -100,14 +99,16 @@
|
|
|
100
99
|
"react-docgen-typescript-dumi-tmp": {
|
|
101
100
|
"typescript": "^4.9.5"
|
|
102
101
|
},
|
|
103
|
-
"esbuild": "0.21.4"
|
|
102
|
+
"esbuild": "0.21.4",
|
|
103
|
+
"@umijs/bundler-utils": "^4.6.35"
|
|
104
104
|
},
|
|
105
105
|
"resolutions": {
|
|
106
106
|
"react-resizable/react-draggable": "<4.5.0",
|
|
107
107
|
"@ant-design/icons": "^6.1.0",
|
|
108
108
|
"@babel/core": "^7.26.0",
|
|
109
109
|
"react-docgen-typescript-dumi-tmp/typescript": "^4.9.5",
|
|
110
|
-
"esbuild": "0.21.4"
|
|
110
|
+
"esbuild": "0.21.4",
|
|
111
|
+
"@umijs/bundler-utils": "^4.6.35"
|
|
111
112
|
},
|
|
112
113
|
"dependencies": {
|
|
113
114
|
"@dnd-kit/core": "^6.0.8",
|