@iobroker/adapter-react-v5 4.8.1 → 4.9.1
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/Components/Logo.d.ts +9 -50
- package/Components/Logo.js +106 -173
- package/Components/ObjectBrowser.d.ts +9 -0
- package/Components/ObjectBrowser.js +370 -165
- package/Components/ObjectBrowser.js.map +1 -1
- package/Components/SaveCloseButtons.d.ts +17 -61
- package/Components/SaveCloseButtons.js +64 -124
- package/Components/Schedule.d.ts +31 -6
- package/Components/Schedule.js +1144 -1562
- package/Components/TabContainer.d.ts +9 -37
- package/Components/TabContainer.js +49 -74
- package/Components/TabContent.d.ts +6 -27
- package/Components/TabContent.js +24 -67
- package/Components/TabHeader.d.ts +6 -11
- package/Components/TabHeader.js +11 -40
- package/Components/ToggleThemeMenu.d.ts +10 -8
- package/Components/ToggleThemeMenu.js +16 -36
- package/Components/types.d.ts +10 -2
- package/Dialogs/SelectID.d.ts +39 -139
- package/Dialogs/SelectID.js +141 -271
- package/LegacyConnection.d.ts +1 -1
- package/README.md +9 -2
- package/i18n.d.ts +2 -2
- package/index.d.ts +127 -126
- package/index.js +213 -192
- package/package.json +7 -7
- 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/ConfigAutocompleteSendTo.d.ts +0 -17
- package/Components/JsonConfigComponent/ConfigAutocompleteSendTo.js +0 -131
- 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/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/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/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/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/Logo.js.map +0 -1
- package/Components/SaveCloseButtons.js.map +0 -1
- package/Components/Schedule.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/ToggleThemeMenu.js.map +0 -1
- package/Dialogs/SelectID.js.map +0 -1
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getTranslation = exports.renderIcon = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const icons_material_1 = require("@mui/icons-material");
|
|
9
|
-
const Icon_1 = __importDefault(require("../../Icon"));
|
|
10
|
-
const i18n_1 = __importDefault(require("../../../i18n"));
|
|
11
|
-
function renderIcon(action, colors, value) {
|
|
12
|
-
var _a, _b, _c, _d;
|
|
13
|
-
if (!action) {
|
|
14
|
-
return null;
|
|
15
|
-
}
|
|
16
|
-
let color = (value && action.colorOn) || action.color || (action.state ? 'primary' : 'inherit');
|
|
17
|
-
if (colors) {
|
|
18
|
-
if (color === 'primary') {
|
|
19
|
-
color = colors.primary;
|
|
20
|
-
}
|
|
21
|
-
else if (color === 'secondary') {
|
|
22
|
-
color = colors.secondary;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
if (((_a = action.icon) === null || _a === void 0 ? void 0 : _a.startsWith('fa-')) || ((_b = action.icon) === null || _b === void 0 ? void 0 : _b.startsWith('fas'))) {
|
|
26
|
-
const iconStyle = action.icon.split(' ').map(s => s.trim()).filter(s => s !== 'fa-solid');
|
|
27
|
-
if (iconStyle.includes('fa-trash-can') || iconStyle.includes('fa-trash')) {
|
|
28
|
-
return react_1.default.createElement(icons_material_1.Delete, { style: { color } });
|
|
29
|
-
}
|
|
30
|
-
if (iconStyle.includes('fa-pen')) {
|
|
31
|
-
return react_1.default.createElement(icons_material_1.Edit, { style: { color } });
|
|
32
|
-
}
|
|
33
|
-
if (iconStyle.includes('fa-redo-alt')) {
|
|
34
|
-
return react_1.default.createElement(icons_material_1.Refresh, { style: { color } });
|
|
35
|
-
}
|
|
36
|
-
if (iconStyle.includes('fa-plus')) {
|
|
37
|
-
return react_1.default.createElement(icons_material_1.Add, { style: { color } });
|
|
38
|
-
}
|
|
39
|
-
if (iconStyle.includes('fa-wifi')) {
|
|
40
|
-
return react_1.default.createElement(icons_material_1.Wifi, { style: { color } });
|
|
41
|
-
}
|
|
42
|
-
if (iconStyle.includes('fa-wifi-slash')) {
|
|
43
|
-
return react_1.default.createElement(icons_material_1.WifiOff, { style: { color } });
|
|
44
|
-
}
|
|
45
|
-
if (iconStyle.includes('fa-bluetooth')) {
|
|
46
|
-
return react_1.default.createElement(icons_material_1.Bluetooth, { style: { color } });
|
|
47
|
-
}
|
|
48
|
-
if (iconStyle.includes('fa-bluetooth-slash')) {
|
|
49
|
-
return react_1.default.createElement(icons_material_1.BluetoothDisabled, { style: { color } });
|
|
50
|
-
}
|
|
51
|
-
if (iconStyle.includes('fa-eye')) {
|
|
52
|
-
return react_1.default.createElement(icons_material_1.Visibility, { style: { color } });
|
|
53
|
-
}
|
|
54
|
-
if (iconStyle.includes('fa-search')) {
|
|
55
|
-
return react_1.default.createElement(icons_material_1.Search, { style: { color } });
|
|
56
|
-
}
|
|
57
|
-
if (iconStyle.includes('fa-unlink')) {
|
|
58
|
-
return react_1.default.createElement(icons_material_1.LinkOff, { style: { color } });
|
|
59
|
-
}
|
|
60
|
-
if (iconStyle.includes('fa-link')) {
|
|
61
|
-
return react_1.default.createElement(icons_material_1.Link, { style: { color } });
|
|
62
|
-
}
|
|
63
|
-
if (iconStyle.includes('fa-search-location')) {
|
|
64
|
-
return react_1.default.createElement(icons_material_1.NotListedLocation, { style: { color } });
|
|
65
|
-
}
|
|
66
|
-
if (iconStyle.includes('fa-play')) {
|
|
67
|
-
return react_1.default.createElement(icons_material_1.PlayArrow, { style: { color } });
|
|
68
|
-
}
|
|
69
|
-
if (iconStyle.includes('fa-stop')) {
|
|
70
|
-
return react_1.default.createElement(icons_material_1.Stop, { style: { color } });
|
|
71
|
-
}
|
|
72
|
-
if (iconStyle.includes('fa-pause')) {
|
|
73
|
-
return react_1.default.createElement(icons_material_1.Pause, { style: { color } });
|
|
74
|
-
}
|
|
75
|
-
if (iconStyle.includes('forward') || iconStyle.includes('fa-forward')) {
|
|
76
|
-
return react_1.default.createElement(icons_material_1.FastForward, { style: { color } });
|
|
77
|
-
}
|
|
78
|
-
if (iconStyle.includes('rewind') || iconStyle.includes('fa-rewind')) {
|
|
79
|
-
return react_1.default.createElement(icons_material_1.FastRewind, { style: { color } });
|
|
80
|
-
}
|
|
81
|
-
return null;
|
|
82
|
-
}
|
|
83
|
-
if (value && ((_c = action.iconOn) === null || _c === void 0 ? void 0 : _c.startsWith('data:image'))) {
|
|
84
|
-
return react_1.default.createElement(Icon_1.default, { src: action.iconOn, style: { color } });
|
|
85
|
-
}
|
|
86
|
-
if ((_d = action.icon) === null || _d === void 0 ? void 0 : _d.startsWith('data:image')) {
|
|
87
|
-
return react_1.default.createElement(Icon_1.default, { src: action.icon, style: { color } });
|
|
88
|
-
}
|
|
89
|
-
if (action.id === 'edit' || action.id === 'rename') {
|
|
90
|
-
return react_1.default.createElement(icons_material_1.Edit, { style: { color } });
|
|
91
|
-
}
|
|
92
|
-
if (action.id === 'delete') {
|
|
93
|
-
return react_1.default.createElement(icons_material_1.Delete, { style: { color } });
|
|
94
|
-
}
|
|
95
|
-
if (action.id === 'refresh') {
|
|
96
|
-
return react_1.default.createElement(icons_material_1.Refresh, { style: { color } });
|
|
97
|
-
}
|
|
98
|
-
if (action.id === 'newDevice' || action.id === 'new' || action.id === 'add') {
|
|
99
|
-
return react_1.default.createElement(icons_material_1.Add, { style: { color } });
|
|
100
|
-
}
|
|
101
|
-
if (action.id === 'discover' || action.id === 'search') {
|
|
102
|
-
return react_1.default.createElement(icons_material_1.Search, { style: { color } });
|
|
103
|
-
}
|
|
104
|
-
if (action.id === 'unpairDevice') {
|
|
105
|
-
return react_1.default.createElement(icons_material_1.LinkOff, { style: { color } });
|
|
106
|
-
}
|
|
107
|
-
if (action.id === 'pairDevice') {
|
|
108
|
-
return react_1.default.createElement(icons_material_1.Link, { style: { color } });
|
|
109
|
-
}
|
|
110
|
-
if (action.id === 'identify') {
|
|
111
|
-
return react_1.default.createElement(icons_material_1.NotListedLocation, { style: { color } });
|
|
112
|
-
}
|
|
113
|
-
if (action.id === 'play') {
|
|
114
|
-
return react_1.default.createElement(icons_material_1.PlayArrow, { style: { color } });
|
|
115
|
-
}
|
|
116
|
-
if (action.id === 'stop') {
|
|
117
|
-
return react_1.default.createElement(icons_material_1.Stop, { style: { color } });
|
|
118
|
-
}
|
|
119
|
-
if (action.id === 'pause') {
|
|
120
|
-
return react_1.default.createElement(icons_material_1.Pause, { style: { color } });
|
|
121
|
-
}
|
|
122
|
-
if (action.id === 'forward' || action.id === 'next') {
|
|
123
|
-
return react_1.default.createElement(icons_material_1.FastForward, { style: { color } });
|
|
124
|
-
}
|
|
125
|
-
if (action.id === 'rewind' || action.id === 'previous') {
|
|
126
|
-
return react_1.default.createElement(icons_material_1.FastRewind, { style: { color } });
|
|
127
|
-
}
|
|
128
|
-
if (action.id === 'lamp' || action.id === 'light') {
|
|
129
|
-
return react_1.default.createElement(icons_material_1.Lightbulb, { style: { color } });
|
|
130
|
-
}
|
|
131
|
-
if (action.id === 'backlight') {
|
|
132
|
-
return react_1.default.createElement(icons_material_1.Fluorescent, { style: { color } });
|
|
133
|
-
}
|
|
134
|
-
if (action.id === 'dimmer') {
|
|
135
|
-
return react_1.default.createElement(icons_material_1.WbIncandescent, { style: { color } });
|
|
136
|
-
}
|
|
137
|
-
if (action.id === 'socket') {
|
|
138
|
-
return react_1.default.createElement(icons_material_1.Power, { style: { color } });
|
|
139
|
-
}
|
|
140
|
-
return null;
|
|
141
|
-
}
|
|
142
|
-
exports.renderIcon = renderIcon;
|
|
143
|
-
let language;
|
|
144
|
-
/**
|
|
145
|
-
* Get Translation
|
|
146
|
-
* @param {string | object} text - Text to translate
|
|
147
|
-
* @returns {string}
|
|
148
|
-
*/
|
|
149
|
-
function getTranslation(text) {
|
|
150
|
-
language = language || i18n_1.default.getLanguage();
|
|
151
|
-
if (typeof text === 'object') {
|
|
152
|
-
const words = text;
|
|
153
|
-
// @ts-ignore
|
|
154
|
-
return words[language] || text.en;
|
|
155
|
-
}
|
|
156
|
-
return i18n_1.default.t(text);
|
|
157
|
-
}
|
|
158
|
-
exports.getTranslation = getTranslation;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Hersteller",
|
|
3
|
-
"model": "Modell",
|
|
4
|
-
"batteryTooltip": "Batterie",
|
|
5
|
-
"connectedIconTooltip": "Verbunden",
|
|
6
|
-
"disconnectedIconTooltip": "Getrennt",
|
|
7
|
-
"cancelButtonText": "Abbrechen",
|
|
8
|
-
"okButtonText": "OK",
|
|
9
|
-
"yesButtonText": "Ja",
|
|
10
|
-
"noButtonText": "Nein",
|
|
11
|
-
"noInstanceSelectedText": "Bitte Instanz auswählen",
|
|
12
|
-
"filterLabelText": "Nach Name filtern",
|
|
13
|
-
"instanceLabelText": "Instanz",
|
|
14
|
-
"refreshInstanceList": "Instanz Liste aktualisieren",
|
|
15
|
-
"copied": " Kopiert",
|
|
16
|
-
"toClipboard": " in die Zwischenablage kopiert",
|
|
17
|
-
"allDevicesFilteredOut": "Alle Geräte herausgefiltert",
|
|
18
|
-
"closeButtonText": "Schließen",
|
|
19
|
-
"instanceNotAlive": "Instanz ist nicht aktiv",
|
|
20
|
-
"noDevicesFoundText": "Keine Geräte gefunden"
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Manufacturer",
|
|
3
|
-
"model": "Model",
|
|
4
|
-
"batteryTooltip": "Battery",
|
|
5
|
-
"connectedIconTooltip": "Connected",
|
|
6
|
-
"disconnectedIconTooltip": "Disconnected",
|
|
7
|
-
"cancelButtonText": "Cancel",
|
|
8
|
-
"closeButtonText": "Close",
|
|
9
|
-
"okButtonText": "OK",
|
|
10
|
-
"yesButtonText": "Yes",
|
|
11
|
-
"noButtonText": "No",
|
|
12
|
-
"noInstanceSelectedText": "Please select instance",
|
|
13
|
-
"filterLabelText": "Filter by name",
|
|
14
|
-
"instanceLabelText": "Instance",
|
|
15
|
-
"refreshInstanceList": "Refresh instance list",
|
|
16
|
-
"noDevicesFoundText": "No devices found",
|
|
17
|
-
"copied": "Copied",
|
|
18
|
-
"toClipboard": "to clipboard",
|
|
19
|
-
"instanceNotAlive": "Instance is not alive",
|
|
20
|
-
"allDevicesFilteredOut": "All devices filtered out"
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Fabricante",
|
|
3
|
-
"model": "Modelo",
|
|
4
|
-
"batteryTooltip": "Batería",
|
|
5
|
-
"connectedIconTooltip": "Conectado",
|
|
6
|
-
"allDevicesFilteredOut": "Todos los dispositivos filtrados",
|
|
7
|
-
"cancelButtonText": "Cancelar",
|
|
8
|
-
"closeButtonText": "Cerca",
|
|
9
|
-
"copied": "copiado",
|
|
10
|
-
"disconnectedIconTooltip": "Desconectado",
|
|
11
|
-
"filterLabelText": "Filtrar por nombre",
|
|
12
|
-
"instanceLabelText": "Instancia",
|
|
13
|
-
"instanceNotAlive": "La instancia no está viva.",
|
|
14
|
-
"noButtonText": "No",
|
|
15
|
-
"noDevicesFoundText": "No se encontraron dispositivos",
|
|
16
|
-
"noInstanceSelectedText": "Por favor seleccione instancia",
|
|
17
|
-
"okButtonText": "DE ACUERDO",
|
|
18
|
-
"refreshInstanceList": "Actualizar lista de instancias",
|
|
19
|
-
"toClipboard": "al portapapeles",
|
|
20
|
-
"yesButtonText": "Sí"
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Fabricant",
|
|
3
|
-
"model": "Modèle",
|
|
4
|
-
"batteryTooltip": "Batterie",
|
|
5
|
-
"connectedIconTooltip": "Connecté",
|
|
6
|
-
"allDevicesFilteredOut": "Tous les appareils filtrés",
|
|
7
|
-
"cancelButtonText": "Annuler",
|
|
8
|
-
"closeButtonText": "Fermer",
|
|
9
|
-
"copied": "Copié",
|
|
10
|
-
"disconnectedIconTooltip": "Débranché",
|
|
11
|
-
"filterLabelText": "Filtrer par nom",
|
|
12
|
-
"instanceLabelText": "Exemple",
|
|
13
|
-
"instanceNotAlive": "L'instance n'est pas vivante",
|
|
14
|
-
"noButtonText": "Non",
|
|
15
|
-
"noDevicesFoundText": "Aucun périphérique trouvé",
|
|
16
|
-
"noInstanceSelectedText": "Veuillez sélectionner une instance",
|
|
17
|
-
"okButtonText": "D'ACCORD",
|
|
18
|
-
"refreshInstanceList": "Actualiser la liste des instances",
|
|
19
|
-
"toClipboard": "au presse-papiers",
|
|
20
|
-
"yesButtonText": "Oui"
|
|
21
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file loads the translations keys from `i18n/en.json` file and overrides
|
|
3
|
-
* the declarations for the translate function `I18n.t` available in "@iobroker/adapter-react/i18n".
|
|
4
|
-
* Using these definitions it is ensured that all used translations in the React
|
|
5
|
-
* context are defined at least in the english translations file.
|
|
6
|
-
* This will add no overhead in the generated code since it just reexports the
|
|
7
|
-
* I18n class but with a more typed `t` function.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/*
|
|
11
|
-
* DO NOT add any imports or exports in this file or it will stop working!
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Available words in `i18n/en.json`.
|
|
16
|
-
*/
|
|
17
|
-
declare type AdminWord = keyof typeof import('./en.json');
|
|
18
|
-
|
|
19
|
-
declare module '@iobroker/adapter-react/i18n' {
|
|
20
|
-
/**
|
|
21
|
-
* Translate the given string to the selected language.
|
|
22
|
-
* @param word The (key) word to look up the string. Has to be defined at least in `i18n/en.json`.
|
|
23
|
-
* @param args Optional arguments which will replace the first (second, third, ...) occurence of %s
|
|
24
|
-
*/
|
|
25
|
-
function t(word: AdminWord, ...args: string[]): string;
|
|
26
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Produttore",
|
|
3
|
-
"model": "Modello",
|
|
4
|
-
"batteryTooltip": "Batteria",
|
|
5
|
-
"connectedIconTooltip": "Connesso",
|
|
6
|
-
"allDevicesFilteredOut": "Tutti i dispositivi sono stati filtrati",
|
|
7
|
-
"cancelButtonText": "Annulla",
|
|
8
|
-
"closeButtonText": "Vicino",
|
|
9
|
-
"copied": "Copiato",
|
|
10
|
-
"disconnectedIconTooltip": "Disconnesso",
|
|
11
|
-
"filterLabelText": "Filtra per nome",
|
|
12
|
-
"instanceLabelText": "Esempio",
|
|
13
|
-
"instanceNotAlive": "L'istanza non è viva",
|
|
14
|
-
"noButtonText": "NO",
|
|
15
|
-
"noDevicesFoundText": "Nessun dispositivo trovato",
|
|
16
|
-
"noInstanceSelectedText": "Seleziona l'istanza",
|
|
17
|
-
"okButtonText": "OK",
|
|
18
|
-
"refreshInstanceList": "Aggiorna l'elenco delle istanze",
|
|
19
|
-
"toClipboard": "negli appunti",
|
|
20
|
-
"yesButtonText": "SÌ"
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Fabrikant",
|
|
3
|
-
"model": "Model",
|
|
4
|
-
"batteryTooltip": "Batterij",
|
|
5
|
-
"connectedIconTooltip": "Verbonden",
|
|
6
|
-
"allDevicesFilteredOut": "Alle apparaten zijn eruit gefilterd",
|
|
7
|
-
"cancelButtonText": "Annuleren",
|
|
8
|
-
"closeButtonText": "Dichtbij",
|
|
9
|
-
"copied": "Gekopieerd",
|
|
10
|
-
"disconnectedIconTooltip": "Losgekoppeld",
|
|
11
|
-
"filterLabelText": "Filter op naam",
|
|
12
|
-
"instanceLabelText": "Voorbeeld",
|
|
13
|
-
"instanceNotAlive": "Instantie leeft niet",
|
|
14
|
-
"noButtonText": "Nee",
|
|
15
|
-
"noDevicesFoundText": "Geen apparaten gevonden",
|
|
16
|
-
"noInstanceSelectedText": "Selecteer een exemplaar",
|
|
17
|
-
"okButtonText": "OK",
|
|
18
|
-
"refreshInstanceList": "Ververs de exemplaarlijst",
|
|
19
|
-
"toClipboard": "naar klembord",
|
|
20
|
-
"yesButtonText": "Ja"
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Producent",
|
|
3
|
-
"model": "Model",
|
|
4
|
-
"batteryTooltip": "Bateria",
|
|
5
|
-
"connectedIconTooltip": "Połączono",
|
|
6
|
-
"allDevicesFilteredOut": "Wszystkie urządzenia zostały odfiltrowane",
|
|
7
|
-
"cancelButtonText": "Anulować",
|
|
8
|
-
"closeButtonText": "Zamknąć",
|
|
9
|
-
"copied": "Skopiowano",
|
|
10
|
-
"disconnectedIconTooltip": "Bezładny",
|
|
11
|
-
"filterLabelText": "Filtruj według nazwy",
|
|
12
|
-
"instanceLabelText": "Instancja",
|
|
13
|
-
"instanceNotAlive": "Instancja nie żyje",
|
|
14
|
-
"noButtonText": "NIE",
|
|
15
|
-
"noDevicesFoundText": "Nie znaleziono urządzeń",
|
|
16
|
-
"noInstanceSelectedText": "Wybierz instancję",
|
|
17
|
-
"okButtonText": "OK",
|
|
18
|
-
"refreshInstanceList": "Odśwież listę instancji",
|
|
19
|
-
"toClipboard": "do schowka",
|
|
20
|
-
"yesButtonText": "Tak"
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Fabricante",
|
|
3
|
-
"model": "Modelo",
|
|
4
|
-
"batteryTooltip": "Bateria",
|
|
5
|
-
"connectedIconTooltip": "Conectado",
|
|
6
|
-
"allDevicesFilteredOut": "Todos os dispositivos foram filtrados",
|
|
7
|
-
"cancelButtonText": "Cancelar",
|
|
8
|
-
"closeButtonText": "Fechar",
|
|
9
|
-
"copied": "Copiado",
|
|
10
|
-
"disconnectedIconTooltip": "Desconectado",
|
|
11
|
-
"filterLabelText": "Filtrar por nome",
|
|
12
|
-
"instanceLabelText": "Instância",
|
|
13
|
-
"instanceNotAlive": "A instância não está ativa",
|
|
14
|
-
"noButtonText": "Não",
|
|
15
|
-
"noDevicesFoundText": "Nenhum dispositivo encontrado",
|
|
16
|
-
"noInstanceSelectedText": "Selecione a instância",
|
|
17
|
-
"okButtonText": "OK",
|
|
18
|
-
"refreshInstanceList": "Atualizar lista de instâncias",
|
|
19
|
-
"toClipboard": "para a área de transferência",
|
|
20
|
-
"yesButtonText": "Sim"
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Производитель",
|
|
3
|
-
"model": "Модель",
|
|
4
|
-
"batteryTooltip": "Батарея",
|
|
5
|
-
"connectedIconTooltip": "Подключено",
|
|
6
|
-
"allDevicesFilteredOut": "Все устройства отфильтрованы",
|
|
7
|
-
"cancelButtonText": "Отмена",
|
|
8
|
-
"closeButtonText": "Закрыть",
|
|
9
|
-
"copied": "Скопировано",
|
|
10
|
-
"disconnectedIconTooltip": "Отключено",
|
|
11
|
-
"filterLabelText": "Фильтровать по имени",
|
|
12
|
-
"instanceLabelText": "Екземпляр",
|
|
13
|
-
"instanceNotAlive": "Экземпляр не жив",
|
|
14
|
-
"noButtonText": "Нет",
|
|
15
|
-
"noDevicesFoundText": "Устройства не найдены",
|
|
16
|
-
"noInstanceSelectedText": "Пожалуйста, выберите экземпляр",
|
|
17
|
-
"okButtonText": "ХОРОШО",
|
|
18
|
-
"refreshInstanceList": "Обновить список экземпляров",
|
|
19
|
-
"toClipboard": "в буфер обмена",
|
|
20
|
-
"yesButtonText": "Да"
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "Виробник",
|
|
3
|
-
"model": "Модель",
|
|
4
|
-
"batteryTooltip": "Батарея",
|
|
5
|
-
"allDevicesFilteredOut": "Усі пристрої відфільтровано",
|
|
6
|
-
"cancelButtonText": "Скасувати",
|
|
7
|
-
"closeButtonText": "Закрити",
|
|
8
|
-
"connectedIconTooltip": "Підключено",
|
|
9
|
-
"copied": "Скопійовано",
|
|
10
|
-
"disconnectedIconTooltip": "Відключено",
|
|
11
|
-
"filterLabelText": "Фільтрувати за назвою",
|
|
12
|
-
"instanceLabelText": "Екземпляр",
|
|
13
|
-
"instanceNotAlive": "Примірник не живий",
|
|
14
|
-
"noButtonText": "Немає",
|
|
15
|
-
"noDevicesFoundText": "Пристроїв не знайдено",
|
|
16
|
-
"noInstanceSelectedText": "Виберіть екземпляр",
|
|
17
|
-
"okButtonText": "в порядку",
|
|
18
|
-
"refreshInstanceList": "Оновити список екземплярів",
|
|
19
|
-
"toClipboard": "в буфер обміну",
|
|
20
|
-
"yesButtonText": "Так"
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manufacturer": "制造商",
|
|
3
|
-
"model": "型号",
|
|
4
|
-
"batteryTooltip": "电池",
|
|
5
|
-
"connectedIconTooltip": "已连接",
|
|
6
|
-
"allDevicesFilteredOut": "所有设备均被过滤掉",
|
|
7
|
-
"cancelButtonText": "取消",
|
|
8
|
-
"closeButtonText": "关闭",
|
|
9
|
-
"copied": "已复制",
|
|
10
|
-
"disconnectedIconTooltip": "已断开连接",
|
|
11
|
-
"filterLabelText": "按名称过滤",
|
|
12
|
-
"instanceLabelText": "实例",
|
|
13
|
-
"instanceNotAlive": "实例不存在",
|
|
14
|
-
"noButtonText": "不",
|
|
15
|
-
"noDevicesFoundText": "未找到设备",
|
|
16
|
-
"noInstanceSelectedText": "请选择实例",
|
|
17
|
-
"okButtonText": "好的",
|
|
18
|
-
"refreshInstanceList": "刷新实例列表",
|
|
19
|
-
"toClipboard": "到剪贴板",
|
|
20
|
-
"yesButtonText": "是的"
|
|
21
|
-
}
|
|
@@ -1,10 +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 _DeviceList = _interopRequireDefault(require("./DeviceList"));
|
|
9
|
-
var _default = exports["default"] = _DeviceList["default"];
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_DeviceList","_interopRequireDefault","require","_default","exports","DeviceList"],"sources":["JsonConfigComponent/DeviceManager/index.js"],"sourcesContent":["import DeviceList from './DeviceList';\n\nexport default DeviceList;\n"],"mappings":";;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAsC,IAAAC,QAAA,GAAAC,OAAA,cAEvBC,sBAAU"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
-
socket: PropTypes.Validator<object>;
|
|
3
|
-
adapterName: PropTypes.Requireable<string>;
|
|
4
|
-
instance: PropTypes.Requireable<number>;
|
|
5
|
-
common: PropTypes.Requireable<object>;
|
|
6
|
-
customs: PropTypes.Requireable<object>;
|
|
7
|
-
custom: PropTypes.Requireable<boolean>;
|
|
8
|
-
customObj: PropTypes.Requireable<object>;
|
|
9
|
-
multiEdit: PropTypes.Requireable<boolean>;
|
|
10
|
-
instanceObj: PropTypes.Requireable<object>;
|
|
11
|
-
dateFormat: PropTypes.Requireable<string>;
|
|
12
|
-
isFloatComma: PropTypes.Requireable<boolean>;
|
|
13
|
-
imagePrefix: PropTypes.Requireable<string>;
|
|
14
|
-
themeType: PropTypes.Requireable<string>;
|
|
15
|
-
themeName: PropTypes.Requireable<string>;
|
|
16
|
-
data: PropTypes.Validator<object>;
|
|
17
|
-
updateData: PropTypes.Requireable<number>;
|
|
18
|
-
schema: PropTypes.Requireable<object>;
|
|
19
|
-
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
-
onValueChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
-
embedded: PropTypes.Requireable<boolean>;
|
|
23
|
-
}>, "classes"> & import("@mui/styles").StyledComponentProps<"root"> & object>;
|
|
24
|
-
export default _default;
|
|
25
|
-
import PropTypes from 'prop-types';
|
|
26
|
-
import React from 'react';
|