@rangertechnologies/fusion-ui 0.1.10 → 0.1.12
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
package/styles/tabs.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MR
|
|
1
|
+
/* MR 16NOV26 Remediate tab navigation styles to semantic theme tokens */
|
|
2
2
|
|
|
3
3
|
/* ==========================================================================
|
|
4
4
|
Main Navigation Tabs (.fc-tabs / .nav-tabs)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
.fc-tabs {
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-wrap: nowrap;
|
|
11
|
-
border-bottom: 1px solid var(--border-
|
|
11
|
+
border-bottom: 1px solid var(--fb-border-default, #e2e8f0);
|
|
12
12
|
gap: 4px;
|
|
13
13
|
list-style: none;
|
|
14
14
|
padding: 0;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
margin-bottom: -1px; /* Sits flush on top of the 1px container border */
|
|
24
24
|
font-size: var(--fs-normal, 14px);
|
|
25
25
|
font-weight: var(--fw-500, 500);
|
|
26
|
-
color: var(--
|
|
26
|
+
color: var(--fb-nav-text, #475569);
|
|
27
27
|
padding: 10px 18px;
|
|
28
28
|
display: inline-flex;
|
|
29
29
|
align-items: center;
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
|
|
35
35
|
.nav-tabs .nav-link:hover,
|
|
36
36
|
.fc-tabs .nav-link:hover {
|
|
37
|
-
color: var(--
|
|
37
|
+
color: var(--fb-nav-hover, #0f172a);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.nav-tabs .nav-link.active,
|
|
41
41
|
.fc-tabs .nav-link.active {
|
|
42
|
-
color: var(--
|
|
42
|
+
color: var(--fb-nav-text-active, #0140c1);
|
|
43
43
|
font-weight: var(--fw-600, 600);
|
|
44
|
-
border-bottom: 3.5px solid var(--
|
|
44
|
+
border-bottom: 3.5px solid var(--fb-border-on-action, #0140c1);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* ==========================================================================
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-wrap: nowrap;
|
|
54
54
|
overflow-x: auto;
|
|
55
|
-
border-bottom: 1px solid var(--border-
|
|
55
|
+
border-bottom: 1px solid var(--fb-border-default, #e2e8f0);
|
|
56
56
|
gap: 4px;
|
|
57
57
|
list-style: none;
|
|
58
58
|
padding: 0;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
padding: 8px 16px;
|
|
68
68
|
font-size: var(--fs-normal, 14px);
|
|
69
69
|
font-weight: var(--fw-500, 500);
|
|
70
|
-
color: var(--
|
|
70
|
+
color: var(--fb-nav-text, #475569);
|
|
71
71
|
cursor: pointer;
|
|
72
72
|
display: inline-flex;
|
|
73
73
|
align-items: center;
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.sub-nav:hover {
|
|
79
|
-
color: var(--
|
|
79
|
+
color: var(--fb-nav-hover, #0f172a);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.sub-nav.active {
|
|
83
|
-
color: var(--
|
|
83
|
+
color: var(--fb-nav-text-active, #0140c1);
|
|
84
84
|
font-weight: var(--fw-600, 600);
|
|
85
|
-
border-bottom: 3.5px solid var(--
|
|
85
|
+
border-bottom: 3.5px solid var(--fb-border-on-action, #0140c1);
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -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[];
|
|
@@ -1697,6 +1702,8 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1697
1702
|
searchValueChange: EventEmitter<any>;
|
|
1698
1703
|
selectedValues: EventEmitter<any[]>;
|
|
1699
1704
|
pageChange: EventEmitter<any>;
|
|
1705
|
+
pageDetails: EventEmitter<any>;
|
|
1706
|
+
searchFilterData: EventEmitter<any>;
|
|
1700
1707
|
searchText: EventEmitter<string>;
|
|
1701
1708
|
exportButton: EventEmitter<any>;
|
|
1702
1709
|
importButton: EventEmitter<any>;
|
|
@@ -1708,21 +1715,29 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1708
1715
|
sort: MatSort;
|
|
1709
1716
|
paginator: MatPaginator;
|
|
1710
1717
|
dataSource: MatTableDataSource<any, MatPaginator>;
|
|
1718
|
+
renderColumns: string;
|
|
1719
|
+
stickyCondition: number;
|
|
1720
|
+
itemsPerPage: any[];
|
|
1721
|
+
exportSidescreen: boolean;
|
|
1722
|
+
attendanceSubscription: Subscription;
|
|
1711
1723
|
selection: SelectionModel<any>;
|
|
1712
1724
|
selectedMonth: number;
|
|
1713
1725
|
selectedYear: number;
|
|
1714
1726
|
popupOpen: boolean;
|
|
1715
1727
|
confirmModal: boolean;
|
|
1716
1728
|
months: string[];
|
|
1729
|
+
button: any;
|
|
1717
1730
|
weekendColumnsSet: Set<string>;
|
|
1718
1731
|
futureColumnsSet: Set<string>;
|
|
1719
1732
|
todayColumn: string | null;
|
|
1720
1733
|
leaveTypeSet: Set<string>;
|
|
1721
|
-
constructor(cdr: ChangeDetectorRef);
|
|
1734
|
+
constructor(cdr: ChangeDetectorRef, apiService: ApiService, globalValues: GlobalValuesService);
|
|
1722
1735
|
ngOnInit(): void;
|
|
1723
1736
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1737
|
+
ngOnDestroy(): void;
|
|
1724
1738
|
private initMonthYear;
|
|
1725
|
-
private
|
|
1739
|
+
private ensureSummaryColumn;
|
|
1740
|
+
initOrUpdateDataSource(rows: any[]): void;
|
|
1726
1741
|
updateDateLookups(): void;
|
|
1727
1742
|
isWeekend(column: string): boolean;
|
|
1728
1743
|
isToday(column: string): boolean;
|
|
@@ -1730,7 +1745,10 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1730
1745
|
isColumnSticky(column: string): boolean;
|
|
1731
1746
|
getInitials(name: string): string;
|
|
1732
1747
|
triggerChangeDetection(): void;
|
|
1733
|
-
|
|
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;
|
|
1734
1752
|
private resolveAttendanceValue;
|
|
1735
1753
|
getAttendanceChipClass(val: any): string;
|
|
1736
1754
|
getAttendanceChipSymbol(val: any): string;
|
|
@@ -1738,6 +1756,7 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1738
1756
|
isWeekOffState(val: any, column: string): boolean;
|
|
1739
1757
|
getDateRangeText(): string;
|
|
1740
1758
|
onPageChange(event: any): void;
|
|
1759
|
+
pageParams(event: any): void;
|
|
1741
1760
|
prevMonth(): void;
|
|
1742
1761
|
nextMonth(): void;
|
|
1743
1762
|
togglePopup(): void;
|
|
@@ -1745,12 +1764,20 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1745
1764
|
changeYear(step: number): void;
|
|
1746
1765
|
emitSelection(): void;
|
|
1747
1766
|
checkButtonClicked(): void;
|
|
1748
|
-
|
|
1749
|
-
|
|
1767
|
+
tableClick(row: any): void;
|
|
1768
|
+
doubleClickFunction(element: any, column: string, presentData: any): void;
|
|
1750
1769
|
applyFilter(event: Event): void;
|
|
1751
|
-
masterToggle(): void;
|
|
1752
1770
|
isAllSelected(): boolean;
|
|
1753
|
-
|
|
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;
|
|
1754
1781
|
getMonthNumber(month: any): number;
|
|
1755
1782
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttendanceTableComponent, never>;
|
|
1756
1783
|
static ɵcmp: i0.ɵɵComponentDeclaration<AttendanceTableComponent, "app-attendance-table, app-data-table-two", never, {
|
|
@@ -1893,6 +1920,8 @@ export declare class AttendanceTableComponent implements OnInit, OnChanges {
|
|
|
1893
1920
|
"searchValueChange": "searchValueChange";
|
|
1894
1921
|
"selectedValues": "selectedValues";
|
|
1895
1922
|
"pageChange": "pageChange";
|
|
1923
|
+
"pageDetails": "pageDetails";
|
|
1924
|
+
"searchFilterData": "searchFilterData";
|
|
1896
1925
|
"searchText": "searchText";
|
|
1897
1926
|
"exportButton": "exportButton";
|
|
1898
1927
|
"importButton": "importButton";
|