@gloww/gloww 20.0.0-beta.21 → 20.0.0-beta.23

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.
package/index.d.ts CHANGED
@@ -24,7 +24,6 @@ import * as i14 from '@angular/material/sort';
24
24
  import { MatSort, Sort } from '@angular/material/sort';
25
25
  import * as i11 from '@angular/material/table';
26
26
  import { MatColumnDef, MatTable, MatTableDataSource } from '@angular/material/table';
27
- import * as i22 from '@ngx-translate/core';
28
27
  import { TranslateService, TranslateDefaultParser } from '@ngx-translate/core';
29
28
  import * as i16 from '@ctrl/ngx-codemirror';
30
29
  import { CodemirrorComponent } from '@ctrl/ngx-codemirror';
@@ -271,11 +270,22 @@ declare class AuthenticationService {
271
270
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationService>;
272
271
  }
273
272
 
273
+ declare class GlowwI18nService {
274
+ private readonly translate;
275
+ constructor(translate: TranslateService | null);
276
+ get langChanges$(): Observable<unknown>;
277
+ instant(key: string, fallback: string): string;
278
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlowwI18nService, [{ optional: true; }]>;
279
+ static ɵprov: i0.ɵɵInjectableDeclaration<GlowwI18nService>;
280
+ }
281
+
274
282
  declare class FilterFormComponent implements OnInit {
283
+ private readonly i18n;
275
284
  filter: EventEmitter<any>;
276
- constructor();
285
+ constructor(i18n: GlowwI18nService);
277
286
  ngOnInit(): void;
278
287
  onFilter(): void;
288
+ get filterLabel(): string;
279
289
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterFormComponent, never>;
280
290
  static ɵcmp: i0.ɵɵComponentDeclaration<FilterFormComponent, "glw-filter-form", never, {}, { "filter": "filter"; }, never, ["*"], true, never>;
281
291
  }
@@ -294,7 +304,7 @@ declare class DisplayObjectsComponent<TObj> implements OnInit, AfterContentInit,
294
304
  private authenticationService;
295
305
  private formBuilder;
296
306
  private route;
297
- private translate;
307
+ private i18n;
298
308
  header: HeaderComponent;
299
309
  searchFormLayout: SearchFormComponent;
300
310
  filterFormLayout: FilterFormComponent;
@@ -335,7 +345,7 @@ declare class DisplayObjectsComponent<TObj> implements OnInit, AfterContentInit,
335
345
  data: object;
336
346
  routeParams: object;
337
347
  glowwService: GlowwService;
338
- constructor(glowwService: GlowwService, changeDetectorRef: ChangeDetectorRef, dialog: MatDialog, router: Router, location: Location, authenticationService: AuthenticationService, formBuilder: UntypedFormBuilder, route: ActivatedRoute, translate: TranslateService);
348
+ constructor(glowwService: GlowwService, changeDetectorRef: ChangeDetectorRef, dialog: MatDialog, router: Router, location: Location, authenticationService: AuthenticationService, formBuilder: UntypedFormBuilder, route: ActivatedRoute, i18n: GlowwI18nService);
339
349
  ngOnChanges(changes: SimpleChanges): void;
340
350
  InitRequest(): void;
341
351
  sortData(sort: Sort): void;
@@ -345,6 +355,7 @@ declare class DisplayObjectsComponent<TObj> implements OnInit, AfterContentInit,
345
355
  private navSubscription;
346
356
  ngOnInit(): void;
347
357
  ngOnDestroy(): void;
358
+ t(key: string, fallback: string): string;
348
359
  Init(data?: Data): void;
349
360
  currentFilter: (data: TObj, filter: string) => boolean;
350
361
  SetFilterPredicate(): void;
