@zat-design/sisyphus-react 4.4.0 → 4.4.1-beta.1
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.
|
@@ -269,7 +269,15 @@
|
|
|
269
269
|
|
|
270
270
|
.@{ant-prefix}-table-tbody > .is-editing:not(.@{ant-prefix}-table-measure-row) > td {
|
|
271
271
|
border-bottom: 0;
|
|
272
|
-
|
|
272
|
+
vertical-align: top;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.@{ant-prefix}-table-tbody
|
|
276
|
+
> .is-editing:not(.@{ant-prefix}-table-measure-row)
|
|
277
|
+
> td.@{ant-prefix}-table-selection-column,
|
|
278
|
+
.@{ant-prefix}-table-tbody
|
|
279
|
+
> .is-editing:not(.@{ant-prefix}-table-measure-row)
|
|
280
|
+
> td.pro-edit-table-action-column {
|
|
273
281
|
vertical-align: middle;
|
|
274
282
|
}
|
|
275
283
|
|
|
@@ -146,6 +146,7 @@ const getActionColumn = config => {
|
|
|
146
146
|
title: locale.ProEditTable.operation,
|
|
147
147
|
key: 'action',
|
|
148
148
|
fixed: 'right',
|
|
149
|
+
className: 'pro-edit-table-action-column',
|
|
149
150
|
width: actionWidth || (actionDirection === 'vertical' ? 60 : virtualKey ? 120 : 60),
|
|
150
151
|
render: (text, record, index) => {
|
|
151
152
|
const _disabled = rowDisabled?.(record) ?? false;
|
|
@@ -75,37 +75,39 @@ 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
|
-
|
|
79
|
-
|
|
78
|
+
vertical?: boolean;
|
|
79
|
+
isView?: boolean;
|
|
80
80
|
hidden?: boolean;
|
|
81
|
+
className?: string;
|
|
82
|
+
trim?: boolean;
|
|
83
|
+
normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
|
|
84
|
+
children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
|
|
85
|
+
prefixCls?: string;
|
|
86
|
+
trigger?: string;
|
|
81
87
|
id?: string;
|
|
82
88
|
style?: React.CSSProperties;
|
|
89
|
+
htmlFor?: string;
|
|
83
90
|
onReset?: () => void;
|
|
91
|
+
toISOString?: boolean;
|
|
92
|
+
toCSTString?: boolean;
|
|
93
|
+
switchValue?: [any, any];
|
|
94
|
+
clearNotShow?: boolean;
|
|
84
95
|
validateTrigger?: string | false | string[];
|
|
85
|
-
preserve?: boolean;
|
|
86
|
-
prefixCls?: string;
|
|
87
96
|
rootClassName?: string;
|
|
88
97
|
status?: "" | "warning" | "error" | "success" | "validating";
|
|
89
|
-
isView?: boolean;
|
|
90
98
|
valueType?: import("../../../render/propsType").ProFormValueType;
|
|
91
|
-
viewType?: import("../../../render/propsType").ViewType;
|
|
92
|
-
trim?: boolean;
|
|
93
|
-
normalize?: (value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any;
|
|
94
99
|
getValueProps?: ((value: any) => Record<string, unknown>) & ((value: any) => Record<string, unknown>);
|
|
95
|
-
|
|
96
|
-
vertical?: boolean;
|
|
100
|
+
shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<any>;
|
|
97
101
|
colon?: boolean;
|
|
98
|
-
htmlFor?: string;
|
|
99
102
|
labelAlign?: import("antd/es/form/interface").FormLabelAlign;
|
|
100
103
|
labelCol?: import("antd").ColProps;
|
|
101
104
|
getValueFromEvent?: (...args: import("@rc-component/form/lib/interface").EventArgs) => any;
|
|
102
|
-
shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<any>;
|
|
103
|
-
trigger?: string;
|
|
104
105
|
validateDebounce?: number;
|
|
105
106
|
valuePropName?: string;
|
|
106
107
|
messageVariables?: Record<string, string>;
|
|
107
108
|
initialValue?: any;
|
|
108
109
|
onMetaChange?: (meta: import("@rc-component/form/lib/Field").MetaEvent) => void;
|
|
110
|
+
preserve?: boolean;
|
|
109
111
|
isListField?: boolean;
|
|
110
112
|
isList?: boolean;
|
|
111
113
|
noStyle?: boolean;
|
|
@@ -117,16 +119,14 @@ export declare const useFormItemProps: (column: FlexibleGroupColumnType, context
|
|
|
117
119
|
wrapperCol?: import("antd").ColProps;
|
|
118
120
|
help?: React.ReactNode;
|
|
119
121
|
fieldId?: string;
|
|
120
|
-
|
|
122
|
+
desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
|
|
121
123
|
viewRender?: (value: any, record: any, { form, index, namePath, }: {
|
|
122
124
|
[key: string]: any;
|
|
123
125
|
form: FormInstance<any>;
|
|
124
126
|
index?: number;
|
|
125
127
|
}) => string | React.ReactElement<any, any>;
|
|
128
|
+
viewType?: import("../../../render/propsType").ViewType;
|
|
126
129
|
upperCase?: boolean;
|
|
127
|
-
toISOString?: boolean;
|
|
128
|
-
toCSTString?: boolean;
|
|
129
|
-
clearNotShow?: boolean;
|
|
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, "
|
|
144
|
+
componentProps: import("lodash").Omit<any, "format" | "toISOString" | "toCSTString" | "switchValue" | "precision" | "clearNotShow" | "dependNames" | "valueType">;
|
|
145
145
|
formItemTransform: {
|
|
146
146
|
getValueProps: any;
|
|
147
147
|
normalize: any;
|