@riil-frontend/component-topology 10.0.46 → 10.0.48

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 (37) hide show
  1. package/build/1.js +2 -2
  2. package/build/2.js +1 -1
  3. package/build/index.css +1 -1
  4. package/build/index.js +18 -18
  5. package/es/components/ColorPanel/index.js +1 -1
  6. package/es/components/VerticalIconTab/VerticalIconTab.js +3 -1
  7. package/es/core/components/AlarmListPanel/components/index.module.scss +12 -2
  8. package/es/core/components/AlarmListPanel/index.module.scss +3 -3
  9. package/es/core/components/DisplaySettingDrawer/LineExpandAllRadioGroup.js +9 -12
  10. package/es/core/components/titlebar/TitleBar.module.scss +2 -1
  11. package/es/core/editor/components/Toolbar/widgets/FontColorButton.module.scss +4 -4
  12. package/es/core/editor/components/Toolbar/widgets/FontStyleButton.js +4 -3
  13. package/es/core/editor/components/Toolbar/widgets/Layout/components/LayoutSettings.module.scss +2 -1
  14. package/es/core/editor/components/Toolbar/widgets/WidgetBox.module.scss +5 -4
  15. package/es/core/editor/components/settings/propertyViews/node/data/Data.js +25 -23
  16. package/es/core/models/TopoApp.js +1 -1
  17. package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/BlockBox.module.scss +2 -2
  18. package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/index.module.scss +2 -1
  19. package/es/core/viewer/components/plugins/ResourceDetail/index.module.scss +1 -1
  20. package/es/style.js +1 -0
  21. package/lib/components/ColorPanel/index.js +1 -1
  22. package/lib/components/VerticalIconTab/VerticalIconTab.js +4 -1
  23. package/lib/core/components/AlarmListPanel/components/index.module.scss +12 -2
  24. package/lib/core/components/AlarmListPanel/index.module.scss +3 -3
  25. package/lib/core/components/DisplaySettingDrawer/LineExpandAllRadioGroup.js +10 -12
  26. package/lib/core/components/titlebar/TitleBar.module.scss +2 -1
  27. package/lib/core/editor/components/Toolbar/widgets/FontColorButton.module.scss +4 -4
  28. package/lib/core/editor/components/Toolbar/widgets/FontStyleButton.js +5 -3
  29. package/lib/core/editor/components/Toolbar/widgets/Layout/components/LayoutSettings.module.scss +2 -1
  30. package/lib/core/editor/components/Toolbar/widgets/WidgetBox.module.scss +5 -4
  31. package/lib/core/editor/components/settings/propertyViews/node/data/Data.js +25 -22
  32. package/lib/core/models/TopoApp.js +1 -1
  33. package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/BlockBox.module.scss +2 -2
  34. package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/index.module.scss +2 -1
  35. package/lib/core/viewer/components/plugins/ResourceDetail/index.module.scss +1 -1
  36. package/lib/style.js +1 -0
  37. package/package.json +2 -2
