dcp-design-react 1.11.4 → 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.
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/pivot-grid/src/hooks/use-context-menu.d.ts +11 -0
- package/lib/pivot-grid/src/main/Context.d.ts +16 -2
- package/lib/pivot-grid/src/utils/index.d.ts +1 -0
- package/lib/pivot-grid/style/grid-layout.less +10 -1
- package/lib/pivot-grid/style/top-bar.less +139 -136
- package/lib/style/index.css +13 -1
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/context/index.d.ts +1 -1
- package/lib/table/src/hooks/useImperativeMethod.d.ts +1 -1
- package/lib/table/src/hooks/useTableCore.d.ts +1 -2
- package/lib/table/src/table/props.d.ts +0 -1
- package/lib/table/src/table/types.d.ts +0 -1
- package/package.json +1 -1
|
@@ -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[];
|
|
@@ -185,7 +185,6 @@ export declare const propTypes: {
|
|
|
185
185
|
doubleXScrollbar: PropTypes.Requireable<boolean>;
|
|
186
186
|
}>>;
|
|
187
187
|
treeConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
188
|
-
virtual: PropTypes.Requireable<boolean>;
|
|
189
188
|
expandIconColumn: PropTypes.Requireable<string>;
|
|
190
189
|
}>>;
|
|
191
190
|
expandable: PropTypes.Requireable<PropTypes.InferProps<{
|