@acorex/core 5.0.38 → 5.0.39
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/esm2020/lib/config/configs.mjs +1 -2
- package/esm2020/lib/core.module.mjs +4 -4
- package/esm2020/lib/dateTime/datetime.class.mjs +1 -2
- package/esm2020/lib/dateTime/datetime.module.mjs +4 -4
- package/esm2020/lib/dateTime/datetime.pipe.mjs +3 -3
- package/esm2020/lib/events/event.service.mjs +3 -3
- package/esm2020/lib/hotkeys/hotkeys.service.mjs +3 -3
- package/esm2020/lib/platform/platform.service.mjs +3 -3
- package/esm2020/lib/translation/translation.module.mjs +4 -4
- package/esm2020/lib/translation/translator.pipe.mjs +3 -3
- package/esm2020/lib/utils/safe.pipe.mjs +3 -3
- package/fesm2015/acorex-core.mjs +30 -32
- package/fesm2015/acorex-core.mjs.map +1 -1
- package/fesm2020/acorex-core.mjs +30 -32
- package/fesm2020/acorex-core.mjs.map +1 -1
- package/package.json +4 -4
package/fesm2020/acorex-core.mjs
CHANGED
|
@@ -109,9 +109,9 @@ class AXSafePipe {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
AXSafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
113
|
-
AXSafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
112
|
+
AXSafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
113
|
+
AXSafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSafePipe, name: "safe" });
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXSafePipe, decorators: [{
|
|
115
115
|
type: Pipe,
|
|
116
116
|
args: [{
|
|
117
117
|
name: 'safe',
|
|
@@ -121,10 +121,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
121
121
|
|
|
122
122
|
class AXCoreModule {
|
|
123
123
|
}
|
|
124
|
-
AXCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
125
|
-
AXCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
126
|
-
AXCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
124
|
+
AXCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
125
|
+
AXCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCoreModule, declarations: [AXSafePipe], exports: [AXSafePipe] });
|
|
126
|
+
AXCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCoreModule, providers: [], imports: [[]] });
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXCoreModule, decorators: [{
|
|
128
128
|
type: NgModule,
|
|
129
129
|
args: [{
|
|
130
130
|
imports: [],
|
|
@@ -141,7 +141,6 @@ class AXConfig {
|
|
|
141
141
|
}
|
|
142
142
|
static set(arg1, arg2) {
|
|
143
143
|
if (arg1 && typeof arg1 == 'string') {
|
|
144
|
-
debugger;
|
|
145
144
|
_.set(AXConfig.dataModel, arg1, arg2);
|
|
146
145
|
AXConfig.dataChangeSubject.next(AXConfig.dataModel);
|
|
147
146
|
return;
|
|
@@ -165,7 +164,6 @@ AXConfig.dataChangeSubject = new Subject();
|
|
|
165
164
|
// @dynamic
|
|
166
165
|
class AXDateTime {
|
|
167
166
|
constructor(value = new Date(), calendar = AXConfig.get(`dateTime.calendar`)) {
|
|
168
|
-
debugger;
|
|
169
167
|
this._calendar =
|
|
170
168
|
typeof calendar == 'string'
|
|
171
169
|
? AXConfig.get(`dateTime.calendars.${calendar}`)
|
|
@@ -433,9 +431,9 @@ class AXDateTimePipe {
|
|
|
433
431
|
}
|
|
434
432
|
}
|
|
435
433
|
}
|
|
436
|
-
AXDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
437
|
-
AXDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
434
|
+
AXDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
435
|
+
AXDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDateTimePipe, name: "axDate" });
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDateTimePipe, decorators: [{
|
|
439
437
|
type: Pipe,
|
|
440
438
|
args: [{ name: 'axDate' }]
|
|
441
439
|
}], ctorParameters: function () { return []; } });
|
|
@@ -965,10 +963,10 @@ class AXDateTimeModule {
|
|
|
965
963
|
});
|
|
966
964
|
}
|
|
967
965
|
}
|
|
968
|
-
AXDateTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
969
|
-
AXDateTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
970
|
-
AXDateTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
966
|
+
AXDateTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
967
|
+
AXDateTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDateTimeModule, declarations: [AXDateTimePipe], exports: [AXDateTimePipe] });
|
|
968
|
+
AXDateTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDateTimeModule, providers: [], imports: [[]] });
|
|
969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXDateTimeModule, decorators: [{
|
|
972
970
|
type: NgModule,
|
|
973
971
|
args: [{
|
|
974
972
|
imports: [],
|
|
@@ -1005,9 +1003,9 @@ class AXEventService {
|
|
|
1005
1003
|
}
|
|
1006
1004
|
}
|
|
1007
1005
|
}
|
|
1008
|
-
AXEventService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1009
|
-
AXEventService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1006
|
+
AXEventService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1007
|
+
AXEventService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEventService, providedIn: 'root' });
|
|
1008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXEventService, decorators: [{
|
|
1011
1009
|
type: Injectable,
|
|
1012
1010
|
args: [{ providedIn: 'root' }]
|
|
1013
1011
|
}] });
|
|
@@ -1035,9 +1033,9 @@ class AXHotkeysService {
|
|
|
1035
1033
|
});
|
|
1036
1034
|
}
|
|
1037
1035
|
}
|
|
1038
|
-
AXHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1039
|
-
AXHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1036
|
+
AXHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXHotkeysService, deps: [{ token: i1.EventManager }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1037
|
+
AXHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXHotkeysService });
|
|
1038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXHotkeysService, decorators: [{
|
|
1041
1039
|
type: Injectable
|
|
1042
1040
|
}], ctorParameters: function () { return [{ type: i1.EventManager }, { type: Document, decorators: [{
|
|
1043
1041
|
type: Inject,
|
|
@@ -1072,19 +1070,19 @@ class AXTranslatorPipe {
|
|
|
1072
1070
|
return AXTranslator.get(value, lang);
|
|
1073
1071
|
}
|
|
1074
1072
|
}
|
|
1075
|
-
AXTranslatorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1076
|
-
AXTranslatorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
1077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1073
|
+
AXTranslatorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTranslatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1074
|
+
AXTranslatorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTranslatorPipe, name: "trans" });
|
|
1075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTranslatorPipe, decorators: [{
|
|
1078
1076
|
type: Pipe,
|
|
1079
1077
|
args: [{ name: 'trans', pure: true }]
|
|
1080
1078
|
}] });
|
|
1081
1079
|
|
|
1082
1080
|
class AXTranslationModule {
|
|
1083
1081
|
}
|
|
1084
|
-
AXTranslationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1085
|
-
AXTranslationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
1086
|
-
AXTranslationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1082
|
+
AXTranslationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTranslationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1083
|
+
AXTranslationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTranslationModule, declarations: [AXTranslatorPipe], exports: [AXTranslatorPipe] });
|
|
1084
|
+
AXTranslationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTranslationModule, providers: [], imports: [[]] });
|
|
1085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXTranslationModule, decorators: [{
|
|
1088
1086
|
type: NgModule,
|
|
1089
1087
|
args: [{
|
|
1090
1088
|
imports: [],
|
|
@@ -1209,9 +1207,9 @@ class AXPlatform {
|
|
|
1209
1207
|
_html.classList.remove('ax-dark');
|
|
1210
1208
|
}
|
|
1211
1209
|
}
|
|
1212
|
-
AXPlatform.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1213
|
-
AXPlatform.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1210
|
+
AXPlatform.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPlatform, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1211
|
+
AXPlatform.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPlatform, providedIn: 'platform' });
|
|
1212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AXPlatform, decorators: [{
|
|
1215
1213
|
type: Injectable,
|
|
1216
1214
|
args: [{
|
|
1217
1215
|
providedIn: 'platform',
|