@ntlab/ntjs-assets 2.0.3 → 2.0.4

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.
@@ -1,179 +1,146 @@
1
1
  /*!
2
- * Cropper v2.3.2
3
- * https://github.com/fengyuanchen/cropper
2
+ * Cropper.js v1.5.13
3
+ * https://fengyuanchen.github.io/cropperjs
4
4
  *
5
- * Copyright (c) 2014-2016 Fengyuan Chen and contributors
5
+ * Copyright 2015-present Chen Fengyuan
6
6
  * Released under the MIT license
7
7
  *
8
- * Date: 2016-06-08T12:14:46.286Z
8
+ * Date: 2022-11-20T05:30:43.444Z
9
9
  */
10
+
10
11
  .cropper-container {
12
+ direction: ltr;
11
13
  font-size: 0;
12
14
  line-height: 0;
13
-
14
15
  position: relative;
15
-
16
+ -ms-touch-action: none;
17
+ touch-action: none;
16
18
  -webkit-user-select: none;
17
19
  -moz-user-select: none;
18
20
  -ms-user-select: none;
19
21
  user-select: none;
20
-
21
- direction: ltr !important;
22
- -ms-touch-action: none;
23
- touch-action: none;
24
- -webkit-tap-highlight-color: transparent;
25
- -webkit-touch-callout: none;
26
22
  }
27
23
 
28
24
  .cropper-container img {
29
- display: block;
30
-
31
- width: 100%;
32
- min-width: 0 !important;
33
- max-width: none !important;
34
- height: 100%;
35
- min-height: 0 !important;
36
- max-height: none !important;
37
-
38
- image-orientation: 0deg !important;
39
- }
25
+ -webkit-backface-visibility: hidden;
26
+ backface-visibility: hidden;
27
+ display: block;
28
+ height: 100%;
29
+ image-orientation: 0deg;
30
+ max-height: none !important;
31
+ max-width: none !important;
32
+ min-height: 0 !important;
33
+ min-width: 0 !important;
34
+ width: 100%;
35
+ }
40
36
 
41
37
  .cropper-wrap-box,
42
38
  .cropper-canvas,
43
39
  .cropper-drag-box,
44
40
  .cropper-crop-box,
45
41
  .cropper-modal {
46
- position: absolute;
47
- top: 0;
48
- right: 0;
49
42
  bottom: 0;
50
43
  left: 0;
44
+ position: absolute;
45
+ right: 0;
46
+ top: 0;
51
47
  }
52
48
 
53
- .cropper-wrap-box {
49
+ .cropper-wrap-box,
50
+ .cropper-canvas {
54
51
  overflow: hidden;
55
52
  }
56
53
 
57
54
  .cropper-drag-box {
58
- opacity: 0;
59
55
  background-color: #fff;
60
-
61
- filter: alpha(opacity=0);
56
+ opacity: 0;
62
57
  }
63
58
 
64
59
  .cropper-modal {
65
- opacity: .5;
66
60
  background-color: #000;
67
-
68
- filter: alpha(opacity=50);
61
+ opacity: 0.5;
69
62
  }
70
63
 
71
64
  .cropper-view-box {
72
65
  display: block;
73
- overflow: hidden;
74
-
75
- width: 100%;
76
66
  height: 100%;
77
-
78
67
  outline: 1px solid #39f;
79
- outline-color: rgba(51, 153, 255, .75);
68
+ outline-color: rgba(51, 153, 255, 75%);
69
+ overflow: hidden;
70
+ width: 100%;
80
71
  }
81
72
 
82
73
  .cropper-dashed {
83
- position: absolute;
84
-
85
- display: block;
86
-
87
- opacity: .5;
88
74
  border: 0 dashed #eee;
89
-
90
- filter: alpha(opacity=50);
75
+ display: block;
76
+ opacity: 0.5;
77
+ position: absolute;
91
78
  }
92
79
 
93
80
  .cropper-dashed.dashed-h {
94
- top: 33.33333%;
95
- left: 0;
96
-
97
- width: 100%;
98
- height: 33.33333%;
99
-
100
- border-top-width: 1px;
101
- border-bottom-width: 1px;
102
- }
81
+ border-bottom-width: 1px;
82
+ border-top-width: 1px;
83
+ height: calc(100% / 3);
84
+ left: 0;
85
+ top: calc(100% / 3);
86
+ width: 100%;
87
+ }
103
88
 
