@iobroker/adapter-react-v5 7.4.21 → 7.5.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/LICENSE +22 -22
- package/build/AdminConnection.js.map +1 -1
- package/build/Components/404.js +13 -13
- package/build/Components/404.js.map +1 -1
- package/build/Components/ColorPicker.js.map +1 -1
- package/build/Components/ComplexCron.js.map +1 -1
- package/build/Components/CopyToClipboard.js.map +1 -1
- package/build/Components/CustomModal.js.map +1 -1
- package/build/Components/FileBrowser.js +1 -1
- package/build/Components/FileBrowser.js.map +1 -1
- package/build/Components/FileViewer.js.map +1 -1
- package/build/Components/Icon.js.map +1 -1
- package/build/Components/IconPicker.js.map +1 -1
- package/build/Components/IconSelector.js.map +1 -1
- package/build/Components/IobUri.js.map +1 -1
- package/build/Components/Loader.js +223 -223
- package/build/Components/Loader.js.map +1 -1
- package/build/Components/Loaders/MV.js.map +1 -1
- package/build/Components/Loaders/PT.js +103 -103
- package/build/Components/Loaders/PT.js.map +1 -1
- package/build/Components/Loaders/Vendor.js +7 -7
- package/build/Components/Loaders/Vendor.js.map +1 -1
- package/build/Components/MDUtils.js.map +1 -1
- package/build/Components/ObjectBrowser.d.ts +11 -0
- package/build/Components/ObjectBrowser.js +172 -11
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/Components/Router.js.map +1 -1
- package/build/Components/SaveCloseButtons.js.map +1 -1
- package/build/Components/Schedule.js.map +1 -1
- package/build/Components/SelectWithIcon.js.map +1 -1
- package/build/Components/SimpleCron/cronText.js.map +1 -1
- package/build/Components/SimpleCron/index.js.map +1 -1
- package/build/Components/TabContainer.js.map +1 -1
- package/build/Components/TabContent.js.map +1 -1
- package/build/Components/TabHeader.js.map +1 -1
- package/build/Components/TableResize.js.map +1 -1
- package/build/Components/TextWithIcon.js.map +1 -1
- package/build/Components/ToggleThemeMenu.js.map +1 -1
- package/build/Components/TreeTable.js.map +1 -1
- package/build/Components/UploadImage.js +305 -305
- package/build/Components/UploadImage.js.map +1 -1
- package/build/Components/withWidth.js.map +1 -1
- package/build/Connection.js.map +1 -1
- package/build/Dialogs/ComplexCron.js.map +1 -1
- package/build/Dialogs/Confirm.js.map +1 -1
- package/build/Dialogs/Cron.js.map +1 -1
- package/build/Dialogs/Error.js.map +1 -1
- package/build/Dialogs/Message.js.map +1 -1
- package/build/Dialogs/SelectFile.js.map +1 -1
- package/build/Dialogs/SimpleCron.js.map +1 -1
- package/build/Dialogs/TextInput.d.ts +1 -1
- package/build/Dialogs/TextInput.js.map +1 -1
- package/build/GenericApp.js.map +1 -1
- package/build/LegacyConnection.d.ts +4 -46
- package/build/LegacyConnection.js.map +1 -1
- package/build/Prompt.js +7 -7
- package/build/Prompt.js.map +1 -1
- package/build/Theme.js +6 -6
- package/build/Theme.js.map +1 -1
- package/build/assets/devices/parseNames.js.map +1 -1
- package/build/assets/devices.json +1 -1
- package/build/assets/lamp_ceiling.svg +8 -8
- package/build/assets/lamp_table.svg +7 -7
- package/build/assets/no_icon.svg +9 -9
- package/build/assets/rooms/parseNames.js.map +1 -1
- package/build/assets/rooms.json +1 -1
- package/build/dictionary.js.map +1 -1
- package/build/i18n/de.json +11 -0
- package/build/i18n/en.json +11 -0
- package/build/i18n/es.json +11 -0
- package/build/i18n/fr.json +11 -0
- package/build/i18n/it.json +11 -0
- package/build/i18n/nl.json +11 -0
- package/build/i18n/pl.json +11 -0
- package/build/i18n/pt.json +11 -0
- package/build/i18n/ru.json +11 -0
- package/build/i18n/uk.json +11 -0
- package/build/i18n/zh-cn.json +11 -0
- package/build/i18n.js.map +1 -1
- package/build/icons/IconAdapter.js.map +1 -1
- package/build/icons/IconAlias.js.map +1 -1
- package/build/icons/IconButtonImage.js.map +1 -1
- package/build/icons/IconChannel.js.map +1 -1
- package/build/icons/IconClearFilter.js.map +1 -1
- package/build/icons/IconClosed.js.map +1 -1
- package/build/icons/IconCopy.js.map +1 -1
- package/build/icons/IconDevice.js.map +1 -1
- package/build/icons/IconDocument.js.map +1 -1
- package/build/icons/IconDocumentReadOnly.js.map +1 -1
- package/build/icons/IconExpert.js.map +1 -1
- package/build/icons/IconFx.js +1 -1
- package/build/icons/IconFx.js.map +1 -1
- package/build/icons/IconInstance.js.map +1 -1
- package/build/icons/IconLogout.js +1 -1
- package/build/icons/IconLogout.js.map +1 -1
- package/build/icons/IconNoIcon.js.map +1 -1
- package/build/icons/IconOpen.js.map +1 -1
- package/build/icons/IconProps.js.map +1 -1
- package/build/icons/IconState.js.map +1 -1
- package/build/icons/IconVacuum.js.map +1 -1
- package/build/index.css +56 -56
- package/build/index.js.map +1 -1
- package/craco-module-federation.js +62 -62
- package/i18n/de.json +11 -0
- package/i18n/en.json +11 -0
- package/i18n/es.json +11 -0
- package/i18n/fr.json +11 -0
- package/i18n/it.json +11 -0
- package/i18n/nl.json +11 -0
- package/i18n/pl.json +11 -0
- package/i18n/pt.json +11 -0
- package/i18n/ru.json +11 -0
- package/i18n/uk.json +11 -0
- package/i18n/zh-cn.json +11 -0
- package/index.css +56 -56
- package/modulefederation.admin.config.js +33 -33
- package/package.json +14 -15
- 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: {
|