@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.
Files changed (119) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/ej2-image-editor.umd.min.js +3 -3
  3. package/dist/ej2-image-editor.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-image-editor.es2015.js +4446 -678
  5. package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
  6. package/dist/es6/ej2-image-editor.es5.js +4409 -632
  7. package/dist/es6/ej2-image-editor.es5.js.map +1 -1
  8. package/dist/global/ej2-image-editor.min.js +3 -3
  9. package/dist/global/ej2-image-editor.min.js.map +1 -1
  10. package/dist/global/index.d.ts +2 -2
  11. package/package.json +12 -12
  12. package/src/image-editor/action/crop.js +47 -30
  13. package/src/image-editor/action/draw.d.ts +16 -0
  14. package/src/image-editor/action/draw.js +827 -81
  15. package/src/image-editor/action/export.d.ts +3 -0
  16. package/src/image-editor/action/export.js +84 -20
  17. package/src/image-editor/action/filter.d.ts +0 -1
  18. package/src/image-editor/action/filter.js +28 -41
  19. package/src/image-editor/action/freehand-draw.d.ts +1 -0
  20. package/src/image-editor/action/freehand-draw.js +92 -56
  21. package/src/image-editor/action/selection.d.ts +6 -0
  22. package/src/image-editor/action/selection.js +417 -68
  23. package/src/image-editor/action/shape.d.ts +8 -0
  24. package/src/image-editor/action/shape.js +303 -91
  25. package/src/image-editor/action/transform.d.ts +9 -0
  26. package/src/image-editor/action/transform.js +402 -52
  27. package/src/image-editor/action/undo-redo.d.ts +1 -0
  28. package/src/image-editor/action/undo-redo.js +138 -10
  29. package/src/image-editor/base/enum.d.ts +38 -1
  30. package/src/image-editor/base/enum.js +39 -0
  31. package/src/image-editor/base/image-editor-model.d.ts +16 -2
  32. package/src/image-editor/base/image-editor.d.ts +142 -7
  33. package/src/image-editor/base/image-editor.js +719 -70
  34. package/src/image-editor/base/interface.d.ts +233 -2
  35. package/src/image-editor/renderer/toolbar.d.ts +25 -0
  36. package/src/image-editor/renderer/toolbar.js +1274 -72
  37. package/styles/bootstrap-dark.css +73 -1
  38. package/styles/bootstrap.css +73 -1
  39. package/styles/bootstrap4.css +73 -1
  40. package/styles/bootstrap5-dark.css +73 -1
  41. package/styles/bootstrap5.css +73 -1
  42. package/styles/fabric-dark.css +73 -1
  43. package/styles/fabric.css +73 -1
  44. package/styles/fluent-dark.css +73 -1
  45. package/styles/fluent.css +73 -1
  46. package/styles/highcontrast-light.css +75 -3
  47. package/styles/highcontrast.css +74 -7
  48. package/styles/image-editor/_bootstrap-dark-definition.scss +1 -0
  49. package/styles/image-editor/_bootstrap-definition.scss +1 -0
  50. package/styles/image-editor/_bootstrap4-definition.scss +1 -0
  51. package/styles/image-editor/_bootstrap5-definition.scss +1 -0
  52. package/styles/image-editor/_fabric-dark-definition.scss +1 -0
  53. package/styles/image-editor/_fabric-definition.scss +1 -0
  54. package/styles/image-editor/_fluent-definition.scss +1 -0
  55. package/styles/image-editor/_fusionnew-definition.scss +1 -0
  56. package/styles/image-editor/_highcontrast-definition.scss +2 -1
  57. package/styles/image-editor/_highcontrast-light-definition.scss +2 -1
  58. package/styles/image-editor/_layout.scss +98 -0
  59. package/styles/image-editor/_material-dark-definition.scss +1 -0
  60. package/styles/image-editor/_material-definition.scss +1 -0
  61. package/styles/image-editor/_material3-definition.scss +2 -1
  62. package/styles/image-editor/_tailwind-definition.scss +1 -0
  63. package/styles/image-editor/_theme.scss +4 -2
  64. package/styles/image-editor/bootstrap-dark.css +73 -1
  65. package/styles/image-editor/bootstrap-dark.scss +1 -1
  66. package/styles/image-editor/bootstrap.css +73 -1
  67. package/styles/image-editor/bootstrap.scss +1 -1
  68. package/styles/image-editor/bootstrap4.css +73 -1
  69. package/styles/image-editor/bootstrap4.scss +1 -1
  70. package/styles/image-editor/bootstrap5-dark.css +73 -1
  71. package/styles/image-editor/bootstrap5-dark.scss +1 -1
  72. package/styles/image-editor/bootstrap5.css +73 -1
  73. package/styles/image-editor/bootstrap5.scss +1 -1
  74. package/styles/image-editor/fabric-dark.css +73 -1
  75. package/styles/image-editor/fabric-dark.scss +1 -1
  76. package/styles/image-editor/fabric.css +73 -1
  77. package/styles/image-editor/fabric.scss +1 -1
  78. package/styles/image-editor/fluent-dark.css +73 -1
  79. package/styles/image-editor/fluent-dark.scss +1 -1
  80. package/styles/image-editor/fluent.css +73 -1
  81. package/styles/image-editor/fluent.scss +1 -1
  82. package/styles/image-editor/highcontrast-light.css +75 -3
  83. package/styles/image-editor/highcontrast-light.scss +1 -1
  84. package/styles/image-editor/highcontrast.css +74 -7
  85. package/styles/image-editor/highcontrast.scss +1 -1
  86. package/styles/image-editor/icons/_bootstrap-dark.scss +1 -0
  87. package/styles/image-editor/icons/_bootstrap.scss +1 -0
  88. package/styles/image-editor/icons/_bootstrap4.scss +1 -0
  89. package/styles/image-editor/icons/_bootstrap5.scss +1 -0
  90. package/styles/image-editor/icons/_fabric-dark.scss +1 -0
  91. package/styles/image-editor/icons/_fabric.scss +1 -0
  92. package/styles/image-editor/icons/_fluent.scss +1 -0
  93. package/styles/image-editor/icons/_fusionnew.scss +1 -0
  94. package/styles/image-editor/icons/_highcontrast-light.scss +1 -0
  95. package/styles/image-editor/icons/_highcontrast.scss +1 -0
  96. package/styles/image-editor/icons/_material-dark.scss +1 -0
  97. package/styles/image-editor/icons/_material.scss +1 -0
  98. package/styles/image-editor/icons/_material3.scss +1 -0
  99. package/styles/image-editor/icons/_tailwind.scss +1 -0
  100. package/styles/image-editor/material-dark.css +73 -2
  101. package/styles/image-editor/material-dark.scss +1 -1
  102. package/styles/image-editor/material.css +73 -2
  103. package/styles/image-editor/material.scss +1 -1
  104. package/styles/image-editor/material3-dark.css +78 -4
  105. package/styles/image-editor/material3-dark.scss +1 -1
  106. package/styles/image-editor/material3.css +78 -4
  107. package/styles/image-editor/material3.scss +1 -1
  108. package/styles/image-editor/tailwind-dark.css +73 -2
  109. package/styles/image-editor/tailwind-dark.scss +1 -1
  110. package/styles/image-editor/tailwind.css +73 -2
  111. package/styles/image-editor/tailwind.scss +1 -1
  112. package/styles/material-dark.css +73 -2
  113. package/styles/material.css +73 -2
  114. package/styles/material3-dark.css +78 -4
  115. package/styles/material3-dark.scss +1 -1
  116. package/styles/material3.css +78 -4
  117. package/styles/material3.scss +1 -1
  118. package/styles/tailwind-dark.css +73 -2
  119. package/styles/tailwind.css +73 -2
