@arim-aisdc/public-components 2.3.41 → 2.3.42

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 (88) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +3 -3
  3. package/dist/assets/iconfont/index.css +6 -6
  4. package/dist/assets/iconfont/menu-gray/demo.css +539 -539
  5. package/dist/assets/iconfont/menu-gray/demo_index.html +1154 -1154
  6. package/dist/assets/iconfont/menu-gray/iconfont.css +183 -183
  7. package/dist/assets/iconfont/menu-gray/iconfont.json +303 -303
  8. package/dist/assets/iconfont/other/demo.css +539 -539
  9. package/dist/assets/iconfont/other/demo_index.html +2764 -2764
  10. package/dist/assets/iconfont/other/iconfont.css +463 -463
  11. package/dist/assets/iconfont/other/iconfont.json +793 -793
  12. package/dist/assets/iconfont/public/iconfont.css +69 -69
  13. package/dist/assets/iconfont/table/iconfont.css +89 -89
  14. package/dist/assets/iconfont/theme-dark/four/demo.css +539 -539
  15. package/dist/assets/iconfont/theme-dark/four/demo_index.html +306 -306
  16. package/dist/assets/iconfont/theme-dark/four/iconfont.css +37 -37
  17. package/dist/assets/iconfont/theme-dark/four/iconfont.json +44 -44
  18. package/dist/assets/images/data-empty-dark.svg +103 -103
  19. package/dist/assets/images/data-empty-light.svg +73 -73
  20. package/dist/assets/images/data.empty-dark.svg +44 -44
  21. package/dist/assets/styles/custom-dark.css +28466 -28466
  22. package/dist/assets/styles/custom-light.css +28092 -28092
  23. package/dist/components/BaseInfo/BaseInfo.d.ts +1 -1
  24. package/dist/components/BaseInfo/index.less +95 -95
  25. package/dist/components/CacheTabs/index.less +115 -115
  26. package/dist/components/CenterModal/index.less +41 -41
  27. package/dist/components/ConditionExpression/index.less +111 -111
  28. package/dist/components/CustomForm/CustomForm.js +5 -5
  29. package/dist/components/CustomForm/UploadImg/index.js +5 -5
  30. package/dist/components/CustomForm/customFormItemInputNumber/index.less +12 -12
  31. package/dist/components/CustomForm/index.less +76 -76
  32. package/dist/components/DraggableBox/index.less +26 -26
  33. package/dist/components/Empty/index.less +21 -21
  34. package/dist/components/Filter/FilterColor/index.less +106 -106
  35. package/dist/components/Filter/FilterInputNumber/index.less +15 -15
  36. package/dist/components/Filter/FilterRadio/index.less +25 -25
  37. package/dist/components/Filter/FilterSelect/index.less +28 -28
  38. package/dist/components/Filter/FilterSlider/index.less +19 -19
  39. package/dist/components/Filter/FilterSwitch/index.less +20 -20
  40. package/dist/components/GlobalTip/MessageTip/index.less +28 -28
  41. package/dist/components/GlobalTip/ModalTip/index.less +42 -42
  42. package/dist/components/Icon/IconDemo/animations/Calendar/calendar.json +692 -692
  43. package/dist/components/Icon/IconDemo/animations/Loading/loading.json +869 -869
  44. package/dist/components/Icon/IconDemo/animations/download/download.json +815 -815
  45. package/dist/components/Icon/IconDemo/animations/download/download.svg +5 -5
  46. package/dist/components/Icon/IconDemo/animations/skipForward/skipForward.json +1053 -1053
  47. package/dist/components/Icon/index.less +28 -28
  48. package/dist/components/QueryFilter/QueryFilter.js +5 -5
  49. package/dist/components/QueryFilter/index.less +64 -64
  50. package/dist/components/SchemaForm/type.js +2 -2
  51. package/dist/components/SchemaForm/utils.js +7 -7
  52. package/dist/components/SplitPane/splitPane.less +24 -24
  53. package/dist/components/SplitPane/util.js +21 -21
  54. package/dist/components/TableMax/TableBody/contextMenu/index.less +21 -21
  55. package/dist/components/TableMax/TableBody/index.less +187 -187
  56. package/dist/components/TableMax/TableHeader/index.less +224 -224
  57. package/dist/components/TableMax/TableHeader/utils.js +2 -2
  58. package/dist/components/TableMax/TableMax.js +14 -4
  59. package/dist/components/TableMax/components/ColumnEdit/components/numberRange/index.less +2 -2
  60. package/dist/components/TableMax/components/ColumnEdit/index.less +72 -72
  61. package/dist/components/TableMax/components/ColumnFilterV2/DateRange/index.less +24 -24
  62. package/dist/components/TableMax/components/ColumnFilterV2/MultipleSelect/index.less +32 -32
  63. package/dist/components/TableMax/components/ColumnFilterV2/NumberRange/index.less +27 -27
  64. package/dist/components/TableMax/components/ColumnFilterV2/ResetFilter.d.ts +10 -0
  65. package/dist/components/TableMax/components/ColumnFilterV2/ResetFilter.js +30 -0
  66. package/dist/components/TableMax/components/ColumnFilterV2/SingleSelect/index.less +43 -43
  67. package/dist/components/TableMax/components/ColumnFilterV2/index.less +39 -39
  68. package/dist/components/TableMax/components/ColumnSetting/index.less +183 -183
  69. package/dist/components/TableMax/components/ColumnSort/customSortFns.d.ts +8 -8
  70. package/dist/components/TableMax/components/ColumnSort/index.less +42 -42
  71. package/dist/components/TableMax/components/CustomDragerLayer/index.less +59 -59
  72. package/dist/components/TableMax/components/Export/index.d.ts +14 -0
  73. package/dist/components/TableMax/components/Export/index.js +56 -0
  74. package/dist/components/TableMax/components/Export/useTableExport.d.ts +30 -0
  75. package/dist/components/TableMax/components/Export/useTableExport.js +202 -0
  76. package/dist/components/TableMax/components/PaginationV2/index.less +116 -116
  77. package/dist/components/TableMax/hooks/useColumnWidth copy.js +26 -26
  78. package/dist/components/TableMax/hooks/useColumnWidth.js +18 -18
  79. package/dist/components/TableMax/tableMax.less +340 -340
  80. package/dist/components/TableMax/type.d.ts +6 -0
  81. package/dist/components/TableMax/utils.js +11 -9
  82. package/dist/hooks/useCenterModalState.js +2 -2
  83. package/dist/hooks/usePageCacheState.js +18 -18
  84. package/dist/themes/custom-dark.css +28482 -28482
  85. package/dist/themes/custom-light.css +28108 -28108
  86. package/dist/themes/variables.less +90 -90
  87. package/dist/utils/request.js +10 -10
  88. package/package.json +110 -108
