@arim-aisdc/public-components 2.3.14 → 2.3.16
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/dist/components/ConditionExpression/index.less +2 -1
- package/dist/components/ConfigProvider/context.d.ts +3 -0
- package/dist/components/ConfigProvider/context.js +2 -1
- package/dist/components/TableMax/TableBody/Row.js +6 -3
- package/dist/components/TableMax/TableMax.js +3 -9
- package/dist/components/TableMax/components/ColumnFilterV2/index.js +0 -2
- package/dist/components/TableMax/components/ColumnSort/customSortFns.d.ts +8 -8
- package/dist/components/TableMax/components/ColumnSort/index.less +4 -2
- package/dist/components/TableMax/hooks/useColumnWidth.js +3 -10
- package/dist/themes/variables.less +1 -0
- package/dist/themes/variablesConfig.js +8 -4
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
.condition-all-content {
|
|
19
19
|
overflow: auto;
|
|
20
|
+
border: 1px dashed @global-card-effect-background-color;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
/* 添加相对定位 */
|
|
@@ -24,7 +25,6 @@
|
|
|
24
25
|
display: flex;
|
|
25
26
|
align-items: center;
|
|
26
27
|
position: relative;
|
|
27
|
-
border: 1px dashed @global-card-effect-background-color;
|
|
28
28
|
border-radius: 6px;
|
|
29
29
|
padding: 6px 8px 6px 6px;
|
|
30
30
|
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
.condition-add {
|
|
77
77
|
i {
|
|
78
78
|
font-size: 20px;
|
|
79
|
+
cursor: pointer;
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
82
|
}
|
|
@@ -23,12 +23,15 @@ export interface ConfigConsumerProps {
|
|
|
23
23
|
themePackageName?: 'DefaultThemePackage' | 'DyImsBlueThemePackage';
|
|
24
24
|
/**语言 */
|
|
25
25
|
locale?: Locale;
|
|
26
|
+
/**tablemax dateFormat */
|
|
27
|
+
dateFormat?: string;
|
|
26
28
|
}
|
|
27
29
|
export declare const DEFAULT_CONTEXT: {
|
|
28
30
|
theme: string;
|
|
29
31
|
userId: string;
|
|
30
32
|
tableKeyPrefixCls: string;
|
|
31
33
|
locale: Locale;
|
|
34
|
+
dateFormat: string;
|
|
32
35
|
};
|
|
33
36
|
declare const ConfigContext: import("react").Context<ConfigConsumerProps>;
|
|
34
37
|
export default ConfigContext;
|
|
@@ -7,7 +7,8 @@ export var DEFAULT_CONTEXT = {
|
|
|
7
7
|
theme: 'light',
|
|
8
8
|
userId: '',
|
|
9
9
|
tableKeyPrefixCls: 'TableMax',
|
|
10
|
-
locale: public_zhCN
|
|
10
|
+
locale: public_zhCN,
|
|
11
|
+
dateFormat: 'YYYY-MM-DD HH:mm'
|
|
11
12
|
// locale: public_enUS
|
|
12
13
|
};
|
|
13
14
|
var ConfigContext = /*#__PURE__*/createContext(DEFAULT_CONTEXT);
|
|
@@ -21,6 +21,7 @@ import { getPinningStyle } from "../TableHeader/utils";
|
|
|
21
21
|
import { EditableCell } from "../components/ColumnEdit";
|
|
22
22
|
import "./index.less";
|
|
23
23
|
import dayjs from 'dayjs';
|
|
24
|
+
import { useConfig } from "../../ConfigProvider";
|
|
24
25
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
26
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
26
27
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -202,7 +203,7 @@ var Row = function Row(_ref) {
|
|
|
202
203
|
else {
|
|
203
204
|
if (evt.shiftKey) {
|
|
204
205
|
var _table$getRowModel$ro2;
|
|
205
|
-
console.log('table.getState().rowSelection :>> ', table.getState().rowSelection);
|
|
206
|
+
// console.log('table.getState().rowSelection :>> ', table.getState().rowSelection);
|
|
206
207
|
var _selectionConfig2 = _objectSpread({}, table.getState().rowSelection);
|
|
207
208
|
var _min = Math.min(initselectedIndex || 0, row.index);
|
|
208
209
|
var _max = Math.max(initselectedIndex || 0, row.index);
|
|
@@ -303,6 +304,8 @@ var Row = function Row(_ref) {
|
|
|
303
304
|
|
|
304
305
|
var rowCom = function rowCom() {
|
|
305
306
|
var _row;
|
|
307
|
+
var _useConfig = useConfig(),
|
|
308
|
+
dateFormat = _useConfig.dateFormat;
|
|
306
309
|
return /*#__PURE__*/_jsx("tr", {
|
|
307
310
|
id: rowEditing ? "".concat(tableId, "-tbody-tr-editing") : undefined,
|
|
308
311
|
ref: function ref(node) {
|
|
@@ -348,7 +351,7 @@ var Row = function Row(_ref) {
|
|
|
348
351
|
// 格式化值获取
|
|
349
352
|
getFormattedValue: function getFormattedValue() {
|
|
350
353
|
var _cell$column$columnDe2;
|
|
351
|
-
return isDateColumn(cell.column.columnDef) ? formatDate(rawValue, (_cell$column$columnDe2 = cell.column.columnDef) === null || _cell$column$columnDe2 === void 0 || (_cell$column$columnDe2 = _cell$column$columnDe2.meta) === null || _cell$column$columnDe2 === void 0 ? void 0 : _cell$column$columnDe2.dateFormat) : rawValue;
|
|
354
|
+
return isDateColumn(cell.column.columnDef) ? formatDate(rawValue, ((_cell$column$columnDe2 = cell.column.columnDef) === null || _cell$column$columnDe2 === void 0 || (_cell$column$columnDe2 = _cell$column$columnDe2.meta) === null || _cell$column$columnDe2 === void 0 ? void 0 : _cell$column$columnDe2.dateFormat) || dateFormat) : rawValue;
|
|
352
355
|
},
|
|
353
356
|
// 默认渲染使用格式化值
|
|
354
357
|
renderValue: function renderValue() {
|
|
@@ -416,7 +419,7 @@ function formatDate(dateValue) {
|
|
|
416
419
|
if (!dateValue) return '';
|
|
417
420
|
var date = dayjs(dateValue);
|
|
418
421
|
if (!date.isValid()) return 'Invalid Date';
|
|
419
|
-
console.log(date.format(pattern), pattern, 'pattern')
|
|
422
|
+
// console.log(date.format(pattern), pattern, 'pattern')
|
|
420
423
|
return date.format(pattern);
|
|
421
424
|
}
|
|
422
425
|
function isDateColumn(column) {
|
|
@@ -54,7 +54,7 @@ var getCurrentRouterName = function getCurrentRouterName() {
|
|
|
54
54
|
return window.location.pathname.slice(1);
|
|
55
55
|
};
|
|
56
56
|
var TableMax = function TableMax(_ref) {
|
|
57
|
-
var _JSON$parse, _tableContentRef$curr
|
|
57
|
+
var _JSON$parse, _tableContentRef$curr;
|
|
58
58
|
var tableId = _ref.tableId,
|
|
59
59
|
originColumns = _ref.columns,
|
|
60
60
|
_ref$datas = _ref.datas,
|
|
@@ -298,7 +298,6 @@ var TableMax = function TableMax(_ref) {
|
|
|
298
298
|
onColumnSizingChange = _useColumnWidth.onColumnSizingChange,
|
|
299
299
|
tableContainerWidth = _useColumnWidth.tableContainerWidth,
|
|
300
300
|
handleVisibleConfigChange = _useColumnWidth.handleVisibleConfigChange;
|
|
301
|
-
console.log('columnSizing', columnSizing, tableContentRef === null || tableContentRef === void 0 || (_tableContentRef$curr = tableContentRef.current) === null || _tableContentRef$curr === void 0 ? void 0 : _tableContentRef$curr.getBoundingClientRect().width, tableContainerWidth);
|
|
302
301
|
|
|
303
302
|
/**列筛选 */
|
|
304
303
|
var _useState21 = useState(defaultColumnFilters),
|
|
@@ -437,7 +436,6 @@ var TableMax = function TableMax(_ref) {
|
|
|
437
436
|
onExpandedChange: setExpanded,
|
|
438
437
|
sortDescFirst: true // 首次排序为递减排序,不加这个属性的话,有些列的排序会有问题
|
|
439
438
|
});
|
|
440
|
-
console.log(tableColumns, 'table.columns');
|
|
441
439
|
|
|
442
440
|
// 暴露给外部的api
|
|
443
441
|
useImperativeHandle(refInstance, function () {
|
|
@@ -659,7 +657,7 @@ var TableMax = function TableMax(_ref) {
|
|
|
659
657
|
|
|
660
658
|
// 筛选回调
|
|
661
659
|
useEffect(function () {
|
|
662
|
-
console.log('columnFilters :>> ', tableId, columnFilters);
|
|
660
|
+
// console.log('columnFilters :>> ', tableId, columnFilters);
|
|
663
661
|
var filteredRowModel = table.getRowModel();
|
|
664
662
|
var filteredData = filteredRowModel.rows.map(function (item) {
|
|
665
663
|
return item.original;
|
|
@@ -715,7 +713,6 @@ var TableMax = function TableMax(_ref) {
|
|
|
715
713
|
/**缓存table数据 */
|
|
716
714
|
useUpdateEffect(function () {
|
|
717
715
|
var tableState = table.getState();
|
|
718
|
-
// console.log('set cache data', compactMode);
|
|
719
716
|
localStorage.setItem(tableKey, JSON.stringify({
|
|
720
717
|
enableFilters: enableFilters,
|
|
721
718
|
headerRowNum: headerRowNum,
|
|
@@ -961,7 +958,7 @@ var TableMax = function TableMax(_ref) {
|
|
|
961
958
|
useEffect(function () {
|
|
962
959
|
// 表格宽度变化时(比如调整页面宽度大小),重新计算是否展示阴影
|
|
963
960
|
getPinShadowInfo();
|
|
964
|
-
}, [tableContentRef === null || tableContentRef === void 0 || (_tableContentRef$
|
|
961
|
+
}, [tableContentRef === null || tableContentRef === void 0 || (_tableContentRef$curr = tableContentRef.current) === null || _tableContentRef$curr === void 0 ? void 0 : _tableContentRef$curr.clientWidth, table.getState().columnSizing]);
|
|
965
962
|
var scrollHandler = useCallback(function (event) {
|
|
966
963
|
if (!event.currentTarget) return;
|
|
967
964
|
tableHeaderRef.current.scrollLeft = event.currentTarget.scrollLeft / event.currentTarget.scrollWidth * (tableHeaderRef === null || tableHeaderRef === void 0 ? void 0 : tableHeaderRef.current.scrollWidth);
|
|
@@ -1051,9 +1048,6 @@ var TableMax = function TableMax(_ref) {
|
|
|
1051
1048
|
compactMode: compactMode,
|
|
1052
1049
|
onEditValueChange: onEditValueChange
|
|
1053
1050
|
};
|
|
1054
|
-
|
|
1055
|
-
// console.log('columnsSizeMap render');
|
|
1056
|
-
|
|
1057
1051
|
var changeCompactMode = function changeCompactMode() {
|
|
1058
1052
|
setCompactMode(!compactMode);
|
|
1059
1053
|
};
|
|
@@ -45,10 +45,8 @@ export function setDefaultFilterFn(columns) {
|
|
|
45
45
|
if (!column.meta) {
|
|
46
46
|
column.meta = {};
|
|
47
47
|
column.meta.isDate = true;
|
|
48
|
-
column.meta.dateFormat = 'YYYY-MM-DD HH:mm';
|
|
49
48
|
} else {
|
|
50
49
|
column.meta.isDate = column.meta.isDate || true;
|
|
51
|
-
column.meta.dateFormat = column.meta.dateFormat || 'YYYY-MM-DD HH:mm';
|
|
52
50
|
}
|
|
53
51
|
}
|
|
54
52
|
if (column.filterType && !column.filterFn && FILTER_FN_ENUM[column.filterType]) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { TableMaxColumnType } from "../../type";
|
|
2
|
-
export declare const numberSortFn: (rowA: any, rowB: any, columnId: string) =>
|
|
3
|
-
export declare const stringSortFn: (rowA: any, rowB: any, columnId: string) =>
|
|
4
|
-
export declare const numberOrStringSortFn: (rowA: any, rowB: any, columnId: string) =>
|
|
5
|
-
export declare const timeSortFn: (rowA: any, rowB: any, columnId: string) =>
|
|
2
|
+
export declare const numberSortFn: (rowA: any, rowB: any, columnId: string) => 1 | 0 | -1;
|
|
3
|
+
export declare const stringSortFn: (rowA: any, rowB: any, columnId: string) => 1 | 0 | -1;
|
|
4
|
+
export declare const numberOrStringSortFn: (rowA: any, rowB: any, columnId: string) => 1 | 0 | -1;
|
|
5
|
+
export declare const timeSortFn: (rowA: any, rowB: any, columnId: string) => 1 | 0 | -1;
|
|
6
6
|
declare const customSortFns: {
|
|
7
|
-
numberSortFn: (rowA: any, rowB: any, columnId: string) =>
|
|
8
|
-
stringSortFn: (rowA: any, rowB: any, columnId: string) =>
|
|
9
|
-
timeSortFn: (rowA: any, rowB: any, columnId: string) =>
|
|
10
|
-
numberOrStringSortFn: (rowA: any, rowB: any, columnId: string) =>
|
|
7
|
+
numberSortFn: (rowA: any, rowB: any, columnId: string) => 1 | 0 | -1;
|
|
8
|
+
stringSortFn: (rowA: any, rowB: any, columnId: string) => 1 | 0 | -1;
|
|
9
|
+
timeSortFn: (rowA: any, rowB: any, columnId: string) => 1 | 0 | -1;
|
|
10
|
+
numberOrStringSortFn: (rowA: any, rowB: any, columnId: string) => 1 | 0 | -1;
|
|
11
11
|
};
|
|
12
12
|
export default customSortFns;
|
|
13
13
|
export type SortFnType = keyof typeof customSortFns | undefined;
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
height: 0;
|
|
14
14
|
border-left: 4px solid transparent;
|
|
15
15
|
border-right: 4px solid transparent;
|
|
16
|
-
border-bottom: 6px solid #fff;
|
|
16
|
+
// border-bottom: 6px solid #fff;
|
|
17
|
+
border-bottom: 6px solid @global-sort-flag-color;
|
|
17
18
|
|
|
18
19
|
&-red {
|
|
19
20
|
border-bottom: 6px solid #fa541cff;
|
|
@@ -27,7 +28,8 @@
|
|
|
27
28
|
margin-top: 3px;
|
|
28
29
|
border-left: 4px solid transparent;
|
|
29
30
|
border-right: 4px solid transparent;
|
|
30
|
-
border-top: 6px solid #fff;
|
|
31
|
+
// border-top: 6px solid #fff;
|
|
32
|
+
border-top: 6px solid @global-sort-flag-color;
|
|
31
33
|
|
|
32
34
|
&-red {
|
|
33
35
|
border-top: 6px solid #fa541cff;
|
|
@@ -56,6 +56,7 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
56
56
|
var handleResize = useCallback(function () {
|
|
57
57
|
if (!tableContentRef.current) return;
|
|
58
58
|
var newWidth = getTableWidth();
|
|
59
|
+
if (!newWidth) return;
|
|
59
60
|
setState(function (prevState) {
|
|
60
61
|
// 计算可见列,排除特定列
|
|
61
62
|
var visibleColumns = Object.keys(prevState.columnSizing).filter(function (key) {
|
|
@@ -81,7 +82,6 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
81
82
|
visibleColumns.forEach(function (key) {
|
|
82
83
|
newVisibleColumnsSizing[key] = (newVisibleColumnsSizing[key] || 0) + averageWidth;
|
|
83
84
|
});
|
|
84
|
-
console.log(newVisibleColumnsSizing, 'newVisibleColumnsSizing');
|
|
85
85
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
|
86
86
|
columnSizing: newVisibleColumnsSizing,
|
|
87
87
|
allColumnSizing: _objectSpread(_objectSpread({}, prevState.allColumnSizing || {}), newVisibleColumnsSizing),
|
|
@@ -89,7 +89,7 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
} else if (prevState.tableContainerWidth > 0 && JSON.stringify(prevState.initColumnsSizeMap) !== '{}') {
|
|
92
|
+
} else if (prevState.tableContainerWidth > 0 && newWidth < prevState.tableContainerWidth && JSON.stringify(prevState.initColumnsSizeMap) !== '{}') {
|
|
93
93
|
// 容器变小时,重新计算
|
|
94
94
|
var reducedWidth = newWidth - totalVisibleWidth - 10;
|
|
95
95
|
var _unselectedCount = visibleColumns.length;
|
|
@@ -139,7 +139,7 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
139
139
|
setState(function (prevState) {
|
|
140
140
|
//列宽增加
|
|
141
141
|
if (value) {
|
|
142
|
-
console.log(prevState.allColumnSizing[key], prevState.allColumnSizing, 'prevState.allColumnSizing[key]')
|
|
142
|
+
// console.log(prevState.allColumnSizing[key], prevState.allColumnSizing, 'prevState.allColumnSizing[key]')
|
|
143
143
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
|
144
144
|
columnSizing: _objectSpread(_objectSpread({}, prevState.columnSizing), {}, {
|
|
145
145
|
key: prevState.allColumnSizing[key]
|
|
@@ -157,7 +157,6 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
157
157
|
var totalWidth = Object.values(newVisibleColumnsSizing).reduce(function (sum, width) {
|
|
158
158
|
return Number(sum || 0) + Number(width || 0);
|
|
159
159
|
}, 0);
|
|
160
|
-
console.log(newVisibleColumnsSizing, totalWidth, containerWidth, 'newVisibleColumnsSizing');
|
|
161
160
|
if (containerWidth < totalWidth) {
|
|
162
161
|
// 容器宽度小于增加列后的列总和,其他列宽度不变
|
|
163
162
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
|
@@ -173,7 +172,6 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
173
172
|
joinCalculateColumns === null || joinCalculateColumns === void 0 || joinCalculateColumns.forEach(function (key) {
|
|
174
173
|
newVisibleColumnsSizing[key] = (newVisibleColumnsSizing[key] || 0) + averageWidthIncrease;
|
|
175
174
|
});
|
|
176
|
-
console.log(newVisibleColumnsSizing, joinCalculateColumns, 'newVisibleColumnsSizing', averageWidthIncrease);
|
|
177
175
|
return _objectSpread(_objectSpread({}, prevState), {}, {
|
|
178
176
|
columnSizing: newVisibleColumnsSizing,
|
|
179
177
|
allColumnSizing: _objectSpread(_objectSpread({}, prevState.allColumnSizing), newVisibleColumnsSizing)
|
|
@@ -201,7 +199,6 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
201
199
|
}, 0);
|
|
202
200
|
var remainTableContainerWidth = currentWidth - allColumnWidth - 10;
|
|
203
201
|
var newColumnSizeMap = _objectSpread({}, columnsSizeMap);
|
|
204
|
-
console.log(remainColumnCount, 'remainColumnCount');
|
|
205
202
|
|
|
206
203
|
// 处理未设置宽度的列
|
|
207
204
|
if (remainColumnCount > 0) {
|
|
@@ -283,7 +280,6 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
283
280
|
});
|
|
284
281
|
setState(function (prevState) {
|
|
285
282
|
var columnSizing = calculateColumnSizing(visibleColumnsSizeMap, newAllColumnCount, prevState.tableContainerWidth);
|
|
286
|
-
console.log(columnSizing, _objectSpread(_objectSpread({}, initColumnsSizeMap), columnSizing), 'columnSizing11');
|
|
287
283
|
return {
|
|
288
284
|
columnSizing: columnSizing,
|
|
289
285
|
allColumnSizing: _objectSpread(_objectSpread({}, initColumnsSizeMap), columnSizing),
|
|
@@ -314,14 +310,12 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
314
310
|
|
|
315
311
|
// 创建新的列宽映射
|
|
316
312
|
var newVisibleColumnsSizing = _objectSpread(_objectSpread({}, prevState.columnSizing), changedColumn);
|
|
317
|
-
console.log(newVisibleColumnsSizing, 'newVisibleColumnsSizing');
|
|
318
313
|
|
|
319
314
|
// 计算当前总宽度
|
|
320
315
|
var totalWidth = Object.values(newVisibleColumnsSizing).reduce(function (sum, width) {
|
|
321
316
|
return Number(sum || 0) + Number(width || 0);
|
|
322
317
|
}, 0);
|
|
323
318
|
var containerWidth = getTableWidth() - 10 || 0;
|
|
324
|
-
console.log(widthDiff, newWidth, oldWidth, changedColumnKey, prevState, 3344);
|
|
325
319
|
|
|
326
320
|
// 处理列宽变大
|
|
327
321
|
if (widthDiff > 0) {
|
|
@@ -349,7 +343,6 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
349
343
|
} else {
|
|
350
344
|
targetColumnKey = columns[currentIndex + 1]; // 下一列
|
|
351
345
|
}
|
|
352
|
-
console.log(widthDifference, newVisibleColumnsSizing[targetColumnKey], 'newVisibleColumnsSizing');
|
|
353
346
|
// 增加目标列的宽度
|
|
354
347
|
if (targetColumnKey) {
|
|
355
348
|
newVisibleColumnsSizing[targetColumnKey] = (newVisibleColumnsSizing[targetColumnKey] || 0) + widthDifference;
|
|
@@ -87,3 +87,4 @@
|
|
|
87
87
|
@global-splitter-panel-top-height: var(--global-splitter-panel-top-height, 100%);
|
|
88
88
|
@global-splitter-panel-bottom-height: var(--global-splitter-panel-bottom-height, 100%);
|
|
89
89
|
@global-splitter-panel-margin: var(--global-splitter-panel-margin, 0);
|
|
90
|
+
@global-sort-flag-color: var(--global-sort-flag-color, #ffffff);
|
|
@@ -140,7 +140,8 @@ export var PublicThemeVariablesConfig = {
|
|
|
140
140
|
// messageTip
|
|
141
141
|
'--global-messageTip-background-color': '#0c1b3b',
|
|
142
142
|
'--global-messageTip-text-color': '#eaeaea',
|
|
143
|
-
'--global-messageTip-box-shadow': '0px 5px 12px 4px rgba(3,5,33,0.45)'
|
|
143
|
+
'--global-messageTip-box-shadow': '0px 5px 12px 4px rgba(3,5,33,0.45)',
|
|
144
|
+
'--global-sort-flag-color': '#FFFFFF'
|
|
144
145
|
}),
|
|
145
146
|
dark: _objectSpread(_objectSpread({
|
|
146
147
|
'--global-curd-input-background-color': '#494c5dff',
|
|
@@ -226,7 +227,8 @@ export var PublicThemeVariablesConfig = {
|
|
|
226
227
|
// messageTip
|
|
227
228
|
'--global-messageTip-background-color': '#ffffff',
|
|
228
229
|
'--global-messageTip-text-color': '#242A30',
|
|
229
|
-
'--global-messageTip-box-shadow': '0px 5px 12px 4px rgba(3,6,33,0.15)'
|
|
230
|
+
'--global-messageTip-box-shadow': '0px 5px 12px 4px rgba(3,6,33,0.15)',
|
|
231
|
+
'--global-sort-flag-color': '#FFFFFF'
|
|
230
232
|
})
|
|
231
233
|
};
|
|
232
234
|
export var PublicThemeVariablesConfigTwo = {
|
|
@@ -313,7 +315,8 @@ export var PublicThemeVariablesConfigTwo = {
|
|
|
313
315
|
// messageTip
|
|
314
316
|
'--global-messageTip-background-color': 'rgb(71,85,105,0.95)',
|
|
315
317
|
'--global-messageTip-text-color': '#FFFFFF',
|
|
316
|
-
'--global-messageTip-box-shadow': '0px 5px 12px 4px rgba(3,5,33,0.45)'
|
|
318
|
+
'--global-messageTip-box-shadow': '0px 5px 12px 4px rgba(3,5,33,0.45)',
|
|
319
|
+
'--global-sort-flag-color': '#242A30'
|
|
317
320
|
}),
|
|
318
321
|
dark: _objectSpread(_objectSpread({
|
|
319
322
|
'--global-curd-input-background-color': '#494c5dff',
|
|
@@ -400,7 +403,8 @@ export var PublicThemeVariablesConfigTwo = {
|
|
|
400
403
|
// messageTip
|
|
401
404
|
'--global-messageTip-background-color': 'rgb(255,255,255,0.95)',
|
|
402
405
|
'--global-messageTip-text-color': '#242A30',
|
|
403
|
-
'--global-messageTip-box-shadow': '0px 5px 12px 4px rgba(3,6,33,0.15)'
|
|
406
|
+
'--global-messageTip-box-shadow': '0px 5px 12px 4px rgba(3,6,33,0.15)',
|
|
407
|
+
'--global-sort-flag-color': '#FFFFFF'
|
|
404
408
|
})
|
|
405
409
|
};
|
|
406
410
|
export var publicThemeMap = {
|