package/styles/fabric.css CHANGED
@@ -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: "\eb6e";
66
66
  }
67
67
  .e-image-editor .e-fill.e-template .e-caret::before {
@@ -207,6 +207,14 @@
207
207
  height: 50px !important; /* stylelint-disable-line declaration-no-important */
208
208
  min-height: 50px !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: 40px !important; /* stylelint-disable-line declaration-no-important */
264
305
  min-height: 40px !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
  }
@@ -67,7 +67,7 @@
67
67
  .e-image-editor .e-text-font-color.e-template .e-caret::before {
68
68
  content: "\e76f";
69
69
  }
70
- .e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
70
+ .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 {
71
71
  content: "\e739";
72
72
  }
73
73
  .e-image-editor .e-fill.e-template .e-caret::before {
@@ -216,6 +216,14 @@
216
216
  height: 48px !important; /* stylelint-disable-line declaration-no-important */
217
217
  min-height: 48px !important; /* stylelint-disable-line declaration-no-important */
218
218
  }
219
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span,
220
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span {
221
+ font-size: 16px;
222
+ }
223
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span,
224
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span {
225
+ font-size: 16px;
226
+ }
219
227
  .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,
220
228
  .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 {
221
229
  font-size: 20px;
@@ -266,11 +274,51 @@
266
274
  position: relative;
267
275
  display: block;
268
276
  }
