@zat-design/sisyphus-react 4.3.3-beta.2 → 4.3.3

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,35 @@ 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
- id?: string;
79
- children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
80
- style?: React.CSSProperties;
78
+ onReset?: () => void;
81
79
  trim?: boolean;
82
80
  normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
81
+ children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
83
82
  className?: string;
83
+ status?: "" | "warning" | "error" | "success" | "validating";
84
84
  hidden?: boolean;
85
- layout?: import("antd/es/form/Form").FormItemLayout;
86
- help?: React.ReactNode;
85
+ id?: string;
86
+ style?: React.CSSProperties;
87
+ htmlFor?: string;
88
+ prefixCls?: string;
89
+ trigger?: string;
90
+ isView?: boolean;
91
+ rootClassName?: string;
92
+ getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
87
93
  vertical?: boolean;
88
- preserve?: boolean;
89
- onReset?: () => void;
94
+ desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
90
95
  validateTrigger?: string | false | string[];
91
- isView?: boolean;
96
+ preserve?: boolean;
92
97
  clearNotShow?: boolean;
93
98
  labelAlign?: import("antd/es/form/interface").FormLabelAlign;
94
- prefixCls?: string;
95
99
  colon?: boolean;
100
+ layout?: import("antd/es/form/Form").FormItemLayout;
96
101
  labelCol?: import("antd").ColProps;
97
102
  wrapperCol?: import("antd").ColProps;
98
- rootClassName?: string;
99
- status?: "" | "warning" | "error" | "success" | "validating";
100
- htmlFor?: string;
101
103
  getValueFromEvent?: (...args: import("@rc-component/form/lib/interface").EventArgs) => any;
102
104
  shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<any>;
103
- trigger?: string;
104
105
  validateDebounce?: number;
105
106
  valuePropName?: string;
106
- getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
107
107
  messageVariables?: Record<string, string>;
108
108
  initialValue?: any;
109
109
  onMetaChange?: (meta: import("@rc-component/form/lib/Field").MetaEvent) => void;
@@ -114,6 +114,7 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
114
114
  icons: import("antd/es/form/FormItem").FeedbackIcons;
115
115
  };
116
116
  validateStatus?: "" | "warning" | "error" | "success" | "validating";
117
+ help?: React.ReactNode;
117
118
  fieldId?: string;
118
119
  valueType?: import("../../../render/propsType").ProFormValueType;
119
120
  switchValue?: [any, any];
@@ -126,7 +127,6 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
126
127
  upperCase?: boolean;
127
128
  toISOString?: boolean;
128
129
  toCSTString?: 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, "clearNotShow" | "format" | "valueType" | "switchValue" | "dependNames" | "toISOString" | "toCSTString" | "precision">;
144
+ componentProps: import("lodash").Omit<any, "format" | "clearNotShow" | "valueType" | "switchValue" | "dependNames" | "toISOString" | "toCSTString" | "precision">;
145
145
  formItemTransform: {
146
146
  getValueProps: any;
147
147
  normalize: any;
@@ -135,6 +135,9 @@ const ProTools = ({
135
135
  }, {
136
136
  color: '#A00F20',
137
137
  active: false
138
+ }, {
139
+ color: '#31AF96',
140
+ active: false
138
141
  }]);
139
142
  onReset();
140
143
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "4.3.3-beta.2",
3
+ "version": "4.3.3",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "es",