@teamix/pro 1.5.12 → 1.5.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.
@@ -67,14 +67,16 @@
67
67
 
68
68
  &-name {
69
69
  flex-shrink: 0;
70
- width: 100%;
71
70
  }
72
71
  &-name > .teamix-pro-field {
73
- width: calc(100% - 24px);
72
+ width: calc(100% - 24px);
74
73
  }
75
74
 
76
75
  &-collapse {
77
76
  cursor: pointer;
77
+ .teamix-pro-card-title-name {
78
+ width: 100%;
79
+ }
78
80
 
79
81
  & > i {
80
82
  transition: transform 0.2s;
package/es/global.scss CHANGED
@@ -1,3 +1,4 @@
1
+ @import "./xconsole.scss";
1
2
  // transition 切换主题优化,暂时先写到 pro 里,后面加到基础组件里
2
3
 
3
4
  // table 行背景色
@@ -42,4 +43,4 @@ button.next-btn.next-medium.next-btn-normal {
42
43
  // 可关闭tag
43
44
  .next-tag.next-tag.next-tag.next-tag-closable.next-tag-level-normal.next-tag-closable {
44
45
  transition: color 0s;
45
- }
46
+ }
package/es/index.d.ts CHANGED
@@ -28,5 +28,5 @@ export * from './table';
28
28
  export * from './sidebar';
29
29
  export * from './utils';
30
30
  export * from './timeline';
31
- declare const version = "1.5.12";
31
+ declare const version = "1.5.13";
32
32
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProSkeleton, ProTable, ProSidebar, ProTimeline, TeamixIcon, hooks, nocode, templates, utils, };
package/es/index.js CHANGED
@@ -35,7 +35,7 @@ export * from './table';
35
35
  export * from './sidebar';
36
36
  export * from './utils';
37
37
  export * from './timeline';
38
- var version = '1.5.12';
38
+ var version = '1.5.13';
39
39
  // By TeamixTest
40
40
  window.postMessage({
41
41
  source: 'teamix-test-devtools',
package/es/table/index.js CHANGED
@@ -534,7 +534,7 @@ var ProTable = function ProTable(props) {
534
534
  // card视角的刷新等于重新请求
535
535
  if (switchViewState === 'card' && !propsDataSource) {
536
536
  setCurrentPage(1);
537
- _request(_objectSpread(_objectSpread({}, params), {}, _defineProperty({}, targetPageKey, 1)));
537
+ _request(_objectSpread(_objectSpread({}, params), {}, _defineProperty({}, targetPageKey, 1)), undefined, undefined, true);
538
538
  setShowSkeleton(true);
539
539
  } else {
540
540
  _request(params);
@@ -557,7 +557,7 @@ var ProTable = function ProTable(props) {
557
557
  (_actionRef$current4 = actionRef.current) === null || _actionRef$current4 === void 0 ? void 0 : (_actionRef$current4$s = _actionRef$current4.setFilterRules) === null || _actionRef$current4$s === void 0 ? void 0 : _actionRef$current4$s.call(_actionRef$current4, {});
558
558
  (_dataFilterFormRef$cu = dataFilterFormRef.current) === null || _dataFilterFormRef$cu === void 0 ? void 0 : _dataFilterFormRef$cu.reset();
559
559
  setCurrentPage(1);
560
- _request(_defineProperty({}, targetPageKey, 1));
560
+ _request(_defineProperty({}, targetPageKey, 1), undefined, undefined, true);
561
561
  },
562
562
  resetPage: function resetPage() {
563
563
  setCurrentPage(1);
@@ -655,12 +655,12 @@ var ProTable = function ProTable(props) {
655
655
  emit('PRO_TABLE_REFRESH_TIMER_FLAG', Number(time));
656
656
  }
657
657
  // 设置 dataSource、total
658
- if (switchViewState === 'table' || currentPage === 1) {
658
+ if (switchViewState === 'table' || currentPage === 1 || (cardViewProps === null || cardViewProps === void 0 ? void 0 : cardViewProps.useTablePagination)) {
659
659
  var _next$data;
660
660
  _setData(next.data || []);
661
661
  setTotal(next.total || ((_next$data = next.data) === null || _next$data === void 0 ? void 0 : _next$data.length));
662
662
  }
663
- if (switchViewState === 'card' && currentPage !== 1) {
663
+ if (switchViewState === 'card' && currentPage !== 1 && !(cardViewProps === null || cardViewProps === void 0 ? void 0 : cardViewProps.useTablePagination)) {
664
664
  var _next$data2;
665
665
  _setData([].concat(_toConsumableArray(data), _toConsumableArray(next.data || [])));
666
666
  setTotal(total + (next.total || ((_next$data2 = next.data) === null || _next$data2 === void 0 ? void 0 : _next$data2.length)));
@@ -732,7 +732,7 @@ var ProTable = function ProTable(props) {
732
732
  }
733
733
  });
734
734
  // 请求函数
735
- function _request(params, noLoading, filterParams) {
735
+ function _request(params, noLoading, filterParams, isReset) {
736
736
  var _dataFilterFormRef$cu2, _actionRef$current$ge, _actionRef$current6, _actionRef$current6$g, _objectSpread3;
737
737
  // 如果没有传 url 且没有 customRequest,直接返回
738
738
  if (!url && !customRequest) {
@@ -778,18 +778,22 @@ var ProTable = function ProTable(props) {
778
778
  }
779
779
  // 如果使用自定义请求
780
780
  if (customRequest && typeof customRequest === 'function') {
781
- setCustomTableLoading(true);
781
+ if (isReset) {
782
+ setShowSkeleton(true);
783
+ } else {
784
+ setCustomTableLoading(true);
785
+ }
782
786
  customRequest(requestData).then(function (res) {
783
787
  var dataRes = res.data,
784
788
  totalRes = res.total,
785
789
  success = res.success;
786
790
  if (success === true) {
787
791
  // 设置 dataSource、total
788
- if (switchViewState === 'table' || params['targetPageKey'] === 1) {
792
+ if (switchViewState === 'table' || params['targetPageKey'] === 1 || isReset || (cardViewProps === null || cardViewProps === void 0 ? void 0 : cardViewProps.useTablePagination)) {
789
793
  _setData(dataRes || []);
790
794
  setTotal(totalRes || (dataRes === null || dataRes === void 0 ? void 0 : dataRes.length));
791
795
  }
792
- if (switchViewState === 'card' && params['targetPageKey'] !== 1) {
796
+ if (switchViewState === 'card' && params['targetPageKey'] !== 1 && !isReset && !(cardViewProps === null || cardViewProps === void 0 ? void 0 : cardViewProps.useTablePagination)) {
793
797
  _setData([].concat(_toConsumableArray(data), _toConsumableArray(dataRes || [])));
794
798
  setTotal(total + (totalRes || (dataRes === null || dataRes === void 0 ? void 0 : dataRes.length)));
795
799
  }
@@ -818,6 +822,8 @@ var ProTable = function ProTable(props) {
818
822
  }, Number(time));
819
823
  emit('PRO_TABLE_REFRESH_TIMER_FLAG', Number(time));
820
824
  }
825
+ }).finally(function () {
826
+ setCustomTableLoading(false);
821
827
  });
822
828
  } else {
823
829
  getData.run(requestData);
@@ -0,0 +1,498 @@
1
+ .theme-xconsole {
2
+ --color-event-p9: rgba(121, 197, 224, 1);
3
+ --color-event-p10: rgba(175, 222, 240, 1);
4
+ --color-event-p8: rgba(73, 173, 209, 1);
5
+ --color-help-9: rgba(128, 98, 8, 1);
6
+ --color-help-8: rgba(168, 130, 13, 1);
7
+ --color-help-6: rgba(250, 195, 30, 1);
8
+ --color-help-10: rgba(87, 66, 3, 1);
9
+ --color-help-5: rgba(255, 210, 74, 1);
10
+ --color-help-4: rgba(255, 221, 117, 1);
11
+ --color-help-3: rgba(255, 231, 161, 1);
12
+ --color-help-2: rgba(255, 242, 204, 1);
13
+ --color-help-1: rgba(255, 247, 224, 1);
14
+ --color-error-10: rgba(82, 7, 0, 1);
15
+ --color-error-9: rgba(125, 18, 7, 1);
16
+ --color-error-8: rgba(161, 31, 19, 1);
17
+ --color-error-7: rgba(196, 49, 35, 1);
18
+ --color-error-5: rgba(237, 103, 90, 1);
19
+ --color-error-6: rgba(232, 71, 56, 1);
20
+ --color-error-4: rgba(242, 136, 126, 1);
21
+ --color-error-1: rgba(255, 236, 235, 1);
22
+ --color-warning-10: rgba(82, 42, 0, 1);
23
+ --color-warning-9: rgba(119, 65, 6, 1);
24
+ --color-warning-8: rgba(163, 90, 10, 1);
25
+ --color-warning-7: rgba(207, 116, 18, 1);
26
+ --color-warning-5: rgba(247, 168, 84, 1);
27
+ --color-warning-6: rgba(249, 142, 26, 1);
28
+ --color-warning-4: rgba(255, 185, 110, 1);
29
+ --color-warning-1: rgba(255, 245, 235, 1);
30
+ --color-success-10: rgba(0, 82, 38, 1);
31
+ --color-success-9: rgba(2, 107, 52, 1);
32
+ --color-success-8: rgba(10, 130, 67, 1);
33
+ --color-success-7: rgba(21, 153, 83, 1);
34
+ --color-success-5: rgba(67, 191, 126, 1);
35
+ --color-success-6: rgba(35, 176, 102, 1);
36
+ --color-success-4: rgba(103, 207, 152, 1);
37
+ --color-success-2: rgba(209, 244, 225, 1);
38
+ --color-success-1: rgba(235, 255, 246, 1);
39
+ --G80: rgba(38, 38, 38, 1);
40
+ --G0: rgba(247, 247, 247, 1);
41
+ --G10: rgba(229, 229, 229, 1);
42
+ --G20: rgba(217, 217, 217, 1);
43
+ --G30: rgba(204, 204, 204, 1);
44
+ --G40: rgba(170, 170, 170, 1);
45
+ --G50: rgba(128, 128, 128, 1);
46
+ --G60: rgba(105, 105, 105, 1);
47
+ --G70: rgba(51, 51, 51, 1);
48
+ --S0: rgba(240, 242, 245, 1);
49
+ --S10: rgba(220, 224, 232, 1);
50
+ --G90: rgba(26, 26, 26, 1);
51
+ --S20: rgba(209, 215, 227, 1);
52
+ --S30: rgba(190, 198, 212, 1);
53
+ --S40: rgba(164, 172, 189, 1);
54
+ --S50: rgba(129, 138, 156, 1);
55
+ --S60: rgba(88, 97, 115, 1);
56
+ --S70: rgba(63, 69, 79, 1);
57
+ --S80: rgba(45, 51, 61, 1);
58
+ --S90: rgba(25, 27, 31, 1);
59
+ --color-bg-1: rgba(255, 255, 255, 1);
60
+ --color-bg-2: rgba(247, 247, 247, 1);
61
+ --color-bg-3: rgba(255, 255, 255, 1);
62
+ --color-bg-4: rgba(247, 247, 247, 1);
63
+ --snow: rgba(255, 255, 255, 1);
64
+ --black: rgba(0, 0, 0, 1);
65
+ --color-bg-5: rgba(255, 255, 255, 1);
66
+ --space-grey-1: rgba(26, 26, 26, 1);
67
+ --color-transparent: transparent;
68
+ --color-black: #000000;
69
+ --color-white: #FFFFFF;
70
+ --color-event-p1: rgba(191, 0, 48, 1);
71
+ --color-event-p2: rgba(232, 71, 56, 1);
72
+ --color-event-p3: rgba(249, 142, 26, 1);
73
+ --color-event-p4: rgba(250, 195, 30, 1);
74
+ --color-event-p5: rgba(209, 187, 79, 1);
75
+ --color-event-p6: rgba(0, 179, 199, 1);
76
+ --color-event-p7: rgba(0, 146, 199, 1);
77
+ --color-text1-4: #1A1A1A;
78
+ --color-text1-3: rgba(51, 51, 51, 1);
79
+ --color-notice-7: rgba(88, 154, 219, 1);
80
+ --color-notice-5: rgba(0, 100, 200, 1);
81
+ --color-notice-6: rgba(0, 87, 173, 1);
82
+ --color-notice-4: rgba(42, 125, 209, 1);
83
+ --color-notice-3: rgba(144, 192, 239, 1);
84
+ --color-notice-2: rgba(202, 227, 253, 1);
85
+ --color-notice-1: rgba(240, 247, 255, 1);
86
+ --color-text1-1: #CCCCCC;
87
+ --color-other-3: #1A1A1A;
88
+ --color-brand1-7: #0057AD;
89
+ --color-brand1-8: #003E7C;
90
+ --color-fill1-7: #595959;
91
+ --color-brand1-2: #CAE3FD;
92
+ --color-brand1-3: #90C0EF;
93
+ --color-brand1-4: #589ADB;
94
+ --color-brand1-5: #2A7DD1;
95
+ --color-brand1-10: #002952;
96
+ --color-fill1-1: #FFFFFF;
97
+ --color-line1-4: #FFFFFF;
98
+ --color-error-3: #F7AAA3;
99
+ --color-error-2: #FCCECA;
100
+ --color-warning-3: #FFCD96;
101
+ --color-warning-2: #FFE0BF;
102
+ --color-success-3: #90DEB5;
103
+ --color-other-2: #FFFFFF;
104
+ --color-other-1: #3A3C4B;
105
+ --color-brand1-9: #003263;
106
+ --color-brand1-6: #0064C8;
107
+ --color-brand1-1: #F0F7FF;
108
+
109
+ /* mention */
110
+ --color-mention-1: #F0F0FF;
111
+ --color-mention-2: #D7D7FC;
112
+ --color-mention-3: #BBBBFA;
113
+ --color-mention-4: #A6A3F7;
114
+ --color-mention-5: #8A87F5;
115
+ --color-mention-6: #6B67E0;
116
+ --color-mention-7: #4440BD;
117
+ --color-mention-8: #272399;
118
+ --color-mention-9: #120E75;
119
+ --color-mention-10: #030052;
120
+ --color-mention-1-rgb: 240, 240, 255;
121
+ --color-mention-2-rgb: 215, 215, 252;
122
+ --color-mention-3-rgb: 187, 187, 250;
123
+ --color-mention-4-rgb: 166, 163, 247;
124
+ --color-mention-5-rgb: 138, 135, 245;
125
+ --color-mention-6-rgb: 107, 103, 224;
126
+ --color-mention-7-rgb: 68, 64, 189;
127
+ --color-mention-8-rgb: 39, 35, 153;
128
+ --color-mention-9-rgb: 18, 14, 117;
129
+ --color-mention-10-rgb: 3, 0, 82;
130
+
131
+ /* space grey */
132
+ --space-grey-1: #F0F2F5;
133
+ --space-grey-2: #E9EBF0;
134
+ --space-grey-3: #DADDE3;
135
+ --space-grey-4: #C7CBD4;
136
+ --space-grey-5: #A4ACBD;
137
+ --space-grey-6: #818A9C;
138
+ --space-grey-7: #586173;
139
+ --space-grey-8: #3F454F;
140
+ --space-grey-9: #2D333D;
141
+ --space-grey-10: #191B1F;
142
+ --color-grey-1-rgb: 240, 242, 245;
143
+ --color-grey-2-rgb: 233, 235, 240;
144
+ --color-grey-3-rgb: 218, 221, 227;
145
+ --color-grey-4-rgb: 199, 203, 212;
146
+ --color-grey-5-rgb: 164, 172, 189;
147
+ --color-grey-6-rgb: 129, 138, 156;
148
+ --color-grey-7-rgb: 88, 97, 115;
149
+ --color-grey-8-rgb: 63, 69, 79;
150
+ --color-grey-9-rgb: 45, 51, 61;
151
+ --color-grey-10-rgb: 25, 27, 31;
152
+
153
+ /* link */
154
+ --color-link-1: var(--color-brand1-6);
155
+ --color-link-2: var(--color-brand1-7);
156
+ --color-link-3: var(--color-brand1-5);
157
+
158
+ /* card-bg */
159
+ --color-card-1-bg: #ffffff;
160
+ --color-card-2-bg: #f7f7f7;
161
+
162
+ /* rgb color */
163
+ --color-error-1-rgb: 255, 236, 235;
164
+ --color-error-2-rgb: 252, 206, 202;
165
+ --color-error-3-rgb: 247, 170, 163;
166
+ --color-error-4-rgb: 242, 136, 126;
167
+ --color-error-5-rgb: 237, 103, 90;
168
+ --color-error-6-rgb: 232, 71, 56;
169
+ --color-error-7-rgb: 196, 49, 35;
170
+ --color-error-8-rgb: 161, 31, 19;
171
+ --color-error-9-rgb: 125, 18, 7;
172
+ --color-error-10-rgb: 82, 7, 0;
173
+
174
+ --color-success-10-rgb: 0, 82, 38;
175
+ --color-success-9-rgb: 2, 107, 52;
176
+ --color-success-8-rgb: 10, 130, 67;
177
+ --color-success-7-rgb: 21, 153, 83;
178
+ --color-success-5-rgb: 67, 191, 126;
179
+ --color-success-6-rgb: 35, 176, 102;
180
+ --color-success-4-rgb: 103, 207, 152;
181
+ --color-success-3-rgb: 144, 222, 181;
182
+ --color-success-2-rgb: 209, 244, 225;
183
+ --color-success-1-rgb: 235, 255, 246;
184
+
185
+ --color-brand1-1-rgb: 240, 247, 255;
186
+ --color-brand1-2-rgb: 202, 227, 253;
187
+ --color-brand1-3-rgb: 144, 192, 239;
188
+ --color-brand1-4-rgb: 88, 154, 219;
189
+ --color-brand1-5-rgb: 42, 125, 209;
190
+ --color-brand1-6-rgb: 0, 100, 200;
191
+ --color-brand1-7-rgb: 0, 87, 173;
192
+ --color-brand1-8-rgb: 0, 62, 124;
193
+ --color-brand1-9-rgb: 0, 50, 99;
194
+ --color-brand1-10-rgb: 0, 41, 82;
195
+
196
+ --color-warning-10-rgb: 82, 42, 0;
197
+ --color-warning-9-rgb: 119, 65, 6;
198
+ --color-warning-8-rgb: 163, 90, 10;
199
+ --color-warning-7-rgb: 207, 116, 18;
200
+ --color-warning-5-rgb: 247, 168, 84;
201
+ --color-warning-6-rgb: 249, 142, 26;
202
+ --color-warning-4-rgb: 255, 185, 110;
203
+ --color-warning-1-rgb: 255, 245, 235;
204
+ --color-warning-3-rgb: 255, 205, 150;
205
+ --color-warning-2-rgb: 255, 224, 191;
206
+
207
+ --color-help-9-rgb: 128, 98, 8;
208
+ --color-help-8-rgb: 168, 130, 13;
209
+ --color-help-7-rgb: 222, 172, 22;
210
+ --color-help-6-rgb: 250, 195, 30;
211
+ --color-help-10-rgb: 87, 66, 3;
212
+ --color-help-5-rgb: 255, 210, 74;
213
+ --color-help-4-rgb: 255, 221, 117;
214
+ --color-help-3-rgb: 255, 231, 161;
215
+ --color-help-2-rgb: 255, 242, 204;
216
+ --color-help-1-rgb: 255, 247, 224;
217
+
218
+ /** 樱桃红 **/
219
+ --color-C0: #FFEBEF;
220
+ --color-C10: #F2C2CE;
221
+ --color-C20: #E68AA1;
222
+ --color-C30: #D95777;
223
+ --color-C40: #CC2952;
224
+ --color-C50: #BF0030;
225
+ --color-C60: #A60029;
226
+ --color-C70: #73001D;
227
+ --color-C80: #590016;
228
+ --color-C90: #400010;
229
+ --color-C0-rgb: 255, 235, 239;
230
+ --color-C10-rgb: 242, 194, 206;
231
+ --color-C20-rgb: 230, 138, 161;
232
+ --color-C30-rgb: 217, 87, 119;
233
+ --color-C40-rgb: 204, 41, 82;
234
+ --color-C50-rgb: 191, 0, 48;
235
+ --color-C60-rgb: 166, 0, 41;
236
+ --color-C70-rgb: 115, 0, 29;
237
+ --color-C80-rgb: 89, 0, 22;
238
+ --color-C90-rgb: 64, 0, 16;
239
+
240
+ /** 绛红 **/
241
+ --color-PR0: #FFECEB;
242
+ --color-PR10: #F2C1BD;
243
+ --color-PR20: #E6948E;
244
+ --color-PR30: #E6948E;
245
+ --color-PR40: #CC473D;
246
+ --color-PR50: #BE271B;
247
+ --color-PR60: #A11A10;
248
+ --color-PR70: #801109;
249
+ --color-PR80: #610903;
250
+ --color-PR90: #400400;
251
+ --color-PR0-rgb: 255, 236, 235;
252
+ --color-PR10-rgb: 242, 193, 189;
253
+ --color-PR20-rgb: 230, 148, 142;
254
+ --color-PR30-rgb: 230, 148, 142;
255
+ --color-PR40-rgb: 204, 71, 61;
256
+ --color-PR50-rgb: 190, 39, 27;
257
+ --color-PR60-rgb: 161, 26, 16;
258
+ --color-PR70-rgb: 128, 17, 9;
259
+ --color-PR80-rgb: 97, 9, 3;
260
+ --color-PR90-rgb: 64, 4, 0;
261
+
262
+ /** 琥珀橙 **/
263
+ --color-A0: #FFF3EB;
264
+ --color-A10: #F7D3BA;
265
+ --color-A20: #F0B286;
266
+ --color-A30: #E89356;
267
+ --color-A40: #E37629;
268
+ --color-A50: #DB5B00;
269
+ --color-A60: #B54B00;
270
+ --color-A70: #8F3C00;
271
+ --color-A80: #692C00;
272
+ --color-A90: #401B00;
273
+ --color-A0-rgb: 255, 243, 235;
274
+ --color-A10-rgb: 247, 211, 186;
275
+ --color-A20-rgb: 240, 178, 134;
276
+ --color-A30-rgb: 232, 147, 86;
277
+ --color-A40-rgb: 227, 118, 41;
278
+ --color-A50-rgb: 219, 91, 0;
279
+ --color-A60-rgb: 181, 75, 0;
280
+ --color-A70-rgb: 143, 60, 0;
281
+ --color-A80-rgb: 105, 44, 0;
282
+ --color-A90-rgb: 64, 27, 0;
283
+
284
+ /** 香槟金 **/
285
+ --color-Gold0: #FFF9DE;
286
+ --color-Gold10: #FFF5C4;
287
+ --color-Gold20: #FFF1AB;
288
+ --color-Gold30: #FFEE99;
289
+ --color-Gold40: #E8D36B;
290
+ --color-Gold50: #D1BB4F;
291
+ --color-Gold60: #B39F40;
292
+ --color-Gold70: #80712B;
293
+ --color-Gold80: #574D1C;
294
+ --color-Gold90: #3D3614;
295
+ --color-Gold0-rgb: 255, 249, 222;
296
+ --color-Gold10-rgb: 255, 245, 196;
297
+ --color-Gold20-rgb: 255, 241, 171;
298
+ --color-Gold30-rgb: 255, 238, 153;
299
+ --color-Gold40-rgb: 232, 211, 107;
300
+ --color-Gold50-rgb: 209, 187, 79;
301
+ --color-Gold60-rgb: 179, 159, 64;
302
+ --color-Gold70-rgb: 128, 113, 43;
303
+ --color-Gold80-rgb: 87, 77, 28;
304
+ --color-Gold90-rgb: 61, 54, 20;
305
+
306
+ /** 青柠绿 **/
307
+ --color-L0: #F0FAE1;
308
+ --color-L10: #CEE8A7;
309
+ --color-L20: #B3D186;
310
+ --color-L30: #85BA2F;
311
+ --color-L40: #6C9E1C;
312
+ --color-L50: #538700;
313
+ --color-L60: #457000;
314
+ --color-L70: #375900;
315
+ --color-L80: #294200;
316
+ --color-L90: #1B2B00;
317
+ --color-L0-rgb: 240, 250, 225;
318
+ --color-L10-rgb: 206, 232, 167;
319
+ --color-L20-rgb: 179, 209, 134;
320
+ --color-L30-rgb: 133, 186, 47;
321
+ --color-L40-rgb: 108, 158, 28;
322
+ --color-L50-rgb: 83, 135, 0;
323
+ --color-L60-rgb: 69, 112, 0;
324
+ --color-L70-rgb: 55, 89, 0;
325
+ --color-L80-rgb: 41, 66, 0;
326
+ --color-L90-rgb: 27, 43, 0;
327
+
328
+ /** 翡翠绿 **/
329
+ --color-E0: #E1FAF6;
330
+ --color-E10: #BAE8E2;
331
+ --color-E20: #8AD1C8;
332
+ --color-E30: #61BAAE;
333
+ --color-E40: #3DA193;
334
+ --color-E50: #21887A;
335
+ --color-E60: #157568;
336
+ --color-E70: #0C6358;
337
+ --color-E80: #055247;
338
+ --color-E90: #004037;
339
+ --color-E0-rgb: 225, 250, 246;
340
+ --color-E10-rgb: 186, 232, 226;
341
+ --color-E20-rgb: 138, 209, 200;
342
+ --color-E30-rgb: 97, 186, 174;
343
+ --color-E40-rgb: 61, 161, 147;
344
+ --color-E50-rgb: 33, 136, 122;
345
+ --color-E60-rgb: 21, 117, 104;
346
+ --color-E70-rgb: 12, 99, 88;
347
+ --color-E80-rgb: 5, 82, 71;
348
+ --color-E90-rgb: 0, 64, 55;
349
+
350
+ /** 孔雀蓝 **/
351
+ --color-M0: #E6FBFF;
352
+ --color-M10: #AEE2EB;
353
+ --color-M20: #7BCEDB;
354
+ --color-M30: #57CCD9;
355
+ --color-M40: #00B3C7;
356
+ --color-M50: #009CAD;
357
+ --color-M60: #008594;
358
+ --color-M70: #006E7A;
359
+ --color-M80: #005761;
360
+ --color-M90: #004047;
361
+ --color-M0-rgb: 230, 251, 255;
362
+ --color-M10-rgb: 174, 226, 235;
363
+ --color-M20-rgb: 123, 206, 219;
364
+ --color-M30-rgb: 87, 204, 217;
365
+ --color-M40-rgb: 0, 179, 199;
366
+ --color-M50-rgb: 0, 156, 173;
367
+ --color-M60-rgb: 0, 133, 148;
368
+ --color-M70-rgb: 0, 110, 122;
369
+ --color-M80-rgb: 0, 87, 97;
370
+ --color-M90-rgb: 0, 64, 71;
371
+
372
+ /** 海洋蓝 **/
373
+ --color-Ocean0: #E6F9FF;
374
+ --color-Ocean10: #AFDEF0;
375
+ --color-Ocean20: #79C5E0;
376
+ --color-Ocean30: #49ADD1;
377
+ --color-Ocean40: #0092C7;
378
+ --color-Ocean50: #007FAD;
379
+ --color-Ocean60: #006E96;
380
+ --color-Ocean70: #005E80;
381
+ --color-Ocean80: #004D69;
382
+ --color-Ocean90: #003C52;
383
+ --color-Ocean0-rgb: 230, 249, 255;
384
+ --color-Ocean10-rgb: 175, 222, 240;
385
+ --color-Ocean20-rgb: 121, 197, 224;
386
+ --color-Ocean30-rgb: 73, 173, 209;
387
+ --color-Ocean40-rgb: 0, 146, 199;
388
+ --color-Ocean50-rgb: 0, 127, 173;
389
+ --color-Ocean60-rgb: 0, 110, 150;
390
+ --color-Ocean70-rgb: 0, 94, 128;
391
+ --color-Ocean80-rgb: 0, 77, 105;
392
+ --color-Ocean90-rgb: 0, 60, 82;
393
+
394
+ /** 天空蓝 **/
395
+ --color-Sky0: #F0F8FF;
396
+ --color-Sky10: #BBDDFA;
397
+ --color-Sky20: #89C3F5;
398
+ --color-Sky30: #5AABF2;
399
+ --color-Sky40: #2B94F0;
400
+ --color-Sky50: #007EED;
401
+ --color-Sky60: #006BC9;
402
+ --color-Sky70: #0058A6;
403
+ --color-Sky80: #004582;
404
+ --color-Sky90: #00315C;
405
+ --color-Sky0-rgb: 240, 248, 255;
406
+ --color-Sky10-rgb: 187, 221, 250;
407
+ --color-Sky20-rgb: 137, 195, 245;
408
+ --color-Sky30-rgb: 90, 171, 242;
409
+ --color-Sky40-rgb: 43, 148, 240;
410
+ --color-Sky50-rgb: 0, 126, 237;
411
+ --color-Sky60-rgb: 0, 107, 201;
412
+ --color-Sky70-rgb: 0, 88, 166;
413
+ --color-Sky80-rgb: 0, 69, 130;
414
+ --color-Sky90-rgb: 0, 49, 92;
415
+
416
+ /** 丁香紫 **/
417
+ --color-LP0: #F8F0FF;
418
+ --color-LP10: #ECD6FF;
419
+ --color-LP20: #E0BDFF;
420
+ --color-LP30: #D4A3FF;
421
+ --color-LP40: #D48FFF;
422
+ --color-LP50: #B36CE6;
423
+ --color-LP60: #8D44C2;
424
+ --color-LP70: #6B249E;
425
+ --color-LP80: #4D0D7A;
426
+ --color-LP90: #360856;
427
+ --color-LP0-rgb: 248, 240, 255;
428
+ --color-LP10-rgb: 236, 214, 255;
429
+ --color-LP20-rgb: 224, 189, 255;
430
+ --color-LP30-rgb: 212, 163, 255;
431
+ --color-LP40-rgb: 212, 143, 255;
432
+ --color-LP50-rgb: 179, 108, 230;
433
+ --color-LP60-rgb: 141, 68, 194;
434
+ --color-LP70-rgb: 107, 36, 158;
435
+ --color-LP80-rgb: 77, 13, 122;
436
+ --color-LP90-rgb: 54, 8, 86;
437
+
438
+ /** 中性灰 **/
439
+ --G0-rgb: 247, 247, 247;
440
+ --G10-rgb: 229, 229, 229;
441
+ --G20-rgb: 217, 217, 217;
442
+ --G30-rgb: 204, 204, 204;
443
+ --G40-rgb: 170, 170, 170;
444
+ --G50-rgb: 128, 128, 128;
445
+ --G60-rgb: 105, 105, 105;
446
+ --G70-rgb: 51, 51, 51;
447
+ --G80-rgb: 38, 38, 38;
448
+ --G90-rgb: 26, 26, 26;
449
+
450
+ /** 太空灰 **/
451
+ --S0-rgb: 240, 242, 245;
452
+ --S10-rgb: 220, 224, 232;
453
+ --S20-rgb: 209, 215, 227;
454
+ --S30-rgb: 190, 198, 212;
455
+ --S40-rgb: 164, 172, 189;
456
+ --S50-rgb: 129, 138, 156;
457
+ --S60-rgb: 88, 97, 115;
458
+ --S70-rgb: 63, 69, 79;
459
+ --S80-rgb: 45, 51, 61;
460
+ --S90-rgb: 25, 27, 31;
461
+
462
+ --warning-tag-p1-bg-color: rgba(var(--color-C10-rgb), 0.5);
463
+ --warning-tag-p1-color: var(--color-C50, #BF0030);
464
+
465
+ --warning-tag-p2-bg-color: rgba(var(--color-error-2-rgb), 0.5);
466
+ --warning-tag-p2-color: #F2493A;
467
+
468
+ --warning-tag-p3-bg-color: rgba(var(--color-warning-2-rgb), 0.5);
469
+ --warning-tag-p3-color: #FF8D16;
470
+
471
+ --warning-tag-p4-bg-color: rgba(var(--color-help-2-rgb), 0.5);
472
+ --warning-tag-p4-color: #DEAC16;
473
+
474
+ --warning-tag-p5-bg-color: rgba(var(--color-Gold10-rgb), 0.5);
475
+ --warning-tag-p5-color: #BAA643;
476
+
477
+ --warning-tag-p6-bg-color: rgba(var(--color-M10-rgb), 0.5);
478
+ --warning-tag-p6-color: #00BACF;
479
+
480
+ --warning-tag-p7-bg-color: rgba(var(--color-Ocean10-rgb), 0.5);
481
+ --warning-tag-p7-color: #1289B8;
482
+
483
+ --colortag-border-width: 1px;
484
+
485
+ --color-skeleton-bg-normal: #eee;
486
+ --color-skeleton-bg-light: #f5f5f5;
487
+
488
+ --teamix-status-tag-loading-background: var(--G40, #AAAAAA);
489
+
490
+ .teamix-pro-lable-icon-tip-icon i {
491
+ color: var(--G40, #AAAAAA);
492
+ }
493
+ .next-tag-custom-filter-tag {
494
+ background-color: var(--color-fill1-1,#fff);
495
+ border: 0 solid #d9d9d9;
496
+ border: var(--colortag-border-width,0) solid var(--color-line1-2,#d9d9d9);
497
+ }
498
+ }
@@ -67,14 +67,16 @@
67
67
 
68
68
  &-name {
69
69
  flex-shrink: 0;
70
- width: 100%;
71
70
  }
72
71
  &-name > .teamix-pro-field {
73
- width: calc(100% - 24px);
72
+ width: calc(100% - 24px);
74
73
  }
75
74
 
76
75
  &-collapse {
77
76
  cursor: pointer;
77
+ .teamix-pro-card-title-name {
78
+ width: 100%;
79
+ }
78
80
 
79
81
  & > i {
80
82
  transition: transform 0.2s;
package/lib/global.scss CHANGED
@@ -1,3 +1,4 @@
1
+ @import "./xconsole.scss";
1
2
  // transition 切换主题优化,暂时先写到 pro 里,后面加到基础组件里
2
3
 
3
4
  // table 行背景色
@@ -42,4 +43,4 @@ button.next-btn.next-medium.next-btn-normal {
42
43
  // 可关闭tag
43
44
  .next-tag.next-tag.next-tag.next-tag-closable.next-tag-level-normal.next-tag-closable {
44
45
  transition: color 0s;
45
- }
46
+ }
package/lib/index.d.ts CHANGED
@@ -28,5 +28,5 @@ export * from './table';
28
28
  export * from './sidebar';
29
29
  export * from './utils';
30
30
  export * from './timeline';
31
- declare const version = "1.5.12";
31
+ declare const version = "1.5.13";
32
32
  export { version, ProAction, ProCard, ProField, ProForm, ProInfo, ProPageContainer, ProPageHeader, ProSkeleton, ProTable, ProSidebar, ProTimeline, TeamixIcon, hooks, nocode, templates, utils, };
package/lib/index.js CHANGED
@@ -280,7 +280,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
280
280
  if (!((_window = window) === null || _window === void 0 ? void 0 : _window.TEAMIXPRO_WITHOUT_ICON)) {
281
281
  _icon.default.setConfig(_utils.default.getTeamixIconConfig());
282
282
  }
283
- var version = '1.5.12';
283
+ var version = '1.5.13';
284
284
  // By TeamixTest
285
285
  exports.version = version;
286
286
  window.postMessage({