@iobroker/adapter-react-v5 4.13.2 → 4.13.4
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/ColorPicker.js +54 -54
- package/Components/ColorPicker.js.map +1 -1
- package/Components/ComplexCron.js.map +1 -1
- package/Components/FileBrowser.js +3 -3
- package/Components/FileViewer.js +9 -16
- package/Components/Loader.js +223 -223
- package/Components/Loaders/PT.css +108 -108
- package/Components/Loaders/PT.js +103 -103
- package/Components/Loaders/Vendor.css +13 -13
- package/Components/Loaders/Vendor.js +7 -7
- package/Components/ObjectBrowser.d.ts +2 -2
- package/Components/ObjectBrowser.js +359 -351
- package/Components/ObjectBrowser.js.map +1 -1
- package/Components/TabContent.d.ts +3 -7
- package/Components/TabContent.js +1 -3
- package/Components/TableResize.d.ts +20 -13
- package/Components/TableResize.js +244 -262
- package/Components/TreeTable.js +70 -70
- package/Components/TreeTable.js.map +1 -1
- package/Components/UploadImage.js +305 -305
- package/Components/loader.css +221 -221
- package/Components/types.d.ts +82 -82
- package/Components/withWidth.js +2 -2
- package/Components/withWidth.js.map +1 -1
- package/Connection.js.map +1 -1
- package/GenericApp.js +49 -49
- package/LICENSE +22 -22
- package/LegacyConnection.d.ts +4 -0
- package/LegacyConnection.js +14 -0
- package/Prompt.js +7 -7
- package/README.md +1105 -1101
- 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/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/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
- package/Components/404.js.map +0 -1
- package/Components/CustomModal.js.map +0 -1
- package/Components/FileBrowser.js.map +0 -1
- package/Components/FileViewer.js.map +0 -1
- package/Components/Icon.js.map +0 -1
- package/Components/IconPicker.js.map +0 -1
- package/Components/IconSelector.js.map +0 -1
- package/Components/Image.js.map +0 -1
- package/Components/JsonConfigComponent/ChipInput.d.ts +0 -12
- package/Components/JsonConfigComponent/ChipInput.js +0 -763
- package/Components/JsonConfigComponent/ChipInput.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigAccordion.d.ts +0 -15
- package/Components/JsonConfigComponent/ConfigAccordion.js +0 -348
- package/Components/JsonConfigComponent/ConfigAccordion.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigAlive.d.ts +0 -10
- package/Components/JsonConfigComponent/ConfigAlive.js +0 -105
- package/Components/JsonConfigComponent/ConfigAlive.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigAutocomplete.d.ts +0 -37
- package/Components/JsonConfigComponent/ConfigAutocomplete.js +0 -73
- package/Components/JsonConfigComponent/ConfigAutocomplete.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigAutocompleteSendTo.d.ts +0 -17
- package/Components/JsonConfigComponent/ConfigAutocompleteSendTo.js +0 -131
- package/Components/JsonConfigComponent/ConfigAutocompleteSendTo.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigCRON.d.ts +0 -15
- package/Components/JsonConfigComponent/ConfigCRON.js +0 -157
- package/Components/JsonConfigComponent/ConfigCRON.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigCertCollection.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigCertCollection.js +0 -128
- package/Components/JsonConfigComponent/ConfigCertCollection.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigCertificateSelect.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigCertificateSelect.js +0 -149
- package/Components/JsonConfigComponent/ConfigCertificateSelect.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigCertificates.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigCertificates.js +0 -284
- package/Components/JsonConfigComponent/ConfigCertificates.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigCheckLicense.d.ts +0 -3
- package/Components/JsonConfigComponent/ConfigCheckLicense.js +0 -821
- package/Components/JsonConfigComponent/ConfigCheckLicense.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigCheckbox.d.ts +0 -15
- package/Components/JsonConfigComponent/ConfigCheckbox.js +0 -40
- package/Components/JsonConfigComponent/ConfigCheckbox.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigChip.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigChip.js +0 -120
- package/Components/JsonConfigComponent/ConfigChip.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigColor.d.ts +0 -22
- package/Components/JsonConfigComponent/ConfigColor.js +0 -120
- package/Components/JsonConfigComponent/ConfigColor.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigCoordinates.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigCoordinates.js +0 -265
- package/Components/JsonConfigComponent/ConfigCoordinates.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigCustom.d.ts +0 -26
- package/Components/JsonConfigComponent/ConfigCustom.js +0 -316
- package/Components/JsonConfigComponent/ConfigCustom.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigDatePicker.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigDatePicker.js +0 -91
- package/Components/JsonConfigComponent/ConfigDatePicker.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigDeviceManager.d.ts +0 -6
- package/Components/JsonConfigComponent/ConfigDeviceManager.js +0 -18
- package/Components/JsonConfigComponent/ConfigFile.d.ts +0 -15
- package/Components/JsonConfigComponent/ConfigFile.js +0 -228
- package/Components/JsonConfigComponent/ConfigFile.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigFileSelector.d.ts +0 -3
- package/Components/JsonConfigComponent/ConfigFileSelector.js +0 -625
- package/Components/JsonConfigComponent/ConfigFileSelector.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigFunc.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigFunc.js +0 -124
- package/Components/JsonConfigComponent/ConfigFunc.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigGeneric.d.ts +0 -95
- package/Components/JsonConfigComponent/ConfigGeneric.js +0 -646
- package/Components/JsonConfigComponent/ConfigIP.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigIP.js +0 -130
- package/Components/JsonConfigComponent/ConfigIP.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigImageSendTo.d.ts +0 -10
- package/Components/JsonConfigComponent/ConfigImageSendTo.js +0 -114
- package/Components/JsonConfigComponent/ConfigImageSendTo.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigImageUpload.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigImageUpload.js +0 -166
- package/Components/JsonConfigComponent/ConfigImageUpload.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigInstanceSelect.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigInstanceSelect.js +0 -264
- package/Components/JsonConfigComponent/ConfigInstanceSelect.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigInterface.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigInterface.js +0 -146
- package/Components/JsonConfigComponent/ConfigInterface.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigJsonEditor.d.ts +0 -13
- package/Components/JsonConfigComponent/ConfigJsonEditor.js +0 -145
- package/Components/JsonConfigComponent/ConfigJsonEditor.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigLanguage.d.ts +0 -7
- package/Components/JsonConfigComponent/ConfigLanguage.js +0 -110
- package/Components/JsonConfigComponent/ConfigLanguage.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigLicense.d.ts +0 -24
- package/Components/JsonConfigComponent/ConfigLicense.js +0 -183
- package/Components/JsonConfigComponent/ConfigLicense.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigNumber.d.ts +0 -17
- package/Components/JsonConfigComponent/ConfigNumber.js +0 -117
- package/Components/JsonConfigComponent/ConfigObjectId.d.ts +0 -17
- package/Components/JsonConfigComponent/ConfigObjectId.js +0 -167
- package/Components/JsonConfigComponent/ConfigObjectId.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigPanel.d.ts +0 -3
- package/Components/JsonConfigComponent/ConfigPanel.js +0 -396
- package/Components/JsonConfigComponent/ConfigPanel.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigPassword.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigPassword.js +0 -193
- package/Components/JsonConfigComponent/ConfigPassword.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigPattern.d.ts +0 -21
- package/Components/JsonConfigComponent/ConfigPattern.js +0 -65
- package/Components/JsonConfigComponent/ConfigPattern.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigPort.d.ts +0 -3
- package/Components/JsonConfigComponent/ConfigPort.js +0 -176
- package/Components/JsonConfigComponent/ConfigRoom.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigRoom.js +0 -124
- package/Components/JsonConfigComponent/ConfigRoom.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigSelect.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigSelect.js +0 -159
- package/Components/JsonConfigComponent/ConfigSelect.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigSelectSendTo.d.ts +0 -17
- package/Components/JsonConfigComponent/ConfigSelectSendTo.js +0 -272
- package/Components/JsonConfigComponent/ConfigSelectSendTo.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigSendto.d.ts +0 -24
- package/Components/JsonConfigComponent/ConfigSendto.js +0 -294
- package/Components/JsonConfigComponent/ConfigSendto.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigSetState.d.ts +0 -18
- package/Components/JsonConfigComponent/ConfigSetState.js +0 -185
- package/Components/JsonConfigComponent/ConfigSetState.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigSlider.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigSlider.js +0 -119
- package/Components/JsonConfigComponent/ConfigSlider.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigStaticDivider.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigStaticDivider.js +0 -68
- package/Components/JsonConfigComponent/ConfigStaticDivider.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigStaticHeader.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigStaticHeader.js +0 -81
- package/Components/JsonConfigComponent/ConfigStaticHeader.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigStaticImage.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigStaticImage.js +0 -71
- package/Components/JsonConfigComponent/ConfigStaticImage.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigStaticText.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigStaticText.js +0 -88
- package/Components/JsonConfigComponent/ConfigStaticText.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigTable.d.ts +0 -3
- package/Components/JsonConfigComponent/ConfigTable.js +0 -1064
- package/Components/JsonConfigComponent/ConfigTable.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigTabs.d.ts +0 -34
- package/Components/JsonConfigComponent/ConfigTabs.js +0 -162
- package/Components/JsonConfigComponent/ConfigTabs.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigText.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigText.js +0 -226
- package/Components/JsonConfigComponent/ConfigText.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigTextSendTo.d.ts +0 -10
- package/Components/JsonConfigComponent/ConfigTextSendTo.js +0 -129
- package/Components/JsonConfigComponent/ConfigTextSendTo.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigTimePicker.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigTimePicker.js +0 -85
- package/Components/JsonConfigComponent/ConfigTimePicker.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigTopic.d.ts +0 -17
- package/Components/JsonConfigComponent/ConfigTopic.js +0 -110
- package/Components/JsonConfigComponent/ConfigTopic.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigUUID.d.ts +0 -15
- package/Components/JsonConfigComponent/ConfigUUID.js +0 -95
- package/Components/JsonConfigComponent/ConfigUUID.js.map +0 -1
- package/Components/JsonConfigComponent/ConfigUser.d.ts +0 -14
- package/Components/JsonConfigComponent/ConfigUser.js +0 -142
- package/Components/JsonConfigComponent/ConfigUser.js.map +0 -1
- package/Components/JsonConfigComponent/DeviceManager/Communication.d.ts +0 -63
- package/Components/JsonConfigComponent/DeviceManager/Communication.js +0 -268
- package/Components/JsonConfigComponent/DeviceManager/DeviceActionButton.d.ts +0 -11
- package/Components/JsonConfigComponent/DeviceManager/DeviceActionButton.js +0 -15
- package/Components/JsonConfigComponent/DeviceManager/DeviceCard.d.ts +0 -53
- package/Components/JsonConfigComponent/DeviceManager/DeviceCard.js +0 -340
- package/Components/JsonConfigComponent/DeviceManager/DeviceControl.d.ts +0 -45
- package/Components/JsonConfigComponent/DeviceManager/DeviceControl.js +0 -146
- package/Components/JsonConfigComponent/DeviceManager/DeviceImageUpload.d.ts +0 -12
- package/Components/JsonConfigComponent/DeviceManager/DeviceImageUpload.js +0 -69
- package/Components/JsonConfigComponent/DeviceManager/DeviceList.d.ts +0 -51
- package/Components/JsonConfigComponent/DeviceManager/DeviceList.js +0 -226
- package/Components/JsonConfigComponent/DeviceManager/DeviceStatus.d.ts +0 -13
- package/Components/JsonConfigComponent/DeviceManager/DeviceStatus.js +0 -111
- package/Components/JsonConfigComponent/DeviceManager/InstanceActionButton.d.ts +0 -7
- package/Components/JsonConfigComponent/DeviceManager/InstanceActionButton.js +0 -16
- package/Components/JsonConfigComponent/DeviceManager/JsonConfig.d.ts +0 -11
- package/Components/JsonConfigComponent/DeviceManager/JsonConfig.js +0 -94
- package/Components/JsonConfigComponent/DeviceManager/TooltipButton.d.ts +0 -10
- package/Components/JsonConfigComponent/DeviceManager/TooltipButton.js +0 -22
- package/Components/JsonConfigComponent/DeviceManager/Utils.d.ts +0 -12
- package/Components/JsonConfigComponent/DeviceManager/Utils.js +0 -158
- package/Components/JsonConfigComponent/DeviceManager/i18n/de.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/en.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/es.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/fr.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/i18n.d.ts +0 -26
- package/Components/JsonConfigComponent/DeviceManager/i18n/it.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/nl.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/pl.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/pt.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/ru.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/uk.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/i18n/zh-cn.json +0 -21
- package/Components/JsonConfigComponent/DeviceManager/index.d.ts +0 -2
- package/Components/JsonConfigComponent/DeviceManager/index.js +0 -10
- package/Components/JsonConfigComponent/DeviceManager/index.js.map +0 -1
- package/Components/JsonConfigComponent/Utils.d.ts +0 -9
- package/Components/JsonConfigComponent/Utils.js +0 -13
- package/Components/JsonConfigComponent/index.d.ts +0 -26
- package/Components/JsonConfigComponent/index.js +0 -520
- package/Components/JsonConfigComponent/index.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/AdminConnection.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/AdminConnection.js +0 -7
- package/Components/JsonConfigComponent/wrapper/Components/ColorPicker.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Components/ColorPicker.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Components/ColorPicker.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Components/Icon.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Components/Icon.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Components/Icon.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Components/TextWithIcon.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Components/TextWithIcon.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Components/TextWithIcon.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Components/UploadImage.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Components/UploadImage.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Components/UploadImage.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Components/Utils.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Components/Utils.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Components/Utils.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Dialogs/Confirm.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Dialogs/Confirm.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Dialogs/Confirm.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Dialogs/Cron.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Dialogs/Cron.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Dialogs/Cron.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Dialogs/Error.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Dialogs/Error.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Dialogs/Error.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Dialogs/Message.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Dialogs/Message.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Dialogs/Message.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectFile.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectFile.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectFile.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectID.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectID.js +0 -10
- package/Components/JsonConfigComponent/wrapper/Dialogs/SelectID.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/i18n.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/i18n.js +0 -10
- package/Components/JsonConfigComponent/wrapper/i18n.js.map +0 -1
- package/Components/JsonConfigComponent/wrapper/icons/IconCopy.d.ts +0 -2
- package/Components/JsonConfigComponent/wrapper/icons/IconCopy.js +0 -10
- package/Components/JsonConfigComponent/wrapper/icons/IconCopy.js.map +0 -1
- package/Components/Loader.js.map +0 -1
- package/Components/Loaders/PT.js.map +0 -1
- package/Components/Loaders/Vendor.js.map +0 -1
- package/Components/Logo.js.map +0 -1
- package/Components/MDUtils.js.map +0 -1
- package/Components/Router.js.map +0 -1
- package/Components/SaveCloseButtons.js.map +0 -1
- package/Components/Schedule.js.map +0 -1
- package/Components/SelectWithIcon.js.map +0 -1
- package/Components/SimpleCron/cron2text.js.map +0 -1
- package/Components/SimpleCron/cronText.js.map +0 -1
- package/Components/SimpleCron/index.js.map +0 -1
- package/Components/SimpleCron/jquery.cron.locale.js.map +0 -1
- package/Components/TabContainer.js.map +0 -1
- package/Components/TabContent.js.map +0 -1
- package/Components/TabHeader.js.map +0 -1
- package/Components/TableResize.js.map +0 -1
- package/Components/TextWithIcon.js.map +0 -1
- package/Components/ToggleThemeMenu.js.map +0 -1
- package/Components/UploadImage.js.map +0 -1
- package/Components/Utils.js.map +0 -1
- package/Components/copy-to-clipboard.d.ts +0 -13
- package/Components/copy-to-clipboard.js +0 -156
- package/Components/copy-to-clipboard.js.map +0 -1
- package/Dialogs/ComplexCron.js.map +0 -1
- package/Dialogs/Confirm.js.map +0 -1
- package/Dialogs/Cron.js.map +0 -1
- package/Dialogs/Error.js.map +0 -1
- package/Dialogs/Message.js.map +0 -1
- package/Dialogs/SelectFile.js.map +0 -1
- package/Dialogs/SelectID.js.map +0 -1
- package/Dialogs/SimpleCron.js.map +0 -1
- package/Dialogs/TextInput.js.map +0 -1
- package/GenericApp.js.map +0 -1
- package/LegacyConnection.js.map +0 -1
- package/Prompt.js.map +0 -1
- package/Theme.js.map +0 -1
- package/i18n.js.map +0 -1
- package/icons/IconExpert.js.map +0 -1
|
@@ -1,284 +0,0 @@
|
|
|
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 _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
|
-
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
12
|
-
var _get2 = _interopRequireDefault(require("@babel/runtime/helpers/get"));
|
|
13
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
14
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
15
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
16
|
-
var _react = _interopRequireDefault(require("react"));
|
|
17
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
18
|
-
var _styles = require("@mui/styles");
|
|
19
|
-
var _material = require("@mui/material");
|
|
20
|
-
var _ConfigGeneric2 = _interopRequireDefault(require("./ConfigGeneric"));
|
|
21
|
-
var _i18n = _interopRequireDefault(require("./wrapper/i18n"));
|
|
22
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
23
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
24
|
-
var styles = function styles() {
|
|
25
|
-
return {
|
|
26
|
-
fullWidth: {
|
|
27
|
-
width: '100%'
|
|
28
|
-
},
|
|
29
|
-
leWidth: {
|
|
30
|
-
width: 620,
|
|
31
|
-
marginBottom: 10
|
|
32
|
-
},
|
|
33
|
-
certWidth: {
|
|
34
|
-
width: 200,
|
|
35
|
-
marginRight: 10
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
var ConfigCertificates = /*#__PURE__*/function (_ConfigGeneric) {
|
|
40
|
-
(0, _inherits2["default"])(ConfigCertificates, _ConfigGeneric);
|
|
41
|
-
var _super = _createSuper(ConfigCertificates);
|
|
42
|
-
function ConfigCertificates() {
|
|
43
|
-
(0, _classCallCheck2["default"])(this, ConfigCertificates);
|
|
44
|
-
return _super.apply(this, arguments);
|
|
45
|
-
}
|
|
46
|
-
(0, _createClass2["default"])(ConfigCertificates, [{
|
|
47
|
-
key: "componentDidMount",
|
|
48
|
-
value: function () {
|
|
49
|
-
var _componentDidMount = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
50
|
-
var _collectionsOptions;
|
|
51
|
-
var certificates, certsPublicOptions, certsPrivateOptions, certsChainOptions, collectionsOptions;
|
|
52
|
-
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
53
|
-
while (1) switch (_context.prev = _context.next) {
|
|
54
|
-
case 0:
|
|
55
|
-
(0, _get2["default"])((0, _getPrototypeOf2["default"])(ConfigCertificates.prototype), "componentDidMount", this).call(this);
|
|
56
|
-
_context.next = 3;
|
|
57
|
-
return this.props.socket.getCertificates();
|
|
58
|
-
case 3:
|
|
59
|
-
certificates = _context.sent;
|
|
60
|
-
certsPublicOptions = [];
|
|
61
|
-
certsPrivateOptions = [];
|
|
62
|
-
certsChainOptions = [];
|
|
63
|
-
_context.next = 9;
|
|
64
|
-
return this.props.socket.getObject('system.certificates');
|
|
65
|
-
case 9:
|
|
66
|
-
collectionsOptions = _context.sent;
|
|
67
|
-
if ((_collectionsOptions = collectionsOptions) !== null && _collectionsOptions !== void 0 && (_collectionsOptions = _collectionsOptions["native"]) !== null && _collectionsOptions !== void 0 && _collectionsOptions.collections) {
|
|
68
|
-
collectionsOptions = Object.keys(collectionsOptions["native"].collections);
|
|
69
|
-
} else {
|
|
70
|
-
collectionsOptions = null;
|
|
71
|
-
}
|
|
72
|
-
certificates.forEach(function (el) {
|
|
73
|
-
if (el.type === 'public') {
|
|
74
|
-
certsPublicOptions.push({
|
|
75
|
-
label: el.name,
|
|
76
|
-
value: el.name
|
|
77
|
-
});
|
|
78
|
-
} else if (el.type === 'private') {
|
|
79
|
-
certsPrivateOptions.push({
|
|
80
|
-
label: el.name,
|
|
81
|
-
value: el.name
|
|
82
|
-
});
|
|
83
|
-
} else if (el.type === 'chained') {
|
|
84
|
-
certsChainOptions.push({
|
|
85
|
-
label: el.name,
|
|
86
|
-
value: el.name
|
|
87
|
-
});
|
|
88
|
-
} else {
|
|
89
|
-
certsPublicOptions.push({
|
|
90
|
-
label: el.name,
|
|
91
|
-
value: el.name
|
|
92
|
-
});
|
|
93
|
-
certsPrivateOptions.push({
|
|
94
|
-
label: el.name,
|
|
95
|
-
value: el.name
|
|
96
|
-
});
|
|
97
|
-
certsChainOptions.push({
|
|
98
|
-
label: el.name,
|
|
99
|
-
value: el.name
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
certsPublicOptions.unshift({
|
|
104
|
-
label: _i18n["default"].t(_ConfigGeneric2["default"].NONE_LABEL),
|
|
105
|
-
value: _ConfigGeneric2["default"].NONE_VALUE
|
|
106
|
-
});
|
|
107
|
-
certsPrivateOptions.unshift({
|
|
108
|
-
label: _i18n["default"].t(_ConfigGeneric2["default"].NONE_LABEL),
|
|
109
|
-
value: _ConfigGeneric2["default"].NONE_VALUE
|
|
110
|
-
});
|
|
111
|
-
certsChainOptions.unshift({
|
|
112
|
-
label: _i18n["default"].t(_ConfigGeneric2["default"].NONE_LABEL),
|
|
113
|
-
value: _ConfigGeneric2["default"].NONE_VALUE
|
|
114
|
-
});
|
|
115
|
-
this.setState({
|
|
116
|
-
certsPublicOptions: certsPublicOptions,
|
|
117
|
-
certsChainOptions: certsChainOptions,
|
|
118
|
-
certsPrivateOptions: certsPrivateOptions,
|
|
119
|
-
collectionsOptions: collectionsOptions
|
|
120
|
-
});
|
|
121
|
-
case 16:
|
|
122
|
-
case "end":
|
|
123
|
-
return _context.stop();
|
|
124
|
-
}
|
|
125
|
-
}, _callee, this);
|
|
126
|
-
}));
|
|
127
|
-
function componentDidMount() {
|
|
128
|
-
return _componentDidMount.apply(this, arguments);
|
|
129
|
-
}
|
|
130
|
-
return componentDidMount;
|
|
131
|
-
}()
|
|
132
|
-
}, {
|
|
133
|
-
key: "renderItem",
|
|
134
|
-
value: function renderItem(error, disabled /* , defaultValue */) {
|
|
135
|
-
var _this$state$certsPubl,
|
|
136
|
-
_this$state$certsPriv,
|
|
137
|
-
_this$state$certsChai,
|
|
138
|
-
_this = this,
|
|
139
|
-
_this$state$collectio,
|
|
140
|
-
_this$state$certsPubl2,
|
|
141
|
-
_this$state$certsPriv2,
|
|
142
|
-
_this$state$certsChai2;
|
|
143
|
-
if (!this.state.certsPublicOptions || !this.state.certsPrivateOptions || !this.state.certsChainOptions) {
|
|
144
|
-
return null;
|
|
145
|
-
}
|
|
146
|
-
var leCollection = (_ConfigGeneric2["default"].getValue(this.props.data, this.props.schema.leCollectionName || 'leCollection') || 'false').toString();
|
|
147
|
-
var certPublic = _ConfigGeneric2["default"].getValue(this.props.data, this.props.schema.certPublicName || 'certPublic');
|
|
148
|
-
var certPrivate = _ConfigGeneric2["default"].getValue(this.props.data, this.props.schema.certPrivateName || 'certPrivate');
|
|
149
|
-
var certChained = _ConfigGeneric2["default"].getValue(this.props.data, this.props.schema.certChainedName || 'certChained');
|
|
150
|
-
var itemCertPublic = (_this$state$certsPubl = this.state.certsPublicOptions) === null || _this$state$certsPubl === void 0 ? void 0 : _this$state$certsPubl.find(function (item) {
|
|
151
|
-
return item.value === certPublic;
|
|
152
|
-
});
|
|
153
|
-
var itemCertPrivate = (_this$state$certsPriv = this.state.certsPrivateOptions) === null || _this$state$certsPriv === void 0 ? void 0 : _this$state$certsPriv.find(function (item) {
|
|
154
|
-
return item.value === certPrivate;
|
|
155
|
-
});
|
|
156
|
-
var itemCertChained = (_this$state$certsChai = this.state.certsChainOptions) === null || _this$state$certsChai === void 0 ? void 0 : _this$state$certsChai.find(function (item) {
|
|
157
|
-
return item.value === certChained;
|
|
158
|
-
});
|
|
159
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
160
|
-
className: this.props.classes.fullWidth
|
|
161
|
-
}, this.state.collectionsOptions ? /*#__PURE__*/_react["default"].createElement(_material.FormControl, {
|
|
162
|
-
className: this.props.classes.leWidth,
|
|
163
|
-
variant: "standard"
|
|
164
|
-
}, /*#__PURE__*/_react["default"].createElement(_material.InputLabel, {
|
|
165
|
-
shrink: true
|
|
166
|
-
}, "Let's encrypt"), /*#__PURE__*/_react["default"].createElement(_material.Select, {
|
|
167
|
-
variant: "standard",
|
|
168
|
-
error: !!error,
|
|
169
|
-
displayEmpty: true,
|
|
170
|
-
disabled: !!disabled,
|
|
171
|
-
value: leCollection,
|
|
172
|
-
onChange: function onChange(e) {
|
|
173
|
-
return _this.onChange(_this.props.schema.leCollectionName || 'leCollection', e.target.value === 'false' ? false : e.target.value === 'true' ? true : e.target.value);
|
|
174
|
-
}
|
|
175
|
-
}, /*#__PURE__*/_react["default"].createElement(_material.MenuItem, {
|
|
176
|
-
key: "_false",
|
|
177
|
-
value: "false",
|
|
178
|
-
style: {
|
|
179
|
-
fontWeight: 'bold'
|
|
180
|
-
}
|
|
181
|
-
}, _i18n["default"].t('ra_Do not use let\'s encrypt')), /*#__PURE__*/_react["default"].createElement(_material.MenuItem, {
|
|
182
|
-
key: "_true",
|
|
183
|
-
value: "true",
|
|
184
|
-
style: {
|
|
185
|
-
fontWeight: 'bold'
|
|
186
|
-
}
|
|
187
|
-
}, _i18n["default"].t('ra_Use all available let\'s encrypt certificates')), (_this$state$collectio = this.state.collectionsOptions) === null || _this$state$collectio === void 0 ? void 0 : _this$state$collectio.map(function (item) {
|
|
188
|
-
return /*#__PURE__*/_react["default"].createElement(_material.MenuItem, {
|
|
189
|
-
key: item,
|
|
190
|
-
value: item
|
|
191
|
-
}, item);
|
|
192
|
-
}))) : null, this.state.collectionsOptions ? /*#__PURE__*/_react["default"].createElement("br", null) : null, this.state.collectionsOptions && leCollection !== 'false' ? /*#__PURE__*/_react["default"].createElement("div", null, _i18n["default"].t('ra_Fallback custom certificates')) : null, /*#__PURE__*/_react["default"].createElement(_material.FormControl, {
|
|
193
|
-
className: this.props.classes.certWidth,
|
|
194
|
-
variant: "standard"
|
|
195
|
-
}, /*#__PURE__*/_react["default"].createElement(_material.InputLabel, {
|
|
196
|
-
shrink: true
|
|
197
|
-
}, _i18n["default"].t('ra_Public certificate')), /*#__PURE__*/_react["default"].createElement(_material.Select, {
|
|
198
|
-
variant: "standard",
|
|
199
|
-
error: !!error,
|
|
200
|
-
displayEmpty: true,
|
|
201
|
-
disabled: !!disabled,
|
|
202
|
-
value: certPublic || '',
|
|
203
|
-
renderValue: function renderValue() {
|
|
204
|
-
return _this.getText(itemCertPublic === null || itemCertPublic === void 0 ? void 0 : itemCertPublic.label);
|
|
205
|
-
},
|
|
206
|
-
onChange: function onChange(e) {
|
|
207
|
-
return _this.onChange(_this.props.schema.certPublicName || 'certPublic', e.target.value);
|
|
208
|
-
}
|
|
209
|
-
}, (_this$state$certsPubl2 = this.state.certsPublicOptions) === null || _this$state$certsPubl2 === void 0 ? void 0 : _this$state$certsPubl2.map(function (item, i) {
|
|
210
|
-
return /*#__PURE__*/_react["default"].createElement(_material.MenuItem, {
|
|
211
|
-
key: "".concat(item.value, "_").concat(i),
|
|
212
|
-
value: item.value,
|
|
213
|
-
style: item.value === _ConfigGeneric2["default"].NONE_VALUE ? {
|
|
214
|
-
opacity: 0.5
|
|
215
|
-
} : {}
|
|
216
|
-
}, _this.getText(item.label));
|
|
217
|
-
}))), /*#__PURE__*/_react["default"].createElement(_material.FormControl, {
|
|
218
|
-
className: this.props.classes.certWidth,
|
|
219
|
-
variant: "standard"
|
|
220
|
-
}, /*#__PURE__*/_react["default"].createElement(_material.InputLabel, {
|
|
221
|
-
shrink: true
|
|
222
|
-
}, _i18n["default"].t('ra_Private certificate')), /*#__PURE__*/_react["default"].createElement(_material.Select, {
|
|
223
|
-
variant: "standard",
|
|
224
|
-
error: !!error,
|
|
225
|
-
displayEmpty: true,
|
|
226
|
-
disabled: !!disabled,
|
|
227
|
-
value: certPrivate || '',
|
|
228
|
-
renderValue: function renderValue() {
|
|
229
|
-
return _this.getText(itemCertPrivate === null || itemCertPrivate === void 0 ? void 0 : itemCertPrivate.label);
|
|
230
|
-
},
|
|
231
|
-
onChange: function onChange(e) {
|
|
232
|
-
return _this.onChange(_this.props.schema.certPrivateName || 'certPrivate', e.target.value);
|
|
233
|
-
}
|
|
234
|
-
}, (_this$state$certsPriv2 = this.state.certsPrivateOptions) === null || _this$state$certsPriv2 === void 0 ? void 0 : _this$state$certsPriv2.map(function (item, i) {
|
|
235
|
-
return /*#__PURE__*/_react["default"].createElement(_material.MenuItem, {
|
|
236
|
-
key: "".concat(item.value, "_").concat(i),
|
|
237
|
-
value: item.value,
|
|
238
|
-
style: item.value === _ConfigGeneric2["default"].NONE_VALUE ? {
|
|
239
|
-
opacity: 0.5
|
|
240
|
-
} : {}
|
|
241
|
-
}, _this.getText(item.label));
|
|
242
|
-
}))), /*#__PURE__*/_react["default"].createElement(_material.FormControl, {
|
|
243
|
-
className: this.props.classes.certWidth,
|
|
244
|
-
variant: "standard"
|
|
245
|
-
}, /*#__PURE__*/_react["default"].createElement(_material.InputLabel, {
|
|
246
|
-
shrink: true
|
|
247
|
-
}, _i18n["default"].t('ra_Chained certificate')), /*#__PURE__*/_react["default"].createElement(_material.Select, {
|
|
248
|
-
variant: "standard",
|
|
249
|
-
error: !!error,
|
|
250
|
-
displayEmpty: true,
|
|
251
|
-
disabled: !!disabled,
|
|
252
|
-
value: certChained || '',
|
|
253
|
-
renderValue: function renderValue() {
|
|
254
|
-
return _this.getText(itemCertChained === null || itemCertChained === void 0 ? void 0 : itemCertChained.label);
|
|
255
|
-
},
|
|
256
|
-
onChange: function onChange(e) {
|
|
257
|
-
return _this.onChange(_this.props.schema.certChainedName || 'certChained', e.target.value);
|
|
258
|
-
}
|
|
259
|
-
}, (_this$state$certsChai2 = this.state.certsChainOptions) === null || _this$state$certsChai2 === void 0 ? void 0 : _this$state$certsChai2.map(function (item, i) {
|
|
260
|
-
return /*#__PURE__*/_react["default"].createElement(_material.MenuItem, {
|
|
261
|
-
key: "".concat(item.value, "_").concat(i),
|
|
262
|
-
value: item.value,
|
|
263
|
-
style: item.value === _ConfigGeneric2["default"].NONE_VALUE ? {
|
|
264
|
-
opacity: 0.5
|
|
265
|
-
} : {}
|
|
266
|
-
}, _this.getText(item.label));
|
|
267
|
-
}))));
|
|
268
|
-
}
|
|
269
|
-
}]);
|
|
270
|
-
return ConfigCertificates;
|
|
271
|
-
}(_ConfigGeneric2["default"]);
|
|
272
|
-
ConfigCertificates.propTypes = {
|
|
273
|
-
socket: _propTypes["default"].object.isRequired,
|
|
274
|
-
themeType: _propTypes["default"].string,
|
|
275
|
-
themeName: _propTypes["default"].string,
|
|
276
|
-
style: _propTypes["default"].object,
|
|
277
|
-
className: _propTypes["default"].string,
|
|
278
|
-
data: _propTypes["default"].object.isRequired,
|
|
279
|
-
schema: _propTypes["default"].object,
|
|
280
|
-
onError: _propTypes["default"].func,
|
|
281
|
-
onChange: _propTypes["default"].func
|
|
282
|
-
};
|
|
283
|
-
var _default = exports["default"] = (0, _styles.withStyles)(styles)(ConfigCertificates);
|
|
284
|
-
//# sourceMappingURL=ConfigCertificates.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigCertificates.js","names":["_react","_interopRequireDefault","require","_propTypes","_styles","_material","_ConfigGeneric2","_i18n","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","styles","fullWidth","width","leWidth","marginBottom","certWidth","marginRight","ConfigCertificates","_ConfigGeneric","_inherits2","_super","_classCallCheck2","_createClass2","key","value","_componentDidMount","_asyncToGenerator2","_regenerator","mark","_callee","_collectionsOptions","certificates","certsPublicOptions","certsPrivateOptions","certsChainOptions","collectionsOptions","wrap","_callee$","_context","prev","next","_get2","props","socket","getCertificates","sent","getObject","collections","Object","keys","forEach","el","type","push","label","name","unshift","I18n","t","ConfigGeneric","NONE_LABEL","NONE_VALUE","setState","stop","componentDidMount","renderItem","error","disabled","_this$state$certsPubl","_this$state$certsPriv","_this$state$certsChai","_this","_this$state$collectio","_this$state$certsPubl2","_this$state$certsPriv2","_this$state$certsChai2","state","leCollection","getValue","data","schema","leCollectionName","toString","certPublic","certPublicName","certPrivate","certPrivateName","certChained","certChainedName","itemCertPublic","find","item","itemCertPrivate","itemCertChained","createElement","className","classes","FormControl","variant","InputLabel","shrink","Select","displayEmpty","onChange","target","MenuItem","style","fontWeight","map","renderValue","getText","i","concat","opacity","propTypes","PropTypes","object","isRequired","themeType","string","themeName","onError","func","_default","exports","withStyles"],"sources":["JsonConfigComponent/ConfigCertificates.jsx"],"sourcesContent":["import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '@mui/styles';\r\n\r\nimport {\r\n InputLabel,\r\n MenuItem,\r\n FormControl,\r\n Select,\r\n} from '@mui/material';\r\n\r\nimport ConfigGeneric from './ConfigGeneric';\r\nimport I18n from './wrapper/i18n';\r\n\r\nconst styles = () => ({\r\n fullWidth: {\r\n width: '100%',\r\n },\r\n leWidth: {\r\n width: 620,\r\n marginBottom: 10,\r\n },\r\n certWidth: {\r\n width: 200,\r\n marginRight: 10,\r\n },\r\n});\r\n\r\nclass ConfigCertificates extends ConfigGeneric {\r\n async componentDidMount() {\r\n super.componentDidMount();\r\n const certificates = await this.props.socket.getCertificates();\r\n const certsPublicOptions = [];\r\n const certsPrivateOptions = [];\r\n const certsChainOptions = [];\r\n\r\n let collectionsOptions = await this.props.socket.getObject('system.certificates');\r\n if (collectionsOptions?.native?.collections) {\r\n collectionsOptions = Object.keys(collectionsOptions.native.collections);\r\n } else {\r\n collectionsOptions = null;\r\n }\r\n\r\n certificates\r\n .forEach(el => {\r\n if (el.type === 'public') {\r\n certsPublicOptions.push({ label: el.name, value: el.name });\r\n } else if (el.type === 'private') {\r\n certsPrivateOptions.push({ label: el.name, value: el.name });\r\n } else if (el.type === 'chained') {\r\n certsChainOptions.push({ label: el.name, value: el.name });\r\n } else {\r\n certsPublicOptions.push({ label: el.name, value: el.name });\r\n certsPrivateOptions.push({ label: el.name, value: el.name });\r\n certsChainOptions.push({ label: el.name, value: el.name });\r\n }\r\n });\r\n\r\n certsPublicOptions.unshift({ label: I18n.t(ConfigGeneric.NONE_LABEL), value: ConfigGeneric.NONE_VALUE });\r\n certsPrivateOptions.unshift({ label: I18n.t(ConfigGeneric.NONE_LABEL), value: ConfigGeneric.NONE_VALUE });\r\n certsChainOptions.unshift({ label: I18n.t(ConfigGeneric.NONE_LABEL), value: ConfigGeneric.NONE_VALUE });\r\n\r\n this.setState({\r\n certsPublicOptions,\r\n certsChainOptions,\r\n certsPrivateOptions,\r\n collectionsOptions,\r\n });\r\n }\r\n\r\n renderItem(error, disabled /* , defaultValue */) {\r\n if (!this.state.certsPublicOptions || !this.state.certsPrivateOptions || !this.state.certsChainOptions) {\r\n return null;\r\n }\r\n const leCollection = (ConfigGeneric.getValue(this.props.data, this.props.schema.leCollectionName || 'leCollection') || 'false').toString();\r\n const certPublic = ConfigGeneric.getValue(this.props.data, this.props.schema.certPublicName || 'certPublic');\r\n const certPrivate = ConfigGeneric.getValue(this.props.data, this.props.schema.certPrivateName || 'certPrivate');\r\n const certChained = ConfigGeneric.getValue(this.props.data, this.props.schema.certChainedName || 'certChained');\r\n\r\n const itemCertPublic = this.state.certsPublicOptions?.find(item => item.value === certPublic);\r\n const itemCertPrivate = this.state.certsPrivateOptions?.find(item => item.value === certPrivate);\r\n const itemCertChained = this.state.certsChainOptions?.find(item => item.value === certChained);\r\n\r\n return <div className={this.props.classes.fullWidth}>\r\n {this.state.collectionsOptions ? <FormControl className={this.props.classes.leWidth} variant=\"standard\">\r\n <InputLabel shrink>Let's encrypt</InputLabel>\r\n <Select\r\n variant=\"standard\"\r\n error={!!error}\r\n displayEmpty\r\n disabled={!!disabled}\r\n value={leCollection}\r\n onChange={e => this.onChange(\r\n this.props.schema.leCollectionName || 'leCollection',\r\n e.target.value === 'false' ? false : (e.target.value === 'true' ? true : e.target.value),\r\n )}\r\n >\r\n <MenuItem\r\n key=\"_false\"\r\n value=\"false\"\r\n style={{ fontWeight: 'bold' }}\r\n >\r\n {I18n.t('ra_Do not use let\\'s encrypt')}\r\n </MenuItem>\r\n <MenuItem\r\n key=\"_true\"\r\n value=\"true\"\r\n style={{ fontWeight: 'bold' }}\r\n >\r\n {I18n.t('ra_Use all available let\\'s encrypt certificates')}\r\n </MenuItem>\r\n {this.state.collectionsOptions?.map(item =>\r\n <MenuItem\r\n key={item}\r\n value={item}\r\n >\r\n {item}\r\n </MenuItem>)}\r\n </Select>\r\n </FormControl> : null}\r\n {this.state.collectionsOptions ? <br /> : null}\r\n {this.state.collectionsOptions && leCollection !== 'false' ? <div>{I18n.t('ra_Fallback custom certificates')}</div> : null}\r\n <FormControl className={this.props.classes.certWidth} variant=\"standard\">\r\n <InputLabel shrink>{I18n.t('ra_Public certificate')}</InputLabel>\r\n <Select\r\n variant=\"standard\"\r\n error={!!error}\r\n displayEmpty\r\n disabled={!!disabled}\r\n value={certPublic || ''}\r\n renderValue={() => this.getText(itemCertPublic?.label)}\r\n onChange={e => this.onChange(this.props.schema.certPublicName || 'certPublic', e.target.value)}\r\n >\r\n {this.state.certsPublicOptions?.map((item, i) =>\r\n <MenuItem\r\n key={`${item.value}_${i}`}\r\n value={item.value}\r\n style={item.value === ConfigGeneric.NONE_VALUE ? { opacity: 0.5 } : {}}\r\n >\r\n {this.getText(item.label)}\r\n </MenuItem>)}\r\n </Select>\r\n </FormControl>\r\n <FormControl className={this.props.classes.certWidth} variant=\"standard\">\r\n <InputLabel shrink>{I18n.t('ra_Private certificate')}</InputLabel>\r\n <Select\r\n variant=\"standard\"\r\n error={!!error}\r\n displayEmpty\r\n disabled={!!disabled}\r\n value={certPrivate || ''}\r\n renderValue={() => this.getText(itemCertPrivate?.label)}\r\n onChange={e => this.onChange(this.props.schema.certPrivateName || 'certPrivate', e.target.value)}\r\n >\r\n {this.state.certsPrivateOptions?.map((item, i) =>\r\n <MenuItem\r\n key={`${item.value}_${i}`}\r\n value={item.value}\r\n style={item.value === ConfigGeneric.NONE_VALUE ? { opacity: 0.5 } : {}}\r\n >\r\n {this.getText(item.label)}\r\n </MenuItem>)}\r\n </Select>\r\n </FormControl>\r\n <FormControl className={this.props.classes.certWidth} variant=\"standard\">\r\n <InputLabel shrink>{I18n.t('ra_Chained certificate')}</InputLabel>\r\n <Select\r\n variant=\"standard\"\r\n error={!!error}\r\n displayEmpty\r\n disabled={!!disabled}\r\n value={certChained || ''}\r\n renderValue={() => this.getText(itemCertChained?.label)}\r\n onChange={e => this.onChange(this.props.schema.certChainedName || 'certChained', e.target.value)}\r\n >\r\n {this.state.certsChainOptions?.map((item, i) =>\r\n <MenuItem\r\n key={`${item.value}_${i}`}\r\n value={item.value}\r\n style={item.value === ConfigGeneric.NONE_VALUE ? { opacity: 0.5 } : {}}\r\n >\r\n {this.getText(item.label)}\r\n </MenuItem>)}\r\n </Select>\r\n </FormControl>\r\n </div>;\r\n }\r\n}\r\n\r\nConfigCertificates.propTypes = {\r\n socket: PropTypes.object.isRequired,\r\n themeType: PropTypes.string,\r\n themeName: PropTypes.string,\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n data: PropTypes.object.isRequired,\r\n schema: PropTypes.object,\r\n onError: PropTypes.func,\r\n onChange: PropTypes.func,\r\n};\r\n\r\nexport default withStyles(styles)(ConfigCertificates);\r\n"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAEA,IAAAG,SAAA,GAAAH,OAAA;AAOA,IAAAI,eAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,KAAA,GAAAN,sBAAA,CAAAC,OAAA;AAAkC,SAAAM,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AAAA,SAAAJ,0BAAA,eAAAO,OAAA,qBAAAA,OAAA,CAAAC,SAAA,oBAAAD,OAAA,CAAAC,SAAA,CAAAI,IAAA,2BAAAC,KAAA,oCA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