@mosa-ng/core 17.0.1 → 19.0.0
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/fesm2022/mosa-ng-core.mjs +74 -63
- package/fesm2022/mosa-ng-core.mjs.map +1 -1
- package/package.json +3 -5
- package/esm2022/lib/constants/local-storage.constant.mjs +0 -4
- package/esm2022/lib/enums/browser.enum.mjs +0 -11
- package/esm2022/lib/enums/content-position.enum.mjs +0 -13
- package/esm2022/lib/enums/i18n-supported.enum.mjs +0 -12
- package/esm2022/lib/enums/theme.enum.mjs +0 -6
- package/esm2022/lib/models/api-options.model.mjs +0 -2
- package/esm2022/lib/models/dictionary-item.model.mjs +0 -2
- package/esm2022/lib/models/key-map.model.mjs +0 -2
- package/esm2022/lib/models/logger/log-event.model.mjs +0 -2
- package/esm2022/lib/models/logger/log-message-data.model.mjs +0 -2
- package/esm2022/lib/models/logger/log-type.model.mjs +0 -2
- package/esm2022/lib/models/logger/log.model.mjs +0 -2
- package/esm2022/lib/models/logger/logger-base-config.model.mjs +0 -2
- package/esm2022/lib/models/logger/logger-config.model.mjs +0 -2
- package/esm2022/lib/models/logger/logger-default-config.model.mjs +0 -2
- package/esm2022/lib/models/mosa-duration.model.mjs +0 -2
- package/esm2022/lib/models/sieve/sieve-filter.model.mjs +0 -2
- package/esm2022/lib/models/sieve/sieve-operator.model.mjs +0 -2
- package/esm2022/lib/models/sieve/sieve-options.model.mjs +0 -2
- package/esm2022/lib/models/sieve/sieve-response.model.mjs +0 -2
- package/esm2022/lib/models/sieve/sieve-sort.model.mjs +0 -2
- package/esm2022/lib/models/token-settings.model.mjs +0 -2
- package/esm2022/lib/models/transform-matrix.model.mjs +0 -2
- package/esm2022/lib/mosa-core.module.mjs +0 -105
- package/esm2022/lib/pipes/dictionary-item-pipe/dictionary-item-pipe.module.mjs +0 -22
- package/esm2022/lib/pipes/dictionary-item-pipe/dictionary-item.pipe.mjs +0 -17
- package/esm2022/lib/pipes/find-in-array/find-in-array-pipe.module.mjs +0 -24
- package/esm2022/lib/pipes/find-in-array/find-in-array.pipe.mjs +0 -34
- package/esm2022/lib/pipes/join/join-pipe.module.mjs +0 -24
- package/esm2022/lib/pipes/join/join.pipe.mjs +0 -24
- package/esm2022/lib/pipes/mosa-date-pipe/mosa-date-pipe.module.mjs +0 -21
- package/esm2022/lib/pipes/mosa-date-pipe/mosa-date.pipe.mjs +0 -91
- package/esm2022/lib/pipes/mosa-duration-pipe/mosa-duration-pipe.module.mjs +0 -20
- package/esm2022/lib/pipes/mosa-duration-pipe/mosa-duration.pipe.mjs +0 -88
- package/esm2022/lib/services/api.service.mjs +0 -225
- package/esm2022/lib/services/core-logger.service.mjs +0 -197
- package/esm2022/lib/services/guards/can-deactivate.guard.mjs +0 -16
- package/esm2022/lib/services/mosa-socket.service.mjs +0 -44
- package/esm2022/lib/services/translation/assets-i18n-loader.service.mjs +0 -58
- package/esm2022/lib/services/translation/custom-translate-loader.service.mjs +0 -28
- package/esm2022/lib/services/translation/translate-collector.service.mjs +0 -54
- package/esm2022/lib/utils/commons.util.mjs +0 -89
- package/esm2022/lib/utils/dictionary.util.mjs +0 -121
- package/esm2022/lib/utils/item.util.mjs +0 -2
- package/esm2022/lib/utils/promise.util.mjs +0 -2
- package/esm2022/lib/utils/prototypes.util.mjs +0 -86
- package/esm2022/lib/utils/sieve.util.mjs +0 -137
- package/esm2022/lib/utils/size.util.mjs +0 -2
- package/esm2022/mosa-ng-core.mjs +0 -5
- package/esm2022/public-api.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i2 from '@angular/common';
|
|
2
2
|
import { CommonModule, DatePipe } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injectable, Pipe, NgModule,
|
|
4
|
+
import { Injectable, Pipe, NgModule, provideAppInitializer, inject } from '@angular/core';
|
|
5
5
|
import { firstValueFrom, of, BehaviorSubject, throwError, Observable, Subject } from 'rxjs';
|
|
6
6
|
import { share, tap, catchError, map } from 'rxjs/operators';
|
|
7
7
|
import * as i1$1 from '@angular/common/http';
|
|
@@ -151,10 +151,10 @@ class TranslateCollectorService {
|
|
|
151
151
|
localStorage.setItem(MOSA_MERGED_TRANSLATION(lang), JSON.stringify(merged));
|
|
152
152
|
this.myTranslateService.reloadLang(lang);
|
|
153
153
|
}
|
|
154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
155
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TranslateCollectorService, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
155
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TranslateCollectorService, providedIn: 'root' }); }
|
|
156
156
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TranslateCollectorService, decorators: [{
|
|
158
158
|
type: Injectable,
|
|
159
159
|
args: [{
|
|
160
160
|
providedIn: 'root',
|
|
@@ -202,10 +202,10 @@ class AssetsI18nLoaderService {
|
|
|
202
202
|
return of(null);
|
|
203
203
|
}));
|
|
204
204
|
}
|
|
205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
206
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: AssetsI18nLoaderService, deps: [{ token: i1$1.HttpClient }, { token: TranslateCollectorService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
206
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: AssetsI18nLoaderService, providedIn: 'root' }); }
|
|
207
207
|
}
|
|
208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: AssetsI18nLoaderService, decorators: [{
|
|
209
209
|
type: Injectable,
|
|
210
210
|
args: [{
|
|
211
211
|
providedIn: 'root',
|
|
@@ -394,10 +394,10 @@ class CoreLoggerService {
|
|
|
394
394
|
}
|
|
395
395
|
return val;
|
|
396
396
|
}
|
|
397
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
398
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CoreLoggerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
398
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CoreLoggerService, providedIn: 'root' }); }
|
|
399
399
|
}
|
|
400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CoreLoggerService, decorators: [{
|
|
401
401
|
type: Injectable,
|
|
402
402
|
args: [{
|
|
403
403
|
providedIn: 'root',
|
|
@@ -611,10 +611,10 @@ class ApiService {
|
|
|
611
611
|
}
|
|
612
612
|
return options;
|
|
613
613
|
}
|
|
614
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
615
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: ApiService, deps: [{ token: CoreLoggerService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
615
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: ApiService, providedIn: 'root' }); }
|
|
616
616
|
}
|
|
617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: ApiService, decorators: [{
|
|
618
618
|
type: Injectable,
|
|
619
619
|
args: [{
|
|
620
620
|
providedIn: 'root',
|
|
@@ -652,10 +652,10 @@ class MosaSocketService {
|
|
|
652
652
|
};
|
|
653
653
|
return Subject.create(observer, observable);
|
|
654
654
|
}
|
|
655
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
656
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaSocketService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
656
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaSocketService, providedIn: 'root' }); }
|
|
657
657
|
}
|
|
658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaSocketService, decorators: [{
|
|
659
659
|
type: Injectable,
|
|
660
660
|
args: [{
|
|
661
661
|
providedIn: 'root',
|
|
@@ -675,10 +675,10 @@ class CustomTranslateLoaderService {
|
|
|
675
675
|
const defaultTranslation = localStorage.getItem(MOSA_FALLBACK_TRANSLATION);
|
|
676
676
|
return isNullOrEmpty(defaultTranslation) ? {} : JSON.parse(defaultTranslation);
|
|
677
677
|
}
|
|
678
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
679
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
678
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CustomTranslateLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
679
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CustomTranslateLoaderService, providedIn: 'root' }); }
|
|
680
680
|
}
|
|
681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CustomTranslateLoaderService, decorators: [{
|
|
682
682
|
type: Injectable,
|
|
683
683
|
args: [{
|
|
684
684
|
providedIn: 'root',
|
|
@@ -689,10 +689,10 @@ class CanDeactivateGuard {
|
|
|
689
689
|
canDeactivate(component) {
|
|
690
690
|
return component.canDeactivate ? component.canDeactivate() : true;
|
|
691
691
|
}
|
|
692
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
693
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
692
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CanDeactivateGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
693
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CanDeactivateGuard, providedIn: 'root' }); }
|
|
694
694
|
}
|
|
695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
695
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CanDeactivateGuard, decorators: [{
|
|
696
696
|
type: Injectable,
|
|
697
697
|
args: [{
|
|
698
698
|
providedIn: 'root',
|
|
@@ -1146,22 +1146,23 @@ class MosaDatePipe {
|
|
|
1146
1146
|
years: this.myTranslateService.instant('mosa.pipes.timeSince.years'),
|
|
1147
1147
|
};
|
|
1148
1148
|
}
|
|
1149
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1150
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1149
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDatePipe, deps: [{ token: i1.TranslateService }, { token: i2.DatePipe }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1150
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: MosaDatePipe, isStandalone: false, name: "mosaDate" }); }
|
|
1151
1151
|
}
|
|
1152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDatePipe, decorators: [{
|
|
1153
1153
|
type: Pipe,
|
|
1154
1154
|
args: [{
|
|
1155
1155
|
name: 'mosaDate',
|
|
1156
|
+
standalone: false,
|
|
1156
1157
|
}]
|
|
1157
1158
|
}], ctorParameters: () => [{ type: i1.TranslateService }, { type: i2.DatePipe }] });
|
|
1158
1159
|
|
|
1159
1160
|
class MosaDatePipeModule {
|
|
1160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1161
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1162
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1161
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDatePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1162
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: MosaDatePipeModule, declarations: [MosaDatePipe], imports: [CommonModule], exports: [MosaDatePipe] }); }
|
|
1163
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDatePipeModule, providers: [DatePipe], imports: [CommonModule] }); }
|
|
1163
1164
|
}
|
|
1164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDatePipeModule, decorators: [{
|
|
1165
1166
|
type: NgModule,
|
|
1166
1167
|
args: [{
|
|
1167
1168
|
declarations: [MosaDatePipe],
|
|
@@ -1178,22 +1179,23 @@ class DictionaryItemPipe {
|
|
|
1178
1179
|
transform(key, dictionary) {
|
|
1179
1180
|
return dictionary.get(key)?.value;
|
|
1180
1181
|
}
|
|
1181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1182
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1182
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DictionaryItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1183
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: DictionaryItemPipe, isStandalone: false, name: "dictionaryItem" }); }
|
|
1183
1184
|
}
|
|
1184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DictionaryItemPipe, decorators: [{
|
|
1185
1186
|
type: Pipe,
|
|
1186
1187
|
args: [{
|
|
1187
1188
|
name: 'dictionaryItem',
|
|
1189
|
+
standalone: false,
|
|
1188
1190
|
}]
|
|
1189
1191
|
}] });
|
|
1190
1192
|
|
|
1191
1193
|
class DictionaryItemPipeModule {
|
|
1192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1193
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1194
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DictionaryItemPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1195
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: DictionaryItemPipeModule, declarations: [DictionaryItemPipe], imports: [CommonModule], exports: [DictionaryItemPipe] }); }
|
|
1196
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DictionaryItemPipeModule, imports: [CommonModule] }); }
|
|
1195
1197
|
}
|
|
1196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DictionaryItemPipeModule, decorators: [{
|
|
1197
1199
|
type: NgModule,
|
|
1198
1200
|
args: [{
|
|
1199
1201
|
declarations: [DictionaryItemPipe],
|
|
@@ -1279,22 +1281,23 @@ class MosaDurationPipe {
|
|
|
1279
1281
|
}
|
|
1280
1282
|
return null;
|
|
1281
1283
|
}
|
|
1282
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1283
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDurationPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1285
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: MosaDurationPipe, isStandalone: false, name: "mosaDuration" }); }
|
|
1284
1286
|
}
|
|
1285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDurationPipe, decorators: [{
|
|
1286
1288
|
type: Pipe,
|
|
1287
1289
|
args: [{
|
|
1288
1290
|
name: 'mosaDuration',
|
|
1291
|
+
standalone: false,
|
|
1289
1292
|
}]
|
|
1290
1293
|
}], ctorParameters: () => [{ type: i1.TranslateService }] });
|
|
1291
1294
|
|
|
1292
1295
|
class MosaDurationPipeModule {
|
|
1293
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1294
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1295
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDurationPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1297
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: MosaDurationPipeModule, declarations: [MosaDurationPipe], imports: [CommonModule], exports: [MosaDurationPipe] }); }
|
|
1298
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDurationPipeModule, imports: [CommonModule] }); }
|
|
1296
1299
|
}
|
|
1297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaDurationPipeModule, decorators: [{
|
|
1298
1301
|
type: NgModule,
|
|
1299
1302
|
args: [{
|
|
1300
1303
|
declarations: [MosaDurationPipe],
|
|
@@ -1327,22 +1330,23 @@ class FindInArrayPipe {
|
|
|
1327
1330
|
// Return given values to the keys
|
|
1328
1331
|
return returnElements.map((val) => foundItem[val]);
|
|
1329
1332
|
}
|
|
1330
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1331
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1333
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: FindInArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1334
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: FindInArrayPipe, isStandalone: false, name: "findInArray" }); }
|
|
1332
1335
|
}
|
|
1333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: FindInArrayPipe, decorators: [{
|
|
1334
1337
|
type: Pipe,
|
|
1335
1338
|
args: [{
|
|
1336
1339
|
name: 'findInArray',
|
|
1340
|
+
standalone: false,
|
|
1337
1341
|
}]
|
|
1338
1342
|
}] });
|
|
1339
1343
|
|
|
1340
1344
|
class FindInArrayPipeModule {
|
|
1341
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1342
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1343
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: FindInArrayPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1346
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: FindInArrayPipeModule, declarations: [FindInArrayPipe], imports: [CommonModule], exports: [FindInArrayPipe] }); }
|
|
1347
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: FindInArrayPipeModule, imports: [CommonModule] }); }
|
|
1344
1348
|
}
|
|
1345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: FindInArrayPipeModule, decorators: [{
|
|
1346
1350
|
type: NgModule,
|
|
1347
1351
|
args: [{
|
|
1348
1352
|
declarations: [
|
|
@@ -1369,22 +1373,23 @@ class JoinPipe {
|
|
|
1369
1373
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1370
1374
|
return array.map((val) => returnField ? val[returnField] : val).join(separator);
|
|
1371
1375
|
}
|
|
1372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1373
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: JoinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1377
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: JoinPipe, isStandalone: false, name: "join" }); }
|
|
1374
1378
|
}
|
|
1375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: JoinPipe, decorators: [{
|
|
1376
1380
|
type: Pipe,
|
|
1377
1381
|
args: [{
|
|
1378
1382
|
name: 'join',
|
|
1383
|
+
standalone: false,
|
|
1379
1384
|
}]
|
|
1380
1385
|
}] });
|
|
1381
1386
|
|
|
1382
1387
|
class JoinPipeModule {
|
|
1383
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1384
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1385
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1388
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: JoinPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1389
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: JoinPipeModule, declarations: [JoinPipe], imports: [CommonModule], exports: [JoinPipe] }); }
|
|
1390
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: JoinPipeModule, imports: [CommonModule] }); }
|
|
1386
1391
|
}
|
|
1387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: JoinPipeModule, decorators: [{
|
|
1388
1393
|
type: NgModule,
|
|
1389
1394
|
args: [{
|
|
1390
1395
|
declarations: [
|
|
@@ -1410,16 +1415,22 @@ class MosaCoreModule {
|
|
|
1410
1415
|
return {
|
|
1411
1416
|
ngModule: MosaCoreModule,
|
|
1412
1417
|
providers: [
|
|
1413
|
-
|
|
1414
|
-
|
|
1418
|
+
provideAppInitializer(() => {
|
|
1419
|
+
const initializerFn = (initI18n)(inject(AssetsI18nLoaderService));
|
|
1420
|
+
return initializerFn();
|
|
1421
|
+
}),
|
|
1422
|
+
provideAppInitializer(() => {
|
|
1423
|
+
const initializerFn = (initI18nCore)(inject(AssetsI18nLoaderService));
|
|
1424
|
+
return initializerFn();
|
|
1425
|
+
}),
|
|
1415
1426
|
],
|
|
1416
1427
|
};
|
|
1417
1428
|
}
|
|
1418
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1419
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1420
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1429
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1430
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: MosaCoreModule, imports: [CommonModule] }); }
|
|
1431
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaCoreModule, imports: [CommonModule] }); }
|
|
1421
1432
|
}
|
|
1422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MosaCoreModule, decorators: [{
|
|
1423
1434
|
type: NgModule,
|
|
1424
1435
|
args: [{
|
|
1425
1436
|
declarations: [],
|