@firesoon/icons-react 2.1.21 → 2.1.22
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/es/Icon.js +6 -15
- package/es/components/currency/SbtRetract.d.ts +4 -0
- package/es/components/currency/SbtRetract.js +12 -0
- package/es/components/currency/SbtRetractFill.d.ts +4 -0
- package/es/components/currency/SbtRetractFill.js +12 -0
- package/es/components/currency/index.d.ts +2 -0
- package/es/components/currency/index.js +2 -0
- package/es/components/suggestion/SbtDirect.d.ts +4 -0
- package/es/components/suggestion/SbtDirect.js +12 -0
- package/es/components/suggestion/SbtQuick.d.ts +4 -0
- package/es/components/suggestion/SbtQuick.js +12 -0
- package/es/components/suggestion/index.d.ts +2 -0
- package/es/components/suggestion/index.js +2 -0
- package/es/dome/index.js +0 -3
- package/es/icons/currency/sbt-retract-fill.d.ts +18 -0
- package/es/icons/currency/sbt-retract-fill.js +18 -0
- package/es/icons/currency/sbt-retract.d.ts +18 -0
- package/es/icons/currency/sbt-retract.js +25 -0
- package/es/icons/suggestion/sbt-direct.d.ts +18 -0
- package/es/icons/suggestion/sbt-direct.js +18 -0
- package/es/icons/suggestion/sbt-quick.d.ts +18 -0
- package/es/icons/suggestion/sbt-quick.js +18 -0
- package/es/index.d.ts +50 -46
- package/es/index.js +51 -47
- package/es/utils.js +4 -5
- package/lib/Icon.js +6 -23
- package/lib/components/currency/SbtRetract.d.ts +4 -0
- package/lib/components/currency/SbtRetract.js +20 -0
- package/lib/components/currency/SbtRetractFill.d.ts +4 -0
- package/lib/components/currency/SbtRetractFill.js +20 -0
- package/lib/components/currency/index.d.ts +2 -0
- package/lib/components/currency/index.js +14 -0
- package/lib/components/suggestion/SbtDirect.d.ts +4 -0
- package/lib/components/suggestion/SbtDirect.js +20 -0
- package/lib/components/suggestion/SbtQuick.d.ts +4 -0
- package/lib/components/suggestion/SbtQuick.js +20 -0
- package/lib/components/suggestion/index.d.ts +2 -0
- package/lib/components/suggestion/index.js +14 -0
- package/lib/dome/index.js +0 -16
- package/lib/icons/currency/sbt-retract-fill.d.ts +18 -0
- package/lib/icons/currency/sbt-retract-fill.js +25 -0
- package/lib/icons/currency/sbt-retract.d.ts +18 -0
- package/lib/icons/currency/sbt-retract.js +32 -0
- package/lib/icons/suggestion/sbt-direct.d.ts +18 -0
- package/lib/icons/suggestion/sbt-direct.js +25 -0
- package/lib/icons/suggestion/sbt-quick.d.ts +18 -0
- package/lib/icons/suggestion/sbt-quick.js +25 -0
- package/lib/index.d.ts +50 -46
- package/lib/index.js +74 -46
- package/lib/utils.js +4 -8
- package/package.json +1 -1
package/es/Icon.js
CHANGED
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
var _excluded = ["rootNode", "svgOption", "iconName"];
|
|
2
|
-
|
|
3
2
|
var _templateObject;
|
|
4
|
-
|
|
5
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
-
|
|
7
4
|
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; }
|
|
8
|
-
|
|
9
5
|
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; }
|
|
10
|
-
|
|
11
6
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
12
|
-
|
|
13
7
|
import React from "react";
|
|
14
8
|
import styled from "styled-components";
|
|
15
9
|
import { opacityList } from "./config";
|
|
16
10
|
import { generate } from "./utils";
|
|
17
11
|
var StyledSpan = styled("span")(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-block;\n color: ", ";\n font-style: normal;\n opacity: ", ";\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n"])), function (_ref) {
|
|
18
12
|
var isColor = _ref.isColor,
|
|
19
|
-
|
|
13
|
+
defaultColor = _ref.defaultColor;
|
|
20
14
|
return isColor ? defaultColor : "inherit";
|
|
21
15
|
}, function (_ref2) {
|
|
22
16
|
var opacity = _ref2.opacity;
|
|
@@ -24,19 +18,16 @@ var StyledSpan = styled("span")(_templateObject || (_templateObject = _taggedTem
|
|
|
24
18
|
});
|
|
25
19
|
export default (function (props) {
|
|
26
20
|
var _rootNode$name, _opacityList$find, _rootNode$nodeTree, _rootNode$nodeTree$ch, _rootNode$nodeTree$ch2;
|
|
27
|
-
|
|
28
21
|
var _ref3 = props !== null && props !== void 0 ? props : {},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
22
|
+
rootNode = _ref3.rootNode,
|
|
23
|
+
_ref3$svgOption = _ref3.svgOption,
|
|
24
|
+
svgOption = _ref3$svgOption === void 0 ? {} : _ref3$svgOption,
|
|
25
|
+
iconName = _ref3.iconName,
|
|
26
|
+
wrapper = _objectWithoutProperties(_ref3, _excluded);
|
|
35
27
|
var nameList = rootNode === null || rootNode === void 0 ? void 0 : (_rootNode$name = rootNode.name) === null || _rootNode$name === void 0 ? void 0 : _rootNode$name.split("-");
|
|
36
28
|
var isColor = (nameList === null || nameList === void 0 ? void 0 : nameList[(nameList === null || nameList === void 0 ? void 0 : nameList.length) - 1]) === "color";
|
|
37
29
|
var opacity = opacityList === null || opacityList === void 0 ? void 0 : (_opacityList$find = opacityList.find(function (item) {
|
|
38
30
|
var _item$nameList;
|
|
39
|
-
|
|
40
31
|
return item === null || item === void 0 ? void 0 : (_item$nameList = item.nameList) === null || _item$nameList === void 0 ? void 0 : _item$nameList.includes(rootNode === null || rootNode === void 0 ? void 0 : rootNode.name);
|
|
41
32
|
})) === null || _opacityList$find === void 0 ? void 0 : _opacityList$find.opacity;
|
|
42
33
|
return /*#__PURE__*/React.createElement(StyledSpan, _extends({}, wrapper, {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from "../../Icon";
|
|
4
|
+
import rootNode from "../../icons/currency/sbt-retract";
|
|
5
|
+
export default (function () {
|
|
6
|
+
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
8
|
+
rootNode: rootNode,
|
|
9
|
+
iconName: 'sbt-retract',
|
|
10
|
+
iconType: 'currency'
|
|
11
|
+
}));
|
|
12
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from "../../Icon";
|
|
4
|
+
import rootNode from "../../icons/currency/sbt-retract-fill";
|
|
5
|
+
export default (function () {
|
|
6
|
+
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
8
|
+
rootNode: rootNode,
|
|
9
|
+
iconName: 'sbt-retract-fill',
|
|
10
|
+
iconType: 'currency'
|
|
11
|
+
}));
|
|
12
|
+
});
|
|
@@ -69,6 +69,8 @@ export { default as Recover } from './Recover';
|
|
|
69
69
|
export { default as RectifyMassage } from './RectifyMassage';
|
|
70
70
|
export { default as RectifyMassageFill } from './RectifyMassageFill';
|
|
71
71
|
export { default as Refresh } from './Refresh';
|
|
72
|
+
export { default as SbtRetract } from './SbtRetract';
|
|
73
|
+
export { default as SbtRetractFill } from './SbtRetractFill';
|
|
72
74
|
export { default as Screening } from './Screening';
|
|
73
75
|
export { default as Search } from './Search';
|
|
74
76
|
export { default as Selecte } from './Selecte';
|
|
@@ -69,6 +69,8 @@ export { default as Recover } from "./Recover";
|
|
|
69
69
|
export { default as RectifyMassage } from "./RectifyMassage";
|
|
70
70
|
export { default as RectifyMassageFill } from "./RectifyMassageFill";
|
|
71
71
|
export { default as Refresh } from "./Refresh";
|
|
72
|
+
export { default as SbtRetract } from "./SbtRetract";
|
|
73
|
+
export { default as SbtRetractFill } from "./SbtRetractFill";
|
|
72
74
|
export { default as Screening } from "./Screening";
|
|
73
75
|
export { default as Search } from "./Search";
|
|
74
76
|
export { default as Selecte } from "./Selecte";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from "../../Icon";
|
|
4
|
+
import rootNode from "../../icons/suggestion/sbt-direct";
|
|
5
|
+
export default (function () {
|
|
6
|
+
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
8
|
+
rootNode: rootNode,
|
|
9
|
+
iconName: 'sbt-direct',
|
|
10
|
+
iconType: 'suggestion'
|
|
11
|
+
}));
|
|
12
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from "../../Icon";
|
|
4
|
+
import rootNode from "../../icons/suggestion/sbt-quick";
|
|
5
|
+
export default (function () {
|
|
6
|
+
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
8
|
+
rootNode: rootNode,
|
|
9
|
+
iconName: 'sbt-quick',
|
|
10
|
+
iconType: 'suggestion'
|
|
11
|
+
}));
|
|
12
|
+
});
|
|
@@ -34,6 +34,8 @@ export { default as RecordQuality } from './RecordQuality';
|
|
|
34
34
|
export { default as Rectification } from './Rectification';
|
|
35
35
|
export { default as Rehospitalization } from './Rehospitalization';
|
|
36
36
|
export { default as Revoke } from './Revoke';
|
|
37
|
+
export { default as SbtDirect } from './SbtDirect';
|
|
38
|
+
export { default as SbtQuick } from './SbtQuick';
|
|
37
39
|
export { default as Sendback } from './Sendback';
|
|
38
40
|
export { default as Success } from './Success';
|
|
39
41
|
export { default as SuccessFill } from './SuccessFill';
|
|
@@ -34,6 +34,8 @@ export { default as RecordQuality } from "./RecordQuality";
|
|
|
34
34
|
export { default as Rectification } from "./Rectification";
|
|
35
35
|
export { default as Rehospitalization } from "./Rehospitalization";
|
|
36
36
|
export { default as Revoke } from "./Revoke";
|
|
37
|
+
export { default as SbtDirect } from "./SbtDirect";
|
|
38
|
+
export { default as SbtQuick } from "./SbtQuick";
|
|
37
39
|
export { default as Sendback } from "./Sendback";
|
|
38
40
|
export { default as Success } from "./Success";
|
|
39
41
|
export { default as SuccessFill } from "./SuccessFill";
|
package/es/dome/index.js
CHANGED
|
@@ -11,7 +11,6 @@ export default (function () {
|
|
|
11
11
|
cursor: "pointer",
|
|
12
12
|
fontSize: 20
|
|
13
13
|
};
|
|
14
|
-
|
|
15
14
|
var iconList = function iconList() {
|
|
16
15
|
var currency = "currency";
|
|
17
16
|
var businessMenu = "business-menu";
|
|
@@ -36,7 +35,6 @@ export default (function () {
|
|
|
36
35
|
}];
|
|
37
36
|
iconKeys.forEach(function (key) {
|
|
38
37
|
var type = icon[key]().props.iconType;
|
|
39
|
-
|
|
40
38
|
if (type === currency) {
|
|
41
39
|
list[0].icons.push(key);
|
|
42
40
|
} else if (type === businessMenu) {
|
|
@@ -49,7 +47,6 @@ export default (function () {
|
|
|
49
47
|
});
|
|
50
48
|
return list;
|
|
51
49
|
};
|
|
52
|
-
|
|
53
50
|
return /*#__PURE__*/React.createElement(React.Fragment, null, iconList().map(function (item) {
|
|
54
51
|
return /*#__PURE__*/React.createElement(Card, {
|
|
55
52
|
bordered: false,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const node: {
|
|
2
|
+
name: string;
|
|
3
|
+
nodeTree: {
|
|
4
|
+
tag: string;
|
|
5
|
+
attrs: {
|
|
6
|
+
viewBox: string;
|
|
7
|
+
};
|
|
8
|
+
children: {
|
|
9
|
+
tag: string;
|
|
10
|
+
defaultColor: string;
|
|
11
|
+
attrs: {
|
|
12
|
+
d: string;
|
|
13
|
+
};
|
|
14
|
+
children: never[];
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default node;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var node = {
|
|
2
|
+
"name": "sbt-retract-fill",
|
|
3
|
+
"nodeTree": {
|
|
4
|
+
"tag": "svg",
|
|
5
|
+
"attrs": {
|
|
6
|
+
"viewBox": "0 0 1024 1024"
|
|
7
|
+
},
|
|
8
|
+
"children": [{
|
|
9
|
+
"tag": "path",
|
|
10
|
+
"defaultColor": "#333",
|
|
11
|
+
"attrs": {
|
|
12
|
+
"d": "M880 112a32 32 0 0132 32v736a32 32 0 01-32 32H144a32 32 0 01-32-32V144a32 32 0 0132-32h736zM759.73 703.63h-496a8 8 0 00-8 8v48a8 8 0 008 8h496a8 8 0 008-8v-48a8 8 0 00-8-8zM391.96 373.55l-98.1 98.1c-.4.28-.77.59-1.12.94l-33.94 33.94a8 8 0 000 11.31l133.65 133.64a8 8 0 0011.3 0l33.95-33.94a8 8 0 000-11.31l-61.6-61.6h383.63a8 8 0 008-8v-48a8 8 0 00-8-8H375.4l61.82-61.83a8 8 0 000-11.31l-33.94-33.94a8 8 0 00-11.32 0zm367.77-117.93h-496a8 8 0 00-8 8v48a8 8 0 008 8h496a8 8 0 008-8v-48a8 8 0 00-8-8z"
|
|
13
|
+
},
|
|
14
|
+
"children": []
|
|
15
|
+
}]
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export default node;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const node: {
|
|
2
|
+
name: string;
|
|
3
|
+
nodeTree: {
|
|
4
|
+
tag: string;
|
|
5
|
+
attrs: {
|
|
6
|
+
viewBox: string;
|
|
7
|
+
};
|
|
8
|
+
children: {
|
|
9
|
+
tag: string;
|
|
10
|
+
defaultColor: string;
|
|
11
|
+
attrs: {
|
|
12
|
+
d: string;
|
|
13
|
+
};
|
|
14
|
+
children: never[];
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default node;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var node = {
|
|
2
|
+
"name": "sbt-retract",
|
|
3
|
+
"nodeTree": {
|
|
4
|
+
"tag": "svg",
|
|
5
|
+
"attrs": {
|
|
6
|
+
"viewBox": "0 0 1024 1024"
|
|
7
|
+
},
|
|
8
|
+
"children": [{
|
|
9
|
+
"tag": "path",
|
|
10
|
+
"defaultColor": "#333",
|
|
11
|
+
"attrs": {
|
|
12
|
+
"d": "M112 144a32 32 0 0132-32h736a32 32 0 0132 32v736a32 32 0 01-32 32H144a32 32 0 01-32-32V144zm64 32v672h672V176H176z"
|
|
13
|
+
},
|
|
14
|
+
"children": []
|
|
15
|
+
}, {
|
|
16
|
+
"tag": "path",
|
|
17
|
+
"defaultColor": "#333",
|
|
18
|
+
"attrs": {
|
|
19
|
+
"d": "M767.73 311.63v-48a8 8 0 00-8-8h-496a8 8 0 00-8 8v48a8 8 0 008 8h496a8 8 0 008-8zm0 225v-48a8 8 0 00-8-8H375.4l61.82-61.83a8 8 0 000-11.31l-33.94-33.94a8 8 0 00-11.32 0l-98.1 98.1c-.4.28-.77.59-1.12.94l-33.94 33.94a8 8 0 000 11.31l133.65 133.64a8 8 0 0011.3 0l33.95-33.94a8 8 0 000-11.31l-61.6-61.6h383.63a8 8 0 008-8zm0 223v-48a8 8 0 00-8-8h-496a8 8 0 00-8 8v48a8 8 0 008 8h496a8 8 0 008-8z"
|
|
20
|
+
},
|
|
21
|
+
"children": []
|
|
22
|
+
}]
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
export default node;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const node: {
|
|
2
|
+
name: string;
|
|
3
|
+
nodeTree: {
|
|
4
|
+
tag: string;
|
|
5
|
+
attrs: {
|
|
6
|
+
viewBox: string;
|
|
7
|
+
};
|
|
8
|
+
children: {
|
|
9
|
+
tag: string;
|
|
10
|
+
defaultColor: string;
|
|
11
|
+
attrs: {
|
|
12
|
+
d: string;
|
|
13
|
+
};
|
|
14
|
+
children: never[];
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default node;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var node = {
|
|
2
|
+
"name": "sbt-direct",
|
|
3
|
+
"nodeTree": {
|
|
4
|
+
"tag": "svg",
|
|
5
|
+
"attrs": {
|
|
6
|
+
"viewBox": "0 0 1024 1024"
|
|
7
|
+
},
|
|
8
|
+
"children": [{
|
|
9
|
+
"tag": "path",
|
|
10
|
+
"defaultColor": "#333",
|
|
11
|
+
"attrs": {
|
|
12
|
+
"d": "M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64zm0 64c-212.08 0-384 171.92-384 384s171.92 384 384 384 384-171.92 384-384-171.92-384-384-384zm-23.52 123.44l59.36 8.4c-1.68 13.44-3.36 26.32-4.48 38.64h208.32v54.88H534.4c-2.24 11.2-5.04 22.4-7.28 33.6h156.8v323.12h78.96v53.2h-501.2v-53.2h76.16V386.96H467.2l6.72-33.6h-201.6v-54.88h210.56c2.24-16.24 3.92-31.92 5.6-47.04zm137.2 425.6h-229.6v33.04h229.6v-33.04zm0-79.52h-229.6v33.6h229.6v-33.6zm0-78.4h-229.6v32.48h229.6v-32.48zm0-80.64h-229.6v34.16h229.6v-34.16z"
|
|
13
|
+
},
|
|
14
|
+
"children": []
|
|
15
|
+
}]
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export default node;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const node: {
|
|
2
|
+
name: string;
|
|
3
|
+
nodeTree: {
|
|
4
|
+
tag: string;
|
|
5
|
+
attrs: {
|
|
6
|
+
viewBox: string;
|
|
7
|
+
};
|
|
8
|
+
children: {
|
|
9
|
+
tag: string;
|
|
10
|
+
defaultColor: string;
|
|
11
|
+
attrs: {
|
|
12
|
+
d: string;
|
|
13
|
+
};
|
|
14
|
+
children: never[];
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default node;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var node = {
|
|
2
|
+
"name": "sbt-quick",
|
|
3
|
+
"nodeTree": {
|
|
4
|
+
"tag": "svg",
|
|
5
|
+
"attrs": {
|
|
6
|
+
"viewBox": "0 0 1024 1024"
|
|
7
|
+
},
|
|
8
|
+
"children": [{
|
|
9
|
+
"tag": "path",
|
|
10
|
+
"defaultColor": "#333",
|
|
11
|
+
"attrs": {
|
|
12
|
+
"d": "M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64zm0 64c-212.08 0-384 171.92-384 384s171.92 384 384 384 384-171.92 384-384-171.92-384-384-384zM383.2 255.36v107.52L422.96 350c14.56 35.84 28 77.28 39.2 123.76l-46.48 11.76c-8.4-39.2-19.04-77.28-32.48-113.68v398.72h-57.68v-515.2h57.68zm221.76-.56v78.96h118.72V501.2h36.4v57.12h-137.2c33.04 67.2 84 122.64 152.32 165.2L735.44 770c-68.32-49.84-119.84-110.88-154.56-183.68-26.88 81.76-75.04 142.8-145.6 183.12l-35.84-48.16c66.08-34.16 109.76-88.48 131.6-162.96h-98.56V501.2H542.8a475.53 475.53 0 005.04-70.56v-42.56h-92.96v-54.32h92.96V254.8h57.12zM267.28 364.56l44.8 3.36c-1.12 56-7.28 109.2-17.36 159.6l-47.04-13.44c11.2-47.04 17.92-96.88 19.6-149.52zm400.4 23.52h-62.72v29.68c0 29.12-2.24 57.12-5.6 83.44h68.32V388.08z"
|
|
13
|
+
},
|
|
14
|
+
"children": []
|
|
15
|
+
}]
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export default node;
|
package/es/index.d.ts
CHANGED
|
@@ -189,6 +189,8 @@ export { default as Recover } from './components/currency/Recover';
|
|
|
189
189
|
export { default as RectifyMassage } from './components/currency/RectifyMassage';
|
|
190
190
|
export { default as RectifyMassageFill } from './components/currency/RectifyMassageFill';
|
|
191
191
|
export { default as Refresh } from './components/currency/Refresh';
|
|
192
|
+
export { default as SbtRetract } from './components/currency/SbtRetract';
|
|
193
|
+
export { default as SbtRetractFill } from './components/currency/SbtRetractFill';
|
|
192
194
|
export { default as Screening } from './components/currency/Screening';
|
|
193
195
|
export { default as Search } from './components/currency/Search';
|
|
194
196
|
export { default as Selecte } from './components/currency/Selecte';
|
|
@@ -235,52 +237,6 @@ export { default as ServerError } from './components/old-twocolor/ServerError';
|
|
|
235
237
|
export { default as SuccessCircle } from './components/old-twocolor/SuccessCircle';
|
|
236
238
|
export { default as Tishi } from './components/old-twocolor/Tishi';
|
|
237
239
|
export { default as WaitCircle } from './components/old-twocolor/WaitCircle';
|
|
238
|
-
export { default as ApplyFail } from './components/suggestion/ApplyFail';
|
|
239
|
-
export { default as ApplySuccess } from './components/suggestion/ApplySuccess';
|
|
240
|
-
export { default as AttestationFail } from './components/suggestion/AttestationFail';
|
|
241
|
-
export { default as Attestationing } from './components/suggestion/Attestationing';
|
|
242
|
-
export { default as Await } from './components/suggestion/Await';
|
|
243
|
-
export { default as ClaimFinish } from './components/suggestion/ClaimFinish';
|
|
244
|
-
export { default as ClaimsAssessment } from './components/suggestion/ClaimsAssessment';
|
|
245
|
-
export { default as ClaimsFail } from './components/suggestion/ClaimsFail';
|
|
246
|
-
export { default as CostReturn } from './components/suggestion/CostReturn';
|
|
247
|
-
export { default as CostViolate } from './components/suggestion/CostViolate';
|
|
248
|
-
export { default as CostWarning } from './components/suggestion/CostWarning';
|
|
249
|
-
export { default as DailyOperation } from './components/suggestion/DailyOperation';
|
|
250
|
-
export { default as DrgsColor } from './components/suggestion/DrgsColor';
|
|
251
|
-
export { default as Examine } from './components/suggestion/Examine';
|
|
252
|
-
export { default as Fail } from './components/suggestion/Fail';
|
|
253
|
-
export { default as FailFill } from './components/suggestion/FailFill';
|
|
254
|
-
export { default as Finish } from './components/suggestion/Finish';
|
|
255
|
-
export { default as HospitalTransfer } from './components/suggestion/HospitalTransfer';
|
|
256
|
-
export { default as Inform } from './components/suggestion/Inform';
|
|
257
|
-
export { default as Information } from './components/suggestion/Information';
|
|
258
|
-
export { default as KeyGroup } from './components/suggestion/KeyGroup';
|
|
259
|
-
export { default as Keyoffice } from './components/suggestion/Keyoffice';
|
|
260
|
-
export { default as Lack } from './components/suggestion/Lack';
|
|
261
|
-
export { default as Notice } from './components/suggestion/Notice';
|
|
262
|
-
export { default as NoticeFill } from './components/suggestion/NoticeFill';
|
|
263
|
-
export { default as Overtime } from './components/suggestion/Overtime';
|
|
264
|
-
export { default as Problem } from './components/suggestion/Problem';
|
|
265
|
-
export { default as ProblemFill } from './components/suggestion/ProblemFill';
|
|
266
|
-
export { default as ProcessFail } from './components/suggestion/ProcessFail';
|
|
267
|
-
export { default as Processing } from './components/suggestion/Processing';
|
|
268
|
-
export { default as ProcessPass } from './components/suggestion/ProcessPass';
|
|
269
|
-
export { default as QuickCompensation } from './components/suggestion/QuickCompensation';
|
|
270
|
-
export { default as RecordQuality } from './components/suggestion/RecordQuality';
|
|
271
|
-
export { default as Rectification } from './components/suggestion/Rectification';
|
|
272
|
-
export { default as Rehospitalization } from './components/suggestion/Rehospitalization';
|
|
273
|
-
export { default as Revoke } from './components/suggestion/Revoke';
|
|
274
|
-
export { default as Sendback } from './components/suggestion/Sendback';
|
|
275
|
-
export { default as Success } from './components/suggestion/Success';
|
|
276
|
-
export { default as SuccessFill } from './components/suggestion/SuccessFill';
|
|
277
|
-
export { default as UndipAccountColor } from './components/suggestion/UndipAccountColor';
|
|
278
|
-
export { default as UndrgAccountColor } from './components/suggestion/UndrgAccountColor';
|
|
279
|
-
export { default as UninsuranceAccountColor } from './components/suggestion/UninsuranceAccountColor';
|
|
280
|
-
export { default as UnreasonableHospitalized } from './components/suggestion/UnreasonableHospitalized';
|
|
281
|
-
export { default as Wait } from './components/suggestion/Wait';
|
|
282
|
-
export { default as Warning } from './components/suggestion/Warning';
|
|
283
|
-
export { default as LogoSystemSettings } from './components/systematic-name/LogoSystemSettings';
|
|
284
240
|
export { default as Account } from './components/old-outlined/Account';
|
|
285
241
|
export { default as AccountFill } from './components/old-outlined/AccountFill';
|
|
286
242
|
export { default as AcountManage } from './components/old-outlined/AcountManage';
|
|
@@ -474,3 +430,51 @@ export { default as Zhuantifenxi } from './components/old-outlined/Zhuantifenxi'
|
|
|
474
430
|
export { default as ZhuantifenxiFill } from './components/old-outlined/ZhuantifenxiFill';
|
|
475
431
|
export { default as Zhutizhibiao } from './components/old-outlined/Zhutizhibiao';
|
|
476
432
|
export { default as Zygl } from './components/old-outlined/Zygl';
|
|
433
|
+
export { default as ApplyFail } from './components/suggestion/ApplyFail';
|
|
434
|
+
export { default as ApplySuccess } from './components/suggestion/ApplySuccess';
|
|
435
|
+
export { default as AttestationFail } from './components/suggestion/AttestationFail';
|
|
436
|
+
export { default as Attestationing } from './components/suggestion/Attestationing';
|
|
437
|
+
export { default as Await } from './components/suggestion/Await';
|
|
438
|
+
export { default as ClaimFinish } from './components/suggestion/ClaimFinish';
|
|
439
|
+
export { default as ClaimsAssessment } from './components/suggestion/ClaimsAssessment';
|
|
440
|
+
export { default as ClaimsFail } from './components/suggestion/ClaimsFail';
|
|
441
|
+
export { default as CostReturn } from './components/suggestion/CostReturn';
|
|
442
|
+
export { default as CostViolate } from './components/suggestion/CostViolate';
|
|
443
|
+
export { default as CostWarning } from './components/suggestion/CostWarning';
|
|
444
|
+
export { default as DailyOperation } from './components/suggestion/DailyOperation';
|
|
445
|
+
export { default as DrgsColor } from './components/suggestion/DrgsColor';
|
|
446
|
+
export { default as Examine } from './components/suggestion/Examine';
|
|
447
|
+
export { default as Fail } from './components/suggestion/Fail';
|
|
448
|
+
export { default as FailFill } from './components/suggestion/FailFill';
|
|
449
|
+
export { default as Finish } from './components/suggestion/Finish';
|
|
450
|
+
export { default as HospitalTransfer } from './components/suggestion/HospitalTransfer';
|
|
451
|
+
export { default as Inform } from './components/suggestion/Inform';
|
|
452
|
+
export { default as Information } from './components/suggestion/Information';
|
|
453
|
+
export { default as KeyGroup } from './components/suggestion/KeyGroup';
|
|
454
|
+
export { default as Keyoffice } from './components/suggestion/Keyoffice';
|
|
455
|
+
export { default as Lack } from './components/suggestion/Lack';
|
|
456
|
+
export { default as Notice } from './components/suggestion/Notice';
|
|
457
|
+
export { default as NoticeFill } from './components/suggestion/NoticeFill';
|
|
458
|
+
export { default as Overtime } from './components/suggestion/Overtime';
|
|
459
|
+
export { default as Problem } from './components/suggestion/Problem';
|
|
460
|
+
export { default as ProblemFill } from './components/suggestion/ProblemFill';
|
|
461
|
+
export { default as ProcessFail } from './components/suggestion/ProcessFail';
|
|
462
|
+
export { default as Processing } from './components/suggestion/Processing';
|
|
463
|
+
export { default as ProcessPass } from './components/suggestion/ProcessPass';
|
|
464
|
+
export { default as QuickCompensation } from './components/suggestion/QuickCompensation';
|
|
465
|
+
export { default as RecordQuality } from './components/suggestion/RecordQuality';
|
|
466
|
+
export { default as Rectification } from './components/suggestion/Rectification';
|
|
467
|
+
export { default as Rehospitalization } from './components/suggestion/Rehospitalization';
|
|
468
|
+
export { default as Revoke } from './components/suggestion/Revoke';
|
|
469
|
+
export { default as SbtDirect } from './components/suggestion/SbtDirect';
|
|
470
|
+
export { default as SbtQuick } from './components/suggestion/SbtQuick';
|
|
471
|
+
export { default as Sendback } from './components/suggestion/Sendback';
|
|
472
|
+
export { default as Success } from './components/suggestion/Success';
|
|
473
|
+
export { default as SuccessFill } from './components/suggestion/SuccessFill';
|
|
474
|
+
export { default as UndipAccountColor } from './components/suggestion/UndipAccountColor';
|
|
475
|
+
export { default as UndrgAccountColor } from './components/suggestion/UndrgAccountColor';
|
|
476
|
+
export { default as UninsuranceAccountColor } from './components/suggestion/UninsuranceAccountColor';
|
|
477
|
+
export { default as UnreasonableHospitalized } from './components/suggestion/UnreasonableHospitalized';
|
|
478
|
+
export { default as Wait } from './components/suggestion/Wait';
|
|
479
|
+
export { default as Warning } from './components/suggestion/Warning';
|
|
480
|
+
export { default as LogoSystemSettings } from './components/systematic-name/LogoSystemSettings';
|
package/es/index.js
CHANGED
|
@@ -189,6 +189,8 @@ export { default as Recover } from "./components/currency/Recover";
|
|
|
189
189
|
export { default as RectifyMassage } from "./components/currency/RectifyMassage";
|
|
190
190
|
export { default as RectifyMassageFill } from "./components/currency/RectifyMassageFill";
|
|
191
191
|
export { default as Refresh } from "./components/currency/Refresh";
|
|
192
|
+
export { default as SbtRetract } from "./components/currency/SbtRetract";
|
|
193
|
+
export { default as SbtRetractFill } from "./components/currency/SbtRetractFill";
|
|
192
194
|
export { default as Screening } from "./components/currency/Screening";
|
|
193
195
|
export { default as Search } from "./components/currency/Search";
|
|
194
196
|
export { default as Selecte } from "./components/currency/Selecte";
|
|
@@ -235,52 +237,6 @@ export { default as ServerError } from "./components/old-twocolor/ServerError";
|
|
|
235
237
|
export { default as SuccessCircle } from "./components/old-twocolor/SuccessCircle";
|
|
236
238
|
export { default as Tishi } from "./components/old-twocolor/Tishi";
|
|
237
239
|
export { default as WaitCircle } from "./components/old-twocolor/WaitCircle";
|
|
238
|
-
export { default as ApplyFail } from "./components/suggestion/ApplyFail";
|
|
239
|
-
export { default as ApplySuccess } from "./components/suggestion/ApplySuccess";
|
|
240
|
-
export { default as AttestationFail } from "./components/suggestion/AttestationFail";
|
|
241
|
-
export { default as Attestationing } from "./components/suggestion/Attestationing";
|
|
242
|
-
export { default as Await } from "./components/suggestion/Await";
|
|
243
|
-
export { default as ClaimFinish } from "./components/suggestion/ClaimFinish";
|
|
244
|
-
export { default as ClaimsAssessment } from "./components/suggestion/ClaimsAssessment";
|
|
245
|
-
export { default as ClaimsFail } from "./components/suggestion/ClaimsFail";
|
|
246
|
-
export { default as CostReturn } from "./components/suggestion/CostReturn";
|
|
247
|
-
export { default as CostViolate } from "./components/suggestion/CostViolate";
|
|
248
|
-
export { default as CostWarning } from "./components/suggestion/CostWarning";
|
|
249
|
-
export { default as DailyOperation } from "./components/suggestion/DailyOperation";
|
|
250
|
-
export { default as DrgsColor } from "./components/suggestion/DrgsColor";
|
|
251
|
-
export { default as Examine } from "./components/suggestion/Examine";
|
|
252
|
-
export { default as Fail } from "./components/suggestion/Fail";
|
|
253
|
-
export { default as FailFill } from "./components/suggestion/FailFill";
|
|
254
|
-
export { default as Finish } from "./components/suggestion/Finish";
|
|
255
|
-
export { default as HospitalTransfer } from "./components/suggestion/HospitalTransfer";
|
|
256
|
-
export { default as Inform } from "./components/suggestion/Inform";
|
|
257
|
-
export { default as Information } from "./components/suggestion/Information";
|
|
258
|
-
export { default as KeyGroup } from "./components/suggestion/KeyGroup";
|
|
259
|
-
export { default as Keyoffice } from "./components/suggestion/Keyoffice";
|
|
260
|
-
export { default as Lack } from "./components/suggestion/Lack";
|
|
261
|
-
export { default as Notice } from "./components/suggestion/Notice";
|
|
262
|
-
export { default as NoticeFill } from "./components/suggestion/NoticeFill";
|
|
263
|
-
export { default as Overtime } from "./components/suggestion/Overtime";
|
|
264
|
-
export { default as Problem } from "./components/suggestion/Problem";
|
|
265
|
-
export { default as ProblemFill } from "./components/suggestion/ProblemFill";
|
|
266
|
-
export { default as ProcessFail } from "./components/suggestion/ProcessFail";
|
|
267
|
-
export { default as Processing } from "./components/suggestion/Processing";
|
|
268
|
-
export { default as ProcessPass } from "./components/suggestion/ProcessPass";
|
|
269
|
-
export { default as QuickCompensation } from "./components/suggestion/QuickCompensation";
|
|
270
|
-
export { default as RecordQuality } from "./components/suggestion/RecordQuality";
|
|
271
|
-
export { default as Rectification } from "./components/suggestion/Rectification";
|
|
272
|
-
export { default as Rehospitalization } from "./components/suggestion/Rehospitalization";
|
|
273
|
-
export { default as Revoke } from "./components/suggestion/Revoke";
|
|
274
|
-
export { default as Sendback } from "./components/suggestion/Sendback";
|
|
275
|
-
export { default as Success } from "./components/suggestion/Success";
|
|
276
|
-
export { default as SuccessFill } from "./components/suggestion/SuccessFill";
|
|
277
|
-
export { default as UndipAccountColor } from "./components/suggestion/UndipAccountColor";
|
|
278
|
-
export { default as UndrgAccountColor } from "./components/suggestion/UndrgAccountColor";
|
|
279
|
-
export { default as UninsuranceAccountColor } from "./components/suggestion/UninsuranceAccountColor";
|
|
280
|
-
export { default as UnreasonableHospitalized } from "./components/suggestion/UnreasonableHospitalized";
|
|
281
|
-
export { default as Wait } from "./components/suggestion/Wait";
|
|
282
|
-
export { default as Warning } from "./components/suggestion/Warning";
|
|
283
|
-
export { default as LogoSystemSettings } from "./components/systematic-name/LogoSystemSettings";
|
|
284
240
|
export { default as Account } from "./components/old-outlined/Account";
|
|
285
241
|
export { default as AccountFill } from "./components/old-outlined/AccountFill";
|
|
286
242
|
export { default as AcountManage } from "./components/old-outlined/AcountManage";
|
|
@@ -473,4 +429,52 @@ export { default as Zhuanke } from "./components/old-outlined/Zhuanke";
|
|
|
473
429
|
export { default as Zhuantifenxi } from "./components/old-outlined/Zhuantifenxi";
|
|
474
430
|
export { default as ZhuantifenxiFill } from "./components/old-outlined/ZhuantifenxiFill";
|
|
475
431
|
export { default as Zhutizhibiao } from "./components/old-outlined/Zhutizhibiao";
|
|
476
|
-
export { default as Zygl } from "./components/old-outlined/Zygl";
|
|
432
|
+
export { default as Zygl } from "./components/old-outlined/Zygl";
|
|
433
|
+
export { default as ApplyFail } from "./components/suggestion/ApplyFail";
|
|
434
|
+
export { default as ApplySuccess } from "./components/suggestion/ApplySuccess";
|
|
435
|
+
export { default as AttestationFail } from "./components/suggestion/AttestationFail";
|
|
436
|
+
export { default as Attestationing } from "./components/suggestion/Attestationing";
|
|
437
|
+
export { default as Await } from "./components/suggestion/Await";
|
|
438
|
+
export { default as ClaimFinish } from "./components/suggestion/ClaimFinish";
|
|
439
|
+
export { default as ClaimsAssessment } from "./components/suggestion/ClaimsAssessment";
|
|
440
|
+
export { default as ClaimsFail } from "./components/suggestion/ClaimsFail";
|
|
441
|
+
export { default as CostReturn } from "./components/suggestion/CostReturn";
|
|
442
|
+
export { default as CostViolate } from "./components/suggestion/CostViolate";
|
|
443
|
+
export { default as CostWarning } from "./components/suggestion/CostWarning";
|
|
444
|
+
export { default as DailyOperation } from "./components/suggestion/DailyOperation";
|
|
445
|
+
export { default as DrgsColor } from "./components/suggestion/DrgsColor";
|
|
446
|
+
export { default as Examine } from "./components/suggestion/Examine";
|
|
447
|
+
export { default as Fail } from "./components/suggestion/Fail";
|
|
448
|
+
export { default as FailFill } from "./components/suggestion/FailFill";
|
|
449
|
+
export { default as Finish } from "./components/suggestion/Finish";
|
|
450
|
+
export { default as HospitalTransfer } from "./components/suggestion/HospitalTransfer";
|
|
451
|
+
export { default as Inform } from "./components/suggestion/Inform";
|
|
452
|
+
export { default as Information } from "./components/suggestion/Information";
|
|
453
|
+
export { default as KeyGroup } from "./components/suggestion/KeyGroup";
|
|
454
|
+
export { default as Keyoffice } from "./components/suggestion/Keyoffice";
|
|
455
|
+
export { default as Lack } from "./components/suggestion/Lack";
|
|
456
|
+
export { default as Notice } from "./components/suggestion/Notice";
|
|
457
|
+
export { default as NoticeFill } from "./components/suggestion/NoticeFill";
|
|
458
|
+
export { default as Overtime } from "./components/suggestion/Overtime";
|
|
459
|
+
export { default as Problem } from "./components/suggestion/Problem";
|
|
460
|
+
export { default as ProblemFill } from "./components/suggestion/ProblemFill";
|
|
461
|
+
export { default as ProcessFail } from "./components/suggestion/ProcessFail";
|
|
462
|
+
export { default as Processing } from "./components/suggestion/Processing";
|
|
463
|
+
export { default as ProcessPass } from "./components/suggestion/ProcessPass";
|
|
464
|
+
export { default as QuickCompensation } from "./components/suggestion/QuickCompensation";
|
|
465
|
+
export { default as RecordQuality } from "./components/suggestion/RecordQuality";
|
|
466
|
+
export { default as Rectification } from "./components/suggestion/Rectification";
|
|
467
|
+
export { default as Rehospitalization } from "./components/suggestion/Rehospitalization";
|
|
468
|
+
export { default as Revoke } from "./components/suggestion/Revoke";
|
|
469
|
+
export { default as SbtDirect } from "./components/suggestion/SbtDirect";
|
|
470
|
+
export { default as SbtQuick } from "./components/suggestion/SbtQuick";
|
|
471
|
+
export { default as Sendback } from "./components/suggestion/Sendback";
|
|
472
|
+
export { default as Success } from "./components/suggestion/Success";
|
|
473
|
+
export { default as SuccessFill } from "./components/suggestion/SuccessFill";
|
|
474
|
+
export { default as UndipAccountColor } from "./components/suggestion/UndipAccountColor";
|
|
475
|
+
export { default as UndrgAccountColor } from "./components/suggestion/UndrgAccountColor";
|
|
476
|
+
export { default as UninsuranceAccountColor } from "./components/suggestion/UninsuranceAccountColor";
|
|
477
|
+
export { default as UnreasonableHospitalized } from "./components/suggestion/UnreasonableHospitalized";
|
|
478
|
+
export { default as Wait } from "./components/suggestion/Wait";
|
|
479
|
+
export { default as Warning } from "./components/suggestion/Warning";
|
|
480
|
+
export { default as LogoSystemSettings } from "./components/systematic-name/LogoSystemSettings";
|
package/es/utils.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1
2
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
|
-
|
|
3
3
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
|
|
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
7
|
import React from "react";
|
|
8
8
|
export function generate(node, key, rootProps) {
|
|
9
9
|
if (rootProps) {
|
|
@@ -20,7 +20,6 @@ export function generate(node, key, rootProps) {
|
|
|
20
20
|
return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
|
21
21
|
}));
|
|
22
22
|
}
|
|
23
|
-
|
|
24
23
|
return /*#__PURE__*/React.createElement(node.tag, _objectSpread({
|
|
25
24
|
key: "svg-".concat(key)
|
|
26
25
|
}, node.attrs), (node.children || []).map(function (child, index) {
|