@acorex/components 18.12.18 → 18.12.20
Sign up to get free protection for your applications and to get access to all the features.
- package/comment/lib/comment-item/comment-item.component.d.ts +1 -1
- package/comment/lib/comment.module.d.ts +3 -1
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +1 -1
- package/esm2022/comment/lib/comment-item/comment-item.component.mjs +5 -3
- package/esm2022/comment/lib/comment.module.mjs +19 -3
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +1 -1
- package/esm2022/image/lib/image.component.mjs +2 -2
- package/esm2022/image-editor/lib/image-editor-container/image-editor-container.component.mjs +2 -2
- package/esm2022/media-viewer/lib/media-viewer-container/media-viewer-container.component.mjs +3 -3
- package/esm2022/media-viewer/lib/media-viewer-slider/media-viewer-slider.component.mjs +2 -2
- package/esm2022/media-viewer/lib/media-viewer-tools/audio-player/audio-player.component.mjs +3 -3
- package/esm2022/media-viewer/lib/media-viewer-tools/file-info/file-info.component.mjs +3 -3
- package/esm2022/media-viewer/lib/media-viewer-tools/image-viewer/image-viewer.component.mjs +9 -13
- package/esm2022/media-viewer/lib/media-viewer-tools/pdf-reader/pdf-reader.component.mjs +9 -14
- package/esm2022/media-viewer/lib/media-viewer-tools/video-player/video-player.component.mjs +3 -3
- package/esm2022/media-viewer/lib/media-viewer-types.mjs +1 -1
- package/esm2022/media-viewer/lib/media-viewer.module.mjs +25 -6
- package/esm2022/number-box/lib/number-box.component.mjs +6 -5
- package/esm2022/paint/lib/paint/paint-container/paint-container.component.mjs +4 -1
- package/esm2022/paint/lib/paint.module.mjs +3 -4
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +3 -1
- package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +19 -6
- package/fesm2022/acorex-components-color-palette.mjs +1 -1
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +22 -4
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +1 -1
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +2 -2
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +2 -2
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +47 -37
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +5 -4
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +19 -17
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +20 -4
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/media-viewer/lib/media-viewer-tools/image-viewer/image-viewer.component.d.ts +1 -3
- package/media-viewer/lib/media-viewer-tools/pdf-reader/pdf-reader.component.d.ts +2 -1
- package/media-viewer/lib/media-viewer-types.d.ts +2 -2
- package/media-viewer/lib/media-viewer.module.d.ts +3 -1
- package/number-box/lib/number-box.component.d.ts +2 -2
- package/package.json +64 -64
@@ -1,19 +1,15 @@
|
|
1
|
-
import {
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
2
2
|
import { AXMediaViewerBaseComponent } from '../../media-viewer-types';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@acorex/components/decorators";
|
5
|
+
import * as i2 from "@acorex/components/image";
|
6
|
+
import * as i3 from "@acorex/components/loading";
|
4
7
|
export class AXImageViewerComponent extends AXMediaViewerBaseComponent {
|
5
|
-
|
6
|
-
|
7
|
-
this.dataObject = signal(null);
|
8
|
-
afterNextRender(() => {
|
9
|
-
this.dataObject.set(this.message);
|
10
|
-
});
|
11
|
-
}
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXImageViewerComponent, selector: "ax-image-viewer", usesInheritance: true, ngImport: i0, template: "<img [src]=\"dataObject()?.url\" />\n", styles: ["ax-image-viewer{display:flex;justify-content:center;align-items:center;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageViewerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXImageViewerComponent, selector: "ax-image-viewer", usesInheritance: true, ngImport: i0, template: "<ax-image alt=\"image\" [src]=\"this.message?.url\">\n <ax-loading></ax-loading>\n <ax-placeholder></ax-placeholder>\n</ax-image>\n", styles: ["ax-image-viewer{display:flex;justify-content:center;align-items:center;width:100%}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "component", type: i3.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
14
10
|
}
|
15
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXImageViewerComponent, decorators: [{
|
16
12
|
type: Component,
|
17
|
-
args: [{ selector: 'ax-image-viewer', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<
|
18
|
-
}]
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
13
|
+
args: [{ selector: 'ax-image-viewer', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ax-image alt=\"image\" [src]=\"this.message?.url\">\n <ax-loading></ax-loading>\n <ax-placeholder></ax-placeholder>\n</ax-image>\n", styles: ["ax-image-viewer{display:flex;justify-content:center;align-items:center;width:100%}\n"] }]
|
14
|
+
}] });
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2Utdmlld2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9tZWRpYS12aWV3ZXIvc3JjL2xpYi9tZWRpYS12aWV3ZXItdG9vbHMvaW1hZ2Utdmlld2VyL2ltYWdlLXZpZXdlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbWVkaWEtdmlld2VyL3NyYy9saWIvbWVkaWEtdmlld2VyLXRvb2xzL2ltYWdlLXZpZXdlci9pbWFnZS12aWV3ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RixPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7QUFTdEUsTUFBTSxPQUFPLHNCQUF1QixTQUFRLDBCQUEwQjs4R0FBekQsc0JBQXNCO2tHQUF0QixzQkFBc0IsOEVDVm5DLHVJQUlBOzsyRkRNYSxzQkFBc0I7a0JBUGxDLFNBQVM7K0JBQ0UsaUJBQWlCLG1CQUdWLHVCQUF1QixDQUFDLE1BQU0saUJBQ2hDLGlCQUFpQixDQUFDLElBQUkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50LCBWaWV3RW5jYXBzdWxhdGlvbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQVhNZWRpYVZpZXdlckJhc2VDb21wb25lbnQgfSBmcm9tICcuLi8uLi9tZWRpYS12aWV3ZXItdHlwZXMnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdheC1pbWFnZS12aWV3ZXInLFxuICB0ZW1wbGF0ZVVybDogJy4vaW1hZ2Utdmlld2VyLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vaW1hZ2Utdmlld2VyLmNvbXBvbmVudC5zY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxufSlcbmV4cG9ydCBjbGFzcyBBWEltYWdlVmlld2VyQ29tcG9uZW50IGV4dGVuZHMgQVhNZWRpYVZpZXdlckJhc2VDb21wb25lbnQge31cbiIsIjxheC1pbWFnZSBhbHQ9XCJpbWFnZVwiIFtzcmNdPVwidGhpcy5tZXNzYWdlPy51cmxcIj5cbiAgPGF4LWxvYWRpbmc+PC9heC1sb2FkaW5nPlxuICA8YXgtcGxhY2Vob2xkZXI+PC9heC1wbGFjZWhvbGRlcj5cbjwvYXgtaW1hZ2U+XG4iXX0=
|
@@ -1,22 +1,17 @@
|
|
1
|
-
import {
|
1
|
+
import { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
2
3
|
import { AXMediaViewerBaseComponent } from '../../media-viewer-types';
|
3
4
|
import * as i0 from "@angular/core";
|
4
5
|
export class AXPdfReaderComponent extends AXMediaViewerBaseComponent {
|
5
6
|
constructor() {
|
6
|
-
super();
|
7
|
-
|
8
|
-
const obj = document.createElement('iframe');
|
9
|
-
obj.src = this.message.url;
|
10
|
-
obj.classList.add('pdfObj');
|
11
|
-
const container = document.querySelector('ax-pdf-reader');
|
12
|
-
container.appendChild(obj);
|
13
|
-
});
|
7
|
+
super(...arguments);
|
8
|
+
this.sanitizer = inject(DomSanitizer);
|
14
9
|
}
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPdfReaderComponent, deps:
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPdfReaderComponent, selector: "ax-pdf-reader", usesInheritance: true, ngImport: i0, template: "\n", styles: ["ax-pdf-reader{width:100%}ax-pdf-reader
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPdfReaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPdfReaderComponent, selector: "ax-pdf-reader", usesInheritance: true, ngImport: i0, template: "<iframe [src]=\"sanitizer.bypassSecurityTrustResourceUrl(this.message.url)\" frameborder=\"0\"></iframe>\n", styles: ["ax-pdf-reader{width:100%}ax-pdf-reader iframe{width:clamp(100%,30rem,35rem);min-height:calc(60vh - 2rem)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
17
12
|
}
|
18
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPdfReaderComponent, decorators: [{
|
19
14
|
type: Component,
|
20
|
-
args: [{ selector: 'ax-pdf-reader', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "\n", styles: ["ax-pdf-reader{width:100%}ax-pdf-reader
|
21
|
-
}]
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
args: [{ selector: 'ax-pdf-reader', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<iframe [src]=\"sanitizer.bypassSecurityTrustResourceUrl(this.message.url)\" frameborder=\"0\"></iframe>\n", styles: ["ax-pdf-reader{width:100%}ax-pdf-reader iframe{width:clamp(100%,30rem,35rem);min-height:calc(60vh - 2rem)}\n"] }]
|
16
|
+
}] });
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLXJlYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbWVkaWEtdmlld2VyL3NyYy9saWIvbWVkaWEtdmlld2VyLXRvb2xzL3BkZi1yZWFkZXIvcGRmLXJlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbWVkaWEtdmlld2VyL3NyYy9saWIvbWVkaWEtdmlld2VyLXRvb2xzL3BkZi1yZWFkZXIvcGRmLXJlYWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM5RixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDekQsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7O0FBU3RFLE1BQU0sT0FBTyxvQkFBc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SBbc3JjXT1cInNhbml0aXplci5ieXBhc3NTZWN1cml0eVRydXN0UmVzb3VyY2VVcmwodGhpcy5tZXNzYWdlLnVybClcIiBmcmFtZWJvcmRlcj1cIjBcIj48L2lmcmFtZT5cbiJdfQ==
|
@@ -10,10 +10,10 @@ export class AXVideoPlayerComponent extends AXMediaViewerBaseComponent {
|
|
10
10
|
});
|
11
11
|
}
|
12
12
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXVideoPlayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXVideoPlayerComponent, selector: "ax-video-player", usesInheritance: true, ngImport: i0, template: "<video
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXVideoPlayerComponent, selector: "ax-video-player", usesInheritance: true, ngImport: i0, template: "<video autoplay controls [src]=\"dataObject()?.url\"></video>\n", styles: ["ax-video-player{display:flex;justify-content:center;align-items:center;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
14
14
|
}
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXVideoPlayerComponent, decorators: [{
|
16
16
|
type: Component,
|
17
|
-
args: [{ selector: 'ax-video-player', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<video
|
17
|
+
args: [{ selector: 'ax-video-player', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<video autoplay controls [src]=\"dataObject()?.url\"></video>\n", styles: ["ax-video-player{display:flex;justify-content:center;align-items:center;width:100%}\n"] }]
|
18
18
|
}], ctorParameters: () => [] });
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# s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dPVwiZGF0YU9iamVjdCgpPy51cmxcIj48L3ZpZGVvPlxuIl19
|
@@ -7,4 +7,4 @@ export class AXMediaViewerBaseComponent {
|
|
7
7
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMediaViewerBaseComponent, decorators: [{
|
8
8
|
type: Injectable
|
9
9
|
}] });
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtdmlld2VyLXR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL21lZGlhLXZpZXdlci9zcmMvbGliL21lZGlhLXZpZXdlci10eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFRLE1BQU0sZUFBZSxDQUFDOztBQWlCakQsTUFBTSxPQUFPLDBCQUEwQjs4R0FBMUIsMEJBQTBCO2tIQUExQiwwQkFBMEI7OzJGQUExQiwwQkFBMEI7a0JBRHRDLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlLCBUeXBlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgQVhNZWRpYVZpZXdlclR5cGUge1xuICBuYW1lOiBzdHJpbmc7XG4gIGNvbXBvbmVudDogVHlwZTxhbnk+
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtdmlld2VyLXR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL21lZGlhLXZpZXdlci9zcmMvbGliL21lZGlhLXZpZXdlci10eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFRLE1BQU0sZUFBZSxDQUFDOztBQWlCakQsTUFBTSxPQUFPLDBCQUEwQjs4R0FBMUIsMEJBQTBCO2tIQUExQiwwQkFBMEI7OzJGQUExQiwwQkFBMEI7a0JBRHRDLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlLCBUeXBlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgQVhNZWRpYVZpZXdlclR5cGUge1xuICBuYW1lOiBzdHJpbmc7XG4gIGNvbXBvbmVudDogVHlwZTxhbnk+O1xufVxuXG5leHBvcnQgdHlwZSBBWE1lZGlhVmlld2VyRGF0YSA9IHtcbiAgaWQ6IHN0cmluZztcbiAgbmFtZT86IHN0cmluZztcbiAgc2l6ZT86IHN0cmluZztcbiAgdHlwZTogJ2ltYWdlJyB8ICdhdWRpbycgfCAncGRmJyB8ICd2aWRlbyc7XG4gIHVybDogc3RyaW5nO1xuICB0aHVtYm5haWw/OiBzdHJpbmc7XG59O1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgQVhNZWRpYVZpZXdlckJhc2VDb21wb25lbnQge1xuICBtZXNzYWdlOiBBWE1lZGlhVmlld2VyRGF0YTtcbn1cbiJdfQ==
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { AXButtonModule } from '@acorex/components/button';
|
2
2
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
3
|
+
import { AXImageModule } from '@acorex/components/image';
|
4
|
+
import { AXLoadingModule } from '@acorex/components/loading';
|
3
5
|
import { CdkPortalOutlet } from '@angular/cdk/portal';
|
4
6
|
import { CommonModule } from '@angular/common';
|
5
7
|
import { Inject, NgModule, Optional } from '@angular/core';
|
@@ -13,7 +15,6 @@ import { AXImageViewerComponent } from './media-viewer-tools/image-viewer/image-
|
|
13
15
|
import { AXPdfReaderComponent } from './media-viewer-tools/pdf-reader/pdf-reader.component';
|
14
16
|
import { AXVideoPlayerComponent } from './media-viewer-tools/video-player/video-player.component';
|
15
17
|
import { AXMediaViewerTypeRegistryService } from './media-viewer-type-registry.service';
|
16
|
-
import { AXMediaViewerService } from './media-viewer.service';
|
17
18
|
import * as i0 from "@angular/core";
|
18
19
|
const COMPONENT = [
|
19
20
|
AXMediaViewerContainerComponent,
|
@@ -25,7 +26,15 @@ const COMPONENT = [
|
|
25
26
|
AXVideoPlayerComponent,
|
26
27
|
AXFileInfoComponent,
|
27
28
|
];
|
28
|
-
const MODULES = [
|
29
|
+
const MODULES = [
|
30
|
+
CommonModule,
|
31
|
+
AXButtonModule,
|
32
|
+
AXDecoratorModule,
|
33
|
+
CdkPortalOutlet,
|
34
|
+
FormsModule,
|
35
|
+
AXImageModule,
|
36
|
+
AXLoadingModule,
|
37
|
+
];
|
29
38
|
export class AXMediaViewerModule {
|
30
39
|
constructor(instances) {
|
31
40
|
instances?.forEach((f) => {
|
@@ -90,7 +99,13 @@ export class AXMediaViewerModule {
|
|
90
99
|
AXImageViewerComponent,
|
91
100
|
AXPdfReaderComponent,
|
92
101
|
AXVideoPlayerComponent,
|
93
|
-
AXFileInfoComponent], imports: [CommonModule,
|
102
|
+
AXFileInfoComponent], imports: [CommonModule,
|
103
|
+
AXButtonModule,
|
104
|
+
AXDecoratorModule,
|
105
|
+
CdkPortalOutlet,
|
106
|
+
FormsModule,
|
107
|
+
AXImageModule,
|
108
|
+
AXLoadingModule], exports: [AXMediaViewerContainerComponent,
|
94
109
|
AXMediaViewerSliderComponent,
|
95
110
|
AXMediaViewerThumbnailComponent,
|
96
111
|
AXAudioPlayerComponent,
|
@@ -98,7 +113,12 @@ export class AXMediaViewerModule {
|
|
98
113
|
AXPdfReaderComponent,
|
99
114
|
AXVideoPlayerComponent,
|
100
115
|
AXFileInfoComponent] }); }
|
101
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMediaViewerModule,
|
116
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMediaViewerModule, imports: [CommonModule,
|
117
|
+
AXButtonModule,
|
118
|
+
AXDecoratorModule,
|
119
|
+
FormsModule,
|
120
|
+
AXImageModule,
|
121
|
+
AXLoadingModule] }); }
|
102
122
|
}
|
103
123
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMediaViewerModule, decorators: [{
|
104
124
|
type: NgModule,
|
@@ -106,7 +126,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
106
126
|
declarations: [...COMPONENT],
|
107
127
|
imports: [...MODULES],
|
108
128
|
exports: [...COMPONENT],
|
109
|
-
providers: [AXMediaViewerService],
|
110
129
|
}]
|
111
130
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
112
131
|
type: Optional
|
@@ -114,4 +133,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
114
133
|
type: Inject,
|
115
134
|
args: ['AXMediaViewerFactory']
|
116
135
|
}] }] });
|
117
|
-
//# sourceMappingURL=data:application/json;base64,
|
136
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtdmlld2VyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9tZWRpYS12aWV3ZXIvc3JjL2xpYi9tZWRpYS12aWV3ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwr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2ltYWdlJyxcbiAgICAgICAgICAgICAgY29tcG9uZW50OiBBWEltYWdlVmlld2VyQ29tcG9uZW50LFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICByZWdpc3RyeS5yZWdpc3Rlcih7XG4gICAgICAgICAgICAgIG5hbWU6ICdwZGYnLFxuICAgICAgICAgICAgICBjb21wb25lbnQ6IEFYUGRmUmVhZGVyQ29tcG9uZW50LFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICByZWdpc3RyeS5yZWdpc3Rlcih7XG4gICAgICAgICAgICAgIG5hbWU6ICd2aWRlbycsXG4gICAgICAgICAgICAgIGNvbXBvbmVudDogQVhWaWRlb1BsYXllckNvbXBvbmVudCxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0sXG4gICAgICAgICAgZGVwczogW0FYTWVkaWFWaWV3ZXJUeXBlUmVnaXN0cnlTZXJ2aWNlXSxcbiAgICAgICAgICBtdWx0aTogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgfTtcbiAgfVxuXG4gIHN0YXRpYyBmb3JDaGlsZChjb25maWc/OiBBWE1lZGlhVmlld2VyTW9kdWxlQ29uZmlnKTogTW9kdWxlV2l0aFByb3ZpZGVyczxBWE1lZGlhVmlld2VyTW9kdWxlPiB7XG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBBWE1lZGlhVmlld2VyTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBwcm92aWRlOiAnQVhNZWRpYVZpZXdlckZhY3RvcnknLFxuICAgICAgICAgIHVzZUZhY3Rvcnk6IChyZWdpc3RyeTogQVhNZWRpYVZpZXdlclR5cGVSZWdpc3RyeVNlcnZpY2UpID0+ICgpID0+IHtcbiAgICAgICAgICAgIGlmIChjb25maWc/LnR5cGVzPy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgcmVnaXN0cnkucmVnaXN0ZXIoLi4uY29uZmlnLnR5cGVzKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIGRlcHM6IFtBWE1lZGlhVmlld2VyVHlwZVJlZ2lzdHJ5U2VydmljZV0sXG4gICAgICAgICAgbXVsdGk6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
@@ -99,7 +99,7 @@ export class AXNumberBoxComponent extends classes((MXInputBaseValueComponent), M
|
|
99
99
|
/**
|
100
100
|
* boolean value that specifies the number box change step by scrolling.
|
101
101
|
*/
|
102
|
-
this.
|
102
|
+
this.changeOnScroll = false;
|
103
103
|
/** @ignore */
|
104
104
|
this._padDecimalZeros = false;
|
105
105
|
/**
|
@@ -124,6 +124,7 @@ export class AXNumberBoxComponent extends classes((MXInputBaseValueComponent), M
|
|
124
124
|
this._onWheelFlag = false;
|
125
125
|
this.onFocus.subscribe(() => {
|
126
126
|
this._onWheelFlag = true;
|
127
|
+
this.input.nativeElement.select();
|
127
128
|
});
|
128
129
|
this.onBlur.subscribe(() => {
|
129
130
|
this._onWheelFlag = false;
|
@@ -276,7 +277,7 @@ export class AXNumberBoxComponent extends classes((MXInputBaseValueComponent), M
|
|
276
277
|
// return `ax-editor-container ax-look-${this.look} ${this.disabled ? 'ax-state-disabled' : ''}`;
|
277
278
|
// }
|
278
279
|
onWheel(event) {
|
279
|
-
if (this.
|
280
|
+
if (this.changeOnScroll && this._onWheelFlag) {
|
280
281
|
event.preventDefault();
|
281
282
|
if (!this.disabled && !this.readonly) {
|
282
283
|
if (event.deltaY > 0) {
|
@@ -289,7 +290,7 @@ export class AXNumberBoxComponent extends classes((MXInputBaseValueComponent), M
|
|
289
290
|
}
|
290
291
|
}
|
291
292
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXNumberBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
292
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", placeholder: "placeholder", value: "value", state: "state", name: "name", id: "id", look: "look",
|
293
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", placeholder: "placeholder", value: "value", state: "state", name: "name", id: "id", look: "look", changeOnScroll: "changeOnScroll", thousandsSeparator: "thousandsSeparator", padDecimalZeros: "padDecimalZeros", step: "step", decimals: "decimals", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue", classNames: ["class", "classNames"] }, outputs: { valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", readonlyChange: "readonlyChange", disabledChange: "disabledChange", onKeyDown: "onKeyDown", onKeyUp: "onKeyUp", onKeyPress: "onKeyPress" }, host: { listeners: { "wheel": "onWheel($event)" } }, providers: [
|
293
294
|
{ provide: AXComponent, useExisting: AXNumberBoxComponent },
|
294
295
|
{ provide: AXFocusableComponent, useExisting: AXNumberBoxComponent },
|
295
296
|
{ provide: AXClearableComponent, useExisting: AXNumberBoxComponent },
|
@@ -328,7 +329,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
328
329
|
}], ctorParameters: () => [], propDecorators: { input: [{
|
329
330
|
type: ViewChild,
|
330
331
|
args: ['input']
|
331
|
-
}],
|
332
|
+
}], changeOnScroll: [{
|
332
333
|
type: Input
|
333
334
|
}], thousandsSeparator: [{
|
334
335
|
type: Input
|
@@ -374,4 +375,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
374
375
|
type: HostListener,
|
375
376
|
args: ['wheel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mRsZVVwRG93bkNsaWNrKDEpXCIgdGFiaW5kZXg9XCItMVwiIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiPjxzcGFuXG4gICAgICAgIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLWNoZXZyb24tdXAgYXgtYXJyb3ctYnV0dG9uIFwiPjwvc3Bhbj48L2J1dHRvbj5cbiAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiBjbGFzcz1cImF4LWdlbmVyYWwtYnV0dG9uIGF4LWJ1dHRvbi1pY29uXCIgW2NsYXNzLmF4LXN0YXRlLWRpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICAgIChjbGljayk9XCJfaGFuZGxlVXBEb3duQ2xpY2soLTEpXCIgW2Rpc2FibGVkXT1cImRpc2FibGVkXCI+PHNwYW5cbiAgICAgICAgY2xhc3M9XCJheC1pY29uIGF4LWljb24tY2hldnJvbi1kb3duIGF4LWFycm93LWJ1dHRvbiBcIj48L3NwYW4+PC9idXR0b24+XG4gIDwvZGl2PlxuXG4gIH1cblxuICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1zdWZmaXhcIj4gPC9uZy1jb250ZW50PlxuPC9kaXY+XG48bmctY29udGVudCBzZWxlY3Q9XCJheC12YWxpZGF0aW9uLXJ1bGVcIj4gPC9uZy1jb250ZW50PlxuPGRpdiBjbGFzcz1cImF4LWVycm9yLWNvbnRhaW5lclwiPjwvZGl2PiJdfQ==
|
@@ -2,6 +2,7 @@ import { AXClearableComponent, AXComponent, AXFocusableComponent, AXValuableComp
|
|
2
2
|
import { Component, ViewEncapsulation, forwardRef } from '@angular/core';
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
4
|
import { classes } from 'polytype';
|
5
|
+
import { AXPaintService } from '../paint.service';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
/**
|
7
8
|
* paint container.
|
@@ -10,6 +11,7 @@ import * as i0 from "@angular/core";
|
|
10
11
|
export class AXPaintContainerComponent extends classes((MXInputBaseValueComponent), MXLookComponent) {
|
11
12
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPaintContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
12
13
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPaintContainerComponent, selector: "ax-paint-container", inputs: { look: "look" }, providers: [
|
14
|
+
AXPaintService,
|
13
15
|
{ provide: AXComponent, useExisting: AXPaintContainerComponent },
|
14
16
|
{ provide: AXFocusableComponent, useExisting: AXPaintContainerComponent },
|
15
17
|
{ provide: AXClearableComponent, useExisting: AXPaintContainerComponent },
|
@@ -24,6 +26,7 @@ export class AXPaintContainerComponent extends classes((MXInputBaseValueComponen
|
|
24
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPaintContainerComponent, decorators: [{
|
25
27
|
type: Component,
|
26
28
|
args: [{ selector: 'ax-paint-container', encapsulation: ViewEncapsulation.None, inputs: ['look'], providers: [
|
29
|
+
AXPaintService,
|
27
30
|
{ provide: AXComponent, useExisting: AXPaintContainerComponent },
|
28
31
|
{ provide: AXFocusableComponent, useExisting: AXPaintContainerComponent },
|
29
32
|
{ provide: AXClearableComponent, useExisting: AXPaintContainerComponent },
|
@@ -35,4 +38,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
35
38
|
},
|
36
39
|
], template: "<div class=\"ax-editor-container ax-look-{{ look }}\">\n <ng-content></ng-content>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n</div>\n<div class=\"ax-error-container\"></div>\n", styles: ["ax-paint-container{width:100%}ax-paint-container>.ax-editor-container{display:block;height:auto!important}\n"] }]
|
37
40
|
}] });
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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bmVudCwgdXNlRXhpc3Rpbmc6IEFYUGFpbnRDb250YWluZXJDb21wb25lbnQgfSxcbiAgICB7IHByb3ZpZGU6IEFYVmFsdWFibGVDb21wb25lbnQsIHVzZUV4aXN0aW5nOiBBWFBhaW50Q29udGFpbmVyQ29tcG9uZW50IH0sXG4gICAge1xuICAgICAgcHJvdmlkZTogTkdfVkFMVUVfQUNDRVNTT1IsXG4gICAgICB1c2VFeGlzdGluZzogZm9yd2FyZFJlZigoKSA9PiBBWFBhaW50Q29udGFpbmVyQ29tcG9uZW50KSxcbiAgICAgIG11bHRpOiB0cnVlLFxuICAgIH0sXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIEFYUGFpbnRDb250YWluZXJDb21wb25lbnQgZXh0ZW5kcyBjbGFzc2VzKE1YSW5wdXRCYXNlVmFsdWVDb21wb25lbnQ8c3RyaW5nPiwgTVhMb29rQ29tcG9uZW50KSB7fVxuIiwiPGRpdiBjbGFzcz1cImF4LWVkaXRvci1jb250YWluZXIgYXgtbG9vay17eyBsb29rIH19XCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtdmFsaWRhdGlvbi1ydWxlXCI+IDwvbmctY29udGVudD5cbjwvZGl2PlxuPGRpdiBjbGFzcz1cImF4LWVycm9yLWNvbnRhaW5lclwiPjwvZGl2PlxuIl19
|
@@ -11,7 +11,6 @@ import { AXPaintToolbarComponent } from './paint/paint-toolbar/paint-toolbar.com
|
|
11
11
|
import { AXPaintColorPickerComponent } from './paint/paint-tools/paint-color-picker/paint-color-picker.component';
|
12
12
|
import { AXPaintPenModeChangerComponent } from './paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component';
|
13
13
|
import { AXPaintViewComponent } from './paint/paint-view/paint-view.component';
|
14
|
-
import { AXPaintService } from './paint/paint.service';
|
15
14
|
import * as i0 from "@angular/core";
|
16
15
|
const COMPONENT = [
|
17
16
|
AXPaintContainerComponent,
|
@@ -46,7 +45,7 @@ export class AXPaintModule {
|
|
46
45
|
AXPaintViewComponent,
|
47
46
|
AXPaintColorPickerComponent,
|
48
47
|
AXPaintPenModeChangerComponent] }); }
|
49
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPaintModule,
|
48
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPaintModule, imports: [MODULES] }); }
|
50
49
|
}
|
51
50
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPaintModule, decorators: [{
|
52
51
|
type: NgModule,
|
@@ -54,7 +53,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
54
53
|
declarations: [...COMPONENT],
|
55
54
|
imports: [...MODULES],
|
56
55
|
exports: [...COMPONENT],
|
57
|
-
providers: [
|
56
|
+
providers: [],
|
58
57
|
}]
|
59
58
|
}] });
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFpbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3BhaW50L3NyYy9saWIvcGFpbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUN4RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sNEJB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