@syncfusion/ej2-image-editor 21.2.6 → 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.
- package/.eslintrc.json +1 -0
- package/CHANGELOG.md +6 -24
- 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 +19186 -12390
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +19217 -12390
- 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 +11 -11
- package/src/image-editor/action/crop.d.ts +35 -0
- package/src/image-editor/action/crop.js +818 -0
- package/src/image-editor/action/draw.d.ts +122 -0
- package/src/image-editor/action/draw.js +3253 -0
- package/src/image-editor/action/export.d.ts +23 -0
- package/src/image-editor/action/export.js +364 -0
- package/src/image-editor/action/filter.d.ts +35 -0
- package/src/image-editor/action/filter.js +699 -0
- package/src/image-editor/action/freehand-draw.d.ts +61 -0
- package/src/image-editor/action/freehand-draw.js +1015 -0
- package/src/image-editor/action/index.d.ts +9 -0
- package/src/image-editor/action/index.js +9 -0
- package/src/image-editor/action/selection.d.ts +140 -0
- package/src/image-editor/action/selection.js +4689 -0
- package/src/image-editor/action/shape.d.ts +93 -0
- package/src/image-editor/action/shape.js +2657 -0
- package/src/image-editor/action/transform.d.ts +67 -0
- package/src/image-editor/action/transform.js +1670 -0
- package/src/image-editor/action/undo-redo.d.ts +43 -0
- package/src/image-editor/action/undo-redo.js +800 -0
- package/src/image-editor/base/enum.d.ts +189 -0
- package/src/image-editor/base/enum.js +198 -0
- package/src/image-editor/{image-editor-model.d.ts → base/image-editor-model.d.ts} +131 -43
- package/src/image-editor/{image-editor.d.ts → base/image-editor.d.ts} +425 -1108
- package/src/image-editor/base/image-editor.js +2458 -0
- package/src/image-editor/base/index.d.ts +4 -0
- package/src/image-editor/base/index.js +2 -0
- package/src/image-editor/base/interface.d.ts +1120 -0
- package/src/image-editor/base/interface.js +1 -0
- package/src/image-editor/index.d.ts +3 -5
- package/src/image-editor/index.js +3 -4
- package/src/image-editor/renderer/index.d.ts +1 -0
- package/src/image-editor/renderer/index.js +1 -0
- package/src/image-editor/renderer/toolbar.d.ts +105 -0
- package/src/image-editor/renderer/toolbar.js +3019 -0
- package/styles/bootstrap-dark.css +69 -3
- package/styles/bootstrap.css +69 -3
- package/styles/bootstrap4.css +69 -3
- package/styles/bootstrap5-dark.css +69 -3
- package/styles/bootstrap5.css +69 -3
- package/styles/fabric-dark.css +69 -3
- package/styles/fabric.css +69 -3
- package/styles/fluent-dark.css +69 -3
- package/styles/fluent.css +69 -3
- package/styles/highcontrast-light.css +69 -3
- package/styles/highcontrast.css +69 -7
- package/styles/image-editor/_layout.scss +21 -7
- package/styles/image-editor/_material3-dark-definition.scss +1 -0
- package/styles/image-editor/_material3-definition.scss +11 -0
- package/styles/image-editor/_theme.scss +9 -2
- package/styles/image-editor/bootstrap-dark.css +69 -3
- package/styles/image-editor/bootstrap.css +69 -3
- package/styles/image-editor/bootstrap4.css +69 -3
- package/styles/image-editor/bootstrap5-dark.css +69 -3
- package/styles/image-editor/bootstrap5.css +69 -3
- package/styles/image-editor/fabric-dark.css +69 -3
- package/styles/image-editor/fabric.css +69 -3
- package/styles/image-editor/fluent-dark.css +69 -3
- package/styles/image-editor/fluent.css +69 -3
- package/styles/image-editor/highcontrast-light.css +69 -3
- package/styles/image-editor/highcontrast.css +69 -7
- package/styles/image-editor/icons/_bootstrap-dark.scss +132 -0
- package/styles/image-editor/icons/_bootstrap.scss +132 -0
- package/styles/image-editor/icons/_bootstrap4.scss +132 -0
- package/styles/image-editor/icons/_bootstrap5.scss +132 -0
- package/styles/image-editor/icons/_fabric-dark.scss +132 -0
- package/styles/image-editor/icons/_fabric.scss +132 -0
- package/styles/image-editor/icons/_fluent.scss +132 -0
- package/styles/image-editor/icons/_fusionnew.scss +132 -0
- package/styles/image-editor/icons/_highcontrast-light.scss +132 -0
- package/styles/image-editor/icons/_highcontrast.scss +132 -0
- package/styles/image-editor/icons/_material-dark.scss +132 -0
- package/styles/image-editor/icons/_material.scss +132 -0
- package/styles/image-editor/icons/_material3-dark.scss +1 -0
- package/styles/image-editor/icons/_material3.scss +133 -1
- package/styles/image-editor/icons/_tailwind.scss +132 -0
- package/styles/image-editor/material-dark.css +69 -3
- package/styles/image-editor/material.css +69 -3
- package/styles/image-editor/material3-dark.css +453 -0
- package/styles/image-editor/material3-dark.scss +14 -0
- package/styles/image-editor/material3.css +509 -0
- package/styles/image-editor/material3.scss +14 -0
- package/styles/image-editor/tailwind-dark.css +69 -3
- package/styles/image-editor/tailwind.css +69 -3
- package/styles/material-dark.css +69 -3
- package/styles/material.css +69 -3
- package/styles/material3-dark.css +453 -0
- package/styles/material3-dark.scss +3 -0
- package/styles/material3.css +509 -0
- package/styles/material3.scss +3 -0
- package/styles/tailwind-dark.css +69 -3
- package/styles/tailwind.css +69 -3
- package/src/image-editor/image-editor.js +0 -14784
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
export * from './image-editor';
|
|
1
|
+
export * from './action/index';
|
|
2
|
+
export * from './base/index';
|
|
3
|
+
export * from './renderer/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toolbar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toolbar';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { ImageEditor } from '../index';
|
|
2
|
+
export declare class ToolbarModule {
|
|
3
|
+
private parent;
|
|
4
|
+
private defaultLocale;
|
|
5
|
+
private defToolbarItems;
|
|
6
|
+
private toolbarHeight;
|
|
7
|
+
private zoomBtnHold;
|
|
8
|
+
private l10n;
|
|
9
|
+
private currToolbar;
|
|
10
|
+
private preventZoomBtn;
|
|
11
|
+
private currentToolbar;
|
|
12
|
+
private selFhdColor;
|
|
13
|
+
private preventEnableDisableUr;
|
|
14
|
+
private lowerContext;
|
|
15
|
+
private upperContext;
|
|
16
|
+
private inMemoryCanvas;
|
|
17
|
+
private inMemoryContext;
|
|
18
|
+
constructor(parent: ImageEditor);
|
|
19
|
+
destroy(): void;
|
|
20
|
+
private addEventListener;
|
|
21
|
+
private removeEventListener;
|
|
22
|
+
private initLocale;
|
|
23
|
+
private toolbar;
|
|
24
|
+
private updatePrivateVariables;
|
|
25
|
+
private reset;
|
|
26
|
+
private destroyTopToolbar;
|
|
27
|
+
private destroyBottomToolbar;
|
|
28
|
+
private isToolbar;
|
|
29
|
+
private createToolbar;
|
|
30
|
+
private createContextualToolbar;
|
|
31
|
+
private createBottomToolbar;
|
|
32
|
+
private createQuickAccessToolbar;
|
|
33
|
+
private initMainToolbar;
|
|
34
|
+
private initBottomToolbar;
|
|
35
|
+
private getLeftToolbarItem;
|
|
36
|
+
private getRightToolbarItem;
|
|
37
|
+
private getMainToolbarItem;
|
|
38
|
+
private getZoomToolbarItem;
|
|
39
|
+
private updateContextualToolbar;
|
|
40
|
+
private processToolbar;
|
|
41
|
+
private processSubToolbar;
|
|
42
|
+
private wireZoomBtnEvents;
|
|
43
|
+
private enableDisableTbrBtn;
|
|
44
|
+
private createLeftToolbarControls;
|
|
45
|
+
private fileSelect;
|
|
46
|
+
private renderAnnotationBtn;
|
|
47
|
+
private renderCropBtn;
|
|
48
|
+
private renderTransformBtn;
|
|
49
|
+
private renderSaveBtn;
|
|
50
|
+
private getCropTransformToolbarItem;
|
|
51
|
+
private getShapesToolbarItem;
|
|
52
|
+
private initCropTransformToolbar;
|
|
53
|
+
private getCurrentShapeIcon;
|
|
54
|
+
private initShapesToolbarItem;
|
|
55
|
+
private createShapeColor;
|
|
56
|
+
private createShapeBtn;
|
|
57
|
+
private createStartBtn;
|
|
58
|
+
private createEndBtn;
|
|
59
|
+
private getTextToolbarItem;
|
|
60
|
+
private getFontFamilyItems;
|
|
61
|
+
private initTextToolbarItem;
|
|
62
|
+
private createTextColor;
|
|
63
|
+
private createTextBtn;
|
|
64
|
+
private refreshToolbar;
|
|
65
|
+
private getAdjustmentToolbarItem;
|
|
66
|
+
private getFilterToolbarItem;
|
|
67
|
+
private getPenToolbarItem;
|
|
68
|
+
private initPenToolbarItem;
|
|
69
|
+
private createPenColor;
|
|
70
|
+
private createPenBtn;
|
|
71
|
+
private getPenStroke;
|
|
72
|
+
private initAdjustmentToolbarItem;
|
|
73
|
+
private initFilterToolbarItem;
|
|
74
|
+
private createCanvasFilter;
|
|
75
|
+
private updateFilterCanvas;
|
|
76
|
+
private getQuickAccessToolbarItem;
|
|
77
|
+
private renderQAT;
|
|
78
|
+
private refreshDropDownBtn;
|
|
79
|
+
private cropSelect;
|
|
80
|
+
private quickAccessToolbarClicked;
|
|
81
|
+
private defToolbarClicked;
|
|
82
|
+
private performDefTbrClick;
|
|
83
|
+
private contextualToolbarClicked;
|
|
84
|
+
private refreshShapeDrawing;
|
|
85
|
+
private zoomInBtnClickHandler;
|
|
86
|
+
private zoomOutBtnClickHandler;
|
|
87
|
+
private zoomInBtnMouseDownHandler;
|
|
88
|
+
private zoomOutBtnMouseDownHandler;
|
|
89
|
+
private zoomBtnMouseUpHandler;
|
|
90
|
+
private closeContextualToolbar;
|
|
91
|
+
private destroyQuickAccessToolbar;
|
|
92
|
+
private renderSlider;
|
|
93
|
+
private createSlider;
|
|
94
|
+
private applyPreviewFilter;
|
|
95
|
+
private unselectBtn;
|
|
96
|
+
private openSlider;
|
|
97
|
+
private refreshSlider;
|
|
98
|
+
private updateToolbarItems;
|
|
99
|
+
private getStrokeWidth;
|
|
100
|
+
private cancelPan;
|
|
101
|
+
private refreshMainToolbar;
|
|
102
|
+
private destroySubComponents;
|
|
103
|
+
private setInitialShapeSettings;
|
|
104
|
+
getModuleName(): string;
|
|
105
|
+
}
|