@iobroker/adapter-react-v5 3.1.0 → 3.1.3

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 CHANGED
@@ -641,6 +641,15 @@ If you still have questions, try to find an answer [here](https://mui.com/guides
641
641
  -->
642
642
 
643
643
  ## Changelog
644
+ ### 3.1.3 (2022-06-13)
645
+ * (bluefox) Added table with resized headers
646
+
647
+ ### 3.1.2 (2022-06-09)
648
+ * (bluefox) Added new document icon (read only)
649
+
650
+ ### 3.1.1 (2022-06-09)
651
+ * (bluefox) Allowed to work behind reverse proxy
652
+
644
653
  ### 3.1.0 (2022-06-07)
645
654
  * (bluefox) Some german texts were corrected
646
655
 
package/i18n/de.json CHANGED
@@ -264,8 +264,8 @@
264
264
  "ra_Folder → State": "Ordner → Zustand",
265
265
  "ra_Folder → Channel → State": "Ordner → Kanal → Zustand",
266
266
  "ra_Folder → Device → Channel → State": "Ordner → Gerät → Kanal → Zustand",
267
- "ra_Device → Channel → State": "Gerät → Kanal → Status",
268
- "ra_Channel → State": "Kanal → Status",
267
+ "ra_Device → Channel → State": "Gerät → Kanal → Zustand",
268
+ "ra_Channel → State": "Kanal → Zustand",
269
269
  "ra_Non-experts may create new objects only in \"0_userdata.0\" or \"alias.0\".": "Nicht-Experten dürfen neue Objekte nur in \"0_userdata.0\" oder \"alias.0\" erstellen.",
270
270
  "ra_The experts may create objects everywhere but from second level (e.g. \"vis.0\" or \"javascript.0\").": "Die Experten können Objekte überall erstellen, außer auf der zweiten Ebene (z. B. \"vis.0\" oder \"javascript.0\").",
271
271
  "ra_expertMode": "Expertenmodus",
@@ -310,5 +310,6 @@
310
310
  "ra_Move up": "Nach oben",
311
311
  "ra_Move down": "Nach unten",
312
312
  "ra_Delete current row": "Aktuelle Zeile löschen",
313
- "ra_All items are filtered out": "Alle Elemente werden herausgefiltert"
313
+ "ra_All items are filtered out": "Alle Elemente werden herausgefiltert",
314
+ "ra_Double click to reset table layout": "Doppelklicken, um das Tabellenlayout zurückzusetzen"
314
315
  }
package/i18n/en.json CHANGED
@@ -310,5 +310,6 @@
310
310
  "ra_Move up": "Move up",
311
311
  "ra_Move down": "Move down",
312
312
  "ra_Delete current row": "Delete current row",
313
- "ra_All items are filtered out": "All items are filtered out"
313
+ "ra_All items are filtered out": "All items are filtered out",
314
+ "ra_Double click to reset table layout": "Double click to reset table layout"
314
315
  }
package/i18n/es.json CHANGED
@@ -297,5 +297,6 @@
297
297
  "ra_Move up": "Ascender",
298
298
  "ra_Move down": "Mover hacia abajo",
299
299
  "ra_Delete current row": "Eliminar fila actual",
300
- "ra_All items are filtered out": "Todos los elementos se filtran"
300
+ "ra_All items are filtered out": "Todos los elementos se filtran",
301
+ "ra_Double click to reset table layout": "Haga doble clic para restablecer el diseño de la tabla"
301
302
  }
package/i18n/fr.json CHANGED
@@ -297,5 +297,6 @@
297
297
  "ra_Move up": "Déplacer vers le haut",
298
298
  "ra_Move down": "Descendre",
299
299
  "ra_Delete current row": "Supprimer la ligne actuelle",
300
- "ra_All items are filtered out": "Tous les éléments sont filtrés"
300
+ "ra_All items are filtered out": "Tous les éléments sont filtrés",
301
+ "ra_Double click to reset table layout": "Double-cliquez pour réinitialiser la disposition du tableau"
301
302
  }
package/i18n/it.json CHANGED
@@ -297,5 +297,6 @@
297
297
  "ra_Move up": "Andare avanti",
298
298
  "ra_Move down": "Abbassati",
299
299
  "ra_Delete current row": "Elimina la riga corrente",
300
- "ra_All items are filtered out": "Tutti gli elementi vengono filtrati"
300
+ "ra_All items are filtered out": "Tutti gli elementi vengono filtrati",
301
+ "ra_Double click to reset table layout": "Fare doppio clic per ripristinare il layout della tabella"
301
302
  }
package/i18n/nl.json CHANGED
@@ -297,5 +297,6 @@
297
297
  "ra_Move up": "Omhoog gaan",
298
298
  "ra_Move down": "Naar beneden verplaatsen",
299
299
  "ra_Delete current row": "Huidige rij verwijderen",
300
- "ra_All items are filtered out": "Alle items zijn uitgefilterd"
300
+ "ra_All items are filtered out": "Alle items zijn uitgefilterd",
301
+ "ra_Double click to reset table layout": "Dubbelklik om de tafelindeling te resetten"
301
302
  }
package/i18n/pl.json CHANGED
@@ -297,5 +297,6 @@
297
297
  "ra_Move up": "Podnieść",
298
298
  "ra_Move down": "Padnij",
299
299
  "ra_Delete current row": "Usuń bieżący wiersz",
300
- "ra_All items are filtered out": "Wszystkie pozycje są odfiltrowane"
300
+ "ra_All items are filtered out": "Wszystkie pozycje są odfiltrowane",
301
+ "ra_Double click to reset table layout": "Kliknij dwukrotnie, aby zresetować układ tabeli"
301
302
  }
