@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/Connection.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import { PROGRESS } from '@iobroker/socket-client';
|
|
3
|
-
import { ERRORS } from '@iobroker/socket-client';
|
|
4
|
-
import { PERMISSION_ERROR } from '@iobroker/socket-client';
|
|
5
|
-
import { Connection } from '@iobroker/socket-client';
|
|
1
|
+
import { Connection, PROGRESS, ERRORS, PERMISSION_ERROR } from '@iobroker/socket-client';
|
|
6
2
|
export { PROGRESS, ERRORS, PERMISSION_ERROR };
|
|
3
|
+
export default Connection;
|
package/Connection.js
CHANGED
|
@@ -1,27 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "ERRORS", {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return _socketClient.ERRORS;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "PERMISSION_ERROR", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _socketClient.PERMISSION_ERROR;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "PROGRESS", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _socketClient.PROGRESS;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
exports["default"] = void 0;
|
|
25
|
-
var _socketClient = require("@iobroker/socket-client");
|
|
26
|
-
var _default = exports["default"] = _socketClient.Connection;
|
|
27
|
-
//# sourceMappingURL=Connection.js.map
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PERMISSION_ERROR = exports.ERRORS = exports.PROGRESS = void 0;
|
|
4
|
+
const socket_client_1 = require("@iobroker/socket-client");
|
|
5
|
+
Object.defineProperty(exports, "PROGRESS", { enumerable: true, get: function () { return socket_client_1.PROGRESS; } });
|
|
6
|
+
Object.defineProperty(exports, "ERRORS", { enumerable: true, get: function () { return socket_client_1.ERRORS; } });
|
|
7
|
+
Object.defineProperty(exports, "PERMISSION_ERROR", { enumerable: true, get: function () { return socket_client_1.PERMISSION_ERROR; } });
|
|
8
|
+
exports.default = socket_client_1.Connection;
|
package/README.md
CHANGED
|
@@ -180,7 +180,7 @@ onPrepareSave(settings) {
|
|
|
180
180
|
|
|
181
181
|
## Components
|
|
182
182
|
|
|
183
|
-
### Connection.
|
|
183
|
+
### Connection.tsx
|
|
184
184
|
This is a non-react class to provide the communication for socket connection with the server.
|
|
185
185
|
|
|
186
186
|
### GenericApp.tsx
|
|
@@ -670,6 +670,12 @@ 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
|
+
|
|
676
|
+
### 4.13.9 (2024-04-20)
|
|
677
|
+
* (bluefox) Updated socket-client package
|
|
678
|
+
|
|
673
679
|
### 4.13.8 (2024-04-19)
|
|
674
680
|
* (bluefox) Corrected CRON selector
|
|
675
681
|
|
|
@@ -920,7 +926,7 @@ socket.getObjectViewCustom('custom', 'state', 'startKey', 'endKey')
|
|
|
920
926
|
* (bluefox) Added support of custom palette for color picker
|
|
921
927
|
|
|
922
928
|
### 4.0.2 (2022-12-01)
|
|
923
|
-
* (bluefox) use `@iobroker/socket-client` instead of `Connection.
|
|
929
|
+
* (bluefox) use `@iobroker/socket-client` instead of `Connection.tsx`
|
|
924
930
|
|
|
925
931
|
### 3.5.3 (2022-11-30)
|
|
926
932
|
* (bluefox) Improved `renderTextWithA` function to support `<b>` and `<i>` tags
|
package/icons/IconAdapter.d.ts
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
export default IconAdapter;
|
|
2
|
-
declare function IconAdapter(props: any): React.JSX.Element;
|
|
3
|
-
declare namespace IconAdapter {
|
|
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 IconAdapter: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconAdapter;
|
package/icons/IconAdapter.js
CHANGED
|
@@ -1,34 +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 IconAdapter = function IconAdapter(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
|
-
style: props.style
|
|
22
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
23
|
-
fill: "currentColor",
|
|
24
|
-
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"
|
|
25
|
-
}));
|
|
26
|
-
};
|
|
27
|
-
IconAdapter.propTypes = {
|
|
28
|
-
onClick: _propTypes["default"].func,
|
|
29
|
-
width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
30
|
-
height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
31
|
-
className: _propTypes["default"].string
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
32
4
|
};
|
|
33
|
-
|
|
34
|
-
|
|
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 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
|
+
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 = IconAdapter;
|
package/icons/IconAlias.d.ts
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
export default IconAlias;
|
|
2
|
-
declare function IconAlias(props: any): React.JSX.Element;
|
|
3
|
-
declare namespace IconAlias {
|
|
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 IconAlias: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconAlias;
|
package/icons/IconAlias.js
CHANGED
|
@@ -1,34 +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 IconAlias = function IconAlias(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
|
-
style: props.style
|
|
22
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
23
|
-
fill: "currentColor",
|
|
24
|
-
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"
|
|
25
|
-
}));
|
|
26
|
-
};
|
|
27
|
-
IconAlias.propTypes = {
|
|
28
|
-
onClick: _propTypes["default"].func,
|
|
29
|
-
width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
30
|
-
height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
|
|
31
|
-
className: _propTypes["default"].string
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
32
4
|
};
|
|
33
|
-
|
|
34
|
-
|
|
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 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
|
+
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
|
+
exports.default = IconAlias;
|
package/icons/IconChannel.d.ts
CHANGED
|
@@ -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
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconChannel: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconChannel;
|
package/icons/IconChannel.js
CHANGED
|
@@ -1,71 +1,13 @@
|
|
|
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 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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
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
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconClearFilter: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconClearFilter;
|
package/icons/IconClearFilter.js
CHANGED
|
@@ -1,35 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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;
|
package/icons/IconClosed.d.ts
CHANGED
|
@@ -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
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconClosed: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconClosed;
|
package/icons/IconClosed.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 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
|
-
|
|
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 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;
|
package/icons/IconCopy.d.ts
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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;
|
package/icons/IconDevice.d.ts
CHANGED
|
@@ -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
|
|
2
|
+
import type IconProps from './IconProps';
|
|
3
|
+
declare const IconDevice: (props: IconProps) => React.JSX.Element;
|
|
4
|
+
export default IconDevice;
|