@@ -138,7 +138,7 @@ function ColorPanel(props) {
138
138
 
139
139
  var defaultTrigger =
140
140
  /*#__PURE__*/
141
- //
141
+ //
142
142
  React.createElement("div", {
143
143
  className: styles.swatch,
144
144
  onClick: open
@@ -4,6 +4,7 @@ import _Balloon from "@alifd/next/es/balloon";
4
4
  import React, { useState } from 'react';
5
5
  import classNames from 'classnames';
6
6
  import styles from "./VerticalIconTab.module.scss";
7
+ import variables from '@alifd/theme-19926/variables.js';
7
8
  /**
8
9
  * 自定义标题
9
10
  * @param {*} param0
@@ -27,7 +28,8 @@ function CustomTabItem(_ref) {
27
28
  align: "r" // 解决遮挡下拉浮层问题
28
29
  ,
29
30
  popupStyle: {
30
- zIndex: 1000
31
+ zIndex: 1000,
32
+ color: variables['$color-text1-4']
31
33
  }
32
34
  }, titleTootip);
33
35
  }
@@ -17,20 +17,30 @@
17
17
  word-break: break-all;
18
18
  word-wrap: break-word;
19
19
  white-space: pre-wrap;
20
+ color:$color-text1-4;
20
21
  }
21
22
  .list{
22
23
  flex: 1;
23
24
  }
24
25
  .listLink{
25
26
  font-size: 12px;
26
- color: #4C89FF;
27
+ color: $color-brand1-5;
27
28
  height: 100%;
28
29
  display:flex;
29
30
  :global{
30
31
  a{
31
- color: #4C89FF !important;
32
+ color: $color-brand1-5 !important;
32
33
  align-self: center;
33
34
  }
34
35
  }
35
36
 
37
+ }
38
+ .listLink:hover{
39
+ color: $color-brand1-4;
40
+ :global{
41
+ a:hover{
42
+ color: $color-brand1-4 !important;
43
+ align-self: center;
44
+ }
45
+ }
36
46
  }
@@ -20,7 +20,7 @@
20
20
 
21
21
 
22
22
  .listTitle {
23
- color: #4D6277;
23
+ color: $color-text1-4;
24
24
  font-size: 16px;
25
25
  font-weight: 500;
26
26
  line-height: 20px;
@@ -28,14 +28,14 @@
28
28
 
29
29
  .listTitleLink {
30
30
  font-size: 12px;
31
- color: #4C89FF;
31
+ color: $color-brand1-5;
32
32
  margin-left: 12px;
33
33
  font-weight: 400;
34
34
  line-height: 20px;
35
35
  }
36
36
 
37
37
  .listTitleLink:hover {
38
- color: #75A8FF;
38
+ color: $color-brand1-4;
39
39
  }
40
40
  }
41
41
 
@@ -4,6 +4,7 @@ import _Checkbox from "@alifd/next/es/checkbox";
4
4
  import _Box from "@alifd/next/es/box";
5
5
  import _Radio from "@alifd/next/es/radio";
6
6
  import React, { useEffect, useState, useRef } from 'react';
7
+ import variables from '@alifd/theme-19926/variables.js';
7
8
  import styles from "./ResourceDisplay/CommonCheckboxGroup.module.scss";
8
9
  import { plurals, compatibleWith } from "../../models/utils/linkUtils";
9
10
  var LineExpandAllRadioGroup = /*#__PURE__*/React.forwardRef(function LineExpandAllRadioGroup(props, ref) {
@@ -13,18 +14,14 @@ var LineExpandAllRadioGroup = /*#__PURE__*/React.forwardRef(function LineExpandA
13
14
  onChange = props.onChange,
14
15
  isEdit = props.isEdit;
15
16
 
16
- var _useState = useState(value === 1 ? "0" : "1"),
17
- showType = _useState[0],
18
- setShowType = _useState[1];
19
-
20
- var _useState2 = useState((_plurals$compatibleWi = plurals[compatibleWith(value)]) !== null && _plurals$compatibleWi !== void 0 ? _plurals$compatibleWi : ['phy']),
21
- pluralType = _useState2[0],
22
- setPluralType = _useState2[1];
17
+ var _useState = useState((_plurals$compatibleWi = plurals[compatibleWith(value)]) !== null && _plurals$compatibleWi !== void 0 ? _plurals$compatibleWi : ['phy']),
18
+ pluralType = _useState[0],
19
+ setPluralType = _useState[1];
23
20
 
24
21
  var handleTypeChange = function handleTypeChange(newValue) {
25
22
  setShowType(newValue); // console.log("handleTypeChange---newValue", newValue, pluralType);
26
23
 
27
- if (newValue === "1") {
24
+ if (newValue === '1') {
28
25
  // setPluralType(["phy"]);
29
26
  onChange(creatTypeValue(pluralType));
30
27
  } else {
@@ -53,7 +50,7 @@ var LineExpandAllRadioGroup = /*#__PURE__*/React.forwardRef(function LineExpandA
53
50
  }
54
51
 
55
52
  if (newValue.length === 1) {
56
- v = newValue[0] === "phy" ? 2 : 3;
53
+ v = newValue[0] === 'phy' ? 2 : 3;
57
54
  }
58
55
 
59
56
  if (newValue.length === 0) {
@@ -79,7 +76,7 @@ var LineExpandAllRadioGroup = /*#__PURE__*/React.forwardRef(function LineExpandA
79
76
  value: "0"
80
77
  }, "\u5355\u94FE\u8DEF"), /*#__PURE__*/React.createElement(_Radio, {
81
78
  value: "1"
82
- }, "\u591A\u94FE\u8DEF"))), !isEdit && showType === "1" ? /*#__PURE__*/React.createElement("div", {
79
+ }, "\u591A\u94FE\u8DEF"))), !isEdit && showType === '1' ? /*#__PURE__*/React.createElement("div", {
83
80
  className: styles.contaienr
84
81
  }, /*#__PURE__*/React.createElement("div", {
85
82
  className: styles.checkboxGroupWrapper
@@ -91,7 +88,7 @@ var LineExpandAllRadioGroup = /*#__PURE__*/React.forwardRef(function LineExpandA
91
88
  value: "phy"
92
89
  }, "\u7269\u7406\u94FE\u8DEF"), /*#__PURE__*/React.createElement(_Checkbox, {
93
90
  value: "agg"
94
- }, "\u805A\u5408\u94FE\u8DEF")))) : "");
91
+ }, "\u805A\u5408\u94FE\u8DEF")))) : '');
95
92
  });
