From 988ae4a6fd949d3475ad142eb2f0b9b1b5744e68 Mon Sep 17 00:00:00 2001 From: Bluefox Date: Fri, 11 Oct 2024 14:40:29 +0300 Subject: [PATCH] Corrected text (#2761) https://github.com/ioBroker/ioBroker.admin/issues/2744 --- .github/workflows/test-and-release.yml | 4 +- DEVELOPER.md | 3 +- README.md | 2 +- package-lock.json | 259 +++++++++++++----- package.json | 6 +- .../LICENSE | 0 .../README.md | 10 +- .../craco-module-federation.js | 0 .../eslint.config.mjs | 0 .../modulefederation.admin.config.js | 2 +- .../package.json | 2 +- .../src/AdminConnection.tsx | 0 .../src/Components/404.tsx | 0 .../src/Components/ColorPicker.tsx | 0 .../src/Components/ComplexCron.tsx | 0 .../src/Components/CopyToClipboard.tsx | 0 .../src/Components/CustomModal.tsx | 0 .../src/Components/FileBrowser.tsx | 0 .../src/Components/FileViewer.tsx | 0 .../src/Components/Icon.tsx | 0 .../src/Components/IconPicker.tsx | 0 .../src/Components/IconSelector.tsx | 0 .../src/Components/Image.tsx | 0 .../src/Components/Loader.tsx | 0 .../src/Components/Loaders/MV.tsx | 0 .../src/Components/Loaders/PT.css | 0 .../src/Components/Loaders/PT.tsx | 0 .../src/Components/Loaders/Vendor.css | 0 .../src/Components/Loaders/Vendor.tsx | 0 .../src/Components/Logo.tsx | 0 .../src/Components/MDUtils.tsx | 0 .../src/Components/ObjectBrowser.tsx | 0 .../src/Components/Router.tsx | 0 .../src/Components/SaveCloseButtons.tsx | 0 .../src/Components/Schedule.tsx | 0 .../src/Components/SelectWithIcon.tsx | 0 .../src/Components/SimpleCron/cronText.tsx | 0 .../src/Components/SimpleCron/index.tsx | 0 .../src/Components/TabContainer.tsx | 0 .../src/Components/TabContent.tsx | 0 .../src/Components/TabHeader.tsx | 0 .../src/Components/TableResize.tsx | 0 .../src/Components/TextWithIcon.tsx | 0 .../src/Components/ToggleThemeMenu.tsx | 0 .../src/Components/TreeTable.tsx | 0 .../src/Components/UploadImage.tsx | 0 .../src/Components/Utils.tsx | 0 .../src/Components/loader.css | 0 .../src/Components/types.d.ts | 0 .../src/Components/withWidth.tsx | 0 .../src/Connection.tsx | 0 .../src/Dialogs/ComplexCron.tsx | 0 .../src/Dialogs/Confirm.tsx | 0 .../src/Dialogs/Cron.tsx | 0 .../src/Dialogs/Error.tsx | 0 .../src/Dialogs/Message.tsx | 0 .../src/Dialogs/SelectFile.tsx | 0 .../src/Dialogs/SelectID.tsx | 0 .../src/Dialogs/SimpleCron.tsx | 0 .../src/Dialogs/TextInput.tsx | 0 .../src/GenericApp.tsx | 0 .../src/LegacyConnection.tsx | 0 .../src/Prompt.tsx | 0 .../src/Theme.tsx | 0 .../src/assets/devices.json | 0 .../src/assets/devices/Alarm Systems.svg | 0 .../src/assets/devices/Amplifier.svg | 0 .../src/assets/devices/Awnings.svg | 0 .../src/assets/devices/Battery Status.svg | 0 .../src/assets/devices/Ceiling Spotlights.svg | 0 .../src/assets/devices/Chandelier.svg | 0 .../src/assets/devices/Climate.svg | 0 .../src/assets/devices/Coffee Makers.svg | 0 .../src/assets/devices/Cold Water.svg | 0 .../src/assets/devices/Computer.svg | 0 .../src/assets/devices/Consumption.svg | 0 .../src/assets/devices/Curtains.svg | 0 .../src/assets/devices/Dishwashers.svg | 0 .../src/assets/devices/Doors.svg | 0 .../src/assets/devices/Doorstep.svg | 0 .../src/assets/devices/Dryer.svg | 0 .../src/assets/devices/Fan.svg | 0 .../src/assets/devices/Floor Lamps.svg | 0 .../src/assets/devices/Garage Doors.svg | 0 .../src/assets/devices/Gates.svg | 0 .../src/assets/devices/Hairdryer.svg | 0 .../src/assets/devices/Handle.svg | 0 .../src/assets/devices/Hanging Lamps.svg | 0 .../src/assets/devices/Heater.svg | 0 .../src/assets/devices/Hoods.svg | 0 .../src/assets/devices/Hot Water.svg | 0 .../src/assets/devices/Humidity.svg | 0 .../src/assets/devices/Iron.svg | 0 .../src/assets/devices/Irrigation.svg | 0 .../src/assets/devices/Led Strip.svg | 0 .../src/assets/devices/Light.svg | 0 .../src/assets/devices/Lightings.svg | 0 .../src/assets/devices/Lock.svg | 0 .../src/assets/devices/Louvre.svg | 0 .../src/assets/devices/Mowing Machine.svg | 0 .../src/assets/devices/Music.svg | 0 .../src/assets/devices/Outdoor Blinds.svg | 0 .../src/assets/devices/People.svg | 0 .../src/assets/devices/Pool.svg | 0 .../src/assets/devices/Power Consumption.svg | 0 .../src/assets/devices/Printer.svg | 0 .../src/assets/devices/Pump.svg | 0 .../src/assets/devices/Receiver.svg | 0 .../src/assets/devices/Sconces.svg | 0 .../src/assets/devices/Security.svg | 0 .../src/assets/devices/Shading.svg | 0 .../src/assets/devices/Shutters.svg | 0 .../src/assets/devices/SmokeDetector.svg | 0 .../src/assets/devices/Sockets.svg | 0 .../src/assets/devices/Speaker.svg | 0 .../src/assets/devices/Stove.svg | 0 .../src/assets/devices/Table Lamps.svg | 0 .../assets/devices/Temperature Sensors.svg | 0 .../src/assets/devices/Tv.svg | 0 .../src/assets/devices/Vacuum Cleaner.svg | 0 .../src/assets/devices/Ventilation.svg | 0 .../src/assets/devices/Washing Machines.svg | 0 .../src/assets/devices/Water Consumption.svg | 0 .../src/assets/devices/Water Heater.svg | 0 .../src/assets/devices/Water.svg | 0 .../src/assets/devices/Weather.svg | 0 .../src/assets/devices/Window.svg | 0 .../src/assets/devices/list.json | 0 .../src/assets/devices/names.txt | 0 .../src/assets/devices/parseNames.js | 0 .../src/assets/lamp_ceiling.svg | 0 .../src/assets/lamp_table.svg | 0 .../src/assets/no_icon.svg | 0 .../src/assets/rooms.json | 0 .../src/assets/rooms/Anteroom.svg | 0 .../src/assets/rooms/Attic.svg | 0 .../src/assets/rooms/Balcony.svg | 0 .../src/assets/rooms/Barn.svg | 0 .../src/assets/rooms/Basement.svg | 0 .../src/assets/rooms/Bathroom.svg | 0 .../src/assets/rooms/Bedroom.svg | 0 .../src/assets/rooms/Boiler Room.svg | 0 .../src/assets/rooms/Carport.svg | 0 .../src/assets/rooms/Cellar.svg | 0 .../src/assets/rooms/Chamber.svg | 0 .../src/assets/rooms/Corridor.svg | 0 .../src/assets/rooms/Dining Area.svg | 0 .../src/assets/rooms/Dining Room.svg | 0 .../src/assets/rooms/Dining.svg | 0 .../src/assets/rooms/Dressing Room.svg | 0 .../src/assets/rooms/Driveway.svg | 0 .../src/assets/rooms/Entrance.svg | 0 .../src/assets/rooms/Equipment Room.svg | 0 .../src/assets/rooms/Front Yard.svg | 0 .../src/assets/rooms/Gallery.svg | 0 .../src/assets/rooms/Garage.svg | 0 .../src/assets/rooms/Garden.svg | 0 .../src/assets/rooms/Ground Floor.svg | 0 .../src/assets/rooms/Guest Bathroom.svg | 0 .../src/assets/rooms/Guest Room.svg | 0 .../src/assets/rooms/Gym.svg | 0 .../src/assets/rooms/Hall.svg | 0 .../src/assets/rooms/Home Theater.svg | 0 .../src/assets/rooms/Kitchen.svg | 0 .../src/assets/rooms/Laundry Room.svg | 0 .../src/assets/rooms/Living Area.svg | 0 .../src/assets/rooms/Living Room.svg | 0 .../src/assets/rooms/Locker Room.svg | 0 .../src/assets/rooms/Nursery.svg | 0 .../src/assets/rooms/Office.svg | 0 .../src/assets/rooms/Outdoors.svg | 0 .../src/assets/rooms/Playroom.svg | 0 .../src/assets/rooms/Pool.svg | 0 .../src/assets/rooms/Rear Wall.svg | 0 .../src/assets/rooms/Second Floor.svg | 0 .../src/assets/rooms/Shed.svg | 0 .../src/assets/rooms/Sleeping Area.svg | 0 .../src/assets/rooms/Stairway.svg | 0 .../src/assets/rooms/Stairwell.svg | 0 .../src/assets/rooms/Storeroom.svg | 0 .../src/assets/rooms/Summer House.svg | 0 .../src/assets/rooms/Swimming Pool.svg | 0 .../src/assets/rooms/Terrace.svg | 0 .../src/assets/rooms/Toilet.svg | 0 .../src/assets/rooms/Upstairs.svg | 0 .../src/assets/rooms/Wardrobe.svg | 0 .../src/assets/rooms/Washroom.svg | 0 .../src/assets/rooms/Wc.svg | 0 .../src/assets/rooms/Windscreen.svg | 0 .../src/assets/rooms/Workshop.svg | 0 .../src/assets/rooms/Workspace.svg | 0 .../src/assets/rooms/list.json | 0 .../src/assets/rooms/names.txt | 0 .../src/assets/rooms/parseNames.js | 0 .../src/dictionary.ts | 0 .../src/i18n.ts | 0 .../src/i18n/de.json | 0 .../src/i18n/en.json | 0 .../src/i18n/es.json | 0 .../src/i18n/fr.json | 0 .../src/i18n/it.json | 0 .../src/i18n/nl.json | 0 .../src/i18n/pl.json | 0 .../src/i18n/pt.json | 0 .../src/i18n/ru.json | 0 .../src/i18n/uk.json | 0 .../src/i18n/zh-cn.json | 0 .../src/icons/IconAdapter.tsx | 0 .../src/icons/IconAlias.tsx | 0 .../src/icons/IconChannel.tsx | 0 .../src/icons/IconClearFilter.tsx | 0 .../src/icons/IconClosed.tsx | 0 .../src/icons/IconCopy.tsx | 0 .../src/icons/IconDevice.tsx | 0 .../src/icons/IconDocument.tsx | 0 .../src/icons/IconDocumentReadOnly.tsx | 0 .../src/icons/IconExpert.tsx | 0 .../src/icons/IconFx.tsx | 0 .../src/icons/IconInstance.tsx | 0 .../src/icons/IconLogout.tsx | 0 .../src/icons/IconNoIcon.tsx | 0 .../src/icons/IconOpen.tsx | 0 .../src/icons/IconProps.tsx | 0 .../src/icons/IconState.tsx | 0 .../src/index.css | 0 .../src/index.ts | 0 .../src/types.d.ts | 0 .../tasks.js | 0 .../tasksExample.js | 0 .../test-gui/eslint.config.mjs | 0 .../test-gui/index.html | 0 .../test-gui/package-lock.json | 0 .../test-gui/package.json | 0 .../test-gui/public/manifest.json | 0 .../test-gui/src/App.tsx | 0 .../test-gui/src/i18n.ts | 0 .../test-gui/src/index.tsx | 0 .../test-gui/tsconfig.json | 0 .../test-gui/vite.config.ts | 0 .../test/testSchema.ts | 0 .../tsconfig.build.json | 0 .../tsconfig.json | 0 packages/admin/io-package.json | 26 -- packages/admin/package.json | 6 +- packages/admin/src-admin/craco.config.js | 2 +- .../src-admin/modulefederation.config.js | 2 +- packages/admin/src-admin/package.json | 6 +- packages/admin/src-admin/src/App.tsx | 2 +- .../src-admin/src/Workers/AdaptersWorker.tsx | 2 +- .../src-admin/src/Workers/GenericWorker.tsx | 2 +- .../src/Workers/HostAdapterWorker.tsx | 2 +- .../src-admin/src/Workers/HostsWorker.tsx | 2 +- .../src-admin/src/Workers/InstancesWorker.tsx | 2 +- .../src-admin/src/Workers/LogsWorker.tsx | 2 +- .../src-admin/src/Workers/ObjectsWorker.tsx | 2 +- .../Adapters/AdapterCategoryRow.tsx | 2 +- .../components/Adapters/AdapterGeneric.tsx | 2 +- .../Adapters/AdapterInstallDialog.tsx | 2 +- .../src/components/Adapters/AdapterTile.tsx | 2 +- .../src/components/Adapters/AdaptersList.tsx | 2 +- .../components/Adapters/AdaptersUpdater.tsx | 2 +- .../BaseSettings/BaseSettingsLog.tsx | 2 +- .../BaseSettings/BaseSettingsMultihost.tsx | 2 +- .../BaseSettings/BaseSettingsObjects.tsx | 2 +- .../BaseSettings/BaseSettingsPlugins.tsx | 2 +- .../BaseSettings/BaseSettingsStates.tsx | 2 +- .../BaseSettings/BaseSettingsSystem.tsx | 2 +- .../src-admin/src/components/Command.tsx | 2 +- .../src/components/CustomDragLayer.tsx | 2 +- .../src-admin/src/components/CustomModal.tsx | 2 +- .../src-admin/src/components/CustomPopper.tsx | 2 +- .../src/components/CustomSelectButton.tsx | 2 +- .../admin/src-admin/src/components/Drawer.tsx | 2 +- .../src-admin/src/components/DrawerItem.tsx | 2 +- .../src-admin/src/components/EasyModeCard.tsx | 2 +- .../admin/src-admin/src/components/Editor.tsx | 2 +- .../src/components/Enums/CategoryLabel.tsx | 2 +- .../components/Enums/DragObjectBrowser.tsx | 2 +- .../src/components/Enums/EnumBlock.tsx | 2 +- .../src/components/Enums/EnumDeleteDialog.tsx | 2 +- .../src/components/Enums/EnumEditDialog.tsx | 2 +- .../components/Enums/EnumTemplateDialog.tsx | 2 +- .../src/components/Enums/EnumsMain.tsx | 2 +- .../src-admin/src/components/FileBrowser.tsx | 2 +- .../src-admin/src/components/FileViewer.tsx | 2 +- .../src/components/HostSelectors.tsx | 2 +- .../src/components/Hosts/HostCard.tsx | 2 +- .../src/components/Hosts/HostEdit.tsx | 2 +- .../src/components/Hosts/HostGeneric.tsx | 2 +- .../src/components/Hosts/HostRow.tsx | 2 +- .../src/components/IOFields/Fields.tsx | 2 +- .../src/components/Instances/InstanceCard.tsx | 2 +- .../Instances/InstanceFilterDialog.tsx | 2 +- .../components/Instances/InstanceGeneric.tsx | 2 +- .../src/components/Instances/LinksDialog.tsx | 2 +- .../components/Intro/CameraIntroDialog.tsx | 2 +- .../components/Intro/EditIntroLinkDialog.tsx | 2 +- .../src/components/Intro/IntroCard.tsx | 2 +- .../src/components/Intro/IntroCardCamera.tsx | 2 +- .../src-admin/src/components/MDUtils.tsx | 2 +- .../src-admin/src/components/Markdown.tsx | 4 +- .../src/components/NotificationMessage.tsx | 2 +- .../Object/ObjectBrowserEditObject.tsx | 2 +- .../Object/ObjectBrowserEditRole.tsx | 2 +- .../components/Object/ObjectBrowserValue.tsx | 2 +- .../src/components/Object/ObjectChart.tsx | 2 +- .../components/Object/ObjectCustomEditor.tsx | 2 +- .../components/Object/ObjectHistoryData.tsx | 2 +- .../src/components/ObjectBrowser.tsx | 2 +- .../src/components/Users/GroupBlock.tsx | 2 +- .../components/Users/GroupDeleteDialog.tsx | 2 +- .../src/components/Users/GroupEditDialog.tsx | 2 +- .../src/components/Users/UserBlock.tsx | 2 +- .../src/components/Users/UserDeleteDialog.tsx | 2 +- .../src/components/Users/UserEditDialog.tsx | 2 +- .../src/components/Users/UsersList.tsx | 2 +- .../components/Wizard/WizardAdaptersTab.tsx | 2 +- .../components/Wizard/WizardAuthSSLTab.tsx | 2 +- .../components/Wizard/WizardLicenseTab.tsx | 2 +- .../components/Wizard/WizardPasswordTab.tsx | 2 +- .../Wizard/WizardPortForwarding.tsx | 2 +- .../components/Wizard/WizardSettingsTab.tsx | 2 +- .../src/dialogs/AdapterDeletionDialog.tsx | 2 +- .../src/dialogs/AdapterUpdateDialog.tsx | 2 +- .../src/dialogs/AdaptersUpdaterDialog.tsx | 2 +- .../src/dialogs/AddInstanceDialog.tsx | 10 +- .../src-admin/src/dialogs/AdminUpdater.tsx | 2 +- .../src/dialogs/AutoUpgradeConfigDialog.tsx | 2 +- .../src/dialogs/BaseSettingsDialog.tsx | 2 +- .../src-admin/src/dialogs/CommandDialog.tsx | 2 +- .../src-admin/src/dialogs/DiscoveryDialog.tsx | 2 +- .../src/dialogs/ExpertModeDialog.tsx | 2 +- .../src/dialogs/FileEditOfAccessControl.tsx | 2 +- .../src/dialogs/GenerateInputsModal.tsx | 2 +- .../src/dialogs/GitHubInstallDialog.tsx | 2 +- .../src/dialogs/HostWarningDialog.tsx | 2 +- .../src/dialogs/JsControllerDialog.tsx | 2 +- .../src/dialogs/JsControllerUpdater.tsx | 2 +- .../src-admin/src/dialogs/LicenseDialog.tsx | 2 +- .../src-admin/src/dialogs/NewsAdminDialog.tsx | 2 +- .../src/dialogs/NodeUpdateDialog.tsx | 2 +- .../src/dialogs/NotificationsDialog.tsx | 2 +- .../src/dialogs/ObjectAddNewObject.tsx | 2 +- .../src/dialogs/ObjectAliasEditor.tsx | 4 +- .../src/dialogs/ObjectCustomDialog.tsx | 2 +- .../src/dialogs/ObjectEditDialog.tsx | 2 +- .../src/dialogs/ObjectEditOfAccessControl.tsx | 2 +- .../src/dialogs/ObjectViewFileDialog.tsx | 2 +- .../src-admin/src/dialogs/RatingDialog.tsx | 2 +- .../dialogs/SlowConnectionWarningDialog.tsx | 2 +- .../src/dialogs/SystemSettingsDialog.tsx | 2 +- .../dialogs/SystemSettingsTabs/ACLDialog.tsx | 2 +- .../BaseSystemSettingsDialog.tsx | 2 +- .../SystemSettingsTabs/CertificatesDialog.tsx | 2 +- .../SystemSettingsTabs/LicensesDialog.tsx | 2 +- .../SystemSettingsTabs/MainSettingsDialog.tsx | 2 +- .../SystemSettingsTabs/RepositoriesDialog.tsx | 2 +- .../dialogs/SystemSettingsTabs/SSLDialog.tsx | 2 +- .../SystemSettingsTabs/StatisticsDialog.tsx | 2 +- .../src-admin/src/dialogs/WizardDialog.tsx | 2 +- .../src-admin/src/helpers/AdminUtils.tsx | 2 +- packages/admin/src-admin/src/login/Login.tsx | 2 +- .../admin/src-admin/src/tabs/Adapters.tsx | 48 +++- packages/admin/src-admin/src/tabs/Config.tsx | 2 +- .../admin/src-admin/src/tabs/CustomTab.tsx | 2 +- .../admin/src-admin/src/tabs/EasyMode.tsx | 2 +- packages/admin/src-admin/src/tabs/Enums.tsx | 2 +- packages/admin/src-admin/src/tabs/Files.tsx | 2 +- packages/admin/src-admin/src/tabs/Hosts.tsx | 2 +- .../admin/src-admin/src/tabs/Instances.tsx | 2 +- packages/admin/src-admin/src/tabs/Intro.tsx | 2 +- packages/admin/src-admin/src/tabs/Logs.tsx | 2 +- packages/admin/src-admin/src/tabs/Objects.tsx | 2 +- packages/admin/src-admin/src/tabs/Users.tsx | 2 +- packages/admin/src-admin/src/types.d.ts | 2 +- packages/admin/tasks.js | 18 +- packages/dm-gui-components/package.json | 2 +- .../dm-gui-components/src/Communication.tsx | 2 +- packages/dm-gui-components/src/DeviceCard.tsx | 2 +- .../dm-gui-components/src/DeviceControl.tsx | 2 +- .../src/DeviceImageUpload.tsx | 2 +- packages/dm-gui-components/src/DeviceList.tsx | 2 +- packages/dm-gui-components/src/JsonConfig.tsx | 2 +- packages/dm-gui-components/src/Utils.tsx | 2 +- packages/jsonConfig/package.json | 2 +- packages/jsonConfig/src/JsonConfig.tsx | 2 +- .../src/JsonConfigComponent/ChipInput.tsx | 2 +- .../JsonConfigComponent/ConfigAccordion.tsx | 2 +- .../src/JsonConfigComponent/ConfigAlive.tsx | 2 +- .../ConfigAutocomplete.tsx | 2 +- .../ConfigAutocompleteSendTo.tsx | 2 +- .../src/JsonConfigComponent/ConfigCRON.tsx | 2 +- .../ConfigCertCollection.tsx | 2 +- .../ConfigCertificateSelect.tsx | 2 +- .../ConfigCertificates.tsx | 2 +- .../ConfigCheckLicense.tsx | 2 +- .../JsonConfigComponent/ConfigCheckbox.tsx | 2 +- .../src/JsonConfigComponent/ConfigColor.tsx | 2 +- .../JsonConfigComponent/ConfigCoordinates.tsx | 2 +- .../src/JsonConfigComponent/ConfigCustom.tsx | 2 +- .../src/JsonConfigComponent/ConfigFile.tsx | 2 +- .../ConfigFileSelector.tsx | 2 +- .../src/JsonConfigComponent/ConfigFunc.tsx | 2 +- .../src/JsonConfigComponent/ConfigGeneric.tsx | 2 +- .../src/JsonConfigComponent/ConfigIP.tsx | 2 +- .../JsonConfigComponent/ConfigImageUpload.tsx | 2 +- .../ConfigInstanceSelect.tsx | 2 +- .../JsonConfigComponent/ConfigJsonEditor.tsx | 2 +- .../JsonConfigComponent/ConfigLanguage.tsx | 2 +- .../src/JsonConfigComponent/ConfigLicense.tsx | 2 +- .../src/JsonConfigComponent/ConfigNumber.tsx | 2 +- .../JsonConfigComponent/ConfigObjectId.tsx | 2 +- .../src/JsonConfigComponent/ConfigPanel.tsx | 2 +- .../JsonConfigComponent/ConfigPassword.tsx | 2 +- .../src/JsonConfigComponent/ConfigPattern.tsx | 2 +- .../src/JsonConfigComponent/ConfigPort.tsx | 2 +- .../src/JsonConfigComponent/ConfigRoom.tsx | 2 +- .../src/JsonConfigComponent/ConfigSelect.tsx | 2 +- .../ConfigSelectSendTo.tsx | 2 +- .../src/JsonConfigComponent/ConfigSendto.tsx | 2 +- .../JsonConfigComponent/ConfigSetState.tsx | 2 +- .../src/JsonConfigComponent/ConfigState.tsx | 2 +- .../ConfigStaticDivider.tsx | 2 +- .../ConfigStaticHeader.tsx | 2 +- .../JsonConfigComponent/ConfigStaticText.tsx | 2 +- .../src/JsonConfigComponent/ConfigTable.tsx | 2 +- .../src/JsonConfigComponent/ConfigText.tsx | 2 +- .../JsonConfigComponent/ConfigTextSendTo.tsx | 2 +- .../src/JsonConfigComponent/ConfigUUID.tsx | 2 +- .../src/JsonConfigComponent/ConfigUser.tsx | 2 +- .../src/JsonConfigComponent/index.tsx | 2 +- .../wrapper/Components/CustomModal.tsx | 2 +- packages/jsonConfig/src/Utils.jsx | 2 +- packages/jsonConfig/src/types.d.ts | 2 +- tsconfig.json | 2 +- 435 files changed, 454 insertions(+), 326 deletions(-) rename packages/{react-components => adapter-react-v5}/LICENSE (100%) rename packages/{react-components => adapter-react-v5}/README.md (99%) rename packages/{react-components => adapter-react-v5}/craco-module-federation.js (100%) rename packages/{react-components => adapter-react-v5}/eslint.config.mjs (100%) rename packages/{react-components => adapter-react-v5}/modulefederation.admin.config.js (94%) rename packages/{react-components => adapter-react-v5}/package.json (98%) rename packages/{react-components => adapter-react-v5}/src/AdminConnection.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/404.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/ColorPicker.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/ComplexCron.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/CopyToClipboard.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/CustomModal.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/FileBrowser.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/FileViewer.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Icon.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/IconPicker.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/IconSelector.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Image.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Loader.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Loaders/MV.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Loaders/PT.css (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Loaders/PT.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Loaders/Vendor.css (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Loaders/Vendor.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Logo.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/MDUtils.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/ObjectBrowser.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Router.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/SaveCloseButtons.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Schedule.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/SelectWithIcon.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/SimpleCron/cronText.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/SimpleCron/index.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/TabContainer.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/TabContent.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/TabHeader.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/TableResize.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/TextWithIcon.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/ToggleThemeMenu.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/TreeTable.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/UploadImage.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/Utils.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Components/loader.css (100%) rename packages/{react-components => adapter-react-v5}/src/Components/types.d.ts (100%) rename packages/{react-components => adapter-react-v5}/src/Components/withWidth.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Connection.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Dialogs/ComplexCron.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Dialogs/Confirm.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Dialogs/Cron.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Dialogs/Error.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Dialogs/Message.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Dialogs/SelectFile.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Dialogs/SelectID.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Dialogs/SimpleCron.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Dialogs/TextInput.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/GenericApp.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/LegacyConnection.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Prompt.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/Theme.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices.json (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Alarm Systems.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Amplifier.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Awnings.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Battery Status.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Ceiling Spotlights.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Chandelier.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Climate.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Coffee Makers.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Cold Water.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Computer.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Consumption.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Curtains.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Dishwashers.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Doors.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Doorstep.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Dryer.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Fan.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Floor Lamps.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Garage Doors.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Gates.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Hairdryer.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Handle.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Hanging Lamps.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Heater.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Hoods.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Hot Water.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Humidity.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Iron.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Irrigation.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Led Strip.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Light.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Lightings.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Lock.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Louvre.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Mowing Machine.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Music.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Outdoor Blinds.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/People.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Pool.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Power Consumption.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Printer.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Pump.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Receiver.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Sconces.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Security.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Shading.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Shutters.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/SmokeDetector.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Sockets.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Speaker.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Stove.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Table Lamps.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Temperature Sensors.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Tv.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Vacuum Cleaner.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Ventilation.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Washing Machines.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Water Consumption.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Water Heater.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Water.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Weather.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/Window.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/list.json (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/names.txt (100%) rename packages/{react-components => adapter-react-v5}/src/assets/devices/parseNames.js (100%) rename packages/{react-components => adapter-react-v5}/src/assets/lamp_ceiling.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/lamp_table.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/no_icon.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms.json (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Anteroom.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Attic.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Balcony.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Barn.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Basement.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Bathroom.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Bedroom.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Boiler Room.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Carport.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Cellar.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Chamber.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Corridor.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Dining Area.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Dining Room.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Dining.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Dressing Room.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Driveway.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Entrance.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Equipment Room.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Front Yard.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Gallery.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Garage.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Garden.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Ground Floor.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Guest Bathroom.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Guest Room.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Gym.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Hall.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Home Theater.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Kitchen.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Laundry Room.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Living Area.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Living Room.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Locker Room.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Nursery.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Office.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Outdoors.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Playroom.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Pool.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Rear Wall.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Second Floor.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Shed.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Sleeping Area.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Stairway.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Stairwell.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Storeroom.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Summer House.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Swimming Pool.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Terrace.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Toilet.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Upstairs.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Wardrobe.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Washroom.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Wc.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Windscreen.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Workshop.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/Workspace.svg (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/list.json (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/names.txt (100%) rename packages/{react-components => adapter-react-v5}/src/assets/rooms/parseNames.js (100%) rename packages/{react-components => adapter-react-v5}/src/dictionary.ts (100%) rename packages/{react-components => adapter-react-v5}/src/i18n.ts (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/de.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/en.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/es.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/fr.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/it.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/nl.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/pl.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/pt.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/ru.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/uk.json (100%) rename packages/{react-components => adapter-react-v5}/src/i18n/zh-cn.json (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconAdapter.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconAlias.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconChannel.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconClearFilter.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconClosed.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconCopy.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconDevice.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconDocument.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconDocumentReadOnly.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconExpert.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconFx.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconInstance.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconLogout.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconNoIcon.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconOpen.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconProps.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/icons/IconState.tsx (100%) rename packages/{react-components => adapter-react-v5}/src/index.css (100%) rename packages/{react-components => adapter-react-v5}/src/index.ts (100%) rename packages/{react-components => adapter-react-v5}/src/types.d.ts (100%) rename packages/{react-components => adapter-react-v5}/tasks.js (100%) rename packages/{react-components => adapter-react-v5}/tasksExample.js (100%) rename packages/{react-components => adapter-react-v5}/test-gui/eslint.config.mjs (100%) rename packages/{react-components => adapter-react-v5}/test-gui/index.html (100%) rename packages/{react-components => adapter-react-v5}/test-gui/package-lock.json (100%) rename packages/{react-components => adapter-react-v5}/test-gui/package.json (100%) rename packages/{react-components => adapter-react-v5}/test-gui/public/manifest.json (100%) rename packages/{react-components => adapter-react-v5}/test-gui/src/App.tsx (100%) rename packages/{react-components => adapter-react-v5}/test-gui/src/i18n.ts (100%) rename packages/{react-components => adapter-react-v5}/test-gui/src/index.tsx (100%) rename packages/{react-components => adapter-react-v5}/test-gui/tsconfig.json (100%) rename packages/{react-components => adapter-react-v5}/test-gui/vite.config.ts (100%) rename packages/{react-components => adapter-react-v5}/test/testSchema.ts (100%) rename packages/{react-components => adapter-react-v5}/tsconfig.build.json (100%) rename packages/{react-components => adapter-react-v5}/tsconfig.json (100%) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 7bddc5e42..31a19925d 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -48,8 +48,8 @@ jobs: - name: 'Build backend' run: npm run build:backend -w packages/admin - - name: 'Build React-Components' - run: npm run build -w packages/react-components + - name: 'Build adapter-react-v5' + run: npm run build -w packages/adapter-react-v5 - name: 'Build JsonConfig' run: npm run build -w packages/jsonConfig diff --git a/DEVELOPER.md b/DEVELOPER.md index 16ab6ade6..f418ac8c0 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -14,8 +14,9 @@ or step-by-step ```bash npm i -f +npm i -w packages/adapter-react-v5 -f +npm i -w packages/jsonConfig -f npm i -w packages/dm-gui-components -f -npm i -f -w packages/jsonConfig npm i -w packages/admin -f ``` diff --git a/README.md b/README.md index 8ee16ae81..1588ec2dd 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ The icons may not be reused in other projects without the proper flaticon licens -### 7.2.5 (2024-10-10) +### **WORK IN PROGRESS** - (@GermanBluefox) Trying to fix a GUI build process - (@GermanBluefox) Changed license icon diff --git a/package-lock.json b/package-lock.json index 929bd39e7..27e0e6f88 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,9 +9,9 @@ "packages/*" ], "dependencies": { + "@iobroker/adapter-react-v5": "file:packages/adapter-react-v5", "@iobroker/dm-gui-components": "file:packages/dm-gui-components", "@iobroker/json-config": "file:packages/jsonConfig", - "@iobroker/react-components": "file:packages/react-components", "iobroker.admin": "file:packages/admin" }, "devDependencies": { @@ -3995,12 +3995,15 @@ "@iobroker/types": "^6.0.11" } }, + "node_modules/@iobroker/adapter-react-v5": { + "resolved": "packages/adapter-react-v5", + "link": true + }, "node_modules/@iobroker/admin-component-easy-access": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@iobroker/admin-component-easy-access/-/admin-component-easy-access-1.0.1.tgz", - "integrity": "sha512-PruS06ed3zoWokKE3Wi1tdohLqWVXFig0G7ED4QDDkf9QuK0nDliLKVnCpYQLQUhabQ0L7Il12Ji46mjwarCpQ==", - "dev": true, - "license": "MIT" + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@iobroker/admin-component-easy-access/-/admin-component-easy-access-1.0.8.tgz", + "integrity": "sha512-JSb+7WIRhoY7CGeCJ3UsnVU/+4ZgnGy7e7r9kgI0mR93Jji42+WpwQMwdO446QQhCsloIIM+xxEOixZll/SFNQ==", + "dev": true }, "node_modules/@iobroker/build-tools": { "version": "2.0.6", @@ -4338,10 +4341,6 @@ "mocha": "^10.7.3" } }, - "node_modules/@iobroker/react-components": { - "resolved": "packages/react-components", - "link": true - }, "node_modules/@iobroker/socket-classes": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/@iobroker/socket-classes/-/socket-classes-1.6.1.tgz", @@ -4417,9 +4416,9 @@ "license": "MIT" }, "node_modules/@iobroker/ws-server": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@iobroker/ws-server/-/ws-server-3.0.3.tgz", - "integrity": "sha512-MX+zNjl2YGMq4DrF8Kv9tIXXQr1sWWLgMvEXFJriPHQgR4gCevPcLALjU65CRbE/ITw/BzJiHDJJBvZKDxL3Mg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@iobroker/ws-server/-/ws-server-4.0.1.tgz", + "integrity": "sha512-o9DPX0jM9/KEgXKzXMjY2+D13hBNz1SVTT3RXjcyenHRAY6DNS/hNVEhxSBl29Ed/K7s/GgbnbKlPdzeGQVZyQ==", "license": "MIT", "dependencies": { "ws": "^8.18.0" @@ -42132,9 +42131,9 @@ } }, "node_modules/puppeteer": { - "version": "23.5.2", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.5.2.tgz", - "integrity": "sha512-7OOGEIoCjGP9lQ6QHvRSBTO3VRDPvu+YGl6rLCKOfYNMp1Lqc1U+s3lS1JdyR+jee1pZ55sxf+TEKsmqOopO1A==", + "version": "23.5.3", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.5.3.tgz", + "integrity": "sha512-FghmfBsr/UUpe48OiCg1gV3W4vVfQJKjQehbF07SjnQvEpWcvPTah1nykfGWdOQQ1ydJPIXcajzWN7fliCU3zw==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", @@ -42143,7 +42142,7 @@ "chromium-bidi": "0.8.0", "cosmiconfig": "^9.0.0", "devtools-protocol": "0.0.1342118", - "puppeteer-core": "23.5.2", + "puppeteer-core": "23.5.3", "typed-query-selector": "^2.12.0" }, "bin": { @@ -42154,9 +42153,9 @@ } }, "node_modules/puppeteer-core": { - "version": "23.5.2", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.5.2.tgz", - "integrity": "sha512-UwPAX29EID8lJmxeL7JT3Gz35D1BHn5o9ZXpBLoR24W7gtUg1dLx7OUPsUTR5Tlxf+1Yeqw9W3qP4uqWThqXgg==", + "version": "23.5.3", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.5.3.tgz", + "integrity": "sha512-V58MZD/B3CwkYsqSEQlHKbavMJptF04fzhMdUpiCRCmUVhwZNwSGEPhaiZ1f8I3ABQUirg3VNhXVB6Z1ubHXtQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -52439,6 +52438,81 @@ "url": "https://github.com/sponsors/wooorm" } }, + "packages/adapter-react-v5": { + "name": "@iobroker/adapter-react-v5", + "version": "7.2.5", + "license": "MIT", + "dependencies": { + "@iobroker/js-controller-common": "^6.0.11", + "@iobroker/js-controller-common-db": "^6.0.11", + "@iobroker/socket-client": "^3.1.1", + "@iobroker/types": "^6.0.11", + "@mui/icons-material": "^6.1.3", + "@mui/material": "^6.1.3", + "@mui/x-date-pickers": "^7.19.0", + "@sentry/browser": "^8.33.1", + "cronstrue": "^2.50.0", + "react-color": "^2.19.3", + "react-colorful": "^5.6.1", + "react-cropper": "^2.3.3", + "react-dropzone": "^14.2.9", + "react-icons": "^5.3.0", + "react-inlinesvg": "^4.1.3" + }, + "devDependencies": { + "@babel/core": "^7.25.7", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-transform-runtime": "^7.25.7", + "@babel/preset-env": "^7.25.7", + "@babel/preset-flow": "^7.25.7", + "@babel/preset-react": "^7.25.7", + "@iobroker/eslint-config": "^0.1.6", + "@types/node": "^22.7.5", + "@types/react": "^18.3.11", + "@types/react-color": "^3.0.12", + "ajv": "^8.17.1", + "ts-node": "^10.9.2", + "typescript": "^5.6.3" + } + }, + "packages/adapter-react-v5/node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/adapter-react-v5/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "packages/adapter-react-v5/node_modules/typescript": { + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "packages/admin": { "name": "iobroker.admin", "version": "7.2.5", @@ -52449,7 +52523,7 @@ "@iobroker/socket-classes": "^1.6.1", "@iobroker/webserver": "^1.0.6", "@iobroker/ws": "^2.0.0", - "@iobroker/ws-server": "3.0.3", + "@iobroker/ws-server": "4.0.1", "ajv": "^8.17.1", "archiver": "^7.0.1", "axios": "^1.7.7", @@ -52490,10 +52564,10 @@ "colorette": "^2.0.20", "less": "^4.2.0", "mocha": "^10.7.3", - "puppeteer": "^23.5.1", + "puppeteer": "^23.5.3", "sinon-chai": "^3.7.0", "src-rx": "file:src-admin", - "typescript": "^5.6.2" + "typescript": "^5.6.3" }, "engines": { "node": ">=16.0.0" @@ -52898,6 +52972,16 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "packages/admin/node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, "packages/admin/node_modules/buffer": { "version": "6.0.3", "dev": true, @@ -52921,6 +53005,36 @@ "ieee754": "^1.2.1" } }, + "packages/admin/node_modules/chai": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.1.tgz", + "integrity": "sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^2.0.1", + "check-error": "^2.1.1", + "deep-eql": "^5.0.1", + "loupe": "^3.1.0", + "pathval": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "packages/admin/node_modules/chai-as-promised": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-8.0.0.tgz", + "integrity": "sha512-sMsGXTrS3FunP/wbqh/KxM8Kj/aLPXQGkNtvE5wPfSToq8wkkvBpTZo1LIiEVmC4BwkKpag+l5h/20lBMk6nUg==", + "dev": true, + "license": "WTFPL", + "dependencies": { + "check-error": "^2.0.0" + }, + "peerDependencies": { + "chai": ">= 2.1.2 < 6" + } + }, "packages/admin/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -52939,6 +53053,16 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "packages/admin/node_modules/check-error": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz", + "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + } + }, "packages/admin/node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -52961,6 +53085,16 @@ "license": "MIT", "peer": true }, + "packages/admin/node_modules/deep-eql": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", + "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "packages/admin/node_modules/doctrine": { "version": "3.0.0", "dev": true, @@ -53244,6 +53378,23 @@ "node": ">=8" } }, + "packages/admin/node_modules/loupe": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.2.tgz", + "integrity": "sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==", + "dev": true, + "license": "MIT" + }, + "packages/admin/node_modules/pathval": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz", + "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.16" + } + }, "packages/admin/node_modules/rimraf": { "version": "3.0.2", "dev": true, @@ -53259,6 +53410,17 @@ "url": "https://github.com/sponsors/isaacs" } }, + "packages/admin/node_modules/sinon-chai": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-4.0.0.tgz", + "integrity": "sha512-cWqO7O2I4XfJDWyWElAQ9D/dtdh5Mo0RHndsfiiYyjWnlPzBJdIvjCVURO4EjyYaC3BjV+ISNXCfTXPXTEIEWA==", + "dev": true, + "license": "(BSD-2-Clause OR WTFPL)", + "peerDependencies": { + "chai": "^5.0.0", + "sinon": ">=4.0.0" + } + }, "packages/admin/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -53301,12 +53463,12 @@ }, "packages/admin/src-admin": { "name": "src-rx", - "version": "7.2.4", + "version": "7.2.5", "dev": true, "dependencies": { + "@iobroker/adapter-react-v5": "file:../../adapter-react-v5", "@iobroker/dm-gui-components": "file:../../dm-gui-components", "@iobroker/json-config": "file:../../jsonConfig", - "@iobroker/react-components": "file:../../react-components", "http-proxy-middleware": "^3.0.2" }, "devDependencies": { @@ -53318,7 +53480,7 @@ "@fnando/sparkline": "^0.3.10", "@foxriver76/iob-component-lib": "^0.1.6", "@honkhonk/vite-plugin-svgr": "^1.1.0", - "@iobroker/admin-component-easy-access": "^1.0.1", + "@iobroker/admin-component-easy-access": "^1.0.8", "@iobroker/dm-utils": "^0.5.0", "@iobroker/eslint-config": "^0.1.6", "@iobroker/js-controller-common-db": "^7.0.0", @@ -53388,8 +53550,8 @@ "version": "7.2.5", "license": "MIT", "dependencies": { - "@iobroker/json-config": "file:../jsonConfig", - "@iobroker/react-components": "file:../react-components" + "@iobroker/adapter-react-v5": "file:../adapter-react-v5", + "@iobroker/json-config": "file:../jsonConfig" }, "devDependencies": { "@craco/craco": "^7.1.0", @@ -53431,7 +53593,7 @@ "name": "@iobroker/json-config", "version": "7.2.5", "dependencies": { - "@iobroker/react-components": "file:../react-components", + "@iobroker/adapter-react-v5": "file:../adapter-react-v5", "crypto-js": "^4.2.0", "react-ace": "^12.0.0", "react-color": "^2.19.3", @@ -53478,6 +53640,7 @@ "packages/react-components": { "name": "@iobroker/react-components", "version": "7.2.5", + "extraneous": true, "license": "MIT", "dependencies": { "@iobroker/js-controller-common": "^6.0.11", @@ -53511,44 +53674,6 @@ "ts-node": "^10.9.2", "typescript": "^5.6.3" } - }, - "packages/react-components/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "packages/react-components/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "license": "MIT" - }, - "packages/react-components/node_modules/typescript": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } } } } diff --git a/package.json b/package.json index 6c3ee22b7..859ed62ef 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dependencies": { "@iobroker/dm-gui-components": "file:packages/dm-gui-components", "@iobroker/json-config": "file:packages/jsonConfig", - "@iobroker/react-components": "file:packages/react-components", + "@iobroker/adapter-react-v5": "file:packages/adapter-react-v5", "iobroker.admin": "file:packages/admin" }, "devDependencies": { @@ -28,7 +28,7 @@ "scripts": { "build": "npm run clean && lerna run build", "clean": "lerna run clean", - "install-monorepo": "npm i && npm i -w packages/react-components && npm i -w packages/dm-gui-components && npm i -w packages/jsonConfig && npm i -w packages/admin", + "install-monorepo": "npm i && npm i -w packages/adapter-react-v5 && npm i -w packages/dm-gui-components && npm i -w packages/jsonConfig && npm i -w packages/admin", "npm": "npm run install-monorepo", "start": "npm run start -w packages/admin", "release": "release-script -y --noPush --no-update-lockfile", @@ -37,6 +37,6 @@ "release-major": "release-script major --yes --no-update-lockfile --publishAll", "prettier": "cd packages/admin && npm run prettier && cd src-admin && npm run prettier && cd ../../dm-gui-components && npm run prettier && cd ../jsonConfig && npm run prettier", "lint": "cd packages/admin && npm run lint-backend && cd src-admin && npm run lint && cd ../../dm-gui-components && npm run lint && cd ../jsonConfig && npm run lint", - "update-packages": "ncu --upgrade && cd packages/admin && ncu --upgrade && cd src-admin && ncu --upgrade && cd ../../dm-gui-components && ncu --upgrade && cd ../jsonConfig && ncu --upgrade" + "update-packages": "ncu --upgrade && cd packages/adapter-react-v5 && ncu --upgrade && cd packages/admin && ncu --upgrade && cd src-admin && ncu --upgrade && cd ../../dm-gui-components && ncu --upgrade && cd ../jsonConfig && ncu --upgrade" } } diff --git a/packages/react-components/LICENSE b/packages/adapter-react-v5/LICENSE similarity index 100% rename from packages/react-components/LICENSE rename to packages/adapter-react-v5/LICENSE diff --git a/packages/react-components/README.md b/packages/adapter-react-v5/README.md similarity index 99% rename from packages/react-components/README.md rename to packages/adapter-react-v5/README.md index 0b2a8cb44..c9416b60e 100644 --- a/packages/react-components/README.md +++ b/packages/adapter-react-v5/README.md @@ -13,7 +13,7 @@ If you want to create the configuration page with ReactJS: - Change `name` from `src` to `ADAPTERNAME-admin` (Of course replace `ADAPTERNAME` with yours) - Add to devDependencies: ```json - "@iobroker/react-components": "^7.2.4", + "@iobroker/adapter-react-v5": "^7.2.5", ``` Versions can be higher. So your `src/package.json` should look like: @@ -24,7 +24,7 @@ If you want to create the configuration page with ReactJS: "version": "0.1.0", "private": true, "dependencies": { - "@iobroker/react-components": "^7.2.4", + "@iobroker/adapter-react-v5": "^7.2.5", "@iobroker/build-tools": "^1.0.0", "@iobroker/eslint-config": "^0.1.2", "@mui/material": "^6.0.2", @@ -52,7 +52,7 @@ If you want to create the configuration page with ReactJS: ``` 5. Call in `src`: `npm install` -6. Copy `tasks.js` into `src`: `cp node_modules/@iobroker/react-components/tasks.js tasks.js` +6. Copy `tasks.js` into `src`: `cp node_modules/@iobroker/adapter-react-v5/tasks.js tasks.js` 7. Add scripts to your `package.json` `scripts` section: ```json @@ -227,7 +227,7 @@ Usage: ```jsx import React from 'react'; -import { I18n, Confirm as ConfirmDialog } from '@iobroker/react-components'; +import { I18n, Confirm as ConfirmDialog } from '@iobroker/adapter-react-v5'; class ExportImportDialog extends React.Component { constructor(props) { @@ -296,7 +296,7 @@ renderMessage() { ![Logo](img/selectID.png) ```jsx -import { SelectID as DialogSelectID } from '@iobroker/react-components'; +import { SelectID as DialogSelectID } from '@iobroker/adapter-react-v5'; class MyComponent extends Component { constructor(props) { diff --git a/packages/react-components/craco-module-federation.js b/packages/adapter-react-v5/craco-module-federation.js similarity index 100% rename from packages/react-components/craco-module-federation.js rename to packages/adapter-react-v5/craco-module-federation.js diff --git a/packages/react-components/eslint.config.mjs b/packages/adapter-react-v5/eslint.config.mjs similarity index 100% rename from packages/react-components/eslint.config.mjs rename to packages/adapter-react-v5/eslint.config.mjs diff --git a/packages/react-components/modulefederation.admin.config.js b/packages/adapter-react-v5/modulefederation.admin.config.js similarity index 94% rename from packages/react-components/modulefederation.admin.config.js rename to packages/adapter-react-v5/modulefederation.admin.config.js index 2fd947e6d..db8edf106 100644 --- a/packages/react-components/modulefederation.admin.config.js +++ b/packages/adapter-react-v5/modulefederation.admin.config.js @@ -12,7 +12,7 @@ function makeShared(pkgs) { // Admin shares these modules for all components module.exports = { shared: makeShared([ - '@iobroker/react-components', + '@iobroker/adapter-react-v5', '@iobroker/json-config', '@iobroker/dm-gui-components', '@mui/icons-material', diff --git a/packages/react-components/package.json b/packages/adapter-react-v5/package.json similarity index 98% rename from packages/react-components/package.json rename to packages/adapter-react-v5/package.json index 4a495c902..4cf3b008a 100644 --- a/packages/react-components/package.json +++ b/packages/adapter-react-v5/package.json @@ -1,5 +1,5 @@ { - "name": "@iobroker/react-components", + "name": "@iobroker/adapter-react-v5", "version": "7.2.5", "description": "React components to develop ioBroker interfaces with react.", "author": { diff --git a/packages/react-components/src/AdminConnection.tsx b/packages/adapter-react-v5/src/AdminConnection.tsx similarity index 100% rename from packages/react-components/src/AdminConnection.tsx rename to packages/adapter-react-v5/src/AdminConnection.tsx diff --git a/packages/react-components/src/Components/404.tsx b/packages/adapter-react-v5/src/Components/404.tsx similarity index 100% rename from packages/react-components/src/Components/404.tsx rename to packages/adapter-react-v5/src/Components/404.tsx diff --git a/packages/react-components/src/Components/ColorPicker.tsx b/packages/adapter-react-v5/src/Components/ColorPicker.tsx similarity index 100% rename from packages/react-components/src/Components/ColorPicker.tsx rename to packages/adapter-react-v5/src/Components/ColorPicker.tsx diff --git a/packages/react-components/src/Components/ComplexCron.tsx b/packages/adapter-react-v5/src/Components/ComplexCron.tsx similarity index 100% rename from packages/react-components/src/Components/ComplexCron.tsx rename to packages/adapter-react-v5/src/Components/ComplexCron.tsx diff --git a/packages/react-components/src/Components/CopyToClipboard.tsx b/packages/adapter-react-v5/src/Components/CopyToClipboard.tsx similarity index 100% rename from packages/react-components/src/Components/CopyToClipboard.tsx rename to packages/adapter-react-v5/src/Components/CopyToClipboard.tsx diff --git a/packages/react-components/src/Components/CustomModal.tsx b/packages/adapter-react-v5/src/Components/CustomModal.tsx similarity index 100% rename from packages/react-components/src/Components/CustomModal.tsx rename to packages/adapter-react-v5/src/Components/CustomModal.tsx diff --git a/packages/react-components/src/Components/FileBrowser.tsx b/packages/adapter-react-v5/src/Components/FileBrowser.tsx similarity index 100% rename from packages/react-components/src/Components/FileBrowser.tsx rename to packages/adapter-react-v5/src/Components/FileBrowser.tsx diff --git a/packages/react-components/src/Components/FileViewer.tsx b/packages/adapter-react-v5/src/Components/FileViewer.tsx similarity index 100% rename from packages/react-components/src/Components/FileViewer.tsx rename to packages/adapter-react-v5/src/Components/FileViewer.tsx diff --git a/packages/react-components/src/Components/Icon.tsx b/packages/adapter-react-v5/src/Components/Icon.tsx similarity index 100% rename from packages/react-components/src/Components/Icon.tsx rename to packages/adapter-react-v5/src/Components/Icon.tsx diff --git a/packages/react-components/src/Components/IconPicker.tsx b/packages/adapter-react-v5/src/Components/IconPicker.tsx similarity index 100% rename from packages/react-components/src/Components/IconPicker.tsx rename to packages/adapter-react-v5/src/Components/IconPicker.tsx diff --git a/packages/react-components/src/Components/IconSelector.tsx b/packages/adapter-react-v5/src/Components/IconSelector.tsx similarity index 100% rename from packages/react-components/src/Components/IconSelector.tsx rename to packages/adapter-react-v5/src/Components/IconSelector.tsx diff --git a/packages/react-components/src/Components/Image.tsx b/packages/adapter-react-v5/src/Components/Image.tsx similarity index 100% rename from packages/react-components/src/Components/Image.tsx rename to packages/adapter-react-v5/src/Components/Image.tsx diff --git a/packages/react-components/src/Components/Loader.tsx b/packages/adapter-react-v5/src/Components/Loader.tsx similarity index 100% rename from packages/react-components/src/Components/Loader.tsx rename to packages/adapter-react-v5/src/Components/Loader.tsx diff --git a/packages/react-components/src/Components/Loaders/MV.tsx b/packages/adapter-react-v5/src/Components/Loaders/MV.tsx similarity index 100% rename from packages/react-components/src/Components/Loaders/MV.tsx rename to packages/adapter-react-v5/src/Components/Loaders/MV.tsx diff --git a/packages/react-components/src/Components/Loaders/PT.css b/packages/adapter-react-v5/src/Components/Loaders/PT.css similarity index 100% rename from packages/react-components/src/Components/Loaders/PT.css rename to packages/adapter-react-v5/src/Components/Loaders/PT.css diff --git a/packages/react-components/src/Components/Loaders/PT.tsx b/packages/adapter-react-v5/src/Components/Loaders/PT.tsx similarity index 100% rename from packages/react-components/src/Components/Loaders/PT.tsx rename to packages/adapter-react-v5/src/Components/Loaders/PT.tsx diff --git a/packages/react-components/src/Components/Loaders/Vendor.css b/packages/adapter-react-v5/src/Components/Loaders/Vendor.css similarity index 100% rename from packages/react-components/src/Components/Loaders/Vendor.css rename to packages/adapter-react-v5/src/Components/Loaders/Vendor.css diff --git a/packages/react-components/src/Components/Loaders/Vendor.tsx b/packages/adapter-react-v5/src/Components/Loaders/Vendor.tsx similarity index 100% rename from packages/react-components/src/Components/Loaders/Vendor.tsx rename to packages/adapter-react-v5/src/Components/Loaders/Vendor.tsx diff --git a/packages/react-components/src/Components/Logo.tsx b/packages/adapter-react-v5/src/Components/Logo.tsx similarity index 100% rename from packages/react-components/src/Components/Logo.tsx rename to packages/adapter-react-v5/src/Components/Logo.tsx diff --git a/packages/react-components/src/Components/MDUtils.tsx b/packages/adapter-react-v5/src/Components/MDUtils.tsx similarity index 100% rename from packages/react-components/src/Components/MDUtils.tsx rename to packages/adapter-react-v5/src/Components/MDUtils.tsx diff --git a/packages/react-components/src/Components/ObjectBrowser.tsx b/packages/adapter-react-v5/src/Components/ObjectBrowser.tsx similarity index 100% rename from packages/react-components/src/Components/ObjectBrowser.tsx rename to packages/adapter-react-v5/src/Components/ObjectBrowser.tsx diff --git a/packages/react-components/src/Components/Router.tsx b/packages/adapter-react-v5/src/Components/Router.tsx similarity index 100% rename from packages/react-components/src/Components/Router.tsx rename to packages/adapter-react-v5/src/Components/Router.tsx diff --git a/packages/react-components/src/Components/SaveCloseButtons.tsx b/packages/adapter-react-v5/src/Components/SaveCloseButtons.tsx similarity index 100% rename from packages/react-components/src/Components/SaveCloseButtons.tsx rename to packages/adapter-react-v5/src/Components/SaveCloseButtons.tsx diff --git a/packages/react-components/src/Components/Schedule.tsx b/packages/adapter-react-v5/src/Components/Schedule.tsx similarity index 100% rename from packages/react-components/src/Components/Schedule.tsx rename to packages/adapter-react-v5/src/Components/Schedule.tsx diff --git a/packages/react-components/src/Components/SelectWithIcon.tsx b/packages/adapter-react-v5/src/Components/SelectWithIcon.tsx similarity index 100% rename from packages/react-components/src/Components/SelectWithIcon.tsx rename to packages/adapter-react-v5/src/Components/SelectWithIcon.tsx diff --git a/packages/react-components/src/Components/SimpleCron/cronText.tsx b/packages/adapter-react-v5/src/Components/SimpleCron/cronText.tsx similarity index 100% rename from packages/react-components/src/Components/SimpleCron/cronText.tsx rename to packages/adapter-react-v5/src/Components/SimpleCron/cronText.tsx diff --git a/packages/react-components/src/Components/SimpleCron/index.tsx b/packages/adapter-react-v5/src/Components/SimpleCron/index.tsx similarity index 100% rename from packages/react-components/src/Components/SimpleCron/index.tsx rename to packages/adapter-react-v5/src/Components/SimpleCron/index.tsx diff --git a/packages/react-components/src/Components/TabContainer.tsx b/packages/adapter-react-v5/src/Components/TabContainer.tsx similarity index 100% rename from packages/react-components/src/Components/TabContainer.tsx rename to packages/adapter-react-v5/src/Components/TabContainer.tsx diff --git a/packages/react-components/src/Components/TabContent.tsx b/packages/adapter-react-v5/src/Components/TabContent.tsx similarity index 100% rename from packages/react-components/src/Components/TabContent.tsx rename to packages/adapter-react-v5/src/Components/TabContent.tsx diff --git a/packages/react-components/src/Components/TabHeader.tsx b/packages/adapter-react-v5/src/Components/TabHeader.tsx similarity index 100% rename from packages/react-components/src/Components/TabHeader.tsx rename to packages/adapter-react-v5/src/Components/TabHeader.tsx diff --git a/packages/react-components/src/Components/TableResize.tsx b/packages/adapter-react-v5/src/Components/TableResize.tsx similarity index 100% rename from packages/react-components/src/Components/TableResize.tsx rename to packages/adapter-react-v5/src/Components/TableResize.tsx diff --git a/packages/react-components/src/Components/TextWithIcon.tsx b/packages/adapter-react-v5/src/Components/TextWithIcon.tsx similarity index 100% rename from packages/react-components/src/Components/TextWithIcon.tsx rename to packages/adapter-react-v5/src/Components/TextWithIcon.tsx diff --git a/packages/react-components/src/Components/ToggleThemeMenu.tsx b/packages/adapter-react-v5/src/Components/ToggleThemeMenu.tsx similarity index 100% rename from packages/react-components/src/Components/ToggleThemeMenu.tsx rename to packages/adapter-react-v5/src/Components/ToggleThemeMenu.tsx diff --git a/packages/react-components/src/Components/TreeTable.tsx b/packages/adapter-react-v5/src/Components/TreeTable.tsx similarity index 100% rename from packages/react-components/src/Components/TreeTable.tsx rename to packages/adapter-react-v5/src/Components/TreeTable.tsx diff --git a/packages/react-components/src/Components/UploadImage.tsx b/packages/adapter-react-v5/src/Components/UploadImage.tsx similarity index 100% rename from packages/react-components/src/Components/UploadImage.tsx rename to packages/adapter-react-v5/src/Components/UploadImage.tsx diff --git a/packages/react-components/src/Components/Utils.tsx b/packages/adapter-react-v5/src/Components/Utils.tsx similarity index 100% rename from packages/react-components/src/Components/Utils.tsx rename to packages/adapter-react-v5/src/Components/Utils.tsx diff --git a/packages/react-components/src/Components/loader.css b/packages/adapter-react-v5/src/Components/loader.css similarity index 100% rename from packages/react-components/src/Components/loader.css rename to packages/adapter-react-v5/src/Components/loader.css diff --git a/packages/react-components/src/Components/types.d.ts b/packages/adapter-react-v5/src/Components/types.d.ts similarity index 100% rename from packages/react-components/src/Components/types.d.ts rename to packages/adapter-react-v5/src/Components/types.d.ts diff --git a/packages/react-components/src/Components/withWidth.tsx b/packages/adapter-react-v5/src/Components/withWidth.tsx similarity index 100% rename from packages/react-components/src/Components/withWidth.tsx rename to packages/adapter-react-v5/src/Components/withWidth.tsx diff --git a/packages/react-components/src/Connection.tsx b/packages/adapter-react-v5/src/Connection.tsx similarity index 100% rename from packages/react-components/src/Connection.tsx rename to packages/adapter-react-v5/src/Connection.tsx diff --git a/packages/react-components/src/Dialogs/ComplexCron.tsx b/packages/adapter-react-v5/src/Dialogs/ComplexCron.tsx similarity index 100% rename from packages/react-components/src/Dialogs/ComplexCron.tsx rename to packages/adapter-react-v5/src/Dialogs/ComplexCron.tsx diff --git a/packages/react-components/src/Dialogs/Confirm.tsx b/packages/adapter-react-v5/src/Dialogs/Confirm.tsx similarity index 100% rename from packages/react-components/src/Dialogs/Confirm.tsx rename to packages/adapter-react-v5/src/Dialogs/Confirm.tsx diff --git a/packages/react-components/src/Dialogs/Cron.tsx b/packages/adapter-react-v5/src/Dialogs/Cron.tsx similarity index 100% rename from packages/react-components/src/Dialogs/Cron.tsx rename to packages/adapter-react-v5/src/Dialogs/Cron.tsx diff --git a/packages/react-components/src/Dialogs/Error.tsx b/packages/adapter-react-v5/src/Dialogs/Error.tsx similarity index 100% rename from packages/react-components/src/Dialogs/Error.tsx rename to packages/adapter-react-v5/src/Dialogs/Error.tsx diff --git a/packages/react-components/src/Dialogs/Message.tsx b/packages/adapter-react-v5/src/Dialogs/Message.tsx similarity index 100% rename from packages/react-components/src/Dialogs/Message.tsx rename to packages/adapter-react-v5/src/Dialogs/Message.tsx diff --git a/packages/react-components/src/Dialogs/SelectFile.tsx b/packages/adapter-react-v5/src/Dialogs/SelectFile.tsx similarity index 100% rename from packages/react-components/src/Dialogs/SelectFile.tsx rename to packages/adapter-react-v5/src/Dialogs/SelectFile.tsx diff --git a/packages/react-components/src/Dialogs/SelectID.tsx b/packages/adapter-react-v5/src/Dialogs/SelectID.tsx similarity index 100% rename from packages/react-components/src/Dialogs/SelectID.tsx rename to packages/adapter-react-v5/src/Dialogs/SelectID.tsx diff --git a/packages/react-components/src/Dialogs/SimpleCron.tsx b/packages/adapter-react-v5/src/Dialogs/SimpleCron.tsx similarity index 100% rename from packages/react-components/src/Dialogs/SimpleCron.tsx rename to packages/adapter-react-v5/src/Dialogs/SimpleCron.tsx diff --git a/packages/react-components/src/Dialogs/TextInput.tsx b/packages/adapter-react-v5/src/Dialogs/TextInput.tsx similarity index 100% rename from packages/react-components/src/Dialogs/TextInput.tsx rename to packages/adapter-react-v5/src/Dialogs/TextInput.tsx diff --git a/packages/react-components/src/GenericApp.tsx b/packages/adapter-react-v5/src/GenericApp.tsx similarity index 100% rename from packages/react-components/src/GenericApp.tsx rename to packages/adapter-react-v5/src/GenericApp.tsx diff --git a/packages/react-components/src/LegacyConnection.tsx b/packages/adapter-react-v5/src/LegacyConnection.tsx similarity index 100% rename from packages/react-components/src/LegacyConnection.tsx rename to packages/adapter-react-v5/src/LegacyConnection.tsx diff --git a/packages/react-components/src/Prompt.tsx b/packages/adapter-react-v5/src/Prompt.tsx similarity index 100% rename from packages/react-components/src/Prompt.tsx rename to packages/adapter-react-v5/src/Prompt.tsx diff --git a/packages/react-components/src/Theme.tsx b/packages/adapter-react-v5/src/Theme.tsx similarity index 100% rename from packages/react-components/src/Theme.tsx rename to packages/adapter-react-v5/src/Theme.tsx diff --git a/packages/react-components/src/assets/devices.json b/packages/adapter-react-v5/src/assets/devices.json similarity index 100% rename from packages/react-components/src/assets/devices.json rename to packages/adapter-react-v5/src/assets/devices.json diff --git a/packages/react-components/src/assets/devices/Alarm Systems.svg b/packages/adapter-react-v5/src/assets/devices/Alarm Systems.svg similarity index 100% rename from packages/react-components/src/assets/devices/Alarm Systems.svg rename to packages/adapter-react-v5/src/assets/devices/Alarm Systems.svg diff --git a/packages/react-components/src/assets/devices/Amplifier.svg b/packages/adapter-react-v5/src/assets/devices/Amplifier.svg similarity index 100% rename from packages/react-components/src/assets/devices/Amplifier.svg rename to packages/adapter-react-v5/src/assets/devices/Amplifier.svg diff --git a/packages/react-components/src/assets/devices/Awnings.svg b/packages/adapter-react-v5/src/assets/devices/Awnings.svg similarity index 100% rename from packages/react-components/src/assets/devices/Awnings.svg rename to packages/adapter-react-v5/src/assets/devices/Awnings.svg diff --git a/packages/react-components/src/assets/devices/Battery Status.svg b/packages/adapter-react-v5/src/assets/devices/Battery Status.svg similarity index 100% rename from packages/react-components/src/assets/devices/Battery Status.svg rename to packages/adapter-react-v5/src/assets/devices/Battery Status.svg diff --git a/packages/react-components/src/assets/devices/Ceiling Spotlights.svg b/packages/adapter-react-v5/src/assets/devices/Ceiling Spotlights.svg similarity index 100% rename from packages/react-components/src/assets/devices/Ceiling Spotlights.svg rename to packages/adapter-react-v5/src/assets/devices/Ceiling Spotlights.svg diff --git a/packages/react-components/src/assets/devices/Chandelier.svg b/packages/adapter-react-v5/src/assets/devices/Chandelier.svg similarity index 100% rename from packages/react-components/src/assets/devices/Chandelier.svg rename to packages/adapter-react-v5/src/assets/devices/Chandelier.svg diff --git a/packages/react-components/src/assets/devices/Climate.svg b/packages/adapter-react-v5/src/assets/devices/Climate.svg similarity index 100% rename from packages/react-components/src/assets/devices/Climate.svg rename to packages/adapter-react-v5/src/assets/devices/Climate.svg diff --git a/packages/react-components/src/assets/devices/Coffee Makers.svg b/packages/adapter-react-v5/src/assets/devices/Coffee Makers.svg similarity index 100% rename from packages/react-components/src/assets/devices/Coffee Makers.svg rename to packages/adapter-react-v5/src/assets/devices/Coffee Makers.svg diff --git a/packages/react-components/src/assets/devices/Cold Water.svg b/packages/adapter-react-v5/src/assets/devices/Cold Water.svg similarity index 100% rename from packages/react-components/src/assets/devices/Cold Water.svg rename to packages/adapter-react-v5/src/assets/devices/Cold Water.svg diff --git a/packages/react-components/src/assets/devices/Computer.svg b/packages/adapter-react-v5/src/assets/devices/Computer.svg similarity index 100% rename from packages/react-components/src/assets/devices/Computer.svg rename to packages/adapter-react-v5/src/assets/devices/Computer.svg diff --git a/packages/react-components/src/assets/devices/Consumption.svg b/packages/adapter-react-v5/src/assets/devices/Consumption.svg similarity index 100% rename from packages/react-components/src/assets/devices/Consumption.svg rename to packages/adapter-react-v5/src/assets/devices/Consumption.svg diff --git a/packages/react-components/src/assets/devices/Curtains.svg b/packages/adapter-react-v5/src/assets/devices/Curtains.svg similarity index 100% rename from packages/react-components/src/assets/devices/Curtains.svg rename to packages/adapter-react-v5/src/assets/devices/Curtains.svg diff --git a/packages/react-components/src/assets/devices/Dishwashers.svg b/packages/adapter-react-v5/src/assets/devices/Dishwashers.svg similarity index 100% rename from packages/react-components/src/assets/devices/Dishwashers.svg rename to packages/adapter-react-v5/src/assets/devices/Dishwashers.svg diff --git a/packages/react-components/src/assets/devices/Doors.svg b/packages/adapter-react-v5/src/assets/devices/Doors.svg similarity index 100% rename from packages/react-components/src/assets/devices/Doors.svg rename to packages/adapter-react-v5/src/assets/devices/Doors.svg diff --git a/packages/react-components/src/assets/devices/Doorstep.svg b/packages/adapter-react-v5/src/assets/devices/Doorstep.svg similarity index 100% rename from packages/react-components/src/assets/devices/Doorstep.svg rename to packages/adapter-react-v5/src/assets/devices/Doorstep.svg diff --git a/packages/react-components/src/assets/devices/Dryer.svg b/packages/adapter-react-v5/src/assets/devices/Dryer.svg similarity index 100% rename from packages/react-components/src/assets/devices/Dryer.svg rename to packages/adapter-react-v5/src/assets/devices/Dryer.svg diff --git a/packages/react-components/src/assets/devices/Fan.svg b/packages/adapter-react-v5/src/assets/devices/Fan.svg similarity index 100% rename from packages/react-components/src/assets/devices/Fan.svg rename to packages/adapter-react-v5/src/assets/devices/Fan.svg diff --git a/packages/react-components/src/assets/devices/Floor Lamps.svg b/packages/adapter-react-v5/src/assets/devices/Floor Lamps.svg similarity index 100% rename from packages/react-components/src/assets/devices/Floor Lamps.svg rename to packages/adapter-react-v5/src/assets/devices/Floor Lamps.svg diff --git a/packages/react-components/src/assets/devices/Garage Doors.svg b/packages/adapter-react-v5/src/assets/devices/Garage Doors.svg similarity index 100% rename from packages/react-components/src/assets/devices/Garage Doors.svg rename to packages/adapter-react-v5/src/assets/devices/Garage Doors.svg diff --git a/packages/react-components/src/assets/devices/Gates.svg b/packages/adapter-react-v5/src/assets/devices/Gates.svg similarity index 100% rename from packages/react-components/src/assets/devices/Gates.svg rename to packages/adapter-react-v5/src/assets/devices/Gates.svg diff --git a/packages/react-components/src/assets/devices/Hairdryer.svg b/packages/adapter-react-v5/src/assets/devices/Hairdryer.svg similarity index 100% rename from packages/react-components/src/assets/devices/Hairdryer.svg rename to packages/adapter-react-v5/src/assets/devices/Hairdryer.svg diff --git a/packages/react-components/src/assets/devices/Handle.svg b/packages/adapter-react-v5/src/assets/devices/Handle.svg similarity index 100% rename from packages/react-components/src/assets/devices/Handle.svg rename to packages/adapter-react-v5/src/assets/devices/Handle.svg diff --git a/packages/react-components/src/assets/devices/Hanging Lamps.svg b/packages/adapter-react-v5/src/assets/devices/Hanging Lamps.svg similarity index 100% rename from packages/react-components/src/assets/devices/Hanging Lamps.svg rename to packages/adapter-react-v5/src/assets/devices/Hanging Lamps.svg diff --git a/packages/react-components/src/assets/devices/Heater.svg b/packages/adapter-react-v5/src/assets/devices/Heater.svg similarity index 100% rename from packages/react-components/src/assets/devices/Heater.svg rename to packages/adapter-react-v5/src/assets/devices/Heater.svg diff --git a/packages/react-components/src/assets/devices/Hoods.svg b/packages/adapter-react-v5/src/assets/devices/Hoods.svg similarity index 100% rename from packages/react-components/src/assets/devices/Hoods.svg rename to packages/adapter-react-v5/src/assets/devices/Hoods.svg diff --git a/packages/react-components/src/assets/devices/Hot Water.svg b/packages/adapter-react-v5/src/assets/devices/Hot Water.svg similarity index 100% rename from packages/react-components/src/assets/devices/Hot Water.svg rename to packages/adapter-react-v5/src/assets/devices/Hot Water.svg diff --git a/packages/react-components/src/assets/devices/Humidity.svg b/packages/adapter-react-v5/src/assets/devices/Humidity.svg similarity index 100% rename from packages/react-components/src/assets/devices/Humidity.svg rename to packages/adapter-react-v5/src/assets/devices/Humidity.svg diff --git a/packages/react-components/src/assets/devices/Iron.svg b/packages/adapter-react-v5/src/assets/devices/Iron.svg similarity index 100% rename from packages/react-components/src/assets/devices/Iron.svg rename to packages/adapter-react-v5/src/assets/devices/Iron.svg diff --git a/packages/react-components/src/assets/devices/Irrigation.svg b/packages/adapter-react-v5/src/assets/devices/Irrigation.svg similarity index 100% rename from packages/react-components/src/assets/devices/Irrigation.svg rename to packages/adapter-react-v5/src/assets/devices/Irrigation.svg diff --git a/packages/react-components/src/assets/devices/Led Strip.svg b/packages/adapter-react-v5/src/assets/devices/Led Strip.svg similarity index 100% rename from packages/react-components/src/assets/devices/Led Strip.svg rename to packages/adapter-react-v5/src/assets/devices/Led Strip.svg diff --git a/packages/react-components/src/assets/devices/Light.svg b/packages/adapter-react-v5/src/assets/devices/Light.svg similarity index 100% rename from packages/react-components/src/assets/devices/Light.svg rename to packages/adapter-react-v5/src/assets/devices/Light.svg diff --git a/packages/react-components/src/assets/devices/Lightings.svg b/packages/adapter-react-v5/src/assets/devices/Lightings.svg similarity index 100% rename from packages/react-components/src/assets/devices/Lightings.svg rename to packages/adapter-react-v5/src/assets/devices/Lightings.svg diff --git a/packages/react-components/src/assets/devices/Lock.svg b/packages/adapter-react-v5/src/assets/devices/Lock.svg similarity index 100% rename from packages/react-components/src/assets/devices/Lock.svg rename to packages/adapter-react-v5/src/assets/devices/Lock.svg diff --git a/packages/react-components/src/assets/devices/Louvre.svg b/packages/adapter-react-v5/src/assets/devices/Louvre.svg similarity index 100% rename from packages/react-components/src/assets/devices/Louvre.svg rename to packages/adapter-react-v5/src/assets/devices/Louvre.svg diff --git a/packages/react-components/src/assets/devices/Mowing Machine.svg b/packages/adapter-react-v5/src/assets/devices/Mowing Machine.svg similarity index 100% rename from packages/react-components/src/assets/devices/Mowing Machine.svg rename to packages/adapter-react-v5/src/assets/devices/Mowing Machine.svg diff --git a/packages/react-components/src/assets/devices/Music.svg b/packages/adapter-react-v5/src/assets/devices/Music.svg similarity index 100% rename from packages/react-components/src/assets/devices/Music.svg rename to packages/adapter-react-v5/src/assets/devices/Music.svg diff --git a/packages/react-components/src/assets/devices/Outdoor Blinds.svg b/packages/adapter-react-v5/src/assets/devices/Outdoor Blinds.svg similarity index 100% rename from packages/react-components/src/assets/devices/Outdoor Blinds.svg rename to packages/adapter-react-v5/src/assets/devices/Outdoor Blinds.svg diff --git a/packages/react-components/src/assets/devices/People.svg b/packages/adapter-react-v5/src/assets/devices/People.svg similarity index 100% rename from packages/react-components/src/assets/devices/People.svg rename to packages/adapter-react-v5/src/assets/devices/People.svg diff --git a/packages/react-components/src/assets/devices/Pool.svg b/packages/adapter-react-v5/src/assets/devices/Pool.svg similarity index 100% rename from packages/react-components/src/assets/devices/Pool.svg rename to packages/adapter-react-v5/src/assets/devices/Pool.svg diff --git a/packages/react-components/src/assets/devices/Power Consumption.svg b/packages/adapter-react-v5/src/assets/devices/Power Consumption.svg similarity index 100% rename from packages/react-components/src/assets/devices/Power Consumption.svg rename to packages/adapter-react-v5/src/assets/devices/Power Consumption.svg diff --git a/packages/react-components/src/assets/devices/Printer.svg b/packages/adapter-react-v5/src/assets/devices/Printer.svg similarity index 100% rename from packages/react-components/src/assets/devices/Printer.svg rename to packages/adapter-react-v5/src/assets/devices/Printer.svg diff --git a/packages/react-components/src/assets/devices/Pump.svg b/packages/adapter-react-v5/src/assets/devices/Pump.svg similarity index 100% rename from packages/react-components/src/assets/devices/Pump.svg rename to packages/adapter-react-v5/src/assets/devices/Pump.svg diff --git a/packages/react-components/src/assets/devices/Receiver.svg b/packages/adapter-react-v5/src/assets/devices/Receiver.svg similarity index 100% rename from packages/react-components/src/assets/devices/Receiver.svg rename to packages/adapter-react-v5/src/assets/devices/Receiver.svg diff --git a/packages/react-components/src/assets/devices/Sconces.svg b/packages/adapter-react-v5/src/assets/devices/Sconces.svg similarity index 100% rename from packages/react-components/src/assets/devices/Sconces.svg rename to packages/adapter-react-v5/src/assets/devices/Sconces.svg diff --git a/packages/react-components/src/assets/devices/Security.svg b/packages/adapter-react-v5/src/assets/devices/Security.svg similarity index 100% rename from packages/react-components/src/assets/devices/Security.svg rename to packages/adapter-react-v5/src/assets/devices/Security.svg diff --git a/packages/react-components/src/assets/devices/Shading.svg b/packages/adapter-react-v5/src/assets/devices/Shading.svg similarity index 100% rename from packages/react-components/src/assets/devices/Shading.svg rename to packages/adapter-react-v5/src/assets/devices/Shading.svg diff --git a/packages/react-components/src/assets/devices/Shutters.svg b/packages/adapter-react-v5/src/assets/devices/Shutters.svg similarity index 100% rename from packages/react-components/src/assets/devices/Shutters.svg rename to packages/adapter-react-v5/src/assets/devices/Shutters.svg diff --git a/packages/react-components/src/assets/devices/SmokeDetector.svg b/packages/adapter-react-v5/src/assets/devices/SmokeDetector.svg similarity index 100% rename from packages/react-components/src/assets/devices/SmokeDetector.svg rename to packages/adapter-react-v5/src/assets/devices/SmokeDetector.svg diff --git a/packages/react-components/src/assets/devices/Sockets.svg b/packages/adapter-react-v5/src/assets/devices/Sockets.svg similarity index 100% rename from packages/react-components/src/assets/devices/Sockets.svg rename to packages/adapter-react-v5/src/assets/devices/Sockets.svg diff --git a/packages/react-components/src/assets/devices/Speaker.svg b/packages/adapter-react-v5/src/assets/devices/Speaker.svg similarity index 100% rename from packages/react-components/src/assets/devices/Speaker.svg rename to packages/adapter-react-v5/src/assets/devices/Speaker.svg diff --git a/packages/react-components/src/assets/devices/Stove.svg b/packages/adapter-react-v5/src/assets/devices/Stove.svg similarity index 100% rename from packages/react-components/src/assets/devices/Stove.svg rename to packages/adapter-react-v5/src/assets/devices/Stove.svg diff --git a/packages/react-components/src/assets/devices/Table Lamps.svg b/packages/adapter-react-v5/src/assets/devices/Table Lamps.svg similarity index 100% rename from packages/react-components/src/assets/devices/Table Lamps.svg rename to packages/adapter-react-v5/src/assets/devices/Table Lamps.svg diff --git a/packages/react-components/src/assets/devices/Temperature Sensors.svg b/packages/adapter-react-v5/src/assets/devices/Temperature Sensors.svg similarity index 100% rename from packages/react-components/src/assets/devices/Temperature Sensors.svg rename to packages/adapter-react-v5/src/assets/devices/Temperature Sensors.svg diff --git a/packages/react-components/src/assets/devices/Tv.svg b/packages/adapter-react-v5/src/assets/devices/Tv.svg similarity index 100% rename from packages/react-components/src/assets/devices/Tv.svg rename to packages/adapter-react-v5/src/assets/devices/Tv.svg diff --git a/packages/react-components/src/assets/devices/Vacuum Cleaner.svg b/packages/adapter-react-v5/src/assets/devices/Vacuum Cleaner.svg similarity index 100% rename from packages/react-components/src/assets/devices/Vacuum Cleaner.svg rename to packages/adapter-react-v5/src/assets/devices/Vacuum Cleaner.svg diff --git a/packages/react-components/src/assets/devices/Ventilation.svg b/packages/adapter-react-v5/src/assets/devices/Ventilation.svg similarity index 100% rename from packages/react-components/src/assets/devices/Ventilation.svg rename to packages/adapter-react-v5/src/assets/devices/Ventilation.svg diff --git a/packages/react-components/src/assets/devices/Washing Machines.svg b/packages/adapter-react-v5/src/assets/devices/Washing Machines.svg similarity index 100% rename from packages/react-components/src/assets/devices/Washing Machines.svg rename to packages/adapter-react-v5/src/assets/devices/Washing Machines.svg diff --git a/packages/react-components/src/assets/devices/Water Consumption.svg b/packages/adapter-react-v5/src/assets/devices/Water Consumption.svg similarity index 100% rename from packages/react-components/src/assets/devices/Water Consumption.svg rename to packages/adapter-react-v5/src/assets/devices/Water Consumption.svg diff --git a/packages/react-components/src/assets/devices/Water Heater.svg b/packages/adapter-react-v5/src/assets/devices/Water Heater.svg similarity index 100% rename from packages/react-components/src/assets/devices/Water Heater.svg rename to packages/adapter-react-v5/src/assets/devices/Water Heater.svg diff --git a/packages/react-components/src/assets/devices/Water.svg b/packages/adapter-react-v5/src/assets/devices/Water.svg similarity index 100% rename from packages/react-components/src/assets/devices/Water.svg rename to packages/adapter-react-v5/src/assets/devices/Water.svg diff --git a/packages/react-components/src/assets/devices/Weather.svg b/packages/adapter-react-v5/src/assets/devices/Weather.svg similarity index 100% rename from packages/react-components/src/assets/devices/Weather.svg rename to packages/adapter-react-v5/src/assets/devices/Weather.svg diff --git a/packages/react-components/src/assets/devices/Window.svg b/packages/adapter-react-v5/src/assets/devices/Window.svg similarity index 100% rename from packages/react-components/src/assets/devices/Window.svg rename to packages/adapter-react-v5/src/assets/devices/Window.svg diff --git a/packages/react-components/src/assets/devices/list.json b/packages/adapter-react-v5/src/assets/devices/list.json similarity index 100% rename from packages/react-components/src/assets/devices/list.json rename to packages/adapter-react-v5/src/assets/devices/list.json diff --git a/packages/react-components/src/assets/devices/names.txt b/packages/adapter-react-v5/src/assets/devices/names.txt similarity index 100% rename from packages/react-components/src/assets/devices/names.txt rename to packages/adapter-react-v5/src/assets/devices/names.txt diff --git a/packages/react-components/src/assets/devices/parseNames.js b/packages/adapter-react-v5/src/assets/devices/parseNames.js similarity index 100% rename from packages/react-components/src/assets/devices/parseNames.js rename to packages/adapter-react-v5/src/assets/devices/parseNames.js diff --git a/packages/react-components/src/assets/lamp_ceiling.svg b/packages/adapter-react-v5/src/assets/lamp_ceiling.svg similarity index 100% rename from packages/react-components/src/assets/lamp_ceiling.svg rename to packages/adapter-react-v5/src/assets/lamp_ceiling.svg diff --git a/packages/react-components/src/assets/lamp_table.svg b/packages/adapter-react-v5/src/assets/lamp_table.svg similarity index 100% rename from packages/react-components/src/assets/lamp_table.svg rename to packages/adapter-react-v5/src/assets/lamp_table.svg diff --git a/packages/react-components/src/assets/no_icon.svg b/packages/adapter-react-v5/src/assets/no_icon.svg similarity index 100% rename from packages/react-components/src/assets/no_icon.svg rename to packages/adapter-react-v5/src/assets/no_icon.svg diff --git a/packages/react-components/src/assets/rooms.json b/packages/adapter-react-v5/src/assets/rooms.json similarity index 100% rename from packages/react-components/src/assets/rooms.json rename to packages/adapter-react-v5/src/assets/rooms.json diff --git a/packages/react-components/src/assets/rooms/Anteroom.svg b/packages/adapter-react-v5/src/assets/rooms/Anteroom.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Anteroom.svg rename to packages/adapter-react-v5/src/assets/rooms/Anteroom.svg diff --git a/packages/react-components/src/assets/rooms/Attic.svg b/packages/adapter-react-v5/src/assets/rooms/Attic.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Attic.svg rename to packages/adapter-react-v5/src/assets/rooms/Attic.svg diff --git a/packages/react-components/src/assets/rooms/Balcony.svg b/packages/adapter-react-v5/src/assets/rooms/Balcony.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Balcony.svg rename to packages/adapter-react-v5/src/assets/rooms/Balcony.svg diff --git a/packages/react-components/src/assets/rooms/Barn.svg b/packages/adapter-react-v5/src/assets/rooms/Barn.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Barn.svg rename to packages/adapter-react-v5/src/assets/rooms/Barn.svg diff --git a/packages/react-components/src/assets/rooms/Basement.svg b/packages/adapter-react-v5/src/assets/rooms/Basement.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Basement.svg rename to packages/adapter-react-v5/src/assets/rooms/Basement.svg diff --git a/packages/react-components/src/assets/rooms/Bathroom.svg b/packages/adapter-react-v5/src/assets/rooms/Bathroom.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Bathroom.svg rename to packages/adapter-react-v5/src/assets/rooms/Bathroom.svg diff --git a/packages/react-components/src/assets/rooms/Bedroom.svg b/packages/adapter-react-v5/src/assets/rooms/Bedroom.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Bedroom.svg rename to packages/adapter-react-v5/src/assets/rooms/Bedroom.svg diff --git a/packages/react-components/src/assets/rooms/Boiler Room.svg b/packages/adapter-react-v5/src/assets/rooms/Boiler Room.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Boiler Room.svg rename to packages/adapter-react-v5/src/assets/rooms/Boiler Room.svg diff --git a/packages/react-components/src/assets/rooms/Carport.svg b/packages/adapter-react-v5/src/assets/rooms/Carport.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Carport.svg rename to packages/adapter-react-v5/src/assets/rooms/Carport.svg diff --git a/packages/react-components/src/assets/rooms/Cellar.svg b/packages/adapter-react-v5/src/assets/rooms/Cellar.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Cellar.svg rename to packages/adapter-react-v5/src/assets/rooms/Cellar.svg diff --git a/packages/react-components/src/assets/rooms/Chamber.svg b/packages/adapter-react-v5/src/assets/rooms/Chamber.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Chamber.svg rename to packages/adapter-react-v5/src/assets/rooms/Chamber.svg diff --git a/packages/react-components/src/assets/rooms/Corridor.svg b/packages/adapter-react-v5/src/assets/rooms/Corridor.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Corridor.svg rename to packages/adapter-react-v5/src/assets/rooms/Corridor.svg diff --git a/packages/react-components/src/assets/rooms/Dining Area.svg b/packages/adapter-react-v5/src/assets/rooms/Dining Area.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Dining Area.svg rename to packages/adapter-react-v5/src/assets/rooms/Dining Area.svg diff --git a/packages/react-components/src/assets/rooms/Dining Room.svg b/packages/adapter-react-v5/src/assets/rooms/Dining Room.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Dining Room.svg rename to packages/adapter-react-v5/src/assets/rooms/Dining Room.svg diff --git a/packages/react-components/src/assets/rooms/Dining.svg b/packages/adapter-react-v5/src/assets/rooms/Dining.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Dining.svg rename to packages/adapter-react-v5/src/assets/rooms/Dining.svg diff --git a/packages/react-components/src/assets/rooms/Dressing Room.svg b/packages/adapter-react-v5/src/assets/rooms/Dressing Room.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Dressing Room.svg rename to packages/adapter-react-v5/src/assets/rooms/Dressing Room.svg diff --git a/packages/react-components/src/assets/rooms/Driveway.svg b/packages/adapter-react-v5/src/assets/rooms/Driveway.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Driveway.svg rename to packages/adapter-react-v5/src/assets/rooms/Driveway.svg diff --git a/packages/react-components/src/assets/rooms/Entrance.svg b/packages/adapter-react-v5/src/assets/rooms/Entrance.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Entrance.svg rename to packages/adapter-react-v5/src/assets/rooms/Entrance.svg diff --git a/packages/react-components/src/assets/rooms/Equipment Room.svg b/packages/adapter-react-v5/src/assets/rooms/Equipment Room.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Equipment Room.svg rename to packages/adapter-react-v5/src/assets/rooms/Equipment Room.svg diff --git a/packages/react-components/src/assets/rooms/Front Yard.svg b/packages/adapter-react-v5/src/assets/rooms/Front Yard.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Front Yard.svg rename to packages/adapter-react-v5/src/assets/rooms/Front Yard.svg diff --git a/packages/react-components/src/assets/rooms/Gallery.svg b/packages/adapter-react-v5/src/assets/rooms/Gallery.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Gallery.svg rename to packages/adapter-react-v5/src/assets/rooms/Gallery.svg diff --git a/packages/react-components/src/assets/rooms/Garage.svg b/packages/adapter-react-v5/src/assets/rooms/Garage.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Garage.svg rename to packages/adapter-react-v5/src/assets/rooms/Garage.svg diff --git a/packages/react-components/src/assets/rooms/Garden.svg b/packages/adapter-react-v5/src/assets/rooms/Garden.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Garden.svg rename to packages/adapter-react-v5/src/assets/rooms/Garden.svg diff --git a/packages/react-components/src/assets/rooms/Ground Floor.svg b/packages/adapter-react-v5/src/assets/rooms/Ground Floor.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Ground Floor.svg rename to packages/adapter-react-v5/src/assets/rooms/Ground Floor.svg diff --git a/packages/react-components/src/assets/rooms/Guest Bathroom.svg b/packages/adapter-react-v5/src/assets/rooms/Guest Bathroom.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Guest Bathroom.svg rename to packages/adapter-react-v5/src/assets/rooms/Guest Bathroom.svg diff --git a/packages/react-components/src/assets/rooms/Guest Room.svg b/packages/adapter-react-v5/src/assets/rooms/Guest Room.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Guest Room.svg rename to packages/adapter-react-v5/src/assets/rooms/Guest Room.svg diff --git a/packages/react-components/src/assets/rooms/Gym.svg b/packages/adapter-react-v5/src/assets/rooms/Gym.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Gym.svg rename to packages/adapter-react-v5/src/assets/rooms/Gym.svg diff --git a/packages/react-components/src/assets/rooms/Hall.svg b/packages/adapter-react-v5/src/assets/rooms/Hall.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Hall.svg rename to packages/adapter-react-v5/src/assets/rooms/Hall.svg diff --git a/packages/react-components/src/assets/rooms/Home Theater.svg b/packages/adapter-react-v5/src/assets/rooms/Home Theater.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Home Theater.svg rename to packages/adapter-react-v5/src/assets/rooms/Home Theater.svg diff --git a/packages/react-components/src/assets/rooms/Kitchen.svg b/packages/adapter-react-v5/src/assets/rooms/Kitchen.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Kitchen.svg rename to packages/adapter-react-v5/src/assets/rooms/Kitchen.svg diff --git a/packages/react-components/src/assets/rooms/Laundry Room.svg b/packages/adapter-react-v5/src/assets/rooms/Laundry Room.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Laundry Room.svg rename to packages/adapter-react-v5/src/assets/rooms/Laundry Room.svg diff --git a/packages/react-components/src/assets/rooms/Living Area.svg b/packages/adapter-react-v5/src/assets/rooms/Living Area.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Living Area.svg rename to packages/adapter-react-v5/src/assets/rooms/Living Area.svg diff --git a/packages/react-components/src/assets/rooms/Living Room.svg b/packages/adapter-react-v5/src/assets/rooms/Living Room.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Living Room.svg rename to packages/adapter-react-v5/src/assets/rooms/Living Room.svg diff --git a/packages/react-components/src/assets/rooms/Locker Room.svg b/packages/adapter-react-v5/src/assets/rooms/Locker Room.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Locker Room.svg rename to packages/adapter-react-v5/src/assets/rooms/Locker Room.svg diff --git a/packages/react-components/src/assets/rooms/Nursery.svg b/packages/adapter-react-v5/src/assets/rooms/Nursery.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Nursery.svg rename to packages/adapter-react-v5/src/assets/rooms/Nursery.svg diff --git a/packages/react-components/src/assets/rooms/Office.svg b/packages/adapter-react-v5/src/assets/rooms/Office.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Office.svg rename to packages/adapter-react-v5/src/assets/rooms/Office.svg diff --git a/packages/react-components/src/assets/rooms/Outdoors.svg b/packages/adapter-react-v5/src/assets/rooms/Outdoors.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Outdoors.svg rename to packages/adapter-react-v5/src/assets/rooms/Outdoors.svg diff --git a/packages/react-components/src/assets/rooms/Playroom.svg b/packages/adapter-react-v5/src/assets/rooms/Playroom.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Playroom.svg rename to packages/adapter-react-v5/src/assets/rooms/Playroom.svg diff --git a/packages/react-components/src/assets/rooms/Pool.svg b/packages/adapter-react-v5/src/assets/rooms/Pool.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Pool.svg rename to packages/adapter-react-v5/src/assets/rooms/Pool.svg diff --git a/packages/react-components/src/assets/rooms/Rear Wall.svg b/packages/adapter-react-v5/src/assets/rooms/Rear Wall.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Rear Wall.svg rename to packages/adapter-react-v5/src/assets/rooms/Rear Wall.svg diff --git a/packages/react-components/src/assets/rooms/Second Floor.svg b/packages/adapter-react-v5/src/assets/rooms/Second Floor.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Second Floor.svg rename to packages/adapter-react-v5/src/assets/rooms/Second Floor.svg diff --git a/packages/react-components/src/assets/rooms/Shed.svg b/packages/adapter-react-v5/src/assets/rooms/Shed.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Shed.svg rename to packages/adapter-react-v5/src/assets/rooms/Shed.svg diff --git a/packages/react-components/src/assets/rooms/Sleeping Area.svg b/packages/adapter-react-v5/src/assets/rooms/Sleeping Area.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Sleeping Area.svg rename to packages/adapter-react-v5/src/assets/rooms/Sleeping Area.svg diff --git a/packages/react-components/src/assets/rooms/Stairway.svg b/packages/adapter-react-v5/src/assets/rooms/Stairway.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Stairway.svg rename to packages/adapter-react-v5/src/assets/rooms/Stairway.svg diff --git a/packages/react-components/src/assets/rooms/Stairwell.svg b/packages/adapter-react-v5/src/assets/rooms/Stairwell.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Stairwell.svg rename to packages/adapter-react-v5/src/assets/rooms/Stairwell.svg diff --git a/packages/react-components/src/assets/rooms/Storeroom.svg b/packages/adapter-react-v5/src/assets/rooms/Storeroom.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Storeroom.svg rename to packages/adapter-react-v5/src/assets/rooms/Storeroom.svg diff --git a/packages/react-components/src/assets/rooms/Summer House.svg b/packages/adapter-react-v5/src/assets/rooms/Summer House.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Summer House.svg rename to packages/adapter-react-v5/src/assets/rooms/Summer House.svg diff --git a/packages/react-components/src/assets/rooms/Swimming Pool.svg b/packages/adapter-react-v5/src/assets/rooms/Swimming Pool.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Swimming Pool.svg rename to packages/adapter-react-v5/src/assets/rooms/Swimming Pool.svg diff --git a/packages/react-components/src/assets/rooms/Terrace.svg b/packages/adapter-react-v5/src/assets/rooms/Terrace.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Terrace.svg rename to packages/adapter-react-v5/src/assets/rooms/Terrace.svg diff --git a/packages/react-components/src/assets/rooms/Toilet.svg b/packages/adapter-react-v5/src/assets/rooms/Toilet.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Toilet.svg rename to packages/adapter-react-v5/src/assets/rooms/Toilet.svg diff --git a/packages/react-components/src/assets/rooms/Upstairs.svg b/packages/adapter-react-v5/src/assets/rooms/Upstairs.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Upstairs.svg rename to packages/adapter-react-v5/src/assets/rooms/Upstairs.svg diff --git a/packages/react-components/src/assets/rooms/Wardrobe.svg b/packages/adapter-react-v5/src/assets/rooms/Wardrobe.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Wardrobe.svg rename to packages/adapter-react-v5/src/assets/rooms/Wardrobe.svg diff --git a/packages/react-components/src/assets/rooms/Washroom.svg b/packages/adapter-react-v5/src/assets/rooms/Washroom.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Washroom.svg rename to packages/adapter-react-v5/src/assets/rooms/Washroom.svg diff --git a/packages/react-components/src/assets/rooms/Wc.svg b/packages/adapter-react-v5/src/assets/rooms/Wc.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Wc.svg rename to packages/adapter-react-v5/src/assets/rooms/Wc.svg diff --git a/packages/react-components/src/assets/rooms/Windscreen.svg b/packages/adapter-react-v5/src/assets/rooms/Windscreen.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Windscreen.svg rename to packages/adapter-react-v5/src/assets/rooms/Windscreen.svg diff --git a/packages/react-components/src/assets/rooms/Workshop.svg b/packages/adapter-react-v5/src/assets/rooms/Workshop.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Workshop.svg rename to packages/adapter-react-v5/src/assets/rooms/Workshop.svg diff --git a/packages/react-components/src/assets/rooms/Workspace.svg b/packages/adapter-react-v5/src/assets/rooms/Workspace.svg similarity index 100% rename from packages/react-components/src/assets/rooms/Workspace.svg rename to packages/adapter-react-v5/src/assets/rooms/Workspace.svg diff --git a/packages/react-components/src/assets/rooms/list.json b/packages/adapter-react-v5/src/assets/rooms/list.json similarity index 100% rename from packages/react-components/src/assets/rooms/list.json rename to packages/adapter-react-v5/src/assets/rooms/list.json diff --git a/packages/react-components/src/assets/rooms/names.txt b/packages/adapter-react-v5/src/assets/rooms/names.txt similarity index 100% rename from packages/react-components/src/assets/rooms/names.txt rename to packages/adapter-react-v5/src/assets/rooms/names.txt diff --git a/packages/react-components/src/assets/rooms/parseNames.js b/packages/adapter-react-v5/src/assets/rooms/parseNames.js similarity index 100% rename from packages/react-components/src/assets/rooms/parseNames.js rename to packages/adapter-react-v5/src/assets/rooms/parseNames.js diff --git a/packages/react-components/src/dictionary.ts b/packages/adapter-react-v5/src/dictionary.ts similarity index 100% rename from packages/react-components/src/dictionary.ts rename to packages/adapter-react-v5/src/dictionary.ts diff --git a/packages/react-components/src/i18n.ts b/packages/adapter-react-v5/src/i18n.ts similarity index 100% rename from packages/react-components/src/i18n.ts rename to packages/adapter-react-v5/src/i18n.ts diff --git a/packages/react-components/src/i18n/de.json b/packages/adapter-react-v5/src/i18n/de.json similarity index 100% rename from packages/react-components/src/i18n/de.json rename to packages/adapter-react-v5/src/i18n/de.json diff --git a/packages/react-components/src/i18n/en.json b/packages/adapter-react-v5/src/i18n/en.json similarity index 100% rename from packages/react-components/src/i18n/en.json rename to packages/adapter-react-v5/src/i18n/en.json diff --git a/packages/react-components/src/i18n/es.json b/packages/adapter-react-v5/src/i18n/es.json similarity index 100% rename from packages/react-components/src/i18n/es.json rename to packages/adapter-react-v5/src/i18n/es.json diff --git a/packages/react-components/src/i18n/fr.json b/packages/adapter-react-v5/src/i18n/fr.json similarity index 100% rename from packages/react-components/src/i18n/fr.json rename to packages/adapter-react-v5/src/i18n/fr.json diff --git a/packages/react-components/src/i18n/it.json b/packages/adapter-react-v5/src/i18n/it.json similarity index 100% rename from packages/react-components/src/i18n/it.json rename to packages/adapter-react-v5/src/i18n/it.json diff --git a/packages/react-components/src/i18n/nl.json b/packages/adapter-react-v5/src/i18n/nl.json similarity index 100% rename from packages/react-components/src/i18n/nl.json rename to packages/adapter-react-v5/src/i18n/nl.json diff --git a/packages/react-components/src/i18n/pl.json b/packages/adapter-react-v5/src/i18n/pl.json similarity index 100% rename from packages/react-components/src/i18n/pl.json rename to packages/adapter-react-v5/src/i18n/pl.json diff --git a/packages/react-components/src/i18n/pt.json b/packages/adapter-react-v5/src/i18n/pt.json similarity index 100% rename from packages/react-components/src/i18n/pt.json rename to packages/adapter-react-v5/src/i18n/pt.json diff --git a/packages/react-components/src/i18n/ru.json b/packages/adapter-react-v5/src/i18n/ru.json similarity index 100% rename from packages/react-components/src/i18n/ru.json rename to packages/adapter-react-v5/src/i18n/ru.json diff --git a/packages/react-components/src/i18n/uk.json b/packages/adapter-react-v5/src/i18n/uk.json similarity index 100% rename from packages/react-components/src/i18n/uk.json rename to packages/adapter-react-v5/src/i18n/uk.json diff --git a/packages/react-components/src/i18n/zh-cn.json b/packages/adapter-react-v5/src/i18n/zh-cn.json similarity index 100% rename from packages/react-components/src/i18n/zh-cn.json rename to packages/adapter-react-v5/src/i18n/zh-cn.json diff --git a/packages/react-components/src/icons/IconAdapter.tsx b/packages/adapter-react-v5/src/icons/IconAdapter.tsx similarity index 100% rename from packages/react-components/src/icons/IconAdapter.tsx rename to packages/adapter-react-v5/src/icons/IconAdapter.tsx diff --git a/packages/react-components/src/icons/IconAlias.tsx b/packages/adapter-react-v5/src/icons/IconAlias.tsx similarity index 100% rename from packages/react-components/src/icons/IconAlias.tsx rename to packages/adapter-react-v5/src/icons/IconAlias.tsx diff --git a/packages/react-components/src/icons/IconChannel.tsx b/packages/adapter-react-v5/src/icons/IconChannel.tsx similarity index 100% rename from packages/react-components/src/icons/IconChannel.tsx rename to packages/adapter-react-v5/src/icons/IconChannel.tsx diff --git a/packages/react-components/src/icons/IconClearFilter.tsx b/packages/adapter-react-v5/src/icons/IconClearFilter.tsx similarity index 100% rename from packages/react-components/src/icons/IconClearFilter.tsx rename to packages/adapter-react-v5/src/icons/IconClearFilter.tsx diff --git a/packages/react-components/src/icons/IconClosed.tsx b/packages/adapter-react-v5/src/icons/IconClosed.tsx similarity index 100% rename from packages/react-components/src/icons/IconClosed.tsx rename to packages/adapter-react-v5/src/icons/IconClosed.tsx diff --git a/packages/react-components/src/icons/IconCopy.tsx b/packages/adapter-react-v5/src/icons/IconCopy.tsx similarity index 100% rename from packages/react-components/src/icons/IconCopy.tsx rename to packages/adapter-react-v5/src/icons/IconCopy.tsx diff --git a/packages/react-components/src/icons/IconDevice.tsx b/packages/adapter-react-v5/src/icons/IconDevice.tsx similarity index 100% rename from packages/react-components/src/icons/IconDevice.tsx rename to packages/adapter-react-v5/src/icons/IconDevice.tsx diff --git a/packages/react-components/src/icons/IconDocument.tsx b/packages/adapter-react-v5/src/icons/IconDocument.tsx similarity index 100% rename from packages/react-components/src/icons/IconDocument.tsx rename to packages/adapter-react-v5/src/icons/IconDocument.tsx diff --git a/packages/react-components/src/icons/IconDocumentReadOnly.tsx b/packages/adapter-react-v5/src/icons/IconDocumentReadOnly.tsx similarity index 100% rename from packages/react-components/src/icons/IconDocumentReadOnly.tsx rename to packages/adapter-react-v5/src/icons/IconDocumentReadOnly.tsx diff --git a/packages/react-components/src/icons/IconExpert.tsx b/packages/adapter-react-v5/src/icons/IconExpert.tsx similarity index 100% rename from packages/react-components/src/icons/IconExpert.tsx rename to packages/adapter-react-v5/src/icons/IconExpert.tsx diff --git a/packages/react-components/src/icons/IconFx.tsx b/packages/adapter-react-v5/src/icons/IconFx.tsx similarity index 100% rename from packages/react-components/src/icons/IconFx.tsx rename to packages/adapter-react-v5/src/icons/IconFx.tsx diff --git a/packages/react-components/src/icons/IconInstance.tsx b/packages/adapter-react-v5/src/icons/IconInstance.tsx similarity index 100% rename from packages/react-components/src/icons/IconInstance.tsx rename to packages/adapter-react-v5/src/icons/IconInstance.tsx diff --git a/packages/react-components/src/icons/IconLogout.tsx b/packages/adapter-react-v5/src/icons/IconLogout.tsx similarity index 100% rename from packages/react-components/src/icons/IconLogout.tsx rename to packages/adapter-react-v5/src/icons/IconLogout.tsx diff --git a/packages/react-components/src/icons/IconNoIcon.tsx b/packages/adapter-react-v5/src/icons/IconNoIcon.tsx similarity index 100% rename from packages/react-components/src/icons/IconNoIcon.tsx rename to packages/adapter-react-v5/src/icons/IconNoIcon.tsx diff --git a/packages/react-components/src/icons/IconOpen.tsx b/packages/adapter-react-v5/src/icons/IconOpen.tsx similarity index 100% rename from packages/react-components/src/icons/IconOpen.tsx rename to packages/adapter-react-v5/src/icons/IconOpen.tsx diff --git a/packages/react-components/src/icons/IconProps.tsx b/packages/adapter-react-v5/src/icons/IconProps.tsx similarity index 100% rename from packages/react-components/src/icons/IconProps.tsx rename to packages/adapter-react-v5/src/icons/IconProps.tsx diff --git a/packages/react-components/src/icons/IconState.tsx b/packages/adapter-react-v5/src/icons/IconState.tsx similarity index 100% rename from packages/react-components/src/icons/IconState.tsx rename to packages/adapter-react-v5/src/icons/IconState.tsx diff --git a/packages/react-components/src/index.css b/packages/adapter-react-v5/src/index.css similarity index 100% rename from packages/react-components/src/index.css rename to packages/adapter-react-v5/src/index.css diff --git a/packages/react-components/src/index.ts b/packages/adapter-react-v5/src/index.ts similarity index 100% rename from packages/react-components/src/index.ts rename to packages/adapter-react-v5/src/index.ts diff --git a/packages/react-components/src/types.d.ts b/packages/adapter-react-v5/src/types.d.ts similarity index 100% rename from packages/react-components/src/types.d.ts rename to packages/adapter-react-v5/src/types.d.ts diff --git a/packages/react-components/tasks.js b/packages/adapter-react-v5/tasks.js similarity index 100% rename from packages/react-components/tasks.js rename to packages/adapter-react-v5/tasks.js diff --git a/packages/react-components/tasksExample.js b/packages/adapter-react-v5/tasksExample.js similarity index 100% rename from packages/react-components/tasksExample.js rename to packages/adapter-react-v5/tasksExample.js diff --git a/packages/react-components/test-gui/eslint.config.mjs b/packages/adapter-react-v5/test-gui/eslint.config.mjs similarity index 100% rename from packages/react-components/test-gui/eslint.config.mjs rename to packages/adapter-react-v5/test-gui/eslint.config.mjs diff --git a/packages/react-components/test-gui/index.html b/packages/adapter-react-v5/test-gui/index.html similarity index 100% rename from packages/react-components/test-gui/index.html rename to packages/adapter-react-v5/test-gui/index.html diff --git a/packages/react-components/test-gui/package-lock.json b/packages/adapter-react-v5/test-gui/package-lock.json similarity index 100% rename from packages/react-components/test-gui/package-lock.json rename to packages/adapter-react-v5/test-gui/package-lock.json diff --git a/packages/react-components/test-gui/package.json b/packages/adapter-react-v5/test-gui/package.json similarity index 100% rename from packages/react-components/test-gui/package.json rename to packages/adapter-react-v5/test-gui/package.json diff --git a/packages/react-components/test-gui/public/manifest.json b/packages/adapter-react-v5/test-gui/public/manifest.json similarity index 100% rename from packages/react-components/test-gui/public/manifest.json rename to packages/adapter-react-v5/test-gui/public/manifest.json diff --git a/packages/react-components/test-gui/src/App.tsx b/packages/adapter-react-v5/test-gui/src/App.tsx similarity index 100% rename from packages/react-components/test-gui/src/App.tsx rename to packages/adapter-react-v5/test-gui/src/App.tsx diff --git a/packages/react-components/test-gui/src/i18n.ts b/packages/adapter-react-v5/test-gui/src/i18n.ts similarity index 100% rename from packages/react-components/test-gui/src/i18n.ts rename to packages/adapter-react-v5/test-gui/src/i18n.ts diff --git a/packages/react-components/test-gui/src/index.tsx b/packages/adapter-react-v5/test-gui/src/index.tsx similarity index 100% rename from packages/react-components/test-gui/src/index.tsx rename to packages/adapter-react-v5/test-gui/src/index.tsx diff --git a/packages/react-components/test-gui/tsconfig.json b/packages/adapter-react-v5/test-gui/tsconfig.json similarity index 100% rename from packages/react-components/test-gui/tsconfig.json rename to packages/adapter-react-v5/test-gui/tsconfig.json diff --git a/packages/react-components/test-gui/vite.config.ts b/packages/adapter-react-v5/test-gui/vite.config.ts similarity index 100% rename from packages/react-components/test-gui/vite.config.ts rename to packages/adapter-react-v5/test-gui/vite.config.ts diff --git a/packages/react-components/test/testSchema.ts b/packages/adapter-react-v5/test/testSchema.ts similarity index 100% rename from packages/react-components/test/testSchema.ts rename to packages/adapter-react-v5/test/testSchema.ts diff --git a/packages/react-components/tsconfig.build.json b/packages/adapter-react-v5/tsconfig.build.json similarity index 100% rename from packages/react-components/tsconfig.build.json rename to packages/adapter-react-v5/tsconfig.build.json diff --git a/packages/react-components/tsconfig.json b/packages/adapter-react-v5/tsconfig.json similarity index 100% rename from packages/react-components/tsconfig.json rename to packages/adapter-react-v5/tsconfig.json diff --git a/packages/admin/io-package.json b/packages/admin/io-package.json index 7b1a99f26..a43271377 100644 --- a/packages/admin/io-package.json +++ b/packages/admin/io-package.json @@ -19,32 +19,6 @@ "connectionType": "local", "dataSource": "push", "news": { - "7.2.5": { - "en": "Trying to fix a GUI build process\nChanged license icon", - "de": "Versuchen, einen GUI-Building-Prozess zu beheben\nGeändertes Lizenzsymbol", - "ru": "Попытка исправить процесс построения графического интерфейса\nИзменение иконки лицензии", - "pt": "Tentando corrigir um processo de compilação GUI\nÍcone de licença alterado", - "nl": "Proberen een GUI build proces te repareren\nGewijzigd licentiepictogram", - "fr": "Essayer de réparer un processus de construction d'interface graphique\nIcône de licence modifiée", - "it": "Cercare di risolvere un processo di costruzione GUI\nIcona di licenza modificata", - "es": "Tratando de arreglar un proceso de construcción GUI\nIcono de licencia cambiado", - "pl": "Próbuje naprawić proces budowania GUI\nZmieniona ikona licencji", - "uk": "Спробуйте виправити процес побудови GUI\nЗміна іконки ліцензії", - "zh-cn": "试图修正图形界面构建进程\n更改许可证图标" - }, - "7.2.4": { - "en": "Corrected some GUI errors\nIgnore error by opening `0_userdata.0`", - "de": "Einige GUI-Fehler korrigiert\nFehler ignorieren durch Öffnen von `0_userdata.0`", - "ru": "Исправлены некоторые ошибки GUI\nИгнорировать ошибку, открывая `0_userdata.0`", - "pt": "Corrigido alguns erros GUI\nIgnorar erro ao abrir `0_userdata.0`", - "nl": "Enkele GUI-fouten gecorrigeerd\nFout negeren door het openen van ", - "fr": "Correction de certaines erreurs d'interface graphique\nIgnorer l'erreur en ouvrant `0_userdata.0`", - "it": "Corretto alcuni errori GUI\nIgnora errore aprendo `0_userdata.0`", - "es": "Corregido algunos errores de GUI\nIgnora el error al abrir `0_userdata.0`", - "pl": "Poprawiono niektóre błędy GUI\nIgnoruj błąd otwierając '0 _ userdata.0'", - "uk": "Виправлено деякі помилки інтерфейсу\nІм’я користувача `0_userdata.0`", - "zh-cn": "更正了一些图形用户界面错误\n打开 '0_userdata.0' 忽略错误" - }, "7.2.0": { "en": "Added the check of well-known passwords for the linux systems\nAdded the history for the installation from URL\nfixed wrongly displayed repository warning", "de": "Hinzugefügt die Überprüfung der bekannten Passwörter für die Linux-Systeme\nDie Geschichte der Installation von URL hinzugefügt\nfalsch angezeigte repository-warnung", diff --git a/packages/admin/package.json b/packages/admin/package.json index b585b1302..19d8fbf9f 100644 --- a/packages/admin/package.json +++ b/packages/admin/package.json @@ -28,7 +28,7 @@ "@iobroker/socket-classes": "^1.6.1", "@iobroker/webserver": "^1.0.6", "@iobroker/ws": "^2.0.0", - "@iobroker/ws-server": "3.0.3", + "@iobroker/ws-server": "4.0.1", "ajv": "^8.17.1", "archiver": "^7.0.1", "axios": "^1.7.7", @@ -69,10 +69,10 @@ "colorette": "^2.0.20", "less": "^4.2.0", "mocha": "^10.7.3", - "puppeteer": "^23.5.1", + "puppeteer": "^23.5.3", "sinon-chai": "^3.7.0", "src-rx": "file:src-admin", - "typescript": "^5.6.2" + "typescript": "^5.6.3" }, "bugs": { "url": "https://github.com/ioBroker/ioBroker.admin/issues" diff --git a/packages/admin/src-admin/craco.config.js b/packages/admin/src-admin/craco.config.js index e1dcf925b..ab42c4ccf 100644 --- a/packages/admin/src-admin/craco.config.js +++ b/packages/admin/src-admin/craco.config.js @@ -1,6 +1,6 @@ const path = require('node:path'); const { ProvidePlugin } = require('webpack'); -const cracoModuleFederation = require('@iobroker/react-components/craco-module-federation'); +const cracoModuleFederation = require('@iobroker/adapter-react-v5/craco-module-federation'); const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); module.exports = { diff --git a/packages/admin/src-admin/modulefederation.config.js b/packages/admin/src-admin/modulefederation.config.js index 1fe60599c..57d35b768 100644 --- a/packages/admin/src-admin/modulefederation.config.js +++ b/packages/admin/src-admin/modulefederation.config.js @@ -1,4 +1,4 @@ -const { shared } = require('@iobroker/react-components/modulefederation.admin.config'); +const { shared } = require('@iobroker/adapter-react-v5/modulefederation.admin.config'); module.exports = { name: 'iobroker_admin', diff --git a/packages/admin/src-admin/package.json b/packages/admin/src-admin/package.json index da618cdd0..2cb060185 100644 --- a/packages/admin/src-admin/package.json +++ b/packages/admin/src-admin/package.json @@ -22,7 +22,7 @@ "dependencies": { "@iobroker/dm-gui-components": "file:../../dm-gui-components", "@iobroker/json-config": "file:../../jsonConfig", - "@iobroker/react-components": "file:../../react-components", + "@iobroker/adapter-react-v5": "file:../../adapter-react-v5", "http-proxy-middleware": "^3.0.2" }, "devDependencies": { @@ -34,7 +34,7 @@ "@fnando/sparkline": "^0.3.10", "@foxriver76/iob-component-lib": "^0.1.6", "@honkhonk/vite-plugin-svgr": "^1.1.0", - "@iobroker/admin-component-easy-access": "^1.0.1", + "@iobroker/admin-component-easy-access": "^1.0.8", "@iobroker/dm-utils": "^0.5.0", "@iobroker/eslint-config": "^0.1.6", "@iobroker/js-controller-common-db": "^7.0.0", @@ -113,5 +113,5 @@ } ] ], - "version": "7.2.4" + "version": "7.2.5" } diff --git a/packages/admin/src-admin/src/App.tsx b/packages/admin/src-admin/src/App.tsx index 743365a23..a80e1ac1a 100644 --- a/packages/admin/src-admin/src/App.tsx +++ b/packages/admin/src-admin/src/App.tsx @@ -65,7 +65,7 @@ import { type ThemeType, Utils, dictionary, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import NotificationsDialog from '@/dialogs/NotificationsDialog'; import type { AdminGuiConfig, CompactAdapterInfo, CompactHost, NotificationsCount } from '@/types'; diff --git a/packages/admin/src-admin/src/Workers/AdaptersWorker.tsx b/packages/admin/src-admin/src/Workers/AdaptersWorker.tsx index 5579945c5..68deb3f03 100644 --- a/packages/admin/src-admin/src/Workers/AdaptersWorker.tsx +++ b/packages/admin/src-admin/src/Workers/AdaptersWorker.tsx @@ -1,4 +1,4 @@ -import { type AdminConnection } from '@iobroker/react-components'; +import { type AdminConnection } from '@iobroker/adapter-react-v5'; import GenericWorker, { type EventType, type GenericEvent } from './GenericWorker'; export type AdapterEventType = EventType; diff --git a/packages/admin/src-admin/src/Workers/GenericWorker.tsx b/packages/admin/src-admin/src/Workers/GenericWorker.tsx index 33e6924cd..e81e2454d 100644 --- a/packages/admin/src-admin/src/Workers/GenericWorker.tsx +++ b/packages/admin/src-admin/src/Workers/GenericWorker.tsx @@ -1,4 +1,4 @@ -import type { AdminConnection } from '@iobroker/react-components'; +import type { AdminConnection } from '@iobroker/adapter-react-v5'; import AdminUtils from '@/helpers/AdminUtils'; export type EventType = 'new' | 'changed' | 'deleted'; diff --git a/packages/admin/src-admin/src/Workers/HostAdapterWorker.tsx b/packages/admin/src-admin/src/Workers/HostAdapterWorker.tsx index d374fa9d4..4b3c2f51c 100644 --- a/packages/admin/src-admin/src/Workers/HostAdapterWorker.tsx +++ b/packages/admin/src-admin/src/Workers/HostAdapterWorker.tsx @@ -1,4 +1,4 @@ -import { type AdminConnection } from '@iobroker/react-components'; +import { type AdminConnection } from '@iobroker/adapter-react-v5'; import GenericWorker, { type EventType, type GenericEvent } from './GenericWorker'; export type HostAdapterEventType = EventType; diff --git a/packages/admin/src-admin/src/Workers/HostsWorker.tsx b/packages/admin/src-admin/src/Workers/HostsWorker.tsx index a9e4e099e..69ebaf71e 100644 --- a/packages/admin/src-admin/src/Workers/HostsWorker.tsx +++ b/packages/admin/src-admin/src/Workers/HostsWorker.tsx @@ -1,4 +1,4 @@ -import type { AdminConnection } from '@iobroker/react-components'; +import type { AdminConnection } from '@iobroker/adapter-react-v5'; import type { FilteredNotificationInformation } from '@iobroker/socket-client'; import GenericWorker, { type EventType, type GenericEvent } from './GenericWorker'; diff --git a/packages/admin/src-admin/src/Workers/InstancesWorker.tsx b/packages/admin/src-admin/src/Workers/InstancesWorker.tsx index c8489689f..1ea89b11e 100644 --- a/packages/admin/src-admin/src/Workers/InstancesWorker.tsx +++ b/packages/admin/src-admin/src/Workers/InstancesWorker.tsx @@ -1,4 +1,4 @@ -import { type AdminConnection } from '@iobroker/react-components'; +import { type AdminConnection } from '@iobroker/adapter-react-v5'; import GenericWorker, { type EventType, type GenericEvent } from './GenericWorker'; export type InstanceEventType = EventType; diff --git a/packages/admin/src-admin/src/Workers/LogsWorker.tsx b/packages/admin/src-admin/src/Workers/LogsWorker.tsx index d7a63caed..3a5ec17b2 100644 --- a/packages/admin/src-admin/src/Workers/LogsWorker.tsx +++ b/packages/admin/src-admin/src/Workers/LogsWorker.tsx @@ -1,4 +1,4 @@ -import { type AdminConnection } from '@iobroker/react-components'; +import { type AdminConnection } from '@iobroker/adapter-react-v5'; import AdminUtils, { type Style } from '../helpers/AdminUtils'; interface LogLine { diff --git a/packages/admin/src-admin/src/Workers/ObjectsWorker.tsx b/packages/admin/src-admin/src/Workers/ObjectsWorker.tsx index e2cf79891..b27d34893 100644 --- a/packages/admin/src-admin/src/Workers/ObjectsWorker.tsx +++ b/packages/admin/src-admin/src/Workers/ObjectsWorker.tsx @@ -1,4 +1,4 @@ -import { type AdminConnection } from '@iobroker/react-components'; +import { type AdminConnection } from '@iobroker/adapter-react-v5'; import AdminUtils from '../helpers/AdminUtils'; export type ObjectEventType = 'new' | 'changed' | 'deleted'; diff --git a/packages/admin/src-admin/src/components/Adapters/AdapterCategoryRow.tsx b/packages/admin/src-admin/src/components/Adapters/AdapterCategoryRow.tsx index df7090fbc..0e2f7ae8a 100644 --- a/packages/admin/src-admin/src/components/Adapters/AdapterCategoryRow.tsx +++ b/packages/admin/src-admin/src/components/Adapters/AdapterCategoryRow.tsx @@ -6,7 +6,7 @@ import { blue, green } from '@mui/material/colors'; import { ChevronRight as ChevronRightIcon, ExpandMore as ExpandMoreIcon } from '@mui/icons-material'; -import { type Translate } from '@iobroker/react-components'; +import { type Translate } from '@iobroker/adapter-react-v5'; import MaterialDynamicIcon from '../../helpers/MaterialDynamicIcon'; diff --git a/packages/admin/src-admin/src/components/Adapters/AdapterGeneric.tsx b/packages/admin/src-admin/src/components/Adapters/AdapterGeneric.tsx index 3de403dec..888ca9445 100644 --- a/packages/admin/src-admin/src/components/Adapters/AdapterGeneric.tsx +++ b/packages/admin/src-admin/src/components/Adapters/AdapterGeneric.tsx @@ -39,7 +39,7 @@ import { Build as BuildIcon, } from '@mui/icons-material'; -import { type IobTheme, Utils } from '@iobroker/react-components'; +import { type IobTheme, Utils } from '@iobroker/adapter-react-v5'; import AdapterUpdateDialog from '@/dialogs/AdapterUpdateDialog'; import CustomModal from '@/components/CustomModal'; diff --git a/packages/admin/src-admin/src/components/Adapters/AdapterInstallDialog.tsx b/packages/admin/src-admin/src/components/Adapters/AdapterInstallDialog.tsx index 02014384d..f782d65eb 100644 --- a/packages/admin/src-admin/src/components/Adapters/AdapterInstallDialog.tsx +++ b/packages/admin/src-admin/src/components/Adapters/AdapterInstallDialog.tsx @@ -1,7 +1,7 @@ import React, { Component, type JSX } from 'react'; import semver from 'semver'; -import { type Translate, type AdminConnection, type ThemeType, type IobTheme, I18n } from '@iobroker/react-components'; +import { type Translate, type AdminConnection, type ThemeType, type IobTheme, I18n } from '@iobroker/adapter-react-v5'; import { checkCondition, type CompactInstanceInfo } from '@/dialogs/AdapterUpdateDialog'; diff --git a/packages/admin/src-admin/src/components/Adapters/AdapterTile.tsx b/packages/admin/src-admin/src/components/Adapters/AdapterTile.tsx index d22018f6a..92a0ab269 100644 --- a/packages/admin/src-admin/src/components/Adapters/AdapterTile.tsx +++ b/packages/admin/src-admin/src/components/Adapters/AdapterTile.tsx @@ -5,7 +5,7 @@ import { Box, Card, CardContent, CardMedia, Fab, Tooltip, Typography } from '@mu import { MoreVert as MoreVertIcon } from '@mui/icons-material'; import { amber } from '@mui/material/colors'; -import { type IobTheme, Utils } from '@iobroker/react-components'; +import { type IobTheme, Utils } from '@iobroker/adapter-react-v5'; import IsVisible from '../IsVisible'; import AdapterGeneric, { diff --git a/packages/admin/src-admin/src/components/Adapters/AdaptersList.tsx b/packages/admin/src-admin/src/components/Adapters/AdaptersList.tsx index f2986f7a6..ebb37dd95 100644 --- a/packages/admin/src-admin/src/components/Adapters/AdaptersList.tsx +++ b/packages/admin/src-admin/src/components/Adapters/AdaptersList.tsx @@ -12,7 +12,7 @@ import { Typography, } from '@mui/material'; -import { TabContent } from '@iobroker/react-components'; +import { TabContent } from '@iobroker/adapter-react-v5'; import type { AdaptersContext } from '@/components/Adapters/AdapterInstallDialog'; import AdapterCategoryRow from '@/components/Adapters/AdapterCategoryRow'; diff --git a/packages/admin/src-admin/src/components/Adapters/AdaptersUpdater.tsx b/packages/admin/src-admin/src/components/Adapters/AdaptersUpdater.tsx index fa4112f5d..6618bcd1d 100644 --- a/packages/admin/src-admin/src/components/Adapters/AdaptersUpdater.tsx +++ b/packages/admin/src-admin/src/components/Adapters/AdaptersUpdater.tsx @@ -22,7 +22,7 @@ import { import { Close as CloseIcon, Language as LanguageIcon, Info as InfoIcon } from '@mui/icons-material'; -import { I18n, type IobTheme, Utils } from '@iobroker/react-components'; +import { I18n, type IobTheme, Utils } from '@iobroker/adapter-react-v5'; import type { AdapterRatingInfo, InstalledInfo } from '@/components/Adapters/AdapterInstallDialog'; import { checkCondition } from '@/dialogs/AdapterUpdateDialog'; diff --git a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsLog.tsx b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsLog.tsx index dcb180a4c..c29576c5b 100644 --- a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsLog.tsx +++ b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsLog.tsx @@ -30,7 +30,7 @@ import { Computer as IconSyslog, Send as IconStream, } from '@mui/icons-material'; -import { withWidth, type IobTheme, type Translate } from '@iobroker/react-components'; +import { withWidth, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; import IconSeq from '../../assets/seq.png'; const styles: Record = { diff --git a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsMultihost.tsx b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsMultihost.tsx index 559284887..7a1c65028 100644 --- a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsMultihost.tsx +++ b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsMultihost.tsx @@ -2,7 +2,7 @@ import React, { createRef, Component, type JSX } from 'react'; import { Grid2, FormControlLabel, Checkbox, TextField, Paper } from '@mui/material'; -import { type AdminConnection, withWidth, type Translate } from '@iobroker/react-components'; +import { type AdminConnection, withWidth, type Translate } from '@iobroker/adapter-react-v5'; const styles: Record = { paper: { diff --git a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsObjects.tsx b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsObjects.tsx index b1eed3e0e..3d290d64b 100644 --- a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsObjects.tsx +++ b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsObjects.tsx @@ -18,7 +18,7 @@ import { Box, } from '@mui/material'; -import { withWidth, DialogConfirm, type IobTheme, type Translate } from '@iobroker/react-components'; +import { withWidth, DialogConfirm, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; import { type AdminConnection } from '@iobroker/socket-client'; const styles: Record = { diff --git a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsPlugins.tsx b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsPlugins.tsx index d39f00926..1778bbf95 100644 --- a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsPlugins.tsx +++ b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsPlugins.tsx @@ -2,7 +2,7 @@ import React, { Component, type JSX } from 'react'; import { Paper } from '@mui/material'; -import { withWidth, type ThemeType, type Translate } from '@iobroker/react-components'; +import { withWidth, type ThemeType, type Translate } from '@iobroker/adapter-react-v5'; import Editor from '../Editor'; diff --git a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsStates.tsx b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsStates.tsx index 96fd56340..78d11304f 100644 --- a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsStates.tsx +++ b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsStates.tsx @@ -18,7 +18,7 @@ import { Box, } from '@mui/material'; -import { DialogConfirm, withWidth, type IobTheme, type Translate } from '@iobroker/react-components'; +import { DialogConfirm, withWidth, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; import { type AdminConnection } from '@iobroker/socket-client'; diff --git a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsSystem.tsx b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsSystem.tsx index 52ef01721..c619bc876 100644 --- a/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsSystem.tsx +++ b/packages/admin/src-admin/src/components/BaseSettings/BaseSettingsSystem.tsx @@ -2,7 +2,7 @@ import React, { createRef, Component, type JSX } from 'react'; import { Grid2, FormControlLabel, Checkbox, TextField, Paper } from '@mui/material'; -import { withWidth, type Translate } from '@iobroker/react-components'; +import { withWidth, type Translate } from '@iobroker/adapter-react-v5'; const styles: Record = { paper: { diff --git a/packages/admin/src-admin/src/components/Command.tsx b/packages/admin/src-admin/src/components/Command.tsx index e23441c56..a7f53725a 100644 --- a/packages/admin/src-admin/src/components/Command.tsx +++ b/packages/admin/src-admin/src/components/Command.tsx @@ -4,7 +4,7 @@ import { amber, blue, red } from '@mui/material/colors'; import { Grid2, LinearProgress, Paper, Switch, Typography } from '@mui/material'; -import { Router, type AdminConnection, type Translate } from '@iobroker/react-components'; +import { Router, type AdminConnection, type Translate } from '@iobroker/adapter-react-v5'; import AdminUtils, { type Style } from '../helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/components/CustomDragLayer.tsx b/packages/admin/src-admin/src/components/CustomDragLayer.tsx index 3b1557356..2e29e4a49 100644 --- a/packages/admin/src-admin/src/components/CustomDragLayer.tsx +++ b/packages/admin/src-admin/src/components/CustomDragLayer.tsx @@ -3,7 +3,7 @@ import { useDragLayer } from 'react-dnd'; import { Box } from '@mui/material'; -import type { IobTheme } from '@iobroker/react-components'; +import type { IobTheme } from '@iobroker/adapter-react-v5'; import DrawerItem from './DrawerItem'; diff --git a/packages/admin/src-admin/src/components/CustomModal.tsx b/packages/admin/src-admin/src/components/CustomModal.tsx index 2acc9445d..affb40352 100644 --- a/packages/admin/src-admin/src/components/CustomModal.tsx +++ b/packages/admin/src-admin/src/components/CustomModal.tsx @@ -14,7 +14,7 @@ import { import { Check as CheckIcon, Close as CloseIcon, Language as LanguageIcon } from '@mui/icons-material'; -import { I18n, type IobTheme, Utils } from '@iobroker/react-components'; +import { I18n, type IobTheme, Utils } from '@iobroker/adapter-react-v5'; const styles: Record = { modalDialog: { diff --git a/packages/admin/src-admin/src/components/CustomPopper.tsx b/packages/admin/src-admin/src/components/CustomPopper.tsx index c5238756c..74d575a21 100644 --- a/packages/admin/src-admin/src/components/CustomPopper.tsx +++ b/packages/admin/src-admin/src/components/CustomPopper.tsx @@ -4,7 +4,7 @@ import { Popper, Typography, Fade, Paper, IconButton } from '@mui/material'; import { Edit as EditIcon } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; let timer: ReturnType; diff --git a/packages/admin/src-admin/src/components/CustomSelectButton.tsx b/packages/admin/src-admin/src/components/CustomSelectButton.tsx index 75895d4b2..b9fa85da1 100644 --- a/packages/admin/src-admin/src/components/CustomSelectButton.tsx +++ b/packages/admin/src-admin/src/components/CustomSelectButton.tsx @@ -2,7 +2,7 @@ import React, { useState, type JSX } from 'react'; import { Button, Menu, MenuItem, Tooltip } from '@mui/material'; -import type { Translate } from '@iobroker/react-components'; +import type { Translate } from '@iobroker/adapter-react-v5'; import MaterialDynamicIcon from '../helpers/MaterialDynamicIcon'; const styles: Record = { diff --git a/packages/admin/src-admin/src/components/Drawer.tsx b/packages/admin/src-admin/src/components/Drawer.tsx index 0faa8b188..8a0914531 100644 --- a/packages/admin/src-admin/src/components/Drawer.tsx +++ b/packages/admin/src-admin/src/components/Drawer.tsx @@ -29,7 +29,7 @@ import { type IobTheme, type ThemeType, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import { getHref } from '@/tabs/CustomTab'; import AdminUtils from '@/helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/components/DrawerItem.tsx b/packages/admin/src-admin/src/components/DrawerItem.tsx index 428eb4d36..839cc8ec6 100644 --- a/packages/admin/src-admin/src/components/DrawerItem.tsx +++ b/packages/admin/src-admin/src/components/DrawerItem.tsx @@ -5,7 +5,7 @@ import { DragHandle } from '@mui/icons-material'; import { amber } from '@mui/material/colors'; -import { Utils, ColorPicker, type IobTheme } from '@iobroker/react-components'; +import { Utils, ColorPicker, type IobTheme } from '@iobroker/adapter-react-v5'; import AdminUtils from '../helpers/AdminUtils'; const styles: Record = { diff --git a/packages/admin/src-admin/src/components/EasyModeCard.tsx b/packages/admin/src-admin/src/components/EasyModeCard.tsx index 3f692eeca..17cfc1340 100644 --- a/packages/admin/src-admin/src/components/EasyModeCard.tsx +++ b/packages/admin/src-admin/src/components/EasyModeCard.tsx @@ -1,7 +1,7 @@ import React, { type JSX } from 'react'; import { Card, CardMedia } from '@mui/material'; -import { type IobTheme } from '@iobroker/react-components'; +import { type IobTheme } from '@iobroker/adapter-react-v5'; const boxShadow = '0 2px 2px 0 rgba(0, 0, 0, .14),0 3px 1px -2px rgba(0, 0, 0, .12),0 1px 5px 0 rgba(0, 0, 0, .2)'; const boxShadowHover = '0 8px 17px 0 rgba(0, 0, 0, .2),0 6px 20px 0 rgba(0, 0, 0, .19)'; diff --git a/packages/admin/src-admin/src/components/Editor.tsx b/packages/admin/src-admin/src/components/Editor.tsx index 6178ec41b..d5cc6619d 100644 --- a/packages/admin/src-admin/src/components/Editor.tsx +++ b/packages/admin/src-admin/src/components/Editor.tsx @@ -7,7 +7,7 @@ import 'ace-builds/src-min-noconflict/theme-clouds_midnight'; import 'ace-builds/src-min-noconflict/theme-chrome'; import 'ace-builds/src-min-noconflict/ext-language_tools'; -import type { ThemeType } from '@iobroker/react-components'; +import type { ThemeType } from '@iobroker/adapter-react-v5'; export interface EditorProps { fontSize?: number; diff --git a/packages/admin/src-admin/src/components/Enums/CategoryLabel.tsx b/packages/admin/src-admin/src/components/Enums/CategoryLabel.tsx index 3a665a109..71f1117b4 100644 --- a/packages/admin/src-admin/src/components/Enums/CategoryLabel.tsx +++ b/packages/admin/src-admin/src/components/Enums/CategoryLabel.tsx @@ -5,7 +5,7 @@ import { Tooltip, IconButton } from '@mui/material'; import { Edit as EditIcon, Delete as DeleteIcon } from '@mui/icons-material'; -import { Icon, type ThemeType, type Translate, Utils } from '@iobroker/react-components'; +import { Icon, type ThemeType, type Translate, Utils } from '@iobroker/adapter-react-v5'; interface CategoryLabelProps { categoryData: Record; diff --git a/packages/admin/src-admin/src/components/Enums/DragObjectBrowser.tsx b/packages/admin/src-admin/src/components/Enums/DragObjectBrowser.tsx index 25e30fa78..1e7ad66d0 100644 --- a/packages/admin/src-admin/src/components/Enums/DragObjectBrowser.tsx +++ b/packages/admin/src-admin/src/components/Enums/DragObjectBrowser.tsx @@ -7,7 +7,7 @@ import { Box, Card } from '@mui/material'; import { List as ListIcon } from '@mui/icons-material'; -import { type AdminConnection, Icon, type IobTheme, type Translate } from '@iobroker/react-components'; +import { type AdminConnection, Icon, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; import ObjectBrowser, { type TreeItemData, diff --git a/packages/admin/src-admin/src/components/Enums/EnumBlock.tsx b/packages/admin/src-admin/src/components/Enums/EnumBlock.tsx index 4c4467e6d..8cacc201a 100644 --- a/packages/admin/src-admin/src/components/Enums/EnumBlock.tsx +++ b/packages/admin/src-admin/src/components/Enums/EnumBlock.tsx @@ -27,7 +27,7 @@ import { type IobTheme, type ThemeType, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import AdminUtils from '@/helpers/AdminUtils'; import { type DragItem } from './DragObjectBrowser'; diff --git a/packages/admin/src-admin/src/components/Enums/EnumDeleteDialog.tsx b/packages/admin/src-admin/src/components/Enums/EnumDeleteDialog.tsx index 5a2c05acb..d90ab3a40 100644 --- a/packages/admin/src-admin/src/components/Enums/EnumDeleteDialog.tsx +++ b/packages/admin/src-admin/src/components/Enums/EnumDeleteDialog.tsx @@ -4,7 +4,7 @@ import { Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, B import { Delete as DeleteIcon, Close as CloseIcon } from '@mui/icons-material'; -import type { Translate } from '@iobroker/react-components'; +import type { Translate } from '@iobroker/adapter-react-v5'; interface EnumDeleteDialogProps { onClose: () => void; diff --git a/packages/admin/src-admin/src/components/Enums/EnumEditDialog.tsx b/packages/admin/src-admin/src/components/Enums/EnumEditDialog.tsx index 96bb85ccf..2464f21a6 100644 --- a/packages/admin/src-admin/src/components/Enums/EnumEditDialog.tsx +++ b/packages/admin/src-admin/src/components/Enums/EnumEditDialog.tsx @@ -13,7 +13,7 @@ import { Check as CheckIcon, } from '@mui/icons-material'; -import { Utils, IconPicker, type Translate } from '@iobroker/react-components'; +import { Utils, IconPicker, type Translate } from '@iobroker/adapter-react-v5'; import { IOTextField, IOColorPicker } from '../IOFields/Fields'; import type { EnumCommon } from './EnumBlock'; diff --git a/packages/admin/src-admin/src/components/Enums/EnumTemplateDialog.tsx b/packages/admin/src-admin/src/components/Enums/EnumTemplateDialog.tsx index 19c42ac28..c7e0ffa51 100644 --- a/packages/admin/src-admin/src/components/Enums/EnumTemplateDialog.tsx +++ b/packages/admin/src-admin/src/components/Enums/EnumTemplateDialog.tsx @@ -13,7 +13,7 @@ import { import { Clear as ClearIcon, Brush as CustomGroup, Close as CloseIcon } from '@mui/icons-material'; -import { Icon, type Translate, Utils } from '@iobroker/react-components'; +import { Icon, type Translate, Utils } from '@iobroker/adapter-react-v5'; import devices from '../../assets/devices/list.json'; import rooms from '../../assets/rooms/list.json'; diff --git a/packages/admin/src-admin/src/components/Enums/EnumsMain.tsx b/packages/admin/src-admin/src/components/Enums/EnumsMain.tsx index 05100b781..ea8c7b74c 100644 --- a/packages/admin/src-admin/src/components/Enums/EnumsMain.tsx +++ b/packages/admin/src-admin/src/components/Enums/EnumsMain.tsx @@ -15,7 +15,7 @@ import { } from '@mui/icons-material'; import { FaRegFolder as IconCollapsed, FaRegFolderOpen as IconExpanded } from 'react-icons/fa'; -import { type AdminConnection, type IobTheme, type ThemeType, type Translate } from '@iobroker/react-components'; +import { type AdminConnection, type IobTheme, type ThemeType, type Translate } from '@iobroker/adapter-react-v5'; import EnumBlock from './EnumBlock'; import CategoryLabel from './CategoryLabel'; diff --git a/packages/admin/src-admin/src/components/FileBrowser.tsx b/packages/admin/src-admin/src/components/FileBrowser.tsx index a2d9a094f..4bc2b7f91 100644 --- a/packages/admin/src-admin/src/components/FileBrowser.tsx +++ b/packages/admin/src-admin/src/components/FileBrowser.tsx @@ -75,7 +75,7 @@ import { type ThemeType, type Translate, type IobTheme, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import { FileViewer, EXTENSIONS } from './FileViewer'; diff --git a/packages/admin/src-admin/src/components/FileViewer.tsx b/packages/admin/src-admin/src/components/FileViewer.tsx index 218dfc30c..cfefb45be 100644 --- a/packages/admin/src-admin/src/components/FileViewer.tsx +++ b/packages/admin/src-admin/src/components/FileViewer.tsx @@ -14,7 +14,7 @@ import type { Connection } from '@iobroker/socket-client'; import * as ace from 'ace-builds'; import 'ace-builds/src-noconflict/ext-modelist'; -import { Utils, withWidth, IconNoIcon, Icon, type ThemeType, type Translate } from '@iobroker/react-components'; +import { Utils, withWidth, IconNoIcon, Icon, type ThemeType, type Translate } from '@iobroker/adapter-react-v5'; import Editor from './Editor'; diff --git a/packages/admin/src-admin/src/components/HostSelectors.tsx b/packages/admin/src-admin/src/components/HostSelectors.tsx index a4235efa5..8be0ab85b 100644 --- a/packages/admin/src-admin/src/components/HostSelectors.tsx +++ b/packages/admin/src-admin/src/components/HostSelectors.tsx @@ -2,7 +2,7 @@ import React, { Component, type JSX } from 'react'; import { Box, Button, Menu, MenuItem, Tooltip } from '@mui/material'; -import { type AdminConnection, I18n, Icon, Utils } from '@iobroker/react-components'; +import { type AdminConnection, I18n, Icon, Utils } from '@iobroker/adapter-react-v5'; import type { CompactHost } from '@/types'; import type HostsWorker from '@/Workers/HostsWorker'; import { type HostEvent, type HostAliveEvent } from '@/Workers/HostsWorker'; diff --git a/packages/admin/src-admin/src/components/Hosts/HostCard.tsx b/packages/admin/src-admin/src/components/Hosts/HostCard.tsx index b320b91c4..666cb62c3 100644 --- a/packages/admin/src-admin/src/components/Hosts/HostCard.tsx +++ b/packages/admin/src-admin/src/components/Hosts/HostCard.tsx @@ -4,7 +4,7 @@ import { Box, Card, CardContent, CardMedia, Fab, Skeleton, Typography } from '@m import { MoreVert as MoreVertIcon } from '@mui/icons-material'; -import { Utils, type IobTheme } from '@iobroker/react-components'; +import { Utils, type IobTheme } from '@iobroker/adapter-react-v5'; import AdminUtils from '@/helpers/AdminUtils'; import HostGeneric, { diff --git a/packages/admin/src-admin/src/components/Hosts/HostEdit.tsx b/packages/admin/src-admin/src/components/Hosts/HostEdit.tsx index 7398d3664..2778cd369 100644 --- a/packages/admin/src-admin/src/components/Hosts/HostEdit.tsx +++ b/packages/admin/src-admin/src/components/Hosts/HostEdit.tsx @@ -15,7 +15,7 @@ import { import { Close as IconClose, Check as IconCheck, Add as IconAdd, Close as CloseIcon } from '@mui/icons-material'; -import { UploadImage, type Translate } from '@iobroker/react-components'; +import { UploadImage, type Translate } from '@iobroker/adapter-react-v5'; const styles: Record = { error: { diff --git a/packages/admin/src-admin/src/components/Hosts/HostGeneric.tsx b/packages/admin/src-admin/src/components/Hosts/HostGeneric.tsx index 72a1ef562..417d2f648 100644 --- a/packages/admin/src-admin/src/components/Hosts/HostGeneric.tsx +++ b/packages/admin/src-admin/src/components/Hosts/HostGeneric.tsx @@ -37,7 +37,7 @@ import { type IobTheme, type ThemeType, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type HostsWorker from '@/Workers/HostsWorker'; import { type NotificationAnswer } from '@/Workers/HostsWorker'; diff --git a/packages/admin/src-admin/src/components/Hosts/HostRow.tsx b/packages/admin/src-admin/src/components/Hosts/HostRow.tsx index 9e768d21d..8c88a81cb 100644 --- a/packages/admin/src-admin/src/components/Hosts/HostRow.tsx +++ b/packages/admin/src-admin/src/components/Hosts/HostRow.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { Box, CardContent, CardMedia, Skeleton, Typography } from '@mui/material'; -import { Utils, type IobTheme } from '@iobroker/react-components'; +import { Utils, type IobTheme } from '@iobroker/adapter-react-v5'; import AdminUtils from '@/helpers/AdminUtils'; import HostGeneric, { diff --git a/packages/admin/src-admin/src/components/IOFields/Fields.tsx b/packages/admin/src-admin/src/components/IOFields/Fields.tsx index 8438d7645..08e97b83b 100644 --- a/packages/admin/src-admin/src/components/IOFields/Fields.tsx +++ b/packages/admin/src-admin/src/components/IOFields/Fields.tsx @@ -4,7 +4,7 @@ import { TextField, FormControl, InputAdornment, IconButton } from '@mui/materia import { Close as CloseIcon } from '@mui/icons-material'; -import { ColorPicker, type Translate } from '@iobroker/react-components'; +import { ColorPicker, type Translate } from '@iobroker/adapter-react-v5'; interface IOTextFieldProps { label: string; diff --git a/packages/admin/src-admin/src/components/Instances/InstanceCard.tsx b/packages/admin/src-admin/src/components/Instances/InstanceCard.tsx index 4c457ded7..0bbc8f5fa 100644 --- a/packages/admin/src-admin/src/components/Instances/InstanceCard.tsx +++ b/packages/admin/src-admin/src/components/Instances/InstanceCard.tsx @@ -4,7 +4,7 @@ import { Box, Card, CardContent, CardMedia, Fab, Typography } from '@mui/materia import { MoreVert as MoreVertIcon } from '@mui/icons-material'; -import { Utils, type IobTheme } from '@iobroker/react-components'; +import { Utils, type IobTheme } from '@iobroker/adapter-react-v5'; import InstanceGeneric, { type InstanceGenericProps, diff --git a/packages/admin/src-admin/src/components/Instances/InstanceFilterDialog.tsx b/packages/admin/src-admin/src/components/Instances/InstanceFilterDialog.tsx index 28d608d8a..56df377f7 100644 --- a/packages/admin/src-admin/src/components/Instances/InstanceFilterDialog.tsx +++ b/packages/admin/src-admin/src/components/Instances/InstanceFilterDialog.tsx @@ -24,7 +24,7 @@ import { import { green, grey, orange, red } from '@mui/material/colors'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import filterIcon from '../../assets/filter.svg'; diff --git a/packages/admin/src-admin/src/components/Instances/InstanceGeneric.tsx b/packages/admin/src-admin/src/components/Instances/InstanceGeneric.tsx index 446247616..32892969e 100644 --- a/packages/admin/src-admin/src/components/Instances/InstanceGeneric.tsx +++ b/packages/admin/src-admin/src/components/Instances/InstanceGeneric.tsx @@ -61,7 +61,7 @@ import { type IobTheme, type ThemeType, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import { amber, blue, green, grey, orange, red } from '@mui/material/colors'; import State from '@/components/State'; diff --git a/packages/admin/src-admin/src/components/Instances/LinksDialog.tsx b/packages/admin/src-admin/src/components/Instances/LinksDialog.tsx index c4a4f179d..0257b96dd 100644 --- a/packages/admin/src-admin/src/components/Instances/LinksDialog.tsx +++ b/packages/admin/src-admin/src/components/Instances/LinksDialog.tsx @@ -2,7 +2,7 @@ import React, { Component, type JSX } from 'react'; import { List, ListItemButton, ListItemText, DialogTitle, Dialog, ListItemAvatar, Avatar } from '@mui/material'; -import { I18n, type ThemeType, type Translate, Utils } from '@iobroker/react-components'; +import { I18n, type ThemeType, type Translate, Utils } from '@iobroker/adapter-react-v5'; import AdminUtils from '../../helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/components/Intro/CameraIntroDialog.tsx b/packages/admin/src-admin/src/components/Intro/CameraIntroDialog.tsx index 4f78f57fb..6a3177a06 100644 --- a/packages/admin/src-admin/src/components/Intro/CameraIntroDialog.tsx +++ b/packages/admin/src-admin/src/components/Intro/CameraIntroDialog.tsx @@ -4,7 +4,7 @@ import { Button, Dialog, DialogActions, DialogContent, DialogTitle, IconButton, import { Close as CloseIcon } from '@mui/icons-material'; -import type { IobTheme, Translate, AdminConnection } from '@iobroker/react-components'; +import type { IobTheme, Translate, AdminConnection } from '@iobroker/adapter-react-v5'; const styles: Record = { rootGrid: { diff --git a/packages/admin/src-admin/src/components/Intro/EditIntroLinkDialog.tsx b/packages/admin/src-admin/src/components/Intro/EditIntroLinkDialog.tsx index 4a0e56506..627d08040 100644 --- a/packages/admin/src-admin/src/components/Intro/EditIntroLinkDialog.tsx +++ b/packages/admin/src-admin/src/components/Intro/EditIntroLinkDialog.tsx @@ -23,7 +23,7 @@ import { // icons import { Add as AddIcon, Check as CheckIcon, Close as CloseIcon } from '@mui/icons-material'; -import { UploadImage, type AdminConnection, type IobTheme, type Translate } from '@iobroker/react-components'; +import { UploadImage, type AdminConnection, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; import IntroCardCamera from '@/components/Intro/IntroCardCamera'; import IntroCard from './IntroCard'; diff --git a/packages/admin/src-admin/src/components/Intro/IntroCard.tsx b/packages/admin/src-admin/src/components/Intro/IntroCard.tsx index 254308850..6d5a53a69 100644 --- a/packages/admin/src-admin/src/components/Intro/IntroCard.tsx +++ b/packages/admin/src-admin/src/components/Intro/IntroCard.tsx @@ -26,7 +26,7 @@ import { import { blue, grey, red } from '@mui/material/colors'; -import { Utils, IconCopy as SaveIcon, type IobTheme, type Translate } from '@iobroker/react-components'; +import { Utils, IconCopy as SaveIcon, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; import AdminUtils from '../../helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/components/Intro/IntroCardCamera.tsx b/packages/admin/src-admin/src/components/Intro/IntroCardCamera.tsx index c89a38bdd..d5abd53bf 100644 --- a/packages/admin/src-admin/src/components/Intro/IntroCardCamera.tsx +++ b/packages/admin/src-admin/src/components/Intro/IntroCardCamera.tsx @@ -4,7 +4,7 @@ import { Grid2, Skeleton } from '@mui/material'; import { Error as ErrorIcon } from '@mui/icons-material'; -import { type AdminConnection } from '@iobroker/react-components'; +import { type AdminConnection } from '@iobroker/adapter-react-v5'; import IntroCard, { type IntroCardProps, type IntroCardState } from '@/components/Intro/IntroCard'; import CameraIntroDialog from './CameraIntroDialog'; diff --git a/packages/admin/src-admin/src/components/MDUtils.tsx b/packages/admin/src-admin/src/components/MDUtils.tsx index 0bdcbfd8f..e629547d0 100644 --- a/packages/admin/src-admin/src/components/MDUtils.tsx +++ b/packages/admin/src-admin/src/components/MDUtils.tsx @@ -4,7 +4,7 @@ * MIT License * */ -import { Utils } from '@iobroker/react-components'; +import { Utils } from '@iobroker/adapter-react-v5'; export const EXPAND_LANGUAGE = { en: 'english', diff --git a/packages/admin/src-admin/src/components/Markdown.tsx b/packages/admin/src-admin/src/components/Markdown.tsx index 6d4e1e003..e202fcd31 100644 --- a/packages/admin/src-admin/src/components/Markdown.tsx +++ b/packages/admin/src-admin/src/components/Markdown.tsx @@ -23,7 +23,7 @@ import { MdClose as IconClose, MdMenu as IconMenu, MdExpandMore as IconExpandMor import { FaGithub as IconGithub } from 'react-icons/fa'; -import { type AdminConnection, type IobTheme, type ThemeName, I18n, Loader, Utils } from '@iobroker/react-components'; +import { type AdminConnection, type IobTheme, type ThemeName, I18n, Loader, Utils } from '@iobroker/adapter-react-v5'; import IconGlobe from '../assets/globe.svg'; import IconLink from '../assets/link.svg'; @@ -35,7 +35,7 @@ import MDUtils, { type MarkdownHeader, type MarkdownPart, } from './MDUtils'; -// import { Page404 } from '@iobroker/react-components'; +// import { Page404 } from '@iobroker/adapter-react-v5'; const styles: Record = { root: { diff --git a/packages/admin/src-admin/src/components/NotificationMessage.tsx b/packages/admin/src-admin/src/components/NotificationMessage.tsx index d77fbd00f..92cd721c4 100644 --- a/packages/admin/src-admin/src/components/NotificationMessage.tsx +++ b/packages/admin/src-admin/src/components/NotificationMessage.tsx @@ -9,7 +9,7 @@ import { type ThemeName, type ThemeType, Utils, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import { type BackEndCommandGeneric, type BackEndCommandOpenLink, diff --git a/packages/admin/src-admin/src/components/Object/ObjectBrowserEditObject.tsx b/packages/admin/src-admin/src/components/Object/ObjectBrowserEditObject.tsx index a33f36298..905a5d0d2 100644 --- a/packages/admin/src-admin/src/components/Object/ObjectBrowserEditObject.tsx +++ b/packages/admin/src-admin/src/components/Object/ObjectBrowserEditObject.tsx @@ -38,7 +38,7 @@ import { type Translate, type ThemeType, type IobTheme, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import Editor from '../Editor'; diff --git a/packages/admin/src-admin/src/components/Object/ObjectBrowserEditRole.tsx b/packages/admin/src-admin/src/components/Object/ObjectBrowserEditRole.tsx index 9468b481c..729a01303 100644 --- a/packages/admin/src-admin/src/components/Object/ObjectBrowserEditRole.tsx +++ b/packages/admin/src-admin/src/components/Object/ObjectBrowserEditRole.tsx @@ -3,7 +3,7 @@ import React, { Component, type JSX } from 'react'; import { Dialog, DialogTitle, DialogContent, DialogActions, TextField, Button, Autocomplete } from '@mui/material'; import { Close as IconCancel, Check as IconCheck } from '@mui/icons-material'; -import type { AdminConnection, Translate } from '@iobroker/react-components'; +import type { AdminConnection, Translate } from '@iobroker/adapter-react-v5'; interface ObjectBrowserEditRoleProps { roles: string[]; diff --git a/packages/admin/src-admin/src/components/Object/ObjectBrowserValue.tsx b/packages/admin/src-admin/src/components/Object/ObjectBrowserValue.tsx index 1e99a36fc..b0e6d4e26 100644 --- a/packages/admin/src-admin/src/components/Object/ObjectBrowserValue.tsx +++ b/packages/admin/src-admin/src/components/Object/ObjectBrowserValue.tsx @@ -34,7 +34,7 @@ import { Info as InfoIcon, } from '@mui/icons-material'; -import { type AdminConnection, type IobTheme, type ThemeType, type Translate } from '@iobroker/react-components'; +import { type AdminConnection, type IobTheme, type ThemeType, type Translate } from '@iobroker/adapter-react-v5'; import ObjectChart from './ObjectChart'; import { localeMap } from './utils'; diff --git a/packages/admin/src-admin/src/components/Object/ObjectChart.tsx b/packages/admin/src-admin/src/components/Object/ObjectChart.tsx index 10239b353..6074ba469 100644 --- a/packages/admin/src-admin/src/components/Object/ObjectChart.tsx +++ b/packages/admin/src-admin/src/components/Object/ObjectChart.tsx @@ -36,7 +36,7 @@ import { type IobTheme, type ThemeType, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; // icons import { FaChartLine as SplitLineIcon } from 'react-icons/fa'; diff --git a/packages/admin/src-admin/src/components/Object/ObjectCustomEditor.tsx b/packages/admin/src-admin/src/components/Object/ObjectCustomEditor.tsx index df9f22da8..fe30a695e 100644 --- a/packages/admin/src-admin/src/components/Object/ObjectCustomEditor.tsx +++ b/packages/admin/src-admin/src/components/Object/ObjectCustomEditor.tsx @@ -15,7 +15,7 @@ import { // Icons import { ExpandMore as ExpandMoreIcon } from '@mui/icons-material'; -import { withWidth, DialogError, DialogConfirm, type IobTheme } from '@iobroker/react-components'; +import { withWidth, DialogError, DialogConfirm, type IobTheme } from '@iobroker/adapter-react-v5'; import { ConfigGeneric, JsonConfigComponent, type ConfigItemPanel } from '@iobroker/json-config'; import AdminUtils from '@/helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/components/Object/ObjectHistoryData.tsx b/packages/admin/src-admin/src/components/Object/ObjectHistoryData.tsx index d3f1ce033..63141e9b2 100644 --- a/packages/admin/src-admin/src/components/Object/ObjectHistoryData.tsx +++ b/packages/admin/src-admin/src/components/Object/ObjectHistoryData.tsx @@ -40,7 +40,7 @@ import { type AdminConnection, type IobTheme, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import { localeMap } from './utils'; diff --git a/packages/admin/src-admin/src/components/ObjectBrowser.tsx b/packages/admin/src-admin/src/components/ObjectBrowser.tsx index eca4b3607..0256c63f4 100644 --- a/packages/admin/src-admin/src/components/ObjectBrowser.tsx +++ b/packages/admin/src-admin/src/components/ObjectBrowser.tsx @@ -105,7 +105,7 @@ import { type ThemeType, type ThemeName, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; // own declare global { diff --git a/packages/admin/src-admin/src/components/Users/GroupBlock.tsx b/packages/admin/src-admin/src/components/Users/GroupBlock.tsx index 82c0394ed..cc9c8421c 100644 --- a/packages/admin/src-admin/src/components/Users/GroupBlock.tsx +++ b/packages/admin/src-admin/src/components/Users/GroupBlock.tsx @@ -10,7 +10,7 @@ import { Delete as DeleteIcon, } from '@mui/icons-material'; -import { Utils, Icon, type Translate, type ThemeType, type IobTheme } from '@iobroker/react-components'; +import { Utils, Icon, type Translate, type ThemeType, type IobTheme } from '@iobroker/adapter-react-v5'; interface GroupBlockProps { t: Translate; diff --git a/packages/admin/src-admin/src/components/Users/GroupDeleteDialog.tsx b/packages/admin/src-admin/src/components/Users/GroupDeleteDialog.tsx index 5d5fdd72b..4b364bf9d 100644 --- a/packages/admin/src-admin/src/components/Users/GroupDeleteDialog.tsx +++ b/packages/admin/src-admin/src/components/Users/GroupDeleteDialog.tsx @@ -3,7 +3,7 @@ import { Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, B import { Close as IconCancel, Delete as IconDelete } from '@mui/icons-material'; -import { type Translate } from '@iobroker/react-components'; +import { type Translate } from '@iobroker/adapter-react-v5'; interface GroupDeleteDialogProps { t: Translate; diff --git a/packages/admin/src-admin/src/components/Users/GroupEditDialog.tsx b/packages/admin/src-admin/src/components/Users/GroupEditDialog.tsx index 663cf4c06..b8fdd6722 100644 --- a/packages/admin/src-admin/src/components/Users/GroupEditDialog.tsx +++ b/packages/admin/src-admin/src/components/Users/GroupEditDialog.tsx @@ -25,7 +25,7 @@ import { Check as IconCheck, } from '@mui/icons-material'; -import { Utils, IconPicker, type Translate } from '@iobroker/react-components'; +import { Utils, IconPicker, type Translate } from '@iobroker/adapter-react-v5'; import { IOTextField, IOColorPicker } from '../IOFields/Fields'; import Group1 from '../../assets/groups/group1.svg'; diff --git a/packages/admin/src-admin/src/components/Users/UserBlock.tsx b/packages/admin/src-admin/src/components/Users/UserBlock.tsx index 80b042c3a..f6f544cab 100644 --- a/packages/admin/src-admin/src/components/Users/UserBlock.tsx +++ b/packages/admin/src-admin/src/components/Users/UserBlock.tsx @@ -12,7 +12,7 @@ import { Delete as DeleteIcon, } from '@mui/icons-material'; -import { Icon, Utils, type AdminConnection, type Translate, type ThemeType } from '@iobroker/react-components'; +import { Icon, Utils, type AdminConnection, type Translate, type ThemeType } from '@iobroker/adapter-react-v5'; interface UserBlockProps { t: Translate; diff --git a/packages/admin/src-admin/src/components/Users/UserDeleteDialog.tsx b/packages/admin/src-admin/src/components/Users/UserDeleteDialog.tsx index a4b1f92bf..74f05d122 100644 --- a/packages/admin/src-admin/src/components/Users/UserDeleteDialog.tsx +++ b/packages/admin/src-admin/src/components/Users/UserDeleteDialog.tsx @@ -3,7 +3,7 @@ import { Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, B import { Close as IconCancel, Delete as IconDelete } from '@mui/icons-material'; -import { type Translate } from '@iobroker/react-components'; +import { type Translate } from '@iobroker/adapter-react-v5'; interface UserDeleteDialogProps { t: Translate; diff --git a/packages/admin/src-admin/src/components/Users/UserEditDialog.tsx b/packages/admin/src-admin/src/components/Users/UserEditDialog.tsx index 7221b21e4..f0b5beabf 100644 --- a/packages/admin/src-admin/src/components/Users/UserEditDialog.tsx +++ b/packages/admin/src-admin/src/components/Users/UserEditDialog.tsx @@ -14,7 +14,7 @@ import { Check as IconCheck, } from '@mui/icons-material'; -import { Utils, IconPicker, type Translate } from '@iobroker/react-components'; +import { Utils, IconPicker, type Translate } from '@iobroker/adapter-react-v5'; import { IOTextField, IOColorPicker } from '../IOFields/Fields'; import AdminUtils from '../../helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/components/Users/UsersList.tsx b/packages/admin/src-admin/src/components/Users/UsersList.tsx index a02ba689a..5447fd78b 100644 --- a/packages/admin/src-admin/src/components/Users/UsersList.tsx +++ b/packages/admin/src-admin/src/components/Users/UsersList.tsx @@ -9,7 +9,7 @@ import { LinearProgress, Grid2, Typography, Fab, Box } from '@mui/material'; import { PersonAdd as PersonAddIcon, GroupAdd as GroupAddIcon } from '@mui/icons-material'; -import { Utils, type AdminConnection, type Translate, type IobTheme, type ThemeType } from '@iobroker/react-components'; +import { Utils, type AdminConnection, type Translate, type IobTheme, type ThemeType } from '@iobroker/adapter-react-v5'; import AdminUtils from '@/helpers/AdminUtils'; import UserBlock from './UserBlock'; diff --git a/packages/admin/src-admin/src/components/Wizard/WizardAdaptersTab.tsx b/packages/admin/src-admin/src/components/Wizard/WizardAdaptersTab.tsx index 963543a06..05696ca69 100644 --- a/packages/admin/src-admin/src/components/Wizard/WizardAdaptersTab.tsx +++ b/packages/admin/src-admin/src/components/Wizard/WizardAdaptersTab.tsx @@ -12,7 +12,7 @@ import { LinearProgress, } from '@mui/material'; import { Check as IconCheck, ExpandMore as ExpandMoreIcon, ArrowForward as IconNext } from '@mui/icons-material'; -import { type AdminConnection, I18n } from '@iobroker/react-components'; +import { type AdminConnection, I18n } from '@iobroker/adapter-react-v5'; import type { Repository } from '@/types'; interface WizardAdaptersTabProps { diff --git a/packages/admin/src-admin/src/components/Wizard/WizardAuthSSLTab.tsx b/packages/admin/src-admin/src/components/Wizard/WizardAuthSSLTab.tsx index 24dcb6e64..a28231564 100644 --- a/packages/admin/src-admin/src/components/Wizard/WizardAuthSSLTab.tsx +++ b/packages/admin/src-admin/src/components/Wizard/WizardAuthSSLTab.tsx @@ -18,7 +18,7 @@ import { import { Check as IconCheck } from '@mui/icons-material'; -import { type IobTheme, type Translate, withWidth } from '@iobroker/react-components'; +import { type IobTheme, type Translate, withWidth } from '@iobroker/adapter-react-v5'; const TOOLBAR_HEIGHT = 64; diff --git a/packages/admin/src-admin/src/components/Wizard/WizardLicenseTab.tsx b/packages/admin/src-admin/src/components/Wizard/WizardLicenseTab.tsx index 2e638648d..57cb4fcd6 100644 --- a/packages/admin/src-admin/src/components/Wizard/WizardLicenseTab.tsx +++ b/packages/admin/src-admin/src/components/Wizard/WizardLicenseTab.tsx @@ -21,7 +21,7 @@ import { import { Language as IconWorld, Close as IconCancel, Check as IconCheck, Close } from '@mui/icons-material'; -import { type AdminConnection, I18n, type ThemeType, type Translate, withWidth } from '@iobroker/react-components'; +import { type AdminConnection, I18n, type ThemeType, type Translate, withWidth } from '@iobroker/adapter-react-v5'; import Editor from '@/components/Editor'; import LicenseTexts from '../LicenseTexts'; diff --git a/packages/admin/src-admin/src/components/Wizard/WizardPasswordTab.tsx b/packages/admin/src-admin/src/components/Wizard/WizardPasswordTab.tsx index c8a665d9f..54d2476fd 100644 --- a/packages/admin/src-admin/src/components/Wizard/WizardPasswordTab.tsx +++ b/packages/admin/src-admin/src/components/Wizard/WizardPasswordTab.tsx @@ -4,7 +4,7 @@ import { TextField, Grid2, Toolbar, Button, Paper, Box } from '@mui/material'; import { Check as IconCheck } from '@mui/icons-material'; -import { type IobTheme, type Translate, withWidth } from '@iobroker/react-components'; +import { type IobTheme, type Translate, withWidth } from '@iobroker/adapter-react-v5'; import AdminUtils from '../../helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/components/Wizard/WizardPortForwarding.tsx b/packages/admin/src-admin/src/components/Wizard/WizardPortForwarding.tsx index 8aa8a9bd8..bf378f5b6 100644 --- a/packages/admin/src-admin/src/components/Wizard/WizardPortForwarding.tsx +++ b/packages/admin/src-admin/src/components/Wizard/WizardPortForwarding.tsx @@ -4,7 +4,7 @@ import { Grid2, Toolbar, Button, Paper, Box } from '@mui/material'; import { Public as IconCloud, Language as IconCloudPro, Check as IconCheck } from '@mui/icons-material'; -import { withWidth, type IobTheme, type Translate } from '@iobroker/react-components'; +import { withWidth, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; const TOOLBAR_HEIGHT = 64; diff --git a/packages/admin/src-admin/src/components/Wizard/WizardSettingsTab.tsx b/packages/admin/src-admin/src/components/Wizard/WizardSettingsTab.tsx index 6dd097597..ba7e2aedd 100644 --- a/packages/admin/src-admin/src/components/Wizard/WizardSettingsTab.tsx +++ b/packages/admin/src-admin/src/components/Wizard/WizardSettingsTab.tsx @@ -27,7 +27,7 @@ import { OSM, Vector as VectorSource } from 'ol/source'; import { Point } from 'ol/geom'; import { toLonLat, fromLonLat } from 'ol/proj'; -import { type AdminConnection, type IobTheme, type Translate, withWidth } from '@iobroker/react-components'; +import { type AdminConnection, type IobTheme, type Translate, withWidth } from '@iobroker/adapter-react-v5'; // Icons import { FaCrosshairs as GeoIcon } from 'react-icons/fa'; diff --git a/packages/admin/src-admin/src/dialogs/AdapterDeletionDialog.tsx b/packages/admin/src-admin/src/dialogs/AdapterDeletionDialog.tsx index b513226de..2347297e4 100644 --- a/packages/admin/src-admin/src/dialogs/AdapterDeletionDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/AdapterDeletionDialog.tsx @@ -14,7 +14,7 @@ import { import { Close as CloseIcon, Check as CheckIcon } from '@mui/icons-material'; -import type { AdminConnection, IobTheme, Translate } from '@iobroker/react-components'; +import type { AdminConnection, IobTheme, Translate } from '@iobroker/adapter-react-v5'; const styles: Record = { formControl: { diff --git a/packages/admin/src-admin/src/dialogs/AdapterUpdateDialog.tsx b/packages/admin/src-admin/src/dialogs/AdapterUpdateDialog.tsx index 987852a2e..ae6f4d59c 100644 --- a/packages/admin/src-admin/src/dialogs/AdapterUpdateDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/AdapterUpdateDialog.tsx @@ -24,7 +24,7 @@ import { Language as LanguageIcon, } from '@mui/icons-material'; -import { I18n, Utils, type IobTheme, type Translate } from '@iobroker/react-components'; +import { I18n, Utils, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; import { MOBILE_WIDTH } from '@/helpers/MobileDialog'; import type { RepoAdapterObject } from '@/components/Adapters/Utils'; diff --git a/packages/admin/src-admin/src/dialogs/AdaptersUpdaterDialog.tsx b/packages/admin/src-admin/src/dialogs/AdaptersUpdaterDialog.tsx index 4071e8730..020bee71f 100644 --- a/packages/admin/src-admin/src/dialogs/AdaptersUpdaterDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/AdaptersUpdaterDialog.tsx @@ -21,7 +21,7 @@ import { Language as LanguageIcon, } from '@mui/icons-material'; -import { type AdminConnection, I18n, Utils, type IobTheme, type Translate } from '@iobroker/react-components'; +import { type AdminConnection, I18n, Utils, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; import type { AdapterRatingInfo, InstalledInfo } from '@/components/Adapters/AdapterInstallDialog'; import type { RepoAdapterObject } from '@/components/Adapters/Utils'; diff --git a/packages/admin/src-admin/src/dialogs/AddInstanceDialog.tsx b/packages/admin/src-admin/src/dialogs/AddInstanceDialog.tsx index 16f83d216..985ee8e6a 100644 --- a/packages/admin/src-admin/src/dialogs/AddInstanceDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/AddInstanceDialog.tsx @@ -18,7 +18,7 @@ import { } from '@mui/material'; import { Close as CloseIcon, Add as AddIcon, Public as IconWeb, Language as LanguageIcon } from '@mui/icons-material'; -import { type AdminConnection, I18n, Utils, type IobTheme, type Translate } from '@iobroker/react-components'; +import { type AdminConnection, I18n, Utils, type IobTheme, type Translate } from '@iobroker/adapter-react-v5'; import type HostsWorker from '@/Workers/HostsWorker'; import type InstancesWorker from '@/Workers/InstancesWorker'; @@ -190,13 +190,7 @@ class AddInstanceDialog extends Component = { diff --git a/packages/admin/src-admin/src/dialogs/DiscoveryDialog.tsx b/packages/admin/src-admin/src/dialogs/DiscoveryDialog.tsx index d1662ad34..71ad8fb9f 100644 --- a/packages/admin/src-admin/src/dialogs/DiscoveryDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/DiscoveryDialog.tsx @@ -47,7 +47,7 @@ import { type AdminConnection, type ThemeType, type ThemeName, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type { CompactHost } from '@/types'; import Command from '../components/Command'; diff --git a/packages/admin/src-admin/src/dialogs/ExpertModeDialog.tsx b/packages/admin/src-admin/src/dialogs/ExpertModeDialog.tsx index b757533dd..388054f2d 100644 --- a/packages/admin/src-admin/src/dialogs/ExpertModeDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/ExpertModeDialog.tsx @@ -15,7 +15,7 @@ import { } from '@mui/material'; import { Build as BuildIcon, Check as CheckIcon } from '@mui/icons-material'; -import { I18n, IconExpert, type IobTheme } from '@iobroker/react-components'; +import { I18n, IconExpert, type IobTheme } from '@iobroker/adapter-react-v5'; const styles: Record = { root: (theme: IobTheme) => ({ diff --git a/packages/admin/src-admin/src/dialogs/FileEditOfAccessControl.tsx b/packages/admin/src-admin/src/dialogs/FileEditOfAccessControl.tsx index e92ba8eb7..b8b5e7535 100644 --- a/packages/admin/src-admin/src/dialogs/FileEditOfAccessControl.tsx +++ b/packages/admin/src-admin/src/dialogs/FileEditOfAccessControl.tsx @@ -8,7 +8,7 @@ import { type ThemeType, type Translate, type IobTheme, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type { FolderOrFileItem, Folders, MetaACL, MetaObject } from '@/components/FileBrowser'; diff --git a/packages/admin/src-admin/src/dialogs/GenerateInputsModal.tsx b/packages/admin/src-admin/src/dialogs/GenerateInputsModal.tsx index 72b98a54c..bf4f8821f 100644 --- a/packages/admin/src-admin/src/dialogs/GenerateInputsModal.tsx +++ b/packages/admin/src-admin/src/dialogs/GenerateInputsModal.tsx @@ -4,7 +4,7 @@ import { Button, Dialog, DialogActions, DialogContent, Paper, Typography, Box, A import { Settings as SettingsIcon, Close as CloseIcon, Check as CheckIcon } from '@mui/icons-material'; -import { I18n, type AdminConnection, type ThemeName, type ThemeType, type IobTheme } from '@iobroker/react-components'; +import { I18n, type AdminConnection, type ThemeName, type ThemeType, type IobTheme } from '@iobroker/adapter-react-v5'; import { type ConfigItemPanel, ConfigPanel } from '@iobroker/json-config'; diff --git a/packages/admin/src-admin/src/dialogs/GitHubInstallDialog.tsx b/packages/admin/src-admin/src/dialogs/GitHubInstallDialog.tsx index 58d4d4b6d..bee21b882 100644 --- a/packages/admin/src-admin/src/dialogs/GitHubInstallDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/GitHubInstallDialog.tsx @@ -27,7 +27,7 @@ import { Delete, } from '@mui/icons-material'; -import { I18n, Icon, type IobTheme } from '@iobroker/react-components'; +import { I18n, Icon, type IobTheme } from '@iobroker/adapter-react-v5'; import type { RepoAdapterObject } from '@/components/Adapters/Utils'; import type { AdapterRatingInfo, InstalledInfo } from '@/components/Adapters/AdapterInstallDialog'; diff --git a/packages/admin/src-admin/src/dialogs/HostWarningDialog.tsx b/packages/admin/src-admin/src/dialogs/HostWarningDialog.tsx index 09ea20581..4f00d003c 100644 --- a/packages/admin/src-admin/src/dialogs/HostWarningDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/HostWarningDialog.tsx @@ -32,7 +32,7 @@ import { Close as CloseIcon, } from '@mui/icons-material'; -import { I18n, Utils, type ThemeType, type IobTheme } from '@iobroker/react-components'; +import { I18n, Utils, type ThemeType, type IobTheme } from '@iobroker/adapter-react-v5'; const styles: Record = { root: (theme: IobTheme) => ({ diff --git a/packages/admin/src-admin/src/dialogs/JsControllerDialog.tsx b/packages/admin/src-admin/src/dialogs/JsControllerDialog.tsx index 7db68ca12..caf111c2a 100644 --- a/packages/admin/src-admin/src/dialogs/JsControllerDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/JsControllerDialog.tsx @@ -17,7 +17,7 @@ import { import { ExpandMore as ExpandMoreIcon, Description as DescriptionIcon, Close as CloseIcon } from '@mui/icons-material'; -import { I18n, Utils, IconCopy, type IobTheme } from '@iobroker/react-components'; +import { I18n, Utils, IconCopy, type IobTheme } from '@iobroker/adapter-react-v5'; import { CONTROLLER_CHANGELOG_URL } from '@/helpers/utils'; const styles: Record = { diff --git a/packages/admin/src-admin/src/dialogs/JsControllerUpdater.tsx b/packages/admin/src-admin/src/dialogs/JsControllerUpdater.tsx index b5f4e0c0c..76ce05eec 100644 --- a/packages/admin/src-admin/src/dialogs/JsControllerUpdater.tsx +++ b/packages/admin/src-admin/src/dialogs/JsControllerUpdater.tsx @@ -5,7 +5,7 @@ import { LinearProgress, Button, Dialog, DialogActions, DialogContent, DialogTit import { Close as CloseIcon, Refresh as ReloadIcon } from '@mui/icons-material'; -import { type AdminConnection, I18n, type ThemeType } from '@iobroker/react-components'; +import { type AdminConnection, I18n, type ThemeType } from '@iobroker/adapter-react-v5'; interface NetworkInterface { address: string; diff --git a/packages/admin/src-admin/src/dialogs/LicenseDialog.tsx b/packages/admin/src-admin/src/dialogs/LicenseDialog.tsx index 38d21f79f..cf3e52058 100644 --- a/packages/admin/src-admin/src/dialogs/LicenseDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/LicenseDialog.tsx @@ -5,7 +5,7 @@ import { Box, Button, Dialog, DialogActions, DialogContent, DialogTitle, LinearP import { Close as IconClose, Check as IconCheck, ArrowDownward as IconArrowDownward } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; const styles: Record = { root: { diff --git a/packages/admin/src-admin/src/dialogs/NewsAdminDialog.tsx b/packages/admin/src-admin/src/dialogs/NewsAdminDialog.tsx index ea600d11d..bbd6f2685 100644 --- a/packages/admin/src-admin/src/dialogs/NewsAdminDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/NewsAdminDialog.tsx @@ -11,7 +11,7 @@ import { Public as WorldIcon, } from '@mui/icons-material'; -import { I18n, type IobTheme, Utils } from '@iobroker/react-components'; +import { I18n, type IobTheme, Utils } from '@iobroker/adapter-react-v5'; import type { CompactAdapterInfo } from '@/types'; const styles: Record = { diff --git a/packages/admin/src-admin/src/dialogs/NodeUpdateDialog.tsx b/packages/admin/src-admin/src/dialogs/NodeUpdateDialog.tsx index 419621c8d..7889352b0 100644 --- a/packages/admin/src-admin/src/dialogs/NodeUpdateDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/NodeUpdateDialog.tsx @@ -11,7 +11,7 @@ import { } from '@mui/material'; import { Close as CloseIcon, Refresh as RefreshIcon } from '@mui/icons-material'; -import { type AdminConnection, I18n } from '@iobroker/react-components'; +import { type AdminConnection, I18n } from '@iobroker/adapter-react-v5'; interface NodeUpdateDialogProps { /** Called when user closes dialog */ diff --git a/packages/admin/src-admin/src/dialogs/NotificationsDialog.tsx b/packages/admin/src-admin/src/dialogs/NotificationsDialog.tsx index cee63d9de..a6f056025 100644 --- a/packages/admin/src-admin/src/dialogs/NotificationsDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/NotificationsDialog.tsx @@ -26,7 +26,7 @@ import { Close as CloseIcon, } from '@mui/icons-material'; -import { I18n, type ThemeType, type IobTheme, type AdminConnection, type ThemeName } from '@iobroker/react-components'; +import { I18n, type ThemeType, type IobTheme, type AdminConnection, type ThemeName } from '@iobroker/adapter-react-v5'; import NotificationMessage, { type Message, type Severity } from '../components/NotificationMessage'; import type { BackEndCommandGeneric } from '#JC/types'; diff --git a/packages/admin/src-admin/src/dialogs/ObjectAddNewObject.tsx b/packages/admin/src-admin/src/dialogs/ObjectAddNewObject.tsx index 04c795bf5..9cab7e757 100644 --- a/packages/admin/src-admin/src/dialogs/ObjectAddNewObject.tsx +++ b/packages/admin/src-admin/src/dialogs/ObjectAddNewObject.tsx @@ -17,7 +17,7 @@ import { import { Check as CheckIcon, Close as CloseIcon, AddBox as AddIcon } from '@mui/icons-material'; -import { I18n, Utils } from '@iobroker/react-components'; +import { I18n, Utils } from '@iobroker/adapter-react-v5'; import type { ioBrokerObject } from '@/types'; const stateTypeArray = ['array', 'boolean', 'file', 'json', 'mixed', 'number', 'object', 'string']; diff --git a/packages/admin/src-admin/src/dialogs/ObjectAliasEditor.tsx b/packages/admin/src-admin/src/dialogs/ObjectAliasEditor.tsx index ec53cc518..cc09220cb 100644 --- a/packages/admin/src-admin/src/dialogs/ObjectAliasEditor.tsx +++ b/packages/admin/src-admin/src/dialogs/ObjectAliasEditor.tsx @@ -23,9 +23,9 @@ import { // Icons import { Close, Link as IconLink, AddLink, Close as IconClose } from '@mui/icons-material'; -import { withWidth } from '@iobroker/react-components'; +import { withWidth } from '@iobroker/adapter-react-v5'; -import { I18n, IconFx, type IobTheme, type AdminConnection, type Translate } from '@iobroker/react-components'; +import { I18n, IconFx, type IobTheme, type AdminConnection, type Translate } from '@iobroker/adapter-react-v5'; import type { ioBrokerObject } from '@/types'; diff --git a/packages/admin/src-admin/src/dialogs/ObjectCustomDialog.tsx b/packages/admin/src-admin/src/dialogs/ObjectCustomDialog.tsx index 1555e331c..496adca89 100644 --- a/packages/admin/src-admin/src/dialogs/ObjectCustomDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/ObjectCustomDialog.tsx @@ -11,7 +11,7 @@ import { type ThemeType, type ThemeName, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; // Icons import { Close as CloseIcon, Save as SaveIcon } from '@mui/icons-material'; diff --git a/packages/admin/src-admin/src/dialogs/ObjectEditDialog.tsx b/packages/admin/src-admin/src/dialogs/ObjectEditDialog.tsx index d08cf352a..4c90d8780 100644 --- a/packages/admin/src-admin/src/dialogs/ObjectEditDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/ObjectEditDialog.tsx @@ -7,7 +7,7 @@ import { Button, Dialog, DialogActions, DialogContent, DialogTitle } from '@mui/ // Icons import { Close as CloseIcon, Check as CheckIcon } from '@mui/icons-material'; -import { withWidth, type Translate, type ThemeName } from '@iobroker/react-components'; +import { withWidth, type Translate, type ThemeName } from '@iobroker/adapter-react-v5'; import type { ioBrokerObject } from '@/types'; const styles: Record = { diff --git a/packages/admin/src-admin/src/dialogs/ObjectEditOfAccessControl.tsx b/packages/admin/src-admin/src/dialogs/ObjectEditOfAccessControl.tsx index e0c96aa6e..350747096 100644 --- a/packages/admin/src-admin/src/dialogs/ObjectEditOfAccessControl.tsx +++ b/packages/admin/src-admin/src/dialogs/ObjectEditOfAccessControl.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState, type JSX } from 'react'; import { Checkbox, FormControl, InputLabel, LinearProgress, MenuItem, Select, Switch } from '@mui/material'; -import { I18n, Icon, type IobTheme, type ThemeType, type Translate, Utils } from '@iobroker/react-components'; +import { I18n, Icon, type IobTheme, type ThemeType, type Translate, Utils } from '@iobroker/adapter-react-v5'; import CustomModal from '../components/CustomModal'; diff --git a/packages/admin/src-admin/src/dialogs/ObjectViewFileDialog.tsx b/packages/admin/src-admin/src/dialogs/ObjectViewFileDialog.tsx index 42844fd9a..ebfc7755b 100644 --- a/packages/admin/src-admin/src/dialogs/ObjectViewFileDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/ObjectViewFileDialog.tsx @@ -5,7 +5,7 @@ import { Box, Button, Dialog, DialogActions, DialogContent, DialogTitle, Fab } f // Icons import { Close as CloseIcon, PlayArrow as PlayIcon, GetApp as DownloadIcon } from '@mui/icons-material'; -import { withWidth, type IobTheme, type Translate, type AdminConnection, Utils } from '@iobroker/react-components'; +import { withWidth, type IobTheme, type Translate, type AdminConnection, Utils } from '@iobroker/adapter-react-v5'; import type { ioBrokerObject } from '@/types'; diff --git a/packages/admin/src-admin/src/dialogs/RatingDialog.tsx b/packages/admin/src-admin/src/dialogs/RatingDialog.tsx index 2a937e613..63dd5af40 100644 --- a/packages/admin/src-admin/src/dialogs/RatingDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/RatingDialog.tsx @@ -24,7 +24,7 @@ import { import { HowToVote as VoteIcon, Close as CloseIcon, Info as InfoIcon } from '@mui/icons-material'; -import type { IobTheme, Translate } from '@iobroker/react-components'; +import type { IobTheme, Translate } from '@iobroker/adapter-react-v5'; const styles: Record = { rating: { diff --git a/packages/admin/src-admin/src/dialogs/SlowConnectionWarningDialog.tsx b/packages/admin/src-admin/src/dialogs/SlowConnectionWarningDialog.tsx index 5bcd93737..6cb88c22c 100644 --- a/packages/admin/src-admin/src/dialogs/SlowConnectionWarningDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SlowConnectionWarningDialog.tsx @@ -4,7 +4,7 @@ import { Dialog, DialogContent, DialogActions, DialogTitle, DialogContentText, T import { Close as CloseIcon, AccessTime as TimeIcon, Check as CheckIcon } from '@mui/icons-material'; -import { AdminConnection, type Translate } from '@iobroker/react-components'; +import { AdminConnection, type Translate } from '@iobroker/adapter-react-v5'; import { MOBILE_WIDTH } from '@/helpers/MobileDialog'; const styles: Record = { diff --git a/packages/admin/src-admin/src/dialogs/SystemSettingsDialog.tsx b/packages/admin/src-admin/src/dialogs/SystemSettingsDialog.tsx index 28734ac11..9a085c271 100644 --- a/packages/admin/src-admin/src/dialogs/SystemSettingsDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SystemSettingsDialog.tsx @@ -25,7 +25,7 @@ import { type AdminConnection, type ThemeType, type ThemeName, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type { AdminGuiConfig, ioBrokerObject } from '@/types'; import AdminUtils from '@/helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/ACLDialog.tsx b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/ACLDialog.tsx index a99deb12e..02f99cbe9 100644 --- a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/ACLDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/ACLDialog.tsx @@ -16,7 +16,7 @@ import { InputLabel, } from '@mui/material'; -import { I18n, withWidth, type Translate } from '@iobroker/react-components'; +import { I18n, withWidth, type Translate } from '@iobroker/adapter-react-v5'; import { type ioBrokerObject } from '@/types'; import AdminUtils from '@/helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/BaseSystemSettingsDialog.tsx b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/BaseSystemSettingsDialog.tsx index 0a50770f2..e66ae9684 100644 --- a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/BaseSystemSettingsDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/BaseSystemSettingsDialog.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { type AdminConnection, type Translate, type ThemeType, type ThemeName } from '@iobroker/react-components'; +import { type AdminConnection, type Translate, type ThemeType, type ThemeName } from '@iobroker/adapter-react-v5'; import type { AdminGuiConfig } from '@/types'; diff --git a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/CertificatesDialog.tsx b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/CertificatesDialog.tsx index 7af8a6138..12e7403a5 100644 --- a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/CertificatesDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/CertificatesDialog.tsx @@ -17,7 +17,7 @@ import { import { Add as AddIcon, Delete as DeleteIcon, Close as CloseIcon } from '@mui/icons-material'; -import { withWidth, I18n, type Translate } from '@iobroker/react-components'; +import { withWidth, I18n, type Translate } from '@iobroker/adapter-react-v5'; import { type ioBrokerObject } from '@/types'; import AdminUtils from '../../helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/LicensesDialog.tsx b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/LicensesDialog.tsx index e114d119d..72d29aaf7 100644 --- a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/LicensesDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/LicensesDialog.tsx @@ -4,7 +4,7 @@ import { Button, Table, TableBody, TableCell, TableContainer, TableHead, TableRo import { Refresh as IconRefresh } from '@mui/icons-material'; -import { withWidth, Utils, type AdminConnection, type Translate } from '@iobroker/react-components'; +import { withWidth, Utils, type AdminConnection, type Translate } from '@iobroker/adapter-react-v5'; import { type ioBrokerObject } from '@/types'; import BaseSystemSettingsDialog from './BaseSystemSettingsDialog'; diff --git a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/MainSettingsDialog.tsx b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/MainSettingsDialog.tsx index 869da5d13..11eb420f5 100644 --- a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/MainSettingsDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/MainSettingsDialog.tsx @@ -22,7 +22,7 @@ import { Close as CloseIcon } from '@mui/icons-material'; import { Marker } from 'leaflet'; import type { DragEndEvent, LatLngTuple, Map } from 'leaflet'; -import { DialogConfirm, withWidth, I18n, type Translate } from '@iobroker/react-components'; +import { DialogConfirm, withWidth, I18n, type Translate } from '@iobroker/adapter-react-v5'; import { type AdminGuiConfig } from '@/types'; import AdminUtils from '../../helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/RepositoriesDialog.tsx b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/RepositoriesDialog.tsx index 53444698a..d309b107c 100644 --- a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/RepositoriesDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/RepositoriesDialog.tsx @@ -27,7 +27,7 @@ import { Close as CloseIcon, } from '@mui/icons-material'; -import { I18n, withWidth, DialogConfirm, type Translate, type ThemeType } from '@iobroker/react-components'; +import { I18n, withWidth, DialogConfirm, type Translate, type ThemeType } from '@iobroker/adapter-react-v5'; import { InfoBox } from '@foxriver76/iob-component-lib'; import type { AdminGuiConfig, ioBrokerObject } from '@/types'; diff --git a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/SSLDialog.tsx b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/SSLDialog.tsx index 938be7648..91164de5b 100644 --- a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/SSLDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/SSLDialog.tsx @@ -4,7 +4,7 @@ import { Grid2, FormControl, TextField, Paper, InputAdornment, IconButton } from import { Close as CloseIcon } from '@mui/icons-material'; -import { withWidth, type Translate, type IobTheme } from '@iobroker/react-components'; +import { withWidth, type Translate, type IobTheme } from '@iobroker/adapter-react-v5'; import type { ioBrokerObject } from '@/types'; import AdminUtils from '@/helpers/AdminUtils'; import BaseSystemSettingsDialog from './BaseSystemSettingsDialog'; diff --git a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/StatisticsDialog.tsx b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/StatisticsDialog.tsx index 7300d4672..0c65bbda3 100644 --- a/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/StatisticsDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/SystemSettingsTabs/StatisticsDialog.tsx @@ -14,7 +14,7 @@ import { import blueGrey from '@mui/material/colors/blueGrey'; -import { withWidth, type Translate, type ThemeType } from '@iobroker/react-components'; +import { withWidth, type Translate, type ThemeType } from '@iobroker/adapter-react-v5'; import AdminUtils from '@/helpers/AdminUtils'; import Editor from '../../components/Editor'; import BaseSystemSettingsDialog from './BaseSystemSettingsDialog'; diff --git a/packages/admin/src-admin/src/dialogs/WizardDialog.tsx b/packages/admin/src-admin/src/dialogs/WizardDialog.tsx index 7e296ef8d..6c8912c08 100644 --- a/packages/admin/src-admin/src/dialogs/WizardDialog.tsx +++ b/packages/admin/src-admin/src/dialogs/WizardDialog.tsx @@ -13,7 +13,7 @@ import { type AdminConnection, type ThemeName, type ThemeType, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import WizardPasswordTab from '@/components/Wizard/WizardPasswordTab'; import WizardLicenseTab from '@/components/Wizard/WizardLicenseTab'; diff --git a/packages/admin/src-admin/src/helpers/AdminUtils.tsx b/packages/admin/src-admin/src/helpers/AdminUtils.tsx index c92d29819..0ceedef2c 100644 --- a/packages/admin/src-admin/src/helpers/AdminUtils.tsx +++ b/packages/admin/src-admin/src/helpers/AdminUtils.tsx @@ -1,5 +1,5 @@ import semver from 'semver'; -import { type Translate } from '@iobroker/react-components'; +import { type Translate } from '@iobroker/adapter-react-v5'; declare module '@mui/material/Button' { interface ButtonPropsColorOverrides { diff --git a/packages/admin/src-admin/src/login/Login.tsx b/packages/admin/src-admin/src/login/Login.tsx index 1c4046a23..06a751c6d 100644 --- a/packages/admin/src-admin/src/login/Login.tsx +++ b/packages/admin/src-admin/src/login/Login.tsx @@ -14,7 +14,7 @@ import { Typography, } from '@mui/material'; -import { type IobTheme, type Translate, withWidth } from '@iobroker/react-components'; +import { type IobTheme, type Translate, withWidth } from '@iobroker/adapter-react-v5'; const boxShadow = '0 4px 7px 5px rgb(0 0 0 / 14%), 0 3px 1px 1px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%)'; diff --git a/packages/admin/src-admin/src/tabs/Adapters.tsx b/packages/admin/src-admin/src/tabs/Adapters.tsx index 0e9cf7239..07cf01eb1 100644 --- a/packages/admin/src-admin/src/tabs/Adapters.tsx +++ b/packages/admin/src-admin/src/tabs/Adapters.tsx @@ -26,6 +26,7 @@ import { Update as UpdateIcon, Star as StarIcon, Close as CloseIcon, + SavedSearch, } from '@mui/icons-material'; import { FaGithub as GithubIcon } from 'react-icons/fa'; @@ -42,7 +43,7 @@ import { type Translate, TabContainer, Utils, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type AdaptersWorker from '@/Workers/AdaptersWorker'; import { type AdapterEvent } from '@/Workers/AdaptersWorker'; import type InstancesWorker from '@/Workers/InstancesWorker'; @@ -240,7 +241,9 @@ interface AdaptersState extends AdapterInstallDialogState { filterTiles: string; gitHubInstallDialog: boolean; updateAvailable: string[]; - filteredList: any; + filteredList: { + [adapterName: string]: { exact: boolean; type: 'name' | 'desc' | 'title' | 'keywords'; start?: boolean }; + } | null; showUpdater: boolean; descWidth: number; showStatistics: boolean; @@ -685,6 +688,9 @@ class Adapters extends AdapterInstallDialog { sortByName: boolean, sortPopularFirst?: boolean, sortRecentlyUpdated?: boolean, + filteredList?: { + [adapterName: string]: { exact: boolean; type: 'name' | 'desc' | 'title' | 'keywords'; start?: boolean }; + } | null, ): void { const titles: { [adapterName: string]: string } = {}; list.sort((a, b) => { @@ -713,6 +719,15 @@ class Adapters extends AdapterInstallDialog { return (adapters[a] as AdapterCacheEntry).daysAgo - (adapters[b] as AdapterCacheEntry).daysAgo; } + if (filteredList) { + if (filteredList[a].exact && !filteredList[b].exact) { + return -1; + } + if (!filteredList[a].exact && filteredList[b].exact) { + return 1; + } + } + if (installed[a] && installed[b]) { if (sortByName) { return a > b ? 1 : a < b ? -1 : 0; @@ -1245,7 +1260,9 @@ class Adapters extends AdapterInstallDialog { filterAdapters(search?: string): void { search = search === undefined ? this.state.search : search; search = (search || '').toLowerCase().trim(); - let filteredList: string[] = []; + let filteredList: { + [adapterName: string]: { exact: boolean; type: 'name' | 'desc' | 'title' | 'keywords'; start?: boolean }; + } = {}; if (search) { this.state.categories.forEach(category => category.adapters.forEach(name => { @@ -1253,13 +1270,15 @@ class Adapters extends AdapterInstallDialog { if (!adapter) { return; } - - let title = adapter.titleLang || adapter.title; - if (typeof title === 'object') { - title = title[this.props.lang] || title.en; + let title: string | undefined; + let desc: string | undefined; + const titleM = adapter.titleLang || adapter.title; + if (typeof titleM === 'object') { + title = titleM[this.props.lang] || titleM.en; + } else { + title = titleM; } title = ((title || '').toString() || '').replace('ioBroker Visualisation - ', ''); - let desc: string; if (adapter.desc) { if (typeof adapter.desc === 'string') { desc = adapter.desc; @@ -1271,13 +1290,13 @@ class Adapters extends AdapterInstallDialog { } if (name.includes(search)) { - filteredList.push(name); + filteredList[name] = { exact: name === search, type: 'name', start: name.startsWith(search) }; } else if (title && typeof title === 'string' && title.toLowerCase().includes(search)) { - filteredList.push(name); + filteredList[name] = { exact: false, type: 'title' }; } else if (desc && typeof desc === 'string' && desc.toLowerCase().includes(search)) { - filteredList.push(name); - } else { - adapter.keywords?.forEach(value => value.includes(search) && filteredList.push(name)); + filteredList[name] = { exact: false, type: 'desc' }; + } else if (adapter.keywords?.find(value => value.includes(search))) { + filteredList[name] = { exact: false, type: 'keywords' }; } }), ); @@ -1405,7 +1424,7 @@ class Adapters extends AdapterInstallDialog { const updateAvailable = this.state.updateAvailable.includes(adapterName); const installed = this.state.installed[adapterName]; - let show = !this.state.filteredList || this.state.filteredList.includes(adapterName); + let show: boolean = !this.state.filteredList || !!this.state.filteredList[adapterName]; if (show && this.state.filterConnectionType) { show = connectionType === 'local'; } @@ -1499,6 +1518,7 @@ class Adapters extends AdapterInstallDialog { sortByName, context.sortPopularFirst, context.sortRecentlyUpdated, + this.state.filteredList, ); console.log(`[ADAPTERS] ${new Date().toISOString()} Update cache!`); diff --git a/packages/admin/src-admin/src/tabs/Config.tsx b/packages/admin/src-admin/src/tabs/Config.tsx index 7afb4a0d4..3dc964464 100644 --- a/packages/admin/src-admin/src/tabs/Config.tsx +++ b/packages/admin/src-admin/src/tabs/Config.tsx @@ -42,7 +42,7 @@ import { type ThemeName, type ThemeType, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import { type DeviceManagerPropsProps, JsonConfig } from '@iobroker/json-config'; import DeviceManager from '@iobroker/dm-gui-components'; diff --git a/packages/admin/src-admin/src/tabs/CustomTab.tsx b/packages/admin/src-admin/src/tabs/CustomTab.tsx index 320b8fe1b..7b672d89f 100644 --- a/packages/admin/src-admin/src/tabs/CustomTab.tsx +++ b/packages/admin/src-admin/src/tabs/CustomTab.tsx @@ -1,7 +1,7 @@ import React, { Component, type JSX } from 'react'; import { LinearProgress } from '@mui/material'; -import { withWidth, type ThemeType, Router } from '@iobroker/react-components'; +import { withWidth, type ThemeType, Router } from '@iobroker/adapter-react-v5'; import type InstancesWorker from '@/Workers/InstancesWorker'; import AdminUtils from '@/helpers/AdminUtils'; diff --git a/packages/admin/src-admin/src/tabs/EasyMode.tsx b/packages/admin/src-admin/src/tabs/EasyMode.tsx index f22045981..f638e89db 100644 --- a/packages/admin/src-admin/src/tabs/EasyMode.tsx +++ b/packages/admin/src-admin/src/tabs/EasyMode.tsx @@ -11,7 +11,7 @@ import { type ThemeType, type ThemeName, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import Config from './Config'; import EasyModeCard from '../components/EasyModeCard'; diff --git a/packages/admin/src-admin/src/tabs/Enums.tsx b/packages/admin/src-admin/src/tabs/Enums.tsx index f67fa31c0..f72130ce4 100644 --- a/packages/admin/src-admin/src/tabs/Enums.tsx +++ b/packages/admin/src-admin/src/tabs/Enums.tsx @@ -7,7 +7,7 @@ import { type Translate, TabContainer, TabContent, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import EnumsMain from '../components/Enums/EnumsMain'; diff --git a/packages/admin/src-admin/src/tabs/Files.tsx b/packages/admin/src-admin/src/tabs/Files.tsx index 3878c0b05..4f58f2958 100644 --- a/packages/admin/src-admin/src/tabs/Files.tsx +++ b/packages/admin/src-admin/src/tabs/Files.tsx @@ -9,7 +9,7 @@ import { type Translate, TabContainer, TabContent, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import FileBrowser, { type FileBrowserClass, type MetaObject } from '../components/FileBrowser'; diff --git a/packages/admin/src-admin/src/tabs/Hosts.tsx b/packages/admin/src-admin/src/tabs/Hosts.tsx index 938a3dae6..818a12937 100644 --- a/packages/admin/src-admin/src/tabs/Hosts.tsx +++ b/packages/admin/src-admin/src/tabs/Hosts.tsx @@ -19,7 +19,7 @@ import { type IobTheme, type ThemeType, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import SlowConnectionWarningDialog, { SlowConnectionWarningDialogClass } from '@/dialogs/SlowConnectionWarningDialog'; import type HostsWorker from '@/Workers/HostsWorker'; diff --git a/packages/admin/src-admin/src/tabs/Instances.tsx b/packages/admin/src-admin/src/tabs/Instances.tsx index cafcc75b3..364129e4c 100644 --- a/packages/admin/src-admin/src/tabs/Instances.tsx +++ b/packages/admin/src-admin/src/tabs/Instances.tsx @@ -31,7 +31,7 @@ import { type ThemeType, TabHeader, type Translate, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import AdminUtils from '@/helpers/AdminUtils'; import { replaceLink } from '@/helpers/utils'; diff --git a/packages/admin/src-admin/src/tabs/Intro.tsx b/packages/admin/src-admin/src/tabs/Intro.tsx index 98b33fb4b..cb22f0995 100644 --- a/packages/admin/src-admin/src/tabs/Intro.tsx +++ b/packages/admin/src-admin/src/tabs/Intro.tsx @@ -19,7 +19,7 @@ import { type Translate, TabContainer, TabContent, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type InstancesWorker from '@/Workers/InstancesWorker'; import type HostsWorker from '@/Workers/HostsWorker'; diff --git a/packages/admin/src-admin/src/tabs/Logs.tsx b/packages/admin/src-admin/src/tabs/Logs.tsx index 06dc8b241..5004dfd92 100644 --- a/packages/admin/src-admin/src/tabs/Logs.tsx +++ b/packages/admin/src-admin/src/tabs/Logs.tsx @@ -55,7 +55,7 @@ import { type AdminConnection, TabContainer, TabContent, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type LogsWorker from '@/Workers/LogsWorker'; import type { LogLineSaved } from '@/Workers/LogsWorker'; diff --git a/packages/admin/src-admin/src/tabs/Objects.tsx b/packages/admin/src-admin/src/tabs/Objects.tsx index e859d84f3..4a097cdc8 100644 --- a/packages/admin/src-admin/src/tabs/Objects.tsx +++ b/packages/admin/src-admin/src/tabs/Objects.tsx @@ -22,7 +22,7 @@ import { type Translate, withWidth, Router, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type ObjectsWorker from '@/Workers/ObjectsWorker'; diff --git a/packages/admin/src-admin/src/tabs/Users.tsx b/packages/admin/src-admin/src/tabs/Users.tsx index 4fa1d0c62..f395da70b 100644 --- a/packages/admin/src-admin/src/tabs/Users.tsx +++ b/packages/admin/src-admin/src/tabs/Users.tsx @@ -7,7 +7,7 @@ import { type Translate, TabContainer, TabContent, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import UsersList from '../components/Users/UsersList'; diff --git a/packages/admin/src-admin/src/types.d.ts b/packages/admin/src-admin/src/types.d.ts index 42b97bc66..40fdc7e06 100644 --- a/packages/admin/src-admin/src/types.d.ts +++ b/packages/admin/src-admin/src/types.d.ts @@ -1,4 +1,4 @@ -import type { I18n, AdminConnection, ThemeType, ThemeName } from '@iobroker/react-components'; +import type { I18n, AdminConnection, ThemeType, ThemeName } from '@iobroker/adapter-react-v5'; declare module '*.png'; declare module '*.svg'; diff --git a/packages/admin/tasks.js b/packages/admin/tasks.js index 289d61935..4287de405 100644 --- a/packages/admin/tasks.js +++ b/packages/admin/tasks.js @@ -78,8 +78,22 @@ function copyAllFiles() { copyFiles([`${srcRx}build/**/*`, `!${srcRx}build/index.html`, `!${srcRx}build/static/js/*.js`], dest); // copy custom plugin - copyFiles(`${rootFolder}/node_modules/@iobroker/admin-component-easy-access/admin/**/*`, `admin/`); - + if (existsSync(`${rootFolder}/node_modules/@iobroker/admin-component-easy-access`)) { + copyFiles( + [ + `${rootFolder}/node_modules/@iobroker/admin-component-easy-access/admin/**/*`, + `${rootFolder}/node_modules/@iobroker/admin-component-easy-access/admin/*`, + ], + `admin/`, + ); + } else if (existsSync(`${__dirname}/node_modules/@iobroker/admin-component-easy-access`)) { + copyFiles(`${__dirname}/node_modules/@iobroker/admin-component-easy-access/admin/**/*`, `admin/`); + } else if (existsSync(`${__dirname}/node_modules/src-admin/@iobroker/admin-component-easy-access`)) { + copyFiles(`${__dirname}/src-admin/node_modules/@iobroker/admin-component-easy-access/admin/**/*`, `admin/`); + } else { + console.error('Cannot find admin-component-easy-access'); + process.exit(1); + } // copy crypto-js copyFiles( [ diff --git a/packages/dm-gui-components/package.json b/packages/dm-gui-components/package.json index 55d747ad0..062f7c1ca 100644 --- a/packages/dm-gui-components/package.json +++ b/packages/dm-gui-components/package.json @@ -49,7 +49,7 @@ "homepage": "https://github.com/ioBroker/dm-gui-components#readme", "dependencies": { "@iobroker/json-config": "file:../jsonConfig", - "@iobroker/react-components": "file:../react-components" + "@iobroker/adapter-react-v5": "file:../adapter-react-v5" }, "devDependencies": { "@craco/craco": "^7.1.0", diff --git a/packages/dm-gui-components/src/Communication.tsx b/packages/dm-gui-components/src/Communication.tsx index c574da2b5..30172ab12 100644 --- a/packages/dm-gui-components/src/Communication.tsx +++ b/packages/dm-gui-components/src/Communication.tsx @@ -29,7 +29,7 @@ import { import { Close, Check } from '@mui/icons-material'; -import type { Connection, AdminConnection, ThemeName, ThemeType, IobTheme } from '@iobroker/react-components'; +import type { Connection, AdminConnection, ThemeName, ThemeType, IobTheme } from '@iobroker/adapter-react-v5'; import { type ConfigItemPanel } from '@iobroker/json-config'; import type { ActionBase, diff --git a/packages/dm-gui-components/src/DeviceCard.tsx b/packages/dm-gui-components/src/DeviceCard.tsx index 30b0c6265..3ad72ddb5 100644 --- a/packages/dm-gui-components/src/DeviceCard.tsx +++ b/packages/dm-gui-components/src/DeviceCard.tsx @@ -27,7 +27,7 @@ import { type ThemeName, type ThemeType, type IobTheme, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type { DeviceDetails, DeviceInfo, ActionBase, ControlBase, ControlState } from '@iobroker/dm-utils'; import DeviceActionButton from './DeviceActionButton'; diff --git a/packages/dm-gui-components/src/DeviceControl.tsx b/packages/dm-gui-components/src/DeviceControl.tsx index 38aa5445a..39b4041c7 100644 --- a/packages/dm-gui-components/src/DeviceControl.tsx +++ b/packages/dm-gui-components/src/DeviceControl.tsx @@ -1,7 +1,7 @@ import React, { Component, type JSX } from 'react'; import { Button, Fab, Switch } from '@mui/material'; -import type { Connection } from '@iobroker/react-components'; +import type { Connection } from '@iobroker/adapter-react-v5'; import type { ControlBase, ControlState, DeviceControl } from '@iobroker/dm-utils'; import { renderControlIcon, getTranslation } from './Utils'; diff --git a/packages/dm-gui-components/src/DeviceImageUpload.tsx b/packages/dm-gui-components/src/DeviceImageUpload.tsx index bec4d5849..77d59db89 100644 --- a/packages/dm-gui-components/src/DeviceImageUpload.tsx +++ b/packages/dm-gui-components/src/DeviceImageUpload.tsx @@ -1,5 +1,5 @@ import React, { type ChangeEvent, type ChangeEventHandler } from 'react'; -import type { Connection } from '@iobroker/react-components'; +import type { Connection } from '@iobroker/adapter-react-v5'; interface DeviceImageUploadProps { socket: Connection; diff --git a/packages/dm-gui-components/src/DeviceList.tsx b/packages/dm-gui-components/src/DeviceList.tsx index 10598eac2..7e6bd53ab 100644 --- a/packages/dm-gui-components/src/DeviceList.tsx +++ b/packages/dm-gui-components/src/DeviceList.tsx @@ -3,7 +3,7 @@ import { IconButton, InputAdornment, TextField, Toolbar, Tooltip, LinearProgress import { Clear, Refresh } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { DeviceInfo, InstanceDetails } from '@iobroker/dm-utils'; import DeviceCard from './DeviceCard'; diff --git a/packages/dm-gui-components/src/JsonConfig.tsx b/packages/dm-gui-components/src/JsonConfig.tsx index 4f34125c3..a9d7a995e 100644 --- a/packages/dm-gui-components/src/JsonConfig.tsx +++ b/packages/dm-gui-components/src/JsonConfig.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import type { Connection, AdminConnection, ThemeName, ThemeType, IobTheme } from '@iobroker/react-components'; +import type { Connection, AdminConnection, ThemeName, ThemeType, IobTheme } from '@iobroker/adapter-react-v5'; import { JsonConfigComponent, type ConfigItemPanel } from '@iobroker/json-config'; interface JsonConfigDmProps { diff --git a/packages/dm-gui-components/src/Utils.tsx b/packages/dm-gui-components/src/Utils.tsx index 71485f1d3..648882321 100644 --- a/packages/dm-gui-components/src/Utils.tsx +++ b/packages/dm-gui-components/src/Utils.tsx @@ -32,7 +32,7 @@ import { WifiOff, } from '@mui/icons-material'; -import { I18n, Icon } from '@iobroker/react-components'; +import { I18n, Icon } from '@iobroker/adapter-react-v5'; function getFaIcon(icon: string, color?: string): React.JSX.Element | null { const iconStyle = icon diff --git a/packages/jsonConfig/package.json b/packages/jsonConfig/package.json index eff5a6ff9..e3ec1b177 100644 --- a/packages/jsonConfig/package.json +++ b/packages/jsonConfig/package.json @@ -16,7 +16,7 @@ "access": "public" }, "dependencies": { - "@iobroker/react-components": "file:../react-components", + "@iobroker/adapter-react-v5": "file:../adapter-react-v5", "crypto-js": "^4.2.0", "react-ace": "^12.0.0", "react-color": "^2.19.3", diff --git a/packages/jsonConfig/src/JsonConfig.tsx b/packages/jsonConfig/src/JsonConfig.tsx index 194d83ae0..a2a577eb6 100644 --- a/packages/jsonConfig/src/JsonConfig.tsx +++ b/packages/jsonConfig/src/JsonConfig.tsx @@ -15,7 +15,7 @@ import { type IobTheme, type ThemeName, type ThemeType, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type { ConfigItemAny, ConfigItemPanel, ConfigItemTabs } from '#JC/types'; import Utils from '#JC/Utils'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ChipInput.tsx b/packages/jsonConfig/src/JsonConfigComponent/ChipInput.tsx index c6d070424..8e5d37f48 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ChipInput.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ChipInput.tsx @@ -9,7 +9,7 @@ import { Input, OutlinedInput, InputLabel, Chip, FormControl, FormHelperText, Bo import FilledInput from '@mui/material/FilledInput/FilledInput'; import blue from '@mui/material/colors/blue'; -import { type IobTheme, type ThemeType } from '@iobroker/react-components'; +import { type IobTheme, type ThemeType } from '@iobroker/adapter-react-v5'; import Utils from '../Utils'; const variantComponent = { diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigAccordion.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigAccordion.tsx index c7fbda8eb..cfdcc7c1a 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigAccordion.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigAccordion.tsx @@ -21,7 +21,7 @@ import { ExpandMore as ExpandMoreIcon, } from '@mui/icons-material'; -import { I18n, type IobTheme } from '@iobroker/react-components'; +import { I18n, type IobTheme } from '@iobroker/adapter-react-v5'; import type { ConfigItemAccordion, ConfigItemAny, ConfigItemIndexed, ConfigItemPanel } from '#JC/types'; import Utils from '#JC/Utils'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigAlive.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigAlive.tsx index fed787108..88e930be4 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigAlive.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigAlive.tsx @@ -1,6 +1,6 @@ import React, { type JSX } from 'react'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemAlive } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigAutocomplete.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigAutocomplete.tsx index e5de6419e..fe2a317cd 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigAutocomplete.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigAutocomplete.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { Autocomplete, TextField } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemAutocomplete, ConfigItemSelectOption } from '#JC/types'; import ConfigGeneric, { type ConfigGenericState, type ConfigGenericProps } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigAutocompleteSendTo.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigAutocompleteSendTo.tsx index 8de25336b..b8ecb6924 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigAutocompleteSendTo.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigAutocompleteSendTo.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { Autocomplete, TextField } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemAutocompleteSendTo } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigCRON.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigCRON.tsx index d4c648a0b..15cf39f04 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigCRON.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigCRON.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, FormControl, Button, TextField } from '@mui/material'; -import { DialogCron, I18n } from '@iobroker/react-components'; +import { DialogCron, I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemCRON } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigCertCollection.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigCertCollection.tsx index e3aacedce..06ac4bec6 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigCertCollection.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigCertCollection.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, MenuItem, FormControl, Select, FormHelperText } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemCertCollection } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigCertificateSelect.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigCertificateSelect.tsx index 8822daff7..95d28fb18 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigCertificateSelect.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigCertificateSelect.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, MenuItem, FormControl, Select, FormHelperText } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemCertificateSelect } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigCertificates.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigCertificates.tsx index 829e810fd..58f4fa944 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigCertificates.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigCertificates.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, MenuItem, FormControl, Select } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemCertificates } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigCheckLicense.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigCheckLicense.tsx index f6ff70164..d038b23b5 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigCheckLicense.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigCheckLicense.tsx @@ -19,7 +19,7 @@ import { import { Check as IconCheck, Send as IconSend } from '@mui/icons-material'; -import { DialogConfirm, I18n, type IobTheme } from '@iobroker/react-components'; +import { DialogConfirm, I18n, type IobTheme } from '@iobroker/adapter-react-v5'; import type { ConfigItemCheckLicense } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigCheckbox.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigCheckbox.tsx index 7056357fe..64f73f680 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigCheckbox.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigCheckbox.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { FormControlLabel, Checkbox, FormHelperText, FormControl } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemCheckbox } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigColor.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigColor.tsx index dddbf91a6..aa198ea62 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigColor.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigColor.tsx @@ -5,7 +5,7 @@ import { IconButton, TextField, Dialog } from '@mui/material'; import { Close as ClearIcon } from '@mui/icons-material'; -import { Utils } from '@iobroker/react-components'; +import { Utils } from '@iobroker/adapter-react-v5'; import type { ConfigItemText } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigCoordinates.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigCoordinates.tsx index d642aa6ca..309c5df2f 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigCoordinates.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigCoordinates.tsx @@ -4,7 +4,7 @@ import { TextField, Fab, FormControlLabel, Checkbox } from '@mui/material'; import { GpsFixed as IconGpsFixed, LocationOn as IconLocationOn } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemCoordinates } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigCustom.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigCustom.tsx index eb9a60fed..d76fbd0b7 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigCustom.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigCustom.tsx @@ -1,7 +1,7 @@ import React, { type JSX } from 'react'; import { Grid2, LinearProgress } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemCustom } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from '#JC/JsonConfigComponent/ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigFile.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigFile.tsx index b19709525..f182b7351 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigFile.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigFile.tsx @@ -9,7 +9,7 @@ import { Videocam as IconVideo, } from '@mui/icons-material'; -import { DialogSelectFile } from '@iobroker/react-components'; +import { DialogSelectFile } from '@iobroker/adapter-react-v5'; import type { ConfigItemFile } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigFileSelector.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigFileSelector.tsx index cb2fc8c4f..881500533 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigFileSelector.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigFileSelector.tsx @@ -24,7 +24,7 @@ import { } from '@mui/icons-material'; import { FaFileUpload as UploadIcon } from 'react-icons/fa'; -import { DialogConfirm, Utils, I18n } from '@iobroker/react-components'; +import { DialogConfirm, Utils, I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemFileSelector } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigFunc.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigFunc.tsx index 0dbf8307b..a0c0c16f8 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigFunc.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigFunc.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, MenuItem, FormHelperText, FormControl, Select } from '@mui/material'; -import { TextWithIcon, I18n } from '@iobroker/react-components'; +import { TextWithIcon, I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemFunc } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigGeneric.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigGeneric.tsx index 7448c541e..13120f645 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigGeneric.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigGeneric.tsx @@ -35,7 +35,7 @@ import { type ThemeType, type ThemeName, type IobTheme, -} from '@iobroker/react-components'; +} from '@iobroker/adapter-react-v5'; import type { BackEndCommand, ConfigIconType, ConfigItemAny, ConfigItemConfirmData } from '#JC/types'; const DEFAULT_SM_SIZE = window.innerWidth <= 600 ? 12 : undefined; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigIP.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigIP.tsx index 7b59f27c3..7df40d7c8 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigIP.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigIP.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, TextField, FormHelperText, MenuItem, FormControl, Select } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemIP } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigImageUpload.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigImageUpload.tsx index 6c8d6f7b6..815da2f8f 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigImageUpload.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigImageUpload.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, FormHelperText, FormControl } from '@mui/material'; -import { UploadImage } from '@iobroker/react-components'; +import { UploadImage } from '@iobroker/adapter-react-v5'; import type { ConfigItemImageUpload } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigInstanceSelect.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigInstanceSelect.tsx index 07fdfaf0f..b5ca4d244 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigInstanceSelect.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigInstanceSelect.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, MenuItem, FormHelperText, FormControl, Select } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemInstanceSelect } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigJsonEditor.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigJsonEditor.tsx index 166f29891..6624ebe8a 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigJsonEditor.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigJsonEditor.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { FormHelperText, FormControl, Button } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemJsonEditor } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; import CustomModal from './wrapper/Components/CustomModal'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigLanguage.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigLanguage.tsx index 6a00f5746..1c13b11c1 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigLanguage.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigLanguage.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, MenuItem, FormHelperText, FormControl, Select } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemLanguage } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigLicense.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigLicense.tsx index 161c2392a..9077589d4 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigLicense.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigLicense.tsx @@ -13,7 +13,7 @@ import { import { Check, Close } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemLicense } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigNumber.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigNumber.tsx index c92974732..3834c3cf6 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigNumber.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigNumber.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { Autocomplete, TextField, FormControl } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemNumber } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigObjectId.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigObjectId.tsx index d87b6c912..c16278b42 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigObjectId.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigObjectId.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, FormControl, Button, TextField } from '@mui/material'; -import { DialogSelectID } from '@iobroker/react-components'; +import { DialogSelectID } from '@iobroker/adapter-react-v5'; import type { ConfigItemObjectId } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigPanel.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigPanel.tsx index 228f5c71a..32b0975e5 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigPanel.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigPanel.tsx @@ -4,7 +4,7 @@ import { Grid2, Accordion, AccordionSummary, AccordionDetails, Typography, Box } import { ExpandMore as ExpandMoreIcon } from '@mui/icons-material'; -import { type IobTheme } from '@iobroker/react-components'; +import { type IobTheme } from '@iobroker/adapter-react-v5'; import type { ConfigItemPanel } from '#JC/types'; import Utils from '#JC/Utils'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigPassword.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigPassword.tsx index d655b75b2..3c7aef0fc 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigPassword.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigPassword.tsx @@ -4,7 +4,7 @@ import { TextField, IconButton, InputAdornment } from '@mui/material'; import { Visibility, VisibilityOff } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemPassword } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigPattern.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigPattern.tsx index 590d32da6..541e39f7d 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigPattern.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigPattern.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { IconButton, TextField } from '@mui/material'; -import { IconCopy, Utils } from '@iobroker/react-components'; +import { IconCopy, Utils } from '@iobroker/adapter-react-v5'; import type { ConfigItemPattern } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigPort.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigPort.tsx index f79dad1df..98dbc02fb 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigPort.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigPort.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { TextField } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemPort } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigRoom.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigRoom.tsx index 329dd2a18..f3cac96e0 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigRoom.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigRoom.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, MenuItem, FormHelperText, FormControl, Select } from '@mui/material'; -import { TextWithIcon, I18n } from '@iobroker/react-components'; +import { TextWithIcon, I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemRoom } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigSelect.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigSelect.tsx index 7e028baed..05a252df7 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigSelect.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigSelect.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, FormHelperText, FormControl, Select, MenuItem, ListSubheader } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemSelect, ConfigItemSelectOption } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigSelectSendTo.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigSelectSendTo.tsx index 4b5638d54..011ce7d0a 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigSelectSendTo.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigSelectSendTo.tsx @@ -18,7 +18,7 @@ import { import { Close as CloseIcon } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemSelectSendTo } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigSendto.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigSendto.tsx index 2dfa282a1..20ed74fc1 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigSendto.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigSendto.tsx @@ -4,7 +4,7 @@ import { Button, CircularProgress } from '@mui/material'; import { Warning as IconWarning, Error as IconError, Info as IconInfo } from '@mui/icons-material'; -import { DialogConfirm, DialogError, DialogMessage, I18n } from '@iobroker/react-components'; +import { DialogConfirm, DialogError, DialogMessage, I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemSendTo } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigSetState.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigSetState.tsx index e158e5d55..142147c86 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigSetState.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigSetState.tsx @@ -4,7 +4,7 @@ import { Button } from '@mui/material'; import { Warning as IconWarning, Error as IconError, Info as IconInfo } from '@mui/icons-material'; -import { DialogConfirm, Icon, I18n } from '@iobroker/react-components'; +import { DialogConfirm, Icon, I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemSetState } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigState.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigState.tsx index f874618e4..2fb297cd8 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigState.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigState.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { TextField, IconButton, Button, Switch, Slider } from '@mui/material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemState } from '#JC/types'; import getIconByName from './Icons'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticDivider.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticDivider.tsx index 7ec3d9463..08dcd2b9b 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticDivider.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticDivider.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { Box } from '@mui/material'; -import { type IobTheme } from '@iobroker/react-components'; +import { type IobTheme } from '@iobroker/adapter-react-v5'; import type { ConfigItemStaticDivider } from '#JC/types'; import Utils from '#JC/Utils'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticHeader.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticHeader.tsx index 37c92a61c..1204fd893 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticHeader.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticHeader.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { Box } from '@mui/material'; -import type { IobTheme } from '@iobroker/react-components'; +import type { IobTheme } from '@iobroker/adapter-react-v5'; import type { ConfigItemStaticHeader } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticText.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticText.tsx index 09ea55068..7f73563e7 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticText.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigStaticText.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { Box, Button } from '@mui/material'; -import { type IobTheme, Utils } from '@iobroker/react-components'; +import { type IobTheme, Utils } from '@iobroker/adapter-react-v5'; import type { ConfigItemStaticText } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigTable.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigTable.tsx index 8b525c864..91edc9a3e 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigTable.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigTable.tsx @@ -39,7 +39,7 @@ import { Close as IconClose, } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemTableIndexed, ConfigItemPanel, ConfigItemTable } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigText.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigText.tsx index ceab8c45e..cdfb3db84 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigText.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigText.tsx @@ -4,7 +4,7 @@ import { Autocomplete, TextField, TextareaAutosize, InputAdornment, IconButton } import { Close as CloseIcon } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemText } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigTextSendTo.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigTextSendTo.tsx index 1bbb0fddc..8d5ec970d 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigTextSendTo.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigTextSendTo.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { TextField, IconButton } from '@mui/material'; -import { Icon, IconCopy, Utils } from '@iobroker/react-components'; +import { Icon, IconCopy, Utils } from '@iobroker/adapter-react-v5'; import type { ConfigItemSendTo } from '#JC/types'; import getIconByName from './Icons'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigUUID.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigUUID.tsx index ea45bca76..7d00b7366 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigUUID.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigUUID.tsx @@ -4,7 +4,7 @@ import { TextField, IconButton } from '@mui/material'; import { ContentCopy as IconCopy } from '@mui/icons-material'; -import { Utils, I18n } from '@iobroker/react-components'; +import { Utils, I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemUUID } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/ConfigUser.tsx b/packages/jsonConfig/src/JsonConfigComponent/ConfigUser.tsx index d4bbab41f..25733894f 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/ConfigUser.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/ConfigUser.tsx @@ -2,7 +2,7 @@ import React, { type JSX } from 'react'; import { InputLabel, TextField, MenuItem, FormHelperText, FormControl, Select } from '@mui/material'; -import { Icon, Utils, I18n } from '@iobroker/react-components'; +import { Icon, Utils, I18n } from '@iobroker/adapter-react-v5'; import type { ConfigItemUser } from '#JC/types'; import ConfigGeneric, { type ConfigGenericProps, type ConfigGenericState } from './ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/index.tsx b/packages/jsonConfig/src/JsonConfigComponent/index.tsx index 75cb5f63f..1db4dc6d3 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/index.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/index.tsx @@ -2,7 +2,7 @@ import React, { Component, type JSX } from 'react'; import { LinearProgress } from '@mui/material'; -import { type AdminConnection, I18n, type ThemeName, type ThemeType, type IobTheme } from '@iobroker/react-components'; +import { type AdminConnection, I18n, type ThemeName, type ThemeType, type IobTheme } from '@iobroker/adapter-react-v5'; import type { BackEndCommand, ConfigItemPanel, ConfigItemTabs } from '#JC/types'; import type ConfigGeneric from '#JC/JsonConfigComponent/ConfigGeneric'; diff --git a/packages/jsonConfig/src/JsonConfigComponent/wrapper/Components/CustomModal.tsx b/packages/jsonConfig/src/JsonConfigComponent/wrapper/Components/CustomModal.tsx index 781e5608c..915a2ca80 100644 --- a/packages/jsonConfig/src/JsonConfigComponent/wrapper/Components/CustomModal.tsx +++ b/packages/jsonConfig/src/JsonConfigComponent/wrapper/Components/CustomModal.tsx @@ -4,7 +4,7 @@ import { Dialog, DialogActions, DialogContent, DialogTitle, IconButton, TextFiel import { Check as CheckIcon, Close as CloseIcon, Language as LanguageIcon } from '@mui/icons-material'; -import { I18n } from '@iobroker/react-components'; +import { I18n } from '@iobroker/adapter-react-v5'; const styles: Record = { modalDialog: { diff --git a/packages/jsonConfig/src/Utils.jsx b/packages/jsonConfig/src/Utils.jsx index 1d8ca6aaa..7fc0dd402 100644 --- a/packages/jsonConfig/src/Utils.jsx +++ b/packages/jsonConfig/src/Utils.jsx @@ -5,7 +5,7 @@ * * */ import React from 'react'; -import { Utils as _Utils, I18n } from '@iobroker/react-components'; +import { Utils as _Utils, I18n } from '@iobroker/adapter-react-v5'; const NAMESPACE = 'material'; const days = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']; diff --git a/packages/jsonConfig/src/types.d.ts b/packages/jsonConfig/src/types.d.ts index f30d2e0b8..244c9bf92 100644 --- a/packages/jsonConfig/src/types.d.ts +++ b/packages/jsonConfig/src/types.d.ts @@ -1,5 +1,5 @@ import type React from 'react'; -import type { ObjectBrowserCustomFilter, ObjectBrowserType } from '@iobroker/react-components'; +import type { ObjectBrowserCustomFilter, ObjectBrowserType } from '@iobroker/adapter-react-v5'; declare module '@mui/material/Button' { interface ButtonPropsColorOverrides { diff --git a/tsconfig.json b/tsconfig.json index 392a90734..a94c46499 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "paths": { "@iobroker/jsonConfig": ["./packages/jsonConfig/src"], "@iobroker/dm-gui-components": ["./packages/dm-gui-components/src"], - "@iobroker/react-components": ["./packages/react-components/src"], + "@iobroker/adapter-react-v5": ["./packages/adapter-react-v5/src"], "iobroker.admin": ["./packages/admin/src-admin/src"] } }