@iobroker/adapter-react-v5 4.13.0 → 4.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AdminConnection.js.map +1 -1
- package/Components/404.js +13 -13
- package/Components/404.js.map +1 -0
- package/Components/ColorPicker.js +54 -54
- package/Components/ColorPicker.js.map +1 -1
- package/Components/ComplexCron.js.map +1 -1
- package/Components/CustomModal.js.map +1 -0
- package/Components/FileBrowser.js +5 -1
- package/Components/FileBrowser.js.map +1 -0
- package/Components/FileViewer.js.map +1 -0
- package/Components/Icon.js.map +1 -0
- package/Components/IconPicker.js.map +1 -0
- package/Components/IconSelector.js.map +1 -0
- package/Components/Image.js.map +1 -0
- package/Components/JsonConfigComponent/ChipInput.d.ts +12 -0
- package/Components/JsonConfigComponent/ChipInput.js +763 -0
- package/Components/JsonConfigComponent/ChipInput.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigAccordion.d.ts +15 -0
- package/Components/JsonConfigComponent/ConfigAccordion.js +348 -0
- package/Components/JsonConfigComponent/ConfigAccordion.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigAlive.d.ts +10 -0
- package/Components/JsonConfigComponent/ConfigAlive.js +105 -0
- package/Components/JsonConfigComponent/ConfigAlive.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigAutocomplete.d.ts +37 -0
- package/Components/JsonConfigComponent/ConfigAutocomplete.js +73 -0
- package/Components/JsonConfigComponent/ConfigAutocomplete.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigAutocompleteSendTo.d.ts +17 -0
- package/Components/JsonConfigComponent/ConfigAutocompleteSendTo.js +131 -0
- package/Components/JsonConfigComponent/ConfigAutocompleteSendTo.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigCRON.d.ts +15 -0
- package/Components/JsonConfigComponent/ConfigCRON.js +157 -0
- package/Components/JsonConfigComponent/ConfigCRON.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigCertCollection.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigCertCollection.js +128 -0
- package/Components/JsonConfigComponent/ConfigCertCollection.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigCertificateSelect.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigCertificateSelect.js +149 -0
- package/Components/JsonConfigComponent/ConfigCertificateSelect.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigCertificates.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigCertificates.js +284 -0
- package/Components/JsonConfigComponent/ConfigCertificates.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigCheckLicense.d.ts +3 -0
- package/Components/JsonConfigComponent/ConfigCheckLicense.js +821 -0
- package/Components/JsonConfigComponent/ConfigCheckLicense.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigCheckbox.d.ts +15 -0
- package/Components/JsonConfigComponent/ConfigCheckbox.js +40 -0
- package/Components/JsonConfigComponent/ConfigCheckbox.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigChip.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigChip.js +120 -0
- package/Components/JsonConfigComponent/ConfigChip.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigColor.d.ts +22 -0
- package/Components/JsonConfigComponent/ConfigColor.js +120 -0
- package/Components/JsonConfigComponent/ConfigColor.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigCoordinates.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigCoordinates.js +265 -0
- package/Components/JsonConfigComponent/ConfigCoordinates.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigCustom.d.ts +26 -0
- package/Components/JsonConfigComponent/ConfigCustom.js +316 -0
- package/Components/JsonConfigComponent/ConfigCustom.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigDatePicker.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigDatePicker.js +91 -0
- package/Components/JsonConfigComponent/ConfigDatePicker.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigDeviceManager.d.ts +6 -0
- package/Components/JsonConfigComponent/ConfigDeviceManager.js +18 -0
- package/Components/JsonConfigComponent/ConfigFile.d.ts +15 -0
- package/Components/JsonConfigComponent/ConfigFile.js +228 -0
- package/Components/JsonConfigComponent/ConfigFile.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigFileSelector.d.ts +3 -0
- package/Components/JsonConfigComponent/ConfigFileSelector.js +625 -0
- package/Components/JsonConfigComponent/ConfigFileSelector.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigFunc.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigFunc.js +124 -0
- package/Components/JsonConfigComponent/ConfigFunc.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigGeneric.d.ts +95 -0
- package/Components/JsonConfigComponent/ConfigGeneric.js +646 -0
- package/Components/JsonConfigComponent/ConfigIP.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigIP.js +130 -0
- package/Components/JsonConfigComponent/ConfigIP.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigImageSendTo.d.ts +10 -0
- package/Components/JsonConfigComponent/ConfigImageSendTo.js +114 -0
- package/Components/JsonConfigComponent/ConfigImageSendTo.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigImageUpload.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigImageUpload.js +166 -0
- package/Components/JsonConfigComponent/ConfigImageUpload.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigInstanceSelect.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigInstanceSelect.js +264 -0
- package/Components/JsonConfigComponent/ConfigInstanceSelect.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigInterface.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigInterface.js +146 -0
- package/Components/JsonConfigComponent/ConfigInterface.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigJsonEditor.d.ts +13 -0
- package/Components/JsonConfigComponent/ConfigJsonEditor.js +145 -0
- package/Components/JsonConfigComponent/ConfigJsonEditor.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigLanguage.d.ts +7 -0
- package/Components/JsonConfigComponent/ConfigLanguage.js +110 -0
- package/Components/JsonConfigComponent/ConfigLanguage.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigLicense.d.ts +24 -0
- package/Components/JsonConfigComponent/ConfigLicense.js +183 -0
- package/Components/JsonConfigComponent/ConfigLicense.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigNumber.d.ts +17 -0
- package/Components/JsonConfigComponent/ConfigNumber.js +117 -0
- package/Components/JsonConfigComponent/ConfigObjectId.d.ts +17 -0
- package/Components/JsonConfigComponent/ConfigObjectId.js +167 -0
- package/Components/JsonConfigComponent/ConfigObjectId.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigPanel.d.ts +3 -0
- package/Components/JsonConfigComponent/ConfigPanel.js +396 -0
- package/Components/JsonConfigComponent/ConfigPanel.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigPassword.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigPassword.js +193 -0
- package/Components/JsonConfigComponent/ConfigPassword.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigPattern.d.ts +21 -0
- package/Components/JsonConfigComponent/ConfigPattern.js +65 -0
- package/Components/JsonConfigComponent/ConfigPattern.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigPort.d.ts +3 -0
- package/Components/JsonConfigComponent/ConfigPort.js +176 -0
- package/Components/JsonConfigComponent/ConfigRoom.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigRoom.js +124 -0
- package/Components/JsonConfigComponent/ConfigRoom.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigSelect.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigSelect.js +159 -0
- package/Components/JsonConfigComponent/ConfigSelect.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigSelectSendTo.d.ts +17 -0
- package/Components/JsonConfigComponent/ConfigSelectSendTo.js +272 -0
- package/Components/JsonConfigComponent/ConfigSelectSendTo.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigSendto.d.ts +24 -0
- package/Components/JsonConfigComponent/ConfigSendto.js +294 -0
- package/Components/JsonConfigComponent/ConfigSendto.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigSetState.d.ts +18 -0
- package/Components/JsonConfigComponent/ConfigSetState.js +185 -0
- package/Components/JsonConfigComponent/ConfigSetState.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigSlider.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigSlider.js +119 -0
- package/Components/JsonConfigComponent/ConfigSlider.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigStaticDivider.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigStaticDivider.js +68 -0
- package/Components/JsonConfigComponent/ConfigStaticDivider.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigStaticHeader.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigStaticHeader.js +81 -0
- package/Components/JsonConfigComponent/ConfigStaticHeader.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigStaticImage.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigStaticImage.js +71 -0
- package/Components/JsonConfigComponent/ConfigStaticImage.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigStaticText.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigStaticText.js +88 -0
- package/Components/JsonConfigComponent/ConfigStaticText.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigTable.d.ts +3 -0
- package/Components/JsonConfigComponent/ConfigTable.js +1064 -0
- package/Components/JsonConfigComponent/ConfigTable.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigTabs.d.ts +34 -0
- package/Components/JsonConfigComponent/ConfigTabs.js +162 -0
- package/Components/JsonConfigComponent/ConfigTabs.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigText.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigText.js +226 -0
- package/Components/JsonConfigComponent/ConfigText.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigTextSendTo.d.ts +10 -0
- package/Components/JsonConfigComponent/ConfigTextSendTo.js +129 -0
- package/Components/JsonConfigComponent/ConfigTextSendTo.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigTimePicker.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigTimePicker.js +85 -0
- package/Components/JsonConfigComponent/ConfigTimePicker.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigTopic.d.ts +17 -0
- package/Components/JsonConfigComponent/ConfigTopic.js +110 -0
- package/Components/JsonConfigComponent/ConfigTopic.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigUUID.d.ts +15 -0
- package/Components/JsonConfigComponent/ConfigUUID.js +95 -0
- package/Components/JsonConfigComponent/ConfigUUID.js.map +1 -0
- package/Components/JsonConfigComponent/ConfigUser.d.ts +14 -0
- package/Components/JsonConfigComponent/ConfigUser.js +142 -0
- package/Components/JsonConfigComponent/ConfigUser.js.map +1 -0
- package/Components/JsonConfigComponent/DeviceManager/Communication.d.ts +63 -0
- package/Components/JsonConfigComponent/DeviceManager/Communication.js +268 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceActionButton.d.ts +11 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceActionButton.js +15 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceCard.d.ts +53 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceCard.js +340 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceControl.d.ts +45 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceControl.js +146 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceImageUpload.d.ts +12 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceImageUpload.js +69 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceList.d.ts +51 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceList.js +226 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceStatus.d.ts +13 -0
- package/Components/JsonConfigComponent/DeviceManager/DeviceStatus.js +111 -0
- package/Components/JsonConfigComponent/DeviceManager/InstanceActionButton.d.ts +7 -0
- package/Components/JsonConfigComponent/DeviceManager/InstanceActionButton.js +16 -0
- package/Components/JsonConfigComponent/DeviceManager/JsonConfig.d.ts +11 -0
- package/Components/JsonConfigComponent/DeviceManager/JsonConfig.js +94 -0
- package/Components/JsonConfigComponent/DeviceManager/TooltipButton.d.ts +10 -0
- package/Components/JsonConfigComponent/DeviceManager/TooltipButton.js +22 -0
- package/Components/JsonConfigComponent/DeviceManager/Utils.d.ts +12 -0
- package/Components/JsonConfigComponent/DeviceManager/Utils.js +158 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/de.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/en.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/es.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/fr.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/i18n.d.ts +26 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/it.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/nl.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/pl.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/pt.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/ru.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/uk.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/i18n/zh-cn.json +21 -0
- package/Components/JsonConfigComponent/DeviceManager/index.d.ts +2 -0
- package/Components/JsonConfigComponent/DeviceManager/index.js +10 -0
- package/Components/JsonConfigComponent/DeviceManager/index.js.map +1 -0
- package/Components/JsonConfigComponent/Utils.d.ts +9 -0
- package/Components/JsonConfigComponent/Utils.js +13 -0
- package/Components/JsonConfigComponent/index.d.ts +26 -0
- package/Components/JsonConfigComponent/index.js +520 -0
- package/Components/JsonConfigComponent/index.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/AdminConnection.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/AdminConnection.js +7 -0
- package/Components/JsonConfigComponent/wrapper/Components/ColorPicker.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Components/ColorPicker.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Components/ColorPicker.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Components/Icon.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Components/Icon.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Components/Icon.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Components/TextWithIcon.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Components/TextWithIcon.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Components/TextWithIcon.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Components/UploadImage.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Components/UploadImage.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Components/UploadImage.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Components/Utils.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Components/Utils.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Components/Utils.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Confirm.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Confirm.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Confirm.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Cron.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Cron.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Cron.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Error.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Error.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Error.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Message.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Message.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/Message.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectFile.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectFile.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectFile.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectID.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectID.js +10 -0
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectID.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/i18n.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/i18n.js +10 -0
- package/Components/JsonConfigComponent/wrapper/i18n.js.map +1 -0
- package/Components/JsonConfigComponent/wrapper/icons/IconCopy.d.ts +2 -0
- package/Components/JsonConfigComponent/wrapper/icons/IconCopy.js +10 -0
- package/Components/JsonConfigComponent/wrapper/icons/IconCopy.js.map +1 -0
- package/Components/Loader.js +223 -223
- package/Components/Loader.js.map +1 -0
- package/Components/Loaders/PT.css +108 -108
- package/Components/Loaders/PT.js +103 -103
- package/Components/Loaders/PT.js.map +1 -0
- package/Components/Loaders/Vendor.css +13 -13
- package/Components/Loaders/Vendor.js +7 -7
- package/Components/Loaders/Vendor.js.map +1 -0
- package/Components/Logo.js.map +1 -0
- package/Components/MDUtils.js.map +1 -0
- package/Components/ObjectBrowser.js +344 -344
- package/Components/ObjectBrowser.js.map +1 -1
- package/Components/Router.js.map +1 -0
- package/Components/SaveCloseButtons.js.map +1 -0
- package/Components/Schedule.js.map +1 -0
- package/Components/SelectWithIcon.js.map +1 -0
- package/Components/SimpleCron/cron2text.js.map +1 -0
- package/Components/SimpleCron/cronText.js.map +1 -0
- package/Components/SimpleCron/index.js.map +1 -0
- package/Components/SimpleCron/jquery.cron.locale.js.map +1 -0
- package/Components/TabContainer.js.map +1 -0
- package/Components/TabContent.js.map +1 -0
- package/Components/TabHeader.js.map +1 -0
- package/Components/TableResize.js +5 -5
- package/Components/TableResize.js.map +1 -1
- package/Components/TextWithIcon.js.map +1 -0
- package/Components/ToggleThemeMenu.js.map +1 -0
- package/Components/TreeTable.js +70 -70
- package/Components/TreeTable.js.map +1 -1
- package/Components/UploadImage.js +305 -305
- package/Components/UploadImage.js.map +1 -0
- package/Components/Utils.js.map +1 -0
- package/Components/copy-to-clipboard.d.ts +13 -0
- package/Components/copy-to-clipboard.js +156 -0
- package/Components/copy-to-clipboard.js.map +1 -0
- package/Components/loader.css +221 -221
- package/Components/types.d.ts +82 -82
- package/Components/withWidth.js.map +1 -1
- package/Connection.js.map +1 -1
- package/Dialogs/ComplexCron.js.map +1 -0
- package/Dialogs/Confirm.js.map +1 -0
- package/Dialogs/Cron.js.map +1 -0
- package/Dialogs/Error.js.map +1 -0
- package/Dialogs/Message.js.map +1 -0
- package/Dialogs/SelectFile.js.map +1 -0
- package/Dialogs/SelectID.js.map +1 -0
- package/Dialogs/SimpleCron.js.map +1 -0
- package/Dialogs/TextInput.js.map +1 -0
- package/GenericApp.d.ts +2 -2
- package/GenericApp.js +49 -49
- package/GenericApp.js.map +1 -0
- package/LICENSE +22 -22
- package/LegacyConnection.d.ts +1 -1
- package/LegacyConnection.js +1 -0
- package/LegacyConnection.js.map +1 -0
- package/Prompt.js +7 -7
- package/Prompt.js.map +1 -0
- package/README.md +1101 -1101
- package/Theme.js.map +1 -0
- package/assets/devices/Alarm Systems.svg +18 -18
- package/assets/devices/Amplifier.svg +21 -21
- package/assets/devices/Awnings.svg +4 -4
- package/assets/devices/Battery Status.svg +4 -4
- package/assets/devices/Ceiling Spotlights.svg +15 -15
- package/assets/devices/Chandelier.svg +6 -6
- package/assets/devices/Climate.svg +11 -11
- package/assets/devices/Coffee Makers.svg +5 -5
- package/assets/devices/Cold Water.svg +31 -31
- package/assets/devices/Computer.svg +21 -21
- package/assets/devices/Consumption.svg +7 -7
- package/assets/devices/Curtains.svg +43 -43
- package/assets/devices/Dishwashers.svg +11 -11
- package/assets/devices/Doors.svg +5 -5
- package/assets/devices/Doorstep.svg +35 -35
- package/assets/devices/Dryer.svg +13 -13
- package/assets/devices/Fan.svg +20 -20
- package/assets/devices/Floor Lamps.svg +4 -4
- package/assets/devices/Garage Doors.svg +9 -9
- package/assets/devices/Gates.svg +32 -32
- package/assets/devices/Hairdryer.svg +23 -23
- package/assets/devices/Handle.svg +6 -6
- package/assets/devices/Hanging Lamps.svg +8 -8
- package/assets/devices/Heater.svg +44 -44
- package/assets/devices/Hoods.svg +11 -11
- package/assets/devices/Hot Water.svg +9 -9
- package/assets/devices/Humidity.svg +41 -41
- package/assets/devices/Iron.svg +4 -4
- package/assets/devices/Irrigation.svg +22 -22
- package/assets/devices/Led Strip.svg +30 -30
- package/assets/devices/Light.svg +29 -29
- package/assets/devices/Lightings.svg +46 -46
- package/assets/devices/Lock.svg +19 -19
- package/assets/devices/Louvre.svg +6 -6
- package/assets/devices/Mowing Machine.svg +8 -8
- package/assets/devices/Music.svg +12 -12
- package/assets/devices/Outdoor Blinds.svg +6 -6
- package/assets/devices/People.svg +19 -19
- package/assets/devices/Pool.svg +7 -7
- package/assets/devices/Power Consumption.svg +12 -12
- package/assets/devices/Printer.svg +9 -9
- package/assets/devices/Pump.svg +9 -9
- package/assets/devices/Receiver.svg +18 -18
- package/assets/devices/Sconces.svg +9 -9
- package/assets/devices/Security.svg +34 -34
- package/assets/devices/Shading.svg +4 -4
- package/assets/devices/Shutters.svg +10 -10
- package/assets/devices/SmokeDetector.svg +12 -12
- package/assets/devices/Sockets.svg +13 -13
- package/assets/devices/Speaker.svg +35 -35
- package/assets/devices/Stove.svg +11 -11
- package/assets/devices/Table Lamps.svg +11 -11
- package/assets/devices/Temperature Sensors.svg +28 -28
- package/assets/devices/Tv.svg +7 -7
- package/assets/devices/Vacuum Cleaner.svg +15 -15
- package/assets/devices/Ventilation.svg +12 -12
- package/assets/devices/Washing Machines.svg +15 -15
- package/assets/devices/Water Consumption.svg +5 -5
- package/assets/devices/Water Heater.svg +8 -8
- package/assets/devices/Water.svg +40 -40
- package/assets/devices/Weather.svg +28 -28
- package/assets/devices/Window.svg +7 -7
- package/assets/devices/list.json +993 -993
- package/assets/devices/names.txt +62 -62
- package/assets/devices/parseNames.js +34 -34
- package/assets/lamp_ceiling.svg +8 -8
- package/assets/lamp_table.svg +7 -7
- package/assets/no_icon.svg +9 -9
- package/assets/rooms/Anteroom.svg +52 -52
- package/assets/rooms/Attic.svg +21 -21
- package/assets/rooms/Balcony.svg +12 -12
- package/assets/rooms/Barn.svg +5 -5
- package/assets/rooms/Basement.svg +4 -4
- package/assets/rooms/Bathroom.svg +38 -38
- package/assets/rooms/Bedroom.svg +5 -5
- package/assets/rooms/Boiler Room.svg +12 -12
- package/assets/rooms/Carport.svg +17 -17
- package/assets/rooms/Cellar.svg +89 -89
- package/assets/rooms/Chamber.svg +9 -9
- package/assets/rooms/Corridor.svg +52 -52
- package/assets/rooms/Dining Area.svg +37 -37
- package/assets/rooms/Dining Room.svg +37 -37
- package/assets/rooms/Dining.svg +37 -37
- package/assets/rooms/Dressing Room.svg +4 -4
- package/assets/rooms/Driveway.svg +14 -14
- package/assets/rooms/Entrance.svg +44 -44
- package/assets/rooms/Equipment Room.svg +14 -14
- package/assets/rooms/Front Yard.svg +64 -64
- package/assets/rooms/Gallery.svg +13 -13
- package/assets/rooms/Garage.svg +20 -20
- package/assets/rooms/Garden.svg +12 -12
- package/assets/rooms/Ground Floor.svg +95 -95
- package/assets/rooms/Guest Bathroom.svg +32 -32
- package/assets/rooms/Guest Room.svg +5 -5
- package/assets/rooms/Gym.svg +4 -4
- package/assets/rooms/Hall.svg +19 -19
- package/assets/rooms/Home Theater.svg +7 -7
- package/assets/rooms/Kitchen.svg +17 -17
- package/assets/rooms/Laundry Room.svg +11 -11
- package/assets/rooms/Living Area.svg +10 -10
- package/assets/rooms/Living Room.svg +10 -10
- package/assets/rooms/Locker Room.svg +16 -16
- package/assets/rooms/Nursery.svg +4 -4
- package/assets/rooms/Office.svg +8 -8
- package/assets/rooms/Outdoors.svg +7 -7
- package/assets/rooms/Playroom.svg +5 -5
- package/assets/rooms/Pool.svg +7 -7
- package/assets/rooms/Rear Wall.svg +30 -30
- package/assets/rooms/Second Floor.svg +95 -95
- package/assets/rooms/Shed.svg +16 -16
- package/assets/rooms/Sleeping Area.svg +22 -22
- package/assets/rooms/Stairway.svg +4 -4
- package/assets/rooms/Stairwell.svg +15 -15
- package/assets/rooms/Storeroom.svg +4 -4
- package/assets/rooms/Summer House.svg +27 -27
- package/assets/rooms/Swimming Pool.svg +21 -21
- package/assets/rooms/Terrace.svg +6 -6
- package/assets/rooms/Toilet.svg +10 -10
- package/assets/rooms/Upstairs.svg +5 -5
- package/assets/rooms/Wardrobe.svg +60 -60
- package/assets/rooms/Washroom.svg +19 -19
- package/assets/rooms/Wc.svg +10 -10
- package/assets/rooms/Windscreen.svg +60 -60
- package/assets/rooms/Workshop.svg +22 -22
- package/assets/rooms/Workspace.svg +8 -8
- package/assets/rooms/list.json +945 -945
- package/assets/rooms/names.txt +59 -59
- package/assets/rooms/parseNames.js +34 -34
- package/craco-module-federation.js +69 -69
- package/i18n.js.map +1 -0
- package/icons/IconAdapter.js.map +1 -1
- package/icons/IconAlias.js.map +1 -1
- package/icons/IconChannel.js.map +1 -1
- package/icons/IconClearFilter.js.map +1 -1
- package/icons/IconClosed.js.map +1 -1
- package/icons/IconCopy.js +8 -8
- package/icons/IconCopy.js.map +1 -1
- package/icons/IconDevice.js.map +1 -1
- package/icons/IconDocument.js.map +1 -1
- package/icons/IconDocumentReadOnly.js.map +1 -1
- package/icons/IconExpert.js.map +1 -0
- package/icons/IconFx.js +1 -1
- package/icons/IconFx.js.map +1 -1
- package/icons/IconInstance.js.map +1 -1
- package/icons/IconLogout.js +9 -9
- package/icons/IconLogout.js.map +1 -1
- package/icons/IconNoIcon.js +8 -8
- package/icons/IconNoIcon.js.map +1 -1
- package/icons/IconOpen.js.map +1 -1
- package/icons/IconState.js.map +1 -1
- package/index.css +54 -54
- package/package.json +2 -2
- package/types.d.ts +94 -94
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getTranslation = exports.renderIcon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const icons_material_1 = require("@mui/icons-material");
|
|
9
|
+
const Icon_1 = __importDefault(require("../../Icon"));
|
|
10
|
+
const i18n_1 = __importDefault(require("../../../i18n"));
|
|
11
|
+
function renderIcon(action, colors, value) {
|
|
12
|
+
var _a, _b, _c, _d;
|
|
13
|
+
if (!action) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
let color = (value && action.colorOn) || action.color || (action.state ? 'primary' : 'inherit');
|
|
17
|
+
if (colors) {
|
|
18
|
+
if (color === 'primary') {
|
|
19
|
+
color = colors.primary;
|
|
20
|
+
}
|
|
21
|
+
else if (color === 'secondary') {
|
|
22
|
+
color = colors.secondary;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
if (((_a = action.icon) === null || _a === void 0 ? void 0 : _a.startsWith('fa-')) || ((_b = action.icon) === null || _b === void 0 ? void 0 : _b.startsWith('fas'))) {
|
|
26
|
+
const iconStyle = action.icon.split(' ').map(s => s.trim()).filter(s => s !== 'fa-solid');
|
|
27
|
+
if (iconStyle.includes('fa-trash-can') || iconStyle.includes('fa-trash')) {
|
|
28
|
+
return react_1.default.createElement(icons_material_1.Delete, { style: { color } });
|
|
29
|
+
}
|
|
30
|
+
if (iconStyle.includes('fa-pen')) {
|
|
31
|
+
return react_1.default.createElement(icons_material_1.Edit, { style: { color } });
|
|
32
|
+
}
|
|
33
|
+
if (iconStyle.includes('fa-redo-alt')) {
|
|
34
|
+
return react_1.default.createElement(icons_material_1.Refresh, { style: { color } });
|
|
35
|
+
}
|
|
36
|
+
if (iconStyle.includes('fa-plus')) {
|
|
37
|
+
return react_1.default.createElement(icons_material_1.Add, { style: { color } });
|
|
38
|
+
}
|
|
39
|
+
if (iconStyle.includes('fa-wifi')) {
|
|
40
|
+
return react_1.default.createElement(icons_material_1.Wifi, { style: { color } });
|
|
41
|
+
}
|
|
42
|
+
if (iconStyle.includes('fa-wifi-slash')) {
|
|
43
|
+
return react_1.default.createElement(icons_material_1.WifiOff, { style: { color } });
|
|
44
|
+
}
|
|
45
|
+
if (iconStyle.includes('fa-bluetooth')) {
|
|
46
|
+
return react_1.default.createElement(icons_material_1.Bluetooth, { style: { color } });
|
|
47
|
+
}
|
|
48
|
+
if (iconStyle.includes('fa-bluetooth-slash')) {
|
|
49
|
+
return react_1.default.createElement(icons_material_1.BluetoothDisabled, { style: { color } });
|
|
50
|
+
}
|
|
51
|
+
if (iconStyle.includes('fa-eye')) {
|
|
52
|
+
return react_1.default.createElement(icons_material_1.Visibility, { style: { color } });
|
|
53
|
+
}
|
|
54
|
+
if (iconStyle.includes('fa-search')) {
|
|
55
|
+
return react_1.default.createElement(icons_material_1.Search, { style: { color } });
|
|
56
|
+
}
|
|
57
|
+
if (iconStyle.includes('fa-unlink')) {
|
|
58
|
+
return react_1.default.createElement(icons_material_1.LinkOff, { style: { color } });
|
|
59
|
+
}
|
|
60
|
+
if (iconStyle.includes('fa-link')) {
|
|
61
|
+
return react_1.default.createElement(icons_material_1.Link, { style: { color } });
|
|
62
|
+
}
|
|
63
|
+
if (iconStyle.includes('fa-search-location')) {
|
|
64
|
+
return react_1.default.createElement(icons_material_1.NotListedLocation, { style: { color } });
|
|
65
|
+
}
|
|
66
|
+
if (iconStyle.includes('fa-play')) {
|
|
67
|
+
return react_1.default.createElement(icons_material_1.PlayArrow, { style: { color } });
|
|
68
|
+
}
|
|
69
|
+
if (iconStyle.includes('fa-stop')) {
|
|
70
|
+
return react_1.default.createElement(icons_material_1.Stop, { style: { color } });
|
|
71
|
+
}
|
|
72
|
+
if (iconStyle.includes('fa-pause')) {
|
|
73
|
+
return react_1.default.createElement(icons_material_1.Pause, { style: { color } });
|
|
74
|
+
}
|
|
75
|
+
if (iconStyle.includes('forward') || iconStyle.includes('fa-forward')) {
|
|
76
|
+
return react_1.default.createElement(icons_material_1.FastForward, { style: { color } });
|
|
77
|
+
}
|
|
78
|
+
if (iconStyle.includes('rewind') || iconStyle.includes('fa-rewind')) {
|
|
79
|
+
return react_1.default.createElement(icons_material_1.FastRewind, { style: { color } });
|
|
80
|
+
}
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
if (value && ((_c = action.iconOn) === null || _c === void 0 ? void 0 : _c.startsWith('data:image'))) {
|
|
84
|
+
return react_1.default.createElement(Icon_1.default, { src: action.iconOn, style: { color } });
|
|
85
|
+
}
|
|
86
|
+
if ((_d = action.icon) === null || _d === void 0 ? void 0 : _d.startsWith('data:image')) {
|
|
87
|
+
return react_1.default.createElement(Icon_1.default, { src: action.icon, style: { color } });
|
|
88
|
+
}
|
|
89
|
+
if (action.id === 'edit' || action.id === 'rename') {
|
|
90
|
+
return react_1.default.createElement(icons_material_1.Edit, { style: { color } });
|
|
91
|
+
}
|
|
92
|
+
if (action.id === 'delete') {
|
|
93
|
+
return react_1.default.createElement(icons_material_1.Delete, { style: { color } });
|
|
94
|
+
}
|
|
95
|
+
if (action.id === 'refresh') {
|
|
96
|
+
return react_1.default.createElement(icons_material_1.Refresh, { style: { color } });
|
|
97
|
+
}
|
|
98
|
+
if (action.id === 'newDevice' || action.id === 'new' || action.id === 'add') {
|
|
99
|
+
return react_1.default.createElement(icons_material_1.Add, { style: { color } });
|
|
100
|
+
}
|
|
101
|
+
if (action.id === 'discover' || action.id === 'search') {
|
|
102
|
+
return react_1.default.createElement(icons_material_1.Search, { style: { color } });
|
|
103
|
+
}
|
|
104
|
+
if (action.id === 'unpairDevice') {
|
|
105
|
+
return react_1.default.createElement(icons_material_1.LinkOff, { style: { color } });
|
|
106
|
+
}
|
|
107
|
+
if (action.id === 'pairDevice') {
|
|
108
|
+
return react_1.default.createElement(icons_material_1.Link, { style: { color } });
|
|
109
|
+
}
|
|
110
|
+
if (action.id === 'identify') {
|
|
111
|
+
return react_1.default.createElement(icons_material_1.NotListedLocation, { style: { color } });
|
|
112
|
+
}
|
|
113
|
+
if (action.id === 'play') {
|
|
114
|
+
return react_1.default.createElement(icons_material_1.PlayArrow, { style: { color } });
|
|
115
|
+
}
|
|
116
|
+
if (action.id === 'stop') {
|
|
117
|
+
return react_1.default.createElement(icons_material_1.Stop, { style: { color } });
|
|
118
|
+
}
|
|
119
|
+
if (action.id === 'pause') {
|
|
120
|
+
return react_1.default.createElement(icons_material_1.Pause, { style: { color } });
|
|
121
|
+
}
|
|
122
|
+
if (action.id === 'forward' || action.id === 'next') {
|
|
123
|
+
return react_1.default.createElement(icons_material_1.FastForward, { style: { color } });
|
|
124
|
+
}
|
|
125
|
+
if (action.id === 'rewind' || action.id === 'previous') {
|
|
126
|
+
return react_1.default.createElement(icons_material_1.FastRewind, { style: { color } });
|
|
127
|
+
}
|
|
128
|
+
if (action.id === 'lamp' || action.id === 'light') {
|
|
129
|
+
return react_1.default.createElement(icons_material_1.Lightbulb, { style: { color } });
|
|
130
|
+
}
|
|
131
|
+
if (action.id === 'backlight') {
|
|
132
|
+
return react_1.default.createElement(icons_material_1.Fluorescent, { style: { color } });
|
|
133
|
+
}
|
|
134
|
+
if (action.id === 'dimmer') {
|
|
135
|
+
return react_1.default.createElement(icons_material_1.WbIncandescent, { style: { color } });
|
|
136
|
+
}
|
|
137
|
+
if (action.id === 'socket') {
|
|
138
|
+
return react_1.default.createElement(icons_material_1.Power, { style: { color } });
|
|
139
|
+
}
|
|
140
|
+
return null;
|
|
141
|
+
}
|
|
142
|
+
exports.renderIcon = renderIcon;
|
|
143
|
+
let language;
|
|
144
|
+
/**
|
|
145
|
+
* Get Translation
|
|
146
|
+
* @param {string | object} text - Text to translate
|
|
147
|
+
* @returns {string}
|
|
148
|
+
*/
|
|
149
|
+
function getTranslation(text) {
|
|
150
|
+
language = language || i18n_1.default.getLanguage();
|
|
151
|
+
if (typeof text === 'object') {
|
|
152
|
+
const words = text;
|
|
153
|
+
// @ts-ignore
|
|
154
|
+
return words[language] || text.en;
|
|
155
|
+
}
|
|
156
|
+
return i18n_1.default.t(text);
|
|
157
|
+
}
|
|
158
|
+
exports.getTranslation = getTranslation;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Hersteller",
|
|
3
|
+
"model": "Modell",
|
|
4
|
+
"batteryTooltip": "Batterie",
|
|
5
|
+
"connectedIconTooltip": "Verbunden",
|
|
6
|
+
"disconnectedIconTooltip": "Getrennt",
|
|
7
|
+
"cancelButtonText": "Abbrechen",
|
|
8
|
+
"okButtonText": "OK",
|
|
9
|
+
"yesButtonText": "Ja",
|
|
10
|
+
"noButtonText": "Nein",
|
|
11
|
+
"noInstanceSelectedText": "Bitte Instanz auswählen",
|
|
12
|
+
"filterLabelText": "Nach Name filtern",
|
|
13
|
+
"instanceLabelText": "Instanz",
|
|
14
|
+
"refreshInstanceList": "Instanz Liste aktualisieren",
|
|
15
|
+
"copied": " Kopiert",
|
|
16
|
+
"toClipboard": " in die Zwischenablage kopiert",
|
|
17
|
+
"allDevicesFilteredOut": "Alle Geräte herausgefiltert",
|
|
18
|
+
"closeButtonText": "Schließen",
|
|
19
|
+
"instanceNotAlive": "Instanz ist nicht aktiv",
|
|
20
|
+
"noDevicesFoundText": "Keine Geräte gefunden"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Manufacturer",
|
|
3
|
+
"model": "Model",
|
|
4
|
+
"batteryTooltip": "Battery",
|
|
5
|
+
"connectedIconTooltip": "Connected",
|
|
6
|
+
"disconnectedIconTooltip": "Disconnected",
|
|
7
|
+
"cancelButtonText": "Cancel",
|
|
8
|
+
"closeButtonText": "Close",
|
|
9
|
+
"okButtonText": "OK",
|
|
10
|
+
"yesButtonText": "Yes",
|
|
11
|
+
"noButtonText": "No",
|
|
12
|
+
"noInstanceSelectedText": "Please select instance",
|
|
13
|
+
"filterLabelText": "Filter by name",
|
|
14
|
+
"instanceLabelText": "Instance",
|
|
15
|
+
"refreshInstanceList": "Refresh instance list",
|
|
16
|
+
"noDevicesFoundText": "No devices found",
|
|
17
|
+
"copied": "Copied",
|
|
18
|
+
"toClipboard": "to clipboard",
|
|
19
|
+
"instanceNotAlive": "Instance is not alive",
|
|
20
|
+
"allDevicesFilteredOut": "All devices filtered out"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Fabricante",
|
|
3
|
+
"model": "Modelo",
|
|
4
|
+
"batteryTooltip": "Batería",
|
|
5
|
+
"connectedIconTooltip": "Conectado",
|
|
6
|
+
"allDevicesFilteredOut": "Todos los dispositivos filtrados",
|
|
7
|
+
"cancelButtonText": "Cancelar",
|
|
8
|
+
"closeButtonText": "Cerca",
|
|
9
|
+
"copied": "copiado",
|
|
10
|
+
"disconnectedIconTooltip": "Desconectado",
|
|
11
|
+
"filterLabelText": "Filtrar por nombre",
|
|
12
|
+
"instanceLabelText": "Instancia",
|
|
13
|
+
"instanceNotAlive": "La instancia no está viva.",
|
|
14
|
+
"noButtonText": "No",
|
|
15
|
+
"noDevicesFoundText": "No se encontraron dispositivos",
|
|
16
|
+
"noInstanceSelectedText": "Por favor seleccione instancia",
|
|
17
|
+
"okButtonText": "DE ACUERDO",
|
|
18
|
+
"refreshInstanceList": "Actualizar lista de instancias",
|
|
19
|
+
"toClipboard": "al portapapeles",
|
|
20
|
+
"yesButtonText": "Sí"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Fabricant",
|
|
3
|
+
"model": "Modèle",
|
|
4
|
+
"batteryTooltip": "Batterie",
|
|
5
|
+
"connectedIconTooltip": "Connecté",
|
|
6
|
+
"allDevicesFilteredOut": "Tous les appareils filtrés",
|
|
7
|
+
"cancelButtonText": "Annuler",
|
|
8
|
+
"closeButtonText": "Fermer",
|
|
9
|
+
"copied": "Copié",
|
|
10
|
+
"disconnectedIconTooltip": "Débranché",
|
|
11
|
+
"filterLabelText": "Filtrer par nom",
|
|
12
|
+
"instanceLabelText": "Exemple",
|
|
13
|
+
"instanceNotAlive": "L'instance n'est pas vivante",
|
|
14
|
+
"noButtonText": "Non",
|
|
15
|
+
"noDevicesFoundText": "Aucun périphérique trouvé",
|
|
16
|
+
"noInstanceSelectedText": "Veuillez sélectionner une instance",
|
|
17
|
+
"okButtonText": "D'ACCORD",
|
|
18
|
+
"refreshInstanceList": "Actualiser la liste des instances",
|
|
19
|
+
"toClipboard": "au presse-papiers",
|
|
20
|
+
"yesButtonText": "Oui"
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file loads the translations keys from `i18n/en.json` file and overrides
|
|
3
|
+
* the declarations for the translate function `I18n.t` available in "@iobroker/adapter-react/i18n".
|
|
4
|
+
* Using these definitions it is ensured that all used translations in the React
|
|
5
|
+
* context are defined at least in the english translations file.
|
|
6
|
+
* This will add no overhead in the generated code since it just reexports the
|
|
7
|
+
* I18n class but with a more typed `t` function.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* DO NOT add any imports or exports in this file or it will stop working!
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Available words in `i18n/en.json`.
|
|
16
|
+
*/
|
|
17
|
+
declare type AdminWord = keyof typeof import('./en.json');
|
|
18
|
+
|
|
19
|
+
declare module '@iobroker/adapter-react/i18n' {
|
|
20
|
+
/**
|
|
21
|
+
* Translate the given string to the selected language.
|
|
22
|
+
* @param word The (key) word to look up the string. Has to be defined at least in `i18n/en.json`.
|
|
23
|
+
* @param args Optional arguments which will replace the first (second, third, ...) occurence of %s
|
|
24
|
+
*/
|
|
25
|
+
function t(word: AdminWord, ...args: string[]): string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Produttore",
|
|
3
|
+
"model": "Modello",
|
|
4
|
+
"batteryTooltip": "Batteria",
|
|
5
|
+
"connectedIconTooltip": "Connesso",
|
|
6
|
+
"allDevicesFilteredOut": "Tutti i dispositivi sono stati filtrati",
|
|
7
|
+
"cancelButtonText": "Annulla",
|
|
8
|
+
"closeButtonText": "Vicino",
|
|
9
|
+
"copied": "Copiato",
|
|
10
|
+
"disconnectedIconTooltip": "Disconnesso",
|
|
11
|
+
"filterLabelText": "Filtra per nome",
|
|
12
|
+
"instanceLabelText": "Esempio",
|
|
13
|
+
"instanceNotAlive": "L'istanza non è viva",
|
|
14
|
+
"noButtonText": "NO",
|
|
15
|
+
"noDevicesFoundText": "Nessun dispositivo trovato",
|
|
16
|
+
"noInstanceSelectedText": "Seleziona l'istanza",
|
|
17
|
+
"okButtonText": "OK",
|
|
18
|
+
"refreshInstanceList": "Aggiorna l'elenco delle istanze",
|
|
19
|
+
"toClipboard": "negli appunti",
|
|
20
|
+
"yesButtonText": "SÌ"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Fabrikant",
|
|
3
|
+
"model": "Model",
|
|
4
|
+
"batteryTooltip": "Batterij",
|
|
5
|
+
"connectedIconTooltip": "Verbonden",
|
|
6
|
+
"allDevicesFilteredOut": "Alle apparaten zijn eruit gefilterd",
|
|
7
|
+
"cancelButtonText": "Annuleren",
|
|
8
|
+
"closeButtonText": "Dichtbij",
|
|
9
|
+
"copied": "Gekopieerd",
|
|
10
|
+
"disconnectedIconTooltip": "Losgekoppeld",
|
|
11
|
+
"filterLabelText": "Filter op naam",
|
|
12
|
+
"instanceLabelText": "Voorbeeld",
|
|
13
|
+
"instanceNotAlive": "Instantie leeft niet",
|
|
14
|
+
"noButtonText": "Nee",
|
|
15
|
+
"noDevicesFoundText": "Geen apparaten gevonden",
|
|
16
|
+
"noInstanceSelectedText": "Selecteer een exemplaar",
|
|
17
|
+
"okButtonText": "OK",
|
|
18
|
+
"refreshInstanceList": "Ververs de exemplaarlijst",
|
|
19
|
+
"toClipboard": "naar klembord",
|
|
20
|
+
"yesButtonText": "Ja"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Producent",
|
|
3
|
+
"model": "Model",
|
|
4
|
+
"batteryTooltip": "Bateria",
|
|
5
|
+
"connectedIconTooltip": "Połączono",
|
|
6
|
+
"allDevicesFilteredOut": "Wszystkie urządzenia zostały odfiltrowane",
|
|
7
|
+
"cancelButtonText": "Anulować",
|
|
8
|
+
"closeButtonText": "Zamknąć",
|
|
9
|
+
"copied": "Skopiowano",
|
|
10
|
+
"disconnectedIconTooltip": "Bezładny",
|
|
11
|
+
"filterLabelText": "Filtruj według nazwy",
|
|
12
|
+
"instanceLabelText": "Instancja",
|
|
13
|
+
"instanceNotAlive": "Instancja nie żyje",
|
|
14
|
+
"noButtonText": "NIE",
|
|
15
|
+
"noDevicesFoundText": "Nie znaleziono urządzeń",
|
|
16
|
+
"noInstanceSelectedText": "Wybierz instancję",
|
|
17
|
+
"okButtonText": "OK",
|
|
18
|
+
"refreshInstanceList": "Odśwież listę instancji",
|
|
19
|
+
"toClipboard": "do schowka",
|
|
20
|
+
"yesButtonText": "Tak"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Fabricante",
|
|
3
|
+
"model": "Modelo",
|
|
4
|
+
"batteryTooltip": "Bateria",
|
|
5
|
+
"connectedIconTooltip": "Conectado",
|
|
6
|
+
"allDevicesFilteredOut": "Todos os dispositivos foram filtrados",
|
|
7
|
+
"cancelButtonText": "Cancelar",
|
|
8
|
+
"closeButtonText": "Fechar",
|
|
9
|
+
"copied": "Copiado",
|
|
10
|
+
"disconnectedIconTooltip": "Desconectado",
|
|
11
|
+
"filterLabelText": "Filtrar por nome",
|
|
12
|
+
"instanceLabelText": "Instância",
|
|
13
|
+
"instanceNotAlive": "A instância não está ativa",
|
|
14
|
+
"noButtonText": "Não",
|
|
15
|
+
"noDevicesFoundText": "Nenhum dispositivo encontrado",
|
|
16
|
+
"noInstanceSelectedText": "Selecione a instância",
|
|
17
|
+
"okButtonText": "OK",
|
|
18
|
+
"refreshInstanceList": "Atualizar lista de instâncias",
|
|
19
|
+
"toClipboard": "para a área de transferência",
|
|
20
|
+
"yesButtonText": "Sim"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Производитель",
|
|
3
|
+
"model": "Модель",
|
|
4
|
+
"batteryTooltip": "Батарея",
|
|
5
|
+
"connectedIconTooltip": "Подключено",
|
|
6
|
+
"allDevicesFilteredOut": "Все устройства отфильтрованы",
|
|
7
|
+
"cancelButtonText": "Отмена",
|
|
8
|
+
"closeButtonText": "Закрыть",
|
|
9
|
+
"copied": "Скопировано",
|
|
10
|
+
"disconnectedIconTooltip": "Отключено",
|
|
11
|
+
"filterLabelText": "Фильтровать по имени",
|
|
12
|
+
"instanceLabelText": "Екземпляр",
|
|
13
|
+
"instanceNotAlive": "Экземпляр не жив",
|
|
14
|
+
"noButtonText": "Нет",
|
|
15
|
+
"noDevicesFoundText": "Устройства не найдены",
|
|
16
|
+
"noInstanceSelectedText": "Пожалуйста, выберите экземпляр",
|
|
17
|
+
"okButtonText": "ХОРОШО",
|
|
18
|
+
"refreshInstanceList": "Обновить список экземпляров",
|
|
19
|
+
"toClipboard": "в буфер обмена",
|
|
20
|
+
"yesButtonText": "Да"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "Виробник",
|
|
3
|
+
"model": "Модель",
|
|
4
|
+
"batteryTooltip": "Батарея",
|
|
5
|
+
"allDevicesFilteredOut": "Усі пристрої відфільтровано",
|
|
6
|
+
"cancelButtonText": "Скасувати",
|
|
7
|
+
"closeButtonText": "Закрити",
|
|
8
|
+
"connectedIconTooltip": "Підключено",
|
|
9
|
+
"copied": "Скопійовано",
|
|
10
|
+
"disconnectedIconTooltip": "Відключено",
|
|
11
|
+
"filterLabelText": "Фільтрувати за назвою",
|
|
12
|
+
"instanceLabelText": "Екземпляр",
|
|
13
|
+
"instanceNotAlive": "Примірник не живий",
|
|
14
|
+
"noButtonText": "Немає",
|
|
15
|
+
"noDevicesFoundText": "Пристроїв не знайдено",
|
|
16
|
+
"noInstanceSelectedText": "Виберіть екземпляр",
|
|
17
|
+
"okButtonText": "в порядку",
|
|
18
|
+
"refreshInstanceList": "Оновити список екземплярів",
|
|
19
|
+
"toClipboard": "в буфер обміну",
|
|
20
|
+
"yesButtonText": "Так"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manufacturer": "制造商",
|
|
3
|
+
"model": "型号",
|
|
4
|
+
"batteryTooltip": "电池",
|
|
5
|
+
"connectedIconTooltip": "已连接",
|
|
6
|
+
"allDevicesFilteredOut": "所有设备均被过滤掉",
|
|
7
|
+
"cancelButtonText": "取消",
|
|
8
|
+
"closeButtonText": "关闭",
|
|
9
|
+
"copied": "已复制",
|
|
10
|
+
"disconnectedIconTooltip": "已断开连接",
|
|
11
|
+
"filterLabelText": "按名称过滤",
|
|
12
|
+
"instanceLabelText": "实例",
|
|
13
|
+
"instanceNotAlive": "实例不存在",
|
|
14
|
+
"noButtonText": "不",
|
|
15
|
+
"noDevicesFoundText": "未找到设备",
|
|
16
|
+
"noInstanceSelectedText": "请选择实例",
|
|
17
|
+
"okButtonText": "好的",
|
|
18
|
+
"refreshInstanceList": "刷新实例列表",
|
|
19
|
+
"toClipboard": "到剪贴板",
|
|
20
|
+
"yesButtonText": "是的"
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _DeviceList = _interopRequireDefault(require("./DeviceList"));
|
|
9
|
+
var _default = exports["default"] = _DeviceList["default"];
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_DeviceList","_interopRequireDefault","require","_default","exports","DeviceList"],"sources":["JsonConfigComponent/DeviceManager/index.js"],"sourcesContent":["import DeviceList from './DeviceList';\r\n\r\nexport default DeviceList;\r\n"],"mappings":";;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAsC,IAAAC,QAAA,GAAAC,OAAA,cAEvBC,sBAAU"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Utils {
|
|
4
|
+
/**
|
|
5
|
+
* Perform JSON parse/stringify with type inference
|
|
6
|
+
*
|
|
7
|
+
* @param obj the object to clone
|
|
8
|
+
*/
|
|
9
|
+
static deepClone(obj) {
|
|
10
|
+
return JSON.parse(JSON.stringify(obj));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.default = Utils;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
+
socket: PropTypes.Validator<object>;
|
|
3
|
+
adapterName: PropTypes.Requireable<string>;
|
|
4
|
+
instance: PropTypes.Requireable<number>;
|
|
5
|
+
common: PropTypes.Requireable<object>;
|
|
6
|
+
customs: PropTypes.Requireable<object>;
|
|
7
|
+
custom: PropTypes.Requireable<boolean>;
|
|
8
|
+
customObj: PropTypes.Requireable<object>;
|
|
9
|
+
multiEdit: PropTypes.Requireable<boolean>;
|
|
10
|
+
instanceObj: PropTypes.Requireable<object>;
|
|
11
|
+
dateFormat: PropTypes.Requireable<string>;
|
|
12
|
+
isFloatComma: PropTypes.Requireable<boolean>;
|
|
13
|
+
imagePrefix: PropTypes.Requireable<string>;
|
|
14
|
+
themeType: PropTypes.Requireable<string>;
|
|
15
|
+
themeName: PropTypes.Requireable<string>;
|
|
16
|
+
data: PropTypes.Validator<object>;
|
|
17
|
+
updateData: PropTypes.Requireable<number>;
|
|
18
|
+
schema: PropTypes.Requireable<object>;
|
|
19
|
+
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
+
onValueChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
+
embedded: PropTypes.Requireable<boolean>;
|
|
23
|
+
}>, "classes"> & import("@mui/styles").StyledComponentProps<"root"> & object>;
|
|
24
|
+
export default _default;
|
|
25
|
+
import PropTypes from 'prop-types';
|
|
26
|
+
import React from 'react';
|