@iobroker/adapter-react-v5 8.0.5 → 8.0.7

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.
Files changed (63) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +5 -0
  3. package/build/AdminConnection.js.map +1 -1
  4. package/build/Components/404.js +13 -13
  5. package/build/Components/404.js.map +1 -1
  6. package/build/Components/ColorPicker.js.map +1 -1
  7. package/build/Components/CopyToClipboard.js.map +1 -1
  8. package/build/Components/Icon.js.map +1 -1
  9. package/build/Components/IobUri.js.map +1 -1
  10. package/build/Components/Loader.d.ts +2 -3
  11. package/build/Components/Loader.js +21 -257
  12. package/build/Components/Loader.js.map +1 -1
  13. package/build/Components/Loaders/Community.d.ts +31 -0
  14. package/build/Components/Loaders/Community.js +265 -0
  15. package/build/Components/Loaders/Community.js.map +1 -0
  16. package/build/Components/Loaders/MV.js.map +1 -1
  17. package/build/Components/Loaders/NW.d.ts +17 -0
  18. package/build/Components/Loaders/NW.js +70 -0
  19. package/build/Components/Loaders/NW.js.map +1 -0
  20. package/build/Components/Loaders/PT.js +103 -103
  21. package/build/Components/Loaders/PT.js.map +1 -1
  22. package/build/Components/Loaders/Vendor.js +7 -7
  23. package/build/Components/Loaders/Vendor.js.map +1 -1
  24. package/build/Components/MDUtils.js.map +1 -1
  25. package/build/Components/ObjectBrowser.d.ts +1 -0
  26. package/build/Components/ObjectBrowser.js +6 -0
  27. package/build/Components/ObjectBrowser.js.map +1 -1
  28. package/build/Components/Router.js.map +1 -1
  29. package/build/Components/SaveCloseButtons.js.map +1 -1
  30. package/build/Components/SimpleCron/cronText.js.map +1 -1
  31. package/build/Components/SimpleCron/index.js.map +1 -1
  32. package/build/Components/TabContainer.js.map +1 -1
  33. package/build/Components/TabContent.js.map +1 -1
  34. package/build/Components/TabHeader.js.map +1 -1
  35. package/build/Components/TableResize.js.map +1 -1
  36. package/build/Components/TreeTable.js.map +1 -1
  37. package/build/Components/UploadImage.js +305 -305
  38. package/build/Components/UploadImage.js.map +1 -1
  39. package/build/Components/Utils.d.ts +14 -0
  40. package/build/Components/Utils.js +154 -0
  41. package/build/Components/Utils.js.map +1 -1
  42. package/build/Connection.js.map +1 -1
  43. package/build/Dialogs/ComplexCron.js.map +1 -1
  44. package/build/Dialogs/Confirm.js.map +1 -1
  45. package/build/Dialogs/Cron.js.map +1 -1
  46. package/build/Dialogs/Error.js.map +1 -1
  47. package/build/Dialogs/Message.js.map +1 -1
  48. package/build/Dialogs/SimpleCron.js.map +1 -1
  49. package/build/Dialogs/TextInput.js.map +1 -1
  50. package/build/Prompt.js +7 -7
  51. package/build/Prompt.js.map +1 -1
  52. package/build/Theme.js +32 -0
  53. package/build/Theme.js.map +1 -1
  54. package/build/dictionary.js.map +1 -1
  55. package/build/i18n.js.map +1 -1
  56. package/build/index.css +56 -56
  57. package/build/index.d.ts +1 -0
  58. package/build/index.js +1 -0
  59. package/build/index.js.map +1 -1
  60. package/build/types.d.ts +1 -1
  61. package/index.css +56 -56
  62. package/package.json +6 -6
  63. package/tasksExample.js +91 -91