96
93
 
97
94
  function Label(props) {
@@ -106,7 +103,7 @@ function Label(props) {
106
103
  size: "xs",
107
104
  style: {
108
105
  lineHeight: '12px',
109
- color: '#4d6277'
106
+ color: variables['$color-text1-4']
110
107
  }
111
108
  }),
112
109
  align: "t"
@@ -23,7 +23,8 @@
23
23
 
24
24
  .title {
25
25
  font-size: 14px;
26
- font-weight: 600;
26
+ font-weight: 700;
27
+ color:$color-text1-8;
27
28
  }
28
29
 
29
30
  .rightTools {
@@ -14,10 +14,10 @@
14
14
  font-size: 12px;
15
15
  font-family: PingFangSC-Regular, PingFang SC;
16
16
  font-weight: 400;
17
- color: #4D6277;
17
+ color: $color-text1-4;
18
18
  line-height: 17px;
19
19
  }
20
-
20
+
21
21
  }
22
22
  .backgroundColor{
23
23
  width: 100%;
@@ -31,7 +31,7 @@
31
31
  color: black;
32
32
  font-family: PingFangSC-Regular, PingFang SC;
33
33
  font-weight: 400;
34
- color: #4D6277;
34
+ color: $color-text1-4;
35
35
  line-height: 17px;
36
36
  }
37
37
  .backOpacity{
@@ -42,4 +42,4 @@
42
42
  flex-direction: row;
43
43
  }
44
44
  }
45
- }
45
+ }
@@ -1,4 +1,5 @@
1
1
  import React, { useState, useEffect } from 'react';
2
+ import variables from '@alifd/theme-19926/variables.js';
2
3
  import { isText } from "../../../../../utils/htElementUtils";
3
4
  import DropdownMenu from "./components/DropdownMenu";
4
5
  import textStyleSettingRouter from "./components/textStyleSetting/textStyleSettingRouter.js";
@@ -69,8 +70,8 @@ function FontStyleButton(props) {
69
70
  setDisabled(getDisabled(fieldDisabled));
70
71
  }, [fieldDisabled]);
71
72
  /**
72
- *
73
- * @param {Array} selectedKeys
73
+ *
74
+ * @param {Array} selectedKeys
74
75
  */
75
76
 
