@acorex/components 18.10.14 → 18.10.16
Sign up to get free protection for your applications and to get access to all the features.
- package/button-group/lib/button-group.component.d.ts +5 -5
- package/esm2022/button-group/lib/button-group.component.mjs +10 -8
- package/esm2022/image-editor/lib/image-editor-toolbar/image-editor-toolbar.component.mjs +4 -4
- package/esm2022/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.mjs +3 -3
- package/esm2022/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.mjs +3 -3
- package/esm2022/image-editor/lib/image-editor-view/image-editor-view.component.mjs +15 -3
- package/esm2022/image-editor/lib/image-editor.service.mjs +4 -3
- package/esm2022/paint/lib/paint/paint-view/paint-view.component.mjs +8 -3
- package/esm2022/popover/lib/popover.component.mjs +55 -34
- package/esm2022/popup/lib/popup.component.mjs +2 -2
- package/esm2022/select-box/lib/select-box.component.mjs +3 -3
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +9 -3
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +3 -3
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.mjs +3 -1
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.mjs +3 -1
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-list/wysiwyg-list.component.mjs +3 -1
- package/fesm2022/acorex-components-button-group.mjs +9 -7
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +24 -11
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +7 -2
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +54 -33
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +2 -2
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +2 -2
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +16 -4
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/image-editor/lib/image-editor-toolbar/image-editor-toolbar.component.d.ts +1 -1
- package/image-editor/lib/image-editor.service.d.ts +3 -2
- package/package.json +37 -37
- package/popover/lib/popover.component.d.ts +36 -34
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -2
@@ -28,6 +28,7 @@ export class AXImageEditorViewComponent {
|
|
28
28
|
/** @ignore */
|
29
29
|
this.cropEndY = signal(0);
|
30
30
|
afterNextRender(() => {
|
31
|
+
this.service.initialImage.set(new Image());
|
31
32
|
this.service.initialImage().src = this.src();
|
32
33
|
this.service.initialImage().crossOrigin = 'anonymous';
|
33
34
|
this.EventListener = this.service.initialImage().addEventListener('load', this.imageLoaded.bind(this));
|
@@ -58,7 +59,7 @@ export class AXImageEditorViewComponent {
|
|
58
59
|
}
|
59
60
|
/** @ignore */
|
60
61
|
ngOnDestroy() {
|
61
|
-
removeEventListener('load', this.EventListener);
|
62
|
+
this.service.initialImage()?.removeEventListener('load', this.EventListener);
|
62
63
|
}
|
63
64
|
/** @ignore */
|
64
65
|
imageLoaded() {
|
@@ -286,10 +287,21 @@ export class AXImageEditorViewComponent {
|
|
286
287
|
newImage.crossOrigin = 'anonymous';
|
287
288
|
newImage.src = this.canvasElem().nativeElement.toDataURL('image/jpeg', 1);
|
288
289
|
this.service.newImage.set(newImage);
|
290
|
+
const tempBlob = [];
|
291
|
+
this.canvasElem().nativeElement.toBlob((blob) => {
|
292
|
+
tempBlob.push(blob);
|
293
|
+
}, 'image/jpeg', 1);
|
294
|
+
this.canvasElem().nativeElement.toBlob((blob) => {
|
295
|
+
tempBlob.push(blob);
|
296
|
+
}, 'image/png', 1);
|
297
|
+
this.canvasElem().nativeElement.toBlob((blob) => {
|
298
|
+
tempBlob.push(blob);
|
299
|
+
}, 'image/webp', 1);
|
300
|
+
this.service.imageBlob.set(tempBlob);
|
289
301
|
}
|
290
302
|
/** @ignore */
|
291
303
|
get __hostStyle() {
|
292
|
-
return `width: ${this.service.initialImage()
|
304
|
+
return `width: ${this.service.initialImage()?.width}px; height: ${this.service.initialImage()?.height}px`;
|
293
305
|
}
|
294
306
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
295
307
|
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 }); }
|
@@ -301,4 +313,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
301
313
|
type: HostBinding,
|
302
314
|
args: ['style']
|
303
315
|
}] } });
|
304
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZWRpdG9yLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2ltYWdlLWVkaXRvci9zcmMvbGliL2ltYWdlLWVkaXRvci12aWV3L2ltYWdlLWVkaXRvci12aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9pbWFnZS1lZGl0b3Ivc3JjL2xpYi9pbWFnZS1lZGl0b3Itdmlldy9pbWFnZS1lZGl0b3Itdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsZUFBZSxFQUNmLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsTUFBTSxFQUVOLFdBQVcsRUFDWCxNQUFNLEVBQ04sS0FBSyxFQUVMLE1BQU0sRUFDTixTQUFTLEVBQ1QsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDOzs7QUFTL0QsTUFBTSxPQUFPLDBCQUEwQjtJQTJCckMsY0FBYztJQUNkO1FBM0JBOztXQUVH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b3VzZXVwKT1cIm1vdXNlVXBIYW5kbGVyKClcIlxuICAobW91c2Vtb3ZlKT1cIm1vdXNlTW92ZUhhbmRsZXIoJGV2ZW50KVwiXG4gICh0b3VjaHN0YXJ0KT1cInRvdWNoU3RhcnRIYW5kbGVyKCRldmVudClcIlxuICAodG91Y2hlbmQpPVwidG91Y2hFbmRIYW5kbGVyKClcIlxuICAodG91Y2htb3ZlKT1cInRvdWNoTW92ZUhhbmRsZXIoJGV2ZW50KVwiXG4gIGNsYXNzPVwiYXgtY2FudmFzLWVsZW1lbnRcIlxuICAjY2FudmFzRWxlbVxuPjwvY2FudmFzPlxuPGF4LWJ1dHRvblxuICAoY2xpY2spPVwiY3JvcEJ1dHRvbkhhbmRsZXIoKVwiXG4gIFtzdHlsZV09XCJ7IGRpc3BsYXk6IHNlcnZpY2UuY3JvcFN0YXRlKCkuc3RhdGUgPyAnYmxvY2snIDogJ25vbmUnIH1cIlxuICBjbGFzcz1cImF4LWNyb3Atc2F2ZSBheC1zbVwiXG4gIHRleHQ9XCJDcm9wXCJcbj48L2F4LWJ1dHRvbj5cbiJdfQ==
|
@@ -10,8 +10,9 @@ export class AXImageEditorService {
|
|
10
10
|
this.cropState = signal({ state: false, userInteract: false });
|
11
11
|
this.rotate = signal({ state: 0, userInteract: false });
|
12
12
|
this.isImageLoad = signal(false);
|
13
|
-
this.newImage = signal(
|
14
|
-
this.initialImage = signal(
|
13
|
+
this.newImage = signal(null);
|
14
|
+
this.initialImage = signal(null);
|
15
|
+
this.imageBlob = signal([]);
|
15
16
|
}
|
16
17
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
17
18
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorService }); }
|
@@ -19,4 +20,4 @@ export class AXImageEditorService {
|
|
19
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageEditorService, decorators: [{
|
20
21
|
type: Injectable
|
21
22
|
}] });
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZWRpdG9yLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvaW1hZ2UtZWRpdG9yL3NyYy9saWIvaW1hZ2UtZWRpdG9yLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBR25ELE1BQU0sT0FBTyxvQkFBb0I7SUFEakM7UUFFRSxhQUFRLEdBQUcsTUFBTSxDQUEwQyxFQUFFLENBQUMsQ0FBQztRQUMvRCxZQUFPLEdBQUcsTUFBTSxDQUFnQixPQUFPLENBQUMsQ0FBQztRQUN6QyxjQUFTLEdBQUcsTUFBTSxDQUFTLEVBQUUsQ0FBQyxDQUFDO1FBQy9CLFlBQU8sR0FBRyxNQUFNLENBQXNCLEtBQUssQ0FBQyxDQUFDO1FBQzdDLGdCQUFXLEdBQUcsTUFBTSxDQUFDLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLENBQUMsQ0FBQztRQUM1RCxjQUFTLEdBQUcsTUFBTSxDQUFDLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLENBQUMsQ0FBQztRQUMxRCxXQUFNLEdBQUcsTUFBTSxDQUFDLEVBQUUsS0FBSyxFQUFFLENBQUMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLENBQUMsQ0F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ICBpbml0aWFsSW1hZ2UgPSBzaWduYWwobnVsbCk7XG4gIGltYWdlQmxvYiA9IHNpZ25hbDxCbG9iW10+KFtdKTtcbn1cbiJdfQ==
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { isBrowser } from '@acorex/core/platform';
|
1
2
|
import { afterNextRender, Component, effect, HostBinding, inject, input, signal, viewChild, ViewEncapsulation, } from '@angular/core';
|
2
3
|
import { AXPaintContainerComponent } from '../paint-container/paint-container.component';
|
3
4
|
import { AXPaintService } from '../paint.service';
|
@@ -40,11 +41,15 @@ export class AXPaintViewComponent {
|
|
40
41
|
this.service.toggleClear();
|
41
42
|
this.ctx()?.clearRect(0, 0, this.getBoundingCanvasHandler()?.width, this.getBoundingCanvasHandler()?.height);
|
42
43
|
}, { allowSignalWrites: true });
|
43
|
-
|
44
|
+
if (isBrowser()) {
|
45
|
+
window.addEventListener('resize', this.resizeEventHandler.bind(this));
|
46
|
+
}
|
44
47
|
}
|
45
48
|
/** @ignore */
|
46
49
|
ngOnDestroy() {
|
47
|
-
|
50
|
+
if (isBrowser()) {
|
51
|
+
window.removeEventListener('resize', this.resizeEventHandler);
|
52
|
+
}
|
48
53
|
}
|
49
54
|
/** @ignore */
|
50
55
|
resizeEventHandler() {
|
@@ -150,4 +155,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
150
155
|
type: HostBinding,
|
151
156
|
args: ['class']
|
152
157
|
}] } });
|
153
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFpbnQtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvcGFpbnQvc3JjL2xpYi9wYWludC9wYWludC12aWV3L3BhaW50LXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi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