@fundamental-ngx/i18n 0.58.0-rc.68 → 0.58.0-rc.69

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.
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, inject, LOCALE_ID, SkipSelf, isDevMode, Injectable, isSignal, signal, computed, effect, DestroyRef, Input, Inject, Self, Directive, Pipe, NgModule } from '@angular/core';
3
3
  import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
- import { get, merge, cloneDeep } from 'lodash-es';
4
+ import { get, merge } from '@fundamental-ngx/cdk/utils';
5
5
  import * as i1 from 'rxjs';
6
6
  import { BehaviorSubject, isObservable, of, combineLatest, Subject, skip, filter, distinctUntilChanged, switchMap } from 'rxjs';
7
7
  import { map, takeUntil } from 'rxjs/operators';
@@ -22776,7 +22776,7 @@ class FdPatchLanguageDirective {
22776
22776
  /** @hidden */
22777
22777
  this._destroyRef = inject(DestroyRef);
22778
22778
  combineLatest([parentFdLanguage$, this._languagePatch$])
22779
- .pipe(map(([parentLang, languagePatch]) => merge(cloneDeep(parentLang), patchedObj(parentLang, languagePatch || {}))), takeUntilDestroyed(this._destroyRef))
22779
+ .pipe(map(([parentLang, languagePatch]) => merge(structuredClone(parentLang), patchedObj(parentLang, languagePatch || {}))), takeUntilDestroyed(this._destroyRef))
22780
22780
  .subscribe((translation) => fdLanguageSubject$.next(translation));
22781
22781
  }
22782
22782
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: FdPatchLanguageDirective, deps: [{ token: FD_LANGUAGE, skipSelf: true }, { token: FD_LANGUAGE, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }