@iobroker/adapter-react-v5 4.13.3 → 4.13.5
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 +165 -104
- 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 +845 -841
- 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 +1 -1
- 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
|
@@ -54,11 +54,11 @@ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
|
54
54
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
55
55
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
56
56
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
57
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } /**
|
|
58
|
-
* Copyright 2020-2024, Denis Haev <dogafox@gmail.com>
|
|
59
|
-
*
|
|
60
|
-
* MIT License
|
|
61
|
-
*
|
|
57
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } /**
|
|
58
|
+
* Copyright 2020-2024, Denis Haev <dogafox@gmail.com>
|
|
59
|
+
*
|
|
60
|
+
* MIT License
|
|
61
|
+
*
|
|
62
62
|
**/ // Icons
|
|
63
63
|
// own
|
|
64
64
|
var ICON_SIZE = 24;
|
|
@@ -754,9 +754,9 @@ var styles = function styles(theme) {
|
|
|
754
754
|
};
|
|
755
755
|
};
|
|
756
756
|
|
|
757
|
-
/**
|
|
758
|
-
* Function that walks through all keys of an object or array and applies a function to each key.
|
|
759
|
-
* @returns {unknown} The copied object
|
|
757
|
+
/**
|
|
758
|
+
* Function that walks through all keys of an object or array and applies a function to each key.
|
|
759
|
+
* @returns {unknown} The copied object
|
|
760
760
|
*/
|
|
761
761
|
function walkThrough(object, iteratee) {
|
|
762
762
|
if (Array.isArray(object)) {
|
|
@@ -775,12 +775,12 @@ function walkThrough(object, iteratee) {
|
|
|
775
775
|
return copiedObject;
|
|
776
776
|
}
|
|
777
777
|
|
|
778
|
-
/**
|
|
779
|
-
* Function to reduce an object primarily by a given list of keys
|
|
780
|
-
* @param obj The object which should be filtered
|
|
781
|
-
* @param filterKeys The keys which should be excluded
|
|
782
|
-
* @param excludeTranslations Whether translations should be reduced to only the english value
|
|
783
|
-
* @returns {unknown} The filtered object
|
|
778
|
+
/**
|
|
779
|
+
* Function to reduce an object primarily by a given list of keys
|
|
780
|
+
* @param obj The object which should be filtered
|
|
781
|
+
* @param filterKeys The keys which should be excluded
|
|
782
|
+
* @param excludeTranslations Whether translations should be reduced to only the english value
|
|
783
|
+
* @returns {unknown} The filtered object
|
|
784
784
|
*/
|
|
785
785
|
function filterObject(obj, filterKeys, excludeTranslations) {
|
|
786
786
|
return walkThrough(obj, function (result, value, key) {
|
|
@@ -802,14 +802,14 @@ function filterObject(obj, filterKeys, excludeTranslations) {
|
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
804
|
|
|
805
|
-
/**
|
|
806
|
-
* Function to generate a json-file for an object and trigger download it
|
|
807
|
-
* @param filename {string} The desired filename
|
|
808
|
-
* @param obj {unknown} The obj which should be downloaded
|
|
809
|
-
* @param options Options to filter/reduce the output
|
|
810
|
-
* @param options.beautify {boolean} Whether the output should be beautified
|
|
811
|
-
* @param options.excludeSystemRepositories {boolean} Whether "system.repositories" should be excluded
|
|
812
|
-
* @param options.excludeTranslations {boolean} Whether translations should be reduced to only the english value
|
|
805
|
+
/**
|
|
806
|
+
* Function to generate a json-file for an object and trigger download it
|
|
807
|
+
* @param filename {string} The desired filename
|
|
808
|
+
* @param obj {unknown} The obj which should be downloaded
|
|
809
|
+
* @param options Options to filter/reduce the output
|
|
810
|
+
* @param options.beautify {boolean} Whether the output should be beautified
|
|
811
|
+
* @param options.excludeSystemRepositories {boolean} Whether "system.repositories" should be excluded
|
|
812
|
+
* @param options.excludeTranslations {boolean} Whether translations should be reduced to only the english value
|
|
813
813
|
*/
|
|
814
814
|
function generateFile(filename, obj, options) {
|
|
815
815
|
var el = document.createElement('a');
|
|
@@ -852,10 +852,10 @@ function binarySearch(list, find, _start, _end) {
|
|
|
852
852
|
return false;
|
|
853
853
|
}
|
|
854
854
|
|
|
855
|
-
/**
|
|
856
|
-
* Check if browser is running on iOS
|
|
857
|
-
*
|
|
858
|
-
* @return {boolean}
|
|
855
|
+
/**
|
|
856
|
+
* Check if browser is running on iOS
|
|
857
|
+
*
|
|
858
|
+
* @return {boolean}
|
|
859
859
|
*/
|
|
860
860
|
// function isIOS() {
|
|
861
861
|
// return [
|
|
@@ -1548,30 +1548,30 @@ function findFunctionsForObject(data, id, lang, withParentInfo, funcs) {
|
|
|
1548
1548
|
};
|
|
1549
1549
|
}
|
|
1550
1550
|
|
|
1551
|
-
/*
|
|
1552
|
-
function quality2text(q) {
|
|
1553
|
-
if (!q) {
|
|
1554
|
-
return 'ok';
|
|
1555
|
-
}
|
|
1556
|
-
const custom = q & 0xFFFF0000;
|
|
1557
|
-
let text = '';
|
|
1558
|
-
if (q & 0x40) text += 'device';
|
|
1559
|
-
if (q & 0x80) text += 'sensor';
|
|
1560
|
-
if (q & 0x01) text += ' bad';
|
|
1561
|
-
if (q & 0x02) text += ' not connected';
|
|
1562
|
-
if (q & 0x04) text += ' error';
|
|
1563
|
-
|
|
1564
|
-
return text + (custom ? '|0x' + (custom >> 16).toString(16).toUpperCase() : '') + ' [0x' + q.toString(16).toUpperCase() + ']';
|
|
1565
|
-
}
|
|
1551
|
+
/*
|
|
1552
|
+
function quality2text(q) {
|
|
1553
|
+
if (!q) {
|
|
1554
|
+
return 'ok';
|
|
1555
|
+
}
|
|
1556
|
+
const custom = q & 0xFFFF0000;
|
|
1557
|
+
let text = '';
|
|
1558
|
+
if (q & 0x40) text += 'device';
|
|
1559
|
+
if (q & 0x80) text += 'sensor';
|
|
1560
|
+
if (q & 0x01) text += ' bad';
|
|
1561
|
+
if (q & 0x02) text += ' not connected';
|
|
1562
|
+
if (q & 0x04) text += ' error';
|
|
1563
|
+
|
|
1564
|
+
return text + (custom ? '|0x' + (custom >> 16).toString(16).toUpperCase() : '') + ' [0x' + q.toString(16).toUpperCase() + ']';
|
|
1565
|
+
}
|
|
1566
1566
|
*/
|
|
1567
1567
|
|
|
1568
1568
|
/** @typedef {{ state: ioBroker.State, obj: Record<string, any>, texts: Record<string, any>, dateFormat: any, isFloatComma: boolean }} FormatValueOptions */
|
|
1569
1569
|
|
|
1570
|
-
/**
|
|
1571
|
-
* Format a state value for visualization
|
|
1572
|
-
*
|
|
1573
|
-
* @param {FormatValueOptions} options
|
|
1574
|
-
* @return {{valText: {}, valFull: [{t: (*|String), v: (string|*)}] }}
|
|
1570
|
+
/**
|
|
1571
|
+
* Format a state value for visualization
|
|
1572
|
+
*
|
|
1573
|
+
* @param {FormatValueOptions} options
|
|
1574
|
+
* @return {{valText: {}, valFull: [{t: (*|String), v: (string|*)}] }}
|
|
1575
1575
|
*/
|
|
1576
1576
|
function formatValue(options) {
|
|
1577
1577
|
var dateFormat = options.dateFormat,
|
|
@@ -1698,11 +1698,11 @@ function formatValue(options) {
|
|
|
1698
1698
|
|
|
1699
1699
|
/** @typedef {{ state: ioBroker.State, isExpertMode: boolean, isButton: boolean }} GetValueStyleOptions */
|
|
1700
1700
|
|
|
1701
|
-
/**
|
|
1702
|
-
* Get css style for given state value
|
|
1703
|
-
*
|
|
1704
|
-
* @param {GetValueStyleOptions} options
|
|
1705
|
-
* @return {{color: (string)}}
|
|
1701
|
+
/**
|
|
1702
|
+
* Get css style for given state value
|
|
1703
|
+
*
|
|
1704
|
+
* @param {GetValueStyleOptions} options
|
|
1705
|
+
* @return {{color: (string)}}
|
|
1706
1706
|
*/
|
|
1707
1707
|
function getValueStyle(options) {
|
|
1708
1708
|
var state = options.state,
|
|
@@ -1746,8 +1746,8 @@ function prepareSparkData(values, from) {
|
|
|
1746
1746
|
return v;
|
|
1747
1747
|
}
|
|
1748
1748
|
|
|
1749
|
-
/**
|
|
1750
|
-
* @type {import('./types').ObjectBrowserTableFilter}
|
|
1749
|
+
/**
|
|
1750
|
+
* @type {import('./types').ObjectBrowserTableFilter}
|
|
1751
1751
|
*/
|
|
1752
1752
|
var DEFAULT_FILTER = {
|
|
1753
1753
|
id: '',
|
|
@@ -1887,25 +1887,25 @@ var SCREEN_WIDTHS = {
|
|
|
1887
1887
|
};
|
|
1888
1888
|
var objectsAlreadyLoaded = false;
|
|
1889
1889
|
|
|
1890
|
-
/**
|
|
1891
|
-
* @extends {React.Component<import('./types').ObjectBrowserProps>}
|
|
1890
|
+
/**
|
|
1891
|
+
* @extends {React.Component<import('./types').ObjectBrowserProps>}
|
|
1892
1892
|
*/
|
|
1893
1893
|
var _NON_EXPERT_NAMESPACES = /*#__PURE__*/new WeakMap();
|
|
1894
1894
|
var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
1895
|
-
/**
|
|
1896
|
-
* @param {import('./types').ObjectBrowserProps} props
|
|
1895
|
+
/**
|
|
1896
|
+
* @param {import('./types').ObjectBrowserProps} props
|
|
1897
1897
|
*/
|
|
1898
1898
|
function ObjectBrowser(props) {
|
|
1899
1899
|
var _this;
|
|
1900
1900
|
(0, _classCallCheck2["default"])(this, ObjectBrowser);
|
|
1901
1901
|
_this = _callSuper(this, ObjectBrowser, [props]);
|
|
1902
|
-
/**
|
|
1903
|
-
* Namespaces which are allowed to be edited by non-expert users
|
|
1904
|
-
* @type {string[]}
|
|
1902
|
+
/**
|
|
1903
|
+
* Namespaces which are allowed to be edited by non-expert users
|
|
1904
|
+
* @type {string[]}
|
|
1905
1905
|
*/
|
|
1906
1906
|
_classPrivateFieldInitSpec(_this, _NON_EXPERT_NAMESPACES, ['0_userdata.0.', 'alias.0.']);
|
|
1907
|
-
/**
|
|
1908
|
-
* Context menu handler.
|
|
1907
|
+
/**
|
|
1908
|
+
* Context menu handler.
|
|
1909
1909
|
*/
|
|
1910
1910
|
(0, _defineProperty2["default"])(_this, "onContextMenu", function (e) {
|
|
1911
1911
|
// console.log(`CONTEXT MENU: ${this.contextMenu ? Date.now() - this.contextMenu.ts : 'false'}`);
|
|
@@ -1924,10 +1924,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
1924
1924
|
}
|
|
1925
1925
|
_this.contextMenu = null;
|
|
1926
1926
|
});
|
|
1927
|
-
/**
|
|
1928
|
-
* Called when a state changes.
|
|
1929
|
-
* @param {string} id
|
|
1930
|
-
* @param {ioBroker.State} state
|
|
1927
|
+
/**
|
|
1928
|
+
* Called when a state changes.
|
|
1929
|
+
* @param {string} id
|
|
1930
|
+
* @param {ioBroker.State} state
|
|
1931
1931
|
*/
|
|
1932
1932
|
(0, _defineProperty2["default"])(_this, "onStateChange", function (id, state) {
|
|
1933
1933
|
console.log("> stateChange ".concat(id));
|
|
@@ -1950,9 +1950,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
1950
1950
|
_this.statesUpdateTimer = null;
|
|
1951
1951
|
}
|
|
1952
1952
|
});
|
|
1953
|
-
/**
|
|
1954
|
-
* @param {string} id
|
|
1955
|
-
* @param {ioBroker.Object} obj
|
|
1953
|
+
/**
|
|
1954
|
+
* @param {string} id
|
|
1955
|
+
* @param {ioBroker.Object} obj
|
|
1956
1956
|
*/
|
|
1957
1957
|
(0, _defineProperty2["default"])(_this, "onObjectChange", function (id, obj /* , oldObj */) {
|
|
1958
1958
|
var newState;
|
|
@@ -1995,9 +1995,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
1995
1995
|
}, 500);
|
|
1996
1996
|
}
|
|
1997
1997
|
});
|
|
1998
|
-
/**
|
|
1999
|
-
* @private
|
|
2000
|
-
* @param {string} id
|
|
1998
|
+
/**
|
|
1999
|
+
* @private
|
|
2000
|
+
* @param {string} id
|
|
2001
2001
|
*/
|
|
2002
2002
|
(0, _defineProperty2["default"])(_this, "getEnumsForId", function (id) {
|
|
2003
2003
|
var result = [];
|
|
@@ -2020,10 +2020,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
2020
2020
|
});
|
|
2021
2021
|
return result.length ? result : undefined;
|
|
2022
2022
|
});
|
|
2023
|
-
/**
|
|
2024
|
-
* @private
|
|
2025
|
-
* @param {array} enums
|
|
2026
|
-
* @param {string} objId
|
|
2023
|
+
/**
|
|
2024
|
+
* @private
|
|
2025
|
+
* @param {array} enums
|
|
2026
|
+
* @param {string} objId
|
|
2027
2027
|
*/
|
|
2028
2028
|
(0, _defineProperty2["default"])(_this, "_createAllEnums", /*#__PURE__*/function () {
|
|
2029
2029
|
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(enums, objId) {
|
|
@@ -2093,9 +2093,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
2093
2093
|
return _ref.apply(this, arguments);
|
|
2094
2094
|
};
|
|
2095
2095
|
}());
|
|
2096
|
-
/**
|
|
2097
|
-
* @private
|
|
2098
|
-
* @param {any} objs
|
|
2096
|
+
/**
|
|
2097
|
+
* @private
|
|
2098
|
+
* @param {any} objs
|
|
2099
2099
|
*/
|
|
2100
2100
|
(0, _defineProperty2["default"])(_this, "loadObjects", /*#__PURE__*/function () {
|
|
2101
2101
|
var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(objs) {
|
|
@@ -2218,9 +2218,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
2218
2218
|
return _ref2.apply(this, arguments);
|
|
2219
2219
|
};
|
|
2220
2220
|
}());
|
|
2221
|
-
/**
|
|
2222
|
-
* @private
|
|
2223
|
-
* @param {object} evt
|
|
2221
|
+
/**
|
|
2222
|
+
* @private
|
|
2223
|
+
* @param {object} evt
|
|
2224
2224
|
*/
|
|
2225
2225
|
(0, _defineProperty2["default"])(_this, "handleJsonUpload", function (evt) {
|
|
2226
2226
|
var f = evt.target.files[0];
|
|
@@ -2581,9 +2581,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
2581
2581
|
} else {
|
|
2582
2582
|
_this.resizeLeft = false;
|
|
2583
2583
|
_this.resizerNextDiv = _this.resizerActiveDiv.nextElementSibling;
|
|
2584
|
-
/* while (this.resizerNextDiv && !this.resizerNextDiv.querySelector('.' + this.props.classes.resizeHandle) && i < 10) {
|
|
2585
|
-
this.resizerNextDiv = this.resizerNextDiv.nextElementSibling;
|
|
2586
|
-
i++;
|
|
2584
|
+
/* while (this.resizerNextDiv && !this.resizerNextDiv.querySelector('.' + this.props.classes.resizeHandle) && i < 10) {
|
|
2585
|
+
this.resizerNextDiv = this.resizerNextDiv.nextElementSibling;
|
|
2586
|
+
i++;
|
|
2587
2587
|
} */
|
|
2588
2588
|
}
|
|
2589
2589
|
_this.resizerNextName = _this.resizerNextDiv.dataset.name;
|
|
@@ -2913,6 +2913,12 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
2913
2913
|
try {
|
|
2914
2914
|
if (props.filterFunc(objects[id])) {
|
|
2915
2915
|
_this2.objects[id] = objects[id];
|
|
2916
|
+
} else {
|
|
2917
|
+
var type = objects[id] && objects[id].type;
|
|
2918
|
+
// include "folder" types too for icons and names of nodes
|
|
2919
|
+
if (type && (type === 'channel' || type === 'device' || type === 'folder' || type === 'adapter' || type === 'instance')) {
|
|
2920
|
+
_this2.objects[id] = objects[id];
|
|
2921
|
+
}
|
|
2916
2922
|
}
|
|
2917
2923
|
} catch (e) {
|
|
2918
2924
|
console.log("Error by filtering of \"".concat(id, "\": ").concat(e));
|
|
@@ -2999,11 +3005,11 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
2999
3005
|
}
|
|
3000
3006
|
return loadAllObjects;
|
|
3001
3007
|
}()
|
|
3002
|
-
/**
|
|
3003
|
-
* Check if it is a non-expert id
|
|
3004
|
-
*
|
|
3005
|
-
* @param id id to test
|
|
3006
|
-
* @return {boolean}
|
|
3008
|
+
/**
|
|
3009
|
+
* Check if it is a non-expert id
|
|
3010
|
+
*
|
|
3011
|
+
* @param id id to test
|
|
3012
|
+
* @return {boolean}
|
|
3007
3013
|
*/
|
|
3008
3014
|
}, {
|
|
3009
3015
|
key: "isNonExpertId",
|
|
@@ -3013,9 +3019,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3013
3019
|
});
|
|
3014
3020
|
}
|
|
3015
3021
|
|
|
3016
|
-
/**
|
|
3017
|
-
* @private
|
|
3018
|
-
* @param {ioBroker.EmptyCallback?} cb
|
|
3022
|
+
/**
|
|
3023
|
+
* @private
|
|
3024
|
+
* @param {ioBroker.EmptyCallback?} cb
|
|
3019
3025
|
*/
|
|
3020
3026
|
}, {
|
|
3021
3027
|
key: "expandAllSelected",
|
|
@@ -3044,9 +3050,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3044
3050
|
}
|
|
3045
3051
|
}
|
|
3046
3052
|
|
|
3047
|
-
/**
|
|
3048
|
-
* @private
|
|
3049
|
-
* @param {boolean} [isDouble]
|
|
3053
|
+
/**
|
|
3054
|
+
* @private
|
|
3055
|
+
* @param {boolean} [isDouble]
|
|
3050
3056
|
*/
|
|
3051
3057
|
}, {
|
|
3052
3058
|
key: "onAfterSelect",
|
|
@@ -3073,16 +3079,16 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3073
3079
|
}
|
|
3074
3080
|
}
|
|
3075
3081
|
|
|
3076
|
-
/**
|
|
3077
|
-
* @private
|
|
3078
|
-
* @param {import('./types').ObjectBrowserProps} props
|
|
3079
|
-
* @param {any} state
|
|
3082
|
+
/**
|
|
3083
|
+
* @private
|
|
3084
|
+
* @param {import('./types').ObjectBrowserProps} props
|
|
3085
|
+
* @param {any} state
|
|
3080
3086
|
*/
|
|
3081
3087
|
}, {
|
|
3082
3088
|
key: "componentDidMount",
|
|
3083
3089
|
value: (
|
|
3084
|
-
/**
|
|
3085
|
-
* Called when component is mounted.
|
|
3090
|
+
/**
|
|
3091
|
+
* Called when component is mounted.
|
|
3086
3092
|
*/
|
|
3087
3093
|
function () {
|
|
3088
3094
|
var _componentDidMount = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5() {
|
|
@@ -3110,8 +3116,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3110
3116
|
}
|
|
3111
3117
|
return componentDidMount;
|
|
3112
3118
|
}()
|
|
3113
|
-
/**
|
|
3114
|
-
* Called when component is unmounted.
|
|
3119
|
+
/**
|
|
3120
|
+
* Called when component is unmounted.
|
|
3115
3121
|
*/
|
|
3116
3122
|
)
|
|
3117
3123
|
}, {
|
|
@@ -3138,10 +3144,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3138
3144
|
|
|
3139
3145
|
/** @typedef {{ id: string, obj: ioBroker.Object, item: any }} ShowDeleteDialogOptions */
|
|
3140
3146
|
|
|
3141
|
-
/**
|
|
3142
|
-
* Show the delete dialog for a given object
|
|
3143
|
-
*
|
|
3144
|
-
* @param {ShowDeleteDialogOptions} options
|
|
3147
|
+
/**
|
|
3148
|
+
* Show the delete dialog for a given object
|
|
3149
|
+
*
|
|
3150
|
+
* @param {ShowDeleteDialogOptions} options
|
|
3145
3151
|
*/
|
|
3146
3152
|
}, {
|
|
3147
3153
|
key: "showDeleteDialog",
|
|
@@ -3168,8 +3174,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3168
3174
|
}, {
|
|
3169
3175
|
key: "refreshComponent",
|
|
3170
3176
|
value:
|
|
3171
|
-
/**
|
|
3172
|
-
* Called when component is mounted.
|
|
3177
|
+
/**
|
|
3178
|
+
* Called when component is mounted.
|
|
3173
3179
|
*/
|
|
3174
3180
|
function refreshComponent() {
|
|
3175
3181
|
var _this5 = this;
|
|
@@ -3184,9 +3190,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3184
3190
|
});
|
|
3185
3191
|
}
|
|
3186
3192
|
|
|
3187
|
-
/**
|
|
3188
|
-
* Renders the error dialog.
|
|
3189
|
-
* @returns {JSX.Element | null}
|
|
3193
|
+
/**
|
|
3194
|
+
* Renders the error dialog.
|
|
3195
|
+
* @returns {JSX.Element | null}
|
|
3190
3196
|
*/
|
|
3191
3197
|
}, {
|
|
3192
3198
|
key: "renderErrorDialog",
|
|
@@ -3220,9 +3226,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3220
3226
|
}, this.props.t('ra_Ok')))) : null;
|
|
3221
3227
|
}
|
|
3222
3228
|
|
|
3223
|
-
/**
|
|
3224
|
-
* Show the error dialog.
|
|
3225
|
-
* @param {any} error
|
|
3229
|
+
/**
|
|
3230
|
+
* Show the error dialog.
|
|
3231
|
+
* @param {any} error
|
|
3226
3232
|
*/
|
|
3227
3233
|
}, {
|
|
3228
3234
|
key: "showError",
|
|
@@ -3232,10 +3238,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3232
3238
|
});
|
|
3233
3239
|
}
|
|
3234
3240
|
|
|
3235
|
-
/**
|
|
3236
|
-
* Called when an item is selected/deselected.
|
|
3237
|
-
* @param {string} toggleItem
|
|
3238
|
-
* @param {boolean} [isDouble]
|
|
3241
|
+
/**
|
|
3242
|
+
* Called when an item is selected/deselected.
|
|
3243
|
+
* @param {string} toggleItem
|
|
3244
|
+
* @param {boolean} [isDouble]
|
|
3239
3245
|
*/
|
|
3240
3246
|
}, {
|
|
3241
3247
|
key: "onSelect",
|
|
@@ -3285,9 +3291,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3285
3291
|
}
|
|
3286
3292
|
}
|
|
3287
3293
|
|
|
3288
|
-
/**
|
|
3289
|
-
* @private
|
|
3290
|
-
* @param {boolean} isLast
|
|
3294
|
+
/**
|
|
3295
|
+
* @private
|
|
3296
|
+
* @param {boolean} isLast
|
|
3291
3297
|
*/
|
|
3292
3298
|
}, {
|
|
3293
3299
|
key: "_renderDefinedList",
|
|
@@ -3334,9 +3340,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3334
3340
|
});
|
|
3335
3341
|
}
|
|
3336
3342
|
|
|
3337
|
-
/**
|
|
3338
|
-
* Renders the columns' selector.
|
|
3339
|
-
* @returns {JSX.Element | null}
|
|
3343
|
+
/**
|
|
3344
|
+
* Renders the columns' selector.
|
|
3345
|
+
* @returns {JSX.Element | null}
|
|
3340
3346
|
*/
|
|
3341
3347
|
}, {
|
|
3342
3348
|
key: "renderColumnsSelectorDialog",
|
|
@@ -3452,8 +3458,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3452
3458
|
}, this.texts.close)));
|
|
3453
3459
|
}
|
|
3454
3460
|
|
|
3455
|
-
/**
|
|
3456
|
-
* @private
|
|
3461
|
+
/**
|
|
3462
|
+
* @private
|
|
3457
3463
|
*/
|
|
3458
3464
|
}, {
|
|
3459
3465
|
key: "getAdditionalColumns",
|
|
@@ -3472,8 +3478,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3472
3478
|
});
|
|
3473
3479
|
}
|
|
3474
3480
|
|
|
3475
|
-
/**
|
|
3476
|
-
* @private
|
|
3481
|
+
/**
|
|
3482
|
+
* @private
|
|
3477
3483
|
*/
|
|
3478
3484
|
}, {
|
|
3479
3485
|
key: "checkUnsubscribes",
|
|
@@ -3485,13 +3491,13 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3485
3491
|
this.recordStates = [];
|
|
3486
3492
|
}
|
|
3487
3493
|
|
|
3488
|
-
/**
|
|
3489
|
-
* Find an item.
|
|
3490
|
-
* @param {string} id
|
|
3491
|
-
* @param {string[] | undefined} [_parts]
|
|
3492
|
-
* @param {{ data: { name: string; id: string; }; children: never[]; } | null | undefined} [_root]
|
|
3493
|
-
* @param {string | undefined} [_partyId]
|
|
3494
|
-
* @returns {any}
|
|
3494
|
+
/**
|
|
3495
|
+
* Find an item.
|
|
3496
|
+
* @param {string} id
|
|
3497
|
+
* @param {string[] | undefined} [_parts]
|
|
3498
|
+
* @param {{ data: { name: string; id: string; }; children: never[]; } | null | undefined} [_root]
|
|
3499
|
+
* @param {string | undefined} [_partyId]
|
|
3500
|
+
* @returns {any}
|
|
3495
3501
|
*/
|
|
3496
3502
|
}, {
|
|
3497
3503
|
key: "findItem",
|
|
@@ -3522,10 +3528,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3522
3528
|
}, {
|
|
3523
3529
|
key: "parseObjectForAdmins",
|
|
3524
3530
|
value:
|
|
3525
|
-
/**
|
|
3526
|
-
* @private
|
|
3527
|
-
* @param {{ [x: string]: any; }} columnsForAdmin
|
|
3528
|
-
* @param {any} obj
|
|
3531
|
+
/**
|
|
3532
|
+
* @private
|
|
3533
|
+
* @param {{ [x: string]: any; }} columnsForAdmin
|
|
3534
|
+
* @param {any} obj
|
|
3529
3535
|
*/
|
|
3530
3536
|
function parseObjectForAdmins(columnsForAdmin, obj) {
|
|
3531
3537
|
var _this11 = this;
|
|
@@ -3597,18 +3603,19 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3597
3603
|
}, {
|
|
3598
3604
|
key: "processOnObjectChangeElement",
|
|
3599
3605
|
value:
|
|
3600
|
-
/**
|
|
3601
|
-
* Processes a single element in regard to certain filters, columns for admin and updates object dict
|
|
3602
|
-
* @param id The id of the object
|
|
3603
|
-
* @param obj The object itself
|
|
3604
|
-
* @returns {{filtered: boolean,
|
|
3606
|
+
/**
|
|
3607
|
+
* Processes a single element in regard to certain filters, columns for admin and updates object dict
|
|
3608
|
+
* @param id The id of the object
|
|
3609
|
+
* @param obj The object itself
|
|
3610
|
+
* @returns {{filtered: boolean, newInnerState: null}} Returns an object containing the new state (if any) and whether the object was filtered.
|
|
3605
3611
|
*/
|
|
3606
3612
|
function processOnObjectChangeElement(id, obj) {
|
|
3607
3613
|
console.log("> objectChange ".concat(id));
|
|
3608
|
-
var
|
|
3609
|
-
|
|
3614
|
+
var newInnerState = null;
|
|
3615
|
+
var type = obj && obj.type;
|
|
3616
|
+
if (obj && typeof this.props.filterFunc === 'function' && !this.props.filterFunc(obj) && type !== 'channel' && type !== 'device' && type !== 'folder' && type !== 'adapter' && type !== 'instance') {
|
|
3610
3617
|
return {
|
|
3611
|
-
|
|
3618
|
+
newInnerState: newInnerState,
|
|
3612
3619
|
filtered: true
|
|
3613
3620
|
};
|
|
3614
3621
|
}
|
|
@@ -3616,7 +3623,7 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3616
3623
|
var columnsForAdmin = JSON.parse(JSON.stringify(this.state.columnsForAdmin));
|
|
3617
3624
|
this.parseObjectForAdmins(columnsForAdmin, obj);
|
|
3618
3625
|
if (JSON.stringify(this.state.columnsForAdmin) !== JSON.stringify(columnsForAdmin)) {
|
|
3619
|
-
|
|
3626
|
+
newInnerState = {
|
|
3620
3627
|
columnsForAdmin: columnsForAdmin
|
|
3621
3628
|
};
|
|
3622
3629
|
}
|
|
@@ -3628,14 +3635,14 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3628
3635
|
delete this.objects[id];
|
|
3629
3636
|
}
|
|
3630
3637
|
return {
|
|
3631
|
-
|
|
3638
|
+
newInnerState: newInnerState,
|
|
3632
3639
|
filtered: false
|
|
3633
3640
|
};
|
|
3634
3641
|
}
|
|
3635
3642
|
|
|
3636
|
-
/**
|
|
3637
|
-
* @private
|
|
3638
|
-
* @param {string} id
|
|
3643
|
+
/**
|
|
3644
|
+
* @private
|
|
3645
|
+
* @param {string} id
|
|
3639
3646
|
*/
|
|
3640
3647
|
}, {
|
|
3641
3648
|
key: "subscribe",
|
|
@@ -3647,9 +3654,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3647
3654
|
}
|
|
3648
3655
|
}
|
|
3649
3656
|
|
|
3650
|
-
/**
|
|
3651
|
-
* @private
|
|
3652
|
-
* @param {string} id
|
|
3657
|
+
/**
|
|
3658
|
+
* @private
|
|
3659
|
+
* @param {string} id
|
|
3653
3660
|
*/
|
|
3654
3661
|
}, {
|
|
3655
3662
|
key: "unsubscribe",
|
|
@@ -3668,9 +3675,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3668
3675
|
}
|
|
3669
3676
|
}
|
|
3670
3677
|
|
|
3671
|
-
/**
|
|
3672
|
-
* @private
|
|
3673
|
-
* @param {boolean} isPause
|
|
3678
|
+
/**
|
|
3679
|
+
* @private
|
|
3680
|
+
* @param {boolean} isPause
|
|
3674
3681
|
*/
|
|
3675
3682
|
}, {
|
|
3676
3683
|
key: "pauseSubscribe",
|
|
@@ -3689,10 +3696,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3689
3696
|
}
|
|
3690
3697
|
}
|
|
3691
3698
|
|
|
3692
|
-
/**
|
|
3693
|
-
* @private
|
|
3694
|
-
* @param {string} [name]
|
|
3695
|
-
* @param {boolean} [value]
|
|
3699
|
+
/**
|
|
3700
|
+
* @private
|
|
3701
|
+
* @param {string} [name]
|
|
3702
|
+
* @param {boolean} [value]
|
|
3696
3703
|
*/
|
|
3697
3704
|
}, {
|
|
3698
3705
|
key: "onFilter",
|
|
@@ -3762,9 +3769,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3762
3769
|
return !someNotEmpty;
|
|
3763
3770
|
}
|
|
3764
3771
|
|
|
3765
|
-
/**
|
|
3766
|
-
* @private
|
|
3767
|
-
* @param {string} name
|
|
3772
|
+
/**
|
|
3773
|
+
* @private
|
|
3774
|
+
* @param {string} name
|
|
3768
3775
|
*/
|
|
3769
3776
|
}, {
|
|
3770
3777
|
key: "getFilterInput",
|
|
@@ -3806,10 +3813,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3806
3813
|
}, /*#__PURE__*/_react["default"].createElement(_iconsMaterial.Close, null))) : null);
|
|
3807
3814
|
}
|
|
3808
3815
|
|
|
3809
|
-
/**
|
|
3810
|
-
* @private
|
|
3811
|
-
* @param {string} name
|
|
3812
|
-
* @param {any[]} values
|
|
3816
|
+
/**
|
|
3817
|
+
* @private
|
|
3818
|
+
* @param {string} name
|
|
3819
|
+
* @param {any[]} values
|
|
3813
3820
|
*/
|
|
3814
3821
|
}, {
|
|
3815
3822
|
key: "getFilterSelect",
|
|
@@ -3883,8 +3890,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3883
3890
|
}, /*#__PURE__*/_react["default"].createElement(_iconsMaterial.Close, null))) : null);
|
|
3884
3891
|
}
|
|
3885
3892
|
|
|
3886
|
-
/**
|
|
3887
|
-
* @private
|
|
3893
|
+
/**
|
|
3894
|
+
* @private
|
|
3888
3895
|
*/
|
|
3889
3896
|
}, {
|
|
3890
3897
|
key: "getFilterSelectRole",
|
|
@@ -3892,8 +3899,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3892
3899
|
return this.getFilterSelect('role', this.info.roles);
|
|
3893
3900
|
}
|
|
3894
3901
|
|
|
3895
|
-
/**
|
|
3896
|
-
* @private
|
|
3902
|
+
/**
|
|
3903
|
+
* @private
|
|
3897
3904
|
*/
|
|
3898
3905
|
}, {
|
|
3899
3906
|
key: "getFilterSelectRoom",
|
|
@@ -3913,8 +3920,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3913
3920
|
return this.getFilterSelect('room', rooms);
|
|
3914
3921
|
}
|
|
3915
3922
|
|
|
3916
|
-
/**
|
|
3917
|
-
* @private
|
|
3923
|
+
/**
|
|
3924
|
+
* @private
|
|
3918
3925
|
*/
|
|
3919
3926
|
}, {
|
|
3920
3927
|
key: "getFilterSelectFunction",
|
|
@@ -3934,8 +3941,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3934
3941
|
return this.getFilterSelect('func', func);
|
|
3935
3942
|
}
|
|
3936
3943
|
|
|
3937
|
-
/**
|
|
3938
|
-
* @private
|
|
3944
|
+
/**
|
|
3945
|
+
* @private
|
|
3939
3946
|
*/
|
|
3940
3947
|
}, {
|
|
3941
3948
|
key: "getFilterSelectType",
|
|
@@ -3950,8 +3957,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3950
3957
|
return this.getFilterSelect('type', types);
|
|
3951
3958
|
}
|
|
3952
3959
|
|
|
3953
|
-
/**
|
|
3954
|
-
* @private
|
|
3960
|
+
/**
|
|
3961
|
+
* @private
|
|
3955
3962
|
*/
|
|
3956
3963
|
}, {
|
|
3957
3964
|
key: "getFilterSelectCustoms",
|
|
@@ -3973,10 +3980,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3973
3980
|
return null;
|
|
3974
3981
|
}
|
|
3975
3982
|
|
|
3976
|
-
/**
|
|
3977
|
-
* @private
|
|
3978
|
-
* @param {any} [root]
|
|
3979
|
-
* @param {any[]} [expanded]
|
|
3983
|
+
/**
|
|
3984
|
+
* @private
|
|
3985
|
+
* @param {any} [root]
|
|
3986
|
+
* @param {any[]} [expanded]
|
|
3980
3987
|
*/
|
|
3981
3988
|
}, {
|
|
3982
3989
|
key: "onExpandAll",
|
|
@@ -3999,8 +4006,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
3999
4006
|
}
|
|
4000
4007
|
}
|
|
4001
4008
|
|
|
4002
|
-
/**
|
|
4003
|
-
* @private
|
|
4009
|
+
/**
|
|
4010
|
+
* @private
|
|
4004
4011
|
*/
|
|
4005
4012
|
}, {
|
|
4006
4013
|
key: "onCollapseAll",
|
|
@@ -4017,11 +4024,11 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4017
4024
|
});
|
|
4018
4025
|
}
|
|
4019
4026
|
|
|
4020
|
-
/**
|
|
4021
|
-
* @private
|
|
4022
|
-
* @param {any} root
|
|
4023
|
-
* @param {number} depth
|
|
4024
|
-
* @param {any[]} expanded
|
|
4027
|
+
/**
|
|
4028
|
+
* @private
|
|
4029
|
+
* @param {any} root
|
|
4030
|
+
* @param {number} depth
|
|
4031
|
+
* @param {any[]} expanded
|
|
4025
4032
|
*/
|
|
4026
4033
|
}, {
|
|
4027
4034
|
key: "expandDepth",
|
|
@@ -4045,16 +4052,16 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4045
4052
|
}
|
|
4046
4053
|
}
|
|
4047
4054
|
|
|
4048
|
-
/**
|
|
4049
|
-
* @private
|
|
4050
|
-
* @param {number} depth
|
|
4051
|
-
* @param {any[]} expanded
|
|
4055
|
+
/**
|
|
4056
|
+
* @private
|
|
4057
|
+
* @param {number} depth
|
|
4058
|
+
* @param {any[]} expanded
|
|
4052
4059
|
*/
|
|
4053
4060
|
}, {
|
|
4054
4061
|
key: "onExpandVisible",
|
|
4055
4062
|
value:
|
|
4056
|
-
/**
|
|
4057
|
-
* @private
|
|
4063
|
+
/**
|
|
4064
|
+
* @private
|
|
4058
4065
|
*/
|
|
4059
4066
|
function onExpandVisible() {
|
|
4060
4067
|
if (this.state.depth < 9) {
|
|
@@ -4069,8 +4076,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4069
4076
|
}
|
|
4070
4077
|
}
|
|
4071
4078
|
|
|
4072
|
-
/**
|
|
4073
|
-
* @private
|
|
4079
|
+
/**
|
|
4080
|
+
* @private
|
|
4074
4081
|
*/
|
|
4075
4082
|
}, {
|
|
4076
4083
|
key: "onStatesViewVisible",
|
|
@@ -4082,8 +4089,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4082
4089
|
});
|
|
4083
4090
|
}
|
|
4084
4091
|
|
|
4085
|
-
/**
|
|
4086
|
-
* @private
|
|
4092
|
+
/**
|
|
4093
|
+
* @private
|
|
4087
4094
|
*/
|
|
4088
4095
|
}, {
|
|
4089
4096
|
key: "onCollapseVisible",
|
|
@@ -4122,15 +4129,15 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4122
4129
|
return [];
|
|
4123
4130
|
}
|
|
4124
4131
|
|
|
4125
|
-
/**
|
|
4126
|
-
* Exports the selected objects based on the given options and triggers file generation
|
|
4127
|
-
* @param options Options to filter/reduce the output
|
|
4128
|
-
* @param options.isAll {boolean} Whether all objects should be exported or only the selected ones
|
|
4129
|
-
* @param options.beautify {boolean} Whether the output should be beautified
|
|
4130
|
-
* @param options.excludeSystemRepositories {boolean} Whether "system.repositories" should be excluded
|
|
4131
|
-
* @param options.excludeTranslations {boolean} Whether translations should be reduced to only the english value
|
|
4132
|
-
* @returns {Promise<void>}
|
|
4133
|
-
* @private
|
|
4132
|
+
/**
|
|
4133
|
+
* Exports the selected objects based on the given options and triggers file generation
|
|
4134
|
+
* @param options Options to filter/reduce the output
|
|
4135
|
+
* @param options.isAll {boolean} Whether all objects should be exported or only the selected ones
|
|
4136
|
+
* @param options.beautify {boolean} Whether the output should be beautified
|
|
4137
|
+
* @param options.excludeSystemRepositories {boolean} Whether "system.repositories" should be excluded
|
|
4138
|
+
* @param options.excludeTranslations {boolean} Whether translations should be reduced to only the english value
|
|
4139
|
+
* @returns {Promise<void>}
|
|
4140
|
+
* @private
|
|
4134
4141
|
*/
|
|
4135
4142
|
}, {
|
|
4136
4143
|
key: "_exportObjects",
|
|
@@ -4223,7 +4230,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4223
4230
|
return null;
|
|
4224
4231
|
}
|
|
4225
4232
|
return /*#__PURE__*/_react["default"].createElement(_material.Dialog, {
|
|
4226
|
-
open: !0
|
|
4233
|
+
open: !0,
|
|
4234
|
+
maxWidth: "lg"
|
|
4227
4235
|
}, /*#__PURE__*/_react["default"].createElement(_material.DialogTitle, null, this.props.t('ra_Select type of export')), /*#__PURE__*/_react["default"].createElement(_material.DialogContent, null, /*#__PURE__*/_react["default"].createElement(_material.DialogContentText, null, this.state.filter.expertMode || this.state.showAllExportOptions ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, this.props.t('ra_You can export all objects or just the selected branch.'), /*#__PURE__*/_react["default"].createElement("br", null), this.props.t('ra_Selected %s object(s)', this.state.showExportDialog), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_material.FormControlLabel, {
|
|
4228
4236
|
control: /*#__PURE__*/_react["default"].createElement(_material.Checkbox, {
|
|
4229
4237
|
checked: this.state.noStatesByExportImport,
|
|
@@ -4323,9 +4331,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4323
4331
|
}, {
|
|
4324
4332
|
key: "getToolbar",
|
|
4325
4333
|
value:
|
|
4326
|
-
/**
|
|
4327
|
-
* Renders the toolbar.
|
|
4328
|
-
* @returns {JSX.Element}
|
|
4334
|
+
/**
|
|
4335
|
+
* Renders the toolbar.
|
|
4336
|
+
* @returns {JSX.Element}
|
|
4329
4337
|
*/
|
|
4330
4338
|
function getToolbar() {
|
|
4331
4339
|
var _this25 = this;
|
|
@@ -4551,9 +4559,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4551
4559
|
}, /*#__PURE__*/_react["default"].createElement(_iconsMaterial.Build, null))));
|
|
4552
4560
|
}
|
|
4553
4561
|
|
|
4554
|
-
/**
|
|
4555
|
-
* @private
|
|
4556
|
-
* @param {string} id
|
|
4562
|
+
/**
|
|
4563
|
+
* @private
|
|
4564
|
+
* @param {string} id
|
|
4557
4565
|
*/
|
|
4558
4566
|
}, {
|
|
4559
4567
|
key: "toggleExpanded",
|
|
@@ -4572,10 +4580,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4572
4580
|
});
|
|
4573
4581
|
}
|
|
4574
4582
|
|
|
4575
|
-
/**
|
|
4576
|
-
* @private
|
|
4577
|
-
* @param {Event} e
|
|
4578
|
-
* @param {string} text
|
|
4583
|
+
/**
|
|
4584
|
+
* @private
|
|
4585
|
+
* @param {Event} e
|
|
4586
|
+
* @param {string} text
|
|
4579
4587
|
*/
|
|
4580
4588
|
}, {
|
|
4581
4589
|
key: "onCopy",
|
|
@@ -4596,10 +4604,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4596
4604
|
}, {
|
|
4597
4605
|
key: "renderColumnButtons",
|
|
4598
4606
|
value:
|
|
4599
|
-
/**
|
|
4600
|
-
* @param {string} id
|
|
4601
|
-
* @param {{ data: { obj: { type: string; }; hasCustoms: any; }; }} item
|
|
4602
|
-
* @param {{ cellButtonsButton: string | undefined; cellButtonsButtonAlone: any; cellButtonsButtonIcon: string | undefined; cellButtonsButtonWithCustoms: any; }} classes
|
|
4607
|
+
/**
|
|
4608
|
+
* @param {string} id
|
|
4609
|
+
* @param {{ data: { obj: { type: string; }; hasCustoms: any; }; }} item
|
|
4610
|
+
* @param {{ cellButtonsButton: string | undefined; cellButtonsButtonAlone: any; cellButtonsButtonIcon: string | undefined; cellButtonsButtonWithCustoms: any; }} classes
|
|
4603
4611
|
*/
|
|
4604
4612
|
function renderColumnButtons(id, item, classes) {
|
|
4605
4613
|
var _this26 = this,
|
|
@@ -4727,27 +4735,27 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4727
4735
|
})) : null];
|
|
4728
4736
|
}
|
|
4729
4737
|
|
|
4730
|
-
/**
|
|
4731
|
-
* @private
|
|
4732
|
-
* @param {string} id
|
|
4738
|
+
/**
|
|
4739
|
+
* @private
|
|
4740
|
+
* @param {string} id
|
|
4733
4741
|
*/
|
|
4734
4742
|
}, {
|
|
4735
4743
|
key: "readHistory",
|
|
4736
4744
|
value: function readHistory(id) {
|
|
4737
|
-
/* interface GetHistoryOptions {
|
|
4738
|
-
instance?: string;
|
|
4739
|
-
start?: number;
|
|
4740
|
-
end?: number;
|
|
4741
|
-
step?: number;
|
|
4742
|
-
count?: number;
|
|
4743
|
-
from?: boolean;
|
|
4744
|
-
ack?: boolean;
|
|
4745
|
-
q?: boolean;
|
|
4746
|
-
addID?: boolean;
|
|
4747
|
-
limit?: number;
|
|
4748
|
-
ignoreNull?: boolean;
|
|
4749
|
-
sessionId?: any;
|
|
4750
|
-
aggregate?: 'minmax' | 'min' | 'max' | 'average' | 'total' | 'count' | 'none';
|
|
4745
|
+
/* interface GetHistoryOptions {
|
|
4746
|
+
instance?: string;
|
|
4747
|
+
start?: number;
|
|
4748
|
+
end?: number;
|
|
4749
|
+
step?: number;
|
|
4750
|
+
count?: number;
|
|
4751
|
+
from?: boolean;
|
|
4752
|
+
ack?: boolean;
|
|
4753
|
+
q?: boolean;
|
|
4754
|
+
addID?: boolean;
|
|
4755
|
+
limit?: number;
|
|
4756
|
+
ignoreNull?: boolean;
|
|
4757
|
+
sessionId?: any;
|
|
4758
|
+
aggregate?: 'minmax' | 'min' | 'max' | 'average' | 'total' | 'count' | 'none';
|
|
4751
4759
|
} */
|
|
4752
4760
|
if (window.sparkline && this.defaultHistory && this.objects[id] && this.objects[id].common && this.objects[id].common.custom && this.objects[id].common.custom[this.defaultHistory]) {
|
|
4753
4761
|
var now = new Date();
|
|
@@ -4781,12 +4789,12 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4781
4789
|
}
|
|
4782
4790
|
}
|
|
4783
4791
|
|
|
4784
|
-
/**
|
|
4785
|
-
* @private
|
|
4786
|
-
* @param {string} id
|
|
4787
|
-
* @param {any} item
|
|
4788
|
-
* @param {Record<string, any>} classes
|
|
4789
|
-
* @returns {JSX.Element | null}
|
|
4792
|
+
/**
|
|
4793
|
+
* @private
|
|
4794
|
+
* @param {string} id
|
|
4795
|
+
* @param {any} item
|
|
4796
|
+
* @param {Record<string, any>} classes
|
|
4797
|
+
* @returns {JSX.Element | null}
|
|
4790
4798
|
*/
|
|
4791
4799
|
}, {
|
|
4792
4800
|
key: "renderColumnValue",
|
|
@@ -4906,9 +4914,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4906
4914
|
}, val));
|
|
4907
4915
|
}
|
|
4908
4916
|
|
|
4909
|
-
/**
|
|
4910
|
-
* @private
|
|
4911
|
-
* @returns {undefined}
|
|
4917
|
+
/**
|
|
4918
|
+
* @private
|
|
4919
|
+
* @returns {undefined}
|
|
4912
4920
|
*/
|
|
4913
4921
|
}, {
|
|
4914
4922
|
key: "_syncEnum",
|
|
@@ -4958,9 +4966,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4958
4966
|
});
|
|
4959
4967
|
}
|
|
4960
4968
|
|
|
4961
|
-
/**
|
|
4962
|
-
* @private
|
|
4963
|
-
* @returns {Promise}
|
|
4969
|
+
/**
|
|
4970
|
+
* @private
|
|
4971
|
+
* @returns {Promise}
|
|
4964
4972
|
*/
|
|
4965
4973
|
}, {
|
|
4966
4974
|
key: "syncEnum",
|
|
@@ -4976,9 +4984,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
4976
4984
|
});
|
|
4977
4985
|
}
|
|
4978
4986
|
|
|
4979
|
-
/**
|
|
4980
|
-
* @private
|
|
4981
|
-
* @returns {JSX.Element | null}
|
|
4987
|
+
/**
|
|
4988
|
+
* @private
|
|
4989
|
+
* @returns {JSX.Element | null}
|
|
4982
4990
|
*/
|
|
4983
4991
|
}, {
|
|
4984
4992
|
key: "renderEnumDialog",
|
|
@@ -5090,9 +5098,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5090
5098
|
return null;
|
|
5091
5099
|
}
|
|
5092
5100
|
|
|
5093
|
-
/**
|
|
5094
|
-
* @private
|
|
5095
|
-
* @returns {JSX.Element | null}
|
|
5101
|
+
/**
|
|
5102
|
+
* @private
|
|
5103
|
+
* @returns {JSX.Element | null}
|
|
5096
5104
|
*/
|
|
5097
5105
|
}, {
|
|
5098
5106
|
key: "renderEditRoleDialog",
|
|
@@ -5119,9 +5127,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5119
5127
|
return null;
|
|
5120
5128
|
}
|
|
5121
5129
|
|
|
5122
|
-
/**
|
|
5123
|
-
* @private
|
|
5124
|
-
* @param {boolean} [isSave]
|
|
5130
|
+
/**
|
|
5131
|
+
* @private
|
|
5132
|
+
* @param {boolean} [isSave]
|
|
5125
5133
|
*/
|
|
5126
5134
|
}, {
|
|
5127
5135
|
key: "onColumnsEditCustomDialogClose",
|
|
@@ -5155,8 +5163,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5155
5163
|
}
|
|
5156
5164
|
}
|
|
5157
5165
|
|
|
5158
|
-
/**
|
|
5159
|
-
* @private
|
|
5166
|
+
/**
|
|
5167
|
+
* @private
|
|
5160
5168
|
*/
|
|
5161
5169
|
}, {
|
|
5162
5170
|
key: "renderColumnsEditCustomDialog",
|
|
@@ -5239,20 +5247,20 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5239
5247
|
return null;
|
|
5240
5248
|
}
|
|
5241
5249
|
|
|
5242
|
-
/**
|
|
5243
|
-
* @private
|
|
5244
|
-
* @param {any} obj
|
|
5245
|
-
* @param {any} it
|
|
5250
|
+
/**
|
|
5251
|
+
* @private
|
|
5252
|
+
* @param {any} obj
|
|
5253
|
+
* @param {any} it
|
|
5246
5254
|
*/
|
|
5247
5255
|
}, {
|
|
5248
5256
|
key: "renderCustomValue",
|
|
5249
5257
|
value:
|
|
5250
|
-
/**
|
|
5251
|
-
* Renders a custom value.
|
|
5252
|
-
* @param {any} obj
|
|
5253
|
-
* @param {any} it
|
|
5254
|
-
* @param {any} item
|
|
5255
|
-
* @returns {JSX.Element | null}
|
|
5258
|
+
/**
|
|
5259
|
+
* Renders a custom value.
|
|
5260
|
+
* @param {any} obj
|
|
5261
|
+
* @param {any} it
|
|
5262
|
+
* @param {any} item
|
|
5263
|
+
* @returns {JSX.Element | null}
|
|
5256
5264
|
*/
|
|
5257
5265
|
function renderCustomValue(obj, it, item) {
|
|
5258
5266
|
var _this34 = this;
|
|
@@ -5280,13 +5288,13 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5280
5288
|
return null;
|
|
5281
5289
|
}
|
|
5282
5290
|
|
|
5283
|
-
/**
|
|
5284
|
-
* Renders a leaf.
|
|
5285
|
-
* @param {any} item
|
|
5286
|
-
* @param {boolean} isExpanded
|
|
5287
|
-
* @param {Record<string, any>} classes
|
|
5288
|
-
* @param {{ count: number; }} counter
|
|
5289
|
-
* @returns {JSX.Element}
|
|
5291
|
+
/**
|
|
5292
|
+
* Renders a leaf.
|
|
5293
|
+
* @param {any} item
|
|
5294
|
+
* @param {boolean} isExpanded
|
|
5295
|
+
* @param {Record<string, any>} classes
|
|
5296
|
+
* @param {{ count: number; }} counter
|
|
5297
|
+
* @returns {JSX.Element}
|
|
5290
5298
|
*/
|
|
5291
5299
|
}, {
|
|
5292
5300
|
key: "renderLeaf",
|
|
@@ -5337,7 +5345,7 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5337
5345
|
className: _Utils["default"].clsx(classes.cellIdIconOwn, 'iconOwn')
|
|
5338
5346
|
}, item.data.icon); // utf-8 char
|
|
5339
5347
|
} else {
|
|
5340
|
-
iconItem = /*#__PURE__*/_react["default"].createElement("
|
|
5348
|
+
iconItem = /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
5341
5349
|
className: _Utils["default"].clsx(classes.cellIdIconOwn, 'iconOwn'),
|
|
5342
5350
|
src: item.data.icon,
|
|
5343
5351
|
alt: ""
|
|
@@ -5768,13 +5776,13 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5768
5776
|
}, this.renderColumnButtons(id, item, classes)) : null);
|
|
5769
5777
|
}
|
|
5770
5778
|
|
|
5771
|
-
/**
|
|
5772
|
-
* Renders an item.
|
|
5773
|
-
* @param {any} root
|
|
5774
|
-
* @param {boolean} isExpanded
|
|
5775
|
-
* @param {Record<string, any>} classes
|
|
5776
|
-
* @param {{ count: any; }} [counter]
|
|
5777
|
-
* @returns {JSX.Element[]}
|
|
5779
|
+
/**
|
|
5780
|
+
* Renders an item.
|
|
5781
|
+
* @param {any} root
|
|
5782
|
+
* @param {boolean} isExpanded
|
|
5783
|
+
* @param {Record<string, any>} classes
|
|
5784
|
+
* @param {{ count: any; }} [counter]
|
|
5785
|
+
* @returns {JSX.Element[]}
|
|
5778
5786
|
*/
|
|
5779
5787
|
}, {
|
|
5780
5788
|
key: "renderItem",
|
|
@@ -5844,12 +5852,12 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5844
5852
|
return items;
|
|
5845
5853
|
}
|
|
5846
5854
|
|
|
5847
|
-
/**
|
|
5848
|
-
* @private
|
|
5849
|
-
* @param {boolean} [columnsAuto]
|
|
5850
|
-
* @param {string[]} [columns]
|
|
5851
|
-
* @param {any} [columnsForAdmin]
|
|
5852
|
-
* @param {Record<string, number>} [columnsWidths]
|
|
5855
|
+
/**
|
|
5856
|
+
* @private
|
|
5857
|
+
* @param {boolean} [columnsAuto]
|
|
5858
|
+
* @param {string[]} [columns]
|
|
5859
|
+
* @param {any} [columnsForAdmin]
|
|
5860
|
+
* @param {Record<string, number>} [columnsWidths]
|
|
5853
5861
|
*/
|
|
5854
5862
|
}, {
|
|
5855
5863
|
key: "calculateColumnsVisibility",
|
|
@@ -5993,10 +6001,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
5993
6001
|
}, {
|
|
5994
6002
|
key: "navigateKeyPress",
|
|
5995
6003
|
value:
|
|
5996
|
-
/**
|
|
5997
|
-
* Handle keyboard events for navigation
|
|
5998
|
-
*
|
|
5999
|
-
* @param {KeyboardEvent} event
|
|
6004
|
+
/**
|
|
6005
|
+
* Handle keyboard events for navigation
|
|
6006
|
+
*
|
|
6007
|
+
* @param {KeyboardEvent} event
|
|
6000
6008
|
*/
|
|
6001
6009
|
function navigateKeyPress(event) {
|
|
6002
6010
|
var selectedId = this.state.selectedNonObject || this.state.selected[0];
|
|
@@ -6032,13 +6040,13 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6032
6040
|
}
|
|
6033
6041
|
}
|
|
6034
6042
|
|
|
6035
|
-
/**
|
|
6036
|
-
* Find the id from the root
|
|
6037
|
-
*
|
|
6038
|
-
* @param {Record<string, any>} root The current root
|
|
6039
|
-
* @param {string} id the object id
|
|
6040
|
-
*
|
|
6041
|
-
* @returns {any}
|
|
6043
|
+
/**
|
|
6044
|
+
* Find the id from the root
|
|
6045
|
+
*
|
|
6046
|
+
* @param {Record<string, any>} root The current root
|
|
6047
|
+
* @param {string} id the object id
|
|
6048
|
+
*
|
|
6049
|
+
* @returns {any}
|
|
6042
6050
|
*/
|
|
6043
6051
|
}, {
|
|
6044
6052
|
key: "getItemFromRoot",
|
|
@@ -6065,10 +6073,10 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6065
6073
|
}, {
|
|
6066
6074
|
key: "renderHandleRight",
|
|
6067
6075
|
value:
|
|
6068
|
-
/**
|
|
6069
|
-
* Render a right handle for resizing
|
|
6070
|
-
*
|
|
6071
|
-
* @return {JSX.Element}
|
|
6076
|
+
/**
|
|
6077
|
+
* Render a right handle for resizing
|
|
6078
|
+
*
|
|
6079
|
+
* @return {JSX.Element}
|
|
6072
6080
|
*/
|
|
6073
6081
|
function renderHandleRight() {
|
|
6074
6082
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -6079,9 +6087,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6079
6087
|
});
|
|
6080
6088
|
}
|
|
6081
6089
|
|
|
6082
|
-
/**
|
|
6083
|
-
* @private
|
|
6084
|
-
* @returns {JSX.Element}
|
|
6090
|
+
/**
|
|
6091
|
+
* @private
|
|
6092
|
+
* @returns {JSX.Element}
|
|
6085
6093
|
*/
|
|
6086
6094
|
}, {
|
|
6087
6095
|
key: "renderHeader",
|
|
@@ -6216,9 +6224,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6216
6224
|
}, ' ', this.getFilterSelectCustoms()) : null);
|
|
6217
6225
|
}
|
|
6218
6226
|
|
|
6219
|
-
/**
|
|
6220
|
-
* @private
|
|
6221
|
-
* @returns {JSX.Element}
|
|
6227
|
+
/**
|
|
6228
|
+
* @private
|
|
6229
|
+
* @returns {JSX.Element}
|
|
6222
6230
|
*/
|
|
6223
6231
|
}, {
|
|
6224
6232
|
key: "renderToast",
|
|
@@ -6253,8 +6261,8 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6253
6261
|
});
|
|
6254
6262
|
}
|
|
6255
6263
|
|
|
6256
|
-
/**
|
|
6257
|
-
* Called when component is updated.
|
|
6264
|
+
/**
|
|
6265
|
+
* Called when component is updated.
|
|
6258
6266
|
*/
|
|
6259
6267
|
}, {
|
|
6260
6268
|
key: "componentDidUpdate",
|
|
@@ -6285,9 +6293,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6285
6293
|
this.selectedFound = true;
|
|
6286
6294
|
}
|
|
6287
6295
|
|
|
6288
|
-
/**
|
|
6289
|
-
* @private
|
|
6290
|
-
* @returns {JSX.Element | null}
|
|
6296
|
+
/**
|
|
6297
|
+
* @private
|
|
6298
|
+
* @returns {JSX.Element | null}
|
|
6291
6299
|
*/
|
|
6292
6300
|
}, {
|
|
6293
6301
|
key: "renderCustomDialog",
|
|
@@ -6327,9 +6335,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6327
6335
|
return null;
|
|
6328
6336
|
}
|
|
6329
6337
|
|
|
6330
|
-
/**
|
|
6331
|
-
* @private
|
|
6332
|
-
* @param {Partial<ioBroker.State>} valAck
|
|
6338
|
+
/**
|
|
6339
|
+
* @private
|
|
6340
|
+
* @param {Partial<ioBroker.State>} valAck
|
|
6333
6341
|
*/
|
|
6334
6342
|
}, {
|
|
6335
6343
|
key: "onUpdate",
|
|
@@ -6345,9 +6353,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6345
6353
|
});
|
|
6346
6354
|
}
|
|
6347
6355
|
|
|
6348
|
-
/**
|
|
6349
|
-
* @private
|
|
6350
|
-
* @returns {JSX.Element | null}
|
|
6356
|
+
/**
|
|
6357
|
+
* @private
|
|
6358
|
+
* @returns {JSX.Element | null}
|
|
6351
6359
|
*/
|
|
6352
6360
|
}, {
|
|
6353
6361
|
key: "renderEditObjectDialog",
|
|
@@ -6410,9 +6418,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6410
6418
|
});
|
|
6411
6419
|
}
|
|
6412
6420
|
|
|
6413
|
-
/**
|
|
6414
|
-
* @private
|
|
6415
|
-
* @returns {JSX.Element | null}
|
|
6421
|
+
/**
|
|
6422
|
+
* @private
|
|
6423
|
+
* @returns {JSX.Element | null}
|
|
6416
6424
|
*/
|
|
6417
6425
|
}, {
|
|
6418
6426
|
key: "renderViewObjectFileDialog",
|
|
@@ -6438,9 +6446,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6438
6446
|
});
|
|
6439
6447
|
}
|
|
6440
6448
|
|
|
6441
|
-
/**
|
|
6442
|
-
* @private
|
|
6443
|
-
* @returns {JSX.Element | null}
|
|
6449
|
+
/**
|
|
6450
|
+
* @private
|
|
6451
|
+
* @returns {JSX.Element | null}
|
|
6444
6452
|
*/
|
|
6445
6453
|
}, {
|
|
6446
6454
|
key: "renderAliasEditorDialog",
|
|
@@ -6495,11 +6503,11 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6495
6503
|
});
|
|
6496
6504
|
}
|
|
6497
6505
|
|
|
6498
|
-
/**
|
|
6499
|
-
* Renders the right mouse button context menu
|
|
6500
|
-
*
|
|
6501
|
-
* @private
|
|
6502
|
-
* @returns {JSX.Element | null}
|
|
6506
|
+
/**
|
|
6507
|
+
* Renders the right mouse button context menu
|
|
6508
|
+
*
|
|
6509
|
+
* @private
|
|
6510
|
+
* @returns {JSX.Element | null}
|
|
6503
6511
|
*/
|
|
6504
6512
|
}, {
|
|
6505
6513
|
key: "renderContextMenu",
|
|
@@ -6894,9 +6902,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6894
6902
|
}, items);
|
|
6895
6903
|
}
|
|
6896
6904
|
|
|
6897
|
-
/**
|
|
6898
|
-
* @private
|
|
6899
|
-
* @returns {JSX.Element | null}
|
|
6905
|
+
/**
|
|
6906
|
+
* @private
|
|
6907
|
+
* @returns {JSX.Element | null}
|
|
6900
6908
|
*/
|
|
6901
6909
|
}, {
|
|
6902
6910
|
key: "renderEditValueDialog",
|
|
@@ -6939,9 +6947,9 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
6939
6947
|
});
|
|
6940
6948
|
}
|
|
6941
6949
|
|
|
6942
|
-
/**
|
|
6943
|
-
* The rendering method of this component.
|
|
6944
|
-
* @returns {JSX.Element}
|
|
6950
|
+
/**
|
|
6951
|
+
* The rendering method of this component.
|
|
6952
|
+
* @returns {JSX.Element}
|
|
6945
6953
|
*/
|
|
6946
6954
|
}, {
|
|
6947
6955
|
key: "render",
|
|
@@ -7041,11 +7049,11 @@ var ObjectBrowser = /*#__PURE__*/function (_Component) {
|
|
|
7041
7049
|
return null;
|
|
7042
7050
|
}
|
|
7043
7051
|
|
|
7044
|
-
/**
|
|
7045
|
-
* @private
|
|
7046
|
-
* @param {any} obj
|
|
7047
|
-
* @param {any} it
|
|
7048
|
-
* @param {any} value
|
|
7052
|
+
/**
|
|
7053
|
+
* @private
|
|
7054
|
+
* @param {any} obj
|
|
7055
|
+
* @param {any} it
|
|
7056
|
+
* @param {any} value
|
|
7049
7057
|
*/
|
|
7050
7058
|
}, {
|
|
7051
7059
|
key: "setCustomValue",
|