@iobroker/adapter-react-v5 7.7.4 → 8.0.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/LICENSE +22 -22
- package/README.md +3 -3
- package/build/AdminConnection.js.map +1 -1
- package/build/Components/404.js +13 -13
- package/build/Components/404.js.map +1 -1
- package/build/Components/ColorPicker.js.map +1 -1
- package/build/Components/CopyToClipboard.js.map +1 -1
- package/build/Components/Icon.js.map +1 -1
- package/build/Components/IobUri.d.ts +1 -1
- package/build/Components/IobUri.js.map +1 -1
- package/build/Components/Loader.js +223 -223
- package/build/Components/Loader.js.map +1 -1
- package/build/Components/Loaders/MV.js.map +1 -1
- package/build/Components/Loaders/PT.js +103 -103
- package/build/Components/Loaders/PT.js.map +1 -1
- package/build/Components/Loaders/Vendor.js +7 -7
- package/build/Components/Loaders/Vendor.js.map +1 -1
- package/build/Components/MDUtils.js.map +1 -1
- package/build/Components/ObjectBrowser.d.ts +2 -1
- package/build/Components/ObjectBrowser.js +2 -2
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/Components/Router.js.map +1 -1
- package/build/Components/SaveCloseButtons.js.map +1 -1
- package/build/Components/SimpleCron/cronText.js.map +1 -1
- package/build/Components/SimpleCron/index.js.map +1 -1
- package/build/Components/TabContainer.js.map +1 -1
- package/build/Components/TabContent.js.map +1 -1
- package/build/Components/TabHeader.js.map +1 -1
- package/build/Components/TableResize.js.map +1 -1
- package/build/Components/TreeTable.js.map +1 -1
- package/build/Components/UploadImage.js +305 -305
- package/build/Components/UploadImage.js.map +1 -1
- package/build/Connection.js.map +1 -1
- package/build/Dialogs/ComplexCron.js.map +1 -1
- package/build/Dialogs/Confirm.js.map +1 -1
- package/build/Dialogs/Cron.js.map +1 -1
- package/build/Dialogs/Error.js.map +1 -1
- package/build/Dialogs/Message.js.map +1 -1
- package/build/Dialogs/SimpleCron.js.map +1 -1
- package/build/Dialogs/TextInput.js.map +1 -1
- package/build/Prompt.js +7 -7
- package/build/Prompt.js.map +1 -1
- package/build/assets/devices/parseNames.js.map +1 -1
- package/build/assets/devices.json +1 -1
- package/build/assets/lamp_ceiling.svg +8 -8
- package/build/assets/lamp_table.svg +7 -7
- package/build/assets/no_icon.svg +9 -9
- package/build/assets/rooms/parseNames.js.map +1 -1
- package/build/assets/rooms.json +1 -1
- package/build/dictionary.js.map +1 -1
- package/build/globals.d.ts +19 -0
- package/build/i18n.js.map +1 -1
- package/build/index.css +56 -56
- package/index.css +56 -56
- package/package.json +84 -82
- package/tasksExample.js +91 -91
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<svg enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512"
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<g fill="currentColor">
|
|
4
|
-
<path d="m303.685 126.792c20.68-110.795 19.315-102.85 19.315-104.869 0-12.498-11.608-21.923-27-21.923h-80c-18.263 0-28.952 12.827-26.746 24.675l19.06 102.117c-88.015 21.711-151.314 100.757-151.314 193.208 0 8.284 6.716 15 15 15h82.096c7.284 49.71 50.204 88 101.904 88 51.699 0 94.619-38.29 101.904-88 .141 0 82.276 0 82.119 0 8.267-.013 14.964-6.71 14.977-14.977.14-91.37-62.395-171.297-151.315-193.231zm-65.934-5.792-16.985-91h70.467l-16.985 91zm152.231 96h-267.965c67.563-87.839 200.23-88.062 267.965 0zm-133.982 176c-35.113 0-64.515-24.918-71.451-58h142.902c-6.936 33.082-36.339 58-71.451 58zm-168.333-88c1.793-20.136 7.18-39.841 15.873-58h304.918c8.693 18.159 14.08 37.864 15.873 58-15.201 0-321.28 0-336.664 0z"/>
|
|
5
|
-
<path d="m256 457c-8.284 0-15 6.716-15 15v25c0 8.284 6.716 15 15 15s15-6.716 15-15v-25c0-8.284-6.716-15-15-15z"/>
|
|
6
|
-
<path d="m353.47 436.146c-3.076-7.691-11.802-11.434-19.498-8.355-7.691 3.077-11.433 11.807-8.355 19.498l8.914 22.283c2.346 5.865 7.979 9.433 13.932 9.433 10.541 0 17.876-10.691 13.922-20.575z"/>
|
|
7
|
-
<path d="m178.027 427.79c-7.692-3.079-16.421.665-19.498 8.356l-8.913 22.283c-3.948 9.869 3.361 20.574 13.922 20.574 5.953 0 11.586-3.568 13.932-9.434l8.913-22.283c3.077-7.69-.664-16.42-8.356-19.496z"/>
|
|
8
|
-
</g>
|
|
1
|
+
<svg enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512"
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g fill="currentColor">
|
|
4
|
+
<path d="m303.685 126.792c20.68-110.795 19.315-102.85 19.315-104.869 0-12.498-11.608-21.923-27-21.923h-80c-18.263 0-28.952 12.827-26.746 24.675l19.06 102.117c-88.015 21.711-151.314 100.757-151.314 193.208 0 8.284 6.716 15 15 15h82.096c7.284 49.71 50.204 88 101.904 88 51.699 0 94.619-38.29 101.904-88 .141 0 82.276 0 82.119 0 8.267-.013 14.964-6.71 14.977-14.977.14-91.37-62.395-171.297-151.315-193.231zm-65.934-5.792-16.985-91h70.467l-16.985 91zm152.231 96h-267.965c67.563-87.839 200.23-88.062 267.965 0zm-133.982 176c-35.113 0-64.515-24.918-71.451-58h142.902c-6.936 33.082-36.339 58-71.451 58zm-168.333-88c1.793-20.136 7.18-39.841 15.873-58h304.918c8.693 18.159 14.08 37.864 15.873 58-15.201 0-321.28 0-336.664 0z"/>
|
|
5
|
+
<path d="m256 457c-8.284 0-15 6.716-15 15v25c0 8.284 6.716 15 15 15s15-6.716 15-15v-25c0-8.284-6.716-15-15-15z"/>
|
|
6
|
+
<path d="m353.47 436.146c-3.076-7.691-11.802-11.434-19.498-8.355-7.691 3.077-11.433 11.807-8.355 19.498l8.914 22.283c2.346 5.865 7.979 9.433 13.932 9.433 10.541 0 17.876-10.691 13.922-20.575z"/>
|
|
7
|
+
<path d="m178.027 427.79c-7.692-3.079-16.421.665-19.498 8.356l-8.913 22.283c-3.948 9.869 3.361 20.574 13.922 20.574 5.953 0 11.586-3.568 13.932-9.434l8.913-22.283c3.077-7.69-.664-16.42-8.356-19.496z"/>
|
|
8
|
+
</g>
|
|
9
9
|
</svg>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<svg enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512"
|
|
2
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<g fill="currentColor">
|
|
4
|
-
<path d="m436 212h-135v-50h65c4.929 0 9.543-2.421 12.343-6.477 2.801-4.056 3.431-9.228 1.685-13.837l-50-132c-2.209-5.83-7.794-9.686-14.028-9.686h-120c-6.234 0-11.819 3.856-14.027 9.687l-50 132c-1.746 4.609-1.116 9.781 1.685 13.837 2.8 4.056 7.414 6.477 12.343 6.477h65v50h-135.001c-8.284 0-15 6.716-15 15s6.716 15 15 15h5v225c0 8.284 6.716 15 15 15h15v15c0 8.284 6.716 15 15 15s15-6.716 15-15v-15h230v15c0 8.284 6.716 15 15 15s15-6.716 15-15v-15h15c8.284 0 15-6.716 15-15v-225.001h5c8.284 0 15-6.716 15-15s-6.716-15-15-15zm-186.775-182h13.55l12.879 102h-39.308zm95.053 102h-38.386l-12.879-102h12.628zm-137.92-102h12.629l-12.879 102h-38.386zm34.642 132h30v50h-30zm160 290h-290v-90h290zm0-120h-290v-90h290z"/>
|
|
5
|
-
<path d="m226 272c-8.284 0-15 6.716-15 15s6.716 15 15 15h60c8.284 0 15-6.716 15-15s-6.716-15-15-15z"/>
|
|
6
|
-
<path d="m226 422h60c8.284 0 15-6.716 15-15s-6.716-15-15-15h-60c-8.284 0-15 6.716-15 15s6.716 15 15 15z"/>
|
|
7
|
-
</g>
|
|
1
|
+
<svg enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512"
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g fill="currentColor">
|
|
4
|
+
<path d="m436 212h-135v-50h65c4.929 0 9.543-2.421 12.343-6.477 2.801-4.056 3.431-9.228 1.685-13.837l-50-132c-2.209-5.83-7.794-9.686-14.028-9.686h-120c-6.234 0-11.819 3.856-14.027 9.687l-50 132c-1.746 4.609-1.116 9.781 1.685 13.837 2.8 4.056 7.414 6.477 12.343 6.477h65v50h-135.001c-8.284 0-15 6.716-15 15s6.716 15 15 15h5v225c0 8.284 6.716 15 15 15h15v15c0 8.284 6.716 15 15 15s15-6.716 15-15v-15h230v15c0 8.284 6.716 15 15 15s15-6.716 15-15v-15h15c8.284 0 15-6.716 15-15v-225.001h5c8.284 0 15-6.716 15-15s-6.716-15-15-15zm-186.775-182h13.55l12.879 102h-39.308zm95.053 102h-38.386l-12.879-102h12.628zm-137.92-102h12.629l-12.879 102h-38.386zm34.642 132h30v50h-30zm160 290h-290v-90h290zm0-120h-290v-90h290z"/>
|
|
5
|
+
<path d="m226 272c-8.284 0-15 6.716-15 15s6.716 15 15 15h60c8.284 0 15-6.716 15-15s-6.716-15-15-15z"/>
|
|
6
|
+
<path d="m226 422h60c8.284 0 15-6.716 15-15s-6.716-15-15-15h-60c-8.284 0-15 6.716-15 15s6.716 15 15 15z"/>
|
|
7
|
+
</g>
|
|
8
8
|
</svg>
|
package/build/assets/no_icon.svg
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
2
|
-
viewBox="0 0 512 512">
|
|
3
|
-
<g>
|
|
4
|
-
<path fill="#EE3333" d="M256,0C114.844,0,0,114.844,0,256s114.844,256,256,256s256-114.844,256-256S397.156,0,256,0z M256,448
|
|
5
|
-
c-105.865,0-192-86.135-192-192c0-40.406,12.25-78.604,35.542-111.198l267.656,267.656C334.604,435.75,296.406,448,256,448z
|
|
6
|
-
M412.458,367.198L144.802,99.542C177.396,76.25,215.594,64,256,64c105.865,0,192,86.135,192,192
|
|
7
|
-
C448,296.406,435.75,334.604,412.458,367.198z"/>
|
|
8
|
-
</g>
|
|
9
|
-
</svg>
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
2
|
+
viewBox="0 0 512 512">
|
|
3
|
+
<g>
|
|
4
|
+
<path fill="#EE3333" d="M256,0C114.844,0,0,114.844,0,256s114.844,256,256,256s256-114.844,256-256S397.156,0,256,0z M256,448
|
|
5
|
+
c-105.865,0-192-86.135-192-192c0-40.406,12.25-78.604,35.542-111.198l267.656,267.656C334.604,435.75,296.406,448,256,448z
|
|
6
|
+
M412.458,367.198L144.802,99.542C177.396,76.25,215.594,64,256,64c105.865,0,192,86.135,192,192
|
|
7
|
+
C448,296.406,435.75,334.604,412.458,367.198z"/>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseNames.js","sourceRoot":"./src/","sources":["assets/rooms/parseNames.js"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCE","sourcesContent":["// this is a service script that extracts names from names.txt and places them into list.json\n/*\nconst fs = require('fs');\n\nfunction readTxt(fileName) {\n const text = fs.readFileSync(fileName).toString('utf8');\n const lines = text.split('\\n');\n const langs = lines.shift().split('\\t').map(l => l.toLowerCase().trim());\n\n const result = {};\n lines.forEach(line => {\n const words = line.split('\\t').map(w => w.trim());\n const word = {};\n result[words[0]] = word;\n langs.forEach((lang, i) => {\n word[lang] = words[i];\n });\n });\n return result;\n}\n\nfunction mergeTexts(jsonFileName, words) {\n const file = require(jsonFileName);\n file.forEach(item => {\n if (typeof item.name === 'string' && words[item.name]) {\n item.name = words[item.name];\n }\n });\n fs.writeFileSync(jsonFileName, JSON.stringify(file, null, 2));\n}\n\nconst words = readTxt(__dirname + '/names.txt');\nmergeTexts(__dirname + '/list.json', words);\n*/\n"]}
|
|
1
|
+
{"version":3,"file":"parseNames.js","sourceRoot":"./src/","sources":["assets/rooms/parseNames.js"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCE","sourcesContent":["// this is a service script that extracts names from names.txt and places them into list.json\r\n/*\r\nconst fs = require('fs');\r\n\r\nfunction readTxt(fileName) {\r\n const text = fs.readFileSync(fileName).toString('utf8');\r\n const lines = text.split('\\n');\r\n const langs = lines.shift().split('\\t').map(l => l.toLowerCase().trim());\r\n\r\n const result = {};\r\n lines.forEach(line => {\r\n const words = line.split('\\t').map(w => w.trim());\r\n const word = {};\r\n result[words[0]] = word;\r\n langs.forEach((lang, i) => {\r\n word[lang] = words[i];\r\n });\r\n });\r\n return result;\r\n}\r\n\r\nfunction mergeTexts(jsonFileName, words) {\r\n const file = require(jsonFileName);\r\n file.forEach(item => {\r\n if (typeof item.name === 'string' && words[item.name]) {\r\n item.name = words[item.name];\r\n }\r\n });\r\n fs.writeFileSync(jsonFileName, JSON.stringify(file, null, 2));\r\n}\r\n\r\nconst words = readTxt(__dirname + '/names.txt');\r\nmergeTexts(__dirname + '/list.json', words);\r\n*/\r\n"]}
|