@rangertechnologies/ngnxt 2.1.214 → 2.1.215
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/esm2022/environments/version.mjs +2 -2
- package/esm2022/lib/components/datatable/datatable.component.mjs +24 -10
- package/esm2022/lib/nxt-app.module.mjs +22 -4
- package/esm2022/lib/services/translation.service.mjs +27 -10
- package/fesm2022/rangertechnologies-ngnxt.mjs +70 -23
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/datatable/datatable.component.d.ts +3 -2
- package/lib/components/image-cropper/component/image-cropper.component.d.ts +1 -1
- package/lib/nxt-app.module.d.ts +2 -0
- package/lib/services/translation.service.d.ts +5 -1
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.215.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.214.tgz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, Renderer2, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, ElementRef, Renderer2, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { MatSort } from '@angular/material/sort';
|
|
3
3
|
import { DataService } from '../../services/data.service';
|
|
4
4
|
import { ChangeService } from '../../services/change.service';
|
|
@@ -6,6 +6,7 @@ import { Subscription } from 'rxjs';
|
|
|
6
6
|
import { TranslationService } from '../../services/translation.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class NxtDatatable {
|
|
9
|
+
private cdRef;
|
|
9
10
|
private translationService;
|
|
10
11
|
private renderer;
|
|
11
12
|
private dataService;
|
|
@@ -143,7 +144,7 @@ export declare class NxtDatatable {
|
|
|
143
144
|
currentTranslatePath: any[];
|
|
144
145
|
currentDisplayedColumns: any[];
|
|
145
146
|
isFullTableSummaryRow: boolean;
|
|
146
|
-
constructor(translationService: TranslationService, renderer: Renderer2, dataService: DataService, changeService: ChangeService);
|
|
147
|
+
constructor(cdRef: ChangeDetectorRef, translationService: TranslationService, renderer: Renderer2, dataService: DataService, changeService: ChangeService);
|
|
147
148
|
ngOnChanges(changes: SimpleChanges): void;
|
|
148
149
|
ngOnInit(): void;
|
|
149
150
|
computeSummaryColumns(): void;
|
|
@@ -67,7 +67,7 @@ export declare class ImageCropperComponent implements OnChanges, OnInit, OnDestr
|
|
|
67
67
|
loadImageFailed: EventEmitter<void>;
|
|
68
68
|
transformChange: EventEmitter<ImageTransform>;
|
|
69
69
|
cropperChange: EventEmitter<CropperPosition>;
|
|
70
|
-
get alignImageStyle(): "
|
|
70
|
+
get alignImageStyle(): "left" | "center";
|
|
71
71
|
constructor(sanitizer: DomSanitizer, cd: ChangeDetectorRef, zone: NgZone);
|
|
72
72
|
ngOnInit(): void;
|
|
73
73
|
ngOnChanges(changes: SimpleChanges): void;
|
package/lib/nxt-app.module.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TranslationService } from './services/translation.service';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import * as i1 from "./nxt-app.component";
|
|
3
4
|
import * as i2 from "./i18n.component";
|
|
@@ -14,6 +15,7 @@ import * as i12 from "./components/button/nxt-button.component";
|
|
|
14
15
|
import * as i13 from "./pages/pdfDesigner/pdf-designer/pdf-designer.component";
|
|
15
16
|
import * as i14 from "./pages/builder/form/form.component";
|
|
16
17
|
import * as i15 from "./i18n.module";
|
|
18
|
+
export declare function initializeApp(translationService: TranslationService): () => Promise<void>;
|
|
17
19
|
export declare class NxtAppModule {
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtAppModule, never>;
|
|
19
21
|
static ɵmod: i0.ɵɵNgModuleDeclaration<NxtAppModule, [typeof i1.NxtAppComponent, typeof i2.I18nComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.NxtDatatable, typeof i6.NxtSearchBox, typeof i7.ListViewFilterComponent, typeof i8.NxtInput, typeof i9.QuestionnaireComponent, typeof i10.BookletComponent, typeof i11.QuestionbookComponent, typeof i12.NxtButtonComponent, typeof i13.PdfDesignerComponent, typeof i14.FormComponent, typeof i15.I18nModule], [typeof i1.NxtAppComponent, typeof i9.QuestionnaireComponent, typeof i10.BookletComponent, typeof i5.NxtDatatable, typeof i6.NxtSearchBox, typeof i7.ListViewFilterComponent, typeof i8.NxtInput, typeof i12.NxtButtonComponent, typeof i13.PdfDesignerComponent]>;
|
|
@@ -4,9 +4,13 @@ export declare class TranslationService {
|
|
|
4
4
|
private dataService;
|
|
5
5
|
private translations;
|
|
6
6
|
private currentLang;
|
|
7
|
+
private translationsLoaded;
|
|
8
|
+
translationsLoaded$: import("rxjs").Observable<void>;
|
|
7
9
|
constructor(dataService: DataService);
|
|
8
|
-
|
|
10
|
+
load(): Promise<void>;
|
|
11
|
+
setTranslations(translations: any): void;
|
|
9
12
|
getLanguage(): string;
|
|
13
|
+
setLanguage(lang: string): void;
|
|
10
14
|
translate(key: string): string | null;
|
|
11
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationService, never>;
|
|
12
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationService>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|