@acorex/components 18.10.10 → 18.10.12
Sign up to get free protection for your applications and to get access to all the features.
- package/button/lib/button.component.d.ts +1 -1
- package/esm2022/button/lib/button.component.mjs +3 -3
- package/esm2022/color-box/lib/color-box.component.mjs +3 -3
- package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +1 -1
- package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +1 -1
- package/esm2022/image-editor/acorex-components-image-editor.mjs +5 -0
- package/esm2022/image-editor/index.mjs +8 -0
- package/esm2022/image-editor/lib/image-editor-container/image-editor-container.component.mjs +23 -0
- package/esm2022/image-editor/lib/image-editor-toolbar/image-editor-toolbar.component.mjs +69 -0
- package/esm2022/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.mjs +46 -0
- package/esm2022/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.mjs +36 -0
- package/esm2022/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.mjs +56 -0
- package/esm2022/image-editor/lib/image-editor-view/image-editor-view.component.mjs +304 -0
- package/esm2022/image-editor/lib/image-editor.module.mjs +69 -0
- package/esm2022/image-editor/lib/image-editor.service.mjs +22 -0
- package/esm2022/loading/lib/loading-spinner.component.mjs +7 -5
- package/esm2022/loading/lib/loading.component.mjs +2 -2
- package/esm2022/map/lib/map.component.mjs +2 -2
- package/esm2022/media-viewer/lib/media-viewer-container/media-viewer-container.component.mjs +3 -3
- package/fesm2022/acorex-components-button.mjs +2 -2
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +2 -2
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +595 -0
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -0
- package/fesm2022/acorex-components-loading.mjs +8 -6
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +2 -2
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +2 -2
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/image-editor/README.md +3 -0
- package/image-editor/index.d.ts +7 -0
- package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +13 -0
- package/image-editor/lib/image-editor-toolbar/image-editor-toolbar.component.d.ts +27 -0
- package/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.d.ts +27 -0
- package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts +18 -0
- package/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.d.ts +34 -0
- package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +65 -0
- package/image-editor/lib/image-editor.module.d.ts +21 -0
- package/image-editor/lib/image-editor.service.d.ts +24 -0
- package/loading/lib/loading-spinner.component.d.ts +1 -1
- package/media-viewer/lib/media-viewer-container/media-viewer-container.component.d.ts +1 -1
- package/package.json +78 -72
@@ -0,0 +1,304 @@
|
|
1
|
+
import { afterNextRender, ChangeDetectionStrategy, Component, effect, HostBinding, inject, input, signal, viewChild, ViewEncapsulation, } from '@angular/core';
|
2
|
+
import { AXImageEditorService } from '../image-editor.service';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@acorex/components/button";
|
5
|
+
export class AXImageEditorViewComponent {
|
6
|
+
/** @ignore */
|
7
|
+
constructor() {
|
8
|
+
/**
|
9
|
+
* its receive image src.
|
10
|
+
*/
|
11
|
+
this.src = input('');
|
12
|
+
/** @ignore */
|
13
|
+
this.canvasElem = viewChild('canvasElem');
|
14
|
+
/** @ignore */
|
15
|
+
this.ctx = signal(null);
|
16
|
+
/** @ignore */
|
17
|
+
this.service = inject(AXImageEditorService);
|
18
|
+
/** @ignore */
|
19
|
+
this.cropImageData = signal(null);
|
20
|
+
/** @ignore */
|
21
|
+
this.isMouseDown = signal(false);
|
22
|
+
/** @ignore */
|
23
|
+
this.cropStartX = signal(0);
|
24
|
+
/** @ignore */
|
25
|
+
this.cropStartY = signal(0);
|
26
|
+
/** @ignore */
|
27
|
+
this.cropEndX = signal(0);
|
28
|
+
/** @ignore */
|
29
|
+
this.cropEndY = signal(0);
|
30
|
+
afterNextRender(() => {
|
31
|
+
this.service.initialImage().src = this.src();
|
32
|
+
this.service.initialImage().crossOrigin = 'anonymous';
|
33
|
+
this.EventListener = this.service.initialImage().addEventListener('load', this.imageLoaded.bind(this));
|
34
|
+
});
|
35
|
+
effect(() => {
|
36
|
+
if (!this.service.toggleClear().userInteract)
|
37
|
+
return;
|
38
|
+
if (this.service.toggleClear().state) {
|
39
|
+
this.imageLoaded();
|
40
|
+
}
|
41
|
+
}, { allowSignalWrites: true });
|
42
|
+
effect(() => {
|
43
|
+
if (!this.service.cropState().userInteract || !this.ctx())
|
44
|
+
return;
|
45
|
+
if (this.service.cropState().state) {
|
46
|
+
this.ctx().filter = 'brightness(40%)';
|
47
|
+
}
|
48
|
+
else {
|
49
|
+
this.ctx().filter = 'brightness(100%)';
|
50
|
+
}
|
51
|
+
this.ctx().drawImage(this.service.newImage(), 0, 0, this.service.newImage().width, this.service.newImage().height);
|
52
|
+
}, { allowSignalWrites: true });
|
53
|
+
effect(() => {
|
54
|
+
if (!this.service.rotate().userInteract || !this.ctx())
|
55
|
+
return;
|
56
|
+
this.rotateImage();
|
57
|
+
}, { allowSignalWrites: true });
|
58
|
+
}
|
59
|
+
/** @ignore */
|
60
|
+
ngOnDestroy() {
|
61
|
+
removeEventListener('load', this.EventListener);
|
62
|
+
}
|
63
|
+
/** @ignore */
|
64
|
+
imageLoaded() {
|
65
|
+
this.service.newImage.set(this.service.initialImage());
|
66
|
+
this.canvasElem().nativeElement.width = this.service.initialImage().width;
|
67
|
+
this.canvasElem().nativeElement.height = this.service.initialImage().height;
|
68
|
+
this.ctx.set(this.canvasElem().nativeElement.getContext('2d', { willReadFrequently: true }));
|
69
|
+
this.ctx().drawImage(this.service.initialImage(), 0, 0, this.service.initialImage().width, this.service.initialImage().height);
|
70
|
+
this.service.toggleClear.set({ userInteract: false, state: false });
|
71
|
+
this.service.isImageLoad.set(true);
|
72
|
+
this.ctx().lineJoin = 'round';
|
73
|
+
this.ctx().lineCap = this.service.lineCap();
|
74
|
+
this.ctx().strokeStyle = this.service.penColor();
|
75
|
+
this.ctx().lineWidth = this.service.lineWidth();
|
76
|
+
this.ctx().globalCompositeOperation = 'source-over';
|
77
|
+
this.ctx().globalAlpha = 1;
|
78
|
+
}
|
79
|
+
/** @ignore */
|
80
|
+
penConfigHandler(penType) {
|
81
|
+
switch (penType) {
|
82
|
+
case 'pen':
|
83
|
+
this.ctx().globalAlpha = 1;
|
84
|
+
break;
|
85
|
+
case 'highlight':
|
86
|
+
this.ctx().globalAlpha = 0.008;
|
87
|
+
break;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
/** @ignore */
|
91
|
+
getBoundingCanvasHandler() {
|
92
|
+
return this.canvasElem().nativeElement.getBoundingClientRect();
|
93
|
+
}
|
94
|
+
/** @ignore */
|
95
|
+
mouseDownHandler(e) {
|
96
|
+
this.isMouseDown.set(true);
|
97
|
+
if (this.service.cropState().state) {
|
98
|
+
this.cropStartX.set(e.offsetX);
|
99
|
+
this.cropStartY.set(e.offsetY);
|
100
|
+
this.cropEndX.set(0);
|
101
|
+
}
|
102
|
+
else {
|
103
|
+
this.penConfigHandler(this.service.penType());
|
104
|
+
this.ctx().strokeStyle = this.service.penColor();
|
105
|
+
this.ctx().lineCap = this.service.lineCap();
|
106
|
+
this.ctx().lineWidth = this.service.lineWidth();
|
107
|
+
this.ctx().beginPath();
|
108
|
+
this.ctx().moveTo(e.offsetX, e.offsetY);
|
109
|
+
this.ctx().lineTo(e.offsetX, e.offsetY);
|
110
|
+
this.ctx().stroke();
|
111
|
+
}
|
112
|
+
}
|
113
|
+
/** @ignore */
|
114
|
+
mouseMoveHandler(e) {
|
115
|
+
if (!this.isMouseDown())
|
116
|
+
return;
|
117
|
+
if (this.service.cropState().state) {
|
118
|
+
this.ctx().globalCompositeOperation = 'screen';
|
119
|
+
this.cropEndX.set(e.offsetX);
|
120
|
+
this.cropEndY.set(e.offsetY);
|
121
|
+
this.drawSelection();
|
122
|
+
}
|
123
|
+
else {
|
124
|
+
this.ctx().lineTo(e.offsetX, e.offsetY);
|
125
|
+
this.ctx().stroke();
|
126
|
+
}
|
127
|
+
}
|
128
|
+
/** @ignore */
|
129
|
+
mouseUpHandler() {
|
130
|
+
this.isMouseDown.set(false);
|
131
|
+
if (this.service.cropState().state && this.cropEndX()) {
|
132
|
+
this.ctx().globalCompositeOperation = 'source-over';
|
133
|
+
this.cropImageFunction();
|
134
|
+
}
|
135
|
+
else {
|
136
|
+
this.ctx().closePath();
|
137
|
+
this.saveImageChange();
|
138
|
+
}
|
139
|
+
}
|
140
|
+
/** @ignore */
|
141
|
+
touchStartHandler(e) {
|
142
|
+
const offsetX = e.touches[0].clientX - this.getBoundingCanvasHandler().left;
|
143
|
+
const offsetY = e.touches[0].clientY - this.getBoundingCanvasHandler().top;
|
144
|
+
this.isMouseDown.set(true);
|
145
|
+
if (this.service.cropState().state) {
|
146
|
+
this.cropStartX.set(offsetX);
|
147
|
+
this.cropStartY.set(offsetY);
|
148
|
+
this.cropEndX.set(0);
|
149
|
+
}
|
150
|
+
else {
|
151
|
+
this.penConfigHandler(this.service.penType());
|
152
|
+
this.ctx().strokeStyle = this.service.penColor();
|
153
|
+
this.ctx().lineCap = this.service.lineCap();
|
154
|
+
this.ctx().lineWidth = this.service.lineWidth();
|
155
|
+
this.ctx().beginPath();
|
156
|
+
this.ctx().moveTo(offsetX, offsetY);
|
157
|
+
this.ctx().lineTo(offsetX, offsetY);
|
158
|
+
this.ctx().stroke();
|
159
|
+
}
|
160
|
+
}
|
161
|
+
/** @ignore */
|
162
|
+
touchMoveHandler(e) {
|
163
|
+
e.preventDefault(); // prevent page from scroll
|
164
|
+
if (!this.isMouseDown())
|
165
|
+
return;
|
166
|
+
const offsetX = e.touches[0].clientX - this.getBoundingCanvasHandler().left;
|
167
|
+
const offsetY = e.touches[0].clientY - this.getBoundingCanvasHandler().top;
|
168
|
+
if (this.service.cropState().state) {
|
169
|
+
this.ctx().globalCompositeOperation = 'screen';
|
170
|
+
this.cropEndX.set(offsetX);
|
171
|
+
this.cropEndY.set(offsetY);
|
172
|
+
this.drawSelection();
|
173
|
+
}
|
174
|
+
else {
|
175
|
+
this.ctx().lineTo(offsetX, offsetY);
|
176
|
+
this.ctx().stroke();
|
177
|
+
}
|
178
|
+
}
|
179
|
+
/** @ignore */
|
180
|
+
touchEndHandler() {
|
181
|
+
this.isMouseDown.set(false);
|
182
|
+
if (this.service.cropState().state && this.cropEndX()) {
|
183
|
+
this.ctx().globalCompositeOperation = 'source-over';
|
184
|
+
this.cropImageFunction();
|
185
|
+
}
|
186
|
+
else {
|
187
|
+
this.ctx().closePath();
|
188
|
+
this.saveImageChange();
|
189
|
+
}
|
190
|
+
}
|
191
|
+
/** @ignore */
|
192
|
+
drawSelection() {
|
193
|
+
const cropWidth = this.cropEndX() - this.cropStartX();
|
194
|
+
const cropHeight = this.cropEndY() - this.cropStartY();
|
195
|
+
this.ctx().clearRect(0, 0, this.canvasElem().nativeElement.width, this.canvasElem().nativeElement.height);
|
196
|
+
this.ctx().drawImage(this.service.newImage(), 0, 0);
|
197
|
+
this.ctx().strokeStyle = 'white';
|
198
|
+
this.ctx().setLineDash([4, 10]);
|
199
|
+
this.ctx().lineWidth = 2;
|
200
|
+
this.ctx().strokeRect(this.cropStartX(), this.cropStartY(), cropWidth, cropHeight);
|
201
|
+
}
|
202
|
+
/** @ignore */
|
203
|
+
cropImageFunction() {
|
204
|
+
this.ctx().clearRect(0, 0, this.canvasElem().nativeElement.width, this.canvasElem().nativeElement.height);
|
205
|
+
this.ctx().drawImage(this.service.newImage(), 0, 0);
|
206
|
+
let imageData;
|
207
|
+
if (this.cropStartX() < this.cropEndX() && this.cropStartY() > this.cropEndY()) {
|
208
|
+
imageData = this.ctx().getImageData(this.cropStartX(), this.cropEndY(), this.cropEndX() - this.cropStartX(), this.cropStartY() - this.cropEndY());
|
209
|
+
}
|
210
|
+
else if (this.cropStartX() > this.cropEndX() && this.cropStartY() > this.cropEndY()) {
|
211
|
+
imageData = this.ctx().getImageData(this.cropEndX(), this.cropEndY(), this.cropStartX() - this.cropEndX(), this.cropStartY() - this.cropEndY());
|
212
|
+
}
|
213
|
+
else if (this.cropStartX() < this.cropEndX() && this.cropStartY() < this.cropEndY()) {
|
214
|
+
imageData = this.ctx().getImageData(this.cropStartX(), this.cropStartY(), this.cropEndX() - this.cropStartX(), this.cropEndY() - this.cropStartY());
|
215
|
+
}
|
216
|
+
else if (this.cropStartX() > this.cropEndX() && this.cropStartY() < this.cropEndY()) {
|
217
|
+
imageData = this.ctx().getImageData(this.cropEndX(), this.cropStartY(), this.cropStartX() - this.cropEndX(), this.cropEndY() - this.cropStartY());
|
218
|
+
}
|
219
|
+
const data = imageData.data;
|
220
|
+
const brightnessFactor = 2.4; // Increase brightness by 20%
|
221
|
+
for (let i = 0; i < data.length; i += 4) {
|
222
|
+
data[i] = data[i] * brightnessFactor; // Red
|
223
|
+
data[i + 1] = data[i + 1] * brightnessFactor; // Green
|
224
|
+
data[i + 2] = data[i + 2] * brightnessFactor; // Blue
|
225
|
+
}
|
226
|
+
if (this.cropStartX() < this.cropEndX() && this.cropStartY() > this.cropEndY()) {
|
227
|
+
this.ctx().putImageData(imageData, this.cropStartX(), this.cropEndY());
|
228
|
+
}
|
229
|
+
else if (this.cropStartX() > this.cropEndX() && this.cropStartY() > this.cropEndY()) {
|
230
|
+
this.ctx().putImageData(imageData, this.cropEndX(), this.cropEndY());
|
231
|
+
}
|
232
|
+
else if (this.cropStartX() < this.cropEndX() && this.cropStartY() < this.cropEndY()) {
|
233
|
+
this.ctx().putImageData(imageData, this.cropStartX(), this.cropStartY());
|
234
|
+
}
|
235
|
+
else if (this.cropStartX() > this.cropEndX() && this.cropStartY() < this.cropEndY()) {
|
236
|
+
this.ctx().putImageData(imageData, this.cropEndX(), this.cropStartY());
|
237
|
+
}
|
238
|
+
this.cropImageData.set(imageData);
|
239
|
+
}
|
240
|
+
/** @ignore */
|
241
|
+
cropButtonHandler() {
|
242
|
+
let cropWidth;
|
243
|
+
let cropHeight;
|
244
|
+
this.service.rotate.update((prev) => {
|
245
|
+
return { userInteract: false, state: prev.state };
|
246
|
+
});
|
247
|
+
if (this.cropStartX() < this.cropEndX() && this.cropStartY() > this.cropEndY()) {
|
248
|
+
cropWidth = this.cropEndX() - this.cropStartX();
|
249
|
+
cropHeight = this.cropStartY() - this.cropEndY();
|
250
|
+
}
|
251
|
+
else if (this.cropStartX() > this.cropEndX() && this.cropStartY() > this.cropEndY()) {
|
252
|
+
cropWidth = this.cropStartX() - this.cropEndX();
|
253
|
+
cropHeight = this.cropStartY() - this.cropEndY();
|
254
|
+
}
|
255
|
+
else if (this.cropStartX() < this.cropEndX() && this.cropStartY() < this.cropEndY()) {
|
256
|
+
cropWidth = this.cropEndX() - this.cropStartX();
|
257
|
+
cropHeight = this.cropEndY() - this.cropStartY();
|
258
|
+
}
|
259
|
+
else if (this.cropStartX() > this.cropEndX() && this.cropStartY() < this.cropEndY()) {
|
260
|
+
cropWidth = this.cropStartX() - this.cropEndX();
|
261
|
+
cropHeight = this.cropEndY() - this.cropStartY();
|
262
|
+
}
|
263
|
+
this.canvasElem().nativeElement.width = cropWidth;
|
264
|
+
this.canvasElem().nativeElement.height = cropHeight;
|
265
|
+
this.ctx().putImageData(this.cropImageData(), 0, 0);
|
266
|
+
this.saveImageChange();
|
267
|
+
this.cropImageData.set(null);
|
268
|
+
this.service.cropState.set({ userInteract: false, state: false });
|
269
|
+
}
|
270
|
+
/** @ignore */
|
271
|
+
rotateImage() {
|
272
|
+
this.ctx().save();
|
273
|
+
this.ctx().clearRect(0, 0, this.canvasElem().nativeElement.width, this.canvasElem().nativeElement.height);
|
274
|
+
this.ctx().translate(this.service.newImage().width / 2, this.service.newImage().height / 2);
|
275
|
+
this.ctx().rotate((this.service.rotate().state * Math.PI) / 180);
|
276
|
+
this.ctx().drawImage(this.service.newImage(), -this.service.newImage().width / 2, -this.service.newImage().height / 2, this.service.newImage().width, this.service.newImage().height);
|
277
|
+
this.ctx().restore();
|
278
|
+
this.saveImageChange();
|
279
|
+
this.service.rotate.update((prev) => {
|
280
|
+
return { state: prev.state, userInteract: false };
|
281
|
+
});
|
282
|
+
}
|
283
|
+
/** @ignore */
|
284
|
+
saveImageChange() {
|
285
|
+
const newImage = new Image();
|
286
|
+
newImage.crossOrigin = 'anonymous';
|
287
|
+
newImage.src = this.canvasElem().nativeElement.toDataURL('image/jpeg', 1);
|
288
|
+
this.service.newImage.set(newImage);
|
289
|
+
}
|
290
|
+
/** @ignore */
|
291
|
+
get __hostStyle() {
|
292
|
+
return `width: ${this.service.initialImage().width}px; height: ${this.service.initialImage().height}px`;
|
293
|
+
}
|
294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
295
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.0", type: AXImageEditorViewComponent, selector: "ax-image-editor-view", inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style": "this.__hostStyle" } }, viewQueries: [{ propertyName: "canvasElem", first: true, predicate: ["canvasElem"], descendants: true, isSignal: true }], ngImport: i0, template: "<canvas\n tabindex=\"1\"\n (mousedown)=\"mouseDownHandler($event)\"\n (mouseup)=\"mouseUpHandler()\"\n (mousemove)=\"mouseMoveHandler($event)\"\n (touchstart)=\"touchStartHandler($event)\"\n (touchend)=\"touchEndHandler()\"\n (touchmove)=\"touchMoveHandler($event)\"\n class=\"ax-canvas-element\"\n #canvasElem\n></canvas>\n<ax-button\n (click)=\"cropButtonHandler()\"\n [style]=\"{ display: service.cropState().state ? 'block' : 'none' }\"\n class=\"ax-crop-save ax-sm\"\n text=\"Crop\"\n></ax-button>\n", styles: ["ax-image-editor-view{position:relative;display:flex;justify-content:center;align-items:center;background-color:#fff;width:100%}ax-image-editor-view .ax-canvas-element{cursor:crosshair}ax-image-editor-view .ax-crop-save{position:absolute;top:0;right:0;margin:1rem}\n"], dependencies: [{ kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
296
|
+
}
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorViewComponent, decorators: [{
|
298
|
+
type: Component,
|
299
|
+
args: [{ selector: 'ax-image-editor-view', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<canvas\n tabindex=\"1\"\n (mousedown)=\"mouseDownHandler($event)\"\n (mouseup)=\"mouseUpHandler()\"\n (mousemove)=\"mouseMoveHandler($event)\"\n (touchstart)=\"touchStartHandler($event)\"\n (touchend)=\"touchEndHandler()\"\n (touchmove)=\"touchMoveHandler($event)\"\n class=\"ax-canvas-element\"\n #canvasElem\n></canvas>\n<ax-button\n (click)=\"cropButtonHandler()\"\n [style]=\"{ display: service.cropState().state ? 'block' : 'none' }\"\n class=\"ax-crop-save ax-sm\"\n text=\"Crop\"\n></ax-button>\n", styles: ["ax-image-editor-view{position:relative;display:flex;justify-content:center;align-items:center;background-color:#fff;width:100%}ax-image-editor-view .ax-canvas-element{cursor:crosshair}ax-image-editor-view .ax-crop-save{position:absolute;top:0;right:0;margin:1rem}\n"] }]
|
300
|
+
}], ctorParameters: () => [], propDecorators: { __hostStyle: [{
|
301
|
+
type: HostBinding,
|
302
|
+
args: ['style']
|
303
|
+
}] } });
|
304
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZWRpdG9yLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2ltYWdlLWVkaXRvci9zcmMvbGliL2ltYWdlLWVkaXRvci12aWV3L2ltYWdlLWVkaXRvci12aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9pbWFnZS1lZGl0b3Ivc3JjL2xpYi9pbWFnZS1lZGl0b3Itdmlldy9pbWFnZS1lZGl0b3Itdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsZUFBZSxFQUNmLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsTUFBTSxFQUVOLFdBQVcsRUFDWCxNQUFNLEVBQ04sS0FBSyxFQUVMLE1BQU0sRUFDTixTQUFTLEVBQ1QsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDOzs7QUFTL0QsTUFBTSxPQUFPLDBCQUEwQjtJQTJCckMsY0FBYztJQUNkO1FBM0JBOztXQUVHO1FBQ0gsUUFBRyxHQUFHLEtBQUssQ0FBUyxFQUFFLENBQUMsQ0FBQztRQUN4QixjQUFjO1FBQ0osZUFBVSxHQUFHLFNBQVMsQ0FBZ0MsWUFBWSxDQUFDLENBQUM7UUFDOUUsY0FBYztRQUNKLFF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cIlxuPjwvYXgtYnV0dG9uPlxuIl19
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { AXButtonModule } from '@acorex/components/button';
|
2
|
+
import { AXColorPaletteModule } from '@acorex/components/color-palette';
|
3
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
4
|
+
import { AXDialogModule } from '@acorex/components/dialog';
|
5
|
+
import { AXLoadingModule } from '@acorex/components/loading';
|
6
|
+
import { AXPopoverModule } from '@acorex/components/popover';
|
7
|
+
import { AXRangeSliderModule } from '@acorex/components/range-slider';
|
8
|
+
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
9
|
+
import { NgModule } from '@angular/core';
|
10
|
+
import { FormsModule } from '@angular/forms';
|
11
|
+
import { AXImageEditorContainerComponent } from './image-editor-container/image-editor-container.component';
|
12
|
+
import { AXImageEditorToolbarComponent } from './image-editor-toolbar/image-editor-toolbar.component';
|
13
|
+
import { AXImageEditorColorPickerComponent } from './image-editor-tools/image-editor-color-picker/image-editor-color-picker.component';
|
14
|
+
import { AXImageEditorCropComponent } from './image-editor-tools/image-editor-crop/image-editor-crop.component';
|
15
|
+
import { AXImageEditorPenModeChangerComponent } from './image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component';
|
16
|
+
import { AXImageEditorViewComponent } from './image-editor-view/image-editor-view.component';
|
17
|
+
import * as i0 from "@angular/core";
|
18
|
+
const COMPONENT = [
|
19
|
+
AXImageEditorToolbarComponent,
|
20
|
+
AXImageEditorColorPickerComponent,
|
21
|
+
AXImageEditorPenModeChangerComponent,
|
22
|
+
AXImageEditorViewComponent,
|
23
|
+
AXImageEditorContainerComponent,
|
24
|
+
AXImageEditorCropComponent,
|
25
|
+
];
|
26
|
+
const MODULES = [
|
27
|
+
AXButtonModule,
|
28
|
+
FormsModule,
|
29
|
+
AXRangeSliderModule,
|
30
|
+
AXSelectBoxModule,
|
31
|
+
AXColorPaletteModule,
|
32
|
+
AXPopoverModule,
|
33
|
+
AXDecoratorModule,
|
34
|
+
AXLoadingModule,
|
35
|
+
AXDialogModule,
|
36
|
+
];
|
37
|
+
export class AXImageEditorModule {
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
39
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorModule, declarations: [AXImageEditorToolbarComponent,
|
40
|
+
AXImageEditorColorPickerComponent,
|
41
|
+
AXImageEditorPenModeChangerComponent,
|
42
|
+
AXImageEditorViewComponent,
|
43
|
+
AXImageEditorContainerComponent,
|
44
|
+
AXImageEditorCropComponent], imports: [AXButtonModule,
|
45
|
+
FormsModule,
|
46
|
+
AXRangeSliderModule,
|
47
|
+
AXSelectBoxModule,
|
48
|
+
AXColorPaletteModule,
|
49
|
+
AXPopoverModule,
|
50
|
+
AXDecoratorModule,
|
51
|
+
AXLoadingModule,
|
52
|
+
AXDialogModule], exports: [AXImageEditorToolbarComponent,
|
53
|
+
AXImageEditorColorPickerComponent,
|
54
|
+
AXImageEditorPenModeChangerComponent,
|
55
|
+
AXImageEditorViewComponent,
|
56
|
+
AXImageEditorContainerComponent,
|
57
|
+
AXImageEditorCropComponent] }); }
|
58
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorModule, imports: [MODULES] }); }
|
59
|
+
}
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorModule, decorators: [{
|
61
|
+
type: NgModule,
|
62
|
+
args: [{
|
63
|
+
declarations: [...COMPONENT],
|
64
|
+
imports: [...MODULES],
|
65
|
+
exports: [...COMPONENT],
|
66
|
+
providers: [],
|
67
|
+
}]
|
68
|
+
}] });
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ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VkaXRvckNvbnRhaW5lckNvbXBvbmVudCxcbiAgQVhJbWFnZUVkaXRvckNyb3BDb21wb25lbnQsXG5dO1xuXG5jb25zdCBNT0RVTEVTID0gW1xuICBBWEJ1dHRvbk1vZHVsZSxcbiAgRm9ybXNNb2R1bGUsXG4gIEFYUmFuZ2VTbGlkZXJNb2R1bGUsXG4gIEFYU2VsZWN0Qm94TW9kdWxlLFxuICBBWENvbG9yUGFsZXR0ZU1vZHVsZSxcbiAgQVhQb3BvdmVyTW9kdWxlLFxuICBBWERlY29yYXRvck1vZHVsZSxcbiAgQVhMb2FkaW5nTW9kdWxlLFxuICBBWERpYWxvZ01vZHVsZSxcbl07XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogWy4uLkNPTVBPTkVOVF0sXG4gIGltcG9ydHM6IFsuLi5NT0RVTEVTXSxcbiAgZXhwb3J0czogWy4uLkNPTVBPTkVOVF0sXG4gIHByb3ZpZGVyczogW10sXG59KVxuZXhwb3J0IGNsYXNzIEFYSW1hZ2VFZGl0b3JNb2R1bGUge31cbiJdfQ==
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { Injectable, signal } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class AXImageEditorService {
|
4
|
+
constructor() {
|
5
|
+
this.penColor = signal('');
|
6
|
+
this.lineCap = signal('round');
|
7
|
+
this.lineWidth = signal(10);
|
8
|
+
this.penType = signal('pen');
|
9
|
+
this.toggleClear = signal({ state: false, userInteract: false });
|
10
|
+
this.cropState = signal({ state: false, userInteract: false });
|
11
|
+
this.rotate = signal({ state: 0, userInteract: false });
|
12
|
+
this.isImageLoad = signal(false);
|
13
|
+
this.newImage = signal(new Image());
|
14
|
+
this.initialImage = signal(new Image());
|
15
|
+
}
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
17
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorService }); }
|
18
|
+
}
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorService, decorators: [{
|
20
|
+
type: Injectable
|
21
|
+
}] });
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZWRpdG9yLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvaW1hZ2UtZWRpdG9yL3NyYy9saWIvaW1hZ2UtZWRpdG9yLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBR25ELE1BQU0sT0FBTyxvQkFBb0I7SUFEakM7UUFFRSxhQUFRLEdBQUcsTUFBTSxDQUEwQyxFQUFFLENBQUMsQ0FBQztRQUMvRCxZQUFPLEdBQUcsTUFBTSxDQUFnQixPQUFPLENBQUMsQ0FBQztRQUN6QyxjQUFTLEdBQUcsTUFBTSxDQUFTLEVBQUUsQ0FBQyxDQUFDO1FBQy9CLFlBQU8sR0FBRyxNQUFNLENBQXNCLEtBQUssQ0FBQyxDQUFDO1FBQzdDLGdCQUFXLEdBQUcsTUFBTSxDQUFDLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLENBQUMsQ0FBQztRQUM1RCxjQUFTLEdBQUcsTUFBTSxDQUFDLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLENBQUMsQ0FBQztRQUMxRCxXQUFNLEdBQUcsTUFBTSxDQUFDLEV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G4gIG5ld0ltYWdlID0gc2lnbmFsKG5ldyBJbWFnZSgpKTtcbiAgaW5pdGlhbEltYWdlID0gc2lnbmFsKG5ldyBJbWFnZSgpKTtcbn1cbiJdfQ==
|
@@ -23,7 +23,7 @@ export class AXLoadingSpinnerComponent {
|
|
23
23
|
this.stroke = 3;
|
24
24
|
}
|
25
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLoadingSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
26
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXLoadingSpinnerComponent, selector: "ax-loading-spinner", inputs: { color: "color", size: "size", stroke: "stroke" }, ngImport: i0, template: `
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXLoadingSpinnerComponent, selector: "ax-loading-spinner", inputs: { text: "text", color: "color", size: "size", stroke: "stroke" }, ngImport: i0, template: `
|
27
27
|
<span
|
28
28
|
class="ax-loader ax-{{ color }}"
|
29
29
|
[style.width.px]="size"
|
@@ -34,7 +34,7 @@ export class AXLoadingSpinnerComponent {
|
|
34
34
|
@if (text) {
|
35
35
|
<span> {{ text }} </span>
|
36
36
|
}
|
37
|
-
`, isInline: true, styles: ["ax-loading-spinner .ax-loader{animation:rotation .5s linear infinite;box-sizing:border-box;display:inline-block;height:3rem;width:3rem;border-radius:9999px;border-width:6px;border-style:solid;border-color:rgba(var(--ax-color-ghost-fore));border-bottom-color:transparent!important}ax-loading-spinner .ax-loader.ax-primary{border-color:rgba(var(--ax-color-primary-500))}ax-loading-spinner .ax-loader.ax-secondary{border-color:rgba(var(--ax-color-secondary-500))}ax-loading-spinner .ax-loader.ax-success{border-color:rgba(var(--ax-color-success-500))}ax-loading-spinner .ax-loader.ax-warning{border-color:rgba(var(--ax-color-warning-500))}ax-loading-spinner .ax-loader.ax-danger{border-color:rgba(var(--ax-color-danger-500))}ax-loading-spinner .ax-loader.ax-info{border-color:rgba(var(--ax-color-info-500))}ax-loading-spinner .ax-loader.ax-white{border-color:rgba(var(--ax-color-white))}ax-loading-spinner .ax-loader.ax-black{border-color:rgba(var(--ax-color-black))}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ax-dark .ax-loader.ax-primary{border-color:rgba(var(--ax-color-primary-200))}.ax-dark .ax-loader.ax-secondary{border-color:rgba(var(--ax-color-secondary-200))}.ax-dark .ax-loader.ax-success{border-color:rgba(var(--ax-color-success-200))}.ax-dark .ax-loader.ax-warning{border-color:rgba(var(--ax-color-warning-200))}.ax-dark .ax-loader.ax-danger{border-color:rgba(var(--ax-color-danger-200))}.ax-dark .ax-loader.ax-info{border-color:rgba(var(--ax-color-info-200))}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
37
|
+
`, isInline: true, styles: ["ax-loading-spinner .ax-loader{animation:rotation .5s linear infinite;margin-inline-end:.5rem;box-sizing:border-box;display:inline-block;height:3rem;width:3rem;border-radius:9999px;border-width:6px;border-style:solid;border-color:rgba(var(--ax-color-ghost-fore));border-bottom-color:transparent!important}ax-loading-spinner .ax-loader.ax-primary{border-color:rgba(var(--ax-color-primary-500))}ax-loading-spinner .ax-loader.ax-secondary{border-color:rgba(var(--ax-color-secondary-500))}ax-loading-spinner .ax-loader.ax-success{border-color:rgba(var(--ax-color-success-500))}ax-loading-spinner .ax-loader.ax-warning{border-color:rgba(var(--ax-color-warning-500))}ax-loading-spinner .ax-loader.ax-danger{border-color:rgba(var(--ax-color-danger-500))}ax-loading-spinner .ax-loader.ax-info{border-color:rgba(var(--ax-color-info-500))}ax-loading-spinner .ax-loader.ax-white{border-color:rgba(var(--ax-color-white))}ax-loading-spinner .ax-loader.ax-black{border-color:rgba(var(--ax-color-black))}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ax-dark .ax-loader.ax-primary{border-color:rgba(var(--ax-color-primary-200))}.ax-dark .ax-loader.ax-secondary{border-color:rgba(var(--ax-color-secondary-200))}.ax-dark .ax-loader.ax-success{border-color:rgba(var(--ax-color-success-200))}.ax-dark .ax-loader.ax-warning{border-color:rgba(var(--ax-color-warning-200))}.ax-dark .ax-loader.ax-danger{border-color:rgba(var(--ax-color-danger-200))}.ax-dark .ax-loader.ax-info{border-color:rgba(var(--ax-color-info-200))}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
38
38
|
}
|
39
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLoadingSpinnerComponent, decorators: [{
|
40
40
|
type: Component,
|
@@ -49,12 +49,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
49
49
|
@if (text) {
|
50
50
|
<span> {{ text }} </span>
|
51
51
|
}
|
52
|
-
`, encapsulation: ViewEncapsulation.None, styles: ["ax-loading-spinner .ax-loader{animation:rotation .5s linear infinite;box-sizing:border-box;display:inline-block;height:3rem;width:3rem;border-radius:9999px;border-width:6px;border-style:solid;border-color:rgba(var(--ax-color-ghost-fore));border-bottom-color:transparent!important}ax-loading-spinner .ax-loader.ax-primary{border-color:rgba(var(--ax-color-primary-500))}ax-loading-spinner .ax-loader.ax-secondary{border-color:rgba(var(--ax-color-secondary-500))}ax-loading-spinner .ax-loader.ax-success{border-color:rgba(var(--ax-color-success-500))}ax-loading-spinner .ax-loader.ax-warning{border-color:rgba(var(--ax-color-warning-500))}ax-loading-spinner .ax-loader.ax-danger{border-color:rgba(var(--ax-color-danger-500))}ax-loading-spinner .ax-loader.ax-info{border-color:rgba(var(--ax-color-info-500))}ax-loading-spinner .ax-loader.ax-white{border-color:rgba(var(--ax-color-white))}ax-loading-spinner .ax-loader.ax-black{border-color:rgba(var(--ax-color-black))}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ax-dark .ax-loader.ax-primary{border-color:rgba(var(--ax-color-primary-200))}.ax-dark .ax-loader.ax-secondary{border-color:rgba(var(--ax-color-secondary-200))}.ax-dark .ax-loader.ax-success{border-color:rgba(var(--ax-color-success-200))}.ax-dark .ax-loader.ax-warning{border-color:rgba(var(--ax-color-warning-200))}.ax-dark .ax-loader.ax-danger{border-color:rgba(var(--ax-color-danger-200))}.ax-dark .ax-loader.ax-info{border-color:rgba(var(--ax-color-info-200))}\n"] }]
|
53
|
-
}], propDecorators: {
|
52
|
+
`, encapsulation: ViewEncapsulation.None, styles: ["ax-loading-spinner .ax-loader{animation:rotation .5s linear infinite;margin-inline-end:.5rem;box-sizing:border-box;display:inline-block;height:3rem;width:3rem;border-radius:9999px;border-width:6px;border-style:solid;border-color:rgba(var(--ax-color-ghost-fore));border-bottom-color:transparent!important}ax-loading-spinner .ax-loader.ax-primary{border-color:rgba(var(--ax-color-primary-500))}ax-loading-spinner .ax-loader.ax-secondary{border-color:rgba(var(--ax-color-secondary-500))}ax-loading-spinner .ax-loader.ax-success{border-color:rgba(var(--ax-color-success-500))}ax-loading-spinner .ax-loader.ax-warning{border-color:rgba(var(--ax-color-warning-500))}ax-loading-spinner .ax-loader.ax-danger{border-color:rgba(var(--ax-color-danger-500))}ax-loading-spinner .ax-loader.ax-info{border-color:rgba(var(--ax-color-info-500))}ax-loading-spinner .ax-loader.ax-white{border-color:rgba(var(--ax-color-white))}ax-loading-spinner .ax-loader.ax-black{border-color:rgba(var(--ax-color-black))}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ax-dark .ax-loader.ax-primary{border-color:rgba(var(--ax-color-primary-200))}.ax-dark .ax-loader.ax-secondary{border-color:rgba(var(--ax-color-secondary-200))}.ax-dark .ax-loader.ax-success{border-color:rgba(var(--ax-color-success-200))}.ax-dark .ax-loader.ax-warning{border-color:rgba(var(--ax-color-warning-200))}.ax-dark .ax-loader.ax-danger{border-color:rgba(var(--ax-color-danger-200))}.ax-dark .ax-loader.ax-info{border-color:rgba(var(--ax-color-info-200))}\n"] }]
|
53
|
+
}], propDecorators: { text: [{
|
54
|
+
type: Input
|
55
|
+
}], color: [{
|
54
56
|
type: Input
|
55
57
|
}], size: [{
|
56
58
|
type: Input
|
57
59
|
}], stroke: [{
|
58
60
|
type: Input
|
59
61
|
}] } });
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1zcGlubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9sb2FkaW5nL3NyYy9saWIvbG9hZGluZy1zcGlubmVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFFcEU7OztHQUdHO0FBa0JILE1BQU0sT0FBTyx5QkFBeUI7SUFqQnRDO1FBeUJFOzs7V0FHRztRQUVILFVBQUssR0FBOEIsT0FBTyxDQUFDO1FBRTNDOzs7V0FHRztRQUNNLFNBQUksR0FBRyxFQUFFLENBQUM7UUFFbkI7OztXQUdHO1FBQ00sV0FBTSxHQUFHLENBQUMsQ0FBQztLQUNyQjs4R0ExQlkseUJBQXlCO2tHQUF6Qix5QkFBeUIsb0lBZjFCOzs7Ozs7Ozs7OztHQVdUOzsyRkFJVSx5QkFBeUI7a0JBakJyQyxTQUFTOytCQUNFLG9CQUFvQixZQUNwQjs7Ozs7Ozs7Ozs7R0FXVCxpQkFFYyxpQkFBaUIsQ0FBQyxJQUFJOzhCQVFyQyxJQUFJO3NCQURILEtBQUs7Z0JBUU4sS0FBSztzQkFESixLQUFLO2dCQU9HLElBQUk7c0JBQVosS0FBSztnQkFNRyxNQUFNO3NCQUFkLEtBQUsiLCJzb3VyY2VzQ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AgdGV4dDogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBDb2xvciBvZiB0aGUgc3Bpbm5lci4gQ2FuIGJlIGEgcHJlZGVmaW5lZCBzdHlsZSBjb2xvciBvciBhIGN1c3RvbSBjb2xvci5cbiAgICogQGRlZmF1bHRWYWx1ZSAnZ2hvc3QnXG4gICAqL1xuICBASW5wdXQoKVxuICBjb2xvcjogQVhTdHlsZUNvbG9yVHlwZSB8IHN0cmluZyA9ICdnaG9zdCc7XG5cbiAgLyoqXG4gICAqIFNpemUgb2YgdGhlIHNwaW5uZXIsIGluIHBpeGVscy4gVGhpcyBkZXRlcm1pbmVzIGJvdGggdGhlIHdpZHRoIGFuZCBoZWlnaHQgb2YgdGhlIHNwaW5uZXIuXG4gICAqIEBkZWZhdWx0VmFsdWUgMTZcbiAgICovXG4gIEBJbnB1dCgpIHNpemUgPSAxNjtcblxuICAvKipcbiAgICogVGhpY2tuZXNzIG9mIHRoZSBzcGlubmVyJ3MgYm9yZGVyLCBpbiBwaXhlbHMuIFRoaXMgYWZmZWN0cyB0aGUgdmlzdWFsIHdlaWdodCBvZiB0aGUgc3Bpbm5lcidzIG91dGxpbmUuXG4gICAqIEBkZWZhdWx0VmFsdWUgM1xuICAgKi9cbiAgQElucHV0KCkgc3Ryb2tlID0gMztcbn1cbiJdfQ==
|
@@ -59,11 +59,11 @@ export class AXLoadingComponent extends MXBaseComponent {
|
|
59
59
|
}
|
60
60
|
}
|
61
61
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLoadingComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
62
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type", context: "context" }, outputs: { visibleChange: "visibleChange" }, usesInheritance: true, ngImport: i0, template: ` <ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template> `, isInline: true, styles: ["ax-loading{position:relative}ax-loading:before,ax-loading:after{position:absolute;inset-inline-start:50%;top:50%;height:100%;width:100%;transform:translate(-50%);transform:translateY(-50%);transform:scale(0);border-radius:9999px;content:\"\"}ax-loading:before,ax-loading:after{background-color:transparent;animation:1s ease-in-out both ax-pulse;animation-duration:2s;animation-iteration-count:infinite}@keyframes ax-pulse{50%{transform:scale3d(1.05,1.05,1.05)}}ax-loading ax-loading-spinner{display:flex;gap:.75rem}.ax-loading-overlay-backdrop{background-color:rgba(var(--ax-color-surface));opacity:.85!important}.ax-loading-pane{height:100%!important;width:100%!important;bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0}.ax-loading-pane .cdk-dialog-container{display:flex!important;align-items:center;justify-content:center}.ax-loading-pane .cdk-dialog-container:focus,.ax-loading-pane .cdk-dialog-container:focus-visible,.ax-loading-pane .cdk-dialog-container:focus-within{outline:2px solid transparent;outline-offset:2px}\n"], dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
62
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXLoadingComponent, selector: "ax-loading", inputs: { visible: "visible", type: "type", context: "context" }, outputs: { visibleChange: "visibleChange" }, usesInheritance: true, ngImport: i0, template: ` <ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template> `, isInline: true, styles: ["ax-loading{position:relative;padding-left:.25rem;padding-right:.25rem}ax-loading:before,ax-loading:after{position:absolute;inset-inline-start:50%;top:50%;height:100%;width:100%;transform:translate(-50%);transform:translateY(-50%);transform:scale(0);border-radius:9999px;content:\"\"}ax-loading:before,ax-loading:after{background-color:transparent;animation:1s ease-in-out both ax-pulse;animation-duration:2s;animation-iteration-count:infinite}@keyframes ax-pulse{50%{transform:scale3d(1.05,1.05,1.05)}}ax-loading ax-loading-spinner{display:flex;gap:.75rem}.ax-loading-overlay-backdrop{background-color:rgba(var(--ax-color-surface));opacity:.85!important}.ax-loading-pane{height:100%!important;width:100%!important;bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0}.ax-loading-pane .cdk-dialog-container{display:flex!important;align-items:center;justify-content:center}.ax-loading-pane .cdk-dialog-container:focus,.ax-loading-pane .cdk-dialog-container:focus-visible,.ax-loading-pane .cdk-dialog-container:focus-within{outline:2px solid transparent;outline-offset:2px}\n"], dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
63
63
|
}
|
64
64
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXLoadingComponent, decorators: [{
|
65
65
|
type: Component,
|
66
|
-
args: [{ selector: 'ax-loading', template: ` <ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template> `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["ax-loading{position:relative}ax-loading:before,ax-loading:after{position:absolute;inset-inline-start:50%;top:50%;height:100%;width:100%;transform:translate(-50%);transform:translateY(-50%);transform:scale(0);border-radius:9999px;content:\"\"}ax-loading:before,ax-loading:after{background-color:transparent;animation:1s ease-in-out both ax-pulse;animation-duration:2s;animation-iteration-count:infinite}@keyframes ax-pulse{50%{transform:scale3d(1.05,1.05,1.05)}}ax-loading ax-loading-spinner{display:flex;gap:.75rem}.ax-loading-overlay-backdrop{background-color:rgba(var(--ax-color-surface));opacity:.85!important}.ax-loading-pane{height:100%!important;width:100%!important;bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0}.ax-loading-pane .cdk-dialog-container{display:flex!important;align-items:center;justify-content:center}.ax-loading-pane .cdk-dialog-container:focus,.ax-loading-pane .cdk-dialog-container:focus-visible,.ax-loading-pane .cdk-dialog-container:focus-within{outline:2px solid transparent;outline-offset:2px}\n"] }]
|
66
|
+
args: [{ selector: 'ax-loading', template: ` <ng-template [cdkPortalOutlet]="_selectedPortal" (attached)="_handleAttched($event)"></ng-template> `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["ax-loading{position:relative;padding-left:.25rem;padding-right:.25rem}ax-loading:before,ax-loading:after{position:absolute;inset-inline-start:50%;top:50%;height:100%;width:100%;transform:translate(-50%);transform:translateY(-50%);transform:scale(0);border-radius:9999px;content:\"\"}ax-loading:before,ax-loading:after{background-color:transparent;animation:1s ease-in-out both ax-pulse;animation-duration:2s;animation-iteration-count:infinite}@keyframes ax-pulse{50%{transform:scale3d(1.05,1.05,1.05)}}ax-loading ax-loading-spinner{display:flex;gap:.75rem}.ax-loading-overlay-backdrop{background-color:rgba(var(--ax-color-surface));opacity:.85!important}.ax-loading-pane{height:100%!important;width:100%!important;bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0}.ax-loading-pane .cdk-dialog-container{display:flex!important;align-items:center;justify-content:center}.ax-loading-pane .cdk-dialog-container:focus,.ax-loading-pane .cdk-dialog-container:focus-visible,.ax-loading-pane .cdk-dialog-container:focus-within{outline:2px solid transparent;outline-offset:2px}\n"] }]
|
67
67
|
}], propDecorators: { visibleChange: [{
|
68
68
|
type: Output
|
69
69
|
}], visible: [{
|