@rangertechnologies/fusion-ui 0.1.16 → 0.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rangertechnologies/fusion-ui",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"author": "Mohamed Riyaz Y",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "Shared component library for Fusion platform and micro-frontends",
|
|
@@ -16,11 +16,10 @@
|
|
|
16
16
|
"rxjs": "^7.8.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@angular/google-maps": "
|
|
20
|
-
"@angular/router": "
|
|
19
|
+
"@angular/google-maps": "22.2.5",
|
|
20
|
+
"@angular/router": "22.2.5",
|
|
21
21
|
"@ng-bootstrap/ng-bootstrap": "^20.0.0",
|
|
22
22
|
"@popperjs/core": "^2.11.8",
|
|
23
|
-
"@rangertechnologies/ngnxt": "^2.2.4",
|
|
24
23
|
"bootstrap": "^5.3.8",
|
|
25
24
|
"file-saver": "^2.0.5",
|
|
26
25
|
"lodash": "^4.18.1",
|
|
@@ -6,11 +6,11 @@ import { Overlay, ScrollStrategy } from "@angular/cdk/overlay";
|
|
|
6
6
|
import { Modal } from "bootstrap";
|
|
7
7
|
import { FormBuilder, FormControl, FormGroup } from "@angular/forms";
|
|
8
8
|
import { DatePipe } from "@angular/common";
|
|
9
|
-
import { TranslateService } from "@ngx-translate/core";
|
|
10
|
-
import { Router } from "@angular/router";
|
|
11
9
|
import { MatTableDataSource } from "@angular/material/table";
|
|
12
10
|
import { MatSort } from "@angular/material/sort";
|
|
13
11
|
import { MatPaginator, MatPaginatorIntl } from "@angular/material/paginator";
|
|
12
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
13
|
+
import { Router } from "@angular/router";
|
|
14
14
|
import { SelectionModel } from "@angular/cdk/collections";
|
|
15
15
|
import { DomSanitizer, SafeResourceUrl } from "@angular/platform-browser";
|
|
16
16
|
export declare class FusionButtonComponent implements OnInit {
|
|
@@ -622,7 +622,7 @@ export declare class ModalComponent implements OnInit {
|
|
|
622
622
|
"cancelButtonEmit": "cancelButtonEmit";
|
|
623
623
|
}, never, [".modal-body"], true, never>;
|
|
624
624
|
}
|
|
625
|
-
export declare class FileUploadComponent implements OnInit {
|
|
625
|
+
export declare class FileUploadComponent implements OnInit, OnChanges {
|
|
626
626
|
fileSelected: EventEmitter<any>;
|
|
627
627
|
fileDeleted: EventEmitter<any>;
|
|
628
628
|
closeEmit: EventEmitter<any>;
|
|
@@ -644,8 +644,17 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
644
644
|
bodyRadioConfig: any;
|
|
645
645
|
templateContent: any;
|
|
646
646
|
allowedFileTypes: string[];
|
|
647
|
+
isDragOver: boolean;
|
|
648
|
+
validationErrors: string[];
|
|
647
649
|
constructor();
|
|
648
650
|
ngOnInit(): void;
|
|
651
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
652
|
+
private syncAllowedFileTypes;
|
|
653
|
+
onDragOver(event: DragEvent): void;
|
|
654
|
+
onDragLeave(event: DragEvent): void;
|
|
655
|
+
onDrop(event: DragEvent): void;
|
|
656
|
+
onNativeFileInputChange(event: Event): void;
|
|
657
|
+
private processNativeFiles;
|
|
649
658
|
deleteFile(removedFile: any): void;
|
|
650
659
|
onFileSelected(event: any): void;
|
|
651
660
|
uploadFile(): void;
|
|
@@ -943,22 +952,6 @@ export declare class ApprovalScreenComponent {
|
|
|
943
952
|
"approve": "approve";
|
|
944
953
|
}, never, never, true, never>;
|
|
945
954
|
}
|
|
946
|
-
export declare class LoaderService {
|
|
947
|
-
private loadingStates;
|
|
948
|
-
private loadingSubject;
|
|
949
|
-
loading: import("rxjs").Observable<{
|
|
950
|
-
[componentId: string]: string[];
|
|
951
|
-
}>;
|
|
952
|
-
nxtLoaderId: any;
|
|
953
|
-
private emitState;
|
|
954
|
-
show(componentId: string, requestId: string): void;
|
|
955
|
-
hide(componentId: string, requestId: string): void;
|
|
956
|
-
nxtLoader(id: any): void;
|
|
957
|
-
getNxtLoader(): any;
|
|
958
|
-
isLoading(componentId: string): boolean;
|
|
959
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
|
|
960
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
961
|
-
}
|
|
962
955
|
export declare class AlertService {
|
|
963
956
|
private translate;
|
|
964
957
|
private static instance;
|
|
@@ -988,105 +981,22 @@ export declare class ErrorHandlerService {
|
|
|
988
981
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandlerService, never>;
|
|
989
982
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
990
983
|
}
|
|
991
|
-
export declare class
|
|
992
|
-
private
|
|
993
|
-
private
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
984
|
+
export declare class LoaderService {
|
|
985
|
+
private loadingStates;
|
|
986
|
+
private loadingSubject;
|
|
987
|
+
loading: import("rxjs").Observable<{
|
|
988
|
+
[componentId: string]: string[];
|
|
989
|
+
}>;
|
|
990
|
+
nxtLoaderId: any;
|
|
991
|
+
private emitState;
|
|
992
|
+
show(componentId: string, requestId: string): void;
|
|
993
|
+
hide(componentId: string, requestId: string): void;
|
|
994
|
+
nxtLoader(id: any): void;
|
|
995
|
+
getNxtLoader(): any;
|
|
996
|
+
isLoading(componentId: string): boolean;
|
|
997
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
|
|
1001
998
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
1002
999
|
}
|
|
1003
|
-
export declare class FormsComponent {
|
|
1004
|
-
private loaderService;
|
|
1005
|
-
private translate;
|
|
1006
|
-
private globalValues;
|
|
1007
|
-
private apiService;
|
|
1008
|
-
private datePipe;
|
|
1009
|
-
private alertService;
|
|
1010
|
-
private errorHandler;
|
|
1011
|
-
private globalValueService;
|
|
1012
|
-
private configService;
|
|
1013
|
-
private tabDataService;
|
|
1014
|
-
private cdr;
|
|
1015
|
-
formJson: any;
|
|
1016
|
-
tabs: Array<any>;
|
|
1017
|
-
eachTypeOfTab: string;
|
|
1018
|
-
settingsData: any;
|
|
1019
|
-
components: Array<any>;
|
|
1020
|
-
direction: any;
|
|
1021
|
-
languageCode: any;
|
|
1022
|
-
isLoading: any;
|
|
1023
|
-
listViews: any;
|
|
1024
|
-
multipleFilter: Array<any>;
|
|
1025
|
-
tableFilterData: any;
|
|
1026
|
-
selectedQuarterData: string;
|
|
1027
|
-
selectedFYData: string;
|
|
1028
|
-
fyList: Array<any>;
|
|
1029
|
-
dataPatchProperties: any;
|
|
1030
|
-
bookletId: any;
|
|
1031
|
-
apiUrl: string;
|
|
1032
|
-
defaultFormJson: any;
|
|
1033
|
-
modalProperties: any;
|
|
1034
|
-
tableData: any;
|
|
1035
|
-
nxtCompID: string;
|
|
1036
|
-
nxtTabName: string;
|
|
1037
|
-
nxtLoader: any;
|
|
1038
|
-
nxtJSON: any;
|
|
1039
|
-
bookValue: any;
|
|
1040
|
-
challans: Array<any>;
|
|
1041
|
-
tab: any;
|
|
1042
|
-
constructor(loaderService: LoaderService, translate: TranslateService, globalValues: GlobalValuesService, apiService: ApiService, datePipe: DatePipe, alertService: AlertService, errorHandler: ErrorHandlerService, globalValueService: GlobalValuesService, configService: ConfigService, tabDataService: TabDataService, cdr: ChangeDetectorRef);
|
|
1043
|
-
ngOnInit(): Promise<void>;
|
|
1044
|
-
currentTabNav(tab: any): Promise<void>;
|
|
1045
|
-
getData(apiCall: any, endPoint: any, event: any, parentData?: any | undefined, params?: any | undefined, compId?: any, tableData?: any): Promise<void>;
|
|
1046
|
-
openModal: boolean;
|
|
1047
|
-
commonButtonClickEmit(event: any, index?: any, allEvent?: any): Promise<void>;
|
|
1048
|
-
selectedDropdownValue(event: any, from?: string): Promise<void>;
|
|
1049
|
-
checkedDeductees: Array<any>;
|
|
1050
|
-
tableCheckedDataa(event: any): void;
|
|
1051
|
-
tablePageDetails(comp: any, event: any): void;
|
|
1052
|
-
hyperLinkColumnEmit(comp: any, event: any): void;
|
|
1053
|
-
saveButtonData(event: any): void;
|
|
1054
|
-
onDeleteRecord(event: any, comp: any): void;
|
|
1055
|
-
tableParamsEmit(tab: any, event: any, comp: any): void;
|
|
1056
|
-
actionButtonEmit(evt: any, compId?: string): void;
|
|
1057
|
-
nxtTableFilterEmit(event: any, comp: any): void;
|
|
1058
|
-
nxtFormHandler(event: any): Promise<void>;
|
|
1059
|
-
assignByPath(obj: any, path: string, value: any): void;
|
|
1060
|
-
saveSuccess(event: any, key?: any, defaultMessage?: any): void;
|
|
1061
|
-
nxtButtonHandler(event: any): void;
|
|
1062
|
-
handleCalendarDate(event: any): void;
|
|
1063
|
-
handleCalendarEventDate(event: any): void;
|
|
1064
|
-
onClickEdit(card: any): void;
|
|
1065
|
-
multiCheckEmit(event: any): void;
|
|
1066
|
-
currentSubTabNav(event: any): void;
|
|
1067
|
-
onSideNav(event: any): void;
|
|
1068
|
-
emitAttachmentClick(event: any): void;
|
|
1069
|
-
modalClose(event: any): void;
|
|
1070
|
-
getFormData(fyYear: string, quarter: string): Promise<void>;
|
|
1071
|
-
submitButtonLoader: boolean;
|
|
1072
|
-
submitClick(from: string): Promise<void>;
|
|
1073
|
-
getStateCodes(stateText: string): {
|
|
1074
|
-
state: string[];
|
|
1075
|
-
code: string;
|
|
1076
|
-
tin: number;
|
|
1077
|
-
} | {
|
|
1078
|
-
state: undefined;
|
|
1079
|
-
code: string;
|
|
1080
|
-
tin: undefined;
|
|
1081
|
-
};
|
|
1082
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormsComponent, never>;
|
|
1083
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormsComponent, "app-forms", never, {
|
|
1084
|
-
"tab": {
|
|
1085
|
-
"alias": "tab";
|
|
1086
|
-
"required": false;
|
|
1087
|
-
};
|
|
1088
|
-
}, {}, never, never, true, never>;
|
|
1089
|
-
}
|
|
1090
1000
|
export declare class ScrollService {
|
|
1091
1001
|
private scrollPositionSubject;
|
|
1092
1002
|
scrollPosition$: import("rxjs").Observable<number>;
|
|
@@ -2289,6 +2199,18 @@ export declare class TotalColumSumPipe implements PipeTransform {
|
|
|
2289
2199
|
static ɵfac: i0.ɵɵFactoryDeclaration<TotalColumSumPipe, never>;
|
|
2290
2200
|
static ɵpipe: i0.ɵɵPipeDeclaration<TotalColumSumPipe, "totalColumSum", true>;
|
|
2291
2201
|
}
|
|
2202
|
+
export declare class TabDataService {
|
|
2203
|
+
private cache;
|
|
2204
|
+
private nxtBooks;
|
|
2205
|
+
constructor();
|
|
2206
|
+
getCachedData(tabName: string, componentId: string): any;
|
|
2207
|
+
setCachedData(tabName: string, data: any, componentId: string): void;
|
|
2208
|
+
getNxtBook(endpoint: string): any;
|
|
2209
|
+
setNxtBook(endpoint: string, book: any): void;
|
|
2210
|
+
clearCache(): void;
|
|
2211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabDataService, never>;
|
|
2212
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
2213
|
+
}
|
|
2292
2214
|
export declare class PdfFontService {
|
|
2293
2215
|
private fontLoadedPromise;
|
|
2294
2216
|
/**
|