104
89
  .cropper-dashed.dashed-v {
105
- top: 0;
106
- left: 33.33333%;
107
-
108
- width: 33.33333%;
109
- height: 100%;
110
-
111
- border-right-width: 1px;
112
- border-left-width: 1px;
113
- }
90
+ border-left-width: 1px;
91
+ border-right-width: 1px;
92
+ height: 100%;
93
+ left: calc(100% / 3);
94
+ top: 0;
95
+ width: calc(100% / 3);
96
+ }
114
97
 
115
98
  .cropper-center {
116
- position: absolute;
117
- top: 50%;
118
- left: 50%;
119
-
120
99
  display: block;
121
-
122
- width: 0;
123
100
  height: 0;
124
-
125
- opacity: .75;
126
-
127
- filter: alpha(opacity=75);
128
- }
129
-
130
- .cropper-center:before,
131
- .cropper-center:after {
101
+ left: 50%;
102
+ opacity: 0.75;
132
103
  position: absolute;
133
-
134
- display: block;
135
-
136
- content: ' ';
137
-
138
- background-color: #eee;
104
+ top: 50%;
105
+ width: 0;
139
106
  }
140
107
 
141
- .cropper-center:before {
142
- top: 0;
143
- left: -3px;
144
-
145
- width: 7px;
146
- height: 1px;
147
- }
108
+ .cropper-center::before,
109
+ .cropper-center::after {
110
+ background-color: #eee;
111
+ content: " ";
112
+ display: block;
113
+ position: absolute;
114
+ }
148
115
 
149
- .cropper-center:after {
150
- top: -3px;
151
- left: 0;
116
+ .cropper-center::before {
117
+ height: 1px;
118
+ left: -3px;
119
+ top: 0;
120
+ width: 7px;
121
+ }
152
122
 
153
- width: 1px;
154
- height: 7px;
155
- }
123
+ .cropper-center::after {
124
+ height: 7px;
125
+ left: 0;
126
+ top: -3px;
127
+ width: 1px;
128
+ }
156
129
 
157
130
  .cropper-face,
158
131
  .cropper-line,
159
132
  .cropper-point {
160
- position: absolute;
161
-
162
133
  display: block;
163
-
164
- width: 100%;
165
134
  height: 100%;
166
-
167
- opacity: .1;
168
-
169
- filter: alpha(opacity=10);
135
+ opacity: 0.1;
136
+ position: absolute;
137
+ width: 100%;
170
138
  }
171
139
 
172
140
  .cropper-face {
173
- top: 0;
174
- left: 0;
175
-
176
141
  background-color: #fff;
142
+ left: 0;
143
+ top: 0;
177
144
  }
178
145
 
179
146
  .cropper-line {
@@ -181,182 +148,145 @@
181
148
  }
182
149
 
183
150
  .cropper-line.line-e {
184
- top: 0;
185
- right: -3px;
186
-
187
- width: 5px;
188
-
189
- cursor: e-resize;
190
- }
151
+ cursor: ew-resize;
152
+ right: -3px;
153
+ top: 0;
154
+ width: 5px;
155
+ }
191
156
 
192
157
  .cropper-line.line-n {
193
- top: -3px;
194
- left: 0;
195
-
196
- height: 5px;
197
-
198
- cursor: n-resize;
199
- }
158
+ cursor: ns-resize;
159
+ height: 5px;
160
+ left: 0;
161
+ top: -3px;
162
+ }
200
163
 
201
164
  .cropper-line.line-w {
202
- top: 0;
203
- left: -3px;
204
-
205
- width: 5px;
206
-
207
- cursor: w-resize;
208
- }
165
+ cursor: ew-resize;
166
+ left: -3px;
167
+ top: 0;
168
+ width: 5px;
169
+ }
209
170
 
210
171
  .cropper-line.line-s {
211
- bottom: -3px;
212
- left: 0;
213
-
214
- height: 5px;
215
-
216
- cursor: s-resize;
217
- }
172
+ bottom: -3px;
173
+ cursor: ns-resize;
174
+ height: 5px;
175
+ left: 0;
176
+ }
218
177
 
219
178
  .cropper-point {
220
- width: 5px;
221
- height: 5px;
222
-
223
- opacity: .75;
224
179
  background-color: #39f;
225
-
226
- filter: alpha(opacity=75);
180
+ height: 5px;
181
+ opacity: 0.75;
182
+ width: 5px;
227
183
  }
228
184
 
229
185
  .cropper-point.point-e {
230
- top: 50%;
231
- right: -3px;
232
-
233
- margin-top: -3px;
234
-
235
- cursor: e-resize;
236
- }
186
+ cursor: ew-resize;
187
+ margin-top: -3px;
188
+ right: -3px;
189
+ top: 50%;
190
+ }
237
191
 
