@syncfusion/ej2-image-editor 21.2.10 → 22.1.34

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 (105) hide show
  1. package/.eslintrc.json +1 -0
  2. package/CHANGELOG.md +6 -38
  3. package/dist/ej2-image-editor.umd.min.js +2 -2
  4. package/dist/ej2-image-editor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-image-editor.es2015.js +19163 -12410
  6. package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-image-editor.es5.js +19198 -12414
  8. package/dist/es6/ej2-image-editor.es5.js.map +1 -1
  9. package/dist/global/ej2-image-editor.min.js +2 -2
  10. package/dist/global/ej2-image-editor.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +11 -11
  13. package/src/image-editor/action/crop.d.ts +35 -0
  14. package/src/image-editor/action/crop.js +818 -0
  15. package/src/image-editor/action/draw.d.ts +122 -0
  16. package/src/image-editor/action/draw.js +3253 -0
  17. package/src/image-editor/action/export.d.ts +23 -0
  18. package/src/image-editor/action/export.js +364 -0
  19. package/src/image-editor/action/filter.d.ts +35 -0
  20. package/src/image-editor/action/filter.js +699 -0
  21. package/src/image-editor/action/freehand-draw.d.ts +61 -0
  22. package/src/image-editor/action/freehand-draw.js +1015 -0
  23. package/src/image-editor/action/index.d.ts +9 -0
  24. package/src/image-editor/action/index.js +9 -0
  25. package/src/image-editor/action/selection.d.ts +140 -0
  26. package/src/image-editor/action/selection.js +4689 -0
  27. package/src/image-editor/action/shape.d.ts +93 -0
  28. package/src/image-editor/action/shape.js +2657 -0
  29. package/src/image-editor/action/transform.d.ts +67 -0
  30. package/src/image-editor/action/transform.js +1670 -0
  31. package/src/image-editor/action/undo-redo.d.ts +43 -0
  32. package/src/image-editor/action/undo-redo.js +800 -0
  33. package/src/image-editor/base/enum.d.ts +189 -0
  34. package/src/image-editor/base/enum.js +198 -0
  35. package/src/image-editor/{image-editor-model.d.ts → base/image-editor-model.d.ts} +131 -43
  36. package/src/image-editor/{image-editor.d.ts → base/image-editor.d.ts} +425 -1108
  37. package/src/image-editor/base/image-editor.js +2458 -0
  38. package/src/image-editor/base/index.d.ts +4 -0
  39. package/src/image-editor/base/index.js +2 -0
  40. package/src/image-editor/base/interface.d.ts +1120 -0
  41. package/src/image-editor/base/interface.js +1 -0
  42. package/src/image-editor/index.d.ts +3 -5
  43. package/src/image-editor/index.js +3 -4
  44. package/src/image-editor/renderer/index.d.ts +1 -0
  45. package/src/image-editor/renderer/index.js +1 -0
  46. package/src/image-editor/renderer/toolbar.d.ts +105 -0
  47. package/src/image-editor/renderer/toolbar.js +3019 -0
  48. package/styles/bootstrap-dark.css +69 -3
  49. package/styles/bootstrap.css +69 -3
  50. package/styles/bootstrap4.css +69 -3
  51. package/styles/bootstrap5-dark.css +69 -3
  52. package/styles/bootstrap5.css +69 -3
  53. package/styles/fabric-dark.css +69 -3
  54. package/styles/fabric.css +69 -3
  55. package/styles/fluent-dark.css +69 -3
  56. package/styles/fluent.css +69 -3
  57. package/styles/highcontrast-light.css +69 -3
  58. package/styles/highcontrast.css +69 -7
  59. package/styles/image-editor/_layout.scss +21 -7
  60. package/styles/image-editor/_material3-dark-definition.scss +1 -0
  61. package/styles/image-editor/_material3-definition.scss +11 -0
  62. package/styles/image-editor/_theme.scss +9 -2
  63. package/styles/image-editor/bootstrap-dark.css +69 -3
  64. package/styles/image-editor/bootstrap.css +69 -3
  65. package/styles/image-editor/bootstrap4.css +69 -3
  66. package/styles/image-editor/bootstrap5-dark.css +69 -3
  67. package/styles/image-editor/bootstrap5.css +69 -3
  68. package/styles/image-editor/fabric-dark.css +69 -3
  69. package/styles/image-editor/fabric.css +69 -3
  70. package/styles/image-editor/fluent-dark.css +69 -3
  71. package/styles/image-editor/fluent.css +69 -3
  72. package/styles/image-editor/highcontrast-light.css +69 -3
  73. package/styles/image-editor/highcontrast.css +69 -7
  74. package/styles/image-editor/icons/_bootstrap-dark.scss +132 -0
  75. package/styles/image-editor/icons/_bootstrap.scss +132 -0
  76. package/styles/image-editor/icons/_bootstrap4.scss +132 -0
  77. package/styles/image-editor/icons/_bootstrap5.scss +132 -0
  78. package/styles/image-editor/icons/_fabric-dark.scss +132 -0
  79. package/styles/image-editor/icons/_fabric.scss +132 -0
  80. package/styles/image-editor/icons/_fluent.scss +132 -0
  81. package/styles/image-editor/icons/_fusionnew.scss +132 -0
  82. package/styles/image-editor/icons/_highcontrast-light.scss +132 -0
  83. package/styles/image-editor/icons/_highcontrast.scss +132 -0
  84. package/styles/image-editor/icons/_material-dark.scss +132 -0
  85. package/styles/image-editor/icons/_material.scss +132 -0
  86. package/styles/image-editor/icons/_material3-dark.scss +1 -0
  87. package/styles/image-editor/icons/_material3.scss +133 -1
  88. package/styles/image-editor/icons/_tailwind.scss +132 -0
  89. package/styles/image-editor/material-dark.css +69 -3
  90. package/styles/image-editor/material.css +69 -3
  91. package/styles/image-editor/material3-dark.css +453 -0
  92. package/styles/image-editor/material3-dark.scss +14 -0
  93. package/styles/image-editor/material3.css +509 -0
  94. package/styles/image-editor/material3.scss +14 -0
  95. package/styles/image-editor/tailwind-dark.css +69 -3
  96. package/styles/image-editor/tailwind.css +69 -3
  97. package/styles/material-dark.css +69 -3
  98. package/styles/material.css +69 -3
  99. package/styles/material3-dark.css +453 -0
  100. package/styles/material3-dark.scss +3 -0
  101. package/styles/material3.css +509 -0
  102. package/styles/material3.scss +3 -0
  103. package/styles/tailwind-dark.css +69 -3
  104. package/styles/tailwind.css +69 -3
  105. package/src/image-editor/image-editor.js +0 -14827
