@syncfusion/ej2-image-editor 28.1.41 → 29.1.33

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 (84) hide show
  1. package/README.md +1 -1
  2. package/dist/ej2-image-editor.umd.min.js +2 -2
  3. package/dist/ej2-image-editor.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-image-editor.es2015.js +220 -63
  5. package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
  6. package/dist/es6/ej2-image-editor.es5.js +229 -72
  7. package/dist/es6/ej2-image-editor.es5.js.map +1 -1
  8. package/dist/global/ej2-image-editor.min.js +2 -2
  9. package/dist/global/ej2-image-editor.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +13 -13
  12. package/src/image-editor/action/draw.js +1 -1
  13. package/src/image-editor/action/filter.js +0 -15
  14. package/src/image-editor/action/selection.js +46 -3
  15. package/src/image-editor/action/transform.js +4 -1
  16. package/src/image-editor/base/image-editor.d.ts +3 -1
  17. package/src/image-editor/base/image-editor.js +110 -35
  18. package/src/image-editor/renderer/toolbar.js +68 -17
  19. package/styles/bds-lite.css +11 -0
  20. package/styles/bds.css +11 -0
  21. package/styles/bootstrap-dark-lite.css +11 -0
  22. package/styles/bootstrap-dark.css +11 -0
  23. package/styles/bootstrap-lite.css +11 -0
  24. package/styles/bootstrap.css +11 -0
  25. package/styles/bootstrap4-lite.css +17 -6
  26. package/styles/bootstrap4.css +17 -6
  27. package/styles/bootstrap5-dark-lite.css +23 -12
  28. package/styles/bootstrap5-dark.css +23 -12
  29. package/styles/bootstrap5-lite.css +20 -9
  30. package/styles/bootstrap5.3-lite.css +11 -0
  31. package/styles/bootstrap5.3.css +11 -0
  32. package/styles/bootstrap5.css +20 -9
  33. package/styles/fabric-dark-lite.css +11 -0
  34. package/styles/fabric-dark.css +11 -0
  35. package/styles/fabric-lite.css +11 -0
  36. package/styles/fabric.css +11 -0
  37. package/styles/fluent-dark-lite.css +11 -0
  38. package/styles/fluent-dark.css +11 -0
  39. package/styles/fluent-lite.css +11 -0
  40. package/styles/fluent.css +11 -0
  41. package/styles/fluent2-lite.css +11 -0
  42. package/styles/fluent2.css +11 -0
  43. package/styles/highcontrast-light-lite.css +11 -0
  44. package/styles/highcontrast-light.css +11 -0
  45. package/styles/highcontrast-lite.css +11 -0
  46. package/styles/highcontrast.css +11 -0
  47. package/styles/image-editor/_layout.scss +11 -0
  48. package/styles/image-editor/_material-dark-definition.scss +3 -1
  49. package/styles/image-editor/_theme.scss +4 -2
  50. package/styles/image-editor/bds.css +11 -0
  51. package/styles/image-editor/bootstrap-dark.css +11 -0
  52. package/styles/image-editor/bootstrap.css +11 -0
  53. package/styles/image-editor/bootstrap4.css +17 -6
  54. package/styles/image-editor/bootstrap5-dark.css +23 -12
  55. package/styles/image-editor/bootstrap5.3.css +11 -0
  56. package/styles/image-editor/bootstrap5.css +20 -9
  57. package/styles/image-editor/fabric-dark.css +11 -0
  58. package/styles/image-editor/fabric.css +11 -0
  59. package/styles/image-editor/fluent-dark.css +11 -0
  60. package/styles/image-editor/fluent.css +11 -0
  61. package/styles/image-editor/fluent2.css +11 -0
  62. package/styles/image-editor/highcontrast-light.css +11 -0
  63. package/styles/image-editor/highcontrast.css +11 -0
  64. package/styles/image-editor/material-dark.css +16 -5
  65. package/styles/image-editor/material.css +14 -3
  66. package/styles/image-editor/material3-dark.css +11 -0
  67. package/styles/image-editor/material3.css +11 -0
  68. package/styles/image-editor/tailwind-dark.css +11 -0
  69. package/styles/image-editor/tailwind.css +11 -0
  70. package/styles/image-editor/tailwind3.css +11 -0
  71. package/styles/material-dark-lite.css +16 -5
  72. package/styles/material-dark.css +16 -5
  73. package/styles/material-lite.css +14 -3
  74. package/styles/material.css +14 -3
  75. package/styles/material3-dark-lite.css +11 -0
  76. package/styles/material3-dark.css +11 -0
  77. package/styles/material3-lite.css +11 -0
  78. package/styles/material3.css +11 -0
  79. package/styles/tailwind-dark-lite.css +11 -0
  80. package/styles/tailwind-dark.css +11 -0
  81. package/styles/tailwind-lite.css +11 -0
  82. package/styles/tailwind.css +11 -0
  83. package/styles/tailwind3-lite.css +11 -0
  84. package/styles/tailwind3.css +11 -0