76
77
  var handleSelect = function handleSelect(selectedKeys, item, extra) {
@@ -114,7 +115,7 @@ function FontStyleButton(props) {
114
115
  alt: ""
115
116
  }), /*#__PURE__*/React.createElement("span", {
116
117
  style: fieldDisabled[item.key] ? {} : {
117
- color: '#4d6277'
118
+ color: variables['$color-text1-4']
118
119
  }
119
120
  }, item.label)),
120
121
  align: "r",
@@ -12,7 +12,8 @@
12
12
  :global {
13
13
  .checked {
14
14
  // border: 2px solid $color-brand1-5 !important;
15
- color: #4D6277 !important;
15
+ // color: #4D6277 !important;
16
+ color: $color-text1-4 !important;
16
17
  border-color: #fff !important;
17
18
  background:#F2F7FD !important;
18
19
  }
@@ -1,3 +1,4 @@
1
+ @import '~@alifd/next/variables.scss';
1
2
  .container {
2
3
  margin: 0 6px;
3
4
  display: flex;
@@ -39,8 +40,8 @@
39
40
  margin-top: 4px;
40
41
  font-size: 10px;
41
42
  font-family: Helvetica;
42
- color: #78849C;
43
- line-height: 12px;
43
+ color:$color-text1-6;
44
+ line-height: 14px;
44
45
  text-align: center;
45
46
  }
46
47
 
@@ -49,7 +50,7 @@
49
50
  }
50
51
 
51
52
  .normalLabel {
52
- color: #78849C;
53
+ color: $color-text1-6;
53
54
  }
54
55
 
55
56
  .ButtonBox {
@@ -71,4 +72,4 @@
71
72
  cursor: not-allowed;
72
73
  }
73
74
 
74
- }
75
+ }
@@ -5,7 +5,8 @@ import _extends from "@babel/runtime/helpers/extends";
5
5
  import _Collapse from "@alifd/next/es/collapse";
6
6
  import _Select from "@alifd/next/es/select";
7
7
  import _regeneratorRuntime from "@babel/runtime/regenerator";
8
- import React, { useEffect } from "react";
8
+ import React, { useEffect } from 'react';
9
+ import variables from '@alifd/theme-19926/variables.js';
9
10
  import textStyles from "../../../../../../common/text.module.scss";
10
11
  import NodeRelateResourceButton from "./NodeRelateResourceButton";
11
12
  import PlatformDisplay from "./PlatformDisplay";
@@ -16,10 +17,10 @@ var CollapsePanel = _Collapse.Panel;
16
17
 
17
18
  function parseValues(values) {
18
19
  return _extends({}, values, {
19
- "attrObject.customName": values["attrObject.customName"] || values["attrObject.name"],
20
- "attrObject.bindTopo": values["attrObject.bindTopo"] || "",
20
+ 'attrObject.customName': values['attrObject.customName'] || values['attrObject.name'],
21
+ 'attrObject.bindTopo': values['attrObject.bindTopo'] || '',
21
22
  // 解决切换节点时关联拓扑选项未重置
22
- "attrObject.bindIp": values["attrObject.bindIp"] || ""
23
+ 'attrObject.bindIp': values['attrObject.bindIp'] || ''
23
24
  });
24
25
  }
25
26
 
@@ -28,11 +29,11 @@ function getBindType(values) {
28
29
  return values.attrObject.bindType;
29
30
  }
30
31
 
31
- if (values.tag && !values.tag.startsWith("ip:")) {
32
- return "resource";
32
+ if (values.tag && !values.tag.startsWith('ip:')) {
33
+ return 'resource';
33
34
  }
34
35
 
35
- return "none";
36
+ return 'none';
36
37
  }
37
38
 