@@ -0,0 +1,509 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
2
+ :root {
3
+ --color-sf-black: 0, 0, 0;
4
+ --color-sf-white: 255, 255, 255;
5
+ --color-sf-primary: 103, 80, 164;
6
+ --color-sf-primary-container: 234, 221, 255;
7
+ --color-sf-secondary: 98, 91, 113;
8
+ --color-sf-secondary-container: 232, 222, 248;
9
+ --color-sf-tertiary: 125, 82, 96;
10
+ --color-sf-tertiary-container: 255, 216, 228;
11
+ --color-sf-surface: 255, 255, 255;
12
+ --color-sf-surface-variant: 231, 224, 236;
13
+ --color-sf-background: var(--color-sf-surface);
14
+ --color-sf-on-primary: 255, 255, 255;
15
+ --color-sf-on-primary-container: 33, 0, 94;
16
+ --color-sf-on-secondary: 255, 255, 255;
17
+ --color-sf-on-secondary-container: 30, 25, 43;
18
+ --color-sf-on-tertiary: 255, 255, 255;
19
+ --color-sf-on-tertiary-containe: 55, 11, 30;
20
+ --color-sf-on-surface: 28, 27, 31;
21
+ --color-sf-on-surface-variant: 73, 69, 78;
22
+ --color-sf-on-background: 28, 27, 31;
23
+ --color-sf-outline: 121, 116, 126;
24
+ --color-sf-outline-variant: 196, 199, 197;
25
+ --color-sf-shadow: 0, 0, 0;
26
+ --color-sf-surface-tint-color: 103, 80, 164;
27
+ --color-sf-inverse-surface: 49, 48, 51;
28
+ --color-sf-inverse-on-surface: 244, 239, 244;
29
+ --color-sf-inverse-primary: 208, 188, 255;
30
+ --color-sf-scrim: 0, 0, 0;
31
+ --color-sf-error: 179, 38, 30;
32
+ --color-sf-error-container: 249, 222, 220;
33
+ --color-sf-on-error: 255, 250, 250;
34
+ --color-sf-on-error-container: 65, 14, 11;
35
+ --color-sf-success: 32, 81, 7;
36
+ --color-sf-success-container: 209, 255, 186;
37
+ --color-sf-on-success: 244, 255, 239;
38
+ --color-sf-on-success-container: 13, 39, 0;
39
+ --color-sf-info: 1, 87, 155;
40
+ --color-sf-info-container: 233, 245, 255;
41
+ --color-sf-on-info: 250, 253, 255;
42
+ --color-sf-on-info-container: 0, 51, 91;
43
+ --color-sf-warning: 145, 76, 0;
44
+ --color-sf-warning-container: 254, 236, 222;
45
+ --color-sf-on-warning: 255, 255, 255;
46
+ --color-sf-on-warning-container: 47, 21, 0;
47
+ --color-sf-spreadsheet-gridline: var(--color-sf-surface-variant);
48
+ --color-sf-shadow-focus-ring1: 0 0 0 1px rgb(255, 255, 255), 0 0 0 3px rgb(0, 0, 0);
49
+ --color-sf-diagram-palette-background: --color-sf-white;
50
+ --color-sf-success-text: 255, 255, 255;
51
+ --color-sf-warning-text: 255, 255, 255;
52
+ --color-sf-danger-text: 255, 255, 255;
53
+ --color-sf-info-text: 255, 255, 255;
54
+ --color-sf-content-text-color-alt2: var(--color-sf-on-secondary-container);
55
+ --color-sf-secondary-bg-color: var(--color-sf-surface);
56
+ }
57
+
58
+ .e-dark-mode {
59
+ --color-sf-black: 0, 0, 0;
60
+ --color-sf-white: 255, 255, 255;
61
+ --color-sf-primary: 208, 188, 255;
62
+ --color-sf-primary-container: 79, 55, 139;
63
+ --color-sf-secondary: 204, 194, 220;
64
+ --color-sf-secondary-container: 74, 68, 88;
65
+ --color-sf-tertiary: 239, 184, 200;
66
+ --color-sf-tertiary-container: 99, 59, 72;
67
+ --color-sf-surface: 28, 27, 31;
68
+ --color-sf-surface-variant: 28, 27, 31;
69
+ --color-sf-background: var(--color-sf-surface);
70
+ --color-sf-on-primary: 55, 30, 115;
71
+ --color-sf-on-primary-container: 234, 221, 255;
72
+ --color-sf-on-secondary: 51, 45, 65;
73
+ --color-sf-on-secondary-container: 232, 222, 248;
74
+ --color-sf-on-tertiary: 73, 37, 50;
75
+ --color-sf-on-tertiary-containe: 255, 216, 228;
76
+ --color-sf-on-surface: 230, 225, 229;
77
+ --color-sf-on-surface-variant: 202, 196, 208;
78
+ --color-sf-on-background: 230, 225, 229;
79
+ --color-sf-outline: 147, 143, 153;
80
+ --color-sf-outline-variant: 68, 71, 70;
81
+ --color-sf-shadow: 0, 0, 0;
82
+ --color-sf-surface-tint-color: 208, 188, 255;
83
+ --color-sf-inverse-surface: 230, 225, 229;
84
+ --color-sf-inverse-on-surface: 49, 48, 51;
85
+ --color-sf-inverse-primary: 103, 80, 164;
86
+ --color-sf-scrim: 0, 0, 0;
87
+ --color-sf-error: 242, 184, 181;
88
+ --color-sf-error-container: 140, 29, 24;
89
+ --color-sf-on-error: 96, 20, 16;
90
+ --color-sf-on-error-container: 249, 222, 220;
91
+ --color-sf-success: 83, 202, 23;
92
+ --color-sf-success-container: 22, 62, 2;
93
+ --color-sf-on-success: 13, 39, 0;
94
+ --color-sf-on-success-container: 183, 250, 150;
95
+ --color-sf-info: 71, 172, 251;
96
+ --color-sf-info-container: 0, 67, 120;
97
+ --color-sf-on-info: 0, 51, 91;
98
+ --color-sf-on-info-container: 173, 219, 255;
99
+ --color-sf-warning: 245, 180, 130;
100
+ --color-sf-warning-container: 123, 65, 0;
101
+ --color-sf-on-warning: 99, 52, 0;
102
+ --color-sf-on-warning-container: 255, 220, 193;
103
+ --color-sf-spreadsheet-gridline: 231, 224, 236;
104
+ --color-sf-shadow-focus-ring1: 0 0 0 1px #000000, 0 0 0 3px #ffffff;
105
+ --color-sf-success-text: 0, 0, 0;
106
+ --color-sf-warning-text: 0, 0, 0;
107
+ --color-sf-info-text: 0, 0, 0;
108
+ --color-sf-danger-text: 0, 0, 0;
109
+ --color-sf-diagram-palette-background: var(--color-sf-inverse-surface);
110
+ --color-sf-content-text-color-alt2: var(--color-sf-on-secondary);
111
+ }
112
+
113
+ /* stylelint-disable-line no-empty-source */ /*! Toolbar's material3 theme wise override definitions and variables */
114
+ /* stylelint-disable */
115
+ /* stylelint-disable property-no-vendor-prefix */
116
+ @keyframes material-spinner-rotate {
117
+ 0% {
118
+ transform: rotate(0deg);
119
+ }
120
+ 100% {
121
+ transform: rotate(360deg);
122
+ }
123
+ }
124
+ @keyframes fabric-spinner-rotate {
125
+ 0% {
126
+ transform: rotate(0deg);
127
+ }
128
+ 100% {
129
+ transform: rotate(360deg);
130
+ }
131
+ }
132
+ .e-image-editor .e-upload-icon::before {
133
+ content: "\e760";
134
+ }
135
+ .e-image-editor .e-zoom-in::before {
136
+ content: "\e768";
137
+ }
138
+ .e-image-editor .e-zoom-out::before {
139
+ content: "\e81b";
140
+ }
141
+ .e-image-editor .e-pan::before {
142
+ content: "\e7b1";
143
+ }
144
+ .e-image-editor .e-select::before {
145
+ content: "\e896";
146
+ }
147
+ .e-image-editor .e-transform::before {
148
+ content: "\e8b0";
149
+ }
150
+ .e-image-editor .e-annotation::before {
151
+ content: "\e730";
152
+ }
153
+ .e-image-editor .e-shapes::before {
154
+ content: "\e728";
155
+ }
156
+ .e-image-editor .e-vertical-flip::before {
157
+ content: "\e8a4";
158
+ }
159
+ .e-image-editor .e-mouse::before {
160
+ content: "\e767";
161
+ }
162
+ .e-image-editor .e-btn-reset::before {
163
+ content: "\e772";
164
+ }
165
+ .e-image-editor .e-btn-save::before {
166
+ content: "\e735";
167
+ }
168
+ .e-image-editor .e-custom::before {
169
+ content: "\e8a9";
170
+ }
171
+ .e-image-editor .e-close::before {
172
+ content: "\e7e7";
173
+ }
174
+ .e-image-editor .e-check::before {
175
+ content: "\e8b1";
176
+ }
177
+ .e-image-editor .e-text-font-color.e-template .e-caret::before {
178
+ content: "\e76f";
179
+ }
180
+ .e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
181
+ content: "\e739";
182
+ }
183
+ .e-image-editor .e-fill.e-template .e-caret::before {
184
+ content: "\e783";
185
+ }
186
+ .e-image-editor .e-custom::before {
187
+ content: "\e8a9";
188
+ }
189
+ .e-image-editor .e-circle::before {
190
+ content: "\e7ca";
191
+ }
192
+ .e-image-editor .e-square::before {
193
+ content: "\e8aa";
194
+ }
195
+ .e-image-editor .e-custom-a::before {
196
+ content: "\e8ab";
197
+ }
198
+ .e-image-editor .e-custom-b::before {
199
+ content: "\e8ac";
200
+ }
201
+ .e-image-editor .e-custom-c::before {
202
+ content: "\e8ad";
203
+ }
204
+ .e-image-editor .e-custom-d::before {
205
+ content: "\e8ae";
206
+ }
207
+ .e-image-editor .e-custom-e::before {
208
+ content: "\e8af";
209
+ }
210
+ .e-image-editor .e-horizontal-flip::before {
211
+ content: "\e8a3";
212
+ }
213
+ .e-image-editor .e-vertical-flip::before {
214
+ content: "\e8a4";
215
+ }
216
+ .e-image-editor .e-clock-wise::before {
217
+ content: "\e8a6";
218
+ }
219
+ .e-image-editor .e-anti-clock-wise::before {
220
+ content: "\e8a5";
221
+ }
222
+ .e-image-editor .e-rectangle::before {
223
+ content: "\e723";
224
+ }
225
+ .e-image-editor .e-circle::before {
226
+ content: "\e7ca";
227
+ }
228
+ .e-image-editor .e-triangle::before {
229
+ content: "\e89c";
230
+ }
231
+ .e-image-editor .e-line::before {
232
+ content: "\e819";
233
+ }
234
+ .e-image-editor .e-add-text::before {
235
+ content: "\e82e";
236
+ }
237
+ .e-image-editor .e-free-pen::before {
238
+ content: "\e7db";
239
+ }
240
+ .e-image-editor .e-arrow::before {
241
+ content: "\e669";
242
+ }
243
+ .e-image-editor .e-path::before {
244
+ content: "\e931";
245
+ }
246
+
247
+ .e-dropdown-popup.e-image-popup .e-custom::before {
248
+ content: "\e8a9";
249
+ }
250
+ .e-dropdown-popup.e-image-popup .e-circle::before {
251
+ content: "\e7ca";
252
+ }
253
+ .e-dropdown-popup.e-image-popup .e-square::before {
254
+ content: "\e8aa";
255
+ }
256
+ .e-dropdown-popup.e-image-popup .e-custom-a::before {
257
+ content: "\e8ab";
258
+ }
259
+ .e-dropdown-popup.e-image-popup .e-custom-b::before {
260
+ content: "\e8ac";
261
+ }
262
+ .e-dropdown-popup.e-image-popup .e-custom-c::before {
263
+ content: "\e8ad";
264
+ }
265
+ .e-dropdown-popup.e-image-popup .e-custom-d::before {
266
+ content: "\e8ae";
267
+ }
268
+ .e-dropdown-popup.e-image-popup .e-custom-e::before {
269
+ content: "\e8af";
270
+ }
271
+ .e-dropdown-popup.e-image-popup .e-rectangle::before {
272
+ content: "\e723";
273
+ }
274
+ .e-dropdown-popup.e-image-popup .e-circle::before {
275
+ content: "\e7ca";
276
+ }
277
+ .e-dropdown-popup.e-image-popup .e-triangle::before {
278
+ content: "\e89c";
279
+ }
280
+ .e-dropdown-popup.e-image-popup .e-line::before {
281
+ content: "\e819";
282
+ }
283
+ .e-dropdown-popup.e-image-popup .e-free-pen::before {
284
+ content: "\e7db";
285
+ }
286
+ .e-dropdown-popup.e-image-popup .e-horizontal-flip::before {
287
+ content: "\e8a3";
288
+ }
289
+ .e-dropdown-popup.e-image-popup .e-vertical-flip::before {
290
+ content: "\e8a4";
291
+ }
292
+ .e-dropdown-popup.e-image-popup .e-custom::before {
293
+ content: "\e8a9";
294
+ }
295
+ .e-dropdown-popup.e-image-popup .e-clock-wise::before {
296
+ content: "\e8a6";
297
+ }
298
+ .e-dropdown-popup.e-image-popup .e-anti-clock-wise::before {
299
+ content: "\e8a5";
300
+ }
301
+ .e-dropdown-popup.e-image-popup .e-add-text::before {
302
+ content: "\e82e";
303
+ }
304
+ .e-dropdown-popup.e-image-popup .e-arrow::before {
305
+ content: "\e669";
306
+ }
307
+ .e-dropdown-popup.e-image-popup .e-path::before {
308
+ content: "\e931";
309
+ }
310
+
311
+ .e-ie-toolbar-upload-div.e-hide,
312
+ .e-ie-toolbar-upload-btn.e-hide {
313
+ display: none;
314
+ }
315
+
316
+ .e-device.e-image-editor .e-img-font-style.e-template {
317
+ margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
318
+ }
319
+ .e-device.e-image-editor .e-slider-container {
320
+ margin-left: calc(50% - 50px) !important; /* stylelint-disable-line declaration-no-important */
321
+ height: 54px !important; /* stylelint-disable-line declaration-no-important */
322
+ }
323
+
324
+ .e-bigger .e-image-editor .e-toolbar,
325
+ .e-image-editor.e-bigger .e-toolbar {
326
+ height: 56px !important; /* stylelint-disable-line declaration-no-important */
327
+ min-height: 56px !important; /* stylelint-disable-line declaration-no-important */
328
+ }
329
+ .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,
330
+ .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 {
331
+ font-size: 18px;
332
+ }
333
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon,
334
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
335
+ font-size: 18px;
336
+ }
337
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-fill.e-template .e-dropdown-btn .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-stroke.e-template .e-dropdown-btn .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-pen-stroke-color.e-template .e-dropdown-btn .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-save.e-template .e-dropdown-btn .e-icons.e-caret,
338
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-fill.e-template .e-dropdown-btn .e-icons.e-caret,
339
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-stroke.e-template .e-dropdown-btn .e-icons.e-caret,
340
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-pen-stroke-color.e-template .e-dropdown-btn .e-icons.e-caret,
341
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret,
342
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-save.e-template .e-dropdown-btn .e-icons.e-caret {
343
+ font-size: 18px;
344
+ }
345
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret,
346
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret {
347
+ margin-top: -4px;
348
+ }
349
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save,
350
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select,
351
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation,
352
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform,
353
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save {
354
+ font-size: 18px;
355
+ }
356
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save .e-icons.e-caret,
357
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select .e-icons.e-caret,
358
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation .e-icons.e-caret,
359
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform .e-icons.e-caret,
360
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save .e-icons.e-caret {
361
+ font-size: 10px;
362
+ }
363
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left,
364
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
365
+ line-height: 1;
366
+ }
367
+
368
+ .e-image-editor {
369
+ border: 1px solid rgba(var(--color-sf-outline-variant));
370
+ position: relative;
371
+ display: block;
372
+ }
373
+ .e-image-editor .e-toolbar {
374
+ border: none;
375
+ }
376
+ .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
377
+ font-size: 16px;
378
+ }
379
+ .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
380
+ font-size: 16px;
381
+ }
382
+ .e-image-editor .e-toolbar .e-toolbar-items .e-upload {
383
+ border: none;
384
+ }
385
+ .e-image-editor .e-toolbar .e-toolbar-items .e-file-select-wrap {
386
+ padding: 0;
387
+ }
388
+ .e-image-editor .e-toolbar .e-toolbar-items .e-image-upload .e-file-select, .e-image-editor .e-toolbar .e-toolbar-items .e-image-upload .e-file-drop, .e-image-editor .e-toolbar .e-toolbar-items .e-image-upload .e-upload-files {
389
+ display: none;
390
+ }
391
+ .e-image-editor .e-toolbar .e-toolbar-items .e-image-upload .e-image-upload .e-upload {
392
+ border: none;
393
+ }
394
+ .e-image-editor .e-toolbar .e-toolbar-items .e-fill.e-template .e-dropdown-btn .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-stroke.e-template .e-dropdown-btn .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-pen-stroke-color.e-template .e-dropdown-btn .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-save.e-template .e-dropdown-btn .e-icons.e-caret {
395
+ font-size: 16px;
396
+ }
397
+ .e-image-editor .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret {
398
+ margin-top: -4px;
399
+ }
400
+ .e-image-editor .e-toolbar .e-toolbar-items .e-btn-icon.e-dropdownbtn-preview {
401
+ height: 18px;
402
+ width: 18px;
403
+ margin-top: -4px;
404
+ }
405
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save {
406
+ font-size: 16px;
407
+ }
408
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save .e-icons.e-caret {
409
+ font-size: 10px !important; /* stylelint-disable-line declaration-no-important */
410
+ }
411
+ .e-image-editor .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
412
+ line-height: 1;
413
+ }
414
+ .e-image-editor .e-toolbar-area + .e-canvas-wrapper {
415
+ border-top: 1px solid rgba(var(--color-sf-outline-variant));
416
+ }
417
+ .e-image-editor .e-toolbar-area + .e-canvas-wrapper .e-textarea {
418
+ line-height: initial !important; /* stylelint-disable-line declaration-no-important */
419
+ }
420
+ .e-image-editor .e-bottom-toolbar {
421
+ border-top: 1px solid rgba(var(--color-sf-outline-variant));
422
+ }
423
+ .e-image-editor .e-contextual-toolbar-wrapper {
424
+ width: 100%;
425
+ z-index: 1;
426
+ }
427
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
428
+ height: 140px !important; /* stylelint-disable-line declaration-no-important */
429
+ }
430
+ .e-image-editor .e-contextual-toolbar-wrapper.e-hide {
431
+ display: none;
432
+ }
433
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
434
+ height: auto !important; /* stylelint-disable-line declaration-no-important */
435
+ }
436
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
437
+ border: 2px solid transparent;
438
+ height: 100px;
439
+ }
440
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper {
441
+ border-top: 2px solid;
442
+ }
443
+ .e-image-editor .e-contextual-toolbar-wrapper .e-slider-container {
444
+ margin-left: calc(50% - 137px);
445
+ height: 70px !important; /* stylelint-disable-line declaration-no-important */
446
+ }
447
+
448
+ .e-image-editor {
449
+ background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.14), rgba(var(--color-sf-primary), 0.14)), rgba(var(--color-sf-surface));
450
+ }
451
+ .e-image-editor .e-contextual-toolbar-wrapper {
452
+ background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface));
453
+ border-top: 1px solid rgba(var(--color-sf-outline-variant));
454
+ border-bottom: 1px solid rgba(var(--color-sf-outline-variant));
455
+ }
456
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper {
457
+ border-color: linear-gradient(0deg, rgba(var(--color-sf-on-surface), 0.12), rgba(var(--color-sf-on-surface), 0.12)), rgba(var(--color-sf-surface));
458
+ }
459
+ .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn .e-icons {
460
+ color: rgba(var(--color-sf-on-surface-variant));
461
+ }
462
+ .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn {
463
+ background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface)) !important; /* stylelint-disable-line declaration-no-important */
464
+ }
465
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn {
466
+ background: inherit;
467
+ border: none;
468
+ margin-top: 0;
469
+ background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface));
470
+ color: rgba(var(--color-sf-on-surface-variant));
471
+ box-shadow: none;
472
+ }
473
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn .e-caret-hide {
474
+ display: none !important; /* stylelint-disable-line declaration-no-important */
475
+ }
476
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:hover {
477
+ background: linear-gradient(0deg, rgba(var(--color-sf-on-surface), 0.08), rgba(var(--color-sf-on-surface), 0.08)), rgba(var(--color-sf-surface));
478
+ box-shadow: none;
479
+ color: rgba(var(--color-sf-on-surface));
480
+ }
481
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:focus {
482
+ background: linear-gradient(0deg, rgba(var(--color-sf-on-surface), 0.08), rgba(var(--color-sf-on-surface), 0.08)), rgba(var(--color-sf-surface));
483
+ box-shadow: none;
484
+ color: rgba(var(--color-sf-on-surface));
485
+ }
486
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:active {
487
+ background: linear-gradient(0deg, rgba(var(--color-sf-on-surface), 0.12), rgba(var(--color-sf-on-surface), 0.12)), rgba(var(--color-sf-surface));
488
+ box-shadow: none;
489
+ color: rgba(var(--color-sf-on-surface));
490
+ }
491
+ .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-shape-fill-color .e-split-btn-wrapper .e-split-btn .e-selected-color, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-shape-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-text-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-pen-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color {
492
+ background: none;
493
+ border-bottom-style: solid;
494
+ border-bottom-width: 3px;
495
+ width: 14px;
496
+ margin: 0 2px;
497
+ border-bottom-color: rgba(var(--color-sf-black));
498
+ }
499
+ .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-shape-fill-color .e-split-btn-wrapper .e-split-btn .e-selected-color .e-split-preview, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-shape-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color .e-split-preview, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-text-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color .e-split-preview, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-pen-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color .e-split-preview {
500
+ display: none;
501
+ }
502
+ .e-image-editor .e-toolbar .e-toolbar-items .e-nocolor-item {
503
+ background: transparent url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNnB4IiBoZWlnaHQ9IjZweCIgdmlld0JveD0iMCAwIDYgNiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTAgKDU0OTgzKSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5Hcm91cCA5PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Ikdyb3VwLTkiPgogICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTExIiBmaWxsPSIjRTBFMEUwIiB4PSIwIiB5PSIwIiB3aWR0aD0iMyIgaGVpZ2h0PSIzIj48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMTEtQ29weS0yIiBmaWxsPSIjRkZGRkZGIiB4PSIwIiB5PSIzIiB3aWR0aD0iMyIgaGVpZ2h0PSIzIj48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMTEtQ29weSIgZmlsbD0iI0ZGRkZGRiIgeD0iMyIgeT0iMCIgd2lkdGg9IjMiIGhlaWdodD0iMyI+PC9yZWN0PgogICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTExLUNvcHktMyIgZmlsbD0iI0UwRTBFMCIgeD0iMyIgeT0iMyIgd2lkdGg9IjMiIGhlaWdodD0iMyI+PC9yZWN0PgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+") !important; /* stylelint-disable-line declaration-no-important */
504
+ background-size: 8px !important; /* stylelint-disable-line declaration-no-important */
505
+ }
506
+
507
+ .e-dropdown-popup .e-selected-btn {
508
+ background: linear-gradient(0deg, rgba(var(--color-sf-primary), 0.08), rgba(var(--color-sf-primary), 0.08)), rgba(var(--color-sf-surface)) !important; /* stylelint-disable-line declaration-no-important */
509
+ }
@@ -0,0 +1,3 @@
1
+
2
+ @import 'ej2-base/styles/material3-definition.scss';
3
+ @import 'image-editor/material3.scss';
@@ -71,6 +71,66 @@
71
71
  .e-image-editor .e-fill.e-template .e-caret::before {
72
72
  content: "\e783";
73
73
  }