@@ -364,6 +364,48 @@ var ToolbarModule = /** @class */ (function () {
364
364
  case 'heightAspectRatio':
365
365
  this.heightAspectRatio(args.value['e']);
366
366
  break;
367
+ case 'cancelPan':
368
+ this.cancelPan();
369
+ break;
370
+ case 'zoomInBtnMouseDownHandler':
371
+ this.zoomInBtnMouseDownHandler(args.value['event']);
372
+ break;
373
+ case 'zoomOutBtnMouseDownHandler':
374
+ this.zoomOutBtnMouseDownHandler(args.value['event']);
375
+ break;
376
+ case 'drawDashedLine':
377
+ this.drawDashedLine(args.value['context']);
378
+ break;
379
+ case 'saveDialogClosed':
380
+ this.saveDialogClosed(args.value['id']);
381
+ break;
382
+ case 'getIndex':
383
+ this.getIndex(args.value['item']);
384
+ break;
385
+ case 'getRectRadius':
386
+ this.getRectRadius(args.value['text']);
387
+ break;
388
+ case 'applyPreviewFilter':
389
+ this.applyPreviewFilter();
390
+ break;
391
+ case 'renderSlider':
392
+ this.renderSlider(args.value['type'], args.value['isSelect']);
393
+ break;
394
+ case 'zoomInBtnClickHandler':
395
+ this.zoomInBtnClickHandler(args.value['e']);
396
+ break;
397
+ case 'zoomOutBtnClickHandler':
398
+ this.zoomOutBtnClickHandler(args.value['e']);
399
+ break;
400
+ case 'getAdjustmentToolbarItem':
401
+ this.getAdjustmentToolbarItem();
402
+ break;
403
+ case 'getFilterToolbarItem':
404
+ this.getFilterToolbarItem();
405
+ break;
406
+ case 'renderCropBtn':
407
+ this.renderCropBtn();
408
+ break;
367
409
  }
368
410
  };
