@iobroker/adapter-react-v5 7.4.21 → 7.4.22
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/build/Components/ObjectBrowser.js +3 -2
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/Theme.js +6 -6
- package/build/Theme.js.map +1 -1
- package/build/i18n/de.json +2 -0
- package/build/i18n/en.json +2 -0
- package/build/i18n/es.json +2 -0
- package/build/i18n/fr.json +2 -0
- package/build/i18n/it.json +2 -0
- package/build/i18n/nl.json +2 -0
- package/build/i18n/pl.json +2 -0
- package/build/i18n/pt.json +2 -0
- package/build/i18n/ru.json +2 -0
- package/build/i18n/uk.json +2 -0
- package/build/i18n/zh-cn.json +2 -0
- package/i18n/de.json +2 -0
- package/i18n/en.json +2 -0
- package/i18n/es.json +2 -0
- package/i18n/fr.json +2 -0
- package/i18n/it.json +2 -0
- package/i18n/nl.json +2 -0
- package/i18n/pl.json +2 -0
- package/i18n/pt.json +2 -0
- package/i18n/ru.json +2 -0
- package/i18n/uk.json +2 -0
- package/i18n/zh-cn.json +2 -0
- package/package.json +13 -13
|
@@ -1615,6 +1615,7 @@ function formatValue(options) {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
if (valText.v?.length > 40) {
|
|
1617
1617
|
valText.v = `${valText.v.substring(0, 40)}...`;
|
|
1618
|
+
valText.c = valText.v;
|
|
1618
1619
|
}
|
|
1619
1620
|
if (isCommon?.unit) {
|
|
1620
1621
|
valText.u = isCommon.unit;
|
|
@@ -3948,7 +3949,6 @@ export class ObjectBrowserClass extends Component {
|
|
|
3948
3949
|
});
|
|
3949
3950
|
const valTextRx = [];
|
|
3950
3951
|
item.data.state = { valTextRx };
|
|
3951
|
-
const copyText = valText.v || '';
|
|
3952
3952
|
valTextRx.push(React.createElement("span", { className: `newValueBrowser-${this.props.themeType || 'light'}`, key: `${valText.v.toString()}valText`, style: {
|
|
3953
3953
|
whiteSpace: 'nowrap',
|
|
3954
3954
|
display: 'inline-block',
|
|
@@ -3965,6 +3965,7 @@ export class ObjectBrowserClass extends Component {
|
|
|
3965
3965
|
")"));
|
|
3966
3966
|
}
|
|
3967
3967
|
if (!narrowStyleWithDetails) {
|
|
3968
|
+
const copyText = valText.c !== undefined ? valText.c : valText.v || '';
|
|
3968
3969
|
valTextRx.push(React.createElement(IconCopy, { className: "copyButton", style: this.styles.iconCopy, onClick: e => this.onCopy(e, copyText), key: "cc" }));
|
|
3969
3970
|
}
|
|
3970
3971
|
// <IconEdit className="copyButton" style={{{ ...styles.cellButtonsValueButton, styles.cellButtonsValueButtonEdit)} key="ce" />
|
|
@@ -4922,7 +4923,7 @@ export class ObjectBrowserClass extends Component {
|
|
|
4922
4923
|
? this.systemConfig.common.isFloatComma
|
|
4923
4924
|
: this.props.isFloatComma,
|
|
4924
4925
|
});
|
|
4925
|
-
this.onCopy(e, valText.v.toString());
|
|
4926
|
+
this.onCopy(e, valText.c !== undefined ? valText.c : valText.v.toString());
|
|
4926
4927
|
}, key: "cc" }))),
|
|
4927
4928
|
colButtons && (React.createElement("div", { style: { ...styles.cellDetailsLine, justifyContent: 'right' } }, colButtons))));
|
|
4928
4929
|
colName = null;
|