74
+ .e-image-editor .e-custom::before {
75
+ content: "\e8a9";
76
+ }
77
+ .e-image-editor .e-circle::before {
78
+ content: "\e7ca";
79
+ }
80
+ .e-image-editor .e-square::before {
81
+ content: "\e8aa";
82
+ }
83
+ .e-image-editor .e-custom-a::before {
84
+ content: "\e8ab";
85
+ }
86
+ .e-image-editor .e-custom-b::before {
87
+ content: "\e8ac";
88
+ }
89
+ .e-image-editor .e-custom-c::before {
90
+ content: "\e8ad";
91
+ }
92
+ .e-image-editor .e-custom-d::before {
93
+ content: "\e8ae";
94
+ }
95
+ .e-image-editor .e-custom-e::before {
96
+ content: "\e8af";
97
+ }
98
+ .e-image-editor .e-horizontal-flip::before {
99
+ content: "\e8a3";
100
+ }
101
+ .e-image-editor .e-vertical-flip::before {
102
+ content: "\e8a4";
103
+ }
104
+ .e-image-editor .e-clock-wise::before {
105
+ content: "\e8a6";
106
+ }
107
+ .e-image-editor .e-anti-clock-wise::before {
108
+ content: "\e8a5";
109
+ }
110
+ .e-image-editor .e-rectangle::before {
111
+ content: "\e723";
112
+ }
113
+ .e-image-editor .e-circle::before {
114
+ content: "\e7ca";
115
+ }
116
+ .e-image-editor .e-triangle::before {
117
+ content: "\e89c";
118
+ }
119
+ .e-image-editor .e-line::before {
120
+ content: "\e819";
121
+ }
122
+ .e-image-editor .e-add-text::before {
123
+ content: "\e82e";
124
+ }
125
+ .e-image-editor .e-free-pen::before {
126
+ content: "\e7db";
127
+ }
128
+ .e-image-editor .e-arrow::before {
129
+ content: "\e669";
130
+ }
131
+ .e-image-editor .e-path::before {
132
+ content: "\e931";
133
+ }
74
134
 
