@arim-aisdc/public-components 2.1.14 → 2.2.0

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.
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
- import { PublicThemeVariablesConfig } from "../../themes/variablesConfig";
7
+ import { publicThemeMap } from "../../themes/variablesConfig";
8
8
  import { useContext, useEffect, useMemo } from 'react';
9
9
  import { DndProvider } from 'react-dnd';
10
10
  import { HTML5Backend } from 'react-dnd-html5-backend';
@@ -20,6 +20,8 @@ export var ConfigProvider = function ConfigProvider(_ref) {
20
20
  }, Object.values(config));
21
21
  var root = config.root,
22
22
  theme = config.theme,
23
+ _config$themePackageN = config.themePackageName,
24
+ themePackageName = _config$themePackageN === void 0 ? 'DefaultThemePackage' : _config$themePackageN,
23
25
  variablesJson = config.variablesJson,
24
26
  getRootContainer = config.getRootContainer,
25
27
  _config$autoSetCssVar = config.autoSetCssVars,
@@ -27,7 +29,7 @@ export var ConfigProvider = function ConfigProvider(_ref) {
27
29
  useEffect(function () {
28
30
  if (autoSetCssVars) {
29
31
  var node = document.querySelector(root) || document.documentElement || document.body;
30
- setCssVars(_objectSpread(_objectSpread({}, PublicThemeVariablesConfig[theme]), variablesJson), node);
32
+ setCssVars(_objectSpread(_objectSpread({}, publicThemeMap[themePackageName][theme]), variablesJson), node);
31
33
  }
32
34
  }, [theme, variablesJson, root, getRootContainer]);
33
35
  return /*#__PURE__*/_jsx(ConfigContext.Provider, {
@@ -18,6 +18,8 @@ export interface ConfigConsumerProps {
18
18
  renderEmpty?: (theme?: ThemeType) => React.ReactNode;
19
19
  /**request函数 用于下载*/
20
20
  request?: (...params: any[]) => Promise<Blob>;
21
+ /** 主题包名称 */
22
+ themePackageName?: 'DefaultThemePackage' | 'DyImsBlueThemePackage';
21
23
  }
22
24
  export declare const DEFAULT_CONTEXT: {
23
25
  theme: string;
@@ -12,7 +12,6 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
12
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
13
13
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
14
  import { LoadingOutlined, PlusOutlined } from '@ant-design/icons';
15
- import request from "../../../utils/request";
16
15
  import { Upload, message } from 'antd';
17
16
  import { useEffect, useState } from 'react';
18
17
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -39,7 +38,7 @@ var UploadImg = function UploadImg(_ref) {
39
38
  // 获取图片URL
40
39
  var getIMGUrl = /*#__PURE__*/function () {
41
40
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
42
- var url, query, data, baseIMG;
41
+ var url, query, response, data, baseIMG;
43
42
  return _regeneratorRuntime().wrap(function _callee$(_context) {
44
43
  while (1) switch (_context.prev = _context.next) {
45
44
  case 0:
@@ -49,30 +48,37 @@ var UploadImg = function UploadImg(_ref) {
49
48
  };
50
49
  _context.prev = 2;
51
50
  _context.next = 5;
52
- return request(url, {
53
- method: 'get',
54
- params: query,
51
+ return fetch("".concat(url, "?id=").concat(query.id), {
52
+ method: 'GET',
55
53
  headers: {
56
54
  Authorization: "Bearer ".concat(item === null || item === void 0 ? void 0 : item.token)
57
55
  }
58
56
  });
59
57
  case 5:
60
- data = _context.sent;
61
- if (data) {
62
- baseIMG = "data:image/png;base64,".concat(data);
63
- setImageUrl(baseIMG);
58
+ response = _context.sent;
59
+ if (!response.ok) {
60
+ _context.next = 12;
61
+ break;
64
62
  }
65
- _context.next = 12;
66
- break;
63
+ _context.next = 9;
64
+ return response.text();
67
65
  case 9:
68
- _context.prev = 9;
66
+ data = _context.sent.replace(/^"|"$/g, '');
67
+ baseIMG = "data:image/png;base64,".concat(data);
68
+ setImageUrl(baseIMG);
69
+ case 12:
70
+ _context.next = 18;
71
+ break;
72
+ case 14:
73
+ _context.prev = 14;
69
74
  _context.t0 = _context["catch"](2);
75
+ setImageUrl('');
70
76
  message.error('获取图片失败');
71
- case 12:
77
+ case 18:
72
78
  case "end":
73
79
  return _context.stop();
74
80
  }
75
- }, _callee, null, [[2, 9]]);
81
+ }, _callee, null, [[2, 14]]);
76
82
  }));
77
83
  return function getIMGUrl(_x) {
78
84
  return _ref2.apply(this, arguments);
@@ -103,6 +103,10 @@ table {
103
103
  }
104
104
  }
105
105
 
106
+ .table-max-header-cell-wrapper {
107
+ font-weight: @global-table-max-header-font-weight;
108
+ }
109
+
106
110
  .thead-tr-th-cell-fix-left-last::after {
107
111
  box-shadow: inset 10px 0 8px -8px #00000026;
108
112
  position: absolute;
@@ -9,6 +9,12 @@
9
9
  margin-right: 12px;
10
10
  }
11
11
 
12
+ .table-max-pagination {
13
+ .ant-pagination-item {
14
+ background-color: @global-card-background-color;
15
+ }
16
+ }
17
+
12
18
  .size-changer-wrapper {
13
19
  margin-right: 16px;
14
20
  white-space: nowrap;
@@ -23,7 +29,7 @@
23
29
  .custom-dark-select-selector,
24
30
  .ant-select-selector {
25
31
  height: 28px;
26
-
32
+ background-color: @global-card-background-color;
27
33
  span {
28
34
  line-height: 28px;
29
35
  }
@@ -86,6 +86,7 @@
86
86
  background: @globalColor0;
87
87
  position: relative;
88
88
  display: flex;
89
+ border-radius: @global-table-max-center-border-radius;
89
90
 
90
91
  &:hover {
91
92
  .scroll {
@@ -119,6 +120,10 @@
119
120
  display: flex;
120
121
  flex-direction: column;
121
122
 
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
+
122
127
  .table-header-wrapper {
123
128
  display: flex;
124
129
  background: @tableColor2;
@@ -139,6 +144,7 @@
139
144
  .table-body {
140
145
  flex: 1;
141
146
  overflow: auto scroll;
147
+ font-weight: @global-table-max-body-font-weight;
142
148
  // background: @tableColor2;
143
149
 
144
150
  &::-webkit-scrollbar {
@@ -153,6 +159,10 @@
153
159
  background-clip: padding-box !important;
154
160
  }
155
161
 
162
+ &::-webkit-scrollbar-track, &::-webkit-scrollbar-corner {
163
+ background: @global-table-max-scrollbar-track !important;
164
+ }
165
+
156
166
  &:hover {
157
167
  &::-webkit-scrollbar-thumb {
158
168
  border-radius: 20px;
@@ -196,7 +206,13 @@
196
206
  }
197
207
 
198
208
  .table-max-footer {
199
- margin-top: 8px;
209
+ padding-top: 8px;
210
+ // background-color: @global-card-background-color;
211
+ padding-left: @global-table-max-padding-left;
212
+ padding-right: @global-table-max-padding-right;
213
+ padding-bottom: @global-table-max-padding-bottom;
214
+ border: @global-table-max-border;
215
+ border-radius: @global-table-max-footer-border-radius;
200
216
  }
201
217
 
202
218
  .custom-light-checkbox-indeterminate .custom-light-checkbox-inner::after {
@@ -54,3 +54,16 @@
54
54
  @global-card-background-color: var(--global-card-background-color, #0c1b3b);
55
55
  @global-card-effect-background-color: var(--global-card-effect-background-color, #1e345b);
56
56
  @global-default-text-color: var(--global-default-text-color, #fff);
57
+
58
+ @global-table-max-padding-top: var(--global-table-max-padding-top, 8px);
59
+ @global-table-max-padding-left: var(--global-table-max-padding-left, 8px);
60
+ @global-table-max-padding-right: var(--global-table-max-padding-right, 16px);
61
+ @global-table-max-padding-bottom: var(--global-table-max-padding-bottom, 7px);
62
+ @global-table-max-border: var(--global-table-max-border, 1px solid #D9D9D9);
63
+ @global-table-max-footer-border-radius: var(--global-table-max-footer-border-radius);
64
+ @global-table-max-center-border-radius: var(--global-table-max-center-border-radius);
65
+ @global-table-max-center-border-bottom: var(--global-table-max-center-border-bottom);
66
+ @global-table-max-scrollbar-track: var(--global-table-max-scrollbar-track, #E8E8E8);
67
+ @global-table-max-header-font-weight: var(--global-table-max-header-font-weight);
68
+ @global-table-max-body-font-weight: var(--global-table-max-body-font-weight);
69
+
@@ -1,2 +1,7 @@
1
1
  import { VariablesConfigType } from '../components/ThemeProvider';
2
2
  export declare const PublicThemeVariablesConfig: VariablesConfigType;
3
+ export declare const PublicThemeVariablesConfigTwo: VariablesConfigType;
4
+ export declare const publicThemeMap: {
5
+ DefaultThemePackage: VariablesConfigType;
6
+ DyImsBlueThemePackage: VariablesConfigType;
7
+ };
@@ -1,9 +1,41 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ var tableMaxCommonStyle = {
8
+ '--global-table-max-padding-top': '8px',
9
+ '--global-table-max-padding-left': '0',
10
+ '--global-table-max-padding-right': '0',
11
+ '--global-table-max-padding-bottom': '0',
12
+ '--global-table-max-border': 'none',
13
+ '--global-table-max-footer-border-radius': 'unset',
14
+ '--global-table-max-center-border-radius': 'unset',
15
+ '--global-table-max-center-border-bottom': 'none',
16
+ '--global-table-max-header-font-weight': '400',
17
+ '--global-table-max-body-font-weight': '400'
18
+ };
19
+ var tableMaxCommonStyleTwo = {
20
+ '--global-table-max-padding-top': '8px',
21
+ '--global-table-max-padding-left': '8px',
22
+ '--global-table-max-padding-right': '16px',
23
+ '--global-table-max-padding-bottom': '7px',
24
+ '--global-table-max-border': '1px solid #D9D9D9',
25
+ '--global-table-max-footer-border-radius': '0px 0px 8px 8px',
26
+ '--global-table-max-center-border-radius': '8px 8px 0px 0px',
27
+ '--global-table-max-center-border-bottom': 'none',
28
+ '--global-table-max-header-font-weight': '500',
29
+ '--global-table-max-body-font-weight': '400'
30
+ };
1
31
  export var PublicThemeVariablesConfig = {
2
- light: {
32
+ light: _objectSpread({
3
33
  '--global-curd-input-background-color': '#f5f6f7ff',
4
34
  '--global-primary-color': '#fa541c',
5
- '--scrollThumb': 'rgba(0, 0, 0, 0.2)',
6
- '--scrollThumbHover': 'rgba(0, 0, 0, 0.3)',
35
+ '--scrollThumb': '#E8E8E8',
36
+ // rgba(0, 0, 0, 0.2) 修改为 #E8E8E8
37
+ '--scrollThumbHover': '#E8E8E8',
38
+ // rgba(0, 0, 0, 0.3)修改为#E8E8E8
7
39
  '--sliderRightBorder': '#221919',
8
40
  '--select-table-row': '#D0E37B',
9
41
  '--split-line': '#ECECEE',
@@ -19,7 +51,8 @@ export var PublicThemeVariablesConfig = {
19
51
  '--globalColor8': '#ECECEE',
20
52
  // 亮色背景衬托色
21
53
  '--globalColor9': '#D9DADF',
22
- '--globalColor0': '#F5F6F7',
54
+ '--globalColor0': '#F7F7F8',
55
+ // #F5F6F7修改为#F7F7F8
23
56
  '--globalColor_10': '#f5f6f7',
24
57
  '--globalColor_11': '#F5F6F7',
25
58
  '--globalColor_12': '#838695',
@@ -57,12 +90,12 @@ export var PublicThemeVariablesConfig = {
57
90
  // 表格列设置区列表元素边框颜色
58
91
  '--tableColor8': '#F5F6F7',
59
92
  // 表格列设置区列表元素-hover背景色
60
- '--tableTooltipBgc': '#000000bf',
61
- // 表格tooltip背景色
62
- '--global-desc-text-disabled-color': '#d3e7fa3f',
63
- // 全局默认 禁用/选中 字体颜色
64
- '--tableSettingModalBgc': '#FFFFFFF2',
65
- // 表格的body的背景底色
93
+ '--tableTooltipBgc': '#243D65',
94
+ // 表格tooltip背景色,#000000bf修改为#243D65
95
+ '--global-desc-text-disabled-color': '#d9d9d9',
96
+ // 全局默认 禁用/选中 字体颜色,#d3e7fa3f修改为#d9d9d9
97
+ '--tableSettingModalBgc': '#FFFFFF',
98
+ // 表格的body的背景底色,#FFFFFFF2修改为#FFFFFF
66
99
  '--global-tip-text-color': 'rgba(36,42,48,0.45)',
67
100
  '--global-icon-color': '#455169',
68
101
  '--global-hover-background-color': '#ebebebf2',
@@ -71,17 +104,22 @@ export var PublicThemeVariablesConfig = {
71
104
  '--global-icon-text-color': '#fff',
72
105
  '--global-card-background-color': '#F7F7F8',
73
106
  '--global-card-effect-background-color': '#E8E8E8',
74
- '--global-default-text-color': '#242A30'
75
- },
76
- dark: {
107
+ '--global-default-text-color': '#242A30',
108
+ '--global-table-max-scrollbar-track': 'transparent',
109
+ '--global-table-line-color': '#f0f0f0'
110
+ }, tableMaxCommonStyle),
111
+ dark: _objectSpread({
77
112
  '--global-curd-input-background-color': '#494c5dff',
78
113
  '--global-primary-color': '#fa541c',
79
114
  '--primaryColor': 'blue',
80
115
  '--split-line': '#5E6175',
81
- '--scrollThumb': 'rgba(255, 255, 255, 0.2)',
82
- '--scrollThumbHover': 'rgba(255, 255, 255, 0.3)',
116
+ '--scrollThumb': '#1E345B',
117
+ // rgba(255, 255, 255, 0.2)修改为#1E345B
118
+ '--scrollThumbHover': '#1E345B',
119
+ // rgba(255, 255, 255, 0.3)修改为#1E345B
83
120
  '--sliderRightBorder': '#3E3B3B',
84
- '--select-table-row': '#98A82B',
121
+ '--select-table-row': '#43609C',
122
+ // #98A82B修改为#43609C
85
123
  // 全局可切换颜色变量
86
124
  '--globalColor1': '#FFFFFF',
87
125
  '--globalColor2': '#DADBDF',
@@ -89,19 +127,20 @@ export var PublicThemeVariablesConfig = {
89
127
  '--globalColor4': '#838695',
90
128
  '--globalColor5': '#5E6175',
91
129
  '--globalColor6': '#363847',
92
- '--globalColor7': '#05081A',
93
- // 暗色背景色
94
- '--globalColor8': '#292C3B',
95
- // 暗色背景衬托色
130
+ '--globalColor7': '#202539',
131
+ // 暗色背景色,#05081A修改为#202539
132
+ '--globalColor8': '#05081A',
133
+ // 暗色背景衬托色,#292C3B修改为#05081A
96
134
  '--globalColor9': '#2a2d48',
97
- '--globalColor0': '#292C3B',
135
+ '--globalColor0': '#0C1B3B',
136
+ // #292C3B修改为#0C1B3B
98
137
  '--globalColor_10': 'rgba(245, 246, 247, 0.1)',
99
138
  '--globalColor_11': '#1a1d2e',
100
139
  '--globalColor_12': '#5E6175',
101
140
  '--globalColor_13': '#5E6175',
102
141
  // 甘特图网格线颜色
103
- '--globalColor_14': '#838695',
104
- //表格头对应色
142
+ '--globalColor_14': '#38405F',
143
+ //表格头对应色, #838695修改为 #38405F
105
144
  '--globalColor_15': '#717385',
106
145
  //表格头线对应色
107
146
  '--globalColor_16': '#171A2B',
@@ -112,8 +151,8 @@ export var PublicThemeVariablesConfig = {
112
151
  // 铸轧甘特图连铸板坯默认颜色
113
152
  '--globalColor_table-line': '#373b54',
114
153
  // table行分隔线颜色
115
- '--table-row-hover-bgc': 'rgb(72,74,87)',
116
- // 行hover时背景色
154
+ '--table-row-hover-bgc': '#33476F',
155
+ // 行hover时背景色,rgb(72,74,87) 修改为 #33476F
117
156
  '--arh-color': 'rgba(255, 255, 255, 0.1)',
118
157
  // 列表头拖拽线背景色
119
158
  '--tableColor1': '#FFFFFF',
@@ -130,14 +169,14 @@ export var PublicThemeVariablesConfig = {
130
169
  // 表格列设置区列显隐图标颜色
131
170
  '--tableColor7': '#1A1D2EFF',
132
171
  // 表格列设置区列表元素边框颜色
133
- '--tableColor8': '#838695',
134
- // 表格列设置区列表元素-hover背景色
135
- '--tableTooltipBgc': '#5e6175',
136
- // 表格tooltip背景色
172
+ '--tableColor8': '#010c31ff',
173
+ // 表格列设置区列表元素-hover背景色,#838695修改为#010c31ff
174
+ '--tableTooltipBgc': '#243D65',
175
+ // 表格tooltip背景色,#5e6175修改为#243D65
137
176
  '--global-desc-text-disabled-color': '#d3e7fa3f',
138
177
  // 全局默认 禁用/选中 字体颜色
139
- '--tableSettingModalBgc': '#0F2347F2',
140
- // 表格的body的背景底色
178
+ '--tableSettingModalBgc': '#243D65',
179
+ // 表格的body的背景底色,#0F2347F2修改为#243D65
141
180
  '--global-tip-text-color': 'rgba(255,255,255,0.45)',
142
181
  // 提醒色/暂无数据颜色/placeholder颜
143
182
  '--global-icon-color': '#fff',
@@ -147,6 +186,173 @@ export var PublicThemeVariablesConfig = {
147
186
  '--global-icon-text-color': '#455169',
148
187
  '--global-card-background-color': '#0C1B3B',
149
188
  '--global-card-effect-background-color': '#1E345B',
150
- '--global-default-text-color': '#fff'
151
- }
189
+ '--global-default-text-color': '#fff',
190
+ '--global-table-max-scrollbar-track': 'transparent'
191
+ }, tableMaxCommonStyle)
192
+ };
193
+ export var PublicThemeVariablesConfigTwo = {
194
+ light: _objectSpread({
195
+ '--global-curd-input-background-color': '#f5f6f7ff',
196
+ '--global-primary-color': '#fa541c',
197
+ '--scrollThumb': '#CCCCCC',
198
+ '--scrollThumbHover': '#E8E8E8',
199
+ // rgba(0, 0, 0, 0.3)修改为#E8E8E8
200
+ '--sliderRightBorder': '#221919',
201
+ '--select-table-row': '#CCDCF4',
202
+ // 表格行选中颜色-1
203
+ '--split-line': '#ECECEE',
204
+ // 全局可切换颜色变量
205
+ '--globalColor1': '#05081A',
206
+ '--globalColor2': '#5E6175',
207
+ '--globalColor3': '#838695',
208
+ '--globalColor4': '#AEAFB2',
209
+ '--globalColor5': '#E5E8F1',
210
+ '--globalColor6': '#F5F6F7',
211
+ '--globalColor7': '#EAEAEA',
212
+ // 亮色背景色-1
213
+ '--globalColor8': '#ECECEE',
214
+ // 亮色背景衬托色
215
+ '--globalColor9': '#D9DADF',
216
+ '--globalColor0': '#F7F7F8 ',
217
+ // 表格body背景色-1
218
+ '--globalColor_10': '#f5f6f7',
219
+ '--globalColor_11': '#F5F6F7',
220
+ '--globalColor_12': '#838695',
221
+ '--globalColor_13': '#C7C7CE',
222
+ // 甘特图网格线颜色
223
+ '--globalColor_14': '#E8E8E8',
224
+ //表格头对应色-1
225
+ '--globalColor_15': '#C1C2CA',
226
+ //表格头线对应色
227
+ '--globalColor_16': '#F5F5F6',
228
+ //内嵌卡片背景
229
+ '--globalColor_17': '#C1C2CA',
230
+ // 时间轴和工位栏颜色
231
+ '--globalColor_roll_gantt-cut-item': '#BABABE',
232
+ // 铸轧甘特图连铸板坯默认颜色
233
+ '--globalColor_table-line': '#f0f0f0',
234
+ // table行分隔线颜色
235
+ '--table-row-hover-bgc': '#ececee',
236
+ // 行hover时背景色
237
+ '--arh-color': 'rgba(0, 0, 0, 0.1)',
238
+ // 列表头拖拽线背景色
239
+ '--tableColor1': '#242A30',
240
+ // 表格字体颜色-1
241
+ '--tableColor2': 'rgba(94, 97, 117, 0.15)',
242
+ // 表格边框颜色
243
+ '--tableColor3': '#5E6175',
244
+ // 表格表头拖拽图标颜色
245
+ '--tableColor4': '#8386957F',
246
+ // 表格筛选区时间选择框分割线颜色
247
+ '--tableColor5': '#DADBDFFF',
248
+ // 表格列设置区拖拽图标颜色
249
+ '--tableColor6': '#5E6175',
250
+ // 表格列设置区列显隐图标颜色
251
+ '--tableColor7': '#F5F6F7',
252
+ // 表格列设置区列表元素边框颜色
253
+ '--tableColor8': '#F5F6F7',
254
+ // 表格列设置区列表元素-hover背景色
255
+ '--tableTooltipBgc': '#243D65',
256
+ // 表格tooltip背景色,#000000bf修改为#243D65
257
+ '--global-desc-text-disabled-color': '#d9d9d9',
258
+ // 全局默认 禁用/选中 字体颜色,#d3e7fa3f修改为#d9d9d9
259
+ '--tableSettingModalBgc': '#FFFFFF',
260
+ // 表格的body的背景底色,#FFFFFFF2修改为#FFFFFF
261
+ '--global-tip-text-color': 'rgba(36,42,48,0.45)',
262
+ '--global-icon-color': '#455169',
263
+ '--global-hover-background-color': '#ebebebf2',
264
+ '--global-hover-box-shadow-color': '#0306211a',
265
+ '--global-disabled-background-color': '#F2F2F2',
266
+ '--global-icon-text-color': '#fff',
267
+ '--global-card-background-color': '#F7F7F8',
268
+ // 卡片、表格body背景色 -1
269
+ '--global-card-effect-background-color': '#E8E8E8',
270
+ '--global-default-text-color': '#242A30',
271
+ '--global-table-max-scrollbar-track': '#E8E8E8'
272
+ }, tableMaxCommonStyleTwo),
273
+ dark: _objectSpread({
274
+ '--global-curd-input-background-color': '#494c5dff',
275
+ '--global-primary-color': '#fa541c',
276
+ '--primaryColor': 'blue',
277
+ '--split-line': '#5E6175',
278
+ '--scrollThumb': '#64748B',
279
+ '--scrollThumbHover': '#1E345B',
280
+ // rgba(255, 255, 255, 0.3)修改为#1E345B
281
+ '--sliderRightBorder': '#3E3B3B',
282
+ '--select-table-row': '#143B76',
283
+ // 表格行选中颜色-1
284
+ // 全局可切换颜色变量
285
+ '--globalColor1': '#FFFFFF',
286
+ '--globalColor2': '#DADBDF',
287
+ '--globalColor3': '#DADBDF',
288
+ '--globalColor4': '#838695',
289
+ '--globalColor5': '#5E6175',
290
+ '--globalColor6': '#363847',
291
+ '--globalColor7': '#101827',
292
+ // 暗色背景色-1
293
+ '--globalColor8': '#05081A',
294
+ // 暗色背景衬托色,#292C3B修改为#05081A
295
+ '--globalColor9': '#2a2d48',
296
+ '--globalColor0': '#1E293B',
297
+ // 表格body背景色-1
298
+ '--globalColor_10': 'rgba(245, 246, 247, 0.1)',
299
+ '--globalColor_11': '#1a1d2e',
300
+ '--globalColor_12': '#5E6175',
301
+ '--globalColor_13': '#5E6175',
302
+ // 甘特图网格线颜色
303
+ '--globalColor_14': '#334155',
304
+ //表格头对应色-1
305
+ '--globalColor_15': '#717385',
306
+ //表格头线对应色
307
+ '--globalColor_16': '#171A2B',
308
+ //内嵌卡片背景
309
+ '--globalColor_17': '#ffffff',
310
+ // 时间轴和工位栏颜色
311
+ '--globalColor_roll_gantt-cut-item': '#9b9ea5',
312
+ // 铸轧甘特图连铸板坯默认颜色
313
+ '--globalColor_table-line': '#373b54',
314
+ // table行分隔线颜色
315
+ '--table-row-hover-bgc': '#33476F',
316
+ // 行hover时背景色,rgb(72,74,87) 修改为 #33476F
317
+ '--arh-color': 'rgba(255, 255, 255, 0.1)',
318
+ // 列表头拖拽线背景色
319
+ '--tableColor1': '#FFFFFF',
320
+ // 表格字体颜色-1
321
+ '--tableColor2': 'rgba(94, 97, 117, 0.4)',
322
+ // 表格边框颜色
323
+ '--tableColor3': '#FFFFFF',
324
+ // 表格表头拖拽图标颜色
325
+ '--tableColor4': '#DADBDF7F',
326
+ // 表格筛选区时间选择框分割线颜色
327
+ '--tableColor5': '#DADBDFFF',
328
+ // 表格列设置区拖拽图标颜色
329
+ '--tableColor6': '#FA541CFF',
330
+ // 表格列设置区列显隐图标颜色
331
+ '--tableColor7': '#1A1D2EFF',
332
+ // 表格列设置区列表元素边框颜色
333
+ '--tableColor8': '#010c31ff',
334
+ // 表格列设置区列表元素-hover背景色,#838695修改为#010c31ff
335
+ '--tableTooltipBgc': '#243D65',
336
+ // 表格tooltip背景色,#5e6175修改为#243D65
337
+ '--global-desc-text-disabled-color': '#d3e7fa3f',
338
+ // 全局默认 禁用/选中 字体颜色
339
+ '--tableSettingModalBgc': '#243D65',
340
+ // 表格的body的背景底色,#0F2347F2修改为#243D65
341
+ '--global-tip-text-color': 'rgba(255,255,255,0.45)',
342
+ // 提醒色/暂无数据颜色/placeholder颜
343
+ '--global-icon-color': '#fff',
344
+ '--global-hover-background-color': '#010C31f2',
345
+ '--global-hover-box-shadow-color': '#03062173',
346
+ '--global-disabled-background-color': '#0F2347',
347
+ '--global-icon-text-color': '#455169',
348
+ '--global-card-background-color': '#1E293B',
349
+ // 卡片、表格body背景色 -1
350
+ '--global-card-effect-background-color': '#1E345B',
351
+ '--global-default-text-color': '#fff',
352
+ '--global-table-max-scrollbar-track': '#334155'
353
+ }, tableMaxCommonStyleTwo)
354
+ };
355
+ export var publicThemeMap = {
356
+ 'DefaultThemePackage': PublicThemeVariablesConfig,
357
+ 'DyImsBlueThemePackage': PublicThemeVariablesConfigTwo
152
358
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arim-aisdc/public-components",
3
- "version": "2.1.14",
3
+ "version": "2.2.0",
4
4
  "description": "前端组件库",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",