@iobroker/adapter-react-v5 8.2.4 → 8.2.6
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/README.md +3 -0
- package/build/Components/Loaders/HA.js +59 -20
- package/build/Components/Loaders/HA.js.map +1 -1
- package/build/Components/ObjectBrowser.js +6 -1
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/Components/objectBrowser.types.d.ts +1 -0
- package/build/Components/objectBrowserUtils.js +1 -1
- package/build/Components/objectBrowserUtils.js.map +1 -1
- package/build/Theme.js +1 -0
- package/build/Theme.js.map +1 -1
- package/build/types.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -690,6 +690,9 @@ You can find the migration instructions:
|
|
|
690
690
|
-->
|
|
691
691
|
|
|
692
692
|
## Changelog
|
|
693
|
+
### 8.2.6 (2026-05-25)
|
|
694
|
+
- (@GermanBluefox) Updated loader
|
|
695
|
+
|
|
693
696
|
### 8.2.4 (2026-05-15)
|
|
694
697
|
- (@GermanBluefox) allowed to define the theme by query parameter `?theme=dark` or `?theme=light` or `?theme=auto`
|
|
695
698
|
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
@keyframes loaderHA-
|
|
5
|
-
0% {
|
|
6
|
-
|
|
7
|
-
30% { filter: drop-shadow(0 0 6px #db0a33); opacity: 1; }
|
|
8
|
-
45% { filter: drop-shadow(0 0 14px #e61a38) hue-rotate(-3deg); opacity: 0.94; }
|
|
9
|
-
60% { filter: drop-shadow(0 0 7px #db0a33) hue-rotate(-1deg); opacity: 1; }
|
|
10
|
-
75% { filter: drop-shadow(0 0 11px #e61a38) hue-rotate(-2deg); opacity: 0.98; }
|
|
11
|
-
90% { filter: drop-shadow(0 0 5px #db0a33); opacity: 1; }
|
|
12
|
-
100% { filter: drop-shadow(0 0 4px #db0a33); opacity: 1; }
|
|
2
|
+
const SPIN_STYLE_ID = 'loader-ha-spin-keyframes';
|
|
3
|
+
const SPIN_KEYFRAMES = `
|
|
4
|
+
@keyframes loaderHA-spin {
|
|
5
|
+
0% { transform: rotate(0deg); }
|
|
6
|
+
100% { transform: rotate(360deg); }
|
|
13
7
|
}`;
|
|
14
8
|
/**
|
|
15
9
|
* Vendor specific loader
|
|
@@ -18,12 +12,15 @@ const FLICKER_KEYFRAMES = `
|
|
|
18
12
|
*/
|
|
19
13
|
export function LoaderHA(props) {
|
|
20
14
|
const themeType = props.themeType || 'dark';
|
|
21
|
-
const
|
|
15
|
+
const logoSize = props.size || 270;
|
|
16
|
+
const containerSize = logoSize * 1.5;
|
|
17
|
+
const borderWidth = (logoSize * 14) / 270;
|
|
18
|
+
const logo2Width = (logoSize * 280) / 270;
|
|
22
19
|
React.useEffect(() => {
|
|
23
|
-
if (!window.document.getElementById(
|
|
20
|
+
if (!window.document.getElementById(SPIN_STYLE_ID)) {
|
|
24
21
|
const style = window.document.createElement('style');
|
|
25
|
-
style.setAttribute('id',
|
|
26
|
-
style.innerHTML =
|
|
22
|
+
style.setAttribute('id', SPIN_STYLE_ID);
|
|
23
|
+
style.innerHTML = SPIN_KEYFRAMES;
|
|
27
24
|
window.document.head.appendChild(style);
|
|
28
25
|
}
|
|
29
26
|
}, []);
|
|
@@ -50,11 +47,53 @@ export function LoaderHA(props) {
|
|
|
50
47
|
: '#FFF',
|
|
51
48
|
backgroundSize: 'cover',
|
|
52
49
|
} },
|
|
53
|
-
React.createElement("
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
50
|
+
React.createElement("div", { style: {
|
|
51
|
+
position: 'relative',
|
|
52
|
+
width: containerSize,
|
|
53
|
+
height: containerSize,
|
|
54
|
+
display: 'flex',
|
|
55
|
+
justifyContent: 'center',
|
|
56
|
+
alignItems: 'center',
|
|
57
57
|
} },
|
|
58
|
-
React.createElement("
|
|
58
|
+
React.createElement("div", { style: {
|
|
59
|
+
position: 'absolute',
|
|
60
|
+
top: -borderWidth,
|
|
61
|
+
left: -borderWidth,
|
|
62
|
+
right: -borderWidth,
|
|
63
|
+
bottom: -borderWidth,
|
|
64
|
+
border: `${borderWidth}px solid transparent`,
|
|
65
|
+
borderTop: `${borderWidth}px solid rgba(219, 10, 51, 0.50)`,
|
|
66
|
+
borderRadius: '50%',
|
|
67
|
+
animation: 'loaderHA-spin 3.6s linear infinite',
|
|
68
|
+
} }),
|
|
69
|
+
React.createElement("div", { style: {
|
|
70
|
+
position: 'absolute',
|
|
71
|
+
width: '100%',
|
|
72
|
+
height: '100%',
|
|
73
|
+
border: `${borderWidth}px solid transparent`,
|
|
74
|
+
borderTop: `${borderWidth}px solid rgba(219, 10, 51, 0.75)`,
|
|
75
|
+
borderRadius: '50%',
|
|
76
|
+
animation: 'loaderHA-spin 2.2s linear infinite',
|
|
77
|
+
} }),
|
|
78
|
+
React.createElement("div", { style: {
|
|
79
|
+
width: logoSize,
|
|
80
|
+
height: logoSize,
|
|
81
|
+
zIndex: 1,
|
|
82
|
+
display: 'flex',
|
|
83
|
+
justifyContent: 'center',
|
|
84
|
+
alignItems: 'center',
|
|
85
|
+
} },
|
|
86
|
+
React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 69.6 148.1", style: { width: '100%', height: '100%' } },
|
|
87
|
+
React.createElement("path", { fill: "#db0a33", d: "M69.5,100.6c0-.4,0-.8-.2-1.1v-.7c-.2-.4-.3-.8-.5-1.2,0-.2-.2-.5-.3-.7,0,0,0-.2,0-.2,0-.2,0-.3-.2-.5l-.4-.7-.4-.6c-1-1.6-2.4-3-4.2-4.3-.3-.2-.6-.4-.9-.6,0,0-.2,0-.3-.2-.3-.2-.6-.3-.9-.5-.2,0-.3-.2-.5-.3-.3-.2-.6-.3-.9-.5,0,0-.2,0-.3-.2-1-2.7-2.4-4.9-3.8-6.7h0c2.5,0,6.6-.3,7.5-3,3.5-3,2.5-9.7,2.5-10,0-.6-.2-1.1-.4-1.7h0v-.3c.5-3-.4-7.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-3.6.3-2.7,3.1,0,0,.2,3.6,5.8,2.9,1.8-.1,7.5-.5,9.1-.3,1.6.2,2.8.2,3.7.1,1.3,0,3.8,0,5.3-.4.4,1.8,3.2,2.4,6,1.5,3.6,1.6,13.5,2,15.6-1.6,2.4-4.1-2.4-8.6-4.1-12.6-3.8-9.3-.8-14-1.6-16.8,0-.7-.2-1.8-.4-3.2.8-.4,1.5-.8,2.2-1.3,1-.7,1.7-1.4,2.3-2.1l.2-.2c0,0,.2-.3.3-.4l.6-.9.6-1.2.4-1.1.3-1.2v-.8c0-.3,0-.5,0-.7h0v-2.4h.2ZM52.6,131.9c-.3.4-.7.9-1.2,1.6-1-.6-2.7-2.2-3.3-4.3,0-.2,0-.3-.2-.5-1.1-6.9-2.6-9.7-3.2-10.6-1-3.7-1.7-7.4-1.3-9.6,0,0,3.6,8.2,6.4,10,0,0,3.7,8.5,4.5,9.9.6,1-.9,2.3-1.7,3.5ZM63.6,102.7h0v.2h0v.9c0,0-.3.4-.3.4,0,0,0,.2,0,.3v.2h0v.2h0l-.2.2c-.3.6-.8,1.1-1.3,1.5h0c-.3-2.4-.6-5.1-.8-8.2.2-.5.3-1.1.4-1.7l.2.2c.2.2.4.4.5.6.2.2.3.4.5.7,0,.2.3.4.4.7h0c0,.3.2.5.3.7,0,.2.2.5.2.7h0v.3c0,.2,0,.4,0,.6v.7h0v.7h0Z" }))),
|
|
88
|
+
React.createElement("div", { style: {
|
|
89
|
+
position: 'absolute',
|
|
90
|
+
width: logo2Width,
|
|
91
|
+
zIndex: 2,
|
|
92
|
+
top: '57.5%',
|
|
93
|
+
left: '50%',
|
|
94
|
+
transform: 'translate(-50%, -155%)',
|
|
95
|
+
} },
|
|
96
|
+
React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 7152 512", width: "100%", height: "auto" },
|
|
97
|
+
React.createElement("path", { fill: "#fff", d: "M4566 0h1053v5h25c2 5 2 5 1 8h16q3 3 2 7l3 1 4 1 2 7h2l12 1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15l-4 1h-12v5H22l-1-3 1-2h-3q-5 1-6-2v-5h-3l-5-2v-7H0zM6537 0h606v5l8 1 1 16v82l-3 4-8 1h-6v3l-1 4q-5 2-10 1h-509v3l-1 5q-13 2-24 0v3q1 5-2 6l-6 1h-4l-5-1v3l-1 5-7 2v8q0 6-2 7l-7 1v210c0 7 0 7-2 10h-7v32q-3 3-8 2v15q-2 3-5 2h-3v2q1 8-2 15l-7 1v7l-1 3-1 6h-7v7l-6 2-2-1v3q1 5-2 6l-9 2h-6v5q-4 3-9 2v3q1 3-2 5h-15l1 3-2 5h-33l1 3-1 2h-589v-5h-8v-8h-7l-3-10v-6l-3-1-4-1-1-7v-48l2-5 7-1v-10q-1-3 2-5 2-2 6-2l1-3 2-5h32v-7q6-3 12-2h498l8 1v-3q0-3 2-5l7-2h8l2-7 7-1v-11q0-3 2-5h6V167l1-8q4-4 8-3v-44l1-5h8V84l1-3h7V66l8-4v-2l3-5 6-1v-9l1-6h8v-8q8-3 15-2l1-3 3-5h6v-3q-1-3 2-5h15v-3q-1-3 2-5h24z" }))))));
|
|
59
98
|
}
|
|
60
99
|
//# sourceMappingURL=HA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HA.js","sourceRoot":"./src/","sources":["Components/Loaders/HA.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,gBAAgB,GAAG,6BAA6B,CAAC;AACvD,MAAM,iBAAiB,GAAG;;;;;;;;;;EAUxB,CAAC;AAEH;;;;GAIG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAgB;IACrC,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,IAAI,MAAM,CAAC;IAC5C,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,IAAI,GAAG,CAAC;IAE/B,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,gBAAgB,CAA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EAAC,gBAAgB,EACxB,KAAK,EAAE;gBACH,IAAI,EAAE,SAAS;gBACf,SAAS,EAAE,0CAA0C;gBACrD,UAAU,EAAE,iBAAiB;aAChC;YAED,8BAAM,CAAC,EAAC,mjGAAmjG,GAAG,CAC5jG,CACJ,CACT,CAAC;AACN,CAAC","sourcesContent":["import React from 'react';\nimport type { ThemeType } from '../../types';\n\ninterface LogoProps {\n themeType?: ThemeType;\n size?: number;\n /** Background color */\n backgroundColor?: string;\n /** Background image URL */\n backgroundImage?: string;\n}\n\nconst FLICKER_STYLE_ID = 'loader-ha-flicker-keyframes';\nconst FLICKER_KEYFRAMES = `\n@keyframes loaderHA-flicker {\n 0% { filter: drop-shadow(0 0 4px #db0a33); opacity: 1; }\n 15% { filter: drop-shadow(0 0 10px #db0a33) hue-rotate(-2deg); opacity: 0.97; }\n 30% { filter: drop-shadow(0 0 6px #db0a33); opacity: 1; }\n 45% { filter: drop-shadow(0 0 14px #e61a38) hue-rotate(-3deg); opacity: 0.94; }\n 60% { filter: drop-shadow(0 0 7px #db0a33) hue-rotate(-1deg); opacity: 1; }\n 75% { filter: drop-shadow(0 0 11px #e61a38) hue-rotate(-2deg); opacity: 0.98; }\n 90% { filter: drop-shadow(0 0 5px #db0a33); opacity: 1; }\n 100% { filter: drop-shadow(0 0 4px #db0a33); opacity: 1; }\n}`;\n\n/**\n * Vendor specific loader\n *\n * @param props Properties\n */\nexport function LoaderHA(props: LogoProps): React.JSX.Element {\n const themeType = props.themeType || 'dark';\n const size = props.size || 300;\n\n React.useEffect(() => {\n if (!window.document.getElementById(FLICKER_STYLE_ID)) {\n const style = window.document.createElement('style');\n style.setAttribute('id', FLICKER_STYLE_ID);\n style.innerHTML = FLICKER_KEYFRAMES;\n window.document.head.appendChild(style);\n }\n }, []);\n\n return (\n <div\n style={{\n width: '100%',\n height: '100%',\n position: 'absolute',\n top: 0,\n left: 0,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n backgroundImage:\n props.backgroundImage && props.backgroundImage !== '@@loginBackgroundImage@@'\n ? props.backgroundImage\n : window.loadingBackgroundImage && window.loadingBackgroundImage !== '@@loginBackgroundImage@@'\n ? `url(${window.loadingBackgroundImage})`\n : undefined,\n backgroundColor:\n props.backgroundColor && props.backgroundColor !== '@@loginBackgroundColor@@'\n ? props.backgroundColor\n : window.loadingBackgroundColor && window.loadingBackgroundColor !== '@@loginBackgroundColor@@'\n ? window.loadingBackgroundColor\n : themeType === 'dark'\n ? '#000'\n : '#FFF',\n backgroundSize: 'cover',\n }}\n >\n <svg\n width={size}\n height={size}\n viewBox=\"0 0 69.6 148.1\"\n style={{\n fill: '#db0a33',\n animation: 'loaderHA-flicker 5s ease-in-out infinite',\n willChange: 'filter, opacity',\n }}\n >\n <path d=\"M69.5,100.6c0-.4,0-.8-.2-1.1v-.7c-.2-.4-.3-.8-.5-1.2,0-.2-.2-.5-.3-.7,0,0,0-.2,0-.2,0-.2,0-.3-.2-.5l-.4-.7-.4-.6c-1-1.6-2.4-3-4.2-4.3-.3-.2-.6-.4-.9-.6,0,0-.2,0-.3-.2-.3-.2-.6-.3-.9-.5-.2,0-.3-.2-.5-.3-.3-.2-.6-.3-.9-.5,0,0-.2,0-.3-.2-1-2.7-2.4-4.9-3.8-6.7h0c2.5,0,6.6-.3,7.5-3,3.5-3,2.5-9.7,2.5-10,0-.6-.2-1.1-.4-1.7h0v-.3c.5-3-.4-7.1-.5-7.7h0l-.3-1.1c0-.3-.2-.7-.4-1,0-.4-.3-.7-.4-1,0-.3-.3-.7-.5-1s-.4-.7-.6-1c-.2-.3-.4-.6-.6-.9l-.4-.4-.4-.4-.4-.4c0,0-.3-.3-.5-.4-.3-.2-.6-.4-1-.6-.2,0-.4-.2-.5-.2-.2,0-.4,0-.6-.2-.2,0-.4,0-.6,0h-1.8c-.4,0-.8,0-1.1.2-.4,0-.7.2-1.1.4h0c-1.6-.2-2.6-1-3.1-1.7h0c2-.9,3.5-1.9,4.6-3,2.6-2.2,4-5.1,4.7-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KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,cAAc,EACtB,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM;oBAEb,8BACI,IAAI,EAAC,MAAM,EACX,CAAC,EAAC,40HAA40H,GACh1H,CACA,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC","sourcesContent":["import React from 'react';\nimport type { ThemeType } from '../../types';\n\ninterface LogoProps {\n themeType?: ThemeType;\n size?: number;\n /** Background color */\n backgroundColor?: string;\n /** Background image URL */\n backgroundImage?: string;\n}\n\nconst SPIN_STYLE_ID = 'loader-ha-spin-keyframes';\nconst SPIN_KEYFRAMES = `\n@keyframes loaderHA-spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}`;\n\n/**\n * Vendor specific loader\n *\n * @param props Properties\n */\nexport function LoaderHA(props: LogoProps): React.JSX.Element {\n const themeType = props.themeType || 'dark';\n const logoSize = props.size || 270;\n const containerSize = logoSize * 1.5;\n const borderWidth = (logoSize * 14) / 270;\n const logo2Width = (logoSize * 280) / 270;\n\n React.useEffect(() => {\n if (!window.document.getElementById(SPIN_STYLE_ID)) {\n const style = window.document.createElement('style');\n style.setAttribute('id', SPIN_STYLE_ID);\n style.innerHTML = SPIN_KEYFRAMES;\n window.document.head.appendChild(style);\n }\n }, []);\n\n return (\n <div\n style={{\n width: '100%',\n height: '100%',\n position: 'absolute',\n top: 0,\n left: 0,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n backgroundImage:\n props.backgroundImage && props.backgroundImage !== '@@loginBackgroundImage@@'\n ? props.backgroundImage\n : window.loadingBackgroundImage && window.loadingBackgroundImage !== '@@loginBackgroundImage@@'\n ? `url(${window.loadingBackgroundImage})`\n : undefined,\n backgroundColor:\n props.backgroundColor && props.backgroundColor !== '@@loginBackgroundColor@@'\n ? props.backgroundColor\n : window.loadingBackgroundColor && window.loadingBackgroundColor !== '@@loginBackgroundColor@@'\n ? window.loadingBackgroundColor\n : themeType === 'dark'\n ? '#000'\n : '#FFF',\n backgroundSize: 'cover',\n }}\n >\n <div\n style={{\n position: 'relative',\n width: containerSize,\n height: containerSize,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n }}\n >\n <div\n style={{\n position: 'absolute',\n top: -borderWidth,\n left: -borderWidth,\n right: -borderWidth,\n bottom: -borderWidth,\n border: `${borderWidth}px solid transparent`,\n borderTop: `${borderWidth}px solid rgba(219, 10, 51, 0.50)`,\n borderRadius: '50%',\n animation: 'loaderHA-spin 3.6s linear infinite',\n }}\n ></div>\n <div\n style={{\n position: 'absolute',\n width: '100%',\n height: '100%',\n border: `${borderWidth}px solid transparent`,\n borderTop: `${borderWidth}px solid rgba(219, 10, 51, 0.75)`,\n borderRadius: '50%',\n animation: 'loaderHA-spin 2.2s linear infinite',\n }}\n ></div>\n <div\n style={{\n width: logoSize,\n height: logoSize,\n zIndex: 1,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n }}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 69.6 148.1\"\n style={{ width: '100%', height: '100%' }}\n >\n <path\n fill=\"#db0a33\"\n d=\"M69.5,100.6c0-.4,0-.8-.2-1.1v-.7c-.2-.4-.3-.8-.5-1.2,0-.2-.2-.5-.3-.7,0,0,0-.2,0-.2,0-.2,0-.3-.2-.5l-.4-.7-.4-.6c-1-1.6-2.4-3-4.2-4.3-.3-.2-.6-.4-.9-.6,0,0-.2,0-.3-.2-.3-.2-.6-.3-.9-.5-.2,0-.3-.2-.5-.3-.3-.2-.6-.3-.9-.5,0,0-.2,0-.3-.2-1-2.7-2.4-4.9-3.8-6.7h0c2.5,0,6.6-.3,7.5-3,3.5-3,2.5-9.7,2.5-10,0-.6-.2-1.1-.4-1.7h0v-.3c.5-3-.4-7.1-.5-7.7h0l-.3-1.1c0-.3-.2-.7-.4-1,0-.4-.3-.7-.4-1,0-.3-.3-.7-.5-1s-.4-.7-.6-1c-.2-.3-.4-.6-.6-.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8,3.2,2.4,6,1.5,3.6,1.6,13.5,2,15.6-1.6,2.4-4.1-2.4-8.6-4.1-12.6-3.8-9.3-.8-14-1.6-16.8,0-.7-.2-1.8-.4-3.2.8-.4,1.5-.8,2.2-1.3,1-.7,1.7-1.4,2.3-2.1l.2-.2c0,0,.2-.3.3-.4l.6-.9.6-1.2.4-1.1.3-1.2v-.8c0-.3,0-.5,0-.7h0v-2.4h.2ZM52.6,131.9c-.3.4-.7.9-1.2,1.6-1-.6-2.7-2.2-3.3-4.3,0-.2,0-.3-.2-.5-1.1-6.9-2.6-9.7-3.2-10.6-1-3.7-1.7-7.4-1.3-9.6,0,0,3.6,8.2,6.4,10,0,0,3.7,8.5,4.5,9.9.6,1-.9,2.3-1.7,3.5ZM63.6,102.7h0v.2h0v.9c0,0-.3.4-.3.4,0,0,0,.2,0,.3v.2h0v.2h0l-.2.2c-.3.6-.8,1.1-1.3,1.5h0c-.3-2.4-.6-5.1-.8-8.2.2-.5.3-1.1.4-1.7l.2.2c.2.2.4.4.5.6.2.2.3.4.5.7,0,.2.3.4.4.7h0c0,.3.2.5.3.7,0,.2.2.5.2.7h0v.3c0,.2,0,.4,0,.6v.7h0v.7h0Z\"\n />\n </svg>\n </div>\n <div\n style={{\n position: 'absolute',\n width: logo2Width,\n zIndex: 2,\n top: '57.5%',\n left: '50%',\n transform: 'translate(-50%, -155%)',\n }}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 7152 512\"\n width=\"100%\"\n height=\"auto\"\n >\n <path\n fill=\"#fff\"\n d=\"M4566 0h1053v5h25c2 5 2 5 1 8h16q3 3 2 7l3 1 4 1 2 7h2l12 1q3 1 2 6v3h7q3 4 2 10v6h3l4 1 1 8 3-1 5 2 1 7 7 1 1 14v2h3q3 0 5 2l1 9v22l3 1 4 1 1 7v41q0 3-3 5l-5 1v26q1 3-2 5h-8l1 2v8l-1 8h-8v16q-3 3-7 2l-1 3-2 5h-6v6l-1 11h-7l-1 8-10 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1v210c0 7 0 7-2 10h-7v32q-3 3-8 2v15q-2 3-5 2h-3v2q1 8-2 15l-7 1v7l-1 3-1 6h-7v7l-6 2-2-1v3q1 5-2 6l-9 2h-6v5q-4 3-9 2v3q1 3-2 5h-15l1 3-2 5h-33l1 3-1 2h-589v-5h-8v-8h-7l-3-10v-6l-3-1-4-1-1-7v-48l2-5 7-1v-10q-1-3 2-5 2-2 6-2l1-3 2-5h32v-7q6-3 12-2h498l8 1v-3q0-3 2-5l7-2h8l2-7 7-1v-11q0-3 2-5h6V167l1-8q4-4 8-3v-44l1-5h8V84l1-3h7V66l8-4v-2l3-5 6-1v-9l1-6h8v-8q8-3 15-2l1-3 3-5h6v-3q-1-3 2-5h15v-3q-1-3 2-5h24z\"\n />\n </svg>\n </div>\n </div>\n </div>\n );\n}\n"]}
|
|
@@ -2971,7 +2971,12 @@ export class ObjectBrowserClass extends Component {
|
|
|
2971
2971
|
// <IconEdit className="copyButton" style={{{ ...styles.cellButtonsValueButton, styles.cellButtonsValueButtonEdit)} key="ce" />
|
|
2972
2972
|
info = item.data.state;
|
|
2973
2973
|
}
|
|
2974
|
-
info.style = getValueStyle({
|
|
2974
|
+
info.style = getValueStyle({
|
|
2975
|
+
state,
|
|
2976
|
+
isExpertMode: this.state.filter.expertMode,
|
|
2977
|
+
isButton: item.data.button,
|
|
2978
|
+
nonAckColor: this.props.theme.palette.nonAck,
|
|
2979
|
+
});
|
|
2975
2980
|
let val = info.valTextRx;
|
|
2976
2981
|
if (!this.state.filter.expertMode) {
|
|
2977
2982
|
if (item.data.button) {
|