@fundamental-ngx/i18n 0.63.2-rc.4 → 0.63.2-rc.6
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.
|
@@ -27095,10 +27095,10 @@ class TranslationResolver {
|
|
|
27095
27095
|
});
|
|
27096
27096
|
return rawString;
|
|
27097
27097
|
}
|
|
27098
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27099
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
27098
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslationResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
27099
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslationResolver, providedIn: 'root' }); }
|
|
27100
27100
|
}
|
|
27101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TranslationResolver, decorators: [{
|
|
27102
27102
|
type: Injectable,
|
|
27103
27103
|
args: [{
|
|
27104
27104
|
providedIn: 'root'
|
|
@@ -27339,7 +27339,8 @@ function resolveTranslationSync(...args) {
|
|
|
27339
27339
|
class FdPatchLanguageDirective {
|
|
27340
27340
|
constructor() {
|
|
27341
27341
|
/** Part of the language object to be overridden */
|
|
27342
|
-
this.fdPatchLanguage = input.required(
|
|
27342
|
+
this.fdPatchLanguage = input.required(/* @ts-ignore */
|
|
27343
|
+
...(ngDevMode ? [{ debugName: "fdPatchLanguage" }] : /* istanbul ignore next */ []));
|
|
27343
27344
|
/** @hidden Computed signal that merges parent language + patch */
|
|
27344
27345
|
this._patchedLanguageSignal = computed(() => {
|
|
27345
27346
|
const parentLang = this._parentLangSignal?.() || FD_LANGUAGE_ENGLISH;
|
|
@@ -27350,12 +27351,13 @@ class FdPatchLanguageDirective {
|
|
|
27350
27351
|
const patchObj = patchedObj(parentLang, patch);
|
|
27351
27352
|
// Merge and return
|
|
27352
27353
|
return merge(clonedParent, patchObj);
|
|
27353
|
-
},
|
|
27354
|
+
}, /* @ts-ignore */
|
|
27355
|
+
...(ngDevMode ? [{ debugName: "_patchedLanguageSignal" }] : /* istanbul ignore next */ []));
|
|
27354
27356
|
/** @hidden Parent language signal (skip self to get parent's) */
|
|
27355
27357
|
this._parentLangSignal = inject(FD_LANGUAGE_SIGNAL, { skipSelf: true, optional: true });
|
|
27356
27358
|
}
|
|
27357
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27358
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
27359
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FdPatchLanguageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27360
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: FdPatchLanguageDirective, isStandalone: true, selector: "[fdPatchLanguage]", inputs: { fdPatchLanguage: { classPropertyName: "fdPatchLanguage", publicName: "fdPatchLanguage", isSignal: true, isRequired: true, transformFunction: null } }, providers: [
|
|
27359
27361
|
{
|
|
27360
27362
|
provide: FD_LANGUAGE_SIGNAL,
|
|
27361
27363
|
useFactory: () => {
|
|
@@ -27365,7 +27367,7 @@ class FdPatchLanguageDirective {
|
|
|
27365
27367
|
}
|
|
27366
27368
|
], ngImport: i0 }); }
|
|
27367
27369
|
}
|
|
27368
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FdPatchLanguageDirective, decorators: [{
|
|
27369
27371
|
type: Directive,
|
|
27370
27372
|
args: [{
|
|
27371
27373
|
selector: '[fdPatchLanguage]',
|
|
@@ -27431,10 +27433,10 @@ class FdTranslatePipe {
|
|
|
27431
27433
|
return this._resolver.resolve(lang, key, capturedArgs) || defaultValue;
|
|
27432
27434
|
});
|
|
27433
27435
|
}
|
|
27434
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27435
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
27436
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FdTranslatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
27437
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: FdTranslatePipe, isStandalone: true, name: "fdTranslate" }); }
|
|
27436
27438
|
}
|
|
27437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FdTranslatePipe, decorators: [{
|
|
27438
27440
|
type: Pipe,
|
|
27439
27441
|
args: [{
|
|
27440
27442
|
name: 'fdTranslate',
|
|
@@ -27448,11 +27450,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
27448
27450
|
* Use direct imports of components and directives.
|
|
27449
27451
|
*/
|
|
27450
27452
|
class I18nModule {
|
|
27451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27452
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
27453
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
27453
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: I18nModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
27454
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: I18nModule, imports: [FdTranslatePipe, FdPatchLanguageDirective], exports: [FdTranslatePipe, FdPatchLanguageDirective] }); }
|
|
27455
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: I18nModule }); }
|
|
27454
27456
|
}
|
|
27455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: I18nModule, decorators: [{
|
|
27456
27458
|
type: NgModule,
|
|
27457
27459
|
args: [{
|
|
27458
27460
|
imports: [FdTranslatePipe, FdPatchLanguageDirective],
|