@iobroker/adapter-react-v5 4.10.1 → 4.10.2
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/Components/FileBrowser.d.ts +68 -130
- package/Components/FileBrowser.js +1405 -1987
- package/Components/FileViewer.d.ts +9 -82
- package/Components/FileViewer.js +248 -321
- package/Components/Loaders/MV.d.ts +7 -0
- package/Components/Loaders/MV.js +47 -0
- package/Components/Loaders/PT.d.ts +14 -38
- package/Components/Loaders/PT.js +147 -78
- package/Components/Loaders/Vendor.d.ts +14 -31
- package/Components/Loaders/Vendor.js +56 -79
- package/Components/types.d.ts +8 -2
- package/Dialogs/Error.d.ts +3 -5
- package/Dialogs/Error.js +1 -3
- package/Dialogs/SelectFile.d.ts +53 -170
- package/Dialogs/SelectFile.js +100 -257
- package/README.md +3 -0
- package/icons/IconClearFilter.js.map +1 -1
- package/icons/IconClosed.js.map +1 -1
- package/icons/IconCopy.js.map +1 -1
- package/icons/IconDocumentReadOnly.js.map +1 -1
- package/icons/IconExpert.d.ts +10 -36
- package/icons/IconExpert.js +8 -42
- package/index.d.ts +2 -0
- package/index.js +5 -2
- package/package.json +2 -2
- package/Components/FileBrowser.js.map +0 -1
- package/Components/FileViewer.js.map +0 -1
- package/Components/Loaders/PT.js.map +0 -1
- package/Components/Loaders/Vendor.js.map +0 -1
- package/Dialogs/SelectFile.js.map +0 -1
- package/icons/IconExpert.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconClearFilter.js","names":["_react","_interopRequireDefault","require","_propTypes","IconClearFilter","props","createElement","onClick","e","viewBox","width","height","xmlns","className","fill","stroke","d","propTypes","PropTypes","func","oneOfType","number","string","_default","exports"],"sources":["IconClearFilter.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Copyright Apache 2.0 https://raw.githubusercontent.com/material-icons/material-icons/master/svg/filter_alt/baseline.svg\n// https://github.com/material-icons/material-icons/blob/master/LICENSE\nconst IconClearFilter = props => <svg
|
|
1
|
+
{"version":3,"file":"IconClearFilter.js","names":["_react","_interopRequireDefault","require","_propTypes","IconClearFilter","props","createElement","onClick","e","viewBox","width","height","xmlns","className","fill","stroke","d","propTypes","PropTypes","func","oneOfType","number","string","_default","exports"],"sources":["IconClearFilter.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Copyright Apache 2.0 https://raw.githubusercontent.com/material-icons/material-icons/master/svg/filter_alt/baseline.svg\n// https://github.com/material-icons/material-icons/blob/master/LICENSE\nconst IconClearFilter = props => <svg\n onClick={e => props.onClick && props.onClick(e)}\n viewBox=\"0 0 24 24\"\n width={props.width || 20}\n height={props.height || props.width || 20}\n xmlns=\"http://www.w3.org/2000/svg\"\n className={props.className}\n>\n <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\" />\n</svg>;\n\nIconClearFilter.propTypes = {\n onClick: PropTypes.func,\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\n\nexport default IconClearFilter;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA;AACA;AACA,IAAME,eAAe,GAAG,SAAlBA,eAAeA,CAAGC,KAAK;EAAA,oBAAIL,MAAA,YAAAM,aAAA;IAC7BC,OAAO,EAAE,SAAAA,QAAAC,CAAC;MAAA,OAAIH,KAAK,CAACE,OAAO,IAAIF,KAAK,CAACE,OAAO,CAACC,CAAC,CAAC;IAAA,CAAC;IAChDC,OAAO,EAAC,WAAW;IACnBC,KAAK,EAAEL,KAAK,CAACK,KAAK,IAAI,EAAG;IACzBC,MAAM,EAAEN,KAAK,CAACM,MAAM,IAAIN,KAAK,CAACK,KAAK,IAAI,EAAG;IAC1CE,KAAK,EAAC,4BAA4B;IAClCC,SAAS,EAAER,KAAK,CAACQ;EAAU,gBAE3Bb,MAAA,YAAAM,aAAA;IAAMQ,IAAI,EAAC,cAAc;IAACC,MAAM,EAAC,cAAc;IAACC,CAAC,EAAC;EAA8I,CAAE,CACjM,CAAC;AAAA;AAENZ,eAAe,CAACa,SAAS,GAAG;EACxBV,OAAO,EAAEW,qBAAS,CAACC,IAAI;EACvBT,KAAK,EAAEQ,qBAAS,CAACE,SAAS,CAAC,CAACF,qBAAS,CAACG,MAAM,EAAEH,qBAAS,CAACI,MAAM,CAAC,CAAC;EAChEX,MAAM,EAAEO,qBAAS,CAACE,SAAS,CAAC,CAACF,qBAAS,CAACG,MAAM,EAAEH,qBAAS,CAACI,MAAM,CAAC,CAAC;EACjET,SAAS,EAAEK,qBAAS,CAACI;AACzB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEapB,eAAe","ignoreList":[]}
|
package/icons/IconClosed.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconClosed.js","names":["_react","_interopRequireDefault","require","_propTypes","IconClosed","props","createElement","onClick","e","viewBox","xmlns","width","height","className","fill","d","propTypes","PropTypes","func","oneOfType","number","string","_default","exports"],"sources":["IconClosed.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/\nconst IconClosed = props => <svg
|
|
1
|
+
{"version":3,"file":"IconClosed.js","names":["_react","_interopRequireDefault","require","_propTypes","IconClosed","props","createElement","onClick","e","viewBox","xmlns","width","height","className","fill","d","propTypes","PropTypes","func","oneOfType","number","string","_default","exports"],"sources":["IconClosed.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/\nconst IconClosed = props => <svg\n onClick={e => props.onClick && props.onClick(e)}\n viewBox=\"0 0 650 512\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width={props.width || 20}\n height={props.height || props.width || 20}\n className={props.className}\n>\n <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\" />\n</svg>;\n\nIconClosed.propTypes = {\n onClick: PropTypes.func,\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\nexport default IconClosed;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA;AACA,IAAME,UAAU,GAAG,SAAbA,UAAUA,CAAGC,KAAK;EAAA,oBAAIL,MAAA,YAAAM,aAAA;IACxBC,OAAO,EAAE,SAAAA,QAAAC,CAAC;MAAA,OAAIH,KAAK,CAACE,OAAO,IAAIF,KAAK,CAACE,OAAO,CAACC,CAAC,CAAC;IAAA,CAAC;IAChDC,OAAO,EAAC,aAAa;IACrBC,KAAK,EAAC,4BAA4B;IAClCC,KAAK,EAAEN,KAAK,CAACM,KAAK,IAAI,EAAG;IACzBC,MAAM,EAAEP,KAAK,CAACO,MAAM,IAAIP,KAAK,CAACM,KAAK,IAAI,EAAG;IAC1CE,SAAS,EAAER,KAAK,CAACQ;EAAU,gBAE3Bb,MAAA,YAAAM,aAAA;IAAMQ,IAAI,EAAC,cAAc;IAACC,CAAC,EAAC;EAAiI,CAAE,CAC9J,CAAC;AAAA;AAENX,UAAU,CAACY,SAAS,GAAG;EACnBT,OAAO,EAAEU,qBAAS,CAACC,IAAI;EACvBP,KAAK,EAAEM,qBAAS,CAACE,SAAS,CAAC,CAACF,qBAAS,CAACG,MAAM,EAAEH,qBAAS,CAACI,MAAM,CAAC,CAAC;EAChET,MAAM,EAAEK,qBAAS,CAACE,SAAS,CAAC,CAACF,qBAAS,CAACG,MAAM,EAAEH,qBAAS,CAACI,MAAM,CAAC,CAAC;EACjER,SAAS,EAAEI,qBAAS,CAACI;AACzB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACanB,UAAU","ignoreList":[]}
|
package/icons/IconCopy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconCopy.js","names":["_react","_interopRequireDefault","require","_propTypes","IconCopy","props","createElement","onClick","e","viewBox","width","height","xmlns","className","fill","d","propTypes","PropTypes","func","oneOfType","number","string","_default","exports"],"sources":["IconCopy.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * @typedef {object} IconCopyProps\n * @property {number} [width] The width in pixels of the icon.\n * @property {number} [height] The height in pixels of the icon.\n * @property {(e: React.MouseEvent) => void} [onClick] Click handler.\n * @property {string} [className] The class name for the SVG element.\n *\n * @extends {React.Component<IconCopyProps>}\n */\nconst IconCopy = props => <svg
|
|
1
|
+
{"version":3,"file":"IconCopy.js","names":["_react","_interopRequireDefault","require","_propTypes","IconCopy","props","createElement","onClick","e","viewBox","width","height","xmlns","className","fill","d","propTypes","PropTypes","func","oneOfType","number","string","_default","exports"],"sources":["IconCopy.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\n/**\n * @typedef {object} IconCopyProps\n * @property {number} [width] The width in pixels of the icon.\n * @property {number} [height] The height in pixels of the icon.\n * @property {(e: React.MouseEvent) => void} [onClick] Click handler.\n * @property {string} [className] The class name for the SVG element.\n *\n * @extends {React.Component<IconCopyProps>}\n */\nconst IconCopy = props => <svg\n onClick={e => props.onClick && props.onClick(e)}\n viewBox=\"0 0 512 512\" width={props.width || 20}\n height={props.height || props.width || 20}\n xmlns=\"http://www.w3.org/2000/svg\"\n className={props.className}\n>\n <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\" />\n</svg>;\n\nIconCopy.propTypes = {\n onClick: PropTypes.func,\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\n\nexport default IconCopy;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAME,QAAQ,GAAG,SAAXA,QAAQA,CAAGC,KAAK;EAAA,oBAAIL,MAAA,YAAAM,aAAA;IACtBC,OAAO,EAAE,SAAAA,QAAAC,CAAC;MAAA,OAAIH,KAAK,CAACE,OAAO,IAAIF,KAAK,CAACE,OAAO,CAACC,CAAC,CAAC;IAAA,CAAC;IAChDC,OAAO,EAAC,aAAa;IAACC,KAAK,EAAEL,KAAK,CAACK,KAAK,IAAI,EAAG;IAC/CC,MAAM,EAAEN,KAAK,CAACM,MAAM,IAAIN,KAAK,CAACK,KAAK,IAAI,EAAG;IAC1CE,KAAK,EAAC,4BAA4B;IAClCC,SAAS,EAAER,KAAK,CAACQ;EAAU,gBAE3Bb,MAAA,YAAAM,aAAA;IAAMQ,IAAI,EAAC,cAAc;IAACC,CAAC,EAAC;EAA8f,CAAE,CAC3hB,CAAC;AAAA;AAENX,QAAQ,CAACY,SAAS,GAAG;EACjBT,OAAO,EAAEU,qBAAS,CAACC,IAAI;EACvBR,KAAK,EAAEO,qBAAS,CAACE,SAAS,CAAC,CAACF,qBAAS,CAACG,MAAM,EAAEH,qBAAS,CAACI,MAAM,CAAC,CAAC;EAChEV,MAAM,EAAEM,qBAAS,CAACE,SAAS,CAAC,CAACF,qBAAS,CAACG,MAAM,EAAEH,qBAAS,CAACI,MAAM,CAAC,CAAC;EACjER,SAAS,EAAEI,qBAAS,CAACI;AACzB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEanB,QAAQ","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconDocumentReadOnly.js","names":["_react","_interopRequireDefault","require","_propTypes","IconDocumentReadOnly","props","createElement","onClick","e","viewBox","width","height","xmlns","className","fill","d","stroke","propTypes","PropTypes","func","oneOfType","number","string","_default","exports"],"sources":["IconDocumentReadOnly.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/\nconst IconDocumentReadOnly = props => <svg
|
|
1
|
+
{"version":3,"file":"IconDocumentReadOnly.js","names":["_react","_interopRequireDefault","require","_propTypes","IconDocumentReadOnly","props","createElement","onClick","e","viewBox","width","height","xmlns","className","fill","d","stroke","propTypes","PropTypes","func","oneOfType","number","string","_default","exports"],"sources":["IconDocumentReadOnly.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/\nconst IconDocumentReadOnly = props => <svg\n onClick={e => props.onClick && props.onClick(e)}\n viewBox=\"0 0 512 512\" width={props.width || 20}\n height={props.height || props.width || 20}\n xmlns=\"http://www.w3.org/2000/svg\"\n className={props.className}\n>\n <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\" />\n <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\" />\n</svg>;\n\nIconDocumentReadOnly.propTypes = {\n onClick: PropTypes.func,\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n className: PropTypes.string,\n};\n\nexport default IconDocumentReadOnly;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA;AACA,IAAME,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAGC,KAAK;EAAA,oBAAIL,MAAA,YAAAM,aAAA;IAClCC,OAAO,EAAE,SAAAA,QAAAC,CAAC;MAAA,OAAIH,KAAK,CAACE,OAAO,IAAIF,KAAK,CAACE,OAAO,CAACC,CAAC,CAAC;IAAA,CAAC;IAChDC,OAAO,EAAC,aAAa;IAACC,KAAK,EAAEL,KAAK,CAACK,KAAK,IAAI,EAAG;IAC/CC,MAAM,EAAEN,KAAK,CAACM,MAAM,IAAIN,KAAK,CAACK,KAAK,IAAI,EAAG;IAC1CE,KAAK,EAAC,4BAA4B;IAClCC,SAAS,EAAER,KAAK,CAACQ;EAAU,gBAE3Bb,MAAA,YAAAM,aAAA;IAAMQ,IAAI,EAAC,cAAc;IAACC,CAAC,EAAC;EAAkO,CAAE,CAAC,eACjQf,MAAA,YAAAM,aAAA;IAAMQ,IAAI,EAAC,cAAc;IAACE,MAAM,EAAC,MAAM;IAACD,CAAC,EAAC;EAA4W,CAAE,CACvZ,CAAC;AAAA;AAENX,oBAAoB,CAACa,SAAS,GAAG;EAC7BV,OAAO,EAAEW,qBAAS,CAACC,IAAI;EACvBT,KAAK,EAAEQ,qBAAS,CAACE,SAAS,CAAC,CAACF,qBAAS,CAACG,MAAM,EAAEH,qBAAS,CAACI,MAAM,CAAC,CAAC;EAChEX,MAAM,EAAEO,qBAAS,CAACE,SAAS,CAAC,CAACF,qBAAS,CAACG,MAAM,EAAEH,qBAAS,CAACI,MAAM,CAAC,CAAC;EACjET,SAAS,EAAEK,qBAAS,CAACI;AACzB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEapB,oBAAoB","ignoreList":[]}
|
package/icons/IconExpert.d.ts
CHANGED
|
@@ -1,39 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* The height in pixels of the icon.
|
|
9
|
-
*/
|
|
10
|
-
height?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Click handler.
|
|
13
|
-
*/
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ExpertIconProps {
|
|
3
|
+
/** The width in pixels or percentage of the icon. */
|
|
4
|
+
width?: number | string;
|
|
5
|
+
/** The height in pixels or percentage of the icon. */
|
|
6
|
+
height?: number | string;
|
|
7
|
+
/** Click handler. */
|
|
14
8
|
onClick?: (e: React.MouseEvent) => void;
|
|
15
|
-
/**
|
|
16
|
-
* The class name for the SVG element.
|
|
17
|
-
*/
|
|
9
|
+
/** The class name for the SVG element. */
|
|
18
10
|
className?: string;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @typedef {object} ExpertIconProps
|
|
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 ExpertIcon(props: any): React.JSX.Element;
|
|
30
|
-
declare namespace ExpertIcon {
|
|
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
11
|
}
|
|
38
|
-
|
|
39
|
-
|
|
12
|
+
declare const ExpertIcon: (props: ExpertIconProps) => React.JSX.Element;
|
|
13
|
+
export default ExpertIcon;
|
package/icons/IconExpert.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} ExpertIconProps
|
|
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 ExpertIcon = function ExpertIcon(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 486.70625 486",
|
|
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: "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"
|
|
32
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
33
|
-
fill: "currentColor",
|
|
34
|
-
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"
|
|
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"] = ExpertIcon;
|
|
44
|
-
//# sourceMappingURL=IconExpert.js.map
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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 },
|
|
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
|
+
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
|
+
exports.default = ExpertIcon;
|
package/index.d.ts
CHANGED
|
@@ -66,6 +66,8 @@ export { default as LoaderVendor } from './Components/Loaders/Vendor';
|
|
|
66
66
|
export * from './Components/Loaders/Vendor';
|
|
67
67
|
export { default as LoaderPT } from './Components/Loaders/PT';
|
|
68
68
|
export * from './Components/Loaders/PT';
|
|
69
|
+
export { default as LoaderMV } from './Components/Loaders/MV';
|
|
70
|
+
export * from './Components/Loaders/MV';
|
|
69
71
|
export { JsonConfigComponent } from '@iobroker/json-config';
|
|
70
72
|
export type * from '@iobroker/json-config';
|
|
71
73
|
export { default as IconAdapter } from './icons/IconAdapter';
|
package/index.js
CHANGED
|
@@ -17,8 +17,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.
|
|
21
|
-
exports.LegacyConnection = exports.AdminConnection = exports.PROGRESS = exports.Connection = exports.ConfigGeneric = exports.TextInput = exports.SimpleCronDialog = exports.SelectFile = exports.SelectID = exports.Message = exports.Error = exports.Cron = exports.Confirm = exports.ComplexCronDialog = exports.IconClearFilter = exports.IconDocumentReadOnly = void 0;
|
|
20
|
+
exports.IconState = exports.IconOpen = exports.IconLogout = exports.IconInstance = exports.IconFx = exports.IconExpert = exports.IconDocument = exports.IconDevice = exports.IconCopy = exports.IconClosed = exports.IconChannel = exports.IconAlias = exports.IconAdapter = exports.JsonConfigComponent = exports.LoaderMV = exports.LoaderPT = exports.LoaderVendor = exports.SimpleCron = exports.withWidth = exports.Utils = exports.UploadImage = exports.TreeTable = exports.ToggleThemeMenu = exports.TextWithIcon = exports.TableResize = exports.TabHeader = exports.TabContent = exports.TabContainer = exports.SelectWithIcon = exports.Schedule = exports.SaveCloseButtons = exports.Router = exports.ObjectBrowser = exports.MDUtils = exports.Logo = exports.Loader = exports.Image = exports.IconSelector = exports.IconPicker = exports.Icon = exports.FileViewer = exports.FileBrowser = exports.CustomModal = exports.copy = exports.ComplexCron = exports.ColorPicker = exports.Prompt = exports.I18n = exports.i18n = exports.Theme = void 0;
|
|
21
|
+
exports.LegacyConnection = exports.AdminConnection = exports.PROGRESS = exports.Connection = exports.ConfigGeneric = exports.TextInput = exports.SimpleCronDialog = exports.SelectFile = exports.SelectID = exports.Message = exports.Error = exports.Cron = exports.Confirm = exports.ComplexCronDialog = exports.IconClearFilter = exports.IconDocumentReadOnly = exports.IconNoIcon = void 0;
|
|
22
22
|
var Theme_1 = require("./Theme");
|
|
23
23
|
Object.defineProperty(exports, "Theme", { enumerable: true, get: function () { return __importDefault(Theme_1).default; } });
|
|
24
24
|
__exportStar(require("./Theme"), exports);
|
|
@@ -124,6 +124,9 @@ __exportStar(require("./Components/Loaders/Vendor"), exports);
|
|
|
124
124
|
var PT_1 = require("./Components/Loaders/PT");
|
|
125
125
|
Object.defineProperty(exports, "LoaderPT", { enumerable: true, get: function () { return __importDefault(PT_1).default; } });
|
|
126
126
|
__exportStar(require("./Components/Loaders/PT"), exports);
|
|
127
|
+
var MV_1 = require("./Components/Loaders/MV");
|
|
128
|
+
Object.defineProperty(exports, "LoaderMV", { enumerable: true, get: function () { return __importDefault(MV_1).default; } });
|
|
129
|
+
__exportStar(require("./Components/Loaders/MV"), exports);
|
|
127
130
|
var json_config_1 = require("@iobroker/json-config");
|
|
128
131
|
Object.defineProperty(exports, "JsonConfigComponent", { enumerable: true, get: function () { return json_config_1.JsonConfigComponent; } });
|
|
129
132
|
var IconAdapter_1 = require("./icons/IconAdapter");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/adapter-react-v5",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.2",
|
|
4
4
|
"description": "React classes to develop admin interfaces for ioBroker with react.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Denis Haev (bluefox)",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@mui/material": "5.14.14",
|
|
38
38
|
"@mui/styles": "5.14.14",
|
|
39
39
|
"@mui/x-date-pickers": "^6.19.5",
|
|
40
|
-
"@sentry/browser": "^7.
|
|
40
|
+
"@sentry/browser": "^7.104.0",
|
|
41
41
|
"@sentry/integrations": "^7.102.0",
|
|
42
42
|
"react-color": "^2.19.3",
|
|
43
43
|
"react-colorful": "^5.6.1",
|