tntd 1.3.56 → 1.3.60
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/babel.config.js +2 -2
- package/components/Layout/OrgAppList.js +1 -1
- package/components/QueryListScene/List.js +17 -13
- package/lib/0645cf743e4e44ca9da321d689897f07.png +0 -0
- package/lib/09db77de0c24fa0f45f8a5cf299a3d11.png +0 -0
- package/lib/1d0b52448de217857b270af807e9360d.png +0 -0
- package/lib/25d78d77c9c2f0d403e5d899ceb5b1ef.png +0 -0
- package/lib/27fa44ff0c98e1594d79b73045aabedf.png +0 -0
- package/lib/2c95075adb68d6131b59cae9fa554ec2.png +0 -0
- package/lib/377c871d922a25c773a9e7c2f42ed7c0.png +0 -0
- package/lib/3d901589b40bd56ff1fde2bbb700bfe1.png +0 -0
- package/lib/4abe481e130d7be0574e45573de8beb7.png +0 -0
- package/lib/95ee2260a509cd630d89c5367ed1973b.png +0 -0
- package/lib/ArrayInput/icon.js +31 -27
- package/lib/ArrayInput/index.js +298 -211
- package/lib/AuthContext.js +13 -2
- package/lib/BlockHeader/README.md +83 -0
- package/lib/BlockHeader/fonts/OswaldLight.ttf +0 -0
- package/lib/BlockHeader/index.js +42 -0
- package/lib/BlockHeader/index.less +141 -0
- package/lib/Columns/index.js +100 -71
- package/lib/DevelopmentLogin/LoginModal.js +141 -79
- package/lib/DevelopmentLogin/index.js +55 -28
- package/lib/Ellipsis/Svg/CopySVG.js +71 -23
- package/lib/Ellipsis/Svg/TickSVG.js +49 -17
- package/lib/Ellipsis/index.js +155 -149
- package/lib/Handle/index.js +109 -72
- package/lib/Icon/fonts/iconfont.js +43 -1
- package/lib/Icon/iconList.js +8 -119
- package/lib/Icon/index.js +45 -13
- package/lib/Img/Contain.js +81 -49
- package/lib/Img/Cover.js +136 -88
- package/lib/Img/index.js +89 -36
- package/lib/Layout/ActionsContext.js +11 -2
- package/lib/Layout/AppList.js +256 -262
- package/lib/Layout/Application.js +135 -119
- package/lib/Layout/Avatar.js +137 -137
- package/lib/Layout/CompatibleLanguage.js +195 -214
- package/lib/Layout/EnterpriseLayout/Avatar.js +168 -156
- package/lib/Layout/EnterpriseLayout/Language.js +100 -75
- package/lib/Layout/EnterpriseLayout/Theme.js +94 -96
- package/lib/Layout/EnterpriseLayout/index.js +45 -32
- package/lib/Layout/GlobalNavigation/NavigationPopup.js +407 -335
- package/lib/Layout/GlobalNavigation/index.js +158 -110
- package/lib/Layout/Header.js +116 -165
- package/lib/Layout/HeaderActions.js +129 -170
- package/lib/Layout/HeaderNavs.js +113 -90
- package/lib/Layout/HeaderTabs.js +278 -312
- package/lib/Layout/Iconfont.js +15 -2
- package/lib/Layout/Language.js +102 -63
- package/lib/Layout/Layout.js +261 -272
- package/lib/Layout/Logo.js +87 -132
- package/lib/Layout/OrgAppList.js +319 -440
- package/lib/Layout/SideMenu.js +343 -429
- package/lib/Layout/Theme.js +124 -95
- package/lib/Layout/checkAuth.js +35 -21
- package/lib/Layout/createActions.js +51 -38
- package/lib/Layout/images/index.js +41 -33
- package/lib/Layout/index.js +161 -110
- package/lib/Layout/locale.js +53 -0
- package/lib/Layout/paaslayout/CompactSideMenu.js +178 -200
- package/lib/Layout/paaslayout/Header.js +90 -84
- package/lib/Layout/paaslayout/Logo.js +32 -27
- package/lib/Layout/paaslayout/SideMenu.js +174 -161
- package/lib/Layout/paaslayout/index.js +261 -240
- package/lib/Layout/paaslayout/index.less +75 -0
- package/lib/Layout/storage.js +78 -20
- package/lib/Layout/utils.js +143 -93
- package/lib/LoadingButton/index.js +57 -29
- package/lib/Modal/index.js +108 -83
- package/lib/Page/Box.js +81 -56
- package/lib/Page/index.js +173 -151
- package/lib/Page/utils.js +30 -12
- package/lib/QueryForm/Field/Checkbox.js +33 -11
- package/lib/QueryForm/Field/Select.js +99 -63
- package/lib/QueryForm/Field/SelectInput.js +114 -69
- package/lib/QueryForm/Field/fieldsMap.js +52 -30
- package/lib/QueryForm/Field/index.js +156 -75
- package/lib/QueryForm/createActions.js +65 -50
- package/lib/QueryForm/index.js +382 -303
- package/lib/QueryForm/useForm.js +17 -6
- package/lib/QueryListScene/Field/SelectInput.js +115 -0
- package/lib/QueryListScene/Field/fieldsMap.js +52 -0
- package/lib/QueryListScene/Field/index.js +159 -0
- package/lib/QueryListScene/Field/select.js +100 -0
- package/lib/QueryListScene/List.js +362 -285
- package/lib/QueryListScene/QueryForm/index.js +423 -0
- package/lib/QueryListScene/QueryForm/index.less +141 -0
- package/lib/QueryListScene/QueryForm.js +159 -91
- package/lib/QueryListScene/QueryListScene.js +87 -33
- package/lib/QueryListScene/Title.js +20 -10
- package/lib/QueryListScene/Toolbar.js +31 -8
- package/lib/QueryListScene/createActions.js +79 -64
- package/lib/QueryListScene/index.js +40 -23
- package/lib/QueryListScene/useActions.js +17 -6
- package/lib/Select/DropDownWrap.js +124 -60
- package/lib/Select/index.js +563 -426
- package/lib/Table/ResizableTable/index.js +121 -77
- package/lib/Table/index.js +51 -19
- package/lib/Title/index.js +52 -34
- package/lib/b9dd5ff3622296fbee51ed68f4bca1bf.png +0 -0
- package/lib/bd2921989f9296089ba58efb7a76f3ef.png +0 -0
- package/lib/index.html +6 -0
- package/lib/index.js +159 -19
- package/lib/locale.js +63 -48
- package/lib/main.css +16420 -0
- package/lib/tntd.js +2 -0
- package/lib/tntd.js.LICENSE.txt +36 -0
- package/package.json +2 -2
package/lib/Layout/Theme.js
CHANGED
|
@@ -1,98 +1,127 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
require("antd/es/popover/style");
|
|
9
|
+
|
|
10
|
+
var _popover = _interopRequireDefault(require("antd/es/popover"));
|
|
11
|
+
|
|
12
|
+
var _react = require("react");
|
|
13
|
+
|
|
14
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
15
|
+
|
|
16
|
+
var _Iconfont = _interopRequireDefault(require("./Iconfont"));
|
|
17
|
+
|
|
18
|
+
var _images = _interopRequireDefault(require("./images"));
|
|
19
|
+
|
|
20
|
+
var _storage = require("./storage");
|
|
21
|
+
|
|
22
|
+
var _this = void 0;
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
+
|
|
26
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
|
27
|
+
|
|
28
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
|
|
29
|
+
|
|
30
|
+
function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
31
|
+
|
|
32
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
33
|
+
|
|
34
|
+
function _templateObject3() {
|
|
35
|
+
var data = _taggedTemplateLiteral(["\n z-index: 1;\n background-color: #fff;\n border-radius: 4px;\n width: 156px;\n"]);
|
|
36
|
+
|
|
37
|
+
_templateObject3 = function _templateObject3() {
|
|
38
|
+
return data;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
return data;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function _templateObject2() {
|
|
45
|
+
var data = _taggedTemplateLiteral(["\n & > div {\n position: relative;\n display: inline-block;\n cursor: pointer;\n &:first-child {\n margin-right: 10px;\n }\n &:last-child {\n margin-left: 10px;\n }\n & > i, & > .tnt-icon {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n"]);
|
|
46
|
+
|
|
47
|
+
_templateObject2 = function _templateObject2() {
|
|
48
|
+
return data;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
return data;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function _templateObject() {
|
|
55
|
+
var data = _taggedTemplateLiteral(["\n margin-left: 20px;\n font-size: 20px;\n .tnt-themeS1 & {\n /* color: rgba(255,255,255,.85); */\n }\n .isInIframe & {\n display: none;\n }\n"]);
|
|
56
|
+
|
|
57
|
+
_templateObject = function _templateObject() {
|
|
58
|
+
return data;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
return data;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
65
|
+
|
|
66
|
+
var Theme = _styledComponents["default"].li(_templateObject());
|
|
67
|
+
|
|
68
|
+
var ThemeSwitch = _styledComponents["default"].div(_templateObject2());
|
|
69
|
+
|
|
70
|
+
var ThemeContentWrapper = _styledComponents["default"].div(_templateObject3());
|
|
71
|
+
|
|
72
|
+
var themes = [{
|
|
73
|
+
value: 'themeS1',
|
|
74
|
+
img: _images["default"].themeSymbol1
|
|
75
|
+
}, {
|
|
76
|
+
value: 'themeS2',
|
|
77
|
+
img: _images["default"].themeSymbol2
|
|
78
|
+
}];
|
|
79
|
+
|
|
80
|
+
var ThemeContent = function ThemeContent(props) {
|
|
81
|
+
var onChange = props.onChange;
|
|
82
|
+
|
|
83
|
+
var getTheme = function getTheme() {
|
|
84
|
+
var theme = (0, _storage.getThemeStore)() || props.theme || 'themeS2';
|
|
85
|
+
return themes.some(function (_ref) {
|
|
86
|
+
var value = _ref.value;
|
|
87
|
+
return value === theme;
|
|
88
|
+
}) ? theme : 'themeS2';
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
var _useState = (0, _react.useState)(getTheme()),
|
|
92
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
93
|
+
theme = _useState2[0],
|
|
94
|
+
setTheme = _useState2[1];
|
|
95
|
+
|
|
96
|
+
var changeTheme = function changeTheme(theme) {
|
|
97
|
+
setTheme(theme);
|
|
98
|
+
(0, _storage.setThemeStore)(theme);
|
|
99
|
+
onChange(theme);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
return React.createElement(ThemeContentWrapper, null, React.createElement(ThemeSwitch, null, themes.map(function (_ref2) {
|
|
103
|
+
var value = _ref2.value,
|
|
104
|
+
img = _ref2.img;
|
|
105
|
+
return React.createElement("div", {
|
|
106
|
+
key: value,
|
|
107
|
+
onClick: changeTheme.bind(_this, value)
|
|
108
|
+
}, React.createElement("img", {
|
|
109
|
+
src: img
|
|
110
|
+
}), theme === value && React.createElement(_Iconfont["default"], {
|
|
111
|
+
type: "check1"
|
|
112
|
+
}));
|
|
113
|
+
})));
|
|
83
114
|
};
|
|
84
115
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<Iconfont type="change-theme" />
|
|
95
|
-
</Popover>
|
|
96
|
-
</Theme>
|
|
97
|
-
);
|
|
116
|
+
var _default = function _default(props) {
|
|
117
|
+
return React.createElement(Theme, null, React.createElement(_popover["default"], {
|
|
118
|
+
placement: "bottomRight",
|
|
119
|
+
title: null,
|
|
120
|
+
content: React.createElement(ThemeContent, props),
|
|
121
|
+
trigger: "click"
|
|
122
|
+
}, React.createElement(_Iconfont["default"], {
|
|
123
|
+
type: "change-theme"
|
|
124
|
+
})));
|
|
98
125
|
};
|
|
126
|
+
|
|
127
|
+
exports["default"] = _default;
|
package/lib/Layout/checkAuth.js
CHANGED
|
@@ -1,25 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
if (groupName) {
|
|
8
|
-
return getAuthMap(children, acc);
|
|
9
|
-
} else {
|
|
10
|
-
acc[code] = acc[code] || {};
|
|
11
|
-
acc[code] = (functionList || []).reduce((acc, curFunc) => {
|
|
12
|
-
acc[curFunc.code] = curFunc.hasPermission;
|
|
13
|
-
return acc;
|
|
14
|
-
}, acc[code]);
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
15
7
|
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
authMap
|
|
20
|
-
);
|
|
21
|
-
};
|
|
22
|
-
const authMap = getAuthMap(menus);
|
|
8
|
+
var _lodash = require("lodash");
|
|
23
9
|
|
|
24
|
-
|
|
10
|
+
var _default = function _default(menus) {
|
|
11
|
+
var getAuthMap = function getAuthMap() {
|
|
12
|
+
var menus = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
13
|
+
var authMap = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
14
|
+
return menus.reduce(function (acc, _ref) {
|
|
15
|
+
var code = _ref.code,
|
|
16
|
+
groupName = _ref.groupName,
|
|
17
|
+
functionList = _ref.functionList,
|
|
18
|
+
children = _ref.children;
|
|
19
|
+
|
|
20
|
+
if (groupName) {
|
|
21
|
+
return getAuthMap(children, acc);
|
|
22
|
+
} else {
|
|
23
|
+
acc[code] = acc[code] || {};
|
|
24
|
+
acc[code] = (functionList || []).reduce(function (acc, curFunc) {
|
|
25
|
+
acc[curFunc.code] = curFunc.hasPermission;
|
|
26
|
+
return acc;
|
|
27
|
+
}, acc[code]);
|
|
28
|
+
return acc;
|
|
29
|
+
}
|
|
30
|
+
}, authMap);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
var authMap = getAuthMap(menus);
|
|
34
|
+
return function (menuCode, funCode) {
|
|
35
|
+
return !!(0, _lodash.get)(authMap, "".concat(menuCode).concat(funCode ? ".".concat(funCode) : ''));
|
|
36
|
+
};
|
|
25
37
|
};
|
|
38
|
+
|
|
39
|
+
exports["default"] = _default;
|
|
@@ -1,39 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _eventemitter = _interopRequireDefault(require("eventemitter3"));
|
|
9
|
+
|
|
10
|
+
var _locale = require("../locale");
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
var _default = function _default(params) {
|
|
15
|
+
var eventEmitter = new _eventemitter["default"]();
|
|
16
|
+
var data = {
|
|
17
|
+
language: (params == null ? void 0 : params.language) || 'cn',
|
|
18
|
+
selectedMenuKey: null
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
setData: function setData(key, val) {
|
|
22
|
+
set(data, key, val);
|
|
23
|
+
},
|
|
24
|
+
setSelectedMenuKey: function setSelectedMenuKey(menuKey) {
|
|
25
|
+
data.selectedMenuKey = menuKey;
|
|
26
|
+
},
|
|
27
|
+
getSelectedMenuKey: function getSelectedMenuKey() {
|
|
28
|
+
return data.selectedMenuKey;
|
|
29
|
+
},
|
|
30
|
+
getLanguage: function getLanguage() {
|
|
31
|
+
return data.language;
|
|
32
|
+
},
|
|
33
|
+
setLanguage: function setLanguage(language) {
|
|
34
|
+
return data.language = language;
|
|
35
|
+
},
|
|
36
|
+
getText: function getText(key) {
|
|
37
|
+
var language = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : data.language;
|
|
38
|
+
return (0, _locale.getText)(key, language);
|
|
39
|
+
},
|
|
40
|
+
on: function on(eventName, callback) {
|
|
41
|
+
eventEmitter.on(eventName, callback);
|
|
42
|
+
},
|
|
43
|
+
emit: function emit() {
|
|
44
|
+
eventEmitter.emit.apply(eventEmitter, arguments);
|
|
45
|
+
},
|
|
46
|
+
off: function off() {
|
|
47
|
+
eventEmitter.removeListener.apply(eventEmitter, arguments);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
39
50
|
};
|
|
51
|
+
|
|
52
|
+
exports["default"] = _default;
|
|
@@ -1,38 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
// theme
|
|
3
|
-
themeSymbol1: require('./theme/theme1.svg'),
|
|
4
|
-
themeSymbol2: require('./theme/theme2.svg'),
|
|
1
|
+
"use strict";
|
|
5
2
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.logoImgMap = exports.defaultLogo = exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
// theme
|
|
9
|
+
themeSymbol1: require('./theme/theme1.svg'),
|
|
10
|
+
themeSymbol2: require('./theme/theme2.svg'),
|
|
11
|
+
// Avatar
|
|
12
|
+
empty: require('./avatar/empty.png'),
|
|
13
|
+
female1: require('./avatar/female1.png'),
|
|
14
|
+
female2: require('./avatar/female2.png'),
|
|
15
|
+
female3: require('./avatar/female3.png'),
|
|
16
|
+
female4: require('./avatar/female4.png'),
|
|
17
|
+
female5: require('./avatar/female5.png'),
|
|
18
|
+
female6: require('./avatar/female6.png'),
|
|
19
|
+
male1: require('./avatar/male1.png'),
|
|
20
|
+
male2: require('./avatar/male2.png'),
|
|
21
|
+
male3: require('./avatar/male3.png'),
|
|
22
|
+
male4: require('./avatar/male4.png'),
|
|
23
|
+
male5: require('./avatar/male5.png'),
|
|
24
|
+
male6: require('./avatar/male6.png')
|
|
20
25
|
};
|
|
26
|
+
exports["default"] = _default;
|
|
21
27
|
|
|
22
|
-
|
|
28
|
+
var defaultLogo = require('./logo/default.svg');
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
exports.defaultLogo = defaultLogo;
|
|
31
|
+
var logoImgMap = {
|
|
32
|
+
"default": defaultLogo,
|
|
33
|
+
bridge: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMDI0IDEwMjQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDpub25lO3N0cm9rZTojMTJEMDkzO3N0cm9rZS13aWR0aDoyMDtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9Cgkuc3Qxe2ZpbGw6I0ZGQTMwMDt9Cgkuc3Qye2ZpbGw6IzNDODFGRjt9Cgkuc3Qze2ZpbGw6IzBBQ0M4Njt9Cgkuc3Q0e2ZpbGw6IzNEREFGRjt9Cjwvc3R5bGU+CjxnPgoJPGc+CgkJPHBhdGggY2xhc3M9InN0MCIgZD0iTTUxMiw1MTIiLz4KCTwvZz4KPC9nPgo8Zz4KCTxnPgoJCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik01MTIsNTEyIi8+Cgk8L2c+CjwvZz4KPGc+Cgk8Zz4KCQk8cGF0aCBjbGFzcz0ic3QxIiBkPSJNMTEzLjQsNTQ0Yy0yOSwwLTU4LTExLjEtODAuMi0zMy4yYy00NC4zLTQ0LjMtNDQuMy0xMTYuMSwwLTE2MC40TDM1MC40LDMzLjJjNDQuMy00NC4zLDExNi4xLTQ0LjMsMTYwLjQsMAoJCQlzNDQuMywxMTYuMSwwLDE2MC40TDE5My42LDUxMC44QzE3MS40LDUzMywxNDIuNCw1NDQsMTEzLjQsNTQ0eiIvPgoJPC9nPgoJPGc+CgkJPHBhdGggY2xhc3M9InN0MiIgZD0iTTIwMS40LDkzNi41Yy0yOSwwLTU4LTExLjEtODAuMi0zMy4yYy00NC4zLTQ0LjMtNDQuMy0xMTYuMSwwLTE2MC40bDYyMS43LTYyMS43CgkJCWM0NC4zLTQ0LjMsMTE2LjEtNDQuMywxNjAuNCwwYzQ0LjMsNDQuMyw0NC4zLDExNi4xLDAsMTYwLjRMMjgxLjYsOTAzLjNDMjU5LjQsOTI1LjQsMjMwLjQsOTM2LjUsMjAxLjQsOTM2LjV6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBjbGFzcz0ic3QzIiBkPSJNNTkzLjQsMTAyNGMtMjksMC01OC0xMS4xLTgwLjItMzMuMmMtNDQuMy00NC4zLTQ0LjMtMTE2LjEsMC0xNjAuNGwzMTcuMi0zMTcuMgoJCQljNDQuMy00NC4zLDExNi4xLTQ0LjMsMTYwLjQsMGM0NC4zLDQ0LjMsNDQuMywxMTYuMSwwLDE2MC40TDY3My42LDk5MC44QzY1MS40LDEwMTIuOSw2MjIuNCwxMDI0LDU5My40LDEwMjR6Ii8+Cgk8L2c+Cgk8Zz4KCQk8cGF0aCBjbGFzcz0ic3Q0IiBkPSJNODI2LjQsMzEzLjRDNzYzLjgsMzEzLjQsNzEzLDI2Mi42LDcxMywyMDBWMTk4YzAtNjIuNiw1MC44LTExMy40LDExMy40LTExMy40UzkzOS44LDEzNS40LDkzOS44LDE5OHYxLjkKCQkJQzkzOS44LDI2Mi42LDg4OS4xLDMxMy40LDgyNi40LDMxMy40eiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=',
|
|
34
|
+
orion: require('./logo/orion.svg'),
|
|
35
|
+
turing: require('./logo/turing.svg'),
|
|
36
|
+
dataocean: require('./logo/dataocean.svg'),
|
|
37
|
+
convert: require('./logo/convert.svg'),
|
|
38
|
+
baldur: require('./logo/baldur.svg'),
|
|
39
|
+
indicator: require('./logo/indicator.svg'),
|
|
40
|
+
dispatch: require('./logo/dispatch.svg'),
|
|
41
|
+
feature: require('./logo/model.svg'),
|
|
42
|
+
model: require('./logo/model.svg'),
|
|
43
|
+
storage: require('./logo/storage.svg'),
|
|
44
|
+
bi: require('./logo/bi.svg')
|
|
38
45
|
};
|
|
46
|
+
exports.logoImgMap = logoImgMap;
|