@iobroker/adapter-react-v5 4.13.9 → 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.
Files changed (48) hide show
  1. package/Components/FileBrowser.js +2 -2
  2. package/Components/ObjectBrowser.js +7 -5
  3. package/Components/ObjectBrowser.js.map +1 -1
  4. package/README.md +3 -0
  5. package/icons/IconAdapter.js +1 -1
  6. package/icons/IconAlias.js +1 -1
  7. package/icons/IconChannel.d.ts +3 -11
  8. package/icons/IconChannel.js +11 -69
  9. package/icons/IconClearFilter.d.ts +3 -11
  10. package/icons/IconClearFilter.js +8 -32
  11. package/icons/IconClosed.d.ts +3 -11
  12. package/icons/IconClosed.js +8 -31
  13. package/icons/IconCopy.d.ts +3 -38
  14. package/icons/IconCopy.js +7 -39
  15. package/icons/IconDevice.d.ts +3 -11
  16. package/icons/IconDevice.js +17 -132
  17. package/icons/IconDocument.d.ts +3 -11
  18. package/icons/IconDocument.js +8 -31
  19. package/icons/IconDocumentReadOnly.d.ts +3 -11
  20. package/icons/IconDocumentReadOnly.js +9 -35
  21. package/icons/IconExpert.js +1 -1
  22. package/icons/IconFx.d.ts +3 -11
  23. package/icons/IconFx.js +7 -31
  24. package/icons/IconInstance.d.ts +3 -11
  25. package/icons/IconInstance.js +8 -31
  26. package/icons/IconLogout.d.ts +3 -38
  27. package/icons/IconLogout.js +8 -42
  28. package/icons/IconNoIcon.d.ts +3 -38
  29. package/icons/IconNoIcon.js +7 -39
  30. package/icons/IconOpen.d.ts +3 -11
  31. package/icons/IconOpen.js +8 -31
  32. package/icons/IconProps.d.ts +1 -0
  33. package/icons/IconState.d.ts +3 -11
  34. package/icons/IconState.js +8 -46
  35. package/package.json +1 -1
  36. package/icons/IconChannel.js.map +0 -1
  37. package/icons/IconClearFilter.js.map +0 -1
  38. package/icons/IconClosed.js.map +0 -1
  39. package/icons/IconCopy.js.map +0 -1
  40. package/icons/IconDevice.js.map +0 -1
  41. package/icons/IconDocument.js.map +0 -1
  42. package/icons/IconDocumentReadOnly.js.map +0 -1
  43. package/icons/IconFx.js.map +0 -1
  44. package/icons/IconInstance.js.map +0 -1
  45. package/icons/IconLogout.js.map +0 -1
  46. package/icons/IconNoIcon.js.map +0 -1
  47. package/icons/IconOpen.js.map +0 -1
  48. package/icons/IconState.js.map +0 -1
package/README.md CHANGED
@@ -670,6 +670,9 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
670
670
  -->
671
671
 
672
672
  ## Changelog
673
+ ### 4.13.10 (2024-04-22)
674
+ * (bluefox) Migrated all icons to Typescript
675
+
673
676
  ### 4.13.9 (2024-04-20)
674
677
  * (bluefox) Updated socket-client package
675
678
 
@@ -5,6 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
7
  // Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/