38
39
  export default function Data(props) {
@@ -66,11 +67,11 @@ export default function Data(props) {
66
67
  var setBindType = function setBindType(newBindType) {
67
68
  topo.historyManager.beginTransaction();
68
69
 
69
- _onChange("attrObject.bindType", newBindType);
70
+ _onChange('attrObject.bindType', newBindType);
70
71
 
71
72
  topo.historyManager.endTransaction();
72
73
 
73
- if (newBindType === "topo") {//
74
+ if (newBindType === 'topo') {//
74
75
  }
75
76
  };
76
77
 
@@ -82,8 +83,8 @@ export default function Data(props) {
82
83
  case 0:
83
84
  topo.historyManager.beginTransaction(); // 设置名称为拓扑名称,清空自定义名称
84
85
 
85
- node.a("name", data.label);
86
- node.a("customName", null);
86
+ node.a('name', data.label);
87
+ node.a('customName', null);
87
88
  _context.next = 5;
88
89
  return topoEditApi.deleteExLink(node);
89
90
 
@@ -105,9 +106,9 @@ export default function Data(props) {
105
106
 
106
107
  var RelateTopoTree = editorProps === null || editorProps === void 0 ? void 0 : editorProps.relateTopoTree;
107
108
  return /*#__PURE__*/React.createElement(_Collapse, {
108
- defaultExpandedKeys: ["相关资源"],
109
+ defaultExpandedKeys: ['相关资源'],
109
110
  style: {
110
- border: "none"
111
+ border: 'none'
111
112
  }
112
113
  }, /*#__PURE__*/React.createElement(CollapsePanel, {
113
114
  key: "\u76F8\u5173\u8D44\u6E90",
@@ -115,13 +116,13 @@ export default function Data(props) {
115
116
  }, /*#__PURE__*/React.createElement(_Form, {
116
117
  field: field,
117
118
  labelAlign: "top"
118
- }, (!values.tag || bindType === "ip") && /*#__PURE__*/React.createElement(_Form.Item, {
119
+ }, (!values.tag || bindType === 'ip') && /*#__PURE__*/React.createElement(_Form.Item, {
119
120
  label: "\u5173\u8054\u7C7B\u578B"
120
121
  }, /*#__PURE__*/React.createElement(_Select, {
121
122
  name: "bindType",
122
123
  value: bindType,
123
124
  style: {
124
- width: "100%",
125
+ width: '100%',
125
126
  marginRight: 8
126
127
  },
127
128
  onChange: setBindType
@@ -133,28 +134,29 @@ export default function Data(props) {
133
134
  value: "ip"
134
135
  }, "\u5173\u8054IP"), RelateTopoTree && /*#__PURE__*/React.createElement(Option, {
135
136
  value: "topo"
136
- }, "\u5173\u8054\u62D3\u6251"))), bindType === "resource" && /*#__PURE__*/React.createElement(_Form.Item, {
137
+ }, "\u5173\u8054\u62D3\u6251"))), bindType === 'resource' && /*#__PURE__*/React.createElement(_Form.Item, {
137
138
  label: "\u5173\u8054\u8D44\u6E90"
138
139
  }, /*#__PURE__*/React.createElement("div", {
139
140
  style: {
140
- display: "flex"
141
+ display: 'flex'
141
142
  }
142
143
  }, /*#__PURE__*/React.createElement("div", {
143
144
  className: textStyles.textEllipsis,
144
145
  style: {
145
146
  flex: 1,
146
147
  paddingRight: 16,
147
- color: "#4D6277",
148
- lineHeight: "20px"
148
+ color: variables['$color-text1-4'],
149
+ // color: '#4D6277',
150
+ lineHeight: '20px'
149
151
  },
150
152
  title: values.tag ? values.name : null
151
- }, values.tag ? values.name : ""), /*#__PURE__*/React.createElement(NodeRelateResourceButton, {
153
+ }, values.tag ? values.name : ''), /*#__PURE__*/React.createElement(NodeRelateResourceButton, {
152
154
  nodeElement: node,
153
155
  node: values,
154
156
  topo: topo,
155
157
  topoEditApi: topoEditApi,
156
158
  nodeBindResourceDrawerComponent: editorProps.nodeBindResourceDrawerComponent
157
- }))), bindType === "ip" &&
159
+ }))), bindType === 'ip' &&
158
160
  /*#__PURE__*/
159
161
  // <Form.Item
160
162
  // label="关联IP"
@@ -176,13 +178,13 @@ export default function Data(props) {
176
178
  onChange: _onChange,
177
179
  maxLength: 128
178
180
  }) // </Form.Item>
179
- , bindType === "topo" && RelateTopoTree && /*#__PURE__*/React.createElement(_Form.Item, {
181
+ , bindType === 'topo' && RelateTopoTree && /*#__PURE__*/React.createElement(_Form.Item, {
180
182
  label: "\u5173\u8054\u62D3\u6251"
181
183
  }, /*#__PURE__*/React.createElement(RelateTopoTree, {
182
184
  name: "attrObject.bindTopo",
183
185
  topo: topo,
184
186
  onChange: handleBindTopoChange
185
- })), (editorProps === null || editorProps === void 0 ? void 0 : editorProps.topoType) === "cmpTopo" && node.getTag() && /*#__PURE__*/React.createElement(_Form.Item, {
187
+ })), (editorProps === null || editorProps === void 0 ? void 0 : editorProps.topoType) === 'cmpTopo' && node.getTag() && /*#__PURE__*/React.createElement(_Form.Item, {
186
188
  label: "\u6240\u5C5E\u5E73\u53F0"
187
189
  }, /*#__PURE__*/React.createElement(PlatformDisplay, props)))));
188
190
  }