369
411
  ToolbarModule.prototype.updatePrivateVariables = function () {
@@ -492,9 +534,9 @@ var ToolbarModule = /** @class */ (function () {
492
534
  var parent = this.parent;
493
535
  var id = parent.element.id;
494
536
  if (isNullOrUndefined(parent.toolbar) || (parent.toolbar && parent.toolbar.length > 0)) {
495
- parent.element.appendChild(parent.createElement('div', { id: id + '_contextualToolbarArea',
496
- className: 'e-contextual-toolbar-wrapper e-hide', attrs: { style: 'position: absolute;' }
497
- }));
537
+ var contextualToolbarArea = parent.createElement('div', { id: id + '_contextualToolbarArea', className: 'e-contextual-toolbar-wrapper e-hide' });
538
+ contextualToolbarArea.style.position = 'absolute';
539
+ parent.element.appendChild(contextualToolbarArea);
498
540
  var toolbarArea = document.getElementById(id + '_contextualToolbarArea');
499
541
  var toolbar_2 = parent.createElement('div', { id: id + '_contextualToolbar' });
500
542
  toolbarArea.appendChild(toolbar_2);
@@ -1373,8 +1415,9 @@ var ToolbarModule = /** @class */ (function () {
1373
1415
  ToolbarModule.prototype.enableDisableCloneBtn = function (toolbarId, obj) {
1374
1416
  var parent = this.parent;
1375
1417
  var isDummyTextClick = false;
1418
+ var width = Math.floor(parent.activeObj.activePoint.width);
1376
1419
  if (parent.activeObj.shape && parent.activeObj.shape === 'text' &&
1377
- parent.activeObj.textSettings.fontSize === 11 && Math.floor(parent.activeObj.activePoint.width) === 55 &&
1420
+ parent.activeObj.textSettings.fontSize === 11 && (width === 55 || (parent.activeObj.textSettings.bold && width === 58)) &&
1378
1421
  Math.floor(parent.activeObj.activePoint.height) === 11) {
1379
1422
  isDummyTextClick = true;
1380
1423
  }
@@ -1564,8 +1607,9 @@ var ToolbarModule = /** @class */ (function () {
1564
1607
  var quality = ['Good', 'Great', 'Highest'];
1565
1608
  parent.element.appendChild(parent.createElement('div', { id: id + '_saveDialog' }));
1566
1609
  var dialogContent = parent.createElement('div', {
1567
- id: id + '_dialogContent', attrs: { style: 'display: flex;' }
1610
+ id: id + '_dialogContent'
1568
1611
  });
1612
+ dialogContent.style.display = 'flex';
1569
1613
  var dialogImgContent = dialogContent.appendChild(parent.createElement('div', {
1570
1614
  id: id + '_dialogImgContent', className: 'e-ie-dlg-img-content'
1571
1615
  }));
@@ -2004,7 +2048,7 @@ var ToolbarModule = /** @class */ (function () {
2004
2048
  }
2005
2049
  if ((isNullOrUndefined(parent.toolbar) || (parent.toolbar && parent.toolbar.indexOf('Straightening') > -1)) && !Browser.isDevice) {
2006
2050
  toolbarItems.push({ align: 'Center', type: 'Separator' });
2007
- if (isNullOrUndefined(parent.toolbar) || (parent.toolbar && (parent.toolbar.indexOf('Straighten') > -1 || parent.toolbar.indexOf('Straighten') > -1))) {
2051
+ if (isNullOrUndefined(parent.toolbar) || (parent.toolbar && parent.toolbar.indexOf('Straightening') > -1)) {
2008
2052
  var spanWidth = document.createElement('span');
2009
2053
  spanWidth.innerHTML = this.l10n.getConstant('Straighten');
2010
2054
  toolbarItems.push({ id: id + '_straightenSpan', cssClass: 'e-ie-straighten-span', template: spanWidth, align: 'Center' });
@@ -3236,7 +3280,9 @@ var ToolbarModule = /** @class */ (function () {
3236
3280
  }
3237
3281
  break;
3238
3282
  case 'shapes':
3239
- parent.noPushUndo = true;
3283
+ if (!parent.isPublicMethod) {
3284
+ parent.noPushUndo = true;
3285
+ }
3240
3286
  if (Browser.isDevice) {
3241
3287
  this.initMainToolbar(false, true, true);
3242
3288
  }
@@ -3570,37 +3616,37 @@ var ToolbarModule = /** @class */ (function () {
3570
3616
  if (isNullOrUndefined(parent.toolbar) || !isCustomized || (parent.toolbar && parent.toolbar.indexOf('Default') > -1)) {
3571
3617
  toolbarItems.push({ id: id + '_default', prefixIcon: 'e-icons e-none', cssClass: 'top-icon e-none',
3572
3618
  tooltipText: this.l10n.getConstant('Default'), align: 'Center',
3573
- template: '<div class="filter-wrapper" style="box-sizing: content-box;"><canvas id=' + id + '_defaultCanvas' + ' tabindex=0></canvas><div style="text-align:center;"><span>' + this.l10n.getConstant('Default') + '</span></div></div>' });
3619
+ template: '<div class="filter-wrapper"><canvas id=' + id + '_defaultCanvas' + ' tabindex=0></canvas><div><span>' + this.l10n.getConstant('Default') + '</span></div></div>' });
3574
3620
  }
3575
3621
  if (isNullOrUndefined(parent.toolbar) || !isCustomized || (parent.toolbar && parent.toolbar.indexOf('Chrome') > -1)) {
3576
3622
  toolbarItems.push({ id: id + '_chrome', prefixIcon: 'e-icons e-none', cssClass: 'top-icon e-none',
3577
3623
  tooltipText: this.l10n.getConstant('Chrome'), align: 'Center',
3578
- template: '<div class="filter-wrapper" style="box-sizing: content-box;"><canvas id=' + id + '_chromeCanvas' + '></canvas><div style="text-align:center;"><span>' + this.l10n.getConstant('Chrome') + '</span></div></div>' });
3624
+ template: '<div class="filter-wrapper"><canvas id=' + id + '_chromeCanvas' + '></canvas><div><span>' + this.l10n.getConstant('Chrome') + '</span></div></div>' });
3579
3625
  }
3580
3626
  if (isNullOrUndefined(parent.toolbar) || !isCustomized || (parent.toolbar && parent.toolbar.indexOf('Cold') > -1)) {
3581
3627
  toolbarItems.push({ id: id + '_cold', prefixIcon: 'e-icons e-none', cssClass: 'top-icon e-none',
3582
3628
  tooltipText: this.l10n.getConstant('Cold'), align: 'Center',
3583
- template: '<div class="filter-wrapper" style="box-sizing: content-box;"><canvas id=' + id + '_coldCanvas' + '></canvas><div style="text-align:center;"><span>' + this.l10n.getConstant('Cold') + '</span></div></div>' });
3629
+ template: '<div class="filter-wrapper"><canvas id=' + id + '_coldCanvas' + '></canvas><div><span>' + this.l10n.getConstant('Cold') + '</span></div></div>' });
3584
3630
  }
3585
3631
  if (isNullOrUndefined(parent.toolbar) || !isCustomized || (parent.toolbar && parent.toolbar.indexOf('Warm') > -1)) {
3586
3632
  toolbarItems.push({ id: id + '_warm', prefixIcon: 'e-icons e-none', cssClass: 'top-icon e-none',
3587
3633
  tooltipText: this.l10n.getConstant('Warm'), align: 'Center',
3588
- template: '<div class="filter-wrapper" style="box-sizing: content-box;"><canvas id=' + id + '_warmCanvas' + '></canvas><div style="text-align:center;"><span>' + this.l10n.getConstant('Warm') + '</span></div></div>' });
3634
+ template: '<div class="filter-wrapper"><canvas id=' + id + '_warmCanvas' + '></canvas><div><span>' + this.l10n.getConstant('Warm') + '</span></div></div>' });
3589
3635
  }
3590
3636
  if (isNullOrUndefined(parent.toolbar) || !isCustomized || (parent.toolbar && parent.toolbar.indexOf('Grayscale') > -1)) {
3591
3637
  toolbarItems.push({ id: id + '_grayscale', prefixIcon: 'e-icons e-none', cssClass: 'top-icon e-none',
3592
3638
  tooltipText: this.l10n.getConstant('Grayscale'), align: 'Center',
3593
- template: '<div class="filter-wrapper" style="box-sizing: content-box;"><canvas id=' + id + '_grayscaleCanvas' + '></canvas><div style="text-align:center;"><span>' + this.l10n.getConstant('Grayscale') + '</span></div></div>' });
3639
+ template: '<div class="filter-wrapper"><canvas id=' + id + '_grayscaleCanvas' + '></canvas><div><span>' + this.l10n.getConstant('Grayscale') + '</span></div></div>' });
3594
3640
  }
3595
3641
  if (isNullOrUndefined(parent.toolbar) || !isCustomized || (parent.toolbar && parent.toolbar.indexOf('Sepia') > -1)) {
3596
3642
  toolbarItems.push({ id: id + '_sepia', prefixIcon: 'e-icons e-none', cssClass: 'top-icon e-none',
3597
3643
  tooltipText: this.l10n.getConstant('Sepia'), align: 'Center',
3598
- template: '<div class="filter-wrapper" style="box-sizing: content-box;"><canvas id=' + id + '_sepiaCanvas' + '></canvas><div style="text-align:center;"><span>' + this.l10n.getConstant('Sepia') + '</span></div></div>' });
3644
+ template: '<div class="filter-wrapper"><canvas id=' + id + '_sepiaCanvas' + '></canvas><div><span>' + this.l10n.getConstant('Sepia') + '</span></div></div>' });
3599
3645
  }
3600
3646
  if (isNullOrUndefined(parent.toolbar) || !isCustomized || (parent.toolbar && parent.toolbar.indexOf('Invert') > -1)) {
3601
3647
  toolbarItems.push({ id: id + '_invert', prefixIcon: 'e-icons e-none', cssClass: 'top-icon e-none',
3602
3648
  tooltipText: this.l10n.getConstant('Invert'), align: 'Center',
3603
- template: '<div class="filter-wrapper" style="box-sizing: content-box;"><canvas id=' + id + '_invertCanvas' + '></canvas><div style="text-align:center;"><span>' + this.l10n.getConstant('Invert') + '</span></div></div>' });
3649
+ template: '<div class="filter-wrapper"><canvas id=' + id + '_invertCanvas' + '></canvas><div><span>' + this.l10n.getConstant('Invert') + '</span></div></div>' });
3604
3650
  }
3605
3651
  var tempToolbarItems = this.processToolbar('center');
3606
3652
  for (var i = 0, len = tempToolbarItems.length; i < len; i++) {
@@ -5202,6 +5248,7 @@ var ToolbarModule = /** @class */ (function () {
5202
5248
  var splitWords;
5203
5249
  var actionType;
5204
5250
  var actionArgs;
5251
+ var isRedactClick = false;
5205
5252
  if (parent.activeObj.shape !== undefined) {
5206
5253
  splitWords = parent.activeObj.shape.split('-');
5207
5254
  }
@@ -5505,7 +5552,7 @@ var ToolbarModule = /** @class */ (function () {
5505
5552
  parent.notify('draw', { prop: 'triggerFrameChange', value: { prevFrameSettings: parent.tempFrameObj, obj: { frameChangeEventArgs: null } } });
5506
5553
  break;
5507
5554
  case 'redact':
5508
- parent.currObjType.isRedact = true;
5555
+ parent.currObjType.isRedact = isRedactClick = true;
5509
5556
  parent.drawingShape = 'redact';
5510
5557
  if (isNullOrUndefined(parent.activeObj.redactBlur)) {
5511
5558
  parent.activeObj.redactBlur = 20;
@@ -5518,7 +5565,7 @@ var ToolbarModule = /** @class */ (function () {
5518
5565
  this.redactSlider(parent.activeObj.redactType);
5519
5566
  break;
5520
5567
  case 'pixelate':
5521
- parent.currObjType.isRedact = true;
5568
+ parent.currObjType.isRedact = isRedactClick = true;
5522
5569
  parent.drawingShape = 'redact';
5523
5570
  parent.notify('selection', { prop: 'annotate', value: { shape: 'redact' } });
5524
5571
  if (parent.activeObj.redactType === 'blur') {
@@ -5552,7 +5599,7 @@ var ToolbarModule = /** @class */ (function () {
5552
5599
  }
5553
5600
  break;
5554
5601
  case 'redactblur':
5555
- parent.currObjType.isRedact = true;
5602
+ parent.currObjType.isRedact = isRedactClick = true;
5556
5603
  parent.drawingShape = 'redact';
5557
5604
  parent.notify('selection', { prop: 'annotate', value: { shape: 'redact' } });
5558
5605
  parent.notify('shape', { prop: 'setRedactType', onPropertyChange: false,
@@ -5587,6 +5634,10 @@ var ToolbarModule = /** @class */ (function () {
5587
5634
  }
5588
5635
  break;
5589
5636
  }
5637
+ if (isRedactClick) {
5638
+ parent.notify('draw', { prop: 'updateTempObjColl' });
5639
+ parent.notify('draw', { prop: 'updateTempPointColl' });
5640
+ }
5590
5641
  }
5591
5642
  };
5592
5643
  ToolbarModule.prototype.updateRedactType = function (value) {
@@ -507,6 +507,13 @@
507
507
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
508
508
  height: auto !important; /* stylelint-disable-line declaration-no-important */
509
509
  }
510
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
511
+ -webkit-box-sizing: content-box;
512
+ box-sizing: content-box;
513
+ }
514
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
515
+ text-align: center;
516
+ }
510
517
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
511
518
  border: 2px solid transparent;
512
519
  height: 100px;
@@ -790,6 +797,10 @@
790
797
  top: calc(50% + 60px);
791
798
  }
792
799
 
800
+ .e-image-editor.e-control.e-readonly {
801
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
802
+ }
803
+
793
804
  .e-image-editor {
794
805
  background: var(--color-sf-border-secondary);
795
806
  }
package/styles/bds.css CHANGED
@@ -507,6 +507,13 @@
507
507
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
508
508
  height: auto !important; /* stylelint-disable-line declaration-no-important */
509
509
  }
510
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
511
+ -webkit-box-sizing: content-box;
512
+ box-sizing: content-box;
513
+ }
514
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
515
+ text-align: center;
516
+ }
510
517
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
511
518
  border: 2px solid transparent;
512
519
  height: 100px;
@@ -790,6 +797,10 @@
790
797
  top: calc(50% + 60px);
791
798
  }
792
799
 
800
+ .e-image-editor.e-control.e-readonly {
801
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
802
+ }
803
+
793
804
  .e-image-editor {
794
805
  background: var(--color-sf-border-secondary);
795
806
  }
@@ -398,6 +398,13 @@
398
398
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
399
399
  height: auto !important; /* stylelint-disable-line declaration-no-important */
400
400
  }
401
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
402
+ -webkit-box-sizing: content-box;
403
+ box-sizing: content-box;
404
+ }
405
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
406
+ text-align: center;
407
+ }
401
408
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
402
409
  border: 2px solid transparent;
403
410
  height: 100px;
@@ -677,6 +684,10 @@
677
684
  top: calc(50% + 60px);
678
685
  }
679
686
 
687
+ .e-image-editor.e-control.e-readonly {
688
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
689
+ }
690
+
680
691
  .e-image-editor {
681
692
  background: #959595;
682
693
  }
@@ -398,6 +398,13 @@
398
398
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
399
399
  height: auto !important; /* stylelint-disable-line declaration-no-important */
400
400
  }
