@iobroker/adapter-react-v5 7.4.22 → 7.5.1

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.
Files changed (119) hide show
  1. package/LICENSE +22 -22
  2. package/build/AdminConnection.js.map +1 -1
  3. package/build/Components/404.js +13 -13
  4. package/build/Components/404.js.map +1 -1
  5. package/build/Components/ColorPicker.js.map +1 -1
  6. package/build/Components/ComplexCron.js.map +1 -1
  7. package/build/Components/CopyToClipboard.js.map +1 -1
  8. package/build/Components/CustomModal.js.map +1 -1
  9. package/build/Components/FileBrowser.js +1 -1
  10. package/build/Components/FileBrowser.js.map +1 -1
  11. package/build/Components/FileViewer.js.map +1 -1
  12. package/build/Components/Icon.js.map +1 -1
  13. package/build/Components/IconPicker.js.map +1 -1
  14. package/build/Components/IconSelector.js.map +1 -1
  15. package/build/Components/IobUri.js.map +1 -1
  16. package/build/Components/Loader.js +223 -223
  17. package/build/Components/Loader.js.map +1 -1
  18. package/build/Components/Loaders/MV.js.map +1 -1
  19. package/build/Components/Loaders/PT.js +103 -103
  20. package/build/Components/Loaders/PT.js.map +1 -1
  21. package/build/Components/Loaders/Vendor.js +7 -7
  22. package/build/Components/Loaders/Vendor.js.map +1 -1
  23. package/build/Components/MDUtils.js.map +1 -1
  24. package/build/Components/ObjectBrowser.d.ts +25 -8
  25. package/build/Components/ObjectBrowser.js +46 -12
  26. package/build/Components/ObjectBrowser.js.map +1 -1
  27. package/build/Components/Router.js.map +1 -1
  28. package/build/Components/SaveCloseButtons.js.map +1 -1
  29. package/build/Components/Schedule.js.map +1 -1
  30. package/build/Components/SelectWithIcon.js.map +1 -1
  31. package/build/Components/SimpleCron/cronText.js.map +1 -1
  32. package/build/Components/SimpleCron/index.js.map +1 -1
  33. package/build/Components/TabContainer.js.map +1 -1
  34. package/build/Components/TabContent.js.map +1 -1
  35. package/build/Components/TabHeader.js.map +1 -1
  36. package/build/Components/TableResize.js.map +1 -1
  37. package/build/Components/TextWithIcon.js.map +1 -1
  38. package/build/Components/ToggleThemeMenu.js.map +1 -1
  39. package/build/Components/TreeTable.js.map +1 -1
  40. package/build/Components/UploadImage.js +305 -305
  41. package/build/Components/UploadImage.js.map +1 -1
  42. package/build/Components/withWidth.js.map +1 -1
  43. package/build/Connection.js.map +1 -1
  44. package/build/Dialogs/ComplexCron.js.map +1 -1
  45. package/build/Dialogs/Confirm.js.map +1 -1
  46. package/build/Dialogs/Cron.js.map +1 -1
  47. package/build/Dialogs/Error.js.map +1 -1
  48. package/build/Dialogs/Message.js.map +1 -1
  49. package/build/Dialogs/SelectFile.js.map +1 -1
  50. package/build/Dialogs/SelectID.d.ts +3 -0
  51. package/build/Dialogs/SelectID.js +17 -4
  52. package/build/Dialogs/SelectID.js.map +1 -1
  53. package/build/Dialogs/SimpleCron.js.map +1 -1
  54. package/build/Dialogs/TextInput.d.ts +1 -1
  55. package/build/Dialogs/TextInput.js.map +1 -1
  56. package/build/GenericApp.js.map +1 -1
  57. package/build/LegacyConnection.d.ts +4 -46
  58. package/build/LegacyConnection.js.map +1 -1
  59. package/build/Prompt.js +7 -7
  60. package/build/Prompt.js.map +1 -1
  61. package/build/assets/devices/parseNames.js.map +1 -1
  62. package/build/assets/devices.json +1 -1
  63. package/build/assets/lamp_ceiling.svg +8 -8
  64. package/build/assets/lamp_table.svg +7 -7
  65. package/build/assets/no_icon.svg +9 -9
  66. package/build/assets/rooms/parseNames.js.map +1 -1
  67. package/build/assets/rooms.json +1 -1
  68. package/build/dictionary.js.map +1 -1
  69. package/build/i18n/de.json +6 -0
  70. package/build/i18n/en.json +6 -0
  71. package/build/i18n/es.json +6 -0
  72. package/build/i18n/fr.json +6 -0
  73. package/build/i18n/it.json +6 -0
  74. package/build/i18n/nl.json +6 -0
  75. package/build/i18n/pl.json +6 -0
  76. package/build/i18n/pt.json +6 -0
  77. package/build/i18n/ru.json +6 -0
  78. package/build/i18n/uk.json +6 -0
  79. package/build/i18n/zh-cn.json +6 -0
  80. package/build/i18n.js.map +1 -1
  81. package/build/icons/IconAdapter.js.map +1 -1
  82. package/build/icons/IconAlias.js.map +1 -1
  83. package/build/icons/IconButtonImage.js.map +1 -1
  84. package/build/icons/IconChannel.js.map +1 -1
  85. package/build/icons/IconClearFilter.js.map +1 -1
  86. package/build/icons/IconClosed.js.map +1 -1
  87. package/build/icons/IconCopy.js.map +1 -1
  88. package/build/icons/IconDevice.js.map +1 -1
  89. package/build/icons/IconDocument.js.map +1 -1
  90. package/build/icons/IconDocumentReadOnly.js.map +1 -1
  91. package/build/icons/IconExpert.js.map +1 -1
  92. package/build/icons/IconFx.js +1 -1
  93. package/build/icons/IconFx.js.map +1 -1
  94. package/build/icons/IconInstance.js.map +1 -1
  95. package/build/icons/IconLogout.js +1 -1
  96. package/build/icons/IconLogout.js.map +1 -1
  97. package/build/icons/IconNoIcon.js.map +1 -1
  98. package/build/icons/IconOpen.js.map +1 -1
  99. package/build/icons/IconProps.js.map +1 -1
  100. package/build/icons/IconState.js.map +1 -1
  101. package/build/icons/IconVacuum.js.map +1 -1
  102. package/build/index.css +56 -56
  103. package/build/index.js.map +1 -1
  104. package/craco-module-federation.js +62 -62
  105. package/i18n/de.json +6 -0
  106. package/i18n/en.json +6 -0
  107. package/i18n/es.json +6 -0
  108. package/i18n/fr.json +6 -0
  109. package/i18n/it.json +6 -0
  110. package/i18n/nl.json +6 -0
  111. package/i18n/pl.json +6 -0
  112. package/i18n/pt.json +6 -0
  113. package/i18n/ru.json +6 -0
  114. package/i18n/uk.json +6 -0
  115. package/i18n/zh-cn.json +6 -0
  116. package/index.css +56 -56
  117. package/modulefederation.admin.config.js +33 -33
  118. package/package.json +4 -5
  119. package/tasksExample.js +91 -91
