@iobroker/adapter-react-v5 4.9.11 → 4.10.0
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/404.d.ts +5 -2
- package/Components/404.js +83 -105
- package/Components/ColorPicker.js.map +1 -1
- package/Components/FileViewer.d.ts +0 -1
- package/Components/FileViewer.js +1 -2
- package/Components/FileViewer.js.map +1 -1
- package/Components/Icon.d.ts +10 -17
- package/Components/Icon.js +104 -161
- package/Components/IconPicker.d.ts +16 -61
- package/Components/IconPicker.js +100 -158
- package/Components/Loader.d.ts +22 -33
- package/Components/Loader.js +276 -102
- package/Components/TabContainer.d.ts +1 -1
- package/Components/TextWithIcon.d.ts +21 -16
- package/Components/TextWithIcon.js +104 -125
- package/Components/UploadImage.d.ts +13 -1
- package/Components/UploadImage.js +499 -292
- package/Dialogs/TextInput.d.ts +2 -86
- package/Dialogs/TextInput.js +37 -130
- package/LegacyConnection.d.ts +3 -3
- package/README.md +6 -3
- package/Theme.d.ts +3 -4
- package/Theme.js +389 -382
- package/i18n.d.ts +38 -55
- package/i18n.js +164 -189
- package/package.json +1 -1
- package/types.d.ts +4 -2
- package/Components/404.js.map +0 -1
- package/Components/Icon.js.map +0 -1
- package/Components/IconPicker.js.map +0 -1
- package/Components/Loader.js.map +0 -1
- package/Components/TextWithIcon.js.map +0 -1
- package/Components/UploadImage.js.map +0 -1
- package/Dialogs/TextInput.js.map +0 -1
- package/Theme.js.map +0 -1
- package/i18n.js.map +0 -1
package/Components/Loader.d.ts
CHANGED
|
@@ -1,37 +1,26 @@
|
|
|
1
|
-
export default _export;
|
|
2
|
-
export type LoaderProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The size in pixels of this loader.
|
|
5
|
-
*/
|
|
6
|
-
size?: number;
|
|
7
|
-
/**
|
|
8
|
-
* The chosen theme type.
|
|
9
|
-
*/
|
|
10
|
-
themeType?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The chosen theme.
|
|
13
|
-
*/
|
|
14
|
-
theme?: string;
|
|
15
|
-
};
|
|
16
|
-
/** @type {typeof Loader} */
|
|
17
|
-
declare const _export: typeof Loader;
|
|
18
1
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @property {number} [size] The size in pixels of this loader.
|
|
21
|
-
* @property {string} [themeType] The chosen theme type.
|
|
22
|
-
* @property {string} [theme] The chosen theme.
|
|
2
|
+
* Copyright 2018-2024 Denis Haev (bluefox) <dogafox@gmail.com>
|
|
23
3
|
*
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
let themeType: PropTypes.Requireable<string>;
|
|
4
|
+
* MIT License
|
|
5
|
+
*
|
|
6
|
+
**/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
declare global {
|
|
9
|
+
interface Window {
|
|
10
|
+
loadingBackgroundImage: undefined | string;
|
|
11
|
+
loadingBackgroundColor: undefined | string;
|
|
12
|
+
loadingHideLogo: undefined | 'true';
|
|
34
13
|
}
|
|
35
14
|
}
|
|
36
|
-
|
|
37
|
-
|
|
15
|
+
interface LoaderProps {
|
|
16
|
+
/** The size in pixels of this loader. */
|
|
17
|
+
size?: number;
|
|
18
|
+
/** The chosen theme type. */
|
|
19
|
+
themeType?: 'dark' | 'light';
|
|
20
|
+
/** Theme name*/
|
|
21
|
+
themeName?: 'dark' | 'light' | 'colored' | 'blue';
|
|
22
|
+
/** @deprecated Theme name. use themeName instead */
|
|
23
|
+
theme?: 'dark' | 'light' | 'colored' | 'blue';
|
|
24
|
+
}
|
|
25
|
+
declare function Loader(props: LoaderProps): React.JSX.Element;
|
|
26
|
+
export default Loader;
|
package/Components/Loader.js
CHANGED
|
@@ -1,111 +1,285 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Object.
|
|
5
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
6
17
|
});
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* Copyright 2018-2023 Denis Haev (bluefox) <dogafox@gmail.com>
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
/**
|
|
27
|
+
* Copyright 2018-2024 Denis Haev (bluefox) <dogafox@gmail.com>
|
|
18
28
|
*
|
|
19
29
|
* MIT License
|
|
20
30
|
*
|
|
21
31
|
**/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
32
|
+
const react_1 = __importStar(require("react"));
|
|
33
|
+
const loaderStyles = `
|
|
25
34
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @property {number} [size] The size in pixels of this loader.
|
|
28
|
-
* @property {string} [themeType] The chosen theme type.
|
|
29
|
-
* @property {string} [theme] The chosen theme.
|
|
35
|
+
* Copyright 2018-2024 Denis Haev (bluefox) <dogafox@gmail.com>
|
|
30
36
|
*
|
|
31
|
-
*
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
(0, _inherits2["default"])(Loader, _React$Component);
|
|
35
|
-
function Loader(props) {
|
|
36
|
-
var _this;
|
|
37
|
-
(0, _classCallCheck2["default"])(this, Loader);
|
|
38
|
-
_this = _callSuper(this, Loader, [props]);
|
|
39
|
-
if (!window.document.getElementById('loader-iobroker-component')) {
|
|
40
|
-
var style = window.document.createElement('style');
|
|
41
|
-
style.setAttribute('id', 'loader-iobroker-component');
|
|
42
|
-
style.innerHTML = loaderStyles;
|
|
43
|
-
window.document.head.appendChild(style);
|
|
44
|
-
}
|
|
45
|
-
return _this;
|
|
46
|
-
}
|
|
47
|
-
(0, _createClass2["default"])(Loader, [{
|
|
48
|
-
key: "render",
|
|
49
|
-
value: function render() {
|
|
50
|
-
var size = this.props.size || 234;
|
|
51
|
-
var theme = this.props.themeType || this.props.theme || 'light';
|
|
52
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
53
|
-
className: "logo-back logo-background-".concat(theme),
|
|
54
|
-
style: {
|
|
55
|
-
backgroundImage: window.loadingBackgroundImage && window.loadingBackgroundImage !== '@@loginBackgroundImage@@' ? "url(".concat(window.loadingBackgroundImage, ")") : undefined,
|
|
56
|
-
backgroundColor: window.loadingBackgroundColor && window.loadingBackgroundColor !== '@@loginBackgroundColor@@' ? window.loadingBackgroundColor : undefined,
|
|
57
|
-
backgroundSize: 'cover'
|
|
58
|
-
}
|
|
59
|
-
}, window.loadingHideLogo === 'true' ? null : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
60
|
-
className: "logo-div",
|
|
61
|
-
style: {
|
|
62
|
-
width: size,
|
|
63
|
-
height: size
|
|
64
|
-
}
|
|
65
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
|
-
className: "logo-top logo-background-".concat(theme),
|
|
67
|
-
style: {
|
|
68
|
-
left: '37%'
|
|
69
|
-
}
|
|
70
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
71
|
-
className: "logo-top logo-background-".concat(theme),
|
|
72
|
-
style: {
|
|
73
|
-
left: '57%'
|
|
74
|
-
}
|
|
75
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
76
|
-
className: "logo-border logo-background-".concat(theme, " logo-animate-wait"),
|
|
77
|
-
style: {
|
|
78
|
-
borderWidth: size * 0.132
|
|
79
|
-
}
|
|
80
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
81
|
-
className: "logo-i logo-animate-color-inside-".concat(theme)
|
|
82
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
83
|
-
className: "logo-i-top logo-animate-color-inside-".concat(theme),
|
|
84
|
-
style: {
|
|
85
|
-
top: '18%'
|
|
86
|
-
}
|
|
87
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
88
|
-
className: "logo-i-top logo-animate-color-inside-".concat(theme),
|
|
89
|
-
style: {
|
|
90
|
-
bottom: '18%'
|
|
91
|
-
}
|
|
92
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
93
|
-
className: "logo-animate-grow logo-animate-grow-".concat(theme),
|
|
94
|
-
style: {
|
|
95
|
-
width: size + 11,
|
|
96
|
-
height: size + 11
|
|
97
|
-
}
|
|
98
|
-
})));
|
|
99
|
-
}
|
|
100
|
-
}]);
|
|
101
|
-
return Loader;
|
|
102
|
-
}(_react["default"].Component);
|
|
103
|
-
Loader.propTypes = {
|
|
104
|
-
size: _propTypes["default"].number,
|
|
105
|
-
themeType: _propTypes["default"].string
|
|
106
|
-
};
|
|
37
|
+
* MIT License
|
|
38
|
+
*
|
|
39
|
+
**/
|
|
107
40
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
41
|
+
.logo-background-light, .logo-background-colored {
|
|
42
|
+
background: white;
|
|
43
|
+
}
|
|
44
|
+
.logo-background-dark, .logo-background-blue {
|
|
45
|
+
background: black;
|
|
46
|
+
}
|
|
47
|
+
.logo-div {
|
|
48
|
+
position: absolute;
|
|
49
|
+
top: 50%;
|
|
50
|
+
left: 50%;
|
|
51
|
+
-ms-transform: translateX(-50%) translateY(-50%);
|
|
52
|
+
-webkit-transform: translate(-50%,-50%);
|
|
53
|
+
transform: translate(-50%,-50%);
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
border-radius: 50%;
|
|
56
|
+
z-index: 2;
|
|
57
|
+
}
|
|
58
|
+
.logo-border {
|
|
59
|
+
/*border-color: #164477;*/
|
|
60
|
+
border-top-color: #3399CC;
|
|
61
|
+
border-left-color: #164477;
|
|
62
|
+
border-bottom-color: #164477;
|
|
63
|
+
border-right-color: #164477;
|
|
64
|
+
border-radius: 50%;
|
|
65
|
+
border-style: solid;
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
width: 100%;
|
|
68
|
+
height: 100%;
|
|
69
|
+
position: absolute;
|
|
70
|
+
}
|
|
71
|
+
.logo-top {
|
|
72
|
+
position: absolute;
|
|
73
|
+
width: 4.5%;
|
|
74
|
+
height: 16%;
|
|
75
|
+
top: 0;
|
|
76
|
+
z-index: 2;
|
|
77
|
+
}
|
|
78
|
+
.logo-i {
|
|
79
|
+
position: absolute;
|
|
80
|
+
width: 14.5%;
|
|
81
|
+
height: 60%;
|
|
82
|
+
top: 20%;
|
|
83
|
+
left: 42%;
|
|
84
|
+
background: #3399CC;
|
|
85
|
+
}
|
|
86
|
+
.logo-i-top {
|
|
87
|
+
position: absolute;
|
|
88
|
+
width: 14.5%;
|
|
89
|
+
height: 4%;
|
|
90
|
+
left: 42%;
|
|
91
|
+
background: #3399CC;
|
|
92
|
+
border-radius: 100%;
|
|
93
|
+
}
|
|
94
|
+
.logo-back {
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: 100%;
|
|
97
|
+
z-index: 0;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
}
|
|
100
|
+
@keyframes logo-grow {
|
|
101
|
+
0% {
|
|
102
|
+
width: 230px;
|
|
103
|
+
height: 230px;
|
|
104
|
+
transform: translate(-50%,-50%) scale(1);
|
|
105
|
+
opacity: 1
|
|
106
|
+
}
|
|
107
|
+
99% {
|
|
108
|
+
width: 230px;
|
|
109
|
+
height: 230px;
|
|
110
|
+
transform: translate(-50%,-50%) scale(10);
|
|
111
|
+
opacity: 0;
|
|
112
|
+
}
|
|
113
|
+
100% {
|
|
114
|
+
width: 0;
|
|
115
|
+
height: 0;
|
|
116
|
+
opacity: 0;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
@keyframes logo-spin { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
|
|
120
|
+
@keyframes logo-color-inside-light {
|
|
121
|
+
0% {
|
|
122
|
+
background: #FEFEFE;
|
|
123
|
+
}
|
|
124
|
+
100% {
|
|
125
|
+
background: #3399CC;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@keyframes logo-color-inside-dark {
|
|
129
|
+
0% {
|
|
130
|
+
background: #030303;
|
|
131
|
+
}
|
|
132
|
+
100% {
|
|
133
|
+
background: #3399CC;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
@keyframes logo-color-inside-colored {
|
|
137
|
+
0% {
|
|
138
|
+
background: #FEFEFE;
|
|
139
|
+
}
|
|
140
|
+
100% {
|
|
141
|
+
background: #3399CC;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
@keyframes logo-color-inside-blue {
|
|
145
|
+
0% {
|
|
146
|
+
background: #030303;
|
|
147
|
+
}
|
|
148
|
+
100% {
|
|
149
|
+
background: #3399CC;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@keyframes logo-color-outside-light {
|
|
154
|
+
0% {
|
|
155
|
+
border-color: #FEFEFE;
|
|
156
|
+
}
|
|
157
|
+
100% {
|
|
158
|
+
border-top-color: #3399CC;
|
|
159
|
+
border-left-color: #164477;
|
|
160
|
+
border-bottom-color: #164477;
|
|
161
|
+
border-right-color: #164477;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
@keyframes logo-color-outside-dark {
|
|
165
|
+
0% {
|
|
166
|
+
border-color: #040404;
|
|
167
|
+
}
|
|
168
|
+
100% {
|
|
169
|
+
border-top-color: #3399CC;
|
|
170
|
+
border-left-color: #164477;
|
|
171
|
+
border-bottom-color: #164477;
|
|
172
|
+
border-right-color: #164477;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
@keyframes logo-color-outside-colored {
|
|
176
|
+
0% {
|
|
177
|
+
border-color: #FEFEFE;
|
|
178
|
+
}
|
|
179
|
+
100% {
|
|
180
|
+
border-top-color: #3399CC;
|
|
181
|
+
border-left-color: #164477;
|
|
182
|
+
border-bottom-color: #164477;
|
|
183
|
+
border-right-color: #164477;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
@keyframes logo-color-outside-blue {
|
|
187
|
+
0% {
|
|
188
|
+
border-color: #040404;
|
|
189
|
+
}
|
|
190
|
+
100% {
|
|
191
|
+
border-top-color: #3399CC;
|
|
192
|
+
border-left-color: #164477;
|
|
193
|
+
border-bottom-color: #164477;
|
|
194
|
+
border-right-color: #164477;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.logo-animate-wait {
|
|
199
|
+
animation: logo-color-outside 1.5s, logo-spin 1.5s linear infinite;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.logo-animate-grow-light {
|
|
203
|
+
background: #DDD;
|
|
204
|
+
}
|
|
205
|
+
.logo-animate-grow-dark {
|
|
206
|
+
background: #1d1d1d;
|
|
207
|
+
}
|
|
208
|
+
.logo-animate-grow-colored {
|
|
209
|
+
background: #DDD;
|
|
210
|
+
}
|
|
211
|
+
.logo-animate-grow-blue {
|
|
212
|
+
background: #1d1d1d;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.logo-animate-grow {
|
|
216
|
+
display: inline-block;
|
|
217
|
+
text-align: center;
|
|
218
|
+
z-index: 1;
|
|
219
|
+
top: 50%;
|
|
220
|
+
left: 50%;
|
|
221
|
+
-ms-transform: translateX(-50%) translateY(-50%);
|
|
222
|
+
-webkit-transform: translate(-50%,-50%);
|
|
223
|
+
transform: translate(-50%,-50%);
|
|
224
|
+
width: 245px;
|
|
225
|
+
height: 245px;
|
|
226
|
+
border-radius: 50%;
|
|
227
|
+
position: absolute;
|
|
228
|
+
animation: logo-grow 1s 1 ease forwards;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.logo-animate-color-inside-light {
|
|
232
|
+
animation: logo-color-inside-light 2.5s;
|
|
233
|
+
}
|
|
234
|
+
.logo-animate-color-inside-dark {
|
|
235
|
+
animation: logo-color-inside-dark 2.5s;
|
|
236
|
+
}
|
|
237
|
+
.logo-animate-color-inside-colored {
|
|
238
|
+
animation: logo-color-inside-colored 2.5s;
|
|
239
|
+
}
|
|
240
|
+
.logo-animate-color-inside-blue {
|
|
241
|
+
animation: logo-color-inside-blue 2.5s;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.logo-animate-color-outside-light {
|
|
245
|
+
animation: logo-color-outside-light 1.5s;
|
|
246
|
+
}
|
|
247
|
+
.logo-animate-color-outside-dark {
|
|
248
|
+
animation: logo-color-outside-dark 1.5s;
|
|
249
|
+
}
|
|
250
|
+
.logo-animate-color-outside-colored {
|
|
251
|
+
animation: logo-color-outside-colored 1.5s;
|
|
252
|
+
}
|
|
253
|
+
.logo-animate-color-outside-blue {
|
|
254
|
+
animation: logo-color-outside-blue 1.5s;
|
|
255
|
+
}
|
|
256
|
+
`;
|
|
257
|
+
function Loader(props) {
|
|
258
|
+
(0, react_1.useEffect)(() => {
|
|
259
|
+
if (!window.document.getElementById('loader-iobroker-component')) {
|
|
260
|
+
const style = window.document.createElement('style');
|
|
261
|
+
style.setAttribute('id', 'loader-iobroker-component');
|
|
262
|
+
style.innerHTML = loaderStyles;
|
|
263
|
+
window.document.head.appendChild(style);
|
|
264
|
+
}
|
|
265
|
+
}, []);
|
|
266
|
+
const size = props.size || 234;
|
|
267
|
+
const theme = props.themeName || props.theme || props.themeType || 'light';
|
|
268
|
+
return react_1.default.createElement("div", { className: `logo-back logo-background-${theme}`, style: {
|
|
269
|
+
backgroundImage: window.loadingBackgroundImage && window.loadingBackgroundImage !== '@@loginBackgroundImage@@' ? `url(${window.loadingBackgroundImage})` : undefined,
|
|
270
|
+
backgroundColor: window.loadingBackgroundColor && window.loadingBackgroundColor !== '@@loginBackgroundColor@@' ? window.loadingBackgroundColor : undefined,
|
|
271
|
+
backgroundSize: 'cover',
|
|
272
|
+
} }, window.loadingHideLogo === 'true' ?
|
|
273
|
+
null
|
|
274
|
+
:
|
|
275
|
+
react_1.default.createElement(react_1.default.Fragment, null,
|
|
276
|
+
react_1.default.createElement("div", { className: "logo-div", style: { width: size, height: size } },
|
|
277
|
+
react_1.default.createElement("div", { className: `logo-top logo-background-${theme}`, style: { left: '37%' } }),
|
|
278
|
+
react_1.default.createElement("div", { className: `logo-top logo-background-${theme}`, style: { left: '57%' } }),
|
|
279
|
+
react_1.default.createElement("div", { className: `logo-border logo-background-${theme} logo-animate-wait`, style: { borderWidth: size * 0.132 } }),
|
|
280
|
+
react_1.default.createElement("div", { className: `logo-i logo-animate-color-inside-${theme}` }),
|
|
281
|
+
react_1.default.createElement("div", { className: `logo-i-top logo-animate-color-inside-${theme}`, style: { top: '18%' } }),
|
|
282
|
+
react_1.default.createElement("div", { className: `logo-i-top logo-animate-color-inside-${theme}`, style: { bottom: '18%' } })),
|
|
283
|
+
react_1.default.createElement("div", { className: `logo-animate-grow logo-animate-grow-${theme}`, style: { width: size + 11, height: size + 11 } })));
|
|
284
|
+
}
|
|
285
|
+
exports.default = Loader;
|
|
@@ -13,5 +13,5 @@ interface TabContainerProps {
|
|
|
13
13
|
children: React.ReactNode;
|
|
14
14
|
}
|
|
15
15
|
/** @type {typeof TabContainer} */
|
|
16
|
-
declare const _export: React.JSXElementConstructor<Omit<TabContainerProps, "classes"> & import("@mui/styles").StyledComponentProps<"
|
|
16
|
+
declare const _export: React.JSXElementConstructor<Omit<TabContainerProps, "classes"> & import("@mui/styles").StyledComponentProps<"root" | "container" | "overflowHidden"> & object>;
|
|
17
17
|
export default _export;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
declare const _default: React.JSXElementConstructor<Omit<PropTypes.InferProps<{
|
|
2
|
-
lang: PropTypes.Validator<string>;
|
|
3
|
-
themeType: PropTypes.Requireable<string>;
|
|
4
|
-
value: PropTypes.Validator<NonNullable<NonNullable<string | object>>>;
|
|
5
|
-
list: PropTypes.Requireable<object>;
|
|
6
|
-
options: PropTypes.Requireable<object>;
|
|
7
|
-
className: PropTypes.Requireable<string>;
|
|
8
|
-
style: PropTypes.Requireable<object>;
|
|
9
|
-
title: PropTypes.Requireable<string>;
|
|
10
|
-
removePrefix: PropTypes.Requireable<string>;
|
|
11
|
-
moreClasses: PropTypes.Requireable<object>;
|
|
12
|
-
icon: PropTypes.Requireable<string>;
|
|
13
|
-
color: PropTypes.Requireable<string>;
|
|
14
|
-
}>, "classes"> & import("@mui/styles").StyledComponentProps<"div" | "text" | "icon"> & object>;
|
|
15
|
-
export default _default;
|
|
16
|
-
import PropTypes from 'prop-types';
|
|
17
1
|
import React from 'react';
|
|
2
|
+
interface TextWithIconProps {
|
|
3
|
+
lang: ioBroker.Languages;
|
|
4
|
+
themeType?: 'dark' | 'light';
|
|
5
|
+
value: string | Record<string, any>;
|
|
6
|
+
list?: ioBroker.Object[] | Record<string, ioBroker.Object>;
|
|
7
|
+
options?: Record<string, any>;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
title?: string;
|
|
11
|
+
removePrefix?: string;
|
|
12
|
+
moreClasses?: {
|
|
13
|
+
root?: string;
|
|
14
|
+
icon?: string;
|
|
15
|
+
text?: string;
|
|
16
|
+
};
|
|
17
|
+
icon?: string;
|
|
18
|
+
color?: string;
|
|
19
|
+
classes: Record<string, string>;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: React.JSXElementConstructor<Omit<TextWithIconProps, "classes"> & import("@mui/styles").StyledComponentProps<string> & object>;
|
|
22
|
+
export default _default;
|