401
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
402
+ -webkit-box-sizing: content-box;
403
+ box-sizing: content-box;
404
+ }
405
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
406
+ text-align: center;
407
+ }
401
408
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
402
409
  border: 2px solid transparent;
403
410
  height: 100px;
@@ -677,6 +684,10 @@
677
684
  top: calc(50% + 60px);
678
685
  }
679
686
 
687
+ .e-image-editor.e-control.e-readonly {
688
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
689
+ }
690
+
680
691
  .e-image-editor {
681
692
  background: #959595;
682
693
  }
@@ -398,6 +398,13 @@
398
398
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
399
399
  height: auto !important; /* stylelint-disable-line declaration-no-important */
400
400
  }
401
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
402
+ -webkit-box-sizing: content-box;
403
+ box-sizing: content-box;
404
+ }
405
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
406
+ text-align: center;
407
+ }
401
408
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
402
409
  border: 2px solid transparent;
403
410
  height: 100px;
@@ -678,6 +685,10 @@
678
685
  top: calc(50% + 60px);
679
686
  }
680
687
 
688
+ .e-image-editor.e-control.e-readonly {
689
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
690
+ }
691
+
681
692
  .e-image-editor {
682
693
  background: #e6e6e6;
683
694
  }
@@ -398,6 +398,13 @@
398
398
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
399
399
  height: auto !important; /* stylelint-disable-line declaration-no-important */