277
+ .e-image-editor .e-ie-drop-area {
278
+ height: calc(100% - 18px);
279
+ width: calc(100% - 20px);
280
+ border: 2px dashed #a19f9d;
281
+ border-radius: 10px;
282
+ margin: 10px;
283
+ }
284
+ .e-image-editor .e-ie-drop-area .e-upload {
285
+ display: none;
286
+ }
287
+ .e-image-editor .e-ie-drop-area .e-image::before {
288
+ font-size: 50px;
289
+ }
290
+ .e-image-editor .e-ie-drop-area .e-ie-drop-icon {
291
+ top: calc(50% - 60px);
292
+ left: calc(50% - 25px);
293
+ }
294
+ .e-image-editor .e-ie-drop-area .e-ie-drop-content {
295
+ top: 50%;
296
+ left: calc(50% - 160px);
297
+ font-size: 14px;
298
+ }
299
+ .e-image-editor .e-ie-drop-area .e-ie-drop-info {
300
+ top: calc(50% + 40px);
301
+ left: calc(50% - 100px);
302
+ position: absolute;
303
+ font-size: 14px;
304
+ }
305
+ .e-image-editor .e-ie-drop-area .e-ie-min-drop-content {
306
+ left: calc(50% - 120px);
307
+ top: 50%;
308
+ font-size: 14px;
309
+ }
269
310
  .e-image-editor .e-toolbar {
270
311
  border: none;
271
312
  height: 40px !important; /* stylelint-disable-line declaration-no-important */
272
313
  min-height: 40px !important; /* stylelint-disable-line declaration-no-important */
273
314
  }
315
+ .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height {
316
+ margin-left: 20px;
317
+ min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
318
+ }
319
+ .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width {
320
+ min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
321
+ }
274
322
  .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
275
323
  font-size: 18px;
276
324
  }
@@ -331,6 +379,30 @@
331
379
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
332
380
  height: 130px !important; /* stylelint-disable-line declaration-no-important */
333
381
  }
382
+ .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
383
+ height: inherit !important; /* stylelint-disable-line declaration-no-important */
384
+ }
385
+ .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item {
386
+ display: -ms-inline-grid;
387
+ display: inline-grid;
388
+ }
389
+ .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item > span {
390
+ font-weight: 500;
391
+ margin: 4px;
392
+ text-align: center;
393
+ }
394
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar {
395
+ height: inherit !important; /* stylelint-disable-line declaration-no-important */
396
+ }
397
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item:not(.e-hidden) {
398
+ display: -ms-inline-grid;
399
+ display: inline-grid;
400
+ }
401
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item > span {
402
+ font-weight: 500;
403
+ margin: 4px;
404
+ text-align: center;
405
+ }
334
406
  .e-image-editor .e-contextual-toolbar-wrapper.e-hide {
335
407
  display: none;
336
408
  }
package/styles/fluent.css CHANGED
@@ -67,7 +67,7 @@
67
67
  .e-image-editor .e-text-font-color.e-template .e-caret::before {
68
68
  content: "\e76f";
69
69
  }
70
- .e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
70
+ .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 {
71
71
  content: "\e739";
72
72
  }
73
73
  .e-image-editor .e-fill.e-template .e-caret::before {
@@ -216,6 +216,14 @@
216
216
  height: 48px !important; /* stylelint-disable-line declaration-no-important */
217
217
  min-height: 48px !important; /* stylelint-disable-line declaration-no-important */
218
218
  }
219
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span,
220
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height span {
221
+ font-size: 16px;
222
+ }
223
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span,
224
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width span {
225
+ font-size: 16px;
226
+ }
219
227
  .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,
220
228
  .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 {
221
229
  font-size: 20px;
@@ -266,11 +274,51 @@
266
274
  position: relative;
267
275
  display: block;
268
276
  }
