@iobroker/adapter-react-v5 4.13.8 → 4.13.10
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/AdminConnection.d.ts +1 -1
- package/AdminConnection.js +3 -8
- package/Components/FileBrowser.js +2 -2
- package/Components/ObjectBrowser.js +7 -5
- package/Components/ObjectBrowser.js.map +1 -1
- package/Connection.d.ts +2 -5
- package/Connection.js +7 -26
- package/README.md +8 -2
- package/icons/IconAdapter.d.ts +3 -11
- package/icons/IconAdapter.js +8 -32
- package/icons/IconAlias.d.ts +3 -11
- package/icons/IconAlias.js +8 -32
- package/icons/IconChannel.d.ts +3 -11
- package/icons/IconChannel.js +11 -69
- package/icons/IconClearFilter.d.ts +3 -11
- package/icons/IconClearFilter.js +8 -32
- package/icons/IconClosed.d.ts +3 -11
- package/icons/IconClosed.js +8 -31
- package/icons/IconCopy.d.ts +3 -38
- package/icons/IconCopy.js +7 -39
- package/icons/IconDevice.d.ts +3 -11
- package/icons/IconDevice.js +17 -132
- package/icons/IconDocument.d.ts +3 -11
- package/icons/IconDocument.js +8 -31
- package/icons/IconDocumentReadOnly.d.ts +3 -11
- package/icons/IconDocumentReadOnly.js +9 -35
- package/icons/IconExpert.d.ts +2 -11
- package/icons/IconExpert.js +1 -1
- package/icons/IconFx.d.ts +3 -11
- package/icons/IconFx.js +7 -31
- package/icons/IconInstance.d.ts +3 -11
- package/icons/IconInstance.js +8 -31
- package/icons/IconLogout.d.ts +3 -38
- package/icons/IconLogout.js +8 -42
- package/icons/IconNoIcon.d.ts +3 -38
- package/icons/IconNoIcon.js +7 -39
- package/icons/IconOpen.d.ts +3 -11
- package/icons/IconOpen.js +8 -31
- package/icons/IconProps.d.ts +14 -0
- package/icons/IconProps.js +2 -0
- package/icons/IconState.d.ts +3 -11
- package/icons/IconState.js +8 -46
- package/package.json +7 -7
- package/AdminConnection.js.map +0 -1
- package/Connection.js.map +0 -1
- package/icons/IconAdapter.js.map +0 -1
- package/icons/IconAlias.js.map +0 -1
- package/icons/IconChannel.js.map +0 -1
- package/icons/IconClearFilter.js.map +0 -1
- package/icons/IconClosed.js.map +0 -1
- package/icons/IconCopy.js.map +0 -1
- package/icons/IconDevice.js.map +0 -1
- package/icons/IconDocument.js.map +0 -1
- package/icons/IconDocumentReadOnly.js.map +0 -1
- package/icons/IconFx.js.map +0 -1
- package/icons/IconInstance.js.map +0 -1
- package/icons/IconLogout.js.map +0 -1
- package/icons/IconNoIcon.js.map +0 -1
- package/icons/IconOpen.js.map +0 -1
- package/icons/IconState.js.map +0 -1
package/icons/IconDevice.js
CHANGED
|
@@ -1,134 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
var IconDevice = function IconDevice(props) {
|
|
11
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
12
|
-
onClick: function onClick(e) {
|
|
13
|
-
return props.onClick && props.onClick(e);
|
|
14
|
-
},
|
|
15
|
-
viewBox: "0 0 320 320",
|
|
16
|
-
width: props.width || 20,
|
|
17
|
-
height: props.height || props.width || 20,
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
-
className: props.className
|
|
20
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
21
|
-
fill: "currentColor"
|
|
22
|
-
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
23
|
-
rx: "32",
|
|
24
|
-
height: "272",
|
|
25
|
-
width: "267",
|
|
26
|
-
y: "25",
|
|
27
|
-
x: "25",
|
|
28
|
-
strokeWidth: "15",
|
|
29
|
-
stroke: "currentColor",
|
|
30
|
-
fill: "none"
|
|
31
|
-
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
32
|
-
stroke: "currentColor",
|
|
33
|
-
ry: "26",
|
|
34
|
-
rx: "26",
|
|
35
|
-
cy: "252",
|
|
36
|
-
cx: "160",
|
|
37
|
-
fillOpacity: "null",
|
|
38
|
-
strokeOpacity: "null",
|
|
39
|
-
strokeWidth: "15",
|
|
40
|
-
fill: "#fff"
|
|
41
|
-
}), /*#__PURE__*/_react["default"].createElement("line", {
|
|
42
|
-
strokeLinecap: "null",
|
|
43
|
-
strokeLinejoin: "null",
|
|
44
|
-
y2: "201.94531",
|
|
45
|
-
x2: "159.5",
|
|
46
|
-
y1: "46.94531",
|
|
47
|
-
x1: "159.5",
|
|
48
|
-
fillOpacity: "null",
|
|
49
|
-
strokeOpacity: "null",
|
|
50
|
-
strokeWidth: "15",
|
|
51
|
-
stroke: "currentColor",
|
|
52
|
-
fill: "none"
|
|
53
|
-
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
54
|
-
height: "27",
|
|
55
|
-
width: "50",
|
|
56
|
-
y: "140.83068",
|
|
57
|
-
x: "133.5",
|
|
58
|
-
fillOpacity: "null",
|
|
59
|
-
strokeOpacity: "null",
|
|
60
|
-
strokeWidth: "15",
|
|
61
|
-
stroke: "currentColor",
|
|
62
|
-
fill: "#fff"
|
|
63
|
-
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
64
|
-
stroke: "currentColor",
|
|
65
|
-
ry: "26",
|
|
66
|
-
rx: "26",
|
|
67
|
-
cy: "251",
|
|
68
|
-
cx: "241",
|
|
69
|
-
fillOpacity: "null",
|
|
70
|
-
strokeOpacity: "null",
|
|
71
|
-
strokeWidth: "15",
|
|
72
|
-
fill: "#fff"
|
|
73
|
-
}), /*#__PURE__*/_react["default"].createElement("line", {
|
|
74
|
-
strokeLinecap: "null",
|
|
75
|
-
strokeLinejoin: "null",
|
|
76
|
-
y2: "200.94531",
|
|
77
|
-
x2: "240.5",
|
|
78
|
-
y1: "45.94531",
|
|
79
|
-
x1: "240.5",
|
|
80
|
-
fillOpacity: "null",
|
|
81
|
-
strokeOpacity: "null",
|
|
82
|
-
strokeWidth: "15",
|
|
83
|
-
stroke: "currentColor",
|
|
84
|
-
fill: "none"
|
|
85
|
-
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
86
|
-
height: "27",
|
|
87
|
-
width: "50",
|
|
88
|
-
y: "78.7979",
|
|
89
|
-
x: "214.5",
|
|
90
|
-
strokeWidth: "15",
|
|
91
|
-
stroke: "currentColor",
|
|
92
|
-
fill: "#fff"
|
|
93
|
-
}), /*#__PURE__*/_react["default"].createElement("ellipse", {
|
|
94
|
-
stroke: "currentColor",
|
|
95
|
-
ry: "26",
|
|
96
|
-
rx: "26",
|
|
97
|
-
cy: "252",
|
|
98
|
-
cx: "84",
|
|
99
|
-
fillOpacity: "null",
|
|
100
|
-
strokeOpacity: "null",
|
|
101
|
-
strokeWidth: "15",
|
|
102
|
-
fill: "#fff"
|
|
103
|
-
}), /*#__PURE__*/_react["default"].createElement("line", {
|
|
104
|
-
strokeLinecap: "null",
|
|
105
|
-
strokeLinejoin: "null",
|
|
106
|
-
y2: "201.94531",
|
|
107
|
-
x2: "83.5",
|
|
108
|
-
y1: "46.94531",
|
|
109
|
-
x1: "83.5",
|
|
110
|
-
fillOpacity: "null",
|
|
111
|
-
strokeOpacity: "null",
|
|
112
|
-
strokeWidth: "15",
|
|
113
|
-
stroke: "currentColor",
|
|
114
|
-
fill: "none"
|
|
115
|
-
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
116
|
-
height: "27",
|
|
117
|
-
width: "50",
|
|
118
|
-
y: "79.7979",
|
|
119
|
-
x: "57.5",
|
|
120
|
-
fillOpacity: "null",
|
|
121
|
-
strokeOpacity: "null",
|
|
122
|
-
strokeWidth: "15",
|
|
123
|
-
stroke: "currentColor",
|
|
124
|
-
fill: "#fff"
|
|
125
|
-
})));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
126
4
|
};
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const react_1 = __importDefault(require("react"));
|
|
7
|
+
const IconDevice = (props) => react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 320 320", width: props.width || (props.fontSize === 'small' ? 16 : 20), height: props.height || props.width || (props.fontSize === 'small' ? 16 : 20), className: props.className, style: props.style },
|
|
8
|
+
react_1.default.createElement("g", { fill: "currentColor" },
|
|
9
|
+
react_1.default.createElement("rect", { rx: "32", height: "272", width: "267", y: "25", x: "25", strokeWidth: "15", stroke: "currentColor", fill: "none" }),
|
|
10
|
+
react_1.default.createElement("ellipse", { stroke: "currentColor", ry: "26", rx: "26", cy: "252", cx: "160", fillOpacity: "null", strokeOpacity: "null", strokeWidth: "15", fill: "#fff" }),
|
|
11
|
+
react_1.default.createElement("line", { y2: "201.94531", x2: "159.5", y1: "46.94531", x1: "159.5", fillOpacity: "null", strokeOpacity: "null", strokeWidth: "15", stroke: "currentColor", fill: "none" }),
|
|
12
|
+
react_1.default.createElement("rect", { height: "27", width: "50", y: "140.83068", x: "133.5", fillOpacity: "null", strokeOpacity: "null", strokeWidth: "15", stroke: "currentColor", fill: "#fff" }),
|
|
13
|
+
react_1.default.createElement("ellipse", { stroke: "currentColor", ry: "26", rx: "26", cy: "251", cx: "241", fillOpacity: "null", strokeOpacity: "null", strokeWidth: "15", fill: "#fff" }),
|
|
14
|
+
react_1.default.createElement("line", { y2: "200.94531", x2: "240.5", y1: "45.94531", x1: "240.5", fillOpacity: "null", strokeOpacity: "null", strokeWidth: "15", stroke: "currentColor", fill: "none" }),
|
|
15
|
+
react_1.default.createElement("rect", { height: "27", width: "50", y: "78.7979", x: "214.5", strokeWidth: "15", stroke: "currentColor", fill: "#fff" }),
|
|
16
|
+
react_1.default.createElement("ellipse", { stroke: "currentColor", ry: "26", rx: "26", cy: "252", cx: "84", fillOpacity: "null", strokeOpacity: "null", strokeWidth: "15", fill: "#fff" }),
|
|
17
|
+
react_1.default.createElement("line", { y2: "201.94531", x2: "83.5", y1: "46.94531", x1: "83.5", fillOpacity: "null", strokeOpacity: "null", strokeWidth: "15", stroke: "currentColor", fill: "none" }),
|
|
18
|
+
react_1.default.createElement("rect", { height: "27", width: "50", y: "79.7979", x: "57.5", fillOpacity: "null", strokeOpacity: "null", strokeWidth: "15", stroke: "currentColor", fill: "#fff" })));
|
|
19
|
+
exports.default = IconDevice;
|
package/icons/IconDocument.d.ts
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
export default IconDocument;
|
|
2
|
-
declare function IconDocument(props: any): React.JSX.Element;
|
|
3
|
-
declare namespace IconDocument {
|
|
4
|
-
namespace propTypes {
|
|
5
|
-
let onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
6
|
-
let width: PropTypes.Requireable<NonNullable<string | number>>;
|
|
7
|
-
let height: PropTypes.Requireable<NonNullable<string | number>>;
|
|
8
|
-
let className: PropTypes.Requireable<string>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
1
|
import React from 'react';
|
|
12
|
-
import
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconDocument: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconDocument;
|
package/icons/IconDocument.js
CHANGED
|
@@ -1,33 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/
|
|
11
|
-
var IconDocument = function IconDocument(props) {
|
|
12
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
13
|
-
onClick: function onClick(e) {
|
|
14
|
-
return props.onClick && props.onClick(e);
|
|
15
|
-
},
|
|
16
|
-
viewBox: "0 0 512 512",
|
|
17
|
-
width: props.width || 20,
|
|
18
|
-
height: props.height || props.width || 20,
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
className: props.className
|
|
21
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
d: "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
IconDocument.propTypes = {
|
|
27
|
-
onClick: _propTypes["default"].func,
|
|
28
|
-
width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
29
|
-
height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
30
|
-
className: _propTypes["default"].string
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
31
4
|
};
|
|
32
|
-
|
|
33
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const react_1 = __importDefault(require("react"));
|
|
7
|
+
// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/
|
|
8
|
+
const IconDocument = (props) => react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", onClick: e => props.onClick && props.onClick(e), width: props.width || (props.fontSize === 'small' ? 16 : 20), height: props.height || props.width || (props.fontSize === 'small' ? 16 : 20), className: props.className, style: props.style },
|
|
9
|
+
react_1.default.createElement("path", { fill: "currentColor", d: "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z" }));
|
|
10
|
+
exports.default = IconDocument;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
export default IconDocumentReadOnly;
|
|
2
|
-
declare function IconDocumentReadOnly(props: any): React.JSX.Element;
|
|
3
|
-
declare namespace IconDocumentReadOnly {
|
|
4
|
-
namespace propTypes {
|
|
5
|
-
let onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
6
|
-
let width: PropTypes.Requireable<NonNullable<string | number>>;
|
|
7
|
-
let height: PropTypes.Requireable<NonNullable<string | number>>;
|
|
8
|
-
let className: PropTypes.Requireable<string>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
1
|
import React from 'react';
|
|
12
|
-
import
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconDocumentReadOnly: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconDocumentReadOnly;
|
|
@@ -1,37 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/
|
|
11
|
-
var IconDocumentReadOnly = function IconDocumentReadOnly(props) {
|
|
12
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
13
|
-
onClick: function onClick(e) {
|
|
14
|
-
return props.onClick && props.onClick(e);
|
|
15
|
-
},
|
|
16
|
-
viewBox: "0 0 512 512",
|
|
17
|
-
width: props.width || 20,
|
|
18
|
-
height: props.height || props.width || 20,
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
className: props.className
|
|
21
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
d: "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"
|
|
24
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
25
|
-
fill: "currentColor",
|
|
26
|
-
stroke: "null",
|
|
27
|
-
d: "m261,270l-12,0l0,-24c0,-33.12 -26.88,-60 -60,-60s-60,26.88 -60,60l0,24l-12,0c-13.2,0 -24,10.8 -24,24l0,120c0,13.2 10.8,24 24,24l144,0c13.2,0 24,-10.8 24,-24l0,-120c0,-13.2 -10.8,-24 -24,-24zm-72,108c-13.2,0 -24,-10.8 -24,-24s10.8,-24 24,-24s24,10.8 24,24s-10.8,24 -24,24zm37.2,-108l-74.4,0l0,-24c0,-20.52 16.68,-37.2 37.2,-37.2c20.52,0 37.2,16.68 37.2,37.2l0,24z"
|
|
28
|
-
}));
|
|
29
|
-
};
|
|
30
|
-
IconDocumentReadOnly.propTypes = {
|
|
31
|
-
onClick: _propTypes["default"].func,
|
|
32
|
-
width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
33
|
-
height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
34
|
-
className: _propTypes["default"].string
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
35
4
|
};
|
|
36
|
-
|
|
37
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const react_1 = __importDefault(require("react"));
|
|
7
|
+
// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/
|
|
8
|
+
const IconDocumentReadOnly = (props) => react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", onClick: e => props.onClick && props.onClick(e), width: props.width || (props.fontSize === 'small' ? 16 : 20), height: props.height || props.width || (props.fontSize === 'small' ? 16 : 20), className: props.className, style: props.style },
|
|
9
|
+
react_1.default.createElement("path", { fill: "currentColor", d: "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z" }),
|
|
10
|
+
react_1.default.createElement("path", { fill: "currentColor", stroke: "null", d: "m261,270l-12,0l0,-24c0,-33.12 -26.88,-60 -60,-60s-60,26.88 -60,60l0,24l-12,0c-13.2,0 -24,10.8 -24,24l0,120c0,13.2 10.8,24 24,24l144,0c13.2,0 24,-10.8 24,-24l0,-120c0,-13.2 -10.8,-24 -24,-24zm-72,108c-13.2,0 -24,-10.8 -24,-24s10.8,-24 24,-24s24,10.8 24,24s-10.8,24 -24,24zm37.2,-108l-74.4,0l0,-24c0,-20.52 16.68,-37.2 37.2,-37.2c20.52,0 37.2,16.68 37.2,37.2l0,24z" }));
|
|
11
|
+
exports.default = IconDocumentReadOnly;
|
package/icons/IconExpert.d.ts
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
width?: number | string;
|
|
5
|
-
/** The height in pixels or percentage of the icon. */
|
|
6
|
-
height?: number | string;
|
|
7
|
-
/** Click handler. */
|
|
8
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
9
|
-
/** The class name for the SVG element. */
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const ExpertIcon: (props: ExpertIconProps) => React.JSX.Element;
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const ExpertIcon: (props: IconProps) => React.JSX.Element;
|
|
13
4
|
export default ExpertIcon;
|
package/icons/IconExpert.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const ExpertIcon = (props) => react_1.default.createElement("svg", { onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 486.70625 486", width: props.width || 20, height: props.height || props.width || 20, xmlns: "http://www.w3.org/2000/svg", className: props.className },
|
|
7
|
+
const ExpertIcon = (props) => react_1.default.createElement("svg", { onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 486.70625 486", width: props.width || (props.fontSize === 'small' ? 16 : 20), height: props.height || props.width || (props.fontSize === 'small' ? 16 : 20), xmlns: "http://www.w3.org/2000/svg", className: props.className, style: props.style },
|
|
8
8
|
react_1.default.createElement("path", { fill: "currentColor", d: "m414.928297,149.715165 c-2.639376,-57.222555 -35.669446,-106.505345 -83.345894,-132.039151 c-3.758948,-2.049842 -7.636885,-3.932022 -11.590542,-5.641125 c-19.303146,-8.394083 -40.607459,-13.050853 -63.004303,-13.050853 c-84.113909,0 -152.791790,65.703174 -157.718988,148.605566 l0.043268,-0.010816 v0.281245 c0,3.061243 -0.146031,16.750306 -0.146031,16.750306 l-2.352723,5.224668 h15.744315 c5.916964,-19.384275 24.078904,-32.635245 45.513024,-32.635245 c26.231510,0 47.573684,21.915481 47.573684,48.146991 c0,26.226103 -21.342174,47.146409 -47.573684,47.146409 c-25.111939,0 -45.734774,-19.735831 -47.443879,-44.658471 h-18.789334 c-0.400232,0 -0.778832,0.638209 -1.162839,0.584122 l-19.762875,55.199753 c-2.774590,7.696379 2.926030,16.214860 11.103771,16.214860 h17.020735 l-0.129805,87.899899 c0,17.356066 14.073071,31.174935 31.429136,31.174935 h56.205745 v82.648189 c0,12.877778 12.937273,22.580734 25.815051,22.580734 h144.597825 c12.877778,0 23.429877,-9.702955 23.429877,-22.580734 v-166.037352 c0,-22.645636 5.976457,-44.761234 16.561008,-64.789128 c11.055093,-20.925714 17.523731,-44.620611 18.129489,-69.792045 c0.027042,-1.260193 0.037858,-2.552839 0.037858,-3.845485 c0,-2.466302 -0.070310,-4.938014 -0.183890,-7.377273 zm-155.393308,-11.731165 h-13.456494 v13.559257 c0,4.732489 -4.267352,8.567157 -8.999842,8.567157 c-4.727079,0 -8.999842,-3.834667 -8.999842,-8.567157 v-13.559257 h-12.185483 c-4.732489,0 -8.567157,-4.267352 -8.567157,-8.999842 c0,-4.727079 3.834667,-8.999842 8.567157,-8.999842 h12.185483 v-12.077311 c0,-4.732489 4.272762,-8.567157 8.999842,-8.567157 c4.732489,0 8.999842,3.834667 8.999842,8.567157 v12.077311 h13.456494 c4.727079,0 8.567157,4.272762 8.567157,8.999842 c0,4.732489 -3.840077,8.999842 -8.567157,8.999842 zm0,0" }),
|
|
9
9
|
react_1.default.createElement("path", { fill: "currentColor", d: "m187.695312 285.875c3.9375-3.980469 6.414063-9.449219 6.414063-15.523438 0-12.128906-9.855469-21.980468-21.984375-21.980468-6.007812 0-11.472656 2.410156-15.457031 6.347656-4.023438 4.003906-6.523438 9.539062-6.523438 15.636719 0 12.125 9.855469 21.980469 21.980469 21.980469 6.078125 0 11.585938-2.476563 15.570312-6.460938zm0 0" }));
|
|
10
10
|
exports.default = ExpertIcon;
|
package/icons/IconFx.d.ts
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
export default IconFx;
|
|
2
|
-
declare function IconFx(props: any): React.JSX.Element;
|
|
3
|
-
declare namespace IconFx {
|
|
4
|
-
namespace propTypes {
|
|
5
|
-
let onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
6
|
-
let width: PropTypes.Requireable<NonNullable<string | number>>;
|
|
7
|
-
let height: PropTypes.Requireable<NonNullable<string | number>>;
|
|
8
|
-
let className: PropTypes.Requireable<string>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
1
|
import React from 'react';
|
|
12
|
-
import
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconFx: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconFx;
|
package/icons/IconFx.js
CHANGED
|
@@ -1,33 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
var IconFx = function IconFx(props) {
|
|
11
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
12
|
-
onClick: function onClick(e) {
|
|
13
|
-
return props.onClick && props.onClick(e);
|
|
14
|
-
},
|
|
15
|
-
style: props.style || {},
|
|
16
|
-
viewBox: "0 0 95 95",
|
|
17
|
-
width: props.width || 20,
|
|
18
|
-
height: props.height || props.width || 20,
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
className: props.className
|
|
21
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
d: "M93.779,63.676c-0.981-1.082-2.24-1.653-3.639-1.653c-1.145,0-3.953,0.396-5.318,4.062 c-0.344,0.922-0.443,1.413-0.907,1.363c-0.786-0.078-3.845-3.346-4.845-8.145l-2.482-11.6c1.961-3.177,3.977-5.629,5.988-7.292 c1.08-0.882,2.314-1.349,3.808-1.43c3.815-0.26,5.203-0.74,6.14-1.399c1.547-1.115,2.397-2.728,2.397-4.542 c0-1.596-0.604-3.019-1.75-4.115c-1.106-1.059-2.581-1.618-4.26-1.618c-2.468,0-5.239,1.142-8.474,3.49 c-1.91,1.388-3.935,3.406-6.121,6.111c-0.711-2.653-1.319-3.889-1.771-4.628c-1.396-2.303-3.664-2.303-4.41-2.303l-0.813,0.013 l-23.045,0.544l1.297-5.506c0.828-3.593,1.915-6.436,3.226-8.45c0.638-0.98,1.614-2.148,2.638-2.148 c0.387,0,1.152,0.063,2.582,0.36c3.978,0.86,5.465,0.959,6.239,0.959c1.708,0,3.21-0.571,4.347-1.651 c1.176-1.119,1.797-2.583,1.797-4.233c0-1.29-0.424-3.156-2.445-4.722c-1.396-1.081-3.311-1.629-5.691-1.629 c-3.568,0-7.349,1.141-11.241,3.39c-3.862,2.232-7.038,5.317-9.438,9.171c-2.105,3.379-3.929,8.124-5.555,14.459H21.877 l-2.238,8.831h10.186l-7.74,31.116c-1.603,6.443-2.777,8.028-3.098,8.361c-0.875,0.904-2.68,1.094-4.04,1.094 c-1.683,0-3.477-0.121-5.349-0.361c-1.286-0.157-2.265-0.234-2.991-0.234c-1.878,0-3.423,0.488-4.59,1.448 C0.716,81.858,0,83.403,0,85.14c0,1.357,0.44,3.309,2.539,4.895c1.434,1.08,3.389,1.628,5.813,1.628 c6.069,0,11.725-2.411,16.813-7.165c4.947-4.624,8.571-11.413,10.773-20.195l6.119-24.935l20.87,0.354l2.244,9.64l-4.573,6.748 c-0.824,1.209-2.051,2.701-3.658,4.441c-0.84,0.92-1.398,1.426-1.721,1.689c-1.316-1.608-2.809-2.424-4.432-2.424 c-1.525,0-2.91,0.625-4.002,1.804c-1.036,1.116-1.583,2.514-1.583,4.038c0,1.83,0.783,3.459,2.264,4.709 c1.357,1.146,3.034,1.728,4.981,1.728c2.414,0,4.884-0.921,7.344-2.737c2.053-1.519,4.697-4.526,8.074-9.189 c2.17,6.24,5.248,10.252,6.714,11.927c2.313,2.644,6.049,4.22,9.993,4.22c3.348,0,5.244-1.402,6.916-2.641l0.148-0.109 c2.926-2.164,3.54-4.545,3.54-6.166C95.174,65.965,94.691,64.679,93.779,63.676z"
|
|
24
|
-
}));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
25
4
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
var _default = exports["default"] = IconFx;
|
|
33
|
-
//# sourceMappingURL=IconFx.js.map
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const react_1 = __importDefault(require("react"));
|
|
7
|
+
const IconFx = (props) => react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 95 95", width: props.width || (props.fontSize === 'small' ? 16 : 20), height: props.height || props.width || (props.fontSize === 'small' ? 16 : 20), className: props.className, style: props.style },
|
|
8
|
+
react_1.default.createElement("path", { fill: "currentColor", d: "M93.779,63.676c-0.981-1.082-2.24-1.653-3.639-1.653c-1.145,0-3.953,0.396-5.318,4.062\n c-0.344,0.922-0.443,1.413-0.907,1.363c-0.786-0.078-3.845-3.346-4.845-8.145l-2.482-11.6c1.961-3.177,3.977-5.629,5.988-7.292\n c1.08-0.882,2.314-1.349,3.808-1.43c3.815-0.26,5.203-0.74,6.14-1.399c1.547-1.115,2.397-2.728,2.397-4.542\n c0-1.596-0.604-3.019-1.75-4.115c-1.106-1.059-2.581-1.618-4.26-1.618c-2.468,0-5.239,1.142-8.474,3.49\n c-1.91,1.388-3.935,3.406-6.121,6.111c-0.711-2.653-1.319-3.889-1.771-4.628c-1.396-2.303-3.664-2.303-4.41-2.303l-0.813,0.013\n l-23.045,0.544l1.297-5.506c0.828-3.593,1.915-6.436,3.226-8.45c0.638-0.98,1.614-2.148,2.638-2.148\n c0.387,0,1.152,0.063,2.582,0.36c3.978,0.86,5.465,0.959,6.239,0.959c1.708,0,3.21-0.571,4.347-1.651\n c1.176-1.119,1.797-2.583,1.797-4.233c0-1.29-0.424-3.156-2.445-4.722c-1.396-1.081-3.311-1.629-5.691-1.629\n c-3.568,0-7.349,1.141-11.241,3.39c-3.862,2.232-7.038,5.317-9.438,9.171c-2.105,3.379-3.929,8.124-5.555,14.459H21.877\n l-2.238,8.831h10.186l-7.74,31.116c-1.603,6.443-2.777,8.028-3.098,8.361c-0.875,0.904-2.68,1.094-4.04,1.094\n c-1.683,0-3.477-0.121-5.349-0.361c-1.286-0.157-2.265-0.234-2.991-0.234c-1.878,0-3.423,0.488-4.59,1.448\n C0.716,81.858,0,83.403,0,85.14c0,1.357,0.44,3.309,2.539,4.895c1.434,1.08,3.389,1.628,5.813,1.628\n c6.069,0,11.725-2.411,16.813-7.165c4.947-4.624,8.571-11.413,10.773-20.195l6.119-24.935l20.87,0.354l2.244,9.64l-4.573,6.748\n c-0.824,1.209-2.051,2.701-3.658,4.441c-0.84,0.92-1.398,1.426-1.721,1.689c-1.316-1.608-2.809-2.424-4.432-2.424\n c-1.525,0-2.91,0.625-4.002,1.804c-1.036,1.116-1.583,2.514-1.583,4.038c0,1.83,0.783,3.459,2.264,4.709\n c1.357,1.146,3.034,1.728,4.981,1.728c2.414,0,4.884-0.921,7.344-2.737c2.053-1.519,4.697-4.526,8.074-9.189\n c2.17,6.24,5.248,10.252,6.714,11.927c2.313,2.644,6.049,4.22,9.993,4.22c3.348,0,5.244-1.402,6.916-2.641l0.148-0.109\n c2.926-2.164,3.54-4.545,3.54-6.166C95.174,65.965,94.691,64.679,93.779,63.676z" }));
|
|
9
|
+
exports.default = IconFx;
|
package/icons/IconInstance.d.ts
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
export default IconInstance;
|
|
2
|
-
declare function IconInstance(props: any): React.JSX.Element;
|
|
3
|
-
declare namespace IconInstance {
|
|
4
|
-
namespace propTypes {
|
|
5
|
-
let onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
6
|
-
let width: PropTypes.Requireable<NonNullable<string | number>>;
|
|
7
|
-
let height: PropTypes.Requireable<NonNullable<string | number>>;
|
|
8
|
-
let className: PropTypes.Requireable<string>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
1
|
import React from 'react';
|
|
12
|
-
import
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconInstance: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconInstance;
|
package/icons/IconInstance.js
CHANGED
|
@@ -1,33 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/
|
|
11
|
-
var IconInstance = function IconInstance(props) {
|
|
12
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
13
|
-
onClick: function onClick(e) {
|
|
14
|
-
return props.onClick && props.onClick(e);
|
|
15
|
-
},
|
|
16
|
-
viewBox: "0 0 512 512",
|
|
17
|
-
width: props.width || 20,
|
|
18
|
-
height: props.height || props.width || 20,
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
className: props.className
|
|
21
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
22
|
-
fill: "currentColor",
|
|
23
|
-
d: "M448 0L320 96v62.06l-83.03 83.03c6.79 4.25 13.27 9.06 19.07 14.87 5.8 5.8 10.62 12.28 14.87 19.07L353.94 192H416l96-128-64-64zM128 278.59L10.92 395.67c-14.55 14.55-14.55 38.15 0 52.71l52.7 52.7c14.56 14.56 38.15 14.56 52.71 0L233.41 384c29.11-29.11 29.11-76.3 0-105.41s-76.3-29.11-105.41 0z"
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
IconInstance.propTypes = {
|
|
27
|
-
onClick: _propTypes["default"].func,
|
|
28
|
-
width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
29
|
-
height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
30
|
-
className: _propTypes["default"].string
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
31
4
|
};
|
|
32
|
-
|
|
33
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const react_1 = __importDefault(require("react"));
|
|
7
|
+
// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/
|
|
8
|
+
const IconInstance = (props) => react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 512 512", width: props.width || (props.fontSize === 'small' ? 16 : 20), height: props.height || props.width || (props.fontSize === 'small' ? 16 : 20), className: props.className, style: props.style },
|
|
9
|
+
react_1.default.createElement("path", { fill: "currentColor", d: "M448 0L320 96v62.06l-83.03 83.03c6.79 4.25 13.27 9.06 19.07 14.87 5.8 5.8 10.62 12.28 14.87 19.07L353.94 192H416l96-128-64-64zM128 278.59L10.92 395.67c-14.55 14.55-14.55 38.15 0 52.71l52.7 52.7c14.56 14.56 38.15 14.56 52.71 0L233.41 384c29.11-29.11 29.11-76.3 0-105.41s-76.3-29.11-105.41 0z" }));
|
|
10
|
+
exports.default = IconInstance;
|
package/icons/IconLogout.d.ts
CHANGED
|
@@ -1,39 +1,4 @@
|
|
|
1
|
-
export default IconLogout;
|
|
2
|
-
export type IconLogoutProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The width in pixels of the icon.
|
|
5
|
-
*/
|
|
6
|
-
width?: number;
|
|
7
|
-
/**
|
|
8
|
-
* The height in pixels of the icon.
|
|
9
|
-
*/
|
|
10
|
-
height?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Click handler.
|
|
13
|
-
*/
|
|
14
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
15
|
-
/**
|
|
16
|
-
* The class name for the SVG element.
|
|
17
|
-
*/
|
|
18
|
-
className?: string;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @typedef {object} IconLogoutProps
|
|
22
|
-
* @property {number} [width] The width in pixels of the icon.
|
|
23
|
-
* @property {number} [height] The height in pixels of the icon.
|
|
24
|
-
* @property {(e: React.MouseEvent) => void} [onClick] Click handler.
|
|
25
|
-
* @property {string} [className] The class name for the SVG element.
|
|
26
|
-
*
|
|
27
|
-
* @extends {React.Component<ExpertIconProps>}
|
|
28
|
-
*/
|
|
29
|
-
declare function IconLogout(props: any): React.JSX.Element;
|
|
30
|
-
declare namespace IconLogout {
|
|
31
|
-
namespace propTypes {
|
|
32
|
-
let onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
|
-
let width: PropTypes.Requireable<NonNullable<string | number>>;
|
|
34
|
-
let height: PropTypes.Requireable<NonNullable<string | number>>;
|
|
35
|
-
let className: PropTypes.Requireable<string>;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
1
|
import React from 'react';
|
|
39
|
-
import
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconLogout: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconLogout;
|
package/icons/IconLogout.js
CHANGED
|
@@ -1,44 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
/**
|
|
11
|
-
* @typedef {object} IconLogoutProps
|
|
12
|
-
* @property {number} [width] The width in pixels of the icon.
|
|
13
|
-
* @property {number} [height] The height in pixels of the icon.
|
|
14
|
-
* @property {(e: React.MouseEvent) => void} [onClick] Click handler.
|
|
15
|
-
* @property {string} [className] The class name for the SVG element.
|
|
16
|
-
*
|
|
17
|
-
* @extends {React.Component<ExpertIconProps>}
|
|
18
|
-
*/
|
|
19
|
-
var IconLogout = function IconLogout(props) {
|
|
20
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
21
|
-
onClick: function onClick(e) {
|
|
22
|
-
return props.onClick && props.onClick(e);
|
|
23
|
-
},
|
|
24
|
-
viewBox: "0 0 512 512",
|
|
25
|
-
width: props.width || 20,
|
|
26
|
-
height: props.height || props.width || 20,
|
|
27
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
28
|
-
className: props.className
|
|
29
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
30
|
-
fill: "currentColor",
|
|
31
|
-
d: "M510.371,226.513c-1.088-2.603-2.645-4.971-4.629-6.955l-63.979-63.979c-8.341-8.32-21.824-8.32-30.165,0 c-8.341,8.341-8.341,21.845,0,30.165l27.584,27.584H320.013c-11.797,0-21.333,9.557-21.333,21.333s9.536,21.333,21.333,21.333 h119.168l-27.584,27.584c-8.341,8.341-8.341,21.845,0,30.165c4.16,4.181,9.621,6.251,15.083,6.251s10.923-2.069,15.083-6.251 l63.979-63.979c1.984-1.963,3.541-4.331,4.629-6.955C512.525,237.606,512.525,231.718,510.371,226.513z"
|
|
32
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
33
|
-
fill: "currentColor",
|
|
34
|
-
d: "M362.68,298.667c-11.797,0-21.333,9.557-21.333,21.333v106.667h-85.333V85.333c0-9.408-6.187-17.728-15.211-20.437 l-74.091-22.229h174.635v106.667c0,11.776,9.536,21.333,21.333,21.333s21.333-9.557,21.333-21.333v-128 C384.013,9.557,374.477,0,362.68,0H21.347c-0.768,0-1.451,0.32-2.197,0.405c-1.003,0.107-1.92,0.277-2.88,0.512 c-2.24,0.576-4.267,1.451-6.165,2.645c-0.469,0.299-1.045,0.32-1.493,0.661C8.44,4.352,8.376,4.587,8.205,4.715 C5.88,6.549,3.939,8.789,2.531,11.456c-0.299,0.576-0.363,1.195-0.597,1.792c-0.683,1.621-1.429,3.2-1.685,4.992 c-0.107,0.64,0.085,1.237,0.064,1.856c-0.021,0.427-0.299,0.811-0.299,1.237V448c0,10.176,7.189,18.923,17.152,20.907 l213.333,42.667c1.387,0.299,2.795,0.427,4.181,0.427c4.885,0,9.685-1.685,13.525-4.843c4.928-4.053,7.808-10.091,7.808-16.491 v-21.333H362.68c11.797,0,21.333-9.557,21.333-21.333V320C384.013,308.224,374.477,298.667,362.68,298.667z"
|
|
35
|
-
}));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
36
4
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
var _default = exports["default"] = IconLogout;
|
|
44
|
-
//# sourceMappingURL=IconLogout.js.map
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const react_1 = __importDefault(require("react"));
|
|
7
|
+
const IconLogout = (props) => react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 512 512", width: props.width || (props.fontSize === 'small' ? 16 : 20), height: props.height || props.width || (props.fontSize === 'small' ? 16 : 20), className: props.className, style: props.style },
|
|
8
|
+
react_1.default.createElement("path", { fill: "currentColor", d: "M510.371,226.513c-1.088-2.603-2.645-4.971-4.629-6.955l-63.979-63.979c-8.341-8.32-21.824-8.32-30.165,0 c-8.341,8.341-8.341,21.845,0,30.165l27.584,27.584H320.013c-11.797,0-21.333,9.557-21.333,21.333s9.536,21.333,21.333,21.333 h119.168l-27.584,27.584c-8.341,8.341-8.341,21.845,0,30.165c4.16,4.181,9.621,6.251,15.083,6.251s10.923-2.069,15.083-6.251 l63.979-63.979c1.984-1.963,3.541-4.331,4.629-6.955C512.525,237.606,512.525,231.718,510.371,226.513z" }),
|
|
9
|
+
react_1.default.createElement("path", { fill: "currentColor", d: "M362.68,298.667c-11.797,0-21.333,9.557-21.333,21.333v106.667h-85.333V85.333c0-9.408-6.187-17.728-15.211-20.437\n l-74.091-22.229h174.635v106.667c0,11.776,9.536,21.333,21.333,21.333s21.333-9.557,21.333-21.333v-128\n C384.013,9.557,374.477,0,362.68,0H21.347c-0.768,0-1.451,0.32-2.197,0.405c-1.003,0.107-1.92,0.277-2.88,0.512\n c-2.24,0.576-4.267,1.451-6.165,2.645c-0.469,0.299-1.045,0.32-1.493,0.661C8.44,4.352,8.376,4.587,8.205,4.715\n C5.88,6.549,3.939,8.789,2.531,11.456c-0.299,0.576-0.363,1.195-0.597,1.792c-0.683,1.621-1.429,3.2-1.685,4.992\n c-0.107,0.64,0.085,1.237,0.064,1.856c-0.021,0.427-0.299,0.811-0.299,1.237V448c0,10.176,7.189,18.923,17.152,20.907\n l213.333,42.667c1.387,0.299,2.795,0.427,4.181,0.427c4.885,0,9.685-1.685,13.525-4.843c4.928-4.053,7.808-10.091,7.808-16.491\n v-21.333H362.68c11.797,0,21.333-9.557,21.333-21.333V320C384.013,308.224,374.477,298.667,362.68,298.667z" }));
|
|
10
|
+
exports.default = IconLogout;
|
package/icons/IconNoIcon.d.ts
CHANGED
|
@@ -1,39 +1,4 @@
|
|
|
1
|
-
export default IconNoIcon;
|
|
2
|
-
export type IconNoIconProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The width in pixels of the icon.
|
|
5
|
-
*/
|
|
6
|
-
width?: number;
|
|
7
|
-
/**
|
|
8
|
-
* The height in pixels of the icon.
|
|
9
|
-
*/
|
|
10
|
-
height?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Click handler.
|
|
13
|
-
*/
|
|
14
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
15
|
-
/**
|
|
16
|
-
* The class name for the SVG element.
|
|
17
|
-
*/
|
|
18
|
-
className?: string;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @typedef {object} IconNoIconProps
|
|
22
|
-
* @property {number} [width] The width in pixels of the icon.
|
|
23
|
-
* @property {number} [height] The height in pixels of the icon.
|
|
24
|
-
* @property {(e: React.MouseEvent) => void} [onClick] Click handler.
|
|
25
|
-
* @property {string} [className] The class name for the SVG element.
|
|
26
|
-
*
|
|
27
|
-
* @extends {React.Component<IconNoIconProps>}
|
|
28
|
-
*/
|
|
29
|
-
declare function IconNoIcon(props: any): React.JSX.Element;
|
|
30
|
-
declare namespace IconNoIcon {
|
|
31
|
-
namespace propTypes {
|
|
32
|
-
let onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
|
-
let width: PropTypes.Requireable<NonNullable<string | number>>;
|
|
34
|
-
let height: PropTypes.Requireable<NonNullable<string | number>>;
|
|
35
|
-
let className: PropTypes.Requireable<string>;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
1
|
import React from 'react';
|
|
39
|
-
import
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconNoIcon: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconNoIcon;
|
package/icons/IconNoIcon.js
CHANGED
|
@@ -1,41 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
-
/**
|
|
11
|
-
* @typedef {object} IconNoIconProps
|
|
12
|
-
* @property {number} [width] The width in pixels of the icon.
|
|
13
|
-
* @property {number} [height] The height in pixels of the icon.
|
|
14
|
-
* @property {(e: React.MouseEvent) => void} [onClick] Click handler.
|
|
15
|
-
* @property {string} [className] The class name for the SVG element.
|
|
16
|
-
*
|
|
17
|
-
* @extends {React.Component<IconNoIconProps>}
|
|
18
|
-
*/
|
|
19
|
-
var IconNoIcon = function IconNoIcon(props) {
|
|
20
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
21
|
-
onClick: function onClick(e) {
|
|
22
|
-
return props.onClick && props.onClick(e);
|
|
23
|
-
},
|
|
24
|
-
viewBox: "0 0 512 512",
|
|
25
|
-
width: props.width || 20,
|
|
26
|
-
height: props.height || props.width || 20,
|
|
27
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
28
|
-
className: props.className
|
|
29
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
30
|
-
fill: "#EE3333",
|
|
31
|
-
d: "M256,0C114.844,0,0,114.844,0,256s114.844,256,256,256s256-114.844,256-256S397.156,0,256,0z M256,448 c-105.865,0-192-86.135-192-192c0-40.406,12.25-78.604,35.542-111.198l267.656,267.656C334.604,435.75,296.406,448,256,448z M412.458,367.198L144.802,99.542C177.396,76.25,215.594,64,256,64c105.865,0,192,86.135,192,192 C448,296.406,435.75,334.604,412.458,367.198z"
|
|
32
|
-
}));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33
4
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
};
|
|
40
|
-
var _default = exports["default"] = IconNoIcon;
|
|
41
|
-
//# sourceMappingURL=IconNoIcon.js.map
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const react_1 = __importDefault(require("react"));
|
|
7
|
+
const IconNoIcon = (props) => react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 512 512", width: props.width || (props.fontSize === 'small' ? 16 : 20), height: props.height || props.width || (props.fontSize === 'small' ? 16 : 20), className: props.className, style: props.style },
|
|
8
|
+
react_1.default.createElement("path", { fill: "#EE3333", d: "M256,0C114.844,0,0,114.844,0,256s114.844,256,256,256s256-114.844,256-256S397.156,0,256,0z M256,448 c-105.865,0-192-86.135-192-192c0-40.406,12.25-78.604,35.542-111.198l267.656,267.656C334.604,435.75,296.406,448,256,448z M412.458,367.198L144.802,99.542C177.396,76.25,215.594,64,256,64c105.865,0,192,86.135,192,192 C448,296.406,435.75,334.604,412.458,367.198z" }));
|
|
9
|
+
exports.default = IconNoIcon;
|