@iobroker/adapter-react-v5 3.1.15 → 3.1.16
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.
|
@@ -327,7 +327,10 @@ var styles = function styles(theme) {
|
|
|
327
327
|
flexWrap: 'nowrap'
|
|
328
328
|
},
|
|
329
329
|
tableRowLines: {
|
|
330
|
-
borderBottom: "1px solid ".concat(theme.palette.mode === 'dark' ? '#8888882e' : '#8888882e')
|
|
330
|
+
borderBottom: "1px solid ".concat(theme.palette.mode === 'dark' ? '#8888882e' : '#8888882e'),
|
|
331
|
+
'& > div': {
|
|
332
|
+
borderRight: "1px solid ".concat(theme.palette.mode === 'dark' ? '#8888882e' : '#8888882e')
|
|
333
|
+
}
|
|
331
334
|
},
|
|
332
335
|
tableRowNoDragging: {
|
|
333
336
|
cursor: 'pointer'
|
|
@@ -2608,7 +2611,7 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
2608
2611
|
}
|
|
2609
2612
|
}
|
|
2610
2613
|
|
|
2611
|
-
filter.expertMode = props.expertMode !== undefined ? props.expertMode : window.sessionStorage.getItem('App.expertMode') === 'true';
|
|
2614
|
+
filter.expertMode = props.expertMode !== undefined ? props.expertMode : (window._sessionStorage || window.sessionStorage).getItem('App.expertMode') === 'true';
|
|
2612
2615
|
_this.tableRef = /*#__PURE__*/(0, _react.createRef)();
|
|
2613
2616
|
_this.filterRefs = {};
|
|
2614
2617
|
Object.keys(DEFAULT_FILTER).forEach(function (name) {
|
|
@@ -3668,7 +3671,7 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3668
3671
|
filter[name] = value;
|
|
3669
3672
|
|
|
3670
3673
|
if (name === 'expertMode') {
|
|
3671
|
-
window.sessionStorage.setItem('App.expertMode', value ? 'true' : 'false');
|
|
3674
|
+
(window._sessionStorage || window.sessionStorage).setItem('App.expertMode', value ? 'true' : 'false');
|
|
3672
3675
|
}
|
|
3673
3676
|
}
|
|
3674
3677
|
|
|
@@ -4679,14 +4682,14 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4679
4682
|
var copyText = info.valText.v || '';
|
|
4680
4683
|
info.val = copyText;
|
|
4681
4684
|
info.valText = [/*#__PURE__*/_react["default"].createElement("span", {
|
|
4682
|
-
className: classes.newValue
|
|
4683
|
-
key: "valText"
|
|
4685
|
+
className: classes.newValue,
|
|
4686
|
+
key: "".concat(info.valText.v.toString(), "valText")
|
|
4684
4687
|
}, info.valText.v.toString()), info.valText.u ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
4685
4688
|
className: _Utils["default"].clsx(classes.cellValueTextUnit, classes.newValue),
|
|
4686
|
-
key: "unit"
|
|
4689
|
+
key: "".concat(info.valText.v.toString(), "unit")
|
|
4687
4690
|
}, info.valText.u) : null, info.valText.s !== undefined ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
4688
4691
|
className: _Utils["default"].clsx(classes.cellValueTextState, classes.newValue),
|
|
4689
|
-
key: "states"
|
|
4692
|
+
key: "".concat(info.valText.v.toString(), "states")
|
|
4690
4693
|
}, "(", info.valText.s, ")") : null, /*#__PURE__*/_react["default"].createElement(_IconCopy["default"], {
|
|
4691
4694
|
className: _Utils["default"].clsx(classes.cellButtonsValueButton, 'copyButton', classes.cellButtonsValueButtonCopy),
|
|
4692
4695
|
onClick: function onClick(e) {
|
|
@@ -5045,7 +5048,7 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5045
5048
|
onKeyUp: function onKeyUp(e) {
|
|
5046
5049
|
return e.keyCode === 13 && _this36.onColumnsEditCustomDialogClose(true);
|
|
5047
5050
|
},
|
|
5048
|
-
label: this.state.columnsEditCustomDialog.it.name
|
|
5051
|
+
label: "".concat(this.state.columnsEditCustomDialog.it.name, " (").concat(this.state.columnsEditCustomDialog.it.pathText, ")"),
|
|
5049
5052
|
onChange: function onChange(e) {
|
|
5050
5053
|
_this36.customColumnDialog.value = e.target.value;
|
|
5051
5054
|
var changed = _this36.customColumnDialog.value !== _this36.customColumnDialog.initValue;
|