package/i18n/pt.json CHANGED
@@ -297,5 +297,6 @@
297
297
  "ra_Move up": "Subir",
298
298
  "ra_Move down": "Mover para baixo",
299
299
  "ra_Delete current row": "Excluir linha atual",
300
- "ra_All items are filtered out": "Todos os itens são filtrados"
300
+ "ra_All items are filtered out": "Todos os itens são filtrados",
301
+ "ra_Double click to reset table layout": "Clique duas vezes para redefinir o layout da tabela"
301
302
  }
package/i18n/ru.json CHANGED
@@ -310,5 +310,6 @@
310
310
  "ra_Move up": "Вверх",
311
311
  "ra_Move down": "Вниз",
312
312
  "ra_Delete current row": "Удалить текущую строку",
313
- "ra_All items are filtered out": "Все элементы отфильтрованы"
313
+ "ra_All items are filtered out": "Все элементы отфильтрованы",
314
+ "ra_Double click to reset table layout": "Дважды щелкните, чтобы сбросить макет таблицы"
314
315
  }
package/i18n/zh-cn.json CHANGED
@@ -297,5 +297,6 @@
297
297
  "ra_Move up": "提升",
298
298
  "ra_Move down": "下移",
299
299
  "ra_Delete current row": "删除当前行",
300
- "ra_All items are filtered out": "所有项目都被过滤掉"
300
+ "ra_All items are filtered out": "所有项目都被过滤掉",
301
+ "ra_Double click to reset table layout": "双击重置表格布局"
301
302
  }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
14
+ // Icon copied from https://github.com/FortAwesome/Font-Awesome/blob/0d1f27efb836eb2ab994ba37221849ed64a73e5c/svgs/regular/
15
+ var IconDocumentReadOnly = function IconDocumentReadOnly(props) {
16
+ return /*#__PURE__*/_react["default"].createElement("svg", {
17
+ onClick: function onClick(e) {
18
+ return props.onClick && props.onClick(e);
19
+ },
20
+ viewBox: "0 0 512 512",
21
+ width: props.width || 20,
22
+ height: props.height || props.width || 20,
23
+ xmlns: "http://www.w3.org/2000/svg",
24
+ className: props.className
25
+ }, /*#__PURE__*/_react["default"].createElement("path", {
26
+ fill: "currentColor",
27
+ 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"
28
+ }), /*#__PURE__*/_react["default"].createElement("path", {
29
+ fill: "currentColor",
30
+ stroke: "null",
31
+ 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"
32
+ }));
33
+ };
34
+
35
+ IconDocumentReadOnly.propTypes = {
36
+ onClick: _propTypes["default"].func,
37
+ width: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
38
+ height: _propTypes["default"].oneOfType([_propTypes["default"].number, _propTypes["default"].string]),
39
+ className: _propTypes["default"].string
40
+ };
41
+ var _default = IconDocumentReadOnly;
42
+ exports["default"] = _default;
43
+ //# sourceMappingURL=IconDocumentReadOnly.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconDocumentReadOnly.js","names":["IconDocumentReadOnly","props","e","onClick","width","height","className","propTypes","PropTypes","func","oneOfType","number","string"],"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 => {\n return <svg onClick={e => props.onClick && props.onClick(e)} viewBox=\"0 0 512 512\" width={props.width || 20} height={props.height || props.width || 20} xmlns=\"http://www.w3.org/2000/svg\" className={ props.className }>\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}\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;"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;AACA,IAAMA,oBAAoB,GAAG,SAAvBA,oBAAuB,CAAAC,KAAK,EAAI;EAClC,oBAAO;IAAK,OAAO,EAAE,iBAAAC,CAAC;MAAA,OAAID,KAAK,CAACE,OAAN,IAAiBF,KAAK,CAACE,OAAN,CAAcD,CAAd,CAArB;IAAA,CAAf;IAAsD,OAAO,EAAC,aAA9D;IAA4E,KAAK,EAAED,KAAK,CAACG,KAAN,IAAe,EAAlG;IAAsG,MAAM,EAAEH,KAAK,CAACI,MAAN,IAAgBJ,KAAK,CAACG,KAAtB,IAA+B,EAA7I;IAAiJ,KAAK,EAAC,4BAAvJ;IAAoL,SAAS,EAAGH,KAAK,CAACK;EAAtM,gBACH;IAAM,IAAI,EAAC,cAAX;IAA0B,CAAC,EAAC;EAA5B,EADG,eAEH;IAAM,IAAI,EAAC,cAAX;IAA0B,MAAM,EAAC,MAAjC;IAAwC,CAAC,EAAC;EAA1C,EAFG,CAAP;AAIH,CALD;;AAOAN,oBAAoB,CAACO,SAArB,GAAiC;EAC7BJ,OAAO,EAAEK,qBAAA,CAAUC,IADU;EAE7BL,KAAK,EAAEI,qBAAA,CAAUE,SAAV,CAAoB,CAACF,qBAAA,CAAUG,MAAX,EAAmBH,qBAAA,CAAUI,MAA7B,CAApB,CAFsB;EAG7BP,MAAM,EAAEG,qBAAA,CAAUE,SAAV,CAAoB,CAACF,qBAAA,CAAUG,MAAX,EAAmBH,qBAAA,CAAUI,MAA7B,CAApB,CAHqB;EAI7BN,SAAS,EAAEE,qBAAA,CAAUI;AAJQ,CAAjC;eAOeZ,oB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/adapter-react-v5",
3
- "version": "3.1.0",
3
+ "version": "3.1.3",
4
4
  "description": "React classes to develop admin interfaces for ioBroker with react.",
5
5
  "author": {
6
6
  "name": "bluefox",