75
135
  .e-dropdown-popup.e-image-popup .e-custom::before {
76
136
  content: "\e8a9";
@@ -129,6 +189,12 @@
129
189
  .e-dropdown-popup.e-image-popup .e-add-text::before {
130
190
  content: "\e82e";
131
191
  }
192
+ .e-dropdown-popup.e-image-popup .e-arrow::before {
193
+ content: "\e669";
194
+ }
195
+ .e-dropdown-popup.e-image-popup .e-path::before {
196
+ content: "\e931";
197
+ }
132
198
 
133
199
  .e-ie-toolbar-upload-div.e-hide,
134
200
  .e-ie-toolbar-upload-btn.e-hide {
@@ -257,11 +323,11 @@
257
323
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item {
258
324
  height: auto !important; /* stylelint-disable-line declaration-no-important */
259
325
  }
260
- .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper {
326
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item .filter-wrapper {
261
327
  border: 2px solid transparent;
262
328
  height: 100px;
263
329
  }
264
- .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper {
330
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper {
265
331
  border-top: 2px solid;
266
332
  }
267
333
  .e-image-editor .e-contextual-toolbar-wrapper .e-slider-container {
@@ -277,7 +343,7 @@
277
343
  border-top: 1px solid #4b5563;
278
344
  border-bottom: 1px solid #4b5563;
279
345
  }
280
- .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper {
346
+ .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper {
281
347
  border-color: #4b5563;
282
348
  }
283
349
  .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn .e-icons {