@syncfusion/ej2-image-editor 22.2.11 → 23.1.38
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/CHANGELOG.md +19 -0
- package/dist/ej2-image-editor.umd.min.js +3 -3
- package/dist/ej2-image-editor.umd.min.js.map +1 -1
- package/dist/es6/ej2-image-editor.es2015.js +4446 -678
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +4409 -632
- package/dist/es6/ej2-image-editor.es5.js.map +1 -1
- package/dist/global/ej2-image-editor.min.js +3 -3
- package/dist/global/ej2-image-editor.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +12 -12
- package/src/image-editor/action/crop.js +47 -30
- package/src/image-editor/action/draw.d.ts +16 -0
- package/src/image-editor/action/draw.js +827 -81
- package/src/image-editor/action/export.d.ts +3 -0
- package/src/image-editor/action/export.js +84 -20
- package/src/image-editor/action/filter.d.ts +0 -1
- package/src/image-editor/action/filter.js +28 -41
- package/src/image-editor/action/freehand-draw.d.ts +1 -0
- package/src/image-editor/action/freehand-draw.js +92 -56
- package/src/image-editor/action/selection.d.ts +6 -0
- package/src/image-editor/action/selection.js +417 -68
- package/src/image-editor/action/shape.d.ts +8 -0
- package/src/image-editor/action/shape.js +303 -91
- package/src/image-editor/action/transform.d.ts +9 -0
- package/src/image-editor/action/transform.js +402 -52
- package/src/image-editor/action/undo-redo.d.ts +1 -0
- package/src/image-editor/action/undo-redo.js +138 -10
- package/src/image-editor/base/enum.d.ts +38 -1
- package/src/image-editor/base/enum.js +39 -0
- package/src/image-editor/base/image-editor-model.d.ts +16 -2
- package/src/image-editor/base/image-editor.d.ts +142 -7
- package/src/image-editor/base/image-editor.js +719 -70
- package/src/image-editor/base/interface.d.ts +233 -2
- package/src/image-editor/renderer/toolbar.d.ts +25 -0
- package/src/image-editor/renderer/toolbar.js +1274 -72
- package/styles/bootstrap-dark.css +73 -1
- package/styles/bootstrap.css +73 -1
- package/styles/bootstrap4.css +73 -1
- package/styles/bootstrap5-dark.css +73 -1
- package/styles/bootstrap5.css +73 -1
- package/styles/fabric-dark.css +73 -1
- package/styles/fabric.css +73 -1
- package/styles/fluent-dark.css +73 -1
- package/styles/fluent.css +73 -1
- package/styles/highcontrast-light.css +75 -3
- package/styles/highcontrast.css +74 -7
- package/styles/image-editor/_bootstrap-dark-definition.scss +1 -0
- package/styles/image-editor/_bootstrap-definition.scss +1 -0
- package/styles/image-editor/_bootstrap4-definition.scss +1 -0
- package/styles/image-editor/_bootstrap5-definition.scss +1 -0
- package/styles/image-editor/_fabric-dark-definition.scss +1 -0
- package/styles/image-editor/_fabric-definition.scss +1 -0
- package/styles/image-editor/_fluent-definition.scss +1 -0
- package/styles/image-editor/_fusionnew-definition.scss +1 -0
- package/styles/image-editor/_highcontrast-definition.scss +2 -1
- package/styles/image-editor/_highcontrast-light-definition.scss +2 -1
- package/styles/image-editor/_layout.scss +98 -0
- package/styles/image-editor/_material-dark-definition.scss +1 -0
- package/styles/image-editor/_material-definition.scss +1 -0
- package/styles/image-editor/_material3-definition.scss +2 -1
- package/styles/image-editor/_tailwind-definition.scss +1 -0
- package/styles/image-editor/_theme.scss +4 -2
- package/styles/image-editor/bootstrap-dark.css +73 -1
- package/styles/image-editor/bootstrap-dark.scss +1 -1
- package/styles/image-editor/bootstrap.css +73 -1
- package/styles/image-editor/bootstrap.scss +1 -1
- package/styles/image-editor/bootstrap4.css +73 -1
- package/styles/image-editor/bootstrap4.scss +1 -1
- package/styles/image-editor/bootstrap5-dark.css +73 -1
- package/styles/image-editor/bootstrap5-dark.scss +1 -1
- package/styles/image-editor/bootstrap5.css +73 -1
- package/styles/image-editor/bootstrap5.scss +1 -1
- package/styles/image-editor/fabric-dark.css +73 -1
- package/styles/image-editor/fabric-dark.scss +1 -1
- package/styles/image-editor/fabric.css +73 -1
- package/styles/image-editor/fabric.scss +1 -1
- package/styles/image-editor/fluent-dark.css +73 -1
- package/styles/image-editor/fluent-dark.scss +1 -1
- package/styles/image-editor/fluent.css +73 -1
- package/styles/image-editor/fluent.scss +1 -1
- package/styles/image-editor/highcontrast-light.css +75 -3
- package/styles/image-editor/highcontrast-light.scss +1 -1
- package/styles/image-editor/highcontrast.css +74 -7
- package/styles/image-editor/highcontrast.scss +1 -1
- package/styles/image-editor/icons/_bootstrap-dark.scss +1 -0
- package/styles/image-editor/icons/_bootstrap.scss +1 -0
- package/styles/image-editor/icons/_bootstrap4.scss +1 -0
- package/styles/image-editor/icons/_bootstrap5.scss +1 -0
- package/styles/image-editor/icons/_fabric-dark.scss +1 -0
- package/styles/image-editor/icons/_fabric.scss +1 -0
- package/styles/image-editor/icons/_fluent.scss +1 -0
- package/styles/image-editor/icons/_fusionnew.scss +1 -0
- package/styles/image-editor/icons/_highcontrast-light.scss +1 -0
- package/styles/image-editor/icons/_highcontrast.scss +1 -0
- package/styles/image-editor/icons/_material-dark.scss +1 -0
- package/styles/image-editor/icons/_material.scss +1 -0
- package/styles/image-editor/icons/_material3.scss +1 -0
- package/styles/image-editor/icons/_tailwind.scss +1 -0
- package/styles/image-editor/material-dark.css +73 -2
- package/styles/image-editor/material-dark.scss +1 -1
- package/styles/image-editor/material.css +73 -2
- package/styles/image-editor/material.scss +1 -1
- package/styles/image-editor/material3-dark.css +78 -4
- package/styles/image-editor/material3-dark.scss +1 -1
- package/styles/image-editor/material3.css +78 -4
- package/styles/image-editor/material3.scss +1 -1
- package/styles/image-editor/tailwind-dark.css +73 -2
- package/styles/image-editor/tailwind-dark.scss +1 -1
- package/styles/image-editor/tailwind.css +73 -2
- package/styles/image-editor/tailwind.scss +1 -1
- package/styles/material-dark.css +73 -2
- package/styles/material.css +73 -2
- package/styles/material3-dark.css +78 -4
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +78 -4
- package/styles/material3.scss +1 -1
- package/styles/tailwind-dark.css +73 -2
- package/styles/tailwind.css +73 -2
|
@@ -29,6 +29,17 @@
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
& .e-toolbar-items {
|
|
33
|
+
& .e-toolbar-item {
|
|
34
|
+
&.e-ie-resize-height span {
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.e-ie-resize-width span {
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
32
43
|
& .e-toolbar-items {
|
|
33
44
|
& .e-toolbar-item {
|
|
34
45
|
& .e-tbar-btn.e-btn.e-tbtn-txt {
|
|
@@ -107,6 +118,52 @@
|
|
|
107
118
|
position: relative;
|
|
108
119
|
display: block;
|
|
109
120
|
|
|
121
|
+
& .e-quick-access-toolbar-area .e-toolbar {
|
|
122
|
+
@if $skin-name == 'Material3' {
|
|
123
|
+
border-radius: 4px;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
& .e-ie-drop-area {
|
|
128
|
+
height: calc(100% - 18px);
|
|
129
|
+
width: calc(100% - 20px);
|
|
130
|
+
border: $image-editor-drop-border;
|
|
131
|
+
border-radius: 10px;
|
|
132
|
+
margin: 10px;
|
|
133
|
+
|
|
134
|
+
& .e-upload {
|
|
135
|
+
display: none;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
& .e-image::before {
|
|
139
|
+
font-size: 50px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
& .e-ie-drop-icon {
|
|
143
|
+
top: calc(50% - 60px);
|
|
144
|
+
left: calc(50% - 25px);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
& .e-ie-drop-content {
|
|
148
|
+
top: 50%;
|
|
149
|
+
left: calc(50% - 160px);
|
|
150
|
+
font-size: 14px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
& .e-ie-drop-info {
|
|
154
|
+
top: calc(50% + 40px);
|
|
155
|
+
left: calc(50% - 100px);
|
|
156
|
+
position: absolute;
|
|
157
|
+
font-size: 14px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
& .e-ie-min-drop-content {
|
|
161
|
+
left: calc(50% - 120px);
|
|
162
|
+
top: 50%;
|
|
163
|
+
font-size: 14px;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
110
167
|
& .e-toolbar {
|
|
111
168
|
border: none;
|
|
112
169
|
@if $skin-name != 'Material3' {
|
|
@@ -115,6 +172,15 @@
|
|
|
115
172
|
}
|
|
116
173
|
& .e-toolbar-items {
|
|
117
174
|
& .e-toolbar-item {
|
|
175
|
+
&.e-ie-resize-height {
|
|
176
|
+
margin-left: 20px;
|
|
177
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&.e-ie-resize-width {
|
|
181
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
182
|
+
}
|
|
183
|
+
|
|
118
184
|
& .e-tbar-btn.e-btn.e-tbtn-txt {
|
|
119
185
|
.e-icons.e-btn-icon {
|
|
120
186
|
@if $skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'boostrap4' {
|
|
@@ -241,6 +307,38 @@
|
|
|
241
307
|
}
|
|
242
308
|
}
|
|
243
309
|
|
|
310
|
+
& .e-frame-wrapper {
|
|
311
|
+
& .e-toolbar {
|
|
312
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
& .e-toolbar-item {
|
|
316
|
+
display: inline-grid;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
& .e-toolbar-item > span{
|
|
320
|
+
font-weight: 500;
|
|
321
|
+
margin: 4px;
|
|
322
|
+
text-align: center;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
&.e-frame-wrapper {
|
|
327
|
+
& .e-toolbar {
|
|
328
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
& .e-toolbar-item:not(.e-hidden) {
|
|
332
|
+
display: inline-grid;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
& .e-toolbar-item > span{
|
|
336
|
+
font-weight: 500;
|
|
337
|
+
margin: 4px;
|
|
338
|
+
text-align: center;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
244
342
|
&.e-hide {
|
|
245
343
|
display: none;
|
|
246
344
|
}
|
|
@@ -9,3 +9,4 @@ $image-editor-bigger-tbar-height: 48px !default;
|
|
|
9
9
|
$image-editor-tbar-btn-fontsize: 16px !default;
|
|
10
10
|
$image-editor-bigger-tbar-btn-fontsize: 18px !default;
|
|
11
11
|
$image-editor-contextual-toolbar: $grey-900 !default;
|
|
12
|
+
$image-editor-drop-border: 2px dashed $grey-dark-font !default;
|
|
@@ -2,10 +2,11 @@ $image-editor-border: 1px solid rgba($border-light) !default;
|
|
|
2
2
|
$image-editor-background: $content-bg-color-alt5 !default;
|
|
3
3
|
$image-editor-toolbar-icon-color: rgba($icon-color);
|
|
4
4
|
$img-editor-cp-preview-border-bottom-color: rgba($black) !default;
|
|
5
|
-
$image-editor-icon-sel-bg-color: $content-bg-color-
|
|
5
|
+
$image-editor-icon-sel-bg-color: $content-bg-color-alt6 !default;
|
|
6
6
|
$image-editor-ddbtn-margin-top: 0 !default;
|
|
7
7
|
$image-editor-tbar-height: 40px !default;
|
|
8
8
|
$image-editor-bigger-tbar-height: 56px !default;
|
|
9
9
|
$image-editor-tbar-btn-fontsize: $text-base !default;
|
|
10
10
|
$image-editor-bigger-tbar-btn-fontsize: $text-lg !default;
|
|
11
11
|
$image-editor-contextual-toolbar: $content-bg-color-alt2 !default;
|
|
12
|
+
$image-editor-drop-border: 2px dashed rgba($icon-color);
|
|
@@ -9,3 +9,4 @@ $image-editor-bigger-tbar-height: 48px !default;
|
|
|
9
9
|
$image-editor-tbar-btn-fontsize: $text-lg !default;
|
|
10
10
|
$image-editor-bigger-tbar-btn-fontsize: $text-xl !default;
|
|
11
11
|
$image-editor-contextual-toolbar: $content-bg-color-alt2 !default;
|
|
12
|
+
$image-editor-drop-border: 2px dashed $icon-color !default;
|
|
@@ -102,11 +102,13 @@
|
|
|
102
102
|
|
|
103
103
|
.e-dropdown-popup {
|
|
104
104
|
& .e-selected-btn {
|
|
105
|
-
|
|
105
|
+
@if $skin-name != 'highcontrast' {
|
|
106
|
+
background: $image-editor-icon-sel-bg-color !important; /* stylelint-disable-line declaration-no-important */
|
|
107
|
+
}
|
|
106
108
|
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5-dark' {
|
|
107
109
|
color: $secondary-text-color-focus !important; /* stylelint-disable-line declaration-no-important */
|
|
108
110
|
}
|
|
109
|
-
@if $skin-name == 'bootstrap4'
|
|
111
|
+
@if $skin-name == 'bootstrap4' {
|
|
110
112
|
color: $drop-down-btn-selected-color !important; /* stylelint-disable-line declaration-no-important */
|
|
111
113
|
}
|
|
112
114
|
}
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
.e-image-editor .e-text-font-color.e-template .e-caret::before {
|
|
62
62
|
content: "\e35f";
|
|
63
63
|
}
|
|
64
|
-
.e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
|
|
64
|
+
.e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-frame-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
|
|
65
65
|
content: "\ebc6";
|
|
66
66
|
}
|
|
67
67
|
.e-image-editor .e-fill.e-template .e-caret::before {
|
|
@@ -207,6 +207,14 @@
|
|
|
207
207
|
height: 52px !important; /* stylelint-disable-line declaration-no-important */
|
|
208
208
|
min-height: 52px !important; /* stylelint-disable-line declaration-no-important */
|
|
209
209
|
}
|
|
210
|
+
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span,
|
|
211
|
+
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span {
|
|
212
|
+
font-size: 16px;
|
|
213
|
+
}
|
|
214
|
+
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span,
|
|
215
|
+
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span {
|
|
216
|
+
font-size: 16px;
|
|
217
|
+
}
|
|
210
218
|
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon,
|
|
211
219
|
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
|
|
212
220
|
padding: 0;
|
|
@@ -258,11 +266,51 @@
|
|
|
258
266
|
position: relative;
|
|
259
267
|
display: block;
|
|
260
268
|
}
|
|
269
|
+
.e-image-editor .e-ie-drop-area {
|
|
270
|
+
height: calc(100% - 18px);
|
|
271
|
+
width: calc(100% - 20px);
|
|
272
|
+
border: 2px dashed #f0f0f0;
|
|
273
|
+
border-radius: 10px;
|
|
274
|
+
margin: 10px;
|
|
275
|
+
}
|
|
276
|
+
.e-image-editor .e-ie-drop-area .e-upload {
|
|
277
|
+
display: none;
|
|
278
|
+
}
|
|
279
|
+
.e-image-editor .e-ie-drop-area .e-image::before {
|
|
280
|
+
font-size: 50px;
|
|
281
|
+
}
|
|
282
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-icon {
|
|
283
|
+
top: calc(50% - 60px);
|
|
284
|
+
left: calc(50% - 25px);
|
|
285
|
+
}
|
|
286
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-content {
|
|
287
|
+
top: 50%;
|
|
288
|
+
left: calc(50% - 160px);
|
|
289
|
+
font-size: 14px;
|
|
290
|
+
}
|
|
291
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-info {
|
|
292
|
+
top: calc(50% + 40px);
|
|
293
|
+
left: calc(50% - 100px);
|
|
294
|
+
position: absolute;
|
|
295
|
+
font-size: 14px;
|
|
296
|
+
}
|
|
297
|
+
.e-image-editor .e-ie-drop-area .e-ie-min-drop-content {
|
|
298
|
+
left: calc(50% - 120px);
|
|
299
|
+
top: 50%;
|
|
300
|
+
font-size: 14px;
|
|
301
|
+
}
|
|
261
302
|
.e-image-editor .e-toolbar {
|
|
262
303
|
border: none;
|
|
263
304
|
height: 42px !important; /* stylelint-disable-line declaration-no-important */
|
|
264
305
|
min-height: 42px !important; /* stylelint-disable-line declaration-no-important */
|
|
265
306
|
}
|
|
307
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height {
|
|
308
|
+
margin-left: 20px;
|
|
309
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
310
|
+
}
|
|
311
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width {
|
|
312
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
313
|
+
}
|
|
266
314
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
|
|
267
315
|
padding: 0;
|
|
268
316
|
font-size: 16px;
|
|
@@ -324,6 +372,30 @@
|
|
|
324
372
|
.e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
|
|
325
373
|
height: 130px !important; /* stylelint-disable-line declaration-no-important */
|
|
326
374
|
}
|
|
375
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
|
|
376
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
377
|
+
}
|
|
378
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item {
|
|
379
|
+
display: -ms-inline-grid;
|
|
380
|
+
display: inline-grid;
|
|
381
|
+
}
|
|
382
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item > span {
|
|
383
|
+
font-weight: 500;
|
|
384
|
+
margin: 4px;
|
|
385
|
+
text-align: center;
|
|
386
|
+
}
|
|
387
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar {
|
|
388
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
389
|
+
}
|
|
390
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item:not(.e-hidden) {
|
|
391
|
+
display: -ms-inline-grid;
|
|
392
|
+
display: inline-grid;
|
|
393
|
+
}
|
|
394
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item > span {
|
|
395
|
+
font-weight: 500;
|
|
396
|
+
margin: 4px;
|
|
397
|
+
text-align: center;
|
|
398
|
+
}
|
|
327
399
|
.e-image-editor .e-contextual-toolbar-wrapper.e-hide {
|
|
328
400
|
display: none;
|
|
329
401
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import 'ej2-base/styles/bootstrap-dark
|
|
1
|
+
@import 'ej2-base/styles/definition/bootstrap-dark.scss';
|
|
2
2
|
@import 'ej2-buttons/styles/button/bootstrap-dark-definition.scss';
|
|
3
3
|
@import 'ej2-splitbuttons/styles/drop-down-button/bootstrap-dark-definition.scss';
|
|
4
4
|
@import 'ej2-inputs/styles/numerictextbox/bootstrap-dark-definition.scss';
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
.e-image-editor .e-text-font-color.e-template .e-caret::before {
|
|
62
62
|
content: "\e35f";
|
|
63
63
|
}
|
|
64
|
-
.e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
|
|
64
|
+
.e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-frame-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
|
|
65
65
|
content: "\ebc6";
|
|
66
66
|
}
|
|
67
67
|
.e-image-editor .e-fill.e-template .e-caret::before {
|
|
@@ -207,6 +207,14 @@
|
|
|
207
207
|
height: 52px !important; /* stylelint-disable-line declaration-no-important */
|
|
208
208
|
min-height: 52px !important; /* stylelint-disable-line declaration-no-important */
|
|
209
209
|
}
|
|
210
|
+
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span,
|
|
211
|
+
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span {
|
|
212
|
+
font-size: 16px;
|
|
213
|
+
}
|
|
214
|
+
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span,
|
|
215
|
+
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span {
|
|
216
|
+
font-size: 16px;
|
|
217
|
+
}
|
|
210
218
|
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon,
|
|
211
219
|
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
|
|
212
220
|
padding: 0;
|
|
@@ -258,11 +266,51 @@
|
|
|
258
266
|
position: relative;
|
|
259
267
|
display: block;
|
|
260
268
|
}
|
|
269
|
+
.e-image-editor .e-ie-drop-area {
|
|
270
|
+
height: calc(100% - 18px);
|
|
271
|
+
width: calc(100% - 20px);
|
|
272
|
+
border: 2px dashed #333;
|
|
273
|
+
border-radius: 10px;
|
|
274
|
+
margin: 10px;
|
|
275
|
+
}
|
|
276
|
+
.e-image-editor .e-ie-drop-area .e-upload {
|
|
277
|
+
display: none;
|
|
278
|
+
}
|
|
279
|
+
.e-image-editor .e-ie-drop-area .e-image::before {
|
|
280
|
+
font-size: 50px;
|
|
281
|
+
}
|
|
282
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-icon {
|
|
283
|
+
top: calc(50% - 60px);
|
|
284
|
+
left: calc(50% - 25px);
|
|
285
|
+
}
|
|
286
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-content {
|
|
287
|
+
top: 50%;
|
|
288
|
+
left: calc(50% - 160px);
|
|
289
|
+
font-size: 14px;
|
|
290
|
+
}
|
|
291
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-info {
|
|
292
|
+
top: calc(50% + 40px);
|
|
293
|
+
left: calc(50% - 100px);
|
|
294
|
+
position: absolute;
|
|
295
|
+
font-size: 14px;
|
|
296
|
+
}
|
|
297
|
+
.e-image-editor .e-ie-drop-area .e-ie-min-drop-content {
|
|
298
|
+
left: calc(50% - 120px);
|
|
299
|
+
top: 50%;
|
|
300
|
+
font-size: 14px;
|
|
301
|
+
}
|
|
261
302
|
.e-image-editor .e-toolbar {
|
|
262
303
|
border: none;
|
|
263
304
|
height: 42px !important; /* stylelint-disable-line declaration-no-important */
|
|
264
305
|
min-height: 42px !important; /* stylelint-disable-line declaration-no-important */
|
|
265
306
|
}
|
|
307
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height {
|
|
308
|
+
margin-left: 20px;
|
|
309
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
310
|
+
}
|
|
311
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width {
|
|
312
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
313
|
+
}
|
|
266
314
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
|
|
267
315
|
padding: 0;
|
|
268
316
|
font-size: 16px;
|
|
@@ -324,6 +372,30 @@
|
|
|
324
372
|
.e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
|
|
325
373
|
height: 130px !important; /* stylelint-disable-line declaration-no-important */
|
|
326
374
|
}
|
|
375
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
|
|
376
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
377
|
+
}
|
|
378
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item {
|
|
379
|
+
display: -ms-inline-grid;
|
|
380
|
+
display: inline-grid;
|
|
381
|
+
}
|
|
382
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item > span {
|
|
383
|
+
font-weight: 500;
|
|
384
|
+
margin: 4px;
|
|
385
|
+
text-align: center;
|
|
386
|
+
}
|
|
387
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar {
|
|
388
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
389
|
+
}
|
|
390
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item:not(.e-hidden) {
|
|
391
|
+
display: -ms-inline-grid;
|
|
392
|
+
display: inline-grid;
|
|
393
|
+
}
|
|
394
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item > span {
|
|
395
|
+
font-weight: 500;
|
|
396
|
+
margin: 4px;
|
|
397
|
+
text-align: center;
|
|
398
|
+
}
|
|
327
399
|
.e-image-editor .e-contextual-toolbar-wrapper.e-hide {
|
|
328
400
|
display: none;
|
|
329
401
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import 'ej2-base/styles/bootstrap
|
|
1
|
+
@import 'ej2-base/styles/definition/bootstrap.scss';
|
|
2
2
|
@import 'ej2-buttons/styles/button/bootstrap-definition.scss';
|
|
3
3
|
@import 'ej2-splitbuttons/styles/drop-down-button/bootstrap-definition.scss';
|
|
4
4
|
@import 'ej2-inputs/styles/numerictextbox/bootstrap-definition.scss';
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
.e-image-editor .e-text-font-color.e-template .e-caret::before {
|
|
62
62
|
content: "\e74b";
|
|
63
63
|
}
|
|
64
|
-
.e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
|
|
64
|
+
.e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-frame-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
|
|
65
65
|
content: "\e770";
|
|
66
66
|
}
|
|
67
67
|
.e-image-editor .e-fill.e-template .e-caret::before {
|
|
@@ -207,6 +207,14 @@
|
|
|
207
207
|
height: 56px !important; /* stylelint-disable-line declaration-no-important */
|
|
208
208
|
min-height: 56px !important; /* stylelint-disable-line declaration-no-important */
|
|
209
209
|
}
|
|
210
|
+
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span,
|
|
211
|
+
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span {
|
|
212
|
+
font-size: 16px;
|
|
213
|
+
}
|
|
214
|
+
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span,
|
|
215
|
+
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span {
|
|
216
|
+
font-size: 16px;
|
|
217
|
+
}
|
|
210
218
|
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon,
|
|
211
219
|
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
|
|
212
220
|
font-size: 18px;
|
|
@@ -257,11 +265,51 @@
|
|
|
257
265
|
position: relative;
|
|
258
266
|
display: block;
|
|
259
267
|
}
|
|
268
|
+
.e-image-editor .e-ie-drop-area {
|
|
269
|
+
height: calc(100% - 18px);
|
|
270
|
+
width: calc(100% - 20px);
|
|
271
|
+
border: 2px dashed #495057;
|
|
272
|
+
border-radius: 10px;
|
|
273
|
+
margin: 10px;
|
|
274
|
+
}
|
|
275
|
+
.e-image-editor .e-ie-drop-area .e-upload {
|
|
276
|
+
display: none;
|
|
277
|
+
}
|
|
278
|
+
.e-image-editor .e-ie-drop-area .e-image::before {
|
|
279
|
+
font-size: 50px;
|
|
280
|
+
}
|
|
281
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-icon {
|
|
282
|
+
top: calc(50% - 60px);
|
|
283
|
+
left: calc(50% - 25px);
|
|
284
|
+
}
|
|
285
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-content {
|
|
286
|
+
top: 50%;
|
|
287
|
+
left: calc(50% - 160px);
|
|
288
|
+
font-size: 14px;
|
|
289
|
+
}
|
|
290
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-info {
|
|
291
|
+
top: calc(50% + 40px);
|
|
292
|
+
left: calc(50% - 100px);
|
|
293
|
+
position: absolute;
|
|
294
|
+
font-size: 14px;
|
|
295
|
+
}
|
|
296
|
+
.e-image-editor .e-ie-drop-area .e-ie-min-drop-content {
|
|
297
|
+
left: calc(50% - 120px);
|
|
298
|
+
top: 50%;
|
|
299
|
+
font-size: 14px;
|
|
300
|
+
}
|
|
260
301
|
.e-image-editor .e-toolbar {
|
|
261
302
|
border: none;
|
|
262
303
|
height: 40px !important; /* stylelint-disable-line declaration-no-important */
|
|
263
304
|
min-height: 40px !important; /* stylelint-disable-line declaration-no-important */
|
|
264
305
|
}
|
|
306
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height {
|
|
307
|
+
margin-left: 20px;
|
|
308
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
309
|
+
}
|
|
310
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width {
|
|
311
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
312
|
+
}
|
|
265
313
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
|
|
266
314
|
font-size: 16px;
|
|
267
315
|
}
|
|
@@ -322,6 +370,30 @@
|
|
|
322
370
|
.e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
|
|
323
371
|
height: 130px !important; /* stylelint-disable-line declaration-no-important */
|
|
324
372
|
}
|
|
373
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
|
|
374
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
375
|
+
}
|
|
376
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item {
|
|
377
|
+
display: -ms-inline-grid;
|
|
378
|
+
display: inline-grid;
|
|
379
|
+
}
|
|
380
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item > span {
|
|
381
|
+
font-weight: 500;
|
|
382
|
+
margin: 4px;
|
|
383
|
+
text-align: center;
|
|
384
|
+
}
|
|
385
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar {
|
|
386
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
387
|
+
}
|
|
388
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item:not(.e-hidden) {
|
|
389
|
+
display: -ms-inline-grid;
|
|
390
|
+
display: inline-grid;
|
|
391
|
+
}
|
|
392
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item > span {
|
|
393
|
+
font-weight: 500;
|
|
394
|
+
margin: 4px;
|
|
395
|
+
text-align: center;
|
|
396
|
+
}
|
|
325
397
|
.e-image-editor .e-contextual-toolbar-wrapper.e-hide {
|
|
326
398
|
display: none;
|
|
327
399
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import 'ej2-base/styles/bootstrap4
|
|
1
|
+
@import 'ej2-base/styles/definition/bootstrap4.scss';
|
|
2
2
|
@import 'ej2-buttons/styles/button/bootstrap4-definition.scss';
|
|
3
3
|
@import 'ej2-splitbuttons/styles/drop-down-button/bootstrap4-definition.scss';
|
|
4
4
|
@import 'ej2-inputs/styles/numerictextbox/bootstrap4-definition.scss';
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
.e-image-editor .e-text-font-color.e-template .e-caret::before {
|
|
70
70
|
content: "\e76f";
|
|
71
71
|
}
|
|
72
|
-
.e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
|
|
72
|
+
.e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-frame-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
|
|
73
73
|
content: "\e739";
|
|
74
74
|
}
|
|
75
75
|
.e-image-editor .e-fill.e-template .e-caret::before {
|
|
@@ -218,6 +218,14 @@
|
|
|
218
218
|
height: 46px !important; /* stylelint-disable-line declaration-no-important */
|
|
219
219
|
min-height: 46px !important; /* stylelint-disable-line declaration-no-important */
|
|
220
220
|
}
|
|
221
|
+
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span,
|
|
222
|
+
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span {
|
|
223
|
+
font-size: 16px;
|
|
224
|
+
}
|
|
225
|
+
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span,
|
|
226
|
+
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span {
|
|
227
|
+
font-size: 16px;
|
|
228
|
+
}
|
|
221
229
|
.e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon,
|
|
222
230
|
.e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
|
|
223
231
|
font-size: 20px;
|
|
@@ -270,11 +278,51 @@
|
|
|
270
278
|
position: relative;
|
|
271
279
|
display: block;
|
|
272
280
|
}
|
|
281
|
+
.e-image-editor .e-ie-drop-area {
|
|
282
|
+
height: calc(100% - 18px);
|
|
283
|
+
width: calc(100% - 20px);
|
|
284
|
+
border: 2px dashed #adb5bd;
|
|
285
|
+
border-radius: 10px;
|
|
286
|
+
margin: 10px;
|
|
287
|
+
}
|
|
288
|
+
.e-image-editor .e-ie-drop-area .e-upload {
|
|
289
|
+
display: none;
|
|
290
|
+
}
|
|
291
|
+
.e-image-editor .e-ie-drop-area .e-image::before {
|
|
292
|
+
font-size: 50px;
|
|
293
|
+
}
|
|
294
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-icon {
|
|
295
|
+
top: calc(50% - 60px);
|
|
296
|
+
left: calc(50% - 25px);
|
|
297
|
+
}
|
|
298
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-content {
|
|
299
|
+
top: 50%;
|
|
300
|
+
left: calc(50% - 160px);
|
|
301
|
+
font-size: 14px;
|
|
302
|
+
}
|
|
303
|
+
.e-image-editor .e-ie-drop-area .e-ie-drop-info {
|
|
304
|
+
top: calc(50% + 40px);
|
|
305
|
+
left: calc(50% - 100px);
|
|
306
|
+
position: absolute;
|
|
307
|
+
font-size: 14px;
|
|
308
|
+
}
|
|
309
|
+
.e-image-editor .e-ie-drop-area .e-ie-min-drop-content {
|
|
310
|
+
left: calc(50% - 120px);
|
|
311
|
+
top: 50%;
|
|
312
|
+
font-size: 14px;
|
|
313
|
+
}
|
|
273
314
|
.e-image-editor .e-toolbar {
|
|
274
315
|
border: none;
|
|
275
316
|
height: 40px !important; /* stylelint-disable-line declaration-no-important */
|
|
276
317
|
min-height: 40px !important; /* stylelint-disable-line declaration-no-important */
|
|
277
318
|
}
|
|
319
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height {
|
|
320
|
+
margin-left: 20px;
|
|
321
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
322
|
+
}
|
|
323
|
+
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width {
|
|
324
|
+
min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
|
|
325
|
+
}
|
|
278
326
|
.e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
|
|
279
327
|
font-size: 18px;
|
|
280
328
|
}
|
|
@@ -340,6 +388,30 @@
|
|
|
340
388
|
.e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
|
|
341
389
|
height: 130px !important; /* stylelint-disable-line declaration-no-important */
|
|
342
390
|
}
|
|
391
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
|
|
392
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
393
|
+
}
|
|
394
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item {
|
|
395
|
+
display: -ms-inline-grid;
|
|
396
|
+
display: inline-grid;
|
|
397
|
+
}
|
|
398
|
+
.e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item > span {
|
|
399
|
+
font-weight: 500;
|
|
400
|
+
margin: 4px;
|
|
401
|
+
text-align: center;
|
|
402
|
+
}
|
|
403
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar {
|
|
404
|
+
height: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
405
|
+
}
|
|
406
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item:not(.e-hidden) {
|
|
407
|
+
display: -ms-inline-grid;
|
|
408
|
+
display: inline-grid;
|
|
409
|
+
}
|
|
410
|
+
.e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item > span {
|
|
411
|
+
font-weight: 500;
|
|
412
|
+
margin: 4px;
|
|
413
|
+
text-align: center;
|
|
414
|
+
}
|
|
343
415
|
.e-image-editor .e-contextual-toolbar-wrapper.e-hide {
|
|
344
416
|
display: none;
|
|
345
417
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import 'ej2-base/styles/bootstrap5-dark
|
|
1
|
+
@import 'ej2-base/styles/definition/bootstrap5-dark.scss';
|
|
2
2
|
@import 'ej2-buttons/styles/button/bootstrap5-dark-definition.scss';
|
|
3
3
|
@import 'ej2-splitbuttons/styles/drop-down-button/bootstrap5-dark-definition.scss';
|
|
4
4
|
@import 'ej2-inputs/styles/numerictextbox/bootstrap5-dark-definition.scss';
|