400
400
  }
401
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
402
+ -webkit-box-sizing: content-box;
403
+ box-sizing: content-box;
404
+ }
405
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
406
+ text-align: center;
407
+ }
401
408
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
402
409
  border: 2px solid transparent;
403
410
  height: 100px;
@@ -678,6 +685,10 @@
678
685
  top: calc(50% + 60px);
679
686
  }
680
687
 
688
+ .e-image-editor.e-control.e-readonly {
689
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
690
+ }
691
+
681
692
  .e-image-editor {
682
693
  background: #e6e6e6;
683
694
  }
@@ -397,6 +397,13 @@
397
397
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
398
398
  height: auto !important; /* stylelint-disable-line declaration-no-important */
399
399
  }
400
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
401
+ -webkit-box-sizing: content-box;
402
+ box-sizing: content-box;
403
+ }
404
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
405
+ text-align: center;
406
+ }
400
407
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
401
408
  border: 2px solid transparent;
402
409
  height: 100px;
@@ -676,6 +683,10 @@
676
683
  top: calc(50% + 60px);
677
684
  }
678
685
 
686
+ .e-image-editor.e-control.e-readonly {
687
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
688
+ }
689
+
679
690
  .e-image-editor {
680
691
  background: #e9ecef;
681
692
  }
@@ -683,10 +694,10 @@
683
694
  background: #f8f9fa;
