@acorex/core 7.1.19 → 7.1.21
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/esm2022/dateTime/src/datetime.module.mjs +4 -4
- package/esm2022/dateTime/src/datetime.pipe.mjs +3 -3
- package/esm2022/events/src/event.service.mjs +3 -3
- package/esm2022/file/src/file.service.mjs +3 -3
- package/esm2022/http/src/http.module.mjs +4 -4
- package/esm2022/http/src/http.service.mjs +3 -3
- package/esm2022/image/src/image.service.mjs +3 -3
- package/esm2022/pipes/src/pipes.module.mjs +4 -4
- package/esm2022/pipes/src/safe.pipe.mjs +3 -3
- package/esm2022/platform/src/platform.service.mjs +3 -3
- package/esm2022/translation/src/translation.module.mjs +4 -4
- package/esm2022/translation/src/translator.pipe.mjs +3 -3
- package/fesm2022/acorex-core-dateTime.mjs +7 -7
- package/fesm2022/acorex-core-events.mjs +3 -3
- package/fesm2022/acorex-core-file.mjs +3 -3
- package/fesm2022/acorex-core-http.mjs +7 -7
- package/fesm2022/acorex-core-image.mjs +3 -3
- package/fesm2022/acorex-core-pipes.mjs +7 -7
- package/fesm2022/acorex-core-platform.mjs +3 -3
- package/fesm2022/acorex-core-translation.mjs +7 -7
- package/package.json +7 -7
@@ -23,12 +23,12 @@ class AXDateTimeModule {
|
|
23
23
|
}
|
24
24
|
});
|
25
25
|
}
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
27
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
28
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
27
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimeModule, declarations: [AXDateTimePipe], exports: [AXDateTimePipe] });
|
28
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimeModule });
|
29
29
|
}
|
30
30
|
export { AXDateTimeModule };
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimeModule, decorators: [{
|
32
32
|
type: NgModule,
|
33
33
|
args: [{
|
34
34
|
imports: [],
|
@@ -16,11 +16,11 @@ class AXDateTimePipe {
|
|
16
16
|
return date.format(format);
|
17
17
|
}
|
18
18
|
}
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
20
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
20
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimePipe, name: "axDate" });
|
21
21
|
}
|
22
22
|
export { AXDateTimePipe };
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimePipe, decorators: [{
|
24
24
|
type: Pipe,
|
25
25
|
args: [{ name: 'axDate' }]
|
26
26
|
}], ctorParameters: function () { return []; } });
|
@@ -24,11 +24,11 @@ class AXEventService {
|
|
24
24
|
d.events = [];
|
25
25
|
}
|
26
26
|
}
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
28
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
28
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXEventService, providedIn: 'root' });
|
29
29
|
}
|
30
30
|
export { AXEventService };
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXEventService, decorators: [{
|
32
32
|
type: Injectable,
|
33
33
|
args: [{ providedIn: 'root' }]
|
34
34
|
}] });
|
@@ -92,11 +92,11 @@ class AXFileService {
|
|
92
92
|
};
|
93
93
|
reader.readAsDataURL(blob);
|
94
94
|
});
|
95
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
96
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
95
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXFileService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
96
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXFileService, providedIn: 'root' });
|
97
97
|
}
|
98
98
|
export { AXFileService };
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXFileService, decorators: [{
|
100
100
|
type: Injectable,
|
101
101
|
args: [{ providedIn: 'root' }]
|
102
102
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
|
@@ -4,16 +4,16 @@ import { HttpClientModule } from '@angular/common/http';
|
|
4
4
|
import { AXHttpService } from './http.service';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
class AXHttpModule {
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
8
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
8
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXHttpModule, imports: [CommonModule,
|
9
9
|
HttpClientModule], exports: [HttpClientModule] });
|
10
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
10
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpModule, providers: [
|
11
11
|
AXHttpService
|
12
12
|
], imports: [CommonModule,
|
13
13
|
HttpClientModule, HttpClientModule] });
|
14
14
|
}
|
15
15
|
export { AXHttpModule };
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpModule, decorators: [{
|
17
17
|
type: NgModule,
|
18
18
|
args: [{
|
19
19
|
declarations: [],
|
@@ -141,11 +141,11 @@ class AXHttpService {
|
|
141
141
|
// };
|
142
142
|
// }
|
143
143
|
}
|
144
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
145
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpService, deps: [{ token: i1.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
145
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpService, providedIn: 'root' });
|
146
146
|
}
|
147
147
|
export { AXHttpService };
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpService, decorators: [{
|
149
149
|
type: Injectable,
|
150
150
|
args: [{ providedIn: 'root' }]
|
151
151
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i0.Injector }]; } });
|
@@ -33,11 +33,11 @@ class AXImageService {
|
|
33
33
|
canvas.getContext('2d').drawImage(image, 0, 0, width, height);
|
34
34
|
return new Promise((resolve) => canvas.toBlob(resolve, options.type, options.quality));
|
35
35
|
}
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
37
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXImageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
37
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXImageService, providedIn: 'root' });
|
38
38
|
}
|
39
39
|
export { AXImageService };
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXImageService, decorators: [{
|
41
41
|
type: Injectable,
|
42
42
|
args: [{ providedIn: 'root' }]
|
43
43
|
}], ctorParameters: function () { return []; } });
|
@@ -3,12 +3,12 @@ import { CommonModule } from '@angular/common';
|
|
3
3
|
import { AXSafePipe } from './safe.pipe';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
class AXPipesModule {
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
7
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
8
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
6
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
7
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXPipesModule, declarations: [AXSafePipe], imports: [CommonModule], exports: [AXSafePipe] });
|
8
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPipesModule, imports: [CommonModule] });
|
9
9
|
}
|
10
10
|
export { AXPipesModule };
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPipesModule, decorators: [{
|
12
12
|
type: NgModule,
|
13
13
|
args: [{
|
14
14
|
declarations: [AXSafePipe],
|
@@ -18,11 +18,11 @@ class AXSafePipe {
|
|
18
18
|
default: throw new Error(`Invalid safe type specified: ${type}`);
|
19
19
|
}
|
20
20
|
}
|
21
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
22
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXSafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
22
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXSafePipe, name: "safe" });
|
23
23
|
}
|
24
24
|
export { AXSafePipe };
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXSafePipe, decorators: [{
|
26
26
|
type: Pipe,
|
27
27
|
args: [{
|
28
28
|
name: 'safe',
|
@@ -145,11 +145,11 @@ class AXPlatform {
|
|
145
145
|
// init functions
|
146
146
|
this._setFullHeightRatio();
|
147
147
|
}
|
148
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
149
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
148
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPlatform, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
149
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPlatform, providedIn: 'root' });
|
150
150
|
}
|
151
151
|
export { AXPlatform };
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPlatform, decorators: [{
|
153
153
|
type: Injectable,
|
154
154
|
args: [{
|
155
155
|
providedIn: 'root',
|
@@ -2,12 +2,12 @@ import { NgModule } from '@angular/core';
|
|
2
2
|
import { AXTranslatorPipe } from './translator.pipe';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
class AXTranslationModule {
|
5
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
6
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
7
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
5
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
6
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXTranslationModule, declarations: [AXTranslatorPipe], exports: [AXTranslatorPipe] });
|
7
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslationModule });
|
8
8
|
}
|
9
9
|
export { AXTranslationModule };
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslationModule, decorators: [{
|
11
11
|
type: NgModule,
|
12
12
|
args: [{
|
13
13
|
imports: [],
|
@@ -5,11 +5,11 @@ class AXTranslatorPipe {
|
|
5
5
|
transform(value, arg1, arg2) {
|
6
6
|
return AXTranslator.get(value, arg1, arg2);
|
7
7
|
}
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
9
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
9
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXTranslatorPipe, name: "trans" });
|
10
10
|
}
|
11
11
|
export { AXTranslatorPipe };
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslatorPipe, decorators: [{
|
13
13
|
type: Pipe,
|
14
14
|
args: [{ name: 'trans', pure: true }]
|
15
15
|
}] });
|
@@ -310,10 +310,10 @@ class AXDateTimePipe {
|
|
310
310
|
return date.format(format);
|
311
311
|
}
|
312
312
|
}
|
313
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
314
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
313
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
314
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimePipe, name: "axDate" });
|
315
315
|
}
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimePipe, decorators: [{
|
317
317
|
type: Pipe,
|
318
318
|
args: [{ name: 'axDate' }]
|
319
319
|
}], ctorParameters: function () { return []; } });
|
@@ -879,11 +879,11 @@ class AXDateTimeModule {
|
|
879
879
|
}
|
880
880
|
});
|
881
881
|
}
|
882
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
883
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
884
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
883
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimeModule, declarations: [AXDateTimePipe], exports: [AXDateTimePipe] });
|
884
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimeModule });
|
885
885
|
}
|
886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXDateTimeModule, decorators: [{
|
887
887
|
type: NgModule,
|
888
888
|
args: [{
|
889
889
|
imports: [],
|
@@ -25,10 +25,10 @@ class AXEventService {
|
|
25
25
|
d.events = [];
|
26
26
|
}
|
27
27
|
}
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
29
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
29
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXEventService, providedIn: 'root' });
|
30
30
|
}
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXEventService, decorators: [{
|
32
32
|
type: Injectable,
|
33
33
|
args: [{ providedIn: 'root' }]
|
34
34
|
}] });
|
@@ -163,10 +163,10 @@ class AXFileService {
|
|
163
163
|
};
|
164
164
|
reader.readAsDataURL(blob);
|
165
165
|
});
|
166
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
167
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
166
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXFileService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
167
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXFileService, providedIn: 'root' });
|
168
168
|
}
|
169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXFileService, decorators: [{
|
170
170
|
type: Injectable,
|
171
171
|
args: [{ providedIn: 'root' }]
|
172
172
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
|
@@ -168,24 +168,24 @@ class AXHttpService {
|
|
168
168
|
// };
|
169
169
|
// }
|
170
170
|
}
|
171
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
172
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
171
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpService, deps: [{ token: i1.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
172
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpService, providedIn: 'root' });
|
173
173
|
}
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpService, decorators: [{
|
175
175
|
type: Injectable,
|
176
176
|
args: [{ providedIn: 'root' }]
|
177
177
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i0.Injector }]; } });
|
178
178
|
|
179
179
|
class AXHttpModule {
|
180
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
181
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
180
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
181
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXHttpModule, imports: [CommonModule,
|
182
182
|
HttpClientModule], exports: [HttpClientModule] });
|
183
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
183
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpModule, providers: [
|
184
184
|
AXHttpService
|
185
185
|
], imports: [CommonModule,
|
186
186
|
HttpClientModule, HttpClientModule] });
|
187
187
|
}
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXHttpModule, decorators: [{
|
189
189
|
type: NgModule,
|
190
190
|
args: [{
|
191
191
|
declarations: [],
|
@@ -34,10 +34,10 @@ class AXImageService {
|
|
34
34
|
canvas.getContext('2d').drawImage(image, 0, 0, width, height);
|
35
35
|
return new Promise((resolve) => canvas.toBlob(resolve, options.type, options.quality));
|
36
36
|
}
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
38
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXImageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
38
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXImageService, providedIn: 'root' });
|
39
39
|
}
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXImageService, decorators: [{
|
41
41
|
type: Injectable,
|
42
42
|
args: [{ providedIn: 'root' }]
|
43
43
|
}], ctorParameters: function () { return []; } });
|
@@ -20,10 +20,10 @@ class AXSafePipe {
|
|
20
20
|
default: throw new Error(`Invalid safe type specified: ${type}`);
|
21
21
|
}
|
22
22
|
}
|
23
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
24
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXSafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
24
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXSafePipe, name: "safe" });
|
25
25
|
}
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXSafePipe, decorators: [{
|
27
27
|
type: Pipe,
|
28
28
|
args: [{
|
29
29
|
name: 'safe',
|
@@ -32,11 +32,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
32
32
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
33
33
|
|
34
34
|
class AXPipesModule {
|
35
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
36
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
37
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
36
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXPipesModule, declarations: [AXSafePipe], imports: [CommonModule], exports: [AXSafePipe] });
|
37
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPipesModule, imports: [CommonModule] });
|
38
38
|
}
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPipesModule, decorators: [{
|
40
40
|
type: NgModule,
|
41
41
|
args: [{
|
42
42
|
declarations: [AXSafePipe],
|
@@ -146,10 +146,10 @@ class AXPlatform {
|
|
146
146
|
// init functions
|
147
147
|
this._setFullHeightRatio();
|
148
148
|
}
|
149
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
150
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.
|
149
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPlatform, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
150
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPlatform, providedIn: 'root' });
|
151
151
|
}
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXPlatform, decorators: [{
|
153
153
|
type: Injectable,
|
154
154
|
args: [{
|
155
155
|
providedIn: 'root',
|
@@ -48,20 +48,20 @@ class AXTranslatorPipe {
|
|
48
48
|
transform(value, arg1, arg2) {
|
49
49
|
return AXTranslator.get(value, arg1, arg2);
|
50
50
|
}
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
52
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
52
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXTranslatorPipe, name: "trans" });
|
53
53
|
}
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslatorPipe, decorators: [{
|
55
55
|
type: Pipe,
|
56
56
|
args: [{ name: 'trans', pure: true }]
|
57
57
|
}] });
|
58
58
|
|
59
59
|
class AXTranslationModule {
|
60
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
61
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
62
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
60
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
61
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: AXTranslationModule, declarations: [AXTranslatorPipe], exports: [AXTranslatorPipe] });
|
62
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslationModule });
|
63
63
|
}
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AXTranslationModule, decorators: [{
|
65
65
|
type: NgModule,
|
66
66
|
args: [{
|
67
67
|
imports: [],
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/core",
|
3
|
-
"version": "7.1.
|
3
|
+
"version": "7.1.21",
|
4
4
|
"dependencies": {
|
5
5
|
"tslib": "^2.5.0"
|
6
6
|
},
|
@@ -48,12 +48,6 @@
|
|
48
48
|
"esm": "./esm2022/file/acorex-core-file.mjs",
|
49
49
|
"default": "./fesm2022/acorex-core-file.mjs"
|
50
50
|
},
|
51
|
-
"./http": {
|
52
|
-
"types": "./http/index.d.ts",
|
53
|
-
"esm2022": "./esm2022/http/acorex-core-http.mjs",
|
54
|
-
"esm": "./esm2022/http/acorex-core-http.mjs",
|
55
|
-
"default": "./fesm2022/acorex-core-http.mjs"
|
56
|
-
},
|
57
51
|
"./image": {
|
58
52
|
"types": "./image/index.d.ts",
|
59
53
|
"esm2022": "./esm2022/image/acorex-core-image.mjs",
|
@@ -83,6 +77,12 @@
|
|
83
77
|
"esm2022": "./esm2022/utils/acorex-core-utils.mjs",
|
84
78
|
"esm": "./esm2022/utils/acorex-core-utils.mjs",
|
85
79
|
"default": "./fesm2022/acorex-core-utils.mjs"
|
80
|
+
},
|
81
|
+
"./http": {
|
82
|
+
"types": "./http/index.d.ts",
|
83
|
+
"esm2022": "./esm2022/http/acorex-core-http.mjs",
|
84
|
+
"esm": "./esm2022/http/acorex-core-http.mjs",
|
85
|
+
"default": "./fesm2022/acorex-core-http.mjs"
|
86
86
|
}
|
87
87
|
},
|
88
88
|
"sideEffects": false
|