package/build/Prompt.js CHANGED
@@ -2,13 +2,13 @@
2
2
  * Print the ioBroker welcome screen to the developer console.
3
3
  */
4
4
  export function printPrompt() {
5
- const prompt = `
6
- ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗
7
- ██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗
8
- ██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝
9
- ██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗
10
- ██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║
11
- ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
5
+ const prompt = `
6
+ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗
7
+ ██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗
8
+ ██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝
9
+ ██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗
10
+ ██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║
11
+ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
12
12
  `;
13
13
  console.log(prompt);
14
14
  console.log('Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters');
@@ -1 +1 @@
1
- {"version":3,"file":"Prompt.js","sourceRoot":"./src/","sources":["Prompt.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,UAAU,WAAW;IACvB,MAAM,MAAM,GAAG;;;;;;;CAOlB,CAAC;IAEE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACpB,OAAO,CAAC,GAAG,CACP,kJAAkJ,CACrJ,CAAC;IACF,OAAO,CAAC,GAAG,CAAC,qDAAqD,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AAC9B,CAAC;AAED,eAAe,WAAW,CAAC","sourcesContent":["/**\n * Print the ioBroker welcome screen to the developer console.\n */\nexport function printPrompt(): void {\n const prompt = `\n██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ \n██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗\n██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝\n██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗\n██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║\n╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝\n`;\n\n console.log(prompt);\n console.log(\n 'Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters',\n );\n console.log('Help us to create open source project with reactJS!');\n console.log('See you :)');\n}\n\nexport default printPrompt;\n"]}
1
+ {"version":3,"file":"Prompt.js","sourceRoot":"./src/","sources":["Prompt.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,UAAU,WAAW;IACvB,MAAM,MAAM,GAAG;;;;;;;CAOlB,CAAC;IAEE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACpB,OAAO,CAAC,GAAG,CACP,kJAAkJ,CACrJ,CAAC;IACF,OAAO,CAAC,GAAG,CAAC,qDAAqD,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AAC9B,CAAC;AAED,eAAe,WAAW,CAAC","sourcesContent":["/**\r\n * Print the ioBroker welcome screen to the developer console.\r\n */\r\nexport function printPrompt(): void {\r\n const prompt = `\r\n██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ \r\n██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗\r\n██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝\r\n██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗\r\n██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║\r\n╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝\r\n`;\r\n\r\n console.log(prompt);\r\n console.log(\r\n 'Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters',\r\n );\r\n console.log('Help us to create open source project with reactJS!');\r\n console.log('See you :)');\r\n}\r\n\r\nexport default printPrompt;\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"parseNames.js","sourceRoot":"./src/","sources":["assets/devices/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/devices/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"]}