@@ -1,340 +1,340 @@
1
- .table-max-container {
2
- color: @tableColor1;
3
- // height: 100%;
4
- // max-height: 100%;
5
- width: 100%;
6
- display: flex;
7
- flex-direction: column;
8
- box-sizing: border-box;
9
- // justify-content: center;
10
- // align-items: center;
11
-
12
- .table-max-header {
13
- // height: 22px;
14
- height: fit-content;
15
- display: flex;
16
- justify-content: space-between;
17
- align-items: center;
18
- margin-bottom: 12px;
19
-
20
- .tableTitle {
21
- font-size: 16px;
22
- line-height: 24px;
23
- display: inline-block;
24
- }
25
-
26
- .handleRightItem {
27
- margin-left: 8px;
28
- display: inline-block;
29
- text-align: center;
30
- cursor: pointer;
31
- font-size: 20px !important;
32
- color: @globalColor1;
33
- // margin-bottom: 6px;
34
-
35
- &:hover {
36
- color: @global-primary-color;
37
- }
38
- }
39
-
40
- .handleRightEditBtn {
41
- display: inline-block;
42
- // margin-bottom: 6px;
43
- }
44
-
45
- .table-max-header-right {
46
- margin-left: 4px;
47
- // font-size: 0;
48
- line-height: 1;
49
- display: flex;
50
- align-items: center;
51
- // height: ;
52
-
53
- .upload-btn {
54
- line-height: 1;
55
- }
56
-
57
- .download-btn {
58
- // margin-left: 12px;
59
- width: auto;
60
- height: auto;
61
- padding: 0;
62
- line-height: 1;
63
- border: none;
64
-
65
- span {
66
- font-size: inherit;
67
- }
68
- }
69
- }
70
-
71
- .disableBtn {
72
- i {
73
- color: @globalColor4;
74
- cursor: no-drop;
75
- }
76
-
77
- i:hover {
78
- color: @globalColor4;
79
- }
80
- }
81
- }
82
-
83
- .table-max-content {
84
- flex: 1;
85
- overflow: hidden;
86
- width: 100% !important;
87
- background: @globalColor0;
88
- position: relative;
89
- display: flex;
90
- border-radius: @global-table-max-center-border-radius;
91
-
92
- // &:hover {
93
- // .scroll {
94
- // overflow: hidden auto;
95
- // width: 1rem;
96
- // flex-shrink: 0;
97
- // scrollbar-width: thin;
98
- // position: relative;
99
- // background: @globalColor0;
100
- // z-index: 1000;
101
- // }
102
-
103
- // .scroll::-webkit-scrollbar-thumb {
104
- // border: 6px solid transparent;
105
- // background: @scrollThumb;
106
- // border-radius: 10px;
107
- // background-clip: padding-box;
108
- // }
109
-
110
- // .scroll::-webkit-scrollbar-thumb:hover {
111
- // border: 4px solid transparent;
112
- // background: @scrollThumbHover;
113
- // background-clip: padding-box;
114
- // }
115
- // }
116
-
117
- .table-center {
118
- flex: 1;
119
- overflow-x: hidden !important;
120
- overflow-y: hidden !important;
121
- display: flex;
122
- flex-direction: column;
123
- border: @global-table-max-border;
124
- border-bottom: @global-table-max-center-border-bottom;
125
- border-radius: @global-table-max-center-border-radius;
126
-
127
- .table-header-wrapper {
128
- display: flex;
129
- background: @tableColor2;
130
- padding: 0;
131
-
132
- .table-header {
133
- position: relative;
134
- overflow: hidden;
135
- box-sizing: border-box;
136
- height: fit-content;
137
- width: calc(100% - 10px);
138
- margin: 0;
139
- // flex: 1;
140
- justify-content: space-between;
141
- .cell-wapper {
142
- line-height: @global-table-max-header-cell-wapper-line-height;
143
- }
144
- }
145
-
146
- .table-header-scroll {
147
- width: 10px;
148
- height: 100%;
149
- margin: 0;
150
- padding: 0;
151
- }
152
- }
153
-
154
- .table-body {
155
- flex: 1;
156
- overflow: scroll scroll;
157
- scroll-behavior: smooth;
158
- font-weight: @global-table-max-body-font-weight;
159
- // background: @tableColor2;
160
- .tbody-tr-td {
161
- line-height: @global-table-body-tbody-tr-td-line-height;
162
- }
163
-
164
- &::-webkit-scrollbar {
165
- width: 10px;
166
- height: 10px;
167
- }
168
-
169
- &::-webkit-scrollbar-track, &::-webkit-scrollbar-corner {
170
- background: @global-table-max-scrollbar-track !important;
171
- }
172
-
173
- &::-webkit-scrollbar-thumb {
174
- border-radius: 20px;
175
- border: 6px solid transparent !important;
176
- background: @scrollThumb !important;
177
- background-clip: padding-box !important;
178
- }
179
-
180
- }
181
- .table-body.hover-active {
182
- &::-webkit-scrollbar-thumb {
183
- border-radius: 20px;
184
- border: 2px solid transparent !important;
185
- background: @scrollThumb !important;
186
- background-clip: padding-box !important;
187
- }
188
-
189
- &::-webkit-scrollbar-thumb:hover {
190
- border-radius: 20px;
191
- border: 1px solid transparent !important;
192
- background: @scrollThumb !important;
193
- background-clip: padding-box !important;
194
- }
195
- }
196
- }
197
-
198
-
199
-
200
- .table-loading {
201
- display: flex;
202
- flex-direction: column;
203
- justify-content: center;
204
- align-items: center;
205
- height: 200px;
206
- }
207
-
208
- .empty-container {
209
- width: 100%;
210
- height: 100%;
211
- min-height: 100px;
212
-
213
- .empty-wapper {
214
- display: flex;
215
- flex-direction: column;
216
- justify-content: center;
217
- align-items: center;
218
- position: sticky;
219
- left: 0;
220
- }
221
- }
222
- }
223
-
224
- .table-max-footer {
225
- padding-top: 8px;
226
- // background-color: @global-card-background-color;
227
- padding-left: @global-table-max-padding-left;
228
- padding-right: @global-table-max-padding-right;
229
- padding-bottom: @global-table-max-padding-bottom;
230
- border: @global-table-max-border;
231
- border-radius: @global-table-max-footer-border-radius;
232
- }
233
-
234
- .custom-light-checkbox-indeterminate .custom-light-checkbox-inner::after {
235
- height: 2px !important;
236
- display: block;
237
- }
238
-
239
- .custom-dark-checkbox-indeterminate .custom-dark-checkbox-inner::after {
240
- height: 2px !important;
241
- display: block;
242
- }
243
- }
244
-
245
- .custom-light-pagination,
246
- .custom-dark-pagination {
247
- text-align: right;
248
- }
249
-
250
- .ant-checkbox-indeterminate {
251
- .ant-checkbox-inner {
252
- background-color: @global-primary-color;
253
- border-color: @global-primary-color;
254
-
255
- &::after {
256
- display: inline-block;
257
- background-color: #fff;
258
- height: 2px;
259
- }
260
- }
261
- }
262
-
263
- .table-max-content-compact {
264
- // 紧凑模式
265
- .cell-wapper {
266
- line-height: 16px !important;
267
- padding: 4px 2px !important;
268
- height: 24px !important;
269
- }
270
-
271
- .tbody-tr-td, .table-thead-tr {
272
- height: 24px !important;
273
- line-height: 24px !important;
274
-
275
- .table-max-cell-wrapper {
276
- padding: 1px 2px;
277
- line-height: 22px;
278
- }
279
- }
280
- }
281
-
282
- .table-center::before {
283
- // content: '';
284
- // position: absolute;
285
- // top: 0;
286
- // bottom: 0;
287
- // width: 30px;
288
- // pointer-events: none;
289
- // opacity: 0;
290
- // transition: opacity 0.3s;
291
- // z-index: 1000;
292
-
293
- box-shadow: inset 10px 0 8px -8px #00000026;
294
- position: absolute;
295
- top: 0;
296
- bottom: -1px;
297
- left: 0;
298
- width: 30px;
299
- // transform: translate(-100%);
300
- // transition: box-shadow 0.3s;
301
- content: '';
302
- pointer-events: none;
303
- opacity: var(--left-fixed-opacity);
304
- transition: opacity 0.3s ease; /* 添加透明度过渡 */
305
- z-index: 1000;
306
- }
307
-
308
- .table-center::after {
309
- box-shadow: inset -10px 0 8px -8px #00000026;
310
- position: absolute;
311
- top: 0;
312
- bottom: -1px;
313
- right: 0;
314
- width: 30px;
315
- // transform: translate(100%);
316
- // transition: box-shadow 0.3s;
317
- content: '';
318
- pointer-events: none;
319
- opacity: var(--right-fixed-opacity);
320
- transition: opacity 0.3s ease; /* 添加透明度过渡 */
321
- z-index: 1000;
322
- }
323
-
324
- .table-center::before {
325
- left: var(--left-fixed-columns-width);
326
- // background: linear-gradient(to right, rgba(0,0,0,0.15), transparent);
327
- }
328
-
329
- .table-center::after {
330
- right: var(--right-fixed-columns-width);
331
- // background: linear-gradient(to left, rgba(0,0,0,0.15), transparent);
332
- }
333
-
334
- .table-center.shadow-left::before {
335
- opacity: 1;
336
- }
337
-
338
- .table-center.shadow-right::after {
339
- opacity: 1;
340
- }
1
+ .table-max-container {
2
+ color: @tableColor1;
3
+ // height: 100%;
4
+ // max-height: 100%;
5
+ width: 100%;
6
+ display: flex;
7
+ flex-direction: column;
8
+ box-sizing: border-box;
9
+ // justify-content: center;
10
+ // align-items: center;
11
+
12
+ .table-max-header {
13
+ // height: 22px;
14
+ height: fit-content;
15
+ display: flex;
16
+ justify-content: space-between;
17
+ align-items: center;
18
+ margin-bottom: 12px;
19
+
20
+ .tableTitle {
21
+ font-size: 16px;
22
+ line-height: 24px;
23
+ display: inline-block;
24
+ }
25
+
26
+ .handleRightItem {
27
+ margin-left: 8px;
28
+ display: inline-block;
29
+ text-align: center;
30
+ cursor: pointer;
31
+ font-size: 20px !important;
32
+ color: @globalColor1;
33
+ // margin-bottom: 6px;
34
+
35
+ &:hover {
36
+ color: @global-primary-color;
37
+ }
38
+ }
39
+
40
+ .handleRightEditBtn {
41
+ display: inline-block;
42
+ // margin-bottom: 6px;
43
+ }
44
+
45
+ .table-max-header-right {
46
+ margin-left: 4px;
47
+ // font-size: 0;
48
+ line-height: 1;
49
+ display: flex;
50
+ align-items: center;
51
+ // height: ;
52
+
53
+ .upload-btn {
54
+ line-height: 1;
55
+ }
56
+
57
+ .download-btn {
58
+ // margin-left: 12px;
59
+ width: auto;
60
+ height: auto;
61
+ padding: 0;
62
+ line-height: 1;
63
+ border: none;
64
+
65
+ span {
66
+ font-size: inherit;
67
+ }
68
+ }
69
+ }
70
+
71
+ .disableBtn {
72
+ i {
73
+ color: @globalColor4;
74
+ cursor: no-drop;
75
+ }
76
+
77
+ i:hover {
78
+ color: @globalColor4;
79
+ }
80
+ }
81
+ }
82
+
83
+ .table-max-content {
84
+ flex: 1;
85
+ overflow: hidden;
86
+ width: 100% !important;
87
+ background: @globalColor0;
88
+ position: relative;
89
+ display: flex;
90
+ border-radius: @global-table-max-center-border-radius;
91
+
92
+ // &:hover {
93
+ // .scroll {
94
+ // overflow: hidden auto;
95
+ // width: 1rem;
96
+ // flex-shrink: 0;
97
+ // scrollbar-width: thin;
98
+ // position: relative;
99
+ // background: @globalColor0;
100
+ // z-index: 1000;
101
+ // }
102
+
103
+ // .scroll::-webkit-scrollbar-thumb {
104
+ // border: 6px solid transparent;
105
+ // background: @scrollThumb;
106
+ // border-radius: 10px;
107
+ // background-clip: padding-box;
108
+ // }
109
+
110
+ // .scroll::-webkit-scrollbar-thumb:hover {
111
+ // border: 4px solid transparent;
112
+ // background: @scrollThumbHover;
113
+ // background-clip: padding-box;
114
+ // }
115
+ // }
116
+
117
+ .table-center {
118
+ flex: 1;
119
+ overflow-x: hidden !important;
120
+ overflow-y: hidden !important;
121
+ display: flex;
122
+ flex-direction: column;
123
+ border: @global-table-max-border;
124
+ border-bottom: @global-table-max-center-border-bottom;
125
+ border-radius: @global-table-max-center-border-radius;
126
+
127
+ .table-header-wrapper {
128
+ display: flex;
129
+ background: @tableColor2;
130
+ padding: 0;
131
+
132
+ .table-header {
133
+ position: relative;
134
+ overflow: hidden;
135
+ box-sizing: border-box;
136
+ height: fit-content;
137
+ width: calc(100% - 10px);
138
+ margin: 0;
139
+ // flex: 1;
140
+ justify-content: space-between;
141
+ .cell-wapper {
142
+ line-height: @global-table-max-header-cell-wapper-line-height;
143
+ }
144
+ }
145
+
146
+ .table-header-scroll {
147
+ width: 10px;
148
+ height: 100%;
149
+ margin: 0;
150
+ padding: 0;
151
+ }
152
+ }
153
+
154
+ .table-body {
155
+ flex: 1;
156
+ overflow: scroll scroll;
157
+ scroll-behavior: smooth;
158
+ font-weight: @global-table-max-body-font-weight;
159
+ // background: @tableColor2;
160
+ .tbody-tr-td {
161
+ line-height: @global-table-body-tbody-tr-td-line-height;
162
+ }
163
+
164
+ &::-webkit-scrollbar {
165
+ width: 10px;
166
+ height: 10px;
167
+ }
168
+
169
+ &::-webkit-scrollbar-track, &::-webkit-scrollbar-corner {
170
+ background: @global-table-max-scrollbar-track !important;
171
+ }
172
+
173
+ &::-webkit-scrollbar-thumb {
174
+ border-radius: 20px;
175
+ border: 6px solid transparent !important;
176
+ background: @scrollThumb !important;
177
+ background-clip: padding-box !important;
178
+ }
179
+
180
+ }
181
+ .table-body.hover-active {
182
+ &::-webkit-scrollbar-thumb {
183
+ border-radius: 20px;
184
+ border: 2px solid transparent !important;
185
+ background: @scrollThumb !important;
186
+ background-clip: padding-box !important;
187
+ }
188
+
189
+ &::-webkit-scrollbar-thumb:hover {
190
+ border-radius: 20px;
191
+ border: 1px solid transparent !important;
192
+ background: @scrollThumb !important;
193
+ background-clip: padding-box !important;
194
+ }
195
+ }
196
+ }
197
+
198
+
199
+
200
+ .table-loading {
201
+ display: flex;
202
+ flex-direction: column;
203
+ justify-content: center;
204
+ align-items: center;
205
+ height: 200px;
206
+ }
207
+
208
+ .empty-container {
209
+ width: 100%;
210
+ height: 100%;
211
+ min-height: 100px;
212
+
213
+ .empty-wapper {
214
+ display: flex;
215
+ flex-direction: column;
216
+ justify-content: center;
217
+ align-items: center;
218
+ position: sticky;
219
+ left: 0;
220
+ }
221
+ }
222
+ }
223
+
224
+ .table-max-footer {
225
+ padding-top: 8px;
226
+ // background-color: @global-card-background-color;
227
+ padding-left: @global-table-max-padding-left;
228
+ padding-right: @global-table-max-padding-right;
229
+ padding-bottom: @global-table-max-padding-bottom;
230
+ border: @global-table-max-border;
231
+ border-radius: @global-table-max-footer-border-radius;
232
+ }
233
+
234
+ .custom-light-checkbox-indeterminate .custom-light-checkbox-inner::after {
235
+ height: 2px !important;
236
+ display: block;
237
+ }
238
+
239
+ .custom-dark-checkbox-indeterminate .custom-dark-checkbox-inner::after {
240
+ height: 2px !important;
241
+ display: block;
242
+ }
243
+ }
244
+
245
+ .custom-light-pagination,
246
+ .custom-dark-pagination {
247
+ text-align: right;
248
+ }
249
+
250
+ .ant-checkbox-indeterminate {
251
+ .ant-checkbox-inner {
252
+ background-color: @global-primary-color;
253
+ border-color: @global-primary-color;
254
+
255
+ &::after {
256
+ display: inline-block;
257
+ background-color: #fff;
258
+ height: 2px;
259
+ }
260
+ }
261
+ }
262
+
263
+ .table-max-content-compact {
264
+ // 紧凑模式
265
+ .cell-wapper {
266
+ line-height: 16px !important;
267
+ padding: 4px 2px !important;
268
+ height: 24px !important;
269
+ }
270
+
271
+ .tbody-tr-td, .table-thead-tr {
272
+ height: 24px !important;
273
+ line-height: 24px !important;
274
+
275
+ .table-max-cell-wrapper {
276
+ padding: 1px 2px;
277
+ line-height: 22px;
278
+ }
279
+ }
280
+ }
281
+
282
+ .table-center::before {
283
+ // content: '';
284
+ // position: absolute;
285
+ // top: 0;
286
+ // bottom: 0;
287
+ // width: 30px;
288
+ // pointer-events: none;
289
+ // opacity: 0;
290
+ // transition: opacity 0.3s;
291
+ // z-index: 1000;
292
+
293
+ box-shadow: inset 10px 0 8px -8px #00000026;
294
+ position: absolute;
295
+ top: 0;
296
+ bottom: -1px;
297
+ left: 0;
298
+ width: 30px;
299
+ // transform: translate(-100%);
300
+ // transition: box-shadow 0.3s;
301
+ content: '';
302
+ pointer-events: none;
303
+ opacity: var(--left-fixed-opacity);
304
+ transition: opacity 0.3s ease; /* 添加透明度过渡 */
305
+ z-index: 1000;
306
+ }
307
+
308
+ .table-center::after {
309
+ box-shadow: inset -10px 0 8px -8px #00000026;
310
+ position: absolute;
311
+ top: 0;
312
+ bottom: -1px;
313
+ right: 0;
314
+ width: 30px;
315
+ // transform: translate(100%);
316
+ // transition: box-shadow 0.3s;
317
+ content: '';
318
+ pointer-events: none;
319
+ opacity: var(--right-fixed-opacity);
320
+ transition: opacity 0.3s ease; /* 添加透明度过渡 */
321
+ z-index: 1000;
322
+ }
323
+
324
+ .table-center::before {
325
+ left: var(--left-fixed-columns-width);
326
+ // background: linear-gradient(to right, rgba(0,0,0,0.15), transparent);
327
+ }
328
+
329
+ .table-center::after {
330
+ right: var(--right-fixed-columns-width);
331
+ // background: linear-gradient(to left, rgba(0,0,0,0.15), transparent);
332
+ }
333
+
334
+ .table-center.shadow-left::before {
335
+ opacity: 1;
336
+ }
337
+
338
+ .table-center.shadow-right::after {
339
+ opacity: 1;
340
+ }