@iobroker/json-config 7.2.5 → 7.3.0

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 (133) hide show
  1. package/README.md +1402 -0
  2. package/build/JsonConfig.d.ts +1 -1
  3. package/build/JsonConfig.js +3 -3
  4. package/build/JsonConfig.js.map +1 -1
  5. package/build/JsonConfigComponent/ChipInput.d.ts +1 -1
  6. package/build/JsonConfigComponent/ChipInput.js +3 -4
  7. package/build/JsonConfigComponent/ChipInput.js.map +1 -1
  8. package/build/JsonConfigComponent/ConfigAccordion.js +3 -3
  9. package/build/JsonConfigComponent/ConfigAccordion.js.map +1 -1
  10. package/build/JsonConfigComponent/ConfigAlive.js +3 -3
  11. package/build/JsonConfigComponent/ConfigAlive.js.map +1 -1
  12. package/build/JsonConfigComponent/ConfigAutocomplete.js +3 -3
  13. package/build/JsonConfigComponent/ConfigAutocomplete.js.map +1 -1
  14. package/build/JsonConfigComponent/ConfigAutocompleteSendTo.js +3 -3
  15. package/build/JsonConfigComponent/ConfigAutocompleteSendTo.js.map +1 -1
  16. package/build/JsonConfigComponent/ConfigCRON.js +3 -3
  17. package/build/JsonConfigComponent/ConfigCRON.js.map +1 -1
  18. package/build/JsonConfigComponent/ConfigCertCollection.js +3 -3
  19. package/build/JsonConfigComponent/ConfigCertCollection.js.map +1 -1
  20. package/build/JsonConfigComponent/ConfigCertificateSelect.js +3 -3
  21. package/build/JsonConfigComponent/ConfigCertificateSelect.js.map +1 -1
  22. package/build/JsonConfigComponent/ConfigCertificates.js +3 -3
  23. package/build/JsonConfigComponent/ConfigCertificates.js.map +1 -1
  24. package/build/JsonConfigComponent/ConfigCheckLicense.js +3 -3
  25. package/build/JsonConfigComponent/ConfigCheckLicense.js.map +1 -1
  26. package/build/JsonConfigComponent/ConfigCheckbox.js +3 -3
  27. package/build/JsonConfigComponent/ConfigCheckbox.js.map +1 -1
  28. package/build/JsonConfigComponent/ConfigChip.js +2 -2
  29. package/build/JsonConfigComponent/ConfigChip.js.map +1 -1
  30. package/build/JsonConfigComponent/ConfigColor.js +3 -3
  31. package/build/JsonConfigComponent/ConfigColor.js.map +1 -1
  32. package/build/JsonConfigComponent/ConfigCoordinates.js +3 -3
  33. package/build/JsonConfigComponent/ConfigCoordinates.js.map +1 -1
  34. package/build/JsonConfigComponent/ConfigCustom.js +3 -3
  35. package/build/JsonConfigComponent/ConfigCustom.js.map +1 -1
  36. package/build/JsonConfigComponent/ConfigDatePicker.js +2 -2
  37. package/build/JsonConfigComponent/ConfigDatePicker.js.map +1 -1
  38. package/build/JsonConfigComponent/ConfigDeviceManager.js +2 -2
  39. package/build/JsonConfigComponent/ConfigDeviceManager.js.map +1 -1
  40. package/build/JsonConfigComponent/ConfigFile.js +3 -3
  41. package/build/JsonConfigComponent/ConfigFile.js.map +1 -1
  42. package/build/JsonConfigComponent/ConfigFileSelector.js +4 -4
  43. package/build/JsonConfigComponent/ConfigFileSelector.js.map +1 -1
  44. package/build/JsonConfigComponent/ConfigFunc.js +3 -3
  45. package/build/JsonConfigComponent/ConfigFunc.js.map +1 -1
  46. package/build/JsonConfigComponent/ConfigGeneric.d.ts +1 -1
  47. package/build/JsonConfigComponent/ConfigGeneric.js +3 -3
  48. package/build/JsonConfigComponent/ConfigGeneric.js.map +1 -1
  49. package/build/JsonConfigComponent/ConfigIP.js +3 -3
  50. package/build/JsonConfigComponent/ConfigIP.js.map +1 -1
  51. package/build/JsonConfigComponent/ConfigImageSendTo.js +2 -2
  52. package/build/JsonConfigComponent/ConfigImageSendTo.js.map +1 -1
  53. package/build/JsonConfigComponent/ConfigImageUpload.js +3 -3
  54. package/build/JsonConfigComponent/ConfigImageUpload.js.map +1 -1
  55. package/build/JsonConfigComponent/ConfigInstanceSelect.js +3 -3
  56. package/build/JsonConfigComponent/ConfigInstanceSelect.js.map +1 -1
  57. package/build/JsonConfigComponent/ConfigInterface.js +2 -2
  58. package/build/JsonConfigComponent/ConfigInterface.js.map +1 -1
  59. package/build/JsonConfigComponent/ConfigJsonEditor.js +3 -3
  60. package/build/JsonConfigComponent/ConfigJsonEditor.js.map +1 -1
  61. package/build/JsonConfigComponent/ConfigLanguage.js +3 -3
  62. package/build/JsonConfigComponent/ConfigLanguage.js.map +1 -1
  63. package/build/JsonConfigComponent/ConfigLicense.js +3 -3
  64. package/build/JsonConfigComponent/ConfigLicense.js.map +1 -1
  65. package/build/JsonConfigComponent/ConfigNumber.js +3 -3
  66. package/build/JsonConfigComponent/ConfigNumber.js.map +1 -1
  67. package/build/JsonConfigComponent/ConfigObjectId.js +3 -3
  68. package/build/JsonConfigComponent/ConfigObjectId.js.map +1 -1
  69. package/build/JsonConfigComponent/ConfigPanel.js +4 -4
  70. package/build/JsonConfigComponent/ConfigPanel.js.map +1 -1
  71. package/build/JsonConfigComponent/ConfigPassword.js +7 -15
  72. package/build/JsonConfigComponent/ConfigPassword.js.map +1 -1
  73. package/build/JsonConfigComponent/ConfigPattern.js +3 -3
  74. package/build/JsonConfigComponent/ConfigPattern.js.map +1 -1
  75. package/build/JsonConfigComponent/ConfigPort.js +3 -3
  76. package/build/JsonConfigComponent/ConfigPort.js.map +1 -1
  77. package/build/JsonConfigComponent/ConfigQrCode.js +2 -2
  78. package/build/JsonConfigComponent/ConfigQrCode.js.map +1 -1
  79. package/build/JsonConfigComponent/ConfigRoom.js +3 -3
  80. package/build/JsonConfigComponent/ConfigRoom.js.map +1 -1
  81. package/build/JsonConfigComponent/ConfigSelect.js +3 -3
  82. package/build/JsonConfigComponent/ConfigSelect.js.map +1 -1
  83. package/build/JsonConfigComponent/ConfigSelectSendTo.js +3 -3
  84. package/build/JsonConfigComponent/ConfigSelectSendTo.js.map +1 -1
  85. package/build/JsonConfigComponent/ConfigSendto.js +3 -3
  86. package/build/JsonConfigComponent/ConfigSendto.js.map +1 -1
  87. package/build/JsonConfigComponent/ConfigSetState.js +3 -3
  88. package/build/JsonConfigComponent/ConfigSetState.js.map +1 -1
  89. package/build/JsonConfigComponent/ConfigSlider.js +2 -2
  90. package/build/JsonConfigComponent/ConfigSlider.js.map +1 -1
  91. package/build/JsonConfigComponent/ConfigState.js +3 -3
  92. package/build/JsonConfigComponent/ConfigState.js.map +1 -1
  93. package/build/JsonConfigComponent/ConfigStaticDivider.js +2 -3
  94. package/build/JsonConfigComponent/ConfigStaticDivider.js.map +1 -1
  95. package/build/JsonConfigComponent/ConfigStaticHeader.js +2 -2
  96. package/build/JsonConfigComponent/ConfigStaticHeader.js.map +1 -1
  97. package/build/JsonConfigComponent/ConfigStaticImage.js +2 -2
  98. package/build/JsonConfigComponent/ConfigStaticImage.js.map +1 -1
  99. package/build/JsonConfigComponent/ConfigStaticText.js +3 -3
  100. package/build/JsonConfigComponent/ConfigStaticText.js.map +1 -1
  101. package/build/JsonConfigComponent/ConfigTable.d.ts +1 -1
  102. package/build/JsonConfigComponent/ConfigTable.js +3 -3
  103. package/build/JsonConfigComponent/ConfigTable.js.map +1 -1
  104. package/build/JsonConfigComponent/ConfigTabs.js +2 -2
  105. package/build/JsonConfigComponent/ConfigTabs.js.map +1 -1
  106. package/build/JsonConfigComponent/ConfigText.js +3 -3
  107. package/build/JsonConfigComponent/ConfigText.js.map +1 -1
  108. package/build/JsonConfigComponent/ConfigTextSendTo.js +3 -3
  109. package/build/JsonConfigComponent/ConfigTextSendTo.js.map +1 -1
  110. package/build/JsonConfigComponent/ConfigTimePicker.js +2 -2
  111. package/build/JsonConfigComponent/ConfigTimePicker.js.map +1 -1
  112. package/build/JsonConfigComponent/ConfigTopic.js +2 -2
  113. package/build/JsonConfigComponent/ConfigTopic.js.map +1 -1
  114. package/build/JsonConfigComponent/ConfigUUID.js +3 -3
  115. package/build/JsonConfigComponent/ConfigUUID.js.map +1 -1
  116. package/build/JsonConfigComponent/ConfigUser.js +3 -3
  117. package/build/JsonConfigComponent/ConfigUser.js.map +1 -1
  118. package/build/JsonConfigComponent/Icons.js +1 -1
  119. package/build/JsonConfigComponent/Icons.js.map +1 -1
  120. package/build/JsonConfigComponent/index.d.ts +1 -1
  121. package/build/JsonConfigComponent/index.js +1 -2
  122. package/build/JsonConfigComponent/index.js.map +1 -1
  123. package/build/JsonConfigComponent/wrapper/Components/CustomModal.js +1 -1
  124. package/build/JsonConfigComponent/wrapper/Components/CustomModal.js.map +1 -1
  125. package/build/JsonConfigComponent/wrapper/Components/Editor.js +1 -1
  126. package/build/JsonConfigComponent/wrapper/Components/Editor.js.map +1 -1
  127. package/build/Utils.d.ts +1 -1
  128. package/build/Utils.js +1 -1
  129. package/build/Utils.js.map +1 -1
  130. package/build/index.d.ts +2 -2
  131. package/build/index.js.map +1 -1
  132. package/build/types.d.ts +4 -4
  133. package/package.json +5 -13
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"./src/","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,WAAW,MAAM,mCAAmC,CAAC;AAC5D,OAAO,aAAa,MAAM,qCAAqC,CAAC;AAKhE,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC","sourcesContent":["import JsonConfig from './JsonConfig';\nimport JsonConfigComponent from './JsonConfigComponent';\nimport ConfigPanel from './JsonConfigComponent/ConfigPanel';\nimport ConfigGeneric from './JsonConfigComponent/ConfigGeneric';\n\nexport type * from './JsonConfigComponent/ConfigGeneric';\nexport type * from './types';\n\nexport { JsonConfig, JsonConfigComponent, ConfigPanel, ConfigGeneric };\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"./src/","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,WAAW,MAAM,mCAAmC,CAAC;AAC5D,OAAO,aAAa,MAAM,qCAAqC,CAAC;AA8EhE,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC","sourcesContent":["import JsonConfig from './JsonConfig';\nimport JsonConfigComponent from './JsonConfigComponent';\nimport ConfigPanel from './JsonConfigComponent/ConfigPanel';\nimport ConfigGeneric from './JsonConfigComponent/ConfigGeneric';\n\nexport type {\n DeviceManagerPropsProps,\n ConfigGenericProps,\n ConfigGenericState,\n} from './JsonConfigComponent/ConfigGeneric';\n\nexport type {\n ConfigItemType,\n ConfigItemConfirmData,\n ConfigItem,\n ConfigItemAlive,\n ConfigItemSelectOption,\n ConfigItemPanel,\n ConfigItemPattern,\n ConfigItemChip,\n ConfigItemTabs,\n ConfigItemText,\n ConfigItemColor,\n ConfigItemCheckbox,\n ConfigItemNumber,\n ConfigItemQrCode,\n ConfigItemPassword,\n ConfigItemObjectId,\n ConfigItemSlider,\n ConfigItemTopic,\n ConfigItemIP,\n ConfigItemUser,\n ConfigItemStaticDivider,\n ConfigItemStaticHeader,\n ConfigItemStaticImage,\n ConfigItemStaticText,\n ConfigItemRoom,\n ConfigItemFunc,\n ConfigItemSelect,\n ConfigItemAutocomplete,\n ConfigItemSetState,\n ConfigItemAutocompleteSendTo,\n ConfigItemAccordion,\n ConfigItemDivider,\n ConfigItemHeader,\n ConfigItemCoordinates,\n ConfigItemCustom,\n ConfigItemDatePicker,\n ConfigItemDeviceManager,\n ConfigItemLanguage,\n ConfigItemPort,\n ConfigItemImageSendTo,\n ConfigItemSendTo,\n ConfigItemState,\n ConfigItemTextSendTo,\n ConfigItemSelectSendTo,\n ConfigItemTable,\n ConfigItemTimePicker,\n ConfigItemCertCollection,\n ConfigItemCRON,\n ConfigItemCertificateSelect,\n ConfigItemLicense,\n ConfigItemCertificates,\n ConfigItemCheckLicense,\n ConfigItemUUID,\n ConfigItemJsonEditor,\n ConfigItemInterface,\n ConfigItemImageUpload,\n ConfigItemInstanceSelect,\n ConfigItemFile,\n ConfigItemFileSelector,\n ConfigItemAny,\n BackEndCommandType,\n BackEndCommandGeneric,\n BackEndCommandNoOperation,\n BackEndCommandRefresh,\n BackEndCommandOpenLink,\n BackEndCommandMessage,\n BackEndCommand,\n} from './types';\n\nexport { JsonConfig, JsonConfigComponent, ConfigPanel, ConfigGeneric };\n"]}
package/build/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { ObjectBrowserCustomFilter, ObjectBrowserType } from '@iobroker/react-components';
2
+ import type { ObjectBrowserCustomFilter, ObjectBrowserType } from '@iobroker/adapter-react-v5';
3
3
 
4
4
  declare module '@mui/material/Button' {
5
5
  interface ButtonPropsColorOverrides {
@@ -805,11 +805,11 @@ export interface ConfigItemInterface extends ConfigItem {
805
805
 
806
806
  export interface ConfigItemImageUpload extends ConfigItem {
807
807
  type: 'image';
808
- /** name of file is structure name. In the below example `login-bg.png` is file name for `writeFile("myAdapter.INSTANCE", "login-bg.png")` */
808
+ /** name of a file is structure name. In the below example `login-bg.png` is file name for `writeFile("myAdapter.INSTANCE", "login-bg.png")` */
809
809
  filename?: string;
810
- /** html accept attribute, like `{ 'image/**': [], 'application/pdf': ['.pdf'] }`, default `{ 'image/*': [] }` */
810
+ /** HTML accept attribute, like `{ 'image/**': [], 'application/pdf': ['.pdf'] }`, default `{ 'image/*': [] }` */
811
811
  accept?: Record<string, string[]>;
812
- /** maximal size of file to upload */
812
+ /** maximal size of a file to upload */
813
813
  maxSize?: number;
814
814
  /** if true, the image will be saved as data-url in attribute, elsewise as binary in file storage */
815
815
  base64?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iobroker/json-config",
3
3
  "description": "This package contains the ioBroker JSON config UI components",
4
- "version": "7.2.5",
4
+ "version": "7.3.0",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
7
7
  "scripts": {
@@ -16,28 +16,20 @@
16
16
  "access": "public"
17
17
  },
18
18
  "dependencies": {
19
- "@iobroker/react-components": "7.2.5",
19
+ "@iobroker/adapter-react-v5": "7.3.0",
20
+ "@mui/x-date-pickers": "^7.22.0",
20
21
  "crypto-js": "^4.2.0",
21
22
  "react-ace": "^12.0.0",
22
- "react-color": "^2.19.3",
23
23
  "react-qr-code": "^2.0.15"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@craco/craco": "^7.1.0",
27
- "@iobroker/eslint-config": "^0.1.6",
28
- "@iobroker/types": "^7.0.0",
29
27
  "@types/crypto-js": "^4.2.2",
30
- "@types/react": "^18.3.11",
31
- "@types/react-color": "^3.0.12",
32
- "@types/react-dom": "^18.3.0",
33
- "react": "^18.3.1",
34
- "react-dom": "^18.3.1",
35
- "tsc-alias": "^1.8.10",
36
- "typescript": "^5.6.2"
28
+ "tsc-alias": "^1.8.10"
37
29
  },
38
30
  "files": [
39
31
  "build/",
40
32
  "LICENSE"
41
33
  ],
42
- "gitHead": "019ae81a748ee82f83bcceb2d8e7a1ab4ee3ee59"
34
+ "gitHead": "03429207817dd73c3271dabeabcafe71a0a595a7"
43
35
  }