238
192
  .cropper-point.point-n {
239
- top: -3px;
240
- left: 50%;
241
-
242
- margin-left: -3px;
243
-
244
- cursor: n-resize;
245
- }
193
+ cursor: ns-resize;
194
+ left: 50%;
195
+ margin-left: -3px;
196
+ top: -3px;
197
+ }
246
198
 
247
199
  .cropper-point.point-w {
248
- top: 50%;
249
- left: -3px;
250
-
251
- margin-top: -3px;
252
-
253
- cursor: w-resize;
254
- }
200
+ cursor: ew-resize;
201
+ left: -3px;
202
+ margin-top: -3px;
203
+ top: 50%;
204
+ }
255
205
 
256
206
  .cropper-point.point-s {
257
- bottom: -3px;
258
- left: 50%;
259
-
260
- margin-left: -3px;
261
-
262
- cursor: s-resize;
263
- }
207
+ bottom: -3px;
208
+ cursor: s-resize;
209
+ left: 50%;
210
+ margin-left: -3px;
211
+ }
264
212
 
265
213
  .cropper-point.point-ne {
266
- top: -3px;
267
- right: -3px;
268
-
269
- cursor: ne-resize;
270
- }
214
+ cursor: nesw-resize;
215
+ right: -3px;
216
+ top: -3px;
217
+ }
271
218
 
272
219
  .cropper-point.point-nw {
273
- top: -3px;
274
- left: -3px;
275
-
276
- cursor: nw-resize;
277
- }
220
+ cursor: nwse-resize;
221
+ left: -3px;
222
+ top: -3px;
223
+ }
278
224
 
279
225
  .cropper-point.point-sw {
280
- bottom: -3px;
281
- left: -3px;
282
-
283
- cursor: sw-resize;
284
- }
226
+ bottom: -3px;
227
+ cursor: nesw-resize;
228
+ left: -3px;
229
+ }
285
230
 
286
231
  .cropper-point.point-se {
287
- right: -3px;
288
- bottom: -3px;
289
-
290
- width: 20px;
291
- height: 20px;
292
-
293
- cursor: se-resize;
294
-
295
- opacity: 1;
296
-
297
- filter: alpha(opacity=100);
298
- }
299
-
300
- .cropper-point.point-se:before {
301
- position: absolute;
302
- right: -50%;
303
- bottom: -50%;
304
-
305
- display: block;
306
-
307
- width: 200%;
308
- height: 200%;
309
-
310
- content: ' ';
311
-
312
- opacity: 0;
313
- background-color: #39f;
314
-
315
- filter: alpha(opacity=0);
316
- }
232
+ bottom: -3px;
233
+ cursor: nwse-resize;
234
+ height: 20px;
235
+ opacity: 1;
236
+ right: -3px;
237
+ width: 20px;
238
+ }
317
239
 
318
240
  @media (min-width: 768px) {
319
- .cropper-point.point-se {
320
- width: 15px;
321
- height: 15px;
241
+
242
+ .cropper-point.point-se {
243
+ height: 15px;
244
+ width: 15px;
322
245
  }
323
- }
246
+ }
324
247
 
325
248
  @media (min-width: 992px) {
326
- .cropper-point.point-se {
327
- width: 10px;
328
- height: 10px;
249
+
250
+ .cropper-point.point-se {
251
+ height: 10px;
252
+ width: 10px;
329
253
  }
330
- }
254
+ }
331
255
 
332
256
  @media (min-width: 1200px) {
333
- .cropper-point.point-se {
334
- width: 5px;
335
- height: 5px;
336
257
 
337
- opacity: .75;
338
-
339
- filter: alpha(opacity=75);
258
+ .cropper-point.point-se {
259
+ height: 5px;
260
+ opacity: 0.75;
261
+ width: 5px;
262
+ }
263
+ }
264
+
265
+ .cropper-point.point-se::before {
266
+ background-color: #39f;
267
+ bottom: -50%;
268
+ content: " ";
269
+ display: block;
270
+ height: 200%;
271
+ opacity: 0;
272
+ position: absolute;
273
+ right: -50%;
274
+ width: 200%;
340
275
  }
341
- }
342
276
 
343
277
  .cropper-invisible {
344
278
  opacity: 0;
345
-
346
- filter: alpha(opacity=0);
347
279
  }
348
280
 
349
281
  .cropper-bg {
350
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
282
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");
351
283
  }
352
284
 
353
285
  .cropper-hide {
354
- position: absolute;
355
-
356
286
  display: block;
357
-
358
- width: 0;
359
287
  height: 0;
288
+ position: absolute;
289
+ width: 0;
360
290
  }
361
291
 
362
292
  .cropper-hidden {