@bizy/core 20.10.0 → 20.10.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.
@@ -16194,6 +16194,9 @@ var LANGUAGE;
16194
16194
  })(LANGUAGE || (LANGUAGE = {}));
16195
16195
  class BizyTranslateService {
16196
16196
  #translate = inject(TranslateService);
16197
+ get language$() {
16198
+ return this.#translate.onLangChange;
16199
+ }
16197
16200
  loadTranslations(...args) {
16198
16201
  const locales = [...args];
16199
16202
  locales.forEach(locale => {
@@ -16237,12 +16240,13 @@ class BizyTranslatePipe {
16237
16240
  return this.translate.get(label);
16238
16241
  }
16239
16242
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: BizyTranslatePipe, deps: [{ token: BizyTranslateService }], target: i0.ɵɵFactoryTarget.Pipe });
16240
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.5", ngImport: i0, type: BizyTranslatePipe, isStandalone: true, name: "translate" });
16243
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.5", ngImport: i0, type: BizyTranslatePipe, isStandalone: true, name: "translate", pure: false });
16241
16244
  }
16242
16245
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: BizyTranslatePipe, decorators: [{
16243
16246
  type: Pipe,
16244
16247
  args: [{
16245
16248
  name: 'translate',
16249
+ pure: false
16246
16250
  }]
16247
16251
  }], ctorParameters: () => [{ type: BizyTranslateService, decorators: [{
16248
16252
  type: Inject,