@syncfusion/ej2-image-editor 25.1.35 → 25.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/ej2-image-editor.umd.min.js +2 -2
- package/dist/ej2-image-editor.umd.min.js.map +1 -1
- package/dist/es6/ej2-image-editor.es2015.js +111 -66
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +124 -66
- package/dist/es6/ej2-image-editor.es5.js.map +1 -1
- package/dist/global/ej2-image-editor.min.js +2 -2
- package/dist/global/ej2-image-editor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +9 -9
- package/src/image-editor/action/freehand-draw.js +3 -0
- package/src/image-editor/action/shape.js +3 -0
- package/src/image-editor/action/transform.js +39 -12
- package/src/image-editor/action/undo-redo.d.ts +0 -1
- package/src/image-editor/action/undo-redo.js +0 -26
- package/src/image-editor/base/image-editor-model.d.ts +5 -0
- package/src/image-editor/base/image-editor.d.ts +8 -1
- package/src/image-editor/base/image-editor.js +18 -4
- package/src/image-editor/renderer/toolbar.d.ts +1 -0
- package/src/image-editor/renderer/toolbar.js +62 -25
- package/styles/image-editor/_layout.scss +3 -0
- package/styles/image-editor/material3-dark.css +1 -0
- package/styles/image-editor/material3.css +1 -0
- package/styles/image-editor/tailwind-dark.css +1 -0
- package/styles/image-editor/tailwind.css +1 -0
- package/styles/material3-dark.css +1 -0
- package/styles/material3.css +1 -0
- package/styles/tailwind-dark.css +1 -0
- package/styles/tailwind.css +1 -0
|
@@ -4,7 +4,7 @@ import { NumericTextBox } from '@syncfusion/ej2-inputs';
|
|
|
4
4
|
import { Toolbar } from '@syncfusion/ej2-navigations';
|
|
5
5
|
import { DropDownButton } from '@syncfusion/ej2-splitbuttons';
|
|
6
6
|
import { ColorPicker, Uploader, Slider } from '@syncfusion/ej2-inputs';
|
|
7
|
-
import { ZoomTrigger } from '../index';
|
|
7
|
+
import { ZoomTrigger, ShapeType } from '../index';
|
|
8
8
|
import { hideSpinner, showSpinner } from '@syncfusion/ej2-popups';
|
|
9
9
|
var ToolbarModule = /** @class */ (function () {
|
|
10
10
|
function ToolbarModule(parent) {
|
|
@@ -252,12 +252,6 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
252
252
|
case 'setSelectedFreehandColor':
|
|
253
253
|
this.selFhdColor = args.value['color'];
|
|
254
254
|
break;
|
|
255
|
-
case 'getCurrentFilter':
|
|
256
|
-
args.value['obj']['currentFilter'] = parent.currentFilter;
|
|
257
|
-
break;
|
|
258
|
-
case 'setCurrentFilter':
|
|
259
|
-
parent.currentFilter = args.value['filter'];
|
|
260
|
-
break;
|
|
261
255
|
case 'setInitialAdjustmentValue':
|
|
262
256
|
parent.initialAdjustmentValue = args.value['value'];
|
|
263
257
|
break;
|
|
@@ -279,9 +273,6 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
279
273
|
case 'refreshSlider':
|
|
280
274
|
this.refreshSlider();
|
|
281
275
|
break;
|
|
282
|
-
case 'renderSlider':
|
|
283
|
-
this.renderSlider(args.value['type']);
|
|
284
|
-
break;
|
|
285
276
|
case 'getCurrAdjustmentValue':
|
|
286
277
|
parent.getCurrAdjustmentValue(args.value['type']);
|
|
287
278
|
break;
|
|
@@ -291,18 +282,6 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
291
282
|
case 'refreshShapeDrawing':
|
|
292
283
|
this.refreshShapeDrawing();
|
|
293
284
|
break;
|
|
294
|
-
case 'getCropToolbar':
|
|
295
|
-
args.value['obj']['isCropToolbar'] = parent.isCropToolbar;
|
|
296
|
-
break;
|
|
297
|
-
case 'getPrevCurrSelectionPoint':
|
|
298
|
-
args.value['obj']['prevCurrSelectionPoint'] = parent.prevCurrSelectionPoint;
|
|
299
|
-
break;
|
|
300
|
-
case 'setPrevCurrSelectionPoint':
|
|
301
|
-
parent.prevCurrSelectionPoint = args.value['point'];
|
|
302
|
-
break;
|
|
303
|
-
case 'updateCropTransformItems':
|
|
304
|
-
parent.updateCropTransformItems();
|
|
305
|
-
break;
|
|
306
285
|
case 'setEnableDisableUndoRedo':
|
|
307
286
|
this.preventEnableDisableUr = args.value['isPrevent'];
|
|
308
287
|
break;
|
|
@@ -353,7 +332,6 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
353
332
|
};
|
|
354
333
|
ToolbarModule.prototype.reset = function () {
|
|
355
334
|
var parent = this.parent;
|
|
356
|
-
this.defToolbarItems = [];
|
|
357
335
|
this.toolbarHeight = 46;
|
|
358
336
|
parent.prevCurrSelectionPoint = null;
|
|
359
337
|
this.zoomBtnHold = null;
|
|
@@ -1144,6 +1122,10 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1144
1122
|
this.parent.showDialogPopup();
|
|
1145
1123
|
}
|
|
1146
1124
|
};
|
|
1125
|
+
ToolbarModule.prototype.triggerTbarClickEvent = function (args) {
|
|
1126
|
+
var clickEvent = { item: args.item, originalEvent: args.event };
|
|
1127
|
+
this.parent.trigger('toolbarItemClicked', clickEvent);
|
|
1128
|
+
};
|
|
1147
1129
|
ToolbarModule.prototype.renderAnnotationBtn = function (isContextualToolbar) {
|
|
1148
1130
|
var _this = this;
|
|
1149
1131
|
var parent = this.parent;
|
|
@@ -1233,6 +1215,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1233
1215
|
}
|
|
1234
1216
|
},
|
|
1235
1217
|
select: function (args) {
|
|
1218
|
+
_this.triggerTbarClickEvent(args);
|
|
1236
1219
|
parent.okBtn();
|
|
1237
1220
|
var isCropSelection = false;
|
|
1238
1221
|
var splitWords;
|
|
@@ -1253,6 +1236,9 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1253
1236
|
}
|
|
1254
1237
|
var obj = { currentFreehandDrawIndex: null };
|
|
1255
1238
|
parent.notify('freehand-draw', { prop: 'getCurrentFreehandDrawIndex', value: { obj: obj } });
|
|
1239
|
+
var prevObj = { shapeSettingsObj: {} };
|
|
1240
|
+
var shapeSettings;
|
|
1241
|
+
var shapeChangingArgs;
|
|
1256
1242
|
drpDownBtn.iconCss = 'e-icons ' + _this.getCurrentShapeIcon(args.item.id);
|
|
1257
1243
|
switch (args.item.id) {
|
|
1258
1244
|
case 'pen':
|
|
@@ -1260,6 +1246,12 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1260
1246
|
parent.notify('draw', { prop: 'setTempCurrentFreehandDrawIndex', value: { tempCurrentFreehandDrawIndex: obj['currentFreehandDrawIndex'] } });
|
|
1261
1247
|
_this.currentToolbar = 'pen';
|
|
1262
1248
|
parent.freeHandDraw(true);
|
|
1249
|
+
parent.notify('selection', { prop: 'updatePrevShapeSettings', onPropertyChange: false, value: { obj: prevObj } });
|
|
1250
|
+
shapeSettings = prevObj['shapeSettingsObj'];
|
|
1251
|
+
shapeSettings.type = ShapeType.FreehandDraw;
|
|
1252
|
+
shapeChangingArgs = { cancel: false, action: 'insert', previousShapeSettings: shapeSettings,
|
|
1253
|
+
currentShapeSettings: shapeSettings };
|
|
1254
|
+
parent.notify('freehand-draw', { prop: 'triggerShapeChanging', value: { shapeChangingArgs: shapeChangingArgs } });
|
|
1263
1255
|
break;
|
|
1264
1256
|
case 'text':
|
|
1265
1257
|
_this.currentToolbar = 'text';
|
|
@@ -1269,12 +1261,22 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1269
1261
|
_this.currentToolbar = 'shapes';
|
|
1270
1262
|
parent.element.querySelector('#' + id + '_fileUpload').click();
|
|
1271
1263
|
break;
|
|
1272
|
-
|
|
1264
|
+
case 'ellipse':
|
|
1265
|
+
case 'arrow':
|
|
1266
|
+
case 'line':
|
|
1267
|
+
case 'rectangle':
|
|
1268
|
+
case 'path':
|
|
1273
1269
|
_this.currentToolbar = 'shapes';
|
|
1274
1270
|
_this.setInitialShapeSettings(args);
|
|
1275
1271
|
parent.notify('selection', { prop: 'annotate', value: { shape: args.item.id } });
|
|
1276
1272
|
parent.notify('toolbar', { prop: 'refresh-toolbar', onPropertyChange: false, value: { type: 'shapes',
|
|
1277
1273
|
isApplyBtn: null, isCropping: null, isZooming: null, cType: null } });
|
|
1274
|
+
parent.notify('selection', { prop: 'updatePrevShapeSettings', onPropertyChange: false, value: { obj: prevObj } });
|
|
1275
|
+
shapeSettings = prevObj['shapeSettingsObj'];
|
|
1276
|
+
shapeChangingArgs = { cancel: false, action: 'insert', previousShapeSettings: shapeSettings,
|
|
1277
|
+
currentShapeSettings: shapeSettings };
|
|
1278
|
+
parent.trigger('shapeChanging', shapeChangingArgs);
|
|
1279
|
+
parent.notify('shape', { prop: 'updateShapeChangeEventArgs', value: { shapeSettings: shapeChangingArgs.currentShapeSettings } });
|
|
1278
1280
|
break;
|
|
1279
1281
|
}
|
|
1280
1282
|
_this.updateToolbarItems();
|
|
@@ -1380,6 +1382,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1380
1382
|
},
|
|
1381
1383
|
items: items,
|
|
1382
1384
|
select: function (args) {
|
|
1385
|
+
_this.triggerTbarClickEvent(args);
|
|
1383
1386
|
_this.cropSelect(args);
|
|
1384
1387
|
drpDownBtn.iconCss = 'e-icons ' + _this.getCurrentShapeIcon('crop-' + args.item.id);
|
|
1385
1388
|
drpDownBtn.content = Browser.isDevice ? null : parent.toPascalCase(args.item.id);
|
|
@@ -1390,6 +1393,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1390
1393
|
drpDownBtn.appendTo('#' + parent.element.id + '_cropBtn');
|
|
1391
1394
|
};
|
|
1392
1395
|
ToolbarModule.prototype.renderTransformBtn = function () {
|
|
1396
|
+
var _this = this;
|
|
1393
1397
|
var parent = this.parent;
|
|
1394
1398
|
var items = [];
|
|
1395
1399
|
if (isNullOrUndefined(parent.toolbar) || (parent.toolbar && parent.toolbar.indexOf('RotateLeft') > -1)) {
|
|
@@ -1414,12 +1418,17 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1414
1418
|
elem.style.display = 'block';
|
|
1415
1419
|
}
|
|
1416
1420
|
},
|
|
1417
|
-
items: items,
|
|
1421
|
+
items: items,
|
|
1422
|
+
select: function (args) {
|
|
1423
|
+
_this.triggerTbarClickEvent(args);
|
|
1424
|
+
parent.transformSelect.bind(_this);
|
|
1425
|
+
},
|
|
1418
1426
|
iconCss: 'e-icons e-transform', cssClass: 'e-image-popup'
|
|
1419
1427
|
});
|
|
1420
1428
|
drpDownBtn.appendTo('#' + parent.element.id + '_transformBtn');
|
|
1421
1429
|
};
|
|
1422
1430
|
ToolbarModule.prototype.renderSaveBtn = function () {
|
|
1431
|
+
var _this = this;
|
|
1423
1432
|
var parent = this.parent;
|
|
1424
1433
|
var id = parent.element.id;
|
|
1425
1434
|
var saveItems = [
|
|
@@ -1432,6 +1441,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1432
1441
|
// Initialize the DropDownButton component.
|
|
1433
1442
|
var saveDrpDownBtn = new DropDownButton({ items: saveItems, cssClass: 'e-caret-hide e-image-popup', iconCss: 'e-icons e-save',
|
|
1434
1443
|
select: function (args) {
|
|
1444
|
+
_this.triggerTbarClickEvent(args);
|
|
1435
1445
|
parent.export(args.item.text);
|
|
1436
1446
|
parent.isChangesSaved = true;
|
|
1437
1447
|
parent.notify('draw', { prop: 'redrawDownScale' });
|
|
@@ -1869,6 +1879,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1869
1879
|
}
|
|
1870
1880
|
};
|
|
1871
1881
|
ToolbarModule.prototype.createShapeBtn = function (items) {
|
|
1882
|
+
var _this = this;
|
|
1872
1883
|
var parent = this.parent;
|
|
1873
1884
|
var id = parent.element.id;
|
|
1874
1885
|
if (items.indexOf('strokeWidth') > -1) {
|
|
@@ -1907,6 +1918,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1907
1918
|
}
|
|
1908
1919
|
},
|
|
1909
1920
|
select: function (args) {
|
|
1921
|
+
_this.triggerTbarClickEvent(args);
|
|
1910
1922
|
spanElem_1.textContent = args.item.text;
|
|
1911
1923
|
parent.updateStrokeWidth(args.item.id);
|
|
1912
1924
|
if (Browser.isDevice) {
|
|
@@ -1930,6 +1942,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1930
1942
|
}
|
|
1931
1943
|
};
|
|
1932
1944
|
ToolbarModule.prototype.createStartBtn = function () {
|
|
1945
|
+
var _this = this;
|
|
1933
1946
|
var parent = this.parent;
|
|
1934
1947
|
var id = parent.element.id;
|
|
1935
1948
|
var strokeWidthItems = [
|
|
@@ -1963,6 +1976,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1963
1976
|
}
|
|
1964
1977
|
},
|
|
1965
1978
|
select: function (args) {
|
|
1979
|
+
_this.triggerTbarClickEvent(args);
|
|
1966
1980
|
spanElem.textContent = args.item.text;
|
|
1967
1981
|
parent.updateArrow('startArrow', args.item.id);
|
|
1968
1982
|
}
|
|
@@ -1971,6 +1985,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1971
1985
|
drpDownBtn.appendTo('#' + id + '_startBtn');
|
|
1972
1986
|
};
|
|
1973
1987
|
ToolbarModule.prototype.createEndBtn = function () {
|
|
1988
|
+
var _this = this;
|
|
1974
1989
|
var parent = this.parent;
|
|
1975
1990
|
var id = parent.element.id;
|
|
1976
1991
|
var strokeWidthItems = [
|
|
@@ -2004,6 +2019,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
2004
2019
|
}
|
|
2005
2020
|
},
|
|
2006
2021
|
select: function (args) {
|
|
2022
|
+
_this.triggerTbarClickEvent(args);
|
|
2007
2023
|
spanElem.textContent = args.item.text;
|
|
2008
2024
|
parent.updateArrow('endArrow', args.item.id);
|
|
2009
2025
|
}
|
|
@@ -2202,6 +2218,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
2202
2218
|
}
|
|
2203
2219
|
};
|
|
2204
2220
|
ToolbarModule.prototype.createTextBtn = function (items) {
|
|
2221
|
+
var _this = this;
|
|
2205
2222
|
var parent = this.parent;
|
|
2206
2223
|
var id = parent.element.id;
|
|
2207
2224
|
if (items.indexOf('fontFamily') > -1) {
|
|
@@ -2242,6 +2259,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
2242
2259
|
}
|
|
2243
2260
|
},
|
|
2244
2261
|
select: function (args) {
|
|
2262
|
+
_this.triggerTbarClickEvent(args);
|
|
2245
2263
|
spanElem_2.textContent = args.item.text;
|
|
2246
2264
|
if (Browser.isDevice) {
|
|
2247
2265
|
spanElem_2.setAttribute('style', 'font-family:' + args.item.id);
|
|
@@ -2270,6 +2288,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
2270
2288
|
args.element.querySelector('[aria-label *= ' + '"' + activeBtn + '"' + ']').classList.add('e-selected-btn');
|
|
2271
2289
|
},
|
|
2272
2290
|
select: function (args) {
|
|
2291
|
+
_this.triggerTbarClickEvent(args);
|
|
2273
2292
|
fontSizeSpanElem_1.textContent = args.item.text;
|
|
2274
2293
|
parent.updateFontSize(args.item.text);
|
|
2275
2294
|
}
|
|
@@ -2703,6 +2722,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
2703
2722
|
parent.element.querySelector('.e-template.e-pen-stroke-color').appendChild(parent.createElement('input', {
|
|
2704
2723
|
id: id + '_pen_stroke'
|
|
2705
2724
|
}));
|
|
2725
|
+
var presentVal = parent.activeObj.strokeSettings.strokeColor;
|
|
2706
2726
|
var penColor = new ColorPicker({
|
|
2707
2727
|
modeSwitcher: false, value: '#fff',
|
|
2708
2728
|
showButtons: false, mode: 'Palette', cssClass: 'e-pen-color',
|
|
@@ -2728,6 +2748,9 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
2728
2748
|
}, '#' + id + '_penColorBtn');
|
|
2729
2749
|
penColor.inline = true;
|
|
2730
2750
|
penColor.value = penColor.getValue(parent.activeObj.strokeSettings.strokeColor, 'rgba');
|
|
2751
|
+
if (penColor.value === 'null') {
|
|
2752
|
+
penColor.value = presentVal;
|
|
2753
|
+
}
|
|
2731
2754
|
var obj = { tempFreeHandDrawEditingStyles: null };
|
|
2732
2755
|
parent.notify('freehand-draw', { prop: 'getTempFreeHandDrawEditingStyles', value: { obj: obj } });
|
|
2733
2756
|
var indexObj = { freehandSelectedIndex: null };
|
|
@@ -2744,6 +2767,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
2744
2767
|
}
|
|
2745
2768
|
};
|
|
2746
2769
|
ToolbarModule.prototype.createPenBtn = function (items) {
|
|
2770
|
+
var _this = this;
|
|
2747
2771
|
var parent = this.parent;
|
|
2748
2772
|
var id = parent.element.id;
|
|
2749
2773
|
var strokeWidthItems = [
|
|
@@ -2776,6 +2800,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
2776
2800
|
args.element.querySelector('[aria-label = ' + '"' + activeBtn + '"' + ']').classList.add('e-selected-btn');
|
|
2777
2801
|
},
|
|
2778
2802
|
select: function (args) {
|
|
2803
|
+
_this.triggerTbarClickEvent(args);
|
|
2779
2804
|
spanElem_3.textContent = args.item.text;
|
|
2780
2805
|
parent.updatePenStrokeWidth(args.item.id);
|
|
2781
2806
|
if (Browser.isDevice) {
|
|
@@ -3055,6 +3080,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3055
3080
|
parent.element.querySelector('.e-stroke.e-template .e-dropdownbtn-preview').style.background = parent.frameObj.color;
|
|
3056
3081
|
};
|
|
3057
3082
|
ToolbarModule.prototype.createFrameSize = function () {
|
|
3083
|
+
var _this = this;
|
|
3058
3084
|
var parent = this.parent;
|
|
3059
3085
|
var prevFrameSettings;
|
|
3060
3086
|
var obj = { frameChangeEventArgs: null };
|
|
@@ -3085,6 +3111,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3085
3111
|
}
|
|
3086
3112
|
},
|
|
3087
3113
|
select: function (args) {
|
|
3114
|
+
_this.triggerTbarClickEvent(args);
|
|
3088
3115
|
prevFrameSettings = { type: parent.toPascalCase(parent.frameObj.type), color: parent.frameObj.color,
|
|
3089
3116
|
gradientColor: parent.frameObj.gradientColor, size: parent.frameObj.size, inset: parent.frameObj.inset,
|
|
3090
3117
|
offset: parent.frameObj.offset, borderRadius: parent.frameObj.radius, frameLineStyle: parent.toPascalCase(parent.frameObj.border),
|
|
@@ -3130,6 +3157,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3130
3157
|
drpDownBtn.appendTo('#' + id + '_frameSizeBtn');
|
|
3131
3158
|
};
|
|
3132
3159
|
ToolbarModule.prototype.createFrameInset = function () {
|
|
3160
|
+
var _this = this;
|
|
3133
3161
|
var parent = this.parent;
|
|
3134
3162
|
var prevFrameSettings;
|
|
3135
3163
|
var obj = { frameChangeEventArgs: null };
|
|
@@ -3160,6 +3188,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3160
3188
|
}
|
|
3161
3189
|
},
|
|
3162
3190
|
select: function (args) {
|
|
3191
|
+
_this.triggerTbarClickEvent(args);
|
|
3163
3192
|
prevFrameSettings = { type: parent.toPascalCase(parent.frameObj.type), color: parent.frameObj.color,
|
|
3164
3193
|
gradientColor: parent.frameObj.gradientColor, size: parent.frameObj.size, inset: parent.frameObj.inset,
|
|
3165
3194
|
offset: parent.frameObj.offset, borderRadius: parent.frameObj.radius, frameLineStyle: parent.toPascalCase(parent.frameObj.border),
|
|
@@ -3205,6 +3234,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3205
3234
|
drpDownBtn.appendTo('#' + id + '_frameInsetBtn');
|
|
3206
3235
|
};
|
|
3207
3236
|
ToolbarModule.prototype.createFrameOffset = function () {
|
|
3237
|
+
var _this = this;
|
|
3208
3238
|
var parent = this.parent;
|
|
3209
3239
|
var prevFrameSettings;
|
|
3210
3240
|
var obj = { frameChangeEventArgs: null };
|
|
@@ -3235,6 +3265,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3235
3265
|
}
|
|
3236
3266
|
},
|
|
3237
3267
|
select: function (args) {
|
|
3268
|
+
_this.triggerTbarClickEvent(args);
|
|
3238
3269
|
prevFrameSettings = { type: parent.toPascalCase(parent.frameObj.type), color: parent.frameObj.color,
|
|
3239
3270
|
gradientColor: parent.frameObj.gradientColor, size: parent.frameObj.size, inset: parent.frameObj.inset,
|
|
3240
3271
|
offset: parent.frameObj.offset, borderRadius: parent.frameObj.radius, frameLineStyle: parent.toPascalCase(parent.frameObj.border),
|
|
@@ -3280,6 +3311,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3280
3311
|
drpDownBtn.appendTo('#' + id + '_frameOffsetBtn');
|
|
3281
3312
|
};
|
|
3282
3313
|
ToolbarModule.prototype.createFrameRadius = function () {
|
|
3314
|
+
var _this = this;
|
|
3283
3315
|
var parent = this.parent;
|
|
3284
3316
|
var prevFrameSettings;
|
|
3285
3317
|
var obj = { frameChangeEventArgs: null };
|
|
@@ -3311,6 +3343,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3311
3343
|
}
|
|
3312
3344
|
},
|
|
3313
3345
|
select: function (args) {
|
|
3346
|
+
_this.triggerTbarClickEvent(args);
|
|
3314
3347
|
prevFrameSettings = { type: parent.toPascalCase(parent.frameObj.type), color: parent.frameObj.color,
|
|
3315
3348
|
gradientColor: parent.frameObj.gradientColor, size: parent.frameObj.size, inset: parent.frameObj.inset,
|
|
3316
3349
|
offset: parent.frameObj.offset, borderRadius: parent.frameObj.radius, frameLineStyle: parent.toPascalCase(parent.frameObj.border),
|
|
@@ -3356,6 +3389,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3356
3389
|
drpDownBtn.appendTo('#' + id + '_frameRadiusBtn');
|
|
3357
3390
|
};
|
|
3358
3391
|
ToolbarModule.prototype.createFrameAmount = function () {
|
|
3392
|
+
var _this = this;
|
|
3359
3393
|
var parent = this.parent;
|
|
3360
3394
|
var prevFrameSettings;
|
|
3361
3395
|
var obj = { frameChangeEventArgs: null };
|
|
@@ -3386,6 +3420,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3386
3420
|
}
|
|
3387
3421
|
},
|
|
3388
3422
|
select: function (args) {
|
|
3423
|
+
_this.triggerTbarClickEvent(args);
|
|
3389
3424
|
prevFrameSettings = { type: parent.toPascalCase(parent.frameObj.type), color: parent.frameObj.color,
|
|
3390
3425
|
gradientColor: parent.frameObj.gradientColor, size: parent.frameObj.size, inset: parent.frameObj.inset,
|
|
3391
3426
|
offset: parent.frameObj.offset, borderRadius: parent.frameObj.radius, frameLineStyle: parent.toPascalCase(parent.frameObj.border),
|
|
@@ -3431,6 +3466,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3431
3466
|
drpDownBtn.appendTo('#' + id + '_frameAmountBtn');
|
|
3432
3467
|
};
|
|
3433
3468
|
ToolbarModule.prototype.createFrameBorder = function () {
|
|
3469
|
+
var _this = this;
|
|
3434
3470
|
var parent = this.parent;
|
|
3435
3471
|
var prevFrameSettings;
|
|
3436
3472
|
var obj = { frameChangeEventArgs: null };
|
|
@@ -3459,6 +3495,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
3459
3495
|
}
|
|
3460
3496
|
},
|
|
3461
3497
|
select: function (args) {
|
|
3498
|
+
_this.triggerTbarClickEvent(args);
|
|
3462
3499
|
prevFrameSettings = { type: parent.toPascalCase(parent.frameObj.type), color: parent.frameObj.color,
|
|
3463
3500
|
gradientColor: parent.frameObj.gradientColor, size: parent.frameObj.size, inset: parent.frameObj.inset,
|
|
3464
3501
|
offset: parent.frameObj.offset, borderRadius: parent.frameObj.radius, frameLineStyle: parent.toPascalCase(parent.frameObj.border),
|
|
@@ -512,6 +512,9 @@
|
|
|
512
512
|
|
|
513
513
|
.e-ie-finetune-slider-wrap {
|
|
514
514
|
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
515
|
+
@if $skin-name == 'Material3' or $skin-name == 'tailwind' {
|
|
516
|
+
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
517
|
+
}
|
|
515
518
|
}
|
|
516
519
|
|
|
517
520
|
.e-transparency-slider-wrap {
|
|
@@ -605,6 +605,7 @@
|
|
|
605
605
|
|
|
606
606
|
.e-ie-finetune-slider-wrap {
|
|
607
607
|
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
608
|
+
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
608
609
|
}
|
|
609
610
|
|
|
610
611
|
.e-transparency-slider-wrap {
|
|
@@ -661,6 +661,7 @@
|
|
|
661
661
|
|
|
662
662
|
.e-ie-finetune-slider-wrap {
|
|
663
663
|
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
664
|
+
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
664
665
|
}
|
|
665
666
|
|
|
666
667
|
.e-transparency-slider-wrap {
|
|
@@ -536,6 +536,7 @@
|
|
|
536
536
|
|
|
537
537
|
.e-ie-finetune-slider-wrap {
|
|
538
538
|
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
|
+
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
540
|
}
|
|
540
541
|
|
|
541
542
|
.e-transparency-slider-wrap {
|
|
@@ -536,6 +536,7 @@
|
|
|
536
536
|
|
|
537
537
|
.e-ie-finetune-slider-wrap {
|
|
538
538
|
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
|
+
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
540
|
}
|
|
540
541
|
|
|
541
542
|
.e-transparency-slider-wrap {
|
|
@@ -605,6 +605,7 @@
|
|
|
605
605
|
|
|
606
606
|
.e-ie-finetune-slider-wrap {
|
|
607
607
|
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
608
|
+
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
608
609
|
}
|
|
609
610
|
|
|
610
611
|
.e-transparency-slider-wrap {
|
package/styles/material3.css
CHANGED
|
@@ -661,6 +661,7 @@
|
|
|
661
661
|
|
|
662
662
|
.e-ie-finetune-slider-wrap {
|
|
663
663
|
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
664
|
+
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
664
665
|
}
|
|
665
666
|
|
|
666
667
|
.e-transparency-slider-wrap {
|
package/styles/tailwind-dark.css
CHANGED
|
@@ -536,6 +536,7 @@
|
|
|
536
536
|
|
|
537
537
|
.e-ie-finetune-slider-wrap {
|
|
538
538
|
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
|
+
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
540
|
}
|
|
540
541
|
|
|
541
542
|
.e-transparency-slider-wrap {
|
package/styles/tailwind.css
CHANGED
|
@@ -536,6 +536,7 @@
|
|
|
536
536
|
|
|
537
537
|
.e-ie-finetune-slider-wrap {
|
|
538
538
|
top: calc(50% - 15px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
|
+
top: calc(50% - 14px) !important; /* stylelint-disable-line declaration-no-important */
|
|
539
540
|
}
|
|
540
541
|
|
|
541
542
|
.e-transparency-slider-wrap {
|