@yomotech/view-toolkit 0.0.88 → 0.0.90
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/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, ElementRef, ChangeDetectorRef, NgZone, SimpleChanges, OnInit, OnChanges, AfterViewInit, OnDestroy, Injector } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
|
-
import { Platform } from '@angular/cdk/platform';
|
|
5
4
|
import * as rxjs from 'rxjs';
|
|
5
|
+
import { Platform } from '@angular/cdk/platform';
|
|
6
6
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
7
7
|
import { OAuthService } from 'angular-oauth2-oidc';
|
|
8
8
|
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
9
9
|
import { ToastrService } from 'ngx-toastr';
|
|
10
10
|
import { OktaAuthStateService } from '@okta/okta-angular';
|
|
11
11
|
import { NgForm } from '@angular/forms';
|
|
12
|
-
import { DynamicDialogRef, DialogService } from 'primeng/dynamicdialog';
|
|
12
|
+
import { DynamicDialogRef, DynamicDialogConfig, DialogService } from 'primeng/dynamicdialog';
|
|
13
13
|
import { NzI18nService } from 'ng-zorro-antd/i18n';
|
|
14
14
|
|
|
15
15
|
declare class RequestService {
|
|
@@ -91,6 +91,9 @@ declare class UtilityService {
|
|
|
91
91
|
private isSameDay;
|
|
92
92
|
private toLocalISO;
|
|
93
93
|
getMediaSrc(file: any): string;
|
|
94
|
+
private updateProjectlanguage;
|
|
95
|
+
currentProjectlanguage$: rxjs.Observable<any>;
|
|
96
|
+
updateProjectUiLanguage(value: any): void;
|
|
94
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<UtilityService, never>;
|
|
95
98
|
static ɵprov: i0.ɵɵInjectableDeclaration<UtilityService>;
|
|
96
99
|
}
|
|
@@ -401,6 +404,8 @@ declare class LogsComponent {
|
|
|
401
404
|
declare class ModelComponent implements OnChanges {
|
|
402
405
|
private cdr;
|
|
403
406
|
private readonly dialogRef;
|
|
407
|
+
private readonly dialogConfig;
|
|
408
|
+
private utilityService;
|
|
404
409
|
matchData: any[];
|
|
405
410
|
date2: Date | undefined;
|
|
406
411
|
errorMessages: any;
|
|
@@ -410,11 +415,15 @@ declare class ModelComponent implements OnChanges {
|
|
|
410
415
|
setFormDataHandler?: () => void | Promise<void>;
|
|
411
416
|
copyLayoutSchema: any;
|
|
412
417
|
isLoading: boolean;
|
|
413
|
-
|
|
418
|
+
projectLanguage: any;
|
|
419
|
+
constructor(cdr: ChangeDetectorRef, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, utilityService: UtilityService);
|
|
414
420
|
ngAfterViewInit(): void;
|
|
415
421
|
ngOnChanges(changes: SimpleChanges): void;
|
|
416
422
|
private initializeDialogContent;
|
|
423
|
+
private updateDialogHeader;
|
|
417
424
|
updateLayoutLanguage<T>(schema: T, translations: Record<string, string>): T;
|
|
425
|
+
getLabel(formField: any): any;
|
|
426
|
+
getButtonCaption(formField: any): any;
|
|
418
427
|
mapDataToPropertySchema(data: any, modalItemInfo: any): void;
|
|
419
428
|
setAutoCompleteData(): Promise<void>;
|
|
420
429
|
fetchAutocompleteData(formField: any): Promise<any>;
|
|
@@ -434,8 +443,8 @@ declare class ModelComponent implements OnChanges {
|
|
|
434
443
|
buildCompany(userInfo: any): string;
|
|
435
444
|
resolveToken(template: string, context: any): string;
|
|
436
445
|
getScope(scope: any): string;
|
|
437
|
-
autocompChangeEvent(event: any): void;
|
|
438
|
-
autocompFocusOutEvent(event: any): void;
|
|
446
|
+
autocompChangeEvent(event: any, formField: any): void;
|
|
447
|
+
autocompFocusOutEvent(event: any, formField: any): void;
|
|
439
448
|
autocompSelectEvent(obj: any, formField?: any): void;
|
|
440
449
|
setErroMessage(formField: any, errorMessages: any, errorType: any): any;
|
|
441
450
|
getStyleWithoutClasses(styleObject: any): {
|
|
@@ -660,13 +669,19 @@ declare class ErrorMessage {
|
|
|
660
669
|
}
|
|
661
670
|
|
|
662
671
|
declare class Label {
|
|
672
|
+
private cdr;
|
|
673
|
+
private utilityService;
|
|
663
674
|
formField: any;
|
|
664
675
|
modalItemInfo: any;
|
|
676
|
+
selectedLanguageInfo: any;
|
|
677
|
+
constructor(cdr: ChangeDetectorRef, utilityService: UtilityService);
|
|
678
|
+
ngOnInit(): void;
|
|
665
679
|
getScope(scope: any): string;
|
|
666
680
|
getStyleWithoutClasses(styleObject: any): {
|
|
667
681
|
classes: any;
|
|
668
682
|
style: any;
|
|
669
683
|
};
|
|
684
|
+
getlabel(formField: any): any;
|
|
670
685
|
static ɵfac: i0.ɵɵFactoryDeclaration<Label, never>;
|
|
671
686
|
static ɵcmp: i0.ɵɵComponentDeclaration<Label, "vl-label", never, { "formField": { "alias": "formField"; "required": false; }; "modalItemInfo": { "alias": "modalItemInfo"; "required": false; }; }, {}, never, never, true, never>;
|
|
672
687
|
}
|
|
@@ -680,13 +695,19 @@ declare class String {
|
|
|
680
695
|
}
|
|
681
696
|
|
|
682
697
|
declare class Textbox {
|
|
698
|
+
private cdr;
|
|
699
|
+
private utilityService;
|
|
683
700
|
formField: any;
|
|
684
701
|
modalItemInfo: any;
|
|
702
|
+
selectedLanguageInfo: any;
|
|
703
|
+
constructor(cdr: ChangeDetectorRef, utilityService: UtilityService);
|
|
704
|
+
ngOnInit(): void;
|
|
685
705
|
getScope(scope: any): string;
|
|
686
706
|
getStyleWithoutClasses(styleObject: any): {
|
|
687
707
|
classes: any;
|
|
688
708
|
style: any;
|
|
689
709
|
};
|
|
710
|
+
getPlaceholder(formField: any): any;
|
|
690
711
|
static ɵfac: i0.ɵɵFactoryDeclaration<Textbox, never>;
|
|
691
712
|
static ɵcmp: i0.ɵɵComponentDeclaration<Textbox, "vl-textbox", never, { "formField": { "alias": "formField"; "required": false; }; "modalItemInfo": { "alias": "modalItemInfo"; "required": false; }; }, {}, never, never, true, never>;
|
|
692
713
|
}
|