@rangertechnologies/fusion-ui 0.1.9 → 0.1.11
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
|
@@ -224,6 +224,9 @@ export declare class GlobalValuesService {
|
|
|
224
224
|
refreshEmp$: Observable<any>;
|
|
225
225
|
private tablPageParams;
|
|
226
226
|
tablPageParamsValue$: Observable<any>;
|
|
227
|
+
private attendanceData;
|
|
228
|
+
attendanceDataChange$: Observable<any>;
|
|
229
|
+
attendancePass(message: any): void;
|
|
227
230
|
private cachedPayslipTemplate;
|
|
228
231
|
private payslipTemplateInFlight;
|
|
229
232
|
constructor(apiService: ApiService);
|
|
@@ -1649,8 +1652,10 @@ export declare class DataTableComponent implements OnInit {
|
|
|
1649
1652
|
"tableParamsChange": "tableParamsChange";
|
|
1650
1653
|
}, never, ["[table-toolbar-left]", "[table-toolbar-right]"], true, never>;
|
|
1651
1654
|
}
|
|
1652
|
-
export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
1655
|
+
export declare class AttendanceTableComponent implements OnInit, OnChanges, OnDestroy {
|
|
1653
1656
|
cdr: ChangeDetectorRef;
|
|
1657
|
+
private apiService;
|
|
1658
|
+
private globalValues;
|
|
1654
1659
|
data: any[];
|
|
1655
1660
|
displayedColumns: string[];
|
|
1656
1661
|
headerLabels: any[];
|
|
@@ -1666,7 +1671,9 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1666
1671
|
year: any;
|
|
1667
1672
|
month: any;
|
|
1668
1673
|
totalRecords: number;
|
|
1674
|
+
totalCount: number;
|
|
1669
1675
|
pageSize: number;
|
|
1676
|
+
pageSizeOptions: number[];
|
|
1670
1677
|
pageIndex: number;
|
|
1671
1678
|
isLoading: boolean;
|
|
1672
1679
|
title: string;
|
|
@@ -1694,6 +1701,9 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1694
1701
|
tableRowClick: EventEmitter<any>;
|
|
1695
1702
|
searchValueChange: EventEmitter<any>;
|
|
1696
1703
|
selectedValues: EventEmitter<any[]>;
|
|
1704
|
+
pageChange: EventEmitter<any>;
|
|
1705
|
+
pageDetails: EventEmitter<any>;
|
|
1706
|
+
searchFilterData: EventEmitter<any>;
|
|
1697
1707
|
searchText: EventEmitter<string>;
|
|
1698
1708
|
exportButton: EventEmitter<any>;
|
|
1699
1709
|
importButton: EventEmitter<any>;
|
|
@@ -1705,21 +1715,29 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1705
1715
|
sort: MatSort;
|
|
1706
1716
|
paginator: MatPaginator;
|
|
1707
1717
|
dataSource: MatTableDataSource<any, MatPaginator>;
|
|
1718
|
+
renderColumns: string;
|
|
1719
|
+
stickyCondition: number;
|
|
1720
|
+
itemsPerPage: any[];
|
|
1721
|
+
exportSidescreen: boolean;
|
|
1722
|
+
attendanceSubscription: Subscription;
|
|
1708
1723
|
selection: SelectionModel<any>;
|
|
1709
1724
|
selectedMonth: number;
|
|
1710
1725
|
selectedYear: number;
|
|
1711
1726
|
popupOpen: boolean;
|
|
1712
1727
|
confirmModal: boolean;
|
|
1713
1728
|
months: string[];
|
|
1729
|
+
button: any;
|
|
1714
1730
|
weekendColumnsSet: Set<string>;
|
|
1715
1731
|
futureColumnsSet: Set<string>;
|
|
1716
1732
|
todayColumn: string | null;
|
|
1717
1733
|
leaveTypeSet: Set<string>;
|
|
1718
|
-
constructor(cdr: ChangeDetectorRef);
|
|
1734
|
+
constructor(cdr: ChangeDetectorRef, apiService: ApiService, globalValues: GlobalValuesService);
|
|
1719
1735
|
ngOnInit(): void;
|
|
1720
1736
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1737
|
+
ngOnDestroy(): void;
|
|
1721
1738
|
private initMonthYear;
|
|
1722
|
-
private
|
|
1739
|
+
private ensureSummaryColumn;
|
|
1740
|
+
initOrUpdateDataSource(rows: any[]): void;
|
|
1723
1741
|
updateDateLookups(): void;
|
|
1724
1742
|
isWeekend(column: string): boolean;
|
|
1725
1743
|
isToday(column: string): boolean;
|
|
@@ -1727,10 +1745,18 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1727
1745
|
isColumnSticky(column: string): boolean;
|
|
1728
1746
|
getInitials(name: string): string;
|
|
1729
1747
|
triggerChangeDetection(): void;
|
|
1730
|
-
|
|
1748
|
+
hyperLinkClick(element: any, column: string, i: number): void;
|
|
1749
|
+
isNearTarget(workingDays: any, totalDays: any): boolean;
|
|
1750
|
+
isLeaveType(status: any): boolean;
|
|
1751
|
+
containsOnlyNumbers(value: any): boolean;
|
|
1731
1752
|
private resolveAttendanceValue;
|
|
1732
1753
|
getAttendanceChipClass(val: any): string;
|
|
1733
1754
|
getAttendanceChipSymbol(val: any): string;
|
|
1755
|
+
hasAttendanceChip(val: any, column: string): boolean;
|
|
1756
|
+
isWeekOffState(val: any, column: string): boolean;
|
|
1757
|
+
getDateRangeText(): string;
|
|
1758
|
+
onPageChange(event: any): void;
|
|
1759
|
+
pageParams(event: any): void;
|
|
1734
1760
|
prevMonth(): void;
|
|
1735
1761
|
nextMonth(): void;
|
|
1736
1762
|
togglePopup(): void;
|
|
@@ -1738,12 +1764,20 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1738
1764
|
changeYear(step: number): void;
|
|
1739
1765
|
emitSelection(): void;
|
|
1740
1766
|
checkButtonClicked(): void;
|
|
1741
|
-
|
|
1742
|
-
|
|
1767
|
+
tableClick(row: any): void;
|
|
1768
|
+
doubleClickFunction(element: any, column: string, presentData: any): void;
|
|
1743
1769
|
applyFilter(event: Event): void;
|
|
1744
|
-
masterToggle(): void;
|
|
1745
1770
|
isAllSelected(): boolean;
|
|
1746
|
-
|
|
1771
|
+
masterToggle(): void;
|
|
1772
|
+
separateRowSelect(toggled: any, row: any): void;
|
|
1773
|
+
importButtonEmit(): void;
|
|
1774
|
+
exportButtonEmit(): void;
|
|
1775
|
+
commonButtonClick(button: any): void;
|
|
1776
|
+
exportButtonSideNav(): void;
|
|
1777
|
+
exportFieldsButtonEmit(evt: any): void;
|
|
1778
|
+
exportFilterButtonEmit(evt: any): void;
|
|
1779
|
+
selectedValuesEmit(evt: any): void;
|
|
1780
|
+
filterDateEmit(evt: any): void;
|
|
1747
1781
|
getMonthNumber(month: any): number;
|
|
1748
1782
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttendanceTableComponent, never>;
|
|
1749
1783
|
static ɵcmp: i0.ɵɵComponentDeclaration<AttendanceTableComponent, "app-attendance-table, app-data-table-two", never, {
|
|
@@ -1807,10 +1841,18 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1807
1841
|
"alias": "totalRecords";
|
|
1808
1842
|
"required": false;
|
|
1809
1843
|
};
|
|
1844
|
+
"totalCount": {
|
|
1845
|
+
"alias": "totalCount";
|
|
1846
|
+
"required": false;
|
|
1847
|
+
};
|
|
1810
1848
|
"pageSize": {
|
|
1811
1849
|
"alias": "pageSize";
|
|
1812
1850
|
"required": false;
|
|
1813
1851
|
};
|
|
1852
|
+
"pageSizeOptions": {
|
|
1853
|
+
"alias": "pageSizeOptions";
|
|
1854
|
+
"required": false;
|
|
1855
|
+
};
|
|
1814
1856
|
"pageIndex": {
|
|
1815
1857
|
"alias": "pageIndex";
|
|
1816
1858
|
"required": false;
|
|
@@ -1877,6 +1919,9 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1877
1919
|
"tableRowClick": "tableRowClick";
|
|
1878
1920
|
"searchValueChange": "searchValueChange";
|
|
1879
1921
|
"selectedValues": "selectedValues";
|
|
1922
|
+
"pageChange": "pageChange";
|
|
1923
|
+
"pageDetails": "pageDetails";
|
|
1924
|
+
"searchFilterData": "searchFilterData";
|
|
1880
1925
|
"searchText": "searchText";
|
|
1881
1926
|
"exportButton": "exportButton";
|
|
1882
1927
|
"importButton": "importButton";
|