8
- const IconAdapter = (props) => react_1.default.createElement("svg", { onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 512 512", width: props.width || 20, height: props.height || props.width || 20, xmlns: "http://www.w3.org/2000/svg", className: props.className, style: props.style },
8
+ const IconAdapter = (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
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
10
  exports.default = IconAdapter;
@@ -5,6 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_1 = __importDefault(require("react"));
7
7
  // Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/
8
- const IconAlias = (props) => react_1.default.createElement("svg", { onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 512 512", width: props.width || 20, height: props.height || props.width || 20, xmlns: "http://www.w3.org/2000/svg", className: props.className, style: props.style },
8
+ const IconAlias = (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
9
  react_1.default.createElement("path", { fill: "currentColor", d: "M96.06 454.35c.01 6.29 1.87 12.45 5.36 17.69l17.09 25.69a31.99 31.99 0 0 0 26.64 14.28h61.71a31.99 31.99 0 0 0 26.64-14.28l17.09-25.69a31.989 31.989 0 0 0 5.36-17.69l.04-38.35H96.01l.05 38.35zM0 176c0 44.37 16.45 84.85 43.56 115.78 16.52 18.85 42.36 58.23 52.21 91.45.04.26.07.52.11.78h160.24c.04-.26.07-.51.11-.78 9.85-33.22 35.69-72.6 52.21-91.45C335.55 260.85 352 220.37 352 176 352 78.61 272.91-.3 175.45 0 73.44.31 0 82.97 0 176zm176-80c-44.11 0-80 35.89-80 80 0 8.84-7.16 16-16 16s-16-7.16-16-16c0-61.76 50.24-112 112-112 8.84 0 16 7.16 16 16s-7.16 16-16 16z" }));
10
10
  exports.default = IconAlias;
@@ -1,12 +1,4 @@
1
- export default IconChannel;
2
- declare function IconChannel(props: any): React.JSX.Element;
3
- declare namespace IconChannel {
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 PropTypes from 'prop-types';
2
+ import type IconProps from './IconProps';
3
+ declare const IconChannel: (props: IconProps) => React.JSX.Element;
4
+ export default IconChannel;
@@ -1,71 +1,13 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
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 IconChannel = function IconChannel(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
- style: props.style
21
- }, /*#__PURE__*/_react["default"].createElement("g", {
22
- fill: "currentColor"
23
- }, /*#__PURE__*/_react["default"].createElement("rect", {
24
- rx: "32",
25
- height: "272",
26
- width: "267",
27
- y: "25",
28
- x: "25",
29
- strokeWidth: "15",
30
- stroke: "currentColor",
31
- fill: "none"
32
- }), /*#__PURE__*/_react["default"].createElement("ellipse", {
33
- stroke: "currentColor",
34
- ry: "26",
35
- rx: "26",
36
- cy: "248",
37
- cx: "160",
38
- fill: "none",
39
- strokeWidth: "15"
40
- }), /*#__PURE__*/_react["default"].createElement("line", {
41
- strokeLinecap: "null",
42
- strokeLinejoin: "null",
43
- y2: "201.94531",
44
- x2: "159.5",
45
- y1: "46.94531",
46
- x1: "159.5",
47
- fillOpacity: "null",
48
- strokeOpacity: "null",
49
- strokeWidth: "15",
50
- stroke: "currentColor",
51
- fill: "none"
52
- }), /*#__PURE__*/_react["default"].createElement("rect", {
53
- height: "27",
54
- width: "50",
55
- y: "79.7979",
56
- x: "133.5",
57
- fillOpacity: "null",
58
- strokeOpacity: "null",
59
- strokeWidth: "15",
60
- stroke: "currentColor",
61
- fill: "#fff"
62
- })));
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
63
4
  };
64
- IconChannel.propTypes = {
65
- onClick: _propTypes["default"].func,
66
- width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
67
- height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
68
- className: _propTypes["default"].string
69
- };
70
- var _default = exports["default"] = IconChannel;
71
- //# sourceMappingURL=IconChannel.js.map
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const react_1 = __importDefault(require("react"));
7
+ const IconChannel = (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: "248", cx: "160", fill: "none", strokeWidth: "15" }),
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: "79.7979", x: "133.5", fillOpacity: "null", strokeOpacity: "null", strokeWidth: "15", stroke: "currentColor", fill: "#fff" })));
13
+ exports.default = IconChannel;
@@ -1,12 +1,4 @@
1
- export default IconClearFilter;
2
- declare function IconClearFilter(props: any): React.JSX.Element;
3
- declare namespace IconClearFilter {
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 PropTypes from 'prop-types';
2
+ import type IconProps from './IconProps';
3
+ declare const IconClearFilter: (props: IconProps) => React.JSX.Element;
4
+ export default IconClearFilter;
@@ -1,35 +1,11 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
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"));
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const react_1 = __importDefault(require("react"));
10
7
  // Copyright Apache 2.0 https://raw.githubusercontent.com/material-icons/material-icons/master/svg/filter_alt/baseline.svg
11
8
  // https://github.com/material-icons/material-icons/blob/master/LICENSE
12
- var IconClearFilter = function IconClearFilter(props) {
13
- return /*#__PURE__*/_react["default"].createElement("svg", {
14
- onClick: function onClick(e) {
15
- return props.onClick && props.onClick(e);
16
- },
17
- viewBox: "0 0 24 24",
18
- width: props.width || 20,
19
- height: props.height || props.width || 20,
20
- xmlns: "http://www.w3.org/2000/svg",
21
- className: props.className
22
- }, /*#__PURE__*/_react["default"].createElement("path", {
23
- fill: "currentColor",
24
- stroke: "currentColor",
25
- d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39A.998.998 0 0 0 18.95 4H5.04c-.83 0-1.3.95-.79 1.61z"
26
- }));
27
- };
28
- IconClearFilter.propTypes = {
29
- onClick: _propTypes["default"].func,
30
- width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
31
- height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
32
- className: _propTypes["default"].string
33
- };
34
- var _default = exports["default"] = IconClearFilter;
35
- //# sourceMappingURL=IconClearFilter.js.map
9
+ const IconClearFilter = (props) => react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 24 24", width: props.width || (props.fontSize === 'small' ? 16 : 20), height: props.height || props.width || (props.fontSize === 'small' ? 16 : 20), className: props.className, style: props.style },
10
+ react_1.default.createElement("path", { fill: "currentColor", stroke: "currentColor", d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39A.998.998 0 0 0 18.95 4H5.04c-.83 0-1.3.95-.79 1.61z" }));
11
+ exports.default = IconClearFilter;
@@ -1,12 +1,4 @@
1
- export default IconClosed;
2
- declare function IconClosed(props: any): React.JSX.Element;
3
- declare namespace IconClosed {
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 PropTypes from 'prop-types';
2
+ import type IconProps from './IconProps';
3
+ declare const IconClosed: (props: IconProps) => React.JSX.Element;
4
+ export default IconClosed;
@@ -1,33 +1,10 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
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 IconClosed = function IconClosed(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 650 512",
17
- xmlns: "http://www.w3.org/2000/svg",
18
- width: props.width || 20,
19
- height: props.height || props.width || 20,
20
- className: props.className
21
- }, /*#__PURE__*/_react["default"].createElement("path", {
22
- fill: "currentColor",
23
- d: "M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z"
24
- }));
25
- };
26
- IconClosed.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
- var _default = exports["default"] = IconClosed;
33
- //# sourceMappingURL=IconClosed.js.map
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 IconClosed = (props) => react_1.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", onClick: e => props.onClick && props.onClick(e), viewBox: "0 0 650 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: "M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z" }));
10
+ exports.default = IconClosed;
@@ -1,39 +1,4 @@
1
- export default IconCopy;
2
- export type IconCopyProps = {
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} IconCopyProps
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<IconCopyProps>}
28
- */
29
- declare function IconCopy(props: any): React.JSX.Element;
30
- declare namespace IconCopy {
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 PropTypes from 'prop-types';
2
+ import type IconProps from './IconProps';
3
+ declare const IconCopy: (props: IconProps) => React.JSX.Element;
4
+ export default IconCopy;
package/icons/IconCopy.js CHANGED
@@ -1,41 +1,9 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
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} IconCopyProps
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<IconCopyProps>}
18
- */
19
- var IconCopy = function IconCopy(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: "M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"
32
- }));
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
33
4
  };