@@ -6,311 +6,311 @@ import { Close as IconClose, Crop as CropIcon, UploadFileOutlined as UploadIcon
6
6
  import { I18n } from '../i18n';
7
7
  import { Icon } from './Icon';
8
8
  // import 'cropperjs/dist/cropper.css';
9
- const cropperStyles = `
10
- /*!
11
- * Cropper.js v1.5.12
12
- * https://fengyuanchen.github.io/cropperjs
13
- *
14
- * Copyright 2015-present Chen Fengyuan
15
- * Released under the MIT license
16
- *
17
- * Date: 2021-06-12T08:00:11.623Z
18
- */
19
-
20
- .cropper-container {
21
- direction: ltr;
22
- font-size: 0;
23
- line-height: 0;
24
- position: relative;
25
- -ms-touch-action: none;
26
- touch-action: none;
27
- -webkit-user-select: none;
28
- -moz-user-select: none;
29
- -ms-user-select: none;
30
- user-select: none;
31
- }
32
-
33
- .cropper-container img {
34
- display: block;
35
- height: 100%;
36
- image-orientation: 0deg;
37
- max-height: none !important;
38
- max-width: none !important;
39
- min-height: 0 !important;
40
- min-width: 0 !important;
41
- width: 100%;
42
- }
43
-
44
- .cropper-wrap-box,
45
- .cropper-canvas,
46
- .cropper-drag-box,
47
- .cropper-crop-box,
48
- .cropper-modal {
49
- bottom: 0;
50
- left: 0;
51
- position: absolute;
52
- right: 0;
53
- top: 0;
54
- }
55
-
56
- .cropper-wrap-box,
57
- .cropper-canvas {
58
- overflow: hidden;
59
- }
60
-
61
- .cropper-drag-box {
62
- background-color: #fff;
63
- opacity: 0;
64
- }
65
-
66
- .cropper-modal {
67
- background-color: #000;
68
- opacity: 0.5;
69
- }
70
-
71
- .cropper-view-box {
72
- display: block;
73
- height: 100%;
74
- outline: 1px solid #39f;
75
- outline-color: rgba(51, 153, 255, 0.75);
76
- overflow: hidden;
77
- width: 100%;
78
- }
79
-
80
- .cropper-dashed {
81
- border: 0 dashed #eee;
82
- display: block;
83
- opacity: 0.5;
84
- position: absolute;
85
- }
86
-
87
- .cropper-dashed.dashed-h {
88
- border-bottom-width: 1px;
89
- border-top-width: 1px;
90
- height: calc(100% / 3);
91
- left: 0;
92
- top: calc(100% / 3);
93
- width: 100%;
94
- }
95
-
96
- .cropper-dashed.dashed-v {
97
- border-left-width: 1px;
98
- border-right-width: 1px;
99
- height: 100%;
100
- left: calc(100% / 3);
101
- top: 0;
102
- width: calc(100% / 3);
103
- }
104
-
105
- .cropper-center {
106
- display: block;
107
- height: 0;
108
- left: 50%;
109
- opacity: 0.75;
110
- position: absolute;
111
- top: 50%;
112
- width: 0;
113
- }
114
-
115
- .cropper-center::before,
116
- .cropper-center::after {
117
- background-color: #eee;
118
- content: ' ';
119
- display: block;
120
- position: absolute;
121
- }
122
-
123
- .cropper-center::before {
124
- height: 1px;
125
- left: -3px;
126
- top: 0;
127
- width: 7px;
128
- }
129
-
130
- .cropper-center::after {
131
- height: 7px;
132
- left: 0;
133
- top: -3px;
134
- width: 1px;
135
- }
136
-
137
- .cropper-face,
138
- .cropper-line,
139
- .cropper-point {
140
- display: block;
141
- height: 100%;
142
- opacity: 0.1;
143
- position: absolute;
144
- width: 100%;
145
- }
146
-
147
- .cropper-face {
148
- background-color: #fff;
149
- left: 0;
150
- top: 0;
151
- }
152
-
153
- .cropper-line {
154
- background-color: #39f;
155
- }
156
-
157
- .cropper-line.line-e {
158
- cursor: ew-resize;
159
- right: -3px;
160
- top: 0;
161
- width: 5px;
162
- }
163
-
164
- .cropper-line.line-n {
165
- cursor: ns-resize;
166
- height: 5px;
167
- left: 0;
168
- top: -3px;
169
- }
170
-
171
- .cropper-line.line-w {
172
- cursor: ew-resize;
173
- left: -3px;
174
- top: 0;
175
- width: 5px;
176
- }
177
-
178
- .cropper-line.line-s {
179
- bottom: -3px;
180
- cursor: ns-resize;
181
- height: 5px;
182
- left: 0;
183
- }
184
-
185
- .cropper-point {
186
- background-color: #39f;
187
- height: 5px;
188
- opacity: 0.75;
189
- width: 5px;
190
- }
191
-
192
- .cropper-point.point-e {
193
- cursor: ew-resize;
194
- margin-top: -3px;
195
- right: -3px;
196
- top: 50%;
197
- }
198
-
199
- .cropper-point.point-n {
200
- cursor: ns-resize;
201
- left: 50%;
202
- margin-left: -3px;
203
- top: -3px;
204
- }
205
-
206
- .cropper-point.point-w {
207
- cursor: ew-resize;
208
- left: -3px;
209
- margin-top: -3px;
210
- top: 50%;
211
- }
212
-
213
- .cropper-point.point-s {
214
- bottom: -3px;
215
- cursor: s-resize;
216
- left: 50%;
217
- margin-left: -3px;
218
- }
219
-
220
- .cropper-point.point-ne {
221
- cursor: nesw-resize;
222
- right: -3px;
223
- top: -3px;
224
- }
225
-
226
- .cropper-point.point-nw {
227
- cursor: nwse-resize;
228
- left: -3px;
229
- top: -3px;
230
- }
231
-
232
- .cropper-point.point-sw {
233
- bottom: -3px;
234
- cursor: nesw-resize;
235
- left: -3px;
236
- }
237
-
238
- .cropper-point.point-se {
239
- bottom: -3px;
240
- cursor: nwse-resize;
241
- height: 20px;
242
- opacity: 1;
243
- right: -3px;
244
- width: 20px;
245
- }
246
-
247
- @media (min-width: 768px) {
248
- .cropper-point.point-se {
249
- height: 15px;
250
- width: 15px;
251
- }
252
- }
253
-
254
- @media (min-width: 992px) {
255
- .cropper-point.point-se {
256
- height: 10px;
257
- width: 10px;
258
- }
259
- }
260
-
261
- @media (min-width: 1200px) {
262
- .cropper-point.point-se {
263
- height: 5px;
264
- opacity: 0.75;
265
- width: 5px;
266
- }
267
- }
268
-
269
- .cropper-point.point-se::before {
270
- background-color: #39f;
271
- bottom: -50%;
272
- content: ' ';
273
- display: block;
274
- height: 200%;
275
- opacity: 0;
276
- position: absolute;
277
- right: -50%;
278
- width: 200%;
279
- }
280
-
281
- .cropper-invisible {
282
- opacity: 0;
283
- }
284
-
285
- .cropper-bg {
286
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
287
- }
288
-
289
- .cropper-hide {
290
- display: block;
291
- height: 0;
292
- position: absolute;
293
- width: 0;
294
- }
295
-
296
- .cropper-hidden {
297
- display: none !important;
298
- }
299
-
300
- .cropper-move {
301
- cursor: move;
302
- }
303
-
304
- .cropper-crop {
305
- cursor: crosshair;
306
- }
307
-
308
- .cropper-disabled .cropper-drag-box,
309
- .cropper-disabled .cropper-face,
310
- .cropper-disabled .cropper-line,
311
- .cropper-disabled .cropper-point {
312
- cursor: not-allowed;
313
- }
9
+ const cropperStyles = `
10
+ /*!
11
+ * Cropper.js v1.5.12
12
+ * https://fengyuanchen.github.io/cropperjs
13
+ *
14
+ * Copyright 2015-present Chen Fengyuan
15
+ * Released under the MIT license
16
+ *
17
+ * Date: 2021-06-12T08:00:11.623Z
18
+ */
19
+
20
+ .cropper-container {
21
+ direction: ltr;
22
+ font-size: 0;
23
+ line-height: 0;
24
+ position: relative;
25
+ -ms-touch-action: none;
26
+ touch-action: none;
27
+ -webkit-user-select: none;
28
+ -moz-user-select: none;
29
+ -ms-user-select: none;
30
+ user-select: none;
31
+ }
32
+
33
+ .cropper-container img {
34
+ display: block;
35
+ height: 100%;
36
+ image-orientation: 0deg;
37
+ max-height: none !important;
38
+ max-width: none !important;
39
+ min-height: 0 !important;
40
+ min-width: 0 !important;
41
+ width: 100%;
42
+ }
43
+
44
+ .cropper-wrap-box,
45
+ .cropper-canvas,
46
+ .cropper-drag-box,
47
+ .cropper-crop-box,
48
+ .cropper-modal {
49
+ bottom: 0;
50
+ left: 0;
51
+ position: absolute;
52
+ right: 0;
53
+ top: 0;
54
+ }
55
+
56
+ .cropper-wrap-box,
57
+ .cropper-canvas {
58
+ overflow: hidden;
59
+ }
60
+
61
+ .cropper-drag-box {
62
+ background-color: #fff;
63
+ opacity: 0;
64
+ }
65
+
66
+ .cropper-modal {
67
+ background-color: #000;
68
+ opacity: 0.5;
69
+ }
70
+
71
+ .cropper-view-box {
72
+ display: block;
73
+ height: 100%;
74
+ outline: 1px solid #39f;
75
+ outline-color: rgba(51, 153, 255, 0.75);
76
+ overflow: hidden;
77
+ width: 100%;
78
+ }
79
+
80
+ .cropper-dashed {
81
+ border: 0 dashed #eee;
82
+ display: block;
83
+ opacity: 0.5;
84
+ position: absolute;
85
+ }
86
+
87
+ .cropper-dashed.dashed-h {
88
+ border-bottom-width: 1px;
89
+ border-top-width: 1px;
90
+ height: calc(100% / 3);
91
+ left: 0;
92
+ top: calc(100% / 3);
93
+ width: 100%;
94
+ }
95
+
96
+ .cropper-dashed.dashed-v {
97
+ border-left-width: 1px;
98
+ border-right-width: 1px;
99
+ height: 100%;
100
+ left: calc(100% / 3);
101
+ top: 0;
102
+ width: calc(100% / 3);
103
+ }
104
+
105
+ .cropper-center {
106
+ display: block;
107
+ height: 0;
108
+ left: 50%;
109
+ opacity: 0.75;
110
+ position: absolute;
111
+ top: 50%;
112
+ width: 0;
113
+ }
114
+
115
+ .cropper-center::before,
116
+ .cropper-center::after {
117
+ background-color: #eee;
118
+ content: ' ';
119
+ display: block;
120
+ position: absolute;
121
+ }
122
+
123
+ .cropper-center::before {
124
+ height: 1px;
125
+ left: -3px;
126
+ top: 0;
127
+ width: 7px;
128
+ }
129
+
130
+ .cropper-center::after {
131
+ height: 7px;
132
+ left: 0;
133
+ top: -3px;
134
+ width: 1px;
135
+ }
136
+
137
+ .cropper-face,
138
+ .cropper-line,
139
+ .cropper-point {
140
+ display: block;
141
+ height: 100%;
142
+ opacity: 0.1;
143
+ position: absolute;
144
+ width: 100%;
145
+ }
146
+
147
+ .cropper-face {
148
+ background-color: #fff;
149
+ left: 0;
150
+ top: 0;
151
+ }
152
+
153
+ .cropper-line {
154
+ background-color: #39f;
155
+ }
156
+
157
+ .cropper-line.line-e {
158
+ cursor: ew-resize;
159
+ right: -3px;
160
+ top: 0;
161
+ width: 5px;
162
+ }
163
+
164
+ .cropper-line.line-n {
165
+ cursor: ns-resize;
166
+ height: 5px;
167
+ left: 0;
168
+ top: -3px;
169
+ }
170
+
171
+ .cropper-line.line-w {
172
+ cursor: ew-resize;
173
+ left: -3px;
174
+ top: 0;
175
+ width: 5px;
176
+ }
177
+
178
+ .cropper-line.line-s {
179
+ bottom: -3px;
180
+ cursor: ns-resize;
181
+ height: 5px;
182
+ left: 0;
183
+ }
184
+
185
+ .cropper-point {
186
+ background-color: #39f;
187
+ height: 5px;
188
+ opacity: 0.75;
189
+ width: 5px;
190
+ }
191
+
192
+ .cropper-point.point-e {
193
+ cursor: ew-resize;
194
+ margin-top: -3px;
195
+ right: -3px;
196
+ top: 50%;
197
+ }
198
+
199
+ .cropper-point.point-n {
200
+ cursor: ns-resize;
201
+ left: 50%;
202
+ margin-left: -3px;
203
+ top: -3px;
204
+ }
205
+
206
+ .cropper-point.point-w {
207
+ cursor: ew-resize;
208
+ left: -3px;
209
+ margin-top: -3px;
210
+ top: 50%;
211
+ }
212
+
213
+ .cropper-point.point-s {
214
+ bottom: -3px;
215
+ cursor: s-resize;
216
+ left: 50%;
217
+ margin-left: -3px;
218
+ }
219
+
220
+ .cropper-point.point-ne {
221
+ cursor: nesw-resize;
222
+ right: -3px;
223
+ top: -3px;
224
+ }
225
+
226
+ .cropper-point.point-nw {
227
+ cursor: nwse-resize;
228
+ left: -3px;
229
+ top: -3px;
230
+ }
231
+
232
+ .cropper-point.point-sw {
233
+ bottom: -3px;
234
+ cursor: nesw-resize;
235
+ left: -3px;
236
+ }
237
+
238
+ .cropper-point.point-se {
239
+ bottom: -3px;
240
+ cursor: nwse-resize;
241
+ height: 20px;
242
+ opacity: 1;
243
+ right: -3px;
244
+ width: 20px;
245
+ }
246
+
247
+ @media (min-width: 768px) {
248
+ .cropper-point.point-se {
249
+ height: 15px;
250
+ width: 15px;
251
+ }
252
+ }
253
+
254
+ @media (min-width: 992px) {
255
+ .cropper-point.point-se {
256
+ height: 10px;
257
+ width: 10px;
258
+ }
259
+ }
260
+
261
+ @media (min-width: 1200px) {
262
+ .cropper-point.point-se {
263
+ height: 5px;
264
+ opacity: 0.75;
265
+ width: 5px;
266
+ }
267
+ }
268
+
269
+ .cropper-point.point-se::before {
270
+ background-color: #39f;
271
+ bottom: -50%;
272
+ content: ' ';
273
+ display: block;
274
+ height: 200%;
275
+ opacity: 0;
276
+ position: absolute;
277
+ right: -50%;
278
+ width: 200%;
279
+ }
280
+
281
+ .cropper-invisible {
282
+ opacity: 0;
283
+ }
284
+
285
+ .cropper-bg {
286
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
287
+ }
288
+
289
+ .cropper-hide {
290
+ display: block;
291
+ height: 0;
292
+ position: absolute;
293
+ width: 0;
294
+ }
295
+
296
+ .cropper-hidden {
297
+ display: none !important;
298
+ }
299
+
300
+ .cropper-move {
301
+ cursor: move;
302
+ }
303
+
304
+ .cropper-crop {
305
+ cursor: crosshair;
306
+ }
307
+
308
+ .cropper-disabled .cropper-drag-box,
309
+ .cropper-disabled .cropper-face,
310
+ .cropper-disabled .cropper-line,
311
+ .cropper-disabled .cropper-point {
312
+ cursor: not-allowed;
313
+ }
314
314
  `;
315
315
  const styles = {
316
316
  dropZone: {