@jsverse/transloco 7.5.0 → 7.5.1
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/CHANGELOG.md +8 -1
- package/esm2022/lib/helpers.mjs +34 -6
- package/esm2022/lib/loader-component.component.mjs +3 -3
- package/esm2022/lib/transloco-fallback-strategy.mjs +3 -3
- package/esm2022/lib/transloco-missing-handler.mjs +3 -3
- package/esm2022/lib/transloco-testing.module.mjs +7 -7
- package/esm2022/lib/transloco.directive.mjs +3 -3
- package/esm2022/lib/transloco.interceptor.mjs +3 -3
- package/esm2022/lib/transloco.module.mjs +4 -4
- package/esm2022/lib/transloco.pipe.mjs +3 -3
- package/esm2022/lib/transloco.service.mjs +3 -3
- package/esm2022/lib/transloco.transpiler.mjs +8 -8
- package/fesm2022/jsverse-transloco.mjs +72 -44
- package/fesm2022/jsverse-transloco.mjs.map +1 -1
- package/lib/helpers.d.ts +2 -2
- package/package.json +1 -2
- package/schematics/src/component/index.js +1 -1
- package/schematics/src/component/index.js.map +1 -1
- package/schematics/src/join/index.js +1 -1
- package/schematics/src/join/index.js.map +1 -1
- package/schematics/src/keys-manager/index.js +3 -4
- package/schematics/src/keys-manager/index.js.map +1 -1
- package/schematics/src/migrate/index.js +1 -1
- package/schematics/src/migrate/index.js.map +1 -1
- package/schematics/src/migrate/ngx-translate-migration.js +2 -2
- package/schematics/src/migrate/ngx-translate-migration.js.map +1 -1
- package/schematics/src/ng-add/generators/http-loader.gen.js +1 -2
- package/schematics/src/ng-add/generators/http-loader.gen.js.map +1 -1
- package/schematics/src/ng-add/generators/root-module.gen.js +1 -2
- package/schematics/src/ng-add/generators/root-module.gen.js.map +1 -1
- package/schematics/src/ng-add/generators/translation-files.gen.js +3 -4
- package/schematics/src/ng-add/generators/translation-files.gen.js.map +1 -1
- package/schematics/src/ng-add/index.js +1 -1
- package/schematics/src/ng-add/index.js.map +1 -1
- package/schematics/src/ng-migrate/index.js +1 -1
- package/schematics/src/ng-migrate/index.js.map +1 -1
- package/schematics/src/ng-migrate/ng-migrate.js +1 -2
- package/schematics/src/ng-migrate/ng-migrate.js.map +1 -1
- package/schematics/src/schematics.utils.js +2 -2
- package/schematics/src/schematics.utils.js.map +1 -1
- package/schematics/src/scope/index.js +1 -1
- package/schematics/src/scope/index.js.map +1 -1
- package/schematics/src/split/index.js +1 -1
- package/schematics/src/split/index.js.map +1 -1
- package/schematics/src/upgrade/index.js +1 -1
- package/schematics/src/upgrade/index.js.map +1 -1
- package/schematics/src/upgrade/v2.js +1 -2
- package/schematics/src/upgrade/v2.js.map +1 -1
- package/schematics/src/utils/array.js +2 -3
- package/schematics/src/utils/array.js.map +1 -1
- package/schematics/src/utils/config.js +1 -2
- package/schematics/src/utils/config.js.map +1 -1
- package/schematics/src/utils/find-module.js +4 -4
- package/schematics/src/utils/find-module.js.map +1 -1
- package/schematics/src/utils/package.js +1 -2
- package/schematics/src/utils/package.js.map +1 -1
- package/schematics/src/utils/projects.js +6 -7
- package/schematics/src/utils/projects.js.map +1 -1
- package/schematics/src/utils/translations.js +2 -3
- package/schematics/src/utils/translations.js.map +1 -1
- package/schematics/src/utils/transloco.js +11 -12
- package/schematics/src/utils/transloco.js.map +1 -1
|
@@ -2,7 +2,6 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { InjectionToken, inject, Injectable, Injector, Inject, Optional, Component, Input, TemplateRef, DestroyRef, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, Directive, Pipe, NgModule, makeEnvironmentProviders, APP_INITIALIZER } from '@angular/core';
|
|
3
3
|
import { of, take, from, map, Subject, BehaviorSubject, forkJoin, retry, tap, catchError, shareReplay, switchMap, combineLatest, EMPTY } from 'rxjs';
|
|
4
4
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
5
|
-
import { unflatten as unflatten$1, flatten as flatten$1 } from 'flat';
|
|
6
5
|
|
|
7
6
|
class DefaultLoader {
|
|
8
7
|
translations;
|
|
@@ -108,11 +107,40 @@ function isScopeObject(item) {
|
|
|
108
107
|
function hasInlineLoader(item) {
|
|
109
108
|
return item && isObject(item.loader);
|
|
110
109
|
}
|
|
111
|
-
function unflatten(obj) {
|
|
112
|
-
return unflatten$1(obj);
|
|
113
|
-
}
|
|
114
110
|
function flatten(obj) {
|
|
115
|
-
|
|
111
|
+
const result = {};
|
|
112
|
+
function recurse(curr, prop) {
|
|
113
|
+
if (curr === null) {
|
|
114
|
+
result[prop] = null;
|
|
115
|
+
}
|
|
116
|
+
else if (isObject(curr)) {
|
|
117
|
+
for (const [key, value] of Object.entries(curr)) {
|
|
118
|
+
recurse(value, prop ? `${prop}.${key}` : key);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
result[prop] = curr;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
recurse(obj, '');
|
|
126
|
+
return result;
|
|
127
|
+
}
|
|
128
|
+
function unflatten(obj) {
|
|
129
|
+
const result = {};
|
|
130
|
+
for (const [key, value] of Object.entries(obj)) {
|
|
131
|
+
const keys = key.split('.');
|
|
132
|
+
let current = result;
|
|
133
|
+
keys.forEach((key, i) => {
|
|
134
|
+
if (i === keys.length - 1) {
|
|
135
|
+
current[key] = value;
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
current[key] ??= {};
|
|
139
|
+
current = current[key];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
return result;
|
|
116
144
|
}
|
|
117
145
|
|
|
118
146
|
const TRANSLOCO_CONFIG = new InjectionToken('TRANSLOCO_CONFIG', {
|
|
@@ -191,7 +219,7 @@ class DefaultTranspiler {
|
|
|
191
219
|
else if (params) {
|
|
192
220
|
if (isObject(value)) {
|
|
193
221
|
value = this.handleObject({
|
|
194
|
-
value
|
|
222
|
+
value,
|
|
195
223
|
params,
|
|
196
224
|
translation,
|
|
197
225
|
key,
|
|
@@ -250,10 +278,10 @@ class DefaultTranspiler {
|
|
|
250
278
|
...rest,
|
|
251
279
|
}));
|
|
252
280
|
}
|
|
253
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
254
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
281
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultTranspiler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
282
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultTranspiler });
|
|
255
283
|
}
|
|
256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultTranspiler, decorators: [{
|
|
257
285
|
type: Injectable
|
|
258
286
|
}] });
|
|
259
287
|
function resolveMatcher(config) {
|
|
@@ -295,10 +323,10 @@ class FunctionalTranspiler extends DefaultTranspiler {
|
|
|
295
323
|
}
|
|
296
324
|
return super.transpile({ value: transpiled, ...rest });
|
|
297
325
|
}
|
|
298
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
299
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
326
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: FunctionalTranspiler, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
327
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: FunctionalTranspiler });
|
|
300
328
|
}
|
|
301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: FunctionalTranspiler, decorators: [{
|
|
302
330
|
type: Injectable
|
|
303
331
|
}] });
|
|
304
332
|
|
|
@@ -311,10 +339,10 @@ class DefaultMissingHandler {
|
|
|
311
339
|
}
|
|
312
340
|
return key;
|
|
313
341
|
}
|
|
314
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
315
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
342
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultMissingHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
343
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultMissingHandler });
|
|
316
344
|
}
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultMissingHandler, decorators: [{
|
|
318
346
|
type: Injectable
|
|
319
347
|
}] });
|
|
320
348
|
|
|
@@ -326,10 +354,10 @@ class DefaultInterceptor {
|
|
|
326
354
|
preSaveTranslationKey(_, value) {
|
|
327
355
|
return value;
|
|
328
356
|
}
|
|
329
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
330
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
357
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
358
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultInterceptor });
|
|
331
359
|
}
|
|
332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultInterceptor, decorators: [{
|
|
333
361
|
type: Injectable
|
|
334
362
|
}] });
|
|
335
363
|
|
|
@@ -346,10 +374,10 @@ class DefaultFallbackStrategy {
|
|
|
346
374
|
}
|
|
347
375
|
return Array.isArray(fallbackLang) ? fallbackLang : [fallbackLang];
|
|
348
376
|
}
|
|
349
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
350
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
377
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultFallbackStrategy, deps: [{ token: TRANSLOCO_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
378
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultFallbackStrategy });
|
|
351
379
|
}
|
|
352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: DefaultFallbackStrategy, decorators: [{
|
|
353
381
|
type: Injectable
|
|
354
382
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
355
383
|
type: Inject,
|
|
@@ -985,10 +1013,10 @@ class TranslocoService {
|
|
|
985
1013
|
getEntries(key) {
|
|
986
1014
|
return key instanceof Map ? key.entries() : Object.entries(key);
|
|
987
1015
|
}
|
|
988
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
989
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1016
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoService, deps: [{ token: TRANSLOCO_LOADER, optional: true }, { token: TRANSLOCO_TRANSPILER }, { token: TRANSLOCO_MISSING_HANDLER }, { token: TRANSLOCO_INTERCEPTOR }, { token: TRANSLOCO_CONFIG }, { token: TRANSLOCO_FALLBACK_STRATEGY }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1017
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoService, providedIn: 'root' });
|
|
990
1018
|
}
|
|
991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoService, decorators: [{
|
|
992
1020
|
type: Injectable,
|
|
993
1021
|
args: [{ providedIn: 'root' }]
|
|
994
1022
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1015,12 +1043,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
|
1015
1043
|
|
|
1016
1044
|
class TranslocoLoaderComponent {
|
|
1017
1045
|
html;
|
|
1018
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1019
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
1046
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1047
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: TranslocoLoaderComponent, isStandalone: true, selector: "ng-component", inputs: { html: "html" }, ngImport: i0, template: `
|
|
1020
1048
|
<div class="transloco-loader-template" [innerHTML]="html"></div>
|
|
1021
1049
|
`, isInline: true });
|
|
1022
1050
|
}
|
|
1023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoLoaderComponent, decorators: [{
|
|
1024
1052
|
type: Component,
|
|
1025
1053
|
args: [{
|
|
1026
1054
|
template: `
|
|
@@ -1264,10 +1292,10 @@ class TranslocoDirective {
|
|
|
1264
1292
|
const inlineLoader = resolveInlineLoader(providerScope, resolvedScope);
|
|
1265
1293
|
return this.service._loadDependencies(this.path, inlineLoader);
|
|
1266
1294
|
}
|
|
1267
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1268
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
1295
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1296
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.9", type: TranslocoDirective, isStandalone: true, selector: "[transloco]", inputs: { key: ["transloco", "key"], params: ["translocoParams", "params"], inlineScope: ["translocoScope", "inlineScope"], inlineRead: ["translocoRead", "inlineRead"], prefix: ["translocoPrefix", "prefix"], inlineLang: ["translocoLang", "inlineLang"], inlineTpl: ["translocoLoadingTpl", "inlineTpl"] }, usesOnChanges: true, ngImport: i0 });
|
|
1269
1297
|
}
|
|
1270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoDirective, decorators: [{
|
|
1271
1299
|
type: Directive,
|
|
1272
1300
|
args: [{
|
|
1273
1301
|
selector: '[transloco]',
|
|
@@ -1361,10 +1389,10 @@ class TranslocoPipe {
|
|
|
1361
1389
|
const inlineLoader = resolveInlineLoader(providerScope, resolvedScope);
|
|
1362
1390
|
return this.service._loadDependencies(this.path, inlineLoader);
|
|
1363
1391
|
}
|
|
1364
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1365
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.
|
|
1392
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoPipe, deps: [{ token: TranslocoService }, { token: TRANSLOCO_SCOPE, optional: true }, { token: TRANSLOCO_LANG, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1393
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: TranslocoPipe, isStandalone: true, name: "transloco", pure: false });
|
|
1366
1394
|
}
|
|
1367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoPipe, decorators: [{
|
|
1368
1396
|
type: Pipe,
|
|
1369
1397
|
args: [{
|
|
1370
1398
|
name: 'transloco',
|
|
@@ -1385,11 +1413,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.4", ngImpor
|
|
|
1385
1413
|
|
|
1386
1414
|
const decl = [TranslocoDirective, TranslocoPipe];
|
|
1387
1415
|
class TranslocoModule {
|
|
1388
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1389
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
1390
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
1416
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1417
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: TranslocoModule, imports: [TranslocoDirective, TranslocoPipe], exports: [TranslocoDirective, TranslocoPipe] });
|
|
1418
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoModule });
|
|
1391
1419
|
}
|
|
1392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoModule, decorators: [{
|
|
1393
1421
|
type: NgModule,
|
|
1394
1422
|
args: [{
|
|
1395
1423
|
imports: decl,
|
|
@@ -1489,10 +1517,10 @@ class TestingLoader {
|
|
|
1489
1517
|
getTranslation(lang) {
|
|
1490
1518
|
return of(this.langs[lang]);
|
|
1491
1519
|
}
|
|
1492
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1493
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1520
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TestingLoader, deps: [{ token: TRANSLOCO_TEST_LANGS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1521
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TestingLoader });
|
|
1494
1522
|
}
|
|
1495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TestingLoader, decorators: [{
|
|
1496
1524
|
type: Injectable
|
|
1497
1525
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1498
1526
|
type: Inject,
|
|
@@ -1538,11 +1566,11 @@ class TranslocoTestingModule {
|
|
|
1538
1566
|
],
|
|
1539
1567
|
};
|
|
1540
1568
|
}
|
|
1541
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1542
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
1543
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
1569
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1570
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: TranslocoTestingModule, exports: [TranslocoModule] });
|
|
1571
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoTestingModule, imports: [TranslocoModule] });
|
|
1544
1572
|
}
|
|
1545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: TranslocoTestingModule, decorators: [{
|
|
1546
1574
|
type: NgModule,
|
|
1547
1575
|
args: [{
|
|
1548
1576
|
exports: [TranslocoModule],
|