34
- IconCopy.propTypes = {
35
- onClick: _propTypes["default"].func,
36
- width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
37
- height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
38
- className: _propTypes["default"].string
39
- };
40
- var _default = exports["default"] = IconCopy;
41
- //# sourceMappingURL=IconCopy.js.map
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const react_1 = __importDefault(require("react"));
7
+ const IconCopy = (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 },
8
+ react_1.default.createElement("path", { fill: "currentColor", d: "M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z" }));
9
+ exports.default = IconCopy;
@@ -1,12 +1,4 @@
1
- export default IconDevice;
2
- declare function IconDevice(props: any): React.JSX.Element;
3
- declare namespace IconDevice {
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 PropTypes from 'prop-types';
2
+ import type IconProps from './IconProps';
3
+ declare const IconDevice: (props: IconProps) => React.JSX.Element;
4
+ export default IconDevice;
@@ -1,134 +1,19 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
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
- IconDevice.propTypes = {
128
- onClick: _propTypes["default"].func,
129
- width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
130
- height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
131
- className: _propTypes["default"].string
132
- };
133
- var _default = exports["default"] = IconDevice;
134
- //# sourceMappingURL=IconDevice.js.map
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;
@@ -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 PropTypes from 'prop-types';
2
+ import type IconProps from './IconProps';
3
+ declare const IconDocument: (props: IconProps) => React.JSX.Element;
4
+ export default IconDocument;
@@ -1,33 +1,10 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
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
- var _default = exports["default"] = IconDocument;
33
- //# sourceMappingURL=IconDocument.js.map
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 PropTypes from 'prop-types';
2
+ import type IconProps from './IconProps';
3
+ declare const IconDocumentReadOnly: (props: IconProps) => React.JSX.Element;
4
+ export default IconDocumentReadOnly;