@syncfusion/ej2-image-editor 29.1.38 → 29.2.4
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/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 +68 -9
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +68 -9
- 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 +12 -12
- package/src/image-editor/action/draw.js +1 -0
- package/src/image-editor/base/image-editor-model.d.ts +25 -0
- package/src/image-editor/base/image-editor.d.ts +24 -0
- package/src/image-editor/base/image-editor.js +14 -0
- package/src/image-editor/renderer/toolbar.d.ts +1 -0
- package/src/image-editor/renderer/toolbar.js +53 -9
- package/styles/bds-lite.css +2 -2
- package/styles/bds.css +2 -2
- package/styles/bootstrap-dark-lite.css +2 -2
- package/styles/bootstrap-dark.css +2 -2
- package/styles/bootstrap-lite.css +2 -2
- package/styles/bootstrap.css +2 -2
- package/styles/bootstrap4-lite.css +2 -2
- package/styles/bootstrap4.css +2 -2
- package/styles/bootstrap5-dark-lite.css +2 -2
- package/styles/bootstrap5-dark.css +2 -2
- package/styles/bootstrap5-lite.css +2 -2
- package/styles/bootstrap5.3-lite.css +2 -2
- package/styles/bootstrap5.3.css +2 -2
- package/styles/bootstrap5.css +2 -2
- package/styles/fabric-dark-lite.css +2 -2
- package/styles/fabric-dark.css +2 -2
- package/styles/fabric-lite.css +2 -2
- package/styles/fabric.css +2 -2
- package/styles/fluent-dark-lite.css +2 -2
- package/styles/fluent-dark.css +2 -2
- package/styles/fluent-lite.css +2 -2
- package/styles/fluent.css +2 -2
- package/styles/fluent2-lite.css +2 -2
- package/styles/fluent2.css +2 -2
- package/styles/highcontrast-light-lite.css +2 -2
- package/styles/highcontrast-light.css +2 -2
- package/styles/highcontrast-lite.css +2 -2
- package/styles/highcontrast.css +2 -2
- package/styles/image-editor/_layout.scss +2 -2
- package/styles/image-editor/bds.css +2 -2
- package/styles/image-editor/bootstrap-dark.css +2 -2
- package/styles/image-editor/bootstrap.css +2 -2
- package/styles/image-editor/bootstrap4.css +2 -2
- package/styles/image-editor/bootstrap5-dark.css +2 -2
- package/styles/image-editor/bootstrap5.3.css +2 -2
- package/styles/image-editor/bootstrap5.css +2 -2
- package/styles/image-editor/fabric-dark.css +2 -2
- package/styles/image-editor/fabric.css +2 -2
- package/styles/image-editor/fluent-dark.css +2 -2
- package/styles/image-editor/fluent.css +2 -2
- package/styles/image-editor/fluent2.css +2 -2
- package/styles/image-editor/highcontrast-light.css +2 -2
- package/styles/image-editor/highcontrast.css +2 -2
- package/styles/image-editor/material-dark.css +2 -2
- package/styles/image-editor/material.css +2 -2
- package/styles/image-editor/material3-dark.css +2 -2
- package/styles/image-editor/material3.css +2 -2
- package/styles/image-editor/tailwind-dark.css +2 -2
- package/styles/image-editor/tailwind.css +2 -2
- package/styles/image-editor/tailwind3.css +2 -2
- package/styles/material-dark-lite.css +2 -2
- package/styles/material-dark.css +2 -2
- package/styles/material-lite.css +2 -2
- package/styles/material.css +2 -2
- package/styles/material3-dark-lite.css +2 -2
- package/styles/material3-dark.css +2 -2
- package/styles/material3-lite.css +2 -2
- package/styles/material3.css +2 -2
- package/styles/tailwind-dark-lite.css +2 -2
- package/styles/tailwind-dark.css +2 -2
- package/styles/tailwind-lite.css +2 -2
- package/styles/tailwind.css +2 -2
- package/styles/tailwind3-lite.css +2 -2
- package/styles/tailwind3.css +2 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 29.
|
|
3
|
+
* version : 29.2.4
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-image-editor@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-image-editor@29.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-image-editor@29.1.38",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-f6lymCLrcFDJ3lvUoEp+l8EPQlCF3qeIfqbENVxkd7hqZ7hA6BXe5ehfn83QKZ4klccXIge26HGcc3kYQT9qng==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-image-editor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-image-editor",
|
|
24
24
|
"/@syncfusion/ej2-vue-image-editor"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-29.1.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-29.1.38.tgz",
|
|
27
|
+
"_shasum": "9621a0d2572d12d45fd2571637400702426145b6",
|
|
28
28
|
"_spec": "@syncfusion/ej2-image-editor@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
},
|
|
33
33
|
"bundleDependencies": false,
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@syncfusion/ej2-base": "~29.
|
|
36
|
-
"@syncfusion/ej2-buttons": "~29.
|
|
37
|
-
"@syncfusion/ej2-dropdowns": "~29.
|
|
38
|
-
"@syncfusion/ej2-inputs": "~29.
|
|
39
|
-
"@syncfusion/ej2-navigations": "~29.
|
|
40
|
-
"@syncfusion/ej2-popups": "~29.
|
|
41
|
-
"@syncfusion/ej2-splitbuttons": "~29.
|
|
35
|
+
"@syncfusion/ej2-base": "~29.2.4",
|
|
36
|
+
"@syncfusion/ej2-buttons": "~29.2.4",
|
|
37
|
+
"@syncfusion/ej2-dropdowns": "~29.2.4",
|
|
38
|
+
"@syncfusion/ej2-inputs": "~29.2.4",
|
|
39
|
+
"@syncfusion/ej2-navigations": "~29.2.4",
|
|
40
|
+
"@syncfusion/ej2-popups": "~29.2.4",
|
|
41
|
+
"@syncfusion/ej2-splitbuttons": "~29.2.4"
|
|
42
42
|
},
|
|
43
43
|
"deprecated": false,
|
|
44
44
|
"description": "Essential JS 2 ImageEditor",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/imageeditor"
|
|
69
69
|
},
|
|
70
70
|
"typings": "index.d.ts",
|
|
71
|
-
"version": "29.
|
|
71
|
+
"version": "29.2.4",
|
|
72
72
|
"sideEffects": false,
|
|
73
73
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
74
74
|
}
|
|
@@ -2560,6 +2560,7 @@ var Draw = /** @class */ (function () {
|
|
|
2560
2560
|
if (!parent.isUndoRedo) {
|
|
2561
2561
|
parent.notify('filter', { prop: 'update-finetunes', onPropertyChange: false });
|
|
2562
2562
|
}
|
|
2563
|
+
proxy.lowerContext.imageSmoothingQuality = parent.imageSmoothingEnabled ? 'high' : 'low';
|
|
2563
2564
|
proxy.lowerContext.drawImage(parent.baseImg, 0, 0, proxy.parent.lowerCanvas.width, proxy.parent.lowerCanvas.height);
|
|
2564
2565
|
var isCropped = false;
|
|
2565
2566
|
var isSameDimension = false;
|
|
@@ -434,6 +434,31 @@ export interface ImageEditorModel extends ComponentModel{
|
|
|
434
434
|
*/
|
|
435
435
|
quickAccessToolbarTemplate?: string | Function;
|
|
436
436
|
|
|
437
|
+
/**
|
|
438
|
+
* Determines whether high-quality images should be smoothed when rendered.
|
|
439
|
+
*
|
|
440
|
+
* @default false
|
|
441
|
+
*
|
|
442
|
+
* @remarks
|
|
443
|
+
*
|
|
444
|
+
* When enabled (`true`), the image will be smoothed, reducing pixelation at the cost of sharpness.
|
|
445
|
+
*
|
|
446
|
+
* When disabled (`false`), the image will be rendered with crisp, unaltered pixels.
|
|
447
|
+
*
|
|
448
|
+
* ```html
|
|
449
|
+
* <div id='imageeditor'></div>
|
|
450
|
+
* ```
|
|
451
|
+
* ```typescript
|
|
452
|
+
* <script>
|
|
453
|
+
* var imageObj = new ImageEditor({
|
|
454
|
+
* imageSmoothingEnabled: true
|
|
455
|
+
* });
|
|
456
|
+
* imageObj.appendTo("#imageeditor");
|
|
457
|
+
* </script>
|
|
458
|
+
* ```
|
|
459
|
+
*/
|
|
460
|
+
imageSmoothingEnabled?: boolean;
|
|
461
|
+
|
|
437
462
|
/**
|
|
438
463
|
* Specifies whether to prevent user interaction with the image editor control.
|
|
439
464
|
* A boolean that specifies whether to prevent the interaction in image editor control. The default value is false.
|
|
@@ -607,6 +607,30 @@ export declare class ImageEditor extends Component<HTMLDivElement> implements IN
|
|
|
607
607
|
* ```
|
|
608
608
|
*/
|
|
609
609
|
quickAccessToolbarTemplate: string | Function;
|
|
610
|
+
/**
|
|
611
|
+
* Determines whether high-quality images should be smoothed when rendered.
|
|
612
|
+
*
|
|
613
|
+
* @default false
|
|
614
|
+
*
|
|
615
|
+
* @remarks
|
|
616
|
+
*
|
|
617
|
+
* When enabled (`true`), the image will be smoothed, reducing pixelation at the cost of sharpness.
|
|
618
|
+
*
|
|
619
|
+
* When disabled (`false`), the image will be rendered with crisp, unaltered pixels.
|
|
620
|
+
*
|
|
621
|
+
* ```html
|
|
622
|
+
* <div id='imageeditor'></div>
|
|
623
|
+
* ```
|
|
624
|
+
* ```typescript
|
|
625
|
+
* <script>
|
|
626
|
+
* var imageObj = new ImageEditor({
|
|
627
|
+
* imageSmoothingEnabled: true
|
|
628
|
+
* });
|
|
629
|
+
* imageObj.appendTo("#imageeditor");
|
|
630
|
+
* </script>
|
|
631
|
+
* ```
|
|
632
|
+
*/
|
|
633
|
+
imageSmoothingEnabled: boolean;
|
|
610
634
|
/**
|
|
611
635
|
* Specifies whether to prevent user interaction with the image editor control.
|
|
612
636
|
* A boolean that specifies whether to prevent the interaction in image editor control. The default value is false.
|
|
@@ -541,6 +541,17 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
541
541
|
}
|
|
542
542
|
this.updateDropInfoContent(this.element.querySelector('.e-ie-drop-info'));
|
|
543
543
|
break;
|
|
544
|
+
case 'imageSmoothingEnabled':
|
|
545
|
+
if (newProperties.imageSmoothingEnabled) {
|
|
546
|
+
this.imageSmoothingEnabled = true;
|
|
547
|
+
this.lowerContext.imageSmoothingQuality = 'high';
|
|
548
|
+
}
|
|
549
|
+
else {
|
|
550
|
+
this.imageSmoothingEnabled = false;
|
|
551
|
+
this.lowerContext.imageSmoothingQuality = 'low';
|
|
552
|
+
}
|
|
553
|
+
this.notify('draw', { prop: 'render-image', value: { isMouseWheel: false } });
|
|
554
|
+
break;
|
|
544
555
|
}
|
|
545
556
|
}
|
|
546
557
|
};
|
|
@@ -4686,6 +4697,9 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
4686
4697
|
__decorate([
|
|
4687
4698
|
Property()
|
|
4688
4699
|
], ImageEditor.prototype, "quickAccessToolbarTemplate", void 0);
|
|
4700
|
+
__decorate([
|
|
4701
|
+
Property(false)
|
|
4702
|
+
], ImageEditor.prototype, "imageSmoothingEnabled", void 0);
|
|
4689
4703
|
__decorate([
|
|
4690
4704
|
Property(false)
|
|
4691
4705
|
], ImageEditor.prototype, "isReadOnly", void 0);
|
|
@@ -1727,6 +1727,47 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1727
1727
|
]
|
|
1728
1728
|
});
|
|
1729
1729
|
dialog.appendTo('#' + id + '_saveDialog');
|
|
1730
|
+
this.updateSavePreviewImage();
|
|
1731
|
+
};
|
|
1732
|
+
ToolbarModule.prototype.updateSavePreviewImage = function () {
|
|
1733
|
+
var parent = this.parent;
|
|
1734
|
+
var id = parent.element.id;
|
|
1735
|
+
var elem = parent.element.querySelector('#' + id + '_saveDialog');
|
|
1736
|
+
if (Browser.isDevice || !elem) {
|
|
1737
|
+
return;
|
|
1738
|
+
}
|
|
1739
|
+
var dialogWidth = elem.offsetWidth;
|
|
1740
|
+
var dialogMaxHeight = parseInt(elem.style.maxHeight, 10);
|
|
1741
|
+
var headerHeight = elem.querySelector('.e-dlg-header-content').offsetHeight;
|
|
1742
|
+
var footerHeight = elem.querySelector('.e-footer-content').offsetHeight;
|
|
1743
|
+
var padding = parseInt(window.getComputedStyle(elem.querySelector('#' + id + '_saveDialog_dialog-content')).padding, 10);
|
|
1744
|
+
var imageSizeContent = 20; // Image size text container div height
|
|
1745
|
+
var canvasMaxWidth = dialogWidth * (35 / 100); // 35% of dialog's width
|
|
1746
|
+
var canvasMaxHeight = dialogMaxHeight - headerHeight - footerHeight - imageSizeContent - (padding * 2);
|
|
1747
|
+
var canvas = parent.element.querySelector('#' + id + '_imgPic');
|
|
1748
|
+
var width = canvas.width;
|
|
1749
|
+
var height = canvas.height;
|
|
1750
|
+
var widthScale = canvasMaxWidth / width;
|
|
1751
|
+
var heightScale = canvasMaxHeight / height;
|
|
1752
|
+
var cssMaxWidth = Math.min(width, canvasMaxWidth);
|
|
1753
|
+
var cssMaxHeight = Math.min(height, canvasMaxHeight);
|
|
1754
|
+
if (widthScale < 1 && widthScale < heightScale) {
|
|
1755
|
+
cssMaxWidth = width * widthScale;
|
|
1756
|
+
cssMaxHeight = height * widthScale;
|
|
1757
|
+
}
|
|
1758
|
+
else if (heightScale < 1 && heightScale < widthScale) {
|
|
1759
|
+
cssMaxWidth = width * heightScale;
|
|
1760
|
+
cssMaxHeight = height * heightScale;
|
|
1761
|
+
}
|
|
1762
|
+
var imageObj = { canvas: null };
|
|
1763
|
+
parent.notify('export', { prop: 'exportToCanvas', value: { object: imageObj } });
|
|
1764
|
+
var ctx = canvas.getContext('2d');
|
|
1765
|
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
1766
|
+
canvas.width = cssMaxWidth;
|
|
1767
|
+
canvas.height = cssMaxHeight;
|
|
1768
|
+
var tempCanvas = imageObj['canvas'];
|
|
1769
|
+
ctx.imageSmoothingQuality = 'medium';
|
|
1770
|
+
ctx.drawImage(tempCanvas, 0, 0, tempCanvas.width, tempCanvas.height, 0, 0, cssMaxWidth, cssMaxHeight);
|
|
1730
1771
|
};
|
|
1731
1772
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
1732
1773
|
ToolbarModule.prototype.saveDialogClosed = function (id) {
|
|
@@ -1827,6 +1868,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1827
1868
|
_this.updateImageSize(isNullOrUndefined(_this.currentQuality) ? 1 : _this.currentQuality, obj['canvas'], _this.fileType);
|
|
1828
1869
|
document.getElementById(id + '_' + _this.imageQuality).checked = true;
|
|
1829
1870
|
}
|
|
1871
|
+
_this.updateSavePreviewImage();
|
|
1830
1872
|
}
|
|
1831
1873
|
});
|
|
1832
1874
|
drpDownBtn_1.appendTo('#' + id + '_saveDropdownbtn');
|
|
@@ -1882,12 +1924,14 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1882
1924
|
created: function () {
|
|
1883
1925
|
_this.updateImageSize(_this.currentQuality, obj['canvas'], 'jpeg');
|
|
1884
1926
|
qualitySliderValueSpan.innerHTML = (Math.round(_this.currentQuality * 100)).toString();
|
|
1927
|
+
_this.updateSavePreviewImage();
|
|
1885
1928
|
},
|
|
1886
1929
|
changed: function (args) {
|
|
1887
1930
|
_this.currentQuality = args.value;
|
|
1888
1931
|
qualitySliderValueSpan.innerHTML = (Math.round(_this.currentQuality * 100)).toString();
|
|
1889
1932
|
parent.notify('export', { prop: 'setImageQuality', value: { value: args.value } });
|
|
1890
1933
|
_this.updateImageSize(args.value, obj['canvas'], 'jpeg');
|
|
1934
|
+
_this.updateSavePreviewImage();
|
|
1891
1935
|
}
|
|
1892
1936
|
});
|
|
1893
1937
|
sliderObj.appendTo('#' + id + '_qualitySlider');
|
|
@@ -1908,6 +1952,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1908
1952
|
this.currentQuality = compressionValues[target.textContent];
|
|
1909
1953
|
this.imageQuality = target.textContent.toLowerCase();
|
|
1910
1954
|
this.updateImageSize(compressionValues[target.textContent], obj['canvas'], 'jpeg');
|
|
1955
|
+
this.updateSavePreviewImage();
|
|
1911
1956
|
}
|
|
1912
1957
|
};
|
|
1913
1958
|
ToolbarModule.prototype.updateImageSize = function (quality, tempCanvas, fileType) {
|
|
@@ -1924,7 +1969,11 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1924
1969
|
else {
|
|
1925
1970
|
imageNameLabel = document.getElementById(id + '_imageNameLabel');
|
|
1926
1971
|
}
|
|
1972
|
+
var imageSmoothingEnabled = parent.imageSmoothingEnabled;
|
|
1973
|
+
ctx.canvas.getContext('2d').imageSmoothingQuality = imageSmoothingEnabled ? 'high' : 'low';
|
|
1927
1974
|
if (fileType.toLowerCase() === 'jpeg') {
|
|
1975
|
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
1976
|
+
ctx.drawImage(tempCanvas, 0, 0);
|
|
1928
1977
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
1929
1978
|
tempCanvas.toBlob((function (blob) {
|
|
1930
1979
|
fileSize = Math.floor(blob.size / 1024);
|
|
@@ -1940,20 +1989,12 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1940
1989
|
if (Browser.isDevice) {
|
|
1941
1990
|
canvas.style.display = 'none';
|
|
1942
1991
|
}
|
|
1943
|
-
else {
|
|
1944
|
-
var compressedImage_1 = new Image();
|
|
1945
|
-
compressedImage_1.src = URL.createObjectURL(blob);
|
|
1946
|
-
// eslint-disable-next-line @typescript-eslint/tslint/config
|
|
1947
|
-
compressedImage_1.onload = function () {
|
|
1948
|
-
ctx.drawImage(compressedImage_1, 0, 0);
|
|
1949
|
-
URL.revokeObjectURL(compressedImage_1.src);
|
|
1950
|
-
};
|
|
1951
|
-
}
|
|
1952
1992
|
this.fileSize = fileSize;
|
|
1953
1993
|
}).bind(this), 'image/jpeg', quality);
|
|
1954
1994
|
}
|
|
1955
1995
|
else if (!isNullOrUndefined(fileType) && (fileType.toLowerCase() === 'png' || fileType.toLowerCase() === 'webp')) {
|
|
1956
1996
|
var type = 'image/' + fileType.toLowerCase();
|
|
1997
|
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
1957
1998
|
ctx.drawImage(tempCanvas, 0, 0);
|
|
1958
1999
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
1959
2000
|
tempCanvas.toBlob((function (blob) {
|
|
@@ -1974,6 +2015,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1974
2015
|
}).bind(this), type, 1);
|
|
1975
2016
|
}
|
|
1976
2017
|
else if (!isNullOrUndefined(fileType) && fileType.toLowerCase() === 'svg') {
|
|
2018
|
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
1977
2019
|
ctx.drawImage(tempCanvas, 0, 0);
|
|
1978
2020
|
var svgDataUrl = tempCanvas.toDataURL('image/svg+xml');
|
|
1979
2021
|
var base64Data = svgDataUrl.split(',')[1];
|
|
@@ -1999,6 +2041,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
1999
2041
|
canvas.style.display = 'none';
|
|
2000
2042
|
}
|
|
2001
2043
|
else {
|
|
2044
|
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
2002
2045
|
ctx.drawImage(tempCanvas, 0, 0);
|
|
2003
2046
|
if (this.initialSize > 1000) {
|
|
2004
2047
|
var megabytes = this.initialSize / 1048576;
|
|
@@ -4669,6 +4712,7 @@ var ToolbarModule = /** @class */ (function () {
|
|
|
4669
4712
|
if (filter) {
|
|
4670
4713
|
var ctx = filter.getContext('2d');
|
|
4671
4714
|
ctx = filter.getContext('2d');
|
|
4715
|
+
ctx.imageSmoothingQuality = parent.imageSmoothingEnabled ? 'high' : 'low';
|
|
4672
4716
|
filter.style.width = '100px';
|
|
4673
4717
|
filter.style.height = '100px';
|
|
4674
4718
|
parent.notify('filter', { prop: 'updateAdj', value: { type: type, value: null, isPreview: true, ctx: ctx } });
|
package/styles/bds-lite.css
CHANGED
package/styles/bds.css
CHANGED
package/styles/bootstrap.css
CHANGED
package/styles/bootstrap4.css
CHANGED
package/styles/bootstrap5.3.css
CHANGED
package/styles/bootstrap5.css
CHANGED
package/styles/fabric-dark.css
CHANGED
package/styles/fabric-lite.css
CHANGED
package/styles/fabric.css
CHANGED
package/styles/fluent-dark.css
CHANGED
package/styles/fluent-lite.css
CHANGED
package/styles/fluent.css
CHANGED
package/styles/fluent2-lite.css
CHANGED
package/styles/fluent2.css
CHANGED
package/styles/highcontrast.css
CHANGED