@@ -24,7 +24,7 @@ import ElementTagTipConfig from "./tagstips/ElementTagTipConfig";
24
24
  import SelectionModel from "./SelectionModel";
25
25
  import CiCache from "./cache/CiCache"; // eslint-disable-next-line no-undef
26
26
 
27
- var version = typeof "10.0.46" === 'string' ? "10.0.46" : null;
27
+ var version = typeof "10.0.48" === 'string' ? "10.0.48" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -12,8 +12,8 @@
12
12
  flex: 1;
13
13
  height: 20px;
14
14
  font-size: 14px;
15
- font-weight: 600;
16
- color: #4d6277;
15
+ font-weight: 700;
16
+ color: $color-text1-8;
17
17
  :global {
18
18
  .#{$css-prefix}divider-ver {
19
19
  height: 1em;
@@ -21,13 +21,14 @@
21
21
  line-height: 22px;
22
22
  .label {
23
23
  white-space: nowrap;
24
+ color:$color-text1-6;
24
25
  }
25
26
  .content {
26
27
  flex: 1;
27
28
  overflow: hidden;
28
29
  text-overflow: ellipsis;
29
30
  white-space: nowrap;
30
- color: #4d6277;
31
+ color: $color-text1-4;
31
32
  .link {
32
33
  width: 100%;
33
34
  display: block;
@@ -30,7 +30,7 @@
30
30
  .drawer-title{
31
31
  font-size: 16px;
32
32
  font-weight: 500;
33
- color: #4D6277;
33
+ color: $color-text1-8;
34
34
  }
35
35
  :global {
36
36
  .#{$css-prefix}drawer-body {
package/es/style.js CHANGED
@@ -31,6 +31,7 @@ import '@riil-frontend/component-common-res-list/es/style';
31
31
  import '@alifd/next/es/balloon/style';
32
32
  import '@alifd/next/es/menu/style';
33
33
  import '@alifd/next/es/dropdown/style';
34
+
34
35
  import '@alifd/next/es/range/style';
35
36
  import '@alifd/next/es/radio/style';
36
37
  import '@alifd/next/es/tag/style';
@@ -155,7 +155,7 @@ function ColorPanel(props) {
155
155
 
156
156
  var defaultTrigger =
157
157
  /*#__PURE__*/
158
- //
158
+ //
159
159
  _react["default"].createElement("div", {
160
160
  className: _indexModule["default"].swatch,
161
161
  onClick: open
@@ -17,6 +17,8 @@ var _classnames = _interopRequireDefault(require("classnames"));
17
17
 
18
18
  var _VerticalIconTabModule = _interopRequireDefault(require("./VerticalIconTab.module.scss"));
19
19
 
20
+ var _variables = _interopRequireDefault(require("@alifd/theme-19926/variables.js"));
21
+
20
22
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
23
 
22
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -45,7 +47,8 @@ function CustomTabItem(_ref) {
45
47
  align: "r" // 解决遮挡下拉浮层问题
46
48
  ,
47
49
  popupStyle: {
48
- zIndex: 1000
50
+ zIndex: 1000,
51
+ color: _variables["default"]['$color-text1-4']
49
52
  }
50
53
  }, titleTootip);
51
54
  }
@@ -17,20 +17,30 @@
17
17
  word-break: break-all;
18
18
  word-wrap: break-word;
19
19
  white-space: pre-wrap;
20
+ color:$color-text1-4;
20
21
  }
21
22
  .list{
22
23
  flex: 1;
23
24
  }
24
25
  .listLink{
25
26
  font-size: 12px;
26
- color: #4C89FF;
27
+ color: $color-brand1-5;
27
28
  height: 100%;
28
29
  display:flex;
29
30
  :global{
30
31
  a{
31
- color: #4C89FF !important;
32
+ color: $color-brand1-5 !important;
32
33
  align-self: center;
33
34
  }
34
35
  }
35
36
 
37
+ }
38
+ .listLink:hover{
39
+ color: $color-brand1-4;
40
+ :global{
41
+ a:hover{
42
+ color: $color-brand1-4 !important;
43
+ align-self: center;
44
+ }
45
+ }
36
46
  }
@@ -20,7 +20,7 @@
20
20
 
21
21
 
22
22
  .listTitle {
23
- color: #4D6277;
23
+ color: $color-text1-4;
24
24
  font-size: 16px;
25
25
  font-weight: 500;
26
26
  line-height: 20px;
@@ -28,14 +28,14 @@
28
28
 
29
29
  .listTitleLink {
30
30
  font-size: 12px;
31
- color: #4C89FF;
31
+ color: $color-brand1-5;
32
32
  margin-left: 12px;
33
33
  font-weight: 400;
34
34
  line-height: 20px;
35
35
  }
36
36
 
37
37
  .listTitleLink:hover {
38
- color: #75A8FF;
38
+ color: $color-brand1-4;
39
39
  }
40
40
  }
41
41
 
@@ -17,6 +17,8 @@ var _radio = _interopRequireDefault(require("@alifd/next/lib/radio"));
17
17
 
18
18
  var _react = _interopRequireWildcard(require("react"));
19
19
 
20
+ var _variables = _interopRequireDefault(require("@alifd/theme-19926/variables.js"));
21
+
20
22
  var _CommonCheckboxGroupModule = _interopRequireDefault(require("./ResourceDisplay/CommonCheckboxGroup.module.scss"));
21
23
 
22
24
  var _linkUtils = require("../../models/utils/linkUtils");
@@ -32,18 +34,14 @@ var LineExpandAllRadioGroup = /*#__PURE__*/_react["default"].forwardRef(function
32
34
  onChange = props.onChange,
33
35
  isEdit = props.isEdit;
34
36
 
35
- var _useState = (0, _react.useState)(value === 1 ? "0" : "1"),
36
- showType = _useState[0],
37
- setShowType = _useState[1];
38
-
39
- var _useState2 = (0, _react.useState)((_plurals$compatibleWi = _linkUtils.plurals[(0, _linkUtils.compatibleWith)(value)]) !== null && _plurals$compatibleWi !== void 0 ? _plurals$compatibleWi : ['phy']),
40
- pluralType = _useState2[0],
41
- setPluralType = _useState2[1];
37
+ var _useState = (0, _react.useState)((_plurals$compatibleWi = _linkUtils.plurals[(0, _linkUtils.compatibleWith)(value)]) !== null && _plurals$compatibleWi !== void 0 ? _plurals$compatibleWi : ['phy']),
38
+ pluralType = _useState[0],
39
+ setPluralType = _useState[1];
42
40
 
43
41
  var handleTypeChange = function handleTypeChange(newValue) {
44
42
  setShowType(newValue); // console.log("handleTypeChange---newValue", newValue, pluralType);
45
43
 
46
- if (newValue === "1") {
44
+ if (newValue === '1') {
47
45
  // setPluralType(["phy"]);
48
46
  onChange(creatTypeValue(pluralType));
49
47
  } else {
@@ -72,7 +70,7 @@ var LineExpandAllRadioGroup = /*#__PURE__*/_react["default"].forwardRef(function
72
70
  }
73
71
 
74
72
  if (newValue.length === 1) {
75
- v = newValue[0] === "phy" ? 2 : 3;
73
+ v = newValue[0] === 'phy' ? 2 : 3;
76
74
  }
77
75
 
78
76
  if (newValue.length === 0) {
@@ -98,7 +96,7 @@ var LineExpandAllRadioGroup = /*#__PURE__*/_react["default"].forwardRef(function
98
96
  value: "0"
99
97
  }, "\u5355\u94FE\u8DEF"), /*#__PURE__*/_react["default"].createElement(_radio["default"], {
100
98
  value: "1"
101
- }, "\u591A\u94FE\u8DEF"))), !isEdit && showType === "1" ? /*#__PURE__*/_react["default"].createElement("div", {
99
+ }, "\u591A\u94FE\u8DEF"))), !isEdit && showType === '1' ? /*#__PURE__*/_react["default"].createElement("div", {
102
100
  className: _CommonCheckboxGroupModule["default"].contaienr
103
101
  }, /*#__PURE__*/_react["default"].createElement("div", {
104
102
  className: _CommonCheckboxGroupModule["default"].checkboxGroupWrapper
@@ -110,7 +108,7 @@ var LineExpandAllRadioGroup = /*#__PURE__*/_react["default"].forwardRef(function
110
108
  value: "phy"
111
109
  }, "\u7269\u7406\u94FE\u8DEF"), /*#__PURE__*/_react["default"].createElement(_checkbox["default"], {
112
110
  value: "agg"
113
- }, "\u805A\u5408\u94FE\u8DEF")))) : "");
111
+ }, "\u805A\u5408\u94FE\u8DEF")))) : '');
114
112
  });