277
+ .e-image-editor .e-ie-drop-area {
278
+ height: calc(100% - 18px);
279
+ width: calc(100% - 20px);
280
+ border: 2px dashed #605e5c;
281
+ border-radius: 10px;
282
+ margin: 10px;
283
+ }
284
+ .e-image-editor .e-ie-drop-area .e-upload {
285
+ display: none;
286
+ }
287
+ .e-image-editor .e-ie-drop-area .e-image::before {
288
+ font-size: 50px;
289
+ }
290
+ .e-image-editor .e-ie-drop-area .e-ie-drop-icon {
291
+ top: calc(50% - 60px);
292
+ left: calc(50% - 25px);
293
+ }
294
+ .e-image-editor .e-ie-drop-area .e-ie-drop-content {
295
+ top: 50%;
296
+ left: calc(50% - 160px);
297
+ font-size: 14px;
298
+ }
299
+ .e-image-editor .e-ie-drop-area .e-ie-drop-info {
300
+ top: calc(50% + 40px);
301
+ left: calc(50% - 100px);
302
+ position: absolute;
303
+ font-size: 14px;
304
+ }
305
+ .e-image-editor .e-ie-drop-area .e-ie-min-drop-content {
306
+ left: calc(50% - 120px);
307
+ top: 50%;
308
+ font-size: 14px;
309
+ }
269
310
  .e-image-editor .e-toolbar {
270
311
  border: none;
271
312
  height: 40px !important; /* stylelint-disable-line declaration-no-important */
272
313
  min-height: 40px !important; /* stylelint-disable-line declaration-no-important */
273
314
  }
315
+ .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height {
316
+ margin-left: 20px;
317
+ min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
318
+ }
319
+ .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-width {
320
+ min-width: 28px !important; /* stylelint-disable-line declaration-no-important */
321
+ }
274
322
  .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
275
323
  font-size: 18px;
276
324
  }
@@ -331,6 +379,30 @@
331
379
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
332
380
  height: 130px !important; /* stylelint-disable-line declaration-no-important */
333
381
  }
382
+ .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
383
+ height: inherit !important; /* stylelint-disable-line declaration-no-important */
384
+ }
385
+ .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item {
386
+ display: -ms-inline-grid;
387
+ display: inline-grid;
388
+ }
389
+ .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar-item > span {
390
+ font-weight: 500;
391
+ margin: 4px;
392
+ text-align: center;
393
+ }
394
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar {
395
+ height: inherit !important; /* stylelint-disable-line declaration-no-important */
396
+ }
397
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item:not(.e-hidden) {
398
+ display: -ms-inline-grid;
399
+ display: inline-grid;
400
+ }
401
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-toolbar-item > span {
402
+ font-weight: 500;
403
+ margin: 4px;
404
+ text-align: center;
405
+ }
334
406
  .e-image-editor .e-contextual-toolbar-wrapper.e-hide {
335
407
  display: none;
336
408
  }
@@ -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: "\eb6e";
66
66
  }
67
67
  .e-image-editor .e-fill.e-template .e-caret::before {
@@ -207,6 +207,14 @@
207
207
  height: 48px !important; /* stylelint-disable-line declaration-no-important */
208
208
  min-height: 48px !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 #000;
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: 38px !important; /* stylelint-disable-line declaration-no-important */
263
304
  min-height: 38px !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
  }
@@ -355,7 +427,7 @@
355
427
  color: #000;
356
428
  }
357
429
  .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn {
358
- background: #400074 !important; /* stylelint-disable-line declaration-no-important */
430
+ background: #000 !important; /* stylelint-disable-line declaration-no-important */
359
431
  }
360
432
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn {
361
433
  background: inherit;
@@ -399,5 +471,5 @@
399
471
  }
400
472
 
401
473
  .e-dropdown-popup .e-selected-btn {
402
- background: #400074 !important; /* stylelint-disable-line declaration-no-important */
474
+ background: #000 !important; /* stylelint-disable-line declaration-no-important */
403
475
  }
@@ -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: "\eb6e";
66
66
  }
67
67
  .e-image-editor .e-fill.e-template .e-caret::before {
@@ -207,6 +207,14 @@
207
207
  height: 48px !important; /* stylelint-disable-line declaration-no-important */
208
208
  min-height: 48px !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 #fff;
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: 38px !important; /* stylelint-disable-line declaration-no-important */
263
304
  min-height: 38px !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
  }
@@ -355,7 +427,7 @@
355
427
  color: #fff;
356
428
  }
357
429
  .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn {
358
- background: #ffd939 !important; /* stylelint-disable-line declaration-no-important */
430
+ background: #fff !important; /* stylelint-disable-line declaration-no-important */
359
431
  }
