@rangertechnologies/fusion-ui 0.1.8 → 0.1.10
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
|
@@ -11,6 +11,7 @@ import { Router } from "@angular/router";
|
|
|
11
11
|
import { MatTableDataSource } from "@angular/material/table";
|
|
12
12
|
import { MatSort } from "@angular/material/sort";
|
|
13
13
|
import { MatPaginator, MatPaginatorIntl } from "@angular/material/paginator";
|
|
14
|
+
import { SelectionModel } from "@angular/cdk/collections";
|
|
14
15
|
import { DomSanitizer, SafeResourceUrl } from "@angular/platform-browser";
|
|
15
16
|
export declare class FusionButtonComponent implements OnInit {
|
|
16
17
|
private elementRef;
|
|
@@ -1164,18 +1165,11 @@ export declare class DataTableComponent implements OnInit {
|
|
|
1164
1165
|
dropdownLists: any;
|
|
1165
1166
|
dateDropdown: boolean;
|
|
1166
1167
|
from: any;
|
|
1167
|
-
isSandwichLeave: boolean;
|
|
1168
|
-
isCheckButton: boolean;
|
|
1169
|
-
monthArray: any;
|
|
1170
|
-
yearArray: any;
|
|
1171
|
-
year: any;
|
|
1172
|
-
month: any;
|
|
1173
1168
|
button: any;
|
|
1174
1169
|
exportDisable: boolean;
|
|
1175
1170
|
defaultWorkingHours: number;
|
|
1176
1171
|
set saveLOP(val: boolean);
|
|
1177
1172
|
get saveLOP(): boolean;
|
|
1178
|
-
isAttendanceTable: boolean;
|
|
1179
1173
|
isLoading: boolean;
|
|
1180
1174
|
dateEmit: EventEmitter<any>;
|
|
1181
1175
|
selectedValues: EventEmitter<any[]>;
|
|
@@ -1221,11 +1215,6 @@ export declare class DataTableComponent implements OnInit {
|
|
|
1221
1215
|
}>;
|
|
1222
1216
|
searchText: EventEmitter<string>;
|
|
1223
1217
|
dropdownDataEmit: EventEmitter<any>;
|
|
1224
|
-
checkClicked: EventEmitter<any>;
|
|
1225
|
-
yearDataEmit: EventEmitter<any>;
|
|
1226
|
-
selectedValueEmit: EventEmitter<any>;
|
|
1227
|
-
monthDataEmit: EventEmitter<any>;
|
|
1228
|
-
doubleClickEmit: EventEmitter<any>;
|
|
1229
1218
|
hyperLinkClickEmit: EventEmitter<any>;
|
|
1230
1219
|
tableParamsChange: EventEmitter<any>;
|
|
1231
1220
|
paginator: MatPaginator;
|
|
@@ -1340,33 +1329,8 @@ export declare class DataTableComponent implements OnInit {
|
|
|
1340
1329
|
isObjectColumn(column: string): boolean;
|
|
1341
1330
|
onSideNavInfoClick(data: any, col: any, config: any): void;
|
|
1342
1331
|
onColumnClick(column: string): void;
|
|
1343
|
-
selectedMonth: number;
|
|
1344
|
-
selectedYear: number;
|
|
1345
|
-
popupOpen: boolean;
|
|
1346
|
-
confirmModal: boolean;
|
|
1347
|
-
months: string[];
|
|
1348
|
-
weekendColumnsSet: Set<string>;
|
|
1349
|
-
futureColumnsSet: Set<string>;
|
|
1350
|
-
todayColumn: string | null;
|
|
1351
|
-
leaveTypeSet: Set<string>;
|
|
1352
|
-
updateDateLookups(): void;
|
|
1353
|
-
isWeekend(column: string): boolean;
|
|
1354
|
-
isToday(column: string): boolean;
|
|
1355
|
-
isFutureDate(column: string): boolean;
|
|
1356
|
-
getInitials(name: string): string;
|
|
1357
|
-
isNearTarget(workingDays: any, totalDays: any): boolean;
|
|
1358
|
-
isLeaveType(status: any): boolean;
|
|
1359
|
-
prevMonth(): void;
|
|
1360
|
-
nextMonth(): void;
|
|
1361
|
-
togglePopup(): void;
|
|
1362
|
-
selectMonth(monthIndex: number): void;
|
|
1363
|
-
changeYear(step: number): void;
|
|
1364
|
-
emitSelection(): void;
|
|
1365
|
-
checkButtonClicked(): void;
|
|
1366
|
-
doubleClickFunction(element: any, data: any, presentData: any): void;
|
|
1367
|
-
getMonthNumber(month: any): number;
|
|
1368
1332
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
1369
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "app-data-table
|
|
1333
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "app-data-table", never, {
|
|
1370
1334
|
"data": {
|
|
1371
1335
|
"alias": "data";
|
|
1372
1336
|
"required": false;
|
|
@@ -1615,30 +1579,6 @@ export declare class DataTableComponent implements OnInit {
|
|
|
1615
1579
|
"alias": "from";
|
|
1616
1580
|
"required": false;
|
|
1617
1581
|
};
|
|
1618
|
-
"isSandwichLeave": {
|
|
1619
|
-
"alias": "isSandwichLeave";
|
|
1620
|
-
"required": false;
|
|
1621
|
-
};
|
|
1622
|
-
"isCheckButton": {
|
|
1623
|
-
"alias": "isCheckButton";
|
|
1624
|
-
"required": false;
|
|
1625
|
-
};
|
|
1626
|
-
"monthArray": {
|
|
1627
|
-
"alias": "monthArray";
|
|
1628
|
-
"required": false;
|
|
1629
|
-
};
|
|
1630
|
-
"yearArray": {
|
|
1631
|
-
"alias": "yearArray";
|
|
1632
|
-
"required": false;
|
|
1633
|
-
};
|
|
1634
|
-
"year": {
|
|
1635
|
-
"alias": "year";
|
|
1636
|
-
"required": false;
|
|
1637
|
-
};
|
|
1638
|
-
"month": {
|
|
1639
|
-
"alias": "month";
|
|
1640
|
-
"required": false;
|
|
1641
|
-
};
|
|
1642
1582
|
"button": {
|
|
1643
1583
|
"alias": "button";
|
|
1644
1584
|
"required": false;
|
|
@@ -1655,10 +1595,6 @@ export declare class DataTableComponent implements OnInit {
|
|
|
1655
1595
|
"alias": "saveLOP";
|
|
1656
1596
|
"required": false;
|
|
1657
1597
|
};
|
|
1658
|
-
"isAttendanceTable": {
|
|
1659
|
-
"alias": "isAttendanceTable";
|
|
1660
|
-
"required": false;
|
|
1661
|
-
};
|
|
1662
1598
|
"isLoading": {
|
|
1663
1599
|
"alias": "isLoading";
|
|
1664
1600
|
"required": false;
|
|
@@ -1709,14 +1645,263 @@ export declare class DataTableComponent implements OnInit {
|
|
|
1709
1645
|
"sideNavEmit": "sideNavEmit";
|
|
1710
1646
|
"searchText": "searchText";
|
|
1711
1647
|
"dropdownDataEmit": "dropdownDataEmit";
|
|
1648
|
+
"hyperLinkClickEmit": "hyperLinkClickEmit";
|
|
1649
|
+
"tableParamsChange": "tableParamsChange";
|
|
1650
|
+
}, never, ["[table-toolbar-left]", "[table-toolbar-right]"], true, never>;
|
|
1651
|
+
}
|
|
1652
|
+
export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
1653
|
+
cdr: ChangeDetectorRef;
|
|
1654
|
+
data: any[];
|
|
1655
|
+
displayedColumns: string[];
|
|
1656
|
+
headerLabels: any[];
|
|
1657
|
+
tableWidth: string;
|
|
1658
|
+
tableId: string;
|
|
1659
|
+
withCheckBox: boolean;
|
|
1660
|
+
searchBar: boolean;
|
|
1661
|
+
searchTextValue: string;
|
|
1662
|
+
isSandwichLeave: boolean;
|
|
1663
|
+
isCheckButton: boolean;
|
|
1664
|
+
monthArray: string[];
|
|
1665
|
+
yearArray: any[];
|
|
1666
|
+
year: any;
|
|
1667
|
+
month: any;
|
|
1668
|
+
totalRecords: number;
|
|
1669
|
+
totalCount: number;
|
|
1670
|
+
pageSize: number;
|
|
1671
|
+
pageSizeOptions: number[];
|
|
1672
|
+
pageIndex: number;
|
|
1673
|
+
isLoading: boolean;
|
|
1674
|
+
title: string;
|
|
1675
|
+
titleOn: boolean;
|
|
1676
|
+
buttonLoadingSpinner: boolean;
|
|
1677
|
+
exportButtonLoadingSpinner: boolean;
|
|
1678
|
+
isEditRow: boolean;
|
|
1679
|
+
defaultWorkingHours: number;
|
|
1680
|
+
hyperLinkColumns: Array<any>;
|
|
1681
|
+
filterScreenConfigs: Array<any>;
|
|
1682
|
+
exportFieldsListConfigs: any;
|
|
1683
|
+
exportFilterListConfigs: any;
|
|
1684
|
+
private _stickyColumn;
|
|
1685
|
+
private _stickyColumns;
|
|
1686
|
+
set stickyColumn(val: boolean | Array<any>);
|
|
1687
|
+
get stickyColumn(): boolean | Array<any>;
|
|
1688
|
+
set stickyColumns(val: any);
|
|
1689
|
+
get stickyColumns(): Array<any>;
|
|
1690
|
+
checkClicked: EventEmitter<any>;
|
|
1691
|
+
monthDataEmit: EventEmitter<any>;
|
|
1692
|
+
yearDataEmit: EventEmitter<any>;
|
|
1693
|
+
selectedValueEmit: EventEmitter<any>;
|
|
1694
|
+
doubleClickEmit: EventEmitter<any>;
|
|
1695
|
+
rowClick: EventEmitter<any>;
|
|
1696
|
+
tableRowClick: EventEmitter<any>;
|
|
1697
|
+
searchValueChange: EventEmitter<any>;
|
|
1698
|
+
selectedValues: EventEmitter<any[]>;
|
|
1699
|
+
pageChange: EventEmitter<any>;
|
|
1700
|
+
searchText: EventEmitter<string>;
|
|
1701
|
+
exportButton: EventEmitter<any>;
|
|
1702
|
+
importButton: EventEmitter<any>;
|
|
1703
|
+
hyperLinkClickEmit: EventEmitter<any>;
|
|
1704
|
+
sideNavButtons: EventEmitter<any>;
|
|
1705
|
+
exportReports: EventEmitter<any>;
|
|
1706
|
+
multipleSelectFilterExport: EventEmitter<any>;
|
|
1707
|
+
filterDateEmitEvt: EventEmitter<any>;
|
|
1708
|
+
sort: MatSort;
|
|
1709
|
+
paginator: MatPaginator;
|
|
1710
|
+
dataSource: MatTableDataSource<any, MatPaginator>;
|
|
1711
|
+
selection: SelectionModel<any>;
|
|
1712
|
+
selectedMonth: number;
|
|
1713
|
+
selectedYear: number;
|
|
1714
|
+
popupOpen: boolean;
|
|
1715
|
+
confirmModal: boolean;
|
|
1716
|
+
months: string[];
|
|
1717
|
+
weekendColumnsSet: Set<string>;
|
|
1718
|
+
futureColumnsSet: Set<string>;
|
|
1719
|
+
todayColumn: string | null;
|
|
1720
|
+
leaveTypeSet: Set<string>;
|
|
1721
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1722
|
+
ngOnInit(): void;
|
|
1723
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1724
|
+
private initMonthYear;
|
|
1725
|
+
private updateDataSource;
|
|
1726
|
+
updateDateLookups(): void;
|
|
1727
|
+
isWeekend(column: string): boolean;
|
|
1728
|
+
isToday(column: string): boolean;
|
|
1729
|
+
isFutureDate(column: string): boolean;
|
|
1730
|
+
isColumnSticky(column: string): boolean;
|
|
1731
|
+
getInitials(name: string): string;
|
|
1732
|
+
triggerChangeDetection(): void;
|
|
1733
|
+
onHyperLinkClick(element: any, column: string): void;
|
|
1734
|
+
private resolveAttendanceValue;
|
|
1735
|
+
getAttendanceChipClass(val: any): string;
|
|
1736
|
+
getAttendanceChipSymbol(val: any): string;
|
|
1737
|
+
hasAttendanceChip(val: any, column: string): boolean;
|
|
1738
|
+
isWeekOffState(val: any, column: string): boolean;
|
|
1739
|
+
getDateRangeText(): string;
|
|
1740
|
+
onPageChange(event: any): void;
|
|
1741
|
+
prevMonth(): void;
|
|
1742
|
+
nextMonth(): void;
|
|
1743
|
+
togglePopup(): void;
|
|
1744
|
+
selectMonth(monthIndex: number): void;
|
|
1745
|
+
changeYear(step: number): void;
|
|
1746
|
+
emitSelection(): void;
|
|
1747
|
+
checkButtonClicked(): void;
|
|
1748
|
+
onCellClick(element: any, column: string): void;
|
|
1749
|
+
onCellDoubleClick(element: any, column: string): void;
|
|
1750
|
+
applyFilter(event: Event): void;
|
|
1751
|
+
masterToggle(): void;
|
|
1752
|
+
isAllSelected(): boolean;
|
|
1753
|
+
rowToggle(row: any): void;
|
|
1754
|
+
getMonthNumber(month: any): number;
|
|
1755
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AttendanceTableComponent, never>;
|
|
1756
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttendanceTableComponent, "app-attendance-table, app-data-table-two", never, {
|
|
1757
|
+
"data": {
|
|
1758
|
+
"alias": "data";
|
|
1759
|
+
"required": false;
|
|
1760
|
+
};
|
|
1761
|
+
"displayedColumns": {
|
|
1762
|
+
"alias": "displayedColumns";
|
|
1763
|
+
"required": false;
|
|
1764
|
+
};
|
|
1765
|
+
"headerLabels": {
|
|
1766
|
+
"alias": "headerLabels";
|
|
1767
|
+
"required": false;
|
|
1768
|
+
};
|
|
1769
|
+
"tableWidth": {
|
|
1770
|
+
"alias": "tableWidth";
|
|
1771
|
+
"required": false;
|
|
1772
|
+
};
|
|
1773
|
+
"tableId": {
|
|
1774
|
+
"alias": "tableId";
|
|
1775
|
+
"required": false;
|
|
1776
|
+
};
|
|
1777
|
+
"withCheckBox": {
|
|
1778
|
+
"alias": "withCheckBox";
|
|
1779
|
+
"required": false;
|
|
1780
|
+
};
|
|
1781
|
+
"searchBar": {
|
|
1782
|
+
"alias": "searchBar";
|
|
1783
|
+
"required": false;
|
|
1784
|
+
};
|
|
1785
|
+
"searchTextValue": {
|
|
1786
|
+
"alias": "searchTextValue";
|
|
1787
|
+
"required": false;
|
|
1788
|
+
};
|
|
1789
|
+
"isSandwichLeave": {
|
|
1790
|
+
"alias": "isSandwichLeave";
|
|
1791
|
+
"required": false;
|
|
1792
|
+
};
|
|
1793
|
+
"isCheckButton": {
|
|
1794
|
+
"alias": "isCheckButton";
|
|
1795
|
+
"required": false;
|
|
1796
|
+
};
|
|
1797
|
+
"monthArray": {
|
|
1798
|
+
"alias": "monthArray";
|
|
1799
|
+
"required": false;
|
|
1800
|
+
};
|
|
1801
|
+
"yearArray": {
|
|
1802
|
+
"alias": "yearArray";
|
|
1803
|
+
"required": false;
|
|
1804
|
+
};
|
|
1805
|
+
"year": {
|
|
1806
|
+
"alias": "year";
|
|
1807
|
+
"required": false;
|
|
1808
|
+
};
|
|
1809
|
+
"month": {
|
|
1810
|
+
"alias": "month";
|
|
1811
|
+
"required": false;
|
|
1812
|
+
};
|
|
1813
|
+
"totalRecords": {
|
|
1814
|
+
"alias": "totalRecords";
|
|
1815
|
+
"required": false;
|
|
1816
|
+
};
|
|
1817
|
+
"totalCount": {
|
|
1818
|
+
"alias": "totalCount";
|
|
1819
|
+
"required": false;
|
|
1820
|
+
};
|
|
1821
|
+
"pageSize": {
|
|
1822
|
+
"alias": "pageSize";
|
|
1823
|
+
"required": false;
|
|
1824
|
+
};
|
|
1825
|
+
"pageSizeOptions": {
|
|
1826
|
+
"alias": "pageSizeOptions";
|
|
1827
|
+
"required": false;
|
|
1828
|
+
};
|
|
1829
|
+
"pageIndex": {
|
|
1830
|
+
"alias": "pageIndex";
|
|
1831
|
+
"required": false;
|
|
1832
|
+
};
|
|
1833
|
+
"isLoading": {
|
|
1834
|
+
"alias": "isLoading";
|
|
1835
|
+
"required": false;
|
|
1836
|
+
};
|
|
1837
|
+
"title": {
|
|
1838
|
+
"alias": "title";
|
|
1839
|
+
"required": false;
|
|
1840
|
+
};
|
|
1841
|
+
"titleOn": {
|
|
1842
|
+
"alias": "titleOn";
|
|
1843
|
+
"required": false;
|
|
1844
|
+
};
|
|
1845
|
+
"buttonLoadingSpinner": {
|
|
1846
|
+
"alias": "buttonLoadingSpinner";
|
|
1847
|
+
"required": false;
|
|
1848
|
+
};
|
|
1849
|
+
"exportButtonLoadingSpinner": {
|
|
1850
|
+
"alias": "exportButtonLoadingSpinner";
|
|
1851
|
+
"required": false;
|
|
1852
|
+
};
|
|
1853
|
+
"isEditRow": {
|
|
1854
|
+
"alias": "isEditRow";
|
|
1855
|
+
"required": false;
|
|
1856
|
+
};
|
|
1857
|
+
"defaultWorkingHours": {
|
|
1858
|
+
"alias": "defaultWorkingHours";
|
|
1859
|
+
"required": false;
|
|
1860
|
+
};
|
|
1861
|
+
"hyperLinkColumns": {
|
|
1862
|
+
"alias": "hyperLinkColumns";
|
|
1863
|
+
"required": false;
|
|
1864
|
+
};
|
|
1865
|
+
"filterScreenConfigs": {
|
|
1866
|
+
"alias": "filterScreenConfigs";
|
|
1867
|
+
"required": false;
|
|
1868
|
+
};
|
|
1869
|
+
"exportFieldsListConfigs": {
|
|
1870
|
+
"alias": "exportFieldsListConfigs";
|
|
1871
|
+
"required": false;
|
|
1872
|
+
};
|
|
1873
|
+
"exportFilterListConfigs": {
|
|
1874
|
+
"alias": "exportFilterListConfigs";
|
|
1875
|
+
"required": false;
|
|
1876
|
+
};
|
|
1877
|
+
"stickyColumn": {
|
|
1878
|
+
"alias": "stickyColumn";
|
|
1879
|
+
"required": false;
|
|
1880
|
+
};
|
|
1881
|
+
"stickyColumns": {
|
|
1882
|
+
"alias": "stickyColumns";
|
|
1883
|
+
"required": false;
|
|
1884
|
+
};
|
|
1885
|
+
}, {
|
|
1712
1886
|
"checkClicked": "checkClicked";
|
|
1887
|
+
"monthDataEmit": "monthDataEmit";
|
|
1713
1888
|
"yearDataEmit": "yearDataEmit";
|
|
1714
1889
|
"selectedValueEmit": "selectedValueEmit";
|
|
1715
|
-
"monthDataEmit": "monthDataEmit";
|
|
1716
1890
|
"doubleClickEmit": "doubleClickEmit";
|
|
1891
|
+
"rowClick": "rowClick";
|
|
1892
|
+
"tableRowClick": "tableRowClick";
|
|
1893
|
+
"searchValueChange": "searchValueChange";
|
|
1894
|
+
"selectedValues": "selectedValues";
|
|
1895
|
+
"pageChange": "pageChange";
|
|
1896
|
+
"searchText": "searchText";
|
|
1897
|
+
"exportButton": "exportButton";
|
|
1898
|
+
"importButton": "importButton";
|
|
1717
1899
|
"hyperLinkClickEmit": "hyperLinkClickEmit";
|
|
1718
|
-
"
|
|
1719
|
-
|
|
1900
|
+
"sideNavButtons": "sideNavButtons";
|
|
1901
|
+
"exportReports": "exportReports";
|
|
1902
|
+
"multipleSelectFilterExport": "multipleSelectFilterExport";
|
|
1903
|
+
"filterDateEmitEvt": "filterDateEmitEvt";
|
|
1904
|
+
}, never, never, true, never>;
|
|
1720
1905
|
}
|
|
1721
1906
|
export declare class FusionCardComponent implements OnInit {
|
|
1722
1907
|
private sanitizer;
|
|
@@ -1960,7 +2145,7 @@ export declare class GetValuePipe implements PipeTransform {
|
|
|
1960
2145
|
export declare class CustomTranslatePipe implements PipeTransform {
|
|
1961
2146
|
private translate;
|
|
1962
2147
|
constructor(translate: TranslateService);
|
|
1963
|
-
transform(key:
|
|
2148
|
+
transform(key: any, defaultTranslation?: string): string;
|
|
1964
2149
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomTranslatePipe, never>;
|
|
1965
2150
|
static ɵpipe: i0.ɵɵPipeDeclaration<CustomTranslatePipe, "customTranslate", true>;
|
|
1966
2151
|
}
|