115
113
 
116
114
  function Label(props) {
@@ -125,7 +123,7 @@ function Label(props) {
125
123
  size: "xs",
126
124
  style: {
127
125
  lineHeight: '12px',
128
- color: '#4d6277'
126
+ color: _variables["default"]['$color-text1-4']
129
127
  }
130
128
  }),
131
129
  align: "t"
@@ -23,7 +23,8 @@
23
23
 
24
24
  .title {
25
25
  font-size: 14px;
26
- font-weight: 600;
26
+ font-weight: 700;
27
+ color:$color-text1-8;
27
28
  }
28
29
 
29
30
  .rightTools {
@@ -14,10 +14,10 @@
14
14
  font-size: 12px;
15
15
  font-family: PingFangSC-Regular, PingFang SC;
16
16
  font-weight: 400;
17
- color: #4D6277;
17
+ color: $color-text1-4;
18
18
  line-height: 17px;
19
19
  }
20
-
20
+
21
21
  }
22
22
  .backgroundColor{
23
23
  width: 100%;
@@ -31,7 +31,7 @@
31
31
  color: black;
32
32
  font-family: PingFangSC-Regular, PingFang SC;
33
33
  font-weight: 400;
34
- color: #4D6277;
34
+ color: $color-text1-4;
35
35
  line-height: 17px;
36
36
  }
37
37
  .backOpacity{
@@ -42,4 +42,4 @@
42
42
  flex-direction: row;
43
43
  }
44
44
  }
45
- }
45
+ }