360
432
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn {
361
433
  background: inherit;
@@ -396,9 +468,4 @@
396
468
  .e-image-editor .e-toolbar .e-toolbar-items .e-nocolor-item {
397
469
  background: transparent url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNnB4IiBoZWlnaHQ9IjZweCIgdmlld0JveD0iMCAwIDYgNiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTAgKDU0OTgzKSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5Hcm91cCA5PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Ikdyb3VwLTkiPgogICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTExIiBmaWxsPSIjRTBFMEUwIiB4PSIwIiB5PSIwIiB3aWR0aD0iMyIgaGVpZ2h0PSIzIj48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMTEtQ29weS0yIiBmaWxsPSIjRkZGRkZGIiB4PSIwIiB5PSIzIiB3aWR0aD0iMyIgaGVpZ2h0PSIzIj48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMTEtQ29weSIgZmlsbD0iI0ZGRkZGRiIgeD0iMyIgeT0iMCIgd2lkdGg9IjMiIGhlaWdodD0iMyI+PC9yZWN0PgogICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTExLUNvcHktMyIgZmlsbD0iI0UwRTBFMCIgeD0iMyIgeT0iMyIgd2lkdGg9IjMiIGhlaWdodD0iMyI+PC9yZWN0PgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+") !important; /* stylelint-disable-line declaration-no-important */
398
470
  background-size: 8px !important; /* stylelint-disable-line declaration-no-important */
399
- }
400
-
401
- .e-dropdown-popup .e-selected-btn {
402
- background: #ffd939 !important; /* stylelint-disable-line declaration-no-important */
403
- color: #000 !important; /* stylelint-disable-line declaration-no-important */
404
471
  }
@@ -9,3 +9,4 @@ $image-editor-bigger-tbar-height: 52px !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-darker !default;
12
+ $image-editor-drop-border: 2px dashed $grey-dark-font !default;
@@ -9,3 +9,4 @@ $image-editor-bigger-tbar-height: 52px !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-f8 !default;
12
+ $image-editor-drop-border: 2px dashed $gray-dark !default;
@@ -9,3 +9,4 @@ $image-editor-bigger-tbar-height: 56px !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: $gray-100 !default;
12
+ $image-editor-drop-border: 2px dashed $gray-700 !default;
@@ -9,3 +9,4 @@ $image-editor-bigger-tbar-height: 46px !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-alt1 !default;
12
+ $image-editor-drop-border: 2px dashed $icon-color !default;
@@ -9,3 +9,4 @@ $image-editor-bigger-tbar-height: 50px !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: $neutral-lighter !default;
12
+ $image-editor-drop-border: 2px dashed $neutral-light-font !default;
@@ -9,3 +9,4 @@ $image-editor-bigger-tbar-height: 50px !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: $neutral-white !default;
12
+ $image-editor-drop-border: 2px dashed $neutral-light-font !default;
@@ -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;
@@ -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-alt1 !default;
12
+ $image-editor-drop-border: 2px dashed $icon-color !default;
@@ -2,10 +2,11 @@ $image-editor-background: $bg-base-0 !default;
2
2
  $image-editor-border: 1px solid $border-fg !default;
3
3
  $image-editor-toolbar-icon-color: $content-font !default;
4
4
  $img-editor-cp-preview-border-bottom-color: $selection-font !default;
5
- $image-editor-icon-sel-bg-color: $selection-bg !default;
5
+ $image-editor-icon-sel-bg-color: $content-font !default;
6
6
  $image-editor-ddbtn-margin-top: 0 !default;
7
7
  $image-editor-tbar-height: 38px !default;
8
8
  $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: $bg-base-0 !default;
12
+ $image-editor-drop-border: 2px dashed $content-font !default;
@@ -2,10 +2,11 @@ $image-editor-background: $bg-base-0 !default;
2
2
  $image-editor-border: 1px solid $border-fg !default;
3
3
  $image-editor-toolbar-icon-color: $content-font !default;
4
4
  $img-editor-cp-preview-border-bottom-color: $border-fg !default;
5
- $image-editor-icon-sel-bg-color: $selection-bg !default;
5
+ $image-editor-icon-sel-bg-color: $content-font !default;
6
6
  $image-editor-ddbtn-margin-top: 0 !default;
7
7
  $image-editor-tbar-height: 38px !default;
8
8
  $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: $bg-base-0 !default;
12
+ $image-editor-drop-border: 2px dashed $content-font !default;