684
695
  }
685
696
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper canvas {
686
- border-color: #545b62 !important; /* stylelint-disable-line declaration-no-important */
697
+ border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785) !important; /* stylelint-disable-line declaration-no-important */
687
698
  }
688
699
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper:focus canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper:focus canvas {
689
- border-color: #545b62 !important; /* stylelint-disable-line declaration-no-important */
700
+ border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785) !important; /* stylelint-disable-line declaration-no-important */
690
701
  }
691
702
  .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn {
692
703
  background: #495057 !important; /* stylelint-disable-line declaration-no-important */
@@ -708,15 +719,15 @@
708
719
  color: #fff;
709
720
  }
710
721
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:focus {
711
- background: #5b636a;
722
+ background: rgb(91.452360515, 99.0733905579, 105.847639485);
712
723
  -webkit-box-shadow: none;
713
724
  box-shadow: none;
714
725
  color: #fff;
715
- -webkit-box-shadow: 0 0 0 0.25em rgba(115, 122, 129, 0.5) !important;
716
- box-shadow: 0 0 0 0.25em rgba(115, 122, 129, 0.5) !important; /* stylelint-disable-line declaration-no-important */
726
+ -webkit-box-shadow: 0 0 0 0.25em rgba(115.3599785408, 122.5070600858, 128.8600214592, 0.5) !important;
727
+ box-shadow: 0 0 0 0.25em rgba(115.3599785408, 122.5070600858, 128.8600214592, 0.5) !important; /* stylelint-disable-line declaration-no-important */
717
728
  }
718
729
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:active {
719
- background: #545b62;
730
+ background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
720
731
  -webkit-box-shadow: none;
721
732
  box-shadow: none;
722
733
  color: #fff;
@@ -397,6 +397,13 @@
397
397
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
398
398
  height: auto !important; /* stylelint-disable-line declaration-no-important */
399
399
  }
400
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
401
+ -webkit-box-sizing: content-box;
402
+ box-sizing: content-box;
403
+ }
404
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
405
+ text-align: center;
406
+ }
400
407
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
401
408
  border: 2px solid transparent;
402
409
  height: 100px;
@@ -676,6 +683,10 @@
676
683
  top: calc(50% + 60px);
677
684
  }
678
685
 
686
+ .e-image-editor.e-control.e-readonly {
687
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
688
+ }
689
+
679
690
  .e-image-editor {
680
691
  background: #e9ecef;
681
692
  }
@@ -683,10 +694,10 @@
683
694
  background: #f8f9fa;
684
695
  }
685
696
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper canvas {
686
- border-color: #545b62 !important; /* stylelint-disable-line declaration-no-important */
697
+ border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785) !important; /* stylelint-disable-line declaration-no-important */
687
698
  }
