@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.
- package/LICENSE +21 -21
- package/README.md +3 -3
- package/dist/assets/iconfont/index.css +6 -6
- package/dist/assets/iconfont/menu-gray/demo.css +539 -539
- package/dist/assets/iconfont/menu-gray/demo_index.html +1154 -1154
- package/dist/assets/iconfont/menu-gray/iconfont.css +183 -183
- package/dist/assets/iconfont/menu-gray/iconfont.json +303 -303
- package/dist/assets/iconfont/other/demo.css +539 -539
- package/dist/assets/iconfont/other/demo_index.html +2764 -2764
- package/dist/assets/iconfont/other/iconfont.css +463 -463
- package/dist/assets/iconfont/other/iconfont.json +793 -793
- package/dist/assets/iconfont/public/iconfont.css +69 -69
- package/dist/assets/iconfont/table/iconfont.css +89 -89
- package/dist/assets/iconfont/theme-dark/four/demo.css +539 -539
- package/dist/assets/iconfont/theme-dark/four/demo_index.html +306 -306
- package/dist/assets/iconfont/theme-dark/four/iconfont.css +37 -37
- package/dist/assets/iconfont/theme-dark/four/iconfont.json +44 -44
- package/dist/assets/images/data-empty-dark.svg +103 -103
- package/dist/assets/images/data-empty-light.svg +73 -73
- package/dist/assets/images/data.empty-dark.svg +44 -44
- package/dist/assets/styles/custom-dark.css +28466 -28466
- package/dist/assets/styles/custom-light.css +28092 -28092
- package/dist/components/BaseInfo/BaseInfo.d.ts +1 -1
- package/dist/components/BaseInfo/index.less +95 -95
- package/dist/components/CacheTabs/index.less +115 -115
- package/dist/components/CenterModal/index.less +41 -41
- package/dist/components/ConditionExpression/index.less +111 -111
- package/dist/components/CustomForm/CustomForm.js +5 -5
- package/dist/components/CustomForm/UploadImg/index.js +5 -5
- package/dist/components/CustomForm/customFormItemInputNumber/index.less +12 -12
- package/dist/components/CustomForm/index.less +76 -76
- package/dist/components/DraggableBox/index.less +26 -26
- package/dist/components/Empty/index.less +21 -21
- package/dist/components/Filter/FilterColor/index.less +106 -106
- package/dist/components/Filter/FilterInputNumber/index.less +15 -15
- package/dist/components/Filter/FilterRadio/index.less +25 -25
- package/dist/components/Filter/FilterSelect/index.less +28 -28
- package/dist/components/Filter/FilterSlider/index.less +19 -19
- package/dist/components/Filter/FilterSwitch/index.less +20 -20
- package/dist/components/GlobalTip/MessageTip/index.less +28 -28
- package/dist/components/GlobalTip/ModalTip/index.less +42 -42
- package/dist/components/Icon/IconDemo/animations/Calendar/calendar.json +692 -692
- package/dist/components/Icon/IconDemo/animations/Loading/loading.json +869 -869
- package/dist/components/Icon/IconDemo/animations/download/download.json +815 -815
- package/dist/components/Icon/IconDemo/animations/download/download.svg +5 -5
- package/dist/components/Icon/IconDemo/animations/skipForward/skipForward.json +1053 -1053
- package/dist/components/Icon/index.less +28 -28
- package/dist/components/QueryFilter/QueryFilter.js +5 -5
- package/dist/components/QueryFilter/index.less +64 -64
- package/dist/components/SchemaForm/type.js +2 -2
- package/dist/components/SchemaForm/utils.js +7 -7
- package/dist/components/SplitPane/splitPane.less +24 -24
- package/dist/components/SplitPane/util.js +21 -21
- package/dist/components/TableMax/TableBody/contextMenu/index.less +21 -21
- package/dist/components/TableMax/TableBody/index.less +187 -187
- package/dist/components/TableMax/TableHeader/index.less +224 -224
- package/dist/components/TableMax/TableHeader/utils.js +2 -2
- package/dist/components/TableMax/TableMax.js +14 -4
- package/dist/components/TableMax/components/ColumnEdit/components/numberRange/index.less +2 -2
- package/dist/components/TableMax/components/ColumnEdit/index.less +72 -72
- package/dist/components/TableMax/components/ColumnFilterV2/DateRange/index.less +24 -24
- package/dist/components/TableMax/components/ColumnFilterV2/MultipleSelect/index.less +32 -32
- package/dist/components/TableMax/components/ColumnFilterV2/NumberRange/index.less +27 -27
- package/dist/components/TableMax/components/ColumnFilterV2/ResetFilter.d.ts +10 -0
- package/dist/components/TableMax/components/ColumnFilterV2/ResetFilter.js +30 -0
- package/dist/components/TableMax/components/ColumnFilterV2/SingleSelect/index.less +43 -43
- package/dist/components/TableMax/components/ColumnFilterV2/index.less +39 -39
- package/dist/components/TableMax/components/ColumnSetting/index.less +183 -183
- package/dist/components/TableMax/components/ColumnSort/customSortFns.d.ts +8 -8
- package/dist/components/TableMax/components/ColumnSort/index.less +42 -42
- package/dist/components/TableMax/components/CustomDragerLayer/index.less +59 -59
- package/dist/components/TableMax/components/Export/index.d.ts +14 -0
- package/dist/components/TableMax/components/Export/index.js +56 -0
- package/dist/components/TableMax/components/Export/useTableExport.d.ts +30 -0
- package/dist/components/TableMax/components/Export/useTableExport.js +202 -0
- package/dist/components/TableMax/components/PaginationV2/index.less +116 -116
- package/dist/components/TableMax/hooks/useColumnWidth copy.js +26 -26
- package/dist/components/TableMax/hooks/useColumnWidth.js +18 -18
- package/dist/components/TableMax/tableMax.less +340 -340
- package/dist/components/TableMax/type.d.ts +6 -0
- package/dist/components/TableMax/utils.js +11 -9
- package/dist/hooks/useCenterModalState.js +2 -2
- package/dist/hooks/usePageCacheState.js +18 -18
- package/dist/themes/custom-dark.css +28482 -28482
- package/dist/themes/custom-light.css +28108 -28108
- package/dist/themes/variables.less +90 -90
- package/dist/utils/request.js +10 -10
- package/package.json +110 -108
|
@@ -1,187 +1,187 @@
|
|
|
1
|
-
table {
|
|
2
|
-
table-layout: fixed;
|
|
3
|
-
border-collapse: collapse;
|
|
4
|
-
// td {
|
|
5
|
-
// border: 0;
|
|
6
|
-
// }
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.tbody {
|
|
10
|
-
background-color: @globalColor0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.tbody-tr,
|
|
14
|
-
.tbody-tr-selected {
|
|
15
|
-
// display: flex;
|
|
16
|
-
transition: left, top;
|
|
17
|
-
transition-duration: 0.6s;
|
|
18
|
-
background-color: @globalColor0;
|
|
19
|
-
border-bottom: 1px solid @tableColor2;
|
|
20
|
-
}
|
|
21
|
-
.tbody-tr-highlight {
|
|
22
|
-
// display: flex;
|
|
23
|
-
transition: left, top;
|
|
24
|
-
transition-duration: 0.6s;
|
|
25
|
-
background-color: @rowHoverBackgroundColor;
|
|
26
|
-
border-bottom: 1px solid @tableColor2;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.tbody-tr-td-editting {
|
|
30
|
-
// height: auto !important;
|
|
31
|
-
// padding: 8px !important;
|
|
32
|
-
// display: flex !important;
|
|
33
|
-
// align-items: center;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.tbody-tr-td,
|
|
37
|
-
.tbody-tr-td-drag,
|
|
38
|
-
.tbody-tr-highlight > .tbody-tr-td,
|
|
39
|
-
.tbody-tr-highlight > .tbody-tr-td-drag,
|
|
40
|
-
.tbody-tr-selected > .tbody-tr-td,
|
|
41
|
-
.tbody-tr-selected > .tbody-tr-td-drag {
|
|
42
|
-
background-color: @globalColor0;
|
|
43
|
-
height: 32px;
|
|
44
|
-
line-height: 32px;
|
|
45
|
-
// overflow: hidden;
|
|
46
|
-
text-overflow: ellipsis;
|
|
47
|
-
white-space: nowrap;
|
|
48
|
-
padding: 0;
|
|
49
|
-
transition: background-color 0.3s;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.tbody-tr-selected > .tbody-tr-td,
|
|
53
|
-
.tbody-tr-selected > .tbody-tr-td-drag {
|
|
54
|
-
background: @selectTableRow;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.tbody-tr-highlight > .tbody-tr-td,
|
|
58
|
-
.tbody-tr-highlight > .tbody-tr-td-drag {
|
|
59
|
-
background: @rowHoverBackgroundColor;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.tbody-tr:not(.tbody-tr-selected) {
|
|
63
|
-
&:hover {
|
|
64
|
-
.tbody-tr-td {
|
|
65
|
-
background-color: @rowHoverBackgroundColor;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.showTopBorder {
|
|
71
|
-
// border-top: 2px solid @global-primary-color;
|
|
72
|
-
position: relative;
|
|
73
|
-
|
|
74
|
-
&::after {
|
|
75
|
-
content: '';
|
|
76
|
-
display: block;
|
|
77
|
-
position: absolute;
|
|
78
|
-
left: 0;
|
|
79
|
-
top: 0;
|
|
80
|
-
width: 100%;
|
|
81
|
-
height: 0;
|
|
82
|
-
border-top: 2px dashed @global-primary-color;
|
|
83
|
-
z-index: 999;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.showBottomBorder {
|
|
88
|
-
// border-bottom: 2px solid @global-primary-color;
|
|
89
|
-
position: relative;
|
|
90
|
-
|
|
91
|
-
&::after {
|
|
92
|
-
content: '';
|
|
93
|
-
display: block;
|
|
94
|
-
position: absolute;
|
|
95
|
-
left: 0;
|
|
96
|
-
bottom: 0;
|
|
97
|
-
width: 100%;
|
|
98
|
-
height: 0;
|
|
99
|
-
border-bottom: 2px dashed @global-primary-color;
|
|
100
|
-
z-index: 999;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.tbody-tr-td-drag:hover {
|
|
105
|
-
cursor: move;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.tbody-tr-subrow {
|
|
109
|
-
background: @globalColor_14;
|
|
110
|
-
|
|
111
|
-
.subRowWrapper {
|
|
112
|
-
padding-left: 40px;
|
|
113
|
-
position: sticky;
|
|
114
|
-
left: 0;
|
|
115
|
-
overflow: hidden;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.table-loading {
|
|
120
|
-
display: flex;
|
|
121
|
-
flex-direction: column;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
align-items: center;
|
|
124
|
-
width: 100%;
|
|
125
|
-
height: 100%;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.empty-container {
|
|
129
|
-
height: 100%;
|
|
130
|
-
|
|
131
|
-
.empty-wrapper {
|
|
132
|
-
height: 100%;
|
|
133
|
-
min-height: 120px;
|
|
134
|
-
display: flex;
|
|
135
|
-
flex-direction: column;
|
|
136
|
-
justify-content: center;
|
|
137
|
-
align-items: center;
|
|
138
|
-
position: sticky;
|
|
139
|
-
left: 0;
|
|
140
|
-
|
|
141
|
-
.empty-content {
|
|
142
|
-
display: flex;
|
|
143
|
-
flex-direction: column;
|
|
144
|
-
justify-content: center;
|
|
145
|
-
align-items: center;
|
|
146
|
-
width: 100%;
|
|
147
|
-
height: 100%;
|
|
148
|
-
|
|
149
|
-
.empty-img {
|
|
150
|
-
height: 80px;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.empty-text {
|
|
154
|
-
color: @globalColor2;
|
|
155
|
-
font-size: 12px;
|
|
156
|
-
margin-top: 12px;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.thead-tr-th-cell {
|
|
163
|
-
background: @globalColor0;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.table-max-row-tooltip-wrapper {
|
|
167
|
-
left: 50% !important;
|
|
168
|
-
transform: translateX(-50%) !important;
|
|
169
|
-
|
|
170
|
-
&.custom-light-tooltip-placement-top {
|
|
171
|
-
.custom-light-tooltip-content {
|
|
172
|
-
margin-bottom: -13px;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&.custom-light-tooltip-placement-bottom {
|
|
177
|
-
.custom-light-tooltip-content {
|
|
178
|
-
margin-top: -13px;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.table-max-table-body-table-wrapper {
|
|
184
|
-
min-width: 100%;
|
|
185
|
-
min-height: 100%;
|
|
186
|
-
width: fit-content;
|
|
187
|
-
}
|
|
1
|
+
table {
|
|
2
|
+
table-layout: fixed;
|
|
3
|
+
border-collapse: collapse;
|
|
4
|
+
// td {
|
|
5
|
+
// border: 0;
|
|
6
|
+
// }
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.tbody {
|
|
10
|
+
background-color: @globalColor0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.tbody-tr,
|
|
14
|
+
.tbody-tr-selected {
|
|
15
|
+
// display: flex;
|
|
16
|
+
transition: left, top;
|
|
17
|
+
transition-duration: 0.6s;
|
|
18
|
+
background-color: @globalColor0;
|
|
19
|
+
border-bottom: 1px solid @tableColor2;
|
|
20
|
+
}
|
|
21
|
+
.tbody-tr-highlight {
|
|
22
|
+
// display: flex;
|
|
23
|
+
transition: left, top;
|
|
24
|
+
transition-duration: 0.6s;
|
|
25
|
+
background-color: @rowHoverBackgroundColor;
|
|
26
|
+
border-bottom: 1px solid @tableColor2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.tbody-tr-td-editting {
|
|
30
|
+
// height: auto !important;
|
|
31
|
+
// padding: 8px !important;
|
|
32
|
+
// display: flex !important;
|
|
33
|
+
// align-items: center;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tbody-tr-td,
|
|
37
|
+
.tbody-tr-td-drag,
|
|
38
|
+
.tbody-tr-highlight > .tbody-tr-td,
|
|
39
|
+
.tbody-tr-highlight > .tbody-tr-td-drag,
|
|
40
|
+
.tbody-tr-selected > .tbody-tr-td,
|
|
41
|
+
.tbody-tr-selected > .tbody-tr-td-drag {
|
|
42
|
+
background-color: @globalColor0;
|
|
43
|
+
height: 32px;
|
|
44
|
+
line-height: 32px;
|
|
45
|
+
// overflow: hidden;
|
|
46
|
+
text-overflow: ellipsis;
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
padding: 0;
|
|
49
|
+
transition: background-color 0.3s;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.tbody-tr-selected > .tbody-tr-td,
|
|
53
|
+
.tbody-tr-selected > .tbody-tr-td-drag {
|
|
54
|
+
background: @selectTableRow;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.tbody-tr-highlight > .tbody-tr-td,
|
|
58
|
+
.tbody-tr-highlight > .tbody-tr-td-drag {
|
|
59
|
+
background: @rowHoverBackgroundColor;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.tbody-tr:not(.tbody-tr-selected) {
|
|
63
|
+
&:hover {
|
|
64
|
+
.tbody-tr-td {
|
|
65
|
+
background-color: @rowHoverBackgroundColor;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.showTopBorder {
|
|
71
|
+
// border-top: 2px solid @global-primary-color;
|
|
72
|
+
position: relative;
|
|
73
|
+
|
|
74
|
+
&::after {
|
|
75
|
+
content: '';
|
|
76
|
+
display: block;
|
|
77
|
+
position: absolute;
|
|
78
|
+
left: 0;
|
|
79
|
+
top: 0;
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: 0;
|
|
82
|
+
border-top: 2px dashed @global-primary-color;
|
|
83
|
+
z-index: 999;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.showBottomBorder {
|
|
88
|
+
// border-bottom: 2px solid @global-primary-color;
|
|
89
|
+
position: relative;
|
|
90
|
+
|
|
91
|
+
&::after {
|
|
92
|
+
content: '';
|
|
93
|
+
display: block;
|
|
94
|
+
position: absolute;
|
|
95
|
+
left: 0;
|
|
96
|
+
bottom: 0;
|
|
97
|
+
width: 100%;
|
|
98
|
+
height: 0;
|
|
99
|
+
border-bottom: 2px dashed @global-primary-color;
|
|
100
|
+
z-index: 999;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.tbody-tr-td-drag:hover {
|
|
105
|
+
cursor: move;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.tbody-tr-subrow {
|
|
109
|
+
background: @globalColor_14;
|
|
110
|
+
|
|
111
|
+
.subRowWrapper {
|
|
112
|
+
padding-left: 40px;
|
|
113
|
+
position: sticky;
|
|
114
|
+
left: 0;
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.table-loading {
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-direction: column;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
align-items: center;
|
|
124
|
+
width: 100%;
|
|
125
|
+
height: 100%;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.empty-container {
|
|
129
|
+
height: 100%;
|
|
130
|
+
|
|
131
|
+
.empty-wrapper {
|
|
132
|
+
height: 100%;
|
|
133
|
+
min-height: 120px;
|
|
134
|
+
display: flex;
|
|
135
|
+
flex-direction: column;
|
|
136
|
+
justify-content: center;
|
|
137
|
+
align-items: center;
|
|
138
|
+
position: sticky;
|
|
139
|
+
left: 0;
|
|
140
|
+
|
|
141
|
+
.empty-content {
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
align-items: center;
|
|
146
|
+
width: 100%;
|
|
147
|
+
height: 100%;
|
|
148
|
+
|
|
149
|
+
.empty-img {
|
|
150
|
+
height: 80px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.empty-text {
|
|
154
|
+
color: @globalColor2;
|
|
155
|
+
font-size: 12px;
|
|
156
|
+
margin-top: 12px;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.thead-tr-th-cell {
|
|
163
|
+
background: @globalColor0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.table-max-row-tooltip-wrapper {
|
|
167
|
+
left: 50% !important;
|
|
168
|
+
transform: translateX(-50%) !important;
|
|
169
|
+
|
|
170
|
+
&.custom-light-tooltip-placement-top {
|
|
171
|
+
.custom-light-tooltip-content {
|
|
172
|
+
margin-bottom: -13px;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&.custom-light-tooltip-placement-bottom {
|
|
177
|
+
.custom-light-tooltip-content {
|
|
178
|
+
margin-top: -13px;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.table-max-table-body-table-wrapper {
|
|
184
|
+
min-width: 100%;
|
|
185
|
+
min-height: 100%;
|
|
186
|
+
width: fit-content;
|
|
187
|
+
}
|