@jiaozhiye/qm-design-react 1.2.0-beta.10 → 1.2.0-beta.13
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/form/src/types.d.ts +11 -11
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/style/index.css +8 -0
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/context/index.d.ts +1 -0
- package/lib/table/src/hooks/useTableRef.d.ts +3 -0
- package/lib/table/style/table.less +7 -0
- package/package.json +1 -1
|
@@ -65,6 +65,7 @@ export declare type ITableContext = {
|
|
|
65
65
|
setSpinning: (value: boolean) => void;
|
|
66
66
|
setFullScreen: (value: boolean) => void;
|
|
67
67
|
setShouldToTop: (value: boolean) => void;
|
|
68
|
+
setOverlay: (value: boolean) => void;
|
|
68
69
|
doFieldValidate: (rules: IRule[], val: unknown, rowKey: IRowKey, columnKey: string) => void;
|
|
69
70
|
createTableData: (list: IRecord[]) => void;
|
|
70
71
|
createGroupData: (records: IRecord[]) => IRecord[];
|
|
@@ -37,6 +37,7 @@ export declare type ITableRef = {
|
|
|
37
37
|
shouldToTop: boolean;
|
|
38
38
|
selectionRows: IRecord[];
|
|
39
39
|
rowKeysMap: Map<IRowKey, number>;
|
|
40
|
+
isOverlay: boolean;
|
|
40
41
|
isIE: boolean;
|
|
41
42
|
};
|
|
42
43
|
declare type IExtra = {
|
|
@@ -60,6 +61,7 @@ declare const useTableRef: <T extends ITableProps>(props: T, { getRowKey, $size
|
|
|
60
61
|
setShouldToTop: (value: boolean) => void;
|
|
61
62
|
setSelectionRows: (selectKeys: IRecord[]) => void;
|
|
62
63
|
setRowKeysMap: (key: IRowKey, value: number) => void;
|
|
64
|
+
setOverlay: (value: boolean) => void;
|
|
63
65
|
clearElementStore: () => void;
|
|
64
66
|
clearAllRowKeysMap: () => void;
|
|
65
67
|
uid: string;
|
|
@@ -96,6 +98,7 @@ declare const useTableRef: <T extends ITableProps>(props: T, { getRowKey, $size
|
|
|
96
98
|
shouldToTop: boolean;
|
|
97
99
|
selectionRows: IRecord[];
|
|
98
100
|
rowKeysMap: Map<IRowKey, number>;
|
|
101
|
+
isOverlay: boolean;
|
|
99
102
|
isIE: boolean;
|
|
100
103
|
tableRef: React.MutableRefObject<ITableRef>;
|
|
101
104
|
};
|
|
@@ -217,6 +217,13 @@
|
|
|
217
217
|
.cell-fix-right {
|
|
218
218
|
position: sticky;
|
|
219
219
|
z-index: 2;
|
|
220
|
+
.gutter-overlay {
|
|
221
|
+
content: '';
|
|
222
|
+
position: absolute;
|
|
223
|
+
top: 0;
|
|
224
|
+
bottom: -1px;
|
|
225
|
+
background-color: @v-table-background-color;
|
|
226
|
+
}
|
|
220
227
|
}
|
|
221
228
|
.cell-fix-left-last {
|
|
222
229
|
&::after {
|