@@ -416,6 +427,7 @@ interface NavItem {
416
427
  declare class MenuListItemComponent implements OnInit, AfterViewInit {
417
428
  navService: NavService;
418
429
  router: Router;
430
+ private readonly i18n;
419
431
  private _expanded;
420
432
  get expanded(): boolean;
421
433
  set expanded(value: boolean);
@@ -425,12 +437,13 @@ declare class MenuListItemComponent implements OnInit, AfterViewInit {
425
437
  glowwService: GlowwService;
426
438
  _disabled: Promise<boolean>;
427
439
  _hidden: Promise<boolean>;
428
- constructor(glowwService: GlowwService, navService: NavService, router: Router);
440
+ constructor(glowwService: GlowwService, navService: NavService, router: Router, i18n: GlowwI18nService);
429
441
  ngAfterViewInit(): void;
430
442
  ngOnInit(): void;
431
443
  onItemSelected(item: NavItem): void;
432
444
  isActive(item: NavItem): boolean;
433
445
  routerLink(item: NavItem): string;
446
+ displayName(item: NavItem): string;
434
447
  falsePromise: Promise<boolean>;
435
448
  getDisabledPromise(): any;
436
449
  getHiddenPromise(): any;
@@ -1014,7 +1027,7 @@ declare function provideGloww(folderServiceConfig?: FolderServiceConfig): Enviro
1014
1027
  declare class GlowwModule {
1015
1028
  static forRoot(folderServiceConfig?: FolderServiceConfig): ModuleWithProviders<GlowwModule>;
1016
1029
  static ɵfac: i0.ɵɵFactoryDeclaration<GlowwModule, never>;
1017
- static ɵmod: i0.ɵɵNgModuleDeclaration<GlowwModule, never, [typeof i1.CommonModule, typeof i10.RouterModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof _angular_material_dialog.MatDialogModule, typeof i6.MatInputModule, typeof i6$1.MatIconModule, typeof i4.MatButtonModule, typeof i8.MatCardModule, typeof i9.MatProgressSpinnerModule, typeof i10$1.MatProgressBarModule, typeof i11.MatTableModule, typeof i12.MatSelectModule, typeof i13.MatPaginatorModule, typeof i14.MatSortModule, typeof i9.MatProgressSpinnerModule, typeof i15.MatAutocompleteModule, typeof i16.CodemirrorModule, typeof i17.AngularEditorModule, typeof i18.MatDatepickerModule, typeof i19.NgxMatDatetimePickerModule, typeof i19.NgxMatTimepickerComponent, typeof i19.NgxMatNativeDateModule, typeof i20.DragDropModule, typeof i21.AngularResizeEventModule, typeof i22.TranslateModule, typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent], [typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent, typeof i18.MatDatepickerModule, typeof i19.NgxMatDatetimePickerModule, typeof i19.NgxMatTimepickerComponent, typeof i19.NgxMatNativeDateModule]>;
1030
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GlowwModule, never, [typeof i1.CommonModule, typeof i10.RouterModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof _angular_material_dialog.MatDialogModule, typeof i6.MatInputModule, typeof i6$1.MatIconModule, typeof i4.MatButtonModule, typeof i8.MatCardModule, typeof i9.MatProgressSpinnerModule, typeof i10$1.MatProgressBarModule, typeof i11.MatTableModule, typeof i12.MatSelectModule, typeof i13.MatPaginatorModule, typeof i14.MatSortModule, typeof i9.MatProgressSpinnerModule, typeof i15.MatAutocompleteModule, typeof i16.CodemirrorModule, typeof i17.AngularEditorModule, typeof i18.MatDatepickerModule, typeof i19.NgxMatDatetimePickerModule, typeof i19.NgxMatTimepickerComponent, typeof i19.NgxMatNativeDateModule, typeof i20.DragDropModule, typeof i21.AngularResizeEventModule, typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent], [typeof UploadDocComponent, typeof SafeHtmlPipe, typeof DisplayObjectsComponent, typeof HeaderComponent, typeof ResultTableComponent, typeof SearchFormComponent, typeof ConfirmationComponent, typeof PromptComponent, typeof SecurePipe, typeof SecureImgComponent, typeof MenuListItemComponent, typeof CodeEditorComponent, typeof HtmlEditorComponent, typeof HtmlFormatPipe, typeof UploadFileComponent, typeof FileSinkDirective, typeof FileEditComponent, typeof FoldersComponent, typeof DownloadProgressComponent, typeof SecureAComponent, typeof DummyComponent, typeof SelectComponent, typeof AutoCompleteComponent, typeof DatetimeComponent, typeof RouteDirective, typeof CallbackDirective, typeof FilterFormComponent, typeof i18.MatDatepickerModule, typeof i19.NgxMatDatetimePickerModule, typeof i19.NgxMatTimepickerComponent, typeof i19.NgxMatNativeDateModule]>;
1018
1031
  static ɵinj: i0.ɵɵInjectorDeclaration<GlowwModule>;
1019
1032
  }
1020
1033
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gloww/gloww",
3
- "version": "20.0.0-beta.21",
3
+ "version": "20.0.0-beta.23",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^20.0.0",
6
6
  "@angular/cdk": "^20.0.0",