688
699
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper:focus canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper:focus canvas {
689
- border-color: #545b62 !important; /* stylelint-disable-line declaration-no-important */
700
+ border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785) !important; /* stylelint-disable-line declaration-no-important */
690
701
  }
691
702
  .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn {
692
703
  background: #495057 !important; /* stylelint-disable-line declaration-no-important */
@@ -708,15 +719,15 @@
708
719
  color: #fff;
709
720
  }
710
721
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:focus {
711
- background: #5b636a;
722
+ background: rgb(91.452360515, 99.0733905579, 105.847639485);
712
723
  -webkit-box-shadow: none;
713
724
  box-shadow: none;
714
725
  color: #fff;
715
- -webkit-box-shadow: 0 0 0 0.25em rgba(115, 122, 129, 0.5) !important;
716
- box-shadow: 0 0 0 0.25em rgba(115, 122, 129, 0.5) !important; /* stylelint-disable-line declaration-no-important */
726
+ -webkit-box-shadow: 0 0 0 0.25em rgba(115.3599785408, 122.5070600858, 128.8600214592, 0.5) !important;
727
+ box-shadow: 0 0 0 0.25em rgba(115.3599785408, 122.5070600858, 128.8600214592, 0.5) !important; /* stylelint-disable-line declaration-no-important */
717
728
  }
718
729
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:active {
719
- background: #545b62;
730
+ background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
720
731
  -webkit-box-shadow: none;
721
732
  box-shadow: none;
722
733
  color: #fff;
@@ -403,6 +403,13 @@
403
403
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
404
404
  height: auto !important; /* stylelint-disable-line declaration-no-important */
405
405
  }
406
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
407
+ -webkit-box-sizing: content-box;
408
+ box-sizing: content-box;
409
+ }
410
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
411
+ text-align: center;
412
+ }
406
413
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
407
414
  border: 2px solid transparent;
408
415
  height: 100px;
@@ -683,20 +690,24 @@
683
690
  top: calc(50% + 60px);
684
691
  }
685
692
 
693
+ .e-image-editor.e-control.e-readonly {
694
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
695
+ }
696
+
686
697
  .e-image-editor {
687
- background: #444c54;
698
+ background: rgb(68.0034482759, 75.85, 83.6965517241);
688
699
  }
689
700
  .e-image-editor .e-contextual-toolbar-wrapper {
690
- background: #282d31;
701
+ background: rgb(26.177027027, 29.35, 32.522972973);
691
702
  }
692
703
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper canvas {
693
- border-color: #565e64 !important; /* stylelint-disable-line declaration-no-important */
704
+ border-color: rgb(86.4, 93.6, 100) !important; /* stylelint-disable-line declaration-no-important */
694
705
  }
695
706
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper:focus canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper:focus canvas {
696
- border-color: #565e64 !important; /* stylelint-disable-line declaration-no-important */
707
+ border-color: rgb(86.4, 93.6, 100) !important; /* stylelint-disable-line declaration-no-important */
697
708
  }
698
709
  .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn {
699
- background: #5c636a !important; /* stylelint-disable-line declaration-no-important */
710
+ background: rgb(91.8, 99.45, 106.25) !important; /* stylelint-disable-line declaration-no-important */
700
711
  }
701
712
  .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn .e-icons {
702
713
  color: #fff;
@@ -705,28 +716,28 @@
705
716
  background: inherit;
706
717
  border: none;
707
718
  margin-top: -1px;
708
- background: #282d31;
719
+ background: rgb(26.177027027, 29.35, 32.522972973);
709
720
  color: #adb5bd;
710
721
  }
711
722
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn .e-caret-hide {
712
723
  display: none !important; /* stylelint-disable-line declaration-no-important */
713
724
  }
714
725
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:hover {
715
- background: #5c636a;
726
+ background: rgb(91.8, 99.45, 106.25);
716
727
  -webkit-box-shadow: none;
717
728
  box-shadow: none;
718
729
  color: #fff;
719
730
  }
720
731
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:focus {
721
- background: #5c636a;
732
+ background: rgb(91.8, 99.45, 106.25);
722
733
  -webkit-box-shadow: none;
723
734
  box-shadow: none;
724
735
  color: #fff;
725
- -webkit-box-shadow: 0 0 0 4px rgba(130, 138, 145, 0.5) !important;
726
- box-shadow: 0 0 0 4px rgba(130, 138, 145, 0.5) !important; /* stylelint-disable-line declaration-no-important */
736
+ -webkit-box-shadow: 0 0 0 4px rgba(130.05, 137.7, 144.5, 0.5) !important;
737
+ box-shadow: 0 0 0 4px rgba(130.05, 137.7, 144.5, 0.5) !important; /* stylelint-disable-line declaration-no-important */
727
738
  }
