@jiaozhiye/qm-design-react 1.8.1 → 1.8.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.
Files changed (46) hide show
  1. package/lib/_utils/util.d.ts +1 -0
  2. package/lib/drawer/src/drawer.d.ts +2 -0
  3. package/lib/drawer/style/index.less +101 -82
  4. package/lib/hooks/useMemo.d.ts +1 -0
  5. package/lib/index.esm.js +1 -1
  6. package/lib/index.full.js +1 -1
  7. package/lib/index.js +1 -1
  8. package/lib/lazy-load/style/index.less +15 -15
  9. package/lib/modal/src/modal.d.ts +2 -0
  10. package/lib/modal/style/index.less +116 -95
  11. package/lib/style/index.css +55 -19
  12. package/lib/style/index.less +40 -40
  13. package/lib/style/index.min.css +1 -1
  14. package/lib/table/src/body/context.d.ts +4 -0
  15. package/lib/table/src/cell/index.d.ts +13 -0
  16. package/lib/table/src/cell/useCellText.d.ts +6 -0
  17. package/lib/table/src/{body → cell}/useValueFormat.d.ts +1 -2
  18. package/lib/table/src/context/index.d.ts +2 -2
  19. package/lib/table/src/edit/index.d.ts +1 -3
  20. package/lib/table/src/hooks/useImperativeMethod.d.ts +1 -2
  21. package/lib/table/src/hooks/useTableRef.d.ts +2 -0
  22. package/lib/table/src/hooks/useTableState.d.ts +3 -0
  23. package/lib/table/src/table/props.d.ts +1 -0
  24. package/lib/table/src/table/types.d.ts +1 -1
  25. package/lib/table/style/alert.less +32 -34
  26. package/lib/table/style/clipboard.less +27 -29
  27. package/lib/table/style/column-filter.less +0 -2
  28. package/lib/table/style/empty.less +17 -19
  29. package/lib/table/style/export.less +24 -26
  30. package/lib/table/style/fast-search.less +108 -110
  31. package/lib/table/style/footer.less +31 -33
  32. package/lib/table/style/full-screen.less +19 -21
  33. package/lib/table/style/group-summary.less +91 -93
  34. package/lib/table/style/header.less +205 -207
  35. package/lib/table/style/import.less +23 -25
  36. package/lib/table/style/pager.less +27 -29
  37. package/lib/table/style/print.less +19 -21
  38. package/lib/table/style/reload.less +19 -21
  39. package/lib/table/style/select-collection.less +19 -21
  40. package/lib/table/style/size.less +86 -88
  41. package/lib/table/style/super-search.less +100 -102
  42. package/lib/table/style/table.less +0 -2
  43. package/lib/table/style/tollbox.less +37 -39
  44. package/lib/table/style/toper.less +29 -31
  45. package/lib/table/style/variable.less +50 -48
  46. package/package.json +139 -139
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { IClicked } from '../table/types';
3
+ declare const BodyContext: React.Context<IClicked>;
4
+ export default BodyContext;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { IColumn, IRecord, IRowKey } from '../table/types';
3
+ type ICellProps = {
4
+ row: IRecord;
5
+ column: IColumn;
6
+ rowIndex: number;
7
+ columnIndex: number;
8
+ rowKey: IRowKey;
9
+ depth: number;
10
+ showTitle?: boolean;
11
+ };
12
+ declare const Cell: React.ForwardRefExoticComponent<ICellProps & React.RefAttributes<any>>;
13
+ export default Cell;
@@ -0,0 +1,6 @@
1
+ import type { IColumn, IRecord } from '../table/types';
2
+ export declare const useCellText: () => {
3
+ renderText: (text: string | number, column: IColumn, row: IRecord) => string | number;
4
+ getTitleFromCellNode: (vNode: React.ReactNode | string | number) => string;
5
+ getTitleFromCellValue: (row: IRecord, column: IColumn, rowIndex: number, columnIndex: number) => string;
6
+ };
@@ -1,4 +1,4 @@
1
- declare const useValueFormat: () => {
1
+ export declare const useValueFormat: () => {
2
2
  dateFormat: (val: string) => string;
3
3
  datetimeFormat: (val: string) => string;
4
4
  dateShortTimeFormat: (val: string) => string;
@@ -9,4 +9,3 @@ declare const useValueFormat: () => {
9
9
  secretIDnumberFormat: (val: string) => string;
10
10
  secretBankNumberFormat: (val: string) => string;
11
11
  };
12
- export default useValueFormat;
@@ -1,11 +1,10 @@
1
1
  /// <reference types="react" />
2
- import type { TableBodyRef, IColumn, IDerivedRowKey, IFetchParams, IPagination, IRecord, IRowColSpan, IRowKey, IRule, ITableProps } from '../table/types';
2
+ import type { TableBodyRef, IColumn, IDerivedRowKey, IFetchParams, IPagination, IRecord, IRowColSpan, IRowKey, IRule } from '../table/types';
3
3
  import type { ITableRef } from '../hooks/useTableRef';
4
4
  import type { ITableState } from '../hooks/useTableState';
5
5
  import type { ComponentSize } from '../../../_utils/types';
6
6
  export type ITableContext = {
7
7
  getRowKey: (row: IRecord, index: number) => IRowKey;
8
- tableProps: ITableProps;
9
8
  tableRef: React.MutableRefObject<ITableRef>;
10
9
  tableBodyRef: React.RefObject<TableBodyRef>;
11
10
  $size: ComponentSize;
@@ -29,6 +28,7 @@ export type ITableContext = {
29
28
  selectionKeys: IRowKey[];
30
29
  rowExpandedKeys: ITableState['rowExpandedKeys'];
31
30
  highlightKey: IRowKey;
31
+ updateMark: ITableState['updateMark'];
32
32
  isFetch: boolean;
33
33
  isPingLeft: boolean;
34
34
  isPingRight: boolean;
@@ -5,9 +5,7 @@ type ICellEditProps = {
5
5
  record: IRecord;
6
6
  rowKey: IRowKey;
7
7
  columnKey: string;
8
- clicked: [IRowKey, string] | [];
9
- text: string | number;
10
- cellBgColor: string;
8
+ textNode: React.ReactNode;
11
9
  };
12
10
  type CellEditRef = {
13
11
  focus: () => void;
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { ITableRef } from './useTableRef';
3
- import type { getRowKeyType, ITableProps, IColumn, IFetchParams, IPagination, IRecord, IRowKey, IRule, IValidItem, TableRef, ToolBoxRef, TableBodyRef, ColumnDefineRef } from '../table/types';
3
+ import type { getRowKeyType, IColumn, IFetchParams, IPagination, IRecord, IRowKey, IRule, IValidItem, TableRef, ToolBoxRef, TableBodyRef, ColumnDefineRef } from '../table/types';
4
4
  type IExtra = {
5
5
  getRowKey: getRowKeyType;
6
- tableProps: ITableProps;
7
6
  tableRef: React.MutableRefObject<ITableRef>;
8
7
  toolBoxRef: React.RefObject<ToolBoxRef>;
9
8
  tableBodyRef: React.RefObject<TableBodyRef>;
@@ -3,6 +3,7 @@ import Store from '../store';
3
3
  import type { getRowKeyType, IColumn, IDerivedRowKey, IFieldAuthItem, IMergeCell, InsertMode, IRecord, IRowKey, ITableProps } from '../table/types';
4
4
  import type { ComponentSize, Nullable } from '../../../_utils/types';
5
5
  export type ITableRef = {
6
+ props: ITableProps;
6
7
  uid: string;
7
8
  elementStore: Record<string, Nullable<HTMLElement>>;
8
9
  originColumns: IColumn[];
@@ -70,6 +71,7 @@ declare const useTableRef: <T extends ITableProps>(props: T, { getRowKey, $size
70
71
  setHandleChange: (value: boolean) => void;
71
72
  clearElementStore: () => void;
72
73
  clearRecordsMap: () => void;
74
+ props: ITableProps;
73
75
  uid: string;
74
76
  elementStore: Record<string, Nullable<HTMLElement>>;
75
77
  originColumns: IColumn[];
@@ -9,6 +9,7 @@ export type ITableState = {
9
9
  selectionKeys: IRowKey[];
10
10
  rowExpandedKeys: IRowKey[];
11
11
  highlightKey: IRowKey;
12
+ updateMark: number;
12
13
  layout: {
13
14
  gutterWidth: number;
14
15
  tableWidth: number;
@@ -49,6 +50,8 @@ declare const useTableState: <T extends ITableProps>(props: T) => {
49
50
  setRowExpandedKeys: React.Dispatch<(string | number)[]>;
50
51
  highlightKey: string | number;
51
52
  setHighlightKey: React.Dispatch<React.SetStateAction<string | number>>;
53
+ updateMark: number;
54
+ forceUpdate: React.DispatchWithoutAction;
52
55
  layout: {
53
56
  gutterWidth: number;
54
57
  tableWidth: number;
@@ -109,6 +109,7 @@ export declare const propTypes: {
109
109
  unit: PropTypes.Requireable<string>;
110
110
  render: PropTypes.Requireable<(...args: any[]) => any>;
111
111
  }>>;
112
+ shouldCellUpdate: PropTypes.Requireable<(...args: any[]) => any>;
112
113
  headRender: PropTypes.Requireable<(...args: any[]) => any>;
113
114
  render: PropTypes.Requireable<(...args: any[]) => any>;
114
115
  }> | null | undefined)[]>;
@@ -300,6 +300,7 @@ export type IColumn = {
300
300
  unit?: string;
301
301
  render?: () => React.ReactNode;
302
302
  };
303
+ shouldCellUpdate?: (currentRow: IRecord, prevRow: IRecord) => boolean;
303
304
  headRender?: (column: IColumn, tableData: IRecord[]) => React.ReactNode;
304
305
  render?: (text: string | number, row: IRecord, column: IColumn, rowIndex: number, columnIndex: number) => React.ReactNode | string | number;
305
306
  };
@@ -431,7 +432,6 @@ export type TableRef = {
431
432
  };
432
433
  };
433
434
  export type TableBodyRef = {
434
- renderCellTitle: (column: IColumn, row: IRecord, rowIndex: number, columnIndex: number) => string;
435
435
  setClickedValues: (clicked: IClicked) => void;
436
436
  createFocus: (rowKey: IRowKey, dataIndex: string) => void;
437
437
  forceUpdate: () => void;
@@ -1,34 +1,32 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2020-03-18 10:26:46
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2021-12-28 21:55:44
6
- */
7
- @prefix-table: ~'@{qm-prefix}-table';
8
-
9
- .@{prefix-table}__alert {
10
- display: flex;
11
- align-items: center;
12
- position: relative;
13
- margin-right: @v-module-distance;
14
- padding: 0 6px 0 30px;
15
- border: 1px solid @v-table-border-color;
16
- border-radius: @v-border-radius;
17
- background-color: @v-table-header-background-color;
18
- .box-sizing-content();
19
- .icon {
20
- position: absolute;
21
- left: @v-module-distance;
22
- line-height: 1;
23
- font-size: 1.05em;
24
- color: @v-primary-color;
25
- }
26
- em {
27
- display: inline-block;
28
- color: @v-primary-color;
29
- padding: 0 @v-module-distance;
30
- margin-right: -5px;
31
- font-style: normal;
32
- cursor: pointer;
33
- }
34
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2020-03-18 10:26:46
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2021-12-28 21:55:44
6
+ */
7
+ .@{prefix-table}__alert {
8
+ display: flex;
9
+ align-items: center;
10
+ position: relative;
11
+ margin-right: @v-module-distance;
12
+ padding: 0 6px 0 30px;
13
+ border: 1px solid @v-table-border-color;
14
+ border-radius: @v-border-radius;
15
+ background-color: @v-table-header-background-color;
16
+ .box-sizing-content();
17
+ .icon {
18
+ position: absolute;
19
+ left: @v-module-distance;
20
+ line-height: 1;
21
+ font-size: 1.05em;
22
+ color: @v-primary-color;
23
+ }
24
+ em {
25
+ display: inline-block;
26
+ color: @v-primary-color;
27
+ padding: 0 @v-module-distance;
28
+ margin-right: -5px;
29
+ font-style: normal;
30
+ cursor: pointer;
31
+ }
32
+ }
@@ -1,29 +1,27 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2020-03-26 11:26:46
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-05-17 14:16:51
6
- */
7
- @prefix-table: ~'@{qm-prefix}-table';
8
-
9
- .@{prefix-table}-clipboard {
10
- display: inline-block;
11
- padding: 5px 3px;
12
- line-height: 1;
13
- cursor: pointer;
14
- transition: all 0.3s ease;
15
- .icon {
16
- font-size: 1.05em;
17
- }
18
- &:hover {
19
- color: @v-primary-color;
20
- }
21
- &__setting {
22
- .info {
23
- padding-left: 20px;
24
- margin-bottom: 6px;
25
- font-size: @v-font-size-small;
26
- color: @v-font-secondary-dark-color;
27
- }
28
- }
29
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2020-03-26 11:26:46
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2022-05-17 14:16:51
6
+ */
7
+ .@{prefix-table}-clipboard {
8
+ display: inline-block;
9
+ padding: 5px 3px;
10
+ line-height: 1;
11
+ cursor: pointer;
12
+ transition: all 0.3s ease;
13
+ .icon {
14
+ font-size: 1.05em;
15
+ }
16
+ &:hover {
17
+ color: @v-primary-color;
18
+ }
19
+ &__setting {
20
+ .info {
21
+ padding-left: 20px;
22
+ margin-bottom: 6px;
23
+ font-size: @v-font-size-small;
24
+ color: @v-font-secondary-dark-color;
25
+ }
26
+ }
27
+ }
@@ -4,8 +4,6 @@
4
4
  * @Last Modified by: 焦质晔
5
5
  * @Last Modified time: 2022-11-26 20:32:27
6
6
  */
7
- @prefix-table: ~'@{qm-prefix}-table';
8
-
9
7
  .@{prefix-table}-column-filter {
10
8
  display: inline-block;
11
9
  padding: 5px 0 5px 3px;
@@ -1,19 +1,17 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2020-05-19 19:18:15
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2021-09-12 22:09:00
6
- */
7
- @prefix-table: ~'@{qm-prefix}-table';
8
-
9
- .@{prefix-table}--empty {
10
- display: flex;
11
- justify-content: center;
12
- align-items: center;
13
- position: absolute;
14
- width: 100%;
15
- pointer-events: none;
16
- .ant-empty-image {
17
- margin-bottom: 0;
18
- }
19
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2020-05-19 19:18:15
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2021-09-12 22:09:00
6
+ */
7
+ .@{prefix-table}--empty {
8
+ display: flex;
9
+ justify-content: center;
10
+ align-items: center;
11
+ position: absolute;
12
+ width: 100%;
13
+ pointer-events: none;
14
+ .ant-empty-image {
15
+ margin-bottom: 0;
16
+ }
17
+ }
@@ -1,26 +1,24 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2020-03-26 11:26:46
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-01-09 11:58:00
6
- */
7
- @prefix-table: ~'@{qm-prefix}-table';
8
-
9
- .@{prefix-table}-export {
10
- display: inline-block;
11
- padding: 5px 3px;
12
- line-height: 1;
13
- cursor: pointer;
14
- transition: all 0.3s ease;
15
- .icon {
16
- font-size: 1.05em;
17
- }
18
- &:hover {
19
- color: @v-primary-color;
20
- }
21
- &__setting {
22
- .@{qm-prefix}-form--sm .@{qm-prefix}-table-column-filter {
23
- font-size: @v-font-size-small;
24
- }
25
- }
26
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2020-03-26 11:26:46
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2022-01-09 11:58:00
6
+ */
7
+ .@{prefix-table}-export {
8
+ display: inline-block;
9
+ padding: 5px 3px;
10
+ line-height: 1;
11
+ cursor: pointer;
12
+ transition: all 0.3s ease;
13
+ .icon {
14
+ font-size: 1.05em;
15
+ }
16
+ &:hover {
17
+ color: @v-primary-color;
18
+ }
19
+ &__setting {
20
+ .@{qm-prefix}-form--sm .@{qm-prefix}-table-column-filter {
21
+ font-size: @v-font-size-small;
22
+ }
23
+ }
24
+ }
@@ -1,110 +1,108 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2022-03-16 19:05:30
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-11-26 21:11:04
6
- */
7
- @prefix-table: ~'@{qm-prefix}-table';
8
-
9
- .@{prefix-table}-fast-search {
10
- display: inline-block;
11
- padding: 5px 3px;
12
- line-height: 1;
13
- cursor: pointer;
14
- transition: all 0.3s ease;
15
- .icon {
16
- font-size: 1.05em;
17
- }
18
- &:hover {
19
- color: @v-primary-color;
20
- }
21
- }
22
-
23
- .@{prefix-table}-fast-search__setting {
24
- height: 100%;
25
- .main {
26
- display: flex;
27
- flex-direction: column;
28
- height: 100%;
29
- .top {
30
- display: flex;
31
- flex: 1;
32
- height: 0;
33
- overflow-y: auto;
34
- .container {
35
- flex: 1;
36
- width: 0;
37
- .@{qm-prefix}-tabs {
38
- margin-top: -5px;
39
- }
40
- }
41
- .saved {
42
- width: 200px;
43
- .form-wrap {
44
- display: flex;
45
- }
46
- .card-wrap {
47
- margin-top: @v-module-distance;
48
- border: 1px solid @v-table-border-color;
49
- > h5 {
50
- display: flex;
51
- align-items: center;
52
- font-size: inherit;
53
- font-weight: normal;
54
- margin-bottom: 0;
55
- padding: 0 @v-module-distance;
56
- border-bottom: 1px solid @v-table-border-color;
57
- background-color: @v-table-header-background-color;
58
- }
59
- > ul {
60
- margin-bottom: 0;
61
- li {
62
- display: flex;
63
- align-items: center;
64
- position: relative;
65
- padding: 6px @v-module-distance;
66
- border-bottom: 1px solid @v-table-border-color;
67
- cursor: pointer;
68
- transition: all 0.3s ease;
69
- &:last-of-type {
70
- border-bottom: 0;
71
- }
72
- &:hover {
73
- background-color: @v-table-row-hover-background-color;
74
- .close {
75
- visibility: visible;
76
- }
77
- }
78
- &.selected {
79
- background-color: @v-table-row-selected-background-color;
80
- }
81
- .title {
82
- i {
83
- margin-right: 5px;
84
- }
85
- }
86
- .close {
87
- position: absolute;
88
- right: @v-module-distance;
89
- visibility: hidden;
90
- }
91
- }
92
- }
93
- }
94
- }
95
- .line {
96
- border-left: 1px dashed @--border-color-base;
97
- padding-left: @v-module-distance;
98
- margin-left: @v-module-distance;
99
- }
100
- }
101
- .bottom {
102
- display: flex;
103
- justify-content: space-between;
104
- align-items: center;
105
- padding: 10px 5px;
106
- margin-top: 10px;
107
- border-top: 1px dashed @--border-color-base;
108
- }
109
- }
110
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2022-03-16 19:05:30
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2022-11-26 21:11:04
6
+ */
7
+ .@{prefix-table}-fast-search {
8
+ display: inline-block;
9
+ padding: 5px 3px;
10
+ line-height: 1;
11
+ cursor: pointer;
12
+ transition: all 0.3s ease;
13
+ .icon {
14
+ font-size: 1.05em;
15
+ }
16
+ &:hover {
17
+ color: @v-primary-color;
18
+ }
19
+ }
20
+
21
+ .@{prefix-table}-fast-search__setting {
22
+ height: 100%;
23
+ .main {
24
+ display: flex;
25
+ flex-direction: column;
26
+ height: 100%;
27
+ .top {
28
+ display: flex;
29
+ flex: 1;
30
+ height: 0;
31
+ overflow-y: auto;
32
+ .container {
33
+ flex: 1;
34
+ width: 0;
35
+ .@{qm-prefix}-tabs {
36
+ margin-top: -5px;
37
+ }
38
+ }
39
+ .saved {
40
+ width: 200px;
41
+ .form-wrap {
42
+ display: flex;
43
+ }
44
+ .card-wrap {
45
+ margin-top: @v-module-distance;
46
+ border: 1px solid @v-table-border-color;
47
+ > h5 {
48
+ display: flex;
49
+ align-items: center;
50
+ font-size: inherit;
51
+ font-weight: normal;
52
+ margin-bottom: 0;
53
+ padding: 0 @v-module-distance;
54
+ border-bottom: 1px solid @v-table-border-color;
55
+ background-color: @v-table-header-background-color;
56
+ }
57
+ > ul {
58
+ margin-bottom: 0;
59
+ li {
60
+ display: flex;
61
+ align-items: center;
62
+ position: relative;
63
+ padding: 6px @v-module-distance;
64
+ border-bottom: 1px solid @v-table-border-color;
65
+ cursor: pointer;
66
+ transition: all 0.3s ease;
67
+ &:last-of-type {
68
+ border-bottom: 0;
69
+ }
70
+ &:hover {
71
+ background-color: @v-table-row-hover-background-color;
72
+ .close {
73
+ visibility: visible;
74
+ }
75
+ }
76
+ &.selected {
77
+ background-color: @v-table-row-selected-background-color;
78
+ }
79
+ .title {
80
+ i {
81
+ margin-right: 5px;
82
+ }
83
+ }
84
+ .close {
85
+ position: absolute;
86
+ right: @v-module-distance;
87
+ visibility: hidden;
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ .line {
94
+ border-left: 1px dashed @--border-color-base;
95
+ padding-left: @v-module-distance;
96
+ margin-left: @v-module-distance;
97
+ }
98
+ }
99
+ .bottom {
100
+ display: flex;
101
+ justify-content: space-between;
102
+ align-items: center;
103
+ padding: 10px 5px;
104
+ margin-top: 10px;
105
+ border-top: 1px dashed @--border-color-base;
106
+ }
107
+ }
108
+ }
@@ -1,33 +1,31 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2020-02-28 22:13:07
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2021-05-21 13:56:03
6
- */
7
- @prefix-table: ~'@{qm-prefix}-table';
8
-
9
- .@{prefix-table}--footer-wrapper {
10
- background-color: @v-table-footer-background-color;
11
- &::before {
12
- content: '';
13
- position: absolute;
14
- left: 0;
15
- right: 0;
16
- height: 0;
17
- z-index: 3;
18
- border-top: 1px solid @v-table-border-color;
19
- }
20
- .@{prefix-table}--footer {
21
- .gutter {
22
- background-color: @v-table-footer-background-color;
23
- }
24
- .cell {
25
- font-weight: 700;
26
- }
27
- .footer--row {
28
- &:last-of-type .footer--column {
29
- border-bottom: 0;
30
- }
31
- }
32
- }
33
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2020-02-28 22:13:07
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2021-05-21 13:56:03
6
+ */
7
+ .@{prefix-table}--footer-wrapper {
8
+ background-color: @v-table-footer-background-color;
9
+ &::before {
10
+ content: '';
11
+ position: absolute;
12
+ left: 0;
13
+ right: 0;
14
+ height: 0;
15
+ z-index: 3;
16
+ border-top: 1px solid @v-table-border-color;
17
+ }
18
+ .@{prefix-table}--footer {
19
+ .gutter {
20
+ background-color: @v-table-footer-background-color;
21
+ }
22
+ .cell {
23
+ font-weight: 700;
24
+ }
25
+ .footer--row {
26
+ &:last-of-type .footer--column {
27
+ border-bottom: 0;
28
+ }
29
+ }
30
+ }
31
+ }