@onecx/angular-accelerator 6.5.2 → 6.6.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.
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, ElementRef, Input, Directive, Renderer2, ViewContainerRef, TemplateRef, HostListener, EventEmitter, Output, Injectable, Injector, LOCALE_ID, Pipe, ContentChild, ViewEncapsulation, Component, ViewChild, ContentChildren, NgZone, ChangeDetectorRef, ViewChildren, QueryList, Type, NgModule, APP_INITIALIZER } from '@angular/core';
3
3
  import { UserService, AppStateService, ConfigurationService, CONFIG_KEY, ShellCapabilityService, Capability, AppConfigService } from '@onecx/angular-integration-interface';
4
- import { HAS_PERMISSION_CHECKER, SKIP_STYLE_SCOPING, getScopeIdentifier, dataStyleIdKey, dataNoPortalLayoutStylesKey, providePermissionChecker, provideTranslationPathFromMeta, provideTranslationConnectionService } from '@onecx/angular-utils';
4
+ import { HAS_PERMISSION_CHECKER, SKIP_STYLE_SCOPING, getScopeIdentifier, dataStyleIdKey, dataNoPortalLayoutStylesKey, MultiLanguageMissingTranslationHandler, providePermissionChecker, provideTranslationPathFromMeta, provideTranslationConnectionService } from '@onecx/angular-utils';
5
5
  import { HttpClient } from '@angular/common/http';
6
6
  import * as i3 from '@angular/forms';
7
7
  import { FormGroupDirective, FormControlName, FormsModule, ReactiveFormsModule } from '@angular/forms';
@@ -5937,6 +5937,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
5937
5937
  }]
5938
5938
  }] });
5939
5939
 
5940
+ /**
5941
+ * @deprecated Use DynamicLocaleId from @onecx/angular-utils instead
5942
+ */
5940
5943
  class DynamicLocaleId {
5941
5944
  constructor(userService) {
5942
5945
  this.userService = userService;
@@ -5958,11 +5961,7 @@ class DynamicLocaleId {
5958
5961
  }
5959
5962
  }
5960
5963
 
5961
- class AngularAcceleratorMissingTranslationHandler {
5962
- handle(params) {
5963
- console.log(`Missing translation for ${params.key}`, params);
5964
- return params.key;
5965
- }
5964
+ class AngularAcceleratorMissingTranslationHandler extends MultiLanguageMissingTranslationHandler {
5966
5965
  }
5967
5966
  function appInitializer(userService) {
5968
5967
  return async () => {