dcp-design-react 1.11.5 → 1.11.6

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.
@@ -68,7 +68,7 @@ export type ITableContext = {
68
68
  setSpinning: (value: boolean) => void;
69
69
  setFullScreen: (value: boolean) => void;
70
70
  setShouldToTop: (value: boolean) => void;
71
- doFieldValidate: (rules: IRule[], val: unknown, rowKey: IRowKey, columnKey: string) => void;
71
+ doFieldValidate: (rules: IRule[], val: unknown, rowKey: IRowKey, columnKey: string, columnTitle: string) => void;
72
72
  createTableData: (list: IRecord[]) => void;
73
73
  createGroupData: (records: IRecord[]) => IRecord[];
74
74
  findParentRowKeys: (deriveRowKeys: IDerivedRowKey[], key: IRowKey) => IRowKey[];
@@ -22,7 +22,7 @@ type IExtra = {
22
22
  calcTableHeight: () => void;
23
23
  scrollXToColumn: (dataIndex: string, index?: number) => void;
24
24
  scrollYToRecord: (rowKey: IRowKey, index?: number) => void;
25
- doFieldValidate: (rules: IRule[], val: unknown, rowKey: IRowKey, columnKey: string) => void;
25
+ doFieldValidate: (rules: IRule[], val: unknown, rowKey: IRowKey, columnKey: string, columnTitle: string) => void;
26
26
  setTableOriginData: (records: IRecord[]) => void;
27
27
  setHandleState: (option: ITableRef['handleState']) => void;
28
28
  forceUpdate: () => void;
@@ -11,7 +11,6 @@ type IExtra = {
11
11
  $size: ComponentSize;
12
12
  tableColumns: IColumn[];
13
13
  flattenColumns: IColumn[];
14
- editableColumns: IColumn[];
15
14
  tableFullData: IRecord[];
16
15
  pagination: IPagination;
17
16
  layout: ITableState['layout'];
@@ -69,7 +68,7 @@ declare const useTableCore: <T extends ITableProps>(props: T, extra: IExtra) =>
69
68
  setSelectionKeysEffect: (selectedKeys: IRowKey[]) => void;
70
69
  findParentRowKeys: (deriveRowKeyList: IDerivedRowKey[], key: IRowKey) => (string | number)[];
71
70
  getAllChildRowKeys: (deriveRowKeyList: IDerivedRowKey[]) => (string | number)[];
72
- doFieldValidate: (rules: IRule[], val: unknown, rowKey: IRowKey, columnKey: string) => void;
71
+ doFieldValidate: (rules: IRule[], val: unknown, rowKey: IRowKey, columnKey: string, columnTitle: string) => void;
73
72
  getTableLog: () => {
74
73
  required: IValidItem[];
75
74
  validate: IValidItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcp-design-react",
3
- "version": "1.11.5",
3
+ "version": "1.11.6",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",