728
739
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:active {
729
- background: #565e64;
740
+ background: rgb(86.4, 93.6, 100);
730
741
  -webkit-box-shadow: none;
731
742
  box-shadow: none;
732
743
  color: #fff;
@@ -752,7 +763,7 @@
752
763
  }
753
764
 
754
765
  .e-dropdown-popup .e-selected-btn {
755
- background: #5c636a !important; /* stylelint-disable-line declaration-no-important */
766
+ background: rgb(91.8, 99.45, 106.25) !important; /* stylelint-disable-line declaration-no-important */
756
767
  color: #fff !important; /* stylelint-disable-line declaration-no-important */
757
768
  }
758
769
  .e-ie-filter-canvas:focus,
@@ -403,6 +403,13 @@
403
403
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
404
404
  height: auto !important; /* stylelint-disable-line declaration-no-important */
405
405
  }
406
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
407
+ -webkit-box-sizing: content-box;
408
+ box-sizing: content-box;
409
+ }
410
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper div {
411
+ text-align: center;
412
+ }
406
413
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper canvas {
407
414
  border: 2px solid transparent;
408
415
  height: 100px;
@@ -683,20 +690,24 @@
683
690
  top: calc(50% + 60px);
684
691
  }
685
692
 
693
+ .e-image-editor.e-control.e-readonly {
694
+ opacity: 1 !important; /* stylelint-disable-line declaration-no-important */
695
+ }
696
+
686
697
  .e-image-editor {
687
- background: #444c54;
698
+ background: rgb(68.0034482759, 75.85, 83.6965517241);
688
699
  }
689
700
  .e-image-editor .e-contextual-toolbar-wrapper {
690
- background: #282d31;
701
+ background: rgb(26.177027027, 29.35, 32.522972973);
691
702
  }
692
703
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper canvas {
693
- border-color: #565e64 !important; /* stylelint-disable-line declaration-no-important */
704
+ border-color: rgb(86.4, 93.6, 100) !important; /* stylelint-disable-line declaration-no-important */
694
705
  }
695
706
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper:focus canvas, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper:focus canvas {
696
- border-color: #565e64 !important; /* stylelint-disable-line declaration-no-important */
707
+ border-color: rgb(86.4, 93.6, 100) !important; /* stylelint-disable-line declaration-no-important */
697
708
  }
698
709
  .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn {
699
- background: #5c636a !important; /* stylelint-disable-line declaration-no-important */
710
+ background: rgb(91.8, 99.45, 106.25) !important; /* stylelint-disable-line declaration-no-important */
700
711
  }
701
712
  .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn .e-icons {
702
713
  color: #fff;
@@ -705,28 +716,28 @@
705
716
  background: inherit;
706
717
  border: none;
707
718
  margin-top: -1px;
708
- background: #282d31;
719
+ background: rgb(26.177027027, 29.35, 32.522972973);
709
720
  color: #adb5bd;
710
721
  }
711
722
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn .e-caret-hide {
712
723
  display: none !important; /* stylelint-disable-line declaration-no-important */
713
724
  }
714
725
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:hover {
715
- background: #5c636a;
726
+ background: rgb(91.8, 99.45, 106.25);
716
727
  -webkit-box-shadow: none;
717
728
  box-shadow: none;
718
729
  color: #fff;
719
730
  }
720
731
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:focus {
721
- background: #5c636a;
732
+ background: rgb(91.8, 99.45, 106.25);
722
733
  -webkit-box-shadow: none;
723
734
  box-shadow: none;
724
735
  color: #fff;
725
- -webkit-box-shadow: 0 0 0 4px rgba(130, 138, 145, 0.5) !important;
726
- box-shadow: 0 0 0 4px rgba(130, 138, 145, 0.5) !important; /* stylelint-disable-line declaration-no-important */
736
+ -webkit-box-shadow: 0 0 0 4px rgba(130.05, 137.7, 144.5, 0.5) !important;
737
+ box-shadow: 0 0 0 4px rgba(130.05, 137.7, 144.5, 0.5) !important; /* stylelint-disable-line declaration-no-important */
727
738
  }
728
739
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:active {
729
- background: #565e64;
740
+ background: rgb(86.4, 93.6, 100);
730
741
  -webkit-box-shadow: none;
731
742
  box-shadow: none;
732
743
  color: #fff;
@@ -752,7 +763,7 @@
752
763
  }
753
764
 
754
765
  .e-dropdown-popup .e-selected-btn {
755
- background: #5c636a !important; /* stylelint-disable-line declaration-no-important */
766
+ background: rgb(91.8, 99.45, 106.25) !important; /* stylelint-disable-line declaration-no-important */
756
767
  color: #fff !important; /* stylelint-disable-line declaration-no-important */
757
768
  }
758
769
  .e-ie-filter-canvas:focus,