@onecx/angular-accelerator 6.1.0 → 6.2.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.
@@ -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, TRANSLATION_PATH, provideTranslationConnectionService } from '@onecx/angular-utils';
4
+ import { HAS_PERMISSION_CHECKER, SKIP_STYLE_SCOPING, getScopeIdentifier, dataStyleIdKey, dataNoPortalLayoutStylesKey, 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';
@@ -6056,16 +6056,8 @@ class AngularAcceleratorModule {
6056
6056
  deps: [UserService],
6057
6057
  multi: true,
6058
6058
  },
6059
- {
6060
- provide: TRANSLATION_PATH,
6061
- useValue: './onecx-angular-accelerator/assets/i18n/',
6062
- multi: true,
6063
- },
6064
- {
6065
- provide: TRANSLATION_PATH,
6066
- useValue: './onecx-angular-accelerator/assets/i18n/primeng/',
6067
- multi: true,
6068
- },
6059
+ provideTranslationPathFromMeta(import.meta.url, 'onecx-angular-accelerator/assets/i18n/'),
6060
+ provideTranslationPathFromMeta(import.meta.url, 'onecx-angular-accelerator/assets/i18n/primeng/'),
6069
6061
  {
6070
6062
  provide: MessageService,
6071
6063
  useClass: MessageService,
@@ -6141,16 +6133,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
6141
6133
  deps: [UserService],
6142
6134
  multi: true,
6143
6135
  },
6144
- {
6145
- provide: TRANSLATION_PATH,
6146
- useValue: './onecx-angular-accelerator/assets/i18n/',
6147
- multi: true,
6148
- },
6149
- {
6150
- provide: TRANSLATION_PATH,
6151
- useValue: './onecx-angular-accelerator/assets/i18n/primeng/',
6152
- multi: true,
6153
- },
6136
+ provideTranslationPathFromMeta(import.meta.url, 'onecx-angular-accelerator/assets/i18n/'),
6137
+ provideTranslationPathFromMeta(import.meta.url, 'onecx-angular-accelerator/assets/i18n/primeng/'),
6154
6138
  {
6155
6139
  provide: MessageService,
6156
6140
  useClass: MessageService,